/* ===== LEVEL 3 — LA TABLE DE MATHIEU — RESTAURANT GASTRONOMIQUE ===== */
/* Une marque avec direction artistique : palette gastronomique riche, rythme typographique soigné,
   header sticky avec section active, révélations au scroll, cartes menu vivantes. */

:root {
    /* Palette gastronomique : bordeaux profond + crème + or champagne */
    --ink: #1c1410;            /* brun-noir chaud (texte / fonds sombres) */
    --ink-soft: #2a201a;
    --bordeaux: #5a1f1f;        /* accent profond */
    --bordeaux-deep: #3d1414;
    --gold: #c8a45a;            /* or champagne */
    --gold-light: #ddc18a;
    --gold-dark: #a6853a;
    --cream: #f7f1e8;           /* fond crème chaud */
    --cream-deep: #efe5d6;
    --paper: #fffdfa;
    --text: #4a3f38;
    --text-light: #8a7d72;
    --line: #e6dccd;
    --bg: var(--cream);
    --white: #fff;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 10px 40px -12px rgba(60,40,20,0.18);
    --shadow-soft: 0 6px 28px -10px rgba(60,40,20,0.14);
    --shadow-gold: 0 14px 40px -12px rgba(166,133,58,0.45);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--ink); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
    html { scroll-behavior: auto; }
}

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.4s var(--ease);
    padding: 8px 0;
}
.header::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(28,20,16,0.55), rgba(28,20,16,0));
    opacity: 1; transition: opacity 0.5s var(--ease);
    pointer-events: none;
}
.header.scrolled {
    background: rgba(24,17,13,0.92);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 1px 0 rgba(200,164,90,0.18), 0 18px 40px -20px rgba(0,0,0,0.6);
    padding: 0;
}
.header.scrolled::after { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; transition: height 0.4s var(--ease); }
.header.scrolled .header-inner { height: 66px; }
.logo {
    font-family: var(--serif);
    font-size: 1.6rem; font-weight: 700; color: #fff; text-decoration: none;
    letter-spacing: 0.3px; line-height: 1;
    display: inline-flex; align-items: center; gap: 10px;
}
.logo::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 0 4px rgba(200,164,90,0.22);
    flex: none;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
    text-decoration: none; color: rgba(255,255,255,0.78); font-size: 0.82rem;
    font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase;
    transition: color 0.3s; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
    background: var(--gold); transition: width 0.35s var(--ease);
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--gold); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 22px; position: relative; z-index: 110; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; position: absolute; left: 0; right: 0; transition: 0.35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }
.menu-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 36px; border-radius: 50px; font-weight: 600; text-decoration: none;
    font-size: 0.82rem; letter-spacing: 1.2px; text-transform: uppercase;
    transition: all 0.4s var(--ease); cursor: pointer; border: none;
    font-family: var(--sans); position: relative; overflow: hidden;
}
.btn-sm { padding: 11px 26px; font-size: 0.76rem; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
    color: var(--ink); box-shadow: 0 8px 24px -10px rgba(166,133,58,0.6);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-gold::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-18deg); transition: left 0.7s var(--ease);
}
.btn-gold:hover::after { left: 140%; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.45); color: #fff; background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,164,90,0.08); transform: translateY(-3px); }
.nav .btn { color: var(--ink); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(120% 90% at 25% 30%, rgba(90,31,31,0.35), transparent 60%),
        linear-gradient(180deg, rgba(20,14,10,0.55) 0%, rgba(20,14,10,0.35) 40%, rgba(20,14,10,0.85) 100%);
}
.hero-overlay::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 4px 4px; opacity: 0.5;
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 680px; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 0.74rem; letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--gold-light); margin-bottom: 22px; font-weight: 600;
}
.hero-tag::before { content: ""; width: 38px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 {
    font-family: var(--serif); font-size: clamp(3rem, 8vw, 5.4rem); font-weight: 600;
    line-height: 1.02; margin-bottom: 26px; letter-spacing: -0.5px;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero p { font-size: 1.12rem; color: rgba(255,255,255,0.82); margin-bottom: 40px; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); z-index: 2; text-align: center; color: rgba(255,255,255,0.6); font-size: 0.66rem; letter-spacing: 2.5px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); margin: 10px auto 0; overflow: hidden; position: relative; }
.scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold); animation: scrollDrop 2s var(--ease) infinite; }
@keyframes scrollDrop { 0% { top: -50%; } 100% { top: 100%; } }

/* ===== SECTIONS / RHYTHM ===== */
section { padding: 118px 0; position: relative; }
.section-tag {
    display: block; text-align: center; font-size: 0.72rem; letter-spacing: 3.5px;
    text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: 14px;
}
h2 {
    font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 600;
    text-align: center; margin-bottom: 14px; color: var(--ink); letter-spacing: -0.4px; line-height: 1.08;
}
/* Filet décoratif sous les titres */
.section-tag + h2 { margin-bottom: 18px; }
h2::after {
    content: ""; display: block; width: 54px; height: 2px; margin: 22px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.chef-text h2::after, .galerie h2::after { margin-left: 0; }
.chef-text h2::after { background: linear-gradient(90deg, var(--gold), transparent); }
h2 + .section-sub { text-align: center; color: var(--text-light); margin: -2px auto 54px; max-width: 540px; }

/* ===== PLAT DU JOUR ===== */
.plat-du-jour { padding: 0; }
.pdj-inner {
    display: flex; align-items: center; gap: 28px;
    background: linear-gradient(120deg, var(--bordeaux-deep), var(--bordeaux));
    color: #fff; padding: 30px 48px; position: relative; overflow: hidden;
}
.pdj-inner::before {
    content: "❦"; position: absolute; right: -10px; bottom: -30px; font-size: 9rem;
    color: rgba(200,164,90,0.10); font-family: var(--serif); line-height: 1; pointer-events: none;
}
.pdj-badge {
    background: var(--gold); color: var(--ink); padding: 9px 22px; border-radius: 50px;
    font-size: 0.72rem; font-weight: 700; white-space: nowrap; letter-spacing: 2px;
    text-transform: uppercase; flex: none; box-shadow: 0 6px 18px -6px rgba(0,0,0,0.4);
}
.pdj-content { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; flex-wrap: wrap; position: relative; z-index: 1; }
.pdj-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.pdj-desc { font-size: 0.9rem; color: rgba(255,255,255,0.72); max-width: 420px; line-height: 1.5; }
.pdj-price { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-light); font-weight: 700; white-space: nowrap; }

/* ===== CARTE / MENU ===== */
.carte { background:
    radial-gradient(60% 50% at 50% 0%, rgba(200,164,90,0.06), transparent 70%),
    var(--paper); }
.carte-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 50px; flex-wrap: wrap; }
.tab {
    padding: 11px 30px; border: 1.5px solid var(--line); border-radius: 50px; background: transparent;
    font-family: var(--sans); font-size: 0.78rem; font-weight: 600; cursor: pointer;
    transition: all 0.4s var(--ease); color: var(--text); letter-spacing: 1.2px; text-transform: uppercase;
}
.tab:hover { border-color: var(--gold); color: var(--gold-dark); }
.tab.active {
    background: linear-gradient(135deg, var(--ink-soft), var(--ink)); color: #fff;
    border-color: var(--ink); box-shadow: 0 10px 24px -12px rgba(28,20,16,0.6);
}
.carte-content { max-width: 760px; margin: 0 auto; }
.menu-item {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 22px 22px; border-radius: var(--radius); position: relative;
    transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    animation: menuFade 0.5s var(--ease) backwards;
}
.menu-item::before {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 1px;
    background: var(--line);
}
.menu-item:last-child::before { display: none; }
.menu-item:hover {
    background: var(--paper); transform: translateX(6px);
    box-shadow: var(--shadow-soft); z-index: 1;
}
.menu-item:hover::before { opacity: 0; }
.menu-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; color: var(--ink); transition: color 0.3s; }
.menu-item:hover .menu-name { color: var(--bordeaux); }
.menu-desc { font-size: 0.86rem; color: var(--text-light); margin-top: 5px; line-height: 1.45; }
.menu-price { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-dark); font-weight: 700; white-space: nowrap; margin-left: 20px; }
.menu-dots { flex: 1; border-bottom: 1px dotted var(--line); margin: 0 14px; min-width: 30px; align-self: end; margin-bottom: 8px; }
@keyframes menuFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.menu-item:nth-child(1) { animation-delay: 0.04s; }
.menu-item:nth-child(2) { animation-delay: 0.08s; }
.menu-item:nth-child(3) { animation-delay: 0.12s; }
.menu-item:nth-child(4) { animation-delay: 0.16s; }
.menu-item:nth-child(5) { animation-delay: 0.20s; }

/* ===== CHEF ===== */
.chef { background: var(--cream); position: relative; }
.chef-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.chef-img { position: relative; }
.chef-img img { width: 100%; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow); filter: saturate(1.05) contrast(1.02); }
.chef-img::before {
    content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold);
    border-radius: var(--radius-lg); z-index: -1;
}
.chef-text .section-tag { text-align: left; }
.chef-text h2 { text-align: left; }
.chef-quote {
    font-family: var(--serif); font-size: 1.7rem; font-style: italic; color: var(--bordeaux);
    margin: 8px 0 24px; line-height: 1.4; font-weight: 500; position: relative; padding-left: 24px;
}
.chef-quote::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--gold); border-radius: 3px; }
.chef-text p { margin-bottom: 16px; font-size: 0.98rem; color: var(--text); line-height: 1.75; }
.chef-awards { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.award {
    text-align: center; padding: 20px 24px; background: var(--paper); border-radius: var(--radius);
    box-shadow: var(--shadow-soft); font-weight: 700; font-size: 0.95rem; color: var(--ink);
    border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.award:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.award small { display: block; font-weight: 400; color: var(--text-light); font-size: 0.76rem; margin-top: 4px; }

/* ===== GALERIE MOSAIQUE ===== */
.galerie { background: linear-gradient(180deg, var(--ink), var(--ink-soft)); padding-bottom: 0; }
.galerie .section-tag { color: var(--gold-light); }
.galerie h2 { color: var(--cream); }
.galerie h2::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.galerie-full { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 6px; margin-top: 8px; }
.g-item { overflow: hidden; position: relative; }
.g-item::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(28,20,16,0.4));
    opacity: 0; transition: opacity 0.5s var(--ease);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); filter: saturate(0.95); }
.g-item:hover img { transform: scale(1.09); filter: saturate(1.1); }
.g-item:hover::after { opacity: 1; }
.g-tall { grid-row: span 2; }

/* ===== AVIS ===== */
.avis { background: var(--cream); }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.avis-card {
    background: var(--paper); border-radius: var(--radius-lg); padding: 38px 34px;
    box-shadow: var(--shadow-soft); border: 1px solid var(--line); position: relative;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.avis-card::before {
    content: "\201C"; position: absolute; top: 6px; right: 26px; font-family: var(--serif);
    font-size: 5rem; color: var(--gold); opacity: 0.18; line-height: 1;
}
.avis-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.avis-stars { margin-bottom: 14px; font-size: 0.85rem; letter-spacing: 2px; filter: saturate(1.1); }
.avis-card p { font-size: 1rem; font-style: italic; font-family: var(--serif); line-height: 1.6; margin-bottom: 20px; color: var(--ink); }
.avis-footer strong { display: block; color: var(--bordeaux); font-size: 0.92rem; font-weight: 700; }
.avis-footer span { font-size: 0.78rem; color: var(--text-light); }

/* ===== RESERVATION ===== */
.reservation { background:
    radial-gradient(70% 60% at 50% 100%, rgba(90,31,31,0.05), transparent 70%),
    var(--paper); }
.resa-sub { text-align: center; color: var(--text-light); margin: -2px auto 46px; max-width: 520px; }
.resa-widget {
    max-width: 740px; margin: 0 auto; background: var(--cream);
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 44px;
    box-shadow: var(--shadow-soft);
}
.resa-step { display: none; animation: stepFade 0.5s var(--ease); }
.resa-step.active { display: block; }
@keyframes stepFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.resa-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.resa-form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.resa-field { display: flex; flex-direction: column; margin-bottom: 0; }
.resa-field.full { grid-column: 1 / -1; margin-bottom: 0; }
.resa-step .resa-field.full { margin-top: 18px; margin-bottom: 4px; }
.resa-field label { font-size: 0.74rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); letter-spacing: 0.8px; text-transform: uppercase; }
.resa-field input, .resa-field select, .resa-field textarea {
    padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 0.92rem;
    font-family: var(--sans); background: var(--paper); transition: border 0.3s, box-shadow 0.3s; color: var(--text);
}
.resa-field input:focus, .resa-field select:focus, .resa-field textarea:focus {
    border-color: var(--gold); outline: none; box-shadow: 0 0 0 4px rgba(200,164,90,0.15);
}

.resa-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 30px; }
.slot {
    padding: 13px; text-align: center; border: 1.5px solid var(--line); border-radius: 10px;
    font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s var(--ease); background: var(--paper); color: var(--ink);
}
.slot:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); }
.slot.selected { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: var(--ink); border-color: var(--gold-dark); box-shadow: var(--shadow-soft); }
.slot.unavailable { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.resa-step > .btn { width: 100%; }
.resa-recap { background: var(--paper); padding: 18px 22px; border-radius: 12px; margin-bottom: 26px; font-size: 0.92rem; border: 1px solid var(--line); border-left: 3px solid var(--gold); color: var(--ink); }
.resa-actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; }
.resa-actions .btn { flex: 1; }
.resa-actions .btn-ghost { color: var(--text); border-color: var(--line); background: transparent; }
.resa-actions .btn-ghost:hover { border-color: var(--bordeaux); color: var(--bordeaux); background: rgba(90,31,31,0.04); }

.resa-success { text-align: center; padding: 40px 20px; }
.success-check {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: var(--ink);
    font-size: 2.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
    box-shadow: var(--shadow-gold); animation: pop 0.5s var(--ease);
}
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.resa-success h3 { font-family: var(--serif); font-size: 2rem; color: var(--ink); margin-bottom: 14px; }
.confirm-note { font-size: 0.86rem; color: var(--text-light); margin-top: 10px; }

/* ===== INFOS ===== */
.infos { background: linear-gradient(160deg, var(--ink), var(--bordeaux-deep)); color: #fff; padding: 80px 0; position: relative; }
.infos::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.infos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.info-block h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.info-block p { font-size: 0.92rem; color: rgba(255,255,255,0.75); margin-bottom: 8px; line-height: 1.7; }
.info-block a { color: var(--gold-light); text-decoration: none; transition: color 0.3s; }
.info-block a:hover { color: #fff; }
.link-arrow { display: inline-block; margin-top: 10px; font-weight: 600; letter-spacing: 0.5px; transition: 0.3s var(--ease); }
.link-arrow:hover { transform: translateX(5px); }

/* ===== ADMIN PANEL ===== */
.admin-toggle {
    position: fixed; bottom: 26px; right: 26px; width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ink-soft), var(--ink)); color: var(--gold);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer;
    z-index: 200; box-shadow: 0 10px 28px -8px rgba(0,0,0,0.5); transition: transform 0.35s var(--ease); border: 1px solid rgba(200,164,90,0.3);
}
.admin-toggle:hover { transform: scale(1.1) rotate(45deg); }
.admin-panel { position: fixed; bottom: 0; right: 0; width: 390px; max-height: 84vh; background: var(--paper); z-index: 201; border-radius: 16px 0 0 0; box-shadow: -10px 0 50px -12px rgba(0,0,0,0.3); transform: translateX(110%); transition: transform 0.5s var(--ease); overflow-y: auto; border-left: 1px solid var(--line); }
.admin-panel.open { transform: translateX(0); }
.admin-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--ink); color: #fff; z-index: 1; }
.admin-header h3 { font-size: 0.95rem; font-weight: 600; }
.admin-header button { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: rgba(255,255,255,0.7); }
.admin-header button:hover { color: var(--gold); }
.admin-body { padding: 22px; }
.admin-info { font-size: 0.82rem; color: var(--text); background: rgba(200,164,90,0.1); border: 1px solid rgba(200,164,90,0.25); padding: 12px 16px; border-radius: 10px; margin-bottom: 22px; }
.admin-section { margin-bottom: 26px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.admin-section h4 { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-bottom: 14px; }
.admin-section label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 5px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.admin-section input, .admin-section textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 9px; font-size: 0.88rem; font-family: var(--sans); margin-bottom: 12px; background: var(--cream); color: var(--text); }
.admin-section input:focus, .admin-section textarea:focus { border-color: var(--gold); outline: none; }
.admin-note { font-size: 0.82rem; color: var(--text-light); margin-bottom: 12px; }
.admin-notifs { background: var(--cream); border-radius: 10px; padding: 14px; max-height: 200px; overflow-y: auto; border: 1px solid var(--line); }
.notif-item { padding: 10px; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--ink); }
.notif-item:last-child { border-bottom: none; }
.empty-notif { color: var(--text-light); font-size: 0.82rem; text-align: center; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 64px 0 0; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,164,90,0.5), transparent); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer-brand .logo { font-size: 1.5rem; display: inline-flex; margin-bottom: 12px; color: #fff; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-social a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.86rem; letter-spacing: 0.5px; transition: color 0.3s, padding-left 0.3s; }
.footer-links a:hover, .footer-social a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .chef-inner { grid-template-columns: 1fr; gap: 44px; }
    .chef-img::before { inset: 14px -14px -14px 14px; }
}
@media (max-width: 768px) {
    section { padding: 80px 0; }
    .menu-toggle { display: block; }
    .nav {
        display: flex; position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 320px;
        flex-direction: column; align-items: flex-start; justify-content: center;
        background: linear-gradient(160deg, var(--ink), var(--bordeaux-deep)); padding: 40px 36px; gap: 26px;
        transform: translateX(100%); transition: transform 0.45s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,0.4);
    }
    .nav.nav-open { transform: translateX(0); }
    .nav a { font-size: 1rem; }
    .nav a:not(.btn)::after { display: none; }
    .nav .btn { margin-top: 8px; }
    .pdj-inner { flex-direction: column; text-align: center; padding: 28px 24px; }
    .pdj-content { flex-direction: column; gap: 10px; }
    .carte-tabs { gap: 8px; }
    .tab { padding: 9px 20px; font-size: 0.72rem; }
    .resa-widget { padding: 28px 22px; }
    .resa-form-grid, .resa-form-grid.cols-2 { grid-template-columns: 1fr; }
    .resa-slots { grid-template-columns: repeat(2, 1fr); }
    .resa-actions { flex-direction: column; }
    .galerie-full { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
    .avis-grid, .infos-grid { grid-template-columns: 1fr; }
    .admin-panel { width: 100%; border-radius: 16px 16px 0 0; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .menu-item:hover { transform: none; }
}
