/* FIZZ Casual & Chic — crème lumineux, espresso, orange du logo ; verre seulement sur les photos et vidéos */

:root {
  --fond: #FBF7F2;
  --tuile: #F1E9DF;
  --texte: #1F1713;
  --secondaire: #6E625A;
  --noir: #1F1713;
  --rose: #F0843F;        /* orange du logo FIZZ, sur fond sombre */
  --rose-fonce: #A84B14;  /* texte orange sur fond clair (contraste ≥ 4.5) */
  --trait: rgba(31, 23, 19, .11);

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

  --serif: "Bodoni Moda", Didot, Georgia, serif;
  --sans: "Jost", 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: 500; }
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(31, 23, 19, .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(251, 247, 242, .96); }
  .verre-sombre { background: rgba(31, 23, 19, .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; }
/* Titres en Bodoni Moda : graisses réelles, jamais simulées */
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: #FFC9A3; }
.titre-clair h2 em { color: #FFB27F; }
.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; }

/* ---------- 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: #FFC9A3; }
.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: #FFB27F; }
.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(31, 23, 19, .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: #FFC9A3; 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(31, 23, 19, .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: #FFB27F; }
.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(240, 132, 63, .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: #FFC9A3; }
.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(240, 132, 63, .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(31, 23, 19, .66), rgba(31, 23, 19, .5) 45%, rgba(31, 23, 19, .66)); }
.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: #FFC9A3; }
.community-card h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.community-card h2 em { color: #FFB27F; }
.community-card .actions { margin-top: .8rem; }

/* ---------- Pied de page : espresso, grande signature FIZZ ---------- */
.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: #FFC9A3; }
.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: #FFB27F !important; }

/* La signature : FIZZ sur toute la largeur, en orange */
.footer-marque {
  display: block; text-align: center; color: var(--rose) !important; font-synthesis: none;
  font: 800 clamp(5.2rem, 26vw, 23rem)/.8 var(--serif); letter-spacing: .06em;
  padding: .12em 0 .06em; white-space: nowrap;
}
.footer-marque:hover { color: #fff !important; }

.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(251, 247, 242, .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(31, 23, 19, .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(240, 132, 63, .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(31, 23, 19, .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(31, 23, 19, .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(240, 132, 63, .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(31, 23, 19, .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(31, 23, 19, .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(251, 247, 242, .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(31, 23, 19, .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(251, 247, 242, .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) {
  .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: #FFB27F; }
  /* 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(31, 23, 19, .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: #FFC9A3; }
  .sheet-body h2 { font-size: 1.85rem; line-height: 1.05; padding-right: 0; }
  .sheet-body .sheet-price { font-size: 1.6rem; color: #FFB27F; }
  .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: #FFB27F; }
  .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: #FFB27F; }
  .sheet-close { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 3; color: #fff; background: rgba(31, 23, 19, .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; }
}

/* ---------- FIZZ : photos dans la Cabine, vignettes, listes d'agences ---------- */
.sheet-media img { width: 100%; height: 100%; max-height: calc(100svh - 32px); object-fit: contain; cursor: pointer; background: var(--tuile); }
.glisse-haut img, .glisse-bas img { animation: depuis-bas .45s var(--ease); }
.glisse-bas img { animation-name: depuis-haut; }
.sheet-points {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2;
  display: flex; gap: .4rem; padding: .45rem .6rem; border-radius: 999px;
  background: rgba(31, 23, 19, .38); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
}
.sheet-points button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s var(--ease), background .3s var(--ease); }
.sheet-points button[aria-pressed="true"] { width: 22px; background: #fff; }
/* Zone de toucher plus large que le point visible */
.sheet-points button { position: relative; }
.sheet-points button::after { content: ""; position: absolute; inset: -10px -4px; }

.piece-galerie { display: grid; gap: .8rem; justify-items: center; position: sticky; top: 90px; }
.piece-galerie .piece-media { position: static; }
.piece-media img { width: 100%; height: 100%; object-fit: cover; background: var(--tuile); }
.piece-vignettes { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; max-width: 520px; }
.vignette { position: relative; width: 58px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; background: var(--tuile); cursor: pointer; }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.vignette[aria-pressed="true"] { outline: 2px solid var(--texte); outline-offset: 2px; }
.vignette.video::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -4px;
  border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}

.store-liste { display: grid; gap: .15rem; margin-top: .8rem; font-size: .95rem; color: var(--secondaire); letter-spacing: .02em; }
.store-nb { max-width: 46em; margin: 1.4rem auto 0; text-align: center; font-size: .86rem; color: var(--secondaire); }
.community-note { font-size: .98rem; font-weight: 300; opacity: .9; max-width: 32em; margin: 0 auto; }
.hero h1 em { font-style: italic; font-weight: 400; }

@media (max-width: 820px) {
  .sheet-media img { height: 100%; max-height: none; object-fit: cover; }
  .sheet-points { bottom: auto; top: calc(18px + env(safe-area-inset-top)); left: 16px; transform: none; }
  .piece-galerie { position: static; }
  .piece-vignettes { justify-content: flex-start; }
}

/* Bodoni Moda en grand : un corps optique plus petit garde des déliés lisibles, même sur une photo */
h1, h2, h3, .sheet-price, .facts strong, .hero-tag-prix, .perk-n, .panier-total strong, .footer-phrase, .nav-links a { font-variation-settings: "opsz" 24; }
.perks li { background: rgba(31, 23, 19, .5); }
.perks p { font-weight: 400; opacity: 1; color: rgba(255, 255, 255, .88); }

/* Accueil : une seule grande photo plein cadre, comme une affiche */
.hero-media { display: block; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 820px) { .hero-photo { object-position: 50% 20%; } }

/* =====================================================================
   Inspiration grands magasins (Otto, IKEA) : en-tête plein avec grande
   recherche, rayons en pastilles, rangées qui défilent, cartes au gros
   prix, mosaïque de tuiles, points cliquables sur les looks.
   ===================================================================== */
:root { --entete-h: 76px; }
h2 { font: 700 clamp(1.7rem, 3.2vw, 2.6rem)/1.12 var(--sans); letter-spacing: -.015em; font-variation-settings: normal; }
.titre-centre { text-align: left; justify-items: start; margin: 0 0 1.6rem; max-width: none; }
.section-note { max-width: 40em; }
.community-card h2 { font: 500 clamp(2.2rem, 4.6vw, 3.8rem)/1.05 var(--serif); letter-spacing: -.01em; }
.community-card, .community-card .actions { text-align: center; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: var(--fond); border-bottom: 1px solid var(--trait); }
.entete-haut {
  max-width: var(--large); margin: 0 auto; padding: .7rem var(--gouttiere);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.4rem);
}
.logo { font: 800 1.7rem/1 var(--serif); letter-spacing: .1em; text-decoration: none; color: var(--rose-fonce); }
.entete-recherche {
  display: flex; align-items: center; gap: .7rem; min-height: 48px; padding: 0 1.2rem; border-radius: 999px;
  background: #F2ECE4; border: 1px solid transparent; transition: border-color .2s, background .2s;
}
.entete-recherche:focus-within { background: #fff; border-color: var(--texte); }
.entete-recherche svg { width: 20px; height: 20px; flex: none; color: var(--texte); }
.entete-recherche input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16px/1 var(--sans); color: var(--texte); padding: .8rem 0; }
.entete-recherche input:focus { outline: none; }
.entete-recherche input::placeholder { color: var(--secondaire); }
.entete-icones { display: flex; align-items: center; gap: .2rem; }
.icone {
  position: relative; display: grid; justify-items: center; gap: .2rem; min-width: 58px; padding: .35rem .4rem; border: 0; border-radius: 12px;
  background: none; color: var(--texte); text-decoration: none; font: 500 .7rem/1 var(--sans); cursor: pointer;
}
.icone:hover { background: rgba(31, 23, 19, .06); }
.icone svg { width: 23px; height: 23px; }
.icone-wa svg { color: #1A9E4B; }
.nav-panier-n {
  position: absolute; top: 0; right: 10px; 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;
}

/* Accueil : la photo sous l'en-tête, la bande d'avantages dessous */
.hero { height: calc(100svh - var(--entete-h)); min-height: 520px; }
.facts {
  margin: 0; width: 100%; border-radius: 0; background: var(--tuile);
  padding-inline: max(var(--gouttiere), calc((100% - var(--large)) / 2 + var(--gouttiere)));
}
.facts li { padding: 1.1rem 1rem; }
.facts strong { font: 700 1.15rem/1.2 var(--sans); font-variation-settings: normal; }
.facts span { font-size: .8rem; }

/* Rayons en pastilles avec photo */
.rayons { max-width: var(--large); margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) var(--gouttiere) 0; }
.rayons-liste { display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.rayons-liste::-webkit-scrollbar { display: none; }
.rayon {
  flex: none; display: inline-flex; align-items: center; gap: .7rem; padding: .35rem 1.1rem .35rem .35rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--trait); text-decoration: none; color: var(--texte); font-size: .9rem; font-weight: 500;
  transition: border-color .2s, background .2s;
}
.rayon:hover { border-color: var(--texte); }
.rayon img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }

/* Rangées qui défilent */
.rangee { max-width: var(--large); margin: 0 auto; padding: clamp(3rem, 6vw, 4.6rem) var(--gouttiere) 0; }
.rangee-tete { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.rangee-note { color: var(--secondaire); margin-top: .35rem; }
.rangee-lien { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.rangee-lien svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.rangee-lien:hover svg { transform: translateX(3px); }
.rail { position: relative; }
.rail-liste { display: grid; grid-auto-flow: column; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .2rem; }
.rail-liste::-webkit-scrollbar { display: none; }
.rail-liste > li { scroll-snap-align: start; }
.grid-rail { grid-auto-columns: calc((100% - 4 * 1rem) / 5); }
.rail-fleche {
  position: absolute; top: 38%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 0; background: #fff; color: var(--texte); box-shadow: 0 4px 18px rgba(31, 23, 19, .18); cursor: pointer;
  transition: opacity .2s;
}
.rail-fleche[data-sens="-1"] { left: -14px; }
.rail-fleche[data-sens="1"] { right: -14px; }
.rail-fleche:disabled { opacity: 0; pointer-events: none; }
.rail-fleche svg { width: 22px; height: 22px; }
.rail-progres { height: 2px; margin-top: 1.2rem; background: var(--trait); overflow: hidden; }
.rail-progres span { display: block; height: 100%; width: 30%; background: var(--texte); transition: transform .2s linear; }

/* Cartes produit : nom en gras, type, gros prix */
.card-media { border-radius: 8px; aspect-ratio: 3 / 4; }
.card-info { padding: .8rem .1rem 0; gap: .15rem; }
.card-name { font-size: .95rem; font-weight: 700; line-height: 1.3; }
.card-type { font-size: .8rem; color: var(--secondaire); }
.card-badge {
  justify-self: start; font-size: .72rem; font-weight: 700; color: var(--rose-fonce); letter-spacing: .02em;
  padding: 0; background: none; border-radius: 0;
}
.card-badge-doux { color: var(--secondaire); }
.prix { display: block; margin-top: .35rem; color: var(--texte); line-height: 1; }
.prix strong { font: 700 1.45rem/1 var(--sans); letter-spacing: -.01em; }
.prix small { font-size: .78rem; font-weight: 600; }
.prix-demande { font-size: .9rem; font-weight: 600; }
.card-play { top: .6rem; bottom: auto; right: auto; left: .6rem; width: 30px; height: 30px; background: rgba(31, 23, 19, .55); color: #fff; }
.card-coeur { background: #fff; box-shadow: 0 2px 10px rgba(31, 23, 19, .12); }
.card-ajouter {
  position: absolute; right: .2rem; bottom: .1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--rose-fonce); color: #fff; cursor: pointer; transition: background .2s, transform .2s;
}
.card-ajouter:hover { background: var(--texte); }
.card-ajouter:active { transform: scale(.94); }
.card-ajouter svg { width: 21px; height: 21px; }
.card .card-info { padding-right: 52px; }

/* Mosaïque de tuiles */
.mosaique {
  max-width: var(--large); margin: 0 auto; padding: clamp(3rem, 6vw, 4.6rem) var(--gouttiere) 0;
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 1rem;
}
.tuile {
  position: relative; display: flex; align-items: end; padding: 1.5rem; min-height: 220px; overflow: hidden;
  border-radius: 8px; text-decoration: none; color: #fff; isolation: isolate;
}
.tuile-haute { grid-row: span 2; min-height: 460px; }
.tuile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: -2; transition: transform .8s var(--ease); }
.tuile-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(31, 23, 19, .72), transparent 55%); }
.tuile-photo:hover img { transform: scale(1.04); }
.tuile-orange { background: var(--rose-fonce); }
.tuile-espresso { background: var(--texte); }
.tuile-texte { display: grid; gap: .35rem; max-width: 22em; padding-right: 3.4rem; }
.tuile-texte strong { font: 700 clamp(1.3rem, 2.2vw, 1.75rem)/1.15 var(--sans); }
.tuile-texte span { font-size: .92rem; opacity: .9; }
.tuile-fleche {
  position: absolute; right: 1.3rem; bottom: 1.3rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid currentColor; transition: background .25s, color .25s;
}
.tuile-fleche svg { width: 20px; height: 20px; }
.tuile:hover .tuile-fleche { background: #fff; color: var(--texte); }
.mosaique .tuile:nth-child(4) { grid-column: 2 / span 2; }

/* Looks avec points cliquables */
.looks { grid-auto-columns: calc((100% - 3 * 1rem) / 4); }
.look { position: relative; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: var(--tuile); }
.look img { width: 100%; height: 100%; object-fit: cover; }
.point {
  position: absolute; z-index: 2; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(31, 23, 19, .45); cursor: pointer; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.point::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.3); transition: transform .25s var(--ease); }
.point:hover::before, .point:focus-visible::before { transform: scale(1.25); }
.point-bulle {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); display: grid; gap: .15rem; white-space: nowrap;
  padding: .55rem .8rem; border-radius: 8px; background: #fff; color: var(--texte); font-size: .8rem; text-align: left;
  box-shadow: 0 6px 20px rgba(31, 23, 19, .2); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.point-bulle strong { font-size: .82rem; }
.point:hover .point-bulle, .point:focus-visible .point-bulle { opacity: 1; }

/* Filtres et compteur alignés à gauche, collés sous l'en-tête */
.filters-bar { top: calc(var(--entete-h) + 8px); justify-content: flex-start; }
.affiner { justify-content: flex-start; }
.count { text-align: left; }
.recents h3 { font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.15 var(--sans); }
.piece { padding-top: 2.4rem; }
.piece-galerie { top: calc(var(--entete-h) + 16px); }

@media (max-width: 1100px) {
  .grid-rail { grid-auto-columns: calc((100% - 2 * 1rem) / 3.3); }
  .looks { grid-auto-columns: calc((100% - 2 * 1rem) / 3.2); }
  .mosaique { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tuile-haute { grid-row: span 2; }
  .mosaique .tuile:nth-child(4) { grid-column: auto; }
}
@media (max-width: 820px) {
  .entete-haut { grid-template-columns: auto 1fr; row-gap: .55rem; padding-block: .55rem .7rem; }
  .entete-icones { justify-self: end; }
  .entete-recherche { grid-column: 1 / -1; min-height: 44px; }
  .icone { min-width: 50px; }
  .logo { font-size: 1.45rem; }
  .grid-rail { grid-auto-columns: 44%; gap: .7rem; }
  .looks { grid-auto-columns: 62%; gap: .7rem; }
  .rail-fleche { display: none; }
  .facts li { padding: .8rem .6rem; }
  .facts strong { font-size: 1rem; }
  .mosaique { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .tuile { min-height: 190px; padding: 1rem; }
  .tuile-haute { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .tuile-texte { padding-right: 0; padding-bottom: 3rem; }
  .tuile-texte strong { font-size: 1.15rem; }
  .tuile-texte span { font-size: .82rem; }
  .tuile-fleche { right: 1rem; bottom: 1rem; width: 38px; height: 38px; left: auto; }
  .mosaique .tuile:nth-child(4) { grid-column: 1 / -1; min-height: 220px; }
  .prix strong { font-size: 1.25rem; }
  .card .card-info { padding-right: 46px; }
  .card-ajouter { width: 40px; height: 40px; }
  .rangee-tete { align-items: start; }
  .point-bulle { display: none; }
}

/* Fiche et page pièce : nom et prix en gras, comme les cartes */
.sheet-body h2, .piece-info h1 { font: 700 clamp(1.7rem, 3vw, 2.4rem)/1.12 var(--sans); letter-spacing: -.015em; font-variation-settings: normal; }
.sheet-price { font: 700 1.9rem/1 var(--sans); color: var(--texte); font-variation-settings: normal; }
.panier-tete h2 { font: 700 1.6rem/1.1 var(--sans); }
.panier-total strong { font: 700 1.6rem/1 var(--sans); font-variation-settings: normal; }
@media (max-width: 820px) {
  .sheet-body h2 { font-size: 1.5rem; }
  .sheet-body .sheet-price { font-size: 1.5rem; color: #fff; }
}

/* Téléphone : logo et icônes sur la première ligne, la recherche dessous */
@media (max-width: 820px) {
  .entete-icones { grid-row: 1; grid-column: 2; }
  .entete-recherche { grid-row: 2; }
  .icone { padding: .25rem .3rem; gap: .15rem; }
  .icone svg { width: 22px; height: 22px; }
  .rayon { white-space: nowrap; padding-right: .95rem; font-size: .86rem; }
  .rayon img { width: 38px; height: 38px; }
  .grid-rail { grid-auto-columns: 47%; }
}
