/* France Lacrosse — Tricolore */
:root {
  --bleu: #15288a;
  --bleu-v: #2443c4;
  --nuit: #0a1236;
  --rouge: #e2001a;
  --rouge-t: #c20017;
  --craie: #f6f4ef;
  --papier: #fbfaf7;
  --encre: #0c1233;
  --gris: #585d77;
  --ligne: rgba(12, 18, 51, .12);
  --ligne-f: rgba(12, 18, 51, .26);
  --plaque: #1d3a8c;
  --plaque-frame: #183826;
  --f-c: 'Sofia Sans Extra Condensed', 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
  --f-s: 'Sofia Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-d: 'Bodoni Moda', 'Didot', 'Bodoni 72', 'Bodoni MT', Georgia, serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--craie); color: var(--encre); font: 400 16px/1.5 var(--f-s); -webkit-font-smoothing: antialiased; overflow-x: clip; }
html.locked, html.locked body { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--bleu); color: #fff; padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.serif { font-family: var(--f-d); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.kicker { margin: 0 0 10px; font: 800 13px/1.1 var(--f-c); letter-spacing: .22em; text-transform: uppercase; color: var(--rouge-t); }
.kicker span { color: var(--gris); }
.meta { display: block; font: 700 11px/1.3 var(--f-s); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; font: 800 16px/1 var(--f-c); letter-spacing: .13em; text-transform: uppercase; border-radius: 2px; transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-bleu { background: var(--bleu); color: #fff; }
.btn-rouge { background: var(--rouge-t); color: #fff; }
.btn-blanc { background: #fff; color: var(--bleu); }
.btn-line { border: 2px solid var(--encre); color: var(--encre); background: transparent; }
.btn.sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
@media (hover: hover) {
  .btn-bleu:not(:disabled):hover { background: var(--bleu-v); }
  .btn-rouge:not(:disabled):hover { background: #a80014; }
  .btn-blanc:hover { background: var(--craie); }
  .btn-line:hover { background: var(--encre); color: #fff; }
}
.link-u { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 700 15px/1.2 var(--f-s); color: var(--bleu); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--rouge); }
.link-u svg { width: 16px; height: 16px; }
.link-u.sm { font-size: 13px; min-height: 36px; }

/* ------------------------------------------------------------ header + métro line */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--papier); border-bottom: 1px solid var(--ligne); }
.hdr-flag, .foot-flag, .d-flag { display: flex; }
.hdr-flag { height: 4px; }
.hdr-flag i, .foot-flag i, .d-flag i, .bar i { flex: 1; }
.hdr-flag i:nth-child(1), .foot-flag i:nth-child(1), .d-flag i:nth-child(1), .bar i:nth-child(1) { background: var(--bleu); }
.hdr-flag i:nth-child(2), .foot-flag i:nth-child(2), .d-flag i:nth-child(2) { background: #fff; }
.hdr-flag i:nth-child(3), .foot-flag i:nth-child(3), .d-flag i:nth-child(3), .bar i:nth-child(3) { background: var(--rouge); }
.hdr-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; height: 64px; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font: 900 25px/.9 var(--f-c); letter-spacing: .02em; text-transform: uppercase; color: var(--encre); }
.brand-word span { font: 700 10.5px/1 var(--f-s); letter-spacing: .34em; text-transform: uppercase; color: var(--rouge-t); margin-top: 3px; }

/* The crest: the logo file is a crest over a wordmark; show the crest alone. */
.crest { position: relative; display: block; aspect-ratio: 106 / 132; overflow: hidden; flex: none; }
.crest img { position: absolute; top: 0; left: -67.92%; width: 235.85%; max-width: none; height: auto; }
.crest.plated { aspect-ratio: 250 / 150; background: #fff; }
.crest.plated img { position: static; width: 100%; }
.crest-sm { height: 42px; }

.metro { position: relative; justify-self: center; width: min(100%, 760px); height: 56px; }
.metro ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); height: 100%; position: relative; z-index: 1; }
.metro li a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 13px; height: 100%; color: var(--gris); font: 800 12.5px/1 var(--f-c); letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; transition: color .25s; }
.metro-line { position: absolute; top: 18px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 5px; background: #dcdee8; }
.metro-fill { position: absolute; inset: 0; background: var(--bleu); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.stop { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3.5px solid #c3c6d4; transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.metro li.past .stop { border-color: var(--bleu); }
.metro li.here .stop { border-color: var(--rouge); background: var(--rouge); transform: scale(1.25); }
.metro li.here a { color: var(--encre); }
.metro .terminus .stop { border-radius: 3px; border-color: var(--encre); background: var(--encre); }
@media (hover: hover) { .metro li a:hover { color: var(--bleu); } .metro li a:hover .stop { transform: scale(1.2); } }
@media (max-width: 1240px) {
  .metro li a { font-size: 11.5px; letter-spacing: .05em; }
  .bag-btn .bag-label { display: none; }
  .bag-btn { padding-left: 12px; }
  .hdr-row { gap: 14px; }
}
.back-link { display: none; align-items: center; gap: 8px; min-height: 44px; font: 800 14px/1 var(--f-c); letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); justify-self: start; }
.back-link svg { width: 18px; height: 18px; }
html.in-shop .metro, html.in-shop .metro-m { display: none; }
html.in-shop .back-link { display: inline-flex; }

.hdr-end { display: flex; align-items: center; gap: 4px; }
.lang { display: flex; margin-right: 6px; }
.lang button { position: relative; width: 44px; height: 44px; font: 800 14px/1 var(--f-c); letter-spacing: .12em; color: var(--gris); }
.lang button::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2.5px; background: var(--rouge); transform: scaleX(0); transition: transform .25s var(--ease); }
.lang button[aria-pressed="true"] { color: var(--encre); }
.lang button[aria-pressed="true"]::after { transform: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; }
.icon-btn svg { width: 23px; height: 23px; }
.bag-btn { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 8px 0 16px; margin-left: 6px; background: var(--bleu); color: #fff; border-radius: 22px; font: 800 15px/1 var(--f-c); letter-spacing: .12em; text-transform: uppercase; }
.bag-btn svg { width: 20px; height: 20px; }
.bag-btn .count { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: #fff; color: var(--bleu); font: 800 14px/1 var(--f-s); letter-spacing: 0; }
.bag-btn .count.zero { background: rgba(255, 255, 255, .18); color: #fff; }
.bag-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: none; } 30% { transform: scale(1.12) rotate(-5deg); } 60% { transform: scale(.97) rotate(2deg); } 100% { transform: none; } }
@media (hover: hover) { .bag-btn:hover { background: var(--bleu-v); } }

.metro-m { display: none; }
@media (max-width: 999px) {
  .metro { display: none; }
  .hdr-row { grid-template-columns: minmax(0, 1fr) auto; height: 58px; gap: 8px; }
  .metro-m { display: flex; align-items: center; gap: 14px; height: 32px; padding: 0 var(--gut); border-top: 1px solid var(--ligne); }
  .metro-m-name { flex: none; min-width: 92px; font: 800 12px/1 var(--f-c); letter-spacing: .15em; text-transform: uppercase; color: var(--bleu); white-space: nowrap; }
  .metro-m-line { position: relative; flex: 1; height: 4px; margin: 0 6px; background: #dcdee8; }
  .metro-m-fill { position: absolute; inset: 0; background: var(--bleu); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
  .metro-m-line i { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; border: 2.5px solid #c3c6d4; transition: border-color .3s, background-color .3s; }
  .metro-m-line i.past { border-color: var(--bleu); }
  .metro-m-line i.here { border-color: var(--rouge); background: var(--rouge); }
  html.in-shop .hdr-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  html.in-shop .brand-word { display: none; }
}
@media (max-width: 560px) {
  .bag-btn { width: 44px; padding: 0; justify-content: center; position: relative; margin-left: 2px; }
  .bag-btn .bag-label { display: none; }
  .bag-btn .count { position: absolute; top: -5px; right: -6px; min-width: 22px; height: 22px; font-size: 12px; box-shadow: 0 0 0 2px var(--papier); background: var(--rouge-t); color: #fff; }
  .bag-btn .count.zero { display: none; }
  .brand-word b { font-size: 22px; }
  .brand-word span { letter-spacing: .26em; }
  .lang { margin-right: 0; }
  .lang button { width: 40px; }
}

/* ------------------------------------------------------------ hero: the flag as a stage */
.hero { --a: 34%; --b: 66%; --s: 3.2%; position: relative; height: clamp(600px, calc(100svh - 70px), 900px); overflow: hidden; background: #fff; container-type: size; isolation: isolate; }
.band { position: absolute; inset: 0; will-change: transform; }
.band-b { clip-path: polygon(0 0, calc(var(--a) + var(--s)) 0, calc(var(--a) - var(--s)) 100%, 0 100%); background: #0c1a5e; }
.band-r { clip-path: polygon(calc(var(--b) + var(--s)) 0, 100% 0, 100% 100%, calc(var(--b) - var(--s)) 100%); background: #5a0612; }
.band-in { position: absolute; inset: 0; }
.hero .ph { position: absolute; top: -6cqh; height: 112cqh; width: auto; max-width: none; opacity: 0; transition: opacity .6s ease-out, transform .9s var(--ease); }
.hero .ph.ready { opacity: 1; }
.ph-l { left: calc(17cqw - 63.9cqh); filter: url(#duo-bleu); }
.ph-r { left: calc(83cqw - 282.3cqh); filter: url(#duo-rouge); }
.band-shade { position: absolute; inset: 0; }
.band-b .band-shade { background: linear-gradient(to top, rgba(5, 10, 44, .72), rgba(5, 10, 44, 0) 58%), linear-gradient(to right, rgba(5, 10, 44, .25), rgba(5, 10, 44, 0) 40%); }
.band-r .band-shade { background: linear-gradient(to top, rgba(46, 0, 8, .66), rgba(46, 0, 8, 0) 58%), linear-gradient(to left, rgba(46, 0, 8, .2), rgba(46, 0, 8, 0) 40%); }

.hero-center { position: absolute; z-index: 2; top: 0; left: calc(var(--a) + var(--s)); right: calc(100% - var(--b) + var(--s)); bottom: calc(var(--hl, 200px) * .86 + 3.5cqh); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(10px, 2.2cqh, 22px); }
.hero-eyebrow { display: grid; gap: 4px; margin: 0; font: 700 12px/1.2 var(--f-s); letter-spacing: .26em; text-transform: uppercase; }
.hero-eyebrow span:first-child { color: var(--bleu); }
.hero-eyebrow span:last-child { color: var(--rouge-t); }
.crest-stage { position: relative; width: min(23cqw, 36cqh); aspect-ratio: 1; display: grid; place-items: center; }
.ring-wrap { position: absolute; inset: 0; }
.ring { width: 100%; height: 100%; overflow: visible; animation: spin 70s linear infinite; will-change: transform; }
.ring text { font: 800 12.5px var(--f-c); letter-spacing: .08em; fill: var(--bleu); }
.ring circle { fill: none; stroke: var(--bleu); }
.ring .c1 { stroke-width: 1.4; }
.ring .c2 { stroke-width: .6; }
.ring .r { fill: var(--rouge); }
.hero.offscreen .ring { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.crest-btn { position: relative; height: 51%; display: grid; place-items: center; border-radius: 50%; }
.crest-hero { height: 100%; position: relative; }
.crest-stage { transition: transform .5s var(--ease); }
.hero .ph { will-change: transform; }
.crest-stage.crow .crest-hero { animation: crow 1.1s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes crow { 0% { transform: none; } 18% { transform: translateY(-10%) rotate(-9deg) scale(1.06); } 38% { transform: translateY(-4%) rotate(7deg) scale(1.08); } 58% { transform: rotate(-4deg) scale(1.02); } 100% { transform: none; } }
.crow-bubble { position: absolute; z-index: 3; top: 4%; right: -6%; padding: 9px 12px 8px; background: var(--rouge-t); color: #fff; font: 800 17px/1 var(--f-c); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: scale(.4) rotate(-8deg); transform-origin: 0 100%; pointer-events: none; }
.crow-bubble::after { content: ''; position: absolute; left: 8px; bottom: -8px; border: 8px solid transparent; border-top-color: var(--rouge-t); border-bottom: 0; border-left: 0; }
.crest-stage.crow .crow-bubble { animation: bubble 1.5s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes bubble { 0% { opacity: 0; transform: scale(.4) rotate(-8deg); } 16% { opacity: 1; transform: scale(1) rotate(-4deg); } 80% { opacity: 1; transform: scale(1) rotate(-4deg); } 100% { opacity: 0; transform: scale(.9) rotate(-4deg); } }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-cta .btn .sm { display: none; }

.headline { position: absolute; inset: 0; z-index: 1; margin: 0; pointer-events: none; font: 900 var(--hl, 200px)/1 var(--f-c); letter-spacing: .004em; text-transform: uppercase; }
.hl { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: max(14px, 2.6cqh); }
.hl-b { clip-path: polygon(0 0, calc(var(--a) + var(--s)) 0, calc(var(--a) - var(--s)) 100%, 0 100%); color: #fff; }
.hl-w { clip-path: polygon(calc(var(--a) + var(--s)) 0, calc(var(--b) + var(--s)) 0, calc(var(--b) - var(--s)) 100%, calc(var(--a) - var(--s)) 100%); color: var(--bleu); }
.hl-r { clip-path: polygon(calc(var(--b) + var(--s)) 0, 100% 0, 100% 100%, calc(var(--b) - var(--s)) 100%); color: #fff; }
.hl-stack { display: flex; flex-direction: column; align-items: center; will-change: transform; }
.hl-line { display: block; white-space: nowrap; overflow: hidden; line-height: .8; padding-top: .07em; }
.ch { display: inline-block; }
.sp { display: inline-block; width: .17em; }

/* Intro: bands rise and fall into place, the crest lands, the chant rises letter by letter. */
.intro .band-b { animation: band-up .85s cubic-bezier(.76, 0, .24, 1) both; }
.intro .band-r { animation: band-down .85s cubic-bezier(.76, 0, .24, 1) .08s both; }
.intro .band-in { animation: settle 1.7s cubic-bezier(.2, .7, .2, 1) both; }
.intro .crest-btn { animation: crest-in 1s cubic-bezier(.34, 1.5, .64, 1) .5s both; }
.intro .ring-wrap { animation: ring-in 1.15s cubic-bezier(.2, .8, .2, 1) .62s both; }
.intro .ch { animation: rise .8s cubic-bezier(.2, .85, .25, 1) both; animation-delay: calc(.62s + var(--i) * 34ms); }
.intro .hero-eyebrow { animation: fade-up .7s ease-out 1s both; }
.intro .hero-cta { animation: fade-up .7s ease-out 1.12s both; }
html.intro:not(.go) .hero, html.intro:not(.go) .hero * { animation-play-state: paused !important; }
@keyframes band-up { from { transform: translate3d(0, 101%, 0); } to { transform: none; } }
@keyframes band-down { from { transform: translate3d(0, -101%, 0); } to { transform: none; } }
@keyframes settle { from { transform: scale(1.18); } to { transform: none; } }
@keyframes crest-in { from { opacity: 0; transform: translateY(-16%) scale(.7) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes ring-in { from { opacity: 0; transform: scale(.55) rotate(-70deg); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translate3d(0, 108%, 0); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 999px) {
  .hero { height: clamp(560px, calc(100svh - 96px), 900px); }
  .crest-stage { width: min(27cqw, 36cqh); }
}
@media (max-width: 1100px) {
  .hero-cta .btn { font-size: 14px; padding: 0 16px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .2em; }
}
@media (max-width: 760px) {
  .hero { --a: 30%; --b: 70%; --s: 4%; height: clamp(560px, calc(100svh - 96px), 720px); }
  .hero-center { left: 0; right: 0; bottom: calc(var(--hl, 90px) * 1.62 + 20px); justify-content: center; padding-top: 44px; }
  .hero-eyebrow { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: block; white-space: nowrap; padding: 7px 10px 6px; background: #fff; font-size: 10px; letter-spacing: .16em; }
  .intro .hero-eyebrow { animation-name: fade-in; }
  .hero-eyebrow span:first-child::after { content: ' · '; color: var(--gris); }
  .crest-stage { width: min(66cqw, 44cqh); }
  .crest-stage::before { content: ''; position: absolute; inset: -1%; border-radius: 50%; background: #fff; box-shadow: 0 12px 34px -12px rgba(5, 10, 44, .55); }
  .hero-cta .btn { min-height: 46px; }
  .hero-cta .btn .lg { display: none; }
  .hero-cta .btn .sm { display: inline; }
  .hero-cta .link-u { display: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------ sections + Paris street plaques */
.sec { padding-top: clamp(72px, 9vw, 132px); }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 22px 40px; margin-bottom: clamp(28px, 3.6vw, 48px); }
.sec-rail .sec-head { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.sec-intro h2 { margin: 0; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.02; color: var(--bleu); }
.more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 800 14px/1 var(--f-c); letter-spacing: .16em; text-transform: uppercase; color: var(--encre); white-space: nowrap; }
.more-link svg { width: 17px; height: 17px; color: var(--rouge-t); transition: transform .25s var(--ease); }
@media (hover: hover) { .more-link:hover svg { transform: translateX(4px); } .more-link:hover { color: var(--bleu); } }

.plaque { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: clamp(240px, 24vw, 340px); padding: 15px 30px 17px; background: linear-gradient(175deg, #2d4ea8 0%, var(--plaque) 42%, #17307a 100%); color: #fff; border-radius: 12px; box-shadow: 0 0 0 4px var(--plaque-frame), 0 14px 26px -14px rgba(10, 18, 54, .6); outline: 2.5px solid #f4f6fb; outline-offset: -9px; transform-origin: 50% -30%; text-align: center; }
.pl-arr { font: 700 13px/1 var(--f-s); margin-bottom: 7px; opacity: .95; }
.pl-arr sup { font-size: .68em; line-height: 0; }
.pl-name { font: 800 clamp(24px, 2.4vw, 34px)/1 var(--f-c); letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
[data-plaque] { opacity: 0; }
[data-plaque].in { animation: swing 1.25s cubic-bezier(.25, .9, .3, 1) both; }
@keyframes swing { 0% { opacity: 0; transform: rotate(-9deg) translateY(-12px); } 30% { opacity: 1; transform: rotate(3.5deg); } 55% { transform: rotate(-1.6deg); } 78% { transform: rotate(.6deg); } 100% { opacity: 1; transform: none; } }
.plaque.in:not([data-plaque]) { opacity: 1; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .85s var(--ease) var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
.now { transition: none !important; }

.facets { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 24px; }
.facets button, .chip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 48px; padding: 0 18px; background: #fff; border: 1.5px solid var(--ligne-f); border-radius: 2px; font: 800 14px/1 var(--f-c); letter-spacing: .12em; text-transform: uppercase; color: var(--encre); transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.facets button[aria-pressed="true"], .chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--bleu); border-color: var(--bleu); color: #fff; }
@media (hover: hover) { .facets button:hover, .chip:not(:disabled):hover { border-color: var(--bleu); } }

/* ------------------------------------------------------------ tiles */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.grid-compact { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.grid-more { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 40px); }
.tile { min-width: 0; }
.tile-a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ligne); transition: border-color .25s, box-shadow .3s; }
.plate { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .55s var(--ease); }
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; display: flex; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.bar i:nth-child(2) { background: #e9ebf2; }
@media (hover: hover) {
  .tile-a:hover { border-color: rgba(12, 18, 51, .3); box-shadow: 0 22px 40px -26px rgba(10, 18, 54, .45); }
  .tile-a:hover .plate img { transform: scale(1.045); }
  .tile-a:hover .bar { transform: none; }
}
.tag { position: absolute; top: 10px; left: 10px; padding: 6px 8px 5px; background: var(--rouge-t); color: #fff; font: 800 11px/1 var(--f-c); letter-spacing: .16em; text-transform: uppercase; }
.tag-out { left: auto; right: 10px; background: var(--encre); }
.is-out .plate img { opacity: .5; }
.tile-body { display: block; padding: 14px 14px 0; }
.tile-body .meta { margin-bottom: 6px; }
.tile-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 800 19px/1.04 var(--f-c); letter-spacing: .015em; text-transform: uppercase; color: var(--encre); }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 14px; margin-top: auto; }
.price { font: 800 21px/1 var(--f-c); color: var(--bleu); white-space: nowrap; margin-left: auto; }
.price small { font: 700 11px/1 var(--f-s); color: var(--gris); letter-spacing: .1em; text-transform: uppercase; }
.dots { display: flex; align-items: center; gap: 5px; min-width: 0; }
.dot { width: 15px; height: 15px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(12, 18, 51, .2); flex: none; }
.dot.light { box-shadow: 0 0 0 1px rgba(12, 18, 51, .38); }
.dot.motif { background: repeating-linear-gradient(45deg, var(--c) 0 3px, #fff 3px 5px); }
.dot.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--encre); }
.dot.thumb { overflow: hidden; background: #fff; }
.dot.thumb img { width: 100%; height: 100%; object-fit: cover; }
.dot-more { font: 700 12px/1 var(--f-s); color: var(--gris); padding-left: 2px; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .grid, .grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile-body { padding: 12px 11px 0; }
  .tile-name { font-size: 17px; }
  .tile-foot { flex-direction: column-reverse; align-items: flex-start; gap: 9px; padding: 10px 11px 12px; }
  .price { margin-left: 0; font-size: 19px; }
  .dot { width: 13px; height: 13px; }
  .tag { top: 8px; left: 8px; font-size: 10px; }
}

/* rails */
.rail-nav { display: flex; gap: 8px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--encre); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.round svg { width: 20px; height: 20px; }
@media (hover: hover) { .round:hover { background: var(--encre); color: #fff; } }
.rail-wrap { margin: 0 calc(var(--gut) * -1); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(230px, 21vw, 290px); gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px var(--gut) 20px; scroll-padding: 0 var(--gut); scrollbar-width: thin; scrollbar-color: var(--bleu) transparent; }
.rail-tile { scroll-snap-align: start; }
@media (max-width: 700px) { .rail { grid-auto-columns: 64%; } }

/* ------------------------------------------------------------ la sélection */
.feat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.feat { position: relative; display: flex; flex-direction: column; padding: clamp(14px, 1.6vw, 22px); }
.feat-bleu { background: var(--bleu); color: #fff; }
.feat-blanc { background: #fff; color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne); }
.feat-rouge { background: var(--rouge-t); color: #fff; }
.feat-num { font: italic 500 clamp(40px, 4.4vw, 64px)/1 var(--f-d); margin: -4px 0 8px; }
.feat-blanc .feat-num { color: var(--bleu); }
.feat-plate { display: block; background: #fff; aspect-ratio: 1; overflow: hidden; }
.feat-blanc .feat-plate { box-shadow: inset 0 0 0 1px var(--ligne); }
.feat-plate img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .6s var(--ease); }
.feat-info { display: grid; gap: 6px; padding-top: 16px; }
.feat .meta { color: inherit; opacity: .78; }
.feat-name { font: 800 clamp(22px, 2.1vw, 30px)/1 var(--f-c); text-transform: uppercase; letter-spacing: .01em; }
.feat-price { display: flex; align-items: center; justify-content: space-between; font: 800 24px/1 var(--f-c); margin-top: 6px; }
.feat-go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px solid currentColor; transition: transform .3s var(--ease); }
.feat-go svg { width: 18px; height: 18px; }
@media (hover: hover) { .feat:hover .feat-plate img { transform: scale(1.05) rotate(-1.5deg); } .feat:hover .feat-go { transform: translateX(5px); } }
@media (max-width: 800px) {
  .feat-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 12px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .feat { scroll-snap-align: start; }
}

/* ------------------------------------------------------------ interlude */
.inter { position: relative; margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(380px, 40vw, 560px); background: var(--bleu); color: #fff; overflow: hidden; }
.inter-photo { position: relative; overflow: hidden; background: #5a0612; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); container-type: size; }
.ph-inter { position: absolute; right: 0; top: 50%; height: max(100cqh, 125cqw); width: auto; max-width: none; transform: translateY(-50%); filter: url(#duo-rouge); }
.inter-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(46, 0, 8, .35), rgba(46, 0, 8, 0) 50%); }
.inter-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: clamp(36px, 5vw, 80px) var(--gut) clamp(36px, 5vw, 80px) clamp(24px, 4vw, 60px); }
.inter .kicker { color: #fff; opacity: .8; margin: 0; }
.inter-big { margin: 0; font-size: clamp(46px, 6.2vw, 96px); line-height: .95; }
.inter-sub { margin: 0 0 10px; font: 500 clamp(16px, 1.4vw, 19px)/1.5 var(--f-s); opacity: .86; }
.inter-cocarde { position: absolute; left: 45%; bottom: -64px; width: 150px; height: 150px; margin-left: -75px; border-radius: 50%; background: radial-gradient(circle closest-side, var(--bleu) 0 33%, #fff 34% 66%, var(--rouge) 67% 100%); box-shadow: 0 0 0 10px var(--bleu); pointer-events: none; }
@media (max-width: 760px) {
  .inter { grid-template-columns: minmax(0, 1fr); }
  .inter-photo { height: 300px; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
  .inter-copy { padding: 28px var(--gut) 72px; }
  .inter-cocarde { left: auto; right: -40px; bottom: -60px; width: 150px; height: 150px; margin: 0; }
}

/* ------------------------------------------------------------ flocage */
.floc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; background: #fff; border: 1px solid var(--ligne); padding: clamp(18px, 3vw, 44px); margin-bottom: clamp(40px, 5vw, 64px); }
.floc::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 6px; background: linear-gradient(90deg, var(--bleu) 0 33.4%, #e9ebf2 33.4% 66.6%, var(--rouge) 66.6%); }
.floc-plate { display: block; aspect-ratio: 1; background: #fff; }
.floc-plate img { width: 100%; height: 100%; object-fit: contain; }
.floc-sw { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; margin-top: 6px; }
.floc-sw .label { margin: 0; }
.floc-title { margin: 0 0 12px; font-size: clamp(32px, 3.3vw, 50px); line-height: 1.02; color: var(--bleu); }
.floc-lead { margin: 0 0 22px; color: var(--gris); max-width: 46ch; }
.floc-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; align-items: start; }
.floc-fields .field:not(.field-num) { grid-column: 1; }
.floc-fields .field-num .input-num { width: 110px; }
.floc-buy { display: flex; align-items: center; gap: 18px; margin: 6px 0 6px; }
.floc-price { font: 800 30px/1 var(--f-c); color: var(--bleu); }
.floc-buy .btn { flex: 1; max-width: 320px; }
.floc .link-u { font-size: 14px; }

.dossard { position: relative; display: grid; justify-items: center; background: var(--bleu); color: #fff; padding: 24px 16px 16px; margin: 0 0 22px; overflow: hidden; }
.dossard .d-flag { position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.d-name { font: 800 clamp(22px, 2.2vw, 30px)/1 var(--f-c); letter-spacing: .22em; text-transform: uppercase; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: .22em; }
.d-num { font: 900 clamp(96px, 10vw, 150px)/.86 var(--f-c); letter-spacing: .01em; text-shadow: .05em .05em 0 var(--rouge); font-variant-numeric: tabular-nums; margin-top: 4px; }
.d-name.is-ph, .d-num.is-ph { opacity: .42; }
.d-club { font: 700 10px/1 var(--f-s); letter-spacing: .3em; text-transform: uppercase; opacity: .7; margin-top: 10px; }
.dossard.mini { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; padding: 16px 18px 12px; margin-bottom: 16px; }
.dossard.mini .d-name { font-size: 22px; }
.dossard.mini .d-num { font-size: 64px; margin: 0; }

@media (max-width: 860px) {
  .floc { grid-template-columns: minmax(0, 1fr); }
  .floc-visual { max-width: 420px; width: 100%; justify-self: center; }
}
@media (max-width: 420px) {
  .floc-fields { grid-template-columns: minmax(0, 1fr); }
  .floc-buy { gap: 12px; }
  .floc-price { font-size: 26px; }
}

/* ------------------------------------------------------------ form fields */
.field { display: block; margin: 0 0 16px; min-width: 0; }
.label { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 0 0 8px; font: 800 13px/1.2 var(--f-c); letter-spacing: .16em; text-transform: uppercase; color: var(--encre); }
.label em { font: 600 13px/1.2 var(--f-s); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--gris); }
.input { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--ligne-f); background: #fff; border-radius: 2px; font: 600 17px/1.2 var(--f-s); color: var(--encre); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(36, 67, 196, .22); }
.input.bad { border-color: var(--rouge-t); box-shadow: 0 0 0 3px rgba(194, 0, 23, .14); }
.input-num { max-width: 120px; font: 800 24px/1 var(--f-c); letter-spacing: .08em; text-align: center; }
select.input { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1233' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.hint { display: block; margin-top: 7px; font: 500 13px/1.4 var(--f-s); color: var(--gris); }
.hint.bad { color: var(--rouge-t); font-weight: 700; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 700 15px/1 var(--f-s); letter-spacing: 0; text-transform: none; padding: 0 14px; }
.chip.dim { color: var(--gris); border-style: dashed; }
.chip:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.sw-row { display: flex; flex-wrap: wrap; gap: 2px; }
.thumb-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-thumb { position: relative; width: 58px; height: 58px; background: #fff; border: 1.5px solid var(--ligne); transition: border-color .2s; }
.sw-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.sw-thumb[aria-checked="true"] { border: 2px solid var(--encre); }
.sw-thumb[aria-checked="true"]::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: -2px; height: 3px; background: linear-gradient(90deg, var(--bleu) 0 33.4%, #fff 33.4% 66.6%, var(--rouge) 66.6%); }
.sw-pip { position: absolute; right: 3px; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(12, 18, 51, .25); }
.sw-pip.motif { background: repeating-linear-gradient(45deg, var(--c) 0 2px, #fff 2px 4px); }
@media (hover: hover) { .sw-thumb:hover { border-color: var(--bleu); } }
.sw-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.sw { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(12, 18, 51, .22); transition: transform .2s var(--ease), box-shadow .2s; }
.sw.light { box-shadow: 0 0 0 1px rgba(12, 18, 51, .4); }
.sw.motif { background: repeating-linear-gradient(45deg, var(--c) 0 4px, #fff 4px 7px); }
.sw.thumb { overflow: hidden; background: #fff; }
.sw.thumb img { width: 100%; height: 100%; object-fit: cover; }
.sw-btn[aria-checked="true"] .sw { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--encre); }
@media (hover: hover) { .sw-btn:hover .sw { transform: scale(1.1); } }
.error { margin: 8px 0; color: var(--rouge-t); font-weight: 700; }
.error:empty { display: none; }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1.5px solid var(--ligne-f); background: #fff; flex: none; }
.qty button { width: 44px; height: 100%; font: 500 24px/1 var(--f-s); }
.qty output { min-width: 30px; text-align: center; font: 800 21px/1 var(--f-c); }
.qty.sm { height: 44px; }
.skel { background: #eeece6; }
.skel.sq { width: 80%; aspect-ratio: 1; }

/* ------------------------------------------------------------ dialogs */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(8, 12, 38, .56); opacity: 0; transition: opacity .25s; }
.scrim.open { opacity: 1; }
.dlg { position: fixed; z-index: 70; background: var(--papier); }
.dlg-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 12px rgba(10, 18, 54, .16); }
.dlg-close svg { width: 22px; height: 22px; }
.dlg-product { top: 4vh; bottom: 4vh; left: 0; right: 0; width: min(1180px, 92vw); margin: 0 auto; display: flex; opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5); }
.dlg-product.open { opacity: 1; transform: none; }
.pd { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); width: 100%; height: 100%; min-height: 0; }
.pd-gallery { position: relative; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.pd-main { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 5%; }
.pd-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-main .bar { transform: none; height: 6px; }
.pd-thumbs { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; border-top: 1px solid var(--ligne); scrollbar-width: thin; }
.pd-thumbs button { flex: none; width: 64px; height: 64px; background: #fff; border: 1.5px solid var(--ligne); }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--encre); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: clamp(28px, 3vw, 48px) clamp(20px, 3vw, 48px) 0; }
.pd-info > .meta { padding-right: 56px; }
.pd-title { margin: 8px 0 10px; font: 800 clamp(32px, 3vw, 46px)/.98 var(--f-c); letter-spacing: .01em; text-transform: uppercase; color: var(--encre); padding-right: 40px; }
.pd-price { margin: 0 0 24px; font: 800 30px/1 var(--f-c); color: var(--bleu); }
.pd-price s { font-size: .68em; color: var(--gris); margin-right: 10px; }
.pd-perso { border-top: 1px solid var(--ligne); padding-top: 18px; margin-top: 2px; }
.pd-perso-h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 800 16px/1 var(--f-c); letter-spacing: .18em; text-transform: uppercase; }
.pd-perso-h .d-flag { width: 30px; height: 14px; box-shadow: 0 0 0 1px var(--ligne); }
.pd-buy { position: sticky; bottom: 0; z-index: 2; display: flex; gap: 10px; margin-top: 6px; padding: 14px 0 22px; background: linear-gradient(to top, var(--papier) 80%, rgba(251, 250, 247, 0)); }
.btn-add { flex: 1; min-height: 52px; }
.btn-add.done, #floc-add.done { background: var(--encre); }
.pd-desc { border-top: 1px solid var(--ligne); padding: 4px 0 28px; }
.pd-desc summary { display: flex; align-items: center; min-height: 48px; font: 800 14px/1 var(--f-c); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.rte { font-size: 15px; color: #383d57; }
.rte img { max-width: 100%; height: auto; }
.rte table { max-width: 100%; display: block; overflow-x: auto; }

.dlg-bag { top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .42s var(--ease); box-shadow: -24px 0 60px -30px rgba(0, 0, 0, .45); }
.dlg-bag.open { transform: none; }
.bag-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 20px 16px; border-bottom: 1px solid var(--ligne); }
.bag-head .kicker { margin-bottom: 6px; }
.bag-head h2 { margin: 0; font: 800 34px/1 var(--f-c); text-transform: uppercase; color: var(--bleu); }
.bag-head .dlg-close { position: static; }
.bag-lines { flex: 1; overflow-y: auto; padding: 4px 20px; overscroll-behavior: contain; }
.bag-line { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.bag-line.bad { background: rgba(226, 0, 26, .06); box-shadow: -20px 0 0 rgba(226, 0, 26, .06), 20px 0 0 rgba(226, 0, 26, .06); }
.bag-plate { width: 80px; height: 80px; background: #fff; border: 1px solid var(--ligne); }
.bag-plate img { width: 100%; height: 100%; object-fit: contain; }
.bag-name { margin: 0; font: 800 18px/1.04 var(--f-c); text-transform: uppercase; }
.bag-sub { margin: 4px 0 0; font: 500 13px/1.3 var(--f-s); color: var(--gris); }
.bag-attr { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 5px 0 0; font: 500 13px/1.3 var(--f-s); }
.bag-attr b { color: var(--bleu); }
.bag-mid .qty { margin-top: 10px; }
.bag-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.bag-end strong { font: 800 19px/1 var(--f-c); }
.bag-foot { padding: 16px 20px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--ligne); background: #fff; }
.bag-sum { display: flex; justify-content: space-between; align-items: baseline; font: 800 22px/1 var(--f-c); text-transform: uppercase; letter-spacing: .04em; }
.bag-foot .hint { margin: 6px 0 0; }
.btn-wide { width: 100%; min-height: 56px; margin-top: 14px; font-size: 18px; }
.bag-empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 64px 10px; }
.crest-empty { height: 120px; }
.bag-empty p { margin: 0; font-size: 28px; color: var(--bleu); }

@media (max-width: 760px) {
  .dlg-product { inset: 0; width: auto; margin: 0; display: block; overflow-y: auto; overscroll-behavior: contain; opacity: 1; transform: translateY(100%); transition: transform .42s var(--ease); box-shadow: none; }
  .dlg-product.open { transform: none; }
  .pd { display: block; height: auto; }
  .pd-main { aspect-ratio: 1; flex: none; padding: 7%; }
  .pd-main img { width: 100%; height: 100%; }
  .pd-thumbs { padding: 10px 16px; }
  .pd-info { overflow: visible; padding: 22px 16px 0; min-height: 0; }
  .pd-title { font-size: 34px; padding-right: 0; }
  .pd-buy { padding: 12px 0 max(12px, env(safe-area-inset-bottom)); margin-top: 8px; }
  .dlg-close { position: fixed; }
  .dlg-bag .dlg-close { position: static; }
}

/* ------------------------------------------------------------ toast + cocarde */
.toast { position: fixed; z-index: 80; left: 50%; bottom: 18px; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 24px); padding: 10px; background: var(--encre); color: #fff; box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .5); transform: translate(-50%, 150%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
html.locked .toast { bottom: auto; top: 14px; transform: translate(-50%, -150%); }
html.locked .toast.show { transform: translate(-50%, 0); }
.toast-img { width: 52px; height: 52px; background: #fff; flex: none; }
.toast-img img { width: 100%; height: 100%; object-fit: contain; }
.toast-txt { display: grid; min-width: 0; font: 600 14px/1.3 var(--f-s); }
.toast-txt b { font: 800 19px/1 var(--f-c); letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.toast-txt small { color: rgba(255, 255, 255, .7); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.cocarde-fly { position: fixed; left: 0; top: 0; z-index: 90; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle closest-side, var(--bleu) 0 34%, #fff 35% 66%, var(--rouge) 67% 100%); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); pointer-events: none; will-change: transform; }

/* ------------------------------------------------------------ shop view */
.shop { padding-top: clamp(28px, 4vw, 56px); min-height: 80vh; }
.shop-head { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; margin-bottom: 28px; }
.shop-head .kicker { margin-bottom: 4px; }
.shop-title { margin: 0 0 6px; font: 800 clamp(42px, 5vw, 76px)/.92 var(--f-c); text-transform: uppercase; color: var(--bleu); }
.count { margin: 0; font-weight: 600; color: var(--gris); }
.shop-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin-bottom: 14px; }
.search { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 16px; background: #fff; border: 1.5px solid var(--ligne-f); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(36, 67, 196, .2); }
.search svg { width: 22px; height: 22px; color: var(--bleu); flex: none; }
.search input { flex: 1; min-width: 0; height: 54px; border: 0; outline: 0; background: none; font: 600 18px/1 var(--f-s); }
.sort select { height: 58px; min-width: 200px; padding: 0 44px 0 16px; border: 1.5px solid var(--ligne-f); border-radius: 0; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1233' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; font: 700 15px/1 var(--f-s); }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.shop-chips .chip { font: 800 14px/1 var(--f-c); letter-spacing: .12em; text-transform: uppercase; }
.empty-state { padding: 80px 0; text-align: center; }
.empty-state p { margin: 0; font-size: 30px; color: var(--bleu); }
@media (max-width: 700px) {
  .shop-head .plaque { display: none; }
  .shop-tools { grid-template-columns: minmax(0, 1fr); }
  .sort select { width: 100%; height: 50px; }
  .shop-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 22px; padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .shop-chips .chip { flex: none; }
}

/* ------------------------------------------------------------ footer */
.foot { position: relative; margin-top: clamp(88px, 10vw, 150px); background: var(--nuit); color: #d3d7ec; }
.foot-flag { height: 6px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 36px; padding-top: 60px; padding-bottom: 44px; }
.foot-brand { display: flex; align-items: center; align-self: start; gap: 22px; padding-left: 12px; }
.foot-roundel { flex: none; width: 116px; height: 116px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 7px var(--nuit), 0 0 0 12px var(--rouge); }
.crest-foot { height: 74px; }
.foot-club { margin: 0 0 6px; font: 900 32px/1 var(--f-c); letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.foot-sub { display: grid; margin: 0; font-size: 17px; line-height: 1.3; color: #aeb5da; }
.foot-h { margin: 0 0 10px; font: 800 13px/1 var(--f-c); letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.foot-shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; align-content: start; }
.foot-shop .foot-h { grid-column: 1 / -1; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; color: #c5cae6; font-size: 15px; }
@media (hover: hover) { .foot-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rouge); text-underline-offset: 4px; } }
.foot-base { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-allez { margin: 0; font-size: clamp(30px, 4vw, 52px); color: #fff; }
.powered { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 600 13px/1 var(--f-s); letter-spacing: .08em; color: #aeb5da; }
.powered img { height: 24px; width: auto; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot-shop { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
  .foot-shop .foot-h { grid-column: 1 / -1; }
  .foot-grid { gap: 28px 16px; padding-top: 44px; }
  .foot-brand { gap: 18px; }
  .foot-roundel { width: 92px; height: 92px; }
  .crest-foot { height: 58px; }
  .foot-club { font-size: 27px; }
  .foot-col a { min-height: 44px; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------ small screens */
@media (max-width: 900px) {
  .sec-head, .sec-rail .sec-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .sec-head .plaque { grid-column: 1 / -1; justify-self: start; }
  .rail-nav { display: none; }
}
@media (max-width: 560px) {
  .sec-head, .sec-rail .sec-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sec-head .more-link { justify-self: start; margin-top: -8px; }
  .plaque { min-width: 0; max-width: 100%; padding: 13px 24px 15px; }
  .pl-name { font-size: 25px; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal], [data-plaque] { opacity: 1 !important; transform: none !important; }
}
