/* ESTILO.CSS - CHOPP DAS FÁBRICAS 
    Padrão de Qualidade: Engajaê 
    Paleta Oficial: #1C3322 (Verde) | #F3933C (Laranja) 
*/

:root {
    --primary: #1C3322;
    --accent: #F3933C;
    --accent-hover: #df8435;
    --white: #FFFFFF;
    --bg-dark: #0f1d13; 
    --text-light: #f4f4f4;
    --text-muted: #a0a0a0;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    background-color: var(--primary);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Classe incluída para travar o scroll quando o menu mobile abre */
.overflow-hidden {
    overflow: hidden !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.h-100 { height: 100%; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* --- HEADER PREMIUM & MENU MOBILE --- */
#main-header {
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(28, 51, 34, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

#main-header.scrolled {
    height: 80px;
    background: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.menu-principal ul {
    display: flex;
    gap: 35px;
    align-items: center;
}

.menu-principal a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    opacity: 0.8;
}

.menu-principal a:hover { opacity: 1; color: var(--accent); }

.menu-principal a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.menu-principal a:hover::after { width: 100%; }

/* Ícone Hamburguer */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
    z-index: 1100; /* Acima de tudo */
}

.mobile-menu-icon div {
    width: 30px;
    height: 2px;
    background: var(--white);
    margin: 6px;
    transition: var(--transition);
}

.btn-contato {
    background: var(--accent);
    padding: 12px 28px;
    border-radius: 6px;
    color: var(--white) !important;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(243, 147, 60, 0.3);
}

/* --- HERO SECTION (1920x600 PROPORCIONAL SEM CORTES) --- */
#hero-section {
    padding-top: 135px;
    padding-bottom: 40px;
}

#hero-slider {
    width: 100%;
    aspect-ratio: 1920 / 600; 
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    position: relative;
    background: var(--bg-dark);
}

.banner-img {
    width: 100%;
    height: 100%;
    background-size: 100% 100%; 
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease;
}

#hero-slider:hover .banner-img { transform: scale(1.05); }

/* Customização Swiper */
.swiper-button-next, .swiper-button-prev {
    color: var(--white) !important;
    background: rgba(0,0,0,0.3);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 16px !important; font-weight: bold; }
.swiper-pagination-bullet-active { background: var(--accent) !important; opacity: 1; }

/* --- SEÇÕES GERAIS --- */
section { padding: 90px 0; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title span {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}
.section-title h2 { font-size: 38px; font-weight: 800; color: var(--white); }
.section-title.align-left { text-align: left; }

/* --- MARCAS --- */
.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}
.brand-item img {
    filter: grayscale(100%) brightness(200%);
    max-height: 45px;
    opacity: 0.5;
    transition: var(--transition);
}
.brand-item:hover img {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- VOUCHER CARD PREMIUM --- */
#lead-voucher { padding: 40px 0; }

.voucher-card {
    background: linear-gradient(135deg, var(--accent) 0%, #e67e22 100%);
    padding: 50px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(243, 147, 60, 0.25);
}

.voucher-info { display: flex; align-items: center; gap: 30px; color: var(--primary); }
.voucher-info i { font-size: 50px; opacity: 0.8; }
.voucher-info h2 { font-size: 28px; font-weight: 800; }
.voucher-info p { font-weight: 600; font-size: 18px; }

.voucher-form { display: flex; gap: 15px; }
.voucher-form input {
    padding: 16px 25px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-weight: 600;
    min-width: 280px;
    transition: 0.3s;
}
.voucher-form input:focus { border-color: var(--primary); }

.voucher-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 35px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}
.voucher-form button:hover { background: #000; transform: translateY(-3px); }

/* --- GALLERY REFINADA --- */
.header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 45px; }
.link-seta { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: 13px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.gallery-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 360px;
    transition: var(--transition);
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.gallery-card:hover img { transform: scale(1.15); }

.card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
}

/* --- FOOTER ENGAJAÊ --- */
#main-footer {
    background: var(--bg-dark);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo { height: 130px; margin-bottom: 30px; width: auto; }
.footer-info p { color: var(--text-muted); font-size: 15px; max-width: 350px; }

.footer-links h4, .footer-social h4 {
    color: var(--accent);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links li { margin-bottom: 12px; opacity: 0.7; }
.footer-links a:hover { color: var(--accent); opacity: 1; padding-left: 5px; }

.social-icons { display: flex; gap: 15px; }
.footer-social a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); transform: translateY(-5px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
}

/* --- RESPONSIVIDADE (A MÁGICA ENGAJAÊ) --- */

@media (max-width: 992px) {
    .mobile-menu-icon { display: block; }

    .menu-principal {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 1050; /* Abaixo do ícone, acima do header */
    }

    .menu-principal.active { transform: translateX(0); }
    .menu-principal ul { flex-direction: column; text-align: center; gap: 40px; }
    .menu-principal a { font-size: 22px; }

    #hero-section { padding-top: 110px; padding-bottom: 20px; }
    #hero-slider { 
        aspect-ratio: 1920 / 600; 
        height: auto !important; 
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .footer-info p { margin: 0 auto; }
    .footer-logo { margin: 0 auto 30px auto; }
    .social-icons { justify-content: center; }

    .voucher-card { flex-direction: column; text-align: center; gap: 30px; padding: 40px 25px; }
    .voucher-info { flex-direction: column; }
    .voucher-form { flex-direction: column; width: 100%; }
    .voucher-form input { min-width: 100%; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 30px; }
    #hero-slider { aspect-ratio: 1920 / 600; }
}

/* Animação do X no Menu Hamburguer */
.mobile-menu-icon.active .line1 { transform: rotate(-45deg) translate(-8px, 6px); }
.mobile-menu-icon.active .line2 { opacity: 0; }
.mobile-menu-icon.active .line3 { transform: rotate(45deg) translate(-8px, -6px); }