/* ===========================================
   Template Friterie B — Minimal moderne, fond sombre
   Poppins + DM Sans
   Orange/Noir, epure, urbain
   =========================================== */

:root {
    --primary: #FF6B00;
    --secondary: #1A1A1A;
    --accent: #FF6B00;

    --primary-dark: #E05E00;
    --text: #E8E8E8;
    --text-dark: #1A1A1A;
    --text-muted: #888;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --bg-light: #F8F8F8;
    --border: #2A2A2A;
    --border-light: #E0E0E0;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 16px rgba(0,0,0,0.3);
    --transition: 250ms ease;
    --nav-height: 64px;
}

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

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=DM+Sans:wght@400;500&display=swap');

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; }
a { color: var(--primary); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---- Bandeau ---- */
.bandeau-promo { background: var(--primary); color: #fff; text-align: center; padding: 10px 40px 10px 20px; font-size: 14px; font-weight: 700; position: relative; z-index: 200; }
.bandeau-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: #fff; }

/* ---- Nav ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: rgba(18,18,18,0.95); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid var(--border); }
.bandeau-promo ~ .nav { top: 40px; }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; color: var(--primary); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }
.nav-links { list-style: none; display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: color var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); opacity: 1; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all var(--transition); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--bg-dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18,18,18,0.5) 0%, rgba(18,18,18,0.9) 100%); }
.hero-content { position: relative; z-index: 2; padding: 20px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: #fff; margin-bottom: 16px; font-weight: 800; }
.hero h1 span { color: var(--primary); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---- CTA ---- */
.btn-cta { display: inline-block; background: var(--primary); color: #fff; padding: 16px 36px; font-size: 15px; font-weight: 700; font-family: 'Poppins', sans-serif; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }
.btn-cta:hover { background: var(--primary-dark); transform: translateY(-2px); opacity: 1; }
.btn-cta-large { font-size: 18px; padding: 20px 48px; margin-top: 24px; }

.contact-phone { margin: 24px 0 8px; }
.phone-number { font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--primary); text-decoration: none; display: inline-block; }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); color: var(--text-dark); }
.section-accent { background: var(--bg-card); color: var(--text); }
.section-dark { background: var(--bg-dark); color: var(--text); }
.section-title { text-align: center; font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 12px; color: #fff; }
.section-light .section-title { color: var(--text-dark); }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; font-size: 15px; }

/* ---- Split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 16px; color: #fff; }
.section-light .split-text h2 { color: var(--text-dark); }
.split-text p { font-size: 15px; line-height: 1.8; color: var(--text-muted); }
.split-image img { width: 100%; border-radius: var(--radius); }
.placeholder-img { background: var(--border); border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }

/* ---- Menu / Carte ---- */
.menu-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.menu-tab { padding: 10px 24px; border: 2px solid var(--border); border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); font-size: 14px; font-weight: 600; font-family: 'Poppins', sans-serif; cursor: pointer; transition: all var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.menu-tab:hover { border-color: var(--primary); color: var(--primary); }
.menu-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.menu-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--bg-dark); border-radius: var(--radius-sm); transition: all var(--transition); border: 1px solid var(--border); }
.menu-item:hover { border-color: var(--primary); }
.menu-item-info h3 { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.menu-item-info p { font-size: 13px; color: var(--text-muted); }
.menu-price { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 800; color: var(--primary); white-space: nowrap; margin-left: 16px; }

/* ---- Galerie ---- */
.galerie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.galerie-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.galerie-item:hover img { transform: scale(1.05); }

/* ---- Horaires ---- */
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.horaires-table tr { border-bottom: 1px solid var(--border); }
.horaires-table td { padding: 10px 0; font-size: 15px; }
.jour { font-weight: 700; width: 120px; }
.ferme .heures { color: var(--text-muted); font-style: italic; }
.coordonnees { margin-top: 20px; }
.coord-item { margin-bottom: 8px; font-size: 15px; }
.coord-item a { color: var(--primary); }
.map-container iframe { width: 100%; height: 100%; min-height: 300px; border: none; border-radius: var(--radius); }

/* ---- Footer ---- */
.footer { background: #0A0A0A; color: rgba(255,255,255,0.5); padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-logo { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 800; color: var(--primary); display: block; margin-bottom: 12px; text-transform: uppercase; }
.footer h4 { color: #fff; margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,0.5); }
.footer a:hover { color: var(--primary); }
.footer p { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; }
.footer-credit, .footer-credit a { color: rgba(255,255,255,0.2); }

/* ---- WhatsApp ---- */
.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.4); z-index: 90; transition: transform var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(18,18,18,0.98); flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
    .nav-links.open { max-height: 400px; }
    .nav-links li { border-bottom: 1px solid var(--border); }
    .nav-links a { display: block; padding: 14px 20px; }
    .hero { min-height: 75vh; }
    .split { grid-template-columns: 1fr; gap: 24px; }
    .split-image { order: -1; }
    .menu-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .galerie-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 60px 0; }
}
