/*
Theme Name: ZMtheme
Author: Cecile GALLUDEC
Author URI: cecile-galludec.com
Description: Un thème WordPress fait à la main
Version: 1.0
Text Domain: ZM-theme
*/

/* roboto-condensed-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/roboto-condensed-v31-latin-100.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-100italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: italic;
    font-weight: 100;
    src: url('fonts/roboto-condensed-v31-latin-100italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/roboto-condensed-v31-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-200italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: italic;
    font-weight: 200;
    src: url('fonts/roboto-condensed-v31-latin-200italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/roboto-condensed-v31-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/roboto-condensed-v31-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/lexend-v26-latin-100.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/lexend-v26-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/lexend-v26-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/lexend-v26-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
    --color-darkblue: 7 8 32;
    --color-mediumblue: 228 244 252;
    --color-jaune: 239 191 4;
    --color-white: 255 255 255;
    --color-lightblue: 245 252 255;


}

/*------------------------------------all----------------------------------------*/

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

a {
    text-decoration: none;
    color: rgb(var(--color-darkblue));
}

ul {
    list-style-type: none;
}

.container {
    margin: 0 auto;
    max-width: 1000px;
}

body {
    background-color: rgb(var(--color-lightblue));
    overflow-x: hidden;
}

/*------------------nav mobile------------*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-sizing: border-box;
    transition: background-color 0.4s ease;
}

.navbar-bar {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--color-white) / 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-sizing: border-box;
    transition: background-color 0.4s ease;
}

.navbar.navopen .navbar-bar {
    background-color: rgb(var(--color-darkblue) / 0.85);
}

.navigationMobile {
    max-height: 0;
    overflow: hidden;
    background-color: rgb(var(--color-darkblue) / 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
    transition: max-height 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.navigationMobile.navopen {
    max-height: 500px;
}

#navMobile ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    margin: 0;
    padding: 32px;
    gap: 16px;
    box-sizing: border-box;
}

#navMobile ul li a {
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(var(--color-white));
    letter-spacing: 0.2em;
    padding: 8px;
    text-align: left;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

.navigationMobile.navopen #navMobile ul li a {
    opacity: 1;
    transform: translateY(0);
}

/* Cascade d'apparition des liens */
.navigationMobile.navopen #navMobile ul li:nth-child(1) a {
    transition-delay: 0.10s;
}

.navigationMobile.navopen #navMobile ul li:nth-child(2) a {
    transition-delay: 0.18s;
}

.navigationMobile.navopen #navMobile ul li:nth-child(3) a {
    transition-delay: 0.26s;
}

.navigationMobile.navopen #navMobile ul li:nth-child(4) a {
    transition-delay: 0.34s;
}

.navigationMobile.navopen #navMobile ul li:nth-child(5) a {
    transition-delay: 0.42s;
}

.navigationMobile.navopen #navMobile ul li:nth-child(6) a {
    transition-delay: 0.50s;
}


#navMobile ul li a:hover {
    color: rgb(var(--color-jaune));
}

/*------menu burger-------*/

.burgerMenu {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    height: 60px;
    width: 100%;
    pointer-events: none;
    box-sizing: border-box;
}

.burgerMenu i {
    color: rgb(var(--color-jaune));
    font-size: 1.5rem;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#menuPrincipal {
    display: none;
}

/*------interieur nav-------*/
#navMobile ul li {
    position: relative;
    width: 100%;
}

/* =====================================================
   MEDIA-QUERIES NAV DESKTOP (min-width: 1000px)
   ===================================================== */

@media screen and (min-width:1000px) {
    .burgerMenu {
        display: none;
        pointer-events: none;
    }

    #navigationMobile {
        display: none !important;
        pointer-events: none;
    }

    .navbar {
        background-color: rgb(var(--color-white) / 0.5);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        height: 60px;
    }

    .navbar-bar {
        display: none;
    }

    #menuPrincipal {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        display: flex;
        width: 100%;
        height: 60px;
        justify-content: center;
        align-items: center;
        font-family: 'Roboto Condensed', sans-serif;
        background-color: transparent;
        padding: 0;
    }

    #menuPrincipal ul {
        display: flex;
        width: 65%;
        justify-content: space-around;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #menuPrincipal ul li a {
        color: rgb(var(--color-darkblue));
        text-decoration: none;
        letter-spacing: 0.1em;
        font-size: 1rem;
        transition: color 0.2s ease;
    }

    #menuPrincipal ul li a:hover {
        color: rgb(var(--color-jaune));
    }
}

/*------------------------------------------main-------------------------------------*/

main {
    background-color: rgb(var(--color-lightblue));
    width: 100%;
    margin: 0 auto;
}


/*------------------------------------logos----------------------------------------*/

.logoZenithMorphosis img {
    margin-top: 40px;
    width: 300px;
}

.logos {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: end;
}


/* ----------------------------------header------------------------------------------ */

header {
    background: url(img/cabinet-hd.webp) no-repeat center/cover;
    height: 450px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(var(--color-darkblue) / 0.7);
    z-index: 0;
}

header>* {
    position: relative;
    z-index: 1;
}

.hero-logo-zone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

.hero-logo {
    width: 180px;
    height: auto;
}

.hero-logo-line {
    display: none;
}

.headerbottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1.5rem 2rem;
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(var(--color-white));
}

.pageTitle {
    text-align: center;
}

.pageTitle h1 {
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: rgb(var(--color-jaune));
    margin-bottom: 6px;
}

.pageTitle p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    color: rgb(var(--color-white));
}

.bookFreeCall {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.bookFreeCall h4 {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgb(var(--color-lightblue));
    text-align: center;
}

.btn-rdv {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 1.5px solid rgb(var(--color-jaune));
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.25s ease;
}

.btn-rdv:hover {
    background: rgb(var(--color-jaune) / 0.2);
}

.btn-rdv p {
    color: rgb(var(--color-jaune));
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}


/* =====================================================
   MEDIA QUERIES HEADER BOTTOM DESKTOP
   ===================================================== */
@media screen and (min-width: 768px) {
    header {
        align-items: center;
        height: 350px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-logo-line {
        display: block;
        width: 200px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgb(var(--color-jaune)), transparent);
    }

    .headerbottom {
        position: absolute;
        bottom: 5px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 3rem 1rem;
        width: 80%;
        max-width: 1200px;
    }

    .pageTitle {
        text-align: left;
    }

    .pageTitle h1 {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 1.5rem;
        text-align: left;
    }

    .pageTitle h2 {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 1.1rem;
        text-align: left;
    }

    .bookFreeCall {
        align-items: center;
    }
}

/* ------------------------------------------ Home ---------------------------------------------- */
/* --------------------------------------- therapists ---------------------------------------------- */
.therapists {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1.5rem;
}


.therapist {
    position: relative;
    width: 100%;
    max-width: 350px;
    background-color: rgb(var(--color-mediumblue));
    border-radius: 16px;
    overflow: hidden;
    border: 0.5px solid rgb(var(--color-white) / 0.8);
}

.therapist .logo {
    position: relative;
    width: 100%;
    height: 300px;
    aspect-ratio: 3/4;
    overflow: visible;
    border-radius: 16px 16px 0 0;

}

a.phototherapist {
    display: block;
    width: 100%;
    height: 100%;
}

a.phototherapist img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.phototherapist::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(var(--color-darkblue) / 0.3);
    z-index: 0;
}

.logotherapist {
    position: absolute;
    z-index: 90;
    bottom: -45px;
    top: auto;
    right: 20px;
    margin: 0px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgb(var(--color-white));
}

.therapist h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(var(--color-darkblue));
    letter-spacing: 0.05rem;
    padding: 2rem 1.25rem 0.5rem;
    width: 100%;
}

.therapist p {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    color: rgb(var(--color-darkblue)/ 0.6);
    padding: 0 1.25rem 1rem;
    width: 100%;
    margin: 0;
}

.button {
    display: flex;
    gap: 8px;
    padding: 0 1.25rem 1.25rem;
}

.btnSeeMoreTherapist,
.btnBooking {
    flex: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    padding: 0 1rem;
}

.btnSeeMoreTherapist {
    color: rgb(var(--color-darkblue));
    background-color: transparent;
    border: rgb(var(--color-darkblue)) solid 1.5px;
}

.btnBooking {
    background: rgb(var(--color-jaune));
    border: 1.5px solid rgb(var(--color-jaune));
    color: rgb(var(--color-darkblue));
    font-weight: 700;
}



/* =====================================================
   MEDIA-QUERIES THERAPIST'S CARD (min-width: 768px)
   ===================================================== */

@media screen and (min-width:768px) {


    .therapists {
        flex-direction: row;
        align-items: stretch;
        padding: 4rem 2rem;
    }

    .therapist {
        max-width: 320px;
    }

    a.phototherapist img {
        transition: transform 0.4s ease;
    }

    a.phototherapist:hover img {
        transform: scale(1.04);
    }

    .btnSeeMoreTherapist:hover {
        background: rgb(var(--color-darkblue));
        color: #fff;
    }

    .btnBooking:hover {
        background: rgb(var(--color-darkblue));
        color: rgb(var(--color-jaune));
        border-color: rgb(var(--color-jaune));
    }

}


/* ------------------------------ treatment slider ------------------------------- */
#treatments {
    display: block;
    background-color: rgb(var(--color-darkblue));
    margin-top: 50px;
    width: 100%;
}

#treatments h2 {
    color: rgb(var(--color-jaune));
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 100;
    text-align: center;
    padding: 15px;
}

.slider-btn {
    display: none;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10%;
}

.slider-viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.treatmentContent {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    user-select: none;
}

.treatment {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb(var(--color-lightblue) / 0.05);
    border: 1.5px solid rgb(var(--color-white) / 0.1);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: 1rem;
}

.treatmentimg {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.treatment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.treatment h3 {
    color: rgb(var(--color-white));
    font-family: 'lexend', sans-serif;
    font-size: 1rem;
    font-weight: 200;
    margin: 10px;
    padding: 1rem 1.25rem 0.25rem;

}

.treatment p {
    color: rgb(var(--color-white) / 0.5);
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    padding: 0 1.25rem;
    width: 100%;

}

.btnSeeMoreTreatment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 16px;
    border: rgb(var(--color-lightblue)/0.3) solid 1.5px;
    color: rgb(var(--color-lightblue)/0.7);
    border-radius: 6px;
    width: fit-content;
}

.btntreatment a {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    padding: 10px 20px;
    color: rgb(var(--color-darkblue));
    background-color: rgb(var(--color-jaune));
    border: rgb(var(--color-jaune)) solid 1.5px;
    border-radius: 6px;
    width: 100px;
    text-align: center;
    margin: 50px;
    transition: background 0.5s ease;

}

.btntreatment {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btntreatment a:hover {
    color: rgb(var(--color-jaune));
    background-color: rgb(var(--color-darkblue));
    border: 1.5px solid rgb(var(--color-jaune));
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.dot {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.dot::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    display: block;
}

.dot.active::after {
    background: rgb(var(--color-jaune));
    width: 20px;
    border-radius: 3px;
}

/* ======================================
   MEDIA-QUERIES SLIDER (min-width: 768px)
   ====================================== */
@media screen and (min-width: 768px) {

    /* Flèches visibles sur desktop */
    .slider-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        color: rgba(255, 255, 255, 0.5);
        font-size: 1.4rem;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.2s;
        line-height: 1;
    }

    .slider-btn:hover {
        border-color: rgb(var(--color-jaune));
        color: rgb(var(--color-jaune));
    }

    .slider-container {
        gap: 1rem;
        padding: 0 1rem;
    }

    .treatment {
        width: calc(33.333% - 14px);
        max-width: none;
    }

    .treatment:hover {
        border-color: rgba(245, 197, 66, 0.4);
    }

    .treatment img {
        transition: transform 0.4s ease;
    }

    .treatment:hover img {
        transform: scale(1.04);
    }

    .btnSeeMoreTreatment:hover {
        border-color: rgb(var(--color-jaune));
        color: rgb(var(--color-jaune));
    }

    .btntreatment a:hover {
        background: #fff;
    }
}

/*----------------------------------video----------------------------------------*/

#historyZM {
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 20px;
    width: 100%;
}

#historyZM h2 {
    padding: 30px 0px;
    text-align: center;
    font-family: 'Lexend', sans-serif;
}

.video {
    height: 500px;
    background-color: gray;
    text-align: center;
    align-content: center;
}

.logos-associations {
    padding: 4rem;
}

/*----------------------------------bloc associations----------------------------------------*/


.logos-associations h2 {
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(var(--color-darkblue));
    font-size: 2rem;
    font-weight: 200;
    text-align: center;
    margin: 1.5rem;
    padding: 2rem;
    border-bottom: 2px solid rgb(var(--color-jaune));
}

.logos-associations .wp-block-column-is-layout-flow {
    display: flex;
    align-items: center;
    justify-content: center;

}

/*----------------------------------- single - article -------------------------------- */

/* zone article */

.article-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px 30px 20px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* paragraphes */

.article-content p {
    margin-bottom: 1em;
}

/* titres dans les articles */

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Lexend', sans-serif;
    margin: 1.6em 0 0.6em;
    line-height: 1.3;
}

/* images gutenberg */

.article-content .wp-block-image {
    margin: 30px 0;
    text-align: center;
}

.article-content .wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* fichiers PDF bouton */

.article-content .wp-block-file {
    margin: 25px 0;
    text-align: center;
}

.article-content .wp-block-file__button {
    background: rgb(var(--color-darkblue));
    color: rgb(var(--color-white));
    padding: 12px 26px;
    border-radius: 999px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    transition: 0.25s ease;
}

.article-content .wp-block-file__button:hover {
    background: rgb(var(--color-jaune));
    color: rgb(var(--color-darkblue));
}

/* bouton Gutenberg */

.article-content .wp-block-button {
    margin: 25px 0;
}

.article-content .wp-block-button__link {
    border-radius: 6px;
    padding: 12px 26px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    transition: 0.25s ease;
}

.article-content .wp-block-button__link:hover {
    transform: translateY(-2px);
}

/* listes */

.article-content ul,
.article-content ol {
    margin: 1.2em 0 1.4em 1.4em;
}

.article-content li {
    margin-bottom: 0.5em;
    transition: all 0.3s ease;
}

/* citations */

.article-content blockquote {
    border-left: 4px solid rgb(var(--color-jaune));
    padding-left: 15px;
    margin: 25px 0;
    font-style: italic;
    opacity: 0.9;
}


.accordion-item.open {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.article-title {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Lexend', sans-serif;
}

/* ======================================
   MEDIA-QUERIES single (min-width: 1050px)
   ====================================== */

@media screen and (min-width:999px) {
    .article-content {
        max-width: 70%;
        margin: 0 auto;
        padding: 25px 20px 30px 20px;
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

/*----------------------------------- blog / publications-------------------------------- */

.titlebloc {
    text-align: center;
    padding-top: 20px;
}

.parent-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: rgb(var(--color-darkblue));
    border-bottom: 2px solid rgb(var(--color-jaune));
}

.sub-cat-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: normal;
    font-weight: 600;
    padding: 15px;
    font-size: 1.1rem;
    text-align: center;
}

.accordion-case {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    padding-bottom: 10px;
}

.accordion-item {
    padding: 8px 0;
    margin: 3px 0;
    border: 1px solid rgb(var(--color-darkblue));
    background-color: rgb(var(--color-white));
    color: rgb(var(--color-darkblue));
    overflow: hidden;
    border-radius: 10px;
    width: 95%;
}

.accordion-box {
    width: 100%;
    background-color: rgb(var(--color-white));
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin: 0 auto;
    border: none;
    box-shadow: none;
}

.accordion-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: normal;
    font-weight: 600;
    padding: 0 20px;
    font-size: 1.2rem;
    color: rgb(var(--color-darkblue));
}

.accordion-content {
    max-height: 0;
    overflow-x: hidden;
    transition: max-height 0.5s ease-in-out;
}

.accordion-icon {
    size: 30px;
    font-weight: 500;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
    transform: rotate(90deg);
}

.accordion-box:hover .accordion-title {
    color: rgb(var(--color-jaune));
    transition: color 0.3s ease;
}

.accordion-content,
.accordion-inner,
.article-content {
    max-width: 100%;
    overflow-x: hidden;
    word-break: break-word;
}

/* ======================================
   MEDIA-QUERIES blog page (min-width: 768px)
   ====================================== */

@media screen and (min-width:768px) {
    .titlebloc {
        width: 100%;
        max-width: 1400px;
        text-align: left;
        padding: 20px 0 15px;
    }

    .parent-title {
        display: block;
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: 600;
        font-size: 1.8rem;
        padding: 10px 30px 5px;
        color: rgb(var(--color-darkblue));
        border-bottom: 2px solid rgb(var(--color-jaune));
    }
}

/*----------------------------------- footer--------------------------------------- */

footer {
    display: flex;
    flex-direction: column;
    font-family: 'Lexend', sans-serif;
    font-weight: 200;
    padding: 10px;
    background-color: rgb(var(--color-darkblue));
    color: rgb(var(--color-lightblue));
}

footer a {
    color: rgb(var(--color-lightblue));
}

footer p {
    margin-bottom: 20px;
}

.openinghours.centerline {
    margin-top: 1rem;
}

.titlecontact {
    padding: 10px 0px;
    font-size: 1.5em;
    font-weight: 300;
    color: rgb(var(--color-jaune));
}

.centerline {
    text-align: center;
}

.infoline {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.logofooter {
    width: 33%;
    display: flex;
    align-items: center;
}

.logofooter img {
    width: 80%;
    margin-left: 20px;
}



.boite p {
    display: inline;
    margin: 0;
}


.socialmedia {
    width: 70%;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.sociallogo {
    width: 15%;
    min-width: 25px;
    margin-right: 2%;
}

.sociallogo img {
    width: 100%;
}

.infotherapists {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 10px;
}

.infotherapists p {
    padding: 10px 0;
}

.contacttherapist {
    width: 100%;
    text-align: center;
}

.footerbottom {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}


.copyright {
    text-align: center;
    font-size: 0.7rem;
    padding: 1rem;
}

.officialpages {
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 0.7rem;
}

.officialpages ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

/* ======================================
   MEDIA-QUERIES FOOTER (min-width: 768px)
   ====================================== */

@media screen and (min-width:768px) {

    .contacttherapist {
        width: 50%;
        margin: 0 auto;

    }

    .infoline {
        display: flex;
        flex-direction: row;
        max-width: 1200px;
        margin: 0 auto;
        height: 200px;
    }

    .infotherapists {
        display: flex;
        flex-direction: row;
    }

    .socialmedia {
        display: flex;
        width: 33%;
        height: 100%;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
    }

    .footerbottom {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .copyright {
        text-align: end;
        font-size: 0.7rem;
        padding: 50px 25px;
    }


    .officialpages {
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .officialpages ul {
        display: flex;
        flex-direction: column;
        padding: 0.5rem;
    }

}

/*----------------------------------- BookIn page --------------------------------------- */

.logos-healthcare {
    padding: 3rem;
}

.logos-healthcare h2 {
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(var(--color-darkblue));
    font-size: 2rem;
    font-weight: 200;
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgb(var(--color-jaune));
}

.logos-healthcare .wp-block-column-is-layout-flow {
    display: flex;
    align-items: center;
    justify-content: center;

}

.bookinglink {
    display: flex;
    justify-content: center;
}

.appbookin {
    width: 100% !important;
    max-width: 1300px;
    min-width: 0;
    align-self: stretch;
    height: 900px;
    margin: 5px;
    border-radius: 6px;
    border: 1px rgb(var(--color-mediumblue)) solid;
    height: 1000px;
}


/*------------------------------------ Therapists page ---------------------------------*/

.therapistspage {
    max-width: 960px;
    margin: 0 auto;
    padding: 6rem 1.5rem 3rem;
    gap: 2rem;
}

.team-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.team-label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgb(var(--color-darkblue));
}

.team-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: rgb(var(--color-darkblue));
    margin: 0.5rem 0;
}

.team-divider {
    width: 32px;
    height: 1px;
    background: rgb(var(--color-jaune));
    margin: 0.75rem auto 0;
}

.therapist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.therapist-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    margin: 0 auto;

}

.photo-wrap {
    width: auto;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.photo-wrap img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: auto;
}

.photo-hover {
    display: none;
}

.therapist-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin: 1rem 0 2px;
    text-align: center;
}

.therapist-specialite {
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(var(--color-darkblue) / 0.6);
    text-align: center;
    font-size: 0.9rem;
}

.btn-more {
    position: absolute;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: fit-content;
    background: rgb(var(--color-white)/ 0.3);
    backdrop-filter: blur(4px);
    color: rgb(var(--color-white));
    border: rgb(var(--color-white))1px solid;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 200;

}

.btn-booking {
    display: block;
    width: fit-content;
    background: rgb(var(--color-darkblue));
    color: rgb(var(--color-white));
    text-align: center;
    padding: 16px;
    border-radius: 6px;
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 10px rgb(var(--color-darkblue)/ 0.5);
    margin: 2rem;
}

.btn-therapist-booking {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ======================================
   MEDIA-QUERIES therapist page (min-width: 768px)
   ====================================== */
@media screen and (min-width:768px) {

    .therapist-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .therapist-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .photo-wrap {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 12px;
        cursor: pointer;
    }

    .photo-wrap img {
        width: 100%;
        display: block;
        height: auto;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .photo-wrap:hover img {
        transform: scale(1.03);
    }

    .photo-hover {
        position: absolute;
        inset: 0;
        background: rgb(var(--color-darkblue) / 0.4);
        opacity: 0;
        transition: opacity 0.25s;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }

    .photo-wrap:hover .photo-hover {
        opacity: 1;
    }

    .hover-label {
        font-family: 'Lexend', sans-serif;
        color: rgb(var(--color-white));
        font-size: 12px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        border: 1px solid rgb(var(--color-jaune));
        padding: 8px 20px;
        border-radius: 20px;
    }

    .btn-booking {
        font-size: 13px;
        padding: 7px 18px;
        border-radius: 6px;
        text-transform: uppercase;
        cursor: pointer;
        text-decoration: none;
        font-family: 'Lexend', sans-serif;
        padding: 10px;
        border: 1px solid rgb(var(--color-darkblue));
        background: transparent;
        color: rgb(var(--color-darkblue));
        transition: background 0.5s ease;

    }

    .btn-booking:hover {
        border: 1px solid rgb(var(--color-darkblue));
        background: rgb(var(--color-mediumblue));
        color: rgb(var(--color-darkblue));
    }

    .btn-more {
        display: none;
    }
}

/*------------------------------------ Treatments page ---------------------------------*/
#pagetreatmentcards {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.pagetreatment {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgb(var(--color-darkblue));
    border: 0.5px solid rgb(var(--color-darkblue) / 0.1);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
    width: 80%;
    max-width: 400px;
}

.treatmentimg {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.pagetreatment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.pagetreatment h3 {
    color: rgb(var(--color-white));
    font-family: 'lexend', sans-serif;
    font-size: 1, 2rem;
    font-weight: 200;
    margin: 10px;
    padding: 1rem 1.25rem 0.25rem;

}

.pagetreatment p {
    color: rgb(var(--color-white) / 0.5);
    font-family: 'Lexend', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 1.25rem;
    width: 100%;

}

.treatments-btn {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1.25rem 1.25rem;
}

.btnSeeMoreTreatment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 16px;
    border: rgb(var(--color-lightblue)/0.3) solid 1px;
    color: rgb(var(--color-lightblue)/0.7);
    border-radius: 6px;
    width: fit-content;
}

.btn-bkn-treatmentpage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0.2rem;
    padding: 0 16px;
    background: rgb(var(--color-white)/ 0.2);
    color: rgb(var(--color-white));
    border: rgb(var(--color-white))1px solid;
    border-radius: 6px;
    width: fit-content;
}

/* ======================================
   MEDIA-QUERIES Treatment page (min-width: 768px)
   ====================================== */
@media screen and (min-width: 768px) {

    #pagetreatmentcards {
        flex-direction: row;
        flex-wrap: wrap;
        width: 80%;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
    }

    .pagetreatment {
        width: 30%;
        min-width: 300px;
        min-height: 450px;
    }

    .pagetreatment img {
        transition: transform 0.4s ease;
    }

    .pagetreatment:hover img {
        transform: scale(1.04);
    }

    .btnSeeMoreTreatment:hover {
        border-color: rgb(var(--color-jaune));
        color: rgb(var(--color-jaune));
    }

    .btn-bkn-treatmentpage:hover {
        background: rgb(var(--color-white)/ 0.5);
    }
}

/*------------------------------------ contact us page ---------------------------------*/
.wpcf7-form .cf7-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.wpcf7-form .cf7-field label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(var(--color-darkblue));
    opacity: 0.6;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgb(var(--color-darkblue) / 0.7);
    border-radius: 0;
    padding: 10px 2px;
    font-size: 15px;
    color: rgb(var(--color-darkblue));
    outline: none;
    transition: border-color 0.2s;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgb(var(--color-darkblue) / 0.7);
    font-family: 'Roboto Condensed', sans-serif;

}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-bottom-color: rgb(var(--color-jaune));
}

.wpcf7-form textarea {
    resize: none;
    height: 120px;
}

.wpcf7-form .cf7-submit {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.wpcf7-form input[type="submit"] {
    background-color: rgb(var(--color-jaune));
    color: rgb(var(--color-darkblue));
    border: none;
    border-radius: 999px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: rgb(var(--color-darkblue));
    color: rgb(var(--color-jaune));
    transform: scale(1.03);
}

/*------------------------------------ ouverture article pop up ---------------------------------*/

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(var(--color-darkblue)/ 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: rgb(var(--color-darkblue)/0.7);
    border: 1px rgb(var(--color-white)) solid;
    backdrop-filter: blur(6px);
    color: rgb(var(--color-white));
    font-family: 'Lexend', sans-serif;
    border-radius: 8px;
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-open h2 {
    padding: 1rem 0;
}


.modal-open p {
    padding: 0.5rem 0;
}

.modal-close {
    position: absolute;
    color: rgb(var(--color-white));
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

/*------------------------------------ 404/maintenance page ---------------------------------*/

.page-404,
.maintenance-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50vh;
    font-size: 2rem;
    text-align: center;
    font-family: 'Lexend', sans-serif;
    color: rgb(var(--color-darkblue));
    background-color: rgb(var(--color-lightblue));
}

.page-404__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 3px solid rgb(var(--color-jaune));
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.25s ease;
    color: rgb(var(--color-darkblue));
    margin: 2rem;
}


.cdp-copy-alert-success {
    display: none !important;
}

img[alt="Successfull copy image"] {
    display: none !important;
}