/* ================================== */
/* Reset Básico e Configuração do Body */
/* ================================== */

/* Remove todas as margens e paddings padrão do navegador */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
}

/* Define a fonte padrão para o corpo do site */
body {
    font-family: 'Roboto', sans-serif; 
    line-height: 1.7;
    background-color: #fff;
    color: #2c3e50;
}

/* Aplica o espaçamento do topo APENAS em páginas com a navbar fixa */
body.has-fixed-navbar {
    /* padding-top: 75px; << AJUSTE PARA A ALTURA EXATA DA SUA NAVBAR PRINCIPAL */
}

/* ================================== */
/* Estilos Gerais (Títulos, Links, Seções) */
/* ================================== */
a {
    color: var(--atonbox-primary-color); /* Usando a cor primária */
    text-decoration: none;
}
a:hover {
    color: #0a58ca; /* Tom mais escuro da cor primária */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

section {
    padding: 60px 0;
    overflow: hidden;
    scroll-margin-top: 75px; /* Deve ser igual ao padding-top do body.has-fixed-navbar */
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--atonbox-primary-color); /* Usando a cor primária */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ================================== */
/* Estilos da Homepage (Início)      */
/* ================================== */

/* Seção Herói da Homepage com imagem de fundo */
.hero-section {
    position: relative; /* Necessário para a sobreposição */
    padding: 120px 0;   /* Espaçamento interno */
    color: #221919;      /* Cor do texto */
    
    /* --- CORREÇÃO APLICADA AQUI --- */
    /* Juntei tudo em uma única propriedade 'background' para ficar mais limpo e correto. */
    /* O '/cover' no final faz o trabalho do 'background-size'. */
    background: url('../img/hero-background.jpg') no-repeat center center/cover;
}
/* Cria a sobreposição escura para melhorar a legibilidade do texto */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Cor preta com 50% de transparência */
    z-index: 1; /* Coloca a sobreposição abaixo do conteúdo */
}

/* Garante que o conteúdo (títulos, textos) fique acima da sobreposição */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Ajuste de responsividade para a hero section da homepage */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0; /* Diminui o espaçamento em telas menores */
    }
}

/* ================================== */
/* Estilos da Landing Page (LP) */
/* ================================== */

/* Seção Herói da LP (AGORA COM IMAGEM DE FUNDO) */
.lp-hero-section {
    position: relative;
    padding: 80px 15px;
    text-align: center;
    color: #fff;
    background: url('../img/hero-background.jpg') no-repeat center center; /* << COLOQUE O CAMINHO CORRETO AQUI */
    background-size: cover;
}
.lp-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Sobreposição escura para legibilidade */
    z-index: 1;
}
.lp-hero-section .container {
    position: relative;
    z-index: 2;
}
.lp-hero-section h1 { font-size: 2.6rem; color: #fff; }
.lp-hero-section .lead { max-width: 700px; margin-left: auto; margin-right: auto; }

/* Botão principal da seção herói */
.lp-hero-section .btn-primary-lp { 
    background-color: var(--atonbox-primary-color);
    border-color: var(--atonbox-primary-color);
    font-weight: bold;
    text-transform: uppercase;
}
.lp-hero-section .cta-subtext { font-size: 0.9rem; color: #f8f9fa; margin-top: 10px; }


/* A Colagem de Imagens no Topo da LP */
.container-collage {
    max-width: 700px;
    margin: 30px auto;
}
.collage-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* Seção Final de CTA (Formulário) */
.lp-final-cta-section {
    background-color: #f8f9fa; /* Fundo cinza claro */
}


/* Benefícios, Galeria, Prova Social (LP) */
.lp-benefits-section h2, 
.lp-mini-gallery-section h2, 
.lp-social-proof-section h2, 
.lp-final-cta-section h2 { 
    margin-bottom: 40px !important; 
}
.benefit-item .icon-container i { color: var(--atonbox-primary-color); }
.benefit-item h5 { margin-bottom: 10px; }
.benefit-item p.small { line-height: 1.6; }
.testimonial-item { border-left: 5px solid var(--atonbox-primary-color); background-color: #fff;}


/* ================================== */
/* Componentes Reutilizáveis */
/* ================================== */

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
}


/* Rodapé Principal */
footer.lp-footer {
    padding: 20px 0;
    background-color: #343a40;
    color: rgba(255, 255, 255, 0.7);
}
footer.lp-footer a {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 10px;
}
footer.lp-footer a:hover {
    color: #fff;
}


/* ================================== */
/* Media Queries (Responsividade) */
/* ================================== */
@media (max-width: 768px) {
    /* Ajustes para mobile */
    .lp-hero-section { height: auto; padding: 60px 15px; }
    .lp-hero-section h1 { font-size: 2rem; }
    
    .collage-img { height: 120px; }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    .section-title h2 { font-size: 28px; }
}

/* ================================== */
/* CORREÇÃO COR DO TEXTO HERO         */
/* ================================== */

.hero-section h1,
.hero-section p {
    color: #2c3e50 !important; /* Usando o cinza escuro padrão do seu site */
}

/* Classe para garantir que o conteúdo principal limpe a navbar fixa */
.content-clear-navbar {
    padding-top: 100px;
}