/* =====================================================================
   SANGA — remise à zéro (chargée en premier)
   Créé par le studio NYNDRA — https://nyndra.com/
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; }

fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }

/* =====================================================================
   SANGA — FLOODLIGHT DESIGN SYSTEM (2026) · v2 « soft »
   Webflow : coller ce fichier dans Site Settings > Custom Code > Head
   (entre <style></style>) ou l'héberger et le lier.
   Créé par le studio NYNDRA — https://nyndra.com/
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Surfaces */
  --ink: #171614;          /* fond principal — anthracite chaud, pas noir pur */
  --ardoise: #211F1C;      /* surfaces / cartes */
  --graphite: #2B2926;     /* surfaces élevées, champs */
  --bone: #ECE8E1;         /* fond clair éditorial */
  --bone-ink: #141311;     /* texte sur fond clair */
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);

  /* Texte */
  --white: #F7F5F1;        /* blanc cassé : plus doux que #FFF sur grand texte */
  --fog: #A39E96;          /* texte secondaire (6.4:1 sur --ink) */
  --mute: #C9C3B8;         /* manifeste non lu (sur fond clair) */

  /* Signature */
  --sanga: #FF6A13;        /* Orange Éléphant — utilisé en touches seulement */
  --pitch: #19B45A;        /* Vert pelouse — confirmation */

  /* Lumière d'ambiance (pilotée par le sélecteur Floodlight) */
  --glow: #FF6A13;

  /* Thème (nuit par défaut ; le mode jour redéfinit ces valeurs dans 15-theme.css) */
  --ink-rgb: 23, 22, 20;     /* fond, pour les verres dépolis rgba(var(--ink-rgb), a) */
  --fg-rgb: 255, 255, 255;   /* texte, pour les surfaces très légères */
  --hi: #FFFFFF;             /* survol des boutons pleins */
  --ok: #7BE0A3;
  --danger: #FF8A80;
  --bg-a: #1B1A17; --bg-b: #151412;
  color-scheme: dark;

  /* Typo */
  --f-display: "Archivo", "Arial Narrow", sans-serif;     /* hero uniquement */
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;

  /* Espacements (base 4px) */
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(112px, 14vw, 240px);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --t-micro: 200ms;
  --t-ui: 450ms;
}

/* ---------- 2. BASE ---------- */
html { overflow-x: clip; background: var(--ink); color: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-family: var(--f-body); font-weight: 400; font-size: clamp(15px, 0.85vw + 4px, 19px); line-height: 1.6; overflow-x: clip; }
::selection { background: var(--sanga); color: var(--ink); }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; border-radius: 2px; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Familles
   - f-cond  : le seul texte en capitales massives (hero), traité comme une image
   - f-soft  : titres — Geist en minuscules, graisse moyenne, approche serrée
   - em      : accent en Instrument Serif italique, pour la douceur éditoriale
   - f-label : petits libellés, casse normale, gris doux
   - f-mono  : réservé à l'habillage « retransmission » (HUD, numéros)        */
.f-cond  { font-family: var(--f-display); font-stretch: 62%; font-weight: 900; letter-spacing: -0.01em; line-height: 0.82; text-transform: uppercase; }
.f-soft  { font-family: var(--f-body); font-weight: 450; letter-spacing: -0.04em; line-height: 1; }
.f-serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.f-label { font-family: var(--f-body); font-size: 13px; line-height: 1.4; letter-spacing: 0; color: var(--fog); }
.f-mono  { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.02em; line-height: 1.5; }
.f-soft em, .p-card__name em, .manifesto__text em, .hero__after em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }

/* Échelle typographique fluide (de 375px à 3840px) */
.t-h1 { font-size: clamp(2.6rem, 8vw, 12.5rem); }
.t-h2 { font-size: clamp(2.3rem, 5.2vw, 8rem); }
.t-lead { font-size: clamp(1.1rem, 1.4vw, 2rem); line-height: 1.35; letter-spacing: -0.015em; }

/* Lien souligné : le seul style d'action du site (hors commande finale) */
.u-link { position: relative; display: inline-flex; align-items: baseline; gap: 0.4em; padding-bottom: 2px; color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 600ms var(--ease-out), color var(--t-micro); }
.u-link:hover, .u-link:focus-visible { background-size: 100% 1px; }
.u-link--lg { font-size: clamp(1rem, 1.1vw, 1.35rem); letter-spacing: -0.01em; background-size: 100% 1px; background-color: transparent; }
.u-link--lg:hover { animation: underline-run 900ms var(--ease-out); }
@keyframes underline-run { 0% { background-size: 100% 1px; background-position: 100% 100%; } 45% { background-size: 0 1px; background-position: 100% 100%; } 46% { background-position: 0 100%; } 100% { background-size: 100% 1px; background-position: 0 100%; } }

/* ---------- 3. COUCHES GLOBALES ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70vw 50vw at 85% -10%, color-mix(in srgb, var(--glow) 26%, transparent), transparent 70%),
    radial-gradient(60vw 50vw at -10% 110%, color-mix(in srgb, var(--glow) 15%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-a), var(--bg-b));
}
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

main, .site-footer { position: relative; z-index: 1; }

/* ---------- 4. PRELOADER ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; grid-template-rows: 1fr auto; padding: var(--gutter); clip-path: inset(0 0 0 0); }
.preloader__mark { position: relative; align-self: center; justify-self: center; width: clamp(96px, 11vw, 180px); aspect-ratio: 281 / 250; }
.preloader__mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.preloader__mark-base { opacity: 0.12; }
.preloader__mark-fill { clip-path: inset(100% 0 0 0); }
.preloader__count { position: absolute; left: 50%; top: calc(100% + 28px); translate: -50% 0; font-variant-numeric: tabular-nums; }
.preloader__count span::after { content: " %"; }
.preloader__bar { height: 1px; background: var(--line); position: relative; overflow: hidden; margin-bottom: 14px; }
.preloader__bar span { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }
.preloader__foot { display: flex; justify-content: space-between; }

/* ---------- 5. NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px var(--gutter); font-size: 14px; transition: transform var(--t-ui) var(--ease-out), background var(--t-ui); }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: rgba(var(--ink-rgb), 0.6); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.nav__logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; letter-spacing: 0.22em; justify-self: start; }
.nav__logo img { width: 30px; height: auto; }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
/* Chariot : roule au survol, se remplit (orange · blanc · vert), encaisse l'impact à l'ajout */
.cart-btn { position: relative; display: grid; place-items: center; width: 48px; height: 44px; margin: -10px -8px -10px 0; color: var(--white); border-radius: 99px; -webkit-tap-highlight-color: transparent; }
.cart-btn:focus-visible { outline: 1px solid var(--line-strong); outline-offset: 2px; }
.cart-ico { display: block; overflow: visible; }
.cart-ico__body, .cart-ico__wheel { transform-box: fill-box; }
.cart-ico__body { transform-origin: 30% 100%; transition: transform 700ms var(--ease-out); }
.cart-ico__wheel { transform-origin: center; transition: transform 900ms var(--ease-out); }
.cart-ico__speed path { stroke-dasharray: 5; stroke-dashoffset: 5; opacity: 0; transition: stroke-dashoffset 500ms var(--ease-out), opacity 300ms; }
.cart-ico__speed path:nth-child(2) { transition-delay: 60ms; }
.cart-ico__speed path:nth-child(3) { transition-delay: 120ms; }
.cart-ico__good { translate: 0 -14px; opacity: 0; transition: translate 650ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 250ms; }
.cart-ico__good:nth-child(1) { fill: var(--sanga); }
.cart-ico__good:nth-child(2) { fill: var(--pitch); }
.cart-ico__good:nth-child(3) { fill: var(--white); }
.cart-ico__good.is-in { translate: 0 0; opacity: 1; }
.cart-btn:hover .cart-ico__body, .cart-btn:focus-visible .cart-ico__body { transform: translateX(2px) rotate(-7deg); }
.cart-btn:hover .cart-ico__wheel, .cart-btn:focus-visible .cart-ico__wheel { transform: translateX(2px) rotate(300deg); }
.cart-btn:hover .cart-ico__speed path, .cart-btn:focus-visible .cart-ico__speed path { stroke-dashoffset: 0; opacity: 0.55; }
.cart-btn__badge { position: absolute; top: 1px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; overflow: hidden; display: grid; place-items: center; border-radius: 99px;
  background: var(--sanga); color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px rgba(var(--ink-rgb), 0.85);
  scale: 0; transition: scale 550ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.cart-btn.has-items .cart-btn__badge { scale: 1; }
.cart-btn__num { display: block; }
.cart-btn__ring { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid var(--sanga); opacity: 0; pointer-events: none; }

/* ---------- 6. HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: transparent; }
.hero__stage { position: absolute; inset: 0; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); filter: saturate(1.05) contrast(1.05); }
/* Knockout : fond gris × multiply = film à ~35% autour, 100% DANS les lettres */
.hero__knockout { position: absolute; inset: 0; display: grid; place-items: center; background: #6A6A6A; mix-blend-mode: multiply; padding: 6vh var(--gutter) 0; }
.hero__type { color: #fff; text-align: center; width: 100%; }
.hero__line { display: block; white-space: nowrap; }
.hero__line + .hero__line { padding-top: 0.17em; } /* place pour les accents (É, À) sous un interlignage serré */
.hero__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(130% 90% at 50% 45%, transparent 55%, rgba(23,22,20,0.55) 100%), linear-gradient(to bottom, rgba(23,22,20,0.4), transparent 20%, transparent 74%, rgba(23,22,20,0.75)); }
.hero__after { position: absolute; inset: auto var(--gutter) 14vh; z-index: 3; max-width: 14ch; opacity: 0; }

.hud { position: absolute; z-index: 4; inset: 0; pointer-events: none; padding: 100px var(--gutter) 40px; display: grid; grid-template-rows: 1fr auto; }
.hud > * { pointer-events: auto; }
.hud__bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hud__live { display: inline-flex; align-items: center; gap: 9px; }
.hud__dot { width: 6px; height: 6px; border-radius: 50%; background: #FF3B30; animation: live 1.8s infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hud__scroll { justify-self: end; display: flex; align-items: center; gap: 12px; }
.hud__scroll i { display: block; width: 1px; height: 40px; background: var(--line-strong); position: relative; overflow: hidden; }
.hud__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: scroll-line 2.4s var(--ease-inout) infinite; }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- 7. TICKER ---------- */

/* ---------- 8. DROP / CARTES PRODUIT ---------- */
.drop { padding: var(--section) var(--gutter); overflow-x: clip; }
.drop__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 24px); max-width: 1680px; margin: 0 auto; }
.drop__grid .p-card__name { font-size: clamp(1rem, 1.05vw, 1.25rem); }
.drop__grid .p-card__meta { flex-direction: column; gap: 2px; padding-top: 14px; }
.drop__grid .quick { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
.drop__grid .quick__sizes { gap: 10px; flex-wrap: wrap; }

.p-card { position: relative; z-index: 1; }
.p-card__media { position: relative; perspective: 1400px; }
.p-card__link { display: block; }
.p-card__tilt { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ardoise); transform-style: preserve-3d; will-change: transform; border-radius: 4px; }
.p-card__parallax { position: absolute; inset: -9% 0; }
.p-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-out), filter 900ms var(--ease-out); }
.p-card__img--b { clip-path: circle(0% at 50% 50%); }
/* le Rose n'a qu'une photo portée : recadrée sur le maillot pour s'aligner sur les vues studio */
.p-card--rose .p-card__img--a { transform: scale(1.18); object-position: 50% 70%; }
.p-card--rose .p-card__media:hover .p-card__img--a { transform: scale(1.24); }
.p-card--rose .p-card__img--b { transform: scale(1.6); object-position: 50% 55%; }
.p-card__media:hover .p-card__img--a { transform: scale(1.06); filter: brightness(0.7); }
.p-card__sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity var(--t-ui);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.6), transparent 45%); }
.p-card__media:hover .p-card__sheen { opacity: 1; }
.p-card__no { position: absolute; top: 16px; left: 18px; z-index: 3; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.p-card__tag { position: absolute; top: 15px; right: 18px; z-index: 3; color: #fff; mix-blend-mode: difference; pointer-events: none; }

/* Ajout rapide : barre discrète qui monte au survol */
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 4px;
  background: rgba(var(--ink-rgb), 0.62); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  font-size: 13px; opacity: 0; transform: translateY(12px); transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
.p-card__media:hover .quick, .quick:focus-within { opacity: 1; transform: none; }
.quick__label { color: var(--fog); white-space: nowrap; transition: color var(--t-micro); }
.quick.is-added .quick__label { color: var(--ok); }
.quick__sizes { display: flex; gap: clamp(8px, 1vw, 16px); }
.quick__sizes button { padding: 2px 0; color: var(--white); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 400ms var(--ease-out); }
.quick__sizes button:hover, .quick__sizes button:focus-visible { background-size: 100% 1px; }
@media (hover: none) { .quick { opacity: 1; transform: none; } }

.p-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 18px; }
.p-card__name { font-size: clamp(1.1rem, 1.35vw, 1.9rem); font-weight: 450; letter-spacing: -0.03em; line-height: 1.15; }
.p-card__price { white-space: nowrap; color: var(--fog); font-variant-numeric: tabular-nums; }
.p-card__sub { margin-top: 4px; }
/* article épuisé (onglet Articles du panel) : reste visible, sans ajout au panier */
.p-card__soldout { margin-left: 8px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 99px; font-size: 0.75em; letter-spacing: 0.04em; color: var(--fog); }
.p-card.is-soldout .p-card__img { filter: saturate(0.55); }
.quick.is-soldout .quick__label { color: var(--fog); }
.u-link:disabled { opacity: 0.4; pointer-events: none; }

.fly-dot { position: fixed; z-index: 80; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--sanga); box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.25), 0 0 18px 2px rgba(255, 106, 19, 0.55); pointer-events: none; }

/* Masques SplitText : marge pour accents (É) et jambages */
.s-line-mask { padding: 0.16em 0 0.08em; margin: -0.16em 0 -0.08em; }

/* ---------- 9. MANIFESTE ---------- */
.manifesto { padding: var(--section) var(--gutter); background: var(--bone); color: var(--bone-ink); border-radius: clamp(20px, 3vw, 48px); margin: 0 clamp(8px, 1vw, 16px); }
.manifesto .f-label { color: #77716A; }
.manifesto__text { font-size: clamp(2rem, 5vw, 7.5rem); line-height: 1.04; max-width: 19ch; }
.manifesto__text .word { --lit: 0; color: color-mix(in srgb, var(--bone-ink) calc(var(--lit) * 100%), var(--mute)); }
@property --lit { syntax: "<number>"; inherits: false; initial-value: 0; }
.inline-pill { display: inline-block; width: 2.1em; height: 0.8em; border-radius: 99px; overflow: hidden; vertical-align: -0.02em; margin: 0 0.08em; }
.inline-pill img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 10. FLOODLIGHT (sélecteur de coloris) ---------- */
.flood { position: relative; min-height: 100svh; overflow: hidden; display: grid; padding: 120px var(--gutter) 48px; isolation: isolate; }
.flood__beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.flood__beam { position: absolute; top: -30%; width: 70vw; height: 160%; opacity: 0.5; filter: blur(30px); mix-blend-mode: screen;
  background: conic-gradient(from 180deg at 50% 0%, transparent 172deg, color-mix(in srgb, var(--glow) 70%, transparent) 180deg, transparent 188deg); animation: sweep 9s ease-in-out infinite alternate; }
.flood__beam--l { left: -20%; transform-origin: 50% 0; transform: rotate(-24deg); }
.flood__beam--r { right: -20%; transform-origin: 50% 0; transform: rotate(24deg); animation-delay: -4.5s; }
@keyframes sweep { from { rotate: -6deg; } to { rotate: 6deg; } }
.flood__pool { position: absolute; left: 50%; bottom: -30vh; width: 120vw; height: 70vh; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 38%, transparent), transparent); filter: blur(20px); }
.flood__name { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; text-align: center; font-size: clamp(6rem, 24vw, 34rem); color: rgba(255, 255, 255, 0.06); z-index: -1; white-space: nowrap; }
.flood__inner { display: grid; grid-template-columns: 1fr minmax(260px, 30vw) 1fr; align-items: center; gap: clamp(24px, 4vw, 80px); }
.flood__figure { position: relative; aspect-ratio: 2 / 3; justify-self: center; width: min(100%, calc((100svh - 190px) * 2 / 3)); touch-action: pan-y; } /* tout le bloc tient dans l'écran */
.flood__figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 58% 50% at 50% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 58% 50% at 50% 50%, #000 45%, transparent 100%); }
.flood__buy { min-width: 0; }
.flood__sizes { display: flex; gap: 18px; font-size: 14px; }
.flood__sizes button { color: var(--fog); padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color var(--t-micro), background-size 400ms var(--ease-out); }
.flood__sizes button:hover { color: var(--white); }
.flood__sizes button[aria-pressed="true"] { color: var(--white); background-size: 100% 1px; }
/* Coloris : miniatures du maillot, liseré de la couleur, anneau blanc sur le coloris choisi */
.flood__swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 54px; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--graphite); box-shadow: 0 0 0 1px var(--line);
  outline: 2px solid transparent; outline-offset: 3px; transition: transform var(--t-ui) var(--ease-out), outline-color var(--t-micro), box-shadow var(--t-micro); }
.swatch img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: opacity var(--t-micro); }
.swatch::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 5px; height: 3px; border-radius: 2px; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }
.swatch:hover { transform: translateY(-3px); }
.swatch:hover img, .swatch[aria-checked="true"] img { opacity: 1; }
.swatch[aria-checked="true"] { outline-color: var(--white); box-shadow: none; }
.swatch:focus-visible { outline-color: var(--sanga); }

/* ---------- 11. MINI-CART (verre dépoli) ---------- */
.cart-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(var(--ink-rgb), 0.3); backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); opacity: 0; visibility: hidden; transition: opacity var(--t-ui) var(--ease-out), visibility var(--t-ui); }
.cart { position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 71; width: min(440px, calc(100vw - 24px)); display: grid; grid-template-rows: auto 1fr auto; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, rgba(48,46,42,0.6), rgba(23,22,20,0.78)); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow: 0 40px 120px -20px rgba(0,0,0,0.6);
  transform: translateX(calc(100% + 24px)); transition: transform 760ms var(--ease-out); }
.is-cart-open .cart-scrim { opacity: 1; visibility: visible; }
.is-cart-open .cart { transform: translateX(0); }
.cart__head { display: flex; justify-content: space-between; align-items: baseline; padding: 24px 24px 18px; }
.cart__list { overflow-y: auto; padding: 0 24px; overscroll-behavior: contain; }
.cart__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: center; }
.cart__item img { width: 72px; height: 88px; object-fit: cover; border-radius: 4px; }
.cart__qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--fog); font-size: 14px; }
.cart__qty button { color: var(--fog); padding: 0 2px; }
.cart__qty button:hover { color: var(--white); }
.cart__empty { padding: 60px 0; text-align: center; color: var(--fog); }
.cart__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.cart__checkout { display: flex; width: 100%; justify-content: center; align-items: center; height: 54px; border-radius: 99px; background: var(--white); color: var(--bone-ink); font-weight: 500; font-size: 15px; letter-spacing: -0.01em; transition: background var(--t-micro); }
.cart__checkout:hover { background: var(--hi); }
.cart__checkout[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }
.bump { animation: bump 600ms var(--ease-out); }
@keyframes bump { 30% { transform: translateY(-4px); } 100% { transform: none; } }

/* ---------- 12. CURSEUR ---------- */
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cursor__ring { position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; border: 1px solid rgba(160,160,160,0.55); display: grid; place-items: center; transition: width 520ms var(--ease-out), height 520ms var(--ease-out), margin 520ms var(--ease-out), background 320ms, border-color 320ms; }
.cursor__label { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--bone-ink); opacity: 0; transform: scale(0.6); transition: opacity 240ms, transform 420ms var(--ease-out); white-space: nowrap; }
.cursor.is-view .cursor__ring, .cursor.is-drag .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--white); border-color: var(--white); }
.cursor.is-drag .cursor__ring { background: var(--glow); border-color: var(--glow); }
.cursor.is-link .cursor__ring { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-color: transparent; background: rgba(255,255,255,0.9); }
.cursor.is-view .cursor__label, .cursor.is-drag .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-view .cursor__dot, .cursor.is-drag .cursor__dot, .cursor.is-link .cursor__dot { opacity: 0; }

/* ---------- 13. FOOTER ---------- */
.site-footer { padding: clamp(56px, 7vw, 110px) var(--gutter) 24px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-photos { position: relative; z-index: 1; padding: var(--section) 0 0; }
.foot-photos__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 0 var(--gutter) 22px; }
.foot-photos__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
.foot-photos__item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ardoise); }
.foot-photos__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out), filter 600ms; filter: saturate(0.92); }
.foot-photos__item:hover img { transform: scale(1.04); filter: none; }
.foot-photos__item span { position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: #fff; mix-blend-mode: difference; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.foot-brand img { width: 26px; height: auto; }
.foot-brand span { font-family: var(--f-serif); font-size: 17px; letter-spacing: 0.32em; }

/* ---------- 14. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .drop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 700px) {
  /* mobile : une rangée qui défile au doigt, cartes de taille égale */
  .drop__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .drop__grid::-webkit-scrollbar { display: none; }
  .drop__grid .p-card { flex: 0 0 68%; scroll-snap-align: start; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: minmax(0, 1fr) auto; }
  .nav__links { display: none; }
  .hud__bottom { flex-direction: column; align-items: flex-start; }
  .quick { flex-direction: column; align-items: flex-start; gap: 6px; }
  .flood__inner { grid-template-columns: 1fr; text-align: center; }
  .flood__figure { max-width: 380px; order: -1; }
  .flood__sizes, .flood__swatches { justify-content: center; }
  .foot-photos__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .foot-photos__row::-webkit-scrollbar { display: none; }
  .foot-photos__item { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---------- 15. MOUVEMENT RÉDUIT ---------- */
/* Version douce : transitions, fondus et petites animations d'interface gardés ;
   mouvements continus ou amples coupés (grain qui tremble, faisceaux qui balaient la scène). */
/* (motion complet pour tous par défaut ; version douce seulement avec ?motion=calme) */
html.calm-motion .grain { display: none; }
html.calm-motion .flood__beam { animation: none; }
html.calm-motion .hud__scroll i::after { animation: none; }

/* =====================================================================
   SANGA — MODE JOUR / MODE NUIT
   Nuit = design d'origine (tokens de 10-sanga.css). Jour = papier chaud, encre anthracite.
   Le film d'ouverture et le « stade » Floodlight restent de nuit dans les deux modes :
   ce sont des scènes de cinéma, pas des surfaces de lecture.
   Choix mémorisé (localStorage « sanga-theme »), appliqué avant l'affichage (script dans head.html).
   Créé par le studio NYNDRA — https://nyndra.com/
   ===================================================================== */

/* ---------- Jour : tokens ---------- */
html[data-theme="light"] {
  --ink: #F2EEE7;
  --ardoise: #E8E3DA;
  --graphite: #DED8CD;
  --bone: #1C1B18;          /* le manifeste s'inverse : carte sombre sur page claire */
  --bone-ink: #F2EEE7;
  --line: rgba(22, 21, 19, 0.12);
  --line-strong: rgba(22, 21, 19, 0.28);
  --white: #161513;         /* « blanc » = couleur du texte principal */
  --fog: #5F5A53;           /* 5,9:1 sur --ink */
  --mute: #4A4640;          /* mots du manifeste pas encore lus (sur carte sombre) */
  --ink-rgb: 242, 238, 231;
  --fg-rgb: 22, 21, 19;
  --hi: #000000;
  --ok: #17803F;
  --danger: #B42318;
  --bg-a: #F6F2EB; --bg-b: #ECE7DF;
  color-scheme: light;
}
html[data-theme="light"] .grain { opacity: 0.045; }

/* ---------- Jour : scènes qui restent de nuit ---------- */
html[data-theme="light"] :is(.hero, .flood) {
  --ink: #171614; --ardoise: #211F1C; --graphite: #2B2926;
  --line: rgba(255, 255, 255, 0.12); --line-strong: rgba(255, 255, 255, 0.28);
  --white: #F7F5F1; --fog: #A39E96;
  --ink-rgb: 23, 22, 20; --fg-rgb: 255, 255, 255; --hi: #FFFFFF; --ok: #7BE0A3;
  color: var(--white);
  color-scheme: dark;
}
html[data-theme="light"] .flood { background: #171614; }
html[data-theme="light"] .flood .btn-primary, html[data-theme="light"] .flood .u-link { color: var(--white); }

/* menu : texte clair tant qu'il survole le film d'ouverture */
html[data-theme="light"] body[data-page="home"] .nav:not(.is-solid) { color: #F7F5F1; --white: #F7F5F1; --fog: #C9C3B8; --ink-rgb: 23, 22, 20; }

/* ---------- Jour : verres dépolis et surfaces ---------- */
html[data-theme="light"] .cart {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(242, 238, 231, 0.92));
  border-color: rgba(22, 21, 19, 0.08);
  box-shadow: 0 40px 120px -30px rgba(40, 30, 20, 0.35);
}
html[data-theme="light"] .consent { background: rgba(255, 255, 255, 0.86); box-shadow: 0 30px 80px -24px rgba(40, 30, 20, 0.3); }
html[data-theme="light"] .cursor__ring { border-color: rgba(22, 21, 19, 0.35); }
html[data-theme="light"] .cursor.is-link .cursor__ring { background: rgba(22, 21, 19, 0.85); }
html[data-theme="light"] .manifesto .f-label { color: #A39E96; }

/* ---------- Bouton jour / nuit (soleil ↔ lune) ---------- */
.theme-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin: -8px -4px; border-radius: 99px; color: inherit; -webkit-tap-highlight-color: transparent; }
.theme-btn:focus-visible { outline: 1px solid var(--line-strong); outline-offset: 2px; }
.theme-ico { width: 20px; height: 20px; overflow: visible; transition: transform 700ms var(--ease-out); }
.theme-ico__core { transform-origin: center; transform-box: fill-box; transition: transform 700ms var(--ease-out); }
.theme-ico__bite { transition: transform 700ms var(--ease-out); }
.theme-ico__rays { transform-origin: 12px 12px; transition: transform 700ms var(--ease-out), opacity 400ms; }
/* nuit : lune (le disque est « croqué » par le masque) — jour : soleil, rayons déployés */
html:not([data-theme="light"]) .theme-ico { transform: rotate(-40deg); }
html:not([data-theme="light"]) .theme-ico__rays { transform: rotate(-90deg) scale(0.4); opacity: 0; }
html:not([data-theme="light"]) .theme-ico__core { transform: scale(1.35); }
html[data-theme="light"] .theme-ico__bite { transform: translate(9px, -9px); }
.theme-btn:hover .theme-ico { transform: rotate(-12deg); }
html[data-theme="light"] .theme-btn:hover .theme-ico__rays { transform: rotate(45deg); }

/* bascule en cercle depuis le bouton (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal 750ms cubic-bezier(0.76, 0, 0.24, 1); }
@keyframes theme-reveal { from { clip-path: circle(0 at var(--tx, 100%) var(--ty, 0%)); } to { clip-path: circle(var(--tr, 150vmax) at var(--tx, 100%) var(--ty, 0%)); } }
html[data-theme="light"] :is(.chip__dot, .color-link) { box-shadow: inset 0 0 0 1px rgba(22, 21, 19, 0.22); }

/* version douce : la nouvelle ambiance arrive en fondu (au lieu du cercle) */
html.vt-fade::view-transition-new(root) { animation: theme-fade 450ms ease both; }
@keyframes theme-fade { from { opacity: 0; } }

/* =====================================================================
   SANGA — pages intérieures : collection, fiche produit, commande, univers,
   contact, pages légales, pied de page, bandeau cookies
   Créé par le studio NYNDRA — https://nyndra.com/
   ===================================================================== */

/* ---------- En-tête de page ---------- */
.page-head { padding: clamp(140px, 16vw, 220px) var(--gutter) clamp(48px, 6vw, 96px); }
.page-head__title { font-size: clamp(2.8rem, 7.5vw, 10rem); }
.page-head__lead { margin-top: 24px; max-width: 46ch; color: var(--fog); font-size: clamp(1.05rem, 1.3vw, 1.6rem); line-height: 1.4; letter-spacing: -0.01em; }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--fog); margin-bottom: 28px; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { opacity: 0.5; }

.section { padding: var(--section) var(--gutter); }
.section--tight { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0 var(--gutter); }

/* ---------- Collection ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--gutter) 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; color: var(--fog); transition: color var(--t-micro), border-color var(--t-micro), background var(--t-micro); }
.chip:hover { color: var(--white); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { color: var(--bone-ink); background: var(--white); border-color: var(--white); }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.grid-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); row-gap: clamp(48px, 5vw, 88px); padding: 0 var(--gutter) var(--section); }
.grid-products .p-card { grid-column: auto; margin-top: 0; }
.grid-products .p-card__tilt { aspect-ratio: 4 / 5; }
.p-card.is-hidden { display: none; }
.count { font-size: 14px; color: var(--fog); }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: clamp(24px, 4vw, 80px); padding: 110px var(--gutter) var(--section); align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdp__shot { position: relative; overflow: hidden; border-radius: 4px; background: var(--ardoise); aspect-ratio: 4 / 5; }
.pdp__shot--wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.pdp__shot--hero { grid-column: 1 / -1; aspect-ratio: 5 / 6; }
.pdp__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.pdp__shot:hover img { transform: scale(1.04); }
.pdp__info { position: sticky; top: 110px; }
.pdp__name { font-size: clamp(2rem, 3.4vw, 3.6rem); }
.pdp__tag { margin-top: 10px; color: var(--fog); font-family: var(--f-serif); font-style: italic; font-size: clamp(1.1rem, 1.3vw, 1.5rem); }
.pdp__price { margin-top: 22px; font-size: 20px; font-variant-numeric: tabular-nums; }
.pdp__soldout { margin-left: 12px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--fog); vertical-align: middle; }
.pdp__block { margin-top: 32px; }
.pdp__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--fog); margin-bottom: 12px; }
.colors { display: flex; gap: 12px; }
.color-link { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); transition: transform var(--t-ui) var(--ease-out); }
.color-link:hover { transform: scale(1.12); }
.color-link[aria-current="true"]::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--white); }
.size-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.size-btn { height: 48px; border-radius: 4px; border: 1px solid var(--line); font-size: 14px; color: var(--fog); transition: all var(--t-micro); }
.size-btn:hover { color: var(--white); border-color: var(--line-strong); }
.size-btn[aria-pressed="true"] { color: var(--bone-ink); background: var(--white); border-color: var(--white); }
.size-btn:disabled { opacity: 0.32; text-decoration: line-through; cursor: not-allowed; pointer-events: none; }
.qty { display: inline-flex; align-items: center; gap: 18px; height: 48px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.qty button { color: var(--fog); font-size: 18px; width: 18px; }
.qty button:hover { color: var(--white); }
.btn-primary { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 99px; background: var(--white); color: var(--bone-ink); font-weight: 500; font-size: 15px; letter-spacing: -0.01em; transition: background var(--t-micro), transform var(--t-micro); }
.btn-primary:hover { background: var(--hi); }
.btn-primary:active { transform: scale(0.985); }
.btn-primary.is-done { background: var(--ok); }
.btn-primary[aria-disabled="true"], .btn-primary:disabled { opacity: 0.35; pointer-events: none; }
.reassure { display: grid; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--fog); }
.reassure li { display: flex; gap: 10px; align-items: baseline; }
.reassure li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--sanga); transform: translateY(-2px); }
.acc { margin-top: 36px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-size: 15px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--fog); font-size: 20px; transition: transform var(--t-ui) var(--ease-out); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 20px; color: var(--fog); font-size: 15px; line-height: 1.65; }
.acc__body p + p { margin-top: 10px; }
.related { padding: 0 var(--gutter) var(--section); }
.related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: 36px; }
.mini-card__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--ardoise); }
.mini-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.mini-card:hover .mini-card__img img { transform: scale(1.05); }
.mini-card__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 15px; }
.sticky-buy { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 99px;
  background: rgba(var(--ink-rgb), 0.7); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--line); transform: translateY(140%); transition: transform var(--t-ui) var(--ease-out); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy .btn-primary { width: auto; height: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- Guide des tailles ---------- */
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table th { color: var(--fog); font-weight: 400; font-size: 13px; }
.table-wrap { overflow-x: auto; }
.acc__body .table-wrap { margin: 14px 0; }
.acc__body .size-table { font-size: 14px; color: var(--white); }
.acc__body .size-table th, .acc__body .size-table td { padding: 10px 8px; }
.note { margin-top: 18px; font-size: 14px; color: var(--fog); }

/* ---------- Commande ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: clamp(24px, 4vw, 80px); padding: 0 var(--gutter) var(--section); align-items: start; }
.form-section + .form-section { margin-top: 48px; }
.form-section__title { font-size: clamp(1.3rem, 1.6vw, 1.8rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--fog); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 6px; background: rgba(var(--fg-rgb), 0.04); border: 1px solid var(--line); font-size: 16px; transition: border-color var(--t-micro), background var(--t-micro); }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fog) 50%), linear-gradient(135deg, var(--fog) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--ardoise); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--white); background: rgba(var(--fg-rgb), 0.06); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 13px; color: var(--danger); min-height: 0; }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; transition: border-color var(--t-micro), background var(--t-micro); }
.option:hover { border-color: var(--line-strong); }
.option:has(input:checked) { border-color: var(--white); background: rgba(var(--fg-rgb), 0.04); }
.option.is-disabled { opacity: 0.45; cursor: not-allowed; }
.option input { accent-color: var(--white); width: 16px; height: 16px; }
.option__main { display: flex; align-items: center; gap: 14px; }
.option__sub { display: block; font-size: 13px; color: var(--fog); margin-top: 2px; }
/* paiement en ligne (Bictorys) */
.pay-logos { display: flex; gap: 4px; flex: none; }
.pay-logos span { padding: 3px 6px; border-radius: 4px; border: 1px solid var(--line); font-size: 10px; letter-spacing: 0.06em; color: var(--fog); font-variant-numeric: tabular-nums; }
.pay-badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 99px; background: rgba(var(--fg-rgb), 0.08); color: var(--sanga); font-size: 11px; letter-spacing: 0.04em; vertical-align: 2px; }
.pay-notice { margin-bottom: 14px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(var(--fg-rgb), 0.04); font-size: 14px; }
@media (max-width: 520px) { .pay-logos { display: none; } }
.summary { position: sticky; top: 110px; padding: 24px; border-radius: 16px; background: rgba(var(--fg-rgb), 0.03); border: 1px solid var(--line); }
.summary__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary__item img { width: 64px; height: 78px; object-fit: cover; border-radius: 4px; }
.summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; color: var(--fog); }
.summary__row--total { color: var(--white); font-size: 18px; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--line); }
.done { display: none; padding: 28px; border-radius: 16px; border: 1px solid rgba(123,224,163,0.4); background: rgba(123,224,163,0.06); margin-top: 24px; }
.done.is-visible { display: block; }
.empty { padding: 72px 0; text-align: center; }

/* ---------- Univers (éditorial) ---------- */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 40px); padding: 0 var(--gutter) var(--section); align-items: center; }
.story__img { overflow: hidden; border-radius: 4px; background: var(--ardoise); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__text { font-size: clamp(1.1rem, 1.4vw, 1.7rem); line-height: 1.45; letter-spacing: -0.015em; }
.story__text p + p { margin-top: 18px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 40px); padding: 0 var(--gutter) var(--section); }
.value { padding-top: 22px; border-top: 1px solid var(--line); }
.value__title { font-size: clamp(1.3rem, 1.8vw, 2rem); letter-spacing: -0.03em; }
.value p { margin-top: 12px; color: var(--fog); }
.quote { padding: var(--section) var(--gutter); text-align: center; }
.quote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(2.2rem, 6vw, 7rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 40px); padding: 0 var(--gutter) var(--section); }
.contact-card { padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: rgba(var(--fg-rgb), 0.02); }
.contact-card h2 { font-size: 20px; letter-spacing: -0.02em; }
.contact-card p { margin-top: 10px; color: var(--fog); font-size: 15px; }
.contact-card .u-link { margin-top: 18px; }
.big-link { font-size: clamp(1.8rem, 5vw, 6rem); letter-spacing: -0.04em; line-height: 1; }

/* ---------- Pages légales ---------- */
.prose { max-width: 72ch; padding: 0 var(--gutter) var(--section); color: var(--fog); font-size: 16px; line-height: 1.75; }
.prose h2 { margin: 48px 0 14px; color: var(--white); font-size: clamp(1.3rem, 1.6vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.prose mark { background: rgba(255,106,19,0.16); color: var(--white); padding: 0 4px; border-radius: 3px; }

/* ---------- Pied de page ---------- */
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 56px); }
.foot-title { font-size: 13px; color: var(--fog); margin-bottom: 14px; }
.foot-links { display: grid; gap: 8px; font-size: 15px; }
.foot-links a { color: var(--white); opacity: 0.86; transition: opacity var(--t-micro); }
.foot-links a:hover { opacity: 1; }
.foot-pitch { font-size: clamp(1.2rem, 1.6vw, 1.8rem); line-height: 1.3; letter-spacing: -0.02em; max-width: 26ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: clamp(48px, 6vw, 88px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fog); }
.foot-credit { flex-basis: 100%; font-size: 12px; letter-spacing: 0.04em; }
.foot-credit strong { color: var(--white); font-weight: 600; letter-spacing: 0.16em; }
.foot-credit a { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 600ms var(--ease-out), color var(--t-micro); }
.foot-credit a:hover, .foot-credit a:focus-visible { color: var(--white); background-size: 100% 1px; }

/* ---------- Bandeau cookies ---------- */
.consent { position: fixed; left: 12px; bottom: 12px; z-index: 75; max-width: 380px; padding: 20px; border-radius: 14px; font-size: 14px; line-height: 1.5;
  background: rgba(33, 31, 28, 0.82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  transform: translateY(140%); transition: transform 700ms var(--ease-out); }
.consent.is-visible { transform: none; }
.consent p { color: var(--fog); }
.consent__actions { display: flex; gap: 20px; margin-top: 14px; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: var(--gutter); }
.lost__code { font-family: var(--f-serif); font-style: italic; font-size: clamp(8rem, 30vw, 28rem); line-height: 0.9; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pdp, .checkout { grid-template-columns: 1fr; }
  .pdp { padding-top: 90px; }
  .pdp__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__shot, .pdp__shot--wide, .pdp__shot--hero { flex: 0 0 86%; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .pdp__info, .summary { position: static; }
  .sticky-buy { display: flex; }
  .story { grid-template-columns: 1fr; }
  .story > * { grid-column: 1 / -1 !important; }
  .values, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-products { grid-template-columns: 1fr; }
}

/* ---------- Détails ---------- */
.foot-links__btn { color: var(--white); opacity: 0.86; font-size: 15px; text-align: left; }
.foot-links__btn:hover { opacity: 1; }
[data-size-hint].is-error { color: var(--danger); }
.p-card__name a { transition: opacity var(--t-micro); }
.p-card__name a:hover { opacity: 0.8; }
.page-home .site-footer, .site-footer { position: relative; z-index: 1; }

.lost__credit { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; color: var(--fog); }

/* =====================================================================
   SANGA — utilitaires (remplacent Tailwind en production : zéro dépendance, ~3 Ko)
   Préfixe md: = écrans ≥ 768px.
   Créé par le studio NYNDRA — https://nyndra.com/
   ===================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--white); color: var(--bone-ink); border-radius: 4px; transition: top 200ms; }
.skip-link:focus { top: 12px; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.self-end { align-self: end; }
.flex-wrap { flex-wrap: wrap; }

.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-12 { grid-column: span 12 / span 12; }
.gap-2 { gap: 8px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.gap-x-6 { column-gap: 24px; } .gap-y-8 { row-gap: 32px; }

.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; }
.mb-5 { margin-bottom: 20px; } .mb-8 { margin-bottom: 32px; } .mb-12 { margin-bottom: 48px; }
.mb-hero { margin-bottom: clamp(80px, 10vw, 180px); }

.max-w-30 { max-width: 30ch; } .max-w-32 { max-width: 32ch; } .max-w-34 { max-width: 34ch; } .max-w-60 { max-width: 60ch; }

.text-sm { font-size: 14px; } .text-base { font-size: 16px; } .text-lg { font-size: 18px; } .text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; } .text-3xl { font-size: 30px; }
.text-right { text-align: right; } .text-center { text-align: center; }
.text-fog { color: var(--fog); } .text-white { color: var(--white); }
.font-serif { font-family: var(--f-serif); } .italic { font-style: italic; }
.tabular { font-variant-numeric: tabular-nums; }

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:inline { display: inline; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-start-4 { grid-column-start: 4; }
  .md\:col-start-8 { grid-column-start: 8; }
  .md\:text-right { text-align: right; }
  .md\:text-4xl { font-size: 36px; }
  .md\:justify-self-end { justify-self: end; }
}
