/* ==========================================================================
   CONFIGURAÇÕES GERAIS E RESETS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #fafafa;
    color: #333;
    padding-top: 80px; 
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.sub-seo {
    font-size: 1.1rem;
    color: #666;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* Classes utilitárias de exibição */
.mobile-only { display: none; }
.desktop-only { display: block; }

/* ==========================================================================
   CABEÇALHO (HEADER DESKTOP)
   ========================================================================== */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 40px; 
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c99855; 
}

/* Ocultar botão hambúrguer no desktop */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

/* Botões */
.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}

.btn-primary {
    display: inline-block;
    background-color: #c99855;
    color: #fff;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #b58645;
}

/* ==========================================================================
   ESTRUTURA DO NOVO HERO CARROSSEL (MODERNO E ANIMADO)
   ========================================================================== */
.hero-carousel {
    position: relative;
    height: calc(100vh - 80px);
    width: 100%;
    overflow: hidden;
    background-color: #1a1a1a;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    color: #ffffff;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(201, 152, 85, 0.8);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: #c99855;
    transform: scale(1.2);
}

/* ==========================================================================
   SOBRE NÓS
   ========================================================================== */
.sobre {
    padding: 100px 0;
    background-color: #fff;
}

.sobre-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-text {
    flex: 1;
}

.sobre-text h2 {
    font-size: 2.5rem;
    color: #2a2a2a;
    font-weight: 700;
}

.linha-destaque {
    width: 60px;
    height: 4px;
    background-color: #c99855;
    margin: 15px 0 25px 0;
}

.linha-destaque.center {
    margin: 15px auto 40px auto;
}

.sobre-img {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.sobre-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   PRODUTOS
   ========================================================================== */
.produtos {
    padding: 100px 0;
    background-color: #fafafa;
}

.text-center {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-produto {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

.card-produto:hover {
    transform: translateY(-10px);
}

.card-produto img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-produto h3 {
    padding: 20px;
    text-align: center;
    color: #2a2a2a;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-social a {
    color: #c99855;
    text-decoration: none;
    font-weight: bold;
}

/* ==========================================================================
   MÁGICA DO MOBILE RESPONSIVO COM MENU HAMBÚRGUER (COMPLETAMENTE CORRIGIDO)
   ========================================================================== */
@media (max-width: 768px) {
    body {
        padding-top: 70px; 
    }

    .mobile-only { display: block; }
    .desktop-only { display: none; }

    .header {
        position: fixed;
    }

    .header-container {
        padding: 15px 20px;
        width: 100%;
    }

    .logo img {
        height: 40px; 
    }

    .hamburger {
        display: block;
        z-index: 1100;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #c99855;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #c99855;
    }

    .nav-links {
        position: fixed;
        left: -100%; 
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        padding-top: 100px; 
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        padding: 0 40px;
    }

    .nav-links a {
        font-size: 1.3rem; 
        display: block;
        padding: 10px 0;
    }

    .nav-links .btn-whatsapp {
        margin-top: 20px;
        width: 100%;
    }

    /* FIX DO BANNER MOBILE: Altura definida via viewport para conter o GSAP */
    .hero-carousel {
        height: calc(100vh - 70px);
        min-height: 520px; 
    }

    .slide {
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .btn-primary.hero-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
        margin-top: 15px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .carousel-btn.prev { left: 8px; }
    .carousel-btn.next { right: 8px; }
    
    .carousel-dots {
        bottom: 20px;
    }

    .sobre { padding: 50px 0; }
    .sobre-container { flex-direction: column; gap: 30px; }
    .sobre-text h2 { font-size: 1.8rem; text-align: center; }
    .linha-destaque { margin: 15px auto 25px auto; }
    .produtos { padding: 50px 0; }
    .text-center { font-size: 1.8rem; }
    .produtos-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
}