/* Polices hébergées avec le site (aucun appel à Google Fonts) */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --fond: #f2f2ef;
  --encre: #0d0d0d;
  --gris: #62625d;
  --ligne: #dcdcd7;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --entete: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--fond);
  color: var(--encre);
  font: 400 12px/1.5 "Inter", system-ui, sans-serif;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.marque {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-stretch: 68%;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: .9;
}

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--entete);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 24px;
  color: #fff;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.entete.clair { background: rgba(242, 242, 239, .92); backdrop-filter: blur(12px); color: var(--encre); border-color: var(--ligne); }
/* Au-dessus du héros, une fois qu'on défile : fond sombre pour que le menu ne chevauche jamais le texte du héros. */
.entete.sur-heros { background: rgb(13 13 13 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.entete nav { display: flex; gap: 18px; }
.entete nav:last-child { justify-content: flex-end; }
.entete nav a { position: relative; padding: 4px 0; }
.entete nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.entete nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.entete .place-logo { width: 140px; }
.compteur { display: inline-block; min-width: 1.4em; text-align: center; }
.compteur.saut { animation: saut .5s var(--ease); }
@keyframes saut { 40% { transform: translateY(-5px) scale(1.25); } }

/* Logo qui voyage du héros vers l'en-tête */
.logo {
  position: fixed; top: 0; left: 50%; z-index: 60;
  font-size: 26px;
  color: #fff;
  transform-origin: 50% 0;
  will-change: transform;
  white-space: nowrap;
}
.logo .lettre { display: inline-block; }
.charge .logo .lettre { animation: monte 1.2s var(--ease) both; animation-delay: calc(.25s + var(--i) * .05s); }
@keyframes monte { from { transform: translateY(105%); opacity: 0; } }
.logo .masque { display: inline-block; overflow: hidden; padding: .06em 0 0; }

/* ---------- Héros ---------- */
.heros { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: #111; }
.heros img { position: absolute; inset: -6% 0 0; height: 112%; will-change: transform; }
.charge .heros img { animation: dezoom 2.4s var(--ease) both; }
@keyframes dezoom { from { scale: 1.18; filter: brightness(.3); } }
.heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#0006, #0000 30%, #0000 60%, #0008); }
.heros .bas {
  position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px;
  display: flex; justify-content: space-between; align-items: end; color: #fff;
}
.charge .heros .bas { animation: fondu 1s .9s var(--ease) both; }
@keyframes fondu { from { opacity: 0; transform: translateY(12px); } }
.defiler { display: flex; align-items: center; gap: 10px; }
.defiler i { width: 1px; height: 34px; background: #fff6; position: relative; overflow: hidden; }
.defiler i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: goutte 1.8s var(--ease) infinite; }
@keyframes goutte { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--encre); color: #fff; padding: 11px 18px; font-size: 11px;
  position: relative; overflow: hidden; isolation: isolate;
}
.bouton::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #333;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.bouton:hover::before { transform: none; }
.bouton.blanc { background: #fff; color: var(--encre); }
.bouton.blanc::before { background: #e6e6e1; }

/* ---------- Grille produits ---------- */
.produits { padding: 88px 24px 72px; }
.titre-section { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.titre-section h2 { font-size: clamp(28px, 4vw, 52px); }
.grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.carte { display: block; }
.carte .visuel { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; }
.carte .visuel img { position: absolute; inset: 0; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.carte .visuel img { object-fit: contain; padding: 8%; }
.carte .visuel .porte { object-fit: cover; padding: 0; opacity: 0; transform: scale(1.06); }
.carte:hover .visuel .seul { opacity: 0; transform: scale(.94); }
.carte:hover .visuel .porte { opacity: 1; transform: none; }
.carte .infos { padding-top: 12px; text-align: center; }
.carte .infos span { display: block; color: var(--gris); }
.carte .infos b { font-weight: 500; }

/* Apparition au défilement */
.sans-js { display: none; padding: 24px 0; max-width: 560px; }
/* Sans JavaScript : pas d'écran d'ouverture, contenu visible, et le catalogue s'explique. */
html:not(.js) .intro { display: none; }
html:not(.js) .revele, html:not(.js) .rideau { opacity: 1; transform: none; clip-path: none; }
html:not(.js) .sans-js { display: block; }
html:not(.js) .logo { transform: translate(-50%, 18px); }
.revele { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * .08s); }
.revele.vu { opacity: 1; transform: none; }
.rideau { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: calc(var(--i, 0) * .08s); }
.rideau.vu { clip-path: inset(0 0 0 0); }

/* ---------- Bandeau défilant ---------- */
.bandeau { padding: 0 0 96px; overflow: hidden; }
.bandeau .titre-section { padding: 0 24px; margin-bottom: 18px; }
.bandeau .titre-section h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.piste { display: flex; gap: 10px; width: max-content; will-change: transform; }
.piste figure { width: clamp(220px, 24vw, 360px); aspect-ratio: 4 / 5; overflow: hidden; }
.piste figure img { transition: transform 1.2s var(--ease); }
.piste figure:hover img { transform: scale(1.06); }

/* ---------- Manifeste + pied ---------- */
.manifeste { padding: 120px 24px; text-align: center; border-top: 1px solid var(--ligne); }
.manifeste p { font-size: clamp(24px, 3.4vw, 46px); line-height: 1.12; max-width: 18em; margin: 0 auto; font-weight: 500; letter-spacing: -.02em; }
.manifeste .mot { display: inline-block; opacity: .12; transition: opacity .3s; }
.manifeste .mot.on { opacity: 1; }
.pied { background: var(--encre); color: #fff; padding: 56px 24px 0; overflow: hidden; }
.pied .colonnes { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: #aaa; }
.pied .colonnes a:hover { color: #fff; }
.pied .colonnes a, .achat .ligne a { display: inline-block; padding: 5px 0; }
.sr-seul { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pied .geant { font-size: 25.5vw; text-align: center; margin-top: 40px; transform: translateY(18%); }

/* ---------- Fiche produit ---------- */
.fiche { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.45fr) minmax(220px, 1fr); gap: 32px; padding: 0 24px; }
.fiche .colle { position: sticky; top: var(--entete); height: calc(100svh - var(--entete)); display: flex; flex-direction: column; justify-content: center; }
.retour { color: var(--gris); margin-bottom: 14px; display: inline-flex; gap: 6px; width: fit-content; }
.retour:hover { color: var(--encre); }
.fiche h1 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 14px; }
.fiche ul { list-style: none; color: #3a3a37; }
.fiche li { padding-left: 12px; position: relative; }
.fiche li::before { content: "·"; position: absolute; left: 0; }
.galerie { padding-top: var(--entete); }
.galerie figure { height: calc(100svh - var(--entete)); background: #fff; overflow: hidden; margin-bottom: 10px; }
.galerie figure img { object-fit: contain; will-change: transform; }
.galerie figure.couvre img { object-fit: cover; }
.achat .prix { font-size: 16px; margin-bottom: 26px; }
.achat .ligne { display: flex; justify-content: space-between; color: var(--gris); margin-bottom: 8px; }
.tailles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; position: relative; }
.tailles button { height: 36px; border: 1px solid var(--ligne); position: relative; z-index: 1; transition: color .35s; }
.tailles button.choisi { color: #fff; }
.tailles .curseur-taille { position: absolute; top: 0; left: 0; height: 36px; background: var(--encre); transition: transform .5s var(--ease), width .5s var(--ease); }
.achat .bouton { width: 100%; justify-content: center; height: 44px; }
.achat .bouton .ok { position: absolute; inset: 0; display: grid; place-items: center; transform: translateY(100%); transition: transform .5s var(--ease); }
.achat .bouton .txt { transition: transform .5s var(--ease); }
.achat .bouton.ajoute .txt { transform: translateY(-260%); }
.achat .bouton.ajoute .ok { transform: none; }
.progression { position: fixed; right: 10px; top: 50%; translate: 0 -50%; display: grid; gap: 6px; z-index: 40; }
.progression i { width: 3px; height: 18px; background: var(--ligne); transition: background .3s, height .4s var(--ease); }
.progression i.on { background: var(--encre); height: 30px; }

/* Rideau de transition entre pages */
.voile { position: fixed; inset: 0; z-index: 100; background: var(--encre); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.voile.part { transition: transform .6s var(--ease); transform: scaleY(1); }
.charge .voile.arrive { animation: leve .8s var(--ease) both; transform-origin: top; }
@keyframes leve { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .entete { padding: 0 16px; }
  .entete nav { gap: 12px; }
  .entete nav .masquer { display: none; }
  .entete .place-logo { width: 90px; }
  .logo { font-size: 20px; }
  .produits { padding: 64px 16px 48px; }
  .grille { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bandeau .titre-section, .manifeste, .pied { padding-left: 16px; padding-right: 16px; }
  .heros .bas { left: 16px; right: 16px; }
  .fiche { grid-template-columns: 1fr; padding: 0 16px; gap: 0; }
  .fiche .colle { position: static; height: auto; padding: 24px 0; }
  .fiche .description { order: 2; }
  .fiche .achat { order: 3; padding-bottom: 64px; }
  .galerie { order: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; }
  .galerie figure { flex: 0 0 86%; height: 62svh; scroll-snap-align: start; margin: 0; }
  .progression { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .revele, .rideau { opacity: 1; transform: none; clip-path: none; }
}

/* Fond quasi blanc des photos produit fondu dans la case */
.carte .visuel .seul, .galerie figure:not(.couvre) img { mix-blend-mode: multiply; }

/* =====================================================================
   Finitions
   ===================================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Typographie de l'interface : petites capitales espacées */
.entete nav, .petit, .heros .bas, .carte .infos span, .retour, .achat .ligne,
.tailles button, .bouton, .pied .colonnes, .rapide, .tiroir-tete .fermer {
  text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px;
}
.petit { color: var(--gris); }
.carte .infos b { font-size: 12.5px; letter-spacing: -.005em; }
.fiche h1 { font-size: 26px; letter-spacing: -.02em; }
.titre-section h2 { letter-spacing: -.005em; }

/* Titres qui montent depuis un masque */
.titre-revele .masque { display: inline-block; overflow: hidden; vertical-align: bottom; padding-top: .08em; }
.titre-revele .ligne-txt { display: inline-block; transform: translateY(110%) rotate(3deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); }
.titre-revele.vu .ligne-txt { transform: none; }

/* Héros qui s'assombrit en partant */
.heros::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #000; opacity: var(--sombre, 0); pointer-events: none; }

/* Écran d'ouverture */
.intro {
  position: fixed; inset: 0; z-index: 95; background: var(--encre); color: #fff;
  display: grid; place-items: center; transition: transform 1.1s var(--ease);
}
.intro .marque { font-size: clamp(40px, 9vw, 120px); letter-spacing: .02em; opacity: .12; }
.intro .chiffre { position: absolute; left: 24px; bottom: 22px; font: 500 12px/1 "Inter", sans-serif; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.intro .barre { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #ffffff1a; }
.intro .barre i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.intro.leve { transform: translateY(-100%); }

/* Curseur personnalisé */
.curseur {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
  width: 0; height: 0;
}
.curseur::before, .curseur span {
  position: absolute; left: 0; top: 0; translate: -50% -50%; border-radius: 50%;
  transition: width .45s var(--ease), height .45s var(--ease), opacity .3s, background .3s;
}
.curseur::before { content: ""; width: 8px; height: 8px; background: #fff; mix-blend-mode: difference; }
.curseur.lien::before { width: 34px; height: 34px; }
.curseur span {
  display: grid; place-items: center; width: 0; height: 0; overflow: hidden;
  background: var(--encre); color: #fff; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
}
.curseur.label::before { opacity: 0; }
.curseur.label span { width: 84px; height: 84px; }

/* Cartes : lien plein cadre + ajout rapide */
.carte .visuel > a { position: absolute; inset: 0; }
.carte .infos { display: block; }
.rapide {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  transform: translateY(calc(100% + 12px)); transition: transform .6s var(--ease);
}
.rapide div { display: flex; gap: 2px; }
.rapide button { min-width: 30px; height: 28px; position: relative; }
.rapide button::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--ease); }
.rapide button:hover::after { transform: none; }
.carte:hover .rapide, .carte:focus-within .rapide { transform: none; }
@media (hover: none) { .rapide { display: none; } }
.grille.trois { grid-template-columns: repeat(3, 1fr); }
.autres { border-top: 1px solid var(--ligne); margin-top: 80px; }

/* Panier latéral */
.ombre-panier { position: fixed; inset: 0; z-index: 80; background: #0006; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.tiroir {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(420px, 100%);
  background: var(--fond); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .8s var(--ease);
}
.panier-ouvert .ombre-panier { opacity: 1; pointer-events: auto; }
.panier-ouvert .tiroir { transform: none; }
.tiroir-tete { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--ligne); }
.tiroir-tete .marque { font-size: 28px; }
.tiroir-liste { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.article { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.panier-ouvert .article { animation: fondu .7s var(--ease) both; animation-delay: calc(.25s + var(--i) * .07s); }
.article .vignette { aspect-ratio: 4 / 5; background: #fff; }
.article .vignette img { object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.article b { font-weight: 500; display: block; }
.article span { color: var(--gris); }
.article .droite { display: flex; flex-direction: column; justify-content: space-between; align-items: end; }
.article .suppr { color: var(--gris); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.article .suppr:hover { color: var(--encre); }
.qte { display: inline-flex; align-items: center; border: 1px solid var(--ligne); margin-top: 12px; }
.qte button { width: 28px; height: 28px; }
.qte span { min-width: 20px; text-align: center; color: var(--encre); }
.vide { padding: 48px 0; text-align: center; color: var(--gris); line-height: 2; }
.vide a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.tiroir-pied { padding: 20px 24px 24px; border-top: 1px solid var(--ligne); }
.tiroir-pied .total { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.tiroir-pied .total b { font-weight: 500; }
.tiroir-pied .note { color: var(--gris); margin-bottom: 16px; }
.bouton.plein { width: 100%; justify-content: center; height: 46px; }

/* Zoom photo */
.zoom { position: fixed; inset: 0; z-index: 90; background: #fff; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); overflow: hidden; }
.zoom img { object-fit: contain; transform: scale(1); transition: transform .8s var(--ease); }
.zoom.ouvert { opacity: 1; pointer-events: auto; }
.zoom.ouvert img { transform: scale(1.8); }
.galerie figure { cursor: zoom-in; }
.progression { transition: opacity .4s; }
.progression.cache { opacity: 0; }

/* Newsletter */
.lettre-bloc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; padding-bottom: 56px; margin-bottom: 40px; border-bottom: 1px solid #ffffff22; }
.lettre-bloc h2 { font-size: clamp(40px, 6vw, 88px); grid-row: span 2; }
.lettre-bloc p { color: #aaa; max-width: 34em; }
.lettre-form { display: flex; gap: 10px; position: relative; }
.lettre-form input {
  flex: 1; min-width: 0; background: none; border: 0; border-bottom: 1px solid #ffffff55; color: #fff;
  font: inherit; font-size: 14px; padding: 10px 0; outline: none; transition: border-color .4s;
}
.lettre-form input:focus { border-color: #fff; }
.lettre-form .merci { position: absolute; inset: 0; display: flex; align-items: center; font-size: 14px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .6s var(--ease); }
.lettre-form.envoye > :not(.merci) { opacity: 0; pointer-events: none; transition: opacity .4s; }
.lettre-form.envoye .merci { opacity: 1; transform: none; }

/* Sélection et focus */
::selection { background: var(--encre); color: #fff; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

@media (max-width: 900px) {
  .grille.trois { grid-template-columns: repeat(2, 1fr); }
  .lettre-bloc { grid-template-columns: 1fr; }
  .lettre-bloc h2 { grid-row: auto; }
  .intro .chiffre { left: 16px; }
}


/* ---------- Démonstration Opus Sites : bandeau et fenêtre explicative ---------- */
.demo-bandeau {
  position: fixed; left: 50%; bottom: 14px; z-index: 90; translate: -50% 0;
  display: inline-flex; gap: 6px; align-items: center; white-space: nowrap;
  font-size: 11px; font-weight: 500; letter-spacing: .02em;
  color: #fff; background: rgb(13 13 13 / .82); padding: 8px 14px; border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .12);
}
.demo-bandeau:hover { background: var(--encre); }
/* Le panier a son propre bouton en bas : le bandeau s'efface pendant qu'il est ouvert. */
.demo-bandeau { transition: opacity .3s var(--ease); }
body.panier-ouvert .demo-bandeau, body.panier-ouvert .demo-bandeau-fermer { opacity: 0; pointer-events: none; }
.demo-bandeau-fermer {
  position: fixed; bottom: 14px; z-index: 90;
  width: 32px; height: 32px; border: 0; border-radius: 50%; display: none; place-items: center;
  font-size: 16px; line-height: 1; color: #fff; background: rgb(13 13 13 / .82);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .12); cursor: pointer; transition: opacity .3s var(--ease);
}
.demo-masquee .demo-bandeau, .demo-masquee .demo-bandeau-fermer { display: none; }
.demo-dialogue {
  margin: auto; width: min(440px, calc(100vw - 32px)); padding: 28px; border: 0;
  background: var(--fond); color: var(--encre); font-size: 14px; line-height: 1.55;
}
.demo-dialogue::backdrop { background: rgb(13 13 13 / .55); }
.demo-dialogue h2 { font-family: "Archivo", sans-serif; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 6px 0 12px; }
.demo-surtitre { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.demo-actions { display: grid; gap: 8px; margin-top: 22px; }
.demo-actions .bouton { justify-content: center; height: 44px; width: 100%; }
.demo-dialogue[open] { animation: demo-entree .35s var(--ease); }
@keyframes demo-entree { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .demo-dialogue[open] { animation: none; } }
.demo-actions .bouton.contour { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.demo-actions .bouton.contour::before { background: #e6e6e1; }
.page-404 { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px; }
.page-404 .marque { font-size: clamp(64px, 16vw, 180px); }
/* Téléphone : le bas du héros remonte pour laisser la place au bandeau de démonstration */
@media (max-width: 700px) {
  /* Téléphone : bas du héros en colonne (collection, puis bouton sur une ligne), au-dessus du bandeau de démonstration. */
  .heros .bas { bottom: 64px; flex-direction: column; align-items: stretch; gap: 14px; }
  .heros .bas .defiler { display: none; }
  .heros .bas .bouton { justify-content: center; white-space: nowrap; }
  /* Bandeau plus discret ; le texte complet reste lisible. */
  .demo-bandeau { font-size: 10px; padding: 6px 10px; bottom: 10px; translate: none; left: 12px; }
  .demo-bandeau-fermer { display: grid; bottom: 10px; right: 12px; }
  /* Fiche produit : photo, nom, prix, tailles et achat d'abord ; les détails ensuite. */
  .fiche { display: flex; flex-direction: column; }
  .fiche .description { display: contents; }
  .fiche .retour { order: 2; margin-top: 18px; }
  .fiche h1 { order: 3; margin: 8px 0 4px; }
  .fiche .couleur { order: 4; }
  .fiche .achat { order: 5; padding: 8px 0 24px; }
  .fiche ul { order: 6; padding-bottom: 64px; }
  .galerie figure { height: 52svh; }
}
