/* ==========================================================================
   Reyers89 — feuille de style (mobile first)
   Couleurs : bordeaux #4d3238, crème #fff8ca. Police : Satoshi.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --burgundy: #4d3238;
  --burgundy-deep: #3d272c;
  --burgundy-soft: #5d3f46;
  --cream: #fff8ca;

  --bg: var(--burgundy);
  --fg: var(--cream);
  --muted: rgba(255, 248, 202, 0.76);
  --line: rgba(255, 248, 202, 0.22);
  --field: rgba(255, 248, 202, 0.07);
  --error: #ffb7a6;

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

  --gutter: 20px;
  --max: 1240px;
  --narrow: 760px;
  --header-h: 64px;
  --section-y: 80px;
  --radius: 12px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t-med: 240ms;

  --shadow-pol: 0 1px 2px rgba(20, 8, 12, 0.25), 0 12px 32px -8px rgba(20, 8, 12, 0.45);

  color-scheme: dark;
}

.theme-cream {
  --bg: var(--cream);
  --fg: var(--burgundy);
  --muted: rgba(77, 50, 56, 0.8);
  --line: rgba(77, 50, 56, 0.2);
  --field: rgba(77, 50, 56, 0.05);
  --error: #8f1d1d;
  background: var(--bg);
  color: var(--fg);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  min-height: 100svh;
  background: var(--burgundy);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
ul, ol { padding: 0; list-style: none; }
p, li, dd { overflow-wrap: break-word; }
[hidden] { display: none !important; }
main { display: block; outline: none; }

/* Grain léger façon papier imprimé */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Accessibilité ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--burgundy);
  font-weight: 700;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform var(--t-med) var(--ease);
}
.skip-link:focus { transform: none; }
.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;
}
:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 4px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Typographie ---------- */
.display {
  font-weight: 900;
  font-size: clamp(2.3rem, 6.4vw + 0.9rem, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h1 {
  font-weight: 900;
  font-size: clamp(2.25rem, 4.6vw + 1.1rem, 4.75rem);
  line-height: 1;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.h2 {
  font-weight: 900;
  font-size: clamp(2rem, 3.8vw + 1.1rem, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 {
  font-weight: 700;
  font-size: clamp(1.5rem, 1.6vw + 1.1rem, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h4 {
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.h1, .h2, .h3 { margin-bottom: 0.45em; }
.lead {
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.3125rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
  text-wrap: pretty;
}
.lead + .lead { margin-top: 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
p + p { margin-top: 0.85em; }
.display, .h1, .h2, .h3 { overflow-wrap: break-word; }
@media (max-width: 380px) {
  .display, .h1, .h2 { -webkit-hyphens: auto; hyphens: auto; }
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left));
}
.wrap-narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: calc(var(--section-y) * 0.6); }

/* ---------- Boutons & liens ---------- */
.btn {
  --btn-bg: var(--fg);
  --btn-fg: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 1.6em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  touch-action: manipulation;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), background-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.btn .icon { width: 20px; height: 20px; flex: none; transition: transform var(--t-med) var(--ease); }
.btn:hover { opacity: 0.9; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); opacity: 1; }
.btn-sm { min-height: 44px; padding: 0 1.15em; font-size: 0.9375rem; }
.btn-lg { min-height: 58px; padding: 0 1.9em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
  color: var(--fg);
}
.text-link .icon { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link.small { min-height: 0; font-size: 0.875rem; }

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  position: relative;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.85em;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-outline { background: transparent; color: var(--fg); border: 1.5px solid var(--line); }

.notice {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--field);
  font-weight: 500;
}

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Logos (masques recolorables) ---------- */
.logo-mask, .figures-mask, .art-print, .art-figures {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.logo-mask {
  width: 66px;
  aspect-ratio: 900 / 599;
  -webkit-mask-image: url("../img/logo.webp");
  mask-image: url("../img/logo.webp");
}
.figures-mask {
  display: inline-block;
  width: 3.4em;
  aspect-ratio: 700 / 370;
  -webkit-mask-image: url("../img/figures.webp");
  mask-image: url("../img/figures.webp");
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: transform 360ms var(--ease), background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.site-header.is-scrolled {
  background: var(--burgundy);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}
.brand { display: inline-flex; padding: 6px 0; color: var(--cream); }
.brand:hover { opacity: 0.85; }
.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-cta { display: none; }

.lang-switch { display: flex; align-items: center; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 44px;
  padding: 0 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity var(--t-fast);
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.35em; }

.menu-btn {
  min-height: 44px;
  padding: 0 1.05em;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  touch-action: manipulation;
  transition: background-color var(--t-med), color var(--t-med);
}
.menu-btn:hover { background: var(--cream); color: var(--burgundy); }

/* Menu plein écran (mobile) */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--burgundy);
  overflow-y: auto;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
.site-menu-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 32px;
}
.site-menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-menu-links a {
  display: block;
  padding: 6px 0;
  font-weight: 900;
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.site-menu-links a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.site-menu .btn { align-self: flex-start; }
.site-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.lang-switch-lg { gap: 8px; flex-wrap: wrap; }
.lang-switch-lg a { padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 0.875rem; letter-spacing: 0; }
.lang-switch-lg a[aria-current] { border-color: var(--cream); text-decoration: none; }
.js .site-menu:not([hidden]) .site-menu-links li { animation: menuIn 520ms var(--ease-out) both; }
.js .site-menu:not([hidden]) .site-menu-links li:nth-child(2) { animation-delay: 40ms; }
.js .site-menu:not([hidden]) .site-menu-links li:nth-child(3) { animation-delay: 80ms; }
.js .site-menu:not([hidden]) .site-menu-links li:nth-child(4) { animation-delay: 120ms; }
.js .site-menu:not([hidden]) .site-menu-links li:nth-child(5) { animation-delay: 160ms; }
@keyframes menuIn { from { opacity: 0; transform: translateY(18px); } }
body.menu-open { overflow: hidden; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}
.social-link:hover span { text-decoration: underline; }

/* ---------- Polaroids ---------- */
.polaroid {
  position: relative;
  background: var(--cream);
  box-shadow: var(--shadow-pol);
  rotate: var(--r, 0deg);
  color: var(--burgundy);
}
.polaroid-well {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 6% 6% 0; /* % = largeur du polaroïd */
  overflow: hidden;
  background: var(--burgundy-deep);
}
.polaroid-well picture, .polaroid-well img { width: 100%; height: 100%; }
.polaroid-well img { object-fit: cover; object-position: 50% 20%; }
.polaroid figcaption {
  padding: 0.55em 0.2em 0.75em;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.875rem, 1vw + 0.6rem, 1.0625rem);
  text-align: center;
  line-height: 1.2;
}
.polaroid:not(:has(figcaption)) .polaroid-well { margin-bottom: 20%; }
.art-print, .art-figures {
  position: absolute;
  inset: 10%;
  color: var(--cream);
}
.art-print { -webkit-mask-image: url("../img/print-back.webp"); mask-image: url("../img/print-back.webp"); }
.art-figures { inset: 22% 12%; -webkit-mask-image: url("../img/figures.webp"); mask-image: url("../img/figures.webp"); }
.art-empty { position: absolute; inset: 0; background: rgba(77, 50, 56, 0.06); }
.theme-cream .art-empty, .ugc .art-empty { background: rgba(255, 248, 202, 0.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 31vw) 0 34vw;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-polaroids { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-pol { position: absolute; width: 30vw; max-width: 270px; }
.hero-pol-1 { top: calc(var(--header-h) - 6px); left: -3vw; }
.hero-pol-2 { top: calc(var(--header-h) + 8px); right: -5vw; }
.hero-pol-3 { bottom: 2%; left: -5vw; }
.hero-pol-4 { bottom: 7%; right: -7vw; }
.hero-content { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow { justify-content: center; }
.hero-title { max-width: 13ch; margin-bottom: 0.4em; }
.hero-lead {
  max-width: 19.5rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Entrée de la page */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-pol { animation: dropIn 900ms var(--ease-out) both; }
  .js .hero-pol-1 { animation-delay: 120ms; }
  .js .hero-pol-2 { animation-delay: 220ms; }
  .js .hero-pol-3 { animation-delay: 320ms; }
  .js .hero-pol-4 { animation-delay: 420ms; }
  .js .hero-copy > * { animation: riseIn 900ms var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .js .hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .js .hero-copy > :nth-child(4) { animation-delay: 240ms; }
}
@keyframes dropIn {
  from { opacity: 0; scale: 1.25; }
  to { opacity: 1; scale: 1; }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Compte à rebours ---------- */
.countdown {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
}
.countdown-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.countdown-value { font-weight: 900; font-variant-numeric: tabular-nums; font-size: 1.125rem; }

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 15px 0;
  background: var(--bg);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee-item { font-weight: 900; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.marquee-sep {
  width: 34px;
  aspect-ratio: 700 / 370;
  background: currentColor;
  -webkit-mask: url("../img/figures.webp") center / contain no-repeat;
  mask: url("../img/figures.webp") center / contain no-repeat;
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Objectif de prix ---------- */
.goal-section { overflow: hidden; }
.goal-prices {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  min-width: 0;
  margin: 10px 0 26px;
}
.goal-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.goal-amount {
  display: block;
  font-weight: 900;
  font-size: clamp(2.6rem, 12vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.goal-price { min-width: 0; }
.goal-arrow { padding-bottom: 0.6em; flex: none; }
.goal-arrow svg { width: clamp(32px, 8vw, 64px); height: auto; }
.goal.is-reached .goal-now .goal-amount { text-decoration: line-through; text-decoration-thickness: 0.07em; opacity: 0.45; }
.goal-bar {
  position: relative;
  height: 16px;
  border-radius: 999px;
  border: 1.5px solid var(--fg);
  overflow: hidden;
}
.goal-fill {
  position: absolute;
  inset: 0;
  background: var(--fg);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform 1400ms var(--ease-out);
}
.js .goal-bar:not(.is-in) .goal-fill { transform: scaleX(0); }
.goal-count { margin-top: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.goal-remaining { margin-top: 4px; font-size: 1.125rem; font-weight: 500; max-width: 40ch; }
.goal-note { margin-top: 18px; color: var(--muted); font-size: 0.9375rem; max-width: 52ch; }
.goal-share { margin-top: 24px; font-style: italic; }
.goal-compact .goal-prices { margin: 0 0 14px; gap: 10px; }
.goal-compact .goal-amount { font-size: 2.25rem; }
.goal-compact .goal-arrow svg { width: 32px; }
.goal-compact .goal-bar { height: 10px; }
.goal-compact .goal-count { font-size: 0.9375rem; margin-top: 10px; }
.goal-compact .goal-remaining { font-size: 0.9375rem; color: var(--muted); }

/* ---------- Étapes ---------- */
.steps { margin-top: 28px; border-top: 1px solid var(--line); }
.step { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.step-head:has(.icon) .step-num { display: none; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  flex: none;
}
.step-icon { width: 26px; height: 26px; }
.step p { color: var(--muted); max-width: 52ch; }

/* ---------- Bande de polaroïds (liée au scroll) ---------- */
.strip { position: relative; padding-top: var(--section-y); }
.strip-head { margin-bottom: 8px; }
.strip-head .lead { margin-bottom: 22px; }
.strip-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 30px var(--gutter) calc(var(--section-y) * 0.8);
  scrollbar-width: none;
}
.strip-track::-webkit-scrollbar { display: none; }
.strip-pol { flex: 0 0 64vw; max-width: 340px; scroll-snap-align: center; }
.strip-pol .polaroid-well { aspect-ratio: 4 / 5; }
.strip.is-pinned { padding-top: 0; }
.strip.is-pinned .strip-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.strip.is-pinned .strip-track {
  overflow: visible;
  padding-bottom: 20px;
  transform: translate3d(var(--x, 0px), 0, 0);
  will-change: transform;
}
.strip.is-pinned .strip-pol { flex-basis: 52vw; }

/* ---------- 89 mètres ---------- */
.tower {
  position: relative;
  background: var(--burgundy-deep);
  --p: 1;
}
.tower-sticky {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--section-y);
}
.tower-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
}
.tower-gauge { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-block: 6px; }
.tower-gauge-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; white-space: nowrap; color: var(--muted); }
.tower-gauge-track {
  position: relative;
  flex: 1;
  width: 14px;
  min-height: 240px;
  background:
    linear-gradient(var(--line), var(--line)) center / 2px 100% no-repeat,
    repeating-linear-gradient(to top, var(--line) 0 1px, transparent 1px 10%) center / 14px 100% no-repeat;
}
.tower-gauge-fill {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: calc(var(--p) * 100%);
  translate: -50% 0;
  background: var(--cream);
  border-radius: 4px;
}
.tower-gauge-fill::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 14px; height: 14px;
  translate: -50% 0;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 6px rgba(255, 248, 202, 0.15);
}
.tower-main { display: flex; flex-direction: column; justify-content: center; }
.tower-count {
  font-weight: 900;
  font-size: clamp(8rem, 44vw, 20rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 26px -0.04em;
}
.tower-unit { font-size: 0.3em; letter-spacing: -0.02em; margin-left: 0.08em; }
.tower-copy {
  max-width: 34rem;
  opacity: clamp(0, calc((var(--p) - 0.55) * 3), 1);
  translate: 0 calc((1 - var(--p)) * 40px);
}
.tower-copy p { color: var(--muted); }
.tower-print {
  position: absolute;
  right: -28vw;
  bottom: -10vw;
  width: 92vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: var(--cream);
  opacity: 0.06;
  -webkit-mask: url("../img/print-back.webp") center / contain no-repeat;
  mask: url("../img/print-back.webp") center / contain no-repeat;
  translate: 0 calc((1 - var(--p)) * 12%);
  pointer-events: none;
}
.js .tower.is-pinned { height: 230svh; }
.js .tower.is-pinned .tower-sticky { position: sticky; top: 0; height: 100svh; padding-block: calc(var(--header-h) + 16px) 32px; }

/* ---------- Communauté ---------- */
.community-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.community-mark { width: 92px; margin-bottom: 22px; }
.community-copy .btn { margin-top: 26px; }
.community-quote { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: center; }
.community-quote blockquote p {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
  line-height: 1.25;
  text-wrap: balance;
}
.community-quote blockquote footer { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.quote-pol { max-width: 380px; }

.ugc .lead { margin-bottom: 30px; }
.ugc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; margin-bottom: 36px; }
.ugc-pol { opacity: 0.9; }

/* ---------- Événements ---------- */
.events-list { display: grid; margin-top: 20px; border-top: 1px solid var(--line); }
.events-list:not(:has(.event-card)) { display: none; }
.event-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 72px;
  border: 1.5px solid var(--fg);
  border-radius: var(--radius);
}
.event-day { font-weight: 900; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.event-month { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 10px; color: var(--muted); font-size: 0.9375rem; }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta .icon { width: 18px; height: 18px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.events-list-past .event-card { opacity: 0.6; }
.events-list-past .event-actions { display: none; }
.events-empty { margin-top: 20px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.events-empty .btn { margin-top: 20px; }
.events-empty-mark { width: 80px; margin-bottom: 16px; }
.events-teaser .text-link, .faq-section .text-link { margin-top: 18px; }

/* ---------- FAQ (details/summary) ---------- */
.faq-list { margin-top: 18px; }
.faq-group-title { margin: 40px 0 6px; }
.faq-group-title:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  touch-action: manipulation;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span:first-child { flex: 1; order: 2; }
.faq-sign { order: 1; position: relative; width: 16px; height: 16px; flex: none; }
.faq-sign::before, .faq-sign::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 2px;
  margin-top: -1px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease);
}
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-answer { padding: 0 0 20px 30px; color: var(--muted); max-width: 62ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-answer { animation: fadeDown 320ms var(--ease-out); }
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }
.faq-contact { margin-top: 32px; }
.ticks li { position: relative; padding-left: 18px; }
.ticks li + li { margin-top: 6px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1.5px; background: currentColor; }

/* ---------- Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .field-legend {
  font-weight: 700;
  font-size: 0.9375rem;
}
.field-legend { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; width: 100%; margin-bottom: 10px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  font-size: 1.0625rem; /* ≥16px : pas de zoom auto sur iOS */
  background: var(--field);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.field input:hover { border-color: var(--muted); }
.field input:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 3px var(--line); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: 0.875rem; color: var(--muted); }
.field-error { font-size: 0.875rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.field-group { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.field-row { display: grid; gap: 0 16px; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 24px; height: 24px;
  margin-top: 0;
  border: 1.5px solid var(--fg);
  border-radius: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.check input::after {
  content: "";
  width: 12px; height: 7px;
  border-left: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform var(--t-fast) var(--ease);
}
.check input:checked { background: var(--fg); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 2px var(--error); }
.check a { font-weight: 700; }

.size-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-option { position: relative; }
.size-option input, .chip-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.size-option span, .chip-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.size-option input:hover + span, .chip-option input:hover + span { border-color: var(--fg); }
.size-option input:checked + span, .chip-option input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.size-option input:focus-visible + span, .chip-option input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.size-option input:active + span { transform: scale(0.97); }
.field-group.has-error .size-option span { border-color: var(--error); }
.chip-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-option { position: relative; }
.chip-option span { min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 500; }

.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stepper-btn { width: 54px; min-height: 54px; display: grid; place-items: center; touch-action: manipulation; }
.stepper-btn:hover { background: var(--field); }
.stepper-btn:active { background: var(--line); }
.stepper input {
  width: 56px;
  text-align: center;
  font-weight: 900;
  font-size: 1.25rem;
  background: transparent;
  border: 0;
  border-inline: 1.5px solid var(--line);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.form-status { margin-top: 12px; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }

.error-summary {
  margin-bottom: 26px;
  padding: 16px 18px;
  border: 2px solid var(--error);
  border-radius: var(--radius);
}
.error-summary ul { margin-top: 6px; }
.error-summary li { list-style: disc; margin-left: 20px; }
.error-summary a { color: var(--error); font-weight: 700; }

/* ---------- Newsletter ---------- */
.waitlist .lead { margin-bottom: 28px; }
.waitlist-mark { width: 84px; margin-bottom: 22px; }
.waitlist-form { max-width: 560px; }
.waitlist-form .btn { margin-top: 16px; }
.waitlist-form.is-done .field-row, .waitlist-form.is-done .check, .waitlist-form.is-done .btn { display: none; }
.waitlist-form.is-done .form-status { font-size: 1.25rem; }

/* ---------- Pages internes ---------- */
.page-hero { padding: calc(var(--header-h) + env(safe-area-inset-top) + 48px) 0 32px; }
.page-hero-compact .lead { margin-top: 4px; }
.page-hero-compact .countdown { margin-top: 20px; }
.page-hero-polaroids {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--header-h) + 36vw);
  padding-bottom: 60px;
}
.page-hero-polaroids .page-hero-content { display: flex; flex-direction: column; align-items: center; }
.page-hero-polaroids .eyebrow { justify-content: center; }
.page-hero-polaroids .hero-pol-1 { top: calc(var(--header-h) + 4px); left: -2vw; }
.page-hero-polaroids .hero-pol-2 { top: calc(var(--header-h) - 10px); right: -6vw; }
.page-hero-polaroids .display { margin-bottom: 0.35em; }

.toc { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.toc a:hover { border-color: var(--fg); }
.legal h2 { margin-top: 44px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); max-width: 66ch; }
mark.todo { background: var(--cream); color: var(--burgundy); padding: 0 4px; border-radius: 3px; }

.notfound { min-height: 80svh; display: flex; align-items: center; }
.notfound-num { font-weight: 900; font-size: clamp(7rem, 40vw, 16rem); line-height: 0.8; letter-spacing: -0.06em; margin-bottom: 20px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 28px; }

/* ---------- Page produit ---------- */
.product { padding-top: calc(var(--header-h) + env(safe-area-inset-top)); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-inline: 0; }
.product-gallery { position: relative; }
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline-offset: -3px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; background: #e9e8e4; }
.gallery-slide picture, .gallery-slide img { width: 100%; height: 100%; }
.gallery-slide img { object-fit: cover; object-position: 50% 25%; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; padding: 14px 0 0; }
.gallery-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background-color var(--t-med), width var(--t-med); }
.gallery-dot.is-active { background: var(--cream); width: 22px; border-radius: 4px; }
.product-info { padding-inline: max(var(--gutter), env(safe-area-inset-left)); padding-bottom: var(--section-y); }
.product-info .h1 { margin-bottom: 0.3em; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 18px; }
.product-price strong { font-weight: 900; font-size: 2.25rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.product-color { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9375rem; }
.swatch { width: 18px; height: 18px; border-radius: 50%; background: #5a2430; box-shadow: 0 0 0 1.5px var(--cream); }
.product-goal { margin: 26px 0; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--radius); }
.product-sizes { margin: 24px 0 18px; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.label-row .eyebrow { margin-bottom: 10px; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 48px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
a.size-chip:hover { border-color: var(--cream); background: var(--cream); color: var(--burgundy); }
.product-actions { display: grid; gap: 12px; margin: 22px 0 14px; }
.product-details { margin-top: 30px; border-top: 1px solid var(--line); }
.product-details .faq-answer { padding-left: 30px; }

.size-table-wrap { overflow-x: auto; margin: 22px 0 22px; }
.size-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 14px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.size-table thead th { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; }
.size-table thead small { display: block; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.size-table tbody th { font-weight: 900; }
.size-table tbody tr:hover { background: var(--field); }

/* ---------- Page précommande ---------- */
.order-section { padding-top: 12px; }
.saved-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 26px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
}
.order-steps { display: flex; gap: 22px; margin-bottom: 28px; font-weight: 700; font-size: 0.9375rem; color: var(--muted); }
.order-steps li { display: flex; align-items: center; gap: 8px; }
.order-steps span { display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 0.8125rem; }
.order-steps .is-current { color: var(--fg); }
.order-steps .is-current span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.order-steps .is-done span { background: transparent; }
.order-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.order-side { display: grid; gap: 14px; }
.order-summary { padding: 20px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--field); }
.order-summary-item { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.order-thumb { width: 72px; flex: none; padding: 4px; }
.thumb-pol { box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5); }
.order-item-name { font-weight: 700; }
.order-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0 6px; }
.order-total strong { font-weight: 900; font-size: 2rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.order-summary .goal { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

.order-success { max-width: 720px; outline: none; }
.order-success .lead { margin-bottom: 26px; }
.demo-note { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--radius); background: var(--cream); color: var(--burgundy); font-weight: 700; font-size: 0.9375rem; }
.transfer-card { display: grid; gap: 22px; padding: 6px 20px; border: 1.5px solid var(--fg); border-radius: 18px; margin-bottom: 20px; }
.transfer-row { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.transfer-row:last-child { border-bottom: 0; }
.transfer-row dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.transfer-row dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 1.125rem; word-break: break-word; }
.transfer-row-big dd > span { font-weight: 900; font-size: 2.25rem; letter-spacing: -0.03em; }
.transfer-row-ref dd > span { font-size: 1.1875rem; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  touch-action: manipulation;
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.copy-btn .icon { width: 18px; height: 18px; }
.transfer-row dd > span { white-space: nowrap; }
@media (max-width: 419px) {
  .copy-btn { width: 44px; padding: 0; justify-content: center; }
  .copy-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .transfer-row-ref dd > span { font-size: 1.0625rem; letter-spacing: 0; }
}
.copy-btn:hover { border-color: var(--fg); }
.copy-btn.is-copied { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.transfer-qr { display: none; }
.qr-box { width: 168px; padding: 10px; background: var(--cream); border-radius: 10px; }
.qr-box img, .qr-box canvas { width: 100% !important; height: auto !important; }
.order-success .notice { margin-bottom: 16px; }
.order-success .btn { margin-top: 24px; }

/* ---------- Retrait ---------- */
.pickup { background: var(--burgundy-deep); }
.pickup-info { display: grid; gap: 14px; margin: 26px 0; }
.pickup-info > div { padding: 18px; border: 1.5px solid var(--line); border-radius: var(--radius); }
.pickup-info dt { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pickup-info dt .icon { width: 18px; height: 18px; }
.pickup-info dd { font-weight: 700; font-size: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 72px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-bottom: 48px; }
.footer-logo { color: var(--cream); }
.footer-logo .logo-mask { width: min(64vw, 380px); }
.footer-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-weight: 900;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-tag .figures-mask { width: 44px; }
.footer-cols { display: grid; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; font-size: 1.125rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-social { display: flex; flex-direction: column; align-items: flex-start; }
.footer-social .eyebrow { margin-bottom: 4px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-bottom p { flex-basis: 100%; }
.footer-bottom a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- CTA collant (mobile) ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px max(var(--gutter), env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));
  background: var(--burgundy);
  box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(110%);
  transition: transform 420ms var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: var(--max); margin-inline: auto; }
.sticky-cta-price { display: flex; flex-direction: column; line-height: 1.15; }
.sticky-cta-price strong { font-weight: 900; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.sticky-cta-price small { font-size: 0.8125rem; color: var(--muted); }
.sticky-cta .btn { flex: 1; max-width: 240px; }

/* ---------- Barre d'aperçu des états ---------- */
.preview-bar {
  position: fixed;
  left: 10px; right: 10px;
  top: calc(var(--header-h) + env(safe-area-inset-top) + 6px);
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--burgundy);
  font-size: 0.8125rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.preview-states { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.preview-states a { opacity: 0.65; }
.preview-states a[aria-current] { opacity: 1; font-weight: 700; }
.preview-exit { margin-left: auto; font-weight: 700; }

/* ---------- Apparition au scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .polaroid.reveal { transform: translateY(40px) rotate(calc(var(--r, 0deg) * -1.5)); }
  .js .polaroid.reveal.is-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   ≥ 600px
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 32px; --section-y: 104px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .size-picker { grid-template-columns: repeat(8, 1fr); }
  .hero { padding-top: calc(var(--header-h) + 25vw); padding-bottom: 24vw; }
  .hero-pol { width: 24vw; }
  .hero-lead { max-width: 30rem; }
  .ugc-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
  .pickup-info { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom p { flex-basis: auto; margin-right: auto; }
  .strip.is-pinned .strip-pol { flex-basis: 36vw; }
  .transfer-qr { display: none; }
}

/* ==========================================================================
   ≥ 900px (desktop)
   ========================================================================== */
@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 80px; --section-y: 136px; }
  .logo-mask { width: 84px; }
  .nav-desktop { display: block; }
  .nav-desktop ul { display: flex; gap: 6px; }
  .nav-desktop a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color var(--t-fast);
  }
  .nav-desktop a:hover { background: var(--field); }
  .nav-desktop a[aria-current] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.35em; }
  .header-cta { display: inline-flex; margin-left: 8px; }
  .menu-btn[data-menu-open] { display: none; }
  .header-actions { gap: 4px; }

  .hero { padding: calc(var(--header-h) + 80px) 0 120px; }
  .hero-pol { width: 15.5vw; max-width: 250px; }
  .hero-pol-1 { top: 16%; left: 2.5%; }
  .hero-pol-2 { top: 12%; right: 2.5%; }
  .hero-pol-3 { top: auto; bottom: 7%; left: 7%; }
  .hero-pol-4 { bottom: 5%; right: 6.5%; }
  .hero-title { max-width: 13ch; font-size: clamp(3.5rem, 5.4vw, 5.75rem); }
  .hero-lead { max-width: 34rem; font-size: 1.1875rem; }

  .community-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
  .quote-section .community-grid { grid-template-columns: 1.1fr 1fr; }

  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 0; }
  .step { border-top: 1px solid var(--line); border-bottom: 0; }

  .strip-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 60px; align-items: end; }
  .strip-head .eyebrow, .strip-head .h2 { grid-column: 1; }
  .strip-head .lead { grid-column: 2; grid-row: 2; align-self: end; margin-bottom: 0.9em; }
  .strip-head .btn { grid-column: 2; grid-row: 3; justify-self: start; }
  .strip-track { gap: 40px; padding-inline: var(--gutter); }
  .strip-pol { flex-basis: 300px; }
  .strip.is-pinned .strip-pol { flex-basis: min(28vw, 360px); max-width: 360px; }

  .tower-inner { gap: 60px; grid-template-columns: auto 1fr; }
  .tower-main { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 0 60px; }
  .tower-main .eyebrow { grid-column: 1 / -1; }
  .tower-count { margin-bottom: 0; }
  .tower-copy { padding-bottom: 2.4rem; }
  .tower-print { right: -10vw; bottom: -20vh; width: 60vw; }

  .ugc-grid { grid-template-columns: repeat(6, 1fr); }

  .product { padding-top: calc(var(--header-h) + 24px); }
  .product-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; padding-inline: var(--gutter); }
  .gallery-track { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow: visible; }
  .gallery-slide:first-child { grid-column: 1 / -1; }
  .gallery-dots { display: none; }
  .product-info { position: sticky; top: calc(var(--header-h) + 16px); padding-inline: 0; padding-bottom: 40px; }

  .order-form { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
  .order-form > .error-summary { grid-column: 1 / -1; }
  .order-side { position: sticky; top: calc(var(--header-h) + 20px); }
  .transfer-card { grid-template-columns: 1fr auto; align-items: center; padding: 10px 28px; }
  .transfer-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .transfer-qr[hidden] { display: none !important; }

  .page-hero { padding-top: calc(var(--header-h) + 80px); }
  .page-hero-polaroids { min-height: 86svh; padding-top: calc(var(--header-h) + 60px); }
  .page-hero-polaroids .hero-pol-1 { top: 20%; left: 6%; }
  .page-hero-polaroids .hero-pol-2 { top: 26%; right: 6%; }

  .footer-cols { grid-template-columns: 2fr 1fr; }
  .footer-links { columns: 2; }

  .sticky-cta { display: none; }
  .preview-bar { left: auto; right: 16px; max-width: 520px; }
}

/* ==========================================================================
   ≥ 1200px
   ========================================================================== */
@media (min-width: 1200px) {
  :root { --gutter: 56px; }
  .hero-pol { width: 15vw; }
}
