/* ====================================
   RESET E VARIÁVEIS GLOBAIS
   ==================================== */
   :root {
    --primary-color: #0048E0;
    --secondary-color: #4DA1FF;
    --background-color: #F0F2F5;
    --text-dark: #1D2B4F;
    --text-light: #5A647E;
    --white-color: #FFFFFF;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 72, 224, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================================
   CABEÇALHO E NAVEGAÇÃO
   ==================================== */
.header {
    background-color: var(--white-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo img {
    height: auto; /* Mantém a proporção */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-cta:hover {
    background-color: #003ab8;
    color: var(--white-color);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
}


/* ====================================
   ESTILOS GERAIS E BOTÕES
   ==================================== */
h1, h2, h3, h4 {
    color: var(--text-dark);
    line-height: 1.2;
}

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

section {
    padding: 80px 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: var(--box-shadow);
}

.cta-button:hover {
    background-color: #003ab8;
    transform: translateY(-3px);
}

/* ====================================
   SEÇÕES ESPECÍFICAS
   ==================================== */
/* Hero Section */
.hero {
    background-color: var(--white-color);
    text-align: center;
    padding: 100px 0;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 72, 224, 0.15);
}
.feature-card img { margin-bottom: 1rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* How It Works Section */
.how-it-works { background-color: var(--white-color); }
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}
.step {
    display: flex;
    align-items: center;
    gap: 30px;
}
.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
}

/* CTA Final & Footer */
.cta-final { text-align: center; }
.cta-final p { max-width: 600px; margin: 0 auto 2rem auto; color: var(--text-light); }

.footer {
    background-color: var(--text-dark);
    color: #a9b3ce;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}
.footer p { margin-bottom: 0.5rem; }

/* ====================================
   RESPONSIVIDADE (MOBILE-FIRST)
   ==================================== */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    /* Animação do hamburger para "X" */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Animações de Scroll (fade-in) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* (Todo o CSS anterior se mantém, e adicionamos/ajustamos o seguinte) */

/* ... (Reset e Variáveis Globais como antes) ... */

/* ... (Cabeçalho e Navegação como antes) ... */

/* ... (Estilos Gerais e Botões como antes) ... */

/* ====================================
   SEÇÕES ESPECÍFICAS (AJUSTES E ADIÇÕES)
   ==================================== */

/* Hero Section com Imagem de Fundo */
.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1541746972996-4e0b0f43e02a?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 120px 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 43, 79, 0.7); /* Overlay para legibilidade */
}
.hero-content {
    position: relative; /* Para ficar acima do overlay */
    z-index: 2;
}
.hero h1 { color: var(--white-color); }
.hero .hero-subtitle { color: rgba(255, 255, 255, 0.9); }

/* ... (Seção de Features como antes) ... */

/* NOVA Seção Sobre Nós */
.about {
    background-color: var(--white-color);
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}
.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}
.about-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ... (Seção Como Funciona mantida, o estilo já é bom) ... */

/* NOVA Seção de Contato */
.contact {
    background-color: var(--white-color);
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
}
.contact-info h2 { text-align: left; }
.contact-info p { margin-bottom: 2rem; color: var(--text-light); }
.contact-info ul {
    list-style: none;
    line-height: 2.5;
}

.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 72, 224, 0.2);
}
.contact-form button { width: 100%; }

#form-feedback {
    margin-top: 1rem;
    padding: 10px;
    border-radius: var(--border-radius);
    text-align: center;
    display: none; /* Começa escondido */
}
#form-feedback.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}
#form-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}


/* ... (Footer como antes) ... */

/* ====================================
   RESPONSIVIDADE (AJUSTES E ADIÇÕES)
   ==================================== */
@media (max-width: 992px) {
    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
    .about-image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    /* (Regras de responsividade do menu e fontes como antes) */
}

/* ... (Animações de Scroll como antes) ... */