/* =====================================================================
   DOCTEUR TATTOO — « Clinique d'encre »
   Palette : noir encre / gris charbon / blanc os / rouge sang / violet pochoir
   Fil rouge : le tracé de pochoir (traits violets, repères de visée) et la ligne de pouls
   ===================================================================== */

:root {
  --ink: #0b0b0c;        /* fond : noir encre */
  --coal: #131315;       /* surfaces */
  --steel: #1e1f22;      /* cartes, bordures fortes */
  --line: rgba(236, 231, 221, .14);
  --bone: #ece7dd;       /* texte : blanc os, papier calque */
  --ash: #9a9ba1;        /* texte secondaire */
  --blood: #d4162e;      /* accent : actions, survol */
  --blood-d: #a50f22;
  --stencil: #8f7bff;    /* fil rouge : violet pochoir */

  --ff-display: 'Pirata One', 'UnifrakturCook', Georgia, serif;
  --ff-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 4.2vw, 68px);
  --max: 1440px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--ff-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  line-height: 1.62;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--blood); color: #fff; }

:focus-visible { outline: 2px solid var(--stencil); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 10000; background: var(--bone); color: var(--ink); padding: .7em 1em; border-radius: 8px; font-weight: 700; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(5rem, 12vw, 11rem); }

/* ---------- Typographie ---------- */
.h2 {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2.9rem, 8.4vw, 8.2rem);
  line-height: .93; letter-spacing: .004em; text-wrap: balance;
}
.h2--sm { font-size: clamp(2.5rem, 6.4vw, 6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em; margin-bottom: 1.4rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ash);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--stencil); }

/* mots/lettres découpés par JS */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .02em .14em; margin: -.02em -.02em -.14em; }
.c { display: inline-block; will-change: transform; }
.motion [data-split] { visibility: hidden; }
.sw { display: inline; transition: none; }

/* soulignement animé */
.ulink { position: relative; text-decoration: none; }
.ulink::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.18em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.ulink:hover::after, .ulink:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Boutons ---------- */
.btn {
  --fill: var(--bone);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.05em 1.9em; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--bone); overflow: hidden; isolation: isolate; cursor: pointer;
  font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: -1px; background: var(--fill); border-radius: inherit; transform: translateY(102%); transition: transform .6s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn > span { display: inline-block; }
.btn--blood { background: var(--blood); border-color: var(--blood); color: #fff; }
.btn--blood:hover, .btn--blood:focus-visible { color: var(--ink); border-color: var(--bone); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--bone); }
.btn--lg { padding: 1.3em 2.4em; font-size: .9rem; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* ---------- Loader ---------- */
.loader { display: none; }
.motion .loader { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; }
.loader__half { position: absolute; inset: 0; background: var(--ink); will-change: transform; }
.loader__half--top { clip-path: polygon(0 0, 100% 0, 100% 25%, 0 75%); }
.loader__half--bottom { clip-path: polygon(0 75%, 100% 25%, 100% 100%, 0 100%); }
.loader__slash { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.loader__slash line { stroke: var(--blood); stroke-width: .45; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__inner { position: relative; z-index: 2; width: min(86vw, 640px); text-align: center; }
.loader__count { font-family: var(--ff-display); font-size: clamp(6rem, 24vw, 15rem); line-height: .85; display: flex; justify-content: center; align-items: baseline; }
.loader__count small { font-size: .25em; margin-left: .1em; color: var(--blood); }
.loader__ecg { width: 100%; height: 64px; margin-top: .6rem; overflow: visible; }
.loader__ecg path { fill: none; stroke: var(--stencil); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__msg { margin-top: 1.3rem; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ash); }

/* ---------- Progression, grain, curseur ---------- */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--blood); transform: scaleX(0); transform-origin: left; z-index: 8000; }
.grain { position: fixed; inset: -50%; z-index: 7000; pointer-events: none; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.motion .grain { animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0,0); } }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--bone); mix-blend-mode: difference; }
.cursor__ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(236,231,221,.5); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease); }
.cursor__ring em { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: 0; color: #fff; transition: opacity .3s; }
.cursor.is-view .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--blood); border-color: var(--blood); }
.cursor.is-view .cursor__ring em { opacity: 1; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--stencil); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 6000; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-inline: var(--gutter);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-solid { background: rgba(11, 11, 12, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font-family: var(--ff-display); font-size: 1.9rem; line-height: 1; text-decoration: none; letter-spacing: .01em; }
.nav__logo b { font-weight: 400; color: var(--blood); }
.nav__links { display: none; gap: 2.2rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav__cta { display: none; padding: .85em 1.5em; }
.burger { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; cursor: pointer; z-index: 6100; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--bone); transition: transform .5s var(--ease); }
.burger i:nth-child(1) { top: 20px; } .burger i:nth-child(2) { top: 26px; }
.burger[aria-expanded='true'] i:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded='true'] i:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

.menu { position: fixed; inset: 0; z-index: 5900; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gutter) 2rem; visibility: hidden; clip-path: circle(0% at calc(100% - 44px) 38px); transition: clip-path .8s var(--ease), visibility 0s .8s; }
.menu.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 44px) 38px); transition: clip-path .9s var(--ease), visibility 0s; }
.menu__nav { display: grid; gap: .1rem; }
.menu__nav a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--ff-display); font-size: clamp(2.6rem, 11vw, 5rem); line-height: 1.1; text-decoration: none; transform: translateY(40px); opacity: 0; transition: transform .8s var(--ease), opacity .6s; }
.menu__nav a span { font-family: var(--ff-text); font-size: .75rem; color: var(--stencil); letter-spacing: .2em; }
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .15s; } .menu.is-open .menu__nav a:nth-child(2) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .25s; } .menu.is-open .menu__nav a:nth-child(4) { transition-delay: .3s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .35s; } .menu.is-open .menu__nav a:nth-child(6) { transition-delay: .4s; }
.menu.is-open .menu__nav a:nth-child(7) { transition-delay: .45s; }
.menu__foot { margin-top: 2.5rem; display: flex; gap: 1.5rem; flex-wrap: wrap; color: var(--ash); font-size: .85rem; letter-spacing: .08em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; padding-top: calc(var(--nav-h) + 2rem); }
.hero__media { position: absolute; inset: -8% 0; z-index: -3; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) contrast(1.12) brightness(.6); transform: scale(1.05); }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(110% 80% at 28% 42%, rgba(11,11,12,0) 0%, rgba(11,11,12,.55) 62%, var(--ink) 100%), linear-gradient(to top, var(--ink) 2%, rgba(11,11,12,0) 38%); }
.hero__marks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mark { position: absolute; width: 26px; height: 26px; opacity: .65; }
.mark::before, .mark::after { content: ''; position: absolute; background: var(--stencil); }
.mark::before { left: 50%; top: 0; bottom: 0; width: 1px; } .mark::after { top: 50%; left: 0; right: 0; height: 1px; }
.mark--tl { left: var(--gutter); top: calc(var(--nav-h) + 12px); } .mark--tr { right: var(--gutter); top: calc(var(--nav-h) + 12px); }
.mark--bl, .mark--br { display: none; }
.mark--float { width: 58px; height: 58px; border: 1px solid rgba(143,123,255,.5); border-radius: 50%; }
.mark--f1 { left: 62%; top: 24%; } .mark--f2 { left: 14%; top: 36%; width: 34px; height: 34px; }
.hero__side { position: absolute; right: calc(var(--gutter) - 4px); top: 50%; z-index: 1; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); font-size: .68rem; letter-spacing: .42em; text-transform: uppercase; color: var(--ash); display: none; }
@media (min-width: 900px) { .hero__side { display: block; } }

.hero__content { position: relative; padding-bottom: 1.4rem; }
.hero__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--bone); margin-bottom: 1rem; display: flex; align-items: center; gap: 1em; }
.hero__kicker::before { content: ''; width: 46px; height: 1px; background: var(--blood); }
.hero__title { font-family: var(--ff-display); font-weight: 400; line-height: .8; font-size: clamp(5.4rem, 26.5vw, 25rem); letter-spacing: -.012em; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .hero__word { display: inline-block; }
.line--outline { padding-left: 0; }
.line--outline .hero__word { color: transparent; -webkit-text-stroke: 2px var(--bone); }
@media (min-width: 900px) { .line--outline { padding-left: 14vw; } .line--outline .hero__word { -webkit-text-stroke: 2.5px var(--bone); } }
.hero__word:hover .c { animation: buzz .16s linear infinite; }
.hero__word:hover .c:nth-child(odd) { animation-direction: alternate-reverse; }
@keyframes buzz { 0% { transform: translate(0,0); } 25% { transform: translate(1.4px,-1.2px); } 50% { transform: translate(-1.2px,1px); } 75% { transform: translate(1px,1.4px); } 100% { transform: translate(0,0); } }

.hero__foot { margin-top: clamp(1.4rem, 3vw, 2.6rem); display: grid; gap: 1.6rem; align-items: end; }
.hero__lead { max-width: 46ch; font-size: clamp(1.02rem, 1vw + .8rem, 1.3rem); color: var(--bone); opacity: .92; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) { .hero__foot { grid-template-columns: 1fr auto; } }

.hero__meta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2rem; padding-block: 1.3rem 1.6rem; border-top: 1px solid var(--line); font-size: .82rem; letter-spacing: .06em; }
.rating { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.rating b { color: #fff; }
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 14px; height: 14px; background: var(--blood); clip-path: polygon(50% 0, 62% 35%, 98% 36%, 69% 57%, 80% 91%, 50% 71%, 20% 91%, 31% 57%, 2% 36%, 38% 35%); }
.stars--lg i { width: 22px; height: 22px; }
.status { display: inline-flex; align-items: center; gap: .6rem; color: var(--ash); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--ash); }
.status.is-open { color: var(--bone); }
.status.is-open i { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } }
.status--lg { font-size: 1rem; margin: 1.6rem 0 1rem; }
.scrollcue { margin-left: auto; display: none; align-items: center; gap: .8rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .3em; color: var(--ash); }
.scrollcue i { width: 1px; height: 34px; background: linear-gradient(var(--bone), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 700px) { .scrollcue { display: inline-flex; } }

.hero__ecg { position: absolute; left: 0; right: 0; bottom: 78px; width: 100%; height: 54px; z-index: -1; pointer-events: none; }
.hero__ecg path { fill: none; stroke-linejoin: round; }
.ecg-base { stroke: rgba(236,231,221,.12); stroke-width: 1.5; }
.ecg-pulse { stroke: var(--blood); stroke-width: 2.5; stroke-dasharray: 90 910; stroke-dashoffset: 0; animation: pulse 3.6s linear infinite; filter: drop-shadow(0 0 6px rgba(212,22,46,.8)); }
@keyframes pulse { from { stroke-dashoffset: 90; } to { stroke-dashoffset: -910; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); padding-block: clamp(.7rem, 1.4vw, 1.2rem); }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--ff-display); font-size: clamp(2.4rem, 7vw, 6.4rem); line-height: 1.05; padding-inline: clamp(.8rem, 2vw, 2rem); white-space: nowrap; }
.marquee__track i { flex: none; width: clamp(18px, 2.6vw, 34px); height: clamp(18px, 2.6vw, 34px); background: var(--blood); clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }
.marquee--outline span { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
.marquee--outline i { background: var(--stencil); }

/* ---------- Le Docteur ---------- */
.about__grid { display: grid; gap: 3.5rem; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 7vw, 8rem); align-items: start; } .about__visual { position: sticky; top: 110px; } }
.about__lead { margin-top: 2.2rem; font-size: clamp(1.15rem, 1.4vw + .7rem, 1.7rem); line-height: 1.45; font-weight: 500; max-width: 38em; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.chips li { padding: .55em 1.1em; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ash); }
.about__visual { position: relative; padding-bottom: 4rem; }
@media (max-width: 959px) { .about__visual { max-width: 520px; margin-inline: auto; width: 100%; } }
.about__figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--coal); }
.about__figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .8s var(--ease); }
.about__figure:hover img { filter: none; }
.about__figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.2rem 1.1rem; background: linear-gradient(transparent, rgba(11,11,12,.9)); font-weight: 800; letter-spacing: .06em; }
.about__figure figcaption small { display: block; font-weight: 500; color: var(--ash); letter-spacing: .06em; }
.about__mini { position: absolute; left: -6%; bottom: 0; width: 38%; aspect-ratio: 3 / 4; overflow: hidden; border: 6px solid var(--ink); transform: rotate(-4deg); box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.about__mini img { width: 100%; height: 100%; object-fit: cover; }
.about__stamp { position: absolute; right: -2%; bottom: 8%; width: 112px; height: 112px; display: grid; place-items: center; text-align: center; font-family: var(--ff-display); font-size: 1.15rem; line-height: 1; border: 2px solid var(--blood); border-radius: 50%; color: var(--blood); transform: rotate(12deg); background: rgba(11,11,12,.7); }
@media (max-width: 700px) { .about__mini { left: 0; } .about__stamp { right: 0; width: 92px; height: 92px; font-size: .95rem; } }

.rx { position: relative; margin-top: 3rem; max-width: 560px; padding: 1.6rem 1.6rem 1.4rem 4.6rem; background: var(--bone); color: var(--ink); transform: rotate(-1.2deg); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.rx::before { content: ''; position: absolute; inset: 8px; border: 1px dashed rgba(11,11,12,.35); pointer-events: none; }
.rx__sign { position: absolute; left: 1.2rem; top: .7rem; font-family: var(--ff-display); font-size: 3.4rem; line-height: 1; color: var(--blood); }
.rx__head { font-weight: 800; letter-spacing: .04em; margin-bottom: .8rem; }
.rx__head small { font-weight: 500; opacity: .7; }
.rx dl { display: grid; gap: .6rem; font-size: .92rem; }
.rx dt { font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--blood-d); }

.sep-ecg { width: 100%; height: clamp(36px, 5vw, 64px); }
.sep-ecg path { fill: none; stroke: var(--stencil); stroke-width: 1.8; stroke-linejoin: round; }
@media (max-width: 700px) { .sep-ecg { height: 44px; } .sep-ecg path { stroke-width: 4.5; } }

/* ---------- Protocole (pinné sur desktop) ---------- */
.protocol { position: relative; padding-block: clamp(4rem, 9vw, 8rem); background: linear-gradient(var(--ink), var(--coal) 30%, var(--coal) 70%, var(--ink)); }
.protocol__head { margin-bottom: 2.5rem; }
.protocol__stage { position: relative; display: grid; gap: 4.5rem; }
.pstep { display: grid; gap: 1.4rem; }
.pstep__n { display: block; font-family: var(--ff-display); font-size: clamp(5rem, 16vw, 14rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--stencil); }
.pstep h3 { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1; margin-top: .6rem; }
.pstep p { margin-top: 1rem; max-width: 40ch; color: #cfcac1; }
.pstep__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--steel); }
.pstep__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.05); }
.pstep__media--phone { aspect-ratio: auto; background: transparent; display: grid; place-items: center; padding-block: 1rem; overflow: visible; }
.protocol__rail { display: none; }

.phone { width: min(300px, 82%); border: 1px solid var(--line); border-radius: 34px; background: #0f0f11; padding: 1rem 1rem .9rem; box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 6px #17171a; }
.phone__bar { display: flex; align-items: center; gap: .6rem; font-size: .75rem; font-weight: 700; padding: .5rem .4rem .9rem; border-bottom: 1px solid var(--line); }
.phone__bar i { width: 26px; height: 26px; border-radius: 50%; background: var(--blood); }
.phone__chat { display: grid; gap: .5rem; padding-top: .9rem; }
.bub { max-width: 88%; padding: .6rem .85rem; font-size: .78rem; line-height: 1.4; border-radius: 16px; }
.bub--in { background: var(--steel); border-bottom-left-radius: 4px; }
.bub--out { justify-self: end; background: var(--stencil); color: #0b0b0c; border-bottom-right-radius: 4px; font-weight: 600; }
.phone__note { display: block; margin-top: .9rem; text-align: center; color: var(--ash); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }

@media (min-width: 900px) {
  .motion .protocol { padding-block: 0; }
  .motion .protocol__pin { height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
  .motion .protocol__head { margin-bottom: 1.6rem; }
  .motion .protocol__stage { display: block; height: clamp(380px, 58vh, 560px); }
  .motion .pstep { position: absolute; inset: 0; display: block; }
  .motion .pstep__text { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; display: flex; flex-direction: column; justify-content: center; }
  .motion .pstep__n { font-size: clamp(6rem, 14vw, 13rem); }
  .motion .pstep__media { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; aspect-ratio: auto; }
  .motion .pstep__media--phone { overflow: visible; }
  .motion .protocol__rail { display: flex; align-items: center; gap: 1.2rem; position: absolute; left: 0; right: 0; bottom: -2.8rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }
  .motion .rail__count b { color: var(--bone); font-size: 1rem; }
  .motion .rail__bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
  .motion .rail__bar i { position: absolute; inset: 0; background: var(--blood); transform: scaleX(0); transform-origin: left; }
}

/* ---------- Savoir-faire (horizontal) ---------- */
.craft { position: relative; padding-block: clamp(4rem, 9vw, 8rem); overflow: hidden; }
.craft__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.4rem; }
.craft__hint { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); text-align: right; flex: none; }
.craft__hint span { color: var(--bone); font-size: 1.2rem; }
.craft__hint em { display: none; font-style: normal; margin-top: .3rem; }
.craft__track { display: flex; gap: clamp(.9rem, 2vw, 1.8rem); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 1rem; -webkit-overflow-scrolling: touch; }
.craft__track::-webkit-scrollbar { display: none; }
.card { position: relative; flex: 0 0 min(76vw, 340px); aspect-ratio: 3 / 4.2; overflow: hidden; border: 1px solid var(--line); background: var(--coal); scroll-snap-align: start; transform-style: preserve-3d; will-change: transform; transition: border-color .4s; }
.card:hover { border-color: rgba(143,123,255,.6); }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.06) brightness(.85); transition: transform 1s var(--ease), filter .6s; }
.card:hover > img { transform: scale(1.07); filter: grayscale(0) contrast(1.06) brightness(.95); }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,12,.96) 8%, rgba(11,11,12,.1) 62%); pointer-events: none; }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem; transform: translateZ(40px); }
.card__n { font-family: var(--ff-display); font-size: 1.4rem; color: var(--stencil); }
.card h3 { font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; margin: .2rem 0 .6rem; }
.card p { font-size: .9rem; color: #cfcac1; max-width: 30ch; }
.card__tag { display: inline-block; margin-top: .9rem; padding: .35em .9em; border: 1px solid var(--line); border-radius: 999px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.card__glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.2), transparent 60%); mix-blend-mode: overlay; }
.card:hover .card__glare { opacity: 1; }
.card--cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.2rem; padding: 2rem; background: var(--blood); border-color: var(--blood); }
.card--cta::after { display: none; }
.card--cta h3 { font-size: clamp(2.2rem, 3vw, 3rem); margin: 0; }
.card--cta p { color: #fff; }
.card--cta .btn { --fill: var(--ink); background: var(--ink); border-color: var(--ink); color: var(--bone); }
.card--cta .btn:hover { color: var(--bone); }
.card--cta .btn::before { background: var(--bone); }
.card--cta .btn:hover span { color: var(--ink); }

@media (min-width: 900px) {
  .craft__hint em { display: block; }
  .motion .craft { padding-block: 0; }
  .motion .craft__pin { height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; }
  .motion .craft__track { overflow: visible; scroll-snap-type: none; width: max-content; padding-bottom: 0; }
  .motion .card { flex: 0 0 clamp(300px, 24vw, 410px); }
}

/* ---------- Chiffres ---------- */
.stats { background: var(--ink); }
.stats__list { margin-top: 3.5rem; }
.stat { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem; padding-block: clamp(1.2rem, 3vw, 2.4rem); border-top: 1px solid var(--line); transition: padding .6s var(--ease); }
.stat:last-child { border-bottom: 1px solid var(--line); }
.stat__label { font-size: clamp(.78rem, 1.2vw, 1rem); letter-spacing: .24em; text-transform: uppercase; color: var(--ash); padding-bottom: .8em; }
.stat__num { display: flex; align-items: baseline; font-family: var(--ff-display); font-size: clamp(4.6rem, 15vw, 14rem); line-height: .8; color: var(--bone); transition: color .5s, transform .6s var(--ease); }
.stat__num small { font-size: .28em; margin-left: .15em; color: var(--blood); }
.stat__line { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--stencil); transform: scaleX(0); transform-origin: left; }
.stat:hover .stat__num { color: var(--blood); transform: translateX(-10px); }
.stats__note { margin-top: 1.6rem; font-size: .78rem; color: var(--ash); }

/* ---------- Galerie ---------- */
.gallery { background: linear-gradient(var(--ink), var(--coal) 15%, var(--coal) 90%, var(--ink)); }
.gallery__head { display: grid; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 960px) { .gallery__head { grid-template-columns: 1fr auto; align-items: end; } }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .7em 1.3em; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .4s var(--ease), color .4s, border-color .4s; }
.chip:hover { border-color: var(--bone); }
.chip.is-active { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.gallery__grid { column-count: 2; column-gap: .7rem; }
@media (min-width: 760px) { .gallery__grid { column-count: 3; column-gap: 1rem; } }
@media (min-width: 1200px) { .gallery__grid { column-count: 4; } }
.gallery__grid li { break-inside: avoid; margin-bottom: .7rem; }
@media (min-width: 760px) { .gallery__grid li { margin-bottom: 1rem; } }
.gallery__grid li[hidden] { display: none; }
.gitem { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: var(--steel); cursor: pointer; transform-style: preserve-3d; will-change: transform; }
.gitem img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .6s; filter: contrast(1.04); }
.gitem:hover img, .gitem:focus-visible img { transform: scale(1.06); }
.gitem__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .9rem; text-align: left; background: linear-gradient(transparent, rgba(11,11,12,.92)); transform: translateY(101%); transition: transform .6s var(--ease); display: grid; }
.gitem__cap b { font-family: var(--ff-display); font-weight: 400; font-size: 1.5rem; line-height: 1.05; }
.gitem__cap small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stencil); }
.gitem:hover .gitem__cap, .gitem:focus-visible .gitem__cap { transform: none; }
@media (hover: none) { .gitem__cap { display: none; } }
.gallery__more { margin-top: 3rem; text-align: center; }

.lightbox { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: rgba(5,5,6,.97); color: var(--bone); }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__fig { display: grid; justify-items: center; gap: .9rem; max-width: min(92vw, 1100px); }
.lightbox__fig img { max-height: 80vh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox__fig figcaption { display: flex; gap: 1rem; align-items: baseline; font-family: var(--ff-display); font-size: 1.6rem; }
.lightbox__fig small { font-family: var(--ff-text); font-size: .75rem; letter-spacing: .2em; color: var(--ash); }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(11,11,12,.6); cursor: pointer; font-size: 1.1rem; display: grid; place-items: center; transition: background .3s, color .3s; z-index: 2; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--bone); color: var(--ink); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 14px; } .lightbox__nav--next { right: 14px; }

/* ---------- Bande vidéo ---------- */
.band { position: relative; background: var(--ink); }
.motion .band { height: 230vh; }
.band__sticky { position: relative; }
.motion .band__sticky { position: sticky; top: 0; height: 100vh; }
.band__mask { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 80vh; padding: 5rem var(--gutter); }
.motion .band__mask { height: 100%; clip-path: circle(0% at 50% 50%); }
.band__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) contrast(1.1) brightness(.55); }
.band__shade { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 50%, rgba(11,11,12,.15), rgba(11,11,12,.75)); }
.band__quote { position: relative; max-width: 18ch; text-align: center; font-family: var(--ff-display); font-size: clamp(2.8rem, 8.4vw, 8rem); line-height: .96; text-wrap: balance; }

/* ---------- Avis ---------- */
.reviews { padding-bottom: clamp(4rem, 8vw, 8rem); }
.reviews__head { display: grid; gap: 2rem; }
@media (min-width: 960px) { .reviews__head { grid-template-columns: 1fr auto; align-items: end; } }
.reviews__score { display: grid; gap: .6rem; justify-items: start; }
@media (min-width: 960px) { .reviews__score { justify-items: end; text-align: right; } }
.reviews__big { font-family: var(--ff-display); font-size: clamp(4.5rem, 9vw, 8rem); line-height: .8; }
.reviews__ctrl { display: flex; gap: .6rem; margin: 2rem 0 1.2rem; }
.round { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background .4s var(--ease), color .4s; }
.round:hover { background: var(--bone); color: var(--ink); }
.reviews__track { display: flex; gap: clamp(.8rem, 1.6vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 1.4rem; scrollbar-width: thin; scrollbar-color: var(--steel) transparent; cursor: grab; scroll-padding-inline: var(--gutter); }
.reviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rcard { position: relative; flex: 0 0 min(86vw, 460px); display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem; padding: clamp(1.4rem, 2.4vw, 2.2rem); background: var(--coal); border: 1px solid var(--line); scroll-snap-align: start; transition: border-color .4s, transform .6s var(--ease); }
.rcard:hover { border-color: rgba(143,123,255,.55); transform: translateY(-6px); }
.rcard__q { font-family: var(--ff-display); font-size: 5rem; line-height: .5; color: var(--blood); height: 1.6rem; }
.rcard blockquote { font-size: clamp(.98rem, .9vw + .6rem, 1.12rem); line-height: 1.6; color: #e2ddd3; }
.rcard figcaption b { display: block; letter-spacing: .04em; }
.rcard figcaption small { color: var(--ash); font-size: .76rem; letter-spacing: .08em; }
.rcard--cta { background: var(--blood); border-color: var(--blood); justify-content: center; align-items: flex-start; }
.rcard--cta .rcard__q { color: #fff; font-size: 6rem; height: 2.4rem; }
.rcard--cta blockquote { font-family: var(--ff-display); font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1.05; color: #fff; }
.rcard--cta .btn { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.rcard--cta .btn::before { background: var(--bone); }
.rcard--cta .btn:hover { color: var(--ink); }

/* ---------- Réservation ---------- */
.book { background: radial-gradient(80% 60% at 85% 20%, rgba(143,123,255,.12), transparent 60%), var(--ink); }
.book__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .book__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; } .book__intro { position: sticky; top: 110px; } }
.book__lead { margin-top: 1.6rem; max-width: 44ch; font-size: 1.1rem; color: #d9d4ca; }
.book__lead b { color: #fff; }
.book__facts { margin-top: 1.6rem; display: grid; gap: .7rem; }
.book__facts li { display: flex; gap: .8rem; align-items: baseline; font-weight: 600; }
.book__facts i { flex: none; width: 10px; height: 10px; background: var(--blood); clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); transform: scale(1.4); }
.book__small { margin-top: 1.6rem; font-size: .82rem; color: var(--ash); max-width: 44ch; }

.book__card { position: relative; padding: clamp(1.4rem, 3vw, 2.6rem); background: var(--coal); border: 1px solid var(--line); }
.book__card::before, .book__card::after { content: ''; position: absolute; width: 22px; height: 22px; border: 1px solid var(--stencil); }
.book__card::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.book__card::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.bsteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bsteps i { height: 3px; background: var(--steel); position: relative; overflow: hidden; }
.bsteps i::after { content: ''; position: absolute; inset: 0; background: var(--blood); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.bsteps i.is-on::after { transform: scaleX(1); }
.book__counter { margin-top: .9rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ash); }
.book__counter b { color: var(--bone); }
.bstep { margin-top: 1.4rem; }
.bstep[hidden] { display: none; }
.bstep.is-active { animation: stepIn .7s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.bstep h3 { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; margin-bottom: 1.4rem; outline: none; }
.hint { font-size: .85rem; color: var(--ash); margin-block: .8rem; }
.hint--ok { color: #3ddc84; min-height: 1.4em; margin: .6rem 0 0; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(3, 1fr); } .tiles--row { grid-template-columns: repeat(4, 1fr); } }
.tiles--row { grid-template-columns: repeat(2, 1fr); margin-top: 1.2rem; }
@media (min-width: 560px) { .tiles--row { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.tile span { display: grid; align-content: center; gap: .2rem; min-height: 92px; padding: 1rem; border: 1px solid var(--line); background: var(--ink); transition: border-color .35s, background .35s, transform .5s var(--ease); }
.tile--s span { min-height: 54px; text-align: center; }
.tile b { font-weight: 800; letter-spacing: .02em; font-size: .95rem; }
.tile small { color: var(--ash); font-size: .74rem; }
.tile:hover span { border-color: var(--bone); transform: translateY(-2px); }
.tile input:checked + span { border-color: var(--blood); background: rgba(212,22,46,.14); box-shadow: inset 0 0 0 1px var(--blood); }
.tile input:focus-visible + span { outline: 2px solid var(--stencil); outline-offset: 3px; }

.grid2 { display: grid; gap: 1rem; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field { position: relative; display: grid; gap: .45rem; margin-bottom: 1rem; }
.field > span { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }
.field input, .field select, .field textarea { width: 100%; padding: .9em 1em; font: inherit; color: var(--bone); background: var(--ink); border: 1px solid var(--line); border-radius: 0; outline: none; transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%), linear-gradient(135deg, var(--bone) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4em; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--stencil); box-shadow: 0 0 0 3px rgba(143,123,255,.22); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea, .field.is-bad .select__btn { border-color: var(--blood); }
.field__count { position: absolute; right: .6rem; bottom: .5rem; font-style: normal; font-size: .7rem; color: var(--ash); }

/* Liste déroulante sur mesure (remplace le menu natif sur ordinateur) */
.field .select-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.select { position: relative; }
.select__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9em 1em; font: inherit; text-align: left; color: var(--bone); background: var(--ink); border: 1px solid var(--line); border-radius: 0; cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.select__btn:hover { border-color: var(--bone); }
.select__btn:focus-visible, .select.is-open .select__btn { outline: none; border-color: var(--stencil); box-shadow: 0 0 0 3px rgba(143,123,255,.22); }
.select:not(.has-value) .select__val { color: var(--ash); }
.select__chev { flex: none; width: 9px; height: 9px; border-right: 2px solid var(--bone); border-bottom: 2px solid var(--bone); transform: rotate(45deg) translateY(-3px); transition: transform .45s var(--ease); }
.select.is-open .select__chev { transform: rotate(-135deg) translateY(-3px); }
.select__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: min(300px, 46vh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; background: var(--coal); border: 1px solid var(--stencil); box-shadow: 0 26px 60px rgba(0,0,0,.65); outline: none; transform-origin: top; scrollbar-width: thin; scrollbar-color: var(--steel) transparent; animation: selIn .4s var(--ease); }
.select__list[hidden] { display: none; }
@keyframes selIn { from { opacity: 0; transform: translateY(-8px) scaleY(.96); } to { opacity: 1; transform: none; } }
.select__list li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .72em 1em .72em 1.15em; cursor: pointer; font-size: .95rem; color: #d9d4ca; transition: background .2s, color .2s; }
.select__list li::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; background: var(--blood); transform: scaleY(0); transition: transform .35s var(--ease); }
.select__list li.is-active { background: rgba(143,123,255,.15); color: #fff; }
.select__list li.is-active::before { transform: scaleY(1); }
.select__list li[aria-selected='true'] { color: #fff; font-weight: 700; }
.select__list li[aria-selected='true']::after { content: ''; flex: none; width: 12px; height: 7px; border-left: 2px solid var(--blood); border-bottom: 2px solid var(--blood); transform: rotate(-45deg) translateY(-2px); }

.check { display: flex; gap: .8rem; align-items: center; cursor: pointer; font-size: .95rem; margin-top: .4rem; }
.check input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 22px; height: 22px; margin: 0; cursor: pointer; background: var(--ink); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.check input:hover { border-color: var(--bone); }
.check input:checked { background: var(--blood); border-color: var(--blood); }
.check input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.check input:focus-visible { outline: 2px solid var(--stencil); outline-offset: 3px; }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); padding-bottom: .4rem; }
.cal__month { grid-column: 1 / -1; font-family: var(--ff-display); font-size: 1.5rem; margin-top: .6rem; text-transform: capitalize; }
.cal__day { position: relative; aspect-ratio: 1.25; display: grid; place-items: center; border: 1px solid var(--line); background: var(--ink); cursor: pointer; font-weight: 700; font-size: .92rem; transition: background .3s, border-color .3s, color .3s; padding: 0; }
.cal__day small { position: absolute; bottom: 3px; font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); font-weight: 600; }
.cal__day:hover:not([disabled]) { border-color: var(--bone); }
.cal__day[disabled] { opacity: .22; cursor: not-allowed; }
.cal__day[aria-pressed='true'] { background: var(--blood); border-color: var(--blood); color: #fff; }
.cal__day[aria-pressed='true'] small { color: #fff; }
.cal__pad { visibility: hidden; }

.sms { padding: 1.2rem; border: 1px solid var(--line); border-radius: 28px; background: #0f0f11; }
.sms__bubble { white-space: pre-wrap; background: var(--blood); color: #fff; padding: 1rem 1.1rem; border-radius: 20px 20px 4px 20px; font-size: .9rem; line-height: 1.5; max-height: 340px; overflow: auto; }
.send { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.qr { display: none; margin-top: 1.6rem; padding: 1.2rem; border: 1px dashed rgba(143,123,255,.6); gap: 1.2rem; align-items: center; grid-template-columns: auto 1fr; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) { .qr.is-ready { display: grid; } }
.qr__code { width: 132px; height: 132px; background: #fff; padding: 6px; }
.qr__code svg { width: 100%; height: 100%; }
.qr small { color: var(--ash); }
.form__error { min-height: 1.4em; margin-top: 1.2rem; color: #ff6b7d; font-size: .9rem; font-weight: 600; }
.book__nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: .6rem; }
.book__nav [hidden] { display: none; }
#bookNext { margin-left: auto; }

/* ---------- FAQ ---------- */
.faq { background: var(--coal); }
.faq__grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 6rem; } .faq__grid > div:first-child { position: sticky; top: 120px; align-self: start; } }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq__item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; text-align: left; background: transparent; border: 0; cursor: pointer; font-family: var(--ff-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; }
.faq__item button i { position: relative; flex: none; width: 22px; height: 22px; }
.faq__item button i::before, .faq__item button i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--blood); transition: transform .5s var(--ease); }
.faq__item button i::after { transform: rotate(90deg); }
.faq__item button[aria-expanded='true'] i::after { transform: rotate(0); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__panel > div { overflow: hidden; }
.faq__item button[aria-expanded='true'] + .faq__panel, .faq__panel.is-open { grid-template-rows: 1fr; }
.faq__panel p { padding-bottom: 1.6rem; max-width: 56ch; color: #cfcac1; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: stretch; } }
address { font-style: normal; margin-top: 2rem; }
.big { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.25; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin-top: .6rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--ash); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--bone); font-weight: 800; }
.hours tr.is-today th::before { content: '→ '; color: var(--blood); }
.contact__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.contact__map { position: relative; min-height: 420px; border: 1px solid var(--line); overflow: hidden; background: var(--coal); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.9); }
.map__link { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; padding: .8em 1.3em; background: var(--bone); color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-radius: 999px; transition: background .3s, color .3s; }
.map__link:hover { background: var(--blood); color: #fff; }

/* ---------- Footer ---------- */
.foot { position: relative; padding-top: 5rem; overflow: hidden; border-top: 1px solid var(--line); background: var(--ink); }
.foot__top { position: relative; display: grid; gap: 2.6rem; padding-bottom: 3rem; }
@media (min-width: 800px) { .foot__top { grid-template-columns: repeat(3, 1fr); } }
.foot__title { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ash); margin-bottom: 1rem; }
.foot__links { display: grid; gap: .5rem; }
.foot__links small { color: var(--ash); margin-left: .4em; }
.totop { position: absolute; right: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.3rem; transition: background .4s var(--ease), color .4s, transform .6s var(--ease); }
.totop:hover { background: var(--blood); border-color: var(--blood); color: #fff; transform: translateY(-6px); }
.foot__word { font-family: var(--ff-display); font-size: clamp(4.4rem, 19.5vw, 24rem); line-height: .78; text-align: center; white-space: nowrap; color: var(--bone); padding-top: 1rem; user-select: none; }
.foot__word .w + .w { color: var(--blood); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.6rem 2rem; color: var(--ash); font-size: .78rem; border-top: 1px solid var(--line); margin-top: 2rem; }

/* ---------- Dock mobile ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5000; display: none; gap: .6rem; transform: translateY(160%); transition: transform .7s var(--ease); }
.dock .btn { flex: 1; padding: 1.05em 1em; background-color: rgba(11,11,12,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dock .btn--blood { background-color: var(--blood); }
.dock.is-show { transform: none; }
@media (max-width: 899px) { .dock { display: flex; } .foot__bottom { padding-bottom: 6rem; } }

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