/* =====================================================
   SOPHROCAREHARMONIE - HARMONIE NATURELLE
   Palette douce et apaisante inspirée des tons beige, sable et terre
   Sophrologue à Rueil-Malmaison - Anna Courleux
   ===================================================== */

/* =====================================================
   1. VARIABLES & RESET
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #C9B8A0;      /* Beige chaud principal */
    --secondary: #A89985;    /* Terre/taupe */
    --accent: #E8DFD0;       /* Beige très clair */
    --text: #4A4238;         /* Brun foncé */
    --bg: #FFFFFF;           /* Blanc */
    --light-bg: #F5F2ED;     /* Beige ultra-clair */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

/* =====================================================
   2. TYPOGRAPHIE
   ===================================================== */

h1 {
    font-size: 36px;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 25px;
    border-left: 5px solid var(--primary);
    padding-left: 20px;
    font-weight: 700;
}

h3 {
    color: var(--secondary);
    font-size: 24px;
    margin: 25px 0 15px;
    font-weight: 600;
}

p {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.8;
}

strong {
    color: var(--primary);
    font-weight: 600;
}

ul {
    margin: 20px 0;
    padding-left: 25px;
}

ul li {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.8;
}

/* =====================================================
   3. HEADER & NAVIGATION
   ===================================================== */

header {
    background: var(--bg);
    box-shadow: 0 2px 10px rgba(74, 66, 56, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 15px;
}

.header-top a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: background 0.3s;
}

.header-top a:hover {
    background: rgba(255,255,255,0.35);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* =====================================================
   4. PAGE HEADER & HERO
   ===================================================== */

.page-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--light-bg) 100%);
    padding: 80px 5%;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    color: var(--text);
    margin-bottom: 20px;
}

.page-header p {
    font-size: 20px;
    color: var(--text);
}

.hero {
    background: linear-gradient(135deg, var(--accent) 0%, var(--light-bg) 100%);
    padding: 50px 5%;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 25px;
    font-weight: 300;
}

.hero .location {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 35px;
}

/* =====================================================
   5. CONTAINERS & SECTIONS
   ===================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
}

.section {
    margin-bottom: 40px;
}

/* =====================================================
   6. BUTTONS & CTA
   ===================================================== */

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(201, 184, 160, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 184, 160, 0.4);
}

.cta-box {
    background: linear-gradient(135deg, var(--accent) 0%, var(--light-bg) 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(74, 66, 56, 0.08);
}

.cta-box h3 {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 28px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* =====================================================
   7. CARDS & GRIDS
   ===================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(74, 66, 56, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(201, 184, 160, 0.25);
    border-color: var(--accent);
}

.service-card h3 {
    color: var(--primary);
    margin-top: 0;
    font-size: 22px;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* =====================================================
   8. BENEFITS & VALUES
   ===================================================== */

.benefits {
    background: var(--light-bg);
    padding: 60px 5%;
    border-radius: 20px;
    margin: 60px 0;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item-stress {
    text-align: center;
    border-radius: 15px;
    background-image: url('img/stress_burnout-1.jpg');
    background-size: cover; /* S'assure que l'image couvre tout l'élément */
    background-repeat: no-repeat; /* Empêche la répétition */
    background-position: center center; /* Centre l'image */
    padding: 25px;
    color:var(--accent)            /* Blanc */
}

.benefit-item-sommeil {
    text-align: center;
    border-radius: 15px;
    background-image: url('img/troubles_du_sommeil.png');
    background-size: cover; /* S'assure que l'image couvre tout l'élément */
    background-repeat: no-repeat; /* Empêche la répétition */
    background-position: center center; /* Centre l'image */
    padding: 25px;
    color:var(--accent)            /* Blanc */
}

.benefit-item-douleur {
    text-align: center;
    border-radius: 15px;
    background-image: url('img/sophrologie_maladies_chroniques.png');
    background-size: cover; /* S'assure que l'image couvre tout l'élément */
    background-repeat: no-repeat; /* Empêche la répétition */
    background-position: center center; /* Centre l'image */
    padding: 25px;
    color:var(--accent)            /* Blanc */
}

.benefit-item-cancer {
    text-align: center;
    border-radius: 15px;
    background-image: url('img/sophrologie_cancer.png');
    background-size: cover; /* S'assure que l'image couvre tout l'élément */
    background-repeat: no-repeat; /* Empêche la répétition */
    background-position: center center; /* Centre l'image */
    padding: 25px;
    color:var(--accent)            /* Blanc */
}

.benefit-item-convalescence {
    text-align: center;
    border-radius: 15px;
    background-image: url('img/sophrologie-remission.png');
    background-size: cover; /* S'assure que l'image couvre tout l'élément */
    background-repeat: no-repeat; /* Empêche la répétition */
    background-position: center center; /* Centre l'image */
    padding: 25px;
    color:var(--accent)            /* Blanc */
}

.benefit-item-aidant {
    text-align: center;
    border-radius: 15px;
    background-image: url('img/sophrologie_aidants.png');
    background-size: cover; /* S'assure que l'image couvre tout l'élément */
    background-repeat: no-repeat; /* Empêche la répétition */
    background-position: center center; /* Centre l'image */
    padding: 25px;
    color:var(--accent)            /* Blanc */
}

.benefit-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.benefit-icon-color {

    font-size: 50px;
    margin-bottom: 15px;
    color:var(--accent)            /* Blanc */
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(74, 66, 56, 0.08);
    transition: transform 0.3s;
    border-left: 4px solid var(--primary);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.value-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

/* =====================================================
   9. BOXES & HIGHLIGHTS
   ===================================================== */

.highlight-box {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--primary);
    margin: 40px 0;
}

.info-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(74, 66, 56, 0.08);
    margin: 40px 0;
}

.info-box h3 {
    color: var(--primary);
    margin-top: 0;
}

/* =====================================================
   10. ACCOMPAGNEMENTS
   ===================================================== */

.accompagnement-card {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 20px;
    margin: 50px 0;
    border-left: 6px solid var(--primary);
}

.accompagnement-card h2 {
    border: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

/* =====================================================
   11. TARIFS
   ===================================================== */

.tarifs-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(74, 66, 56, 0.1);
    margin: 40px 0;
}

.tarifs-box h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
}

.tarif-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--accent);
}

.tarif-item:last-child {
    border-bottom: none;
}

.tarif-name {
    font-weight: 600;
}

.tarif-price {
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
}

/* =====================================================
   12. PROCESS STEPS
   ===================================================== */

.process-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.process-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.process-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

/* =====================================================
   13. PROFILE SECTION
   ===================================================== */

.profile-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin: 60px 0;
    align-items: start;
}

.profile-image {
    background: var(--accent);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text);
}

.profile-content h2 {
    margin-top: 0;
}

.certifications {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.cert-list {
    list-style: none;
    padding: 0;
}

.cert-list li {
    padding: 15px;
    margin: 10px 0;
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    font-size: 17px;
}

.cert-list li strong {
    display: block;
    margin-bottom: 5px;
}

/* =====================================================
   14. CONTACT PAGE
   ===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.contact-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.contact-card h3 {
    margin: 0 0 15px 0;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.contact-card a:hover {
    text-decoration: underline;
}

.horaires-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.horaires-table td {
    padding: 15px;
    border-bottom: 1px solid var(--accent);
}

.horaires-table td:first-child {
    font-weight: 600;
    color: var(--primary);
    width: 40%;
}

.map-container {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
}

.map-placeholder {
    background: white;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text);
    margin-top: 20px;
}

/* =====================================================
   15. FAQ
   ===================================================== */

.faq-section {
    margin: 60px 0;
}

.faq-item {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid var(--primary);
}

.faq-question {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.faq-answer {
    color: var(--text);
    line-height: 1.8;
}

/* =====================================================
   16. TESTIMONIALS
   ===================================================== */

.testimonials {
    background: var(--light-bg);
    padding: 60px 5%;
    border-radius: 20px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    border-left: 4px solid var(--primary);
    font-style: italic;
}

.testimonial-author {
    margin-top: 15px;
    font-weight: bold;
    color: var(--primary);
    font-style: normal;
}

/* =====================================================
   17. FOOTER
   ===================================================== */

footer {
    background: var(--text);
    color: white;
    padding: 50px 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: #F5F2ED;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* =====================================================
   18. RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1,
    .page-header h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .profile-section {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .accompagnement-card {
        padding: 30px;
    }

    .process-steps li {
        padding-left: 60px;
    }

    .process-steps li::before {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
