/* ==========================================================================
   STYLES DU SITE — utilise uniquement les variables de theme.css
   ========================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgb(var(--primary-rgb) / 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgb(var(--primary-rgb) / 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; }
::selection { background: var(--primary); color: var(--text-on-primary); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.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: 16px; top: -60px; z-index: 100; background: var(--primary); color: var(--text-on-primary); padding: 10px 16px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; }
.skip-link:focus { top: 12px; }

/* Placeholders à compléter : bien visibles */
mark.todo {
  background: var(--todo);
  color: #1a1400;
  padding: 0 .3em;
  border-radius: 2px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  font-size: .85em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Typographie ---------- */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.muted { color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; }

/* ---------- Boutons ---------- */
.btn {
  --cut: 12px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--primary); color: var(--text-on-primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-light { background: var(--secondary); color: var(--background); }
.btn-light:hover { background: var(--primary-light); color: var(--background); }
.btn-ghost { background: rgb(255 255 255 / .04); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn-lg { min-height: 60px; font-size: 1.4rem; padding: 0 36px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled {
  background: var(--surface-2); color: var(--text-muted); cursor: not-allowed; box-shadow: none;
}
.btn[aria-disabled="true"]::after { display: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(var(--background-rgb) / .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color .25s ease;
}
.site-header.is-scrolled { background: rgb(var(--background-rgb) / .92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 26px; width: auto; }
.brand-tag {
  padding-left: 12px; border-left: 1px solid var(--border-strong);
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; line-height: 1.15;
  letter-spacing: .22em; text-transform: uppercase; color: var(--primary-light);
}
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) {
  position: relative; display: block; padding: 8px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); transition: color .2s ease;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .btn { min-height: 42px; font-size: 1.05rem; padding: 0 20px; margin-left: 10px; }

.menu-toggle {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--border-strong); cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: transform .25s ease, background-color .25s ease;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 900px) { .main-nav { display: block; } .menu-toggle { display: none; } }

.mobile-nav {
  position: fixed; inset: 72px 0 0 0; z-index: 49;
  background: var(--background);
  padding: 28px 20px 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  overflow-y: auto;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a:not(.btn) {
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; text-transform: uppercase; letter-spacing: .04em;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav a:not(.btn)::after { content: "→"; color: var(--primary); font-size: 1.6rem; }
.mobile-nav .btn { margin-top: 24px; }
.menu-open { overflow: hidden; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
@media (min-width: 900px) { .hero { padding: 80px 0 100px; } }
.hero::before { /* grille technique */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.hero-wordmark { display: block; width: clamp(220px, 34vw, 430px); height: auto; margin-top: 10px; filter: drop-shadow(0 12px 34px rgb(var(--primary-rgb) / .35)); }
.hero h1 { margin-bottom: 10px; }
.hero h1 .accent { color: var(--primary); display: block; -webkit-text-stroke: 0; }
.hero h1 .outline { display: block; font-size: .62em; letter-spacing: .12em; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.hero .slogan {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 18px 0 14px;
}
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: var(--text-muted); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--primary-light); }

.hero-visual { position: relative; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; margin: 0 auto; }
.hero-visual .panel {
  position: absolute; inset: 6% 0 0 8%;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 55%, var(--surface) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%);
}
.hero-visual .panel::after { /* rayures diagonales */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-55deg, rgb(255 255 255 / .07) 0 14px, transparent 14px 46px);
}
.hero-visual .sweep { position: absolute; inset: 6% 0 0 8%; overflow: hidden; clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%); }
.hero-visual .sweep::before {
  content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .18), transparent);
  transform: rotate(20deg);
  animation: sweep 6s ease-in-out infinite;
}
@keyframes sweep { 0%, 40% { left: -60%; } 70%, 100% { left: 130%; } }
.hero-visual img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-visual .tag {
  position: absolute; left: 0; bottom: 10%;
  background: var(--secondary); color: var(--background);
  padding: 12px 18px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 20px 40px -10px rgb(0 0 0 / .5);
}
.hero-visual .tag small { display: block; font-size: .8rem; letter-spacing: .2em; color: var(--primary-dark); }
.hero-visual .tag strong { font-size: 1.6rem; }

/* ---------- Bandeau défilant ---------- */
.ticker {
  background: var(--primary); color: var(--text-on-primary);
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid rgb(255 255 255 / .2);
  transform: skewY(-1.2deg);
  margin: 0 0 20px;
}
.ticker-track { display: inline-flex; animation: ticker 32s linear infinite; padding: 12px 0; }
.ticker-track span {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 0 22px; display: inline-flex; align-items: center; gap: 44px;
}
.ticker-track span::after { content: "◆"; font-size: .7em; opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head p { margin: 12px 0 0; }
.page-head { padding: 56px 0 8px; }
@media (min-width: 900px) { .page-head { padding: 80px 0 16px; } }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }

/* ---------- Grille produits ---------- */
.product-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .product-grid { gap: 18px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  --cut: 18px;
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform .3s ease, background-color .3s ease;
}
.product-card::before { /* liseré */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  border: 1px solid var(--border);
  clip-path: inherit;
  transition: border-color .3s ease;
}
.product-card:hover { transform: translateY(-6px); background: var(--surface-2); }
.product-card:hover::before { border-color: rgb(var(--primary-rgb) / .7); }
.product-media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgb(var(--primary-rgb) / .35), transparent 65%), linear-gradient(180deg, var(--surface-2), var(--surface));
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-media img { transform: scale(1.06) rotate(-1deg); }
.product-media .badge { position: absolute; top: 14px; left: 14px; }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.product-body h3 { font-size: 1.55rem; letter-spacing: .03em; }
.product-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toute la carte cliquable */
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; line-height: 1; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 10px; position: relative; z-index: 3; }
.product-actions .btn { --cut: 8px; min-height: 44px; font-size: 1rem; padding: 0 10px; letter-spacing: .06em; }
@media (max-width: 559px) {
  .product-card { --cut: 12px; }
  .product-body { padding: 12px 12px 14px; gap: 6px; }
  .product-body h3 { font-size: 1.2rem; }
  .product-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .price { font-size: 1.4rem; }
  .stock { font-size: .72rem; }
  .product-actions { grid-template-columns: 1fr; gap: 6px; }
  .product-actions .btn { min-height: 40px; font-size: .95rem; }
  .product-media .badge { top: 8px; left: 8px; font-size: .7rem; padding: 4px 7px; }
}

.badge {
  display: inline-block; padding: 5px 10px;
  background: rgb(var(--background-rgb) / .75); backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
}
.stock {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted);
}
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgb(255 255 255 / .06); }
.stock.is-disponible { color: var(--success); }
.stock.is-epuise { color: var(--danger); }
.stock.is-bientot { color: var(--todo); }
.product-card.is-epuise .product-media img { filter: grayscale(.8) brightness(.7); }

/* ---------- Atouts ---------- */
.features { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: rgb(255 255 255 / .025); border: 1px solid var(--border); }
.feature svg { flex: none; width: 34px; height: 34px; color: var(--primary-light); }
.feature h3 { font-size: 1.3rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--text-muted); font-size: .97rem; }

/* ---------- Bloc team (accueil) ---------- */
.team-cta {
  position: relative; overflow: hidden;
  display: grid; gap: 28px; align-items: center;
  padding: 44px 28px;
  background: linear-gradient(120deg, var(--surface-2) 0%, var(--kit-navy) 55%, var(--primary-dark) 140%);
  box-shadow: inset 0 0 0 1px rgb(var(--primary-rgb) / .35);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.team-cta::after {
  content: ""; position: absolute; right: -3%; bottom: -12%; width: min(60%, 560px); aspect-ratio: 1482 / 532;
  background: url("../img/logo.svg?v=3924a6cfe1") no-repeat center / contain;
  opacity: .12; pointer-events: none;
}
.team-cta > * { position: relative; z-index: 1; }
.team-cta .eyebrow { color: var(--primary-light); }
.team-cta p { color: rgb(255 255 255 / .85); max-width: 52ch; margin: 14px 0 0; }
@media (min-width: 900px) { .team-cta { grid-template-columns: 1fr auto; padding: 64px 56px; } }

/* ---------- Roster ---------- */
.roster { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .roster { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .roster { grid-template-columns: repeat(6, 1fr); } }
.player { background: var(--surface); border: 1px solid var(--border); transition: transform .3s ease, border-color .3s ease; }
.player:hover { transform: translateY(-4px); border-color: rgb(var(--primary-rgb) / .6); }
.player-photo {
  aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgb(var(--primary-rgb) / .45), transparent 70%), var(--surface-2);
  font-family: var(--font-display); font-weight: 900; font-size: 3rem; color: rgb(255 255 255 / .85);
}
.player-photo img { width: 100%; height: 100%; object-fit: cover; }
.player-info { padding: 14px 14px 16px; }
.player-info strong { display: block; font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.player-info span { font-size: .9rem; color: var(--text-muted); }

/* ---------- Réseaux ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease;
}
.socials a:hover { background: var(--primary); border-color: var(--primary); }

/* ---------- Fiche produit ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 28px 0 0; font-size: .92rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--text); }

.product-layout { display: grid; gap: 36px; padding: 24px 0 72px; }
@media (min-width: 960px) { .product-layout { grid-template-columns: 1.1fr 1fr; gap: 56px; padding-bottom: 100px; align-items: start; } }

.gallery { display: grid; gap: 12px; }
@media (min-width: 960px) { .gallery { position: sticky; top: 96px; } }
.gallery-main {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgb(var(--primary-rgb) / .35), transparent 65%), linear-gradient(180deg, var(--surface-2), var(--surface));
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.gallery-main img.is-changing { opacity: 0; }
.gallery-thumbs { display: flex; gap: 10px; list-style: none; }
.gallery-thumbs button {
  width: 82px; aspect-ratio: 4 / 5; padding: 0; cursor: pointer; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); opacity: .6;
  transition: opacity .2s ease, border-color .2s ease;
}
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin: 10px 0 14px; }
.product-info .price { font-size: 2.6rem; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 22px; }
.price-note { font-size: .92rem; color: var(--text-muted); }
.product-info .description { font-size: 1.08rem; color: var(--text); }

.option-group { margin: 26px 0; }
.option-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; }
.option-label a { font-family: var(--font-body); font-weight: 500; font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.sizes li {
  min-width: 54px; height: 46px; padding: 0 12px; display: grid; place-items: center;
  border: 1px solid var(--border-strong); background: rgb(255 255 255 / .03);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em;
}
.sizes li.is-off { color: var(--text-muted); text-decoration: line-through; opacity: .5; }
.hint { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .93rem; color: var(--text-muted); }
.hint svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--primary-light); }

/* Aperçu flocage */
.flocage {
  margin: 26px 0; padding: 20px;
  border: 1px solid rgb(var(--primary-rgb) / .45);
  background: linear-gradient(140deg, rgb(var(--primary-rgb) / .12), transparent 60%);
}
.flocage-grid { display: grid; gap: 18px; align-items: center; }
@media (min-width: 520px) { .flocage-grid { grid-template-columns: 150px 1fr; } }
.flocage-preview { position: relative; width: 150px; margin: 0 auto; }
.flocage-preview svg { width: 100%; height: auto; }
.flocage-fields { display: grid; gap: 12px; }
.field label { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.field input {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--background); color: var(--text);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(var(--primary-rgb) / .25); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field .error { display: block; min-height: 1.2em; margin-top: 4px; font-size: .85rem; color: var(--danger); }

.buy-box { margin: 30px 0 18px; display: grid; gap: 12px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; color: var(--text-muted); }
.secure svg { width: 16px; height: 16px; }

.reassurance { list-style: none; display: grid; gap: 10px; margin: 26px 0; padding: 20px 0; border-block: 1px solid var(--border); }
.reassurance li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.reassurance svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--primary-light); }

.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.6rem; color: var(--primary-light); transition: transform .25s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .content { padding: 0 0 20px; color: var(--text-muted); }
.accordion .content ul { padding-left: 1.2em; }
.accordion .content li { margin-bottom: 4px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }

.more-products { padding-bottom: 96px; }

/* ---------- Pages texte (légal) ---------- */
.prose { max-width: 820px; padding: 24px 0 96px; color: var(--text-muted); }
.prose h2 { font-size: 1.9rem; color: var(--text); margin: 44px 0 14px; }
.prose h3 { font-size: 1.35rem; color: var(--text); margin: 28px 0 10px; }
.prose a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose .note { padding: 16px 18px; border-left: 3px solid var(--todo); background: rgb(255 216 77 / .06); color: var(--text); }
.prose blockquote { margin: 0 0 1em; padding: 16px 18px; border: 1px dashed var(--border-strong); }

/* ---------- Merci / 404 ---------- */
.center-page { text-align: center; padding: 96px 0 120px; }
.center-page .icon-big { width: 84px; height: 84px; margin: 0 auto 26px; color: var(--primary); }
.center-page .lead { margin: 18px auto 32px; }
.center-page .hero-actions { justify-content: center; }
.big-code { font-family: var(--font-display); font-weight: 900; font-size: clamp(7rem, 22vw, 14rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--primary); }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgb(0 0 0 / .25); padding: 56px 0 28px; margin-top: auto; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 { font-size: 1.15rem; letter-spacing: .16em; color: var(--primary-light); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-muted); transition: color .2s ease; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .brand { margin-bottom: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .88rem; color: var(--text-muted); }

/* ---------- Logo animé (accueil) ---------- */
.hero-wordmark.is-animated { color: var(--secondary); aspect-ratio: 1482 / 532; overflow: visible; }
.hero-wordmark.is-animated svg { display: block; width: 100%; height: auto; overflow: visible; }
.logo-anime .piece {
  transform-box: fill-box;
  transform-origin: center;
  animation: piece-in .9s cubic-bezier(.2, .9, .25, 1.15) both;
  animation-delay: calc(.25s + var(--d, 0s));
}
@keyframes piece-in {
  0%   { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) rotate(var(--fr, 0)) scale(.9); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.logo-anime .glint { animation: glint 1s ease-in-out 1.45s both; }
@keyframes glint { from { transform: translateX(0); } to { transform: translateX(2200px); } }
.hero-wordmark.is-animated { animation: logo-glow 1.2s ease-out 1.35s both; }
@keyframes logo-glow {
  0%   { filter: drop-shadow(0 0 0 rgb(var(--primary-rgb) / 0)); }
  40%  { filter: drop-shadow(0 0 28px rgb(var(--primary-rgb) / .8)); }
  100% { filter: drop-shadow(0 12px 34px rgb(var(--primary-rgb) / .35)); }
}

/* ---------- Effet glitch sur les titres ---------- */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
}
.glitch::before { color: var(--primary); }
.glitch::after { color: var(--danger); }
.glitch.is-glitching::before { animation: glitch-a .55s steps(2, end) both; }
.glitch.is-glitching::after { animation: glitch-b .55s steps(2, end) both; }
.glitch.is-glitching { animation: glitch-shake .55s steps(2, end) both; }
@keyframes glitch-a {
  0%   { opacity: .9; clip-path: inset(10% 0 70% 0); transform: translate(-6px, -2px); }
  25%  { opacity: .9; clip-path: inset(60% 0 15% 0); transform: translate(5px, 1px); }
  50%  { opacity: .9; clip-path: inset(35% 0 45% 0); transform: translate(-4px, 2px); }
  75%  { opacity: .9; clip-path: inset(80% 0 5% 0); transform: translate(3px, -1px); }
  100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
}
@keyframes glitch-b {
  0%   { opacity: .8; clip-path: inset(70% 0 10% 0); transform: translate(6px, 2px); }
  25%  { opacity: .8; clip-path: inset(20% 0 60% 0); transform: translate(-5px, -1px); }
  50%  { opacity: .8; clip-path: inset(50% 0 30% 0); transform: translate(4px, -2px); }
  75%  { opacity: .8; clip-path: inset(5% 0 85% 0); transform: translate(-3px, 1px); }
  100% { opacity: 0; clip-path: inset(100% 0 0 0); transform: none; }
}
@keyframes glitch-shake {
  0%, 100% { transform: none; }
  20% { transform: translateX(-2px) skewX(-3deg); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px) skewX(2deg); }
  80% { transform: translateX(1px); }
}

/* ---------- Flocage plus vivant ---------- */
@media (min-width: 520px) { .flocage-grid { grid-template-columns: 210px 1fr; } }
.flocage-preview { width: 210px; perspective: 700px; }
.flocage-preview svg {
  transform-origin: 50% 40%;
  animation: jersey-sway 7s ease-in-out infinite;
  filter: drop-shadow(0 18px 24px rgb(0 0 0 / .45));
}
.flocage.is-typing .flocage-preview svg { animation-play-state: paused; }
@keyframes jersey-sway {
  0%, 100% { transform: rotateY(-10deg) rotateZ(-1deg); }
  50%      { transform: rotateY(10deg) rotateZ(1deg); }
}
.flocage-preview .print-letter { fill-opacity: 0; animation: print-letter .28s ease-out both; animation-delay: calc(var(--i) * 55ms); }
@keyframes print-letter { 0% { fill-opacity: 0; } 60% { fill-opacity: 1; fill: var(--primary-light); } 100% { fill-opacity: 1; } }
.flocage-preview .is-stamped { transform-box: fill-box; transform-origin: center; animation: stamp .45s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes stamp { 0% { transform: scale(1.35); opacity: 0; } 100% { transform: none; opacity: 1; } }
.flocage-preview .press-flash { opacity: 0; }
.flocage-preview .press-flash.is-on { animation: press-flash .6s ease-out both; }
@keyframes press-flash { 0% { opacity: 0; } 25% { opacity: .55; } 100% { opacity: 0; } }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .logo-anime .piece, .logo-anime .glint, .hero-wordmark.is-animated, .flocage-preview svg { animation: none !important; }
  .logo-anime .glint { display: none; }
}
