:root {
    --blue-900: #00468C;
    --blue-600: #0290D4;
    --blue-200: #7FA5BA;
    --gray-100: #EAEAEA;
    --ink: #0B1F33;
    --muted: #5D6C7B;
    --white: #FFFFFF;
    --surface: #F7FAFC;
    --line: rgba(0, 70, 140, .14);
    --shadow: 0 24px 70px rgba(0, 70, 140, .18);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --font-title: 'Syne', system-ui, sans-serif;
    --font-body: 'Roboto', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    background: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.section { padding: 96px 0; position: relative; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-600);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 3px;
    background: var(--blue-600);
    border-radius: 999px;
}
h1, h2, h3 {
    font-family: var(--font-title);
    line-height: 1.05;
    margin: 0;
    color: var(--ink);
}
h1 { font-size: clamp(2.55rem, 5vw, 5.3rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; }
h3 { font-size: 1.25rem; letter-spacing: -.025em; }
p { margin: 0; color: var(--muted); }

.site-header {
    width: min(1180px, calc(100% - 24px));
    position: fixed;
    z-index: 50;
    left: 50%;
    top: 14px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 12px 20px;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(0, 70, 140, .13);
}
.brand img { max-height: 42px; width: auto; }
.main-nav { display: flex; gap: 8px; align-items: center; }
.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 800;
    font-size: .94rem;
}
.main-nav a:hover { background: rgba(2,144,212,.08); color: var(--blue-900); }
.main-nav .nav-cta { background: var(--blue-900); color: var(--white); }
.main-nav .nav-cta:hover { background: var(--blue-600); color: var(--white); }

.hero {
    min-height: 760px;
    padding-top: 150px;
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(circle at top right, rgba(2,144,212,.35), transparent 35%), linear-gradient(135deg, var(--blue-900), #032f5c 62%, #041b32);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/bg-sistema-imagem.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: min(760px, 80vw);
    opacity: .15;
    mix-blend-mode: screen;
}
.hero::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: 110px;
    border-radius: 50%;
    background: rgba(127,165,186,.2);
    filter: blur(12px);
}
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 420px;
    gap: 54px;
    align-items: center;
}
.hero h1, .hero h2 { color: var(--white); }
.hero .eyebrow { color: #BFEAFF; }
.hero .eyebrow::before { background: #BFEAFF; }
.hero-lead {
    margin-top: 24px;
    font-size: 1.22rem;
    color: rgba(255,255,255,.82);
    max-width: 720px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 16px 34px rgba(2,144,212,.32); }
.btn-primary:hover { background: #0AA2EA; }
.btn-secondary { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.28); }
.btn-secondary:hover { background: rgba(255,255,255,.18); }
.btn-light { background: var(--white); color: var(--blue-900); }
.btn-small {
    border: 0;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--blue-900);
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
    min-height: 48px;
}
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}
.trust-strip span {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.08);
    font-size: .9rem;
    font-weight: 700;
}
.hero-card {
    background: rgba(255,255,255,.94);
    color: var(--ink);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.7);
}
.card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 18px;
}
.hero-card p { margin-top: 12px; }
.hero-card ul { padding: 0; margin: 22px 0; list-style: none; }
.hero-card li {
    display: flex;
    gap: 10px;
    margin: 11px 0;
    color: var(--muted);
    font-weight: 700;
}
.hero-card li::before { content: '•'; color: var(--blue-600); font-size: 1.4rem; line-height: .8; }
.card-link { color: var(--blue-900); font-weight: 900; }

.section-title { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-title h2 { margin-top: 12px; }
.section-title p { margin: 16px auto 0; max-width: 690px; }
.cards-3, .doc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.info-card, .doc-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 20px 45px rgba(0,70,140,.08);
}
.info-card p, .doc-card p { margin-top: 12px; }
.mini-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(2,144,212,.1);
    color: var(--blue-900);
    font-weight: 900;
    margin-bottom: 20px;
}
.steps { background: var(--white); }
.split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: center;
}
.split h2 { margin-top: 12px; }
.split p { margin-top: 16px; }
.timeline {
    background: linear-gradient(135deg, #F8FBFD, #EEF7FC);
    padding: 28px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
}
.timeline-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px;
    background: var(--white);
    border-radius: 18px;
    margin-bottom: 12px;
    border: 1px solid rgba(0,70,140,.08);
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item strong {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-900);
    color: var(--white);
}
.timeline-item span { font-weight: 800; color: var(--ink); }
.docs { background: linear-gradient(180deg, var(--surface), #fff); }
.doc-card { min-height: 180px; }

.form-section {
    background: radial-gradient(circle at left top, rgba(2,144,212,.16), transparent 36%), #F7FAFC;
}
.form-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 44px;
    align-items: start;
}
.form-intro { position: sticky; top: 118px; }
.form-intro h2 { margin-top: 12px; }
.form-intro p { margin-top: 18px; }
.notice-box {
    margin-top: 24px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
}
.lead-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.form-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 26px;
}
.form-progress span {
    padding: 12px;
    text-align: center;
    border-radius: 999px;
    background: #EEF4F8;
    color: var(--muted);
    font-weight: 900;
    font-size: .9rem;
}
.form-progress span.active { background: var(--blue-900); color: var(--white); }
fieldset { border: 0; padding: 0; margin: 0; }
legend {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.45rem;
    margin-bottom: 20px;
    color: var(--ink);
}
.form-step { display: none; }
.form-step.active { display: block; }
label {
    display: block;
    color: var(--ink);
    font-weight: 900;
    margin-bottom: 16px;
}
input, select, textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid rgba(0,70,140,.18);
    border-radius: 14px;
    padding: 13px 14px;
    background: #FAFCFE;
    color: var(--ink);
    outline: 0;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(2,144,212,.12);
    background: #fff;
}
small { display: block; margin-top: 6px; color: var(--muted); font-weight: 500; }
.inline-field { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-actions-row { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.lead-form .btn-secondary { color: var(--blue-900); border-color: var(--line); background: #EEF7FC; }
.check-label {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    font-weight: 700;
    color: var(--muted);
}
.check-label input { width: auto; margin-top: 4px; }
.form-message {
    display: none;
    padding: 14px;
    margin-top: 18px;
    border-radius: 14px;
    font-weight: 800;
}
.form-message.error { display: block; background: #FFF0F0; color: #B32929; }
.form-message.success { display: block; background: #EEF9F0; color: #177A35; }

.faq { background: var(--white); }
.faq-list { max-width: 900px; margin: 0 auto; }
details {
    background: #F8FBFD;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 22px;
    margin-bottom: 12px;
}
summary {
    cursor: pointer;
    font-weight: 900;
    font-family: var(--font-title);
    font-size: 1.08rem;
}
details p { margin-top: 12px; }
.cta-final {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
    color: var(--white);
    overflow: hidden;
}
.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}
.cta-box h2, .cta-box p { color: var(--white); }
.cta-box p { opacity: .82; margin-top: 12px; }
.cta-box .eyebrow { color: #CFEFFF; }
.cta-box .eyebrow::before { background: #CFEFFF; }

.site-footer {
    background: #061A2E;
    color: var(--white);
    padding: 42px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 28px;
    align-items: center;
}
.footer-grid p { color: rgba(255,255,255,.74); }
.footer-grid a { color: #BFEAFF; font-weight: 900; }
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    box-shadow: 0 16px 40px rgba(37,211,102,.38);
    font-size: 1.6rem;
    font-weight: 900;
}

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .main-nav a:not(.nav-cta) { display: none; }
    .hero-grid, .form-grid, .split { grid-template-columns: 1fr; }
    .hero { padding-top: 126px; min-height: auto; }
    .hero-card { max-width: 520px; }
    .cards-3, .doc-grid { grid-template-columns: 1fr; }
    .form-intro { position: static; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .section { padding: 70px 0; }
    .site-header { padding: 10px 10px 10px 14px; }
    .brand img { max-width: 158px; }
    .nav-cta { padding: 9px 12px !important; font-size: .85rem !important; }
    .hero-actions, .form-actions-row, .cta-box { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .lead-form { padding: 22px; border-radius: 22px; }
    .form-progress { grid-template-columns: 1fr; }
    .inline-field, .form-row { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.65rem; }
    .hero-card { padding: 24px; }
    .cta-box { display: grid; }
}
