:root {
  --bg: #081015; 
  --bg-2: #0d171c; 
  --bg-3: #0f1d23; 
  --panel: rgba(15,25,30,.74); 
  --line: rgba(255,255,255,.08);
  --text: #f7f2e8; 
  --muted: rgba(247,242,232,.74); 
  --gold: #d4ad68; 
  --gold-2: #efd39e; 
  --sea: #2f6872;
  --earth: #7b5637; 
  --danger: #ff5c5c; 
  --warning: #f5a623; 
  --success: #5cff9d;
  --shadow: 0 20px 60px rgba(0,0,0,.30); 
  --shadow-soft: 0 12px 30px rgba(0,0,0,.18);
  --max: 1240px; 
  --header-h: 86px;
  color-scheme: dark; 
}

/* =========================================
   1. PROTECTION & BASE
   ========================================= */
body { 
  margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--text); overflow-x: hidden; 
  min-height: 100vh; background: transparent; padding-bottom: 80px; 
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; 
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
input, textarea, select, .copy-text, .sys-terminal, .menu-item-price {
  -webkit-user-select: auto; user-select: auto;
}
img { max-width: 100%; display: block; border-radius: 18px; pointer-events: none; } 
a { text-decoration: none; color: inherit; pointer-events: auto; } 
button, input, select, textarea { font: inherit; -webkit-appearance: none; -moz-appearance: none; appearance: none; outline: none; } 
button { cursor: pointer; pointer-events: auto; }
.hidden { opacity: 0; pointer-events: none; visibility: hidden; display: none !important; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-2), var(--earth)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
html { scroll-behavior: smooth; background-color: #081015; }
* { box-sizing: border-box; } 

body::before { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.03), transparent 18%); opacity: .7; z-index: -2; }

/* =========================================
   2. LOADER GLOBAL & ANIMATIONS OCÉAN
   ========================================= */
.global-loader { position: fixed; inset: 0; background: var(--bg); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s ease, visibility 0.8s ease; }
.global-loader.hidden-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 15px; }

.tm-logo-loader { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 700; color: var(--gold-2); border: 2px solid var(--gold-2); width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; user-select: none; transition: transform 0.2s ease; box-shadow: 0 0 20px rgba(212,173,104,0.3), inset 0 0 15px rgba(212,173,104,0.2); animation: pulse 2s infinite alternate; }
.tm-logo-loader:active { transform: scale(0.85) rotate(15deg); }

.loader-anecdote { font-size: 1.1rem; max-width: 80%; line-height: 1.5; font-style: italic; min-height: 60px; color: var(--gold-2); margin: 0; padding: 0 20px; }
.loader-hint { font-size: 0.85rem; color: var(--muted); opacity: 0.8; margin-top: -5px; }

.spinner { width: 40px; height: 40px; border: 3px solid rgba(212,173,104,0.2); border-top-color: var(--gold-2); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { box-shadow: 0 0 10px rgba(212,173,104,0.1), inset 0 0 5px rgba(212,173,104,0.1); } to { box-shadow: 0 0 25px rgba(212,173,104,0.5), inset 0 0 20px rgba(212,173,104,0.3); } }

.animated-ocean-bg { position: fixed; top: -10%; left: -10%; right: -10%; bottom: -10%; z-index: -3; background: linear-gradient(160deg, rgba(8,16,21,0.3) 0%, rgba(4,18,28,0.6) 100%), url('https://images.unsplash.com/photo-1520962880247-cfaf541c8724?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; transform: translate3d(0,0,0); animation: oceanBreathe 18s ease-in-out infinite alternate; }
@keyframes oceanBreathe { 0% { transform: scale(1) translateZ(0); } 100% { transform: scale(1.15) translateZ(0); } }
.wave-layer { position: fixed; bottom: 0; left: 0; width: 200%; height: 300px; z-index: -2; opacity: 0.05; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" d="M0,160L48,170.7C96,181,192,203,288,208C384,213,480,203,576,186.7C672,171,768,149,864,149.3C960,149,1056,171,1152,176C1248,181,1344,171,1392,165.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat-x; background-size: 50% 100%; animation: waveMove 30s linear infinite; pointer-events: none; }
.wave2 { opacity: 0.03; height: 350px; animation: waveMove 20s linear infinite reverse; }
@keyframes waveMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   3. TYPOGRAPHIE ET STRUCTURE
   ========================================= */
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; } 
.section { padding: clamp(50px, 8vw, 85px) 0; position: relative; } 
.section-tight { padding-top: 20px; }
.section-title { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto 28px; text-align: center; }
.eyebrow { display: inline-flex; align-self: center; padding: 8px 14px; border-radius: 999px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--gold-2); border: 1px solid rgba(212,173,104,.24); background: rgba(212,173,104,.10); }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; letter-spacing: .01em; margin: 0; } 
h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .95; } 
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin: 0; }

/* =========================================
   4. HEADER PUBLIC
   ========================================= */
.site-header { position: sticky; top: 0; z-index: 70; height: var(--header-h); background: linear-gradient(180deg, rgba(8,16,21,.85), rgba(8,16,21,.3)); border-bottom: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(14px); }
.site-header .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; }
.brand-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: #081015; background: linear-gradient(135deg, var(--gold-2), var(--gold)); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; box-shadow: 0 5px 15px rgba(212,173,104,0.4); flex-shrink: 0; }
.brand-text strong { display: block; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); } 
.brand-text span { display: block; font-size: .8rem; color: var(--muted); }
.fb-badge { background: rgba(212,173,104,0.1); border: 1px solid var(--gold-2); color: var(--gold-2); padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: bold; transition: 0.3s; margin-left: auto; box-shadow: 0 4px 15px rgba(212,173,104,0.15);}
.fb-badge:hover { background: var(--gold-2); color: #000; transform: translateY(-2px); }
.nav { display: flex; align-items: center; gap: 10px; } 
.nav a { padding: 10px 14px; border-radius: 999px; color: rgba(247,242,232,.88); transition: .25s ease; font-size: .95rem; font-weight: 600; white-space: nowrap; } 
.nav a:hover { background: rgba(255,255,255,.05); transform: translateY(-1px); }

/* =========================================
   5. HERO SECTION (AVEC IMAGES PLUS TRANSPARENTES)
   ========================================= */
.hero { padding: 54px 0 28px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 28px; }
.hero-main { 
    border-radius: 34px; padding: 50px 40px; min-height: clamp(400px, 55vh, 580px); display: flex; flex-direction: column; justify-content: flex-end; 
    background: linear-gradient(135deg, rgba(18,42,54,0.85), rgba(9,17,22,0.96) 58%, rgba(69,50,34,0.85)), url('https://images.unsplash.com/photo-1556040220-4096d522378d?auto=format&fit=crop&w=1600&q=80') center/cover; 
    background-blend-mode: overlay; border: 1px solid rgba(212,173,104,0.25); box-shadow: 0 30px 60px rgba(0,0,0,0.7), inset 0 0 40px rgba(212,173,104,0.1); 
}
.hero-badge { display: inline-block; align-self: flex-start; background: linear-gradient(135deg, rgba(212,173,104,0.15), rgba(212,173,104,0.05)); color: var(--gold-2); border: 1px solid rgba(212,173,104,0.4); padding: 8px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); backdrop-filter: blur(5px); }
.hero-copy h1 { font-size: clamp(3.3rem, 7vw, 6.4rem); line-height: .88; margin: 0 0 16px; text-shadow: 0 4px 20px rgba(0,0,0,0.6); } 
.hero-copy p { font-size: 1.1rem; line-height: 1.8; color: rgba(255,255,255,.9); max-width: 640px; margin: 0 0 30px; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; } 
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); transition: transform 0.3s ease, box-shadow 0.3s ease; font-weight: 800; text-align: center; } 
.btn-primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #122026; box-shadow: 0 10px 25px rgba(212,173,104,0.3); border: none; } 
.btn-secondary { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; backdrop-filter: blur(10px); } 

.hero-side { display: grid; gap: 20px; } 
.hours-card { border-radius: clamp(20px, 4vw, 28px); padding: clamp(20px, 4vw, 32px); background: rgba(0,0,0,0.25); border: 1px solid rgba(212,173,104,0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.4); backdrop-filter: blur(8px); transform: translateZ(0); } 
.hours-card h3 { font-size: clamp(1.8rem, 5vw, 2.2rem); margin: 0 0 8px; color: var(--gold-2); text-shadow: 0 2px 4px rgba(0,0,0,0.8); } 
.hours-card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: clamp(0.9rem, 3vw, 1rem); text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.hours-list { display: grid; gap: 0; margin-top: 10px; } 
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: clamp(10px, 3vw, 14px) 0; border-bottom: 1px dashed rgba(255,255,255,.15); color: #f5ecdf; font-size: clamp(0.85rem, 3vw, 1rem); align-items: flex-start; } 
.hours-row:last-child { border-bottom: none; padding-bottom: 0; } 
.hours-row span:first-child { color: var(--gold-2); font-weight: 600; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }

.side-image { width: 100%; height: 220px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 40px rgba(0,0,0,0.4); opacity: 0.35; transition: 0.4s ease; } 
.side-image:hover { opacity: 1; border-color: rgba(212,173,104,0.4); }
.side-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* =========================================
   6. CARTE DES PLATS (MAÇONNERIE PC SANS ESPACE VIDE)
   ========================================= */
.menu-toolbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 auto 26px; position: sticky; top: calc(var(--header-h) + 10px); z-index: 60; background: linear-gradient(180deg, rgba(8,16,21,.5), rgba(8,16,21,.3)); backdrop-filter: blur(10px); padding: 15px; border-radius: 20px; border: 1px solid rgba(255,255,255,.05); box-shadow: 0 10px 30px rgba(0,0,0,0.3); transform: translateZ(0); }
.menu-filter { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(212,173,104,0.2); background: rgba(0,0,0,0.2); color: var(--muted); font-weight: 600; transition: all 0.3s ease; white-space: nowrap; font-size: 0.95rem; cursor: pointer; }
.menu-filter.active, .menu-filter:hover { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: transparent; color: #000; font-weight: 800; box-shadow: 0 4px 15px rgba(212,173,104,0.4); transform: translateY(-2px); }

#menuContent { min-height: 800px; transition: 0.3s ease; }
.loading-wrapper { text-align: center; width: 100%; padding: 40px 0; }
.category-note { font-size: 0.85rem; color: rgba(255,255,255,0.85); font-style: italic; margin-top: -10px; margin-bottom: 15px; display: block; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }

/* LA SOLUTION POUR LES ESPACES VIDES SUR PC : column-count au lieu de grid */
.menu-grid { column-count: 2; column-gap: 20px; }
.menu-card { break-inside: avoid; display: inline-block; width: 100%; border-radius: 28px; padding: 24px; margin-bottom: 20px; background: rgba(0, 0, 0, 0.15); border: 1px solid rgba(212,173,104,0.2); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); transform: translateZ(0); }
.menu-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--gold-2); margin-bottom: 15px; border-bottom: 1px solid rgba(212,173,104,0.2); padding-bottom: 10px; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.menu-card.event-card { border: 1px solid var(--gold-2); box-shadow: 0 10px 40px rgba(212,173,104,0.2); background: rgba(0,0,0,0.2); }

.menu-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.15); align-items: center; cursor: pointer; transition: background-color 0.2s ease, border-radius 0.2s ease; } 
.menu-item:last-child { border-bottom: none; padding-bottom: 0; }
.menu-item-media { width: 92px; height: 92px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); pointer-events: none; position: relative; } 
.menu-item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; border-radius: 0; pointer-events: none; transform-origin: center; } 

.menu-item-title { font-weight: 800; font-size: 1rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6); } 
.menu-item-desc { color: rgba(255,255,255,0.95); text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6); font-size: 0.9rem; margin-top: 4px; }
.menu-item-price { font-weight: 900; color: var(--gold-2); font-size: 1.1rem; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6); }
.menu-item-price-col { display: flex; align-items: center; gap: 12px; }

.btn-add-resa { background: rgba(212,173,104,0.1); border: 1px solid rgba(212,173,104,0.3); color: var(--gold-2); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
.btn-add-resa.selected { background: var(--danger); color: #fff; border-color: var(--danger); }

.menu-item-badges { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.menu-item-badges span { background: rgba(212,173,104,0.1); color: var(--gold-2); font-size: 0.75rem; padding: 4px 10px; border-radius: 6px; font-weight: bold; border: 1px solid rgba(212,173,104,0.3); }

.menu-item.vip-card { border: 1px solid var(--gold) !important; box-shadow: 0 10px 40px rgba(212,173,104,0.15), inset 0 0 20px rgba(212,173,104,0.05); background: linear-gradient(180deg, rgba(212,173,104,0.05) 0%, rgba(0,0,0,0.2) 100%) !important; }
.recommande-badge { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #000 !important; font-size: 0.75rem !important; padding: 4px 10px !important; border-radius: 999px !important; font-weight: 800 !important; border: none !important; box-shadow: 0 4px 10px rgba(212,173,104,0.3); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.05em; animation: gentlePulse 2s infinite alternate; }

/* =========================================
   7. FORMULAIRE DE RÉSERVATION
   ========================================= */
.glass { background: rgba(0,0,0,0.15); border: 1px solid rgba(212,173,104,0.15); box-shadow: var(--shadow); backdrop-filter: blur(12px); transform: translateZ(0); }
.reservation-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 700px; margin: auto; } 
.reservation-card { border-radius: 30px; padding: 35px; } 
.reservation-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } 
.field { display: flex; flex-direction: column; gap: 8px; } 
.field.full { grid-column: 1 / -1; } 
.field label { font-size: .92rem; color: var(--gold-2); font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.8); } 
.field input, .field textarea, .glass-select { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15); color: var(--text); padding: 15px 16px; border-radius: 16px; width: 100%; font-size: 16px; } 
.field input:focus, .field textarea:focus { border-color: var(--gold-2); } 
.glass-select { cursor: pointer; }
.glass-select option { background: #1a2a32; color: #fff; padding: 10px; font-weight: 600; }

/* Boutons Radio Modernes Allergies */
.radio-group { display: flex; gap: 12px; }
.radio-btn { flex: 1; cursor: pointer; }
.radio-btn input { display: none; }
.radio-btn span { display: block; text-align: center; padding: 14px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; transition: 0.3s; color: var(--text); font-size: 0.95rem; }
.radio-btn input:checked + span { background: rgba(212,173,104,0.15); border-color: var(--gold-2); color: var(--gold-2); font-weight: bold; box-shadow: inset 0 0 10px rgba(212,173,104,0.1); }

/* =========================================
   8. CONTACT, FOOTER ET SOCIAL
   ========================================= */
.contact-actions { display: flex; gap: 25px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.action-block { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.copy-text { font-size: 0.9rem; color: var(--gold-2) !important; cursor: pointer; transition: 0.3s; padding: 5px 10px; background: rgba(0,0,0,0.3); border-radius: 8px; pointer-events: auto;}
.site-footer { padding: 40px 0 80px; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 30px; } 
.social-icons { display: flex; gap: 15px; justify-content: center; margin-top: 20px; pointer-events: auto;}
.social-icons a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,0.4); color: var(--gold-2); border: 1px solid rgba(212,173,104,0.3); transition: all 0.3s; text-decoration: none; }

/* =========================================
   9. WIDGETS ET ANIMATIONS DE DÉFILEMENT
   ========================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); } 
.reveal.fade-left { transform: translateX(-30px); } 
.reveal.fade-right { transform: translateX(30px); } 
.reveal.revealed { opacity: 1; transform: translate(0, 0) !important; }

.back-to-top { position: fixed; bottom: 100px; right: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #000; font-size: 1.5rem; font-weight: bold; border: none; box-shadow: 0 10px 25px rgba(212,173,104,0.4); cursor: pointer; transition: 0.3s ease; }

.wine-widget { 
    position: fixed; top: calc(var(--header-h) + 20px); left: 20px; bottom: auto; z-index: 85; 
    background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(212,173,104,0.3); border-radius: 20px; 
    padding: 15px 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.4); backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); display: flex; align-items: flex-start; gap: 15px; cursor: pointer; transition: transform 0.4s, opacity 0.4s; max-width: 260px; 
}
.wine-widget.hidden { opacity: 0; transform: translateX(-30px) scale(0.9); pointer-events: none; }

.wine-close { position: absolute; top: -10px; right: -10px; background: var(--bg); border: 1px solid var(--gold-2); color: var(--muted); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; padding: 0; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.wine-content { display: flex; flex-direction: column; gap: 4px; }
.wine-eyebrow { font-size: 0.75rem; color: var(--gold-2); text-transform: uppercase; font-weight: 800; }
.wine-content strong { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; line-height: 1.1; color: #fff; }

.flash-toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-150px); background: linear-gradient(135deg, var(--warning), #ff6b00); color: #111; padding: 16px 28px; border-radius: 999px; display: flex; align-items: center; gap: 14px; z-index: 2147483647; box-shadow: 0 15px 40px rgba(245,166,35,0.5); font-weight: 800; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); white-space: nowrap; border: 2px solid #fff; } 
.flash-toast:not(.hidden) { transform: translateX(-50%) translateY(0); } 
.flash-toast button { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #111; padding: 0; line-height: 0.8; }

/* =========================================
   10. RESPONSIVE MOBILE
   ========================================= */
@media (min-width: 861px) { .mobile-dock { display: none !important; } }
@media (max-width: 860px) { 
  :root { --header-h: 66px; } 
  .site-header .inner { flex-direction: column; align-items: stretch; gap: 8px; justify-content: center;}
  .fb-badge { margin-left: 0; align-self: center; font-size: 0.75rem; padding: 4px 10px;}
  .desktop-nav { display: none !important; } 
  
  .hero { padding: 20px 0 28px; }
  .hero-main { min-height: 320px; padding: 35px 20px; border-radius: 24px; text-align: center; }
  .hero-badge { margin: 0 auto 15px auto; }
  .hero-copy h1 { font-size: clamp(2.8rem, 8vw, 3.8rem); }
  .hero-copy p { margin: 0 auto 24px auto; }
  .hero-actions { flex-direction: column; width: 100%; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  
  .mobile-dock { 
      display: flex !important; justify-content: space-evenly; width: 90%; max-width: 380px; position: fixed; 
      bottom: calc(15px + env(safe-area-inset-bottom)); left: 0; right: 0; margin: 0 auto; 
      background: rgba(10, 15, 20, 0.6); border: 1px solid rgba(212,173,104,0.2); border-radius: 999px; 
      padding: 12px 10px; z-index: 100; box-shadow: 0 15px 40px rgba(0,0,0,0.7); backdrop-filter: blur(12px); transform: translateZ(0); 
  }
  .mobile-dock a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-size: 0.75rem; font-weight: 600; min-width: 60px; transition: 0.3s; text-decoration: none; }
  .dock-highlight { color: var(--gold-2) !important; } 
  
  .menu-grid { column-count: 1; }
  .full-dashboard { padding: 20px; } 
  .hero-grid, .reservation-grid { grid-template-columns: 1fr; } 
  .menu-toolbar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 16px; padding: 12px; }
  .menu-toolbar::-webkit-scrollbar { display: none; }
  .menu-card { padding: 16px; border-radius: 22px; background: rgba(0, 0, 0, 0.1); }
  
  .menu-item { grid-template-columns: 1fr 95px; grid-template-rows: auto auto; gap: 8px 14px; align-items: start; background: linear-gradient(90deg, rgba(4, 12, 18, 0.8) 0%, rgba(4, 12, 18, 0.4) 60%, transparent 100%); padding: 12px; border-radius: 16px; border: 1px solid rgba(212,173,104,0.1); margin-bottom: 10px; }
  .menu-item-info { grid-column: 1; grid-row: 1; }
  .menu-item-price-col { grid-column: 1; grid-row: 2; justify-content: flex-start; gap: 15px; }
  .menu-item-media { grid-column: 2; grid-row: 1 / 3; width: 100%; height: 95px; border-radius: 12px; margin-top: 2px; }

  .wine-widget { 
      top: calc(var(--header-h) + 15px) !important; left: 15px !important; right: auto !important;
      transform: translateX(0) !important; margin: 0 !important; width: max-content !important;
      max-width: 85% !important; justify-content: flex-start; text-align: left; padding: 12px 20px;
  }
  .wine-widget.hidden { transform: translateX(-120%) !important; opacity: 0; }

  #carte { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  #reservation { padding-top: 5px !important; margin-top: -15px !important; }

  #infos { padding-bottom: 20px; }
  .site-footer { padding-top: 20px; margin-top: 0; }
}

/* =========================================
   11. CMS SECRET DASHBOARD
   ========================================= */
.secret-overlay { position: fixed; inset: 0; z-index: 2147483640; background: rgba(2, 6, 9, 0.90); backdrop-filter: blur(25px) saturate(150%); display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.admin-dashboard-container { width: 100%; display: flex; justify-content: center; margin: auto; }
.security-steps .admin-step { background: linear-gradient(145deg, rgba(30, 40, 45, 0.8), rgba(15, 20, 25, 0.95)); border: 1px solid rgba(212,173,104, 0.3); border-radius: 32px; padding: 40px; width: 100%; max-width: 380px; box-shadow: 0 40px 100px rgba(0,0,0,0.9); text-align: center; }
.secret-input { background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); color: var(--gold-2); padding: 18px; border-radius: 16px; font-size: 1.1rem; text-align: center; width: 100%; transition: 0.3s; margin-bottom: 15px; }
.secret-input:focus { border-color: var(--gold-2); box-shadow: 0 0 15px rgba(212,173,104,0.2); } 
.pin-input { font-size: 2.2rem; letter-spacing: 0.4em; font-weight: bold; background: transparent; border: none; padding: 10px; } 
.pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 15px; } 
.pin-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 1.4rem; padding: 18px 0; border-radius: 16px; font-weight: bold; transition:0.2s;} 
.pin-btn:active { background: rgba(212,173,104,0.3); transform: scale(0.95); } 
.pin-btn.danger { color: var(--danger); } .pin-btn.success { background: var(--gold); color: #000; border: none; }

.full-dashboard { background: linear-gradient(145deg, rgba(20, 28, 34, 0.95), rgba(10, 15, 18, 0.98)); border: 1px solid rgba(212,173,104,0.3); border-radius: 32px; padding: 35px; width: 100%; max-width: 1000px; box-shadow: 0 40px 100px rgba(0,0,0,0.9); }
.wide-dash { max-width: 1100px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 20px; margin-bottom: 25px; } 
.status-dot { display: inline-block; width: 12px; height: 12px; background: var(--success); border-radius: 50%; box-shadow: 0 0 10px var(--success); animation: pulse 2s infinite; margin-right: 8px;} 
.close-dash-btn { background: rgba(255,92,92,0.1); border: 1px solid rgba(255,92,92,0.3); color: var(--danger); padding: 8px 16px; border-radius: 999px; font-weight: bold; transition: 0.3s; cursor: pointer; } 
.close-dash-btn:hover { background: var(--danger); color: #fff;}

.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; align-items: start; } 
.dash-col { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.dash-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 22px; position: relative; } 
.card-title { font-size: 1.1rem; font-weight: bold; color: var(--gold-2); margin-bottom: 15px; }

.input-group { position: relative; margin-bottom: 15px; } 
.dash-input { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 16px 14px 8px; border-radius: 12px; font-size: 1rem; transition:0.3s;} 
.dash-input:focus { border-color: var(--gold); background: rgba(0,0,0,0.6); }
.input-group label { position: absolute; top: 14px; left: 14px; font-size: 0.95rem; color: var(--muted); pointer-events: none; transition: 0.2s ease; } 
.dash-input:focus ~ label, .dash-input:valid ~ label, .dash-input:not(:placeholder-shown) ~ label { top: 4px; font-size: 0.65rem; color: var(--gold-2); } 
.dash-input.select { padding: 12px 14px; color: var(--gold-2); }

.toggle-group { display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.2); padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); } 
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; } 
.toggle-switch input { opacity: 0; width: 0; height: 0; } 
.slider { position: absolute; cursor: pointer; inset: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 24px; border: 1px solid rgba(255,255,255,0.2); } 
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: #fff; transition: .4s; border-radius: 50%; } 
input:checked + .slider { background-color: var(--success); border-color: var(--success); box-shadow: 0 0 10px rgba(92,255,157,0.4); } 
input:checked + .slider:before { transform: translateX(20px); }

.btn-dash-primary { width: 100%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #000; font-weight: bold; border: none; padding: 14px; border-radius: 12px; transition: 0.3s; font-size: 1rem; cursor: pointer; } 
.btn-dash-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(212,173,104,0.3); } 
.btn-dash-warning { width: 100%; background: rgba(245,166,35,0.05); color: var(--warning); border: 1px solid var(--warning); padding: 14px; border-radius: 12px; font-weight: bold; cursor: pointer; transition: 0.3s; } 
.btn-dash-warning:hover { background: var(--warning); color: #000; } 
.terminal-card { background: rgba(0,0,0,0.8); border-color: #333; display: flex; flex-direction: column; } 
.sys-terminal { font-family: 'Courier New', Courier, monospace; font-size: 0.8rem; color: #0f0; flex-grow: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding-right:5px;} 

input[type="file"]::file-selector-button { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border: none; padding: 8px 16px; border-radius: 8px; color: #000; font-weight: bold; cursor: pointer; margin-right: 15px; transition: 0.3s; }
input[type="file"]::file-selector-button:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(212,173,104,0.3); }

/* =========================================
   12. EFFETS VISUELS ET TACTILES
   ========================================= */
.hours-card, .reservation-card, .menu-card, .btn { transition: transform 0.3s ease, box-shadow 0.3s ease; }

@media (hover: hover) {
  .menu-item:hover { background-color: rgba(255,255,255,0.03); border-radius: 16px; }
  .menu-item-media img { transition: transform 0.4s ease; }
  .menu-item:hover .menu-item-media img { transform: scale(1.15) !important; z-index: 10; position: relative; }
  
  .side-image:hover img { transform: scale(1.05); }
  .hours-card:hover, .reservation-card:hover, .menu-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
  .btn-add-resa:hover { transform: scale(1.1); }
}

@media (hover: none) {
  .menu-item { transition: transform 0.2s ease, background-color 0.2s ease; }
  .menu-item:active { transform: scale(0.97); background-color: rgba(255,255,255,0.06); border-radius: 16px; }
  .menu-item-media img { transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .menu-item-media img:active { transform: scale(1.25) !important; z-index: 10; position: relative; }
  
  .hours-card:active, .reservation-card:active, .menu-card:active { transform: scale(0.98); }
  .btn:active { transform: scale(0.95); }
  .btn-add-resa:active { transform: scale(0.90); }
}