/*
 * Livraison Tiramisu — styles de la page d'accueil, repris au pixel près des maquettes Claude Design
 * (design/Accueil Mobile.dc.html à 390 px, design/Accueil Desktop.dc.html à 1440 px).
 * Mobile d'abord ; tout ce qui est propre au desktop est dans les blocs @media (min-width: 1024px).
 */

@font-face { font-family: 'Clash Display'; src: url("../fonts/clash-display-500-J_k5v4u.woff2") format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url("../fonts/clash-display-600-DSQ-QdH.woff2") format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url("../fonts/clash-display-700-onOnuyA.woff2") format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face {
    font-family: 'DM Sans'; src: url("../fonts/dm-sans-latin-ext-IEjh_5Q.woff2") format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Sans'; src: url("../fonts/dm-sans-latin-a5iVIQs.woff2") format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #1A110B;
    --bg-deep: #140D08;
    --bg-night: #0E0906;
    --card: #2B1B17;
    --cream: #FAF4ED;
    --yellow: #FFE500;
    --pistachio: #B5D96B;
    --muted: #C9B8A8;
    --muted-2: #D9CABC;
    --line: rgba(250, 244, 237, .08);
    --display: 'Clash Display', sans-serif;
    --mono: ui-monospace, Menlo, monospace;
    --mobile-max: 640px;
}
/* Marge latérale : 16 px sur téléphone (maquette 390 px), contenu centré sur 608 px au-delà ;
   en desktop, 80 px à 1440 px (maquette) et contenu centré sur 1280 px au-delà. Les fonds restent pleine largeur.
   cqw = largeur de .page (sans la barre de défilement, contrairement à vw). */
.page { --gutter: max(16px, calc((100cqw - 608px) / 2)); }
@media (min-width: 1024px) {
    /* 80 px à 1440 px (5,556 %), au moins 40 px vers 1024 px, puis contenu centré sur 1280 px. */
    .page { --gutter: max(clamp(40px, 5.556cqw, 80px), calc((100cqw - 1280px) / 2)); }
}

/* ---------------------------------------------------------------- Base */

html, body { margin: 0; background: var(--bg-night); }
* { box-sizing: border-box; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: not-allowed; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: #FFF9E6; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
[hidden] { display: none !important; }
img, svg { flex: none; }
body::after {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .08; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes t74pulse { 0% { box-shadow: 0 0 0 0 rgba(91,214,122,.7); } 70% { box-shadow: 0 0 0 9px rgba(91,214,122,0); } 100% { box-shadow: 0 0 0 0 rgba(91,214,122,0); } }
@keyframes t74up { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes t74fade { from { opacity: 0; } to { opacity: 1; } }
/* Sorties (non prévues par la maquette) : inverse des entrées, plus courtes. */
@keyframes t74down { from { transform: translate(-50%, 0); } to { transform: translate(-50%, 100%); } }
@keyframes t74fadeout { from { opacity: 1; } to { opacity: 0; } }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { color: var(--yellow); }

@media (max-width: 1023.98px) { .d-only { display: none !important; } }
@media (min-width: 1024px) { .m-only { display: none !important; } }

.page {
    container-type: inline-size; background: var(--bg); color: var(--cream);
    font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.5;
    position: relative; min-height: 100vh;
}
@media (min-width: 1024px) {
    .page { font-size: 17px; line-height: 1.55; }
}

/* Libellés des emplacements photo de la maquette */
.ph-label { position: absolute; font-family: var(--mono); color: rgba(250, 244, 237, .6); }
/* Fond « photo » générique : dégradé teinté + hachures */
.product__photo, .featured__photo {
    background: radial-gradient(85% 75% at 50% 80%, var(--tone) 0%, rgba(26,17,11,0) 62%), repeating-linear-gradient(135deg, rgba(250,244,237,.04) 0 2px, transparent 2px 9px), #23160F;
}

.eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pistachio); }
.h2 { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.05; margin: 0; }
@media (min-width: 1024px) {
    .eyebrow { margin: 0 0 10px; font-size: 13px; }
    .h2 { font-size: 48px; line-height: 1; letter-spacing: -.015em; }
}

/* ---------------------------------------------------------------- Boutons */

.btn { display: flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; }
.btn--primary { background: var(--yellow); color: var(--bg); font-weight: 700; }
.btn--primary:hover { color: var(--bg); }
.btn--ghost { border: 1.5px solid rgba(250, 244, 237, .28); color: var(--cream); font-weight: 600; }
.btn--ghost:hover { color: var(--cream); }

.icon-btn { width: 44px; height: 44px; border-radius: 999px; background: var(--card); display: grid; place-items: center; color: var(--cream); }
.round-btn { width: 44px; height: 44px; border-radius: 50%; background: #EFE5D9; display: grid; place-items: center; }
.round-btn--dark { background: #3A2620; }

.badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; line-height: 1.3; border: 1px solid; }
.badge--best { background: var(--yellow); color: var(--bg); border-color: var(--yellow); }
.badge--new { background: var(--pistachio); color: var(--bg); border-color: var(--pistachio); }
.badge--veg { background: rgba(26, 17, 11, .75); color: var(--cream); border-color: rgba(250, 244, 237, .5); }
.badge--out { background: #3A2D27; color: #F0E6DC; border-color: #6A5A50; }

.add-btn {
    position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--yellow); color: var(--bg);
    display: grid; place-items: center; box-shadow: 0 6px 18px rgba(255, 229, 0, .18);
}
.add-btn:disabled { background: #3A2D27; color: #7D6D63; }
.add-btn--lg { width: 52px; height: 52px; }
.add-btn__qty {
    position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
    background: var(--cream); color: var(--bg); font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--card);
}

/* ---------------------------------------------------------------- Statut + en-tête */

/* Courbe des transitions d'en-tête de la maquette */
.page { --ease-hd: cubic-bezier(.2, .8, .2, 1); }

.topbar { position: relative; z-index: 20; background: var(--bg); }
.status { --st-rgb: 91, 214, 122; --st-color: #5BD67A; display: flex; justify-content: center; align-items: center; padding: 8px 12px 0; }
.status--open { --st-rgb: 91, 214, 122; --st-color: #5BD67A; }
.status__pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; min-height: 30px; padding: 5px 14px 5px 10px;
    border-radius: 999px; background: rgba(var(--st-rgb), .12); border: 1px solid rgba(var(--st-rgb), .32); box-shadow: 0 0 18px rgba(var(--st-rgb), .12);
    font-size: 12.5px; font-weight: 600; letter-spacing: .01em; line-height: 1.25; text-align: center;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-color, #5BD67A); flex: none; }
.status--open .status__dot { animation: t74pulse 1.8s ease-out infinite; }
.status__dot--static { animation: none !important; }

.header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; height: 104px; padding: 12px calc(var(--gutter) - 4px); background: var(--bg); }
.header__menu { justify-self: start; }
.header__logo {
    justify-self: center; display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--cream);
    font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em;
}
.header__logo:hover { color: var(--cream); }
.header__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.logo-img { display: block; object-fit: contain; }
.logo-img--header { width: 120px; height: 80px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
.logo-text { display: flex; align-items: center; gap: 6px; }
.logo-text__num { background: var(--yellow); color: var(--bg); border-radius: 999px; padding: 2px 9px 1px; font-size: 17px; line-height: 1.2; }

.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 999px; background: var(--card); display: grid; place-items: center; color: var(--cream); }
.cart-btn__count {
    position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    background: var(--yellow); color: var(--bg); font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg);
}

/* Barre compacte mobile : descend du haut quand on a défilé (header_controller.js → .is-scrolled) */
.minibar {
    position: fixed; top: 0; left: 50%; z-index: 25; width: 100%; max-width: var(--mobile-max); padding: 8px 10px 0;
    transform: translate(-50%, -130%); opacity: 0; pointer-events: none;
    transition: transform .4s var(--ease-hd), opacity .25s ease;
}
.is-scrolled .minibar { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.minibar__inner {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; height: 60px; padding: 0 8px; border-radius: 999px;
    background: rgba(26, 17, 11, .86); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(250, 244, 237, .1); box-shadow: 0 14px 32px -12px rgba(0, 0, 0, .75);
}
.minibar__center { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.minibar__logo { display: flex; flex: none; text-decoration: none; color: var(--cream); font-family: var(--display); font-weight: 700; font-size: 16px; }
.minibar__logo .logo-text__num { font-size: 13px; padding: 1px 7px 0; }
.logo-img--mini { width: 60px; height: 40px; }
.minibar__status {
    display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 10px 4px 8px; border-radius: 999px;
    background: rgba(var(--st-rgb), .12); border: 1px solid rgba(var(--st-rgb), .32); font-size: 12px; font-weight: 600; white-space: nowrap;
}
.minibar__status .status__dot { width: 7px; height: 7px; }

@media (min-width: 1024px) {
    /* En-tête collant : grand en haut de page, barre flottante arrondie une fois qu'on a défilé de 40 px. */
    .topbar {
        position: sticky; top: 0;
        transition: background-color .35s var(--ease-hd), margin-bottom .45s var(--ease-hd);
    }
    .status { padding: 10px var(--gutter) 0; transition: padding .45s var(--ease-hd); }
    .status .status__pill {
        gap: 10px; min-height: 32px; padding: 5px 16px 5px 12px; backdrop-filter: blur(14px); font-size: 13px; letter-spacing: 0; line-height: 1.3;
        transition: transform .45s var(--ease-hd), background .35s;
    }
    .status .status__dot { width: 9px; height: 9px; }

    .header {
        gap: 24px; height: 128px; margin: 0; padding: 0 var(--gutter); border-radius: 0; background: rgba(26, 17, 11, 1);
        backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(250, 244, 237, 0); box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        transition: height .45s var(--ease-hd), margin .45s var(--ease-hd), padding .45s var(--ease-hd), border-radius .45s var(--ease-hd),
                    background-color .35s, box-shadow .45s, border-color .35s;
    }
    .header__logo { grid-column: 2; grid-row: 1; font-size: 26px; letter-spacing: 0; gap: 0; }
    .logo-img--header {
        width: 165px; height: 110px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .45));
        transition: width .45s var(--ease-hd), height .45s var(--ease-hd);
    }
    .logo-text { gap: 8px; }
    .logo-text__num { padding: 2px 11px 1px; font-size: 21px; line-height: inherit; }
    .header__nav { grid-column: 1; grid-row: 1; justify-self: start; display: flex; align-items: center; gap: 2px; margin-left: -14px; }
    .header__nav a { min-height: 44px; display: flex; align-items: center; padding: 0 clamp(8px, 0.972cqw, 14px); white-space: nowrap; color: var(--cream); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 999px; }
    .header__nav a:hover { background: var(--card); }
    .header__actions { grid-column: 3; grid-row: 1; }
    .header__cta { min-height: 48px; padding: 0 22px; font-size: 15px; white-space: nowrap; }
    .cart-btn {
        width: auto; min-height: 48px; height: auto; padding: 0 18px 0 14px; display: flex; align-items: center; gap: 10px;
        border: 1.5px solid rgba(250, 244, 237, .14); font-weight: 700; font-size: 15px;
    }
    .cart-btn__count { position: static; min-width: 24px; height: 24px; padding: 0 7px; font-size: 13px; border: 0; }

    /* État réduit. -54 px = hauteur perdue (170 → 116 px) : le contenu ne saute pas. */
    .is-scrolled .topbar { background-color: rgba(26, 17, 11, 0); margin-bottom: -54px; }
    .is-scrolled .status { padding-top: 8px; }
    .is-scrolled .status .status__pill {
        transform: scale(.94); background: linear-gradient(rgba(var(--st-rgb), .12), rgba(var(--st-rgb), .12)), rgba(20, 13, 8, .9);
    }
    .is-scrolled .header {
        height: 68px; margin: 8px calc(var(--gutter) - 40px) 0; padding: 0 14px 0 28px; border-radius: 999px; background: rgba(26, 17, 11, .78);
        border-color: rgba(250, 244, 237, .1); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(250, 244, 237, .06);
    }
    .is-scrolled .logo-img--header { width: 81px; height: 54px; }
}

/* Écrans desktop étroits : le menu (à gauche du logo centré) n'a pas la place de tout afficher.
   Le bouton Commander de l'en-tête et le lien le plus long s'effacent ; le panier et les sections restent accessibles. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
    .header__cta, .header__nav-how { display: none !important; }
}

/* ---------------------------------------------------------------- Hero */

.hero { padding: 16px var(--gutter) 36px; }
.hero__media { position: relative; height: 236px; border-radius: 28px; overflow: hidden; background: #22150F; box-shadow: inset 0 0 0 1px rgba(250, 244, 237, .06); }
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 17, 11, 0) 55%, rgba(26, 17, 11, .55)); pointer-events: none; }
.hero__credit { position: absolute; right: 12px; bottom: 8px; font-size: 10px; color: rgba(250, 244, 237, .75); text-decoration: none; }
.hero__title { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 12px; text-wrap: balance; }
.hero__lead { margin: 0 0 22px; font-size: 17px; color: var(--muted-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-direction: column; gap: 10px; }
.btn--hero { min-height: 56px; gap: 10px; font-size: 17px; box-shadow: 0 10px 32px rgba(255, 229, 0, .22); }
.btn--hero-alt { min-height: 52px; font-size: 16px; }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid rgba(250, 244, 237, .12); font-size: 13px; font-weight: 600; }

@media (min-width: 1024px) {
    .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; padding: 64px var(--gutter) 96px; }
    .hero__media {
        order: 2; height: 580px; border-radius: 40px;
        background: radial-gradient(80% 70% at 55% 85%, rgba(215,140,65,.85) 0%, rgba(120,62,30,.5) 40%, rgba(26,17,11,0) 72%), repeating-linear-gradient(135deg, rgba(250,244,237,.04) 0 2px, transparent 2px 10px), #22150F;
        box-shadow: inset 0 0 0 1px rgba(250, 244, 237, .06), 0 40px 80px rgba(0, 0, 0, .4);
    }
    .hero__media picture { display: none; }
    .hero__ph { left: 22px; bottom: 18px; font-size: 12px; color: rgba(250, 244, 237, .7); }
    .hero__title { font-size: clamp(52px, 5.278cqw, 76px); line-height: .98; letter-spacing: -.025em; margin: 0 0 22px; }
    .hero__lead { margin: 0 0 34px; font-size: 21px; max-width: 30ch; }
    .hero__actions { flex-direction: row; flex-wrap: wrap; gap: 12px; }
    .btn--hero { min-height: 60px; padding: 0 30px; font-size: 18px; box-shadow: 0 12px 36px rgba(255, 229, 0, .22); }
    .btn--hero-alt { min-height: 60px; padding: 0 28px; font-size: 17px; }
    .chips { margin-top: 30px; gap: 10px; }
    .chips li { padding: 9px 16px; font-size: 15px; }
}

/* ---------------------------------------------------------------- La carte */

.carte { padding: 40px var(--gutter) 44px; background: var(--bg-deep); border-radius: 32px 32px 0 0; scroll-margin-top: 100px; }
.carte__head .h2 { letter-spacing: -.01em; margin-bottom: 18px; }

.featured { display: flex; gap: 12px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.featured__card {
    flex: none; width: 296px; scroll-snap-align: start; border-radius: 28px; overflow: hidden; background: var(--card);
    border: 1px solid rgba(250, 244, 237, .06); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); display: flex; flex-direction: column;
}
.featured__photo { position: relative; height: 224px; }
.featured__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.featured__ph { left: 14px; bottom: 12px; font-size: 10px; }
.featured__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.featured__name { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.1; }
.featured__desc { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.featured__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.featured__price { font-family: var(--display); font-weight: 600; font-size: 24px; }

.carte__all { margin: 36px 0 14px; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.1; }
.tabs { position: sticky; top: 76px; z-index: 5; display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 8px var(--gutter); background: var(--bg-deep); overflow-x: auto; scrollbar-width: none; }
.tab {
    flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
    background: transparent; color: var(--cream); border: 1.5px solid rgba(250, 244, 237, .22);
    transition: background-color .2s, color .2s, border-color .2s;
}
.tab[aria-selected="true"] { background: var(--cream); color: var(--bg); border-color: var(--cream); }

.products { display: flex; flex-direction: column; gap: 10px; }
.product { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: 24px; background: var(--card); border: 1px solid rgba(250, 244, 237, .06); }
.product__photo { position: relative; width: 116px; height: 116px; border-radius: 18px; overflow: hidden; }
.is-sold-out .product__photo { filter: grayscale(1) brightness(.6); }
.product__badges--photo { display: none; }
.product__ph { left: 8px; bottom: 6px; font-size: 9px; }
.product__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 2px 2px 0 0; }
.product__name { margin: 0; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.15; }
.product__desc { margin: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.product__badges--list { display: flex; flex-wrap: wrap; gap: 4px; }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product__price { font-family: var(--display); font-weight: 600; font-size: 19px; }
.is-sold-out .product__name { color: #A89B90; }
.is-sold-out .product__price { color: #7D6D63; }

.carte__more .btn--more { margin-top: 18px; min-height: 52px; gap: 8px; border-color: rgba(250, 244, 237, .22); }

@media (min-width: 1024px) {
    .carte {
        display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end;
        padding: 80px var(--gutter) 88px; border-radius: 48px 48px 0 0; scroll-margin-top: 120px;
    }
    .carte__head { margin-bottom: 32px; }
    .carte__head .h2 { letter-spacing: -.015em; margin-bottom: 0; }
    .tabs { position: static; margin: 0 0 32px; padding: 0; background: none; overflow: visible; }
    .tab { min-height: 48px; padding: 0 22px; font-size: 16px; }
    .products { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-self: stretch; }
    .product.product--desktop-hidden { display: none; }
    .product {
        display: flex; flex-direction: column; gap: 0; padding: 0; border-radius: 22px; overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    }
    .product__photo { width: auto; height: auto; aspect-ratio: 5 / 4; border-radius: 0; overflow: visible; }
    .product__badges--photo { display: flex; position: absolute; top: 8px; left: 8px; right: 8px; flex-wrap: wrap; gap: 4px; }
    .product__badges--photo .badge { padding: 3px 8px; }
    .product__badges--list { display: none; }
    .product__ph { left: 10px; bottom: 8px; font-size: 10px; }
    .product__body { padding: 16px; gap: 10px; flex: 1; }
    .product__name { font-size: 21px; line-height: 1.1; }
    .product__desc { font-size: 14px; line-height: 1.4; }
    .product__price { font-size: 23px; }
    .product .add-btn { box-shadow: none; }
    .product .add-btn svg { width: 20px; height: 20px; }
    .product .add-btn__qty { min-width: 20px; height: 20px; padding: 0 5px; font-size: 11px; }
    .carte__more { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 32px; }
    .carte__more .btn--more { margin-top: 0; padding: 0 26px; }
}

/* ---------------------------------------------------------------- Comment ça marche */

.how { padding: 48px var(--gutter); background: var(--bg-deep); }
.how__title { margin-bottom: 24px; }
.how__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 22px; background: var(--card); }
.step__icon { width: 56px; height: 56px; border-radius: 18px; color: var(--bg); display: grid; place-items: center; }
.step__icon svg { width: 26px; height: 26px; }
.step__title { margin: 2px 0 4px; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.15; }
.step__text { margin: 0; font-size: 14px; color: var(--muted); }

@media (min-width: 1024px) {
    .how { padding: 24px var(--gutter) 96px; scroll-margin-top: 120px; }
    .how__title { margin-bottom: 32px; }
    .how__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .step { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 28px; }
    .step__icon { width: 64px; height: 64px; border-radius: 20px; }
    .step__icon svg { width: 30px; height: 30px; }
    .step__title { margin: 0 0 6px; font-size: 24px; }
    .step__text { font-size: 16px; }
}

/* ---------------------------------------------------------------- Zones + horaires */

.zones { padding: 48px var(--gutter); scroll-margin-top: 100px; }
.zones__title { margin-bottom: 20px; }
.map {
    position: relative; aspect-ratio: 10 / 8; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
    background: repeating-linear-gradient(0deg, rgba(250,244,237,.04) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(250,244,237,.04) 0 1px, transparent 1px 28px), radial-gradient(70% 60% at 50% 45%, #3A2620, #22150F);
}
.map__water { position: absolute; background: rgba(110, 160, 190, .22); }
.map__dot { position: absolute; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%; background: var(--muted); transition: all .2s; }
.map__dot.is-active { width: 18px; height: 18px; background: var(--yellow); box-shadow: 0 0 0 7px rgba(255, 229, 0, .22), 0 0 24px rgba(255, 229, 0, .6); }
.map__label {
    position: absolute; transform: translate(-50%, -150%); padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--bg);
    font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
    transition: left .3s cubic-bezier(.2, .8, .2, 1), top .3s cubic-bezier(.2, .8, .2, 1);
}
.zones__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-btn {
    min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
    background: transparent; color: var(--cream); border: 1.5px solid rgba(250, 244, 237, .22);
    transition: background-color .2s, color .2s, border-color .2s;
}
.chip-btn[aria-pressed="true"] { background: var(--yellow); color: var(--bg); border-color: var(--yellow); }
.zones__info { margin-top: 16px; padding: 16px 18px; border-radius: 20px; background: var(--card); display: flex; flex-direction: column; gap: 4px; }
.zones__info strong { font-family: var(--display); font-weight: 600; font-size: 18px; }
.zones__info span { font-size: 15px; color: var(--muted-2); }

.hours { padding: 0 var(--gutter) 48px; scroll-margin-top: 100px; }
.hours__title { margin-bottom: 16px; }
.hours__table { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 15px; }
.hours__table tr { background: var(--card); color: var(--cream); }
.hours__table th, .hours__table td { padding: 10px 14px; font-weight: 500; }
.hours__table th { text-align: left; border-radius: 14px 0 0 14px; }
.hours__table td { text-align: right; border-radius: 0 14px 14px 0; font-variant-numeric: tabular-nums; }
.hours__table tr.is-today { background: var(--yellow); color: var(--bg); }
.hours__table tr.is-today th, .hours__table tr.is-today td { font-weight: 700; }
.hours__tonight { margin-left: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--yellow); }
.hours__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.hours__note > span:first-child { color: #FFA24C; }

@media (min-width: 1024px) {
    .zh { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; padding: 96px var(--gutter); }
    .zones, .hours { padding: 0; scroll-margin-top: 120px; }
    .zones__title, .hours__title { margin-bottom: 28px; }
    .zones__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
    .map {
        aspect-ratio: 1 / 1; border-radius: 28px;
        background: repeating-linear-gradient(0deg, rgba(250,244,237,.04) 0 1px, transparent 1px 32px), repeating-linear-gradient(90deg, rgba(250,244,237,.04) 0 1px, transparent 1px 32px), radial-gradient(70% 60% at 50% 45%, #3A2620, #22150F);
    }
    .map__label { padding: 5px 12px; font-size: 13px; }
    .zones__chips { margin-top: 0; }
    .zones__info { margin-top: 18px; padding: 18px 20px; border-radius: 22px; }
    .zones__info strong { font-size: 20px; }
    .zones__info span { font-size: 16px; }
    .hours__table { border-spacing: 0 5px; font-size: 16px; }
    .hours__table th, .hours__table td { padding: 12px 18px; }
    .hours__table th { border-radius: 16px 0 0 16px; }
    .hours__table td { border-radius: 0 16px 16px 0; }
    .hours__tonight { margin-left: 10px; font-size: 12px; padding: 2px 9px; }
    .hours__note { margin-top: 14px; font-size: 14px; }
}

/* ---------------------------------------------------------------- Carrousels (occasions, avis) */

.section-head { padding: 0 var(--gutter); }
.slider {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; scrollbar-width: none;
}
.slider > :not(.slider__end) { flex: none; width: calc(100% - 48px); max-width: 320px; scroll-snap-align: start; scroll-snap-stop: always; }
.slider__end { flex: none; width: 4px; }

@media (min-width: 1024px) {
    .section-head { padding: 0; }
    .slider { display: grid; gap: 20px; overflow: visible; padding: 0; scroll-snap-type: none; }
    .slider > :not(.slider__end) { width: auto; max-width: none; }
    .slider__end { display: none; }
}

/* ---------------------------------------------------------------- Occasions */

.occasions { scroll-margin-top: 110px; padding: 48px 0; background: var(--bg-deep); }
.occasions__title { margin-bottom: 20px; }
.occasion { border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.occasion__photo {
    height: 150px; position: relative;
    background: radial-gradient(80% 80% at 50% 90%, var(--tone), rgba(26,17,11,0) 70%), repeating-linear-gradient(135deg, rgba(250,244,237,.04) 0 2px, transparent 2px 10px), #22150F;
}
.occasion__ph { left: 12px; bottom: 10px; font-size: 10px; }
.occasion__body { padding: 16px 18px 18px; }
.occasion__title { margin: 0 0 4px; font-family: var(--display); font-weight: 600; font-size: 20px; }
.occasion__text { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.occasion__link { font-weight: 700; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 1024px) {
    .occasions { padding: 96px var(--gutter); }
    .occasions__title { margin-bottom: 32px; }
    .occasions__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .occasion { border-radius: 28px; box-shadow: none; }
    .occasion__photo { height: 220px; }
    .occasion__ph { left: 14px; bottom: 12px; font-size: 11px; }
    .occasion__body { padding: 22px 24px 24px; }
    .occasion__title { margin: 0 0 6px; font-size: 24px; }
    .occasion__text { margin: 0 0 14px; font-size: 16px; }
    .occasion__link { font-size: inherit; }
}

/* ---------------------------------------------------------------- Avis */

.reviews { scroll-margin-top: 110px; padding: 48px 0; }
.reviews__title { margin-bottom: 8px; }
.reviews__rating { margin: 0 0 20px; padding: 0 var(--gutter); font-size: 15px; color: var(--muted-2); }
.reviews__score { color: var(--yellow); font-weight: 700; }
.review {
    margin: 0; padding: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); border-radius: 24px; background: var(--cream); color: var(--bg);
    display: flex; flex-direction: column; gap: 12px;
}
.review__stars { color: #B8860B; font-size: 17px; letter-spacing: 2px; }
.review__text { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.review__by { margin-top: auto; font-size: 13px; color: #5C4A3F; }
.review__by strong { color: var(--bg); }
.reviews__more { padding: 16px var(--gutter) 0; }
.reviews__more a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }

@media (min-width: 1024px) {
    .reviews {
        display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 20px; align-items: end; padding: 96px var(--gutter);
    }
    .reviews__head { margin-right: 4px; margin-bottom: 32px; }
    .reviews__title { margin-bottom: 0; }
    .reviews__rating { margin: 0 0 32px; padding: 0; font-size: 17px; min-height: 44px; display: flex; align-items: center; white-space: pre; }
    .reviews__list { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .reviews__more { grid-column: 3; grid-row: 1; padding: 0; margin-bottom: 32px; }
    .review { padding: 24px; border-radius: 28px; gap: 14px; box-shadow: none; }
    .review__stars { font-size: 18px; }
    .review__text { font-size: 17px; }
    .review__by { font-size: 14px; }
}

/* ---------------------------------------------------------------- Réseaux */

.social { display: flex; flex-direction: column; padding: 44px 0 48px; background: var(--yellow); color: var(--bg); }
.social__intro { display: contents; }
.social__title { order: 1; padding: 0 var(--gutter); font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; margin: 0 0 6px; }
.social__lead { order: 2; padding: 0 var(--gutter); margin: 0 0 20px; font-size: 15px; font-weight: 500; }
.social__videos { order: 3; display: flex; gap: 10px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; }
.social__links { order: 4; display: flex; flex-wrap: wrap; gap: 8px; padding: 20px var(--gutter) 0; }
.social__links a { min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--bg); color: var(--yellow); display: flex; align-items: center; font-weight: 700; text-decoration: none; }
.social__handle { order: 5; margin: 12px var(--gutter) 0; font-size: 13px; font-weight: 600; }
.video {
    flex: none; width: 136px; aspect-ratio: 9 / 16; border-radius: 18px; position: relative; overflow: hidden; color: var(--cream); text-decoration: none;
    background: radial-gradient(90% 60% at 50% 70%, var(--tone), rgba(26,17,11,0) 75%), repeating-linear-gradient(135deg, rgba(250,244,237,.05) 0 2px, transparent 2px 10px), var(--bg);
}
.video:hover { color: var(--cream); }
.video__ph { top: 10px; left: 10px; font-size: 10px; color: inherit; opacity: .7; }
.video__caption { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: 12px; font-weight: 600; line-height: 1.25; }
.video__views { opacity: .75; font-weight: 500; }

@media (min-width: 1024px) {
    .social {
        display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; align-items: center;
        margin: 0 var(--gutter); padding: 56px; border-radius: 40px;
    }
    .social__intro { display: block; }
    .social__title { padding: 0; font-size: clamp(44px, 4.444cqw, 64px); white-space: nowrap; line-height: .95; margin: 0 0 12px; }
    .social__lead { padding: 0; margin: 0 0 24px; font-size: 18px; }
    .social__links { padding: 0; }
    .social__links a { min-height: 50px; padding: 0 20px; }
    .social__videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0; overflow: visible; }
    .video { width: auto; border-radius: 20px; }
    .video__ph { top: 12px; left: 12px; font-size: 11px; }
    .video__caption { left: 12px; right: 12px; bottom: 12px; font-size: 14px; }
}

/* ---------------------------------------------------------------- Texte SEO */

.seo { padding: 48px var(--gutter); }
.seo__card { padding: 28px 22px 30px; border-radius: 28px; background: var(--cream); color: var(--card); font-size: 16px; line-height: 1.65; }
.eyebrow--dark { margin: 0 0 8px; color: #7A5A2E; }
.seo__title { font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.08; margin: 0 0 12px; color: var(--bg); text-wrap: balance; }
.seo__h { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.15; margin: 0 0 8px; color: var(--bg); }
.seo__h--balance { text-wrap: balance; }
.seo__cols p { margin: 0; text-wrap: pretty; }
.seo__cols > div:not(:last-child) p { margin-bottom: 22px; }
.seo__cols a { color: var(--bg); font-weight: 600; text-decoration-color: #C7803E; text-decoration-thickness: 2px; }

@media (min-width: 1024px) {
    .seo { padding: 96px var(--gutter); }
    .seo__card { padding: 56px 64px; border-radius: 40px; font-size: 17px; line-height: 1.7; }
    .eyebrow--dark { margin: 0 0 10px; }
    .seo__title { font-size: 44px; line-height: 1.05; margin: 0 0 36px; max-width: 20ch; }
    .seo__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
    .seo__cols > div:not(:last-child) p { margin-bottom: 0; }
    .seo__h { font-size: 22px; margin: 0 0 10px; }
}

/* ---------------------------------------------------------------- FAQ */

.faq { padding: 0 var(--gutter) 56px; scroll-margin-top: 100px; }
.faq__title { margin-bottom: 16px; }
.faq__list { display: flex; flex-direction: column; gap: 8px; }
.faq__item { border-radius: 20px; background: transparent; border: 1px solid var(--line); transition: background-color .3s cubic-bezier(.2, .8, .2, 1); }
.faq__item.is-open { background: var(--card); }
.faq__q { margin: 0; }
.faq__q button {
    width: 100%; min-height: 60px; padding: 14px 16px 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    text-align: left; font-weight: 600; font-size: 16px; line-height: 1.3;
}
.faq__chevron { width: 20px; height: 20px; transition: transform .2s; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
/* Ouverture fluide : la ligne de grille passe de 0fr à 1fr (hauteur réelle du texte), le texte arrive en fondu. */
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__inner { overflow: hidden; min-height: 0; }
.faq__a {
    margin: 0; padding: 0 18px 18px; font-size: 15px; color: var(--muted-2); text-wrap: pretty;
    opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.faq__item.is-open .faq__a { opacity: 1; transform: none; transition-delay: .06s; }

@media (min-width: 1024px) {
    .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; padding: 0 var(--gutter) 112px; scroll-margin-top: 120px; }
    .faq__title { margin-bottom: 0; }
    .faq__list { gap: 10px; }
    .faq__item { border-radius: 22px; }
    .faq__q button { min-height: 68px; padding: 16px 22px 16px 24px; font-size: 18px; line-height: inherit; }
    .faq__chevron { width: 22px; height: 22px; }
    .faq__a { padding: 0 24px 22px; font-size: 16px; max-width: 62ch; text-wrap: wrap; }
}

/* ---------------------------------------------------------------- Pied de page */

.footer { padding: 40px var(--gutter) 120px; background: var(--bg-night); border-top: 1px solid var(--line); }
.logo-img--footer { width: 150px; height: 100px; margin: 0 0 16px -8px; }
.logo-brand { display: block; margin: 0 0 16px; font-family: var(--display); font-weight: 700; font-size: 28px; }
.footer__status { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.footer__hours { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.footer__icons { display: flex; gap: 8px; margin-bottom: 28px; }
.soc { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; }
.soc--snap { background: #FFFC00; }
.soc--insta { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.soc--tiktok { background: #000000; border: 1.5px solid rgba(250, 244, 237, .22); }
.footer__navs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; font-size: 15px; }
.footer__nav { display: contents; }
.footer__nav a { min-height: 44px; display: flex; align-items: center; color: var(--cream); text-decoration: none; }
.footer__copy { margin: 20px 0 0; font-size: 12px; color: #A89B90; }

@media (min-width: 1024px) {
    .footer { padding: 64px var(--gutter) 40px; }
    .footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; }
    .footer__navs { display: contents; }
    .footer__nav { display: block; }
    .footer__nav--main { order: 2; }
    .footer__nav--legal { order: 3; }
    .footer__social { order: 4; display: flex; flex-direction: column; gap: 12px; }
    .footer__nav a { min-height: 36px; color: var(--muted-2); font-size: 15px; }
    .logo-img--footer { width: 180px; height: 120px; margin: 0 0 16px -10px; }
    .logo-brand { font-size: 32px; }
    .footer__status { font-size: 15px; }
    .footer__hours { margin: 0; font-size: 15px; }
    .footer__icons { margin-bottom: 0; }
    .soc { transition: transform .15s; }
    .soc:hover { transform: scale(1.08); }
    .footer__copy { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
}

/* ---------------------------------------------------------------- Barre panier */

/* Mobile : le bouton du bas monte une fois qu'on a défilé de 160 px (header_controller.js → .cta-on). */
.cartbar {
    position: sticky; bottom: 0; z-index: 30; padding: 0 calc(var(--gutter) - 4px) calc(14px + env(safe-area-inset-bottom));
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .55)); transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .45s var(--ease-hd), opacity .3s ease;
}
.cta-on .cartbar { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cartbar__btn, .cartbar__cta {
    width: 100%; min-height: 60px; border-radius: 999px; background: var(--yellow); color: var(--bg); display: flex; align-items: center;
    font-weight: 700; box-shadow: 0 10px 30px rgba(255, 229, 0, .25);
}
.cartbar__btn { justify-content: space-between; gap: 8px; padding: 0 6px 0 20px; font-size: 15px; }
.cartbar__cta { justify-content: center; font-size: 16px; text-decoration: none; }
.cartbar__cta:hover { color: var(--bg); }
.cartbar__go { display: flex; align-items: center; gap: 6px; background: var(--bg); color: var(--yellow); border-radius: 999px; padding: 0 16px; min-height: 48px; }

@media (min-width: 1024px) {
    .cartbar { position: fixed; right: 32px; bottom: 32px; padding: 0; filter: none; transform: none; opacity: 1; pointer-events: auto; transition: none; }
    .cartbar:not(.has-items) { display: none; }
    .cartbar__cta { display: none; }
    .cartbar__btn { width: auto; min-height: 64px; gap: 14px; padding: 0 8px 0 24px; font-size: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.45), 0 0 0 6px rgba(255,229,0,.12); }
    .cartbar__go { padding: 0 18px; min-height: 50px; }
    .cartbar__go svg { stroke-width: 2.2; }
}

/* ---------------------------------------------------------------- Menu mobile */

.menu {
    position: fixed; left: 50%; top: 0; bottom: 0; transform: translateX(-50%); width: 100%; max-width: var(--mobile-max); z-index: 60;
    background: var(--bg-deep); display: flex; flex-direction: column; overflow: auto; animation: t74fade .2s ease-out;
}
.menu__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; padding: 0 12px; }
.menu__top .logo-brand { margin: 0; font-size: 22px; }
.logo-img--menu { width: 105px; height: 70px; }
.menu__close { justify-self: end; border-radius: 50%; }
.menu__status { padding: 20px 16px 8px; display: flex; justify-content: center; }
.menu__status .status__pill { padding: 6px 14px 6px 10px; min-height: 0; box-shadow: none; letter-spacing: 0; line-height: inherit; }
.menu__list { list-style: none; margin: 0; padding: 8px 16px; display: flex; flex-direction: column; gap: 6px; }
.menu__list a {
    min-height: 64px; padding: 10px 14px 10px 10px; border-radius: 20px; background: var(--card); display: grid; grid-template-columns: 44px 1fr auto;
    gap: 14px; align-items: center; color: var(--cream); text-decoration: none;
}
.menu__num { width: 44px; height: 44px; border-radius: 14px; color: var(--bg); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; }
.menu__label { display: flex; flex-direction: column; line-height: 1.2; }
.menu__label span:first-child { font-family: var(--display); font-weight: 600; font-size: 19px; }
.menu__label span:last-child { font-size: 13px; color: var(--muted); margin-top: 3px; }
.menu__bottom { margin-top: auto; padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.menu__cta { min-height: 58px; font-size: 17px; }
.menu__socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.menu__socials a {
    min-height: 48px; border-radius: 999px; border: 1.5px solid rgba(250, 244, 237, .22); color: var(--cream); display: flex;
    align-items: center; justify-content: center; font-size: 14px; font-weight: 600; text-decoration: none;
}

/* ---------------------------------------------------------------- Panier */

.overlay { position: fixed; inset: 0; background: rgba(10, 6, 4, .65); backdrop-filter: blur(4px); z-index: 40; animation: t74fade .25s ease-out; }
.overlay--modal { background: rgba(10, 6, 4, .7); z-index: 50; }
.overlay.is-closing, .menu.is-closing { animation: t74fadeout .2s ease-in forwards; }
.sheet.is-closing, .modal.is-closing { animation: t74down .28s cubic-bezier(.4, 0, 1, 1) forwards; }
.grabber { width: 44px; height: 5px; border-radius: 9px; background: #D8CBBE; margin: 0 auto 10px; }
.grabber--dark { background: #4A3830; }

.sheet {
    position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: var(--mobile-max); max-height: 90%; overflow: auto;
    background: var(--cream); color: var(--bg); border-radius: 28px 28px 0 0; z-index: 41; padding: 10px 16px 18px;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); animation: t74up .35s cubic-bezier(.2, .9, .3, 1.1);
    font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.5;
}
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; }
.sheet__empty { text-align: center; padding: 28px 8px 12px; }
.sheet__empty-icon { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; background: #EFE5D9; display: grid; place-items: center; color: #7A5A2E; }
.sheet__empty-title { margin: 0 0 4px; font-family: var(--display); font-weight: 600; font-size: 21px; }
.sheet__empty-text { margin: 0 0 20px; color: #5C4A3F; }
.btn-dark { width: 100%; min-height: 56px; border-radius: 999px; background: var(--bg); color: var(--yellow); font-weight: 700; }

.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #EADFD2; }
.line__photo {
    width: 52px; height: 52px; border-radius: 14px;
    background: radial-gradient(85% 75% at 50% 80%, var(--tone) 0%, rgba(26,17,11,0) 62%), repeating-linear-gradient(135deg, rgba(250,244,237,.04) 0 2px, transparent 2px 9px), #23160F;
}
.line__info { min-width: 0; }
.line__name { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.2; }
.line__meta { margin: 2px 0 0; font-size: 13px; color: #5C4A3F; }
.stepper { display: flex; align-items: center; background: #EFE5D9; border-radius: 999px; }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; }
.line__qty { min-width: 18px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.commune-select { display: block; margin: 16px 0 0; font-size: 13px; font-weight: 700; color: #5C4A3F; }
.commune-select select {
    display: block; width: 100%; margin-top: 6px; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #D8CBBE;
    background: #FFF9E6; color: var(--bg); font: inherit; font-size: 15px; font-weight: 600;
}
.commune-picker { margin-top: 16px; }
.commune-picker__btn {
    width: 100%; min-height: 64px; padding: 10px 14px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 1px 0 #EADFD2, 0 6px 18px rgba(43, 27, 23, .08);
    display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; text-align: left;
}
.commune-picker__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); color: var(--yellow); display: grid; place-items: center; }
.commune-picker__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.commune-picker__text > span:first-child { font-size: 12px; font-weight: 600; color: #7A6355; }
.commune-picker__text strong { font-size: 16px; color: var(--bg); margin-top: 2px; }
.commune-picker__text > span:last-child { font-size: 12px; color: #5C4A3F; margin-top: 2px; }
.commune-picker__chevron { transition: transform .2s; }
.commune-picker__btn[aria-expanded="true"] .commune-picker__chevron { transform: rotate(180deg); }
.commune-picker__list {
    list-style: none; margin: 8px 0 0; padding: 6px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 12px 32px rgba(43, 27, 23, .14);
    max-height: 264px; overflow: auto; animation: t74fade .18s ease-out;
}
.commune-picker__list button {
    width: 100%; min-height: 50px; padding: 0 12px; border-radius: 12px; background: transparent; display: flex; align-items: center;
    justify-content: space-between; gap: 10px; text-align: left; font-size: 15px; color: var(--bg);
    transition: background-color .2s;
}
.commune-picker__opt { display: flex; align-items: center; gap: 10px; min-width: 0; }
.commune-picker__radio { width: 20px; height: 20px; border-radius: 50%; flex: none; border: 2px solid #D8CBBE; background: transparent; box-shadow: inset 0 0 0 3px #FFFFFF; }
.commune-picker__name { font-weight: 500; }
.commune-picker__fee { flex: none; font-size: 13px; font-weight: 600; color: #5C4A3F; font-variant-numeric: tabular-nums; }
[aria-selected="true"] > button { background: #FFF1C2; }
[aria-selected="true"] .commune-picker__radio { border-color: var(--bg); background: var(--bg); }
[aria-selected="true"] .commune-picker__name { font-weight: 700; }

.min-box { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #FFF1C2; }
.min-box p { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.min-box__track { height: 8px; border-radius: 9px; background: #F0DE9A; overflow: hidden; }
.min-box__bar { height: 100%; width: 0; background: var(--bg); border-radius: 9px; transition: width .3s; }

.totals { margin: 16px 0; display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 15px; }
.totals dt { color: #5C4A3F; }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals .totals__total { font-weight: 700; font-size: 18px; padding-top: 6px; border-top: 1px solid #EADFD2; color: var(--bg); }
.totals .totals__total--value { font-family: var(--display); }
.order-btn {
    width: 100%; min-height: 58px; border-radius: 999px; background: var(--bg); color: var(--yellow); font-weight: 700; font-size: 17px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.order-btn:disabled { background: #D8CBBE; color: #5C4A3F; }
.sheet__note { margin: 10px 0 0; text-align: center; font-size: 12px; color: #5C4A3F; }

@media (min-width: 1024px) {
    .overlay { background: rgba(10, 6, 4, .6); }
    .overlay--modal { background: rgba(10, 6, 4, .7); }
    .sheet {
        top: 0; right: 0; bottom: 0; left: auto; transform: none; width: 440px; max-width: 100%; max-height: none;
        z-index: 41; padding: 24px 28px 28px; box-shadow: -20px 0 60px rgba(0, 0, 0, .5); border-radius: 32px 0 0 32px; animation: t74fade .25s ease-out;
        font-size: 17px; line-height: 1.55;
    }
    .sheet__head { margin-bottom: 12px; }
    .sheet__title { font-size: 30px; }
    .sheet.is-closing { animation: t74fadeout .2s ease-in forwards; }
}

/* ---------------------------------------------------------------- Messagerie */

.modal {
    position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: var(--mobile-max); max-height: 92%; overflow: auto;
    background: #241712; color: var(--cream); border-radius: 28px 28px 0 0; z-index: 51; padding: 10px 16px 20px;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); border-top: 1px solid rgba(250, 244, 237, .1); animation: t74up .35s cubic-bezier(.2, .9, .3, 1.1);
    font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.5;
}
.modal__close { display: flex; justify-content: flex-end; }
.modal__title { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.05; }
.modal__lead { margin: 0 0 20px; color: var(--muted-2); font-size: 15px; }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app {
    min-height: 104px; border-radius: 22px; background: #2F1F19; border: 1.5px solid rgba(250, 244, 237, .1); display: flex; flex-direction: column;
    align-items: flex-start; justify-content: space-between; padding: 14px; text-align: left;
}
.app__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; }
.app__name { font-weight: 700; font-size: 16px; }
.modal__sms { margin-top: 14px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
.modal__ref { margin: 6px 0 0; text-align: center; font-size: 12px; color: #A89B90; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--pistachio); color: var(--bg); display: grid; place-items: center; margin-bottom: 16px; }
.done__lead { margin: 0 0 18px; color: var(--muted-2); font-size: 16px; }
.done__lead strong { color: var(--cream); }
.done__msg {
    border-radius: 18px; background: var(--cream); color: var(--bg); padding: 14px 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap;
    font-variant-numeric: tabular-nums; max-height: 220px; overflow: auto;
}
.done__ref {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 18px; padding: 12px 16px; border-radius: 16px;
    border: 1.5px dashed rgba(250, 244, 237, .25);
}
.done__ref span { font-size: 13px; color: var(--muted); }
.done__ref strong { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: .04em; color: var(--yellow); }
.done__actions { display: flex; flex-direction: column; gap: 10px; }
.done__open { min-height: 58px; font-size: 17px; }
.done__copy { min-height: 52px; border-radius: 999px; border: 1.5px solid rgba(250, 244, 237, .28); font-weight: 600; font-size: 16px; }
.done__change { min-height: 44px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1024px) {
    .modal {
        top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 520px; max-width: calc(100% - 32px); max-height: calc(100% - 48px);
        border-radius: 32px; padding: 20px 32px 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); border: 1px solid rgba(250, 244, 237, .1);
        animation: t74fade .25s ease-out; font-size: 17px; line-height: 1.55;
    }
    .modal.is-closing { animation: t74fadeout .2s ease-in forwards; }
}
