/* ===== VARIÁVEIS DE CORES E ESTILOS GLOBAIS ===== */
:root {
    --cor-principal: #1a1283;           /* Cor principal da marca */
    --cor-secundaria-fundo: #A997D6;    /* Cor de fundo secundária */
    --cor-destaque: #FFD700;            /* Cor de destaque (dourado) */
    --cor-fundo-claro: #f8f8f8;         /* Cor de fundo clara */
    --cor-fundo-maisclaro: #ffffff;     /* Cor de fundo mais clara */
    --cor-texto: #333;                  /* Cor do texto principal */
    --cor-texto-claro: #fff;            /* Cor do texto em fundos escuros */
}

.logo {
  width: 300px; /* ajuste o tamanho conforme quiser */
  height: auto; /* mantém a proporção */
}


/* ===== RESET E ESTILOS GLOBAIS ===== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', Arial, sans-serif; 
}

body { 
    scroll-behavior: smooth; 
    color: var(--cor-texto); 
    overflow-x: hidden; 
}

/* ===== CABEÇALHO RESPONSIVO ===== */
header {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-wrap: wrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 { 
    color: var(--cor-texto-claro); 
    font-size: 28px; 
    font-weight: 700; 
}

nav { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
}

nav a {
    margin: 0 12px;
    text-decoration: none;
    color: var(--cor-texto-claro);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover { 
    color: var(--cor-destaque); 
}

/* ===== ESTILOS GERAIS DAS SEÇÕES ===== */
section { 
    /* min-height: 100vh foi removido daqui para que FAQ e Depoimentos fiquem menores */
    padding: 100px 20px 50px; 
    text-align: center; 
}

/* Aplica min-height: 100vh APENAS nas seções principais (Hero e Como Funciona) */
#home,
#como {
    min-height: 100vh;
}

section h2 { 
    font-size: 32px; 
    margin-bottom: 25px; 
    color: var(--cor-principal); 
    font-weight: 700; 
}

/* ===== SEÇÃO HERO COM LAYOUT RESPONSIVO ===== */
#home {
    position: relative;
    background: url("23363.jpg") no-repeat center center/cover;
    /* min-height: 100vh; - Movido para o bloco #home, #como */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-texto-claro);
    padding: 120px 5% 80px;
}

#home .overlay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    gap: 100px; /* Espaço entre as caixas */
    flex-wrap: wrap;
}

#home .info-text {
    flex: 1;
    min-width: 350px;
    max-width: 480px;
    text-align: left;
    padding: 35px 30px;
    background-color: rgba(35, 104, 17, 0.85);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

#home h2 { 
    font-size: 40px;
    margin-bottom: 20px; 
    color: var(--cor-texto-claro); 
    line-height: 1.2; 
    font-weight: 800; 
}

#home p { 
    font-size: 18px; 
    font-weight: 300; 
    margin-top: 15px; 
    color: var(--cor-texto-claro);
    line-height: 1.5;
}

#home .box {
    background: var(--cor-texto-claro);
    color: var(--cor-texto);
    padding: 35px 30px;
    border-radius: 15px;
    text-align: center;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    border: 3px dashed var(--cor-principal);
}

#home .box h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--cor-principal);
    font-weight: 700;
    line-height: 1.3;
}

#home .box button {
    display: block;
    margin: 12px auto; 
    padding: 14px 20px;
    width: 100%;
    background: var(--cor-destaque);
    color: var(--cor-texto);
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
}

#home .box button:hover { 
    background: #FFC700; 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== SEÇÃO COMO FUNCIONA ===== */
#como { 
    position: relative;
    background: url("./23366.jpg") no-repeat center center/cover;
    color: var(--cor-texto-claro);
    padding: 100px 20px 50px;
    text-align: center;
    /* min-height: 100vh; - Movido para o bloco #home, #como */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Overlay para escurecer o fundo e melhorar a legibilidade do texto */
#como::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

/* Garante que o conteúdo fique acima do overlay */
#como > * {
    position: relative;
    z-index: 2;
}

#como h2 { 
    color: var(--cor-texto-claro); 
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 32px;
    line-height: 1.3;
}

/* Ajustes na lista e itens para fundo escuro */
#como ol {
    counter-reset: step-counter;
    list-style: none; 
    padding: 0; 
    max-width: 1100px; 
    margin: 0 auto;
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center;
    gap: 30px;
}

#como li {
    background-color: rgba(255, 255, 255, 0.95); 
    color: var(--cor-texto); 
    padding: 25px; 
    border-radius: 12px; 
    text-align: left; 
    flex: 1; 
    min-width: 300px; 
    max-width: 340px; 
    font-size: 15px; 
    line-height: 1.5; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); 
    position: relative;
}

#como li strong { 
    color: var(--cor-principal); 
    font-size: 18px; 
    display: block; 
    margin-bottom: 10px; 
    line-height: 1.3;
}

#como li:before {
    content: counter(step-counter); 
    counter-increment: step-counter; 
    background: var(--cor-destaque); 
    color: var(--cor-texto); 
    border-radius: 50%; 
    width: 35px; 
    height: 35px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: bold; 
    font-size: 18px; 
    position: absolute; 
    left: -15px; 
    top: -15px; 
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* ===== SEÇÃO PERGUNTAS FREQUENTES (REDUÇÃO DE ESPAÇAMENTO APLICADA) ===== */
#faq { 
    background: var(--cor-fundo-claro); 
    padding: 60px 20px; /* Reduzido de 100px para ficar mais compacto */
}

#faq .pergunta {
    max-width: 800px;
    margin: 0 auto 25px;
    padding: 25px;
    border-left: 5px solid var(--cor-principal);
    background: var(--cor-texto-claro);
    text-align: left;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#faq .pergunta b { 
    color: var(--cor-principal); 
    display: block; 
    margin-bottom: 10px; 
    font-size: 19px; 
    font-weight: 700;
}

/* ===== SEÇÃO DEPOIMENTOS (REDUÇÃO DE ESPAÇAMENTO APLICADA) ===== */
#depoimentos {
    padding: 60px 20px; /* Reduzido de 100px para ficar mais compacto */
    background: var(--cor-texto-claro);
}

.slide { 
    display: none; 
    font-size: 20px;
    padding: 60px 40px;
    max-width: 800px; 
    margin: 30px auto; 
    background: #f4f6ff;
    border-radius: 15px; 
    font-style: italic; 
    box-shadow: 0 15px 25px rgba(0,0,0,0.1); 
    border-top: 5px solid var(--cor-destaque);
    position: relative;
    line-height: 1.5;
}

.slide::before {
    content: "“";
    font-size: 80px;
    color: var(--cor-secundaria-fundo);
    position: absolute;
    top: 15px;
    left: 25px;
    opacity: 0.5;
    line-height: 0;
}

.ativo { 
    display: block; 
}

.slide-author { 
    display: block; 
    margin-top: 20px; 
    font-style: normal; 
    font-weight: bold; 
    color: var(--cor-principal); 
    font-size: 17px; 
    text-align: right;
}

/* ===== RODAPÉ PRINCIPAL ===== */
footer {
    background: var(--cor-principal);
    color: var(--cor-texto-claro);
    text-align: center;
    padding: 25px 20px;
    font-size: 15px;
}

/* ===== SEÇÃO SOBRE A EMPRESA ===== */
#empresa {
    padding: 100px 20px;
    background: var(--cor-fundo-maisclaro);
    /* min-height: 100vh foi removido daqui */
}

#empresa .conteudo-empresa {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    gap: 60px;
    text-align: left;
    flex-wrap: wrap;
}

#empresa .texto-info {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

#empresa .imagem-info {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

#empresa .imagem-info img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--cor-principal);
}

#empresa p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

#empresa b {
    color: var(--cor-principal);
    font-weight: 700;
}

.btn-solucoes {
    background: var(--cor-destaque);
    color: var(--cor-texto);
    border: none;
    cursor: pointer;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.btn-solucoes:hover {
    background: #FFC700;
    transform: translateY(-2px);
}

/* ===== RODAPÉ INSTITUCIONAL (REDUÇÃO DE ESPAÇAMENTO APLICADA) ===== */
#rodape-institucional {
    background: linear-gradient(135deg, var(--cor-principal) 0%, #0d0b5a 100%);
    color: var(--cor-texto-claro);
    padding: 40px 20px 20px; /* Reduzido de 60px para ficar mais compacto */
    border-top: 5px solid var(--cor-destaque);
}

.container-rodape {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

/* Coluna da Esquerda */
.coluna-esquerda {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.grupo-links {
    min-width: 200px;
    margin-bottom: 20px;
    text-align: left;
}

.grupo-links h3 {
    color: var(--cor-destaque);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 3px solid var(--cor-destaque);
    padding-left: 10px;
}

.grupo-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.grupo-links li {
    margin-bottom: 12px;
    
}

.grupo-links a {
    color: var(--cor-texto-claro);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
}

.grupo-links a:hover {
    color: var(--cor-destaque);
    padding-left: 5px;
}

/* Redes Sociais */
.redes-sociais {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.redes-sociais a {
    font-size: 24px;
    transition: transform 0.3s;
    display: inline-block;
}

.redes-sociais a:hover {
    transform: translateY(-3px);
}

/* Coluna da Direita */
.coluna-direita {
    flex: 1;
    min-width: 300px;
}

.info-agius h3 {
    color: var(--cor-destaque);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--cor-destaque);
    padding-bottom: 10px;
}

.endereco, .cnpj {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contato {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--cor-destaque);
}

.contato h4 {
    color: var(--cor-destaque);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.email {
    color: var(--cor-texto-claro);
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.email:hover {
    color: var(--cor-destaque);
    text-decoration: underline;
}

.copyright {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== RESPONSIVIDADE COMPLETA ===== */

/* TABLETS (768px - 991px) */
@media (max-width: 992px) {
    #home .overlay {
        gap: 60px;
    }
    
    #home .info-text,
    #home .box {
        max-width: 90%;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    #empresa .conteudo-empresa {
        flex-direction: column;
        text-align: center;
    }
}

/* CELULARES (até 767px) */
@media (max-width: 768px) {
    #home .overlay {
        gap: 40px;
    }
    
    #home .info-text,
    #home .box {
        max-width: 95%;
        padding: 30px 25px;
    }
    
    #home h2 {
        font-size: 32px;
    }
    
    section h2 {
        font-size: 26px;
    }
    
    #como li {
        min-width: 100%;
    }
    
    .container-rodape {
        flex-direction: column;
        gap: 30px;
    }
    
    .coluna-esquerda {
        flex-direction: column;
        gap: 30px;
    }
}

/* CELULARES PEQUENOS (até 480px) */
@media (max-width: 480px) {
    #home h2 {
        font-size: 26px;
    }
    
    #home .box h3 {
        font-size: 18px;
    }
    
    nav a {
        font-size: 14px;
        margin: 0 8px;
    }
    
    header h1 {
        font-size: 22px;
    }
    
    .slide {
        padding: 40px 20px;
        font-size: 16px;
    }
}

/* ===== MELHORIAS ADICIONAIS ===== */

/* Garantir que as seções tenham transição suave */
section {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Melhorar os botões existentes */
#home .box button, .btn-solucoes {
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

/* Efeito de onda nos botões */
#home .box button::after, .btn-solucoes::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.3s, height 0.3s, top 0.3s, left 0.3s;
}

#home .box button:hover::after, .btn-solucoes:hover::after {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

/* Header com transição suave */
header {
    transition: all 0.3s ease !important;
}

/* Melhorar o carrossel de depoimentos */
.slide {
    transition: opacity 0.5s ease !important;
}

/* Adicionar sombra suave nos cards */
.pergunta, #home .box, #home .info-text {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pergunta:hover, #home .box:hover, #home .info-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Responsividade para o botão voltar ao topo */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

