/* Centre Dentaire AZEL – styles
   Tokens → base → components → sections → motion → responsive */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/jakarta.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #0E2A47;
  --deep: #071B33;
  --teal: #0E8A8C;
  --teal-ink: #0A6B6D;
  --teal-soft: #E1F2F1;
  --teal-glow: #9FD9D8;
  --mist: #EEF3F6;
  --paper: #FFFFFF;
  --text: #3D4C61;
  --muted: #5C6B80;
  --line: rgba(14, 42, 71, .10);
  --line-strong: rgba(14, 42, 71, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --r-lg: 22px;
  --r: 14px;
  --r-sm: 9px;
  --shadow-float: 0 1px 2px rgba(7, 27, 51, .06), 0 24px 48px -16px rgba(7, 27, 51, .22);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.6 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); content-visibility: auto; contain-intrinsic-size: auto 900px; }
.about { content-visibility: visible; }

h1, h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.15rem + 2.3vw, 2.9rem); line-height: 1.08; }
h3 { color: var(--ink); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hand { font: 600 1.9rem/1.15 var(--hand); color: var(--teal); }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .9375rem; font-weight: 600; color: var(--teal-ink); }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--teal); border-radius: 2px; flex: none; }

/* editorial section head: title left, intro right */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.0625rem; color: var(--muted); max-width: 46ch; }

/* ---------- buttons, chips, links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; font: 600 .9375rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; transition: transform .3s var(--ease-out), background-color .25s, border-color .25s, color .25s, box-shadow .3s; }
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -12px rgba(14, 42, 71, .6); }
.btn-primary:hover { background: var(--deep); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(14, 42, 71, .7); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-ink); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--teal-soft); transform: translateY(-1px); }
.btn-sm { padding: 11px 16px; font-size: .875rem; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-weight: 600; font-size: .875rem; color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out); }
.chip:hover { border-color: var(--teal); color: var(--teal-ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; font-weight: 600; color: var(--teal-ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.link:hover { border-color: currentColor; }
.dot { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; flex: none; }
.dot .ic { width: 20px; height: 20px; }

/* ---------- header ---------- */
.progress { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(7, 27, 51, .35); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .4s var(--ease-out); }
.scrolled .header-in { height: 64px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: clamp(16px, 2vw, 28px); }
.nav a { position: relative; padding: 6px 0; font-weight: 500; font-size: .9rem; color: var(--text); text-decoration: none; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); place-items: center; cursor: pointer; }
.menu-btn .ic { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease-out); }
.menu-btn .ic-close { opacity: 0; transform: rotate(-90deg); }
.menu-btn[aria-expanded="true"] .ic-open { opacity: 0; transform: rotate(90deg); }
.menu-btn[aria-expanded="true"] .ic-close { opacity: 1; transform: none; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 10px 16px max(16px, env(safe-area-inset-bottom)); max-height: calc(100dvh - var(--header-h)); overflow: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -28px rgba(7, 27, 51, .4); transition: opacity .3s, transform .4s var(--ease-out), display .4s allow-discrete; }
.mobile-menu[hidden] { display: none; opacity: 0; transform: translateY(-10px); }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-menu a:hover { background: var(--mist); }
.mobile-menu a:last-child { grid-column: 1 / -1; justify-content: center; background: var(--ink); color: #fff; margin-top: 6px; }
@starting-style { .mobile-menu:not([hidden]) { opacity: 0; transform: translateY(-10px); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; background: var(--paper); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; overflow: clip; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.hero-mask { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, #fff 0%, #fff 35%, rgba(255, 255, 255, .96) 41%, rgba(255, 255, 255, .55) 51%, rgba(255, 255, 255, 0) 62%),
  linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, #fff 100%); }
.hero-sign { position: absolute; z-index: 2; right: clamp(24px, 5vw, 80px); top: clamp(52px, 8vw, 108px); font: 600 clamp(1.8rem, 2.9vw, 2.75rem)/1.05 var(--hand); color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); transform: rotate(-5deg); pointer-events: none; }
.hero-in { position: relative; z-index: 1; padding-top: clamp(40px, 7vw, 104px); padding-bottom: clamp(88px, 10vw, 150px); }
.hero-copy { max-width: 700px; }
.hero-title { font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.5rem); line-height: 1.02; margin: 20px 0 22px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: block; }
.hero-lede { font-size: 1.0625rem; max-width: 46ch; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: .875rem; color: var(--muted); }
.hero-points .dot { width: 42px; height: 42px; background: #fff; box-shadow: 0 6px 16px -8px rgba(7, 27, 51, .35); }
.hero-points strong { display: block; color: var(--ink); font-size: .9rem; }
.hero-strip { position: relative; z-index: 3; margin-top: clamp(-64px, -6vw, -88px); display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 18px 36px; align-items: center; padding: 18px 20px 18px 30px; background: var(--deep); color: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-float); }
.stat { display: flex; align-items: center; gap: 14px; }
.stat > .ic { width: 26px; height: 26px; color: var(--teal-glow); stroke-width: 1.75; }
.stat strong { display: block; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.01em; }
.stat strong small { font-size: .8rem; font-weight: 500; color: rgba(255, 255, 255, .6); margin-left: 2px; }
.stat > div > span { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .65); }
.stars { color: #F4C065; letter-spacing: .05em; font-size: .7rem; }
.strip-cta { justify-self: end; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 12px; background: #fff; color: var(--ink); border-radius: var(--r); text-decoration: none; transition: transform .35s var(--ease-out), box-shadow .3s; }
.strip-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); }
.strip-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; }
.strip-cta strong { display: block; font-size: .9375rem; line-height: 1.2; }
.strip-cta small { display: block; font-size: .78rem; color: var(--muted); }
.strip-arrow { width: 20px; height: 20px; margin-left: 8px; transition: transform .35s var(--ease-out); }
.strip-cta:hover .strip-arrow { transform: translateX(4px); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ph { position: relative; overflow: clip; border-radius: var(--r-lg); background: var(--mist); }
.ph-tall { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
.ph:not(.ph-tall) { aspect-ratio: 1 / 1; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-tall img { object-position: 30% 50%; }
.ph figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 9px; background: rgba(7, 27, 51, .72); color: #fff; font-size: .78rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.about-copy > p { margin-top: 18px; font-size: 1.0625rem; max-width: 58ch; }
.about-copy h2 + p { margin-top: 24px; }
.reasons { display: grid; gap: 16px; margin-top: 30px; }
.reasons li { display: flex; gap: 16px; align-items: flex-start; }
.reasons strong { display: block; color: var(--ink); }
.reasons li > span:last-child { font-size: .9375rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 20px 48px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts dt { font: 500 2.2rem/1 var(--serif); color: var(--ink); }
.facts dd { margin: 6px 0 0; font-size: .875rem; color: var(--muted); }

/* ---------- soins ---------- */
.soins { background: var(--mist); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; display: flex; flex-direction: column; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(7, 27, 51, .35); border-color: var(--line-strong); }
.card > img { width: 100%; aspect-ratio: 2.55 / 1; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.card-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; margin-bottom: 14px; }
.card-ic .ic { width: 20px; height: 20px; }
.card p { margin-top: 4px; font-size: .9rem; color: var(--muted); }
.banner { position: relative; margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 320px; border-radius: var(--r-lg); overflow: clip; background: var(--deep); color: #fff; }
.banner-copy { padding: clamp(28px, 4vw, 48px); position: relative; z-index: 1; }
.banner h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); max-width: 20ch; }
.nowrap { white-space: nowrap; }
.banner-copy > p { margin-top: 14px; color: rgba(255, 255, 255, .72); max-width: 44ch; }
.perks { display: grid; gap: 12px; margin: 24px 0 30px; }
.perks li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; color: rgba(255, 255, 255, .85); }
.perks .ic { color: var(--teal-glow); width: 20px; height: 20px; }
.banner-media { position: relative; min-height: 220px; }
.banner-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--deep) 0%, rgba(7, 27, 51, .2) 45%, rgba(7, 27, 51, 0) 100%); }

/* ---------- technologies ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tech-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: clip; transition: transform .45s var(--ease-out), box-shadow .45s; }
.tech-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -26px rgba(7, 27, 51, .35); }
.tech-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tech-card div { padding: 16px 18px 20px; }
.tech-card h3 { font-size: 1rem; }
.tech-card p { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.tech-panel { grid-column: span 4; position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: clip; background: var(--mist); }
.tech-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-card { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 22px 22px 22px; border-radius: var(--r); background: rgba(7, 27, 51, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; }
.panel-card h3 { color: #fff; font-size: 1.1rem; }
.panel-card p { margin: 8px 0 16px; font-size: .875rem; color: rgba(255, 255, 255, .72); }
.hygiene { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(40px, 6vw, 80px); align-items: start; margin-top: clamp(56px, 7vw, 96px); }
.hygiene h3 { font: 500 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--serif); letter-spacing: -.01em; }
.hygiene-copy p { margin-top: 14px; color: var(--muted); }
.protocols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.protocols li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--mist); }
.protocols .ic { width: 22px; height: 22px; color: var(--teal-ink); margin-top: 2px; }
.protocols strong { display: block; color: var(--ink); font-size: .9375rem; }
.protocols li > span { font-size: .875rem; color: var(--muted); }

/* ---------- team ---------- */
.team { background: var(--mist); }
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(250px, .85fr); gap: 24px clamp(20px, 3vw, 40px); align-items: start; }
.doctor { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; }
.doctor-photo { aspect-ratio: 5 / 5.4; overflow: clip; background: var(--mist); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.doctor-body { padding: 22px 24px 26px; }
.doctor h3 { font: 500 1.5rem/1.15 var(--serif); letter-spacing: -.01em; }
.role { margin: 4px 0 12px; color: var(--teal-ink); font-weight: 600; font-size: .875rem; }
.doctor-body > p:not(.role) { font-size: .9375rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { padding: 6px 11px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: .78rem; font-weight: 600; }
.team-values { padding-top: 6px; }
.team-values .hand { display: inline-block; transform: rotate(-2deg); margin: 0 0 26px 2px; }
.values { display: grid; gap: 18px; margin-bottom: 30px; }
.values li { display: flex; gap: 14px; align-items: center; }
.values .dot { background: #fff; border: 1px solid var(--line); }
.values strong { display: block; color: var(--ink); font-size: .95rem; }
.values li > span:last-child { font-size: .875rem; color: var(--muted); }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 205px; gap: 14px; }
.tile { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: clip; background: var(--mist); cursor: zoom-in; text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tile:hover img { transform: scale(1.05); }
.tile-cap { position: absolute; left: 12px; bottom: 12px; padding: 6px 11px; border-radius: 8px; background: rgba(7, 27, 51, .72); color: #fff; font-size: .78rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.t-accueil { grid-column: span 3; grid-row: span 2; }
.t-accueil img { object-position: 20% 50%; }
.t-soins, .t-bureau { grid-column: span 3; }
.tile-card { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-lg); background: var(--mist); }
.tile-card h3 { font: 500 1.4rem/1.15 var(--serif); }
.tile-card p { font-size: .9rem; color: var(--muted); }
.checks { display: grid; gap: 9px; margin-top: 4px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--ink); }
.checks .ic { color: var(--teal-ink); width: 18px; height: 18px; }
.tile-card .link { margin-top: auto; font-size: .9rem; }
.t-attente, .t-equip, .t-steril { grid-column: span 2; }
.tile { transition: opacity .35s, transform .35s var(--ease-out), display .35s allow-discrete; }
.tile[hidden] { display: none; opacity: 0; transform: scale(.94); }
@starting-style { .tile:not([hidden]) { opacity: 0; transform: scale(.94); } }

/* ---------- rendez-vous ---------- */
.rdv { background: var(--deep); color: #fff; }
.rdv-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 88px); align-items: start; }
.rdv h2 { color: #fff; }
.rdv-lede { margin-top: 20px; font-size: 1.0625rem; color: rgba(255, 255, 255, .72); max-width: 44ch; }
.steps { display: grid; gap: 18px; margin: 34px 0; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.num { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; font-weight: 700; font-size: .875rem; color: var(--teal-glow); }
.steps strong { display: block; color: #fff; }
.steps li > span:last-child { font-size: .9375rem; color: rgba(255, 255, 255, .62); }
.rdv-contact { display: grid; gap: 18px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-row { display: flex; gap: 14px; align-items: center; }
.contact-row > .ic { width: 24px; height: 24px; color: var(--teal-glow); stroke-width: 1.75; }
.contact-row a { display: block; color: #fff; font-weight: 700; font-size: 1.35rem; text-decoration: none; letter-spacing: -.01em; }
.contact-row .strong { display: block; color: #fff; font-weight: 600; }
.contact-row span { display: block; font-size: .875rem; color: rgba(255, 255, 255, .62); }
.form { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: #fff; color: var(--text); box-shadow: var(--shadow-float); }
.form h3 { font: 500 1.6rem/1.15 var(--serif); letter-spacing: -.01em; }
.form .sub { margin: 6px 0 24px; font-size: .9375rem; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 700; color: var(--ink); }
.field label em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #F6F8FA; font: 400 1rem/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E7C90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(14, 138, 140, .16); }
.field :is(input, select):user-invalid { border-color: #C8463E; }
.form .btn { width: 100%; margin-top: 22px; padding: 16px 22px; }
.fine { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.form-ok { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #E4F5EC; color: #145A32; font-weight: 600; font-size: .9rem; transition: opacity .4s, transform .5s var(--ease-out); }
.form-ok .ic { color: var(--teal-ink); }
@starting-style { .form-ok { opacity: 0; transform: translateY(8px); } }

/* ---------- FAQ ---------- */
.faq { background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-side .section-head { grid-template-columns: 1fr; margin-bottom: 28px; }
.faq-aside { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.faq-aside h3 { font: 500 1.35rem/1.15 var(--serif); }
.faq-aside p { margin: 10px 0 18px; font-size: .9375rem; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s, box-shadow .3s; }
.qa:hover { border-color: var(--line-strong); }
.qa.open { border-color: var(--line-strong); box-shadow: 0 14px 30px -26px rgba(7, 27, 51, .4); }
.qa-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 20px; border: 0; background: none; text-align: left; font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--ink); cursor: pointer; border-radius: var(--r); }
.qa-btn > .ic { width: 22px; height: 22px; color: var(--teal-ink); }
.tog { margin-left: auto; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: transform .45s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.tog .ic { width: 16px; height: 16px; }
.qa.open .tog { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.qa-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.qa-body > div { overflow: hidden; }
.qa.open .qa-body { grid-template-rows: 1fr; }
.qa-body p { padding: 0 20px 20px 56px; font-size: .9375rem; }

/* ---------- footer ---------- */
.footer { padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--deep); color: rgba(255, 255, 255, .7); content-visibility: auto; contain-intrinsic-size: auto 600px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1.3fr; gap: 36px; }
.footer h4 { margin-bottom: 16px; color: #fff; font-size: .9375rem; font-weight: 700; }
.footer ul { display: grid; gap: 9px; }
.footer a { font-size: .9rem; color: inherit; text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-brand p { margin-top: 18px; font-size: .9rem; max-width: 34ch; }
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.socials a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.socials .ic { width: 18px; height: 18px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.contact-list .ic { width: 18px; height: 18px; color: var(--teal-glow); margin-top: 3px; }
.footer .small { font-size: .875rem; }
.newsletter { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 4px 4px 4px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: 400 .9rem var(--sans); }
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter input:focus { outline: none; }
.newsletter:focus-within { border-color: var(--teal-glow); }
.newsletter button { width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease-out); }
.newsletter button:hover { transform: translateX(2px); }
.newsletter .form-ok { border-radius: 999px; padding: 10px 14px; margin: 0 0 0 -14px; background: transparent; color: var(--teal-glow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; }
.legal { display: flex; gap: 22px; }
.footer-bottom .hand { font-size: 1.5rem; color: var(--teal-glow); transform: rotate(-2deg); }

/* ---------- floating / mobile bar / lightbox ---------- */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
#to-top { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease-out); }
#to-top.on { opacity: 1; pointer-events: auto; transform: none; }
.call-fab { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 28px -12px rgba(14, 138, 140, .7); transition: transform .35s var(--ease-out); }
.call-fab:hover { transform: translateY(-2px) scale(1.04); }
.call-fab .ic { width: 22px; height: 22px; }
#mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; gap: 10px; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
#mobile-cta .btn { flex: 1; min-width: 0; padding-inline: 12px; }
.lightbox { padding: 0; border: 0; border-radius: var(--r-lg); background: #071B33; color: #fff; max-width: min(92vw, 1100px); max-height: 90vh; overflow: hidden; box-shadow: var(--shadow-float); transition: opacity .3s, transform .4s var(--ease-out), display .4s allow-discrete, overlay .4s allow-discrete; }
.lightbox::backdrop { background: rgba(4, 14, 28, .82); transition: opacity .3s, display .3s allow-discrete, overlay .3s allow-discrete; }
.lightbox:not([open]) { opacity: 0; transform: scale(.96); }
.lightbox:not([open])::backdrop { opacity: 0; }
@starting-style { .lightbox[open] { opacity: 0; transform: scale(.96); } .lightbox[open]::backdrop { opacity: 0; } }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; }
.lightbox p { padding: 12px 16px; font-size: .875rem; color: rgba(255, 255, 255, .8); }
.lb-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.lb-close:hover { background: rgba(255, 255, 255, .3); }

/* ---------- motion ---------- */
/* one orchestrated page-load sequence in the hero */
@keyframes settle { from { transform: scale(1.08); opacity: .5; } to { transform: none; opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { transform: translateY(105%); } to { transform: none; } }
@keyframes write { to { clip-path: inset(-20% -6% -20% 0); } }
.hero-media img { animation: settle 1.6s var(--ease-out) both; }
.kicker { animation: rise .8s var(--ease-out) .1s both; }
.hero-title .line > span { animation: lift 1s var(--ease-out) .2s both; }
.hero-title .line:nth-child(2) > span { animation-delay: .32s; }
.hero-lede { animation: rise .8s var(--ease-out) .5s both; }
.hero-actions { animation: rise .8s var(--ease-out) .6s both; }
.hero-points li { animation: rise .8s var(--ease-out) both; }
.hero-points li:nth-child(1) { animation-delay: .7s; }
.hero-points li:nth-child(2) { animation-delay: .78s; }
.hero-points li:nth-child(3) { animation-delay: .86s; }
.hero-sign { clip-path: inset(-20% 100% -20% 0); animation: write 1.3s cubic-bezier(.55, .05, .3, 1) 1s forwards; }
.hero-strip { animation: rise 1s var(--ease-out) .9s both; }

/* scroll reveal: one calm style everywhere */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].shown { opacity: 1; transform: none; }

/* scroll-driven: progress bar, hero parallax, photos drifting in their frames */
@supports (animation-timeline: scroll()) {
  @keyframes grow { to { transform: scaleX(1); } }
  @keyframes parallax { to { transform: translateY(16%); } }
  @keyframes drift { from { transform: translateY(-3.5%) scale(1.1); } to { transform: translateY(3.5%) scale(1.1); } }
  @keyframes shrink { to { --header-h: 64px; } }
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  .hero-media { animation: parallax linear both; animation-timeline: scroll(root); animation-range: 0px 100vh; }
  [data-drift] { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-sign { clip-path: none; }
  .progress { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hero-strip { grid-template-columns: repeat(3, auto); }
  .strip-cta { grid-column: 1 / -1; justify-self: stretch; }
  .tech-card { grid-column: span 6; }
  .tech-panel { grid-column: span 12; min-height: 360px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-values { grid-column: 1 / -1; }
  .values { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 34px; }
  .hero-media { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 60vh; }
  .hero-mask { display: none; }
  .hero-sign { display: none; }
  .hero-in { padding-top: 32px; padding-bottom: 72px; }
  .hero-strip { margin-top: -40px; grid-template-columns: 1fr 1fr; padding: 20px; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 12px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-photos { max-width: 560px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner { grid-template-columns: 1fr; }
  .banner-media { order: -1; min-height: 200px; }
  .banner-media::before { background: linear-gradient(0deg, var(--deep) 0%, rgba(7, 27, 51, 0) 60%); }
  .hygiene { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); }
  .tile { aspect-ratio: 1; }
  .t-accueil { grid-column: span 1; grid-row: span 2; aspect-ratio: auto; }
  .t-soins, .t-bureau, .t-attente, .t-equip, .t-steril { grid-column: span 1; }
  .tile-card { grid-column: span 2; grid-row: auto; }
  .rdv-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  #mobile-cta { display: flex; }
  .call-fab { display: none; }
  .floating { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .hero-actions .btn { flex: 1; }
  .hero-points { gap: 12px; }
  .hero-strip { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .stat { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .strip-cta { margin-top: 2px; }
  .cards { grid-template-columns: 1fr; }
  .card > img { aspect-ratio: 3 / 1; }
  .tech-card { grid-column: span 12; display: grid; grid-template-columns: 128px 1fr; align-items: center; }
  .tech-card img { aspect-ratio: auto; height: 100%; min-height: 128px; }
  .team-grid { grid-template-columns: 1fr; }
  .mosaic { grid-auto-rows: minmax(140px, auto); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .qa-btn { font-size: .95rem; padding: 16px; }
  .qa-body p { padding: 0 16px 18px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 18px 16px; }
  .facts dt { font-size: 1.9rem; }
  .facts dd { font-size: .8rem; }
}
@media (max-width: 380px) {
  .brand img { height: 30px; }
  .hero-title { font-size: 2.3rem; }
}
@media (hover: none) {
  .tile:hover img, .card:hover, .tech-card:hover { transform: none; }
}
