/* OUT-FIZ — v2 « Verre » : épuré (Apple, Hermès, Lacoste, Zalando) + transparences */

/* Ondaline : didone d'affichage dessinée par Hervé (titres, prix, chiffres) */
@font-face {
  font-family: "Ondaline";
  src: url("fonts/Ondaline-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --fond: #FAF8F5;
  --tuile: #F1EEEA;
  --texte: #111012;
  --secondaire: #6E6A6C;
  --noir: #0F0B0D;
  --rose: #E5157F;        /* logo, sur fond sombre */
  --rose-fonce: #C80F6C;  /* texte rose sur fond clair (contraste ≥ 4.5) */
  --trait: rgba(17, 16, 18, .1);

  /* Verre */
  --verre-clair: rgba(255, 255, 255, .58);
  --verre-clair-bord: rgba(255, 255, 255, .7);
  --verre-sombre: rgba(18, 12, 15, .34);
  --verre-sombre-bord: rgba(255, 255, 255, .18);
  --flou: saturate(180%) blur(22px);

  --serif: "Ondaline", "Instrument Serif", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gouttiere: clamp(16px, 4vw, 64px);
  --large: 1320px;
  --rayon: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
/* Un élément masqué reste masqué, même si une règle lui donne un display */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rose-fonce); outline-offset: 3px; }
body.lock { overflow: hidden; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--noir); color: #fff; padding: .6rem 1rem; border-radius: 999px; }
.skip:focus { left: 8px; }

/* ---------- Verre ---------- */
.verre {
  background: var(--verre-clair);
  border: 1px solid var(--verre-clair-bord);
  -webkit-backdrop-filter: var(--flou);
  backdrop-filter: var(--flou);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 40px rgba(17, 10, 14, .08);
}
.verre-sombre {
  background: var(--verre-sombre);
  border-color: var(--verre-sombre-bord);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 20px 60px rgba(0, 0, 0, .25);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .verre { background: rgba(250, 248, 245, .96); }
  .verre-sombre { background: rgba(18, 12, 15, .82); }
}

/* ---------- Typo ---------- */
.eyebrow {
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rose-fonce);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: .98; letter-spacing: -.015em;
}
h1 em, h2 em { font-style: normal; }
/* Ondaline n'a qu'un romain : jamais d'italique ni de gras simulés par le navigateur */
h1, h2, h3, .sheet-price, .facts strong, .hero-tag-prix, .split strong, .perk-n, .panier-total strong { font-synthesis: none; }
.titre-centre { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); display: grid; gap: 1rem; justify-items: center; }
.section-note { color: var(--secondaire); font-size: 1rem; max-width: 30em; }
.titre-clair { color: #fff; }
.titre-clair .eyebrow { color: #FFB3D6; }
.titre-clair h2 em { color: #FF8CC4; }
.lien { font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.lien:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: 0 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font: 500 .93rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-blanc { background: #fff; color: var(--noir); }
.btn-blanc:hover { background: var(--rose); color: #fff; }
.btn-noir { background: var(--noir); color: #fff; }
.btn-noir:hover { background: var(--rose-fonce); }
.btn-verre {
  color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35);
  -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
}
.btn-verre:hover { background: rgba(255,255,255,.28); }
.btn-contour { background: transparent; color: var(--texte); border-color: var(--texte); }
.btn-contour:hover { background: var(--texte); color: #fff; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.actions-centre { justify-content: center; }

/* ---------- Navigation flottante ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  display: flex; justify-content: center; padding: 0 var(--gouttiere);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  width: min(100%, 980px);
  display: flex; align-items: center; gap: 1.5rem;
  padding: .45rem .45rem .45rem 1.4rem; border-radius: 999px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.nav.sur-media .nav-pill { background: rgba(18, 12, 15, .22); border-color: rgba(255,255,255,.2); color: #fff; box-shadow: none; }
.logo { font: 600 1.15rem/1 var(--sans); letter-spacing: .08em; text-decoration: none; color: inherit; }
.logo span { color: var(--rose); }
.nav nav { margin: 0 auto; }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a { text-decoration: none; font-size: .86rem; font-weight: 500; opacity: .85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-wa {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 1.1rem;
  border-radius: 999px; background: var(--noir); color: #fff; text-decoration: none; font-size: .84rem; font-weight: 500;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav.sur-media .nav-wa { background: #fff; color: var(--noir); }
.nav-panier {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; color: inherit; cursor: pointer; flex: none;
}
.nav-panier:hover { background: rgba(17,16,18,.06); }
.nav.sur-media .nav-panier:hover { background: rgba(255,255,255,.14); }
.nav-panier svg { width: 21px; height: 21px; }
.nav-panier-n {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--rose); color: #fff; font: 600 .66rem/18px var(--sans); text-align: center;
}
.nav-wa:hover { background: var(--rose-fonce); color: #fff; }
.nav-wa svg { width: 17px; height: 17px; }
.burger { display: none; }

/* ---------- Accueil ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--noir);
  display: grid; place-items: end center;
  padding: 0 var(--gouttiere) clamp(3.9rem, 6vh, 4.4rem);
}
.hero-media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.15fr 1fr; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-side { filter: saturate(.9) brightness(.82); }
.hero-voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(15,11,13,.35), transparent 22%),
    linear-gradient(to top, rgba(15,11,13,.7), transparent 55%);
}
.hero-panel {
  position: relative; z-index: 2; text-align: center;
  /* Large et bas : le titre tient sur deux lignes et laisse la vidéo visible au-dessus */
  width: min(100%, 1060px); padding: clamp(1rem, 1.6vw, 1.4rem) clamp(1.4rem, 3vw, 2.8rem);
  border-radius: 28px; display: grid; gap: .55rem; justify-items: center;
}
.hero-panel .eyebrow { color: #FFB3D6; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.6vw, 3.6rem);
  line-height: .98; letter-spacing: -.02em;
}
.hero h1 em { color: #FF9BCB; }
.lead { font-size: clamp(.95rem, 1.2vw, 1.08rem); font-weight: 300; opacity: .92; max-width: 58em; text-wrap: balance; }
.hero-panel .actions { justify-content: center; margin-top: .4rem; }

.hero-tag {
  position: absolute; z-index: 2; right: var(--gouttiere); top: 50%; transform: translateY(-50%);
  display: grid; gap: .15rem; text-align: left; padding: .9rem 1.1rem; border-radius: 18px; cursor: pointer;
  border-style: solid; border-width: 1px; min-width: 220px;
  transition: background .3s var(--ease);
}
.hero-tag:hover { background: rgba(18, 12, 15, .5); }
.hero-tag-nom { font-size: .82rem; opacity: .85; }
.hero-tag-prix { font: 400 1.5rem/1.1 var(--serif); }
.hero-tag-voir { font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #FFB3D6; margin-top: .3rem; }

/* Faits : bandeau de verre à cheval sur l'accueil */
.facts {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 2 * var(--gouttiere)), 1100px);
  margin: -46px auto 0; border-radius: 24px; overflow: hidden;
}
.facts li { padding: 1.3rem 1.4rem; display: grid; gap: .1rem; text-align: center; }
.facts li + li { border-left: 1px solid var(--trait); }
.facts strong { font: 400 1.75rem/1.1 var(--serif); }
.facts span { font-size: .8rem; color: var(--secondaire); }

/* ---------- Collection ---------- */
.collection { max-width: var(--large); margin: 0 auto; padding: clamp(5rem, 10vw, 8.5rem) var(--gouttiere) 0; }
.filters-bar { position: sticky; top: 84px; z-index: 20; display: flex; justify-content: center; margin-bottom: .6rem; }
.filters {
  display: flex; gap: .3rem; padding: .35rem; border-radius: 999px;
  overflow-x: auto; scrollbar-width: none; max-width: 100%;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 1.1rem; border-radius: 999px; border: 0;
  background: transparent; color: var(--texte); font-size: .85rem; font-weight: 500; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.chip:hover { background: rgba(17,16,18,.06); }
.chip[aria-pressed="true"] { background: var(--noir); color: #fff; }
.count { text-align: center; margin: .8rem 0 2rem; font-size: .82rem; color: var(--secondaire); }

/* Affiner : taille, prix, tri */
.affiner { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .8rem; }
.select-pill {
  position: relative; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 2rem 0 1rem;
  border: 1px solid var(--trait); border-radius: 999px; background: #fff; font-size: .82rem; cursor: pointer;
}
.select-pill span { color: var(--secondaire); }
.select-pill select { appearance: none; border: 0; background: transparent; font: 500 .84rem/1 var(--sans); color: var(--texte); cursor: pointer; padding: .5rem 0; }
.select-pill::after { content: ""; position: absolute; right: .9rem; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid var(--texte); border-bottom: 1.5px solid var(--texte); transform: rotate(45deg); pointer-events: none; }
.select-pill:focus-within { outline: 2px solid var(--rose-fonce); outline-offset: 2px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.6rem 1.25rem; }
.card-lien { display: block; text-decoration: none; color: inherit; }
.card-media {
  position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; border-radius: var(--rayon);
  background: var(--tuile);
}
.card-media img, .card-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), opacity .45s var(--ease);
}
.card-media video { opacity: 0; }
.card.playing .card-media video { opacity: 1; }
.card-lien:hover .card-media img { transform: scale(1.045); }
.card { position: relative; }
.card-badges { position: absolute; top: .7rem; left: .7rem; z-index: 2; display: grid; justify-items: start; gap: .3rem; }
.card-badge { padding: .32rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 500; letter-spacing: .02em; }
.card-badge-nouveau { background: var(--rose-fonce); color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: .64rem; }

/* Cœur : garder une pièce dans ses coups de cœur */
.coeur {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  cursor: pointer; color: var(--texte);
}
.coeur svg { width: 19px; height: 19px; overflow: visible; }
.coeur svg path { fill: transparent; transition: fill .25s var(--ease), stroke .25s var(--ease); }
.coeur[aria-pressed="true"] { color: var(--rose); }
.coeur[aria-pressed="true"] svg path { fill: var(--rose); }
.coeur[aria-pressed="true"] svg { animation: battre .45s var(--ease); }
@keyframes battre { 40% { transform: scale(1.28); } }
.card-coeur { position: absolute; top: .6rem; right: .6rem; z-index: 3; }
.card-coeur:hover { color: var(--rose-fonce); }

/* Recherche */
.recherche {
  display: flex; align-items: center; gap: .6rem; width: min(100%, 460px); margin: .9rem auto 0; min-height: 46px; padding: 0 1.1rem;
  border: 1px solid var(--trait); border-radius: 999px; background: #fff; cursor: text;
}
.recherche svg { width: 19px; height: 19px; flex: none; color: var(--secondaire); }
.recherche input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16px/1 var(--sans); color: var(--texte); padding: .7rem 0; }
.recherche input:focus { outline: none; }
.recherche:focus-within { outline: 2px solid var(--rose-fonce); outline-offset: 2px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chip-coeur { display: inline-flex; align-items: center; gap: .4rem; color: var(--rose-fonce); }
.chip-coeur svg { width: 15px; height: 15px; fill: currentColor; }
.chip-coeur[aria-pressed="true"] { background: var(--rose-fonce); }

/* Vus récemment : une rangée de petites cartes */
.recents { margin-top: clamp(4rem, 7vw, 5.5rem); display: grid; gap: 1.2rem; }
.recents h3 { font: 400 clamp(1.8rem, 3vw, 2.4rem)/1 var(--serif); }
.recents-liste {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 180px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .4rem;
}
.recents-liste::-webkit-scrollbar { display: none; }
.card-mini { scroll-snap-align: start; }
.card-mini .card-name { font-size: .82rem; }
.card-mini .card-prix { font-size: .72rem; padding: .32rem .55rem; left: .45rem; bottom: .45rem; }
.card-prix {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 2;
  padding: .45rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 500;
}
.card-play {
  position: absolute; right: .7rem; bottom: .7rem; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
}
.card-play svg { width: 13px; height: 13px; margin-left: 2px; }
.card-info { padding: 1rem .2rem 0; display: grid; gap: .2rem; }
.card-name { font-size: .92rem; font-weight: 500; line-height: 1.35; }
.card-sizes { font-size: .76rem; color: var(--secondaire); letter-spacing: .05em; }
.card-lien:focus-visible { outline: 2px solid var(--rose-fonce); outline-offset: 4px; border-radius: var(--rayon); }
.card[hidden] { display: none; }
.more { display: flex; justify-content: center; margin-top: 3.2rem; }
.more .btn[hidden] { display: none; }

/* ---------- Sections à fond image + verre ---------- */
.preorder, .community { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.fond-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.fond-voile { position: absolute; inset: 0; z-index: -1; background: rgba(15, 11, 13, .55); }
.preorder h2 em { white-space: nowrap; }

.preorder { margin-top: clamp(6rem, 12vw, 10rem); padding: clamp(5rem, 10vw, 8rem) var(--gouttiere); }
.preorder-inner { max-width: 1100px; margin: 0 auto; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.perks li { padding: 1.6rem 1.4rem 1.8rem; border-radius: var(--rayon); display: grid; align-content: start; gap: .6rem; }
.perk-n { font: 400 1.7rem/1 var(--serif); color: #FF9BCB; }
.perks h3 { font-size: 1.02rem; font-weight: 500; line-height: 1.35; }
.perks p { font-size: .9rem; font-weight: 300; opacity: .9; }
.perks-nav { display: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; margin: 1rem auto 2.4rem; border-radius: var(--rayon); overflow: hidden; max-width: 560px; }
.split div { padding: 1.3rem; display: grid; gap: .15rem; text-align: center; }
.split div:first-child { background: rgba(229, 21, 127, .78); }
.split strong { font: 400 2.6rem/1 var(--serif); }
.split span { font-size: .84rem; }

/* ---------- Boutiques ---------- */
.stores { max-width: var(--large); margin: 0 auto; padding: clamp(6rem, 12vw, 10rem) var(--gouttiere) 0; }
.stores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.store {
  background: var(--tuile); border-radius: var(--rayon); padding: 2rem 1.8rem;
  display: flex; flex-direction: column; gap: .5rem; min-height: 280px;
}
.store h3 { font: 400 2.3rem/1.05 var(--serif); margin-top: .4rem; }
.store-adr { color: var(--secondaire); font-size: .95rem; }
.store-tel { font-size: 1.05rem; font-weight: 500; text-decoration: none; margin-top: .4rem; }
.store-tel:hover { color: var(--rose-fonce); }
.store-links { margin-top: auto; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .88rem; }
.store-noir { background: var(--noir); color: #fff; }
.store-noir .eyebrow { color: #FFB3D6; }
.store-noir .store-adr { color: #C9BEC3; }

.alert {
  margin: 1rem 0 0; display: flex; gap: 1.1rem; align-items: start;
  padding: 1.5rem 1.6rem; border-radius: var(--rayon);
  background: rgba(252, 232, 241, .7); border-color: rgba(229, 21, 127, .22);
}
.alert svg { width: 30px; height: 30px; flex: none; color: var(--rose-fonce); }
.alert h3 { font-size: .98rem; font-weight: 600; margin-bottom: .25rem; }
.alert p { font-size: .9rem; color: #4A3A41; }
.alert a { font-weight: 600; white-space: nowrap; }

/* ---------- Communauté ---------- */
.community {
  margin-top: clamp(6rem, 12vw, 10rem);
  min-height: 78svh; display: grid; place-items: center; padding: 5rem var(--gouttiere);
}
.fond-triptyque { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(3, 1fr); }
.fond-triptyque img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: blur(2px); transform: scale(1.04); }
.preorder .fond-voile { background: linear-gradient(to bottom, rgba(15, 11, 13, .45), rgba(15, 11, 13, .12) 45%, rgba(15, 11, 13, .45)); }
.community-card { width: min(100%, 720px); border-radius: 28px; padding: clamp(2rem, 5vw, 3.4rem); text-align: center; display: grid; gap: 1rem; }
.community-card .eyebrow { color: #FFB3D6; }
.community-card h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.community-card h2 em { color: #FF9BCB; }
.community-card .actions { margin-top: .8rem; }

/* ---------- Pied de page : noir, grande signature en Ondaline ---------- */
.footer {
  background: var(--noir); color: rgba(255,255,255,.62); font-size: .88rem;
  padding: clamp(4rem, 8vw, 6rem) var(--gouttiere) calc(5.5rem + env(safe-area-inset-bottom));
  overflow: hidden;
}
.footer > * { max-width: var(--large); margin-inline: auto; }
.footer a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
.footer a:hover { color: #fff; }
.footer-haut {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem;
  padding-bottom: clamp(2.4rem, 5vw, 3.4rem); border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-intro { display: grid; gap: .9rem; }
.footer .eyebrow { color: #FFB3D6; }
.footer-phrase { font: 400 clamp(2.1rem, 4.2vw, 3.4rem)/1.02 var(--serif); color: #fff; max-width: 14em; font-synthesis: none; }
.footer-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer .btn-blanc { color: var(--noir); }
.footer .btn-blanc:hover { color: #fff; }
.footer .btn-verre { color: #fff; }

.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: clamp(2.4rem, 5vw, 3.4rem) 0; }
.footer-cols h3 { color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-cols p, .footer-cols a { display: block; line-height: 2; }
.footer-cols a[href^="tel:"] { color: #fff; font-weight: 500; }
.footer-lien { color: #FF9BCB !important; }

/* La signature : OUT-FIZ sur toute la largeur */
.footer-marque {
  display: block; text-align: center; color: #fff !important; font-synthesis: none;
  font: 400 clamp(5.2rem, 23.5vw, 21rem)/.78 var(--serif); letter-spacing: -.02em;
  padding: .12em 0 .06em; white-space: nowrap;
}
.footer-marque span { color: var(--rose); }
.footer-marque:hover span { color: #fff; }

.footer-bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem;
  padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; color: rgba(255,255,255,.45);
}

/* ---------- Bouton WhatsApp flottant (verre) ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(31, 175, 84, .88); color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  box-shadow: 0 10px 30px rgba(31, 175, 84, .35);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float.cache { opacity: 0; transform: scale(.8); pointer-events: none; }
.wa-float svg { width: 27px; height: 27px; }

/* ---------- Fiche produit ---------- */
.sheet {
  width: min(980px, calc(100% - 32px)); max-height: calc(100svh - 32px);
  padding: 0; border: 1px solid rgba(255,255,255,.6); border-radius: 28px; overflow: hidden;
  background: rgba(250, 248, 245, .78); color: var(--texte);
  -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px);
  box-shadow: 0 40px 120px rgba(0,0,0,.35);
}
.sheet::backdrop { background: rgba(15, 11, 13, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.sheet[open] { animation: monter .5s var(--ease); }
@keyframes monter { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-height: calc(100svh - 32px); }
.sheet-media { background: var(--noir); }
.sheet-media video { width: 100%; height: 100%; max-height: calc(100svh - 32px); object-fit: contain; }
.sheet-body { position: relative; padding: 3.2rem 2.4rem 2.4rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; }
.sheet-body h2 { font-size: clamp(2.1rem, 3.4vw, 2.9rem); line-height: 1.04; }
.sheet-price { font: 400 1.9rem/1 var(--serif); color: var(--rose-fonce); }
.sheet-badge { align-self: start; font-size: .78rem; font-weight: 500; padding: .35rem .8rem; border-radius: 999px; background: rgba(229, 21, 127, .1); color: var(--rose-fonce); }
.sheet-close {
  position: absolute; z-index: 3; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%;
  color: var(--texte); cursor: pointer; display: grid; place-items: center;
}
.sheet-close svg { width: 18px; height: 18px; }
.sizes { border: 0; padding: 0; margin: .4rem 0; }
.sizes legend { font-size: .84rem; font-weight: 500; margin-bottom: .6rem; }
#sheet-sizes { display: flex; flex-wrap: wrap; gap: .45rem; }
.size {
  min-width: 54px; min-height: 44px; padding: 0 .8rem; border-radius: 999px;
  border: 1px solid var(--trait); background: rgba(255,255,255,.7); font-size: .86rem; font-weight: 500; cursor: pointer; color: var(--texte);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.size:hover { border-color: var(--texte); }
.size[aria-pressed="true"] { background: var(--noir); color: #fff; border-color: var(--noir); }
.sheet-note { font-size: .8rem; color: var(--secondaire); }
.sheet-ig { align-self: start; font-size: .86rem; color: var(--rose-fonce); }

/* ---------- La Cabine : rail d'actions, glissé d'une pièce à l'autre ---------- */
.sheet-media { position: relative; overflow: hidden; }
.sheet-media video { cursor: pointer; }
.sheet-rail {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; justify-items: center; gap: .55rem;
}
.rail-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  color: #fff; background: rgba(18, 12, 15, .38); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  transition: background .25s var(--ease), opacity .25s var(--ease);
}
.rail-btn:hover { background: rgba(18, 12, 15, .6); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn svg { width: 22px; height: 22px; }
.rail-btn.coeur[aria-pressed="true"] { color: #fff; background: rgba(229, 21, 127, .85); border-color: rgba(255,255,255,.4); }
.rail-btn.coeur[aria-pressed="true"] svg path { fill: #fff; }
.rail-pos { font-size: .72rem; font-weight: 500; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); letter-spacing: .04em; }
.sheet-pause {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; pointer-events: none;
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(18, 12, 15, .4); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
}
.sheet-pause svg { width: 26px; height: 26px; margin-left: 4px; }
.sheet-astuce {
  position: absolute; left: 50%; top: 42%; transform: translateX(-50%); z-index: 2; pointer-events: none;
  padding: .7rem 1.1rem; border-radius: 999px; font-size: .84rem; font-weight: 500; color: #fff; white-space: nowrap;
  background: rgba(18, 12, 15, .5); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  animation: astuce 1.6s var(--ease) infinite;
}
@keyframes astuce { 50% { transform: translate(-50%, -14px); } }
.glisse-haut video, .sheet-body.glisse-haut > :not(.sheet-close) { animation: depuis-bas .45s var(--ease); }
.glisse-bas video, .sheet-body.glisse-bas > :not(.sheet-close) { animation: depuis-haut .45s var(--ease); }
@keyframes depuis-bas { from { opacity: 0; transform: translateY(48px); } }
@keyframes depuis-haut { from { opacity: 0; transform: translateY(-48px); } }

.sheet-prix-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; }
.sheet-badge-nouveau { background: var(--rose-fonce); color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.sheet-boutons { display: grid; gap: .6rem; }
.sheet-details { border-top: 1px solid var(--trait); padding-top: .9rem; }
.sheet-details summary {
  list-style: none; cursor: pointer; font-size: .86rem; font-weight: 500; display: flex; align-items: center; justify-content: space-between;
  min-height: 32px;
}
.sheet-details summary::-webkit-details-marker { display: none; }
.sheet-details summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .3s var(--ease); }
.sheet-details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.sheet-details[open] > :not(summary) { margin-top: .8rem; }
.sheet-liens { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }

/* Page pièce : cœur et partage à côté du prix */
.piece-actions { display: flex; gap: .5rem; }
.piece-actions .coeur, .piece-actions .rail-btn { width: 46px; height: 46px; border: 1px solid var(--trait); background: #fff; color: var(--texte); -webkit-backdrop-filter: none; backdrop-filter: none; }
.piece-actions .coeur[aria-pressed="true"] { color: var(--rose); }

/* ---------- Aide taille, liens secondaires ---------- */
.sizes-aide { margin-top: .6rem; font-size: .82rem; font-weight: 500; color: var(--rose-fonce); }
.sheet-page { align-self: start; font-size: .86rem; }
.btn-contour svg { width: 19px; height: 19px; }

/* ---------- Panier (tiroir de verre) ---------- */
.panier {
  margin: 0 0 0 auto; height: 100svh; max-height: 100svh; width: min(440px, 100%); max-width: 100%;
  padding: 0; border: 0; border-left: 1px solid rgba(255,255,255,.6);
  background: rgba(250, 248, 245, .86); color: var(--texte);
  -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px);
  box-shadow: -30px 0 90px rgba(0,0,0,.25);
  display: none; flex-direction: column;
}
.panier[open] { display: flex; animation: glisser .45s var(--ease); }
@keyframes glisser { from { transform: translateX(40px); opacity: 0; } }
.panier::backdrop { background: rgba(15, 11, 13, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.panier-tete { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.4rem 1rem; padding-top: calc(1.4rem + env(safe-area-inset-top)); }
.panier-tete h2 { font-size: 2.2rem; }
.panier-tete .sheet-close { position: static; }
.panier-corps { flex: 1; overflow-y: auto; padding: 0 1.4rem 1rem; display: grid; align-content: start; gap: 1.4rem; }
.panier-vide { color: var(--secondaire); padding: 1rem 0; }
.panier-lignes { display: grid; gap: 1rem; }
.ligne { display: grid; grid-template-columns: 74px 1fr; gap: .9rem; align-items: start; }
.ligne-img { display: block; aspect-ratio: 3 / 4.2; border-radius: 12px; overflow: hidden; background: var(--tuile); }
.ligne-img img { width: 100%; height: 100%; object-fit: cover; }
.ligne-txt { display: grid; gap: .25rem; min-width: 0; }
.ligne-nom { font-size: .92rem; font-weight: 500; text-decoration: none; line-height: 1.35; }
.ligne-meta { font-size: .8rem; color: var(--secondaire); }
.ligne-actions { display: flex; align-items: center; gap: 1rem; margin-top: .3rem; }
.qte { display: inline-flex; align-items: center; border: 1px solid var(--trait); border-radius: 999px; background: #fff; }
.qte button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1.05rem; color: var(--texte); border-radius: 50%; }
.qte span { min-width: 1.4rem; text-align: center; font-size: .86rem; font-weight: 500; }
.ligne-retirer { border: 0; background: none; padding: .5rem 0; font-size: .8rem; color: var(--secondaire); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.panier-zones { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; }
.panier-zones legend { font-size: .84rem; font-weight: 600; margin-bottom: .5rem; }
.panier-zones.a-choisir legend { color: var(--rose-fonce); }
.panier-zones.a-choisir legend::after { content: " · à choisir pour envoyer"; font-weight: 500; }
.zone {
  display: grid; grid-template-columns: auto 1fr; gap: .1rem .7rem; align-items: center;
  padding: .75rem .9rem; border: 1px solid var(--trait); border-radius: 14px; background: rgba(255,255,255,.7); cursor: pointer; font-size: .88rem;
}
.zone:has(input:checked) { border-color: var(--noir); background: #fff; }
.zone input { grid-row: span 2; accent-color: var(--noir); width: 18px; height: 18px; margin: 0; }
.zone em { font-style: normal; font-size: .76rem; color: var(--secondaire); }
.panier-pied { border-top: 1px solid var(--trait); padding: 1.1rem 1.4rem; padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)); display: grid; gap: .6rem; background: rgba(250, 248, 245, .6); }
.panier-total { display: flex; justify-content: space-between; align-items: baseline; }
.panier-total strong { font: 400 1.7rem/1 var(--serif); }
.panier-note, .panier-aide { font-size: .78rem; color: var(--secondaire); }
.btn.desactive { opacity: .45; }

/* ---------- Notification ---------- */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 1rem; padding: .7rem .7rem .7rem 1.2rem; border-radius: 999px;
  width: max-content; max-width: calc(100% - 32px); font-size: .86rem; animation: monter .35s var(--ease);
}
.toast-voir { border: 0; border-radius: 999px; background: #fff; color: var(--noir); font: 500 .8rem/1 var(--sans); padding: .6rem .9rem; cursor: pointer; white-space: nowrap; }
dialog .toast { position: fixed; }

/* ---------- Page produit ---------- */
.page-piece { background: var(--fond); }
.piece {
  max-width: var(--large); margin: 0 auto; padding: 7rem var(--gouttiere) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.piece-media { position: sticky; top: 90px; border-radius: 28px; overflow: hidden; background: var(--noir); aspect-ratio: 9 / 16; max-height: calc(100svh - 120px); justify-self: center; width: 100%; max-width: 520px; }
.piece-media video { width: 100%; height: 100%; object-fit: cover; }
.piece-info { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; }
.fil { font-size: .8rem; color: var(--secondaire); }
.fil a { color: inherit; }
.piece-info h1 { font: 400 clamp(2.4rem, 4.4vw, 3.6rem)/1.02 var(--serif); letter-spacing: -.01em; }
.piece-desc { color: var(--secondaire); max-width: 34em; }
.piece-infos { display: grid; gap: .4rem; padding: 1rem 0 0; border-top: 1px solid var(--trait); font-size: .84rem; color: var(--secondaire); list-style: none; }
.piece-infos li::before { content: "·"; margin-right: .5rem; color: var(--rose-fonce); }
.voisines { max-width: var(--large); margin: 0 auto; padding: clamp(5rem, 9vw, 7rem) var(--gouttiere) 0; display: grid; gap: 2rem; }
.voisines h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.vu { opacity: 1; transform: none; }

/* ---------- Tablette ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: 1fr 1fr; }
  .hero-tag { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .nav { inset: 10px 0 auto; }
  .nav-pill { padding: .35rem .35rem .35rem 1.1rem; gap: .6rem; }
  .nav nav { margin: 0; }
  .nav-panier { margin-left: auto; }
  .nav-wa { padding: 0 .9rem; }
  .nav-wa span { display: none; }
  .burger { display: block; position: relative; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 0; color: inherit; }
  .burger span { position: absolute; left: 10px; top: 50%; width: 20px; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .3s var(--ease); }
  .burger span:first-child { transform: translateY(-3.5px); }
  .burger span:last-child { transform: translateY(3.5px); }
  .burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

  /* Le menu se déplie dans la pilule elle-même (le verre y reste flou) */
  .nav-pill { flex-wrap: wrap; border-radius: 26px; transition: background .3s var(--ease), color .3s var(--ease), border-radius .3s var(--ease); }
  .nav nav { order: 3; width: 100%; }
  .nav-links { display: none; flex-direction: column; gap: 0; padding: .2rem .5rem .7rem 0; }
  .nav-links.ouvert { display: flex; animation: deplier .35s var(--ease); }
  @keyframes deplier { from { opacity: 0; transform: translateY(-6px); } }
  .nav.menu-ouvert .nav-pill { background: rgba(250, 248, 245, .9); border-color: rgba(255,255,255,.8); color: var(--texte); }
  .nav.menu-ouvert .nav-wa { background: var(--noir); color: #fff; }
  .nav-links li + li { border-top: 1px solid var(--trait); }
  .nav-links a { display: block; font: 400 2rem/1.2 var(--serif); padding: .7rem 0; opacity: 1; }

  .hero { min-height: 560px; }
  .hero-media { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .hero { padding-bottom: 3.6rem; }
  .hero-panel { border-radius: 24px; padding: 1.2rem 1rem 1.1rem; gap: .6rem; }
  .hero h1 { font-size: clamp(2.2rem, 9.6vw, 3rem); }
  .hero .lead { display: none; }
  .hero-panel .actions { flex-wrap: nowrap; gap: .5rem; margin-top: .2rem; }
  .hero-panel .btn { min-height: 46px; padding: 0 1.1rem; font-size: .86rem; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: -34px; }
  .facts li { padding: 1rem .8rem; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--trait); }
  .facts strong { font-size: 1.45rem; }

  .filters-bar { top: 74px; margin-inline: calc(var(--gouttiere) * -1); padding-inline: 10px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 1.9rem .7rem; }
  .card-media { border-radius: 18px; }
  .card-prix { font-size: .74rem; padding: .38rem .62rem; left: .5rem; bottom: .5rem; }
  .card-play { width: 30px; height: 30px; right: .5rem; bottom: .5rem; }
  .card-badge { top: .5rem; left: .5rem; font-size: .64rem; }
  .card-name { font-size: .86rem; }

  /* Cartes de la précommande en carrousel : le bloc reste court et la vidéo de fond se voit */
  .perks {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: .8rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gouttiere) * -1); padding: 0 var(--gouttiere) .4rem; scroll-padding-inline: var(--gouttiere);
  }
  .perks::-webkit-scrollbar { display: none; }
  .perks li { scroll-snap-align: start; }
  .perks-nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: .9rem; }
  .perks-points { display: flex; gap: .4rem; }
  .perks-points span { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.42); transition: width .3s var(--ease), background .3s var(--ease); }
  .perks-points span.actif { width: 22px; background: #FF9BCB; }
  /* Un petit élan des cartes vers la gauche, une fois, pour montrer qu'elles défilent */
  .perks.elan li { animation: elan 1.2s var(--ease) 2; }
  .preorder { padding-block: 6.5rem 4rem; }
  .stores-grid { grid-template-columns: 1fr; }
  .store { min-height: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
  .footer-actions, .footer-actions .btn { width: 100%; }
  .footer-bas { display: grid; }
  .fond-triptyque { grid-template-columns: 1fr; }
  .fond-triptyque img + img { display: none; }

  .piece { grid-template-columns: 1fr; padding-top: 5.4rem; gap: 1.6rem; }
  .piece-media { position: static; height: 58svh; max-height: none; width: auto; border-radius: 22px; }
  .piece-info { padding-top: 0; }
  .panier { width: 100%; border-left: 0; }
  .select-pill { padding: 0 1.8rem 0 .9rem; flex: none; }
  .affiner { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gouttiere) * -1); padding: 2px var(--gouttiere); }
  .affiner::-webkit-scrollbar { display: none; }
  /* La Cabine sur téléphone : la pièce en plein écran, les infos dans un panneau de verre en bas */
  .sheet { width: 100%; max-width: 100%; max-height: 100svh; height: 100svh; border-radius: 0; margin: 0; border: 0; background: var(--noir); }
  .sheet[open] { animation: none; }
  .sheet-inner { display: block; position: relative; height: 100%; max-height: none; }
  .sheet-media { position: absolute; inset: 0; touch-action: none; }
  .sheet-media video { height: 100%; max-height: none; object-fit: cover; }
  .sheet-rail { top: calc(66px + env(safe-area-inset-top)); right: 12px; transform: none; gap: .45rem; }
  .rail-btn { width: 44px; height: 44px; }
  .sheet-body {
    position: absolute; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 2;
    max-height: 60svh; overflow-y: auto; overscroll-behavior: contain;
    padding: 1.1rem 1.1rem 1.1rem; gap: .65rem; border-radius: 24px;
    color: #fff; background: rgba(18, 12, 15, .5); border: 1px solid rgba(255,255,255,.16);
    -webkit-backdrop-filter: saturate(160%) blur(24px); backdrop-filter: saturate(160%) blur(24px);
  }
  .sheet-body .eyebrow { color: #FFB3D6; }
  .sheet-body h2 { font-size: 1.85rem; line-height: 1.05; padding-right: 0; }
  .sheet-body .sheet-price { font-size: 1.6rem; color: #FF9BCB; }
  .sheet-body .sheet-badge:not(.sheet-badge-nouveau) { background: rgba(255,255,255,.14); color: #fff; }
  .sheet-body .sizes { margin: .1rem 0; }
  .sheet-body .sizes legend { margin-bottom: .45rem; }
  .sheet-body #sheet-sizes { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sheet-body .size { flex: none; min-width: 48px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
  .sheet-body .size[aria-pressed="true"] { background: #fff; color: var(--noir); border-color: #fff; }
  .sheet-body .sizes-aide { color: #FF9BCB; }
  .sheet-boutons { display: flex; }
  .sheet-boutons .btn-noir { flex: 1; background: #fff; color: var(--noir); }
  #sheet-order { width: 50px; padding: 0; flex: none; color: #fff; border-color: rgba(255,255,255,.4); background: rgba(31, 175, 84, .85); }
  #sheet-order span { display: none; }
  .sheet-body .sheet-details { border-color: rgba(255,255,255,.16); padding-top: .5rem; }
  .sheet-body .piece-desc, .sheet-body .sheet-note { color: rgba(255,255,255,.78); }
  .sheet-body .sheet-ig { color: #FF9BCB; }
  .sheet-close { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 3; color: #fff; background: rgba(18, 12, 15, .38); border-color: rgba(255,255,255,.22); }
  .sheet .toast { bottom: calc(50% + 24px); }
  .piece-actions { margin-left: auto; }
}

/* Écrans tactiles : le verre des cartes reste translucide mais sans flou (plus fluide sur les téléphones modestes) */
@keyframes elan { 0%, 100% { transform: none; } 45% { transform: translateX(-52px); } }

@media (hover: none) {
  .card .verre { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.82); }
  .card .verre-sombre { background: rgba(18,12,15,.55); }
}

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