/* --- Variáveis e Reset --- */
:root {
    --primary-color: #102a43; /* Azul Marinho Institucional - Mais sério */
    --secondary-color: #25d366; /* Verde WhatsApp Oficial */
    --dark-bg: #0a192f;
    --light-bg: #f8f9fa;
    --text-main: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --font-heading: 'Poppins', sans-serif; /* Mantido, excelente para títulos */
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Utilitários --- */
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); color: var(--white); }
.text-center { text-align: center; }
.text-green { color: var(--secondary-color); }
.text-red { color: #e53935; }

/* --- Botões --- */
.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
    background: #00b548;
}

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.logo .highlight { color: var(--primary-color); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary-color); }

.btn-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
}

.mobile-menu-icon { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #eef2f3 0%, #d9e2ec 100%); /* Fundo mais limpo */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,82,204,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.trust-badge {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --- Grids e Cards --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 20px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--dark-bg); }

.card-problem, .card-solution {
    padding: 40px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card-problem { border-left: 5px solid #e53935; background: #fff5f5; }
.card-solution { border-left: 5px solid var(--secondary-color); transform: scale(1.05); }

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.benefit-card:hover { transform: translateY(-10px); }

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- Steps --- */
.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: -1;
}

.step {
    background: var(--white);
    padding: 20px;
    text-align: center;
    width: 30%;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* --- Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item h3 { font-size: 3rem; color: var(--secondary-color); margin-bottom: 10px; }

/* --- Testimonials Slider --- */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    overflow: hidden;
    min-height: 250px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: all;
}

.testimonial-card p { font-size: 1.2rem; font-style: italic; margin-bottom: 20px; }
.client-info strong { display: block; font-size: 1.1rem; color: var(--secondary-color); }
.client-info span { font-size: 0.9rem; color: #ccc; }

/* --- Contact Form Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-benefits { margin-top: 30px; }
.contact-benefits li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark-bg); }

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-block { width: 100%; display: block; text-align: center; }
.privacy-text { text-align: center; font-size: 0.8rem; color: #888; margin-top: 15px; }

/* --- Footer --- */
footer { background: #f1f1f1; padding: 60px 0 20px; }
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.copyright { text-align: center; border-top: 1px solid #ddd; padding-top: 20px; color: #888; font-size: 0.9rem; }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover { transform: scale(1.1); }

/* --- Animações --- */
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 200, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

/* Scroll Reveal Class (Controlado via JS) */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.scroll-reveal.active { opacity: 1; transform: translateY(0); }

/* --- Responsividade --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Menu simplificado para exemplo */
    .mobile-menu-icon { display: block; }
    .grid-2, .grid-3, .stats-grid { grid-template-columns: 1fr; }
    .card-solution { transform: none; margin-top: 0; }
    .steps-container { flex-direction: column; gap: 30px; }
    .steps-container::before { display: none; }
    .step { width: 100%; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
}