
:root {
    --primary: #ff9900;
    --secondary: #ffaa00;
    --bg: #121214;
    --logo-bg: #ffffff;
    --surface: #18181c;
    --surface-hover: #222228;
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 159, 28, 0.25);
    --text: #f0f2f5;
    --text-muted: #9aa0a6;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header Fixo App */
.app-header { position: sticky; top: 0; z-index: 100; background: rgba(18, 18, 20, 0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 14px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.brand-group { display: flex; align-items: center; gap: 12px; }
.brand-logo-wrap { width: 48px; height: 48px; border-radius: 50%; background: var(--logo-bg, #ffffff); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.brand-logo-img { width: 34px; height: 34px; object-fit: contain; }
.brand-logo-fallback { font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.brand-name { font-family: var(--font-heading); font-size: 1.35rem; color: #fff; line-height: 1.1; margin: 0; }
.brand-status-pill { font-size: 0.72rem; color: #00ff88; font-weight: 600; display: block; margin-top: 3px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-shortcut { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; font-weight: 500; }
.nav-shortcut:hover { color: var(--primary); }
.header-cart-btn { background: var(--surface); border: 1px solid var(--border); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; transition: all 0.2s; font-size: 1.1rem; }
.header-cart-btn:hover { border-color: var(--primary); transform: scale(1.05); }
.cart-count-badge { position: absolute; top: -4px; right: -4px; background: var(--primary); color: #000; font-size: 0.7rem; font-weight: 800; border-radius: 10px; padding: 2px 6px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.btn-primary { background: var(--primary); color: #000; border: none; font-weight: 700; }
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 4px 18px rgba(255, 159, 28, 0.35); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: rgba(255, 159, 28, 0.1); }
.btn-block { width: 100%; }

/* Hero */
.hero-section { padding: 70px 0 50px; text-align: center; background: radial-gradient(circle at center, #22222a 0%, var(--bg) 75%); border-bottom: 1px solid var(--border); }
.hero-tag-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 16px; border-radius: 20px; background: rgba(255, 159, 28, 0.12); color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; border: 1px solid rgba(255, 159, 28, 0.3); }
.hero-main-title { font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.4rem); color: #fff; line-height: 1.18; margin-bottom: 16px; font-weight: 800; }
.hero-main-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 680px; margin: 0 auto 28px; line-height: 1.6; }
.hero-cta-group { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Banners Promocionais */
/* Banners Promocionais & Carrossel Lateral */
.promo-section { padding: 35px 0 15px; position: relative; }
.promo-carousel-wrapper { position: relative; max-width: 820px; margin: 0 auto; display: flex; align-items: center; }
.promo-banners-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    width: 100%;
    scrollbar-width: none;
    padding: 6px 4px;
}
.promo-banners-grid::-webkit-scrollbar { display: none; }
.promo-banner-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.12) 0%, rgba(24, 24, 28, 0.95) 100%);
    border: 1px solid var(--border-accent);
    border-radius: 14px;
    padding: 28px 75px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.promo-banner-card:hover { border-color: var(--primary); }
.banner-pill { display: inline-block; background: var(--secondary); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 4px 12px; border-radius: 12px; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.5px; }
.promo-banner-card h4 { font-family: var(--font-heading); font-size: 1.35rem; color: #fff; margin-bottom: 8px; }
.promo-banner-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.promo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(20, 20, 26, 0.9);
    border: 1px solid var(--border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.promo-arrow:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
}
.promo-arrow-prev { left: 16px; }
.promo-arrow-next { right: 16px; }
@media (max-width: 600px) {
    .promo-banner-card { padding: 22px 50px; }
    .promo-arrow { width: 32px; height: 32px; font-size: 0.82rem; }
    .promo-arrow-prev { left: 8px; }
    .promo-arrow-next { right: 8px; }
}
.promo-dots-wrapper { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.promo-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.promo-dot.active {
    width: 26px;
    background: var(--primary);
}

/* Categorias */
.menu-section { padding: 50px 0; }
.section-title-wrap { text-align: center; margin-bottom: 30px; }
.section-subtag { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.section-title-wrap h2 { font-family: var(--font-heading); font-size: 2.2rem; color: #fff; margin-bottom: 8px; }
.section-title-wrap p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 0.95rem; }

.categories-scroll-wrapper { overflow-x: auto; padding-bottom: 12px; margin-bottom: 25px; scrollbar-width: none; }
.categories-scroll-wrapper::-webkit-scrollbar { display: none; }
.categories-tabs { display: flex; gap: 10px; justify-content: flex-start; min-width: max-content; }
.category-tab { background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 8px 18px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.category-tab:hover, .category-tab.active { background: var(--primary); color: #000; border-color: var(--primary); }

/* Produtos Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.25s; position: relative; }
.product-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: 0 10px 25px rgba(0,0,0,0.4); }
.product-header-icon { font-size: 2.2rem; margin-bottom: 12px; }
.product-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.product-tag { font-size: 0.72rem; color: var(--primary); background: rgba(255,159,28,0.12); padding: 2px 8px; border-radius: 10px; font-weight: 700; }
.product-price { font-size: 1.25rem; font-weight: 700; color: #fff; }
.product-title { font-family: var(--font-heading); font-size: 1.25rem; color: #fff; margin-bottom: 6px; line-height: 1.2; }
.product-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.45; margin-bottom: 18px; flex-grow: 1; }
.btn-add-to-cart { background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: #fff; padding: 10px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.9rem; }
.btn-add-to-cart:hover { background: var(--primary); color: #000; border-color: var(--primary); }

/* CMS Live indicator */
.cms-live-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.live-indicator { width: 10px; height: 10px; border-radius: 50%; background: #00ff88; box-shadow: 0 0 10px #00ff88; display: inline-block; }

/* Contato Form */
.contact-section { padding: 60px 0; background: rgba(18,18,20,0.6); border-top: 1px solid var(--border); }
.gourmet-contact-form { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-wrap label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.input-wrap input, .input-wrap textarea, .input-wrap select { width: 100%; padding: 12px; border-radius: 8px; background: #0c0c0e; border: 1px solid var(--border); color: #fff; font-size: 0.95rem; font-family: inherit; }
.input-wrap input:focus, .input-wrap textarea:focus, .input-wrap select:focus { outline: none; border-color: var(--primary); }

/* Footer */
.app-footer { border-top: 1px solid var(--border); padding: 40px 0 90px; color: var(--text-muted); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-links { display: flex; gap: 20px; font-size: 0.9rem; }
.footer-copy { width: 100%; text-align: center; border-top: 1px solid var(--border); padding-top: 20px; font-size: 0.85rem; margin-top: 10px; }

/* Floating Cart Bar */
.floating-cart-bar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 500px; background: #1a1a20; border: 1px solid var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.7); border-radius: 30px; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; z-index: 99; cursor: pointer; transition: transform 0.2s; }
.floating-cart-bar:hover { transform: translateX(-50%) translateY(-3px); }
.cart-bar-left { display: flex; align-items: center; gap: 12px; }
.cart-bar-icon-wrap { position: relative; font-size: 1.2rem; color: var(--primary); }
.cart-bar-icon-wrap span { position: absolute; top: -6px; right: -8px; background: var(--secondary); color: #fff; font-size: 0.65rem; font-weight: 800; border-radius: 8px; padding: 1px 5px; }
.cart-bar-text { display: flex; flex-direction: column; font-size: 0.82rem; }
.bar-label { color: var(--text-muted); font-size: 0.75rem; }
.bar-total { color: #fff; font-size: 1rem; }
.cart-bar-btn { background: var(--primary); color: #000; border: none; font-weight: 700; border-radius: 20px; padding: 8px 16px; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; cursor: pointer; }

/* Cart Drawer */
.cart-drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s; }
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -420px; width: 100%; max-width: 400px; height: 100%; background: #16161a; border-left: 1px solid var(--border); z-index: 1001; transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; }
.cart-drawer.open { right: 0; }
.cart-drawer-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.drawer-title { font-family: var(--font-heading); font-size: 1.25rem; color: #fff; display: flex; align-items: center; gap: 8px; }
.drawer-close-btn { background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.cart-drawer-body { padding: 20px; overflow-y: auto; flex-grow: 1; display: flex; flex-direction: column; gap: 20px; }

.empty-cart-state { text-align: center; padding: 40px 10px; color: var(--text-muted); }
.empty-icon { font-size: 3rem; opacity: 0.3; display: block; margin-bottom: 10px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.item-info { display: flex; flex-direction: column; font-size: 0.9rem; }
.item-info span { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.item-qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 6px; background: rgba(255,255,255,0.08); border: 1px solid var(--border); color: #fff; cursor: pointer; font-weight: 700; }
.qty-num { font-weight: 700; font-size: 0.9rem; min-width: 18px; text-align: center; }

.cart-summary-card { background: #1f1f26; border: 1px solid var(--border); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.summary-row { display: flex; justify-content: space-between; color: var(--text-muted); }
.summary-row.total-highlight { border-top: 1px solid var(--border); padding-top: 8px; font-size: 1.1rem; color: #fff; font-weight: 700; }
.checkout-fields { display: flex; flex-direction: column; gap: 12px; }
.field-item label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.field-item input, .field-item select { width: 100%; padding: 10px; border-radius: 6px; background: #0c0c0e; border: 1px solid var(--border); color: #fff; font-size: 0.9rem; }
.whatsapp-order-btn { background: #25D366; color: #000; font-weight: 800; font-size: 1rem; border: none; margin-top: 6px; }
.whatsapp-order-btn:hover { background: #1eb857; color: #000; }

/* Toast */
.cart-toast { position: fixed; bottom: 85px; left: 50%; transform: translateX(-50%) translateY(20px); background: #00ff88; color: #000; font-weight: 700; padding: 10px 20px; border-radius: 20px; font-size: 0.85rem; opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 1002; box-shadow: 0 5px 20px rgba(0,255,136,0.4); display: flex; align-items: center; gap: 8px; }
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 768px) {
    .form-grid-2 { grid-template-columns: 1fr; }
    .header-actions .nav-shortcut { display: none; }
}

/* PWA Install Button & Pulse Animation */
.btn-install-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e63946 0%, #ff4d6d 100%);
    color: #ffffff !important;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.4);
    transition: all 0.25s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    animation: pulseAppBtn 2.5s infinite;
    flex-shrink: 0;
}
.btn-install-app:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.65);
}
@keyframes pulseAppBtn {
    0%, 100% { box-shadow: 0 4px 14px rgba(230, 57, 70, 0.4); }
    50% { box-shadow: 0 4px 22px rgba(230, 57, 70, 0.8); }
}
@media (max-width: 640px) {
    .btn-install-app span { display: none; }
    .btn-install-app { padding: 8px 12px; }
}

/* Modal iOS PWA Guide */
.pwa-ios-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pwa-ios-modal.open {
    display: flex;
}
.pwa-ios-content {
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    padding: 24px;
    position: relative;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0,0,0,0.8);
    animation: modalPopIn 0.3s ease;
}
@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.pwa-ios-close {
    position: absolute;
    top: 12px; right: 14px;
    background: none;
    border: none;
    color: #9aa0a6;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}
.pwa-ios-icon { font-size: 2.6rem; margin-bottom: 10px; }
.pwa-ios-content h3 { font-size: 1.25rem; margin-bottom: 8px; color: #fff; }
.pwa-ios-content p { font-size: 0.9rem; color: #9aa0a6; margin-bottom: 16px; text-align: left; line-height: 1.5; }
.pwa-ios-steps { text-align: left; font-size: 0.88rem; color: #e0e0e0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.pwa-ios-steps strong { color: #fff; }

