:root {
  --rouge: #C4161C; --jaune: #E8AE1B; --vert: #0C7A3A; --noir: #0B0B0B; --blanc: #fff;
  --fond: #F1EFEB; --gris: #66625C; --pad: clamp(16px, 4vw, 56px);
  --texte: "Archivo", "Helvetica Neue", Arial, sans-serif; --titre: "Instrument Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--rouge); }
body { margin: 0; background: var(--rouge); color: var(--blanc); font: 400 1rem/1.5 var(--texte); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
h2 { font: 400 clamp(3.25rem, 9.5vw, 9rem)/.9 var(--titre); letter-spacing: -.01em; text-transform: uppercase; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--blanc); color: var(--noir); padding: 12px; }
.skip:focus { left: 8px; }

/* Bouton rond : il prend la couleur du texte de sa section, et son texte celle du fond */
.btn, .pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--ink, #fff); color: var(--bg, #0B0B0B); font-weight: 700; font-size: .9375rem; text-transform: uppercase; text-decoration: none; transition: transform .2s; }
.btn:hover, .pill:hover { transform: scale(1.04); }
.btn-wide { width: 100%; }

/* Sections de couleur : --bg pour le fond, --ink pour le texte */
.band { position: relative; background: linear-gradient(168deg, rgb(255 255 255 / .5) 0, rgb(255 255 255 / .16) 26%, rgb(255 255 255 / 0) 52%), var(--bg); color: var(--ink); }
.band-rouge { --bg: var(--rouge); --ink: #fff; }
.band-jaune { --bg: var(--jaune); --ink: #0B0B0B; }
.band-vert { --bg: var(--vert); --ink: #fff; }
.band-noir { --bg: var(--noir); --ink: #fff; }

/* En-tête : transparent, il prend la couleur de texte de la section qu'il survole */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; padding: 0 var(--pad); color: #fff; pointer-events: none; }
.top > * { pointer-events: auto; }
.top-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.top-nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 32px); font-size: .9375rem; font-weight: 600; text-transform: uppercase; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.cart-open { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 20px; border: 0; border-radius: 999px; background: #fff; color: #0B0B0B; font-weight: 700; text-transform: uppercase; transition: transform .2s; }
.cart-open:hover { transform: scale(1.04); }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: #0B0B0B; color: #fff; font-size: .8125rem; font-variant-numeric: tabular-nums; }
body.ink-dark .top { color: #0B0B0B; }
body.ink-dark .top-logo img { filter: brightness(0); }
body.ink-dark .cart-open { background: #0B0B0B; color: #fff; }
body.ink-dark .cart-count { background: #fff; color: #0B0B0B; }

/* Accueil : scène pleine page, collée à l'écran pendant qu'on défile */
.show { position: relative; --ink: #fff; }
.show:not(.is-live) { display: none; }
.show-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #C4161C; color: var(--ink); perspective: 1400px; }
.show-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(168deg, rgb(255 255 255 / .62) 0, rgb(255 255 255 / .2) 34%, rgb(255 255 255 / 0) 62%); pointer-events: none; }
.show-grain { display: none; }
body::after { content: ""; position: fixed; inset: 0; z-index: 50; opacity: .2; mix-blend-mode: multiply; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.show-floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float { position: absolute; left: 0; top: 0; width: auto; max-width: none; will-change: transform; filter: drop-shadow(0 26px 30px rgb(0 0 0 / .28)); }
.screen { position: absolute; inset: 0; z-index: 4; opacity: 0; visibility: hidden; pointer-events: none; }
.screen.is-on a, .screen.is-on button { pointer-events: auto; }
.show-logo { position: absolute; right: var(--pad); bottom: clamp(20px, 4vh, 44px); width: min(52vw, 86vh); }
.show-logo img { width: 100%; }
.show-phrase { position: absolute; left: var(--pad); bottom: clamp(24px, 5vh, 52px); max-width: 13ch; font: 500 clamp(1.5rem, 2.6vw, 2.25rem)/1.05 var(--texte); letter-spacing: -.02em; }
.screen-statement { display: grid; align-content: center; padding: 0 var(--pad); }
.screen-statement h2 { max-width: 9ch; font-size: clamp(3.5rem, 10.5vw, 10.5rem); }
.screen-statement p, .screen-look p { margin-top: clamp(16px, 2.4vw, 32px); max-width: 22ch; font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.25; text-transform: uppercase; }
.screen-look { padding: clamp(96px, 15vh, 150px) var(--pad) 0; }
.screen-look h2 { max-width: 6ch; font-size: clamp(3.25rem, 8vw, 7.5rem); }
.float-photo { box-shadow: 0 0 0 clamp(5px, .6vw, 10px) #fff; }
.end-info { position: absolute; left: var(--pad); bottom: clamp(24px, 5vh, 52px); display: grid; gap: 18px; justify-items: start; max-width: 34ch; }
.end-line { font: 500 clamp(1.5rem, 2.6vw, 2.25rem)/1.05 var(--texte); letter-spacing: -.02em; max-width: 12ch; }
.end-links { display: flex; gap: 24px; font-weight: 700; text-transform: uppercase; }
.end-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.end-legal { font-size: .875rem; opacity: .75; }
.panel-head { position: absolute; left: var(--pad); top: clamp(96px, 15vh, 150px); max-width: min(44vw, 560px); }
.panel-head h2 { font-size: clamp(3.25rem, 8vw, 7.5rem); }
.panel-head p { margin-top: 18px; max-width: 24ch; font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.1875rem); line-height: 1.25; text-transform: uppercase; }
.panel-meta { position: absolute; left: var(--pad); bottom: clamp(24px, 5vh, 52px); display: grid; gap: 14px; margin: 0; }
.panel-meta dt { font-size: .8125rem; font-weight: 600; text-transform: uppercase; opacity: .8; }
.panel-meta dd { margin: 2px 0 0; font-size: 1.125rem; }
.panel-cta { position: absolute; right: var(--pad); bottom: clamp(24px, 5vh, 52px); display: flex; align-items: center; gap: 20px; }
.panel-count { font-variant-numeric: tabular-nums; }
.show :focus-visible { outline-color: var(--ink); }

.show:not(.is-live) + .hero-photo { margin-top: 0; }
.hero-photo { display: block; }
.hero-photo img { width: 100%; height: 100svh; min-height: 420px; object-fit: cover; object-position: center 78%; }

/* Collection */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 var(--pad) clamp(24px, 3.4vw, 48px); }
.section-head p { padding-bottom: .9em; font-weight: 600; text-transform: uppercase; }
.collection { padding: clamp(104px, 12vw, 176px) 0 clamp(64px, 9vw, 128px); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 22px); padding: 0 var(--pad); }
.card-link { display: block; text-decoration: none; }
.card-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--fond); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card-link:hover .card-photo img { transform: scale(1.05); }
.card-name { display: block; margin-top: 14px; font-weight: 700; font-size: 1.0625rem; text-transform: uppercase; }
.card-link:hover .card-name { text-decoration: underline; text-underline-offset: 4px; }
.card-price { display: block; opacity: .85; }

/* Phrase de marque */
.statement { display: grid; align-content: center; min-height: 86svh; padding: clamp(96px, 12vw, 168px) var(--pad); }
.statement h2 { max-width: 11ch; font-size: clamp(3.5rem, 12vw, 12rem); }
.statement p { margin-top: clamp(20px, 3vw, 40px); max-width: 24ch; font-weight: 600; font-size: clamp(1.125rem, 1.8vw, 1.5rem); line-height: 1.2; text-transform: uppercase; }

/* Lookbook */
.lookbook { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 22px); padding: clamp(104px, 12vw, 176px) var(--pad) clamp(64px, 9vw, 128px); }
.lookbook h2 { grid-column: 1 / -1; padding-bottom: clamp(14px, 2vw, 28px); }
.look img { width: 100%; height: 100%; object-fit: cover; }
.look-a { grid-column: 1 / 9; } .look-b { grid-column: 9 / 13; }
.look-c { grid-column: 1 / 6; } .look-d { grid-column: 6 / 13; }

/* Pied de page */
.foot { padding: clamp(28px, 4vw, 56px) var(--pad) 28px; overflow: hidden; }
.marquee { overflow: hidden; margin: 0 calc(var(--pad) * -1) clamp(28px, 4vw, 56px); }
.marquee-in { display: flex; width: max-content; animation: defile 26s linear infinite; }
.marquee span { padding: 0 .28em .08em; font: 400 clamp(5rem, 17vw, 15rem)/1 var(--titre); text-transform: uppercase; white-space: nowrap; }
@keyframes defile { to { transform: translateX(-50%); } }
.foot-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-bottom: clamp(24px, 4vw, 40px); }
.foot-main img { width: 132px; }
.foot nav, .foot ul { display: flex; flex-wrap: wrap; gap: 8px 32px; font-weight: 600; text-transform: uppercase; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 6px; }
.foot-legal { padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .25); font-size: .875rem; opacity: .8; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card-photo img, .btn, .pill, .cart-open { transition: none; } .marquee-in { animation: none; } }

/* Fenêtres : fiche produit et panier, dans la couleur du produit */
.sheet { --bg: var(--rouge); --ink: #fff; width: min(100%, 500px); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0 var(--pad) 32px; border: 0; overflow-y: auto; background: linear-gradient(168deg, rgb(255 255 255 / .42) 0, rgb(255 255 255 / 0) 46%), var(--bg); color: var(--ink); }
.sheet::backdrop { background: rgb(0 0 0 / .6); }
.sheet-product { width: min(100%, 1020px); }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 0 20px; }
.sheet-head h2 { font-size: clamp(2.75rem, 6vw, 5rem); }
.close { min-height: 44px; padding: 8px 0; background: none; border: 0; font-weight: 700; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.gallery-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: var(--fond); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { width: 72px; height: 90px; padding: 0; border: 2px solid transparent; background: none; }
.thumbs button[aria-current] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.buy { display: grid; gap: 18px; }
.buy-price { font-size: 1.375rem; font-weight: 700; }
.buy > p:not(.buy-price):not(.error) { font-weight: 600; text-transform: uppercase; line-height: 1.25; max-width: 30ch; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.sizes legend, .qty-field, .field label { padding: 0 0 8px; font-size: .8125rem; font-weight: 700; text-transform: uppercase; }
.sizes input { position: absolute; opacity: 0; }
.sizes span { display: flex; align-items: center; justify-content: center; min-width: 52px; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; cursor: pointer; }
.sizes input:checked + span { background: var(--ink); color: var(--bg); }
.sizes input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.input { width: 100%; min-height: 52px; padding: 8px 18px; border: 0; border-radius: 999px; background: #fff; color: #0B0B0B; font-size: 1rem; }
.input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.qty-field { margin-bottom: -18px; }
.qty-input { width: 110px; }
.error { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.empty { display: grid; gap: 18px; justify-items: start; padding-top: 8px; font-size: 1.125rem; }
.line { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgb(255 255 255 / .35); }
.line img { width: 88px; height: 110px; object-fit: cover; object-position: center top; background: var(--fond); }
.line strong { text-transform: uppercase; }
.line-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line-actions button { min-width: 44px; min-height: 44px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; font-weight: 700; }
.line-actions .link { min-width: 0; margin-left: auto; border: 0; text-transform: uppercase; font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; }
.total { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid rgb(255 255 255 / .35); font-size: 1.375rem; }
.note { padding: 16px 0; border-top: 1px solid rgb(255 255 255 / .35); font-weight: 600; }
.order { display: grid; gap: 16px; }
.field label { display: block; }

@media (max-width: 760px) {
  .top { height: 64px; }
  .top-nav a { display: none; }
  .show-logo { right: var(--pad); left: var(--pad); width: auto; bottom: 20px; }
  .screen-statement { align-content: center; }
  .screen-statement h2 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .screen-look { padding-top: 84px; }
  .screen-look h2 { font-size: clamp(2.75rem, 15vw, 4rem); max-width: none; }
  .end-info { bottom: auto; top: 50%; }
  .show-phrase { bottom: auto; top: 58%; max-width: 12ch; font-size: 1.5rem; }
  .panel { padding: 84px var(--pad) 0; }
  .panel-head, .panel-meta { position: static; max-width: none; }
  .panel-head h2 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .panel-head p { margin-top: 10px; font-size: .9375rem; max-width: 30ch; }
  .panel-meta { display: flex; gap: 24px; margin-top: 16px; }
  .panel-meta dd { font-size: 1rem; }
  .panel-cta { left: var(--pad); right: var(--pad); bottom: 22px; }
  .panel-cta .pill { width: 100%; }
  .panel-count { display: none; }
  .hero-photo img { height: 80svh; object-position: center; }
  .cards { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .look-a, .look-b, .look-c, .look-d { grid-column: 1 / -1; }
  .foot-main { flex-direction: column; align-items: flex-start; }
  .product { grid-template-columns: 1fr; gap: 20px; }
}
