:root {
    --bg-dark: #071C46;
    --bg-dark-2: #0B2458;
    --bg-soft: #F5F8FD;
    --bg-soft-2: #EAF1FF;
    --white: #FFFFFF;
    --text: #0F172A;
    --text-soft: #475569;
    --text-soft-2: #64748B;
    --border: #DCE6F5;
    --blue: #1E63D5;
    --blue-dark: #154AA6;
    --blue-soft: #DCEBFF;
    --green: #59C13A;
    --green-dark: #3E9E24;
    --green-soft: #E6F8DF;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
    --shadow-strong: 0 30px 80px rgba(2, 6, 23, 0.28);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg-soft);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 28, 70, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    min-height: 84px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    color: #D9E6FF;
    font-weight: 500;
    transition: 0.2s ease;
}

.nav a:hover {
    color: var(--white);
}

.nav-cta {
    padding: 11px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 92px;
    background:
        radial-gradient(circle at top left, rgba(30,99,213,0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(89,193,58,0.16), transparent 22%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.hero-logo {
    height: 88px;
    width: auto;
    display: block;
    margin-bottom: 22px;
}

.logo-strong {
    filter: contrast(1.35) saturate(1.25) brightness(0.96);
}

.hero-badge,
.lead-card-tag,
.tag,
.plan-badge,
.legal-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: #DDE8FA;
    margin-bottom: 20px;
}

.hero-badge-success {
    background: #E8F1FF !important;
    border: 1px solid #BFD6FF !important;
    color: #0F56C7 !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 18px rgba(30, 99, 213, 0.10);
}

.hero h1 {
    font-size: clamp(42px, 5.8vw, 68px);
    line-height: 1.01;
    letter-spacing: -0.045em;
    max-width: 760px;
}

.hero h1 span {
    display: block;
    color: #8AC5FF;
}

.hero p {
    margin-top: 24px;
    max-width: 720px;
    font-size: 18px;
    color: #D6E2F5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-actions.center {
    justify-content: center;
}

/* BOTÕES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: var(--white);
    box-shadow: 0 14px 28px rgba(30, 99, 213, 0.25);
}

.btn-primary:hover {
    filter: brightness(1.03);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.16);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.14);
}

.btn-secondary-dark {
    background: var(--white);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary-dark:hover {
    background: #F1F5F9;
}

.btn-muted {
    background: #EAF1FF;
    color: var(--blue-dark);
}

.btn-muted:hover {
    background: #DCEBFF;
}

.btn-full {
    width: 100%;
}

/* STATS */
.hero-stats {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 760px;
}

.stat-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 22px;
    padding: 20px;
}

.stat-card strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}

.stat-card span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #D5E1F4;
}

/* FORM CARD */
.lead-card {
    background: rgba(255,255,255,0.98);
    color: var(--text);
    padding: 30px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.20);
    box-shadow: var(--shadow-strong);
}

.lead-card-tag {
    margin-bottom: 12px;
    background: var(--green-soft);
    color: var(--green-dark);
}

.lead-card h2 {
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.lead-card p {
    color: var(--text-soft);
    margin-top: 10px;
    font-size: 15px;
}

.form-group {
    margin-top: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 50px;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid #CBD5E1;
    font: inherit;
    color: var(--text);
    background: #FFFFFF;
    outline: none;
    transition: 0.2s ease;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(30, 99, 213, 0.12);
}

.alert {
    margin-top: 16px;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
}

.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* SEÇÕES */
.section-light,
.section-white,
.section-dark-box,
.final-cta,
.thank-you-section {
    padding: 92px 0;
}

.section-white {
    background: var(--white);
}

.section-head {
    max-width: 820px;
    text-align: center;
    margin: 0 auto 52px;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-head p {
    margin-top: 16px;
    color: var(--text-soft);
    font-size: 18px;
}

/* CARDS E GRIDS */
.grid-3,
.grid-2,
.plans,
.pill-grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.plan,
.cta-final-box,
.thank-you-box,
.legal-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #DCEBFF, #E6F8DF);
}

.card h3,
.plan h3 {
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.card p,
.plan p,
.audience-card p {
    margin-top: 14px;
    color: var(--text-soft);
}

.tag {
    margin-bottom: 16px;
    background: #EEF4FF;
    color: #31518F;
}

/* BLOCO ESCURO */
.dark-box {
    background: linear-gradient(180deg, #0B1F4D 0%, #10275F 100%);
    color: var(--white);
    border-radius: 36px;
    padding: 48px;
    box-shadow: var(--shadow-strong);
}

.dark-box h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.dark-box p {
    margin-top: 16px;
    max-width: 800px;
    color: #D6E2F5;
}

.pill-grid {
    margin-top: 34px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pill {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #EAF2FF;
}

/* PLANOS */
.plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan.highlight {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(30,99,213,0.10), var(--shadow);
}

.plan-badge {
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: var(--white);
}

.price {
    margin-top: 10px;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.plan ul {
    list-style: none;
    margin-top: 22px;
}

.plan li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-soft);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-top: 8px;
    background: var(--green);
    flex-shrink: 0;
}

.plan .btn {
    width: 100%;
    margin-top: 18px;
}

/* CTA FINAL */
.final-cta {
    background: linear-gradient(180deg, #EAF1FF 0%, #F5F8FD 100%);
}

.cta-final-box,
.thank-you-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-final-box h2,
.thank-you-box h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.cta-final-box p,
.thank-you-box p {
    margin: 18px auto 0;
    max-width: 720px;
    color: var(--text-soft);
    font-size: 18px;
}

/* PÁGINAS LEGAIS */
.legal-page {
    padding-top: 72px;
    padding-bottom: 92px;
}

.legal-box {
    max-width: 960px;
    margin: 0 auto;
}

.legal-badge {
    background: rgba(30, 99, 213, 0.08);
    border: 1px solid rgba(30, 99, 213, 0.18);
    color: #0F56C7;
    margin-bottom: 18px;
}

.legal-box h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.legal-updated {
    margin-top: 12px;
    color: var(--text-soft-2);
    font-size: 15px;
}

.legal-content {
    margin-top: 36px;
}

.legal-content h2 {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.legal-content ul {
    margin: 8px 0 18px 22px;
}

.legal-content li {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* FOOTER */
.footer {
    background: #071C46;
    color: #D9E6FF;
    padding-top: 42px;
    margin-top: 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 28px;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 420px;
    flex: 1 1 auto;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
}

.footer-logo {
    display: block;
    width: auto;
    height: 56px;
    max-width: 100%;
    object-fit: contain;
}

.footer-inner p {
    max-width: 420px;
    color: #A8BCDF;
    font-size: 16px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    padding-top: 6px;
}

.footer-links a {
    color: #D9E6FF;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    padding: 18px 24px 36px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #9DB2D7;
    font-size: 14px;
}

/* RESPONSIVO */
@media (max-width: 1080px) {
    .hero-grid,
    .grid-3,
    .grid-2,
    .plans,
    .pill-grid,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .brand-logo {
        height: 46px;
    }
}

@media (max-width: 768px) {
    .section-light,
    .section-white,
    .section-dark-box,
    .final-cta,
    .thank-you-section {
        padding: 72px 0;
    }

    .legal-page {
        padding-top: 44px;
        padding-bottom: 72px;
    }

    .dark-box,
    .card,
    .plan,
    .lead-card,
    .cta-final-box,
    .thank-you-box,
    .legal-box {
        padding: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 18px;
        padding-top: 0;
    }

    .topbar-inner {
        min-height: 72px;
    }

    .hero {
        padding: 72px 0 74px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .brand-logo {
        height: 42px;
    }

    .hero-logo {
        height: 64px;
    }

    .footer-logo {
        height: 48px;
    }

    .footer-inner p,
    .legal-content p,
    .legal-content li {
        font-size: 15px;
    }

    .legal-box h1 {
        font-size: 34px;
    }

    .legal-content h2 {
        font-size: 22px;
    }
}