﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'Proxima Nova';
    src: url('https://http2.mlstatic.com/ui/webfonts/v3.0.0/proxima-nova/proximanova-regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Proxima Nova';
    src: url('https://http2.mlstatic.com/ui/webfonts/v3.0.0/proxima-nova/proximanova-semibold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Proxima Nova';
    src: url('https://http2.mlstatic.com/ui/webfonts/v3.0.0/proxima-nova/proximanova-bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}

:root {
    --brand: #820AD1;
    --brand-hover: #6A0DAD;
    --brand-light: rgba(130,10,209,.08);
    --brand-soft: rgba(130,10,209,.04);

    --bg: #F5F3F0;
    --white: #FFFFFF;
    --text-primary: #111111;
    --text-secondary: #6B6B6B;
    --text-muted: #9B9B9B;
    --border: #EDEDED;
    --border-light: #F5F5F5;

    --radius-card: 16px;
    --radius-input: 26px;
    --radius-btn: 30px;

    --shadow-card: 0 2px 8px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.04);
    --shadow-hover: 0 4px 16px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
    --shadow-btn: 0 4px 14px rgba(130,10,209,.20);

    --ease: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Proxima Nova', 'Montserrat', -apple-system, 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    font-size: 16px;
    font-weight: 400;
}

#splash-screen {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--brand);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    transition: opacity .5s ease;
}
#splash-screen.fade-out { opacity: 0; pointer-events: none; }
#splash-logo { width: 96px; height: auto; filter: brightness(0) invert(1); animation: pulse 2.2s ease-in-out infinite; }
#splash-screen .splash-tag { color: rgba(255,255,255,.7); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.03); opacity: .82; } }

.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 500;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1120px; margin: 0 auto; padding: 14px 24px;
}
.logo-lockup { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 22px; width: auto; display: block; }
.logo-pill {
    font-size: .6rem; font-weight: 700; color: var(--brand);
    background: var(--brand-light); border-radius: 999px;
    padding: 4px 12px; letter-spacing: .04em;
}

.hero {
    padding: 116px 0 80px;
    background: var(--bg);
}
.hero-container {
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
    display: flex; flex-direction: column; align-items: center;
}
.hero-content { max-width: 500px; width: 100%; }
.hero-eyebrow {
    display: inline-block; font-size: .7rem; font-weight: 700;
    color: var(--brand); text-transform: uppercase;
    letter-spacing: 1.6px; margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700;
    line-height: 1.12; letter-spacing: -.025em; margin-bottom: 16px;
}
.hero-title-soft { color: var(--brand); }
.hero-sub {
    font-size: 1rem; color: var(--text-secondary);
    line-height: 1.6; margin-bottom: 32px;
}

.consult-card {
    background: var(--white); border-radius: var(--radius-card);
    padding: 36px 32px; max-width: 500px; width: 100%;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}
.consult-card-label {
    font-size: .88rem; font-weight: 600; color: var(--text-primary);
    margin-bottom: 14px;
}
.cpf-input {
    width: 100%; padding: 16px 20px;
    background: #F9F9F9; border: 1.5px solid transparent;
    border-radius: var(--radius-input); font-family: inherit;
    font-size: 1.05rem; font-weight: 600; color: var(--text-primary);
    letter-spacing: .02em; outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.cpf-input::placeholder { color: #C0C0C0; font-weight: 500; }
.cpf-input:focus { border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px rgba(130,10,209,.08); }
.cpf-input.invalid { border-color: #E53935; }
.cpf-error { font-size: .78rem; color: #E53935; margin-top: 8px; display: none; }
.cpf-error.show { display: block; }

.btn-primary {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 16px 28px; background: var(--brand); color: var(--white);
    border-radius: var(--radius-btn); font-family: inherit; font-size: .96rem; font-weight: 600;
    border: none; cursor: pointer; margin-top: 16px;
    transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-primary:hover { background: var(--brand-hover); box-shadow: var(--shadow-btn); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.btn-primary svg { transition: transform .25s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.consult-foot {
    font-size: .76rem; color: var(--text-muted); margin-top: 16px;
    line-height: 1.5;
}

.result-card {
    display: none; background: #F2FBF6; border-radius: var(--radius-card);
    padding: 32px 28px; margin-top: 20px; text-align: center;
    max-width: 500px; width: 100%; box-shadow: var(--shadow-card);
    border: 1px solid rgba(14,98,69,.08);
}
.result-card.show { display: block; animation: fadeUp .3s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.result-badge {
    font-size: .78rem; font-weight: 700; color: #0E6245;
    margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.result-title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.result-sub { font-size: .88rem; color: var(--text-secondary); margin-bottom: 22px; line-height: 1.55; }
.result-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand); color: var(--white); padding: 14px 32px;
    border-radius: var(--radius-btn); font-family: inherit; font-size: .94rem; font-weight: 600;
    text-decoration: none; transition: background .15s, box-shadow .15s, transform .15s;
}
.result-cta:hover { background: var(--brand-hover); color: var(--white); text-decoration: none; box-shadow: var(--shadow-btn); transform: translateY(-1px); }

.trust-section { padding: 88px 0; background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-card {
    background: var(--bg); border-radius: var(--radius-card);
    padding: 32px 28px; border: 1px solid var(--border-light);
    transition: transform .2s ease, box-shadow .2s ease;
}
.trust-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.trust-num {
    width: 40px; height: 40px; background: var(--brand); color: var(--white);
    font-size: .95rem; font-weight: 700; border-radius: var(--radius-card);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.trust-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.trust-card p { font-size: .9rem; color: var(--text-secondary); line-height: 1.55; }

.footer {
    background: #111; padding: 56px 24px 40px; font-size: .82rem;
}
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-badge {
    display: flex; align-items: flex-start; gap: 16px;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-card); padding: 22px 24px; margin-bottom: 32px;
}
.footer-badge svg { flex-shrink: 0; color: rgba(255,255,255,.4); margin-top: 2px; }
.footer-badge p { color: rgba(255,255,255,.6); font-size: .85rem; line-height: 1.6; }
.footer-badge strong { color: rgba(255,255,255,.85); font-weight: 600; }
.footer-logo-img { height: 20px; width: auto; margin-bottom: 16px; display: block; filter: brightness(0) invert(1); }
.footer-legal { font-size: .7rem; color: rgba(255,255,255,.28); line-height: 1.6; max-width: 780px; margin-bottom: 18px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.06); margin: 26px 0; }
.footer-copy { font-size: .68rem; color: rgba(255,255,255,.18); }

@media (max-width: 768px) {
    .hero { padding: 88px 0 52px; }
    .hero-container { padding: 0 16px; }
    .hero-title { font-size: 1.45rem; }
    .hero-sub { font-size: .92rem; }
    .consult-card { padding: 26px 20px; max-width: 100%; }
    .result-card { max-width: 100%; padding: 24px 20px; }
    .trust-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .trust-section { padding: 60px 0; }
    .header-inner { padding: 12px 16px; }
    .footer { padding: 36px 16px 28px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.32rem; }
    .cpf-input { font-size: .98rem; padding: 14px 18px; }
    .btn-primary { padding: 14px 22px; font-size: .92rem; }
    .result-title { font-size: 1.05rem; }
}
