/* Coraxio — feuille de styles du site.
   Basée sur le système de design « IT Service » (Paper / Cramoisi / Inter),
   avec des nuances vives qui respectent le contraste WCAG AA (4,5:1 pour le texte). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Jetons ---------- */
:root {
  color-scheme: light;

  /* Couleurs du système IT Service, thème clair */
  --paper: #f9f7fb;
  --fog: #f0ecf6;
  --mist: #cdc7d8;
  --ink: #0f0c12;
  --frame: #130f16;
  --chrome: #1e1924;

  /* Nuances : texte secondaire 8,68:1 sur Paper ; cramoisi #c8102e 5,53:1 sur Paper, blanc dessus 5,88:1 */
  --text: var(--ink);
  --text-muted: #4a4555;
  --accent: #c8102e;
  --accent-hover: #a50d26;
  --violet: #8f0b22;        /* blanc dessus 9,9:1 */
  --gradient: linear-gradient(115deg, #c8102e 0%, #8f0b22 100%);
  --on-accent: #ffffff;
  --ember: #c91a2e; /* cramoisi d'origine : uniquement décoratif, jamais pour du texte */
  --danger: #b0102a;
  --border: var(--mist);
  --border-strong: #6b6478; /* 4,9:1 : contours de contrôles */
  --surface: var(--paper);
  --surface-2: var(--fog);
  --surface-raised: #ffffff;
  --focus: #0f0c12;
  --focus-halo: #ffffff;

  /* Surfaces sombres (bande « méthode », pied de page) */
  --dark-surface: var(--frame);
  --dark-text: #f0ecf8;     /* 16,3:1 sur Frame */
  --dark-muted: #b4aec3;    /* 8,83:1 sur Frame */
  --dark-border: #342c3e;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Espacement : grille de 8px */
  --s-4: 0.25rem;
  --s-8: 0.5rem;
  --s-16: 1rem;
  --s-24: 1.5rem;
  --s-32: 2rem;
  --s-48: 3rem;
  --s-72: 4.5rem;
  --s-80: 5rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --max: 75rem; /* 1200px */
  --measure: 56ch; /* ≤ 80 caractères par ligne (WCAG 1.4.8) */
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* Thème sombre : par défaut, sauf si le visiteur choisit le thème clair */
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --text: #f0ecf8;
  --text-muted: #b4aec3;      /* 8,83:1 sur Paper sombre */
  --accent: #ff8a98;          /* 8,43:1 sur Paper sombre */
  --accent-hover: #ffb0ba;
  --on-accent: #130f16;       /* 8,43:1 sur le cramoisi clair */
  --ember: #e84056;
  --danger: #ff8a98;
  --border: #342c3e;
  --border-strong: #8a8299;
  --surface: #130f16;
  --surface-2: #1e1924;
  --surface-raised: #1e1924;
  --focus: #ffffff;
  --focus-halo: #130f16;
  --dark-surface: #0b0810;
  --dark-border: #342c3e;
}
:root[data-theme="light"] { color-scheme: light; }

/* ---------- Base ---------- */
[hidden] { display: none !important; }
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { letter-spacing: -0.03em; }
h2 { letter-spacing: -0.02em; }
h3 { letter-spacing: -0.02em; }

/* WCAG 1.4.8 : espacement entre paragraphes ≥ 1,5 × l'interligne (1,6 × 1,5 = 2,4em) */
p, ul, ol, dl { margin: 0 0 2.4em; }
p:last-child, ul:last-child, ol:last-child, dl:last-child { margin-bottom: 0; }
li + li { margin-top: 0.5em; }
p { text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }

abbr[title] {
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
  cursor: help;
}

img, svg { display: block; max-width: 100%; }

/* Focus clavier : double anneau visible sur toutes les surfaces (WCAG 2.4.13) */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-halo);
  border-radius: 4px;
}
.on-dark :focus-visible {
  outline-color: #ffffff;
  box-shadow: 0 0 0 6px #0b0810;
}
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; box-shadow: none; }

.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;
}

.skip-link {
  position: absolute;
  left: var(--s-16);
  top: var(--s-16);
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--surface);
  border-radius: var(--radius-md);
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Contenus à compléter : visibles pour ne pas être oubliés */
.todo {
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0 0.3em;
  color: var(--text);
  font-style: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Boutons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  min-height: 3rem; /* 48px, au-delà des 44px de WCAG 2.5.5 */
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.button--primary {
  background: var(--gradient);
  background-size: 160% 100%;
  background-position: 0% 0%;
  color: #ffffff;
  box-shadow: 0 8px 24px -10px rgba(200, 16, 46, 0.7);
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.button--primary:hover {
  background-position: 100% 0%;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(200, 16, 46, 0.8);
}
@media (forced-colors: active) {
  .button--primary { background: ButtonText; color: ButtonFace; }
}
.button--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.button--secondary:hover { background: var(--surface-2); }
.button[disabled] { cursor: not-allowed; opacity: 1; }

/* Bouton d'apparence lien, pour les actions secondaires dans un texte */
.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.text-button:hover { text-decoration-thickness: 2px; }

/* ---------- En-tête ---------- */
.site-header { border-bottom: 1px solid var(--border); }
.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand cta" "nav nav";
  align-items: center;
  gap: var(--s-8) var(--s-16);
  padding-block: var(--s-16);
}
@media (min-width: 52rem) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav cta";
    gap: var(--s-32);
  }
}
.site-header .brand { grid-area: brand; }
.site-header .site-nav { grid-area: nav; }
.site-header__cta { grid-area: cta; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
  justify-self: start;
}
/* Logo : lettres dans la couleur du texte, le x et le point du i en cramoisi */
.brand__logo { display: block; width: auto; height: 1.75rem; fill: currentColor; }
.brand__x { fill: #c8102e; }
.site-footer .brand__logo { height: 2rem; }
@media (forced-colors: active) { .brand__logo, .brand__x { fill: CanvasText; } }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s-24);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 52rem) {
  .site-nav ul { justify-content: flex-end; }
}
.site-nav li + li { margin-top: 0; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

/* ---------- Héros : scène sombre et vivante ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem);
  background: #0d0a14;
  color: #f4f0fb;
  /* Jetons redéfinis pour tout ce qui est dans le héros (contrastes mesurés sur #0d0a14) */
  --text: #f4f0fb;            /* 17,5:1 */
  --text-muted: #c4bdd3;      /* 10,8:1 */
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.42);
  --focus: #ffffff;
  --focus-halo: #0d0a14;
  --accent: #ff6b81;          /* 7,2:1 */
  --accent-hover: #ff9aaa;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 28rem at 78% 30%, rgba(200, 16, 46, 0.38), transparent 70%),
    radial-gradient(34rem 24rem at 60% 85%, rgba(200, 16, 46, 0.32), transparent 70%),
    radial-gradient(30rem 20rem at 5% 0%, rgba(200, 16, 46, 0.1), transparent 70%);
}
.motion-ok .hero__glow { animation: glow-drift 18s ease-in-out infinite alternate; }
@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, 3%, 0) scale(1.08); }
}
.hero__grid {
  display: grid;
  gap: var(--s-48);
  align-items: end;
}
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-48); align-items: center; }
}
.hero__title {
  max-width: 18ch;
  font-size: clamp(2.5rem, 6.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero__title span { display: block; }
.hero__lede {
  max-width: 50ch;
  margin-top: var(--s-32);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-16);
  margin-top: var(--s-48);
}
.hero__aside { position: relative; display: grid; }
.hero__visual {
  height: 18rem;
  margin-bottom: calc(var(--s-32) * -1);
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__visual.is-ready { opacity: 1; }
.hero__visual canvas { display: block; width: 100%; height: 100%; }
@media (min-width: 64rem) {
  .hero__visual { height: 26rem; margin-bottom: calc(var(--s-72) * -1); margin-inline: -4rem -2rem; }
}
.hero__aside .hero__panel { position: relative; }
@media print {
  .hero__visual, .hero__glow, .motion-toggle { display: none; }
}
.motion-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 10, 20, 0.6);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.motion-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.motion-toggle svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.motion-toggle__play { display: none; }
.motion-toggle[aria-pressed="true"] .motion-toggle__play { display: inline; fill: currentColor; }
.motion-toggle[aria-pressed="true"] .motion-toggle__pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }
}
.hero__panel { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual { transition: none; }
}
@media print {
  .hero__visual { display: none; }
}
.hero__panel {
  padding: var(--s-32);
  background: rgba(30, 24, 42, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero__panel h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--s-24);
}
.facts-list {
  margin: 0;
  border-top: 1px solid var(--border);
}
.facts-list > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--s-16);
  padding-block: var(--s-16);
  border-bottom: 1px solid var(--border);
}
.facts-list dt { color: var(--text-muted); font-size: 0.875rem; padding-top: 0.15em; }
.facts-list dd { margin: 0; font-weight: 500; }
.hero__panel .text-button { margin-top: var(--s-16); font-weight: 500; }
.hero__panel-intro { margin: 0 0 var(--s-24); color: var(--text-muted); }
.hero__panel-sub { font-size: 1rem; font-weight: 600; margin-bottom: var(--s-8); }
.next-slots { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-8); }
.next-slot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 var(--s-16);
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem var(--s-16);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.next-slot { transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.next-slot:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.08); transform: translateX(2px); }
.next-slot__day { font-weight: 600; }
.next-slot__time { font-variant-numeric: tabular-nums; }
.booking__selected { display: grid; gap: var(--s-4); }
.booking__selected-time { font-weight: 400; }
.booking__selected .text-button { justify-self: start; margin-top: var(--s-8); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 8vw, 5rem); }
.section--fog { background: var(--surface-2); }
.section__head {
  display: grid;
  gap: var(--s-16);
  max-width: 46rem;
  margin-bottom: var(--s-48);
}
.section__title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.section__intro {
  margin: 0;
  max-width: var(--measure);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.6;
}

/* Offres : liste à filets plutôt qu'une grille de cartes identiques */
.offers {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--text);
}
.offers > li { margin: 0; }
.offers > li:last-child .offer { border-bottom: 0; padding-bottom: 0; }
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-16) var(--s-48);
  padding-block: var(--s-32);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 56rem) {
  .offer {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    padding-block: var(--s-48);
  }
}
.offer__title {
  font-size: 1.5rem;
  line-height: 1.25;
}
.offer__for {
  margin: var(--s-8) 0 0;
  color: var(--text-muted);
}
.offer__price {
  margin: var(--s-24) 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.offer__price small {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}
.offer__body p { max-width: var(--measure); }
.offer__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-8) var(--s-32);
  margin: var(--s-24) 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 72rem) {
  .offer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.offer__list li {
  position: relative;
  margin: 0;
  padding-left: 1.25rem;
}
.offer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.5rem;
  height: 1px;
  background: currentColor;
}

.offer__tag {
  display: inline-block;
  margin: 0 0 var(--s-16);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
}
.offer--main .offer__title { font-size: 1.75rem; }
.offers > li:has(.offer--main) .offer,
.offer--main {
  border-bottom: 0;
}
.offer--main {
  margin-block: var(--s-24);
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  border: 2px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 30px 60px -35px rgba(200, 16, 46, 0.55);
}
@media (forced-colors: active) {
  .offer--main { border-color: CanvasText; }
  .offer__tag { border: 1px solid CanvasText; }
}
.offers__note {
  max-width: var(--measure);
  margin: var(--s-32) 0 0;
  color: var(--text-muted);
}

/* Périmètre : trois colonnes à filets */
.scope {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 var(--s-48);
  border-top: 1px solid var(--text);
}
@media (min-width: 48rem) {
  .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 80rem) {
  .scope { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.scope > div {
  padding-block: var(--s-24);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 80rem) {
  .scope > div { border-bottom: 0; }
}
.scope h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-16);
}
.scope .offer__list { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.scope p { max-width: var(--measure); color: var(--text-muted); }

.offer__img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin-top: var(--s-24);
  margin-left: -1rem;
}
.motion-ok .offer__img { animation: float 6s ease-in-out infinite; }
.motion-ok .offers > li:nth-child(2) .offer__img { animation-delay: -2s; }
.motion-ok .offers > li:nth-child(3) .offer__img { animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.step__icon {
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  margin-bottom: var(--s-16);
  border-radius: 14px;
  background: var(--gradient);
  box-shadow: 0 10px 30px -10px rgba(200, 16, 46, 0.9);
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (forced-colors: active) {
  .step__icon { stroke: CanvasText; }
}

/* Méthode : bande sombre */
.method {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(36rem 20rem at 90% 0%, rgba(200, 16, 46, 0.25), transparent 70%),
    radial-gradient(30rem 18rem at 0% 100%, rgba(200, 16, 46, 0.22), transparent 70%),
    var(--dark-surface);
  color: var(--dark-text);
}
:root:not([data-theme="light"]) .method { border-block: 1px solid var(--dark-border); }
.method .section__intro { color: var(--dark-muted); }
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--dark-border);
}
@media (min-width: 40rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-32); }
}
@media (min-width: 64rem) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
}
.steps > li {
  counter-increment: step;
  margin: 0;
  padding-block: var(--s-32);
  border-bottom: 1px solid var(--dark-border);
}
@media (min-width: 64rem) {
  .steps > li { border-bottom: 0; padding-right: var(--s-32); }
  .steps > li + li { padding-left: var(--s-32); border-left: 1px solid var(--dark-border); }
}
.steps > li::before {
  content: counter(step);
  display: block;
  margin-bottom: var(--s-16);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ff8a98;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.25rem; margin-bottom: var(--s-8); }
.steps p { color: var(--dark-muted); }

/* Pourquoi Coraxio : liste à filets sur deux colonnes */
.reasons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: var(--s-48);
  margin: 0;
  border-top: 1px solid var(--text);
}
@media (min-width: 48rem) {
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.reasons > div {
  padding-block: var(--s-24);
  border-bottom: 1px solid var(--border);
}
.reasons dt {
  margin-bottom: var(--s-8);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.reasons dd {
  margin: 0;
  max-width: 46ch;
  color: var(--text-muted);
}

/* ---------- Prise de rendez-vous ---------- */
.booking-layout {
  display: grid;
  gap: var(--s-48);
}
.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
@media (min-width: 60rem) {
  .booking { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); }
  .booking--pick { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 18rem); }
}
.booking__info,
.booking__calendar,
.booking__slots,
.booking__form,
.booking__done {
  padding: var(--s-24);
}
@media (min-width: 40rem) {
  .booking__info,
  .booking__calendar,
  .booking__slots,
  .booking__form,
  .booking__done { padding: var(--s-32); }
}
.booking__info { border-bottom: 1px solid var(--border); }
.booking__calendar { border-bottom: 1px solid var(--border); }
@media (min-width: 60rem) {
  .booking__info { border-bottom: 0; border-right: 1px solid var(--border); }
  .booking__calendar { border-bottom: 0; }
  .booking--pick .booking__calendar { border-right: 1px solid var(--border); }
}
.booking__owner {
  margin: 0 0 var(--s-8);
  color: var(--text-muted);
  font-weight: 500;
}
.booking__name {
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: var(--s-24);
}
.booking__meta {
  margin: 0;
  padding: 0;
  list-style: none;
}
.booking__meta li {
  display: flex;
  gap: var(--s-8);
  margin: 0 0 var(--s-8);
  color: var(--text-muted);
}
.booking__meta svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.booking__selected {
  margin-top: var(--s-24);
  padding-top: var(--s-24);
  border-top: 1px solid var(--border);
  font-weight: 600;
}
.booking__selected:empty { display: none; }

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  margin-bottom: var(--s-16);
}
.cal__title {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: capitalize;
}
.cal__nav { display: flex; gap: var(--s-8); }
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.icon-button:hover { background: var(--surface-2); }
.icon-button[aria-disabled="true"] { cursor: not-allowed; opacity: 0.38; }
.icon-button[aria-disabled="true"]:hover { background: transparent; }
.icon-button svg {
  width: 1.25rem; height: 1.25rem;
  stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.cal__grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.cal__grid abbr { text-decoration: none; }
.cal__grid th {
  padding: 0 0 var(--s-8);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  border: 0;
  background: none;
}
.cal__grid td {
  padding: 2px;
  text-align: center;
  border: 0;
}
.cal__day {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 2.75rem;
  aspect-ratio: 1;
  max-height: 3.5rem;
  margin-inline: auto;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-variant-numeric: tabular-nums;
  cursor: default;
}
.cal__day[data-available] {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.cal__day[data-available]:hover { border-color: var(--text); }
.cal__day[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--surface);
}
.cal__day[aria-current="date"]::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  translate: -50% 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.cal__hint {
  margin: var(--s-16) 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.slots { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.slots__title {
  display: block;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--s-16);
}
.slots__empty { color: var(--text-muted); }
.slots__group + .slots__group { margin-top: var(--s-24); }
.slots__label {
  margin: 0 0 var(--s-8);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.slots__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: var(--s-8);
}
@media (min-width: 60rem) {
  .slots__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.slot { position: relative; }
.slot input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.slot label {
  display: grid;
  place-items: center;
  min-height: 3rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.slot input:hover + label { background: var(--surface-2); }
.slot input:checked + label {
  background: var(--text);
  border-color: var(--text);
  color: var(--surface);
}
.slot input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-halo);
}
.booking__slots .form-actions { margin-top: var(--s-24); }
.slots__hint { margin: var(--s-8) 0 0; color: var(--danger); font-weight: 600; }
.slots__hint:empty { display: none; }

/* Formulaire */
.booking__form h3,
.booking__done h3 {
  font-size: 1.5rem;
  margin-bottom: var(--s-8);
}
.booking__done h3 { margin-bottom: var(--s-16); }
.form-intro { color: var(--text-muted); margin-bottom: var(--s-32); }
.field { margin: 0 0 var(--s-24); }
.field label,
.field legend {
  display: block;
  padding: 0;
  margin-bottom: var(--s-8);
  font-weight: 600;
}
.field .hint {
  display: block;
  margin: -0.25rem 0 var(--s-8);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  display: block;
  width: 100%;
  max-width: 32rem;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  letter-spacing: inherit;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: var(--text); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border: 2px solid var(--danger); }
.field fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.choices {
  display: grid;
  gap: var(--s-4);
}
.choices label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}
.choices input {
  flex: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  border: 2px solid var(--text);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}
.choices input::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--text);
  scale: 0;
}
.choices input:checked::before { scale: 1; }
.choices input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.choices input[aria-invalid="true"] { border-color: var(--danger); }
.optional { font-weight: 400; color: var(--text-muted); }
.field-error {
  max-width: 32rem;
  display: flex;
  gap: var(--s-8);
  margin: var(--s-8) 0 0;
  color: var(--danger);
  font-weight: 600;
}
.field-error:empty { display: none; }
.error-summary {
  max-width: 32rem;
  margin: 0 0 var(--s-32);
  padding: var(--s-24);
  border: 2px solid var(--danger);
  border-radius: var(--radius-md);
}
.error-summary h4 { font-size: 1.125rem; margin-bottom: var(--s-8); }
.error-summary a { color: var(--danger); font-weight: 600; }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-16) var(--s-24);
  margin-top: var(--s-32);
}
.form-note {
  margin: var(--s-24) 0 0;
  max-width: var(--measure);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.booking__done p { max-width: var(--measure); }
.notice {
  padding: var(--s-24);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}
.notice--error { border: 2px solid var(--danger); }

.contact-alt {
  display: grid;
  gap: var(--s-8) var(--s-32);
  margin: 0;
}
@media (min-width: 48rem) {
  .contact-alt { grid-template-columns: auto auto minmax(0, 1fr); }
}
.contact-alt dt { font-size: 0.875rem; color: var(--text-muted); }
.contact-alt dd { margin: 0 0 var(--s-16); font-weight: 500; }
.legal dl.facts dd a,
.contact-alt a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--dark-surface);
  color: var(--dark-text);
  padding-block: var(--s-72) var(--s-48);
}
:root:not([data-theme="light"]) .site-footer { border-top: 1px solid var(--dark-border); }
.site-footer__grid {
  display: grid;
  gap: var(--s-32) var(--s-48);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding-bottom: var(--s-48);
  border-bottom: 1px solid var(--dark-border);
}
@media (min-width: 48rem) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.site-footer .brand { color: var(--dark-text); margin-bottom: var(--s-8); }
.site-footer p,
.site-footer address { color: var(--dark-muted); font-style: normal; }
.site-footer address { line-height: 1.8; }
.site-footer h2 {
  display: flex;
  align-items: center;
  min-height: 2.75rem; /* aligné sur la hauteur du logo */
  margin-bottom: var(--s-8);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.6;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li + li { margin-top: 0; }
.footer-links a,
.footer-links button,
.site-footer address a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dark-muted);
  font: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.footer-links a:hover,
.footer-links button:hover,
.site-footer address a:hover { color: var(--dark-text); text-decoration-thickness: 2px; }
.footer-links [aria-current] { color: var(--dark-text); }
.site-footer__legal {
  padding-top: var(--s-24);
  color: var(--dark-muted);
  font-size: 0.875rem;
}
.site-footer__legal p { margin: 0; }

/* ---------- Pages légales ---------- */
.legal { padding-block: clamp(3rem, 8vw, 5rem); }
.legal__inner { max-width: 46rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-8);
  margin: 0 0 var(--s-32);
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}
.breadcrumb li + li { margin-top: 0; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--s-8);
}
.breadcrumb a,
.breadcrumb [aria-current] {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.legal h1 {
  font-size: clamp(1.75rem, 7vw, 3rem);
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.legal__updated {
  margin: var(--s-16) 0 var(--s-48);
  color: var(--text-muted);
}
.summary {
  margin: 0 0 var(--s-48);
  padding: var(--s-24) var(--s-32);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.legal .summary h2 {
  margin: 0 0 var(--s-16);
  padding: 0;
  border: 0;
  font-size: 1.25rem;
}
.summary ul { margin: 0; padding-left: 1.25rem; }
.legal h2 {
  margin: var(--s-48) 0 var(--s-16);
  padding-top: var(--s-32);
  border-top: 1px solid var(--border);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.legal h3 {
  margin: var(--s-32) 0 var(--s-8);
  font-size: 1.25rem;
}
.legal p, .legal li { max-width: var(--measure); }
.legal ul { padding-left: 1.25rem; }
.legal dl.facts {
  margin: 0 0 2.4em;
  border-top: 1px solid var(--border);
}
.legal dl.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4) var(--s-24);
  padding-block: var(--s-16);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 40rem) {
  .legal dl.facts > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}
.legal dl.facts dt { color: var(--text-muted); font-size: 0.875rem; padding-top: 0.15em; }
.legal dl.facts dd { margin: 0; overflow-wrap: anywhere; }

.table-wrap {
  overflow-x: auto;
  margin: 0 0 2.4em;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
table {
  width: 100%;
  border-collapse: collapse;
  line-height: 1.5;
}
caption {
  padding: var(--s-16) var(--s-16) 0;
  text-align: left;
  font-weight: 600;
}
th, td {
  padding: var(--s-16);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
thead th { background: var(--surface-2); font-weight: 600; }
tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }

/* ---------- Consentement (bandeau + panneau) ---------- */
.consent-banner {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.consent-banner[hidden] { display: none; }
.consent-banner__inner {
  display: grid;
  gap: var(--s-16) var(--s-32);
  padding-block: var(--s-16);
}
@media (min-width: 60rem) {
  .consent-banner__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}
.consent-banner h2 {
  margin-bottom: var(--s-4);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.consent-banner p {
  max-width: 60ch;
  margin: 0;
  color: var(--text-muted);
}
.consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-8);
}
.consent-actions .button:last-child { grid-column: 1 / -1; }
@media (min-width: 40rem) {
  .consent-actions { display: flex; flex-wrap: wrap; }
}
.consent-dialog {
  width: min(40rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
}
.consent-dialog::backdrop { background: rgb(15 12 18 / 0.6); }
.consent-dialog__body { padding: var(--s-32); }
.consent-dialog h2 {
  font-size: 1.5rem;
  margin-bottom: var(--s-16);
}
.consent-dialog__intro { color: var(--text-muted); }
.consent-category {
  margin: 0 0 var(--s-16);
  padding: var(--s-24);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.consent-category legend {
  float: left;
  width: 100%;
  margin: 0 0 var(--s-8);
  padding: 0;
  font-weight: 600;
}
.consent-category legend + * { clear: both; }
.consent-category p { color: var(--text-muted); margin-bottom: var(--s-16); }
.consent-choice {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8) var(--s-24);
}
.consent-choice label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  cursor: pointer;
}
.consent-choice input {
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  accent-color: var(--accent);
}
.consent-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
  margin-top: var(--s-24);
}

/* Mode contraste élevé de Windows */
@media (max-width: 24rem) {
  .site-header__cta { padding-inline: 0.75rem; font-size: 0.875rem; }
  .brand { font-size: 1.125rem; }
}
body:has(> main.notfound) { min-height: 100dvh; display: flex; flex-direction: column; }
body:has(> main.notfound) > main { flex: 1; }

@media (forced-colors: active) {
  .icon-button[aria-disabled="true"], .cal__day:not([data-available]) { color: GrayText; }
  .choices input::before { forced-color-adjust: none; background: CanvasText; }
  .button, .icon-button, .slot label, .next-slot, .cal__day[data-available] { border: 1px solid ButtonText; }
  .cal__day[aria-pressed="true"], .slot input:checked + label { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .todo { border-color: CanvasText; }
}

@media print {
  .consent-banner, .consent-dialog, .skip-link, .site-nav, .site-header__cta { display: none !important; }
  body { background: #fff; color: #000; }
  .method, .site-footer { background: #fff; color: #000; }
}
.booking-layout .section__head { margin-bottom: 0; }

/* ---------- Bandeau défilant des services ---------- */
.ticker {
  overflow: hidden;
  padding-block: var(--s-16);
  background: var(--gradient);
  color: #ffffff;
}
.ticker__track { display: flex; width: max-content; }
.ticker__list {
  display: flex;
  flex: none;
  gap: var(--s-48);
  margin: 0;
  padding: 0 var(--s-48) 0 0;
  list-style: none;
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ticker__list li { display: inline-flex; align-items: center; gap: var(--s-16); }
.ticker__list li + li { margin-left: 0; }
.ticker__icon {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.motion-ok .ticker__track { animation: ticker 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__list[aria-hidden="true"] { display: none; }
.motion-ok .ticker__list[aria-hidden="true"] { display: flex; }
/* Sans animation (ou en pause), la liste s'affiche en entier sur plusieurs lignes */
html:not(.motion-ok) .ticker__track,
.motion-paused .ticker__track { width: auto; animation: none !important; transform: none; }
html:not(.motion-ok) .ticker__list,
.motion-paused .ticker__list { flex: 1; flex-wrap: wrap; white-space: normal; row-gap: var(--s-8); padding-inline: var(--gutter); }
.motion-paused .ticker__list[aria-hidden="true"] { display: none; }
@media (forced-colors: active) {
  .ticker { border-block: 1px solid CanvasText; }
}

/* ---------- Apparitions au défilement ---------- */
.motion-ok [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion-ok [data-reveal].is-visible { opacity: 1; transform: none; }
.motion-ok .hero [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.motion-ok .hero [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.motion-ok .steps[data-reveal] > li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.motion-ok .steps[data-reveal].is-visible > li { opacity: 1; transform: none; }
.motion-ok .steps > li:nth-child(2) { transition-delay: 0.12s; }
.motion-ok .steps > li:nth-child(3) { transition-delay: 0.24s; }
.motion-ok .steps > li:nth-child(4) { transition-delay: 0.36s; }

/* Bouton pause : tout s'arrête */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }

/* ---------- Illustrations 3D dans les en-têtes de section ---------- */
.section__art {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: auto;
  margin-top: var(--s-16);
}
@media (min-width: 56rem) {
  .section__head--art {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
    align-items: center;
    column-gap: var(--s-48);
    max-width: none;
  }
  .section__head--art > :not(.section__art, .section__photo) { grid-column: 1; }
  .section__head--art .section__photo { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .section__head--art .section__art { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; max-width: none; }
}
.booking-layout .section__head--art { grid-template-columns: minmax(0, 1fr); }
.booking-layout .section__head--art .section__photo { grid-column: auto; grid-row: auto; max-width: 26rem; margin-top: var(--s-16); }
.motion-ok .section__art { animation: float 7s ease-in-out infinite; }

/* ---------- Photos ---------- */
.section__photo,
.photo-banner__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(43, 20, 90, 0.55);
}
.section__photo { margin-top: var(--s-16); aspect-ratio: 4 / 3; object-fit: cover; }
.photo-banner { margin: 0 0 var(--s-48); }
.photo-banner__img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 40rem) {
  .photo-banner__img { aspect-ratio: 4 / 3; }
}
.method .section__photo { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08); }

/* ---------- Choix du thème ---------- */
.site-header__actions {
  grid-area: cta;
  display: flex;
  align-items: center;
  gap: var(--s-8);
  justify-self: end;
}
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__sun { display: none; }
.theme-toggle[aria-pressed="false"] .theme-toggle__sun { display: inline; }
.theme-toggle[aria-pressed="false"] .theme-toggle__moon { display: none; }

/* ---------- Animations de texte ---------- */
/* Titre de l'accueil : chaque ligne monte depuis un masque */
.motion-ok .hero__title > span {
  animation: line-up 1s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
.motion-ok .hero__title > span + span { animation-delay: 0.15s; }
@keyframes line-up {
  from { clip-path: inset(0 0 100% 0); transform: translateY(0.4em); opacity: 0; }
  to { clip-path: inset(-0.2em -0.2em -0.3em -0.2em); transform: none; opacity: 1; }
}

/* Mot qui change dans l'accueil */
.hero__rotator {
  margin-top: var(--s-24);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  color: var(--text);
}
.rotator {
  display: inline-grid;
  vertical-align: bottom;
  color: var(--accent);
}
.rotator > span { grid-area: 1 / 1; }
.rotator > span:not(:first-child) { visibility: hidden; }
.rotator.is-ready > span {
  visibility: visible;
  opacity: 0;
  transform: translateY(0.6em);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.rotator.is-ready > span.is-active { opacity: 1; transform: none; }
.rotator.is-ready > span.is-leaving { opacity: 0; transform: translateY(-0.6em); }

/* Chiffres clés */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: var(--s-16) var(--s-48);
  margin: var(--s-48) 0 0;
}
.hero__stats > div { display: flex; flex-direction: column-reverse; gap: var(--s-4); }
.hero__stats dt { font-size: 0.875rem; color: var(--text-muted); }
.hero__stats dd { margin: 0; font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 30rem) {
  .hero__stats { grid-template-columns: minmax(0, 1fr); }
}

/* Titres de section : chaque mot monte depuis un masque */
.section__title .w {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  vertical-align: top;
}
.section__title .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 70ms + 0.05s);
}
.is-visible .section__title .w > span,
.motion-paused .section__title .w > span { transform: none; }

/* Lien d'action sous chaque offre */
.offer__cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: var(--s-16);
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.offer__cta:hover { color: var(--accent-hover); }

/* ---------- Avantages : cartes illustrées ---------- */
.perks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-16);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 44rem) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-24); } }
.perk {
  position: relative;
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  padding: var(--s-24);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-raised);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.perk:hover {
  transform: translateY(-4px);
  border-color: var(--perk, #c8102e);
  box-shadow: 0 24px 50px -30px var(--perk, #c8102e);
}
.perk__icon {
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  margin-bottom: var(--s-16);
  border-radius: 14px;
  background: var(--perk, #c8102e);
  box-shadow: 0 10px 26px -10px var(--perk, #c8102e);
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s cubic-bezier(.3,1.6,.5,1);
}
.perk:hover .perk__icon { transform: rotate(-8deg) scale(1.08); }
.perk:nth-child(4n+1) { --perk: #c8102e; }
.perk:nth-child(4n+2) { --perk: #a50d26; }
.perk:nth-child(4n+3) { --perk: #8f0b22; }
.perk:nth-child(4n+4) { --perk: #c8102e; }
.perk__title {
  margin-bottom: var(--s-8);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.perks > li { margin: 0; }
.perk p { margin: 0; color: var(--text-muted); }
.motion-ok .perks[data-reveal] > li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.motion-ok .perks[data-reveal].is-visible > li { opacity: 1; transform: none; }
.motion-ok .perks[data-reveal].is-visible > li:hover { transform: translateY(-4px); }
.motion-ok .perks[data-reveal] > li:nth-child(2) { transition-delay: 0.08s; }
.motion-ok .perks[data-reveal] > li:nth-child(3) { transition-delay: 0.16s; }
.motion-ok .perks[data-reveal] > li:nth-child(4) { transition-delay: 0.24s; }
.motion-ok .perks[data-reveal] > li:nth-child(5) { transition-delay: 0.32s; }
.motion-ok .perks[data-reveal] > li:nth-child(6) { transition-delay: 0.4s; }
.motion-ok .perks[data-reveal].is-visible > li:hover { transition-delay: 0s; }
@media (forced-colors: active) { .perk__icon { stroke: CanvasText; border: 1px solid CanvasText; } }

/* ---------- FAQ : questions dépliables ---------- */
.faq { display: grid; gap: var(--s-8); }
@media (min-width: 64rem) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--s-16); } }
.faq__item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-raised);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item:hover { border-color: var(--border-strong); }
.faq__item[open] {
  border-color: transparent;
  background:
    linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 24px 50px -34px rgba(200, 16, 46, 0.8);
}
.faq__item summary {
  display: flex;
  align-items: center;
  gap: var(--s-16);
  padding: var(--s-16) var(--s-24) var(--s-16) var(--s-16);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 16px;
}
.faq__icon {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.6rem;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: background 0.3s ease, color 0.3s ease;
}
.faq__item[open] .faq__icon,
.faq__item summary:hover .faq__icon { background: var(--gradient); color: #ffffff; }
.faq__q { flex: 1; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.faq__toggle {
  position: relative;
  flex: none;
  width: 1rem;
  height: 1rem;
}
.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s ease;
}
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle::after { transform: rotate(0deg); }
.faq__a { padding: 0 var(--s-24) var(--s-24) calc(var(--s-16) + 2.5rem + var(--s-16)); }
.faq__a p { margin: 0; max-width: 52ch; color: var(--text-muted); }
@media (max-width: 30rem) { .faq__a { padding-left: var(--s-16); } }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.motion-ok .faq__item[open] .faq__a { animation: faq-open 0.35s ease; }
.faq__more { margin: var(--s-32) 0 0; color: var(--text-muted); font-size: 1.05rem; }
.faq__more a { font-weight: 600; }
@media (forced-colors: active) {
  .faq__item[open] { border-color: CanvasText; }
  .faq__icon { border: 1px solid CanvasText; }
}

/* ---------- Réservation : plus de couleur ---------- */
.booking {
  position: relative;
  border: 2px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 40px 80px -50px rgba(200, 16, 46, 0.9);
}
.booking__info {
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(18rem 14rem at 0% 0%, rgba(200, 16, 46, 0.16), transparent 70%),
    radial-gradient(16rem 14rem at 100% 100%, rgba(200, 16, 46, 0.16), transparent 70%);
}
@media (min-width: 60rem) { .booking__info { border-radius: 22px 0 0 22px; } }
.booking__badge {
  display: inline-block;
  margin: calc(var(--s-8) * -1) 0 var(--s-24);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
}
.booking__meta li { align-items: center; gap: var(--s-16); margin-bottom: var(--s-16); }
.booking__meta svg {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0.5rem;
  border-radius: 10px;
  color: #ffffff;
  stroke-width: 1.8;
}
.booking__meta li:nth-child(1) svg { background: #c8102e; }
.booking__meta li:nth-child(2) svg { background: #7a0a1d; }
.booking__meta li:nth-child(3) svg { background: #4a4555; }
.cal__day[data-available] {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cal__day[data-available]:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 22px -14px var(--accent);
}
.cal__day[aria-pressed="true"],
.cal__day[aria-pressed="true"]:hover {
  border-color: transparent;
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 12px 26px -12px rgba(200, 16, 46, 0.9);
}
.cal__day[aria-current="date"]::after { background: var(--accent); }
.slot label { transition: border-color 0.2s ease, transform 0.2s ease; }
.slot input:hover + label { border-color: var(--accent); transform: translateY(-1px); }
.slot input:checked + label {
  border-color: transparent;
  background: var(--gradient);
  color: #ffffff;
}
.slots__empty {
  display: grid;
  justify-items: start;
  gap: var(--s-16);
}
.slots__empty::before {
  content: "";
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / 1.75rem no-repeat,
    var(--gradient);
  box-shadow: 0 14px 30px -14px rgba(200, 16, 46, 0.9);
}
.motion-ok .slots__empty::before { animation: float 5s ease-in-out infinite; }
@media (forced-colors: active) {
  .booking { border-color: CanvasText; }
  .booking__meta svg { color: CanvasText; border: 1px solid CanvasText; }
  .slots__empty::before { display: none; }
}

/* ---------- Grande phrase qui s'allume au défilement ---------- */
:root { --dim: #857e98; }  /* 3,63:1 sur Paper : texte large */
:root:not([data-theme="light"]) { --dim: #6e6680; }  /* 3,5:1 sur Paper sombre */
.statement { padding-block: clamp(4rem, 12vw, 9rem); }
.statement__text {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(2rem, 5.6vw, 4.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.statement__text .sw { transition: color 0.35s ease; }
.motion-ok .statement__text .sw { color: var(--dim); }
.motion-ok .statement__text .sw.is-lit { color: var(--text); }
.motion-paused .statement__text .sw { color: var(--text); }

/* ---------- Périmètre : pastilles et barre de paiement ---------- */
.scope2 {
  display: grid;
  gap: var(--s-32);
  padding-top: var(--s-32);
  border-top: 1px solid var(--border);
}
@media (min-width: 56rem) { .scope2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-48); } }
.scope2 h3 { font-size: 1.25rem; margin-bottom: var(--s-16); letter-spacing: -0.015em; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-8); margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  padding: 0.5rem 0.95rem 0.5rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  font-weight: 500;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.chip:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.chip svg {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0.3rem;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip--in svg { background: var(--gradient); color: #ffffff; }
.chip--opt { color: var(--text-muted); }
.chip--opt svg { background: var(--surface-2); color: var(--text); }
.motion-ok .chips li { opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.3,1.4,.5,1); }
.motion-ok .is-visible .chips li { opacity: 1; transform: none; }
.motion-ok .chips li:nth-child(2) { transition-delay: 0.06s; }
.motion-ok .chips li:nth-child(3) { transition-delay: 0.12s; }
.motion-ok .chips li:nth-child(4) { transition-delay: 0.18s; }
.motion-ok .chips li:nth-child(5) { transition-delay: 0.24s; }
.motion-ok .chips li:nth-child(6) { transition-delay: 0.3s; }

.pay { margin-top: var(--s-48); }
.pay__title { font-size: 1.25rem; margin-bottom: var(--s-16); letter-spacing: -0.015em; }
.pay__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pay__bar li {
  position: relative;
  display: grid;
  align-content: end;
  gap: 2px;
  min-height: 6.5rem;
  margin: 0;
  padding: var(--s-16);
  flex: 4 1 11rem;
  border-radius: 10px;
  color: #ffffff;
}
.pay__bar li:last-child { flex: 2 1 8rem; }
.pay__bar li:first-child { border-radius: 18px 10px 10px 18px; background: #c8102e; }
.pay__bar li:nth-child(2) { background: #a50d26; }
.pay__bar li:last-child { border-radius: 10px 18px 18px 10px; background: #7a0a1d; }
.pay__bar strong { font-size: clamp(1.5rem, 3.5vw, 2.25rem); line-height: 1; letter-spacing: -0.03em; }
.pay__bar span { font-size: 0.9rem; line-height: 1.3; }
.motion-ok .pay__bar li { clip-path: inset(0 100% 0 0 round 10px); transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1); }
.motion-ok .pay.is-visible .pay__bar li { clip-path: inset(0 0 0 0 round 0); }
.motion-ok .pay__bar li:nth-child(2) { transition-delay: 0.35s; }
.motion-ok .pay__bar li:nth-child(3) { transition-delay: 0.7s; }
@media (max-width: 34rem) {
  .pay__bar li { flex-basis: 100%; min-height: 0; grid-template-columns: auto 1fr; align-items: baseline; gap: var(--s-16); border-radius: 12px !important; }
}
.pay__note { max-width: var(--measure); margin: var(--s-16) 0 0; color: var(--text-muted); }
@media (forced-colors: active) {
  .pay__bar li, .chip svg { border: 1px solid CanvasText; }
}

/* ---------- Parallaxe des photos ---------- */
.photo-banner { overflow: clip; border-radius: 20px; }
.motion-ok .photo-banner__img { scale: 1.12; }
[data-parallax] { will-change: translate; }

/* ---------- Boutons : remplissage au survol ---------- */
.motion-ok .button { position: relative; overflow: hidden; isolation: isolate; }
.motion-ok .button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: currentColor;
  opacity: 0.12;
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.motion-ok .button:hover::after { transform: none; }
