:root {
    --primary: #FF4B2B;
    --primary-dark: #E63E1F;
    --bg: #F5F5F5;
    --text: #212121;
    --white: #FFFFFF;
}

* {
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    box-sizing: border-box;
}

.font-brand {
    font-family: 'Fredoka', cursive;
    font-weight: 600;
}

.font-heading {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

/* Fundo do Herói */
.hero-bg {
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.85) 0%, rgba(255, 75, 43, 0.75) 100%), url('https://images.unsplash.com/photo-1568901346375-23c9450c58cd?w=1600&q=80') center/cover;
}

/* Pulso no CTA */
@keyframes pulse-cta {
    0%,
    100% {
        box-shadow: 0 10px 30px -5px rgba(255, 75, 43, 0.6);
    }
    50% {
        box-shadow: 0 15px 40px -5px rgba(255, 75, 43, 0.9);
    }
}

.pulse-cta {
    animation: pulse-cta 2.5s ease-in-out infinite;
}

/* Efeito de passar o mouse sobre o cartão */
.menu-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(255, 75, 43, 0.25);
}

.menu-card:hover .card-image {
    transform: scale(1.08);
}

.menu-card:hover .add-btn {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.card-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Aba ativa */
.tab-btn {
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 8px 20px -5px rgba(255, 75, 43, 0.5);
    transform: translateY(-2px);
}

.tab-btn:not(.active):hover {
    background-color: #fff;
    color: var(--primary);
}

/* Filtro de fade in */
.menu-item {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp flutuante */
.wa-float {
    animation: wa-bounce 3s ease-in-out infinite;
    box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.6);
}

@keyframes wa-bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.wa-float:hover {
    transform: scale(1.08) !important;
    animation: none;
}

/* Carrinho */
@keyframes cart-pop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.cart-pop {
    animation: cart-pop 0.4s ease;
}

/* Toast */
.toast {
    animation: toast-in 0.3s ease;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rolagem suave */
html {
    scroll-behavior: smooth;
}

/* Elemento decorativo principal */
.steam {
    position: absolute;
    bottom: -20px;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, var(--bg), transparent);
}

/* Etiqueta de preço */
.price-tag {
    background: linear-gradient(135deg, #FF4B2B 0%, #FF7043 100%);
}

/* Distintivo */
.badge-hot {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
}

.badge-new {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

/* Modal */
.modal-backdrop {
    animation: fade-in 0.25s ease;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    animation: modal-slide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-slide {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Botão de quantidade */
.qty-btn {
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background-color: var(--primary);
    color: white;
}

/* Barra de rolagem personalizada */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Tamanho do título principal responsivo */
.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1.1;
}

:root {
    --impulso-blue: #0067ff;
    --white: #FFFFFF;
}

.impulso-modal {
    display: none; 
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999; /* Garante que fique acima de tudo */
    width: 90%;
    max-width: 400px;
    background-color: var(--white);
    border: 2px solid var(--impulso-blue);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.impulso-modal.active {
    display: block;
    animation: impulsoSlideUp 0.5s ease-out;
}

@keyframes impulsoSlideUp {
    from { bottom: -100px; opacity: 0; }
    to { bottom: 30px; opacity: 1; }
}

.impulso-content {
    padding: 35px 20px;
    text-align: center;
    position: relative;
}

/* Botão de Fechar Melhorado */
.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 35px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    padding: 10px; /* Área de clique aumentada */
    z-index: 1000001;
    transition: color 0.2s;
}

.close-btn:hover { color: var(--impulso-blue); }

.impulso-header {
    color: var(--impulso-blue);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.headline { color: #222; font-size: 1.1rem; margin-bottom: 10px; }
.subline { color: #666; font-size: 0.9rem; margin-bottom: 20px; }

.impulso-btn {
    display: block;
    background-color: var(--impulso-blue);
    color: #fff !important;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 103, 255, 0.3);
}