/* =========================================
   1. Variáveis e Cores (Tema Preto e Amarelo)
   ========================================= */
:root {
    /* Cores da Marca */
    --primary-color: #FFC800; /* Amarelo Ouro Vibrante */
    --primary-hover: #eab308; /* Amarelo um pouco mais escuro para hover */
    
    --secondary-color: #111111; /* Preto Quase Puro (Premium) */
    --secondary-light: #1f2937; /* Cinza Chumbo */
    
    --text-color: #333333;      /* Cinza escuro para textos longos */
    --light-bg: #f9fafb;        /* Fundo quase branco para seções */
    --white: #ffffff;
    
    /* Mantemos o Verde APENAS para o WhatsApp (identidade do app) */
    --whatsapp-color: #25D366;
    --whatsapp-dark: #128C7E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3 {
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ========================
   2. Utilitários
   ======================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Detalhe amarelo abaixo dos títulos */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ========================
   3. Botões
   ======================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px; /* Bordas mais quadradas para visual masculino/pro */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
}

/* Botão Primário (Amarelo com texto Preto) */
.btn-primary {
    background-color: var(--primary-color);
    color: #000000; /* Preto para contraste máximo no amarelo */
    box-shadow: 0 4px 6px rgba(255, 200, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Botão WhatsApp */
.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 50px; /* Redondo padrão WP */
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ========================
   4. Navbar (Dark Mode)
   ======================== */
.navbar {
    background-color: var(--secondary-color); /* Fundo Preto */
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-color); /* Linha amarela fina */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color); /* "HAIR" em Amarelo */
}

.nav-btn {
    /* Opcional: esconder em mobile */
}

/* ========================
   5. Hero Section (Preto e Amarelo)
   ======================== */
.hero {
    position: relative;
    background-color: var(--secondary-color); /* Fundo Preto */
    color: var(--white);
    padding: 160px 0 100px 0; /* Espaço extra no topo por causa da nav fixa */
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Opcional: Fundo com imagem escura */
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

/* Badge "Venda no Atacado" */
.badge {
    background-color: var(--primary-color);
    color: #000;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.hero h1 span {
    color: var(--primary-color); /* Destaque Amarelo no título */
}

.hero p {
    font-size: 1.25rem;
    color: #d1d5db; /* Cinza claro */
    margin-bottom: 40px;
    max-width: 90%;
}

/* --- AJUSTES DA IMAGEM ABAIXO --- */
.image-box {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1/1; /* Mantém quadrado */
    background-color: #1a1a1a;
    border: 2px solid var(--secondary-light);
    border-radius: 20px;
    
    /* REMOVIDO: padding: 20px (para a imagem ir até a borda) */
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7); /* Sombra forte */
    position: relative; /* Importante para o efeito ::before */
    /* NÃO coloque overflow: hidden aqui se quiser o detalhe amarelo pra fora */
}

/* NOVO: Faz a imagem preencher a caixa perfeitamente */
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* A mágica que impede distorção */
    border-radius: 18px; /* Arredonda a imagem para acompanhar a borda */
    display: block;
}

/* Efeito decorativo no quadrado da imagem */
.image-box::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    border-top: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
    border-radius: 0 20px 0 0;
    z-index: 2; /* Garante que fique acima da imagem */
}

/* ========================
   6. Cards (Benefícios)
   ======================== */
.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    border-bottom: 4px solid transparent; /* Borda invisível */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Ao passar o mouse, sobe e mostra borda amarela embaixo */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--primary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: #FFF9E5; /* Amarelo bem pálido para fundo do ícone */
    color: #eab308; /* Ícone amarelo escuro */
    border-radius: 50%; /* Redondo */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px auto; /* Centralizado se card tiver text-align center */
}

/* Se o card for alinhado à esquerda (como na seção de modelos) */
.card[style*="text-align: left"] .icon-box {
    margin: 0 0 20px 0;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.card p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* ========================
   7. Depoimentos
   ======================== */
.testimonial {
    background-color: var(--white);
    border: 1px solid #f3f4f6;
}

.testimonial .stars {
    color: var(--primary-color); /* Estrelas Amarelas */
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: #374151;
}

.testimonial .author {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* ========================
   8. FAQ (Estático)
   ======================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color); /* Detalhe lateral amarelo */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.faq-item h3 i {
    color: var(--primary-color);
    margin-right: 15px;
}

/* ========================
   9. Contato / Footer
   ======================== */
.contact-section {
    background-color: var(--secondary-color); /* Fundo Preto */
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-section h2 {
    color: var(--white);
}

.contact-subtitle {
    font-size: 1.3rem;
    color: #9ca3af;
    margin-bottom: 40px;
}

.contact-info {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #9ca3af;
}

.contact-info i {
    color: var(--primary-color); /* Ícone Check amarelo */
    margin-right: 10px;
}

footer {
    background-color: #000000;
    color: #6b7280;
    text-align: center;
    padding: 30px 0;
    font-size: 0.85rem;
    border-top: 1px solid #222;
}

/* ========================
   10. Botão Flutuante e Animação
   ======================== */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    animation: pulse-green 2s infinite;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-5px);
}

/* ========================
   11. Responsividade
   ======================== */
@media (max-width: 768px) {
    .nav-btn {
        display: none; 
    }

    .hero {
        text-align: center;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        width: 100%; /* Botão full width no mobile */
        justify-content: center;
    }
}

/* =========================================
   12. Lógica JavaScript (NOVO - FAQ e Animações)
   ========================================= */

/* --- Estilos do FAQ Interativo --- */
.faq-item h3 {
    cursor: pointer;
    justify-content: flex-start;
}

/* O texto da resposta começa escondido */
.faq-item p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: all 0.3s ease-in-out;
}

/* Quando o JS adiciona a classe .active */
.faq-item.active p {
    max-height: 200px; /* Altura suficiente para o texto */
    opacity: 1;
    margin-top: 15px;
}

/* Girar o ícone da pergunta quando ativo */
.faq-item h3 i {
    transition: transform 0.3s;
}

.faq-item.active h3 i {
    transform: rotate(360deg);
    color: var(--primary-hover);
}

/* --- Animação de Entrada (Fade In) --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}