:root{
    --ivory:#f4f0e8;
    --stone:#ded6ca;
    --mushroom:#b8aa9d;
    --taupe:#897b70;
    --charcoal:#26221f;
    --white:#ffffff;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--ivory);
    color:var(--charcoal);
    font-family:Arial,sans-serif;
}

img{
    display:block;
    max-width:100%;
}


/* HEADER */

.team-header{
    position:absolute;
    z-index:50;
    top:0;
    left:0;
    right:0;

    height:94px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 48px;

    border-bottom:1px solid rgba(255,255,255,.22);
}

.team-logo{
    display:flex;
    align-items:center;
}

.team-logo img{
    width:54px;
    height:64px;
    object-fit:contain;
    filter:brightness(0) invert(1);
}

.team-nav{
    display:flex;
    align-items:center;
    gap:32px;
}

.team-nav a{
    position:relative;

    color:#fff;
    text-decoration:none;

    font-size:12px;
    letter-spacing:.04em;
}

.team-nav a:not(.nav-booking)::after{
    content:"";

    position:absolute;
    left:0;
    bottom:-7px;

    width:0;
    height:1px;

    background:#fff;

    transition:width .25s ease;
}

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

.team-nav .nav-booking{
    padding:13px 19px;

    border:1px solid rgba(255,255,255,.7);

    text-transform:uppercase;
    letter-spacing:.11em;
    font-size:10px;
}


/* HERO */

.team-hero{
    position:relative;

    min-height:72vh;

    display:flex;
    align-items:flex-end;

    overflow:hidden;
}

.team-hero-bg{
    position:absolute;
    inset:0;
}

.team-hero-bg picture,
.team-hero-bg img{
    width:100%;
    height:100%;
}

.team-hero-bg img{
    object-fit:cover;
}

.team-hero-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(27,23,20,.78) 0%,
            rgba(27,23,20,.54) 48%,
            rgba(27,23,20,.20) 100%
        );
}

.team-hero-content{
    position:relative;
    z-index:2;

    width:min(1300px,calc(100% - 96px));

    margin:0 auto;

    padding:0 0 90px;
}

.team-kicker{
    margin-bottom:18px;

    color:rgba(255,255,255,.75);

    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.20em;
}

.team-hero h1{
    margin:0 0 24px;

    color:#fff;

    font-family:Georgia,serif;
    font-size:clamp(54px,7vw,105px);
    font-weight:400;
    line-height:.95;
}

.team-hero p{
    max-width:650px;

    margin:0;

    color:rgba(255,255,255,.90);

    font-size:17px;
    line-height:1.75;
}


/* INTRO */

.team-intro{
    padding:110px 48px 100px;
}

.team-intro-inner{
    width:min(1300px,100%);

    margin:auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:100px;
}

.section-kicker{
    display:block;

    margin-bottom:18px;

    color:var(--taupe);

    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.20em;
}

.team-intro h2{
    max-width:560px;

    margin:0;

    font-family:Georgia,serif;
    font-size:clamp(38px,4vw,62px);
    font-weight:400;
    line-height:1.06;
}

.team-intro-copy{
    padding-top:28px;
}

.team-intro-copy p{
    margin:0 0 20px;

    color:#6e645c;

    font-size:16px;
    line-height:1.8;
}


/* LISTE */

.team-list{
    padding:0 48px 120px;
}

.team-list-inner{
    width:min(1300px,100%);
    margin:auto;
}

.doctor-card{
    display:grid;
    grid-template-columns:minmax(300px,470px) 1fr;

    min-height:560px;

    margin-bottom:48px;

    background:#fff;

    border:1px solid rgba(137,123,112,.18);

    overflow:hidden;
}

.doctor-photo{
    min-height:560px;
    background:var(--stone);
}

.doctor-photo img{
    width:100%;
    height:100%;

    object-fit:cover;
}

.doctor-photo-placeholder{
    width:100%;
    height:100%;

    min-height:560px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:var(--stone);

    color:var(--taupe);

    font-family:Georgia,serif;
    font-size:74px;
}

.doctor-content{
    display:flex;
    flex-direction:column;

    padding:70px 70px 60px;
}

.doctor-pole{
    margin-bottom:20px;

    color:var(--taupe);

    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.20em;
}

.doctor-content h2{
    margin:0 0 15px;

    font-family:Georgia,serif;
    font-size:clamp(36px,4vw,56px);
    font-weight:400;
    line-height:1.05;
}

.doctor-content h2 span{
    color:var(--taupe);
}

.doctor-qualification{
    margin-bottom:9px;

    font-size:16px;
    font-weight:600;
}

.doctor-specialties{
    margin-bottom:32px;

    color:var(--taupe);

    font-size:14px;
}

.doctor-biography{
    max-width:680px;

    margin:0 0 38px;

    color:#675e57;

    font-size:15px;
    line-height:1.8;
}

.doctor-actions{
    margin-top:auto;
    padding-top:35px;

    border-top:1px solid rgba(137,123,112,.25);
}

.doctor-booking{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:28px;

    min-height:52px;

    padding:0 24px;

    background:var(--charcoal);

    color:#fff;
    text-decoration:none;

    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.13em;

    transition:
        background .25s ease,
        transform .25s ease;
}

.doctor-booking:hover{
    background:var(--taupe);
    transform:translateY(-2px);
}

.doctor-booking span{
    font-size:18px;
}

.team-empty{
    padding:100px 30px;

    text-align:center;

    border-top:1px solid rgba(137,123,112,.25);
    border-bottom:1px solid rgba(137,123,112,.25);
}

.team-empty h2{
    margin:0 0 16px;

    font-family:Georgia,serif;
    font-size:38px;
    font-weight:400;
}

.team-empty p{
    color:var(--taupe);
}


/* FOOTER */

.team-footer{
    min-height:150px;

    padding:40px 48px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:var(--charcoal);

    color:#fff;
}

.team-footer > div{
    display:flex;
    align-items:center;
    gap:15px;
}

.team-footer img{
    width:42px;
    height:48px;

    object-fit:contain;

    filter:brightness(0) invert(1);
}

.team-footer span{
    font-family:Georgia,serif;
    font-size:20px;
}

.team-footer p{
    margin:0;

    color:rgba(255,255,255,.65);

    font-size:12px;
}


/* MOBILE MENU */

.team-menu-button{
    display:none;

    width:46px;
    height:46px;

    border:0;
    background:transparent;

    padding:9px;

    flex-direction:column;
    justify-content:center;
    gap:6px;
}

.team-menu-button span{
    display:block;

    width:25px;
    height:1px;

    margin-left:auto;

    background:#fff;
}

.team-menu-button span:nth-child(2){
    width:19px;
}

.team-mobile-menu{
    position:fixed;
    inset:0;
    z-index:200;

    padding:28px;

    background:var(--ivory);

    transform:translateX(100%);
    transition:transform .4s cubic-bezier(.76,0,.24,1);
}

.team-mobile-menu.open{
    transform:translateX(0);
}

.team-mobile-close{
    display:block;

    margin-left:auto;

    border:0;
    background:transparent;

    color:var(--charcoal);

    font-size:38px;
}

.team-mobile-menu nav{
    margin-top:50px;

    display:flex;
    flex-direction:column;
}

.team-mobile-menu nav a{
    padding:19px 0;

    border-bottom:1px solid rgba(137,123,112,.25);

    color:var(--charcoal);
    text-decoration:none;

    font-family:Georgia,serif;
    font-size:28px;
}

.team-mobile-menu .mobile-booking{
    margin-top:30px;
    padding:17px 20px;

    background:var(--charcoal);

    color:#fff;

    border:0;

    text-align:center;

    font-family:Arial,sans-serif;

    text-transform:uppercase;
    letter-spacing:.13em;
    font-size:11px;
}


/* RESPONSIVE */

@media(max-width:900px){

    .team-header{
        height:76px;
        padding:0 18px;
    }

    .team-logo img{
        width:44px;
        height:52px;
    }

    .team-nav{
        display:none;
    }

    .team-menu-button{
        display:flex;
    }

    .team-hero{
        min-height:68vh;
    }

    .team-hero-content{
        width:calc(100% - 40px);
        padding-bottom:60px;
    }

    .team-hero-overlay{
        background:rgba(27,23,20,.57);
    }

    .team-intro{
        padding:75px 20px;
    }

    .team-intro-inner{
        grid-template-columns:1fr;
        gap:30px;
    }

    .team-intro-copy{
        padding-top:0;
    }

    .team-list{
        padding:0 20px 80px;
    }

    .doctor-card{
        grid-template-columns:1fr;
        min-height:auto;
    }

    .doctor-photo{
        min-height:480px;
    }

    .doctor-photo-placeholder{
        min-height:480px;
    }

    .doctor-content{
        padding:42px 28px;
    }

    .team-footer{
        padding:40px 20px;

        flex-direction:column;
        align-items:flex-start;
        gap:25px;
    }

}

@media(max-width:550px){

    .doctor-photo{
        min-height:390px;
    }

    .doctor-photo-placeholder{
        min-height:390px;
    }

}


/* =========================================================
   PAGE EQUIPE V2
   HEADER IDENTIQUE AU SITE + CARTES 2 COLONNES
   ========================================================= */


/* Le véritable header du site passe au-dessus du hero */

.site-header{
    z-index:100 !important;
}


/* ---------------------------------------------------------
   LISTE DES PRATICIENS
   --------------------------------------------------------- */

.team-list{
    padding:0 48px 120px;
}

.team-list-inner{
    width:min(1380px,100%);
    margin:auto;

    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:30px;
}


/* ---------------------------------------------------------
   CARTE PRATICIEN PLUS COMPACTE
   --------------------------------------------------------- */

.doctor-card{
    display:grid;

    grid-template-columns:210px minmax(0,1fr);

    min-height:350px;

    margin:0;

    background:#fff;

    border:1px solid rgba(137,123,112,.18);

    overflow:hidden;
}


/* PHOTO */

.doctor-photo{
    width:100%;
    min-height:350px;

    background:var(--stone);
}

.doctor-photo img{
    width:100%;
    height:100%;

    object-fit:cover;
}

.doctor-photo-placeholder{
    min-height:350px;

    font-size:52px;
}


/* CONTENU */

.doctor-content{
    padding:34px 30px 30px;
}

.doctor-pole{
    margin-bottom:13px;

    font-size:9px;

    letter-spacing:.18em;
}


/* NOM */

.doctor-content h2{
    margin:0 0 11px;

    font-size:clamp(28px,2.2vw,38px);

    line-height:1.05;
}


/* QUALIFICATION */

.doctor-qualification{
    margin-bottom:7px;

    font-size:14px;
}


/* SPECIALITES */

.doctor-specialties{
    margin-bottom:20px;

    font-size:13px;
}


/* PRESENTATION */

.doctor-biography{
    display:-webkit-box;

    max-width:none;

    margin:0 0 24px;

    overflow:hidden;

    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;

    color:#675e57;

    font-size:13px;

    line-height:1.7;
}


/* BOUTON */

.doctor-actions{
    margin-top:auto;

    padding-top:22px;
}

.doctor-booking{
    width:100%;

    min-height:46px;

    padding:0 17px;

    gap:18px;

    font-size:10px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media(max-width:1150px){

    .team-list-inner{
        grid-template-columns:1fr;
    }

    .doctor-card{
        grid-template-columns:230px 1fr;
    }

}


@media(max-width:700px){

    .team-list{
        padding-left:20px;
        padding-right:20px;
        padding-bottom:80px;
    }

    .team-list-inner{
        grid-template-columns:1fr;

        gap:24px;
    }

    .doctor-card{
        grid-template-columns:1fr;

        min-height:auto;
    }

    .doctor-photo{
        min-height:420px;
    }

    .doctor-photo-placeholder{
        min-height:420px;
    }

    .doctor-content{
        padding:32px 25px;
    }

}


/* ---------------------------------------------------------
   ANCIEN HEADER EQUIPE :
   désactivation définitive si anciennes règles CSS subsistent
   --------------------------------------------------------- */

.team-header,
.team-mobile-menu{
    display:none !important;
}



/* =========================================================
   EQUIPE V3
   CARTES COMPACTES - 2 COLONNES
   ========================================================= */

.team-list{
    padding:
        0
        48px
        110px;
}

.team-list-inner{
    width:min(1320px,100%);

    margin:0 auto;

    display:grid !important;

    grid-template-columns:
        repeat(2,minmax(0,1fr)) !important;

    gap:28px !important;
}


/* CARTE */

.doctor-card{
    display:grid !important;

    grid-template-columns:
        185px
        minmax(0,1fr) !important;

    min-height:315px !important;

    margin:0 !important;

    background:#fff;

    border:
        1px solid
        rgba(137,123,112,.18);

    overflow:hidden;
}


/* PHOTO */

.doctor-photo{
    width:185px !important;

    min-height:315px !important;

    height:100% !important;

    background:#ded6ca;
}

.doctor-photo img{
    width:100% !important;
    height:100% !important;

    object-fit:cover !important;
}

.doctor-photo-placeholder{
    width:100%;

    min-height:315px !important;

    font-size:46px !important;
}


/* CONTENU */

.doctor-content{
    padding:
        28px
        27px
        26px !important;
}

.doctor-pole{
    margin-bottom:11px !important;

    font-size:9px !important;

    letter-spacing:.17em;
}


.doctor-content h2{
    margin:
        0
        0
        10px !important;

    font-size:
        clamp(
            26px,
            2vw,
            35px
        ) !important;

    line-height:1.05 !important;
}


.doctor-qualification{
    margin-bottom:6px !important;

    font-size:13px !important;
}


.doctor-specialties{
    margin-bottom:16px !important;

    font-size:12px !important;
}


.doctor-biography{
    margin:
        0
        0
        18px !important;

    font-size:12px !important;

    line-height:1.65 !important;

    display:-webkit-box;

    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;

    overflow:hidden;
}


/* BOUTON */

.doctor-actions{
    margin-top:auto !important;

    padding-top:18px !important;
}


.doctor-booking{
    width:100% !important;

    min-height:43px !important;

    padding:
        0
        15px !important;

    font-size:9px !important;

    letter-spacing:.12em !important;
}


/* TABLETTE */

@media(max-width:1100px){

    .team-list-inner{
        grid-template-columns:1fr !important;
    }

    .doctor-card{
        grid-template-columns:
            210px
            minmax(0,1fr) !important;
    }

    .doctor-photo{
        width:210px !important;
    }
}


/* MOBILE */

@media(max-width:650px){

    .team-list{
        padding:
            0
            18px
            70px;
    }

    .team-list-inner{
        grid-template-columns:1fr !important;

        gap:22px !important;
    }

    .doctor-card{
        grid-template-columns:1fr !important;

        min-height:0 !important;
    }

    .doctor-photo{
        width:100% !important;

        height:380px !important;

        min-height:380px !important;
    }

    .doctor-photo-placeholder{
        min-height:380px !important;
    }

    .doctor-content{
        padding:
            28px
            24px !important;
    }
}


/* =========================================================
   BANNIERE EQUIPE = MEME FORMAT QUE LE RESTE DU SITE
   ========================================================= */

.team-hero,
.team-hero-bg,
.team-hero-overlay,
.team-hero-content{
    display:none !important;
}

/* Le hero commun garde exactement sa hauteur plein écran */
.hero{
    min-height:100vh !important;
    height:100vh !important;
}

.hero-slide,
.hero-slide picture,
.hero-slide img{
    width:100% !important;
    height:100% !important;
}

.hero-slide img{
    object-fit:cover !important;
}

