/* --- RESET & GLOBAL STYLES --- */
:root {
    --azul-corporativo: #0A3D62;
    --verde-acao: #25D366;
    --dourado-destaque: #FDB813;
    --cinza-claro: #F7F9FA;
    --grafite: #333333;
    --branco: #FFFFFF;
    --font-titulo: 'Montserrat', sans-serif;
    --font-corpo: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-corpo);
    background-color: var(--cinza-claro);
    color: var(--grafite);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-titulo);
    color: var(--azul-corporativo);
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--branco);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--dourado-destaque);
    margin: 10px auto 0;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--cinza-claro);
}

.section-dark {
    background-color: var(--azul-corporativo);
    color: var(--branco);
}

.section-dark h2, .section-dark h3 {
    color: var(--branco);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-titulo);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-whatsapp {
    background-color: var(--verde-acao);
    color: var(--branco);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    margin-right: 8px;
}

/* --- HEADER --- */
.header {
    background-color: var(--azul-corporativo);
    color: var(--branco);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: padding 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-titulo);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--branco);
    text-decoration: none;
}

.logo i {
    color: var(--dourado-destaque);
    margin-right: 5px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dourado-destaque);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    background: url('./hero-bg.png') no-repeat center center/cover;
    color: var(--branco);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 61, 98, 0.85); /* Azul Corporativo com opacidade */
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto 30px;
}

.btn-hero {
    padding: 18px 36px;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.trust-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.trust-icon i {
    color: var(--dourado-destaque);
    font-size: 1.5rem;
}

/* --- CATEGORIAS SECTION --- */
#categorias .grid-categorias {
    display: grid;
    /* Define explicitamente 5 colunas de tamanho igual */
    grid-template-columns: repeat(5, 1fr); 
    gap: 25px;
    margin-top: 40px;
}

.card-categoria {
    background-color: var(--branco);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card-categoria:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.card-categoria i {
    font-size: 3rem;
    color: var(--azul-corporativo);
    margin-bottom: 15px;
}

/* --- COMO FUNCIONA SECTION --- */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--azul-corporativo);
    color: var(--branco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    border: 4px solid var(--dourado-destaque);
}

.step-number {
    position: absolute;
    top: -5px;
    right: 20%;
    background-color: var(--dourado-destaque);
    color: var(--grafite);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-titulo);
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20%;
    right: 20%;
    height: 2px;
    border-top: 2px dashed var(--azul-corporativo);
    z-index: -1;
}

/* --- GARANTIAS SECTION --- */
#garantias .subtitle {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 50px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.guarantee-item {
    text-align: center;
}

.guarantee-item i {
    font-size: 3.5rem;
    color: var(--dourado-destaque);
    margin-bottom: 20px;
}

#garantias .btn-secondary {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* --- FAQ SECTION --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-family: var(--font-titulo);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--azul-corporativo);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--azul-corporativo);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 0 20px;
    line-height: 1.7;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}
.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust as needed */
}

/* --- FINAL CTA SECTION --- */
.final-cta {
    background-color: var(--grafite);
    color: var(--branco);
    padding: 80px 0;
    text-align: center;
}

.final-cta h2 {
    color: var(--branco);
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-final {
    padding: 20px 40px;
    font-size: 1.3rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--azul-corporativo);
    color: var(--branco);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .cta-header { display: none; }
    .nav-menu {
        position: fixed;
        top: 71px; /* header height */
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--azul-corporativo);
        flex-direction: column;
        transition: right 0.4s ease-in-out;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        padding: 40px;
        text-align: center;
        gap: 30px;
    }
    .nav-menu a { font-size: 1.2rem; }
    .mobile-menu-toggle { display: block; }
    
    .steps-container { flex-direction: column; }
    .steps-container::before { display: none; }
    .step-number { right: 35%; }
}

@media (max-width: 768px) {
    .trust-icons {
        flex-direction: column;
        align-items: flex-start;
        max-width: 300px;
        margin: 40px auto 0;
    }
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .step-number { right: 25%; }
}

@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    .hero p { font-size: 1rem; }
    .btn-hero { padding: 15px 30px; font-size: 1rem; }
    .step-number { right: 15%; }
    .final-cta h2 { font-size: 1.5rem; }
    .btn-final { font-size: 1rem; padding: 15px 25px; }
}