:root {
    --bg: #fffbfd;
    --surface: #ffffff;
    --text: #3a2a30;
    --muted: #8c6f78;
    --primary: #f59db6;
    --primary-dark: #e685a0;
    --accent: #f9c1d0;
    --border: #f1d7df;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(245, 157, 182, 0.15);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 72px 0;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffbfd;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    pointer-events: all;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px;
}

.site-loader__logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(240px, 60vw);
    max-height: min(240px, 22vh);
    object-fit: contain;
    opacity: 0;
    transform: scale(0.98);
    animation: loaderLogoFadeIn 0.8s ease forwards;
}

.site-loader__text {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    opacity: 0;
    animation: loaderLogoFadeIn 0.8s ease forwards;
}

@keyframes loaderLogoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .site-loader__logo {
        max-width: min(180px, 70vw);
        max-height: min(180px, 18vh);
    }
}

body.loading-site {
    overflow: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transform: translateY(0);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(252, 250, 247, 0.92);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.header-inner {
    min-height: 96px;
    display: grid;
    align-items: center;
    gap: 24px;
}

.main-nav-left {
    justify-self: end;
}

.logo--center {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
}

.logo--center img,
.custom-logo {
    display: block;
    max-height: 62px;
    width: auto;
    border-radius: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    min-width: 0;
}

.main-nav .menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
}

.main-nav .menu-item {
    margin: 0;
    flex: 0 0 auto;
}

.menu-toggle,
.mobile-menu {
    display: none;
}

/* Desktop */
.header-inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.main-nav-left {
    justify-self: end;
}

.header-right {
    display: flex;
    align-items: center;
    justify-self: end;
    justify-content: space-between;
    gap: 24px;
}

.main-nav .menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.logo--center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo--center .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo--center img,
.custom-logo {
    display: block;
    width: auto;
    max-height: 64px;
    border-radius: 0;
}

/* Mobile */
@media (max-width: 980px) {
    .header-inner {
        min-height: 78px;
        gap: 12px;
    }

    .main-nav-left,
    .main-nav-right {
        display: none;
    }

    .logo--center {
        order: 1;
        justify-self: start;
    }

    .menu-toggle {
        order: 2;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-self: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
        border-radius: 999px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .header-right {
        order: 3;
        justify-self: end;
        gap: 0;
    }

    .header-cta {
        padding: 10px 14px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .logo--center img,
    .custom-logo {
        max-height: 50px;
    }

    .mobile-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(252, 250, 247, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
        padding: 16px 20px 20px;
    }

    .mobile-menu[hidden] {
        display: none;
    }

    .mobile-menu__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 12px;
    }

    .mobile-menu__item a {
        display: block;
        padding: 10px 0;
        text-decoration: none;
        color: var(--text);
        font-weight: 500;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .mobile-menu__item.is-current a,
    .mobile-menu__item.current-menu-item a,
    .mobile-menu__item.current_page_item a {
        color: var(--primary-dark);
    }

    .site-header.is-menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.is-menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 640px) {
    .header-cta {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .logo--center img,
    .custom-logo {
        max-height: 44px;
    }
}

.main-nav a,
.logo,
.site-footer a {
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-body);
}

.main-nav a {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: color 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .is-current > a {
    color: var(--primary-dark);
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after,
.main-nav .is-current > a::after {
    transform: scaleX(1);
}

.header-cta {
    white-space: nowrap;
    flex: 0 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-body);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(245, 157, 182, 0.18);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(252, 250, 247, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 96px;
    display: grid;
    align-items: center;
    gap: 24px;
}

.main-nav-left {
    justify-self: end;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.main-nav .menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.main-nav .menu-item {
    margin: 0;
}

.main-nav a {
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 500;
    padding: 6px 0;
}

.logo--center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo--center .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo--center img,
.custom-logo {
    display: block;
    width: auto;
    max-height: 64px;
    border-radius: 0;
}

.header-cta {
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .main-nav .menu {
        gap: 16px;
    }

    .header-right {
        gap: 16px;
    }

    .main-nav a {
        font-size: 0.94rem;
    }

    .header-cta {
        padding: 12px 18px;
    }
}

@media (max-width: 980px) {

    .main-nav-left,
    .main-nav-right {
        display: none;
    }

    .logo--center {
        justify-self: start;
    }

    .header-right {
        justify-self: end;
    }
}

@media (max-width: 640px) {
    .header-inner {
        min-height: 78px;
    }

    .logo--center img,
    .custom-logo {
        max-height: 50px;
    }

    .header-cta {
        padding: 10px 16px;
        font-size: 0.92rem;
    }
}
.main-nav a,
.logo,
.site-footer a {
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-body);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.card:hover,
.hero-card:hover,
.treatment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(245, 157, 182, 0.18);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-card,
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.hero-placeholder {
    min-height: 320px;
    display: grid;
    place-items: center;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    color: var(--muted);
}

.eyebrow {
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 700;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.15;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 12px;
}

.lead {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 60ch;
    font-style: italic;
}

.hero-actions {
    margin-top: 24px;
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.cards {
    display: grid;
    gap: 20px;
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.section-heading {
    margin-bottom: 28px;
}

.site-footer {
    padding: 56px 0;
    border-top: 1px solid var(--border);
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.cc-editor-block {
    padding: 20px;
    border: 1px dashed #cfc7be;
    border-radius: 16px;
    background: #fff;
}

.cc-editor-card {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e7dfd8;
    border-radius: 12px;
    background: #faf8f5;
}

@media (max-width: 900px) {
    .hero-grid,
    .cards-3,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }
}

.treatment-card {
    overflow: hidden;
    padding: 0;
}

.treatment-card__media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 0;
}

.treatment-card__content {
    padding: 24px;
}

.treatment-card__link {
    display: inline-block;
    margin-top: 12px;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-dark);
}

.faq {
    background: #f6f1eb;
}

.faq .container {
    display: grid;
    gap: 16px;
}

.faq-item h3 {
    margin-bottom: 8px;
}
.hero-cabinet {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem;
    overflow: hidden;
    isolation: isolate;
    background: #f9c1d0;
}

.hero-cabinet__bg {
    position: absolute;
    inset: -10% 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: translate3d(0, 0, 0) scale(1.08);
    will-change: transform;
}

.hero-cabinet .hero-overlay {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(
                    circle at center,
                    rgba(255,255,255,0.08),
                    rgba(255,255,255,0) 60%
            ),
            linear-gradient(
                    to bottom,
                    rgba(245,157,182,0.38),
                    rgba(227, 123, 158, 0.6)
            );
    z-index: 1;
}

.hero-cabinet .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: var(--bg);
}

.hero-cabinet .subtitle {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.95;
    color: var(--bg);
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-cabinet .hero-title {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.1;
    margin-bottom: 8px;
    color: var(--bg);
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-cabinet .lead {
    margin: 0 auto 2rem;
    max-width: 650px;
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.98;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    color: var(--bg);
}

.hero-cabinet .hero-actions {
    display: flex;
    justify-content: center;
}

.hero-fade {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 1s ease forwards;
}

.hero-fade-delay {
    animation-delay: 0.25s;
}

.hero-fade-delay-2 {
    animation-delay: 0.45s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-fade,
    .hero-fade-delay,
    .hero-fade-delay-2 {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-cabinet__bg {
        transform: scale(1.08);
    }
}
/* Animation fondu + légère remontée */
.hero-fade {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 1s ease forwards;
}

.hero-fade-delay {
    animation-delay: 0.25s;
}

.hero-fade-delay-2 {
    animation-delay: 0.45s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .hero-fade,
    .hero-fade-delay,
    .hero-fade-delay-2 {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.hero-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 28px 0 34px;
}

/* ligne verticale */

.hero-divider-line {
    width: 2px;
    height: 0;
    background: rgba(255,255,255,0.85);
    animation: heroLineGrow 0.9s ease forwards;
    animation-delay: 0.35s;
}

/* point */

.hero-divider-dot {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transform: scale(0.5);
    animation: heroDotAppear 0.4s ease forwards;
    animation-delay: 1.1s;
}

@keyframes heroLineGrow {
    to {
        height: 150px;
    }
}

@keyframes heroDotAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.section-heading--with-image {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.75fr);
    gap: 56px;
    align-items: center;
}

.section-heading--image-right .section-heading__content {
    order: 1;
}

.section-heading--image-right .section-image {
    order: 2;
}

.section-heading--image-left .section-heading__content {
    order: 2;
}

.section-heading--image-left .section-image {
    order: 1;
    justify-self: start;
}

.section-heading--image-right .section-image {
    justify-self: end;
}

.section-heading__content {
    min-width: 0;
}

.section-heading__content .lead {
    max-width: 58ch;
}

.section-image {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.section-image::before {
    content: "";
    position: absolute;
    inset: -18px 18px 18px -18px;
    background: linear-gradient(
            135deg,
            rgba(249, 193, 208, 0.95),
            rgba(245, 157, 182, 0.78)
    );
    border-radius: var(--radius);
    z-index: 0;
}

.section-heading--image-left .section-image::before {
    inset: -18px -18px 18px 18px;
}

.section-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.section-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(245, 157, 182, 0.22);
}

.fade-in-section .fade-item {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.is-visible .fade-item {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-section.is-visible .fade-item-1 { transition-delay: 0.05s; }
.fade-in-section.is-visible .fade-item-2 { transition-delay: 0.18s; }
.fade-in-section.is-visible .fade-item-3 { transition-delay: 0.32s; }
.fade-in-section.is-visible .fade-item-4 { transition-delay: 0.46s; }

@media (max-width: 900px) {
    .section-heading--with-image {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-heading__content {
        order: 1 !important;
    }

    .section-image {
        order: 2 !important;
        max-width: 320px;
        justify-self: center !important;
    }

    .section-heading__content .lead {
        max-width: 100%;
    }

    .section-image::before,
    .section-heading--image-left .section-image::before {
        inset: -14px 14px 14px -14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-section .fade-item,
    .fade-in-section.is-visible .fade-item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .section-image img {
        transition: none;
    }

    .section-image:hover img {
        transform: none;
    }
}

.section-image-animated {
    position: relative;
    width: 100%;
    height: 42vh;
    min-height: 280px;
    max-height: 520px;
    overflow: hidden;
    isolation: isolate;
}

.section-image-animated__bg {
    position: absolute;
    inset: -28% 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate3d(0, 0, 0) scale(1.12);
    will-change: transform;
}

@media (max-width: 900px) {
    .section-image-animated {
        height: 32vh;
        min-height: 220px;
    }

    .section-image-animated__bg {
        inset: -14% 0;
        transform: translate3d(0, 0, 0) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-image-animated__bg {
        transform: scale(1.08);
    }
}