:root {
    --ivory: #FFF8F0;
    --charcoal: #1A1A1A;
    --ochre: #D4853A;
    --ochre-light: #E8A35C;
    --terracotta: #C45D3A;
    --green: #2D5A3D;
    --green-light: #4A7C5C;
    --gold: #D4A843;
    --cream: #F5EDE0;
    --whatsapp: #25D366;
    --gray: #888;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-strong: 0 8px 40px rgba(0,0,0,0.15);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--ivory);
    color: var(--charcoal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    min-height: 100dvh;
}
img { max-width: 100%; display: block; }

/* ===== BRAND LOGO (premium restaurant emblem, pure CSS) ===== */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 1;
    min-width: 0;
    color: var(--charcoal);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.brand-logo:hover,
.brand-logo:focus,
.brand-logo:visited,
.brand-logo:active { text-decoration: none; color: var(--charcoal); }
.brand-logo:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; border-radius: 8px; }
.brand-logo:hover .brand-emblem { transform: rotate(-6deg) scale(1.06); }
.brand-logo:active .brand-emblem { transform: rotate(-3deg) scale(0.98); transition-duration: 0.1s; }
.brand-logo:hover .brand-flame { animation: flameFlicker 0.9s ease-in-out infinite; }

/* Round medallion emblem (restaurant classic) */
.brand-emblem {
    width: 44px; height: 44px;
    border-radius: 50%;
    background:
        radial-gradient(120% 100% at 30% 20%, rgba(232,163,92,0.18), transparent 55%),
        radial-gradient(circle at 50% 100%, #2d2418, #1A1A1A 70%);
    position: relative;
    flex-shrink: 0;
    display: grid; place-items: center;
    isolation: isolate;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.2),
        0 8px 22px rgba(212,133,58,0.28),
        0 0 0 1px rgba(212,168,67,0.15),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -2px 8px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Inner gold ring */
.brand-emblem::before {
    content: '';
    position: absolute; inset: 3px;
    border-radius: 50%;
    border: 1px solid rgba(212,168,67,0.35);
    pointer-events: none;
    z-index: 1;
}

/* CSS flame inside the medallion */
.brand-flame {
    width: 18px; height: 24px;
    position: relative;
    filter: drop-shadow(0 0 6px rgba(232,163,92,0.5));
}
.brand-flame::before,
.brand-flame::after {
    content: '';
    position: absolute;
    border-radius: 50% 50% 50% 50% / 60% 60% 45% 45%;
    transform-origin: center bottom;
}
/* Outer flame */
.brand-flame::before {
    inset: 0;
    background: linear-gradient(180deg, #FFD580 0%, #E8A35C 30%, #D4853A 65%, #C45D3A 100%);
    transform: rotate(-2deg);
}
/* Inner flame (hot core) */
.brand-flame::after {
    inset: 5px 4px 3px 4px;
    background: linear-gradient(180deg, #FFE5A3 0%, #FFD580 40%, #E8A35C 80%);
    transform: rotate(3deg);
    opacity: 0.95;
}
@keyframes flameFlicker {
    0%,100% { transform: translateY(0) scaleY(1); }
    25%     { transform: translateY(-1px) scaleY(1.04); }
    50%     { transform: translateY(0) scaleY(0.98); }
    75%     { transform: translateY(-0.5px) scaleY(1.02); }
}

/* Wordmark block */
.brand-text-block {
    display: flex; flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.brand-name {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.55rem; font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--charcoal);
    line-height: 0.95;
    display: inline-flex; align-items: baseline; gap: 0.18em;
}
/* "Le" — script calligraphique élégant (Pinyon) */
.brand-name em {
    font-family: 'Pinyon Script', 'Brush Script MT', cursive;
    font-style: normal;
    font-weight: 400;
    font-size: 1.05em;
    color: var(--ochre);
    opacity: 0.95;
    margin-right: 0.05em;
    line-height: 1;
    transform: translateY(0.08em);
}
/* "Voisin" — serif haute couture (Playfair) */
.brand-name .word-main {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ochre) 0%, var(--terracotta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.2px;
}
/* Decorative subtitle line: ── CUISINE IVOIRIENNE ── */
.brand-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--ochre);
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    white-space: nowrap;
}
.brand-sub::before,
.brand-sub::after {
    content: '';
    flex: 0 0 14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ochre), transparent);
}

/* Dark variant (footer / hero) */
.brand-logo.on-dark .brand-name { color: white; }
.brand-logo.on-dark .brand-name em { color: rgba(255,255,255,0.6); opacity: 1; }
.brand-logo.on-dark .brand-emblem {
    background:
        radial-gradient(120% 100% at 30% 20%, rgba(232,163,92,0.28), transparent 55%),
        radial-gradient(circle at 50% 100%, #3a2f1c, #0d0d0d 70%);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.35),
        0 12px 30px rgba(212,133,58,0.35),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -2px 8px rgba(0,0,0,0.6);
}

/* Big variant (footer hero) */
.brand-logo.is-big { gap: 1rem; }
.brand-logo.is-big .brand-emblem { width: 64px; height: 64px; }
.brand-logo.is-big .brand-flame { width: 26px; height: 34px; }
.brand-logo.is-big .brand-name { font-size: 2.4rem; }
.brand-logo.is-big .brand-sub { font-size: 0.72rem; letter-spacing: 3.5px; }
.brand-logo.is-big .brand-sub::before,
.brand-logo.is-big .brand-sub::after { flex-basis: 22px; }

/* Compact on tiny screens */
@media (max-width: 360px) {
    .brand-emblem { width: 38px; height: 38px; }
    .brand-flame { width: 15px; height: 20px; }
    .brand-name { font-size: 1.3rem; }
    .brand-sub { font-size: 0.5rem; letter-spacing: 1.8px; }
    .brand-sub::before, .brand-sub::after { flex-basis: 10px; }
}

/* ===== OFFLINE INDICATOR ===== */
.offline-bar {
    display: none;
    position: fixed; top: 0; left: 0; right: 0;
    background: linear-gradient(135deg, var(--terracotta), #a03c1e);
    color: white;
    padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-top, 0px));
    padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
    font-size: 0.82rem; font-weight: 600;
    text-align: center;
    z-index: 1100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
body.is-offline .offline-bar { display: block; }
body.is-offline .nav { top: 38px; transition: top 0.25s; }
body.is-offline .hero { margin-top: 94px; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,248,240,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.7rem 1rem;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(212,133,58,0.15);
    gap: 0.5rem;
}
.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 1.3rem;
    color: var(--ochre);
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex; align-items: center; gap: 0.4rem;
    line-height: 1;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-logo span { color: var(--terracotta); }
.nav-logo-img { height: 36px; width: auto; }
.nav-status {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.7rem; font-weight: 600;
    color: var(--green);
    background: rgba(45,90,61,0.1);
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    flex-shrink: 0;
    white-space: nowrap;
}
.nav-status::before {
    content: ''; width: 8px; height: 8px;
    background: var(--whatsapp); border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.2)} }

/* ===== CART BUTTON ===== */
.cart-btn {
    position: fixed; bottom: calc(1.2rem + var(--safe-bottom)); right: 1.2rem;
    width: 60px; height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 3px solid white;
}
.cart-btn:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.cart-btn:active { transform: scale(0.95); }
.cart-btn svg { width: 26px; height: 26px; }
.cart-count {
    position: absolute; top: -4px; right: -4px;
    background: var(--terracotta); color: white;
    font-size: 0.7rem; font-weight: 700;
    min-width: 22px; height: 22px;
    border-radius: 11px; display: flex;
    align-items: center; justify-content: center;
    border: 2px solid white;
    padding: 0 4px;
}

/* ===== HERO ===== */
.hero {
    margin-top: 56px;
    background: linear-gradient(135deg, var(--charcoal) 0%, #2D2418 100%);
    color: white;
    padding: 2.2rem 1.2rem 3rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute;
    inset: 1rem;
    border: 1px solid rgba(212,133,58,0.12);
    border-radius: 18px;
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(212,133,58,0.2);
    border: 1px solid var(--ochre);
    color: var(--ochre-light);
    font-size: 0.7rem; font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.9rem;
    letter-spacing: -1px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--ochre-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 0.95rem; color: rgba(255,255,255,0.7);
    line-height: 1.6; margin-bottom: 1.4rem;
}
.hero-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.btn-primary {
    background: linear-gradient(135deg, var(--whatsapp), #128C7E);
    color: white; border: none;
    padding: 0.95rem 1.6rem;
    border-radius: 14px;
    font: 700 0.95rem 'Inter', sans-serif;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,0.4); }
.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white; border: 1px solid rgba(255,255,255,0.2);
    padding: 0.95rem 1.6rem;
    border-radius: 14px;
    font: 600 0.9rem 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* ===== TRUST BAR ===== */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.1rem 0.5rem;
    background: white;
    margin: -1.5rem 1rem 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative; z-index: 10;
}
.trust-item {
    text-align: center;
    font-size: 0.72rem;
    color: var(--charcoal);
    font-weight: 500;
    padding: 0 0.3rem;
}
.trust-item strong {
    display: block;
    font-size: 1.05rem;
    color: var(--ochre);
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.2rem;
}

/* ===== SECTIONS ===== */
.section { padding: 2.5rem 1rem; }
.section-header { text-align: center; margin-bottom: 1.8rem; }
.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 0.4rem;
    padding: 0 0.5rem;
}
.section-header p { color: var(--gray); font-size: 0.9rem; padding: 0 0.5rem; }
.section-tag {
    display: inline-block;
    background: rgba(212,133,58,0.1);
    color: var(--ochre);
    font-size: 0.7rem; font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.7rem;
}

/* ===== CATEGORIES ===== */
.categories {
    display: flex; gap: 0.5rem;
    overflow-x: auto;
    padding: 0 1rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}
.categories::-webkit-scrollbar { display: none; }
.cat-btn {
    flex-shrink: 0;
    padding: 0.65rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid var(--cream);
    background: white;
    font: 600 0.82rem 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--charcoal);
    scroll-snap-align: start;
    white-space: nowrap;
}
.cat-btn.active {
    background: var(--ochre);
    color: white;
    border-color: var(--ochre);
    box-shadow: 0 4px 12px rgba(212,133,58,0.3);
}
.cat-btn:hover:not(.active) { border-color: var(--ochre); color: var(--ochre); }

/* ===== MENU GRID ===== */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
}
.dish-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.dish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.dish-img-wrap { position: relative; height: 200px; overflow: hidden; background: var(--cream); }
.dish-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.dish-card:hover .dish-img-wrap img { transform: scale(1.08); }
.dish-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--terracotta); color: white;
    font-size: 0.7rem; font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
}
.dish-badge.popular { background: var(--gold); color: var(--charcoal); }
.dish-info { padding: 1.1rem; }
.dish-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: 0.4rem;
}
.dish-info p {
    font-size: 0.83rem; color: #888;
    line-height: 1.5; margin-bottom: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dish-footer { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.dish-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem; font-weight: 700;
    color: var(--ochre);
    line-height: 1;
}
.dish-price span { font-size: 0.75rem; color: #aaa; font-weight: 500; }
.add-btn {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--ochre);
    color: white; border: none;
    font-size: 1.4rem; font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(212,133,58,0.3);
    flex-shrink: 0;
}
.add-btn:hover { background: var(--terracotta); transform: scale(1.08); }
.add-btn:active { transform: scale(0.92); }

/* ===== CART MODAL ===== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0; visibility: hidden;
    transition: all 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    max-height: 88vh;
    max-height: 88dvh;
    overflow-y: auto;
    z-index: 2001;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.3rem 1.2rem calc(1.3rem + var(--safe-bottom));
    -webkit-overflow-scrolling: touch;
}
.modal.open { transform: translateY(0); }
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.3rem;
    position: sticky; top: 0;
    background: white;
    padding-bottom: 0.5rem;
    z-index: 2;
}
.modal-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; }
.close-modal {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--cream);
    border: none; font-size: 1.1rem;
    cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: background 0.3s;
}
.close-modal:hover { background: #e0d5c5; }

.cart-item {
    display: flex; gap: 0.8rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--cream);
    align-items: center;
}
.cart-item img {
    width: 64px; height: 64px;
    border-radius: 12px; object-fit: cover;
    flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 {
    font-size: 0.92rem; font-weight: 600;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-item-info .price { color: var(--ochre); font-weight: 700; font-size: 0.88rem; }
.qty-controls { display: flex; align-items: center; gap: 0.4rem; }
.qty-btn {
    width: 32px; height: 32px;
    border-radius: 8px;
    border: 1.5px solid var(--cream);
    background: white;
    font-size: 1rem; font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.qty-btn:hover { background: var(--cream); }
.qty-value { font-weight: 700; font-size: 0.9rem; min-width: 22px; text-align: center; }
.remove-btn {
    color: #ccc; font-size: 1.1rem;
    cursor: pointer; border: none; background: none;
    padding: 0.3rem;
    transition: color 0.2s;
}
.remove-btn:hover { color: var(--terracotta); }

.cart-empty { text-align: center; padding: 3rem 1rem; color: #999; }
.cart-empty svg { margin-bottom: 1rem; opacity: 0.5; }

/* ===== FORM ===== */
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid var(--cream);
    border-radius: 14px;
    font: 1rem 'Inter', sans-serif;
    background: white;
    transition: border-color 0.3s;
    outline: none;
    color: var(--charcoal);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--ochre); }
.form-group textarea { resize: vertical; min-height: 80px; }
.radio-group { display: flex; gap: 0.6rem; }
.radio-option {
    flex: 1;
    padding: 0.85rem 0.5rem;
    border: 2px solid var(--cream);
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.88rem;
}
.radio-option.selected {
    border-color: var(--ochre);
    background: rgba(212,133,58,0.08);
    color: var(--ochre);
}

/* ===== CUSTOMIZATION MODAL (options/variantes) ===== */
.customize-modal { padding: 0 0 calc(1rem + var(--safe-bottom)); }
.customize-modal .modal-header { padding: 1.2rem 1.2rem 0.8rem; }
.customize-hero {
    height: 180px;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 0;
    background: var(--cream);
    position: relative;
}
.customize-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.customize-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(255,248,240,0.4) 100%);
}
#customize-groups { padding: 0 1.2rem; }
.opt-section { margin-bottom: 1.5rem; }
.opt-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: flex; align-items: center; gap: 0.5rem;
    flex-wrap: wrap;
}
.opt-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
}
.opt-badge.required { background: rgba(196,93,58,0.12); color: var(--terracotta); }
.opt-badge.optional { background: var(--gray-200, #ebe6dd); color: #888; }
.opt-hint { font-size: 0.7rem; color: #999; font-weight: 500; font-family: 'Inter', sans-serif; }
.opt-choices { display: flex; flex-direction: column; gap: 0.5rem; }
.opt-choice {
    display: flex; align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--cream);
    border-radius: 12px;
    cursor: pointer;
    background: white;
    transition: all 0.18s;
}
.opt-choice:hover { border-color: var(--ochre-light); background: rgba(212,133,58,0.03); }
.opt-choice.selected {
    border-color: var(--ochre);
    background: linear-gradient(135deg, rgba(212,133,58,0.08), rgba(212,168,67,0.04));
    box-shadow: 0 2px 10px rgba(212,133,58,0.12);
}
.opt-choice input { accent-color: var(--ochre); width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; }
.opt-choice-name { flex: 1; font-size: 0.95rem; font-weight: 600; color: var(--charcoal); }
.opt-choice-price { font-size: 0.85rem; font-weight: 700; color: var(--ochre); font-family: 'Space Grotesk', sans-serif; }
.opt-choice.selected .opt-choice-price { color: var(--terracotta); }
.opt-choice:has(input:checked) {
    border-color: var(--ochre);
    background: linear-gradient(135deg, rgba(212,133,58,0.08), rgba(212,168,67,0.04));
}

.customize-modal .cart-total { padding: 1rem 1.2rem; margin-top: 1rem; }
.customize-modal .whatsapp-submit { margin: 0 1.2rem; width: calc(100% - 2.4rem); }

/* "dès X F" prefix on cards */
.dish-price .from-label {
    font-size: 0.7rem;
    color: #999;
    font-weight: 500;
    margin-right: 2px;
    text-transform: lowercase;
    font-family: 'Inter', sans-serif;
}
.dish-price .price-sep {
    color: #bbb;
    font-weight: 500;
    margin: 0 0.15rem;
    font-family: 'Inter', sans-serif;
}
.dish-price span:last-child { font-size: 0.78rem; color: #aaa; font-weight: 500; margin-left: 2px; }

/* Customized item options shown in cart */
.cart-item-opts {
    font-size: 0.72rem;
    color: var(--ochre);
    margin: 0.2rem 0 0.3rem;
    line-height: 1.3;
    font-style: italic;
}

/* ===== PICKUP INFO (à emporter) ===== */
.pickup-info { margin-bottom: 1rem; }

/* Carte "verrouillée" affichée avant envoi de commande */
.pickup-card.pickup-locked {
    background: linear-gradient(135deg, rgba(138,130,117,0.08) 0%, rgba(212,168,67,0.04) 100%);
    border: 1.5px dashed rgba(212,133,58,0.35);
    display: flex; flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}
.pickup-card.pickup-locked strong {
    color: var(--charcoal);
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
    display: block;
}
.pickup-card.pickup-locked small {
    color: #888;
    font-size: 0.78rem;
    line-height: 1.5;
    display: block;
}
.pickup-lock {
    font-size: 1.4rem;
    line-height: 1.1;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Carte "déverrouillée" sur écran de confirmation */
.pickup-card.pickup-revealed {
    animation: revealCard 0.5s ease;
}
@keyframes revealCard {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Écran de confirmation après envoi commande à emporter */
#pickup-confirm { padding: 1rem 0; }
.confirm-success {
    text-align: center;
    animation: confirmIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes confirmIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}
.confirm-emoji {
    font-size: 4rem;
    margin-bottom: 0.6rem;
    animation: bouncePop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes bouncePop {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}
.confirm-success h3 {
    font-family: 'Playfair Display', 'Space Grotesk', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.5rem;
}
.confirm-text {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}
.confirm-hint {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
    padding: 0.7rem 1rem;
    background: rgba(37,211,102,0.06);
    border-radius: 10px;
}
.confirm-close {
    margin-top: 1.2rem;
    width: 100%;
    background: var(--charcoal);
    color: white; border: none;
    padding: 1rem;
    border-radius: 14px;
    font: 700 0.95rem 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.confirm-close:hover {
    background: var(--ochre);
    transform: translateY(-1px);
}

.pickup-card {
    background: linear-gradient(135deg, rgba(212,133,58,0.08) 0%, rgba(212,168,67,0.05) 100%);
    border: 1.5px solid rgba(212,133,58,0.2);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex; flex-direction: column;
    gap: 0.8rem;
}
.pickup-addr {
    display: flex; align-items: flex-start; gap: 0.7rem;
}
.pickup-emoji {
    font-size: 1.4rem;
    line-height: 1.1;
    flex-shrink: 0;
}
.pickup-addr div { flex: 1; min-width: 0; }
.pickup-addr strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.4;
    margin-bottom: 0.2rem;
}
.pickup-addr small {
    display: block;
    font-size: 0.78rem;
    color: var(--gray, #888);
    font-weight: 500;
}
.pickup-addr small strong {
    display: inline;
    font-size: 0.85rem;
    color: var(--ochre);
    margin: 0;
}
.pickup-maps {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    background: white;
    color: var(--charcoal);
    border: 1.5px solid var(--ochre);
    padding: 0.7rem 1rem;
    border-radius: 11px;
    font-weight: 700; font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s;
}
.pickup-maps:hover {
    background: var(--ochre);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212,133,58,0.25);
}
.pickup-maps svg { color: var(--terracotta); transition: color 0.2s; }
.pickup-maps:hover svg { color: white; }

.cart-total {
    display: flex; justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    border-top: 2px solid var(--cream);
    margin-top: 0.8rem;
}
.cart-total span:first-child { font-size: 0.9rem; color: #888; }
.cart-total span:last-child {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem; font-weight: 700;
    color: var(--ochre);
}

.whatsapp-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--whatsapp), #128C7E);
    color: white; border: none;
    padding: 1.1rem;
    border-radius: 16px;
    font: 700 1rem 'Inter', sans-serif;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 6px 24px rgba(37,211,102,0.3);
    transition: all 0.3s;
    margin-top: 0.8rem;
}
.whatsapp-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.4); }

/* ===== HOW IT WORKS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
}
.step {
    text-align: center;
    padding: 1.1rem 0.4rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.step-num {
    width: 34px; height: 34px;
    background: var(--ochre);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
    margin: 0 auto 0.7rem;
}
.step h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.3rem; }
.step p { font-size: 0.72rem; color: #888; line-height: 1.4; }

/* ===== REVIEWS ===== */
.reviews {
    display: flex; gap: 0.9rem;
    overflow-x: auto;
    padding: 0 1rem 1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.reviews::-webkit-scrollbar { display: none; }
.review-card {
    flex-shrink: 0;
    width: min(280px, 80vw);
    background: white;
    padding: 1.3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 0.7rem; }
.review-text { font-size: 0.88rem; line-height: 1.6; color: #555; margin-bottom: 0.9rem; }
.review-author { display: flex; align-items: center; gap: 0.7rem; }
.review-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ochre), var(--terracotta));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 0.85rem;
    flex-shrink: 0;
}
.review-author div strong { font-size: 0.84rem; display: block; }
.review-author div span { font-size: 0.74rem; color: #aaa; }

/* ===== VIBES ===== */
.vibes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
}
.vibe-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.vibe-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.vibe-item:hover img { transform: scale(1.1); }
.vibe-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    display: flex; align-items: flex-end;
    padding: 0.8rem;
}
.vibe-overlay span { color: white; font-size: 0.78rem; font-weight: 600; }

/* ===== FOOTER ===== */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 2.8rem 1.3rem 2rem;
    margin-top: 2rem;
}
.footer-brand-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.6rem;
}
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 1.5rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}
.footer-col h4 {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ochre);
    margin-bottom: 0.9rem;
}
.footer-col p, .footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.83rem;
    line-height: 2;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
    word-break: break-word;
}
.footer-col a:hover { color: var(--ochre-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.3rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
}
.footer-whatsapp {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--whatsapp);
    color: white;
    padding: 0.8rem 1.4rem;
    border-radius: 50px;
    font: 700 0.88rem 'Inter', sans-serif;
    text-decoration: none;
    margin-bottom: 1.8rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(20px); transition: all 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; }
    * { animation: none !important; transition: none !important; }
}

/* ===== TOAST ===== */
.toast {
    position: fixed; top: 72px; left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--charcoal); color: white;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    font-size: 0.88rem; font-weight: 600;
    z-index: 3000;
    opacity: 0; pointer-events: none;
    transition: all 0.4s;
    box-shadow: var(--shadow-strong);
    display: flex; align-items: center; gap: 0.5rem;
    max-width: calc(100vw - 2rem);
    text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 360px) {
    .hero { padding: 2rem 1rem 2.8rem; }
    .hero h1 { font-size: 1.55rem; }
    .trust-bar { margin: -1.5rem 0.6rem 0; }
    .trust-item { font-size: 0.65rem; }
    .trust-item strong { font-size: 0.95rem; }
    .section { padding: 2rem 0.8rem; }
    .menu-grid { padding: 0 0.6rem; }
    .categories { padding: 0 0.6rem 1rem; }
}

@media (min-width: 600px) {
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .vibes-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
    .hero { padding: 4rem 3rem; }
    .hero h1 { font-size: 3rem; }
    .section { padding: 3.5rem 2rem; }
    .modal {
        max-width: 500px;
        left: 50%; right: auto;
        transform: translateX(-50%) translateY(100%);
        border-radius: 24px;
        bottom: 5vh;
        max-height: 85vh;
    }
    .modal.open { transform: translateX(-50%) translateY(0); }
    .footer { padding: 3rem 2rem 2rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto 2rem; }
}

@media (min-width: 1024px) {
    .menu-grid { grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto; }
    .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; max-width: 1200px; margin: 56px auto 0; }
    .trust-bar { max-width: 600px; margin: -1.5rem auto 0; }
}
