/* ═══════════════════════════════════════════════════════════════════════════
   ALLO PIZZA — PREMIUM DARK LUXURY REDESIGN (STYLES COMPLETS)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --bg-deep: #0a0a0c;                                        
    --bg-card: #111114;
    --bg-card-hover: #18181c;
    --bg-elevated: #1a1a1f;
    --surface: #222228;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text-primary: #f5f0eb;
    --text-secondary: rgba(245,240,235,0.6);
    --text-muted: rgba(245,240,235,0.35);
    --accent: #e8572a; /* Rouge Allo Pizza #e63939 */
    --accent-hover: #ff6b3d; /* #ff4d4d;*/
    --accent-glow: rgba(232, 87, 42, 0.4); /*rgba(230, 57, 57, 0.35);*/
    --gold: #d4a853;
    --gold-soft: rgba(212,168,83,0.15);
    --gold-glow: rgba(212,168,83,0.3);
    --green: #27AE60;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --space-2: 8px;
    --space-5: 20px;
    --space-10: 40px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { border: none; cursor: pointer; font-family: inherit; }

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Texture de fond (Léger grain très premium) ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ═══════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s var(--ease-out);
}

.header.scrolled {
    background: rgba(10,10,12,0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 44px; height: 44px; border-radius: 12px; }
.logo-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.logo-text span { color: var(--accent); }
.logo-tagline { display: block; font-size: 0.7rem; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 2px; margin-top: -2px; }

.nav-desktop { display: flex; gap: 4px; }

.nav-link {
    padding: 8px 20px !important;
    border-radius: 30px !important;
    font-size: 0.9rem;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s var(--ease-out) !important;
    border-bottom: none !important;
}
.nav-link:hover:not(.active) {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.1) !important;
}
.nav-link.active {
    background: var(--accent) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px var(--accent-glow); 
}

.cart-nav-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--accent); color: white;
    padding: 10px 18px; border-radius: var(--radius-xl);
    font-size: 0.88rem; font-weight: 600;
    transition: all 0.25s var(--ease-out);
}
.cart-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.menu-burger { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; }
.menu-burger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s var(--ease-out); }

.nav-mobile {
    display: none; position: fixed; top: 80px; left: 0; right: 0;
    background: rgba(10,10,12,0.97); backdrop-filter: blur(30px);
    padding: 20px 24px 32px; flex-direction: column; gap: 4px;
    border-bottom: 1px solid var(--border); z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
    padding: 14px 16px; border-radius: var(--radius-sm);
    font-size: 1rem; font-weight: 500; color: var(--text-secondary);
    transition: all 0.2s;
}
.nav-mobile-link:hover, .nav-mobile-link.active { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.nav-mobile-cta { margin-top: 12px; padding: 16px; background: var(--accent); color: white; border-radius: var(--radius-md); text-align: center; font-weight: 700; font-size: 1rem; }

/* ═══════════════════════════════════════════
   HERO SECTION (ACCUEIL)
   ═══════════════════════════════════════════ */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden; padding: 120px 24px 80px;
}
.hero::before {
    content: ''; position: absolute; top: -20%; right: -10%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(230,57,57,0.1) 0%, transparent 65%); pointer-events: none;
}
.hero-bg-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-display); font-size: clamp(15rem, 25vw, 30rem); font-weight: 900;
    color: rgba(255,255,255,0.015); white-space: nowrap; pointer-events: none; user-select: none;
}
.hero-content {
    max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative; z-index: 2; width: 100%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--gold-soft);
    border: 1px solid rgba(212,168,83,0.2); color: var(--gold); padding: 8px 18px;
    border-radius: var(--radius-xl); font-size: 0.82rem; font-weight: 600; margin-bottom: 24px;
}
.hero h1 {
    font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 900;
    line-height: 1.1; margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--accent); position: relative; }

.hero-offers { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.offer-card { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); transition: all 0.3s; }
.offer-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.offer-card.delivery .offer-icon { background: rgba(230,57,57,0.12); }
.offer-card.takeaway .offer-icon { background: var(--gold-soft); }
.offer-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 600; }
.offer-text { font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.offer-text .highlight { color: var(--accent); font-weight: 800; }
.offer-text .price { color: var(--gold); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.offer-text small { display: block; color: var(--text-muted); font-size: 0.78rem; font-weight: 400; }

.hero-sub { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.7; margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-order { display: inline-flex; align-items: center; gap: 10px; padding: 18px 36px; background: var(--accent); color: white; font-size: 1.05rem; font-weight: 700; border-radius: var(--radius-xl); transition: all 0.3s; }
.btn-order:hover { transform: translateY(-3px); box-shadow: 0 12px 36px var(--accent-glow); }
.btn-call { display: inline-flex; align-items: center; gap: 10px; padding: 18px 30px; border: 1px solid var(--border); color: var(--text-primary); font-size: 1rem; font-weight: 600; border-radius: var(--radius-xl); transition: all 0.3s; }
.btn-call:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.03); transform: translateY(-2px); }

.hero-stats { display: flex; gap: 40px; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--text-primary); line-height: 1.2; }
.stat-stars { font-size: 1.2rem !important; letter-spacing: 2px; color: var(--gold); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-top: 4px; display: block; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-pizza-img { width: 480px; height: 480px; object-fit: contain; filter: drop-shadow(0 40px 80px rgba(0,0,0,0.5)); animation: floatPizza 6s ease-in-out infinite; z-index: 2; position: relative;}
@keyframes floatPizza { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(4deg); } }
.pizza-ring { position: absolute; width: 500px; height: 500px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.04); animation: spinSlow 40s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════
   INFO BAR
   ═══════════════════════════════════════════ */
.info-bar { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; padding: 20px 24px; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.info-item { font-size: 0.88rem; color: var(--text-secondary); font-weight: 500; display: flex; align-items: center; gap: 6px; }

/* ═══════════════════════════════════════════
   SECTIONS & MENUS
   ═══════════════════════════════════════════ */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); background: var(--gold-soft); padding: 6px 18px; border-radius: var(--radius-xl); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.2; }
.section-title em { font-style: italic; color: var(--accent); }
.section-subtitle { color: var(--text-secondary); font-size: 1.02rem; margin-top: 12px; }

/* ─── FILTRES ET LÉGENDE TAILLES ─── */
.size-legend { display: flex; justify-content: center; gap: 24px; margin-bottom: 30px; font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }
.size-item { display: flex; align-items: center; gap: 8px; }
.size-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.size-dot.junior { background-color: var(--green); }
.size-dot.senior { background-color: var(--gold); }
.size-dot.mega { background-color: var(--accent); }

.menu-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.filter-btn { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); padding: 10px 20px; border-radius: 30px; font-weight: 600; font-size: 0.9rem; transition: all 0.3s; cursor: pointer; }
.filter-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: white; box-shadow: 0 4px 15px var(--accent-glow); }

/* ─── GRILLE ET CARTES ─── */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.menu-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden; transition: all 0.4s var(--ease-out);
    display: flex; flex-direction: column; height: 100%;
}
.menu-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

.card-image { position: relative; height: 240px; overflow: hidden; background: var(--surface); display: flex; align-items: center; justify-content: center; padding: 10px; }
.card-image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3)); transition: transform 0.6s var(--ease-out); }
.menu-card:hover .card-image img { transform: scale(1.05); }

.card-emoji { font-size: 5rem; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 10;}
.badge { padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; color: white; backdrop-filter: blur(4px); }
.badge-popular { background: rgba(212, 168, 83, 0.9); }
.badge-new { background: rgba(39, 174, 96, 0.9); }
.badge-spicy { background: rgba(230, 57, 57, 0.9); }

.card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.card-ingredients { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; flex-grow: 1; margin-bottom: 20px; }

/* ─── BOUTON D'AJOUT AU PANIER ─── */
.add-to-cart-wrapper { margin-top: auto; }
.add-to-cart-btn {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; background-color: rgba(255,255,255,0.05); color: var(--text-primary);
    border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px;
    font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; height: 50px;
}
.add-to-cart-btn:hover { background-color: var(--accent); border-color: var(--accent); box-shadow: 0 4px 15px var(--accent-glow); }
.price-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; }
.add-to-cart-btn:hover .price-label { color: rgba(255,255,255,0.7); }
.price-value { font-size: 1.1rem; color: var(--gold); }
.add-to-cart-btn:hover .price-value { color: white; }
.add-text { color: var(--text-secondary); font-size: 0.9rem; }
.add-to-cart-btn:hover .add-text { color: white; }

/* Style pour la navigation par catégorie sur la page d'accueil */
.btn-category { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 0.9rem; font-weight: 700; color: var(--accent); text-transform: uppercase; padding-top: 15px; border-top: 1px solid var(--border); transition: all 0.25s; }
.menu-card:hover .btn-category { gap: 10px; text-decoration: underline; }

/* ═══════════════════════════════════════════
   PANIER (UI) - MODE SOMBRE
   ═══════════════════════════════════════════ */
.cart-window {
    position: fixed; top: 0; right: -400px; width: 400px; height: 100vh;
    background: var(--bg-card); color: var(--text-primary); box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 2000; transition: right 0.4s var(--ease-out); display: flex; flex-direction: column;
    border-left: 1px solid var(--border);
}
.cart-window.open { right: 0; }
.cart-header { padding: 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--bg-deep); }
.cart-header h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); }
.cart-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-secondary); transition: 0.2s; }
.cart-close:hover { color: var(--accent); }
.cart-items { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty { text-align: center; color: var(--text-muted); font-style: italic; margin-top: 40px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.cart-item-info strong { display: block; font-size: 1.05rem; color: var(--text-primary); }
.cart-item-info small { color: var(--text-secondary); font-size: 0.85rem; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; background: var(--surface); padding: 4px 8px; border-radius: 20px; border: 1px solid var(--border); }
.cart-qty-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-primary); padding: 0 5px; }
.cart-qty-btn:hover { color: var(--accent); }
.cart-item-price { font-weight: 700; color: var(--gold); }
.cart-remove-btn { background: none; border: none; color: var(--accent); font-size: 1.2rem; cursor: pointer; margin-left: 10px; }
.cart-total { padding: 20px 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 700; background: var(--bg-deep); }
.cart-discount { display:none; color: var(--green); justify-content: space-between; padding: 12px 24px; background: rgba(39, 174, 96, 0.1); font-weight: 700; font-size: 0.95rem; border-top: 1px solid var(--border); }
.cart-validate { background: var(--accent); color: white; border: none; padding: 18px; width: 100%; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s; }
.cart-validate:hover { background: var(--accent-hover); }
.cart-form { padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-deep); border-top: 1px solid var(--border); }
.cart-form input, .cart-form textarea { padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; background: var(--surface); color: var(--text-primary); }
.cart-form input:focus { outline: none; border-color: var(--accent); }
.cart-submit { background: var(--green); color: white; border: none; padding: 16px; border-radius: 8px; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: 0.3s; }

/* ─── POPUP CHOIX DES TAILLES ─── */
.size-selector-content { background: var(--bg-card); color: var(--text-primary); padding: 24px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.6); width: 280px; border: 1px solid var(--border); }
.size-selector-content h4 { margin-top: 0; margin-bottom: 16px; font-size: 1.1rem; text-align: center; }
.size-selector-content h4 strong { color: var(--gold); }
.size-options { display: flex; flex-direction: column; gap: 10px; }
.size-option { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; transition: 0.2s; font-weight: 600; }
.size-option:hover { background: var(--accent); border-color: var(--accent); color: white; }
.size-price { color: var(--gold); }
.size-option:hover .size-price { color: white; }
.close-selector { margin-top: 16px; width: 100%; padding: 10px; background: none; border: 1px solid var(--border); color: var(--text-secondary); border-radius: 8px; cursor: pointer; font-weight: 600; transition: 0.2s; }
.close-selector:hover { background: rgba(255,255,255,0.05); color: white; }

/* ═══════════════════════════════════════════
   AUTRES SECTIONS (FEATURES, CONTACT)
   ═══════════════════════════════════════════ */
.features-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { text-align: center; padding: 40px 24px; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all 0.4s var(--ease-out); }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; background: rgba(230,57,57,0.08); font-size: 1.8rem; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

.contact-section { background: var(--bg-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); transition: all 0.3s var(--ease-out); }
.contact-item:hover { border-color: var(--border-hover); transform: translateX(4px); }
.contact-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(230,57,57,0.08); border-radius: 12px; font-size: 1.1rem; flex-shrink: 0; }
.contact-item-content strong { display: block; font-size: 0.95rem; font-weight: 700; }
.contact-item-content span { font-size: 0.82rem; color: var(--text-muted); }

.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.form-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 16px; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem; transition: all 0.25s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 16px; background: var(--accent); color: white; font-size: 1rem; font-weight: 700; border-radius: var(--radius-md); transition: all 0.3s var(--ease-out); }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--accent-glow); }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 0 24px; max-width: 1260px; margin: 0 auto; }
.footer-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-top: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-deep); border: 1px solid var(--border); border-radius: 10px; font-size: 1.1rem; transition: all 0.25s; }
.footer-social a:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.footer-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.9rem; color: var(--text-secondary); transition: all 0.2s; }
.footer-nav a:hover { color: var(--text-primary); padding-left: 6px; }
.hours-grid { display: grid; grid-template-columns: auto auto; gap: 6px 16px; font-size: 0.88rem; }
.hours-grid span:nth-child(odd) { color: var(--text-secondary); font-weight: 500; }
.hours-grid span:nth-child(even) { color: var(--text-muted); font-weight: 400; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list a, .footer-contact-list address { font-style: normal; font-size: 0.9rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-contact-list a:hover { color: var(--text-primary); }
.footer-bottom { margin-top: 48px; padding: 20px 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; max-width: 1260px; margin-left: auto; margin-right: auto; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-secondary); }

/* BOUTON FLOTTANT MOBILE & PANIER */
.mobile-call-btn { display: none; position: fixed; bottom: 24px; left: 24px; width: 60px; height: 60px; background: var(--green); color: white; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 8px 30px rgba(39, 174, 96, 0.4); z-index: 100; transition: all 0.3s; }
.mobile-call-btn:hover { transform: scale(1.1); }
.cart-btn-float { display: none; position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: var(--accent); color: white; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 8px 30px var(--accent-glow); z-index: 100; cursor: pointer; transition: all 0.3s; font-weight: bold; }
.cart-btn-float:hover { transform: scale(1.1); }

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.7s var(--ease-out); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   RESPONSIVE (MOBILES ET TABLETTES)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-desktop { display: none; }
    .menu-burger { display: flex; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; }
    .hero-pizza-img { width: 320px; height: 320px; }
    .hero-visual::before { width: 280px; height: 280px; }
    .pizza-ring { width: 340px; height: 340px; }
    .hero-sub { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hero { padding: 100px 16px 60px; min-height: auto; }
    .hero-pizza-img { width: 260px; height: 260px; }
    .hero-visual::before { width: 220px; height: 220px; }
    .pizza-ring { width: 280px; height: 280px; }
    .hero-actions { flex-direction: column; }
    .btn-order, .btn-call { width: 100%; justify-content: center; }
    .hero-stats { gap: 24px; }
    .menu-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .info-bar { gap: 16px; padding: 16px; flex-direction: column; text-align: center; }
    .cart-window { width: 100%; right: -100%; }
    .mobile-call-btn { display: flex; }
    .cart-btn-float { display: flex; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .size-legend { flex-direction: column; gap: 10px; align-items: center;}
}
/* ═══════════════════════════════════════════
   EFFET BOUTON COMMANDER (GLOW PULSANT)
   ═══════════════════════════════════════════ */
.btn-order {
    background: var(--accent) !important;
    color: white !important;
    border: none !important;
    position: relative;
    /* Le fameux effet Glow (lueur externe rouge-orange) */
    box-shadow: 0 0 15px rgba(232, 87, 42, 0.5), 0 0 30px rgba(232, 87, 42, 0.3) !important;
    /* L'animation qui fait pulser le glow */
    animation: pulseGlow 2s infinite alternate ease-in-out !important;
}

/* On enlève le pseudo-élément ::after si tu l'avais copié avant */
.btn-order::after {
    display: none !important;
}

.btn-order:hover {
    transform: translateY(-2px) scale(1.05) !important;
    /* Glow beaucoup plus intense quand on passe la souris dessus */
    box-shadow: 0 0 25px rgba(232, 87, 42, 0.8), 0 0 50px rgba(232, 87, 42, 0.5) !important;
    animation: none !important; /* Fige la lueur au survol pour un effet réactif */
}

/* L'animation pour faire "respirer" la lumière */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(232, 87, 42, 0.4), 0 0 20px rgba(232, 87, 42, 0.2) !important;
    }
    100% {
        box-shadow: 0 0 25px rgba(232, 87, 42, 0.7), 0 0 50px rgba(232, 87, 42, 0.4) !important;
    }
}
/* ═══════════════════════════════════════════
   NOUVEAU DESIGN PAGE CONTACT (3 CARTES)
   ═══════════════════════════════════════════ */

/* Grille pour aligner les 3 cartes côte à côte */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Design d'une carte individuelle */
.contact-card-centered {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s var(--ease-out);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Effet au survol de la souris */
.contact-card-centered:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.contact-card-centered .card-icon {
    font-size: 2.8rem;
    margin-bottom: 10px;
    background: rgba(230,57,57,0.08); /* Petit fond rouge subtil derrière l'emoji */
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-card-centered h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: 0;
}

.contact-card-centered p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Le texte en rouge (numéro, adresse, heures) */
.contact-card-centered .highlight-text {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: auto; /* Pousse ce texte vers le bas de la carte */
    padding-top: 15px;
}

/* Conteneur pour que la carte Google prenne toute la largeur avec des bords arrondis */
.map-container {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Responsive : sur téléphone, on repasse sur 1 seule colonne */
@media (max-width: 900px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}