/* ==========================================================================
   Seesmile · Cabinet dentaire de la rue de Flers · shared.css
   Système : 1 rayon (--radius, sauf puces rondes), tailles de texte en tokens,
   2 polices (Plus Jakarta Sans titres, DM Sans texte).
   ========================================================================== */

:root {
    /* Couleurs (palette cliente) */
    --ink: #14162C;
    --navy: #263A77;
    --navy-dark: #1C2C5E;
    --peri: #6C7FD1;          /* décor uniquement sur fond clair (3,75:1) */
    --peri-text: #4B5DAE;     /* liens et petits textes : 6:1 */
    --mauve: #D6A6C9;
    --mauve-text: #8A4F7D;    /* libellés sur fond clair : 5,4:1 */
    --rose: #FFF0F4;
    --bg: #FBFAFC;
    --white: #FFFFFF;
    --text: #14162C;
    --text-soft: #4A4E6A;
    --line: rgba(20, 22, 44, .12);
    --on-dark: #FFFFFF;
    --on-dark-soft: rgba(255, 255, 255, .78);

    --color-primary: var(--navy);
    --color-primary-dark: var(--navy-dark);
    --color-accent: var(--mauve-text);
    --color-bg: var(--bg);

    /* Typographie */
    --font-title: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-body: "DM Sans", "DMSans Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --fs-micro: .8125rem;
    --fs-base: 1.0625rem;
    --fs-lead: 1.1875rem;
    --fs-h3: 1.25rem;
    --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
    --fs-h1: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
    --fs-display: clamp(2.5rem, 1.2rem + 5.2vw, 5.5rem);
    --fs-display-sm: clamp(2.25rem, 1.2rem + 4vw, 4.5rem);
    --fs-statement: clamp(1.5rem, 1rem + 2.1vw, 2.6rem);
    --lh-base: 1.7;
    --lh-title: 1.08;
    --track-title: -.03em;

    /* Formes et espaces */
    --radius: 14px;
    --shadow: 0 10px 30px rgba(20, 22, 44, .08);
    --shadow-lg: 0 24px 60px rgba(20, 22, 44, .16);
    --container: 1360px;
    --container-wide: 1600px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(64px, 8vw, 120px);
    --header-h: 68px;
    --header-top: 12px;
    --ease: cubic-bezier(.22, 1, .36, 1);

    /* Boutons */
    --btn-pad: 15px 26px;
    --btn-font: var(--font-body);
    --btn-fw: 600;
    --btn-transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
    --btn-primary-bg: var(--navy);
    --btn-primary-fg: #FFFFFF;
    --btn-primary-bg-hover: var(--ink);
    --btn-secondary-fg: var(--navy);
    --btn-secondary-border: rgba(38, 58, 119, .35);
}

/* ───────── Socle ───────── */
html, body { width: 100%; overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--header-top) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh-base); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--peri-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: var(--lh-title); letter-spacing: var(--track-title); font-weight: 600; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; }
p, li, td, th, dd, dt, figcaption { font-size: var(--fs-base); line-height: var(--lh-base); }
p { margin: 0 0 1em; }
figure { margin: 0; }
button, input, select, textarea, table, th, td { font-family: var(--font-body); font-size: var(--fs-base); }
strong { font-weight: 600; }
ul, ol { padding-left: 1.2em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 3px solid var(--peri); outline-offset: 3px; border-radius: var(--radius);
}

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--container-wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--peri); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); z-index: 1002; pointer-events: none; }

/* ───────── Libellés, boutons, liens ───────── */
.section-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 18px; }
.section-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.section-tag--light { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--btn-font); font-size: var(--fs-base); font-weight: var(--btn-fw); line-height: 1.2; padding: var(--btn-pad); border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; transition: var(--btn-transition); text-decoration: none; text-align: center; white-space: nowrap; }
.btn .icon { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--btn-primary-bg-hover); color: var(--btn-primary-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--btn-secondary-fg); border-color: var(--btn-secondary-border); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover, .btn-light:focus-visible { background: var(--rose); color: var(--ink); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover, .btn-outline-light:focus-visible { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 28px 0 0; }

.site-header .btn-primary, .mobile-menu .btn-primary, .site-footer .btn-primary { color: var(--btn-primary-fg) !important; text-decoration: none !important; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--ink); text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-underline { font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.link-underline--light { color: #fff; }
.link-underline--light:hover { color: var(--mauve); }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

.icon { width: 22px; height: 22px; flex: none; }

/* ───────── En-tête flottant ───────── */
.site-header { position: fixed; top: var(--header-top); left: 0; right: 0; z-index: 1001; pointer-events: none; }
.header-inner { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 24px; width: calc(100% - 2 * var(--gutter)); max-width: var(--container-wide); height: var(--header-h); margin: 0 auto; padding: 0 12px 0 16px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), var(--shadow); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand-mark { width: 42px; height: 42px; color: var(--navy); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-name { font-family: var(--font-title); font-weight: 700; font-size: var(--fs-base); color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font-size: var(--fs-micro); color: var(--text-soft); }

.nav-desktop { margin: 0 auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-family: var(--font-body); font-size: var(--fs-base); font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; background: none; border: 0; border-radius: var(--radius); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--rose); color: var(--navy); }
.nav-link[aria-current="page"], .nav-item.is-section > .nav-link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--mauve); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-caret { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav-item.is-open .nav-caret, .mobile-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; padding: 10px 8px; }
.header-phone .icon { width: 18px; height: 18px; color: var(--navy); }
.header-phone:hover { color: var(--navy); }
.header-cta { padding: 12px 20px; }
.header-cta-short { display: none; }

/* En-tête transparent au-dessus du hero d'accueil */
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .header-inner { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand-name,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .header-phone,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .header-phone .icon { color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand-sub { color: rgba(255, 255, 255, .82); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand-mark { color: rgba(255, 255, 255, .16); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link:hover,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-item.is-open > .nav-link { background: rgba(255, 255, 255, .16); color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .burger span { background: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .header-cta { background: #fff !important; color: var(--ink) !important; }
.admin-bar .site-header { top: calc(var(--header-top) + 32px); }
/* Éléments collants : sous le header flottant, avec de l'air (et sous la barre d'admin si connecté) */
:root { --sticky-top: calc(var(--header-h) + var(--header-top) + 40px); }
.admin-bar { --sticky-top: calc(var(--header-h) + var(--header-top) + 72px); }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.mega--small .mega-inner { grid-template-columns: 1fr 300px; }
.mega-title { display: block; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve-text); margin-bottom: 14px; }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-grid--villes { grid-template-columns: repeat(4, 1fr); }
.mega-link { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: background-color .25s var(--ease); }
.mega-link:hover, .mega-link[aria-current="page"] { background: var(--rose); color: var(--ink); }
.mega-link strong { display: block; font-family: var(--font-title); font-weight: 600; letter-spacing: -.01em; }
.mega-desc { display: block; color: var(--text-soft); line-height: 1.5; margin-top: 2px; }
.mega-link--simple { font-weight: 600; padding: 12px 14px; }
.mega-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--rose); color: var(--navy); flex: none; }
.mega-icon .icon { width: 22px; height: 22px; }
.mega-aside { background: var(--rose); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mega-img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mega-aside-text { margin: 0; color: var(--text-soft); line-height: 1.55; }
.mega-aside-text .icon { width: 18px; height: 18px; vertical-align: -3px; color: var(--navy); margin-right: 4px; }

/* Burger + menu mobile (recette anti-bug : CSS fait le visuel, JS les classes) */
.burger { display: none; position: relative; width: 46px; height: 46px; border: 0; background: transparent; border-radius: var(--radius); cursor: pointer; padding: 0; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

html.menu-open { overflow: hidden; height: 100%; }
.menu-overlay { position: fixed; inset: 0; background: rgba(20, 22, 44, .5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: 998; }
html.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.mobile-menu { position: fixed; top: 0; right: 0; width: min(88vw, 400px); height: 100dvh; background: var(--white); transform: translateX(100%); transition: transform .35s var(--ease), visibility 0s linear .35s; z-index: 999; overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--header-h) + var(--header-top) + 20px) 24px 32px; visibility: hidden; }
.mobile-menu.is-open { transform: translateX(0); visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.mobile-list, .mobile-sub { list-style: none; margin: 0; padding: 0; }
.mobile-list > li { border-bottom: 1px solid var(--line); }
.mobile-list a, .mobile-trigger { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 4px; color: var(--ink); text-decoration: none; font-family: var(--font-title); font-weight: 600; font-size: var(--fs-lead); letter-spacing: -.01em; background: none; border: 0; cursor: pointer; text-align: left; }
.mobile-list a[aria-current="page"] { color: var(--navy); }
.mobile-sub { padding: 0 0 12px 8px; }
.mobile-sub a { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-base); padding: 9px 4px; color: var(--text-soft); }
.mobile-contact { margin-top: 28px; display: grid; gap: 12px; color: var(--text-soft); }
.mobile-contact .btn { width: 100%; }

/* ───────── Sections ───────── */
.site-main { display: block; }
.section { padding: var(--section) 0; }
.section--rose { background: var(--rose); }
.section--light { background: var(--bg); }
.section--compact { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .section-tag { justify-content: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.section-head--split h2 { margin-bottom: 0; }
.section-head--split .section-intro { margin: 0; }
.section-intro, .lead { color: var(--text-soft); font-size: var(--fs-lead); line-height: 1.6; }
.lead p { font-size: var(--fs-lead); line-height: 1.6; }
.section-foot { margin: 36px 0 0; }
.h3-like { font-size: var(--fs-h3); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Hero accueil plein écran */
.hero-home { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--ink); }
.hero-bg, .hero-shade { position: absolute; inset: 0; }
.hero-bg { z-index: -2; }
.hero-bg .img, .hero-bg .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(1.04); animation: heroZoom 12s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 44, .55) 0%, rgba(20, 22, 44, .08) 26%, rgba(20, 22, 44, .42) 52%, rgba(20, 22, 44, .88) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; padding-top: calc(var(--header-h) + var(--header-top) + 48px); padding-bottom: clamp(36px, 5vw, 64px); }
.consent-open .hero-inner { padding-bottom: 150px; }
.hero-title { font-size: var(--fs-display); color: #fff; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin: 0; max-width: 11em; }
.hero-title .muted { color: rgba(255, 255, 255, .7); }
.hero-side { max-width: 30em; justify-self: end; }
.hero-lead { color: rgba(255, 255, 255, .92); font-size: var(--fs-lead); line-height: 1.6; margin: 0; }
.hero-side .btn-row { margin-top: 24px; }
.open-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-micro); font-weight: 600; }
.open-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8A93A8; flex: none; }
.open-badge.is-open::before { background: #34C27A; box-shadow: 0 0 0 4px rgba(52, 194, 122, .25); }
.open-badge--glass { margin-top: 22px; padding: 8px 14px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: var(--radius); color: #fff; }

/* Déclaration */
.statement { padding: clamp(72px, 10vw, 150px) 0; background: var(--bg); }
.statement-grid { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 48px; align-items: center; }
.statement-art { color: var(--peri); justify-self: center; }
.statement-art svg { width: clamp(100px, 12vw, 160px); height: auto; }
.statement-text { font-family: var(--font-title); font-size: var(--fs-statement); font-weight: 500; letter-spacing: -.035em; line-height: 1.18; color: var(--ink); margin: 0; text-align: right; text-wrap: balance; }
.statement-text .muted { color: var(--text-soft); }

/* Bandeau de confiance */
.atouts { background: var(--navy); color: #fff; }
.atouts-grid { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 0; padding-bottom: 0; }
.atout { display: flex; gap: 14px; align-items: flex-start; padding: 26px 20px; border-left: 1px solid rgba(255, 255, 255, .14); }
.atout:first-child { border-left: 0; padding-left: 0; }
.atout-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: rgba(214, 166, 201, .18); color: var(--mauve); flex: none; }
.atout-title { display: block; font-family: var(--font-title); font-weight: 600; letter-spacing: -.01em; }
.atout-text { display: block; color: var(--on-dark-soft); line-height: 1.5; margin-top: 2px; }

/* Cartes soins (photo, titre en surimpression) */
.cards-soins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-soin-link { position: relative; display: block; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: var(--ink); isolation: isolate; }
.card-soin-media, .card-soin-media .img, .card-soin-media .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.card-soin-media .img { transition: transform .9s var(--ease); }
.card-soin-link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 44, .12) 0%, rgba(20, 22, 44, 0) 30%, rgba(20, 22, 44, .55) 58%, rgba(20, 22, 44, .92) 100%); transition: background-color .4s var(--ease); }
.card-soin-link:hover .card-soin-media .img { transform: scale(1.05); }
.card-soin-arrow { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .35); transition: background-color .3s var(--ease), transform .4s var(--ease); }
.card-soin-arrow .icon { width: 18px; height: 18px; transform: rotate(-45deg); }
.card-soin-link:hover .card-soin-arrow { background: #fff; color: var(--ink); transform: rotate(45deg); }
.card-soin-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.card-soin-body .card-title { color: #fff; margin: 0 0 6px; }
.card-soin-body .card-text { display: block; color: rgba(255, 255, 255, .88); line-height: 1.5; }

.card-title { font-size: var(--fs-h3); margin: 0 0 8px; }
.card-text { color: var(--text-soft); line-height: 1.6; }
.card-meta { display: block; color: var(--text-soft); font-size: var(--fs-micro); line-height: 1.5; }

/* Équipe */
.team-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px 64px; align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.team-head--split .section-head { margin-bottom: 0; }
.team-photo .img, .team-photo .img-placeholder { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.section--light .team-card { background: var(--rose); box-shadow: none; }
.team-card-media .img, .team-card-media .img-placeholder { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.team-card-body { display: block; padding: 20px 22px 24px; }
.team-card-body .card-title { margin-bottom: 4px; }
.team-card-body .card-text { display: block; }
.team-card-body .card-meta { margin-top: 8px; }

/* Cadres photo */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--rose); }
.media-frame .img { width: 100%; height: 100%; object-fit: cover; }
.section--rose .img-placeholder { display: block; width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--rose), #EDE8F6); }

/* Bloc deux colonnes */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media .media-frame:only-child .img { aspect-ratio: 4 / 3.2; }
.feature { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.feature p { margin: 0; color: var(--text-soft); }
.feature-icon, .info-icon, .pec-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); background: var(--rose); color: var(--navy); flex: none; }
.section--rose .feature-icon, .section--rose .info-icon { background: #fff; }
.checklist { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--navy); width: 22px; height: 22px; margin-top: 3px; }

/* Prise en charge */
.pec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pec-card { background: #fff; border-radius: var(--radius); padding: 26px 24px; }
.section--light .pec-card { background: var(--rose); }
.section--light .pec-card .pec-icon { background: #fff; }
.pec-icon { margin-bottom: 18px; }
.pec-card .card-text { margin: 0; }

/* Accès */
.acces-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.acces-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 8px 0 24px; }
.info-tile { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 0 var(--line); }
.section--rose .info-tile { box-shadow: none; }
.info-tile p { margin: 0; color: var(--text-soft); line-height: 1.55; }
.info-tile a { color: var(--navy); font-weight: 600; }
.info-tile--strong { background: var(--navy); color: #fff; margin-top: 24px; }
.info-tile--strong .info-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.info-tile--strong .tile-title { color: #fff; }
.info-tile--strong p { color: var(--on-dark-soft); }
.info-tile--strong a { color: #fff; }
.tile-title { font-size: var(--fs-base); margin: 2px 0 4px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.tile-title .icon { width: 20px; height: 20px; color: var(--navy); }
.acces-hours { background: #fff; border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px; box-shadow: 0 1px 0 var(--line); }
.acces-map { display: grid; gap: 12px; position: sticky; top: var(--sticky-top); }
.acces-photo .img, .acces-photo .img-placeholder { aspect-ratio: 16 / 9; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours-table td { text-align: right; color: var(--text-soft); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-closed td { color: var(--text-soft); }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 600; color: var(--ink); }
.hours .open-badge { margin-bottom: 10px; color: var(--ink); }
.hours--card { background: #fff; border-radius: var(--radius); padding: 22px 24px; }

/* Carte (consentement) */
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #EDE8F6 0%, var(--rose) 100%); aspect-ratio: 4 / 3; }
.map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(38, 58, 119, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 58, 119, .07) 1px, transparent 1px); background-size: 36px 36px; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map-placeholder { display: none; }
.map-placeholder { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 8px; }
.map-pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 0 0 10px rgba(38, 58, 119, .12); margin-bottom: 8px; }
.map-address { margin: 0; color: var(--ink); }
.map-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.map-actions .btn { padding: 12px 18px; }
.map-note { margin: 4px 0 0; font-size: var(--fs-micro); color: var(--text-soft); }

/* Secteurs */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-block; padding: 12px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.chip:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.section--rose .chip { border-color: transparent; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: var(--sticky-top); margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); }
.section--light .faq-item { background: var(--rose); box-shadow: none; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; margin: 0; }
.faq-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--rose); }
.section--light .faq-icon { background: #fff; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 24px 20px; color: var(--text-soft); }
.faq-a p { margin: 0; }

/* Bandeau d'appel final */
.cta-band { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(108, 127, 209, .45), rgba(108, 127, 209, 0) 70%); }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 48px; align-items: center; }
.cta-title { color: #fff; margin-bottom: 12px; }
.cta-text { color: var(--on-dark-soft); margin: 0; }
.cta-band .btn-row { margin: 0; }

/* Maillage */
.section-maillage { border-top: 1px solid var(--line); }
.maillage-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.maillage-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 500; box-shadow: 0 1px 0 var(--line); transition: background-color .25s var(--ease), color .25s var(--ease); }
.maillage-list a:hover { background: var(--navy); color: #fff; }
.maillage-list .icon { width: 18px; height: 18px; }

/* Hero des pages intérieures */
.page-hero { position: relative; padding: calc(var(--header-h) + var(--header-top) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px); background: var(--rose); overflow: hidden; isolation: isolate; }
.page-hero:not(.page-hero--full)::after { content: ""; position: absolute; width: 640px; height: 640px; left: -280px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 166, 201, .45), rgba(214, 166, 201, 0) 70%); pointer-events: none; z-index: -1; }
.page-hero-inner { position: relative; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.page-hero:not(.page-hero--full) .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-title { max-width: 16em; margin-bottom: 0; }
.page-hero:not(.page-hero--full) .page-title { margin-bottom: .4em; }
.page-hero .lead { max-width: 40em; }
.page-hero .lead p:last-child { margin-bottom: 0; }
.page-hero--full { min-height: min(88svh, 860px); display: flex; align-items: flex-end; background: var(--ink); color: #fff; padding-bottom: clamp(40px, 5vw, 72px); }
.page-hero--full .page-hero-inner { width: 100%; }
.page-hero-bg, .page-hero-shade { position: absolute; inset: 0; }
.page-hero-bg { z-index: -2; inset: -11% 0; will-change: transform; }
.page-hero-bg .img, .page-hero-bg .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); animation: heroZoom 14s var(--ease) both; }
.page-hero-shade { z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 44, .62) 0%, rgba(20, 22, 44, .12) 30%, rgba(20, 22, 44, .48) 58%, rgba(20, 22, 44, .9) 100%); }
.page-hero--full .page-title { color: #fff; font-size: var(--fs-display-sm); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; max-width: 14em; }
.page-hero--full .lead, .page-hero--full .lead p { color: rgba(255, 255, 255, .9); }
.page-hero--full .facts li { color: #fff; }
.page-hero--full .facts .icon { color: var(--mauve); }
.page-hero--full .breadcrumb ol, .page-hero--full .breadcrumb a { color: rgba(255, 255, 255, .82); }
.page-hero--full .breadcrumb li + li::before { color: rgba(255, 255, 255, .5); }
.page-hero--full .breadcrumb a:hover { color: #fff; }
.page-hero-side .btn-row { margin-top: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: var(--fs-micro); color: var(--text-soft); }
.breadcrumb li { font-size: var(--fs-micro); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(20, 22, 44, .35); }
.breadcrumb a { color: var(--text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.facts .icon { width: 20px; height: 20px; color: var(--navy); }

/* Contenu éditorial */
.content > *:last-child { margin-bottom: 0; }
.content h2 { margin-top: 1.6em; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 1.4em; }
.content ul, .content ol { margin: 0 0 1.2em; }
.content li { margin-bottom: .4em; }
.content li::marker { color: var(--navy); }
.content img { border-radius: var(--radius); }
.article-grid { display: grid; grid-template-columns: 280px minmax(0, 760px); gap: clamp(32px, 6vw, 96px); justify-content: center; align-items: start; }
.toc { position: sticky; top: var(--sticky-top); }
.toc-title { font-size: var(--fs-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve-text); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: toc; border-left: 2px solid var(--line); }
.toc li { counter-increment: toc; }
.toc ol a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-soft); text-decoration: none; line-height: 1.45; }
.toc ol a::before { content: counter(toc, decimal-leading-zero) "  "; color: var(--peri-text); font-weight: 600; }
.toc ol a:hover, .toc ol a.is-active { color: var(--ink); border-left-color: var(--navy); }
.toc-card { background: var(--rose); border-radius: var(--radius); padding: 18px 20px; }
.toc-card p { margin: 0 0 6px; }
.toc-card a { font-weight: 600; color: var(--navy); }
.article-section { padding-bottom: 8px; }
.article-section + .article-section, .article-figure + .article-section { margin-top: 40px; }
.article-figure { margin: 40px 0 0; }
.article-figure .img { aspect-ratio: 16 / 9; }
.note { background: var(--rose); border-radius: var(--radius); padding: 20px 24px; margin-top: 40px; }
.note p { margin: 0; }
.todo { background: #FFF4CC; color: #5C4400; padding: 0 4px; border-radius: var(--radius); }
.legal h2 { font-size: var(--fs-h3); }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--navy); color: #fff; font-weight: 600; }
.table tbody th { font-weight: 500; }

/* Étapes et plan du site */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #fff; border-radius: var(--radius); padding: 26px 24px; }
.step-num { display: block; font-family: var(--font-title); font-weight: 600; color: var(--peri-text); margin-bottom: 18px; letter-spacing: .02em; }
.step .card-text { margin: 0; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.sitemap-card { background: var(--rose); border-radius: var(--radius); padding: 28px; }
.sitemap-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sitemap-card a { color: var(--ink); text-decoration: none; }
.sitemap-card a:hover { color: var(--navy); text-decoration: underline; }

/* Galerie */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .img, .gallery .img-placeholder { aspect-ratio: 4 / 3; }

/* Articles */
.posts-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card-link { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line); height: 100%; }
.post-card-media .img, .post-card-media img, .post-card-media .img-placeholder { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.post-card-body { display: block; padding: 20px 22px 24px; }
.post-card-body .card-title { margin: 6px 0 8px; }
.post-card-body .card-text { display: block; }
.search-list { list-style: none; padding: 0; display: grid; gap: 18px; }

/* Formulaire */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.field { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid rgba(20, 22, 44, .22); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(38, 58, 119, .12); outline: none; }
.field textarea { resize: vertical; min-height: 140px; }
.field-help { color: var(--text-soft); font-size: var(--fs-micro); line-height: 1.5; }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--navy); }
.field--check label { font-weight: 400; color: var(--text-soft); }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 0; }
.form-alert { background: #FDECEC; color: #8A1C1C; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside h2 { margin-bottom: 16px; }

/* Bandeau cookies : barre compacte en bas, sans masquer le titre du hero */
.consent { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1003; width: min(1080px, calc(100% - 2 * var(--gutter))); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 16px 18px 16px 24px; box-shadow: var(--shadow-lg); }
.consent[hidden] { display: none; }
.consent-title { font-family: var(--font-title); font-weight: 600; margin: 0 0 2px; }
.consent-text { color: var(--text-soft); line-height: 1.5; margin: 0; font-size: var(--fs-micro); }
.consent-title, .consent-text { grid-column: 1; }
.consent-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
.consent-actions .btn { padding: 12px 20px; }

/* Pied de page : carte flottante */
.site-footer { background: var(--ink); padding: clamp(12px, 2vw, 24px); }
.footer-card { max-width: var(--container-wide); margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 520px) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); background: var(--rose); color: var(--text); border-radius: var(--radius); padding: 14px; }
.footer-visual { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; isolation: isolate; color: #fff; background: var(--navy); }
.footer-visual-img, .footer-visual .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.footer-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 44, .35) 0%, rgba(20, 22, 44, 0) 30%, rgba(20, 22, 44, .35) 60%, rgba(20, 22, 44, .88) 100%); }
.footer-visual-brand { position: absolute; top: 18px; left: 18px; }
.footer-visual-brand .brand-mark { color: rgba(255, 255, 255, .2); width: 48px; height: 48px; }
.footer-visual-body { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.footer-visual-title { font-family: var(--font-title); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 0; max-width: 12em; color: #fff; }
.footer-visual-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.footer-visual-btn:hover { background: #fff; color: var(--ink); }
.footer-visual-btn .icon { width: 18px; height: 18px; }
.footer-main { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(12px, 2vw, 24px) clamp(8px, 1.5vw, 20px) 8px 0; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr .9fr 1.25fr; gap: 32px; }
.footer-title { font-size: var(--fs-micro); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve-text); margin: 0 0 16px; }
.footer-links, .footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover, .footer-list a:hover { color: var(--navy); text-decoration: underline; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.footer-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-list .icon { width: 19px; height: 19px; color: var(--navy); margin-top: 3px; }
.footer-contact .hours { margin-top: 18px; }
.hours--footer .hours-table th, .hours--footer .hours-table td { padding: 5px 0; font-size: var(--fs-micro); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-soft); }
.footer-bottom p, .footer-bottom li, .footer-bottom .link-button { font-size: var(--fs-micro); margin: 0; color: var(--text-soft); }
.footer-bottom a { color: var(--text-soft); }
.footer-bottom a:hover { color: var(--navy); }
.footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* Barre d'actions mobile */
.mobile-bar { display: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1280px) {
    .header-phone span { display: none; }
    .header-phone { padding: 10px; }
    .mega-grid { grid-template-columns: repeat(2, 1fr); }
    .mega-grid--villes { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1320px) {
    .nav-link { padding: 10px 9px; }
    .header-cta { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1200px) {
    :root { --header-h: 62px; --header-top: 8px; }
    .nav-desktop, .header-phone { display: none; }
    .burger { display: block; }
    .header-inner { justify-content: space-between; padding: 0 6px 0 12px; }
    .header-cta { padding: 11px 17px; }
    .header-cta-long { display: none; }
    .header-cta-short { display: inline; }
    .pec-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .atouts-grid { grid-template-columns: repeat(2, 1fr); }
    .atout:nth-child(3) { border-left: 0; padding-left: 0; }
    .atout { border-top: 1px solid rgba(255, 255, 255, .14); }
    .atout:nth-child(-n+2) { border-top: 0; }
}
@media (min-width: 1200.02px) {
    .mobile-menu, .menu-overlay { display: none; }
}
@media (max-width: 1024px) {
    .hero-inner, .statement-grid, .page-hero-grid, .split, .acces-grid, .faq-grid, .contact-grid, .team-head--split, .cta-grid, .section-head--split { grid-template-columns: minmax(0, 1fr); }
    .hero-side { justify-self: start; }
    .statement-art { display: none; }
    .statement-text { text-align: left; }
    .split--reverse .split-media { order: 0; }
    .cards-soins, .team-grid, .gallery, .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid .section-head, .acces-map, .toc { position: static; }
    .article-grid { grid-template-columns: minmax(0, 1fr); }
    .toc { display: none; }
    .footer-card { grid-template-columns: minmax(0, 1fr); }
    .footer-visual { min-height: 320px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-main { padding: 8px 10px; }
    .mega-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .site-footer { padding-bottom: 76px; }
    .cards-soins, .team-grid, .gallery, .posts-grid, .pec-grid, .steps, .acces-cards, .form-grid { grid-template-columns: minmax(0, 1fr); }
    .atouts-grid { grid-template-columns: minmax(0, 1fr); }
    .atout, .atout:nth-child(3) { border-left: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
    .atout:first-child { border-top: 0; }
    .atout:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, .14); }
    .card-soin-link { aspect-ratio: 4 / 3.6; }
    .btn-row .btn, .contact-form .btn, .map-actions .btn { width: 100%; }
    .btn-row { flex-direction: column; align-items: stretch; }
    .btn-row .link-underline { text-align: center; padding: 8px 0; }
        .hero-home { min-height: 0; display: block; background: var(--ink); }
    .hero-bg { position: relative; height: 62svh; min-height: 380px; max-height: 560px; }
    .hero-bg .img { object-position: 50% 22%; }
    .hero-shade { bottom: auto; height: 62svh; min-height: 380px; max-height: 560px; background: linear-gradient(180deg, rgba(20, 22, 44, .5) 0%, rgba(20, 22, 44, 0) 28%, rgba(20, 22, 44, 0) 60%, rgba(20, 22, 44, 1) 100%); }
    .hero-inner { padding-top: 0; margin-top: -88px; position: relative; padding-bottom: 40px; }
    .consent-open .hero-inner { padding-bottom: 40px; }
    .cta-band .btn-row { width: 100%; }
    .consent { bottom: 76px; grid-template-columns: minmax(0, 1fr); padding: 18px; }
    .consent-actions { grid-column: 1; grid-row: auto; }
    .consent-actions .btn { flex: 1; }
    .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 997; height: 64px; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(20, 22, 44, .06); padding-bottom: env(safe-area-inset-bottom); }
    .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink); text-decoration: none; font-size: var(--fs-micro); font-weight: 600; }
    .mobile-bar a:first-child { background: var(--navy); color: #fff; }
    .mobile-bar .icon { width: 20px; height: 20px; }
    .table th, .table td { padding: 12px; }
}
@media (max-width: 400px) {
    .brand-sub { display: none; }
    .brand-mark { width: 38px; height: 38px; }
}
@media (max-width: 380px) {
    :root { --fs-base: 1rem; --fs-lead: 1.0625rem; }
    .header-cta { padding: 10px 14px; }
}

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}

@media print {
    .site-header, .mobile-bar, .consent, .menu-overlay, .mobile-menu, .scroll-progress { display: none !important; }
}
@media (max-width: 560px) {
    .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* v1.1.0 : honoraires par praticienne, appel, message envoyé */
.fees { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 8px 0 20px; }
.fees-item { min-width: 0; }
.fees-item { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); }
.fees-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; }
.fees-item summary::-webkit-details-marker { display: none; }
.fees-name { font-size: var(--fs-h3); margin: 0; }
.fees-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.fees-item .table-wrap { margin: 0 14px 14px; box-shadow: none; border: 1px solid var(--line); }
.table-group th { background: var(--rose); color: var(--navy); font-weight: 600; font-size: var(--fs-micro); letter-spacing: .06em; text-transform: uppercase; }
.table td { white-space: nowrap; }
.ccam { color: var(--text-soft); font-size: var(--fs-micro); }
.call-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; max-width: 880px; }
.call-grid .info-tile--strong { margin-top: 0; }
.call-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: background-color .25s var(--ease), color .25s var(--ease); }
.call-card:hover { background: var(--navy); color: #fff; }
.call-card:hover .info-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.call-label { display: block; color: inherit; opacity: .8; font-size: var(--fs-micro); }
.call-number { display: block; font-family: var(--font-title); font-size: var(--fs-h3); letter-spacing: -.01em; }
.form-alert--ok { background: #E7F6EE; color: #155D36; }
.team-card-media .img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
@media (max-width: 768px) {
    .call-grid { grid-template-columns: minmax(0, 1fr); }
    .fees-item .table-wrap { margin: 0 8px 8px; }
    .table td { white-space: normal; }
}

/* ==========================================================================
   v1.2.0 : pleine largeur, mouvement au défilement, hélice
   ========================================================================== */

/* Titre des heros : entrée en douceur */
.hero-reveal, .hero-title { animation: riseIn 1.1s var(--ease) both .1s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Hélice qui tourne sur elle-même */
.helix { position: relative; width: 140px; height: 300px; display: flex; flex-direction: column; justify-content: space-between; color: var(--peri); }
.helix-rung { position: relative; height: 12px; display: flex; align-items: center; justify-content: space-between; transform: rotate(-24deg); }
.helix-rung > * { animation: helixSpin 4.8s linear infinite; animation-delay: calc(var(--i) * -0.4s); }
.helix-dot { width: 14px; height: 14px; border-radius: 50%; background: currentColor; flex: none; }
.helix-dot--a { animation-name: helixA; }
.helix-dot--b { animation-name: helixB; background: var(--mauve); }
.helix-line { flex: 1; height: 1.5px; margin: 0 4px; background: linear-gradient(90deg, var(--peri), var(--mauve)); transform-origin: 50% 50%; animation-name: helixLine; opacity: .7; }
@keyframes helixA { 0% { transform: translateX(0) scale(1); opacity: 1; } 25% { transform: translateX(56px) scale(.55); opacity: .45; } 50% { transform: translateX(112px) scale(1); opacity: 1; } 75% { transform: translateX(56px) scale(1.25); opacity: 1; } 100% { transform: translateX(0) scale(1); opacity: 1; } }
@keyframes helixB { 0% { transform: translateX(0) scale(1); } 25% { transform: translateX(-56px) scale(1.25); } 50% { transform: translateX(-112px) scale(1); } 75% { transform: translateX(-56px) scale(.55); opacity: .45; } 100% { transform: translateX(0) scale(1); } }
@keyframes helixLine { 0%, 50%, 100% { transform: scaleX(1); } 25%, 75% { transform: scaleX(.02); } }

/* Phrase d'accroche : les mots se colorent au défilement */
[data-fill] .w { color: rgba(20, 22, 44, .16); transition: color .35s ease; }
[data-fill] .w.is-on { color: var(--ink); }
[data-fill] .muted .w.is-on { color: var(--peri-text); }

/* Révélation d'image (rideau) */
.reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.reveal-clip .img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.is-visible .reveal-clip, .reveal-clip.is-visible { clip-path: inset(0 0 0 0); }
.is-visible .reveal-clip .img, .reveal-clip.is-visible .img { transform: none; }
.no-js .reveal-clip { clip-path: none; }

/* Bande photo pleine largeur */
.photo-band { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink); }
.photo-band-bg { position: absolute; inset: -11% 0; z-index: -2; will-change: transform; }
.photo-band-bg .img, .photo-band-bg .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.photo-band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 44, 0) 35%, rgba(20, 22, 44, .78) 100%); }
.photo-band-inner { padding-top: 120px; padding-bottom: clamp(36px, 5vw, 72px); display: flex; }
.photo-band--right .photo-band-inner { justify-content: flex-end; }
.photo-band-card { max-width: 46rem; }
.photo-band-text { max-width: 34em; }
.photo-band-title { color: #fff; font-size: var(--fs-display-sm); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; margin-bottom: 18px; }
.photo-band-text { color: rgba(255, 255, 255, .9); font-size: var(--fs-lead); line-height: 1.6; }

/* Chiffres */
.stats { background: var(--ink); color: #fff; padding: clamp(48px, 6vw, 88px) 0; }
.stats-grid { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 22px; }
.stat-num { display: block; font-family: var(--font-title); font-size: var(--fs-display); font-weight: 500; letter-spacing: -.05em; line-height: 1; background: linear-gradient(120deg, #fff 20%, var(--mauve)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; margin-top: 12px; color: var(--on-dark-soft); max-width: 16em; }

/* Bande de photos qui défile */
.marquee { overflow: hidden; padding: clamp(40px, 5vw, 72px) 0; background: var(--bg); }
.marquee--rose { background: var(--rose); }
.marquee--flush-bottom { padding-bottom: 0; }
.marquee--flush-top { padding-top: 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-list { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0 16px 0 0; }
.marquee-item { width: clamp(240px, 30vw, 460px); flex: none; border-radius: var(--radius); overflow: hidden; }
.marquee-item:nth-child(even) { margin-top: 48px; }
.marquee-item .img, .marquee-item .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.marquee-item:hover .img { transform: scale(1.05); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Plateau : image collante qui change selon la partie lue */
.swap-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.swap-steps { list-style: none; padding: 0; margin: 28px 0 24px; }
.swap-step { display: flex; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); opacity: .45; transition: opacity .5s var(--ease); min-height: 38vh; }
.swap-step.is-active { opacity: 1; }
.swap-step p { color: var(--text-soft); margin: 0; }
.swap-inline { display: none; }
.swap-media { position: sticky; top: var(--sticky-top); }
.swap-stage { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; background: var(--rose); }
.swap-frame { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.swap-frame.is-active { opacity: 1; transform: none; }
.swap-frame .img { width: 100%; height: 100%; object-fit: cover; }
.swap-count { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 600; font-size: var(--fs-micro); color: var(--ink); }
.no-js .swap-step { opacity: 1; }

/* Parcours : ligne qui se trace au défilement */
.steps { position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(38, 58, 119, .12); }
.steps::after { background: linear-gradient(90deg, var(--navy), var(--peri), var(--mauve)); transform-origin: 0 50%; transform: scaleX(var(--line, 0)); transition: transform .2s linear; }
.step { position: relative; margin-top: 22px; }
.step::before { content: ""; position: absolute; top: -29px; left: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--rose); border: 2px solid var(--navy); }

/* Mosaïque des locaux */
.bento { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 16vw, 230px); gap: 16px; }
.bento-item figure { height: 100%; }
.bento-item .img, .bento-item .img-placeholder { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.bento-item--a { grid-column: span 7; grid-row: span 2; }
.bento-item--b { grid-column: span 5; grid-row: span 1; }
.bento-item--c { grid-column: span 5; grid-row: span 1; }
.bento-item--d { grid-column: span 5; grid-row: span 2; }
.bento-item--e { grid-column: span 7; grid-row: span 2; }
.bento figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .88); font-size: var(--fs-micro); font-weight: 600; color: var(--ink); }
.checklist--inline { display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* Cartes : élévation au survol */
.team-card, .pec-card, .step, .info-tile, .maillage-list a { transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.team-card:hover, .pec-card:hover, .step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card-media { display: block; overflow: hidden; }
.team-card-media .img { transition: transform 1s var(--ease); }
.team-card:hover .team-card-media .img { transform: scale(1.05); }

/* Parallaxe : uniquement si le mouvement est autorisé (le JS applique la translation) */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); }

@media (max-width: 1024px) {
    .swap-grid { grid-template-columns: minmax(0, 1fr); }
    .swap-media { display: none; }
    .swap-inline { display: block; margin-top: 16px; }
    .swap-inline .img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
    .swap-step { opacity: 1; min-height: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-item--a, .bento-item--e { grid-column: span 12; }
    .bento-item--b, .bento-item--c, .bento-item--d { grid-column: span 6; grid-row: span 1; }
    .helix { height: 220px; }
}
@media (max-width: 768px) {
    .photo-band { min-height: 78svh; }
    .stats-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; }
    .bento { grid-auto-rows: 180px; }
    .bento-item--b, .bento-item--c, .bento-item--d { grid-column: span 12; }
    .marquee-item:nth-child(even) { margin-top: 24px; }
    .step::before { display: none; }
    .steps::before, .steps::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none !important; }
    .helix-rung > * { animation: none !important; }
    [data-fill] .w { color: inherit !important; }
    .reveal-clip { clip-path: none !important; }
    [data-parallax] { transform: none !important; }
    .swap-step { opacity: 1 !important; }
}

/* Vidéos d'ambiance */
.video-bg { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.video-bg .video-poster, .video-bg .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--vpos, 50% 50%); }
.video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--vpos, 50% 50%); opacity: 0; transition: opacity 1.2s var(--ease); }
.video-el.is-playing { opacity: 1; }
.video-el::cue { opacity: 0; }

/* ───────── Équipe : cartes façon badge professionnel (1.2.2) ───────── */
.id-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.id-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: calc(var(--radius) + 4px); box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(20, 22, 44, .45); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.section--light .id-card { box-shadow: 0 0 0 1px var(--line), 0 18px 40px -28px rgba(20, 22, 44, .45); }
.id-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--room); }
.id-card::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, var(--rose) 0%, rgba(255, 240, 244, 0) 70%); }
.id-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 1px 0 var(--line), 0 28px 50px -30px rgba(20, 22, 44, .55); }
.id-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.id-card-brand { display: inline-flex; align-items: center; gap: 8px; }
.id-card-brand .brand-mark { width: 22px; height: 22px; }
.id-card-city { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; }
.id-card-main { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 22px 22px; }
.id-card-photo { display: block; width: 112px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--rose); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.id-card-photo .img, .id-card-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1s var(--ease); }
.id-card:hover .id-card-photo .img { transform: scale(1.06); }
.id-card-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mauve-text); margin-bottom: 6px; }
.id-card-name { font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.15; margin: 0 0 12px; }
.id-card-name span { display: block; color: var(--text-soft); font-weight: 500; font-size: .82em; }
.id-card-room { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--ink); background: var(--rose); padding: 5px 12px 5px 8px; border-radius: 999px; }
.id-card-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--room); box-shadow: 0 0 0 3px #fff; }
.id-card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 14px 22px; border-top: 1px dashed var(--line); font-size: var(--fs-small); color: var(--text-soft); }
.id-card-rpps { font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--ink); }
.id-card-rpps abbr { text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--text-soft); margin-right: 4px; }
@media (max-width: 1200px) { .id-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .id-grid { grid-template-columns: minmax(0, 1fr); } .id-card-main { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; } .id-card-photo { width: 96px; } }
@media (prefers-reduced-motion: reduce) { .id-card:hover { transform: none; } }

/* ───────── Pictos animés au-dessus des titres (1.2.2) ───────── */
.deco { position: relative; width: 84px; height: 84px; margin-bottom: 18px; color: var(--navy); }
.deco--center { margin-left: auto; margin-right: auto; }
.deco::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, var(--rose) 60%, rgba(214, 166, 201, .35) 100%); box-shadow: inset 0 0 0 1px rgba(108, 127, 209, .18); }
.section--rose .deco::before { background: radial-gradient(circle at 35% 30%, #fff 0%, #fff 55%, rgba(214, 166, 201, .3) 100%); }
.deco-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.deco-tooth { fill: #fff; stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; }
.deco-shine { fill: none; stroke: var(--peri); stroke-width: 1.2; stroke-linecap: round; }
.deco-spark path { fill: var(--mauve); }
.deco-spark--2 path { fill: var(--peri); }
.deco-spark { transform-box: fill-box; transform-origin: center; animation: decoTwinkle 2.6s ease-in-out infinite; }
.deco-spark--2 { animation-delay: -1.3s; }
@keyframes decoTwinkle { 0%, 100% { transform: scale(.4); opacity: .3; } 50% { transform: scale(1); opacity: 1; } }

/* Dent qui tourne sur elle-même */
.deco-stage { position: absolute; inset: 18px; perspective: 240px; }
.deco-spin { position: absolute; inset: 0; animation: decoSpin 5.5s cubic-bezier(.45, 0, .55, 1) infinite; transform-style: preserve-3d; }
.deco-spin .deco-tooth { stroke-width: 1.2; }
@keyframes decoSpin { 0% { transform: rotateY(0) translateY(0); } 50% { transform: rotateY(180deg) translateY(-3px); } 100% { transform: rotateY(360deg) translateY(0); } }

/* Sourire qui se dessine */
.deco-ring { fill: none; stroke: rgba(108, 127, 209, .25); stroke-width: 1.5; stroke-dasharray: 3 5; transform-origin: 48px 48px; animation: decoRotate 18s linear infinite; }
.deco-tooth--big { stroke-width: .9; }
.deco-gloss { fill: rgba(108, 127, 209, .35); animation: decoGloss 3.4s var(--ease) infinite; }
@keyframes decoGloss { 0%, 30% { transform: translateX(-30px); } 70%, 100% { transform: translateX(90px); } }
.deco-smile, .deco-teeth { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: decoDraw 4.2s var(--ease) infinite; }
.deco-teeth { stroke: var(--peri); stroke-width: 2; animation-delay: .35s; }
@keyframes decoDraw { 0% { stroke-dashoffset: 1; } 35%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@keyframes decoRotate { to { transform: rotate(360deg); } }

/* Brosse à dents et bulles */
.deco-handle { fill: var(--navy); }
.deco-head { fill: var(--peri); }
.deco-bristles { stroke: var(--mauve); stroke-width: 2.6; stroke-linecap: round; }
.deco-brush { transform-origin: 48px 66px; animation: decoBrush 1.6s ease-in-out infinite; }
@keyframes decoBrush { 0%, 100% { transform: translate(-6px, 4px) rotate(-14deg); } 50% { transform: translate(4px, 4px) rotate(-10deg); } }
.deco-bubble { fill: #fff; stroke: var(--peri); stroke-width: 1.3; transform-box: fill-box; transform-origin: center; animation: decoBubble 2.4s ease-in infinite; opacity: 0; }
.deco-bubble--2 { animation-delay: -.8s; }
.deco-bubble--3 { animation-delay: -1.6s; }
@keyframes decoBubble { 0% { transform: translateY(0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-40px) scale(1.1); opacity: 0; } }

/* Dent en orbite */
.deco-track { fill: none; stroke: rgba(38, 58, 119, .14); stroke-width: 1.5; }
.deco-orbit { transform-origin: 48px 48px; animation: decoRotate 6s linear infinite; }
.deco-sat--a { fill: var(--peri); }
.deco-sat--b { fill: var(--mauve); }
.deco-float { animation: decoFloat 3.2s ease-in-out infinite; }
@keyframes decoFloat { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-3px); } }

/* Prothèse sur implant : la vis tourne */
.deco-crown { fill: #fff; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.deco-abut { fill: var(--peri); }
.deco-screw-bg { fill: #dfe3f4; }
.deco-threads path { stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; fill: none; }
.deco-threads { animation: decoThreads 1.1s linear infinite; }
@keyframes decoThreads { from { transform: translateY(-6px); } to { transform: translateY(0); } }

@media (max-width: 768px) { .deco { width: 68px; height: 68px; margin-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) {
    .deco *, .deco-spin { animation: none !important; }
    .deco-smile, .deco-teeth { stroke-dashoffset: 0; }
    .deco-bubble { opacity: 1; }
    .deco-gloss { opacity: 0; }
}

/* Titres qui se remplissent mot à mot au défilement (comme la phrase d'accroche) */
[data-fill="auto"] .w { color: inherit; opacity: .22; transition: opacity .4s ease; }
[data-fill="auto"] .w.is-on { color: inherit; opacity: 1; }
[data-fill="auto"] .muted .w.is-on { color: inherit; }

/* Passe responsive 1.2.4 : cibles tactiles confortables et boutons longs sur mobile */
@media (max-width: 768px) {
    .link-arrow, .link-underline { padding-top: 10px; padding-bottom: 10px; }
    main a[href^="tel:"]:not(.btn), .site-footer a[href^="tel:"]:not(.footer-visual-btn), .footer-links a, .footer-legal a { display: inline-block; padding-top: 8px; padding-bottom: 8px; }
    .btn { white-space: normal; text-align: center; }
}

/* Cartes équipe cliquables + pages praticiennes (1.2.4) */
.id-card-link { color: inherit; text-decoration: none; }
.id-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.id-card-link:focus-visible { outline: none; }
.id-card:focus-within { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.id-card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); }
.id-card-more .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.id-card:hover .id-card-more .icon { transform: translateX(4px); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.profile-card { position: sticky; top: var(--sticky-top); margin: 0; background: #fff; border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 24px 50px -32px rgba(20, 22, 44, .5); }
.profile-card::before { content: ""; display: block; height: 6px; background: var(--room); }
.profile-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--rose); }
.profile-photo .img, .profile-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.profile-meta { display: grid; justify-items: start; gap: 10px; padding: 20px 22px 24px; }
.profile-meta .id-card-label { margin: 0; }
.profile-name { font-family: var(--font-title); font-size: 1.35rem; font-weight: 600; line-height: 1.15; color: var(--ink); }
.profile-text .btn-row { margin-top: 28px; align-items: center; }
@media (max-width: 1024px) { .profile-grid { grid-template-columns: minmax(0, 1fr); } .profile-card { position: static; max-width: 360px; } }
.profile-text h2 { margin-top: 0; }
@media (max-width: 600px) {
    .fees .table { font-size: .875rem; table-layout: fixed; }
    .fees .table th, .fees .table td { padding: 10px 8px; overflow-wrap: anywhere; hyphens: auto; }
    .fees .table thead th:first-child, .fees .table tbody th { width: 46%; }
    .map { aspect-ratio: auto; min-height: 300px; height: auto; }
    .map-placeholder { min-height: 300px; }
}


/* ───────── Heros fixes : la page glisse par-dessus (1.3.1) ───────── */
.hero-home, .page-hero { position: sticky; top: var(--hero-top, 0px); z-index: 0; }
.site-main > :not(.hero-home):not(.page-hero) { position: relative; z-index: 1; }
:where(.site-main > :not(.hero-home):not(.page-hero)) { background-color: var(--bg); }
:is(.hero-home, .page-hero) + * { border-radius: 28px 28px 0 0; box-shadow: 0 -24px 48px -12px rgba(20, 22, 44, .28); }
@media (max-width: 768px) { :is(.hero-home, .page-hero) + * { border-radius: 20px 20px 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero-home, .page-hero { position: relative; top: auto; } }

/* ───────── Bandes photo et vidéo plein écran, fixes : la suite passe par-dessus (1.3.2) ───────── */
.site-main > .photo-band:not(.hero-home):not(.page-hero) { position: sticky; top: var(--hero-top, 0px); min-height: 100svh; }
.site-main > .photo-band + * { border-radius: 28px 28px 0 0; box-shadow: 0 -24px 48px -12px rgba(20, 22, 44, .28); }
@media (max-width: 768px) { .site-main > .photo-band + * { border-radius: 20px 20px 0 0; } }

/* Pied de page révélé : le contenu glisse vers le haut et découvre le footer fixé en bas */
.footer-reveal .site-main { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.footer-reveal .site-footer { position: sticky; bottom: 0; z-index: 0; }
@media (prefers-reduced-motion: reduce) {
    .site-main > .photo-band:not(.hero-home):not(.page-hero) { position: relative; top: auto; min-height: min(92svh, 860px); }
    .footer-reveal .site-footer { position: static; }
}
/* Mobile : heros en défilement normal (contenu visible en entier) */
@media (max-width: 768px) {
    .hero-home, .page-hero { position: relative; top: auto; }
    :is(.hero-home, .page-hero) + * { border-radius: 0; box-shadow: none; }
}

/* Mobile : badge d'ouverture centré sous les boutons du hero */
@media (max-width: 768px) { .hero-side .open-badge { display: flex; width: fit-content; margin-left: auto; margin-right: auto; } }
/* Mobile : bandes photo et vidéo en défilement normal (la barre Appeler / Itinéraire / Horaires masquerait leur bas) */
@media (max-width: 768px) {
    .site-main > .photo-band:not(.hero-home):not(.page-hero) { position: relative; top: auto; min-height: min(92svh, 860px); }
    .site-main > .photo-band + * { border-radius: 0; box-shadow: none; }
}
.id-card-cred { display: block; margin-top: 8px; font-size: var(--fs-micro); line-height: 1.4; color: var(--text-soft); }
.profile-meta .id-card-cred { margin-top: 0; }

/* Mosaïque des locaux à six photos (page Le cabinet) : les trois salles de soins côte à côte */
.bento--six .bento-item--d, .bento--six .bento-item--e, .bento--six .bento-item--f { grid-column: span 4; grid-row: span 2; }
@media (max-width: 1024px) {
    .bento--six .bento-item--d, .bento--six .bento-item--e { grid-column: span 6; grid-row: span 1; }
    .bento--six .bento-item--f { grid-column: span 12; grid-row: span 2; }
}
@media (max-width: 768px) {
    .bento--six .bento-item--d, .bento--six .bento-item--e, .bento--six .bento-item--f { grid-column: span 12; grid-row: span 1; }
}

/* Compatibilité avec les extensions WebP (Imagify, EWWW, WebP Express...) qui enveloppent les images dans <picture>
   et déplacent la classe .img sur <picture> : l'image intérieure reprend alors exactement le cadrage prévu
   (pleine largeur, object-fit: cover), pour qu'aucun fond de section ne laisse apparaître de bande. */
picture.img, picture.img-placeholder { display: block; overflow: hidden; }
picture.img > img { display: block; width: 100%; height: 100%; max-width: none; object-fit: inherit; object-position: inherit; border-radius: inherit; }

/* ───────── Guide des symptômes ───────── */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sym-section { --sym-urgent: #A3264F; --sym-urgent-bg: #FCE9EF; --sym-rapide: #3F4FA0; --sym-rapide-bg: #EBEEFB; --sym-controle: #0F5A78; --sym-controle-bg: #E3F1F5; }
.sym-legend { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sym-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: var(--fs-micro); font-weight: 600; line-height: 1.2; }
.sym-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.sym-badge--urgent { color: var(--sym-urgent); background: var(--sym-urgent-bg); }
.sym-badge--urgent .sym-dot { animation: symPulse 1.6s ease-in-out infinite; }
.sym-badge--rapide { color: var(--sym-rapide); background: var(--sym-rapide-bg); }
.sym-badge--controle { color: var(--sym-controle); background: var(--sym-controle-bg); }
@keyframes symPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(163, 38, 79, .45); } 50% { box-shadow: 0 0 0 6px rgba(163, 38, 79, 0); } }

.sym-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
.sym-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.sym-filter:hover { border-color: var(--navy); transform: translateY(-1px); }
.sym-filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sym-filter--urgent { color: var(--sym-urgent); border-color: rgba(163, 38, 79, .35); }
.sym-filter--urgent[aria-pressed="true"] { background: var(--sym-urgent); border-color: var(--sym-urgent); color: #fff; }
.sym-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: rgba(20, 22, 44, .07); font-size: .75rem; font-weight: 600; }
.sym-filter[aria-pressed="true"] .sym-n { background: rgba(255, 255, 255, .22); }

.sym-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 16px; align-items: start; }
.sym-card { position: relative; background: #fff; border-radius: calc(var(--radius) + 4px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(20, 22, 44, .35); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.sym-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sym-controle); }
.sym-card--urgent::before { background: var(--sym-urgent); }
.sym-card--rapide::before { background: var(--sym-rapide); }
.sym-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 22px 40px -24px rgba(20, 22, 44, .45); }
.sym-card[open] { grid-column: 1 / -1; transform: none; }
.sym-card[hidden] { display: none; }
.sym-card summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 22px 24px 22px 28px; cursor: pointer; }
.sym-card summary::-webkit-details-marker { display: none; }
.sym-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--rose); color: var(--navy); }
.sym-icon .icon { width: 24px; height: 24px; }
.sym-head { display: grid; gap: 8px; justify-items: start; }
.sym-title { margin: 0; font-size: var(--fs-h3); line-height: 1.25; color: var(--ink); }
.sym-resume { color: var(--text-soft); font-size: .975rem; line-height: 1.55; }
.sym-toggle { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: transform .35s var(--ease), background-color .25s var(--ease); }
.sym-toggle::before, .sym-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease); }
.sym-toggle::after { transform: rotate(90deg); }
.sym-card[open] .sym-toggle { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.sym-card[open] .sym-toggle::before, .sym-card[open] .sym-toggle::after { background: #fff; }
.sym-card[open] .sym-toggle::after { transform: rotate(0deg); }
.sym-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 24px 24px 28px; animation: symOpen .45s var(--ease) both; }
@keyframes symOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sym-col { padding: 18px 20px; border-radius: var(--radius); background: var(--bg); }
.sym-col--cabinet { background: var(--rose); }
.sym-label { margin: 0 0 8px; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mauve-text); }
.sym-col ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.sym-col li, .sym-col p { font-size: .975rem; line-height: 1.6; }
.sym-col p { margin: 0 0 12px; }
.sym-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; }
.sym-call .icon { width: 18px; height: 18px; }
.sym-call:hover { text-decoration: underline; }
.sym-disclaimer { margin: 28px 0 0; font-size: .925rem; color: var(--text-soft); }

.sym-alert { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sym-alert-card { background: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 3vw, 36px); box-shadow: 0 24px 50px -30px rgba(20, 22, 44, .4); }
.sym-alert-card .btn { margin: 6px 0 8px; }
.sym-alert-title { margin: 18px 0 6px; font-weight: 600; color: var(--ink); }
.sym-alert-title:first-child { margin-top: 0; }

@media (max-width: 1024px) {
    .sym-body { grid-template-columns: minmax(0, 1fr); }
    .sym-alert { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
    .sym-grid { grid-template-columns: minmax(0, 1fr); }
    .sym-card summary { grid-template-columns: minmax(0, 1fr) auto; padding: 18px 18px 18px 22px; gap: 14px; }
    .sym-icon { display: none; }
    .sym-body { padding: 0 18px 20px 22px; }
    .sym-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter, 16px)); margin-right: calc(-1 * var(--gutter, 16px)); padding: 2px var(--gutter, 16px) 8px; scrollbar-width: none; }
    .sym-filters::-webkit-scrollbar { display: none; }
    .sym-filter { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
    .sym-badge--urgent .sym-dot, .sym-body { animation: none; }
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
