/* Montaigne Paris — feuille de style
   Codes de la boutique : façade noire, lettres ivoire, médaillon à frise grecque, une touche d'or et le rose du tee SQUAD. */

:root {
  --noir: #0c0b0a;
  --noir-2: #171513;
  --ivoire: #efece4;
  --papier: #f6f4ee;
  --encre: #141210;
  --gris: #5c5852;
  --gris-clair: #b9b4aa;
  --ligne: rgba(20, 18, 16, 0.14);
  --ligne-claire: rgba(239, 236, 228, 0.18);
  --or: #c9a35b;
  --or-clair: #e6cf98;
  --rose: #ef2a82;
  --carte: #e8e5dd;

  --f-marque: 'Cinzel', 'Times New Roman', serif;
  --f-texte: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-lettrine: 'Imperial Script', 'Instrument Serif', Georgia, serif;

  --gouttiere: clamp(18px, 3.4vw, 56px);
  --sommaire: 0px;
  --entete: 68px;

  --t-geant: clamp(4.2rem, 1.2rem + 11.5vw, 13.5rem);
  --t-phrase: clamp(1.55rem, 1rem + 2vw, 2.85rem);
  --t-moyen: clamp(2rem, 1.2rem + 3vw, 4rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1100px) {
  :root { --sommaire: 200px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--entete); }
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }
body.bloque { overflow: hidden; }
html:has(body.bloque) { overflow: hidden; } /* seule la racine est propagée à la fenêtre */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4, h5, p, figure, blockquote, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; box-shadow: 0 0 0 5px var(--texte-clair); border-radius: 4px; }
:is(.ouverture, .intro, .pied, .entete:not(.clair), .sommaire[data-bas='sombre'], .rayons-menu) :focus-visible { outline-color: var(--texte-clair); box-shadow: 0 0 0 5px rgba(8, 6, 4, .85); }


/* ---------- Chargement ---------- */
.chargeur {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--noir); color: var(--ivoire);
  transition: clip-path 1.1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.chargeur.fini { clip-path: inset(0 0 100% 0); }
.chargeur-medaillon { position: relative; width: 132px; height: 132px; }
.chargeur-medaillon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chargeur-frise path { fill: none; stroke: var(--ivoire); stroke-width: 5.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tracer 1.6s var(--ease) forwards; }
.chargeur-mp { color: var(--ivoire); opacity: 0; animation: apparaitre .8s .9s var(--ease) forwards; }
.chargeur-nom { font-family: var(--f-marque); letter-spacing: .32em; text-transform: uppercase; font-size: 15px; display: grid; justify-items: center; line-height: 1.3; padding-left: .32em; }
.chargeur-nom small { font-size: 9px; letter-spacing: .5em; opacity: .7; }
.chargeur-compte { position: absolute; right: var(--gouttiere); bottom: 22px; font-family: var(--f-serif); font-style: italic; font-size: 54px; line-height: 1; opacity: .9; font-variant-numeric: tabular-nums; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes apparaitre { to { opacity: 1; } }

/* ---------- Scène WebGL (une seule toile, derrière les chapitres transparents) ---------- */
.scene { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; display: block; visibility: hidden; }
.scene.active { visibility: visible; }
main, .pied { position: relative; z-index: 1; }


/* ---------- Mesures relevées sur Shopify Editions Winter '26 ---------- */
:root { --beige: #dddcd1; --nuit: #020b1a; --texte-clair: #f4f1ea; }
body { background: #0b0a09; } /* teinte des dioramas : jamais d'ivoire sur beige si une scène n'est pas encore prête */

/* ---------- Scène WebGL (une seule toile, derrière les chapitres transparents) ---------- */
.scene { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; display: block; visibility: hidden; }
.scene.active { visibility: visible; }
main, .pied { position: relative; z-index: 1; }

/* ---------- En-tête ---------- */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 13px; color: var(--texte-clair); transition: color .4s; }
.entete.clair { color: var(--encre); }
.entete-gauche, .entete-droite { display: flex; align-items: center; gap: clamp(14px, 3vw, 46px); }
.marque { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.marque-medaillon { width: 24px; height: 24px; }
.marque-nom { font-weight: 600; letter-spacing: -.01em; }
.marque-saison { opacity: .55; }
.entete-lien { display: inline-flex; align-items: center; gap: 6px; height: 34px; }
.entete-lien svg { width: 14px; height: 14px; }
.entete-rayons { position: relative; }
.rayons-menu { position: absolute; top: 40px; left: -14px; min-width: 220px; padding: 10px; background: rgba(12, 11, 10, .92); color: var(--texte-clair); border-radius: 14px; display: grid; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.rayons-menu.ouvert { opacity: 1; transform: none; pointer-events: auto; }
.rayons-menu a { display: flex; gap: 12px; padding: 9px 10px; border-radius: 8px; font-weight: 600; }
.rayons-menu a:hover { background: rgba(255, 255, 255, .1); }
.rayons-menu i { font-family: var(--f-serif); font-style: normal; font-weight: 400; opacity: .6; width: 22px; }
.entete-panier { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--texte-clair); color: var(--encre); font-weight: 600; transition: background-color .3s, color .3s, transform .3s; }
.entete.clair .entete-panier { background: var(--encre); color: var(--texte-clair); }
.entete-panier:hover { transform: scale(1.04); }
.entete-panier b { font-variant-numeric: tabular-nums; }
.entete-panier.secoue { animation: secouer .6s var(--ease); }
@keyframes secouer { 30% { transform: scale(1.1); } 60% { transform: scale(.97); } }

/* ---------- Sommaire (le titre et la liste du cadre y atterrissent) ---------- */
.sommaire { position: fixed; left: 20px; top: 76px; bottom: 18px; z-index: 30; width: 150px; display: none; flex-direction: column; color: var(--ivoire); opacity: 0; pointer-events: none; transition: opacity .35s; }
.sommaire.visible { opacity: 1; pointer-events: auto; }
@media (min-width: 1100px) { .sommaire { display: flex; } }
.sommaire-titre { display: grid; font-weight: 700; font-size: 22px; line-height: .95; letter-spacing: -.03em; }
.sommaire-liste { margin-top: auto; margin-bottom: 18px; display: grid; }
.sommaire-liste a, .ouverture-liste a { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 15px; line-height: 1.04; letter-spacing: -.02em; }
.sommaire-liste a { opacity: .8; transition: opacity .3s; }
.sommaire-liste a.actif, .sommaire-liste a:hover { opacity: 1; }
.sommaire-liste i, .ouverture-liste i { font-family: var(--f-serif); font-style: normal; font-weight: 400; font-size: 11px; letter-spacing: .02em; }
.sommaire-pied { font-size: 9.5px; line-height: 1.35; opacity: .6; }

/* ---------- Ouverture (accueil marchand) ---------- */
.ouverture { position: relative; color: var(--texte-clair); }
.ouverture-scene { position: relative; height: 100svh; min-height: 620px; }
.ouverture-scene::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--voile, 1); background: linear-gradient(to top, rgba(12, 8, 4, .82) 0%, rgba(12, 8, 4, .55) 26%, rgba(12, 8, 4, 0) 58%), linear-gradient(to bottom, rgba(12, 8, 4, .45), rgba(12, 8, 4, 0) 16%); }
.ouverture-contenu { position: absolute; left: 0; right: 0; margin: 0 auto; bottom: clamp(48px, 7svh, 90px); width: min(760px, calc(100vw - 40px)); display: grid; gap: 16px; justify-items: center; text-align: center; }
.ouverture-sur { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 0 14px rgba(0, 0, 0, .6); }
.ouverture-marque { font-family: var(--f-marque); font-weight: 600; font-size: min(clamp(3rem, 1.2rem + 5.2vw, 6.4rem), 10svh); justify-items: center; line-height: .86; letter-spacing: .02em; text-transform: uppercase; display: grid; background: linear-gradient(180deg, #fff6df 10%, #e8c87e 55%, #b98a3c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .45)); }
.ouverture-marque small { font-size: .26em; letter-spacing: .9em; padding-left: .9em; margin-top: .25em; background: linear-gradient(180deg, #fff3d6, #e3c27a); -webkit-background-clip: text; background-clip: text; }
.ouverture-texte { font-family: var(--f-serif); font-size: clamp(1.15rem, .95rem + .6vw, 1.5rem); line-height: 1.2; max-width: 40ch; opacity: .92; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.ouverture-boutons, .intro-boutons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.intro-boutons { justify-content: flex-start; }
.bouton-or, .bouton-verre { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -.005em; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s, background-color .3s; }
.bouton-or { background: linear-gradient(180deg, #f3dc9a, #c9a35b); color: #1a1408; box-shadow: 0 10px 30px -10px rgba(201, 163, 91, .65), inset 0 1px 0 rgba(255, 255, 255, .5); }
.bouton-or:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 40px -10px rgba(201, 163, 91, .85); }
.bouton-or svg { width: 17px; height: 17px; }
.bouton-verre { border: 1px solid rgba(244, 241, 234, .45); color: var(--texte-clair); }
.bouton-verre:hover { background: rgba(244, 241, 234, .12); transform: translateY(-2px); }
.bouton-verre svg { width: 18px; height: 18px; }
.ouverture-rayons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
.ouverture-rayons li { will-change: transform; }
.ouverture-rayons a { display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(244, 241, 234, .08); border: 1px solid rgba(244, 241, 234, .16); font-size: 13px; font-weight: 600; transition: background-color .3s, border-color .3s; }
.ouverture-rayons a:hover { background: rgba(244, 241, 234, .18); border-color: rgba(244, 241, 234, .4); }
.ouverture-rayons i { font-family: var(--f-serif); font-style: normal; font-weight: 400; font-size: 11px; opacity: .65; }
.ouverture-defiler { position: absolute; right: clamp(20px, 3vw, 40px); bottom: 26px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; display: flex; align-items: center; gap: 12px; }
.ouverture-defiler::after { content: ''; width: 46px; height: 1px; background: currentColor; transform-origin: left; animation: defiler 2.2s var(--ease) infinite; }
@keyframes defiler { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.intro-boutons { margin-top: 4px; }

/* ---------- Intros de chapitre (scène peinte derrière) ---------- */
.intro { position: relative; color: var(--texte-clair); }
.intro-scene { position: relative; height: 100svh; min-height: 600px; padding: 0 20px 0 calc(20px + var(--sommaire)); overflow: hidden; }
.intro-scene::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 18% 88%, rgba(6, 5, 4, .78), rgba(6, 5, 4, 0) 70%), linear-gradient(to top, rgba(6, 5, 4, .55), rgba(6, 5, 4, 0) 40%); }
.intro-titre { position: absolute; left: calc(20px + var(--sommaire) - .04em); top: 50%; transform: translateY(-50%); font-weight: 500; font-size: clamp(4.6rem, 1rem + 10.4vw, 12.2rem); line-height: .82; letter-spacing: -.06em; white-space: nowrap; text-shadow: 0 2px 40px rgba(0, 0, 0, .25); will-change: transform; }
.intro-titre .lettre { display: inline-block; }
.intro-titre .lettre-mask { padding: .12em .04em .28em 0; margin: -.12em -.04em -.28em 0; } /* jambages du q et du g jamais coupés par le masque */
.intro-suite { position: absolute; left: calc(20px + var(--sommaire)); bottom: 9svh; width: min(720px, calc(100vw - var(--sommaire) - 60px)); display: grid; gap: 22px; }
.intro-phrase { font-family: var(--f-serif); font-size: clamp(1.6rem, 1rem + 1.6vw, 2.35rem); line-height: 1.04; letter-spacing: -.01em; text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 28px rgba(0, 0, 0, .55); }
.lettrine::first-letter { font-family: var(--f-lettrine); font-size: 2.05em; line-height: .5; font-weight: 400; padding-right: .04em; }
.intro-media { position: relative; display: block; width: min(330px, 70vw); aspect-ratio: 16 / 9; overflow: hidden; background: #111; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.intro-media:hover img { transform: scale(1.05); }
.intro-media .lecture { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(12, 11, 10, .55); backdrop-filter: none; }
.intro-media .lecture::after { content: ''; position: absolute; left: 18px; top: 15px; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.intro-media small { position: absolute; left: 10px; bottom: 8px; font-size: 11px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* ---------- Contenu beige au bord de papier déchiré ---------- */
.contenu { position: relative; z-index: 2; background: var(--beige); color: var(--encre); padding: clamp(110px, 12vw, 190px) 20px clamp(100px, 11vw, 170px) calc(20px + var(--sommaire)); }
.contenu.dechire::before, .contenu.dechire::after { content: ''; position: absolute; left: 0; right: 0; height: 64px; background: var(--beige); pointer-events: none; -webkit-mask: var(--dechirure) 0 0 / 100% 100% no-repeat; mask: var(--dechirure) 0 0 / 100% 100% no-repeat; filter: drop-shadow(0 -6px 6px rgba(0, 0, 0, .18)); }
.contenu.dechire::before { top: -62px; }
.contenu.dechire::after { bottom: -62px; transform: scaleY(-1) scaleX(-1); filter: drop-shadow(0 -6px 6px rgba(0, 0, 0, .18)); }

.article { display: grid; gap: 34px; margin-bottom: clamp(80px, 9vw, 140px); }
.article-tete { padding-left: clamp(0px, 6vw, 110px); }
.article-titre { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.4rem, 1.4rem + 2.4vw, 3.9rem); line-height: 1; letter-spacing: -.02em; }
.article-titre.lettrine::first-letter { font-size: 1.9em; line-height: .55; }
.article-corps { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: center; padding-left: clamp(0px, 6vw, 110px); }
.article-corps--inverse { grid-template-columns: minmax(0, 420px) minmax(0, 560px); }
.article-texte { display: grid; gap: 12px; align-content: start; }
.article-label { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.article-desc { font-family: var(--f-serif); font-size: clamp(1.35rem, 1rem + .9vw, 1.85rem); line-height: 1.08; letter-spacing: -.01em; max-width: 30ch; }
.article-desc--centre { text-align: center; margin: 0 auto; max-width: 34ch; }
.article-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pastille { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 0 13px; border-radius: 999px; background: var(--encre); color: var(--texte-clair); font-size: 12px; font-weight: 600; letter-spacing: 0; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), background-color .3s; }
.pastille:hover { transform: translateY(-2px); background: var(--rose); color: #fff; }
.pastille-claire { background: #fff; color: var(--encre); }
.pastille-claire:hover { background: var(--encre); color: var(--texte-clair); }
.titre-moyen { font-weight: 500; font-size: clamp(1.8rem, 1.1rem + 2vw, 3rem); line-height: .95; letter-spacing: -.045em; }

/* Collage de cartes flottantes (relevé sur le « Pulse » de Shopify) */
.collage { position: relative; height: clamp(380px, 38vw, 560px); }
.collage-carte, .collage-objet { position: absolute; left: var(--x, 0); top: var(--y, 0); will-change: transform; }
.collage-carte { background: #fff; border-radius: 12px; box-shadow: 0 24px 50px -24px rgba(20, 18, 16, .45), 0 2px 6px rgba(20, 18, 16, .06); font-size: 12px; }
.collage-principale { left: 50%; top: 50%; width: min(330px, 70%); margin: 0; transform: translate(-50%, -50%); padding: 12px; display: grid; gap: 10px; cursor: pointer; }
.collage-principale img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--fond); border-radius: 8px; padding: 6%; }
.collage-entete, .collage-pied { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.collage-entete span { display: grid; line-height: 1.2; }
.collage-entete em { font-style: normal; font-size: 10px; padding: 3px 8px; border-radius: 99px; background: #f4f1ea; }
.collage-pied span:first-child { font-weight: 600; font-size: 15px; }
.collage-tailles { display: flex; gap: 4px; }
.collage-tailles i { font-style: normal; min-width: 26px; height: 24px; display: grid; place-items: center; border: 1px solid #e3e0d8; border-radius: 6px; font-size: 11px; }
.collage-tailles i.choisie { background: var(--encre); color: #fff; border-color: var(--encre); }
.collage-puce { padding: 9px 12px; display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.point-vert { width: 8px; height: 8px; border-radius: 50%; background: #1fa45a; box-shadow: 0 0 0 4px rgba(31, 164, 90, .18); }
.collage-stat { padding: 12px 14px; display: grid; gap: 2px; min-width: 130px; }
.collage-stat small { opacity: .6; }
.collage-stat b { font-size: 26px; letter-spacing: -.04em; line-height: 1; }
.collage-stat span { color: #1fa45a; font-weight: 600; }
.collage-panier { padding: 8px 12px 8px 8px; display: flex; gap: 10px; align-items: center; }
.collage-panier img { width: 38px; height: 46px; object-fit: contain; background: #f3cfe0; border-radius: 6px; }
.collage-panier span { display: grid; line-height: 1.25; }
.collage-floue { width: 170px; height: 90px; opacity: .55; filter: blur(5px); }
.collage-objet { width: var(--l, 30%); max-width: 380px; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 22px 22px rgba(20, 18, 16, .3)); pointer-events: none; }

/* Tableau : photo posée sur une toile peinte (cartes média de Shopify) */
.tableau { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 50% 40%, rgba(214, 170, 92, .4), transparent 60%), #0e0c0a; display: grid; place-items: center; overflow: hidden; border-radius: 6px; }
.tableau::before { content: ''; position: absolute; inset: 0; background: url('../medias/meandre.svg') center / 70% no-repeat; opacity: .08; }
.tableau img { position: relative; width: 42%; aspect-ratio: 9 / 15; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6); }
.tableau--affiche img { width: 38%; }

/* Grille de cartes produit sur toiles peintes */
.grille-cartes { display: grid; max-width: 1240px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 20px; padding-left: clamp(0px, 6vw, 110px); }
.rail-entete { display: flex; justify-content: space-between; align-items: end; padding-left: clamp(0px, 6vw, 110px); margin-bottom: 26px; }
.rail { margin-right: -20px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; padding-left: clamp(0px, 6vw, 110px); }
.rail::-webkit-scrollbar { display: none; }
.rail-piste { display: flex; gap: 16px; padding-right: 20px; }
.rail-piste .carte-produit { flex: 0 0 clamp(250px, 24vw, 340px); scroll-snap-align: start; }
.rail-fleches { display: flex; gap: 8px; }
.rail-fleches button { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); transition: transform .3s; }
.rail-fleches button:hover { transform: scale(1.08); }
.rail-fleches button svg { width: 18px; height: 18px; }
.rail-fleches button:first-child svg { transform: scaleX(-1); }

/* Éventail */
.eventail { position: relative; height: clamp(440px, 44vw, 600px); margin-top: 20px; }
.eventail .carte-produit { position: absolute; left: 50%; bottom: 0; width: clamp(210px, 18vw, 270px); margin-left: calc(clamp(210px, 18vw, 270px) / -2); transform-origin: 50% 160%; background: #fff; padding: 10px 10px 14px; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(20, 18, 16, .5); }
.eventail .carte-produit:hover { z-index: 20 !important; }
.eventail .carte-ajout { display: none; }

/* ---------- Carte produit ---------- */
.carte-produit { position: relative; display: grid; gap: 14px; }
.carte-visuel { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(ellipse at 50% 38%, rgba(214, 170, 92, .34), transparent 62%), radial-gradient(ellipse at 50% 120%, rgba(214, 170, 92, .18), transparent 50%), var(--texture, none) center / cover no-repeat, var(--fond, #141210); overflow: hidden; cursor: pointer; border-radius: 6px; }
.carte-visuel::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='.06'/%3E%3C/svg%3E"); pointer-events: none; }
.carte-visuel img { position: absolute; inset: 8% 8% 10%; width: 84%; height: 82%; object-fit: contain; transition: transform .9s var(--ease); filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .55)); }
.carte-visuel.plein img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.carte-produit:hover .carte-visuel img { transform: scale(1.045) translateY(-1.5%); }
.carte-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; color: var(--encre); font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 99px; }
.carte-tailles {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; background: var(--encre); color: var(--ivoire);
  transform: translateY(101%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s;
}
.carte-tailles p { width: 100%; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.carte-tailles button { min-width: 42px; height: 36px; border: 1px solid var(--ligne-claire); font-size: 13px; transition: background-color .25s, color .25s; }
.carte-tailles button:hover { background: var(--ivoire); color: var(--encre); }
.carte-produit.choix .carte-tailles { transform: none; visibility: visible; transition-delay: 0s; }
.carte-infos { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; }
.carte-nom { font-weight: 600; font-size: 15px; letter-spacing: -.01em; line-height: 1.2; cursor: pointer; }
.carte-sous { grid-column: 1; font-family: var(--f-serif); font-size: 17px; line-height: 1.1; opacity: .75; }
.carte-prix { grid-column: 2; grid-row: 1; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.carte-couleurs { grid-column: 2; grid-row: 2; display: flex; gap: 5px; justify-self: end; }
.carte-couleurs i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.carte-ajout { display: inline-flex; align-items: center; justify-content: space-between; justify-self: start; gap: 10px; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); font-size: 12px; font-weight: 600; transition: background-color .3s var(--ease), color .3s var(--ease); }
.carte-ajout:hover { background: var(--encre); color: var(--ivoire); }
.sombre .carte-ajout:hover { background: var(--ivoire); color: var(--encre); border-color: var(--ivoire); }
.sombre .carte-visuel { background: var(--noir-2); }
.carte-ajout svg { width: 17px; height: 17px; }


/* ---------- IV. Casquettes ---------- */
.vitrine-casquette { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.vitrine-casquette-objet { position: sticky; top: calc(var(--entete) + 40px); aspect-ratio: 1; width: min(100%, calc(100svh - 160px)); justify-self: center; display: grid; place-items: center; perspective: 900px; }
.vitrine-casquette-disque { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #2a4d7c, #0d1a2c 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -40px rgba(0,0,0,.6); }
.vitrine-casquette-disque::after { content: ''; position: absolute; inset: -4%; border-radius: 50%; background: url("../medias/meandre.svg") center / 100% no-repeat; opacity: .5; animation: tourner 60s linear infinite; filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg); opacity: .7; }
@keyframes tourner { to { transform: rotate(360deg); } }
.vitrine-casquette-objet img { position: relative; width: 78%; transform-style: preserve-3d; will-change: transform; filter: drop-shadow(0 34px 34px rgba(12, 30, 60, .35)); }
.vitrine-casquette-points { display: grid; gap: clamp(50px, 9vh, 110px); padding: clamp(20px, 6vh, 80px) 0; }
.vitrine-casquette-points li { display: grid; gap: 10px; border-top: 1px solid var(--ligne); padding-top: 18px; }
.vitrine-casquette-points span { font-family: var(--f-serif); font-size: 15px; opacity: .6; }
.vitrine-casquette-points h4 { font-weight: 600; font-size: clamp(1.7rem, 1rem + 2vw, 2.8rem); line-height: 1; letter-spacing: -.04em; }
.vitrine-casquette-points p { font-family: var(--f-serif); font-size: 20px; line-height: 1.25; max-width: 32ch; opacity: .85; }
.vitrine-casquette-achat { border: 0 !important; display: flex !important; flex-wrap: wrap; gap: 10px !important; }


.inscription, .pied-lettre { display: grid; gap: 14px; max-width: 560px; }
.inscription label, .pied-lettre label { font-family: var(--f-serif); font-size: clamp(1.4rem, 1rem + 1vw, 2rem); line-height: 1.1; }
.inscription-champ { display: flex; border-bottom: 1px solid currentColor; }
.inscription-champ input { flex: 1; min-width: 0; height: 56px; background: none; border: 0; outline: 0; font-size: 16px; }
.inscription-champ input::placeholder { color: inherit; opacity: .55; }
.inscription-champ button { display: inline-flex; align-items: center; gap: 10px; padding: 0 4px 0 16px; font-weight: 600; font-size: 14px; }
.inscription-note { font-size: 12px; opacity: .6; }
.inscription.envoye .inscription-champ { opacity: .4; pointer-events: none; }


/* ---------- VI. La boutique ---------- */
.boutique { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; }
.boutique-photo { overflow: hidden; }
.boutique-photo img { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; transform: scale(1.12); will-change: transform; }
.boutique-photo-a { grid-column: 1 / span 4; }
.boutique-photo-b { grid-column: 5 / span 3; margin-top: 30%; }
.boutique-infos { grid-column: 9 / span 4; display: grid; gap: 22px; align-content: start; }
.boutique-statut { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.boutique-statut i { width: 9px; height: 9px; border-radius: 50%; background: var(--gris-clair); }
.boutique-statut.ouvert i { background: #1fa45a; box-shadow: 0 0 0 4px rgba(31, 164, 90, .18); }
.boutique-statut.ferme i { background: #c0392b; }
.horaires { width: 100%; border-collapse: collapse; font-size: 15px; }
.horaires th, .horaires td { padding: 9px 0; border-bottom: 1px solid var(--ligne); text-align: left; font-weight: 400; }
.horaires td { text-align: right; font-variant-numeric: tabular-nums; }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { font-weight: 600; }
.boutique-infos address { font-style: normal; font-family: var(--f-serif); font-size: 22px; line-height: 1.2; }
.boutique-acces { font-size: 14px; color: var(--gris); }
.boutique-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.carte { margin-top: clamp(50px, 7vw, 100px); height: clamp(320px, 38vw, 520px); background: var(--carte); }
.carte iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }


.reservation { display: grid; gap: 22px; }
.reservation-intro { font-family: var(--f-serif); font-size: 21px; line-height: 1.25; }
.reservation fieldset { border: 0; padding: 0; margin: 0; }
.reservation legend, .reservation label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.reservation label { display: grid; gap: 8px; }
.reservation input, .reservation select { height: 50px; background: transparent; border: 0; border-bottom: 1px solid var(--ligne); color: var(--encre); font-size: 16px; letter-spacing: 0; text-transform: none; outline: 0; border-radius: 0; -webkit-appearance: none; appearance: none; }
.reservation select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23141210' stroke-width='1.5'/%3E%3C/svg%3E") right center / 18px no-repeat; }
.reservation select option { color: var(--encre); }
.reservation input:focus, .reservation select:focus { border-color: var(--or-clair); }
.reservation input:focus-visible, .reservation select:focus-visible { outline: none; box-shadow: none; border-bottom: 2px solid var(--encre); }
.reservation-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
[data-reservation-articles] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.choix-article { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid transparent; cursor: pointer; font-size: 13px; letter-spacing: 0; text-transform: none; transition: border-color .3s, background-color .3s; }
.choix-article img { width: 30px; height: 30px; object-fit: contain; border-radius: 50%; background: #f1eee6; }
.choix-article input { position: absolute; opacity: 0; pointer-events: none; }
.choix-article:has(input:checked) { border-color: var(--encre); box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.reservation .bouton-clair { justify-self: start; }
.reservation-note { font-size: 13px; opacity: .6; }
.reservation-ok { display: grid; gap: 14px; padding: 30px; background: #fff; border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(20,18,16,.45); }
.reservation-ok h4 { font-weight: 600; font-size: 28px; letter-spacing: -.03em; }
.reservation-ok p { font-family: var(--f-serif); font-size: 19px; line-height: 1.3; }


/* ---------- Vu en boutique ---------- */
.insta { position: relative; z-index: 1; background: var(--beige); padding: clamp(80px, 9vw, 140px) 0; overflow: hidden; }
.insta-tete { display: flex; justify-content: space-between; align-items: end; padding: 0 var(--gouttiere) 0 calc(var(--gouttiere) + var(--sommaire)); margin-bottom: 34px; }
.insta-rangee { display: flex; gap: 12px; width: max-content; padding-bottom: 12px; will-change: transform; }
.insta-rangee a { position: relative; width: clamp(150px, 13vw, 210px); aspect-ratio: 9 / 16; overflow: hidden; background: var(--carte); }
.insta-rangee img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.insta-rangee a:hover img { transform: scale(1.06); }
.insta-rangee a::after { content: ''; position: absolute; right: 10px; top: 10px; width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }


/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: var(--ivoire); padding: clamp(70px, 8vw, 120px) var(--gouttiere) 26px calc(var(--gouttiere) + var(--sommaire)); overflow: hidden; }
.pied-haut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 50px; }
.pied-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pied-colonnes h5 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .55; font-weight: 500; margin-bottom: 14px; }
.pied-colonnes a { display: block; font-size: 15px; padding: 4px 0; opacity: .9; }
.pied-colonnes a:hover { color: var(--or-clair); }
.pied-geant { font-family: var(--f-marque); font-weight: 600; font-size: min(17rem, calc((100vw - var(--sommaire) - 2 * var(--gouttiere)) / 7.1)); letter-spacing: .02em; line-height: .8; text-transform: uppercase; margin: clamp(60px, 8vw, 120px) 0 30px; white-space: nowrap; text-align: center; background: linear-gradient(180deg, var(--ivoire), rgba(239, 236, 228, .25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; opacity: .6; border-top: 1px solid var(--ligne-claire); padding-top: 20px; }


/* ---------- Tiroir panier ---------- */
.tiroir, .fiche, .info { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.tiroir.ouvert, .fiche.ouvert, .info.ouvert { visibility: visible; }
.tiroir-voile, .fiche-voile, .info-voile { position: absolute; inset: 0; background: rgba(12, 11, 10, .55); opacity: 0; transition: opacity .5s var(--ease); }
.ouvert > .tiroir-voile, .ouvert > .fiche-voile, .ouvert > .info-voile { opacity: 1; }
.tiroir-corps { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--ivoire); display: grid; grid-template-rows: auto auto 1fr auto; transform: translateX(100%); transition: transform .6s var(--ease); }
.tiroir.ouvert .tiroir-corps { transform: none; }
.tiroir-tete { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--ligne); }
.tiroir-tete h3 { font-weight: 600; font-size: 20px; letter-spacing: -.02em; display: flex; gap: 10px; align-items: baseline; }
.tiroir-tete h3 b { font-family: var(--f-serif); font-weight: 400; font-style: italic; }
.tiroir-tete button svg, .fiche-fermer svg, .recherche-champ button svg, .info-fermer svg { width: 22px; height: 22px; }
.tiroir-progression { padding: 16px 24px; border-bottom: 1px solid var(--ligne); display: grid; gap: 10px; font-size: 13px; }
.tiroir-progression span { height: 3px; background: var(--carte); overflow: hidden; }
.tiroir-progression i { display: block; height: 100%; width: 0; background: var(--rose); transition: width .6s var(--ease); }
.tiroir-liste { overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px; }
.ligne-panier { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ligne); align-items: start; }
.ligne-panier figure { aspect-ratio: 4 / 5; background: var(--fond, var(--carte)); display: grid; place-items: center; overflow: hidden; }
.ligne-panier figure img { width: 84%; height: 84%; object-fit: contain; }
.ligne-panier figure.plein img { width: 100%; height: 100%; object-fit: cover; }
.ligne-panier h4 { font-weight: 600; font-size: 14px; line-height: 1.25; }
.ligne-panier p { font-size: 13px; color: var(--gris); }
.ligne-quantite { display: inline-flex; align-items: center; border: 1px solid var(--ligne); margin-top: 10px; }
.ligne-quantite button { width: 30px; height: 30px; display: grid; place-items: center; }
.ligne-quantite span { min-width: 22px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.ligne-prix { font-size: 14px; font-weight: 500; text-align: right; display: grid; gap: 6px; justify-items: end; }
.ligne-prix button { font-size: 12px; color: var(--gris); text-decoration: underline; text-underline-offset: 3px; }
.panier-vide { padding: 40px 0; display: grid; gap: 16px; justify-items: start; }
.panier-vide p { font-family: var(--f-serif); font-size: 24px; line-height: 1.15; }
.tiroir-pied { padding: 18px 24px 24px; border-top: 1px solid var(--ligne); display: grid; gap: 10px; }
.tiroir-total { display: flex; justify-content: space-between; font-size: 17px; }
.tiroir-total b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tiroir-note { font-size: 12px; color: var(--gris); margin-bottom: 6px; }

/* ---------- Fiche produit ---------- */
.fiche-corps { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: var(--ivoire); transform: translateY(100%); transition: transform .8s var(--ease); }
.fiche.ouvert .fiche-corps { transform: none; }
.fiche-galerie { position: relative; background: radial-gradient(ellipse at 50% 40%, rgba(214, 170, 92, .3), transparent 62%), var(--texture, none) center / cover no-repeat, var(--fond, var(--carte)); overflow: hidden; }
.fiche-galerie-piste { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fiche-galerie-piste::-webkit-scrollbar { display: none; }
.fiche-galerie figure { flex: 0 0 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: start; }
.fiche-galerie figure img { max-width: 72%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(20, 18, 16, .22)); }
.fiche-galerie figure.photo img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; filter: none; }
.fiche-points { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 6px; }
.fiche-points button { width: 26px; height: 3px; background: rgba(20, 18, 16, .25); }
.fiche-points button.actif { background: var(--encre); }
.fiche-infos { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--entete) + 20px) clamp(24px, 4vw, 64px) 40px; display: grid; gap: 24px; align-content: start; }
.fiche-fermer { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--encre); background: var(--ivoire); z-index: 3; }
.fiche-fermer:hover { background: var(--encre); color: var(--ivoire); }
.fiche-infos h2 { font-weight: 600; font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); line-height: .95; letter-spacing: -.045em; }
.fiche-infos h2 em { display: block; font-family: var(--f-serif); font-weight: 400; font-size: .62em; letter-spacing: -.01em; margin-top: 8px; opacity: .75; }
.fiche-prix { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.fiche-texte { font-family: var(--f-serif); font-size: 20px; line-height: 1.3; max-width: 40ch; }
.fiche-choix { display: grid; gap: 10px; }
.fiche-choix > p { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; display: flex; justify-content: space-between; }
.fiche-choix > p button { text-transform: none; letter-spacing: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.fiche-options { display: flex; flex-wrap: wrap; gap: 8px; }
.fiche-options button { min-width: 50px; height: 44px; padding: 0 12px; border: 1px solid var(--ligne); font-size: 14px; transition: border-color .2s, background-color .2s, color .2s; }
.fiche-options button:hover { border-color: var(--encre); }
.fiche-options button[aria-pressed='true'] { background: var(--encre); color: var(--ivoire); border-color: var(--encre); }
.fiche-options.couleurs button { display: inline-flex; align-items: center; gap: 8px; }
.fiche-options.couleurs i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.fiche-actions { display: grid; gap: 10px; }
.fiche-actions .bouton-plein { min-height: 58px; font-size: 14px; }
.fiche-garanties { display: grid; gap: 8px; font-size: 13px; color: var(--gris); border-top: 1px solid var(--ligne); padding-top: 18px; }
.fiche-garanties li::before { content: '✦'; color: var(--or); margin-right: 10px; }
.fiche-details { border-top: 1px solid var(--ligne); }
.fiche-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 16px 0; font-weight: 600; font-size: 14px; }
.fiche-details summary::-webkit-details-marker { display: none; }
.fiche-details summary::after { content: '+'; font-weight: 400; font-size: 18px; line-height: 1; }
.fiche-details[open] summary::after { content: '−'; }
.fiche-details ul { padding: 0 0 16px; display: grid; gap: 6px; font-size: 14px; color: var(--gris); }
.fiche-assortis { display: grid; gap: 12px; }
.fiche-assortis > p { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.fiche-assortis div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fiche-assortis a { display: grid; gap: 6px; font-size: 12px; }
.fiche-assortis figure { aspect-ratio: 4 / 5; background: var(--fond, var(--carte)); display: grid; place-items: center; overflow: hidden; }
.fiche-assortis figure img { width: 80%; height: 80%; object-fit: contain; }
.fiche-assortis figure.plein img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Recherche ---------- */
.recherche { position: fixed; inset: 0; z-index: 65; visibility: hidden; background: rgba(12, 11, 10, 0); transition: background-color .5s var(--ease), visibility 0s .5s; }
.recherche.ouvert { visibility: visible; background: rgba(12, 11, 10, .55); transition: background-color .5s var(--ease); }
.recherche-corps { background: var(--ivoire); padding: 22px var(--gouttiere) 34px; transform: translateY(-100%); transition: transform .6s var(--ease); max-height: 86svh; overflow-y: auto; }
.recherche.ouvert .recherche-corps { transform: none; }
.recherche-champ { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--encre); }
.recherche-champ > svg { width: 24px; height: 24px; }
.recherche-champ input { flex: 1; height: 74px; border: 0; outline: 0; background: none; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); letter-spacing: -.03em; font-weight: 500; }
.recherche-resultats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; padding-top: 26px; }
.recherche-resultats a { display: grid; gap: 8px; font-size: 13px; }
.recherche-resultats figure { aspect-ratio: 4 / 5; background: var(--fond, var(--carte)); display: grid; place-items: center; overflow: hidden; }
.recherche-resultats figure img { width: 80%; height: 80%; object-fit: contain; }
.recherche-resultats figure.plein img { width: 100%; height: 100%; object-fit: cover; }
.recherche-resultats .vide { grid-column: 1 / -1; font-family: var(--f-serif); font-size: 22px; }

/* ---------- Commande ---------- */
.commande { position: fixed; inset: 0; z-index: 70; visibility: hidden; background: var(--ivoire); opacity: 0; transition: opacity .5s var(--ease), visibility 0s .5s; overflow-y: auto; overscroll-behavior: contain; }
.commande.ouvert { visibility: visible; opacity: 1; transition: opacity .5s var(--ease); }
.commande-corps { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.commande-form { padding: 28px clamp(22px, 6vw, 100px) 60px; display: grid; gap: 28px; align-content: start; max-width: 760px; }
.commande-haut { display: flex; justify-content: space-between; align-items: center; }
.commande-etapes { display: flex; gap: 22px; font-size: 13px; }
.commande-etapes span { opacity: .4; }
.commande-etapes span.actif { opacity: 1; font-weight: 600; }
.commande h2 { font-weight: 600; font-size: clamp(2rem, 1.2rem + 2vw, 3rem); letter-spacing: -.045em; line-height: 1; }
.commande-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.commande-champs label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.commande-champs label.large { grid-column: 1 / -1; }
.commande-champs input { height: 52px; border: 1px solid var(--ligne); background: var(--papier); padding: 0 14px; font-size: 16px; text-transform: none; letter-spacing: 0; border-radius: 0; outline: 0; }
.commande-champs input:focus { border-color: var(--encre); }
.commande-modes { display: grid; gap: 10px; }
.commande-modes label { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--ligne); cursor: pointer; transition: border-color .2s, background-color .2s; }
.commande-modes label:has(input:checked) { border-color: var(--encre); background: var(--papier); }
.commande-modes input { accent-color: var(--encre); width: 18px; height: 18px; }
.commande-modes b { display: block; font-size: 15px; }
.commande-modes small { color: var(--gris); font-size: 13px; }
.commande-paiement { padding: 22px; border: 1px solid var(--ligne); display: grid; gap: 10px; background: var(--papier); }
.commande-paiement p { font-size: 14px; color: var(--gris); }
.commande-demo { font-size: 12px; color: var(--gris); }
.commande-resume { background: var(--noir); color: var(--ivoire); padding: 30px clamp(22px, 3vw, 44px); display: grid; gap: 16px; align-content: start; }
.commande-resume h3 { font-weight: 600; font-size: 18px; }
.commande-resume .ligne { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.commande-resume .ligne figure { aspect-ratio: 4 / 5; background: var(--fond, var(--carte)); display: grid; place-items: center; overflow: hidden; }
.commande-resume .ligne figure img { width: 84%; height: 84%; object-fit: contain; }
.commande-resume .ligne figure.plein img { width: 100%; height: 100%; object-fit: cover; }
.commande-resume dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; border-top: 1px solid var(--ligne-claire); padding-top: 16px; font-size: 14px; }
.commande-resume dt { opacity: .7; }
.commande-resume dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.commande-resume dl .total { font-weight: 600; font-size: 18px; opacity: 1; }
.commande-merci { grid-column: 1 / -1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 20px; padding: 60px 24px; min-height: 100svh; }
.commande-merci svg.medaillon { width: 90px; height: 90px; }
.commande-merci h2 { font-size: clamp(2.4rem, 1.4rem + 3vw, 4.4rem); }
.commande-merci p { font-family: var(--f-serif); font-size: 22px; max-width: 32ch; }

/* ---------- Infos (livraison, tailles…) ---------- */
.info-corps { position: absolute; left: 50%; top: 50%; width: min(620px, calc(100vw - 32px)); max-height: 84svh; overflow-y: auto; overscroll-behavior: contain; transform: translate(-50%, -46%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; background: var(--ivoire); padding: 36px; display: grid; gap: 16px; }
.info.ouvert .info-corps { transform: translate(-50%, -50%); opacity: 1; }
.info-corps h3 { font-weight: 600; font-size: 30px; letter-spacing: -.04em; padding-right: 50px; }
.info-corps p, .info-corps li { font-family: var(--f-serif); font-size: 19px; line-height: 1.35; }
.info-corps table { border-collapse: collapse; font-size: 14px; }
.info-corps th, .info-corps td { border-bottom: 1px solid var(--ligne); padding: 8px 10px; text-align: left; }
.info-fermer { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--encre); }

/* ---------- Annonce ---------- */
.annonce { position: fixed; left: 50%; bottom: 22px; z-index: 90; width: max-content; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; background: var(--encre); color: var(--ivoire); font-size: 14px; max-width: calc(100vw - 32px); }
.annonce.visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .6s var(--ease), opacity .3s; }
.annonce img { width: 42px; height: 52px; object-fit: contain; background: var(--ivoire); }
.annonce button { margin-left: 8px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }



/* ---------- Téléphone & tablette ---------- */
@media (max-width: 1099px) { :root { --sommaire: 0px; } .entete-insta { display: none; } }
@media (max-width: 760px) {
  /* le toast ne doit jamais couvrir le bouton d'achat : en haut sur mobile */
  .annonce { top: calc(var(--entete) + 10px); bottom: auto; transform: translate(-50%, -160%); }
  .annonce.visible { transform: translate(-50%, 0); }
  .entete { padding: 0 14px; }
  .ouverture-contenu { bottom: 54px; gap: 14px; }
  .ouverture-rayons { display: none; }
  .bouton-or, .bouton-verre { height: 44px; padding: 0 18px; font-size: 13px; }
  .marque-saison, .entete-gauche > .entete-lien span { display: none; }
  .rayons-menu { position: fixed; top: 54px; left: 14px; right: 14px; min-width: 0; }
  .ouverture-cadre { width: calc(100vw - 48px); height: min(420px, 56svh); }
  .intro-titre { font-size: clamp(3.4rem, 1rem + 15vw, 6rem); top: 34%; }
  .intro-suite { bottom: 6svh; left: 18px; width: calc(100vw - 36px); }
  .intro-media { width: 62vw; }
  .contenu { padding: 110px 16px 100px; }
  .article-tete, .article-corps, .grille-cartes, .rail-entete, .rail { padding-left: 0; }
  .article-corps, .article-corps--inverse { grid-template-columns: 1fr; }
  .collage { height: 420px; }
  .grille-cartes { grid-template-columns: 1fr; }
  .eventail { height: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 0 30px; scrollbar-width: none; }
  .eventail .carte-produit { position: relative; left: auto; margin: 0; flex: 0 0 64vw; transform: none !important; scroll-snap-align: center; }
  .vitrine-casquette { grid-template-columns: 1fr; }
  .vitrine-casquette-objet { position: relative; top: 0; }
  .boutique { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boutique-photo-a { grid-column: 1; } .boutique-photo-b { grid-column: 2; margin-top: 30%; } .boutique-infos { grid-column: 1 / -1; }
  .reservation-ligne { grid-template-columns: 1fr; }
  .pied-haut { grid-template-columns: 1fr; } .pied-colonnes { grid-template-columns: 1fr 1fr; }
  .fiche-corps { grid-template-columns: 1fr; grid-template-rows: 46svh 1fr; }
  .fiche-infos { padding-top: 26px; }
  .commande-corps { grid-template-columns: 1fr; } .commande-resume { order: -1; } .commande-champs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .chargeur-frise path { stroke-dashoffset: 0; } .chargeur-mp { opacity: 1; }
}

/* Boutons pleins / filaires (fiche produit, commande, tiroirs) */
.sur-titre { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.bouton-plein, .bouton-trait, .bouton-clair { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .03em; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s; }
.bouton-plein { background: var(--encre); color: var(--ivoire); }
.bouton-plein:hover { background: #2c2a26; }
.bouton-trait { border: 1px solid currentColor; }
.bouton-trait:hover { background: var(--encre); color: var(--ivoire); border-color: var(--encre); }
.bouton-clair { background: var(--ivoire); color: var(--encre); }
.bouton-large { width: 100%; }
.bouton-plein svg, .bouton-trait svg, .bouton-clair svg { width: 18px; height: 18px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.lien-fleche svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.lien-fleche:hover svg { transform: translateX(5px); }
/* En-tête clair : une bande de papier sous le texte, lisible même au-dessus d'un bloc sombre */
.entete::before { content: ''; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; background: linear-gradient(var(--beige) 45%, rgba(221, 220, 209, 0)); opacity: 0; transition: opacity .3s; }
.entete.clair::before { opacity: .92; }
/* Tablette : une colonne pour les articles */
@media (max-width: 1099px) { .article-corps, .article-corps--inverse { grid-template-columns: 1fr; } }
/* Sans WebGL : chaque chapitre garde sa peinture en image fixe */
.sans-3d .ouverture-scene, .sans-3d .intro-scene { background: #0b0a09 center / cover no-repeat; }
.sans-3d [data-scene="accueil"] .ouverture-scene { background-image: url(../medias/illus/01-creation-fond-m.webp); }
.sans-3d [data-scene="nouveautes"] .intro-scene { background-image: url(../medias/illus/02-portrait-fond-m.webp); }
.sans-3d [data-scene="maillots"] .intro-scene { background-image: url(../medias/illus/03-nations-fond-m.webp); }
.sans-3d [data-scene="oversize"] .intro-scene { background-image: url(../medias/illus/04-fusion-fond-m.webp); }
.sans-3d [data-scene="casquettes"] .intro-scene { background-image: url(../medias/illus/05-couronnement-fond-m.webp); }
.sans-3d [data-scene="soldes"] .intro-scene { background-image: url(../medias/illus/06-pluie-fond-m.webp); }
.sans-3d [data-scene="boutique"] .intro-scene { background-image: url(../medias/illus/07-cite-fond-m.webp); }
.sans-3d [data-scene="essais"] .intro-scene { background-image: url(../medias/illus/08-essais-fond-m.webp); }
/* Cartes : tout le visuel est un lien vers le produit (clavier, nouvel onglet) */
.carte-lien { position: absolute; inset: 0; z-index: 2; }
.carte-lien:focus-visible { outline: 2px solid var(--or, #c9a35b); outline-offset: -4px; }
.carte-nom a { color: inherit; }

/* =========================================================
   Pages secondaires : boutique (catalogue), produit, magasin
   ========================================================= */
body:not([data-page="accueil"]) { --sommaire: 0px; background: var(--beige); }
.entete-boutique { font-weight: 600; }
.page-bandeau { position: relative; min-height: min(80svh, 780px); display: grid; align-items: end; padding: calc(var(--entete) + 60px) var(--gouttiere) clamp(110px, 11vw, 170px); color: var(--texte-clair); background: #0b0a09 center 40% / cover no-repeat; overflow: hidden; }
.page-bandeau::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 8, 4, .88) 0%, rgba(12, 8, 4, .45) 42%, rgba(12, 8, 4, .12) 68%, rgba(12, 8, 4, .5) 100%); }
.page-bandeau-texte { position: relative; display: grid; gap: 18px; justify-items: start; max-width: 1400px; }
.page-fil { font-size: 12.5px; letter-spacing: .02em; opacity: .85; }
.page-fil a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127, 127, 127, .5); }
.page-fil span { margin: 0 6px; opacity: .5; }
.page-titre { font-weight: 500; font-size: clamp(3.6rem, .6rem + 9.6vw, 11rem); line-height: .86; letter-spacing: -.055em; text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }
.page-chapeau { font-family: var(--f-serif); font-size: clamp(1.25rem, .95rem + .9vw, 1.9rem); line-height: 1.15; max-width: 36ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.page-contenu { padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
.page-contenu--suite { padding-top: 40px; }

.catalogue-barre { position: sticky; top: calc(var(--entete) - 6px); z-index: 6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: -40px calc(-1 * var(--gouttiere)) 44px; padding: 14px var(--gouttiere); background: rgba(221, 220, 209, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.catalogue-rayons { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.catalogue-rayons::-webkit-scrollbar { display: none; }
.catalogue-rayons a { flex: none; display: inline-flex; align-items: baseline; gap: 5px; height: 38px; padding: 0 16px; align-items: center; border-radius: 999px; border: 1px solid var(--ligne); font-size: 14px; font-weight: 600; transition: background-color .25s, color .25s, border-color .25s; }
.catalogue-rayons a:hover { border-color: var(--encre); }
.catalogue-rayons a[aria-current="page"] { background: var(--encre); color: var(--ivoire); border-color: var(--encre); }
.catalogue-rayons sup { font-size: 10.5px; font-weight: 500; opacity: .6; vertical-align: super; }
.catalogue-outils { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--gris); }
.catalogue-outils label { display: inline-flex; align-items: center; gap: 8px; }
.catalogue-outils select { height: 38px; padding: 0 30px 0 12px; border: 1px solid var(--ligne); border-radius: 999px; background: transparent; color: var(--encre); font: inherit; font-weight: 600; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.catalogue-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 48px 18px; }
.catalogue-essai { margin-top: clamp(80px, 9vw, 140px); display: grid; justify-items: start; gap: 16px; max-width: 560px; }
.catalogue-essai p { font-family: var(--f-serif); font-size: 20px; line-height: 1.25; }

/* Page produit : la fiche en pleine page */
.produit { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: var(--ivoire); color: var(--encre); }
.produit .fiche-galerie { position: sticky; top: 0; height: 100svh; }
.produit .fiche-infos { overflow: visible; padding-top: calc(var(--entete) + 30px); padding-bottom: 80px; }
.produit .page-fil { opacity: .7; }
.produit-absent { min-height: 80svh; display: grid; place-content: center; justify-items: start; gap: 18px; padding: calc(var(--entete) + 40px) var(--gouttiere) 80px; background: var(--ivoire); color: var(--encre); }
.produit-suite { padding-top: clamp(80px, 8vw, 120px); }
.produit-suite .article-tete { margin-bottom: 36px; }

@media (max-width: 760px) {
  .page-bandeau { min-height: 72svh; }
  .catalogue-barre { margin-top: -30px; }
  .catalogue-outils { width: 100%; justify-content: space-between; }
  .catalogue-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; }
  .catalogue-grille .carte-ajout span { display: none; }
  .catalogue-grille .carte-sous { font-size: 15px; }
  .produit { grid-template-columns: 1fr; }
  .produit .fiche-galerie { position: relative; height: 64svh; }
  .produit .fiche-infos { padding-top: 28px; }
}
/* Page produit : en-tête plein ivoire, la galerie commence dessous */
body[data-page="produit"] .entete::before { opacity: 1; inset: 0; background: var(--ivoire); border-bottom: 1px solid var(--ligne); }
body[data-page="produit"] .produit { padding-top: var(--entete); }
body[data-page="produit"] .produit .fiche-galerie { top: var(--entete); height: calc(100svh - var(--entete)); }
body[data-page="produit"] .produit .fiche-infos { padding-top: 34px; }
@media (max-width: 760px) { body[data-page="produit"] .produit .fiche-galerie { height: 60svh; } }
/* Prix barrés, marque, liens « voir tout » */
.carte-prix s, .fiche-prix s { opacity: .45; margin-right: 6px; font-weight: 400; }
.fiche-marque { margin-left: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; font-weight: 500; }
.voir-tout { margin-top: 40px; padding-left: clamp(0px, 6vw, 110px); }
.carte-voir-tout { flex: 0 0 auto; align-self: stretch; width: min(300px, 70vw); scroll-snap-align: start; display: grid; align-content: end; gap: 8px; padding: 26px; border-radius: 6px; background: var(--encre); color: var(--ivoire); transition: background-color .3s; }
.carte-voir-tout span { font-family: var(--f-serif); font-size: 32px; line-height: 1; }
.carte-voir-tout b { font-weight: 600; font-size: 14px; opacity: .8; }
.carte-voir-tout:hover { background: #2c2a26; }

/* Menu latéral (Shopify) : couleur pleine, thème sombre sur les peintures, clair sur le papier, bascule à la volée.
   Chaque bloc (titre en haut, liste en bas) suit le fond qui est derrière LUI ; sur les peintures, un halo sombre
   très doux sous le texte et une ombre portée fine : il ne se noie plus dans le décor, et rien ne salit le papier. */
.sommaire-titre, .sommaire-liste, .sommaire-pied { position: relative; transition: color .3s; }
.sommaire-titre::before, .sommaire-liste::before { content: ''; position: absolute; z-index: -1; pointer-events: none; transition: opacity .3s;
  background: radial-gradient(closest-side, rgba(8, 6, 4, .58), rgba(8, 6, 4, .32) 55%, rgba(8, 6, 4, 0)); }
.sommaire-titre::before { inset: -46px -90px -46px -70px; }
.sommaire-liste::before { inset: -70px -100px -110px -80px; }
.sommaire a, .sommaire-titre span { text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 16px rgba(0, 0, 0, .35); }
.sommaire[data-haut='clair'] .sommaire-titre, .sommaire[data-bas='clair'] .sommaire-liste, .sommaire[data-bas='clair'] .sommaire-pied { color: var(--encre); }
.sommaire[data-haut='clair'] .sommaire-titre span, .sommaire[data-bas='clair'] .sommaire-liste a { text-shadow: none; }
.sommaire[data-haut='clair'] .sommaire-titre::before, .sommaire[data-bas='clair'] .sommaire-liste::before { background: radial-gradient(closest-side, rgba(221, 220, 209, .97), rgba(221, 220, 209, .88) 60%, rgba(221, 220, 209, 0)); }

/* Bloc produit « Arrivés cette semaine » : une vitrine nette, deux cartes d'interface qui débordent exprès (Shopify) */
.collage { height: auto; display: grid; justify-items: end; padding: 34px 40px 60px 0; }
.collage-vitrine { position: relative; width: min(440px, 100%); aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background-color: #121624; background-size: cover; background-position: center; display: grid; place-items: center; cursor: pointer; box-shadow: 0 40px 80px -40px rgba(20, 18, 16, .55); }
.collage-vitrine img { width: 78%; height: 70%; object-fit: contain; margin-top: -8%; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .5)); transition: transform .9s var(--ease); }
.collage-vitrine:hover img { transform: scale(1.04) translateY(-1.5%); }
.collage-vitrine figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 22px 20px 18px; color: var(--ivoire); background: linear-gradient(to top, rgba(6, 5, 4, .78), rgba(6, 5, 4, 0)); font-size: 13px; }
.collage-vitrine figcaption span:first-child { display: grid; line-height: 1.25; opacity: .9; }
.collage-vitrine figcaption b { font-size: 16px; font-weight: 600; opacity: 1; }
.collage-prix { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.collage .collage-puce { left: auto; top: 0; right: calc(min(440px, 100%) - 60px); }
.collage .collage-panier { left: auto; top: auto; right: 0; bottom: 18px; }
.collage-panier img { background: #121624; object-fit: contain; }
@media (max-width: 760px) {
  .collage { padding: 0; justify-items: stretch; gap: 10px; }
  .collage-vitrine { width: 100%; }
  .collage .collage-carte { position: static; justify-self: start; }
  .collage .collage-puce { order: -1; }
}

/* Écrans bas (portables 13 pouces, fenêtres réduites) : le bloc du hero se resserre pour laisser la scène respirer */
@media (min-width: 761px) and (max-height: 820px) {
  .ouverture-contenu { gap: 10px; bottom: clamp(28px, 5svh, 60px); }
  .ouverture-texte { font-size: 1.05rem; }
  .ouverture-rayons a { padding: 5px 10px; font-size: 12px; }
}

/* Cartes : le dos de l'article se révèle en cercle depuis le curseur, liseré doré (l'anneau du hero), carte inclinée */
@property --rayon { syntax: '<length>'; inherits: true; initial-value: 0px; }
.carte-visuel { --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), --rayon 1.1s cubic-bezier(.5, 0, .2, 1); }
.carte-visuel .carte-dos { position: absolute; z-index: 1; clip-path: circle(var(--rayon) at var(--mx) var(--my)); pointer-events: none; }
.carte-visuel:not(.plein) .carte-dos { inset: 8% 8% 10%; width: 84%; height: 82%; object-fit: contain; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .55)); }
.carte-visuel.plein .carte-dos { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carte-visuel.a-dos::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx) var(--my), transparent calc(var(--rayon) - 2px), rgba(255, 226, 170, .95) var(--rayon), rgba(255, 190, 110, .35) calc(var(--rayon) + 6px), transparent calc(var(--rayon) + 22px)); }
@media (hover: hover) and (pointer: fine) {
  .carte-visuel.a-dos:hover { --rayon: 520px; }
  .carte-visuel.a-dos:hover::after { opacity: 1; }
  .carte-visuel.a-dos:hover > img:not(.carte-dos) { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .carte-visuel { transform: none !important; transition: none; } }

/* ======== Audit Awwwards (accessibilité, responsive, finition) ======== */
/* Lien d'évitement */
.evitement { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--encre); color: var(--ivoire); font-weight: 600; font-size: 14px; transform: translateY(-160%); transition: transform .3s var(--ease); }
.evitement:focus { transform: none; }
main:focus { outline: none; }
/* Éléments masqués = non tabulables */
.rayons-menu { visibility: hidden; transition: opacity .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1), visibility 0s .3s; }
.rayons-menu.ouvert { visibility: visible; transition-delay: 0s; }
[data-rayons] svg { transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
[data-rayons][aria-expanded='true'] svg { transform: rotate(180deg); }
.sommaire { visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.sommaire.visible { visibility: visible; transition-delay: 0s; }
.sommaire-liste a { font-size: 17px; font-weight: 700; line-height: 1; }
.sommaire-pied { font-size: 11px; opacity: .85; }
/* En-tête : le « fond solide » de Shopify dans les deux thèmes (dégradé à 75 %), jamais de lien sur une peinture nue */
.entete::before { opacity: 1; inset: 0 0 -40px; background: linear-gradient(rgba(8, 6, 4, .6), rgba(8, 6, 4, .32) 55%, rgba(8, 6, 4, 0)); transition: background .3s; }
.entete.clair::before { background: linear-gradient(var(--beige) 45%, rgba(221, 220, 209, 0)); opacity: .94; }
.entete:not(.clair) .entete-lien, .entete:not(.clair) .marque { text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
/* Titres d'intro : un voile sous le mot, lisible sur les peintures claires */
.intro-titre { text-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 0 60px rgba(0, 0, 0, .45); }
.intro-scene::before { background: radial-gradient(ellipse 60% 40% at 36% 46%, rgba(6, 5, 4, .45), rgba(6, 5, 4, 0) 72%), radial-gradient(ellipse 70% 60% at 18% 88%, rgba(6, 5, 4, .78), rgba(6, 5, 4, 0) 70%), linear-gradient(to top, rgba(6, 5, 4, .55), rgba(6, 5, 4, 0) 40%); }
/* Formulaires : le focus se voit */
.choix-article:has(input:focus-visible) { outline: 2px solid var(--encre); outline-offset: 3px; }
.inscription-champ:focus-within { box-shadow: 0 2px 0 currentColor; }
.recherche-champ:focus-within { box-shadow: 0 2px 0 var(--encre); }
/* Puces « Articles à essayer » : la règle des labels ne les écrase plus */
.reservation .choix-article { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0; text-transform: none; opacity: 1; }
/* Galerie : points plus grands (cible 32×24) */
.fiche-points button { width: 32px; height: 24px; background: none; position: relative; }
.fiche-points button::after { content: ''; position: absolute; left: 3px; right: 3px; top: 10px; height: 3px; background: rgba(20, 18, 16, .25); }
.fiche-points button.actif::after { background: var(--encre); }
.fiche-points button.actif { background: none; }
/* Textes atténués lisibles */
.commande-etapes span { opacity: .7; }
.reservation-note, .inscription-note, .vitrine-casquette-points span { opacity: .78; }
.marque-saison { opacity: .8; }
/* En-tête mobile : tout tient de 320 à 414 px */
@media (max-width: 760px) {
  .entete-boutique { display: none; }
  .entete-gauche { gap: 10px; }
  .entete [data-ouvrir='recherche'] { width: 40px; height: 40px; justify-content: center; }
  .entete-panier { padding: 0 13px; height: 38px; }
  .ouverture-contenu { grid-template-columns: minmax(0, 1fr); }
  .ouverture-marque { font-size: min(clamp(2.3rem, 1.2rem + 5.2vw, 6.4rem), 10svh); }
}
@media (max-width: 413px) { .marque-nom { display: none; } }
/* Catalogue mobile : nom accessible gardé, barre sur une ligne, onglet actif visible */
.catalogue-grille .carte-ajout span { display: inline; }
@media (max-width: 760px) {
  .catalogue-grille .carte-ajout span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .catalogue-barre { flex-wrap: nowrap; gap: 8px; padding: 8px var(--gouttiere); }
  .catalogue-rayons { flex: 1; min-width: 0; }
  .catalogue-outils { width: auto; }
  .catalogue-outils [data-catalogue-compte], .catalogue-outils label > span { display: none; }
}
/* Catalogue : les articles apparaissent dès le premier écran */
body[data-page='catalogue'] .page-bandeau { min-height: min(56svh, 540px); padding-bottom: 96px; }
body[data-page='catalogue'] .contenu.page-contenu { padding-top: 72px; }
/* Page produit : pas de bande vide sous l'en-tête */
body[data-page='produit'] .produit { padding-top: 56px; }
body[data-page='produit'] .produit .fiche-galerie { top: 56px; height: calc(100svh - 56px); }
@media (max-width: 760px) { body[data-page='produit'] .produit .fiche-galerie { top: auto; height: 60svh; } }
/* Grands écrans : le contenu ne s'étale plus */
@media (min-width: 1600px) {
  .contenu > :not(.rail):not(.rail-entete) { max-width: 1460px; }
  .article-corps { grid-template-columns: minmax(0, 420px) minmax(0, 640px); justify-content: start; }
}
/* Transitions entre pages (View Transitions API, comme Shopify) */
@view-transition { navigation: auto; }
.entete { view-transition-name: entete; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Épinglage CSS : la section porte la longueur du défilement, la scène colle en haut (remplace le pin de ScrollTrigger) */
/* Téléphones : la scène collante couvre la GRANDE hauteur d'écran (barre d'adresse repliée, 100lvh). Avec 100svh,
   quand la barre se repliait, il restait ~90 px sous la scène : le voile sombre s'arrêtait net avant le papier.
   Le texte du bas est remonté d'autant (--barre = la hauteur de la barre d'adresse) pour rester visible barre dépliée. */
:root { --barre: 0px; }
@supports (height: 100lvh) { :root { --barre: calc(100lvh - 100svh); } }
.ouverture { height: calc(max(100vh, 620px) + 150vh); height: calc(max(100lvh, 620px) + 150vh); }
.ouverture-scene { position: sticky; top: 0; height: 100vh; height: 100lvh; }
.intro { height: calc(max(100vh, 600px) + 170vh); height: calc(max(100lvh, 600px) + 170vh); }
.intro-scene { position: sticky; top: 0; height: 100vh; height: 100lvh; }
.ouverture-contenu { bottom: calc(clamp(48px, 7svh, 90px) + var(--barre)); }
.ouverture-defiler { bottom: calc(26px + var(--barre)); }
.intro-suite { bottom: calc(9svh + var(--barre)); }
@media (max-width: 760px) {
  .intro { height: calc(max(100vh, 600px) + 120vh); height: calc(max(100lvh, 600px) + 120vh); }
  .ouverture-contenu { bottom: calc(54px + var(--barre)); }
  .intro-suite { bottom: calc(6svh + var(--barre)); }
  /* GPU du téléphone : pas d'ombre portée calculée sur chaque photo ni de flou derrière la barre du catalogue */
  .carte-visuel img, .collage-vitrine img, .fiche-galerie figure img { filter: none; }
  .catalogue-barre { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--beige); }
  .carte-visuel { transform: none; transition: none; }
}
@media (max-width: 760px) and (max-height: 820px) { .ouverture-contenu { bottom: calc(28px + var(--barre)); } }

.pied-bas .credit { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 241, 234, .35); }
