/* Consignado PAN — folha de estilo única (sem Tailwind, sem utilitários) */

:root {
    --brand: #0484ad;        /* ciano legível para texto sobre branco */
    --brand-dark: #036f92;
    --brand-deep: #056d9b;
    --brand-2: #00c5ff;      /* ciano oficial (pixel do logotipo) */
    --brand-soft: #eaf9ff;
    --cyan-ink: #062533;     /* texto sobre ciano */
    --ink: #0d1b2a;
    --sub: #5a6b7d;
    --line: #dbe3ea;
    --line-soft: #eef3f7;
    --surface: #ffffff;
    --page: #f4f7fa;
    --radius: 16px;
    --radius-lg: 18px;
    --ring: rgba(0, 197, 255, 0.22);
    --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.05);
    --shadow-md: 0 2px 6px rgba(13, 27, 42, 0.05), 0 18px 40px -22px rgba(13, 27, 42, 0.28);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background: var(--page);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

button { font: inherit; cursor: pointer; }

/* ---------- faixa superior ---------- */

.topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    height: 76px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.topbar-inner {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-marca { display: flex; align-items: center; }

.topbar-icone {
    width: 46px;
    height: 46px;
    border-radius: 13px;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.82rem;
    color: var(--sub);
}

.topbar-nav span { white-space: nowrap; }

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0478ac 0%, #0690cd 46%, #07a5e8 100%);
    color: #fff;
    padding: 44px 20px 96px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -220px;
    left: 50%;
    width: 620px;
    height: 620px;
    margin-left: -310px;
    background: radial-gradient(circle, rgba(0, 197, 255, 0.5), rgba(0, 197, 255, 0.12) 45%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #eaf7ff;
}

.hero h1 {
    margin: 18px 0 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.22;
}

.hero h1 em { font-style: normal; color: var(--cyan-ink); }

.hero .lead {
    margin: 14px auto 0;
    max-width: 34rem;
    font-size: 0.94rem;
    line-height: 1.62;
    color: #eaf7ff;
}

.hero-chips {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: #f2fbff;
    font-size: 0.86rem;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.chip:hover { background: rgba(255, 255, 255, 0.26); border-color: rgba(255, 255, 255, 0.55); }
.chip.is-on { background: #fff; color: var(--brand-dark); border-color: #fff; }

.chip .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan-ink);
}

/* ---------- conteúdo ---------- */

.page {
    max-width: 44rem;
    margin: -64px auto 0;
    padding: 0 20px calc(48px + env(safe-area-inset-bottom));
    position: relative;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow-md);
}

.card + .card { margin-top: 20px; }

.step {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}

.card-title {
    margin: 8px 0 0;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.card-lead {
    margin: 8px 0 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--sub);
}

/* ---------- vínculos (3 em 1) ---------- */

.vinc-list { margin-top: 18px; display: grid; gap: 10px; }

.vinc {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 58px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.vinc:hover { border-color: #bcd6e9; }

.vinc-mark {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 1.5px solid #b9c7d3;
    border-radius: 50%;
    position: relative;
    transition: border-color 0.15s ease;
}

.vinc-mark::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.vinc-body b { font-size: 0.95rem; font-weight: 700; }

.vinc[aria-checked="true"] {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: 0 0 0 3px var(--ring);
}

.vinc[aria-checked="true"] .vinc-mark { border-color: var(--brand); }
.vinc[aria-checked="true"] .vinc-mark::after { opacity: 1; }

/* ---------- card CTA ---------- */

.card-cta {
    background: linear-gradient(180deg, #ffffff, #f7fbfe);
    border-color: #cfe3f2;
}

.cta-hook {
    margin: 14px 0 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.cta-hook b {
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}

.cta-hook small {
    display: block;
    margin-top: 8px;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--sub);
}

/* ---------- botões ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.05s ease;
}

.btn-primary { width: 100%; margin-top: 18px; background: var(--brand-2); color: #062533; }
.btn-primary:hover { background: #33d2ff; }
.btn-primary:active { transform: translateY(1px); }

.cta-photo {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.cta-aviso {
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
}

.cta-note {
    margin: 12px 0 0;
    font-size: 0.74rem;
    color: var(--sub);
    text-align: center;
}

.hint { margin: 7px 0 0; font-size: 0.72rem; color: #8898a6; }

/* ---------- blocos informativos ---------- */

.grid { margin-top: 20px; display: grid; gap: 12px; }

.info {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.info .ico {
    width: 22px;
    height: 22px;
    color: var(--brand);
}

.info b { display: block; margin-top: 12px; font-size: 0.9rem; }

.info p { margin: 6px 0 0; font-size: 0.8rem; line-height: 1.55; color: var(--sub); }

.rates { margin-top: 18px; display: grid; gap: 14px; }

.rate .rate-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.84rem;
}

.rate .rate-top b { font-variant-numeric: tabular-nums; font-weight: 800; }

.rate .bar {
    margin-top: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--line-soft);
    overflow: hidden;
}

.rate .bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #c3d3e0;
}

.rate.is-best .bar i { background: var(--brand); }
.rate.is-best .rate-top b { color: var(--brand); }

.steps-list { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: p; }

.steps-list li {
    counter-increment: p;
    position: relative;
    padding-left: 40px;
    margin-top: 14px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--sub);
}

.steps-list li b { display: block; color: var(--ink); font-size: 0.9rem; }

.steps-list li::before {
    content: counter(p);
    position: absolute;
    left: 0;
    top: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.only { display: none; }
.only.on { display: block; }

/* ---------- rodapé ---------- */

.foot {
    max-width: 44rem;
    margin: 34px auto 0;
    padding: 0 20px calc(28px + env(safe-area-inset-bottom));
    text-align: center;
}

.foot .brand {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ink);
}

.foot p {
    margin: 10px 0 0;
    font-size: 0.72rem;
    line-height: 1.6;
    color: #8898a6;
}

/* ---------- responsivo ---------- */

@media (min-width: 560px) {
    .grid { grid-template-columns: 1fr 1fr; }
    .cta-hook { font-size: 1.7rem; }
}

@media (max-width: 420px) {
    .hero { padding: 34px 18px 88px; }
    .hero h1 { font-size: 1.5rem; }
    .hero .lead { font-size: 0.88rem; }
    .page { padding: 0 16px calc(44px + env(safe-area-inset-bottom)); }
    .card { padding: 22px 18px; }
    .cta-hook { font-size: 1.32rem; }
    .topbar-nav { display: none; }
}
