/* ==========================================
   VARIÁVEIS CSS
   ========================================== */
:root {
    /* Gradiente vermelho elegante */
    --gradient-red: linear-gradient(135deg, #c94b4b 0%, #8b2635 100%);
    --gradient-red-hover: linear-gradient(135deg, #d65656 0%, #9c2d3e 100%);
    
    /* Cores principais */
    --color-primary: #c94b4b;
    --color-primary-dark: #8b2635;
    --color-secondary: #3f4042;
    --color-white: #f7f1eb;
    --color-antiquewhite: #f7f1eb;
    --color-light-gray: #f8f9fa;
    --color-gray: #6c757d;
    --color-dark: #212529;
    
    /* Tipografia */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   RESET E ESTILOS BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ==========================================
   UTILITÁRIOS
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.center {
    text-align: center;
}

/* Títulos de seção */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary);
    font-family: var(--font-secondary);
}

.section-paragraph {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.section-description {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   BOTÕES
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-red);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--gradient-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: #ffffff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    margin: var(--spacing-xs);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-delivery {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    margin: var(--spacing-sm);
    min-width: 250px;
}

.btn-grubhub {
    background: transparent;
    color: #ff5000;
    border: 2px solid #ff5000;
}

.btn-grubhub:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-ubereats {
    background: transparent;
    color: #048c4b;
    border: 2px solid #048c4b;

}

.btn-ubereats:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    background: var(--gradient-red);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 4px;
    transition: 0.3s ease;
}


.nav-list {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition-normal);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-close {
    display: none;
}


#navClose {
    background: transparent;
    border: none;
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}



/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('img/preview2ts.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* HERO – imagem específica para mobile */
@media (max-width: 768px) {
  .hero {
    background-image: url('img/heromobile.jpg');
    background-attachment: scroll; /* importante no mobile */
  }
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.699) 0%, #3a30168c 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: var(--spacing-md);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* ==========================================
   SEÇÃO SOBRE
   ========================================== */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--color-antiquewhite);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text {
    padding-right: var(--spacing-md);
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   SEÇÃO LOCALIZAÇÃO
   ========================================== */

   /* FORÇA FUNDO DA SEÇÃO LOCALIZAÇÃO */
section.location {
    background: linear-gradient(
        135deg,
        #8b2635 0%,
        #6f1d2a 50%,
        #4a0f18 100%
    ) !important;
}

.location {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(
        135deg,
        #8b2635 0%,
        #6f1d2a 50%,
        #4a0f18 100%
    );
    position: relative;
}

.location .section-title {
    color: #ffffff;
}

.location .section-title {
    color: #ffffff;
    text-shadow:
        0 4px 10px rgba(0, 0, 0, 0.575),
        0 1px 3px rgba(0, 0, 0, 0.25);
}




.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.45),
    0 6px 15px rgba(0, 0, 0, 0.25);
border: 1px solid rgba(255, 255, 255, 0.12);
}

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-address {
    background: #f5f3f1;
    padding: var(--spacing-md);
    border-radius: 15px;
    margin-bottom: var(--spacing-md);
}

.location-address h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.location-address p {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 0.3rem;
}

.location-hours {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 2px solid #0e0d0d;
}

.location-buttons {
    display: flex;
    flex-direction: column;
}

.location .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.location .btn-secondary:hover {
    background: #ffffff;
    color: var(--color-primary);
}


/* ==========================================
   SEÇÃO CARDÁPIO DIGITAL
   ========================================== */
.digital-menu {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.digital-menu-content {
    text-align: center;
}

.delivery-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: linear-gradient(135deg, #8b2635, #4a0f18);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-secondary);
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-phone,
.footer-email {
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
}

/* ==========================================
   ANIMAÇÕES
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-up {
    animation: slideUp 1s ease-out 0.3s both;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Animações de scroll */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   RESPONSIVIDADE
   ========================================== */

/* Tablets */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
   /* ===============================
   MENU MOBILE — APENAS MOBILE
   =============================== */
@media (max-width: 768px) {

    /* BOTÃO HAMBURGER */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 2002;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 26px;
        height: 3px;
        background: #fff;
        border-radius: 4px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Hamburger vira X */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* OVERLAY */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 2000;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* DRAWER DO MENU */
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #7a1f2b, #3d0c13);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 1rem;
        transition: right 0.35s ease;
        box-shadow: -12px 0 30px rgba(0,0,0,0.45);
        z-index: 2001;
    }

    .nav-list.active {
        right: 0;
    }

    /* LINKS */
    .nav-link {
        width: 100%;
        padding: 1rem;
        font-size: 1.25rem;
        font-weight: 500;
        border-radius: 12px;
        color: #fff;
        text-align: left;
    }

    .nav-link:hover {
        background: rgba(255,255,255,0.15);
    }
}

/* ===============================
   DESKTOP — GARANTIA
   =============================== */
@media (min-width: 769px) {
    .nav-toggle,
    .nav-overlay {
        display: none !important;
    }

    .nav-list {
        position: static;
        height: auto;
        width: auto;
        flex-direction: row;
        background: none;
        box-shadow: none;
        padding: 0;
        right: 0;
    }
}


    
    /* Hero mobile */
    .hero {
        height: 100vh;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-paragraph,
    .section-description {
        font-size: 1rem;
    }
    
    /* Botões mobile */
    .btn-delivery {
        min-width: 100%;
        margin: var(--spacing-xs) 0;
    }
    
    .delivery-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .location-buttons {
        gap: var(--spacing-sm);
    }
    
    .btn-secondary {
        width: 100%;
        margin: var(--spacing-xs) 0;
    }
    
    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}



.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--color-white);
    transform: translateY(-3px);
}

.footer-social a:hover .social-icon {
    fill: var(--color-primary);
}

.social-icon {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    transition: var(--transition-normal);
}

/* Fix glow estranho no iOS (Safari / iPhone) */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll !important;
    }

    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(74, 15, 24, 0.6) 100%
        );
    }
}



html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior: none;
}
* {
    -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select,
button,
a {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}






@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        height: auto;
    }
}

html, body {
    margin: 0;
    padding: 0;
    height: auto;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



@media (max-width: 768px) {
    .footer-content {
        align-items: center;
        text-align: center;
    }

    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-info p,
    .footer-info h3 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .nav-close {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        background: linear-gradient(
            180deg,
            #6b1a25 0%,
            #4a0f18 100%
        );
    }
}

@media (max-width: 768px) {
    .header {
        box-shadow: 0 2px 10px rgba(0,0,0,0.35);
    }
}

@media (max-width: 768px) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==============================
   BOTÃO PRIMARY - MOBILE (cores mais agradáveis)
   ============================== */
@media (max-width: 768px) {
    .btn-primary {
        background: linear-gradient(135deg, #ff4b4b, #8b1c1c); /* vermelho vivo para vermelho escuro */
        color: var(--color-white);
        box-shadow: var(--shadow-md);
        border-radius: 24px; /* mantém formato antigo */
        padding: 0.9rem 1.5rem; /* mantém padding original */
        font-size: 1rem; /* mantém tamanho original */
        transition: filter 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-primary:hover,
    .btn-primary:focus {
        filter: brightness(1.1); /* deixa mais vivo ao toque */
        box-shadow: 0 6px 18px rgba(0,0,0,0.35); /* mantém sombra elegante */
    }

    .btn-primary:active {
        filter: brightness(1);
        box-shadow: var(--shadow-md);
    }

    /* Mantém pulse se já estiver aplicado */
    .btn-primary.pulse {
        animation: pulse 2s infinite;
    }
}


    /* Gradiente animado (opcional) */
    @keyframes gradient-mobile {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .btn-primary.gradient-animate {
        background: linear-gradient(135deg, #c94b4b, #e25848, #ff6b5c);
        background-size: 200% 200%;
        animation: gradient-mobile 4s ease infinite;
    }


@media (max-width: 768px) {
    .hero-title,
    .hero-subtitle,
    .btn-primary {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .hero-title.visible {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .hero-subtitle.visible {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.4s;
        font-size: 1.2rem;
    }

    .btn-primary.visible {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.6s;
    }
}

@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        background: linear-gradient(135deg, #8b2635, #4a0f18); /* ou o background que você quiser */
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        z-index: 1002;
    }
}


/* ===========================
   FIX GLOW iOS / SAFARI
   =========================== */
@media (max-width: 768px) {
    /* Hero */
    .hero, 
    .hero-overlay,
    .header,
    .footer {
        background-attachment: scroll !important; /* evita glow do fixed */
        -webkit-backface-visibility: hidden;      /* força renderização correta */
        -webkit-transform: translateZ(0);         /* corrige shimmer/glow */
        transform: translateZ(0);
    }

    /* Evita overscroll glow */
    html, body {
        overscroll-behavior: none; 
        -webkit-overflow-scrolling: auto; 
    }
}

section, .container {
    overflow: hidden;
}

.hero-buttons {
        display: none;
    }

@media (max-width: 768px) {

    :root {
        --header-height: 50px; /* ajuste fino se precisar */
    }

    .hero-buttons {
        position: fixed;
        top: var(--header-height);
        left: 1rem;

        display: flex;
        flex-direction: column;
        gap: 0.6rem;

        width: calc(100% - 2rem);
        max-width: 280px;

        z-index: 999; /* acima do hero */
    }

    .hero-buttons .btn-hero {
        background: rgba(255, 255, 255, 0.95);
        color: #111;
        font-weight: 600;
        font-size: 0.99rem;
        padding: 0.8rem 1rem;
        border-radius: 4px;
        text-align: left;
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    }

    /* empurra o conteúdo do hero pra não ficar atrás dos botões */
    .hero-content {
        padding-top: calc(var(--header-height) + 7rem);
        align-items: flex-start;
    }
}

@media (max-width: 400px) {

    :root {
        --header-height: 20px; /* ajuste fino se precisar */
    }

    .hero-buttons {
        position: fixed;
        top: var(--header-height);
        left: 1rem;

        display: flex;
        flex-direction: column;
        gap: 0.6rem;

        width: calc(100% - 2rem);
        max-width: 280px;

        z-index: 999; /* acima do hero */
    }

    .hero-buttons .btn-hero {
        background: rgba(255, 255, 255, 0.95);
        color: #111;
        font-weight: 600;
        font-size: 0.99rem;
        padding: 0.8rem 1rem;
        border-radius: 4px;
        text-align: left;
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    }

    /* empurra o conteúdo do hero pra não ficar atrás dos botões */
    .hero-content {
        padding-top: calc(var(--header-height) + 15rem);
        align-items: flex-start;
    }
}









