/* =========================================================
   CLINIQUE LARIVIERE
   RESPONSIVE PUBLIC GLOBAL
   ========================================================= */

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

img{
    max-width:100%;
}


/* =========================================================
   TABLETTE / MOBILE
   ========================================================= */

@media(max-width:960px){

    /* HEADER */

    .site-header{
        padding:16px 20px !important;
    }

    .site-header.scrolled{
        padding:12px 20px !important;
    }

    .nav{
        width:100%;
    }

    .brand-logo{
        width:48px !important;
        height:48px !important;
    }

    .nav-links{
        display:none !important;
    }

    .mobile-menu{
        display:flex !important;
        flex-direction:column;
        justify-content:center;
        gap:5px;

        width:42px;
        height:42px;

        padding:8px;

        border:0;
        background:transparent;
    }

    .mobile-menu span{
        display:block;

        width:100%;
        height:1px;

        background:currentColor;
    }


    /* HERO */

    .hero{
        height:100svh !important;
        min-height:620px !important;
    }

    .hero-content{
        left:24px !important;
        right:24px !important;
        bottom:92px !important;

        max-width:none !important;
    }

    .hero h1{
        font-size:clamp(48px,14vw,72px) !important;
        line-height:.94 !important;
    }

    .hero-eyebrow{
        font-size:9px !important;
        letter-spacing:.18em !important;
    }

    .hero-text{
        max-width:440px !important;

        margin:20px 0 25px !important;

        font-size:18px !important;
        line-height:1.45 !important;
    }

    .hero-button{
        padding:14px 18px !important;

        font-size:9px !important;
    }

    .hero-progress{
        left:24px !important;
        right:auto !important;
        bottom:32px !important;
    }

    .hero-dot{
        width:28px !important;
    }


    /* ACCUEIL - UNIVERS */

    .universes{
        padding:
            75px
            18px
            80px !important;
    }

    .section-intro{
        margin-bottom:45px !important;
    }

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

        gap:18px !important;
    }

    .universe{
        min-height:560px !important;
    }

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

    .universe-title{
        font-size:46px !important;
    }

    .service-menu{
        grid-template-rows:1fr !important;
        opacity:1 !important;
    }

    .service-menu a{
        font-size:18px !important;
    }


    /* PAGES MEDICALES */

    .specialty-intro,
    .specialty-philosophy,
    .specialty-information{
        display:flex !important;
        flex-direction:column !important;

        width:100% !important;
        min-height:0 !important;
    }

    .specialty-intro-side{
        width:auto !important;

        padding:
            65px
            24px
            24px !important;
    }

    .specialty-intro-copy{
        width:auto !important;

        padding:
            10px
            24px
            50px !important;
    }

    .specialty-lead{
        font-size:clamp(30px,9vw,42px) !important;
    }

    .specialty-text-columns{
        grid-template-columns:1fr !important;

        gap:18px !important;

        margin-top:35px !important;
    }

    .specialty-intro .specialty-section-visual,
    .specialty-philosophy .specialty-section-visual-dark,
    .specialty-information .specialty-section-visual{
        width:100% !important;
        height:auto !important;
        min-height:0 !important;

        margin:0 !important;
    }

    .specialty-intro .specialty-section-visual img,
    .specialty-philosophy .specialty-section-visual-dark img,
    .specialty-information .specialty-section-visual img{
        width:100% !important;
        height:auto !important;

        aspect-ratio:4 / 3 !important;

        object-fit:cover !important;
        object-position:center !important;
    }


    .specialty-philosophy
    .specialty-section-visual-dark{
        order:1 !important;
    }

    .specialty-philosophy-title{
        order:2 !important;

        padding:
            60px
            24px
            28px !important;
    }

    .specialty-philosophy-title h2{
        font-size:clamp(38px,11vw,54px) !important;
    }

    .specialty-values{
        order:3 !important;

        width:auto !important;

        padding:
            0
            24px
            60px !important;
    }

    .specialty-values article,
    .specialty-values article + article{
        padding:25px 0 !important;

        border-left:0 !important;
    }


    .specialty-information-grid{
        order:1 !important;

        width:auto !important;

        padding:
            65px
            24px !important;
    }

    .specialty-information-heading h2{
        font-size:clamp(38px,11vw,54px) !important;
    }

    .specialty-information
    .specialty-section-visual{
        order:2 !important;
    }


    .specialty-team{
        padding:75px 0 !important;
    }

    .specialty-team-inner{
        width:calc(100% - 48px) !important;

        flex-direction:column !important;
        align-items:flex-start !important;

        gap:35px !important;
    }

    .specialty-team h2{
        font-size:42px !important;
    }


    .specialty-next{
        width:calc(100% - 48px) !important;

        padding:75px 0 !important;
    }

    .specialty-next-links a{
        grid-template-columns:1fr 35px !important;

        gap:8px !important;
    }

    .specialty-next-links a > span{
        grid-column:1 / -1;
    }

    .specialty-next-links strong{
        font-size:27px !important;
    }


    .specialty-booking{
        flex-direction:column !important;
        align-items:flex-start !important;

        padding:
            70px
            24px !important;
    }

    .specialty-booking h2{
        font-size:42px !important;
    }


    /* PAGE EQUIPE */

    .team-intro{
        padding:
            75px
            24px !important;
    }

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

        gap:30px !important;

        width:100% !important;
    }

    .team-intro h2{
        font-size:clamp(38px,11vw,54px) !important;
    }

    .team-list{
        padding:
            60px
            24px !important;
    }

    .team-list-inner{
        width:100% !important;
    }


    /* NOTRE CLINIQUE */

    .location-grid{
        grid-template-columns:1fr !important;
    }

    .location-copy{
        padding:
            60px
            24px !important;
    }

}


/* =========================================================
   PETITS MOBILES
   ========================================================= */

@media(max-width:560px){

    .hero{
        min-height:590px !important;
    }

    .hero-content{
        left:20px !important;
        right:20px !important;
        bottom:85px !important;
    }

    .hero h1{
        font-size:48px !important;
    }

    .hero-text{
        font-size:16px !important;
    }

    .hero-progress{
        left:20px !important;
    }

    .hero-dot{
        width:24px !important;
    }

    .universe{
        min-height:500px !important;
    }

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

    .universe-title{
        font-size:40px !important;
    }

}
