/* Layout : le site se lit comme le maillot 5 ans. Sections en blanc rayé (le tissu) alternées avec le bordeaux des visuels produit, script rouge en signature, typo collège pour les chiffres. */
:root {
  --paper: #F7F5F2;
  --paper-2: #EFEBE6;
  --stripe: #E6E0D9;
  --wine: #3B1014;
  --wine-deep: #2A0B0E;
  --jersey-bg: #2E0F0F;
  --script: #E0532F;
  --script-ink: #B23A1D;
  --ink: #171314;
  --muted: #6B5F61;
  --line: #D8D0C8;
  --on-wine: #F3ECE6;
  --on-wine-muted: #CDB8B4;
  --gold: #C9A35A;

  --font-script: 'Yellowtail', 'Brush Script MT', 'Segoe Script', cursive;
  --font-college: 'Graduate', 'Rockwell', 'Courier New', serif;
  --font-sans: 'Archivo Variable', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-didone: 'Bodoni Moda Variable', 'Didot', 'Bodoni 72', Georgia, serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --step-4: clamp(2.75rem, 1.6rem + 5vw, 5rem);

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --grain: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --pinstripe-paper: repeating-linear-gradient(90deg, transparent 0 58px, var(--stripe) 58px 59px, transparent 59px 64px, var(--stripe) 64px 65px, transparent 65px 132px);
  --pinstripe-wine: repeating-linear-gradient(90deg, transparent 0 58px, rgba(243, 236, 230, .045) 58px 60px, transparent 60px 132px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--script); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie ---------- */
.eyebrow {
  font-family: var(--font-college);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
}
.display {
  font-family: var(--font-sans);
  font-weight: 800;
  font-stretch: 68%;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
  font-size: var(--step-4);
}
.h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-stretch: 70%;
  text-transform: uppercase;
  line-height: 1;
  font-size: var(--step-3);
}
.script { font-family: var(--font-script); font-weight: 400; color: var(--script); line-height: 1; }
.lede { font-size: var(--step-1); line-height: 1.55; max-width: 60ch; }
.prose { max-width: 62ch; display: grid; gap: 1em; }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-sans); font-weight: 700; font-stretch: 85%;
  font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--script { background: var(--script); color: var(--ink); }
.btn--script:hover { background: #EA6A48; }
.btn--ghost { border-color: rgba(243, 236, 230, .55); color: var(--on-wine); background: transparent; }
.btn--ghost:hover { border-color: var(--on-wine); background: rgba(243, 236, 230, .06); }
.btn--wine { background: var(--wine); color: var(--on-wine); }
.btn--wine:hover { background: var(--wine-deep); }
.btn--line { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn--line:hover { background: var(--wine); color: var(--on-wine); }
.btn .arrow { font-family: var(--font-sans); font-stretch: 100%; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--wine); color: var(--on-wine);
  border-bottom: 1px solid rgba(243, 236, 230, .1);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-wine); }
.brand img { width: 30px; height: auto; }
.brand span { font-family: var(--font-script); font-size: 1.75rem; color: var(--script); line-height: 1; padding-top: 4px; }
.nav ul { display: flex; gap: clamp(14px, 2.6vw, 34px); align-items: center; }
.nav a {
  text-decoration: none; font-weight: 600; font-stretch: 85%;
  font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 0; border-bottom: 2px solid transparent; color: var(--on-wine);
}
.nav a:hover { border-color: rgba(224, 83, 47, .6); }
.nav a[aria-current="page"] { border-color: var(--script); }
.nav .nav-event { color: var(--gold); }
.menu-toggle {
  display: none; background: none; border: 1px solid rgba(243, 236, 230, .35); color: var(--on-wine);
  border-radius: var(--radius); min-height: 42px; padding: 0 14px; cursor: pointer;
  font: 600 0.8125rem/1 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase;
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--wine); border-bottom: 1px solid rgba(243, 236, 230, .12); display: none; }
  .site-header.is-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(243, 236, 230, .1); font-size: 1rem; }
  .nav a[aria-current="page"] { color: var(--script); border-bottom-color: rgba(243, 236, 230, .1); }
}

/* ---------- Fonds ---------- */
.bg-wine { background-color: var(--wine); background-image: var(--grain), var(--pinstripe-wine); color: var(--on-wine); }
.bg-paper { background-color: var(--paper); background-image: var(--pinstripe-paper); }
.bg-plain { background: var(--paper); }
.section { padding-block: clamp(64px, 9vw, 120px); }

/* ---------- Hero accueil ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; position: relative; z-index: 2; }
.hero-copy .eyebrow { color: var(--on-wine-muted); }
.hero-title { font-size: clamp(4.2rem, 2rem + 9vw, 9.5rem); transform: rotate(-4deg); transform-origin: left center; margin: 6px 0 10px -4px; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.hero-slogan { display: flex; align-items: center; gap: 14px; font-family: var(--font-college); font-size: clamp(1rem, .8rem + .8vw, 1.375rem); letter-spacing: .12em; text-transform: uppercase; color: var(--on-wine); }
.hero-slogan::before, .hero-slogan::after { content: ""; height: 1px; width: 36px; background: rgba(243, 236, 230, .45); }
.hero-copy .lede { color: var(--on-wine); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero-card-zone { position: relative; display: grid; place-items: center; min-width: 0; }
.big-five {
  position: absolute; z-index: 0; inset: auto; right: -4%; top: 50%; transform: translateY(-54%);
  font-family: var(--font-college); font-size: clamp(16rem, 10rem + 22vw, 34rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(243, 236, 230, .14); pointer-events: none; user-select: none;
}
.sticker {
  position: relative; z-index: 1; width: min(100%, 380px);
  background: var(--paper); padding: 12px 12px 0; border-radius: 3px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 2px 0 rgba(0, 0, 0, .2);
  transform: rotate(3deg); color: var(--ink);
}
.sticker figure { margin: 0; }
.sticker figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; background: #8a8a8a; }
.sticker-band { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 14px; }
.sticker-band .script { font-size: 1.9rem; }
.sticker-band .eyebrow { font-size: .6875rem; color: var(--muted); }
.sticker-num { font-family: var(--font-college); font-size: 2.6rem; line-height: 1; color: var(--wine); }
.sticker-crest { width: 26px; height: auto; flex: none; }
.sticker-band .script { white-space: nowrap; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-card-zone { order: 2; padding-block: 12px 4px; }
  .sticker { width: min(78%, 340px); }
  .big-five { right: 0; }
}

/* ---------- Bandeau défilant ---------- */
.ticker { background: var(--script); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span { font-family: var(--font-college); text-transform: uppercase; letter-spacing: .14em; font-size: .9375rem; padding: 12px 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px; }
.ticker-track span::after { content: "✶"; font-family: var(--font-sans); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Le club ---------- */
.club-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.section-head { display: grid; gap: 14px; margin-bottom: 28px; }
.section-head .eyebrow { color: var(--script-ink); }
.club-copy { min-width: 0; }
.fiche { margin-top: 40px; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); padding-block: 8px; max-width: 560px; background: var(--paper); }
.fiche-title { font-family: var(--font-college); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; padding: 8px 0 10px; color: var(--muted); }
.fiche dl { margin: 0; display: grid; }
.fiche div { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.fiche dt { font-weight: 600; font-stretch: 85%; text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; white-space: nowrap; }
.fiche div::after { content: none; }
.fiche .leader { flex: 1; border-bottom: 1px dotted #A99C97; transform: translateY(-4px); min-width: 16px; }
.fiche dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.fiche dd.script-dd { font-family: var(--font-script); color: var(--script-ink); font-size: 1.4rem; line-height: 1; }

.photo-frame { margin: 0; position: relative; min-width: 0; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 10px solid var(--paper); outline: 1px solid var(--line); box-shadow: 0 24px 48px -28px rgba(23, 19, 20, .45); }
.photo-frame figcaption { margin-top: 14px; font-size: var(--step--1); color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.photo-frame figcaption .eyebrow { color: var(--wine); font-size: .6875rem; }
@media (max-width: 900px) { .club-grid { grid-template-columns: minmax(0, 1fr); } .photo-frame { max-width: 460px; } }

/* ---------- Équipes ---------- */
.teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.team {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background-color: var(--wine); background-image: var(--grain), var(--pinstripe-wine);
  color: var(--on-wine); padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; align-content: start; min-height: 320px;
}
.team .eyebrow { color: var(--on-wine-muted); }
.team h3 { font-family: var(--font-sans); font-weight: 800; font-stretch: 66%; text-transform: uppercase; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.75rem); line-height: .95; }
.team p { color: var(--on-wine); max-width: 40ch; }
.team .tag { justify-self: start; margin-top: auto; font-family: var(--font-college); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--script); padding: 6px 10px; border-radius: 2px; }
.team-mark { position: absolute; right: -10px; bottom: -40px; font-family: var(--font-college); font-size: 11rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 236, 230, .1); pointer-events: none; }
.team--ink { background-color: var(--ink); }
.teams-note { margin-top: 22px; display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: var(--step--1); }
.teams-note::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--script); flex: none; }
@media (max-width: 760px) { .teams { grid-template-columns: minmax(0, 1fr); } .team { min-height: 0; } }

/* ---------- Maillot ---------- */
.jersey { background-color: var(--jersey-bg); background-image: var(--grain); color: var(--on-wine); }
.jersey .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.jersey-img { margin: 0; min-width: 0; }
.jersey-img img { width: 100%; aspect-ratio: 1409 / 1000; object-fit: cover; }
.jersey-copy { display: grid; gap: 18px; min-width: 0; }
.jersey-copy .eyebrow { color: var(--on-wine-muted); }
.jersey-copy .script { font-size: clamp(3rem, 2rem + 4vw, 5rem); transform: rotate(-3deg); transform-origin: left; }
.price { font-family: var(--font-college); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-sans); font-size: .875rem; letter-spacing: .06em; color: var(--on-wine-muted); margin-left: 8px; text-transform: uppercase; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-row span { min-width: 48px; text-align: center; border: 1px solid rgba(243, 236, 230, .4); border-radius: 2px; padding: 8px 10px; font-weight: 700; font-stretch: 85%; letter-spacing: .06em; }
@media (max-width: 900px) { .jersey .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Prochain événement (aperçu LIL Event) ---------- */
.next-event { background: #110E0B; color: #F2EBDD; border-top: 1px solid rgba(201, 163, 90, .35); }
.next-event .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 56px; align-items: center; }
.next-copy { display: grid; gap: 22px; min-width: 0; }
.next-copy .next-title, .next-copy .next-meta, .next-copy .next-actions { margin-top: 0; }
.next-kv { display: block; min-width: 0; padding: 8px; border: 1px solid var(--gold); box-shadow: 0 0 0 5px #110E0B, 0 0 0 6px rgba(201, 163, 90, .35), 0 30px 60px -30px rgba(0, 0, 0, .8); transition: transform .25s ease; }
.next-kv img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.next-kv:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .next-kv { transition: none; } .next-kv:hover { transform: none; } }
.next-event .eyebrow { color: var(--gold); }
.next-title { font-family: var(--font-didone); font-style: italic; font-weight: 500; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); line-height: 1; margin-top: 12px; }
.next-meta { margin-top: 16px; color: #C9BFAD; font-size: var(--step-1); }
.next-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn--gold { background: var(--gold); color: #110E0B; }
.btn--gold:hover { background: #D8B571; }
.btn--gold-line { border-color: rgba(201, 163, 90, .6); color: #F2EBDD; }
.btn--gold-line:hover { border-color: var(--gold); background: rgba(201, 163, 90, .08); }
.countdown { display: inline-grid; grid-template-columns: repeat(4, minmax(64px, auto)); gap: 0; border: 1px solid rgba(201, 163, 90, .45); }
.countdown div { padding: 14px 16px; text-align: center; border-left: 1px solid rgba(201, 163, 90, .3); }
.countdown div:first-child { border-left: 0; }
.countdown b { display: block; font-family: var(--font-didone); font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.75rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.countdown small { display: block; margin-top: 6px; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: #B9AE9B; }
.countdown-done { font-family: var(--font-didone); font-style: italic; font-size: 1.75rem; color: var(--gold); }
@media (max-width: 900px) { .next-event .wrap { grid-template-columns: minmax(0, 1fr); } .next-kv { order: -1; } .countdown { justify-self: start; } }
@media (max-width: 420px) { .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; } .countdown div { padding: 12px 6px; } }

/* ---------- Partenaires ---------- */
.tiers { display: grid; gap: 40px; }
.tier { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px 40px; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.tier-label { display: grid; gap: 6px; }
.tier-label .eyebrow { color: var(--wine); }
.tier-label small { color: var(--muted); font-size: var(--step--1); }
.tier-logos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.partner {
  display: grid; place-items: center; text-align: center; min-height: 110px; padding: 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: .04em; font-size: 1.25rem; line-height: 1.1; color: var(--ink);
}
.partner img { max-height: 70px; width: auto; }
.partner small { display: block; font-weight: 500; font-stretch: 100%; letter-spacing: .1em; font-size: .6875rem; color: var(--muted); margin-top: 6px; }
.tier--major .partner { min-height: 170px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); border-color: var(--wine); border-width: 2px; }
.tier--major .tier-logos { grid-template-columns: minmax(0, 1fr); }
.partners-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 28px; background: var(--wine); color: var(--on-wine); border-radius: var(--radius); background-image: var(--grain); }
.partners-cta p { font-size: var(--step-1); max-width: 48ch; }
@media (max-width: 760px) { .tier { grid-template-columns: minmax(0, 1fr); } .tier-logos { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pied de page ---------- */
.site-footer { background-color: var(--wine-deep); background-image: var(--grain); color: var(--on-wine); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { width: 44px; }
.footer-brand .script { font-size: 2.4rem; }
.footer-brand p { color: var(--on-wine-muted); max-width: 34ch; font-size: var(--step--1); }
.footer-col h2 { font-family: var(--font-college); font-weight: 400; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-wine-muted); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-email { word-break: break-all; user-select: all; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(243, 236, 230, .14); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .8125rem; color: var(--on-wine-muted); }
.footer-bottom .slogan { font-family: var(--font-college); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pages secondaires ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(36px, 5vw, 56px); }
.page-head .eyebrow { color: var(--on-wine-muted); }
.page-head h1 { margin-top: 12px; }
.crumbs { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-wine-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
mark.todo { background: #FFE8A3; color: var(--ink); padding: 0 4px; border-radius: 2px; }

/* ---------- Boutique ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery { display: grid; gap: 14px; min-width: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); }
.gallery-main { margin: 0; background: var(--jersey-bg); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 1409 / 1000; object-fit: cover; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: var(--jersey-bg); cursor: pointer; width: 110px; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--script); }
.thumbs img { aspect-ratio: 1409 / 1000; object-fit: cover; width: 100%; }
.thumbs span { display: block; padding: 6px 0; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-wine); font-family: var(--font-college); }
.details { margin-top: 18px; border-top: 3px double var(--ink); padding-top: 14px; }
.details h3 { font-family: var(--font-college); font-weight: 400; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.details li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.details li span:first-child { font-weight: 600; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; }
.details li span:last-child { text-align: right; color: var(--muted); }

.buy { display: grid; gap: 18px; min-width: 0; }
.buy .eyebrow { color: var(--script-ink); }
.buy-title { display: grid; gap: 4px; }
.buy-title .script { font-size: 2.4rem; transform: rotate(-3deg); transform-origin: left; color: var(--script-ink); }
.buy .price { color: var(--wine); }
.buy .price small { color: var(--muted); }
.stock-note { font-size: var(--step--1); color: var(--wine); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.stock-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--script); flex: none; }

.form { display: grid; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.form legend, .form .label { font-family: var(--font-college); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: 0; margin-bottom: 10px; }
.sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.size span.box { display: grid; gap: 2px; place-items: center; padding: 12px 6px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .15s, background-color .15s; }
.size b { font-weight: 800; font-stretch: 80%; font-size: 1.25rem; letter-spacing: .02em; }
.size .size-stock { font-size: .6875rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.size input:hover + .box { border-color: var(--wine); }
.size input:checked + .box { border-color: var(--wine); background: var(--wine); color: var(--on-wine); }
.size input:checked + .box .size-stock { color: var(--on-wine-muted); }
.size input:focus-visible + .box { outline: 2px solid var(--script); outline-offset: 2px; }
.size.is-out .box { opacity: .45; text-decoration: line-through; }
.size.is-out input { cursor: not-allowed; }
.qty-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.qty-row .total { text-align: right; }
.qty-row .total span { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.qty-row .total b { font-family: var(--font-college); font-weight: 400; font-size: 1.75rem; color: var(--wine); font-variant-numeric: tabular-nums; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .875rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #FFFFFF;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 11px 12px; min-height: 46px;
}
.field textarea { min-height: 90px; resize: vertical; }
.field select { width: auto; min-width: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(59, 16, 20, .14); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.error { color: #B3261E; font-size: .8125rem; font-weight: 600; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; cursor: pointer; }
.choice input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--wine); flex: none; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.form-foot { display: grid; gap: 10px; }
.form-foot .btn { width: 100%; min-height: 54px; font-size: 1rem; }
.form-foot p { font-size: .8125rem; color: var(--muted); text-align: center; }

.confirm { display: grid; gap: 16px; padding: 24px; background: var(--paper-2); border: 2px solid var(--wine); border-radius: var(--radius); }
.confirm h3 { font-family: var(--font-sans); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; outline: none; }
.confirm .to { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 12px 14px; background: var(--paper); border: 1px dashed var(--wine); border-radius: var(--radius); }
.confirm .to strong { user-select: all; word-break: break-all; }
.confirm pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: .875rem/1.55 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; background: var(--paper); padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); max-height: 320px; overflow: auto; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-small { min-height: 38px; padding: 8px 14px; font-size: .8125rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--wine); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; justify-self: start; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); counter-reset: step; }
.step { padding: 28px; border-top: 3px solid var(--wine); background: var(--paper); display: grid; gap: 10px; align-content: start; }
.step-num { font-family: var(--font-college); font-size: 2.75rem; line-height: 1; color: var(--script-ink); }
.step h3 { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.375rem; line-height: 1.1; }
.step p { color: var(--muted); }

@media (max-width: 960px) { .product { grid-template-columns: minmax(0, 1fr); } .gallery { position: static; } }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .row-2 { grid-template-columns: minmax(0, 1fr); } .sizes { gap: 6px; } .confirm { padding: 18px; } }

/* ---------- Mentions légales ---------- */
.legal { display: grid; gap: 36px; max-width: 760px; }
.legal section { display: grid; gap: 10px; }
.legal h2 { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.375rem; padding-top: 18px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: #3E3536; }

/* ---------- Équipes avec photo ---------- */
.teams-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.teams-photo img { object-position: 50% 30%; }
.teams-col { display: grid; gap: 0; min-width: 0; }
.teams-col .teams { grid-template-columns: minmax(0, 1fr); }
.teams-col .team { min-height: 0; }
@media (max-width: 900px) { .teams-layout { grid-template-columns: minmax(0, 1fr); } .teams-photo { max-width: 460px; } }

/* ---------- Braderie ---------- */
.braderie-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.braderie-copy { display: grid; gap: 18px; min-width: 0; }
.braderie-copy .eyebrow { color: var(--on-wine-muted); }
.braderie-copy .h2 { color: var(--on-wine); }
.braderie-copy p { color: var(--on-wine); max-width: 46ch; }
.braderie-copy p:last-child { color: var(--on-wine-muted); }
.prints { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); min-width: 0; padding: 12px 8px 24px; }
.print { margin: 0; background: var(--paper); padding: 10px 10px 0; border-radius: 2px; box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .6), 0 2px 0 rgba(0, 0, 0, .18); }
.print img { width: 100%; object-fit: cover; }
.print figcaption { font-size: 1.5rem; color: var(--script-ink); padding: 8px 4px 10px; line-height: 1; }
.print--a { grid-column: 1 / 10; grid-row: 1; transform: rotate(-2.5deg); z-index: 1; }
.print--a img { aspect-ratio: 4 / 3; }
.print--b { grid-column: 8 / 13; grid-row: 1; margin-top: 30%; transform: rotate(3deg); z-index: 2; }
.print--b img { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .braderie-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .print--a { grid-column: 1 / 11; } .print--b { grid-column: 6 / 13; margin-top: 46%; } .print figcaption { font-size: 1.2rem; } }
.print { align-self: start; }

/* ---------- Exclusivité Hall of Frames 2 ---------- */
.exclu { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid rgba(201, 163, 90, .6); border-radius: var(--radius); color: var(--on-wine); font-size: var(--step--1); max-width: 52ch; }
.exclu-tag { font-family: var(--font-college); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.exclu--paper { border-color: var(--wine); background: var(--paper-2); color: var(--ink); font-size: .9375rem; }
.exclu--paper .exclu-tag { color: var(--script-ink); }
.pickup { padding: 12px 14px; border: 1px dashed var(--wine); border-radius: var(--radius); background: var(--paper-2); font-size: .9375rem; }
.pickup b { font-weight: 700; color: var(--wine); }
