/* ============================================================
   L'Horloge Gourmande — Main Stylesheet
   Theme: Dark luxury, gold accents, warm & refined
   ============================================================ */

:root {
    --bg-dark: #0b0a07;
    --bg-card: #14120e;
    --bg-soft: #1d1a15;
    --gold: #CBA135;
    --gold-soft: #E0C878;
    --gold-strong: #D4AF37;
    --gold-glow: rgba(203, 161, 53, 0.12);
    --brown: #5C3A21;
    --brown-soft: #8B5E3C;
    --text-main: #f5f0e6;
    --text-muted: #a09882;
    --border-soft: rgba(245, 230, 200, 0.06);
    --border-gold: rgba(203, 161, 53, 0.2);
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 8px 32px rgba(203, 161, 53, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: "Playfair Display", "Georgia", serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(ellipse at 50% 0%, rgba(92, 58, 33, 0.06), transparent 70%);
}

/* ==================== Scroll reveal animations ==================== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: none; }

/* ==================== Layout ==================== */

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h1,
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--text-muted);
    max-width: 520px;
    margin-inline: auto;
}

/* ==================== Header / Nav ==================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 9, 8, 0.6);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 9, 8, 0.95);
    border-bottom-color: var(--border-soft);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    transition: color var(--transition);
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 400;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    transition: color var(--transition);
}

.main-nav a:hover {
    color: var(--text-main);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--border-gold) !important;
    color: var(--gold-soft) !important;
    transition: all var(--transition) !important;
}

.btn-nav:hover {
    background: var(--gold-glow) !important;
    color: var(--gold) !important;
}

.btn-nav::after { display: none !important; }

/* Burger mobile */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font-size: 1.1rem;
    cursor: pointer;
}

/* ==================== Hero ==================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--text-main);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image, url("../img/hero-salle.webp"));
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

/* Fallback JPG pour navigateurs sans WebP (très rares) */
@supports not (background-image: url("data:image/webp;base64,UklGR")) {
    .hero::before {
        background-image: var(--hero-image, url("../img/hero-salle.jpg"));
    }
}

.hero.loaded::before {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10, 9, 8, 0.7) 0%, rgba(10, 9, 8, 0.3) 40%, rgba(10, 9, 8, 0.88) 100%),
        radial-gradient(ellipse at 30% 20%, rgba(203, 161, 53, 0.15), transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 6rem 0 4rem;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-soft);
    border: 1px solid var(--border-gold);
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease 0.2s both;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    line-height: 1.08;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
    animation: fadeUp 0.8s ease 0.4s both;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 480px;
    animation: fadeUp 0.8s ease 0.6s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    animation: fadeUp 0.8s ease 0.8s both;
}

/* ==================== Buttons ==================== */

.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
    color: #0a0a0a;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(212, 175, 55, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-soft);
    border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
    background: var(--gold-glow);
    border-color: rgba(203, 161, 53, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
}

.full-width { width: 100%; }

/* ==================== About section ==================== */

.about {
    background: radial-gradient(ellipse at 50% 0%, rgba(203, 161, 53, 0.06), transparent 60%);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3.5rem;
    align-items: flex-start;
}

.about h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.about p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.about-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-soft);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.about-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    display: block;
}

.about-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}

.about-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==================== Menu preview ==================== */

.section-menu-preview {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0a 100%);
}

.menu-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.menu-preview-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.6rem;
    border: 1px solid var(--border-soft);
    transition: all var(--transition);
}

.menu-preview-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.menu-preview-card h3 {
    margin: 0.5rem 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.menu-preview-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(203, 161, 53, 0.1);
    color: var(--gold-soft);
    border: 1px solid rgba(203, 161, 53, 0.15);
}

.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

/* ==================== Location ==================== */

.section-location {
    background: radial-gradient(ellipse at 60% 0%, rgba(92, 58, 33, 0.2), transparent 60%);
}

.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 3rem;
    align-items: center;
}

.location-grid h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.location-info {
    color: var(--text-muted);
    line-height: 1.8;
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    min-height: 380px;
    position: relative;
}

.map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==================== Horaires block ==================== */

.horaires-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.horaires-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.9rem;
}

.horaires-list li:last-child {
    border-bottom: none;
}

.horaires-list .jour {
    color: var(--text-main);
}

.horaires-list .heures {
    color: var(--text-muted);
}

/* ==================== Reservation ==================== */

.section-reservation {
    background: var(--bg-dark);
}

.resa-hero {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.resa-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.resa-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.resa-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.resa-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resa-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--border-soft);
    transition: all var(--transition);
}

.resa-card:hover {
    border-color: var(--border-gold);
}

.resa-card-icon {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    display: block;
}

.resa-card h3 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.resa-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.resa-card a {
    color: var(--gold-soft);
    text-decoration: none;
    transition: color var(--transition);
}

.resa-card a:hover {
    color: var(--gold);
}

.reservation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
}

/* ==================== Social links ==================== */

.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--border-gold);
    color: var(--gold-soft);
    background: var(--gold-glow);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.reservation-info {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.reservation-info li + li {
    margin-top: 0.4rem;
}

.reservation-form {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.form-row-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

input, textarea, select {
    background: var(--bg-soft);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.7rem 1rem;
    font: inherit;
    font-size: 0.9rem;
    color: var(--text-main);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(203, 161, 53, 0.4);
    box-shadow: 0 0 0 3px rgba(203, 161, 53, 0.08);
}

textarea {
    border-radius: 14px;
    resize: vertical;
    min-height: 100px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239e9689' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* ==================== Menu page (carte) ==================== */

.section-menu {
    background: radial-gradient(ellipse at 50% 0%, rgba(203, 161, 53, 0.05), transparent 50%);
}

.menu-block {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem 2.25rem 2.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

a.menu-block {
    color: inherit;
    text-decoration: none;
}

.menu-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.menu-block-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    margin: 0;
}

.menu-block-date {
    margin-bottom: 1.5rem;
}

.date-picker-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-picker-inline input[type="date"] {
    background: var(--bg-soft);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.5rem 0.8rem;
    font: inherit;
    font-size: 0.85rem;
    color: var(--text-main);
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.menu-section {
    margin-bottom: 2rem;
}

.menu-section:last-child {
    margin-bottom: 0;
}

.menu-section-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold-soft);
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-section-count {
    font-family: var(--font-body);
    font-size: 0.7rem;
    background: rgba(203, 161, 53, 0.1);
    color: var(--gold-soft);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.menu-section-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: -0.25rem 0 1.25rem;
    font-style: italic;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    padding: 0.6rem 0;
}

.menu-item + .menu-item {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.menu-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.45rem 0.75rem;
}

.menu-item-row .menu-item-name {
    font-family: var(--font-display);
    font-size: 1rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.menu-item-dots {
    display: none;
}

.menu-item-row .menu-item-price {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gold-soft);
    flex-shrink: 0;
    white-space: nowrap;
    justify-self: end;
}

@media (max-width: 640px) {
    .menu-item-row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 0.35rem 0.65rem;
    }

    .menu-item-row .menu-item-name {
        font-size: 0.97rem;
        line-height: 1.35;
    }

    .menu-item-row .menu-item-price {
        font-size: 0.92rem;
        padding-top: 0.1rem;
    }
}

.menu-item-description {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.menu-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.75rem;
}

.menu-nav-link {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid var(--border-soft);
    transition: all var(--transition);
}

.menu-nav-link:hover {
    color: var(--gold-soft);
    border-color: var(--border-gold);
    background: var(--gold-glow);
}

.menu-empty {
    color: var(--text-muted);
    font-style: italic;
    padding: 1rem 0;
}

.menu-allergens {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Old menu classes (compat) */
.menu-table-wrapper { background: var(--bg-card); border-radius: var(--radius-xl); padding: 2rem; border: 1px solid var(--border-soft); }
.menu-table-meta { display: flex; justify-content: flex-end; align-items: center; gap: 0.4rem; margin-bottom: 1rem; }
.menu-date { font-size: 0.9rem; color: var(--text-muted); }
.menu-table { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
.menu-column h2 { font-family: var(--font-display); margin: 0 0 1rem; }
.menu-item-header { display: grid; grid-template-columns: auto 1fr auto; gap: 0.4rem 0.75rem; align-items: baseline; }
.menu-item-type { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-soft); }
.menu-note { margin-top: 1.5rem; font-size: 0.82rem; color: var(--text-muted); text-align: right; }

/* ==================== Admin-specific ==================== */

.admin-block .menu-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-block .menu-item:last-child { border-bottom: none; }

.admin-item-actions { margin-top: 0.4rem; }

.btn-danger {
    color: #e55;
    border-color: rgba(238, 85, 85, 0.25);
}

.btn-danger:hover {
    background: rgba(238, 85, 85, 0.1);
    color: #f77;
}

.admin-add-form {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-soft);
}

.admin-add-form h3 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

/* ==================== Flash messages ==================== */

.flash-container {
    padding-top: 5.5rem;
}

.flash {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.3s ease;
}

.flash-success {
    background: rgba(34, 120, 60, 0.15);
    border: 1px solid rgba(34, 180, 80, 0.25);
    color: #6fd88a;
}

.flash-error {
    background: rgba(180, 40, 40, 0.15);
    border: 1px solid rgba(220, 60, 60, 0.25);
    color: #f09090;
}

/* ==================== Announcement popup ==================== */

.announcement-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.announcement-modal {
    max-width: 460px;
    width: 90%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-gold);
    animation: scaleIn 0.3s ease;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.announcement-level {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0;
}

.announcement-title {
    margin: 0.2rem 0 0;
    font-size: 1.2rem;
    color: #fff;
    font-family: var(--font-display);
}

.announcement-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition);
}

.announcement-close:hover { color: #fff; }

.announcement-message {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.announcement-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ==================== Stats dashboard ==================== */

.stats-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats-kpi {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    transition: all var(--transition);
}

.stats-kpi:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.stats-kpi-muted {
    opacity: 0.55;
}

.stats-kpi-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(203, 161, 53, 0.08);
    color: var(--gold-soft);
}

.stats-kpi-data {
    display: flex;
    flex-direction: column;
}

.stats-kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.stats-kpi-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.stats-kpi-sub {
    font-size: 0.75rem;
    color: var(--gold-soft);
    margin-top: 0.2rem;
}

/* Stats panels */
.stats-panel {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1.75rem 2rem;
    border: 1px solid var(--border-soft);
    margin-bottom: 1.5rem;
}

.stats-panel-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0;
}

.stats-panel-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0.2rem 0 1.25rem;
}

/* SVG bar chart */
.stats-svg-chart {
    position: relative;
    padding-bottom: 1.5rem;
}

.stats-svg-chart svg {
    display: block;
}

.chart-bar {
    fill: var(--gold);
    opacity: 0.5;
    transition: opacity 0.15s ease;
    cursor: pointer;
}

.chart-bar:hover {
    opacity: 1;
}

.chart-tooltip {
    position: absolute;
    background: var(--bg-soft);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

.chart-tooltip strong {
    color: var(--gold-soft);
}

.chart-x-axis {
    position: relative;
    height: 1.2rem;
    margin-top: 0.3rem;
}

.chart-x-axis span {
    position: absolute;
    font-size: 0.65rem;
    color: var(--text-muted);
    transform: translateX(-50%);
}

/* Top pages */
.stats-top-pages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stats-page-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.stats-page-rank {
    width: 28px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-soft);
    text-align: center;
    flex-shrink: 0;
}

.stats-page-path {
    width: 120px;
    font-size: 0.85rem;
    font-family: ui-monospace, monospace;
    color: var(--text-main);
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stats-page-bar-wrap {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    overflow: hidden;
}

.stats-page-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-strong));
    border-radius: 999px;
    transition: width 0.6s ease;
}

.stats-page-count {
    width: 40px;
    text-align: right;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Secondary KPI row (engagement) */
.stats-kpi-grid-secondary {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stats-kpi-value-small {
    font-size: 1.25rem;
}

/* Hourly heatmap bar chart */
.stats-hourly-grid {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 160px;
    padding-top: 0.5rem;
}

.stats-hour-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    cursor: default;
}

.stats-hour-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    flex-shrink: 0;
    order: 3;
}

.stats-hour-bar-track {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    order: 2;
}

.stats-hour-bar {
    width: 100%;
    min-height: 2px;
    background: linear-gradient(180deg, var(--gold-strong), var(--gold));
    border-radius: 3px 3px 0 0;
    opacity: 0.6;
    transition: opacity 0.15s ease, height 0.4s ease;
}

.stats-hour-cell:hover .stats-hour-bar {
    opacity: 1;
}

.stats-hour-count {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--gold-soft);
    flex-shrink: 0;
    order: 1;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.stats-hour-cell:hover .stats-hour-count {
    opacity: 1;
}

/* ==================== Inventaire simplifié ==================== */

.inv-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.inv-filter-bar {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.inv-filter-tag {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    text-decoration: none;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.inv-filter-tag:hover {
    color: var(--text-main);
    border-color: var(--border-gold);
}

.inv-filter-tag.active {
    color: var(--bg-dark);
    background: var(--gold);
    font-weight: 600;
}

/* Stock sections */
.inv-section {
    margin-bottom: 1.5rem;
}

.inv-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-gold);
    margin-bottom: 0.5rem;
}

.inv-section-header h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0;
}

.inv-section-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Product rows in stock view */
.inv-product-list {
    display: flex;
    flex-direction: column;
}

.inv-product-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: background 0.15s ease;
}

.inv-product-row:hover {
    background: rgba(203, 161, 53, 0.03);
}

.inv-product-name {
    flex: 1;
    font-size: 0.9rem;
}

.inv-product-qty {
    text-align: right;
    min-width: 90px;
    font-size: 0.9rem;
}

.inv-product-qty strong {
    color: var(--gold-soft);
    font-size: 1rem;
}

.inv-product-qty span {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-left: 0.25rem;
}

.inv-product-value {
    text-align: right;
    min-width: 60px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Counting form */
.inv-count-list {
    display: flex;
    flex-direction: column;
}

.inv-count-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.inv-count-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.inv-count-name {
    font-size: 0.92rem;
    font-weight: 500;
}

.inv-count-last {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.inv-count-last strong {
    color: var(--gold-soft);
}

.inv-count-input {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.inv-qty-input {
    width: 80px;
    text-align: center;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
}

.inv-count-unit {
    font-size: 0.78rem;
    color: var(--text-muted);
    min-width: 50px;
}

.inv-count-submit {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

/* Product management */
.inv-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.inv-manage-section-header {
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-soft);
    border-bottom: 1px solid var(--border-gold);
    margin-top: 1rem;
}

.inv-manage-section-header:first-child {
    margin-top: 0;
}

.inv-manage-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.inv-manage-row:hover {
    background: rgba(203, 161, 53, 0.03);
}

.inv-manage-inactive {
    opacity: 0.45;
}

.inv-manage-name {
    flex: 1;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inv-inactive-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
}

.inv-manage-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 100px;
}

.inv-manage-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* History list */
.inv-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.inv-history-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    background: var(--bg-soft);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.inv-history-row:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.inv-history-date {
    font-weight: 600;
    min-width: 85px;
}

.inv-history-meta {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.inv-history-value {
    font-weight: 600;
    color: var(--gold-soft);
}

.btn-sm {
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
}

/* ==================== Footer ==================== */

.site-footer {
    border-top: 1px solid var(--border-soft);
    padding: 3rem 0 1.5rem;
    background: #060504;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    font-size: 0.88rem;
}

.footer-grid h3, .footer-grid h4 {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
}

.footer-grid p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-bottom {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    color: var(--gold-soft);
    border-color: var(--border-gold);
    background: var(--gold-glow);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ==================== Error page ==================== */

.section-error {
    padding: 8rem 0;
    text-align: center;
}

/* ==================== Focus states (a11y) ==================== */

a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible {
    border-color: rgba(203, 161, 53, 0.4);
    box-shadow: 0 0 0 3px rgba(203, 161, 53, 0.08);
}
.btn-primary:focus-visible, .btn-secondary:focus-visible, .btn-ghost:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ==================== Gallery ==================== */

.section-gallery,
.section-gallery-preview {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0c0b09 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item,
.gallery-preview-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img,
.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-preview-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay,
.gallery-preview-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0;
}

.gallery-item-overlay p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 1rem;
}

.lightbox-caption h3 {
    font-family: var(--font-display);
    margin: 0;
}

.lightbox-caption p {
    color: var(--text-muted);
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.6;
    transition: opacity var(--transition);
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-close { top: 1rem; right: 1.5rem; font-size: 2.5rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* Admin gallery grid */
.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.admin-gallery-item {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-soft);
}

.admin-gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.admin-gallery-info {
    padding: 0.75rem;
}

.admin-gallery-info strong {
    font-size: 0.9rem;
}

.admin-gallery-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0;
}

.admin-gallery-item .admin-item-actions {
    padding: 0 0.75rem 0.75rem;
}

/* ==================== Admin tables ==================== */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th {
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border-soft);
}

.admin-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.admin-table tbody tr:hover {
    background: rgba(203, 161, 53, 0.03);
}

.drag-over-row {
    border-top: 2px solid var(--gold) !important;
}

.drag-handle-cell:active {
    cursor: grabbing;
}

.admin-table tfoot td {
    padding-top: 0.75rem;
}

/* ==================== Admin section titles ==================== */

.admin-section-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-section-title svg {
    color: var(--gold-soft);
    flex-shrink: 0;
}

/* ==================== Daily formulas (public) ==================== */

.daily-formula {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-soft);
}

.daily-formula-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-gold);
}

.daily-formula-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0;
}

.daily-formula-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-soft);
}

.daily-formula-line {
    display: flex;
    gap: 0.75rem;
    padding: 0.35rem 0;
}

.daily-formula-label {
    color: var(--gold-soft);
    font-size: 0.82rem;
    font-weight: 600;
    min-width: 65px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.daily-formula-text {
    font-size: 0.95rem;
}

.daily-formulas-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.daily-formula-option {
    background: var(--bg-soft);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 140px;
    flex: 1;
}

.daily-formula-option-name {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.daily-formula-option-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-soft);
}

/* ==================== Menu enfant ==================== */

/* ==================== Category notes (suppléments, etc.) ==================== */

.menu-category-notes {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.menu-category-note {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-style: italic;
    color: var(--text-muted);
}

.menu-category-note-text {
    flex: 1;
}

.menu-category-note-price {
    color: var(--gold-soft);
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
}

/* ==================== Menu enfant details ==================== */

.menu-enfant-header-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-soft);
}

.menu-enfant-details {
    margin-top: 0.75rem;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.menu-enfant-section {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.menu-enfant-label {
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    min-width: 65px;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.menu-enfant-choices {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.menu-enfant-choice {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.menu-enfant-choice-text {
    font-size: 0.92rem;
    color: var(--text-main);
}

.menu-enfant-ou {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

.menu-enfant-text {
    font-size: 0.92rem;
    color: var(--text-main);
}

/* ==================== Cookie banner ==================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--bg-card);
    border-top: 1px solid var(--border-gold);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    animation: fadeUp 0.4s ease;
}

.cookie-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-inner p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex: 1;
    min-width: 200px;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

/* ==================== Image lazy blur → net ==================== */

.img-lazy {
    filter: blur(12px);
    opacity: 0.6;
    transform: scale(1.02);
    transition: filter 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
}

.img-lazy.loaded {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

/* ==================== SVG icons in about cards ==================== */

.about-card-icon svg {
    color: var(--gold-soft);
}

/* ==================== Responsive ==================== */

@media (max-width: 800px) {
    .header-inner { gap: 1rem; }

    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        flex-direction: column;
        background: rgba(10, 9, 8, 0.97);
        backdrop-filter: blur(20px);
        padding: 1.25rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
        border-bottom: 1px solid var(--border-soft);
    }

    .main-nav.main-nav-open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle { display: inline-flex; }

    .about-grid,
    .location-grid,
    .reservation-grid,
    .resa-layout,
    .menu-table {
        grid-template-columns: minmax(0, 1fr);
    }

    .resa-sidebar { order: 2; }

    .hero { min-height: 80vh; }
    .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }

    .reservation-form { margin-top: 0; }

    .flash-container { padding-top: 4.5rem; }

    .menu-block { padding: 1.5rem; }
}

@media (max-width: 500px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section { padding: 3.5rem 0; }

    .form-row-inline {
        grid-template-columns: 1fr;
    }

    .stats-kpi-grid { grid-template-columns: 1fr 1fr; }

    .stats-kpi-grid-secondary { grid-template-columns: 1fr; }

    .stats-hourly-grid {
        height: 120px;
    }
    .stats-hour-label {
        font-size: 0.5rem;
    }
    .stats-hour-count {
        opacity: 1;
        font-size: 0.5rem;
    }

    .inv-count-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .inv-manage-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .inv-manage-actions {
        width: 100%;
    }

    .inv-form-grid {
        grid-template-columns: 1fr;
    }

    .inv-product-row {
        flex-wrap: wrap;
    }
}

/* ==================== Sales layout ==================== */

.sales-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.45fr;
    gap: 1.25rem;
    align-items: start;
}

.sales-add-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.sales-kpi-grid {
    margin: 1rem 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 800px) {
    .sales-layout {
        grid-template-columns: 1fr;
    }

    .sales-add-grid {
        grid-template-columns: 1fr;
    }

    .sales-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Catalogue admin: catégories gestion */
    .menu-enfant-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

@media (max-width: 500px) {
    .sales-kpi-grid {
        grid-template-columns: 1fr;
    }

    .menu-block {
        padding: 1rem 1rem 1.25rem;
    }

    .admin-table {
        font-size: 0.78rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.4rem 0.5rem;
    }

    .menu-preview-grid {
        grid-template-columns: 1fr;
    }
}
