/* ==========================================================================
   Festimaton — feuille de style commune à toutes les pages
   Charte : couleurs du logo, fond « Soirée », Poppins + Caveat (manuscrit).
   ========================================================================== */

/* Polices hébergées sur le site (licence SIL Open Font License) : Poppins et Caveat,
   sous-ensembles latin et latin étendu. Caveat est figée en 700, la seule graisse des textes manuscrits, et son
   latin réduit au latin courant (www-outils/caveat.py, qui donne aussi ces unicode-range : 73 → 48 Ko). */
@font-face {
  font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/caveat-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/caveat-700-latin.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+0178, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+202F, U+20AC;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin.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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin.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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin.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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700-latin.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: "Poppins"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/poppins-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/poppins-800-latin.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;
}

:root {
  /* Couleurs du logo (ordre de l'obturateur, sens horaire) */
  --magenta: #d10f5c;
  --red: #e52421;
  --yellow: #f0d00f;
  --orange: #ee7d0a;
  --green: #92c022;
  --teal: #1e96a5;

  /* Surfaces (style « Soirée ») */
  --bg: #13111a;
  --bg-2: #181522;
  --panel: #1f1b2b;
  --panel-2: #29243a;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f6f3fa;
  --soft: #d9d3e6;
  --muted: #a39cb6;
  --ink: #1b1630;          /* texte sombre sur fond clair (tirages, boutons jaunes) */
  --paper: #fffdf8;

  /* Ruban aux couleurs du logo, de gauche à droite : rose, bleu, vert, orange, jaune, rouge
     (même ordre dans les e-mails et les signatures : COULEURS de reservation-api/festimaton_api/courriels.py) */
  --rainbow: linear-gradient(90deg,
      var(--magenta) 0 16.66%, var(--teal) 0 33.33%, var(--green) 0 50%,
      var(--orange) 0 66.66%, var(--yellow) 0 83.33%, var(--red) 0);
  --grad-warm: linear-gradient(120deg, var(--magenta), var(--orange));
  --grad-cool: linear-gradient(120deg, var(--teal), var(--green));
  /* Les mêmes dégradés sous un texte blanc (boutons principaux, onglet choisi, jours choisis, étape en cours) :
     le blanc tombait à 2,77:1 sur l'orange du logo et à 2,15:1 sur son vert. Assombris, chaque point du dégradé
     donne au moins 4,5:1 au blanc (magenta 5,3, orange profond 5,2, turquoise profond 5,8, vert profond 5,1).
     L'orange et le vert purs restent pour les traits, les bordures et les pictogrammes décoratifs. */
  --orange-deep: #c2410c;
  --teal-deep: #13707c;
  --green-deep: #4d7a0f;
  --grad-warm-deep: linear-gradient(120deg, var(--magenta), var(--orange-deep));
  --grad-cool-deep: linear-gradient(120deg, var(--teal-deep), var(--green-deep));
  /* Contour d'un champ ou d'un choix au repos : au moins 3:1 sur le panneau (1,4.11) ; --line-strong n'en donnait
     que 1,65 */
  --field-line: rgba(255, 255, 255, .4);
  --grad-text: linear-gradient(90deg, var(--magenta), var(--orange) 35%, var(--yellow) 55%, var(--green) 75%, var(--teal));

  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;

  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --header-h: 72px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* pas d'aimantation ici : seul l'accueil a des sections aimantées (home.css) ; sur les autres pages, le seul
     aimant était le bas du pied de page, qui ramenait la page tout en bas dès qu'on s'en approchait */
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1; }

img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
/* Un élément qui reçoit le focus ne s'arrête pas sous l'en-tête fixe (WCAG 2.4.11) : une marge sur chaque élément
   focalisable plutôt que scroll-padding sur html, qui déplacerait aussi les aimants des sections (.snap) et les
   arrivées de « Faites défiler » (hero.js). Les sections, qui peuvent recevoir tabindex="-1", n'en ont pas. */
:where(a[href], button, input, select, textarea, summary, [tabindex]:not(section)) { scroll-margin-top: calc(var(--header-h) + 12px); }
/* Lu par les lecteurs d'écran, invisible à l'écran (annonces : nombre de communes trouvées…) */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
::selection { background: var(--magenta); color: #fff; }

[hidden] { display: none !important; }   /* l'attribut hidden l'emporte sur les display des composants */

.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--ink); font-weight: 600;
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-weight: 700; letter-spacing: -.01em; }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--soft);
}
.eyebrow::before {
  content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--rainbow);
}
.lead { font-size: clamp(1.05rem, 1rem + .45vw, 1.3rem); color: var(--soft); max-width: 60ch; }
.muted { color: var(--muted); }
.hand { font-family: var(--hand); font-weight: 700; letter-spacing: 0; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--panel-2);
  --btn-fg: var(--text);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.5em;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease-out), background-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .1s; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.btn--primary {
  --btn-bg: var(--magenta);
  background-image: var(--grad-warm-deep);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(209, 15, 92, .7);
}
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(238, 125, 10, .75); }
/* reflet qui balaie le bouton au survol */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-110%);
}
.btn--primary:hover::after { transform: translateX(110%); transition: transform .8s var(--ease-out); }

.btn--ghost {
  --btn-bg: transparent;
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.06); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--sm { min-height: 40px; padding: .6em 1.15em; font-size: .92rem; }
.btn--xl {
  min-height: 72px; padding: 1em 2.2em;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.7rem); font-weight: 800; letter-spacing: -.01em;
}

/* Le grand « Réservez-moi ! » : il se trémousse de temps en temps */
.btn--wiggle { animation: wiggle 5s var(--ease-out) 2s infinite; }
.btn--wiggle:hover { animation-play-state: paused; }
@keyframes wiggle {
  0%, 82%, 100% { transform: none; }
  85% { transform: rotate(-4deg) scale(1.04); }
  88% { transform: rotate(3.5deg) scale(1.05); }
  91% { transform: rotate(-2deg) scale(1.03); }
  94% { transform: rotate(1deg); }
}
/* Contraste élevé de Windows (couleurs forcées) : les fonds disparaissent, un bouton sans bordure ressemblait à du
   texte ; il garde un contour aux couleurs du système. Rien ne change hors de ce mode. Après les règles des boutons,
   dont le « border: 0 » l'emporterait sinon. */
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; text-decoration: none; color: var(--text);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .35s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .35s var(--spring); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, transform .45s var(--ease-out);
}
.site-header::before {               /* liseré arc-en-ciel tout en haut */
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--rainbow);
}
.site-header.is-scrolled {
  background: rgba(19, 17, 26, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; transition: transform .4s var(--spring); }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }

.nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 28px); }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav__links a {
  position: relative; display: block; padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: .97rem; text-decoration: none; color: var(--soft);
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px;
  border-radius: 3px; background: var(--rainbow);
}

/* Sélecteur de langue : un lien par autre langue, dans l'en-tête ; reste visible sur mobile, à côté du menu */
.lang {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-decoration: none; color: var(--soft);
  border: 1px solid var(--line); transition: color .2s, background-color .2s, border-color .2s;
}
.lang:hover { color: var(--text); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.lang .i { width: 1.05em; height: 1.05em; }

.burger {
  display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .4s var(--spring), opacity .2s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Menu plein écran (mobile) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: grid; align-content: safe center; gap: 28px;
  overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background:
    radial-gradient(circle at 15% 15%, rgba(209,15,92,.35), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(30,150,165,.35), transparent 45%),
    var(--bg);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility 0s .35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out); }
.mobile-menu ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.mobile-menu li { transform: translateY(18px); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; }
.menu-open .mobile-menu li { transform: none; opacity: 1; }
.menu-open .mobile-menu li:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu li:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) { transition-delay: .15s; }
.mobile-menu ul a {
  display: block; padding: 6px 0; text-decoration: none;
  font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 800; letter-spacing: -.02em;
}
.mobile-menu ul a[aria-current="page"] { color: transparent; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.mobile-menu__foot { display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }
.mobile-menu__foot a { color: var(--soft); font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { height: 38px; }
  .nav__links { display: none; }
  .burger { display: block; }
  .nav .btn { display: none; }
}
@media (min-width: 861px) { .mobile-menu { display: none; } }

/* --------------------------------------------------------------------------
   Sections & « panneaux » aimantés
   -------------------------------------------------------------------------- */
.snap { scroll-snap-align: start; }
/* En haut, plus de place ajoutée pour l'en-tête : il se cache dès qu'on descend, et la section semblait s'afficher
   trop bas (demande du 2026-11-23). La marge garde au moins sa hauteur (+ 8 px), pour qu'il ne couvre pas le titre
   quand il revient (en remontant). Avant : en-tête + 40 à 80 px, soit 128 px sur un écran de 800 px de haut ; 80. */
.panel {
  position: relative;
  padding: max(calc(var(--header-h) + 8px), clamp(40px, 7vh, 80px)) 0 clamp(64px, 10vh, 110px);
}
@media (min-width: 861px) and (min-height: 640px) {
  .panel--full { min-height: 100svh; display: grid; align-content: center; }
}

/* Fond « paillettes » : quelques lueurs colorées, statiques (aucun coût au défilement) */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at var(--g1x, 10%) var(--g1y, 20%), color-mix(in srgb, var(--g1, var(--magenta)) 26%, transparent), transparent 70%),
    radial-gradient(40% 50% at var(--g2x, 90%) var(--g2y, 75%), color-mix(in srgb, var(--g2, var(--teal)) 24%, transparent), transparent 70%);
}

/* Apparition au défilement (uniquement si JS actif) */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), translate .45s var(--spring);
  transition-delay: var(--d, 0s), var(--d, 0s), 0s;
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--pop { transform: translateY(30px) scale(.94); }
.js .reveal--pop.is-in { transform: none; }

/* --------------------------------------------------------------------------
   Cartes & composants génériques
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 60%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
}

/* Icône « anneau » façon flyer : disque clair, anneau coloré, pictogramme gris */
.ring-icon {
  --c: var(--orange);
  position: relative; display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e9e6ef 70%);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.6), inset 0 -3px 6px rgba(0,0,0,.12);
  flex: none;
}
.ring-icon::before {
  content: ""; position: absolute; inset: 9px; border-radius: 50%;
  border: 6px solid var(--c);
}
.ring-icon svg { position: relative; width: 30px; height: 30px; color: #8d8899; }
.ring-icon--sm { width: 60px; height: 60px; }
.ring-icon--sm::before { inset: 6px; border-width: 4px; }
.ring-icon--sm svg { width: 22px; height: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .42em .95em; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 500; color: var(--soft);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--orange)); }

.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c, var(--green)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Téléphone / e-mail révélés au clic (site.js) */
.protected { display: grid; gap: 12px; justify-items: start; }
/* Sans JavaScript, pas de bouton qui ne fait rien : « Afficher le numéro / l'adresse » (un <noscript> donne
   l'adresse e-mail déguisée à la place) et « Vérifier la disponibilité » (le calendrier ne s'affiche pas) */
html:not(.js) [data-protected-show], html:not(.js) [data-check] { display: none; }
.protected__noscript { color: var(--muted); font-size: .92rem; }
.protected__content { display: grid; gap: 14px; width: 100%; }
.protected--inline { display: inline; }
.link-btn {
  border: 0; background: none; padding: 0;
  color: var(--yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Pages intérieures : en-tête de page
   -------------------------------------------------------------------------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(48px, 9vh, 96px)) 0 clamp(36px, 6vh, 64px);
  text-align: center;
}
.page-hero .lead { margin: 18px auto 0; }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 4rem); margin-top: 14px; }

/* --------------------------------------------------------------------------
   Pied de page (réduit, --slim, sur la réservation et les pages légales)
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative; margin-top: auto;
  background: #0f0d15; border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 72px) 0 0;
  font-size: .95rem; color: var(--muted);
  scroll-snap-align: end;      /* le bas de l'accueil aimanté (home.css) : sans lui, la page revenait au dernier bloc */
}
.footer-grid {
  display: grid; gap: 36px 24px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 32ch; }
.site-footer h2 { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--muted); transition: color .2s; }
.site-footer a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  margin-top: 48px; padding: 20px 0 24px; border-top: 1px solid var(--line); font-size: .85rem;
}
.site-footer--slim { padding-top: 0; }
.site-footer--slim .footer-bottom { margin-top: 0; border-top: 0; }
.site-footer::after { content: ""; display: block; height: 6px; background: var(--rainbow); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Tirages (reconstitués en HTML : légendes nettes et modifiables)
   -------------------------------------------------------------------------- */
.print {
  --tilt: 0deg;
  position: relative; display: block;
  transform: rotate(var(--tilt));
  box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 22px 40px -14px rgba(0,0,0,.7);
  transition: transform .55s var(--spring), box-shadow .55s var(--ease-out);
}
.print img { width: 100%; }
.print:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 36px 60px -18px rgba(0,0,0,.8); z-index: 3; }
/* Tirage complet (cadre compris dans l'image) : seul le mot manuscrit est posé par-dessus,
   dans la zone laissée libre en bas du tirage. Taille du texte relative à la largeur du tirage. */
.print--wedding { border-radius: 3px; overflow: hidden; container-type: inline-size; background: #f4ecdc; }
.print--wedding figcaption {
  position: absolute; left: 8%; right: 8%; top: 71%; bottom: 13%;
  display: grid; place-items: center; text-align: center;
  font-family: var(--hand); font-weight: 700; color: #22306e;
  font-size: clamp(12px, 9.5cqw, 28px); line-height: 1.05;
}
.print--wedding .heart { color: var(--red); }
.print--plain { border-radius: 3px; overflow: hidden; }   /* tirage complet, cadre compris dans l'image */
.print--strip { border-radius: 3px; overflow: hidden; background: #f3e6d2; }

/* Annotations manuscrites + flèches (clin d'œil au croquis d'origine) */
.note {
  position: absolute; z-index: 4;
  font-family: var(--hand); font-weight: 700; color: var(--orange);
  font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); line-height: 1; white-space: nowrap;
  pointer-events: none;
}
.note svg { width: 54px; height: 44px; color: var(--orange); }

/* --------------------------------------------------------------------------
   Segmenté (bascule à curseur glissant, comme sur la borne)
   -------------------------------------------------------------------------- */
.segmented {
  --n: 2; --i: 0;
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
}
.segmented::before {
  content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px;
  width: calc((100% - 10px) / var(--n)); border-radius: 999px;
  background: var(--thumb, var(--grad-warm-deep));
  transform: translateX(calc(var(--i) * 100%));
  transition: transform .45s var(--spring), background .3s;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.6);
}
.segmented button {
  position: relative; z-index: 1; border: 0; background: none; border-radius: 999px;
  padding: .7em 1.2em; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: color .25s;
}
.segmented button[aria-selected="true"] { color: #fff; }

/* --------------------------------------------------------------------------
   Accordéon (FAQ)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  transition: background-color .25s, border-color .25s;
}
.faq details[open] { background: var(--panel-2); border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .4s var(--spring), background-color .25s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--magenta); }
.faq .faq__body { padding: 0 24px 22px; color: var(--soft); }
.faq .faq__body p + p { margin-top: .7em; }
.faq .faq__body ul { margin: .5em 0 0; padding-left: 1.3em; }
.faq .faq__body li + li { margin-top: .25em; }

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 54px; padding: 14px 18px;
  border-radius: 16px; border: 1.5px solid var(--field-line);
  background: rgba(255,255,255,.04); color: var(--text);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
/* Textes indicatifs : 5:1 sur le panneau (ils étaient à 2,34:1), l'italique les distingue d'une saisie */
.input::placeholder { color: rgba(255, 255, 255, .55); font-style: italic; opacity: 1; }
.input:hover { border-color: rgba(255,255,255,.6); }
/* Le focus est un contour jaune, comme partout sur le site, à côté de la bordure : celle-ci garde l'état du champ
   (orange : à remplir, rouge : en erreur), et le champ actif se voit dans les trois cas */
.input:focus { outline: 2px solid var(--yellow); outline-offset: 2px; border-color: var(--orange); background: rgba(255,255,255,.07); }
textarea.input { min-height: 130px; resize: vertical; line-height: 1.5; }
.field.has-error .input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229,36,33,.18); }
.field__error { color: #ff8a80; font-size: .9rem; min-height: 0; }
.field__error:empty { display: none; }

/* --------------------------------------------------------------------------
   Contenu de texte long (pages légales)
   -------------------------------------------------------------------------- */
.prose { color: var(--soft); }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); color: var(--text); margin: 2.2em 0 .7em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.1rem; color: var(--text); margin: 1.6em 0 .5em; }
.prose p, .prose ul { margin-bottom: 1em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--yellow); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin-bottom: 1em; }
.prose dt { color: var(--muted); }
.prose dd { margin: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }
.toc { padding: 22px 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.toc ol { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc a { color: var(--soft); text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Mouvement réduit : on coupe animations et transitions décoratives
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
