/* =========================================================================
   commerces-ne — refonte
   Gilroy · trame des cinq motifs · teal #336666 / slate #3A5962 / sage #98BEAE
   ========================================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "Gilroy"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Gilroy-Regular.woff2") format("woff2"); }
@font-face { font-family: "Gilroy"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Gilroy-Medium.woff2") format("woff2"); }
@font-face { font-family: "Gilroy"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Gilroy-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Gilroy"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Gilroy-Bold.woff2") format("woff2"); }
@font-face { font-family: "Gilroy"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/Gilroy-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Gilroy"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/Gilroy-Heavy.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* surfaces — neutres teintés sauge, jamais de blanc/noir purs */
  --paper: #f4f6f1;
  --paper-2: #e7efe9;
  --card: #fff;
  --deep: #163033;
  --deep-2: #1d3b3f;

  /* encre */
  --ink: #14292d;
  --ink-2: #435a5e;
  --ink-3: #6b8084;
  --on-deep: #eef5f1;
  --on-deep-2: #a9c7bb;

  /* marque */
  --teal: #336666;
  --slate: #3a5962;
  --sage: #98beae;
  --sage-2: #c4dbcf;

  /* les cinq motifs */
  --eau: #3399cc;
  --epi: #ff6666;
  --sapin: #00c599;
  --vigne: #996699;
  --fleur: #ff9933;

  --line: rgb(20 41 45 / 0.12);
  --line-strong: rgb(20 41 45 / 0.24);
  --line-light: rgb(238 245 241 / 0.16);

  /* rythme */
  --pad: clamp(16px, 4vw, 64px);
  --gutter: clamp(16px, 2vw, 32px);
  --maxw: 1480px;
  --hd-h: 88px;
  --r-l: clamp(20px, 2.2vw, 32px);
  --r-m: 18px;
  --r-s: 12px;

  /* mouvement (Emil Kowalski : ease-out fort pour entrer, jamais ease-in pour l'UI) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --shadow-card: 0 1px 0 rgb(20 41 45 / 0.04), 0 30px 80px -40px rgb(20 41 45 / 0.28);
  /* surfaces : fond blanc + ombre diffuse, jamais de liseré d'une couleur */
  --shadow-soft: 0 1px 2px rgb(20 41 45 / 0.04), 0 8px 24px -10px rgb(20 41 45 / 0.16);
  --shadow-soft-hi: 0 2px 4px rgb(20 41 45 / 0.05), 0 16px 34px -14px rgb(20 41 45 / 0.24);
  --shadow-lift: 0 1px 2px rgb(20 41 45 / 0.04), 0 26px 60px -30px rgb(20 41 45 / 0.3);
  --shadow-lift-hi: 0 2px 4px rgb(20 41 45 / 0.05), 0 32px 70px -30px rgb(20 41 45 / 0.4);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Gilroy", "Questrial", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--teal); color: var(--on-deep); }

:focus-visible { outline: 2px solid var(--eau); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 0.75rem 1rem; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-weight: 700; text-decoration: none; transform: translateY(-160%);
  transition: transform 0.25s var(--ease-out);
}
.skip:focus { transform: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

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

/* ---------- Type ---------- */
.h-display {
  font-size: clamp(2.6rem, 6.3vw, 7rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.75rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }

/* le tiret du logo devient le marqueur de section */
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--sage); }

/* SplitText masks */
/* le masque des titres animés laisse respirer accents des capitales (À, É) et jambages */
.sl-mask { padding-block: 0.18em 0.06em; margin-block: -0.18em -0.06em; }
.sc-mask { padding-top: 0.18em; margin-top: -0.18em; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--slate);
  --fg: var(--on-deep);
  --icon-bg: rgb(238 245 241 / 0.14);
  position: relative;
  display: inline-flex; align-items: center; gap: 0.85rem;
  height: 3.375rem; padding: 0 0.5rem 0 1.6rem;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  isolation: isolate;
  transition: scale 0.16s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:not(:has(.btn__icon)) { padding-right: 1.6rem; }
.btn:active { scale: 0.97; }
.btn__label { display: grid; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.btn__label > span { grid-area: 1 / 1; transition: transform 0.5s var(--ease-out); }
.btn__label > span + span { transform: translateY(115%); }
.btn__icon {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 2.375rem; height: 2.375rem; border-radius: 50%; background: var(--icon-bg);
}
.btn__icon svg {
  grid-area: 1 / 1; width: 1.1rem; height: 1.1rem;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.5s var(--ease-out);
}
.btn__icon svg + svg { transform: translateX(-180%); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__label > span:first-child { transform: translateY(-115%); }
  .btn:hover .btn__label > span + span { transform: none; }
  .btn:hover .btn__icon svg:first-child { transform: translateX(180%); }
  .btn:hover .btn__icon svg + svg { transform: none; }
  .btn:hover { --bg: var(--teal); box-shadow: 0 14px 30px -14px rgb(20 41 45 / 0.55); }
  .btn--ghost:hover { --bg: var(--card); --fg: var(--ink); box-shadow: var(--shadow-soft-hi); }
  .btn--sage:hover { --bg: var(--sage-2); }
  .btn--light:hover { --bg: #fff; }
}
.btn--ghost { --bg: var(--card); --fg: var(--ink); box-shadow: var(--shadow-soft); }
.btn--sage { --bg: var(--sage); --fg: var(--ink); --icon-bg: rgb(20 41 45 / 0.1); }
.btn--light { --bg: var(--on-deep); --fg: var(--ink); --icon-bg: rgb(20 41 45 / 0.08); }
.btn--sm { height: 2.75rem; padding-inline: 1.25rem; font-size: 0.9375rem; }
.btn--lg { height: 4rem; font-size: 1.125rem; padding-left: 2rem; }
.btn--lg .btn__icon { width: 2.875rem; height: 2.875rem; }

.link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease-out);
}
.link svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 100% 2px; }
  .link:hover svg { transform: translateX(4px); }
}
.link--light { color: var(--on-deep); }

/* motif colours */
.mo, .motif { flex: none; }
.mo--eau, .motif--eau, .tm--eau { fill: var(--eau); }
.mo--epi, .motif--epi, .tm--epi { fill: var(--epi); }
.mo--sapin, .motif--sapin, .tm--sapin { fill: var(--sapin); }
.mo--vigne, .motif--vigne, .tm--vigne { fill: var(--vigne); }
.mo--fleur, .motif--fleur, .tm--fleur { fill: var(--fleur); }

/* ---------- Loader ---------- */
.loader { display: none; }
.is-intro .loader {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: var(--paper);
}
.loader__row { display: flex; gap: clamp(12px, 2vw, 26px); }
.loader__m { display: block; width: clamp(48px, 7vw, 92px); aspect-ratio: 1; }
.loader__m svg { width: 100%; height: 100%; overflow: visible; }
.is-intro body { overflow: hidden; }
.is-intro .hd__logo .lm { opacity: 0; }

/* ---------- Header ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hd-h);
  transition: transform 0.6s var(--ease-drawer), background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.hd.is-scrolled { background: rgb(244 246 241 / 0.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden { transform: translateY(-100%); }
.hd__inner { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.hd__logo { flex: none; width: clamp(112px, 9.5vw, 142px); color: var(--teal); text-decoration: none; }
.logo { width: 100%; height: auto; overflow: visible; }
.logo .logo__type { fill: currentColor; }
.lm--eau { fill: var(--eau); } .lm--epi { fill: var(--epi); } .lm--sapin { fill: var(--sapin); }
.lm--vigne { fill: var(--vigne); } .lm--fleur { fill: var(--fleur); }
.logo .lm { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hd__logo:hover .lm { transform: translateY(-14%) rotate(-6deg); }
  .hd__logo:hover .lm--epi { transition-delay: 0.04s; }
  .hd__logo:hover .lm--sapin { transition-delay: 0.08s; transform: translateY(-14%) rotate(6deg); }
  .hd__logo:hover .lm--vigne { transition-delay: 0.12s; }
  .hd__logo:hover .lm--fleur { transition-delay: 0.16s; transform: translateY(-14%) rotate(40deg); }
}

.hd__nav { margin-left: auto; }
.hd__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.hd__link {
  position: relative; display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0; font-weight: 700; font-size: 0.975rem; letter-spacing: -0.005em;
  text-decoration: none; color: var(--ink);
}
.hd__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hd__link:hover::after { transform: scaleX(1); transform-origin: left; }
}
.hd__chev { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease-out); }
.hd__menu { position: relative; }
.hd__menu.is-open .hd__chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); right: -24px;
  width: min(640px, 80vw);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px;
  padding: 10px; border-radius: 26px;
  background: var(--card); box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(0.98); transform-origin: top right;
  transition: opacity 0.14s var(--ease-out), transform 0.14s var(--ease-out), visibility 0s 0.14s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; } /* pont de survol */
.hd__menu.is-open .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0s;
}
.mega__links { padding: 10px 6px; display: grid; }
.mega__links a {
  display: block; padding: 0.55rem 0.9rem; border-radius: 12px;
  font-weight: 600; font-size: 0.975rem; text-decoration: none;
  transition: background-color 0.15s var(--ease-out), transform 0.3s var(--ease-out);
}
.mega__links a:hover, .mega__links a:focus-visible { background: var(--paper); transform: translateX(3px); }
.mega__feature {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 1.5rem; border-radius: 18px; overflow: hidden;
  background: var(--deep); color: var(--on-deep); text-decoration: none;
}
/* les cinq régions, dans l'ordre du logo : vagues, épis, sapin, raisin, absinthe */
.mega__motifs { display: flex; gap: 5px; }
.mega__motifs svg { width: 26px; height: 26px; }
.mega__title { font-weight: 800; font-size: 1.45rem; line-height: 1.05; letter-spacing: -0.03em; }
.mega__cta { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--sage); }
.mega__cta svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
.mega__feature:hover .mega__cta svg { transform: translateX(4px); }

.hd__burger { display: none; width: 48px; height: 48px; margin-left: auto; border-radius: 50%; background: var(--ink); color: var(--paper); place-items: center; transition: scale 0.16s var(--ease-out); }
.hd__burger:active { scale: 0.94; }
.hd__burger-lines { display: grid; gap: 6px; width: 18px; }
.hd__burger-lines span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--ease-out); }
.is-mnav .hd__burger-lines span:first-child { transform: translateY(4px) rotate(45deg); }
.is-mnav .hd__burger-lines span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* mobile nav */
.mnav {
  position: fixed; inset: 0; z-index: 45;
  background: var(--deep); color: var(--on-deep);
  padding-top: calc(var(--hd-h) + 24px);
  clip-path: circle(0 at calc(100% - var(--pad) - 24px) calc(var(--hd-h) / 2));
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s;
  overflow-y: auto;
}
.is-mnav .mnav { clip-path: circle(150% at calc(100% - var(--pad) - 24px) calc(var(--hd-h) / 2)); visibility: visible; transition: clip-path 0.8s var(--ease-in-out), visibility 0s; }
.is-mnav .hd { background: transparent; box-shadow: none; backdrop-filter: none; }
.is-mnav .hd__logo { color: var(--on-deep); }
.is-mnav .hd__burger { background: var(--on-deep); color: var(--ink); }
.mnav__inner { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.mnav__link { display: block; overflow: hidden; text-decoration: none; font-weight: 800; font-size: clamp(2.4rem, 10vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; }
.mnav__link span { display: block; }
.mnav__sub { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mnav__sub a { display: inline-block; padding: 0.5rem 0.9rem; border-radius: 999px; background: rgb(238 245 241 / 0.08); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.mnav__contact { color: var(--on-deep-2); font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow-x: clip;
  min-height: max(680px, 100svh);
  padding-top: calc(var(--hd-h) + clamp(16px, 4vh, 48px));
  padding-bottom: clamp(28px, 5vh, 56px);
  display: flex;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: center;
}
.hero__copy { grid-column: 1 / span 6; grid-row: 1; position: relative; z-index: 2; }

.hero__title {
  margin: 0 0 clamp(1.5rem, 4vh, 2.75rem);
  font-size: clamp(3rem, 6.5vw, 7.4rem);
  font-weight: 800; line-height: 0.9; letter-spacing: -0.05em;
  color: var(--ink);
}
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; padding-right: 0.1em; }
.ln__in { display: block; white-space: nowrap; }

.hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.hero__lead { font-size: clamp(1.15rem, 1.45vw, 1.4rem); line-height: 1.35; color: var(--ink-2); max-width: 19ch; font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* hero pleine largeur : sur grand écran, le texte reste aligné sur la grille (et le logo),
   le visuel (trame + bon) occupe toute la droite jusqu'au bord de l'écran */
@media (min-width: 1101px) {
  .hero__grid { max-width: none; padding-left: max(var(--pad), calc((100% - var(--maxw)) / 2 + var(--pad))); padding-right: var(--pad); }
}

/* visuel : la trame du canton + le vrai bon CID */
.hero__visual {
  grid-column: 7 / span 6; grid-row: 1;
  position: relative; z-index: 1;
  aspect-ratio: 1 / 0.9;
  margin-right: calc(var(--pad) * -0.4);
}
.hero__map { position: absolute; z-index: 0; aspect-ratio: 1; touch-action: pan-y; }
/* accueil : la trame couvre toute la droite du hero et déborde */
.hero > .hero__map { top: calc(var(--hd-h) + 4px); bottom: -4%; right: -8vw; height: auto; }
.hero__map svg { width: 100%; height: 100%; overflow: visible; }
.hero__map use { will-change: transform; }

.hv { position: absolute; left: 2%; top: 37%; width: 74%; z-index: 2; perspective: 1600px; }
@media (min-width: 901px) { .hero__visual .hv { top: 18%; } }
.hv__block {
  position: absolute; left: -5%; bottom: -12%; z-index: 0; pointer-events: none;
  width: 30%; aspect-ratio: 1.3; border-radius: 14px;
  background: var(--fleur);
  transform: rotate(-9deg);
}
.voucher-shadow {
  position: absolute; left: 10%; right: 10%; bottom: -12%; height: 22%; z-index: 0;
  border-radius: 50%; background: rgb(20 41 45 / 0.32); filter: blur(26px); pointer-events: none;
}
.hv-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: 18px; background: var(--card);
  box-shadow: var(--shadow-lift);
}
/* flottement léger, propriété translate pour ne pas gêner GSAP */
.hv-card { animation: bob 4.6s var(--ease-in-out) infinite alternate; }
.hv-card--link { animation-delay: -2.3s; animation-duration: 5.4s; }
@keyframes bob { from { translate: 0 -5px; } to { translate: 0 6px; } }
.hv-card--amount { right: -9%; top: -26%; flex-direction: column; align-items: flex-start; gap: 0.45rem; padding: 0.7rem 0.7rem 0.6rem; }
.hv-card__label { padding-left: 0.35rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.hv-card--link {
  left: 30%; bottom: -26%; max-width: 310px;
  padding: 0.65rem 1.1rem 0.65rem 0.65rem;
  text-decoration: none; color: var(--ink);
  transition: box-shadow 0.3s var(--ease-out), scale 0.16s var(--ease-out);
}
.hv-card--link:active { scale: 0.98; }
.hv-card__ico { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: color-mix(in srgb, var(--fleur) 16%, transparent); color: color-mix(in srgb, var(--fleur) 80%, var(--ink)); }
.hv-card__ico svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hv-card__txt { display: grid; gap: 0.2rem; font-size: 0.875rem; line-height: 1.25; }
.hv-card__txt strong { font-weight: 800; }
.hv-card__txt span { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: var(--ink-2); }
.hv-card__txt svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hv-card--link:hover { box-shadow: var(--shadow-lift-hi); }
  .hv-card--link:hover .hv-card__txt svg { transform: translateX(3px); }
}

.amount { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.amount button { position: relative; z-index: 1; height: 2.25rem; padding: 0 0.95rem; border-radius: 999px; font-weight: 800; font-size: 0.875rem; transition: color 0.3s var(--ease-out); }
.amount button[aria-checked="true"] { color: var(--paper); }
.amount__pill { position: absolute; z-index: 0; top: 4px; left: 4px; height: 2.25rem; border-radius: 999px; background: var(--ink); }

.hero__scroll {
  position: absolute; left: max(var(--pad), calc((100% - var(--maxw)) / 2 + var(--pad))); bottom: calc(clamp(28px, 5vh, 56px) * -0.25);
  display: none; align-items: center; gap: 0.6rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.hero__mouse { position: relative; width: 20px; height: 30px; border-radius: 12px; box-shadow: inset 0 0 0 2px currentColor; }
.hero__mouse span { position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.8s var(--ease-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Manifesto ---------- */
.manifesto { padding-block: clamp(96px, 13vw, 200px) clamp(72px, 9vw, 140px); }
.manifesto__text {
  max-width: 21em;
  font-size: clamp(1.85rem, 4.1vw, 4.1rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.04em;
}
.manifesto__text .w { display: inline-block; }

.questions {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px);
  margin-top: clamp(64px, 8vw, 120px);
}
.q {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 1.25rem 1rem;
  padding-top: 1.5rem; text-decoration: none; color: var(--ink);
  border-top: 1.5px solid var(--line-strong);
}
.q::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1.5px; height: 1.5px; background: var(--c);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out);
}
.q__text { grid-column: 1; font-size: clamp(1.3rem, 2vw, 1.85rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; max-width: 20ch; }
.q__motif { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: clamp(48px, 4.4vw, 60px); aspect-ratio: 1; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-soft); color: var(--teal); transition: transform 0.7s var(--ease-out); }
.q__motif svg { width: 46%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.q__cta { grid-column: 1; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--ink-2); }
.q__cta svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .q:hover::before { transform: scaleX(1); }
  .q:hover .q__motif { transform: rotate(-12deg) scale(1.12); }
  .q:hover .q__cta { color: var(--ink); }
  .q:hover .q__cta svg { transform: translateX(5px); }
}

/* ---------- Nocturnes ---------- */
.noct { position: relative; }
.noct__sheet {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--on-deep);
  background:
    radial-gradient(70% 60% at 6% 0%, rgb(51 153 204 / 0.28), transparent 70%),
    radial-gradient(60% 55% at 100% 100%, rgb(0 197 153 / 0.22), transparent 70%),
    radial-gradient(45% 40% at 78% 18%, rgb(255 153 51 / 0.12), transparent 70%),
    linear-gradient(180deg, #23565c 0%, #1b464c 100%);
  padding-block: clamp(210px, 21vw, 300px) clamp(96px, 12vw, 180px);
}
.noct__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.noct__garlands { position: absolute; left: 0; right: 0; top: 0; height: clamp(190px, 20vw, 290px); }
.noct__garlands svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.garland__string { fill: none; stroke: rgb(238 245 241 / 0.4); stroke-width: 1.2; }
.garland__thread { stroke: rgb(238 245 241 / 0.32); stroke-width: 1; }
.garland__glow { opacity: 0.55; }
.noct__flake { position: absolute; fill: rgb(238 245 241 / 0.05); }
.noct__flake--a { width: clamp(300px, 40vw, 640px); right: -9%; bottom: -14%; }
.noct__flake--b { width: clamp(150px, 17vw, 270px); left: -5%; top: 44%; fill: rgb(238 245 241 / 0.04); }

.noct__inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.noct__inner > * { grid-column: 1 / -1; }
.noct__head { grid-column: 1 / span 7; }
.noct__head .h-display { max-width: 13ch; }

.countdown { grid-column: 8 / span 5; align-self: end; justify-self: end; }
.countdown__label { font-weight: 600; font-size: 0.95rem; color: var(--on-deep-2); margin-bottom: 0.75rem; }
.countdown__units {
  display: inline-flex; align-items: center; flex-wrap: nowrap; white-space: nowrap;
  padding: 0.65rem 1.3rem; border-radius: 999px;
  background: rgb(238 245 241 / 0.1);
}
.cd { display: inline-flex; align-items: baseline; gap: 0.22rem; }
.cd + .cd { margin-left: 0.95rem; padding-left: 0.95rem; box-shadow: inset 1px 0 0 var(--line-light); }
.cd__num { display: inline-flex; font-weight: 800; font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cd__unit { font-size: 0.8rem; font-weight: 700; color: var(--on-deep-2); }
.dg { display: inline-block; height: 1em; overflow: hidden; }
.dg__strip { display: flex; flex-direction: column; transition: transform 0.75s var(--ease-out); }
.dg__strip span { display: block; height: 1em; text-align: center; }

.dates {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(64px, 8vw, 120px);
}
.date { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line-light); }
.date::before { content: ""; position: absolute; left: 0; top: -2px; width: 3rem; height: 3px; border-radius: 2px; background: var(--c); }
.date__num { overflow: hidden; font-weight: 800; font-size: clamp(4rem, 9.5vw, 10rem); line-height: 0.86; letter-spacing: -0.06em; padding-bottom: 0.04em; }
.date__num span { display: block; }
.date__month { font-weight: 800; font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c); margin: 0.5rem 0 1.5rem; }
.date__title { font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.4rem; }
.date__text { color: var(--on-deep-2); max-width: 30ch; }
.date--note .date__num { color: transparent; -webkit-text-stroke: 1.5px var(--on-deep-2); }

.noct__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: clamp(48px, 6vw, 88px); }

/* catégories */
.cats-sec { position: relative; padding-block: clamp(8px, 2vw, 32px) clamp(88px, 11vw, 160px); }
.cats__head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.cats__title { font-size: clamp(1.9rem, 3.4vw, 3.1rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.cats__intro { margin-top: 0.85rem; max-width: 56ch; color: var(--ink-2); }
.count { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.cats__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 72px); border-top: 1px solid var(--line-strong); }
.cats__list li { border-bottom: 1px solid var(--line); }
.cat {
  position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto 1.25rem; align-items: center; gap: 1rem;
  padding: 1.05rem 0; text-decoration: none; color: var(--ink);
}
.cat__num { font-size: 0.8125rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; transition: color 0.3s var(--ease-out); }
.cat__name { position: relative; font-size: clamp(1.05rem, 1.35vw, 1.3rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; transition: transform 0.5s var(--ease-out); }
.cat__name::before {
  content: ""; position: absolute; left: -1.1rem; top: 50%; width: 0.6rem; height: 0.6rem; margin-top: -0.3rem; border-radius: 50%;
  background: var(--c); transform: scale(0); transition: transform 0.4s var(--ease-out);
}
.cat__count { font-size: 0.9rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cat__arrow { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); transition: transform 0.45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .cat:hover .cat__name { transform: translateX(1.1rem); }
  .cat:hover .cat__name::before { transform: scale(1); }
  .cat:hover .cat__num { color: var(--ink); }
  .cat:hover .cat__arrow { transform: none; }
}
.cat-preview {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: clamp(200px, 17vw, 270px); aspect-ratio: 4 / 5;
  border-radius: 22px; overflow: hidden;
  opacity: 0; visibility: hidden;
  box-shadow: 0 30px 60px -24px rgb(20 41 45 / 0.5);
}
.cat-preview__item { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.cat-preview__item img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, var(--card)); color: color-mix(in srgb, var(--c) 70%, var(--ink)); }
.cat-tile svg { width: 34%; height: auto; stroke-width: 1.5; }
.cat-preview__count { position: absolute; left: 12px; bottom: 12px; padding: 0.35rem 0.7rem; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 800; font-size: 0.8rem; }

/* ---------- Bon CID (fidèle au vrai bon) ---------- */
.voucher-in, .voucher-tilt { transform-style: preserve-3d; }
.voucher-in { position: relative; z-index: 1; }
.voucher {
  position: relative; display: block; width: 100%; aspect-ratio: 1.59;
  container-type: inline-size;
  border-radius: 2.4% / 3.8%; overflow: hidden;
  /* vert plein du vrai bon : la trame ne transparaît pas */
  background: rgb(184 211 193);
  color: #314750; text-align: left;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35), 0 34px 60px -30px rgb(20 41 45 / 0.55), 0 10px 22px -12px rgb(20 41 45 / 0.3);
  transition: scale 0.16s var(--ease-out);
}
.voucher:active { scale: 0.985; }
.voucher:focus-visible { outline-offset: 6px; }
.voucher__logo { position: absolute; left: 9%; top: 13.5%; width: 54%; color: #314750; }
.voucher__logo .logo { width: 100%; }
.voucher__qr { position: absolute; left: 9%; bottom: 6.5%; width: 13.2%; aspect-ratio: 1; fill: #314750; }
.voucher__qr svg { width: 100%; height: 100%; }
.voucher__url { position: absolute; left: 24.6%; bottom: 6.3%; font-weight: 700; font-size: 2.65cqw; line-height: 0.8; letter-spacing: -0.01em; }
.voucher__side {
  position: absolute; right: 7.4%; top: 13.5%; bottom: 6.3%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2cqw;
  writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
}
.voucher__kind { font-weight: 800; font-size: 2.15cqw; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
/* pas de rognage : la valeur roule avec un fondu, sans masque */
.voucher__amount { display: block; font-weight: 900; font-size: 15.2cqw; line-height: 1; letter-spacing: -0.035em; }
.voucher__amount [data-amount-value] { display: inline-block; margin-inline-end: 0.1em; }
.voucher__glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgb(255 255 255 / 0.7), transparent 45%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity 0.4s var(--ease-out);
}
.hv:hover .voucher__glare { opacity: 1; }

/* ---------- News ---------- */
.news { padding-block: clamp(72px, 10vw, 150px) clamp(40px, 5vw, 72px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(28px, 4vw, 56px); }
.news__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 2.6vw, 40px); }
.post--feature { grid-row: span 2; }
.post a { display: block; text-decoration: none; color: inherit; }
.post__media { position: relative; overflow: hidden; border-radius: var(--r-l); aspect-ratio: 16 / 10; background: var(--paper-2); }
.post--feature .post__media { aspect-ratio: 5 / 4; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post__body { padding-top: 1.1rem; display: grid; gap: 0.5rem; }
.post time { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.post__title { font-size: clamp(1.15rem, 1.45vw, 1.45rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.post--feature .post__title { font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 20ch; }
.post__title span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .post a:hover .post__media img { transform: scale(1.05); }
  .post a:hover .post__title span { background-size: 100% 2px; }
}

/* ---------- Agenda ---------- */
.agenda { padding-block: clamp(40px, 5vw, 72px) clamp(96px, 12vw, 180px); }
.events { border-top: 1.5px solid var(--ink); }
.events li { border-bottom: 1px solid var(--line-strong); }
.event {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: clamp(7rem, 12vw, 11rem) minmax(0, 1fr) auto auto; align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: clamp(20px, 2.6vw, 34px) 0; text-decoration: none; color: inherit;
}
.event::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -0.5); z-index: -1; border-radius: 20px;
  background: var(--paper-2); transform: scaleY(0.3); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.3s var(--ease-out);
}
.event__date { display: grid; }
.event__day { font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 4.5rem); line-height: 0.88; letter-spacing: -0.05em; }
.event__month { font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-top: 0.4rem; }
.event__body { display: grid; gap: 0.4rem; }
.event__title { font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -0.04em; }
.event__place { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--ink-2); }
.event__place svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: var(--c); stroke-width: 2.2; }
.event__img { width: clamp(120px, 13vw, 190px); aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; clip-path: inset(0 0 0 100% round 16px); transition: clip-path 0.7s var(--ease-out); }
.event__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transition: transform 0.9s var(--ease-out); }
.event__arrow { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-soft); transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.event__arrow svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); transition: transform 0.45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .event:hover::before { transform: none; opacity: 1; }
  .event:hover .event__img { clip-path: inset(0 0 0 0 round 16px); }
  .event:hover .event__img img { transform: none; }
  .event:hover .event__arrow { background: var(--ink); color: var(--paper); box-shadow: none; }
  .event:hover .event__arrow svg { transform: none; }
}

/* ---------- Devenir membre ---------- */
.join { position: relative; }
.join__sheet {
  position: relative; overflow: hidden;
  min-height: max(720px, 100svh);
  background: var(--deep); color: var(--on-deep);
  display: flex;
}
.join__world { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.pm { position: absolute; left: 0; top: 0; will-change: transform; cursor: grab; touch-action: pan-y; }
.pm svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 10px rgb(0 0 0 / 0.22)); }
.join__world.is-dragging, .join__world.is-dragging .pm { cursor: grabbing; }
.join__inner { position: relative; z-index: 2; padding-block: clamp(96px, 11vw, 170px) clamp(220px, 24vw, 320px); pointer-events: none; }
.join__inner > * { pointer-events: auto; }
.join__inner .eyebrow, .join__inner .h-display, .join__lead, .join__punch { pointer-events: none; }
.join .h-display { max-width: 12ch; }
.join__lead { margin-top: clamp(24px, 3vw, 40px); max-width: 46ch; font-size: clamp(1.1rem, 1.35vw, 1.3rem); color: var(--on-deep-2); }
.join__punch { margin-top: 1.25rem; max-width: 30ch; font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--sage); }
.join__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: clamp(28px, 3.5vw, 48px); }
/* ---------- Newsletter ---------- */
.nl {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(28px, 4vw, 64px);
  border-radius: var(--r-l); background: var(--sage); color: var(--ink);
  position: relative; overflow: hidden;
}
.nl__title { font-size: clamp(2rem, 3.6vw, 3.5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; margin-bottom: 1rem; }
.nl__copy p { max-width: 36ch; }
.nl__form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-content: start; }
.field { position: relative; }
.field--wide { grid-column: 1 / -1; }
.field input {
  width: 100%; height: 3.75rem; padding: 1.35rem 1.1rem 0.4rem;
  border: 0; border-radius: 16px; background: rgb(253 254 252 / 0.6);
  box-shadow: inset 0 0 0 1.5px rgb(20 41 45 / 0.14);
  font-weight: 600; font-size: 1rem; outline: none;
  transition: box-shadow 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.field input:focus { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgb(20 41 45 / 0.1); }
.field input.is-invalid { box-shadow: inset 0 0 0 1.5px #b3261e; }
.field label {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); transform-origin: left;
  font-weight: 600; color: var(--ink-2); pointer-events: none;
  transition: transform 0.25s var(--ease-out), top 0.25s var(--ease-out);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 1.05rem; transform: translateY(-50%) scale(0.74); }
.nl__legal { grid-column: 1 / -1; font-size: 0.8rem; line-height: 1.45; color: rgb(20 41 45 / 0.78); margin: 0.25rem 0 0.75rem; }
.nl__submit { justify-self: start; }
.nl__done { grid-column: 1 / -1; font-weight: 800; font-size: 1.25rem; min-height: 1px; }
.nl.is-done .field, .nl.is-done .nl__legal, .nl.is-done .nl__submit { opacity: 0.35; pointer-events: none; }
.burst { position: fixed; z-index: 90; width: 26px; height: 26px; margin: -13px 0 0 -13px; pointer-events: none; }

/* ---------- Footer ---------- */
.ft { position: relative; overflow: hidden; }
.ft__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: clamp(24px, 3vw, 48px); padding-block: clamp(56px, 7vw, 104px) clamp(32px, 4vw, 56px); }
.ft__tagline { font-size: clamp(1.5rem, 2.4vw, 2.3rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; max-width: 15ch; }
.ft__h { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; }
.ft__col ul { display: grid; gap: 0.35rem; }
.ft__col a { text-decoration: none; font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.35s var(--ease-out); }
.ft__col a:hover { background-size: 100% 1.5px; }
.ft__col address { line-height: 1.75; font-weight: 600; }
.ft__mark { padding-inline: var(--pad); color: var(--teal); user-select: none; }
/* line-height 1 : les masques de SplitText ne rognent plus le haut des capitales */
.ft__mark-in {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 800; font-size: 10.4vw; line-height: 1; letter-spacing: -0.05em;
  white-space: nowrap; margin-bottom: -0.12em;
}
.ft__mark-in .fm-word { padding-top: 0.04em; }
.fm-word { display: inline-block; }
.fm-dash { display: inline-block; flex: 1; height: 0.13em; margin: 0 0.12em; min-width: 0.6em; background: currentColor; border-radius: 0.02em; transform-origin: left; align-self: center; translate: 0 0.06em; }
.ft__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-block: clamp(20px, 2.5vw, 32px); font-size: 0.875rem; color: var(--ink-2); }
.ft__bottom .ft__top { justify-self: end; }
.ft__top { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--ink); }
.ft__top svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
.ft__top:hover svg { transform: translateY(-3px); }

/* signature Codzilla : logo seul, noir, centré */
.ft__made { display: inline-flex; justify-self: center; text-decoration: none; opacity: 0.85; transition: opacity 0.25s var(--ease-out); }
.ft__made:hover { opacity: 1; }
.codz, .codz__accent { width: auto; height: 1.6rem; fill: var(--ink); }

/* ---------- Cursor bubble ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-weight: 800; font-size: 0.875rem;
  opacity: 0; visibility: hidden;
}
@media (hover: none), (pointer: coarse) { .cursor, .cat-preview { display: none; } }

/* ---------- JS initial states (anti-flash) ---------- */
.js [data-intro] { visibility: hidden; }
.js [data-fade] { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hd__nav, .hd__cta { display: none; }
  .hd__burger { display: grid; }
  .finder { grid-template-columns: 1fr; height: auto; }
  .finder__panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .results { max-height: 340px; }
  .finder__map { aspect-ratio: 1000 / 690; }
  .shops__head { grid-template-columns: 1fr; }
  .nl { grid-template-columns: 1fr; }
  .noct__head, .countdown { grid-column: 1 / -1; justify-self: start; }
  .countdown { margin-top: 2.5rem; }
  .hv-card--amount { right: -2%; }
}
@media (max-width: 900px) {
  :root { --hd-h: 72px; }
  .hero { min-height: auto; padding-bottom: clamp(72px, 16vw, 120px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy, .hero__visual { grid-column: 1; }
  .hero__visual { grid-row: 2; width: min(100%, 560px); justify-self: center; margin: clamp(24px, 6vw, 48px) 0 0; aspect-ratio: 1 / 0.92; }
  .hero > .hero__map { top: auto; bottom: 0; right: -28vw; width: 128vw; height: auto; }
  .cats__head { flex-direction: column; align-items: flex-start; }
  .hv { left: 4%; width: 84%; }
  .hv-card--amount { right: -2%; top: -22%; }
  .hv-card--link { left: 24%; bottom: -32%; }
  .questions { grid-template-columns: 1fr; }
  .dates { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: 1fr; }
  .post--feature { grid-row: auto; }
  .cats__list { grid-template-columns: 1fr; }
  .event { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
  .event__img { display: none; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
}
@media (hover: none), (pointer: coarse) { .search__kbd, .map-hint { display: none; } }
@media (max-width: 560px) {
  .regions { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(clamp(18px, 2.2vw, 32px) * -1); padding-inline: clamp(18px, 2.2vw, 32px); }
  .regions::-webkit-scrollbar { display: none; }
  .rchip { flex: none; }
  .nl__form { grid-template-columns: 1fr; }
  .countdown__units { padding: 0.55rem 1rem; }
  .cd + .cd { margin-left: 0.6rem; padding-left: 0.6rem; }
  .event__arrow { width: 2.75rem; height: 2.75rem; }
  .join__inner { padding-bottom: 300px; }
  .hero__ctas .btn--ghost { display: none; }
  .hero__visual { margin-bottom: 72px; }
  .hv { left: 3%; width: 94%; top: 38%; }
  .hv-card--amount { top: -48%; right: 0; padding: 0.55rem 0.55rem 0.5rem; }
  .hv-card--link { left: 8%; bottom: -52%; max-width: 270px; }
  .hv-card__txt { font-size: 0.8rem; }
  .amount button { height: 2rem; padding: 0 0.8rem; font-size: 0.8rem; }
  .amount__pill { height: 2rem; }
  .ft__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ft__bottom .ft__top { justify-self: center; }
}
@media (min-width: 901px) and (min-height: 700px) { .hero__scroll { display: inline-flex; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
