/* ==========================================================================
   PASS STATION — styles
   DA : crème chaud, bordures encre 1.5px, ombres décalées franches,
   titres Outfit 900 en capitales, accents bleu glacier + orange patrouille.
   ========================================================================== */

:root {
  --cream: #FFF6EC;
  --paper: #FFFFFF;
  --ink: #0B0B0C;
  --glacier: #7CCBF2;
  --glacier-soft: #D9F0FC;
  --sun: #FF6A2B;
  --sun-dark: #F0561A;
  --powder: #FFC7EE;
  --stone: #5F636B;            /* un peu plus sombre que #6B6F76 pour l'AA sur petits textes */
  --error: #B3261E;
  --ok: #1E7A46;

  --line: 1.5px solid var(--ink);
  --sh-sm: 2px 2px 0 var(--ink);
  --sh: 3px 3px 0 var(--ink);
  --sh-md: 4px 4px 0 var(--ink);
  --sh-lg: 6px 6px 0 var(--ink);
  --sh-xl: 8px 8px 0 var(--ink);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  --font-d: "Outfit", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 7.5vw, 112px);
  --header-h: 64px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-b);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
:where(ul[role="list"], ol) { list-style: none; padding: 0; }
[hidden] { display: none !important; }
img[data-failed] { display: none !important; }
html.is-locked, html.is-locked body { overflow: hidden; }

.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: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.footer :focus-visible, .final :focus-visible { outline-color: var(--cream); }

.i {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.i--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Placeholders à confirmer : très visibles pour le client */
.tbc {
  background: var(--powder);
  color: var(--ink);
  border-radius: 6px;
  padding: .05em .4em;
  font-weight: 600;
  font-size: .92em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
p.tbc { display: block; padding: .55em .8em; margin-top: .7em; font-size: .88em; line-height: 1.4; border: 1px dashed rgba(11,11,12,.35); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px;
  background: var(--bg); color: var(--ink);
  border: var(--line); border-radius: 12px; box-shadow: var(--sh);
  font: 700 16px/1.15 var(--font-b); letter-spacing: -.005em; text-decoration: none; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: var(--sh-md); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { --bg: var(--sun); }
.btn--primary:hover { --bg: #FF7A40; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 14px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { --bg: #E6E1DA; color: #55585E; cursor: not-allowed; box-shadow: none; transform: none; }
.btn[disabled] .i { display: none; }

.link { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 5px 11px; border: var(--line); border-radius: 999px;
  font: 700 12px/1 var(--font-b); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.chip--ink { background: var(--ink); color: var(--cream); }
.chip--glacier { background: var(--glacier); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  margin-bottom: 18px;
  font: 700 13px/1 var(--font-b); letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); border: var(--line); }
.eyebrow--light { color: var(--cream); }
.eyebrow--light::before { border-color: var(--cream); }

.h2 {
  font: 900 clamp(38px, 6.2vw, 78px)/.92 var(--font-d);
  text-transform: uppercase; letter-spacing: -.015em;
  text-wrap: balance;
}
.lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: #2A2C30; max-width: 46ch; }
.ast { color: inherit; text-decoration: none; font-weight: 700; }
.footnote { margin-top: 22px; font-size: 13px; color: var(--stone); max-width: 80ch; }

.section { padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--split { display: grid; gap: 20px 48px; align-items: end; }
@media (min-width: 860px) { .section-head--split { grid-template-columns: 1fr minmax(0, 440px); } }

/* ---------- Photos ----------
   Les photos sont TOUJOURS visibles (aucune visibilité conditionnée au JS).
   Le fond illustré de repli n'apparaît que derrière une image en échec (.img-failed,
   posée par __imgFail). Pendant le chargement : simple aplat neutre. */
.ph { position: relative; overflow: hidden; background-color: var(--glacier-soft); }
.ph > img, .ph > picture, .ph > picture > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ph.img-failed {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.5' d='M0 270 170 150l120 80 170-150 170 150 140-80 160 110 160-140 160 110 190-90v300H0z'/%3E%3Cpath fill='%23ffffff' d='M0 340 220 230l160 80 180-110 200 130 200-90 200 100 160-70 120 40v130H0z'/%3E%3C/svg%3E"), linear-gradient(180deg, #5FB9EC 0%, #9AD7F5 45%, #DDF2FC 75%, #FFF6EC 100%);
  background-repeat: no-repeat; background-size: 100% 55%, cover; background-position: bottom center, center;
}
.ph--powder.img-failed { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.5' d='M0 270 170 150l120 80 170-150 170 150 140-80 160 110 160-140 160 110 190-90v300H0z'/%3E%3Cpath fill='%23ffffff' d='M0 340 220 230l160 80 180-110 200 130 200-90 200 100 160-70 120 40v130H0z'/%3E%3C/svg%3E"), linear-gradient(180deg, #F6A9DD 0%, #FFD6F2 55%, #FFF6EC 100%); }
.ph--sun.img-failed { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.5' d='M0 270 170 150l120 80 170-150 170 150 140-80 160 110 160-140 160 110 190-90v300H0z'/%3E%3Cpath fill='%23ffffff' d='M0 340 220 230l160 80 180-110 200 130 200-90 200 100 160-70 120 40v130H0z'/%3E%3C/svg%3E"), linear-gradient(180deg, #FF9A6B 0%, #FFC9A8 55%, #FFF6EC 100%); }
.ph--dusk { background-color: #1B2238; }
.ph--dusk.img-failed {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='none'%3E%3Cpath fill='%23262C4A' d='M0 250 170 140l120 80 170-150 170 150 140-80 160 110 160-140 160 110 190-90v310H0z'/%3E%3Cpath fill='%230F1424' d='M0 330 220 220l160 80 180-110 200 130 200-90 200 100 160-70 120 40v140H0z'/%3E%3C/svg%3E"), linear-gradient(180deg, #151B30 0%, #3A3A6E 45%, #C2627A 78%, #FF8A5B 100%);
  background-size: 100% 60%, cover;
}
.hero__bg.ph { background-color: #6FB4E4; }

/* ==========================================================================
   Bandeau d'annonce + header flottant
   ========================================================================== */
.announce {
  background: var(--ink); color: var(--cream);
  text-align: center; padding: 9px var(--gutter);
  font: 500 13px/1.35 var(--font-b); letter-spacing: .01em;
}
.announce strong { font-weight: 700; }
@media (max-width: 479px) { .announce { font-size: 12px; letter-spacing: 0; padding-block: 8px; padding-inline: 12px; } }

.header { position: sticky; top: 0; z-index: 40; height: 0; padding-inline: var(--gutter); }
.header__pill {
  position: relative;
  max-width: var(--container); margin: 0 auto; top: 12px;
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h);
  padding: 9px 9px 9px 18px;
  background: var(--paper); border: var(--line); border-radius: 18px;
  transition: box-shadow .2s ease;
}
.header.is-scrolled .header__pill { box-shadow: var(--sh); }

.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; white-space: nowrap; }
.logo__mark {
  align-self: center;
  width: 30px; height: 20px; border-radius: 5px; background: var(--ink);
  position: relative; flex: none;
  background-image: linear-gradient(115deg, transparent 55%, var(--glacier) 55% 62%, transparent 62% 70%, #FF6FB5 70% 76%, transparent 76%);
}
.logo__mark::after { content: ""; position: absolute; left: 4px; bottom: 4px; width: 11px; height: 4px; border-radius: 4px; background: var(--sun); }
.logo__word { font: 900 23px/1 var(--font-d); letter-spacing: -.015em; }
@media (max-width: 359px) { .logo__mark { display: none; } }
.logo--light .logo__word { color: var(--cream); }
.logo--light .logo__mark { box-shadow: 0 0 0 1.5px var(--cream); }

.nav ul { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font: 500 15px/1 var(--font-b); text-decoration: none;
  transition: background-color .15s;
}
.nav a:hover { background: var(--glacier-soft); }
.header__cta-short { display: none; }
.header__account {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 9px 13px; border-radius: 999px;
  font: 500 15px/1 var(--font-b); text-decoration: none; white-space: nowrap;
  transition: background-color .15s;
}
.header__account:hover, .header__account[aria-current="page"] { background: var(--glacier-soft); }
.header__account .i { width: 20px; height: 20px; }
@media (max-width: 1099px) {
  .header__account { width: 42px; height: 42px; padding: 0; justify-content: center; border: var(--line); border-radius: 12px; }
  .header__account-lbl { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 399px) { .header__account--collapsible { display: none; } }

.menu-btn {
  display: none;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  background: var(--paper); border: var(--line); border-radius: 12px;
}
.menu-btn .i { width: 22px; height: 22px; }
.mobile-menu {
  position: relative; top: 12px;
  max-width: var(--container); margin: 8px auto 0;
  background: var(--paper); border: var(--line); border-radius: 18px; box-shadow: var(--sh);
  padding: 8px; display: grid;
}
.mobile-menu a { padding: 14px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.mobile-menu__account { display: flex; align-items: center; gap: 10px; border-top: 1px dashed #D5D0C8; border-radius: 0 0 12px 12px !important; }
.mobile-menu a:hover, .mobile-menu a:focus-visible { background: var(--glacier-soft); }

@media (max-width: 899px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  :root { --header-h: 58px; }
  .header__pill { gap: 8px; padding: 7px 7px 7px 14px; }
}
@media (max-width: 479px) {
  .header__cta-full { display: none; }
  .header__cta-short { display: inline; }
  .logo__word { font-size: 19px; }
}
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   HERO — fiche produit
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(12px + var(--header-h) + clamp(16px, 3vw, 40px));
  padding-bottom: clamp(96px, 9vw, 130px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; border-bottom: var(--line); }
.hero__bg img { object-position: 30% 60%; }

.hero__grid { display: grid; gap: 14px; }
.hero__media { position: relative; min-width: 0; }
.hero__buy { min-width: 0; }

@media (min-width: 960px) {
  .hero { min-height: min(940px, calc(100svh - 36px)); display: flex; align-items: center; }
  .hero__grid {
    grid-template-columns: minmax(400px, 490px) minmax(0, 1fr);
    grid-template-areas: "buy media";
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
  }
  .hero__buy { grid-area: buy; }
  .hero__media { grid-area: media; }
}

.sticker {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center;
  padding: 7px 13px; border: var(--line); border-radius: 999px; box-shadow: var(--sh);
  background: var(--paper); font: 800 13px/1 var(--font-d); letter-spacing: .03em; text-transform: uppercase;
}
.sticker--hero { bottom: 24px; right: 2px; transform: rotate(-4deg); }
@media (min-width: 960px) { .sticker--hero { bottom: clamp(84px, 7vw, 100px); right: auto; left: 2%; transform: rotate(-5deg); } }

/* Galerie */
.gallery { position: relative; }
.gallery__stage {
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  height: clamp(196px, 52vw, 340px);
  border-radius: var(--r-lg);
  -webkit-overflow-scrolling: touch;
}
.gallery__stage::-webkit-scrollbar { display: none; }
.gallery__stage:focus-visible { outline-offset: 4px; }
@media (min-width: 960px) { .gallery__stage { height: clamp(380px, 40vw, 560px); } }

.slide {
  flex: 0 0 100%; min-width: 0; height: 100%;
  scroll-snap-align: center; scroll-snap-stop: always;
  display: flex; align-items: center; justify-content: center;
  padding: 3% 5%;
}
.slide--photo { padding: 10px 14px 16px; }
.slide--photo img.frame {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border: var(--line); border-radius: 18px; box-shadow: var(--sh-lg);
  background: var(--glacier-soft);
}

/* Carte (image + repli CSS) */
.cardimg { position: relative; width: min(100%, 620px); aspect-ratio: 2048 / 1291; }
.cardimg > picture { position: absolute; inset: 0; }
.cardimg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(11, 11, 12, .32));
}
.cardimg > .pcard { display: none; }
.cardimg.img-failed > .pcard { display: block; }
.slide--card .cardimg { transform: rotate(-2deg); }
.slide--card[data-slide="back"] .cardimg { transform: rotate(2deg); }
.slide--3d { padding: 0; }
.cardimg--3d { transform: none !important; width: 100%; height: 100%; aspect-ratio: auto; }
.cardimg--3d img { filter: none; }
.cardimg--3d img.is-alt { inset: 14% 7%; width: 86%; height: 72%; filter: drop-shadow(0 22px 28px rgba(11, 11, 12, .32)); }
.cardimg--3d > .pcard {
  inset: auto; left: 50%; top: 46%; height: 66%; width: auto; max-width: 90%; aspect-ratio: 2048 / 1291;
  translate: -50% -50%;
}
.cardimg--3d img.is-alt, .pcard--tilt {
  transform: perspective(1600px) rotateY(-18deg) rotateX(9deg) rotateZ(-5deg);
}
@media (prefers-reduced-motion: no-preference) {
  .cardimg--3d { animation: float 6s ease-in-out infinite; }
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Repli CSS de la carte (même DA que le visuel imprimé) */
.pcard {
  position: absolute; inset: 0; overflow: hidden;
  container-type: inline-size;
  border-radius: 5.5% / 8.7%;
  background-color: #0B0B0C; color: #fff;
  font-family: var(--font-d);
  box-shadow: 0 24px 40px rgba(11, 11, 12, .3);
}
.pcard > * { position: absolute; }
.pcard__topo {
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='.5'%3E%3Cstop offset='0' stop-color='%2346C9F2'/%3E%3Cstop offset='.55' stop-color='%23957CF2'/%3E%3Cstop offset='1' stop-color='%23FF72B6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='1.3'%3E%3Cpath d='M128 -4c10 26 -6 48 18 66s60 -2 78 20 38 30 100 26'/%3E%3Cpath d='M150 -4c8 22 -2 40 18 54s58 0 74 18 38 26 82 22'/%3E%3Cpath d='M176 -4c6 18 2 30 18 40s52 2 66 16 34 18 64 16'/%3E%3Cpath d='M96 210c10 -30 30 -40 26 -66s20 -42 50 -40 40 22 70 20 50 -18 82 -6'/%3E%3Cpath d='M122 210c8 -24 24 -32 22 -52s18 -32 40 -30 36 18 62 16 46 -12 78 -2'/%3E%3Cpath d='M150 210c6 -18 18 -24 18 -38s14 -22 30 -20 30 12 52 10 40 -6 74 2'/%3E%3Cpath d='M210 168c6 -14 20 -20 34 -14s16 22 4 28 -40 4 -38 -14z'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.pcard__season { left: 4.6%; top: 7%; font-weight: 800; font-size: 5.4cqw; letter-spacing: .01em; text-transform: uppercase; }
.pcard__season--r { left: auto; right: 4.6%; text-transform: none; }
.pcard__by { right: 4.6%; top: 7.5%; font-weight: 700; font-size: 3.6cqw; }
.pcard__word { left: 4.4%; top: 35%; font-weight: 900; font-size: 12.6cqw; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.pcard__word--sm { top: 6.5%; font-size: 6.6cqw; }
.pcard__legal { left: 4.6%; bottom: 5%; font: 500 2.8cqw/1 var(--font-b); color: #A9ADB3; }
.pcard__st { left: 4.8%; bottom: 21%; font-weight: 800; font-size: 5.6cqw; text-transform: uppercase; }
.pcard__pill {
  left: 3.8%; bottom: 9%;
  background: var(--sun); color: var(--ink);
  border-radius: 999px; padding: .9cqw 3cqw;
  font-weight: 800; font-size: 5.2cqw; text-transform: uppercase; white-space: nowrap;
}
.pcard__pill--back { text-transform: none; bottom: 15%; font-size: 4.6cqw; }
.pcard__no { right: 4.6%; bottom: 9.5%; font-weight: 800; font-size: 4.6cqw; }
.pcard__list {
  left: 4.6%; right: 18%; top: 20%;
  columns: 2; column-gap: 6cqw; list-style: none; padding: 0; margin: 0;
  font: 600 3.8cqw/1.55 var(--font-d);
}
.pcard__list li { position: relative; padding-left: 4cqw; break-inside: avoid; }
.pcard__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: var(--sun); }

/* Vignettes / points */
.gallery__thumbs { display: none; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.gallery__dots span { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); transition: background-color .2s, width .2s; }
.gallery__dots span.is-active { background: var(--ink); width: 22px; border-radius: 6px; }

@media (min-width: 960px) {
  .gallery__dots { display: none; }
  .gallery__thumbs { display: flex; justify-content: center; flex-wrap: nowrap; gap: clamp(6px, .7vw, 10px); margin-top: 14px; }
  .thumb {
    position: relative; width: clamp(50px, 4.4vw, 66px); height: clamp(50px, 4.4vw, 66px); padding: 5px; flex: none;
    display: grid; place-items: center;
    background: var(--paper); border: var(--line); border-radius: 12px; box-shadow: var(--sh-sm);
    transition: transform .12s, box-shadow .12s, background-color .15s;
    overflow: hidden;
  }
  .thumb:hover { transform: translate(-1px, -1px); box-shadow: var(--sh); }
  .thumb.is-active { background: var(--glacier); box-shadow: var(--sh); transform: translate(-1px, -1px); }
  .thumb img { position: relative; width: 100%; height: 100%; object-fit: contain; }
  .thumb--photo { padding: 0; }
  .thumb--photo img { object-fit: cover; }
  .thumb__fb { position: absolute; font: 800 12px/1 var(--font-d); text-transform: uppercase; }
  .thumb:has(img:not([data-failed])) .thumb__fb { visibility: hidden; }
}

/* Buy box */
.buybox {
  background: var(--paper);
  border: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: clamp(18px, 2.3vw, 32px);
}
.buybox__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.buybox__title {
  font: 900 clamp(31px, 4.3vw, 60px)/.93 var(--font-d);
  text-transform: uppercase; letter-spacing: -.015em;
}
.buybox__title > span { display: block; }
.buybox__title mark {
  color: inherit;
  background: linear-gradient(transparent 58%, var(--glacier) 58%, var(--glacier) 92%, transparent 92%);
  padding-inline: .04em;
}
.buybox__sub { margin-top: 14px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.5; color: #2A2C30; }

.buybox__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__amount { font: 900 clamp(34px, 3.3vw, 46px)/1 var(--font-d); letter-spacing: -.02em; white-space: nowrap; }
.price__meta { font-size: 13px; color: var(--stone); font-weight: 500; }

.days { display: inline-flex; gap: 4px; }
.days span {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px; border: var(--line);
  font: 800 13px/1 var(--font-d);
}
.days .on { background: var(--glacier); }
.days .off { background: #F1EEE9; color: #6F737A; border-color: #A9ADB3; text-decoration: line-through; text-decoration-thickness: 2px; }
.days--sm span { width: 25px; height: 25px; font-size: 12px; border-radius: 7px; }

.stock { margin-top: 16px; }
.stock__bar { height: 12px; border: var(--line); border-radius: 999px; background: var(--cream); overflow: hidden; }
.stock__bar span {
  display: block; height: 100%; width: calc(var(--fill, 1) * 100%);
  background: repeating-linear-gradient(-45deg, var(--glacier) 0 8px, #9BD8F6 8px 16px);
  border-right: var(--line);
}
.stock__label { margin-top: 8px; font-size: 14px; color: #2A2C30; }
.stock__label strong { font-weight: 800; }
.stock.is-soldout .stock__bar span { width: 0; border: 0; }

.buybox__cta { margin-top: 18px; }
.buybox__one { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; font-weight: 600; }
.buybox__one .i { width: 17px; height: 17px; flex: none; }
.buybox__cta { flex: 1; min-width: 0; white-space: nowrap; }


.reassure { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; padding: 0; list-style: none; font-size: 13px; font-weight: 500; }
.reassure li { display: inline-flex; align-items: center; gap: 6px; }
.reassure .i { width: 16px; height: 16px; }
.buybox__note { margin-top: 10px; font-size: 12.5px; color: var(--stone); }

@media (max-width: 959px) {
  .hero__media { order: 0; }
  .hero__buy { order: 1; }
  .hero__grid { max-width: 640px; }
}
@media (max-width: 479px) {
  .buybox__chips { display: none; }
  .buybox__sub { margin-top: 10px; }
  .buybox__row { margin-top: 14px; }
  .stock { margin-top: 12px; }
  .buybox__cta { margin-top: 14px; }
  .buybox__one { font-size: 12.5px; }
  .btn--lg { font-size: 16px; padding-inline: 14px; }
  .buybox__cta .i { display: none; }
  .hero__grid { gap: 10px; }
}
@media (max-width: 359px) {
  .days--sm { display: none; }
}

/* ==========================================================================
   Bandeau vague (marquee)
   ========================================================================== */
.wave { position: relative; z-index: 3; margin-top: clamp(-104px, -7vw, -64px); margin-bottom: -40px; pointer-events: none; overflow: hidden; }
.wave__svg { width: 100%; height: clamp(150px, 13vw, 200px); overflow: visible; }
.wave__edge { fill: none; stroke: var(--ink); stroke-width: 79; }
.wave__band { fill: none; stroke: var(--glacier); stroke-width: 76; }
.wave__text { font: 900 44px var(--font-d); fill: var(--ink); letter-spacing: .01em; text-transform: uppercase; }
.wave__text .dot { fill: var(--sun); font-size: .62em; }

/* ==========================================================================
   STATIONS
   ========================================================================== */
.stations { padding-top: calc(var(--section-y) * .8); padding-bottom: calc(var(--section-y) * .55); }
.stations__visual { position: relative; }
.stations__photo {
  aspect-ratio: 16 / 10;
  border: var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg);
}
@media (min-width: 760px) { .stations__photo { aspect-ratio: 21 / 9; } }
.stations__photo img { object-position: center 55%; }

.days-badge {
  position: relative; z-index: 2;
  width: max-content; max-width: calc(100% - 24px);
  margin: -44px auto 0;
  background: var(--paper); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 16px 18px 14px; text-align: center;
  transform: rotate(-2deg);
}
.days-badge__title { font: 900 clamp(30px, 3.4vw, 42px)/1 var(--font-d); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 10px; }
.days-badge__sub { margin-top: 10px; font-size: 13px; font-weight: 600; }
.days-badge .days span { width: 34px; height: 34px; font-size: 14px; }
@media (min-width: 760px) {
  .days-badge { position: absolute; right: 28px; bottom: -36px; margin: 0; transform: rotate(-3deg); }
}

.stations__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin-top: 36px; padding: 0; list-style: none;
}
@media (min-width: 760px) { .stations__grid { margin-top: 72px; gap: 14px; } }
@media (min-width: 960px) { .stations__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.station {
  display: flex; flex-direction: column; gap: 10px;
  min-height: 124px; padding: 14px 16px 16px;
  background: var(--paper); border: var(--line); border-radius: var(--r); box-shadow: var(--sh);
  transition: transform .15s ease, box-shadow .15s ease;
}
.station:nth-child(4n+2) { background: var(--glacier-soft); }
.station:nth-child(4n+3) { background: #FFF; }
.station:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-md); }
.station__n {
  align-self: flex-start;
  font: 800 12px/1 var(--font-d); letter-spacing: .04em;
  padding: 5px 8px; border: var(--line); border-radius: 999px; background: var(--cream);
}
.station__name { font: 800 clamp(17px, 1.55vw, 21px)/1.05 var(--font-d); text-transform: uppercase; letter-spacing: -.005em; overflow-wrap: anywhere; hyphens: manual; }
.station__dept { margin-top: auto; font-size: 13px; font-weight: 500; color: var(--stone); }

/* ==========================================================================
   CALCULATEUR
   ========================================================================== */
.calc-section { padding-top: calc(var(--section-y) * .55); padding-bottom: calc(var(--section-y) * .6); }
.calc {
  display: grid;
  background: var(--paper);
  border: var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-xl);
  overflow: hidden;
}
@media (min-width: 860px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc__input {
  background: var(--glacier-soft);
  padding: clamp(24px, 4vw, 48px);
  border-bottom: var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 860px) { .calc__input { border-bottom: 0; border-right: var(--line); } }
.calc__label { font: 700 15px/1.3 var(--font-b); text-transform: uppercase; letter-spacing: .08em; }
.calc__days { display: block; margin: 14px 0 20px; font: 800 26px/1 var(--font-d); text-transform: uppercase; }
.calc__days strong { font-size: clamp(80px, 10vw, 128px); font-weight: 900; letter-spacing: -.03em; line-height: .85; margin-right: 6px; }
.calc__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--stone); font-weight: 500; }
.calc__hint { margin-top: 16px; font-size: 14px; color: #2A2C30; }

.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 16px; margin: 10px 0 0;
  border: var(--line); border-radius: 999px;
  background: linear-gradient(to right, var(--ink) 0 var(--p, 14%), var(--paper) var(--p, 14%) 100%);
  cursor: pointer;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sun); border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  cursor: grab;
}
.range::-moz-range-thumb {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sun); border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  cursor: grab;
}
.range:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.06); }
.range:focus-visible { outline-offset: 6px; }

.calc__result { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.calc__line-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-weight: 600; }
.calc__line-head strong { font: 900 clamp(26px, 2.6vw, 34px)/1 var(--font-d); white-space: nowrap; }
.calc__bar { height: 22px; border: var(--line); border-radius: 999px; background: var(--cream); overflow: hidden; }
.calc__bar span { display: block; height: 100%; width: var(--w, 50%); border-right: var(--line); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.calc__bar--glacier span { background: var(--glacier); }
.calc__bar--sun span { background: var(--sun); }
.calc__range { margin-top: 6px; font-size: 13px; color: var(--stone); }
.calc__saving {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px;
  background: var(--ink); color: var(--cream);
  border-radius: var(--r); padding: 18px 20px;
}
.calc__saving span { font-weight: 600; font-size: 15px; }
.calc__saving strong { font: 900 clamp(34px, 3.6vw, 48px)/1 var(--font-d); color: var(--glacier); letter-spacing: -.02em; white-space: nowrap; }
.calc .footnote { margin-top: 0; }

/* ==========================================================================
   LIFESTYLE
   ========================================================================== */
.life { overflow-x: clip; }
.life__strip {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 14px var(--gutter) 24px; margin: 0;
  scroll-padding-inline: var(--gutter);
}
.life__strip::-webkit-scrollbar { display: none; }
.life__card {
  flex: 0 0 min(78%, 320px); scroll-snap-align: start;
  background: var(--paper); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 10px 10px 20px;
  transition: transform .2s ease;
}
.life__photo { aspect-ratio: 4 / 5; border: var(--line); border-radius: 14px; margin-bottom: 16px; }
.life__card h3, .life__card p { padding-inline: 8px; }
.life__card h3 { font: 800 21px/1.05 var(--font-d); text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 8px; }
.life__card p { font-size: 14.5px; line-height: 1.5; color: #2A2C30; }
@media (min-width: 960px) {
  .life__strip {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
    max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; overflow: visible;
  }
  .life__card:nth-child(1) { transform: rotate(-2.2deg); }
  .life__card:nth-child(2) { transform: rotate(1.6deg) translateY(18px); }
  .life__card:nth-child(3) { transform: rotate(-1.2deg); }
  .life__card:nth-child(4) { transform: rotate(2.2deg) translateY(14px); }
  .life__card:hover { transform: rotate(0) translateY(-4px); }
}

/* ==========================================================================
   COMMENT ÇA MARCHE
   ========================================================================== */
.how { background: var(--glacier-soft); border-block: var(--line); }
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.step {
  position: relative;
  background: var(--paper); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: clamp(22px, 2.6vw, 32px);
}
.step__n {
  display: block; margin-bottom: 18px;
  font: 900 64px/0.9 var(--font-d); letter-spacing: -.03em;
  /* solid fill + hard shadow: text-stroke on the variable font drew stray inner contours */
  color: var(--glacier); text-shadow: 3px 3px 0 var(--ink);
}
.step:nth-child(2) .step__n { color: var(--powder); }
.step:nth-child(4) .step__n { color: var(--sun); }
.step__icon {
  position: absolute; top: clamp(22px, 2.6vw, 32px); right: clamp(22px, 2.6vw, 32px);
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--glacier); border: var(--line); border-radius: 50%; box-shadow: var(--sh-sm);
}
.step:nth-child(2) .step__icon { background: var(--powder); }
.step:nth-child(3) .step__icon { background: var(--glacier); }
.step:nth-child(4) .step__icon { background: var(--sun); }
.step a { font-weight: 600; text-underline-offset: 3px; }
.step__icon .i { width: 26px; height: 26px; }
.step h3 { font: 800 clamp(21px, 2vw, 26px)/1.05 var(--font-d); text-transform: uppercase; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: #2A2C30; }
@media (min-width: 1100px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -24px; z-index: 2;
    width: 22px; height: 22px; border-top: 2.5px solid var(--ink); border-right: 2.5px solid var(--ink);
    transform: translateY(-50%) rotate(45deg) scale(.7);
  }
}

/* ==========================================================================
   CONDITIONS
   ========================================================================== */
.cond { display: grid; gap: 18px; }
@media (min-width: 900px) { .cond { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.cond__col { border: var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--sh-md); }
.cond__col--yes { background: var(--glacier-soft); }
.cond__col--no { background: var(--paper); }
.cond__col--info { background: #FFF; }
.cond__col a { font-weight: 600; text-underline-offset: 3px; }
.cond__col h3 { display: flex; align-items: center; gap: 12px; font: 800 24px/1 var(--font-d); text-transform: uppercase; margin-bottom: 18px; }
.cond__col h3 .i { width: 36px; height: 36px; padding: 7px; border: var(--line); border-radius: 50%; background: var(--glacier); stroke-width: 2.6; }
.cond__col--no h3 .i { background: var(--sun); }
.cond__col--info h3 .i { background: var(--powder); }
.cond__col ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.cond__col li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.45; }
.cond__col li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-top: 0; }
.faq__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 64px; align-items: start; } .faq__intro { position: sticky; top: 110px; } }
.faq__intro .lead { margin: 18px 0 24px; }
.faq__list { display: grid; gap: 12px; }
.faq details {
  background: var(--paper); border: var(--line); border-radius: var(--r); box-shadow: var(--sh);
  transition: box-shadow .15s;
}
.faq details[open] { box-shadow: var(--sh-md); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  font: 700 clamp(16px, 1.4vw, 18px)/1.3 var(--font-d);
  border-radius: var(--r);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border: var(--line); border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--glacier-soft);
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, var(--glacier);
  transform: rotate(180deg);
}
.faq__a { padding: 0 20px 20px; font-size: 15.5px; color: #2A2C30; }
.faq__a p + p { margin-top: 8px; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.final { position: relative; isolation: isolate; color: var(--cream); text-align: center; border-top: var(--line); }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.55), rgba(11,11,12,.35) 50%, rgba(11,11,12,.6)); }
.final__inner { padding-block: clamp(88px, 12vw, 168px); display: flex; flex-direction: column; align-items: center; }
.nw { white-space: nowrap; }
.final__title {
  text-wrap: balance;
  font: 900 clamp(46px, 9vw, 124px)/.9 var(--font-d);
  text-transform: uppercase; letter-spacing: -.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.final__sub { margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); max-width: 46ch; }
.final__box {
  margin-top: 36px; width: min(100%, 520px);
  background: var(--paper); color: var(--ink);
  border: var(--line); border-radius: var(--r-lg); box-shadow: 6px 6px 0 var(--sun);
  padding: 20px; text-align: left;
  display: grid; gap: 16px;
}
.final__box .stock { margin-top: 0; }
.final__box .btn { width: 100%; }
.final :focus-visible { outline-color: var(--cream); }
.final__box :focus-visible { outline-color: var(--ink); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: #E9E4DD; padding-top: 64px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand p { margin-top: 14px; font-size: 14px; color: #B9BCC2; }
.footer h2 { font: 800 14px/1 var(--font-d); text-transform: uppercase; letter-spacing: .1em; color: var(--glacier); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer address { font-style: normal; font-size: 14.5px; line-height: 1.7; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-block: 22px 28px; border-top: 1px solid #2A2C31;
  font-size: 13px; color: #9EA2A9;
}

/* ==========================================================================
   Barre d'achat collante (mobile)
   ========================================================================== */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: var(--line);
  box-shadow: 0 -6px 20px rgba(11,11,12,.08);
  transform: translateY(110%); visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.buybar.is-visible { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
.buybar__info { display: grid; line-height: 1.25; min-width: 0; }
.buybar__info strong { font: 800 17px/1.2 var(--font-d); white-space: nowrap; }
.buybar__info > span { font-size: 12.5px; color: var(--stone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { flex: none; min-width: 132px; }
@media (min-width: 960px) { .buybar { display: none; } }
@media (max-width: 959px) { .footer { padding-bottom: 76px; } }

/* ==========================================================================
   TUNNEL DE COMMANDE (tiroir)
   ========================================================================== */
.co { position: fixed; inset: 0; z-index: 100; }
.co__backdrop { position: absolute; inset: 0; background: rgba(11, 11, 12, .5); opacity: 0; transition: opacity .25s ease; }
.co__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(100%, 520px); height: 100%;
  display: flex; flex-direction: column;
  background: var(--cream); border-left: var(--line);
  box-shadow: -10px 0 0 rgba(11,11,12,.08);
  transform: translateX(104%);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.co.is-open .co__backdrop { opacity: 1; }
.co.is-open .co__panel { transform: none; }
@media (max-width: 599px) {
  .co__panel { width: 100%; height: 100dvh; border-left: 0; transform: translateY(100%); }
}

.co__head {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px;
  padding: 12px 14px; background: var(--paper); border-bottom: var(--line);
}
.co__title { grid-column: 2; text-align: center; font: 800 19px/1.1 var(--font-d); text-transform: uppercase; letter-spacing: -.005em; }
.co__title:focus, .co__title:focus-visible { outline: none; }
.co.no-anim .co__panel, .co.no-anim .co__backdrop { transition: none; }
.iconbtn {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--paper); border: var(--line); border-radius: 12px;
  transition: background-color .15s;
}
.iconbtn:hover { background: var(--glacier-soft); }
.iconbtn .i { width: 20px; height: 20px; }
[data-co-back] { grid-column: 1; grid-row: 1; }
[data-co-close] { grid-column: 3; grid-row: 1; }

.co__progress {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  margin: 0; padding: 12px 20px; list-style: none;
  border-bottom: var(--line); background: var(--paper);
}
.co__progress li { display: flex; align-items: center; gap: 8px; flex: 1; font-size: 13px; font-weight: 600; color: var(--stone); }
.co__progress li:not(:last-child)::after { content: ""; flex: 1; height: 1.5px; background: #C9C4BC; margin-left: 4px; }
.co__dot {
  width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid #9A9EA5; font: 800 13px/1 var(--font-d); background: var(--paper);
}
.co__progress li[aria-current="step"] { color: var(--ink); }
.co__progress li[aria-current="step"] .co__dot { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.co__progress li.is-done { color: var(--ink); }
.co__progress li.is-done .co__dot { background: var(--glacier); border-color: var(--ink); }
.co__progress li.is-done::after { background: var(--ink); }
@media (max-width: 359px) { .co__lbl { display: none; } }

.co__form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.co__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
.co__step { display: grid; gap: 16px; }
.co__intro { font-size: 14.5px; color: #2A2C30; }

.co__foot {
  background: var(--paper); border-top: var(--line);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  display: grid; gap: 10px;
}
.co__total { display: flex; align-items: baseline; justify-content: space-between; font-weight: 600; }
.co__total strong { font: 900 26px/1 var(--font-d); }
.co__secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--stone); }
.co__secure .i { width: 14px; height: 14px; }

.co-product {
  display: flex; gap: 14px; align-items: center;
  background: var(--paper); border: var(--line); border-radius: var(--r); padding: 12px; box-shadow: var(--sh-sm);
}
.co-product__img {
  position: relative; flex: none; width: 96px; aspect-ratio: 2048 / 1291;
  border-radius: 7px; background: var(--ink); display: grid; place-items: center; overflow: hidden;
}
.co-product__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.co-product__fb { color: #fff; font: 900 13px/1 var(--font-d); }
.co-product__name { font: 800 18px/1.1 var(--font-d); text-transform: uppercase; }
.co-product__meta { font-size: 13px; color: var(--stone); margin-top: 4px; }
.co-product__price { margin-top: 6px; font-weight: 700; }
.co-product__price span:last-child { font-weight: 500; color: var(--stone); font-size: 13px; }

.co-field { display: grid; gap: 6px; min-width: 0; }
.co-field > label, .co-field__label { font-size: 14px; font-weight: 600; }
.co-field .opt { font-weight: 400; color: var(--stone); }
.co-field--qty { grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; }
.co-field--qty .co-field__hint { grid-column: 1 / -1; }
.co-field__hint { font-size: 12.5px; color: var(--stone); }
.co-field__err { font-size: 13px; font-weight: 600; color: var(--error); min-height: 0; }
.co-field__err:empty { display: none; }
.co-field input, .co-field select {
  width: 100%; height: 50px; padding: 0 14px;
  background: var(--paper); border: var(--line); border-radius: 12px;
  font-size: 16px; /* évite le zoom iOS */
  transition: box-shadow .15s, border-color .15s;
}
.co-field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.co-field input::placeholder { color: #9A9EA5; }
.co-field input:focus, .co-field select:focus { outline: none; box-shadow: 3px 3px 0 var(--glacier), 0 0 0 1px var(--ink); }
.co-field input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); background: #FFF7F6; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-row .co-field--zip { min-width: 0; }
.co-holder-fs { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.co-holder-fs legend { padding: 0; margin-bottom: 10px; font: 800 16px/1.2 var(--font-d); text-transform: uppercase; letter-spacing: .02em; }
.co-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px dashed var(--ink); border-radius: 12px; background: var(--glacier-soft); font-size: 13.5px; font-weight: 600; }
.co-note .i { flex: none; width: 18px; height: 18px; }
.co-sum__sub { display: block; font-size: 12.5px; color: var(--stone); }

.co-sum { display: grid; gap: 8px; margin: 0; padding: 14px 0 0; border-top: 1.5px dashed #C9C4BC; }
.co-sum div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.co-sum dd { font-weight: 600; text-align: right; }

.co-recap { background: var(--paper); border: var(--line); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 8px; }
.co-recap__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; }
.co-recap__row--ship { font-size: 13px; color: var(--stone); }
.co-recap__row--ship .link { color: var(--ink); font-size: 13px; flex: none; }

.co-pay { display: grid; gap: 10px; background: var(--paper); border: var(--line); border-radius: var(--r); padding: 14px 16px; }
.co-pay__title { display: flex; align-items: center; gap: 8px; font: 800 16px/1.1 var(--font-d); text-transform: uppercase; }
.co-pay__title .i { width: 18px; height: 18px; }
.co-pay__txt { font-size: 14px; line-height: 1.45; color: #2A2C30; }
.co-methods { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.co-methods li { padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--cream); font: 700 12px/1 var(--font-b); letter-spacing: .02em; }
.co-check { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; padding: 4px 0; }
.co-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.co-check label { font-size: 14.5px; }
.co-check .co-field__err { grid-column: 2; }

.btn.is-loading { pointer-events: none; }
.btn.is-loading .i { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Pages intérieures (légal, merci)
   ========================================================================== */
.page-main { padding-top: calc(12px + var(--header-h) + 48px); padding-bottom: var(--section-y); }
.doc { max-width: 820px; margin-inline: auto; }
.doc h1 { font: 900 clamp(34px, 5vw, 58px)/.95 var(--font-d); text-wrap: balance; text-transform: uppercase; letter-spacing: -.015em; margin-bottom: 18px; }
.doc .doc__meta { color: var(--stone); font-size: 14px; margin-bottom: 36px; }
.doc section { background: var(--paper); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: clamp(20px, 3vw, 32px); margin-bottom: 18px; }
.doc h2 { font: 800 clamp(20px, 2.2vw, 26px)/1.1 var(--font-d); text-transform: uppercase; margin-bottom: 14px; }
.doc h3 { font: 700 17px/1.3 var(--font-d); margin: 18px 0 8px; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.65; color: #24262A; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; margin: 8px 0; }
.doc dl { display: grid; gap: 8px; margin: 0; }
.doc dl div { display: grid; grid-template-columns: minmax(130px, 210px) 1fr; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed #DDD6CC; }
.doc dl div:last-child { border-bottom: 0; }
.doc dt { font-weight: 600; font-size: 14.5px; }
.doc dd { font-size: 15px; }
@media (max-width: 559px) { .doc dl div { grid-template-columns: 1fr; gap: 2px; } }
.doc .lawyer {
  background: #FFF8E1; border: 1.5px dashed var(--ink); border-radius: 12px;
  padding: 14px 16px; margin-top: 12px; font-size: 14.5px;
}
.doc > .lawyer { margin-bottom: 18px; }
.doc p + dl { margin-top: 12px; }
.doc .lawyer strong { display: block; margin-bottom: 4px; font-family: var(--font-d); text-transform: uppercase; letter-spacing: .03em; }
.doc a { text-underline-offset: 3px; }
.doc__toc { margin-top: 24px; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding: 0; list-style: none; }
.doc .toc a { display: inline-block; padding: 6px 12px; border: var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; text-decoration: none; }
.doc .toc a:hover { background: var(--glacier-soft); }

.footer--slim { padding-top: 0; }
.footer--slim .footer__bottom { margin-top: 0; border-top: 0; padding-block: 26px; }
@media (max-width: 959px) { .footer--slim { padding-bottom: 0; } }

/* Merci */
.thanks { max-width: 720px; margin-inline: auto; text-align: center; }
.thanks__badge {
  width: 88px; height: 88px; margin: 0 auto 22px; display: grid; place-items: center;
  background: var(--glacier); border: var(--line); border-radius: 50%; box-shadow: var(--sh-md);
}
.thanks__badge .i { width: 44px; height: 44px; stroke-width: 2.6; }
.thanks h1 { font: 900 clamp(34px, 5.6vw, 64px)/.95 var(--font-d); text-transform: uppercase; letter-spacing: -.015em; text-wrap: balance; }
.thanks__lead .i { display: inline-block; vertical-align: -3px; width: 20px; height: 20px; margin-right: 8px; }
.thanks__help { margin-top: 18px; font-size: 14px; }
.thanks__help a { font-weight: 600; text-underline-offset: 3px; }
.thanks__lead { margin: 18px auto 0; max-width: 50ch; font-size: 17px; }
.order {
  margin-top: 28px; text-align: left;
  background: var(--paper); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  overflow: hidden;
}
.order__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px; background: var(--ink); color: var(--cream); }
.order__head strong { font-family: var(--font-d); letter-spacing: .03em; }
.order__body { padding: 18px 20px; display: grid; gap: 14px; }
.order__row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.order__row--total { border-top: 1.5px dashed #C9C4BC; padding-top: 14px; font-weight: 700; }
.order__row--total span:last-child { font: 900 24px/1 var(--font-d); }
.order__block h2 { font: 800 14px/1 var(--font-d); text-transform: uppercase; letter-spacing: .08em; color: var(--stone); margin-bottom: 6px; }
.order__block p, .order__block li { font-size: 15px; }
.order__block ul { padding-left: 18px; margin: 0; }
.next { margin-top: 28px; display: grid; gap: 12px; text-align: left; }
.next li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: var(--line); border-radius: var(--r); padding: 14px 16px; }
.next li > span:first-child { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: var(--glacier-soft); font: 800 13px/1 var(--font-d); }
.thanks__actions { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }


/* ==========================================================================
   MON ESPACE — connexion
   ========================================================================== */
.acc-panel { background: var(--paper); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.acc-form { display: grid; gap: 14px; padding: clamp(20px, 2.6vw, 30px); }
.acc-msg { padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; border: 1.5px solid var(--ink); }
.acc-msg:focus { outline: none; }
.acc-msg--error { background: #FFF1EF; border-color: var(--error); color: var(--error); font-weight: 600; }
.acc-msg--neutral { background: var(--cream); border-style: dashed; }
.acc-msg a { font-weight: 600; text-underline-offset: 3px; }

.login__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .login__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; } }
.login__title { font: 900 clamp(44px, 7vw, 88px)/.9 var(--font-d); text-transform: uppercase; letter-spacing: -.015em; margin-bottom: 18px; }
.login__visual { margin-top: 26px; width: min(100%, 520px); }
.login__visual img { width: 100%; height: auto; }
@media (max-width: 899px) { .login__visual { display: none; } }
.login__h2 { font: 800 22px/1.1 var(--font-d); text-transform: uppercase; }
.login__lost { font-size: 14px; text-align: center; color: #2A2C30; }
.login__lost a { font-weight: 600; text-underline-offset: 3px; }
.pass-wrap { position: relative; }
.co-field .pass-wrap input { padding-right: 112px; }
.pass-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  height: 38px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper); border: var(--line); border-radius: 9px; font: 600 13px/1 var(--font-b);
}
.pass-toggle .i { width: 17px; height: 17px; }
.pass-toggle[aria-pressed="true"] { background: var(--glacier-soft); }

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