/* =========================================
   1. RESET E VARIÁVEIS GERAIS
   ========================================= */
:root {
    /* Paleta de Cores baseada nas imagens */
    --primary-blue: #15469F;      /* Azul Brandão */
    --dark-blue: #0d306b;         /* Azul Escuro (Footer/Hover) */
    --primary-yellow: #FFD24C;    /* Amarelo Botões/Destaque */
    --light-bg: #F5F7FA;          /* Fundo Cinza Claro */
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    
    /* Espaçamentos e Bordas */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 30px;
    --container-width: 1140px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden; /* Evita rolagem horizontal indesejada */
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

/* Container Centralizado */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Títulos de Seção */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* =========================================
   2. HEADER & NAVEGAÇÃO
   ========================================= */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajuste conforme o tamanho real da sua logo */
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-nav {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-nav:hover {
    background-color: #f0f4ff;
}

/* Estilo do botão ativo (igual imagem 900735 - PLANOS/CONTATO) */
.btn-nav.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    background-color: #f9f9f9;
    padding: 60px 0;
    min-height: 80vh; /* Ocupa boa parte da tela */
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #000;
    margin-bottom: 20px;
    position: relative;
    border: 2px solid transparent; /* Espaço para o visual border */
}

/* Simula o efeito de caixa roxa/borda na imagem se quiser, 
   ou mantém limpo. Aqui deixei limpo e focado no texto forte. */

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-height: 500px;
    object-fit: contain;
}

/* Oculta a imagem do aplicativo no mobile */
@media (max-width: 768px) {
    .hero-image {
        display: none;
    }
}

/* =========================================
   4. PLANOS (SOLUÇÕES)
   ========================================= */
.plans-section {
    padding: 60px 0;
    background-color: var(--white);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas */
    gap: 20px;
    margin-top: 40px;
}

.plan-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.plan-card img:hover {
    transform: translateY(-10px); /* Efeito de flutuar ao passar o mouse */
}

/* =========================================
   5. CTA AZUL (VANTAGENS)
   ========================================= */
.cta-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e5bb8 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-blue h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.btn-cta-yellow {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
    font-weight: 700;
    padding: 15px 40px;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    margin-bottom: 50px;
    box-shadow: 0 4px 0px #e6bd45; /* Efeito 3D sutil */
    transition: transform 0.2s;
}

.btn-cta-yellow:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0px #e6bd45;
}

.features-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-yellow);
}

.feature-item span {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Ajusta o tamanho dos ícones personalizados das features */
.feature-item img.feature-icon {
    width: 3rem;
    height: auto;
    display: block;
}

/* =========================================
   6. FAQ (DÚVIDAS)
   ========================================= */
.faq-section {
    padding: 60px 0;
    background-color: #e9ecef; /* Fundo cinza claro igual imagem 900752 */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIiBvcGFjaXR5PSIwLjA1Ij48dGV4dCB4PSIxMCIgeT0iMzAiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIiBmb250LXNpemU9IjIwIj4/PC90ZXh0Pjwvc3ZnPg=='); /* Textura sutil de ? se quiser, senão pode remover */
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

.faq-header i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: transparent;
    border: 1px solid var(--primary-blue);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background: transparent;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
}

.accordion-header i {
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.accordion-content {
    display: none; /* Escondido por padrão */
    padding: 0 20px 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Estado Ativo (controlado pelo JS) */
.accordion-item.active {
    background-color: #dfe6f2; /* Leve destaque azulado */
}

.accordion-item.active .accordion-content {
    display: block;
}

.compare-btn-container {
    text-align: center;
    margin-top: 40px;
}

.btn-blue-outline {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

/* =========================================
   7. DEPOIMENTOS
   ========================================= */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.subtitle {
    color: var(--text-gray);
    margin-bottom: 50px;
    margin-top: -20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-card {
    background-color: #1a4d9e; /* Azul similar ao card da imagem */
    border-radius: 20px;
    padding: 30px;
    color: white;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 20px rgba(21, 70, 159, 0.2);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.client-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.quote {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    font-style: italic;
    opacity: 0.95;
}

.date {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    opacity: 0.7;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #eee;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-blue);
}

/* =========================================
   8. CONTATO (FUNDO AMARELO)
   ========================================= */
.contact-section {
    background-color: var(--primary-yellow);
    padding: 60px 0;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
}

.contact-illustration img {
    /* Permite que a ilustração ocupe toda a largura disponível dentro do contêiner */
    max-width: 100%;
}

.contact-form-wrapper {
    flex: 1;
    max-width: 500px;
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    background: var(--white);
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.btn-submit {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: var(--dark-blue);
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    /* Exibe a logomarca no rodapé nas cores originais, sem efeito de inversão */
    filter: none;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li i {
    width: 20px;
}

.footer-col ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px; /* Efeito visual de movimento */
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 1.8rem;
    color: #8faee8;
}

.social-icons a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    background-color: var(--dark-blue);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   10. RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 992px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
}

/* =========================================
   11. BOTÃO FLUTUANTE DO WHATSAPP
   ========================================= */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* Cor oficial do WhatsApp */
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    /* Header */
    .mobile-menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px; /* Altura do header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .btn-nav {
        display: block;
        width: 100%;
    }

    /* Hero */
    .hero-container {
        flex-direction: column-reverse; /* Imagem em cima, texto em baixo no mobile, ou vice-versa */
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    /* Planos */
    .plans-grid {
        grid-template-columns: 1fr; /* 1 coluna no mobile */
        max-width: 350px;
        margin: 40px auto 0;
    }

    /* CTA Icons */
    .features-row {
        gap: 40px;
        flex-direction: column;
    }

    /* Depoimentos */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Contato */
    .contact-container {
        flex-direction: column;
    }
    
    .contact-illustration {
        margin-bottom: 30px;
    }

    .contact-illustration img {
        width: 60%; /* Diminuir o boneco no mobile */
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col ul li a {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
    }
}