/* =========================================
   1. VARIÁVEIS E RESET (AZUL REVISIONAL)
   ========================================= */
:root {
    --azul-principal: #2F6BFF;
    --azul-secundario: #3EC1D3;
    --off-white: #F7F9FC;
    --texto-grafite: #1E1E1E;
    --vermelho-dor: #E63946;
    --branco: #ffffff;
    
    --sombra-card: 0 10px 30px rgba(47, 107, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --nav-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--off-white);
    color: var(--texto-grafite);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.5px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================
   2. UTILITÁRIOS E BOTÕES
   ========================================= */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; width: 100%; }
.text-destaque { color: var(--azul-principal); }
.text-vermelho { color: var(--vermelho-dor); }
.hidden { display: none !important; }

.btn-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background-color: var(--azul-principal); color: white;
    padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 1rem;
    transition: var(--transition); border: none; cursor: pointer;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}
.btn-cta:hover { background-color: #1a54e0; transform: translateY(-2px); }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-zap { background-color: #25D366; }
.btn-zap:hover { background-color: #1ebc57; }

/* =========================================
   3. NAVEGAÇÃO (CABEÇALHO)
   ========================================= */
.navbar {
    background: var(--branco); height: var(--nav-height);
    display: flex; align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: fixed; top: 0; width: 100%; z-index: 1000;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; width: auto; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-weight: 600; color: #555; font-size: 0.95rem;
    transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--azul-principal); }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background-color: var(--azul-principal);
    transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

/* =========================================
   4. SEÇÕES DO SITE (LANDING PAGE)
   ========================================= */
.hero-section { padding-top: 140px; padding-bottom: 80px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; color: var(--texto-grafite); }
.subtitle { font-size: 1.2rem; color: #555; margin-bottom: 30px; }

.hero-img-wrapper {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: var(--sombra-card); border: 4px solid var(--branco);
}

.pain-section { padding: 80px 0; background: var(--branco); }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 50px; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.pain-card {
    background: var(--off-white); padding: 25px; border-radius: 12px;
    display: flex; gap: 15px; border-left: 4px solid var(--vermelho-dor);
}
.pain-icon { color: var(--vermelho-dor); font-size: 1.5rem; }
.pain-text { font-weight: 600; color: #444; }

.transition-section { padding: 80px 0; background: linear-gradient(135deg, #fff5f5 0%, #f0f7ff 100%); text-align: center; }
.transition-box { max-width: 800px; margin: 0 auto; }
.transition-bar { height: 10px; width: 300px; margin: 0 auto 30px auto; background: linear-gradient(90deg, var(--vermelho-dor), var(--azul-principal)); border-radius: 50px; }

.method-section { padding: 80px 0; background: var(--off-white); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
    background: var(--branco); padding: 30px 20px; border-radius: 16px;
    text-align: center; box-shadow: var(--sombra-card); transition: var(--transition);
}
.step-card:hover { transform: translateY(-5px); }
.step-icon {
    width: 60px; height: 60px; background: rgba(62, 193, 211, 0.15);
    color: var(--azul-principal); border-radius: 50%; margin: 0 auto 20px auto;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}

.about-section { padding: 80px 0; background: var(--branco); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* =========================================
   5. DEPOIMENTOS (LADO A LADO - CORRIGIDO)
   ========================================= */
.proof-section { padding: 80px 0; background: var(--off-white); }

.testimonial-card {
    background: var(--branco); 
    padding: 30px; 
    border-radius: 16px;
    box-shadow: var(--sombra-card); 
    display: flex; 
    flex-direction: row; 
    align-items: flex-start; 
    gap: 20px; 
    transition: var(--transition);
}

.testimonial-card:hover { transform: translateY(-5px); }

.quote-icon { 
    position: static !important; /* Fixa o ícone no lugar */
    font-size: 3rem; 
    color: var(--azul-secundario); 
    line-height: 1;
    flex-shrink: 0;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.client-result { 
    margin-top: 0; 
    padding-top: 10px; 
    border-top: 1px solid #eee; 
    color: var(--azul-principal); 
    font-weight: 700; 
    font-size: 0.9rem; 
}

/* =========================================
   6. LOCALIZAÇÃO E FOOTER
   ========================================= */
.location-section { padding: 80px 0; background: var(--branco); border-top: 1px solid #eee; }
.location-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.location-text { flex: 1; max-width: 500px; }
.address-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.address-icon { 
    width: 50px; height: 50px; background: rgba(47, 107, 255, 0.1); 
    color: var(--azul-principal); border-radius: 50%; display: flex; 
    align-items: center; justify-content: center; font-size: 1.5rem; 
}
.location-map { flex: 0 0 550px; height: 400px; border-radius: 20px; overflow: hidden; box-shadow: var(--sombra-card); }

.final-cta-section { padding: 80px 0; background-color: var(--azul-principal); text-align: center; color: white; }
.final-cta-section h2 { color: white; margin-bottom: 20px; }
.final-cta-section .btn-cta { background: white; color: var(--azul-principal); margin-top: 20px; }

footer { background: #111; color: #888; padding: 40px 0; text-align: center; font-size: 0.85rem; }
.footer-legal { margin-top: 20px; padding-top: 20px; border-top: 1px solid #333; }
.footer-legal strong { color: #fff; }

/* =========================================
   7. ESTILOS DA CALCULADORA
   ========================================= */
.calc-section { 
    padding-top: 140px; padding-bottom: 80px; 
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
    min-height: 100vh; display: flex; align-items: center;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }

.calc-form-wrapper {
    background: var(--branco); padding: 40px; border-radius: 16px;
    box-shadow: var(--sombra-card); border: 1px solid #e2e8f0;
}

.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; color: var(--azul-principal); }

.input-group input, .input-group select {
    width: 100%; padding: 14px; border: 2px solid #e2e8f0; border-radius: 8px;
    font-size: 1rem; transition: var(--transition); outline: none;
    font-family: var(--font-main);
}
.input-group input:focus, .input-group select:focus {
    border-color: var(--azul-principal); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.1);
}

.result-box { text-align: center; animation: fadeIn 0.5s ease; }
.result-highlight {
    background: #f0fdf4; border: 2px solid #bbf7d0; 
    border-radius: 12px; padding: 25px; margin-bottom: 25px;
}
.result-highlight strong { font-size: 2.5rem; color: #16a34a; display: block; line-height: 1.1; }
.result-highlight span { color: #15803d; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

.compare-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 1rem; color: #666; }
.compare-row .old-price { text-decoration: line-through; color: var(--vermelho-dor); font-weight: 700; }
.compare-row .saving { color: var(--azul-principal); font-weight: 700; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* =========================================
   8. ANIMAÇÕES (SCROLL)
   ========================================= */
.scroll-element {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transform: translateY(30px);
}
.scroll-element.scrolled { opacity: 1; transform: translateY(0); }
.delayed { transition-delay: 0.2s; }

/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 900px) {
    h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .hero-grid, .about-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-img-wrapper { order: 2; margin-top: 30px; }
    .pain-grid, .steps-grid { grid-template-columns: 1fr; }
    
    .location-wrapper { flex-direction: column; text-align: center; }
    .location-map { width: 100%; flex: none; height: 300px; }
    .address-item { flex-direction: column; justify-content: center; }
    
    .calc-grid { grid-template-columns: 1fr; }
    .calc-form-wrapper { padding: 25px; }
    
    /* Ajuste Mobile Depoimentos */
    .testimonial-card { flex-direction: column; align-items: center; text-align: center; }
}