/* ===========================================
   Template restaurant-zinc — Le Bistrot
   Libre Baskerville + Source Sans 3 — Zinc / Creme / Paris 1900
   Hero photo fullbleed avec bande horizontale creme au centre
   =========================================== */

:root {
    --primary: #8B7355;
    --secondary: #FBF8F2;
    --accent: #1C1C1C;
    --text: #1C1C1C;
    --text-light: #FBF8F2;
    --text-muted: #7A7060;
    --bg: #FBF8F2;
    --bg-dark: #1C1C1C;
    --bg-light: #FBF8F2;
    --bg-beige: #F3EEE4;
    --border: #DDD6C8;
    --border-light: #E8E2D6;
    --radius: 0px;
    --shadow: 0 12px 48px rgba(28,28,28,0.10);
    --transition: 300ms ease;
    --nav-height: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body { font-family: 'Source Sans 3', sans-serif; font-size: 16px; line-height: 1.8; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; font-weight: 300; }
h1, h2, h3, h4 { font-family: 'Libre Baskerville', serif; font-weight: 400; line-height: 1.15; }
a { color: var(--primary); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 700px; }

/* BANDEAU */
.bandeau-promo { background: var(--accent); color: var(--text-light); text-align: center; padding: 10px 40px 10px 20px; font-size: 13px; font-weight: 400; position: fixed; top: 0; left: 0; right: 0; z-index: 200; letter-spacing: 0.5px; }
.bandeau-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* NAV — transparent on hero, solid on scroll */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: transparent; z-index: 100; transition: background var(--transition), box-shadow var(--transition); }
.nav.scrolled { background: rgba(251,248,242,0.97); backdrop-filter: blur(10px); box-shadow: 0 2px 16px rgba(28,28,28,0.08); }
.bandeau-promo ~ .nav { top: 40px; }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-family: 'Libre Baskerville', serif; font-size: 20px; font-weight: 700; color: #fff; text-decoration: none; }
.nav.scrolled .nav-logo { color: var(--accent); }
.nav-logo-img { height: 38px; width: auto; display: block; object-fit: contain; }
.nav-logo-initiale { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--primary); color: #fff; font-family: 'Libre Baskerville', serif; font-size: 20px; font-weight: 700; text-decoration: none; }
.nav-links { list-style: none; display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 400; letter-spacing: 1px; text-decoration: none; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: #fff; opacity: 1; }
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: all var(--transition); }
.nav.scrolled .nav-toggle span { background: var(--accent); }

/* HERO — Le Bistrot : photo full-bleed 100vh + bande horizontale creme au centre */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--accent); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.hero-overlay { display: none; }
.hero-content { display: none; }
.hero-bande { position: relative; z-index: 2; background: rgba(251,248,242,0.92); padding: 44px 80px; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); max-width: 720px; }
.hero-bande h1 { font-family: 'Libre Baskerville', serif; font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--accent); margin-bottom: 12px; font-weight: 700; line-height: 1.1; }
.hero-bande p { font-family: 'Libre Baskerville', serif; font-style: italic; font-size: clamp(0.95rem, 1.8vw, 1.1rem); color: var(--primary); margin-bottom: 28px; font-weight: 400; }
.hero-bande-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* BTN */
.btn-cta { display: inline-block; background: var(--accent); color: var(--text-light); padding: 14px 36px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; border: 2px solid var(--accent); cursor: pointer; transition: all var(--transition); text-decoration: none; font-family: 'Source Sans 3', sans-serif; }
.btn-cta:hover { background: transparent; color: var(--accent); opacity: 1; }
.btn-cta-outline { background: transparent; color: var(--accent); border-color: var(--primary); }
.btn-cta-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-cta-large { font-size: 13px; padding: 16px 48px; }
.section-terracotta .btn-cta { background: #fff; color: var(--primary); border-color: #fff; }
.section-terracotta .btn-cta:hover { background: transparent; color: #fff; }
.contact-phone { margin: 16px 0 12px; }
.phone-number { font-family: 'Libre Baskerville', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; text-decoration: none; display: inline-block; }

/* SECTIONS */
.section { padding: 96px 0; }
.section-beige { background: var(--bg-beige); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-terracotta { background: var(--primary); color: #fff; }
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.section-terracotta .section-title { color: #fff; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 48px; font-size: 15px; line-height: 1.8; font-weight: 300; }
.section-dark .section-subtitle { color: rgba(251,248,242,0.5); }
.section-terracotta .section-subtitle { color: rgba(255,255,255,0.85); }

/* A PROPOS — Zinc : 2 colonnes inegales, photo cadre offset */
.apropos-zinc { display: grid; grid-template-columns: 3fr 2fr; gap: 72px; align-items: center; }
.apropos-zinc-text { min-width: 0; }
.apropos-zinc-text h2 { font-family: 'Libre Baskerville', serif; font-style: italic; font-size: clamp(2rem, 3.5vw, 3rem); color: var(--accent); margin-bottom: 20px; font-weight: 400; }
.apropos-zinc-text p { font-size: 16px; line-height: 1.9; color: var(--text-muted); font-weight: 300; margin-bottom: 32px; }
.apropos-zinc-img { position: relative; }
.apropos-zinc-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 1; box-shadow: 12px 12px 0 var(--accent); }

/* SPLIT generique */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text { min-width: 0; }
.split-text h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 16px; color: var(--accent); }
.split-text p { font-size: 15px; line-height: 1.8; color: var(--text-muted); font-weight: 300; }
.split-image { min-width: 0; }
.split-image img { width: 100%; box-shadow: var(--shadow); }
.placeholder-img { background: var(--border-light); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; }
.section-dark .placeholder-img { background: rgba(251,248,242,0.07); color: rgba(251,248,242,0.3); }

/* MENU CARTE */
.menu-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 40px; flex-wrap: wrap; border-bottom: 2px solid var(--border); }
.menu-tab { padding: 12px 28px; background: transparent; color: var(--text-muted); border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; font-family: 'Source Sans 3', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all var(--transition); }
.menu-tab:hover { color: var(--primary); }
.menu-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.section-dark .menu-tabs { border-bottom-color: rgba(251,248,242,0.12); }
.section-dark .menu-tab { color: rgba(251,248,242,0.4); }
.section-dark .menu-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 700px; margin: 0 auto; }
.menu-item { display: flex; align-items: flex-start; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--border-light); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info { min-width: 0; }
.menu-item-info h3 { font-family: 'Libre Baskerville', serif; font-size: 17px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.section-dark .menu-item-info h3 { color: var(--text-light); }
.menu-item-info p { font-size: 13px; color: var(--text-muted); font-style: italic; font-weight: 300; }
.section-dark .menu-item-info p { color: rgba(251,248,242,0.4); }
.menu-item-prix { font-family: 'Libre Baskerville', serif; font-size: 17px; color: var(--primary); font-weight: 700; white-space: nowrap; margin-left: 20px; }

/* HORAIRES */
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.horaires-table tr { border-bottom: 1px solid var(--border); }
.horaires-table td { padding: 12px 0; font-size: 15px; font-weight: 300; }
.jour { font-weight: 600; width: 120px; }
.ferme .heures { color: var(--text-muted); font-style: italic; }
.coordonnees { margin-top: 20px; }
.coord-item { margin-bottom: 10px; font-size: 14px; color: var(--text-muted); font-weight: 300; }
.coord-item a { color: var(--primary); }
.coord-item strong { color: var(--text); font-weight: 600; }
.map-container { overflow: hidden; }
.map-container iframe { width: 100%; height: 360px; border: none; display: block; }

/* CONTACT */
.section-terracotta .phone-number { color: #fff; }

/* FOOTER */
.footer { background: var(--bg-dark); color: rgba(251,248,242,0.4); padding: 56px 0 28px; font-size: 14px; font-weight: 300; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { font-family: 'Libre Baskerville', serif; font-size: 22px; font-weight: 700; color: var(--text-light); display: block; margin-bottom: 14px; }
.footer h4 { color: rgba(251,248,242,0.5); margin-bottom: 14px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; font-family: 'Source Sans 3', sans-serif; }
.footer a { color: rgba(251,248,242,0.4); }
.footer a:hover { color: var(--text-light); opacity: 1; }
.footer p { margin-bottom: 6px; line-height: 1.6; }
.footer-address { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(251,248,242,0.08); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; }
.footer-credit { color: rgba(251,248,242,0.15); }
.footer-credit a { color: rgba(251,248,242,0.15); }

/* FORMS */
.resa-back { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 0.9rem; margin-bottom: 16px; padding: 0; text-decoration: underline; }
.resa-form .form-group { margin-bottom: 16px; }
.resa-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.resa-form input, .resa-form select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); font-size: 1rem; box-sizing: border-box; font-family: inherit; background: var(--bg); color: var(--text); border-radius: 0; }
.resa-form input:focus, .resa-form select:focus { outline: none; border-color: var(--primary); }
.form-error { color: #c0392b; font-size: 0.88rem; margin-bottom: 12px; padding: 8px 12px; background: #fdf0ef; }
.resa-success { text-align: center; padding: 40px 0; }
.resa-success-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 12px; }
.resa-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.resa-success p { color: #666; margin-bottom: 24px; }

/* LANG */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.6); padding: 3px 7px; font-size: 0.72rem; font-weight: 600; cursor: pointer; letter-spacing: 0.05em; transition: background 0.2s, color 0.2s; line-height: 1.4; }
.nav.scrolled .lang-btn { border-color: rgba(28,28,28,0.2); color: var(--text-muted); }
.lang-btn:hover { background: rgba(255,255,255,0.15); }
.lang-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 90; transition: transform var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); opacity: 1; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .apropos-zinc { grid-template-columns: 1fr; gap: 48px; }
    .apropos-zinc-img img { box-shadow: 8px 8px 0 var(--accent); max-width: 360px; }
    .split { grid-template-columns: 1fr; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(251,248,242,0.98); flex-direction: column; gap: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
    .nav-links.open { max-height: 440px; }
    .nav-links li { border-bottom: 1px solid var(--border-light); }
    .nav-links a { display: block; padding: 14px 24px; color: var(--text); }
    .hero-bande { padding: 32px 28px; }
    .section { padding: 64px 0; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
    .hero-bande h1 { font-size: 2.2rem; }
}
