/* Douce Tchadienne : 80 % blanc, 20 % noir et bordeaux. Grands titres fins, cartes vitrées, coins découpés. */
:root {
  --blanc: #fff; --noir: #000; --bordeaux: #6b0b0c; --pale: #f5f3f2; --gris: #6d6a6a; --estompe: #bdb9b9; --ligne: rgba(0, 0, 0, .12);
  --police: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .85, .2, 1);
  --bord: clamp(14px, 2.4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; background: var(--blanc); color: var(--noir); font: 400 16.5px/1.55 var(--police); overflow-x: clip; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 2px; border-radius: 6px; }
.hero :focus-visible { outline-color: var(--blanc); }
.icone { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icone.plein { fill: currentColor; stroke: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; transition: transform .25s var(--ease), background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-blanc { background: var(--blanc); color: var(--noir); }
.btn-whatsapp { background: var(--bordeaux); color: var(--blanc); }
.btn-whatsapp:hover { background: var(--noir); }
.btn-contour { border: 1.5px solid currentColor; }
.btn-large { width: 100%; }

/* En-tête */
.entete { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--bord); color: var(--blanc); }
.menu { display: none; gap: 26px; font-size: 14.5px; font-weight: 500; }
.menu a:hover { opacity: .7; }
.logo { grid-column: 2; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 19px; letter-spacing: -.03em; }
.btn-panier { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 15px; border-radius: 999px; background: var(--blanc); color: var(--noir); font-weight: 600; font-size: 15px; }
.compteur { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 999px; background: var(--bordeaux); color: var(--blanc); font-size: 13px; }
.compteur.pop { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }

/* Hero */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: var(--bordeaux); color: var(--blanc); padding: 84px var(--bord) 18px; }
.hero-fond { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 12%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .74)); }
.hero-titre { position: relative; z-index: 2; margin-top: auto; }
.hero-verres { position: relative; z-index: 3; display: grid; gap: 10px; margin-top: 14px; }
.hero-titre { font-weight: 300; font-size: 19.4vw; line-height: .96; letter-spacing: -.065em; }
.hero-titre span { display: block; }
.hero-bas { position: relative; z-index: 3; display: grid; gap: 14px; margin-top: 14px; justify-items: start; }
.slogan { font-weight: 300; font-size: clamp(32px, 10vw, 60px); line-height: 1.02; letter-spacing: -.05em; }
.verre { display: flex; align-items: center; gap: 11px; padding: 9px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.verre img { width: 58px; height: 68px; border-radius: 13px; object-fit: cover; object-position: top; background: var(--blanc); }
.verre strong { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.2; }
.verre small { font-size: 14px; opacity: .9; }
.verre .plus-grand { font-weight: 300; font-size: 36px; line-height: 1; letter-spacing: -.05em; }
.rond { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; background: var(--blanc); color: var(--noir); font-size: 18px; transition: transform .25s var(--ease), background .2s, color .2s; }
@media (min-width: 900px) {
  .menu { display: flex; }
  .hero { height: 100vh; height: 100svh; min-height: 640px; padding: 0; }
  .hero-titre { position: absolute; bottom: 22px; left: 0; right: 0; margin: 0; text-align: center; font-size: 10.9vw; white-space: nowrap; }
  .hero-titre span { display: inline; }
  .hero-bas { position: absolute; left: var(--bord); bottom: calc(11vw + 50px); margin: 0; width: 46vw; }
  .hero-verres { position: absolute; right: var(--bord); bottom: calc(11vw + 50px); width: 280px; margin: 0; }
  .slogan { font-size: clamp(32px, 3.3vw, 56px); }
}
@media (max-width: 899px) { .verre-chiffre { display: none; } }

/* Vitrine : texte géant et photo inclinée */
.vitrine { padding: clamp(40px, 6vw, 70px) var(--bord); overflow: hidden; }
.vitrine-haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.cercle { display: grid; place-content: center; text-align: center; width: 150px; height: 150px; border-radius: 50%; background: var(--pale); font-size: 13.5px; line-height: 1.25; }
.cercle b { display: block; font-weight: 400; font-size: 30px; letter-spacing: -.04em; }
.carte-encoche { position: relative; flex: 0 1 460px; padding: 22px 26px 26px; border-radius: 26px; background: var(--pale); }
.carte-encoche::before { content: ''; position: absolute; left: 0; bottom: 0; width: 66px; height: 42px; background: var(--blanc); border-top-right-radius: 24px; }
.carte-encoche strong { display: block; font-weight: 600; font-size: 19px; }
.carte-encoche p { color: var(--gris); }
.carte-encoche p + p { padding-left: 52px; }
.scene { position: relative; margin-top: 30px; text-align: center; }
.geant { font-weight: 300; font-size: 10.6vw; line-height: 1.05; letter-spacing: -.06em; }
.geant span { display: block; white-space: nowrap; }
.geant i { font-style: normal; color: var(--estompe); }
.tilt { position: relative; width: 62vw; aspect-ratio: 3 / 4.1; margin: 14px auto 0; border-radius: 42px; overflow: hidden; transform: rotate(-9deg); background: var(--pale); }
.tilt button { display: block; width: 100%; height: 100%; }
.tilt img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; transition: opacity .3s; }
.tilt figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 14px; border-radius: 16px; background: rgba(0, 0, 0, .6); color: var(--blanc); pointer-events: none; }
.tilt figcaption strong { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.2; }
.fleches { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 38px; }
.fleche { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ligne); background: var(--blanc); }
.fleche.pleine { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.points { position: absolute; left: 50%; bottom: -24px; translate: -50% 0; display: flex; gap: 7px; }
.points span { width: 8px; height: 8px; border-radius: 50%; background: var(--estompe); transition: background .2s, transform .2s; }
.points span.actif { background: var(--bordeaux); transform: scale(1.3); }
@media (min-width: 900px) {
  .scene { min-height: 34vw; margin-top: -10px; display: grid; align-content: center; }
  .tilt { position: absolute; left: 50%; top: 45%; width: min(19vw, 290px); margin: 0; translate: -50% -50%; }
  .fleches { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; margin: 0; gap: min(23vw, 350px); }
  .points { bottom: -18px; }
}

/* Catalogue : grand panneau, coins découpés */
.panneau { margin: 30px var(--bord) 0; padding: clamp(24px, 4vw, 56px) clamp(14px, 3vw, 44px) clamp(30px, 5vw, 70px); border-radius: 38px; background: var(--pale); }
.panneau-haut { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.mini-photo { width: 76px; height: 50px; border-radius: 13px; object-fit: cover; object-position: 50% 12%; margin-bottom: 18px; }
.titre { font-weight: 300; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.055em; }
.sous-titre { max-width: 38ch; margin-top: 12px; color: var(--gris); }
.filtres { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.filtres::-webkit-scrollbar { display: none; }
.filtre { flex: none; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--blanc); font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.filtre[aria-pressed="true"] { background: var(--noir); color: var(--blanc); }
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tenue { position: relative; }
.tenue[hidden] { display: none; }
.tenue-photo { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 24px; background: #e7e4e2; }
.tenue-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .6s var(--ease); }
@media (hover: hover) { .tenue-photo:hover img { transform: scale(1.06); } }
.tenue-bas { padding: 9px 4px 2px; }
.tenue-nom { font-weight: 500; font-size: 14.5px; line-height: 1.2; }
.tenue-prix { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; color: var(--bordeaux); }
.encoche { position: absolute; top: -1px; right: -1px; display: grid; place-items: center; width: 60px; height: 60px; background: var(--pale); border-bottom-left-radius: 20px; }
.encoche::before, .encoche::after { content: ''; position: absolute; width: 18px; height: 18px; background: radial-gradient(circle at 0 100%, transparent 17.5px, var(--pale) 18px); }
.encoche::before { left: -18px; top: 0; }
.encoche::after { right: 0; bottom: -18px; }
.encoche .rond { margin: 0; background: var(--noir); color: var(--blanc); }
.encoche .rond:hover { background: var(--bordeaux); transform: rotate(90deg); }
.etiquette { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px; background: var(--bordeaux); color: var(--blanc); font-size: 13px; font-weight: 600; }
@media (min-width: 720px) { .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) {
  .panneau { max-width: 1400px; margin-inline: auto; }
  .grille { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; }
  .tenue-photo { aspect-ratio: 4 / 5; }
  .encoche { width: 52px; height: 52px; }
  .encoche .rond { width: 38px; height: 38px; font-size: 15px; }
}

/* Commander */
.commander { padding: clamp(56px, 8vw, 110px) var(--bord); }
.etapes { display: grid; gap: 26px; margin-top: 34px; counter-reset: e; }
.etapes li { counter-increment: e; border-top: 1px solid var(--ligne); padding-top: 16px; }
.etapes li::before { content: counter(e); display: block; font-weight: 300; font-size: 52px; line-height: 1; letter-spacing: -.05em; color: var(--bordeaux); margin-bottom: 12px; }
.etapes strong { display: block; font-weight: 600; font-size: 20px; }
.etapes span { color: var(--gris); }
@media (min-width: 900px) { .etapes { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Pied de page */
.pied { padding: clamp(36px, 5vw, 60px) var(--bord) 0; background: var(--noir); color: var(--blanc); overflow: hidden; }
.pied-haut { display: grid; gap: 26px; }
.pied h2 { font-weight: 300; font-size: clamp(36px, 5vw, 68px); line-height: 1.04; letter-spacing: -.05em; max-width: 15ch; }
.pied-contacts { display: grid; gap: 9px; font-size: 16.5px; }
.pied-contacts a:hover { text-decoration: underline; }
.credit { margin-top: 30px; font-size: 13.5px; opacity: .75; }
.grand-mot { margin: 14px 0 -.14em; font-weight: 300; font-size: 29vw; line-height: 1; letter-spacing: -.065em; white-space: nowrap; text-align: center; padding-right: .03em; }
@media (min-width: 900px) { .pied-haut { grid-template-columns: 1fr auto auto; gap: 60px; align-items: start; } }

/* Fenêtres */
dialog { color: var(--noir); border: 0; padding: 0; background: var(--blanc); }
dialog::backdrop { background: rgba(0, 0, 0, .55); }
.fiche { width: min(920px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 26px; overflow: auto; overscroll-behavior: contain; }
.fiche-corps { display: grid; }
.fiche-photo { aspect-ratio: 1 / 1; background: var(--pale); }
.fiche-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.fiche-info { display: grid; gap: 16px; align-content: start; padding: 22px; }
.fiche-info h3 { font-weight: 300; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.05em; padding-right: 40px; }
.fiche-prix { font-weight: 700; font-size: 24px; color: var(--bordeaux); }
.note { font-size: 15px; color: var(--gris); }
.groupe > span { display: block; margin-bottom: 8px; font-weight: 600; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix button { min-width: 50px; height: 46px; padding: 0 14px; border-radius: 13px; border: 1.5px solid var(--ligne); font-weight: 600; }
.choix button[aria-pressed="true"] { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.quantite { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--ligne); border-radius: 13px; }
.quantite button { width: 44px; height: 44px; font-size: 20px; }
.quantite output { min-width: 26px; text-align: center; font-weight: 700; }
.fermer { position: absolute; z-index: 3; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blanc); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.panier { width: min(460px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; }
.panier[open] { display: flex; flex-direction: column; }
.panier-haut { padding: 22px 70px 14px 22px; }
.panier-haut h3 { font-weight: 300; font-size: 34px; line-height: 1.1; letter-spacing: -.05em; }
.panier-liste { flex: 1; overflow: auto; padding: 0 22px; overscroll-behavior: contain; }
.ligne { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.ligne img { width: 66px; height: 82px; border-radius: 12px; object-fit: cover; object-position: top; }
.ligne strong { display: block; font-weight: 600; font-size: 16px; line-height: 1.2; }
.ligne small { display: block; color: var(--gris); font-size: 14px; }
.ligne-prix { font-weight: 700; color: var(--bordeaux); font-size: 15px; }
.retirer { align-self: flex-start; margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; color: var(--gris); }
.vide { padding: 44px 0; text-align: center; color: var(--gris); }
.panier-bas { display: grid; gap: 11px; padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ligne); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 21px; }
.champ { width: 100%; min-height: 48px; padding: 0 15px; border: 1.5px solid var(--ligne); border-radius: 13px; font: inherit; background: var(--blanc); color: var(--noir); }
.champ:focus { border-color: var(--bordeaux); outline: none; }
.barre-commande { position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateY(160%); transition: transform .35s var(--ease); box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
.barre-commande { visibility: hidden; }
.barre-commande.visible { transform: none; visibility: visible; }
@media (min-width: 760px) {
  .fiche-corps { grid-template-columns: 1fr 1fr; }
  .fiche-photo { aspect-ratio: auto; min-height: 560px; }
  .fiche-info { padding: 36px 30px; }
  .barre-commande { display: none; }
}

html.js-anime .hero-anime { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Passe intuitive et immersive */
.entete { position: fixed; transition: background .3s, color .3s, padding .3s, box-shadow .3s; }
.entete.compact { padding-block: 8px; background: rgba(255, 255, 255, .94); color: var(--noir); box-shadow: 0 1px 0 var(--ligne); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.entete.compact .btn-panier { background: var(--noir); color: var(--blanc); }

.bandeau { overflow: hidden; padding: 14px 0; background: var(--noir); color: var(--blanc); font-size: 15px; }
.bandeau-piste { display: flex; width: max-content; animation: defile 34s linear infinite; }
.bandeau-groupe { display: flex; flex: none; }
.bandeau-groupe span { padding: 0 34px; white-space: nowrap; position: relative; }
.bandeau-groupe span::after { content: ''; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--bordeaux); }
@keyframes defile { to { transform: translateX(-50%); } }

.tri { flex: none; height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--blanc); font: 500 15px var(--police); color: var(--noir); }
.tilt { touch-action: pan-y; cursor: grab; }
.facultatif { font-weight: 400; color: var(--gris); font-size: 13.5px; }
.rassure { font-size: 14px; color: var(--gris); text-align: center; }
.suggestions { border-top: 1px solid var(--ligne); padding-top: 14px; }
.suggestions > span { display: block; font-weight: 600; margin-bottom: 9px; }
.suggestions-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.suggestions-liste button { text-align: left; font-size: 13px; line-height: 1.25; }
.suggestions-liste img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 12px; margin-bottom: 5px; }
.suggestions-liste b { display: block; color: var(--bordeaux); }

@media (hover: hover) and (pointer: fine) {
  .fiche-photo { overflow: hidden; cursor: zoom-in; }
  .fiche-photo img { transition: transform .3s var(--ease); }
  .fiche-photo:hover img { transform: scale(1.9); }
}
@keyframes fiche-entre { from { opacity: 0; transform: translateY(26px) scale(.98); } }
@keyframes panier-entre { from { transform: translateX(100%); } }
@keyframes fond-entre { from { opacity: 0; } }
.fiche[open] { animation: fiche-entre .35s var(--ease); }
.panier[open] { animation: panier-entre .38s var(--ease); }
dialog[open]::backdrop { animation: fond-entre .3s; }

.mini-qte { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; border: 1.5px solid var(--ligne); border-radius: 11px; }
.mini-qte button { width: 40px; height: 40px; font-size: 18px; }
.mini-qte output { min-width: 22px; text-align: center; font-weight: 700; font-size: 15px; }
.vide .btn { margin-top: 16px; }

.flottant { position: fixed; z-index: 30; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bordeaux); color: var(--blanc); font-size: 22px; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); transition: transform .25s var(--ease), opacity .25s; }
.flottant:hover { transform: scale(1.07); }
@media (max-width: 759px) { body.a-commande .flottant { opacity: 0; pointer-events: none; } }
@media (max-width: 899px) { body:not(.hors-hero) .flottant { opacity: 0; pointer-events: none; } }

.toast { position: fixed; z-index: 45; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 11px; width: min(380px, calc(100vw - 24px)); padding: 9px 10px; border-radius: 18px; background: var(--noir); color: var(--blanc); font-size: 14.5px; font-weight: 500; transform: translate(-50%, 24px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast img { width: 42px; height: 50px; border-radius: 10px; object-fit: cover; object-position: top; }
.toast button { margin-left: auto; flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--blanc); color: var(--noir); font-weight: 600; font-size: 14px; }
@media (min-width: 760px) { .toast { left: auto; right: 86px; bottom: 18px; transform: translateY(24px); } .toast.visible { transform: none; } }
.vol { position: fixed; z-index: 60; border-radius: 14px; object-fit: cover; object-position: top; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .bandeau-piste { animation: none; } }

/* Rayons du catalogue */
.categorie[hidden] { display: none; }
.categorie + .categorie { margin-top: clamp(36px, 5vw, 64px); }
.categorie-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--ligne); }
.categorie-tete h3 { font-weight: 300; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.05em; }
.categorie-tete span { color: var(--gris); font-size: 15px; }

/* Téléphone à l'horizontale : titre sur une ligne, l'image reste visible */
@media (max-height: 500px) and (max-width: 899px) {
  .hero { padding-top: 70px; }
  .hero-titre { font-size: 10.6vw; white-space: nowrap; }
  .hero-titre span { display: inline; }
  .slogan { font-size: 28px; }
  .hero-bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .hero-verres { display: none; }
}
/* Petits téléphones : le logo ne touche pas le panier, le visage reste dégagé */
@media (max-width: 359px) { .logo { font-size: 16px; } .entete { grid-template-columns: auto 1fr; } .logo { grid-column: 1; } .btn-panier { grid-column: 2; } }
@media (max-height: 640px) and (max-width: 899px) { .hero-verres { display: none; } }