/* LAVESTERIE — feuille de style principale
   DA : sobre, une seule police droite (Inter Tight), papier chaud + encre, accent par pays. */

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f3f1ec;
  --paper: #fbfaf7;
  --card: #ffffff;
  --ink: #0e0e0e;
  --ink-2: #2b2a28;
  --muted: #6b6862;
  --line: #dcd8cf;
  --line-2: #ebe8e1;
  --accent: #0e0e0e;
  --ok: #157347;
  --err: #b42318;
  --wa: #1fa855;
  --radius: 14px;
  --radius-s: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 64px;
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* champs à 16 px minimum : l'iPhone ne zoome plus quand on touche un champ */
body { margin: 0; background: var(--bg); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
/* jamais moins de 16 px dans un champ : sinon l'iPhone zoome quand on le touche */
input, select, textarea { font-size: max(16px, 1em) !important; }
/* AUCUN zoom (pincement / double-tap), sur tous les appareils : appliqué à CHAQUE élément, car chaque zone
   qui défile toute seule (fiche produit, panier, fenêtres du back-office, listes horizontales) repart de zéro. */
*, *::before, *::after { touch-action: pan-x pan-y; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- éléments */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transition: background .6s var(--ease); }
.h2 { font-size: clamp(34px, 6vw, 76px); line-height: .98; letter-spacing: -.035em; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink);
  font-weight: 600; font-size: 16px; text-decoration: none; letter-spacing: -.01em;
  transition: transform .25s var(--ease), background .25s, color .25s, opacity .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2a; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: #18914a; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .35; pointer-events: none; }
.btn .spin { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
.icon-btn:hover { border-color: var(--ink); }

/* ---------------------------------------------------------------- annonce + header */

.announce { background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; overflow: hidden; height: 34px; display: flex; align-items: center; }
.announce__track { display: flex; gap: 80px; white-space: nowrap; animation: marquee 28s linear infinite; padding-left: 40px; }
@media (min-width: 900px) { .announce__track { animation: none; justify-content: center; width: 100%; } .announce__track span[aria-hidden] { display: none; } }

.header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-2); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 14px;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--card); font-weight: 600; font-size: 15px;
}
.cart-count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.08); } }
@media (max-width: 860px) {
  .nav { display: none; }
  .cart-btn span { display: none; }
  .cart-btn { padding: 0 8px; }
}

/* ---------------------------------------------------------------- hero 3D */

.hero {
  position: relative; min-height: calc(100svh - var(--header-h) - 34px); min-height: 640px;
  display: grid; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 80% at 70% 40%, #fbfaf6 0%, var(--bg) 60%);
}
@media (min-height: 760px) { .hero { min-height: calc(100svh - var(--header-h) - 34px); } }
.hero__stage { position: absolute; inset: 0; z-index: 0; touch-action: pan-y; cursor: grab; }
.hero__stage:active { cursor: grabbing; }
.hero__canvas { width: 100%; height: 100%; }
.hero__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__fallback img { width: min(70vw, 520px); height: auto; mix-blend-mode: multiply; }
.hero__content {
  position: relative; z-index: 2; align-self: end; pointer-events: none;
  padding: 0 var(--gutter) clamp(28px, 6vh, 64px); max-width: 980px;
}
.hero__content > * { pointer-events: auto; }
.hero__title { font-size: clamp(54px, 10.5vw, 150px); line-height: .86; letter-spacing: -.055em; font-weight: 800; margin: 14px 0 18px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 460px; color: var(--ink-2); }
.offer-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 5px 16px 5px 6px; line-height: 1.25; margin-bottom: 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.offer-pill b { flex: 0 0 auto; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.hero__ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero__label {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  display: grid; gap: 2px; text-align: right;
}
.hero__label-k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero__label-v { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.hero__hint {
  position: absolute; z-index: 2; right: var(--gutter); top: 28px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted); font-weight: 500; padding-right: 8px; margin-right: -8px;
}
.hero__hint svg { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
@media (max-width: 760px) {
  .hero { min-height: 0; height: calc(100svh - var(--header-h) - 34px); max-height: 860px; min-height: 600px; }
  .hero__stage { bottom: 41%; top: 8px; }
  .hero__label { right: auto; left: var(--gutter); top: 18px; bottom: auto; text-align: left; }
  .hero__hint { top: 18px; }
  .hero__ctas .btn { flex: 1; padding: 0 14px; white-space: nowrap; font-size: 15px; }
}
/* tablettes et écrans en portrait : la scène 3D au-dessus du texte */
@media (min-width: 761px) and (max-aspect-ratio: 5/6) {
  .hero__stage { bottom: 36%; }
  .hero__label { bottom: auto; top: 28px; left: var(--gutter); right: auto; text-align: left; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 50px; }
  .hero__lead { font-size: 15px; }
}

/* ---------------------------------------------------------------- bandeau défilant */

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--paper); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-size: clamp(32px, 5vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.marquee .flag { width: clamp(38px, 5vw, 66px); height: auto; aspect-ratio: 3 / 2; border-radius: 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(72px, 11vw, 150px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(28px, 5vw, 56px); }

/* pays */
.countries { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.country {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 600; font-size: 15px;
  transition: border-color .25s, background .25s, color .25s;
}
.country:hover { border-color: var(--ink); }
.country[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.flag { display: inline-block; flex: 0 0 auto; width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.1); vertical-align: middle; }
.country small { font-weight: 500; opacity: .6; }

/* grille produits */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 1020px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line-2);
  background: var(--card); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none;
  transform-style: preserve-3d; will-change: transform; transition: border-color .3s, box-shadow .4s var(--ease);
}
.card:hover { border-color: var(--line); box-shadow: 0 24px 50px -30px rgba(20, 18, 14, .35); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.card__media::before, .pd-main::before { content: ""; position: absolute; inset: -30px; background: var(--fill, none) center / cover; filter: blur(26px) saturate(1.05); opacity: .5; }
.card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card__media > img.is-photo { object-fit: cover; }
.card__tag {
  position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.card__tag.is-soon { background: var(--ink); color: #fff; }
/* étiquette promo (coin haut droit de la photo) + ligne prix de gros */
.card__promo { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: #C8102E; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(200,16,46,.6); }
.card__bulk { font-size: 13px; color: var(--muted); margin-top: -4px; }
.card__bulk b { color: var(--ink); font-weight: 700; }
.card__tag .flag { width: 20px; height: 14px; }
.card__info { display: grid; gap: 10px; padding: 16px 18px 18px; border-top: 1px solid var(--line-2); }
.card__name { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-size: 15px; color: var(--muted); }
.card__price b { color: var(--ink); font-weight: 700; }
.swatches { display: flex; gap: 6px; }
.swatches button, .swatches span {
  width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 2px var(--card), 0 0 0 3px transparent; transition: box-shadow .2s;
}
.swatches .is-on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 2px var(--card), 0 0 0 3px var(--ink); }

/* ---------------------------------------------------------------- prix dégressifs */

.tiers { max-width: none; background: var(--ink); color: #fff; }
.tiers .eyebrow, .tiers .muted { color: rgba(255,255,255,.62); }
.tiers__wrap { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .tiers__wrap { grid-template-columns: 1fr; } }
.tiers__text { display: grid; gap: 22px; }
.tiers__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.tiers__list li { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 17px; transition: color .3s; color: rgba(255,255,255,.62); }
.tiers__list li b { font-size: 22px; font-weight: 700; color: rgba(255,255,255,.62); transition: color .3s; }
.tiers__list li.is-on, .tiers__list li.is-on b { color: #fff; }
.sim { background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; }
.sim__top { display: flex; justify-content: space-between; align-items: end; }
.sim__k { font-size: 14px; font-weight: 600; color: var(--muted); }
.sim__qty { font-size: 72px; font-weight: 800; letter-spacing: -.05em; line-height: .8; font-variant-numeric: tabular-nums; }
.sim__range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; }
.sim__range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--ink) var(--p, 18%), var(--line) var(--p, 18%)); }
.sim__range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.sim__range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--ink); }
.sim__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); margin-top: -12px; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.sim__range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.sim__rows { display: grid; border-top: 1px solid var(--line); }
.sim__rows div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
.sim__rows b { font-variant-numeric: tabular-nums; }
.sim__rows .sim__total { border-bottom: 0; font-size: 20px; font-weight: 700; }
.sim__save { min-height: 24px; font-weight: 600; color: var(--ok); }

/* ---------------------------------------------------------------- étapes */

.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) { .steps__list { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; min-height: 260px; }
.step__n { font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--line); }
.step h3 { font-size: 22px; letter-spacing: -.02em; }
.step p { color: var(--muted); }

/* ---------------------------------------------------------------- FAQ */

.faq__list { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(17px, 2vw, 21px); font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 720px; }

/* ---------------------------------------------------------------- footer */

.footer { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) var(--gutter) 28px; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__logo { font-size: clamp(48px, 11vw, 150px); font-weight: 800; letter-spacing: -.06em; line-height: .8; }
.footer__bottom { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 14px; color: rgba(255,255,255,.62); }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ---------------------------------------------------------------- fiche produit */

.sheet { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(14, 14, 14, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet__panel {
  position: relative; width: min(1180px, calc(100vw - 48px)); max-height: calc(100svh - 48px); overflow: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: 22px; outline: none;
}
.sheet__close { position: absolute; right: 16px; top: 16px; z-index: 5; }
.sheet__body { display: grid; grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) {
  .sheet { place-items: end stretch; }
  .sheet__panel { width: 100%; max-height: 94svh; border-radius: 22px 22px 0 0; }
  .sheet__body { grid-template-columns: 1fr; }
}
.pd-gallery { position: relative; background: #fff; display: grid; grid-template-rows: 1fr auto; min-height: 100%; }
.pd-main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.pd-main > img, .pd-main > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pd-main .is-photo { object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; scrollbar-width: none; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumbs button { position: relative; flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); padding: 0; background: #fff; }
.pd-thumbs button.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.25); color: #fff; }
.pd-info { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 22px; align-content: start; }
.pd-country { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pd-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.pd-sub { color: var(--muted); margin-top: 8px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-price b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pd-price s { color: var(--muted); font-size: 18px; }
.pd-price span { font-size: 14px; color: var(--muted); }
.pd-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.pd-label span { color: var(--muted); font-weight: 500; }
.pd-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-colors button {
  width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 3px var(--paper), 0 0 0 4px transparent; transition: box-shadow .2s;
}
.pd-colors button.is-on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); }
.pd-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.pd-sizes button { height: 48px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--card); font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.pd-sizes button:hover { border-color: var(--ink); }
.pd-sizes button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pd-sizes.is-error button { border-color: var(--err); }
.pd-sizes button { position: relative; }
.pd-sizes__n { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); font: 700 12px/19px inherit; font-style: normal; font-variant-numeric: tabular-nums; }
.pd-sel { display: grid; }
.pd-sel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-sel__row { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--card); min-width: 0; }
.pd-sel__row.is-flash { animation: pdFlash .7s var(--ease); }
@keyframes pdFlash { from { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); } to { border-color: var(--line); box-shadow: 0 0 0 0 transparent; } }
.pd-sel__dot { flex: 0 0 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.pd-sel__name { flex: 1; min-width: 0; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.pd-sel__name b { white-space: nowrap; }
.pd-sizes-label { gap: 12px; }
.pd-sizes-label span { text-align: right; }
@media (max-width: 380px) {
  .pd-sel__row { gap: 8px; padding-left: 10px; }
  .pd-sel__row .qty--s button { width: 32px; }
  .pd-sel__row .qty--s input { width: 30px; }
  .pd-sel__rm { flex-basis: 30px; }
}
.pd-sel__rm { flex: 0 0 36px; height: 36px; border: 0; background: none; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); }
.pd-sel__rm:hover { color: var(--ink); background: var(--line-2); }
.pd-sel__hint { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .pd-sel__row.is-flash { animation: none; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--card); height: 48px; }
.qty button { width: 46px; height: 46px; border: 0; background: none; font-size: 20px; border-radius: 50%; }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--s { height: 38px; }
.qty--s button { width: 36px; height: 36px; font-size: 17px; }
.qty--s input { width: 36px; font-size: 16px; }
.pd-buy { display: flex; gap: 12px; align-items: center; }
.pd-buy .btn { flex: 1; }
.pd-tier { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; font-size: 14px; }
.progress { height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ink); border-radius: 6px; transition: width .6s var(--ease); }
.pd-desc { color: var(--ink-2); font-size: 15px; }
.pd-soon { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; }
@media (max-width: 900px) {
  .pd-buy-wrap { position: sticky; bottom: 0; margin: 0 calc(-1 * clamp(24px, 3.4vw, 44px)) calc(-1 * clamp(24px, 3.4vw, 44px)); padding: 14px clamp(24px, 3.4vw, 44px) calc(14px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); z-index: 3; }
}

/* ---------------------------------------------------------------- panier / demande */

.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(14, 14, 14, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); background: var(--paper);
  display: grid; grid-template-rows: auto 1fr; outline: none; box-shadow: -30px 0 60px -40px rgba(0,0,0,.4);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer__steps { display: flex; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.drawer__steps span { padding: 6px 10px; border-radius: 999px; }
.drawer__steps .is-on { background: var(--ink); color: #fff; }
.drawer__steps .is-done { color: var(--ink); }
.drawer__body { overflow: auto; overscroll-behavior: contain; padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.drawer__foot { position: sticky; bottom: -22px; margin: auto -22px -22px; padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.empty { text-align: center; padding: 40px 0; display: grid; gap: 16px; justify-items: center; color: var(--muted); }
.empty b { color: var(--ink); font-size: 20px; }

.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: start; }
.line__img { width: 84px; height: 84px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: contain; }
.line__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.line__meta { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.line__right { display: grid; justify-items: end; gap: 8px; }
.line__total { font-weight: 700; font-variant-numeric: tabular-nums; }
.line__rm { border: 0; background: none; font-size: 13px; color: var(--muted); text-decoration: underline; padding: 4px 0; }

.summary { display: grid; gap: 8px; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; }
.summary .save { color: var(--ok); font-weight: 600; }
.summary .total { font-size: 20px; font-weight: 800; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.tierbox { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px; display: grid; gap: 10px; font-size: 14px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--card);
  font-size: 16px; transition: border-color .2s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-error input, .field.is-error select { border-color: var(--err); }
.field .err { font-size: 12px; color: var(--err); min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecea; color: var(--err); border-radius: var(--radius-s); padding: 12px 14px; font-size: 14px; font-weight: 500; }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* étape 3 : récap + WhatsApp */
.done-head { display: grid; gap: 6px; }
.done-head .ok { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 700; font-size: 14px; }
.done-head h3 { font-size: 28px; letter-spacing: -.03em; line-height: 1.05; }
.recap-preview { flex: none; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.recap-preview img { display: block; width: 100%; height: auto; }
.action-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; background: var(--card); transition: opacity .3s, border-color .3s; }
.action-card.is-locked { opacity: .5; }
.action-card.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.action-card.is-done { border-color: var(--ok); }
.action-card h4 { margin: 0; font-size: 17px; display: flex; gap: 10px; align-items: center; }
.action-card h4 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; }
.action-card.is-done h4 .n { background: var(--ok); }
.action-card p { font-size: 14px; color: var(--ink-2); }
.linklike { border: 0; background: none; padding: 0; text-decoration: underline; font-size: 14px; color: var(--muted); justify-self: start; }
.callout { background: #fff8e6; border: 1px solid #f0dfae; border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease); width: max-content; max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* mobile : le message s'affiche en haut (déclaré APRÈS la règle de base, sinon haut + bas = barre étirée) */
@media (max-width: 760px) {
  .toast { bottom: auto; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -20px); }
  .toast.is-on { transform: translate(-50%, 0); }
}

/* apparitions */
[data-reveal] { will-change: transform, opacity; }

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

/* ---------------------------------------------------------------- pages simples (légal, récap) */

.page { max-width: 820px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.page h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -.04em; line-height: 1; margin-bottom: 28px; }
.page h2 { font-size: 22px; letter-spacing: -.02em; margin: 36px 0 10px; }
.page p, .page li { color: var(--ink-2); margin-bottom: 10px; }
.page .todo { background: #fff8e6; border: 1px dashed #d9b85c; padding: 2px 6px; border-radius: 4px; }

/* téléphones courts (iPhone SE, petits Android) */
@media (max-width: 760px) and (max-height: 700px) {
  .hero { height: auto; min-height: 640px; }
  .hero__stage { bottom: 50%; }
  .hero__title { margin: 10px 0 12px; }
}

/* délais d'envoi + gros volumes */
.pd-delay { font-size: 13px; color: var(--muted); margin-top: -8px; }
.bulk-note { font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; }
.bulk-note a, .pd-tier a, .tiers__bulk a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* ---------------------------------------------------------------- sous la pluie (tissu déperlant) */
.rain { position: relative; overflow: hidden; background: #0b1016; color: #fff; padding: clamp(72px, 11vw, 150px) var(--gutter); }
.rain::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 25% 40%, rgba(70,110,160,.28), transparent 70%); pointer-events: none; }
.rain__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rain__wrap { position: relative; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rain__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: #121a24; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.rain__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rain__text { display: grid; gap: 22px; align-content: center; }
.rain .eyebrow { color: rgba(255,255,255,.62); }
.rain .h2 { color: #fff; }
.rain__lead { color: rgba(255,255,255,.76); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; max-width: 46ch; }
.rain__points { list-style: none; margin: 4px 0 6px; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rain__points li { display: grid; gap: 4px; }
.rain__points b { font-size: 15px; }
.rain__points span { font-size: 13px; color: rgba(255,255,255,.6); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; justify-self: start; }
.btn--light:hover { background: rgba(255,255,255,.86); }
@media (max-width: 860px) {
  .rain__wrap { grid-template-columns: 1fr; }
  .rain__media { aspect-ratio: 4 / 5; max-height: 72svh; }
}
@media (max-width: 480px) {
  .rain__points { grid-template-columns: 1fr; gap: 10px; }
  .rain__points li { grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
  .btn--light { justify-self: stretch; }
}

/* ---------------------------------------------------------------- pluie du haut de page */
.hero__rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* ---------------------------------------------------------------- autres produits */
.extras { display: grid; gap: clamp(26px, 4vw, 44px); }
.xcat { display: grid; gap: 16px; }
.xcat__title { display: flex; align-items: baseline; gap: 10px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.02em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.xcat__title small { font-size: 14px; font-weight: 600; color: var(--muted); }
.grid--x { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid--x { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid--x { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card__media--x > img { inset: 4%; width: 92%; height: 92%; }
.card--x .card__info { padding: 14px 16px 16px; gap: 6px; }
.card--x .card__name { font-size: 16px; }
@media (max-width: 760px) {
  .card--x .card__info { padding: 12px; }
  .card--x .card__name { font-size: 15px; }
  .card--x .card__price { font-size: 13px; }
}

.extras [data-extras] { display: grid; gap: clamp(32px, 5vw, 56px); }

/* ---------------------------------------------------------------- hero sur téléphone : la scène 3D AU-DESSUS du texte
   (plus de superposition : sur les petits écrans la veste de face ne recouvre jamais le titre) */
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; }
  .hero__stage { position: relative; inset: auto; top: auto; bottom: auto; flex: none; width: 100%; height: clamp(250px, 46svh, 420px); margin-top: 68px; }
  .hero__content { align-self: stretch; padding-top: 6px; }
  .hero .eyebrow { margin-top: 0; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero__stage { height: clamp(220px, 40svh, 300px); margin-top: 66px; }
}
