/* ================================================================
   1. RESET, FONTES E VARIÁVEIS GLOBAIS
=================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

:root {
    --brand-dark: #0A1D37;      
    --brand-solar: #FFC93C;     
    --brand-solar-hover: #E5B32F;
    --bg-light: #F8FAFC;        
    --white: #FFFFFF;           
    --text-main: #1E293B;
    --text-muted: #64748B;
    --success: #10B981;         
    --radius-lg: 12px;
    --radius-md: 6px;
    --shadow-subtle: 0 4px 12px rgba(10, 29, 55, 0.03);
    --shadow-premium: 0 10px 30px rgba(10, 29, 55, 0.06);
    --transition: all 0.2s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.5;
    font-size: 15px;
}

.container {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
}
.section-title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: var(--brand-dark);
    font-weight: 700;
    margin-bottom: 6px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ================================================================
   2. BOTÕES DE CONVERSÃO INTERNOS
=================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 50px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary {
    background-color: var(--brand-solar);
    color: var(--brand-dark);
}
.btn-primary:hover {
    background-color: var(--brand-solar-hover);
}
.btn-advance {
    background-color: var(--success);
    color: var(--white);
    margin-top: 12px;
}
.btn-advance:hover {
    background-color: #059669;
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--brand-dark);
    color: var(--brand-dark);
}
.btn-outline:hover {
    background-color: var(--brand-dark);
    color: var(--white);
}

/* ================================================================
   3. TOPO / HEADER
=================================================================== */
.header {
    background-color: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid rgba(10, 29, 55, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    height: 38px;
    width: auto;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}
.badge-local {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    white-space: nowrap;
}
.btn-menu-destaque {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--success);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 20px;
    height: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    transition: var(--transition);
}
.btn-menu-destaque:hover {
    background-color: #059669;
    transform: translateY(-1px);
}

/* ================================================================
   4. DOBRA PRINCIPAL, SIMULADOR & CALCULADORA INTEGRADA
=================================================================== */
.hero {
    padding: 24px 0;
}
.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.crea-tag-destaque {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--success);
    background-color: rgba(16, 185, 129, 0.08);
    padding: 6px 12px;
    border-radius: 30px;
    margin-bottom: 14px;
}
.main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    color: var(--brand-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}
.hero-content .subtitle {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 20px;
}
.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-feat-item { font-size: 14px; }

/* Bloco Termômetro Solar */
.simulator-wrapper {
    width: 100%;
}
.simulator-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(10, 29, 55, 0.08);
    box-shadow: var(--shadow-premium);
}
.sim-header {
    text-align: center;
    margin-bottom: 16px;
}
.simulator-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: var(--brand-dark);
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.currency-symbol {
    position: absolute;
    left: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-dark);
}
.input-huge {
    width: 100%;
    height: 54px;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding-left: 48px;
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-dark);
    outline: none;
    background-color: var(--bg-light);
}

.lead-qualification-fields {
    margin-top: 16px;
    border-top: 1px solid #E2E8F0;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}
.form-group-sub label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}
.input-sub {
    width: 100%;
    height: 42px;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-md);
    padding: 0 12px;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
}
.input-sub:focus { border-color: var(--brand-dark); }

.range-box {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px dashed #CBD5E1;
    text-align: center;
}
.range-text-highlight {
    font-size: 16px;
    font-weight: 500;
    color: var(--brand-dark);
    line-height: 1.4;
}
.range-text-highlight strong {
    color: var(--success);
    font-size: 20px;
}
.microtext {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* Bloco da Calculadora de Payback */
.payback-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(10, 29, 55, 0.08);
    box-shadow: var(--shadow-subtle);
    margin-top: 24px;
}
.payback-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--brand-dark);
    margin-bottom: 14px;
    font-weight: 700;
    text-align: left;
}
.payback-layout-horizontal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.payback-inputs-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.form-group-payback label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}
.input-payback {
    width: 100%;
    height: 40px;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-md);
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    background-color: var(--bg-light);
    color: var(--brand-dark);
}
.btn-payback-calc {
    height: 40px;
    font-size: 12px;
    margin-top: 4px;
}
.payback-results-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.payback-result {
    background-color: rgba(16, 185, 129, 0.06);
    border-left: 4px solid var(--success);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.4;
}

/* CLASSE DE TEXTO DO SEU QUESTIONAMENTO (AVISOS GERAIS) */
.scenarios-disclaimer {
    text-align: center;
    font-size: 12px; /* Base mobile legível */
    color: var(--text-muted);
    font-style: italic;
    margin-top: 14px;
}
.payback-box .scenarios-disclaimer {
    text-align: left;
    margin-top: 0;
}

/* ================================================================
   5. BARRA DE CONFIANÇA
=================================================================== */
.trust-bar {
    background-color: var(--bg-light);
    padding: 20px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}
.trust-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.trust-text strong { display: block; font-size: 14px; color: var(--brand-dark); }
.trust-text span { display: block; font-size: 12px; color: var(--text-muted); }

/* ================================================================
   6. SEÇÃO COMO FUNCIONA
=================================================================== */
.how-it-works { padding: 40px 0; }
.steps-grid { display: flex; flex-direction: column; gap: 12px; }
.step-card { background-color: var(--bg-light); padding: 16px 20px; border-radius: var(--radius-md); display: flex; align-items: flex-start; gap: 16px; border-left: 4px solid var(--brand-dark); }
.step-number { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 700; color: var(--brand-dark); line-height: 1.1; min-width: 35px; }
.step-content { flex: 1; }
.step-card h3 { font-size: 16px; margin-bottom: 3px; color: var(--brand-dark); }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ================================================================
   7. POR QUE NOSSOS PROJETOS SÃO DIFERENTES
=================================================================== */
.competence-section { padding: 40px 0; background-color: var(--bg-light); }
.competence-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.competence-card { background-color: var(--white); padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-subtle); border-top: 4px solid var(--brand-dark); }
.competence-card h3 { font-size: 16px; color: var(--brand-dark); margin-bottom: 8px; font-weight: 700; }
.competence-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }

/* ================================================================
   8. SEÇÃO CENÁRIOS REAIS
=================================================================== */
.scenarios-section { padding: 40px 0; }
.scenarios-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.scenario-card { background-color: var(--bg-light); padding: 20px; border-radius: var(--radius-lg); border: 1px solid rgba(10, 29, 55, 0.06); }
.scenario-card h3 { font-size: 16px; color: var(--brand-dark); margin-bottom: 10px; font-weight: 700; }
.scenario-details p { font-size: 14px; margin-bottom: 6px; }
.scenario-details .savings-text { font-weight: 600; }
.scenario-details .highlight { color: var(--success); font-weight: 700; }

/* ================================================================
   9. QUEM VAI ANALISAR SEU PROJETO
=================================================================== */
.author-section { padding: 40px 0; background-color: var(--white); }
.author-grid { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.author-image { width: 100%; max-width: 240px; }
.author-img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-premium); }
.author-content { width: 100%; text-align: left; }
.author-label { display: inline-block; font-size: 11px; font-weight: 700; color: var(--success); background-color: rgba(16, 185, 129, 0.08); padding: 4px 10px; border-radius: 20px; margin-bottom: 8px; text-transform: uppercase;}
.author-content h2 { font-family: 'Poppins', sans-serif; font-size: 22px; color: var(--brand-dark); margin-bottom: 12px; }
.author-content p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.signature { font-weight: 700; color: var(--brand-dark); margin-top: 16px; font-size: 14px; }

/* ================================================================
   10. ANTES DE INVESTIR
=================================================================== */
.safety-section { padding: 40px 0; background-color: var(--bg-light); }
.safety-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.safety-card { background-color: var(--white); padding: 16px; border-radius: var(--radius-md); font-size: 13.5px; color: var(--text-main); display: flex; gap: 10px; align-items: center; border-left: 4px solid var(--success); }
.safety-card span { color: var(--success); font-weight: 700; }

/* ================================================================
   11. PORTFÓLIO ORGANIZADO
=================================================================== */
.portfolio-section { padding: 40px 0; }
.portfolio-grid { display: flex; flex-direction: column; gap: 20px; max-width: 700px; margin: 0 auto; }
.portfolio-item { background-color: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(10, 29, 55, 0.05); box-shadow: var(--shadow-subtle); }
.portfolio-img-container { width: 100%; height: 200px; }
.portfolio-img-container img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-info { padding: 16px; text-align: left; }
.port-tag { font-size: 14px; font-weight: 700; color: var(--brand-dark); margin-bottom: 6px; display: inline-block; }
.portfolio-info p { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }

/* ================================================================
   12. FAQ
=================================================================== */
.faq-section { padding: 40px 0; background-color: var(--bg-light); }
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 760px; margin: 0 auto; }
.faq-item { background-color: var(--white); padding: 14px 18px; border-radius: var(--radius-md); border: 1px solid rgba(10, 29, 55, 0.04); }
.faq-item h3 { font-size: 15px; color: var(--brand-dark); margin-bottom: 6px; font-weight: 700; }
.faq-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }

/* ================================================================
   13. BLOCO DE MICRO-CONFIANÇA
=================================================================== */
.micro-trust-section {
    padding: 40px 0;
    background-color: var(--white);
    border-top: 1px solid #E2E8F0;
}
.micro-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}
.micro-trust-item {
    background-color: var(--bg-light);
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.micro-trust-item span {
    color: var(--success);
    font-weight: 700;
    font-size: 16px;
}

/* ================================================================
   14. CHAMADA FINAL E RODAPÉ
=================================================================== */
.cta-final { padding: 45px 0; background: linear-gradient(135deg, var(--brand-dark) 0%, #132E54 100%); color: var(--white); text-align: center; }
.cta-container h2 { font-size: 24px; margin-bottom: 10px; font-family: 'Poppins', sans-serif; font-weight: 700; }
.cta-container p { font-size: 14.5px; margin-bottom: 24px; opacity: 0.9; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-container .btn-primary { max-width: 340px; margin: 0 auto; }

.main-footer { padding: 16px 0; background-color: #050E1B; text-align: center; }
.footer-text { font-size: 12px; color: #94A3B8; }

/* ================================================================
   15. MEDIA QUERIES (OTIMIZAÇÃO COMPLETA DESKTOP)
=================================================================== */
@media (min-width: 992px) {
    .section-title h2 { font-size: 28px; }
    .hero { padding: 40px 0; }
    
    .hero-grid { 
        display: grid; 
        grid-template-columns: 1.1fr 0.9fr; 
        gap: 40px; 
        align-items: flex-start; 
    }
    
    .main-title { 
        font-size: 30px; 
        line-height: 1.25;
        max-width: 95%;
    }
    
    .crea-tag-destaque {
        font-size: 18px;
    }

    .payback-layout-horizontal {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 24px;
        align-items: center;
    }

    /* ALTERAÇÃO DIRETINHA NO PC: Fonte aumentada para 14px */
    .scenarios-disclaimer {
        font-size: 14px; 
    }

    .trust-container { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    
    .steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
    .step-card { border-left: none; border-top: 4px solid var(--brand-dark); flex-direction: column; align-items: flex-start; padding: 14px; min-height: 160px; }
    .step-number { margin-bottom: 6px; }

    .competence-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .scenarios-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    
    .author-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; }
    .safety-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1020px; }
    .micro-trust-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
}