:root {
    --primary-color: #6B4C3B; /* Marron chaud */
    --secondary-color: #D4B895; /* Beige doux */
    --card-bg: #d9dad5; /* Vert cartouches */
    --section-bg: #ccd0bf; /* Vert fonds sections */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #FAFAFA;
    --white: #FFFFFF;
    --doctolib-color: #6B4C3B;
    --font-heading: 'The Seasons', serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

/* --- HEADER --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo .name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.logo .title {
    font-size: 0.8rem;
    color: var(--text-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.btn-doctolib, .btn-primary {
    background-color: var(--doctolib-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-doctolib:hover, .btn-primary:hover {
    background-color: #5A3E2E;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* btn-secondary sur fond clair (sections services) */
.service-feature-content .btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.service-feature-content .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- HERO SECTION --- */
.hero {
    background-color: #F5F5F5;
    color: var(--text-dark);
    padding: 6rem 5%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    object-fit: cover;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #959589;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: var(--text-dark);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* --- SERVICES --- */
.avis, .localisation {
    padding: 5rem 5%;
    background-color: var(--bg-light);
}

.avis h2, .localisation h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

/* --- NOUVEAU DESIGN SERVICES MODERNES --- */
.services-modern {
    padding: 6rem 5%;
    background-color: var(--bg-light);
}

.services-modern .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto 6rem auto;
}

.service-feature.reverse {
    flex-direction: row-reverse;
}

.service-feature-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-feature-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-feature-image:hover img {
    transform: scale(1.03);
}

.service-feature-content {
    flex: 1;
}

.service-tag {
    display: inline-block;
    background-color: var(--card-bg);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.service-feature-content h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-feature-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-bullets li {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bullet-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .service-feature, .service-feature.reverse {
        flex-direction: column;
        gap: 2.5rem;
        margin-bottom: 4rem;
        text-align: center;
    }
    
    .feature-bullets li {
        justify-content: center;
    }
}

    color: var(--primary-color);
    font-weight: bold;
}


/* --- CINETIC / MASONRY MODERNISÉE (Prop 2) --- */
.prop-2-section {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 5% 14rem; /* Plus aéré + marge basse renforcée */
}

.hero-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto; /* Énorme marge en bas pour décoller le texte des images */
}

.hero-center h1 { 
    font-size: 3.2rem; 
    font-weight: 700;
    margin-bottom: 1.5rem; 
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.hero-center p {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    font-weight: 300;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Cartes un peu plus grandes */
    gap: 40px; /* Grille plus aérée */
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-item {
    position: relative;
    border-radius: 24px; /* Bords bien plus arrondis */
    overflow: hidden;
    height: 420px; /* Plus majestueux */
    background-color: var(--white);
    /* Ombre profonde élégante par défaut */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.08); 
    cursor: pointer;
    /* Animation ultra fluide sur tous les paramètres */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.masonry-item:hover {
    transform: translateY(-15px); /* La carte s'envole en hover */
    /* L'ombre devient gigantesque et douce en hover */
    box-shadow: 0 30px 60px rgba(0,0,0,0.25), 0 10px 20px rgba(0,0,0,0.15); 
}

.masonry-item img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); /* Zoom interne ultra doux */
}

.masonry-item:hover img { 
    transform: scale(1.08); 
}

.masonry-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%; /* Dégradé plus haut pour mieux lire */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.masonry-item h3 {
    position: absolute;
    bottom: 30px; 
    left: 30px;
    right: 30px;
    margin: 0; 
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    z-index: 2;
    transition: transform 0.5s ease, color 0.3s ease;
}

.masonry-item:hover h3 {
    transform: translateY(-8px); /* Le texte accompagne le mouvement */
}

@media (max-width: 768px) {
    .prop-2-section { padding: 5rem 5%; }
    .hero-center h1 { font-size: 2.2rem; }
    .hero-center p { font-size: 1.1rem; }
    .masonry-grid { gap: 20px; }
    .masonry-item { height: 320px; border-radius: 16px; }
}


/* --- AVIS ET LOCALISATION --- */
.subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    margin-top: -2rem;
}

.reviews-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.review {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stars {
    color: #f39c12;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

.author {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.loc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.loc-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.loc-info p {
    margin-bottom: 1rem;
}

.geo-seo-text {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.map-placeholder {
    background-color: #eee;
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* --- PRESENTATION (Bio & CV) --- */
.presentation {
    padding: 5rem 5%;
    background-color: var(--white);
}

.presentation h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bio-text, .cv-text {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.bio-text h3, .cv-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.bio-text p {
    margin-bottom: 1rem;
}

.cv-text h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cv-text ul {
    list-style: none;
}

.cv-text ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* --- TARIFS --- */
.tarifs-info {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.tarifs-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tarifs-info .prix {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tarifs-info .prix strong {
    font-size: 2rem;
    color: var(--primary-color);
}

.tarifs-info .mention {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.tarifs-info .paiement h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* --- FOOTER --- */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 2rem 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .presentation-grid, .loc-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav { display: none; }
    
    .hero h1 { font-size: 2rem; }
    
    .prop-2-section { 
        padding: 4rem 5% 5rem; 
        border-radius: 0 0 40px 40px; 
    }
    
    .footer-content { flex-direction: column; }
}

/* --- NOIR ET BLANC DRAINAGE --- */
.bw-image-container {
    overflow: hidden;
    border-radius: 20px;
}
.img-bw {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.service-feature.reverse:hover .img-bw {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* --- AVIS DESIGN MODERNE --- */
.avis-modern {
    padding: 6rem 5%;
    background-color: var(--card-bg);
}
.avis-header {
    text-align: center;
    margin-bottom: 4rem;
}
.avis-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.g-logo { height: 35px; }
.g-rating { display: flex; align-items: center; }
.g-rating strong { font-size: 1.6rem; color: #202124; margin-right: 8px; }
.g-rating .stars { color: #fbbc04; font-size: 1.5rem; letter-spacing: 3px; }
.btn-g-reviews {
    background: #6B4C3B; color: white; text-decoration: none;
    padding: 0.8rem 1.5rem; border-radius: 30px; font-weight: 600; font-size: 1rem;
    transition: background 0.3s;
}
.btn-g-reviews:hover { background: #5A3E2E; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
}
.review-card:hover { 
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.2rem;
    position: relative;
}
.avatar {
    width: 50px; height: 50px; border-radius: 50%;
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 600;
}
.bg-blue { background: #4285F4; }
.bg-green { background: #34A853; }
.bg-orange { background: #FBBC05; }
.reviewer-info { display: flex; flex-direction: column; }
.reviewer-info strong { color: #202124; font-size: 1.1rem; }
.review-date { color: #70757a; font-size: 0.9rem; }
.g-icon-small { position: absolute; right: 0; top: 5px; height: 24px; }
.stars-small { color: #fbbc04; font-size: 1.2rem; margin-bottom: 1.2rem; letter-spacing: 2px; }
.review-card p { color: #4d5156; font-style: italic; line-height: 1.7; font-size: 1.05rem; }

/* --- PRESENTATION MODERNE & TIMELINE --- */
.presentation-modern {
    padding: 8rem 5%;
    background-color: var(--white);
}
.presentation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}
.subtitle-badge {
    display: inline-block;
    color: var(--primary-color);
    background-color: var(--card-bg);
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.bio-modern h2 {
    font-size: 3.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.1;
}
.lead-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.bio-modern p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Timeline Design */
.timeline-container h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}
.timeline {
    border-left: 3px solid #f1f3f5;
    padding-left: 2.5rem;
    position: relative;
}
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -3.3rem;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(107, 76, 59, 0.15);
    transition: all 0.3s;
}
.timeline-item:hover .timeline-dot {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 8px rgba(107, 76, 59, 0.25);
}
.timeline-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    box-shadow: 0 5px 10px rgba(107, 76, 59, 0.3);
}
.timeline-content h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.timeline-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- CABINET & TARIFS MODERNES --- */
.cabinet-modern {
    padding: 5rem 5% 4rem;
    background-color: #fcfcfc;
}
.cabinet-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}
.cabinet-header h2 {
    font-size: 2.8rem;
    color: #CDCEC0;
    margin-bottom: 0;
}

.info-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.info-card {
    background: var(--card-bg);
    padding: 2rem 1.8rem 1.8rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.06);
}
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.info-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    width: 100%;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(107, 76, 59, 0.2);
}
.card-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.card-block {
    width: 100%;
    padding: 0.3rem 0;
}
.card-divider {
    width: 60%;
    height: 1px;
    background: rgba(107, 76, 59, 0.2);
    margin: 0.8rem auto;
}
.card-address {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}
.strong-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.info-card p {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}
.transport-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    width: 100%;
    margin-top: 0.4rem;
}
.tag {
    background: rgba(255,255,255,0.8);
    color: #495057;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.08);
}
.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}
.hours-list {
    list-style: none;
    width: 100%;
    padding: 0;
    text-align: left;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: none; }
.urgency-note {
    color: #c0392b;
    font-size: 0.88rem;
    text-align: center;
    width: 100%;
    display: inline-block;
    padding-top: 0.8rem;
    margin-top: auto;
    font-weight: 600;
    border-top: 1px solid rgba(192, 57, 43, 0.15);
}
.price-block {
    padding: 0.5rem 0 !important;
}
.price-big {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
}
.price-secondary {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
}
.price-desc {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0;
    font-size: 0.95rem;
}
.payment-methods {
    background: rgba(255,255,255,0.7);
    padding: 10px 18px;
    border-radius: 15px;
    color: #495057;
    font-weight: 600;
    font-size: 0.88rem;
    width: 100%;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0,0,0,0.08);
}
.mutuelle-note {
    font-size: 0.82rem;
    font-style: italic;
    margin-top: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .presentation-container { grid-template-columns: 1fr; gap: 4rem; text-align: left; }
    .timeline { border-left: 3px solid #f1f3f5; }
    .google-badge { flex-direction: column; gap: 1rem; border-radius: 25px; padding: 1.5rem; }
}

/* --- DROP CAPS --- */
.service-feature-content p:first-of-type::first-letter,
.organic-text-block p::first-letter,
.bio-modern .lead-text::first-letter,
.review-card p::first-letter {
    font-family: var(--font-heading);
    font-size: 3.2em;
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 5px;
    color: #6B4C3B;
    font-weight: 600;
}

/* --- OVERRIDES ALTERNANCE FONDS & DRAINAGE --- */
/* Services : #CDCEC0, typo blanc */
.services-modern { background-color: #CDCEC0 !important; }
.services-modern .section-title { color: white !important; }
.services-modern .service-tag { background-color: rgba(255,255,255,0.2) !important; color: white !important; }
.services-modern .service-feature-content h3 { color: white !important; }
.services-modern .service-feature-content p { color: white !important; }
.services-modern .feature-bullets li { color: white !important; }
.services-modern .bullet-icon { color: white !important; }

/* Catégories : #CDCEC0, typo blanc */
.prop-2-section { background: #CDCEC0 !important; color: white !important; }
.prop-2-section h1, .prop-2-section h2 { color: white !important; }
.prop-2-section p { color: white !important; }
.masonry-item { border: 3px solid white; }

/* Avis : blanc */
.avis-modern { background: #ffffff !important; border-top: none; border-bottom: none; }
.avis-header h2 { color: #CDCEC0 !important; }
.review-card { background: #fff !important; }

/* Présentation : #F5F5F5, typo #959589 */
.presentation-modern { background: #F5F5F5 !important; }
.bio-modern h2, .timeline-container h3 { color: #959589 !important; }
.timeline-content h4 { color: var(--text-dark) !important; }
.lead-text { color: var(--text-dark) !important; }
.bio-modern p, .timeline-content p { color: var(--text-light) !important; }
.subtitle-badge { background-color: rgba(149,149,137,0.12) !important; color: #959589 !important; }
.timeline-dot { border-color: #959589 !important; background-color: #F5F5F5 !important; box-shadow: 0 0 0 5px rgba(149,149,137,0.2) !important; }
.timeline-date { background-color: #959589 !important; color: #ffffff !important; }
.timeline { border-left-color: rgba(149,149,137,0.3) !important; }

/* Cabinet Infos : fond neutre pour le split-panel */
.cabinet-modern { background-color: #f9f9f9 !important; }

/* --- SPLIT-PANEL INFOS PRATIQUES --- */
.split-panel-container {
    position: relative;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    min-height: 480px;
}
.split-panel {
    flex: 1;
    padding: 3.5rem 4rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.split-left {
    background-color: #eaf2f0;
    border-radius: 24px 0 0 24px;
    padding-right: 10rem;
}
.split-right {
    background-color: #eef1f6;
    border-radius: 0 24px 24px 0;
    padding-left: 10rem;
}
.split-panel-content {
    max-width: 320px;
    width: 100%;
}
.split-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.split-subtitle {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}
.split-address {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.split-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.5rem;
}
.split-tag {
    background: rgba(255,255,255,0.8);
    color: #495057;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.08);
}
.split-hours h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}
.split-hours ul {
    list-style: none;
    padding: 0;
}
.split-hours ul li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}
.split-hours ul li:last-child { border-bottom: none; }

/* Floating Center Card */
.floating-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 2rem 2.2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
    z-index: 10;
    text-align: center;
    min-width: 260px;
    max-width: 300px;
}
.floating-phone {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    font-family: var(--font-heading);
}
.floating-phone:hover {
    color: #5A3E2E;
}
.floating-divider {
    width: 60%;
    height: 1px;
    background: rgba(107, 76, 59, 0.2);
    margin: 1rem auto;
}
.floating-prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}
.floating-price-item {
    text-align: center;
}
.floating-price-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    font-family: var(--font-heading);
}
.floating-price-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 0.3rem;
    font-weight: 500;
}
.floating-price-sep {
    width: 1px;
    height: 45px;
    background: rgba(107, 76, 59, 0.2);
}
.floating-payment {
    background: rgba(107, 76, 59, 0.06);
    padding: 8px 16px;
    border-radius: 12px;
    color: #495057;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.floating-mutuelle {
    font-size: 0.78rem;
    font-style: italic;
    margin-top: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 0;
}

/* Footer Bar */
.split-footer-bar {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-light);
    background: rgba(0,0,0,0.03);
    padding: 1rem 2rem;
    border-radius: 12px;
}
.split-footer-bar strong {
    color: #c0392b;
}

/* Responsive Split Panel */
@media (max-width: 900px) {
    .split-panel-container {
        flex-direction: column;
        min-height: auto;
        overflow: visible;
    }
    .split-left {
        border-radius: 24px 24px 0 0;
        padding: 3rem 2rem 5rem;
    }
    .split-right {
        border-radius: 0 0 24px 24px;
        padding: 5rem 2rem 3rem;
    }
    .split-panel-content {
        max-width: 100%;
    }
    .floating-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: -3rem auto;
        z-index: 10;
        max-width: 300px;
    }
    .split-panel-container {
        display: flex;
        flex-direction: column;
    }
    .split-panel-container .split-left { order: 1; }
    .split-panel-container .floating-card { order: 2; }
    .split-panel-container .split-right { order: 3; }
}

/* FIX IMAGE DRAINAGE : 100% Noir et Blanc permanent */
.service-feature.reverse:hover .img-bw {
    filter: grayscale(100%) !important;
}

/* FIX LIENS MASONRY */
a.masonry-item { text-decoration: none !important; display: block; }
a.masonry-item:hover img { transform: scale(1.08); }
.cabinet-gallery-section img { transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.cabinet-gallery-section div:hover img { transform: scale(1.05); }


/* ========================================================= */
/* --- NEW RESPONSIVE HEADER & BURGER MENU --- */
/* ========================================================= */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none; /* hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001; /* Above mobile menu */
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Burger Animation */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
    
    /* Override old CSS rule that purely hid the nav: nav { display: none; } */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex !important; /* Force display flex to override */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        z-index: 1000;
    }
    
    nav.nav-active {
        right: 0; /* Slide in */
    }
    
    nav ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    nav ul li a {
        font-size: 1.5rem;
        font-weight: 500;
    }
    
    /* Hide the Doctolib button from Header Right on very small screens if needed, 
       but we can keep it as it's next to the burger menu. */
}

@media (max-width: 400px) {
    .btn-doctolib {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========================================================= */
/* --- NEW MODERN FOOTER (MULTI-COLUMNS) --- */
/* ========================================================= */
/* Override old footer */
footer { display: none; } /* Hide old one just in case */

.site-footer {
    display: block;
    background-color: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 5rem 5% 2rem;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
}

/* --- FORMATIONS LOGOS CAROUSEL --- */
.logos-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.logos-carousel-wrapper:active {
    cursor: grabbing;
}
.logos-carousel-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
    animation: scroll-logos 35s linear infinite;
}
.logos-carousel-track:hover {
    animation-play-state: paused;
}
.logo-carousel-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px;
    width: 130px;
}
.logo-carousel-item img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
}
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- FOOTER ACCESS BANNER (Full Width) --- */
.footer-access-banner {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1.2rem 2rem;
    margin: 0 0 2.5rem 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    text-align: center;
    width: 100%;
    max-width: 100%;
}
.footer-access-banner strong {
    color: rgba(255,255,255,0.95);
}
