/* Parceiros Futura — visual "entardecer"
   Anil profundo do céu noturno, âmbar do sol do logo. Tema claro e escuro por tokens. */

@font-face {
    font-family: Roboto;
    src: url("../fonts/roboto-variable.woff2") format("woff2-variations"), url("../fonts/roboto-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Marca (iguais nos dois temas) */
    --abismo: #071629;
    --anil: #0d2a50;
    --anil-2: #17407a;
    --horizonte: #f2b33d;
    --horizonte-2: #f7c968;
    --horizonte-ink: #3a2705;
    --gelo: #a9ddf2;

    /* Tema claro */
    color-scheme: light;
    --bg: #f3f5f9;
    --surface: #ffffff;
    --surface-2: #f7f9fc;
    --line: #dde3ec;
    --line-soft: #edf1f6;
    --text: #0b1f3a;
    --text-soft: #56677f;
    --link: #17407a;
    --hover: #e9eef5;
    --input-bg: #ffffff;
    --input-line: #c9d3e0;
    --chip-bg: #e6edf7;
    --chip-fg: #17407a;
    --primary-bg: #0d2a50;
    --primary-hover: #17407a;
    --primary-fg: #ffffff;
    --good-bg: #e3f3e8; --good-fg: #1a6a3c;
    --warn-bg: #fcefd2; --warn-fg: #7a5208;
    --danger-bg: #fbe6e9; --danger-fg: #9a2937;
    --sidebar: #071629;
    --shadow: 0 1px 2px #0b1f3a0a, 0 8px 24px #0b1f3a0d;

    --serif: Roboto, "Segoe UI", system-ui, sans-serif;
    --sans: Roboto, "Segoe UI", system-ui, sans-serif;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;

    font-family: var(--sans);
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #06101d;
    --surface: #0b1a2d;
    --surface-2: #0f2137;
    --line: #1b3050;
    --line-soft: #152843;
    --text: #e9eff8;
    --text-soft: #94a7c0;
    --link: #9fd3ff;
    --hover: #12284a;
    --input-bg: #081627;
    --input-line: #2a4268;
    --chip-bg: #14305a;
    --chip-fg: #a9ddf2;
    --primary-bg: #f2b33d;
    --primary-hover: #f7c968;
    --primary-fg: #2a1c03;
    --good-bg: #0f3320; --good-fg: #7fdba3;
    --warn-bg: #3a2b0b; --warn-fg: #f5c96d;
    --danger-bg: #3d1720; --danger-fg: #ff9fac;
    --sidebar: #040b16;
    --shadow: 0 1px 2px #0005, 0 10px 30px #0006;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; line-height: 1.55; transition: background-color .25s, color .25s; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; }
strong { font-weight: 750; }
[hidden] { display: none !important; }
img, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--horizonte); outline-offset: 3px; border-radius: 4px; }
svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }
[data-icon] { display: inline-flex; flex: none; align-items: center; justify-content: center; }
.muted { color: var(--text-soft); }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.display, .stage h1, .login-panel h2, .lines-heading h2, .tier-heading h2, .welcome h1, .page-heading h1 {
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: -.03em;
}

/* ---------- Controles ---------- */
.text-button {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: 0; border: 0; background: none;
    color: var(--link); font-weight: 700; font-size: .875rem;
    text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
    transition: text-decoration-color .15s;
}
.text-button:hover { text-decoration-color: currentColor; }
.icon-button {
    display: inline-grid; place-items: center; flex: none;
    width: 2.6rem; height: 2.6rem; padding: 0;
    border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-soft);
}
.icon-button:hover { background: var(--hover); color: var(--text); }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 52px; padding: .75rem 1.35rem;
    border: 1px solid transparent; border-radius: var(--r-md);
    font-weight: 750; font-size: .97rem; text-align: center;
    transition: background-color .15s, border-color .15s, transform .15s;
}
.button:active { transform: translateY(1px); }
.button.primary { background: var(--primary-bg); color: var(--primary-fg); }
.button.primary:hover { background: var(--primary-hover); }
.button.gold { background: var(--horizonte); color: var(--horizonte-ink); }
.button.gold:hover { background: var(--horizonte-2); }
.button.outline { background: var(--surface); border-color: var(--input-line); color: var(--text); }
.button.outline:hover { border-color: var(--link); }
.full { width: 100%; }

.theme-toggle {
    display: inline-grid; place-items: center; flex: none;
    width: 2.6rem; height: 2.6rem; padding: 0;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text);
    transition: background-color .15s, border-color .15s;
}
.theme-toggle:hover { border-color: var(--link); }
.theme-toggle .when-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .when-dark { display: inline-flex; }
:root[data-theme="dark"] .theme-toggle .when-light { display: none; }

label { font-size: .875rem; font-weight: 700; color: var(--text); }
input, select {
    width: 100%; min-height: 52px; padding: .7rem .9rem;
    border: 1px solid var(--input-line); border-radius: var(--r-sm);
    background: var(--input-bg); color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 22%, transparent); }
input::placeholder { color: color-mix(in srgb, var(--text-soft) 80%, transparent); }
input[type="file"] { padding: .6rem .65rem; }
.input-icon {
    display: flex; align-items: center; gap: .7rem;
    min-height: 54px; margin-top: .45rem; padding: 0 .4rem 0 .95rem;
    border: 1px solid var(--input-line); border-radius: var(--r-sm); background: var(--input-bg); color: var(--text-soft);
    transition: border-color .15s, box-shadow .15s;
}
.input-icon:focus-within { border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 22%, transparent); color: var(--link); }
.input-icon input { flex: 1; min-width: 0; min-height: 0; padding: .6rem 0; border: 0; box-shadow: none !important; background: transparent; }
.input-icon .icon-button { width: 2.4rem; height: 2.4rem; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-top: 1.15rem; }
.error-message { margin-top: .6rem; color: var(--danger-fg); font-size: .875rem; }
.validation-summary-valid { display: none; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: .9rem; color: #fff; }
.brand-logo { display: block; width: clamp(108px, 12vw, 134px); height: auto; }
.brand-caption {
    padding-left: .9rem; border-left: 1px solid #ffffff38;
    font-size: .78rem; font-weight: 650; line-height: 1.25; color: #c9d6e8;
}

/* ---------- Vídeo de fundo ---------- */
.bg-video {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: 60% 55%;
}

/* ================= LOGIN ================= */
.login-page { background: var(--abismo); }
.login-split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(420px, 1fr);
    min-height: 100svh;
}

.stage {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    padding: clamp(24px, 3.2vw, 48px) clamp(24px, 4.5vw, 80px);
    color: #fff; background: var(--abismo);
}
.stage::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, #071629f0 0%, #071629a0 34%, #07162926 62%, #071629e6 100%),
        linear-gradient(90deg, #071629d9 0%, #07162900 72%);
}
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.stage-links { display: flex; align-items: center; gap: .4rem; }
.stage-link {
    display: inline-flex; align-items: center; gap: .5rem;
    min-height: 42px; padding: .5rem .9rem;
    border: 1px solid transparent; border-radius: 999px; background: none;
    color: #dbe5f2; font-size: .9rem; font-weight: 650;
    transition: background-color .15s, border-color .15s;
}
.stage-link:hover { background: #ffffff12; border-color: #ffffff26; }
.stage-link svg { width: 1.1rem; height: 1.1rem; color: var(--horizonte); }
.stage .theme-toggle { background: #ffffff10; border-color: #ffffff2a; color: #fff; }
.stage .theme-toggle svg { color: var(--horizonte); }

.stage-copy { margin-top: clamp(48px, 10vh, 120px); max-width: 14.5em; font-size: clamp(2.6rem, 4.7vw, 5rem); }
.stage-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.stage-copy > :nth-child(2) { animation-delay: .08s; }
.stage-copy > :nth-child(3) { animation-delay: .16s; }
.stage-kicker {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: 1.5rem;
    font-size: .95rem; font-weight: 700; color: var(--horizonte-2);
}
.stage-kicker::before { content: ""; width: 36px; height: 2px; border-radius: 2px; background: currentColor; }
.stage h1 { font-size: 1em; line-height: 1.04; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.stage-lead { margin-top: 1.6rem; max-width: 31rem; font-size: 1.1rem; line-height: 1.6; color: #d2ddeb; }
.stage-features {
    position: relative; z-index: 1;
    display: flex; flex-wrap: wrap; gap: .6rem;
    margin: auto 0 0; padding: 2.5rem 0 0; list-style: none;
}
.stage-features li {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .55rem .95rem; border-radius: 999px;
    border: 1px solid #ffffff22; background: #0716298c; backdrop-filter: blur(8px);
    font-size: .9rem; font-weight: 650; color: #eef3fa;
}
.stage-features svg { width: 1.15rem; height: 1.15rem; color: var(--horizonte); }
.stage-mascot {
    position: absolute; z-index: 0; right: -2%; bottom: -3%;
    width: clamp(220px, 28%, 400px); height: auto;
    filter: drop-shadow(0 24px 40px #020a17b0);
    animation: rise 1.1s .25s cubic-bezier(.2, .7, .2, 1) both;
}

.login-panel {
    display: flex; flex-direction: column;
    padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px) 24px;
    background: var(--bg);
    transition: background-color .25s;
}
.login-inner { width: min(100%, 420px); margin: auto; padding-block: 24px; }
.panel-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 700; color: var(--link); }
.panel-kicker svg { width: 1rem; height: 1rem; }
.login-panel h2 { margin-top: .9rem; font-size: clamp(2.3rem, 3.2vw, 3rem); line-height: 1.02; }
.login-intro { margin: .75rem 0 1.9rem; }
.login-notice { margin: -.6rem 0 1.4rem; }
#login-form .button { margin-top: 1.6rem; }
#login-form .button svg { width: 1.1rem; height: 1.1rem; }
.signup-box {
    display: grid; gap: 1rem;
    margin-top: 2rem; padding: 1.25rem 1.3rem;
    border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
}
.signup-box strong { display: block; font-size: 1rem; }
.signup-box p { margin-top: .15rem; font-size: .88rem; }
.demo-link {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    width: 100%; margin-top: 1.2rem; padding: .6rem; border: 0; background: none;
    color: var(--text-soft); font-size: .9rem; font-weight: 650;
}
.demo-link:hover { color: var(--link); }
.demo-link svg { width: 1rem; height: 1rem; }
.panel-footer {
    display: flex; justify-content: space-between; gap: 1rem;
    padding-top: 1rem; border-top: 1px solid var(--line);
    font-size: .8rem; color: var(--text-soft);
}

/* Faixa inferior: linhas de produto + níveis */
.showcase-band {
    padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 80px);
    background: radial-gradient(ellipse 60% 40% at 50% 0%, #17407a55, transparent 70%), var(--abismo);
    color: #fff;
}
.lines { max-width: 1440px; margin: 0 auto clamp(72px, 10vw, 128px); }
.lines-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; }
.lines-heading h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.02; }
.lines-heading p { max-width: 34rem; color: #b9c8db; font-size: 1.05rem; }
.lines-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(32px, 4vw, 48px); }
.line-tile {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: clamp(360px, 34vw, 480px); padding: clamp(22px, 2.6vw, 36px);
    border: 1px solid #ffffff1a; border-radius: var(--r-lg);
}
.line-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.line-tile:hover .line-photo { transform: scale(1.04); }
.line-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #07162900 20%, #071629cc 62%, #071629f5 100%); }
.line-anim { position: absolute; top: clamp(14px, 2vw, 28px); right: clamp(14px, 2vw, 28px); width: clamp(150px, 15vw, 210px); height: auto; padding: 10px; border-radius: var(--r-md); background: #0716299e; border: 1px solid #ffffff1f; backdrop-filter: blur(10px); }
.line-tile h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 2.8vw, 2.5rem); letter-spacing: -.02em; }
.line-tile p { margin-top: .5rem; max-width: 28rem; color: #d2ddeb; }
.line-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.line-tags li { padding: .3rem .7rem; border-radius: 999px; background: #ffffff14; border: 1px solid #ffffff1f; font-size: .8rem; font-weight: 650; color: #e7eef8; }
.lines-note { margin-top: .9rem; font-size: .8rem; color: #7f93ad; }

/* Como se tornar parceiro */
.join {
    display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 72px); align-items: stretch;
    max-width: 1440px; margin: 0 auto clamp(72px, 10vw, 128px);
    scroll-margin-top: 24px;
}
.join-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); border: 1px solid #ffffff1a; min-height: 420px; }
.join-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.join-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, #07162999); }
.join-body { display: grid; align-content: center; gap: 1.6rem; }
.join-body h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.02; }
.join-lead { max-width: 40rem; color: #c3d0e1; font-size: 1.08rem; margin-top: -.6rem; }
.join-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
.join-steps li { counter-increment: passo; display: grid; gap: .25rem; padding: 1.1rem 1.15rem; border-radius: var(--r-md); background: #ffffff08; border: 1px solid #ffffff17; }
.join-steps li::before { content: counter(passo); display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .5rem; border-radius: 50%; background: var(--horizonte); color: var(--horizonte-ink); font-weight: 800; font-size: .95rem; }
.join-steps strong { font-size: 1rem; color: #fff; }
.join-steps span { font-size: .88rem; color: #a9bbd1; }
.join-docs { padding: clamp(18px, 2vw, 26px); border-radius: var(--r-lg); background: #f4f6f9; color: var(--abismo); }
.join-docs h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.join-docs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.5rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.join-docs li { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid #dde3ec; font-weight: 600; font-size: .95rem; }
.join-docs li:last-child { border-bottom: 0; }
.join-docs li > span { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #23804a; color: #fff; }
.join-docs li svg { width: 1.15rem; height: 1.15rem; }
.join-email {
    display: inline-flex; align-items: center; gap: .9rem; justify-self: start;
    padding: .8rem 1.4rem .8rem .9rem; border-radius: 999px;
    background: var(--horizonte); color: var(--horizonte-ink);
    font-weight: 800; font-size: clamp(.95rem, 1.4vw, 1.15rem); overflow-wrap: anywhere;
    transition: background-color .15s;
}
.join-email:hover { background: var(--horizonte-2); }
.join-email > span:first-child { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--abismo); color: var(--horizonte); }
.join-email small { display: block; font-size: .78rem; font-weight: 600; opacity: .8; }
@media (max-width: 1100px) {
    .join { grid-template-columns: 1fr; }
    .join-photo { min-height: 0; aspect-ratio: 16 / 10; }
    .join-photo img { object-position: 50% 25%; }
}
@media (max-width: 700px) {
    .join-steps, .join-docs ul { grid-template-columns: 1fr; }
    .join-photo { aspect-ratio: 4 / 5; }
    .join-email { padding-right: 1rem; }
}

/* ================= NÍVEIS ================= */
.tier-bronze { --tier: #d99a66; }
.tier-prata { --tier: #c7d3df; }
.tier-ouro { --tier: var(--horizonte); }
.tier-diamante { --tier: var(--gelo); }

.tier-section { scroll-margin-top: 24px; }
.public-tiers { max-width: 1440px; margin-inline: auto; }
.public-tiers .tier-heading { text-align: center; max-width: 40rem; margin-inline: auto; }
.public-tiers .tier-heading h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.02; }
.public-tiers .tier-heading p { margin-top: 1rem; color: #b9c8db; font-size: 1.05rem; }

.tier-ladder {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end;
    gap: clamp(8px, 1.2vw, 18px);
    margin: 0; padding: 0; list-style: none;
}
.public-tiers .tier-ladder { margin-top: clamp(40px, 6vw, 64px); }
.tier-step {
    position: relative; display: grid; align-content: start; gap: .3rem;
    min-height: calc(160px + var(--step) * 36px);
    padding: 1.4rem 1.3rem 1.3rem;
    border-top: 3px solid var(--tier);
    border-radius: 0 0 var(--r-md) var(--r-md);
    background: linear-gradient(180deg, color-mix(in srgb, var(--tier) 18%, transparent), #ffffff05 70%);
}
.tier-icon { width: 3rem; height: 3rem; margin-bottom: .7rem; border-radius: 50%; color: var(--tier); background: color-mix(in srgb, var(--tier) 14%, transparent); border: 1px solid color-mix(in srgb, var(--tier) 45%, transparent); }
.tier-icon svg { width: 1.4rem; height: 1.4rem; }
.tier-step h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.tier-step p { font-size: .9rem; color: #c3d0e1; }
.tier-step small { margin-top: auto; padding-top: .9rem; font-size: .8rem; font-weight: 700; color: var(--tier); }

.tier-matrix-scroll { margin-top: clamp(28px, 4vw, 44px); overflow-x: auto; border: 1px solid #ffffff1f; border-radius: var(--r-lg); }
.tier-matrix { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .92rem; }
.tier-matrix th, .tier-matrix td { padding: 1rem; border-bottom: 1px solid #ffffff14; }
.tier-matrix tbody tr:last-child > * { border-bottom: 0; }
.tier-matrix thead th { font-size: .82rem; font-weight: 750; color: #9fb2c9; text-align: center; background: #ffffff06; }
.tier-matrix thead th:not(:first-child) { color: var(--tier); }
.tier-matrix thead th:first-child, .tier-matrix tbody th { text-align: left; }
.tier-matrix tbody th { font-weight: 650; color: #e7eef8; }
.tier-matrix tbody th .benefit-icon { display: inline-flex; vertical-align: -3px; margin-right: .75rem; color: #7f98b6; }
.tier-matrix .benefit-icon svg { width: 1.05rem; height: 1.05rem; }
.tier-matrix td { width: 13%; text-align: center; }
.tier-matrix .mark { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; }
.tier-matrix .included .mark { color: var(--abismo); background: var(--tier); }
.tier-matrix .included .mark svg { width: .95rem; height: .95rem; stroke-width: 2.6; }
.tier-matrix .excluded .mark { color: #ffffff30; }
.tier-matrix tbody tr:hover > * { background: #ffffff05; }

.compact-tiers {
    margin-top: 24px; padding: clamp(22px, 2.6vw, 34px);
    border-radius: var(--r-lg);
    background: radial-gradient(ellipse 70% 80% at 100% 0%, #17407a80, transparent 70%), var(--abismo);
    border: 1px solid transparent;
    color: #fff;
}
:root[data-theme="dark"] .compact-tiers { border-color: var(--line); }
.compact-tiers .tier-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.compact-tiers .tier-heading h2 { font-size: 2rem; }
.compact-tiers .tier-heading p { font-size: .88rem; color: #a9bbd1; }
.compact-tiers .tier-step { min-height: calc(120px + var(--step) * 18px); padding: 1.1rem; }
.compact-tiers .tier-icon { width: 2.5rem; height: 2.5rem; margin-bottom: .4rem; }
.compact-tiers .tier-icon svg { width: 1.2rem; height: 1.2rem; }
.compact-tiers .tier-step h3 { font-size: 1.55rem; }

/* ================= PÁGINAS DE ESTADO / CONFIRMAÇÃO ================= */
.access-page {
    position: relative; isolation: isolate;
    min-height: 100svh; display: flex; flex-direction: column;
    background: var(--abismo);
}
.access-page::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, #071629e8, #071629b0 50%, #071629f2), url("../images/cobertura-futura.jpg") center 60% / cover no-repeat;
}
.access-header { display: flex; align-items: center; min-height: 88px; }
.wrap { width: min(1440px, calc(100% - 48px)); margin-inline: auto; }
.confirmation-wrap { flex: 1; display: grid; place-items: center; padding-block: 24px 64px; }
.access-card {
    display: grid; gap: .9rem;
    width: min(100%, 520px);
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--r-lg); background: var(--bg); color: var(--text);
    box-shadow: 0 30px 80px #02091599;
}
.access-icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; color: var(--chip-fg); background: var(--chip-bg); }
.access-icon svg { width: 1.5rem; height: 1.5rem; }
.access-card h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }
.access-card .button { justify-self: start; margin-top: .4rem; }
.confirmation-details { display: grid; gap: .8rem; margin: .4rem 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.confirmation-card .form-stack { gap: .55rem; }
.confirmation-card .form-stack label { margin-top: .4rem; }

/* ================= LOGIN SOCIAL / 2FA / SEGURANÇA ================= */
.login-divider { display: flex; align-items: center; gap: .9rem; margin: 1.4rem 0 1rem; color: var(--text-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-button { gap: .75rem; }
.google-mark {
    display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: #fff; color: #1a3d78; border: 1px solid #dadce0; font-weight: 800; font-size: .9rem; line-height: 1;
}
.code-input { font-size: 1.35rem; font-weight: 700; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.code-input::placeholder { letter-spacing: .3em; }
.inline-row .code-input { font-size: 1rem; letter-spacing: .12em; text-align: left; }
.inline-row .code-input::placeholder { letter-spacing: normal; }
.small-print { font-size: .85rem; }

.security-header { justify-content: space-between; gap: 1rem; }
.security-wrap { flex: 1; padding-block: 8px 64px; }
.security-intro { color: #fff; margin-bottom: 1.4rem; }
.security-intro h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; }
.security-intro p { margin-top: .4rem; color: #b9c8db; }
.security-wrap > .notice { max-width: 960px; margin: 0 0 1.2rem; }
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.security-card { width: 100%; align-content: start; }
.security-card-heading { display: flex; align-items: center; gap: 1rem; }
.security-card-heading h2 { font-size: 1.4rem; letter-spacing: -.015em; }
.security-card-heading .google-mark { width: 1.9rem; height: 1.9rem; font-size: 1.05rem; }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; padding: .2rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.status-pill svg { width: .9rem; height: .9rem; }
.setup-steps { display: grid; gap: .45rem; margin: 0; padding-left: 1.2rem; color: var(--text-soft); font-size: .92rem; }
.qr-box { display: grid; justify-items: center; gap: .8rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-align: center; }
.qr-box img { width: 220px; height: 220px; border-radius: 8px; background: #fff; padding: 8px; image-rendering: pixelated; }
.qr-box figcaption { font-size: .85rem; color: var(--text-soft); }
.qr-box code, .recovery-codes code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 700; color: var(--text); letter-spacing: .06em; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 1rem 1.1rem 1rem 2.2rem; border: 1px dashed var(--input-line); border-radius: var(--r-md); background: var(--surface); }
.inline-form { margin-top: .4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.inline-row { display: flex; gap: .6rem; }
.inline-row input { flex: 1; min-width: 0; }
.inline-row .button { margin-top: 0; flex: none; }
.danger-outline { color: var(--danger-fg); }
.danger-outline:hover { border-color: var(--danger-fg); }
@media (max-width: 560px) {
    .inline-row { flex-direction: column; }
    .recovery-codes { grid-template-columns: 1fr; }
    .security-header .button { min-height: 44px; padding: .5rem .9rem; }
}

/* Política de privacidade */
.legal-wrap { flex: 1; display: grid; justify-items: center; padding-block: 8px 64px; }
.legal { width: min(100%, 860px); gap: .75rem; line-height: 1.65; }
.legal h2 { margin-top: 1.1rem; font-size: 1.25rem; letter-spacing: -.01em; }
.legal ul { display: grid; gap: .45rem; margin: 0; padding-left: 1.2rem; }
.legal code { font-size: .85em; }

/* ================= PORTAL ================= */
.portal { min-height: 100svh; display: grid; grid-template-columns: 264px minmax(0, 1fr); background: var(--bg); }

.sidebar {
    position: sticky; top: 0; height: 100svh;
    display: flex; flex-direction: column;
    padding: 28px 16px 20px;
    background: var(--sidebar); color: #c9d6e8;
    border-right: 1px solid transparent;
}
:root[data-theme="dark"] .sidebar { border-right-color: var(--line-soft); }
.sidebar .brand { margin: 0 8px 38px; }
.sidebar .brand-logo { width: 96px; }
.sidebar .brand-caption { font-size: .72rem; padding-left: .75rem; }
.navigation { display: grid; gap: 3px; }
.navigation a {
    position: relative; display: flex; align-items: center; gap: .85rem;
    min-height: 48px; padding: .55rem .9rem;
    border-radius: var(--r-sm);
    font-size: .95rem; font-weight: 650; color: #b5c5da;
    transition: background-color .15s, color .15s;
}
.navigation a svg { width: 1.3rem; height: 1.3rem; color: #7891b0; transition: color .15s; }
.navigation a:hover { background: #ffffff0d; color: #fff; }
.navigation a[aria-current] { background: #ffffff12; color: #fff; }
.navigation a[aria-current] svg { color: var(--horizonte); }
.navigation a[aria-current]::before {
    content: ""; position: absolute; left: -16px; top: 10px; bottom: 10px;
    width: 3px; border-radius: 0 3px 3px 0; background: var(--horizonte);
}
.sidebar-foot { margin-top: auto; display: grid; gap: .5rem; }
.logout {
    display: flex; align-items: center; gap: .7rem; width: 100%;
    min-height: 46px; padding: .55rem .9rem;
    border: 1px solid #ffffff1a; border-radius: var(--r-sm); background: none;
    font-size: .9rem; font-weight: 650; color: #b5c5da;
}
.logout:hover { color: #fff; border-color: #ffffff38; }
.logout svg { width: 1.1rem; height: 1.1rem; }

.portal-header {
    position: sticky; top: 0; z-index: 4;
    display: flex; align-items: center; gap: .9rem;
    min-height: 74px; padding: .6rem clamp(16px, 2.6vw, 44px);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px);
}
.portal-label { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; font-size: 1rem; }
.demo-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .32rem .75rem; border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--horizonte) 55%, transparent); background: var(--warn-bg);
    font-size: .76rem; font-weight: 750; color: var(--warn-fg); white-space: nowrap;
}
.demo-badge svg { width: .95rem; height: .95rem; }
.profile { display: flex; align-items: center; gap: .65rem; padding: .25rem .6rem .25rem .25rem; border-radius: 999px; font-size: .9rem; }
.profile:hover { background: var(--hover); }
.profile > span:last-child { min-width: 0; max-width: 190px; }
.profile strong, .profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile small { color: var(--text-soft); font-size: .78rem; }
.avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--anil); color: var(--horizonte-2); font-weight: 750; font-size: .88rem; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px color-mix(in srgb, var(--horizonte) 60%, transparent); }
.menu-button { display: none; }

.portal-content { width: 100%; padding: 28px clamp(16px, 2.6vw, 44px) 56px; }
.page { scroll-margin-top: 100vh; }

/* Boas-vindas com vídeo */
.welcome {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center;
    min-height: clamp(240px, 22vw, 320px); padding: clamp(26px, 3.6vw, 56px);
    border-radius: var(--r-lg); color: #fff; background: var(--abismo);
}
.welcome::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, #071629f5 0%, #071629c4 42%, #07162933 100%);
}
.welcome .bg-video { object-position: 50% 62%; }
.welcome-copy { max-width: min(40rem, 64%); }
.welcome-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700; color: var(--horizonte-2); }
.welcome-kicker svg { width: 1.05rem; height: 1.05rem; }
.welcome h1 { margin-top: .6rem; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1.02; overflow-wrap: anywhere; }
.welcome-lead { margin-top: 1rem; font-size: 1.08rem; color: #d2ddeb; max-width: 34rem; }
.welcome-lead strong { color: #fff; white-space: nowrap; }
.welcome-mascot { position: absolute; right: 3%; bottom: -16%; width: clamp(170px, 20%, 300px); height: auto; filter: drop-shadow(0 18px 30px #020a17aa); }

/* Indicadores */
.metrics {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 24px;
    border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden;
    box-shadow: var(--shadow);
}
.metric {
    display: flex; align-items: center; gap: 1.1rem;
    padding: clamp(1.2rem, 1.8vw, 1.8rem); min-width: 0;
    border-left: 1px solid var(--line);
    transition: background-color .15s;
}
.metric:first-child { border-left: 0; }
.metric:hover { background: var(--surface-2); }
.metric-icon {
    display: inline-grid; place-items: center; flex: none;
    width: clamp(3.2rem, 4vw, 4rem); height: clamp(3.2rem, 4vw, 4rem);
    border-radius: 16px; color: var(--chip-fg); background: var(--chip-bg);
}
.metric-icon svg { width: 46%; height: 46%; stroke-width: 1.8; }
.metric:nth-child(2) .metric-icon { color: var(--warn-fg); background: var(--warn-bg); }
.metric:nth-child(3) .metric-icon { color: var(--good-fg); background: var(--good-bg); }
.metric:nth-child(4) .metric-icon { color: var(--danger-fg); background: var(--danger-bg); }
.metric > div { min-width: 0; }
.metric .muted { display: block; font-size: .86rem; font-weight: 650; }
.metric strong {
    display: block; margin-top: .2rem;
    font-family: var(--serif); font-weight: 700; letter-spacing: -.02em;
    font-size: clamp(1.4rem, 2.1vw, 2.15rem); line-height: 1.1;
    font-variant-numeric: lining-nums tabular-nums;
}

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.card { min-width: 0; padding: clamp(18px, 2vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.card-heading h2 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -.015em; }
.filter { display: inline-flex; align-items: center; gap: .6rem; font-weight: 650; color: var(--text-soft); }
.filter select { width: auto; min-height: 42px; padding: .35rem 2rem .35rem .75rem; }

/* Campanhas ilustrativas */
.campaigns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.campaign {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem;
    min-height: 240px; padding: clamp(22px, 2.4vw, 32px);
    border-radius: var(--r-lg); color: #fff; background: var(--abismo);
}
.campaign .line-photo { z-index: -2; }
.campaign::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #071629f2 0%, #071629bb 55%, #07162955 100%); }
.campaign:hover .line-photo { transform: scale(1.04); }
.campaign-tag { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: #ffffff18; border: 1px solid #ffffff24; font-size: .76rem; font-weight: 700; color: var(--horizonte-2); }
.campaign h3 { margin-top: .8rem; font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 2.3vw, 2.2rem); letter-spacing: -.02em; line-height: 1.05; }
.campaign p { margin-top: .5rem; max-width: 30rem; color: #d2ddeb; font-size: .95rem; }
.campaign-anim { width: clamp(130px, 12vw, 180px); height: auto; padding: 8px; border-radius: var(--r-md); background: #0716299e; border: 1px solid #ffffff1f; backdrop-filter: blur(10px); }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 8px 0 26px; }
.page-heading h1 { font-size: clamp(2.3rem, 3.6vw, 3.2rem); line-height: 1.04; }
.page-heading p { margin-top: .6rem; }
.account-card { max-width: 680px; display: grid; gap: 1.2rem; justify-items: start; }

/* Tabelas */
.table-scroll { overflow-x: auto; margin: 1rem calc(clamp(18px, 2vw, 28px) * -1) 0; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; }
th, td { padding: .95rem clamp(18px, 2vw, 28px); text-align: left; border-bottom: 1px solid var(--line-soft); }
.table-scroll th { padding-block: .65rem; font-size: .8rem; font-weight: 750; color: var(--text-soft); background: var(--surface-2); border-block: 1px solid var(--line-soft); white-space: nowrap; }
.table-scroll td:first-child { font-weight: 750; white-space: nowrap; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tbody tr:hover td { background: var(--surface-2); }

/* Situação */
.status {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .28rem .7rem; border-radius: 999px;
    font-size: .8rem; font-weight: 750; white-space: nowrap;
    color: var(--chip-fg); background: var(--chip-bg);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status:empty { display: none; }
.good { color: var(--good-fg); background: var(--good-bg); }
.warn { color: var(--warn-fg); background: var(--warn-bg); }
.danger { color: var(--danger-fg); background: var(--danger-bg); }

.notice { margin-top: .9rem; padding: 1rem 1.05rem; border-radius: var(--r-md); border-left: 3px solid currentColor; font-size: .92rem; }
.notice strong { color: var(--text); }
.notice p { margin-top: .3rem; color: var(--text); }
.notice .text-button { margin-top: .6rem; color: inherit; }
.empty { padding: 1.2rem 0 .4rem; color: var(--text-soft); }

.record-list { margin: .6rem 0 0; padding: 0; list-style: none; }
.record { display: flex; align-items: flex-start; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); }
.record:last-child { border-bottom: 0; }
.record-icon { display: inline-grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border-radius: 12px; color: var(--chip-fg); background: var(--chip-bg); }
.record-icon svg { width: 1.3rem; height: 1.3rem; }
.record-details { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.record-details small { display: block; margin-top: .15rem; font-size: .86rem; color: var(--text-soft); }
.record-details p { margin-top: .4rem; font-size: .9rem; }

dl { display: grid; gap: 1rem; margin: 0; }
dt { font-size: .82rem; font-weight: 650; color: var(--text-soft); }
dd { margin: .15rem 0 0; font-weight: 700; }

/* Diálogos e avisos */
.dialog {
    width: min(500px, calc(100% - 28px)); max-height: calc(100% - 28px);
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--bg); color: var(--text);
    box-shadow: 0 40px 100px #02091580;
}
.dialog[open] { animation: dialog-in .22s cubic-bezier(.2, .7, .2, 1); }
.dialog::backdrop { background: #071629b8; backdrop-filter: blur(4px); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.dialog-title { font-family: var(--serif); font-weight: 700; font-size: 1.95rem; line-height: 1.05; letter-spacing: -.02em; }
.dialog > p { margin: .7rem 0 .4rem; }
.form-stack { display: grid; gap: .9rem; margin-top: 1rem; }
.form-stack label { display: grid; gap: .4rem; }
.form-stack .button { margin-top: .3rem; }
.toast {
    position: fixed; z-index: 10; right: 20px; bottom: 20px; max-width: calc(100% - 40px);
    padding: .95rem 1.15rem; border-radius: var(--r-md);
    border-left: 3px solid var(--horizonte);
    background: var(--abismo); color: #fff; font-weight: 650; font-size: .92rem;
    box-shadow: 0 20px 50px #0716294d;
    animation: dialog-in .25s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Movimento ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (min-width: 1700px) {
    .dashboard-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
@media (max-width: 1180px) {
    .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metric:nth-child(3) { border-left: 0; }
    .metric:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .dashboard-grid, .campaigns { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .login-split { grid-template-columns: 1fr; }
    .stage { min-height: 620px; }
    .stage-copy { margin-top: 64px; max-width: 12em; font-size: clamp(2.4rem, 7.4vw, 3.8rem); }
    .stage-mascot { width: clamp(180px, 36%, 300px); }
    .login-inner { padding-block: 16px 32px; }
    .lines-heading { grid-template-columns: 1fr; }
    .lines-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .portal { grid-template-columns: minmax(0, 1fr); }
    .menu-button { display: inline-grid; }
    .sidebar {
        display: none; position: fixed; z-index: 6; top: 74px; bottom: 0; left: 0;
        width: min(290px, 86vw); height: auto; overflow: auto;
        box-shadow: 20px 0 60px #07162966;
    }
    .sidebar.open { display: flex; }
    .sidebar .brand { display: none; }
    .tier-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
    .tier-step, .compact-tiers .tier-step { min-height: 0; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 32px); }
    .stage { min-height: 560px; padding: 20px; }
    .stage-link-label { display: none; }
    .stage-link { width: 42px; padding: 0; justify-content: center; border-color: #ffffff26; }
    .stage-copy { margin-top: 44px; max-width: 9.5em; font-size: clamp(2.2rem, 10vw, 2.9rem); }
    .stage-lead { font-size: .98rem; max-width: 64%; }
    .stage-kicker { font-size: .82rem; margin-bottom: 1rem; }
    .stage-kicker::before { width: 22px; }
    .stage-features { flex-direction: column; align-items: flex-start; gap: .45rem; }
    .stage-features li { padding: .4rem .75rem; font-size: .84rem; }
    .stage-mascot { width: 44%; right: -6%; bottom: -2%; }
    .login-panel { padding: 32px 20px 20px; }
    .panel-footer { flex-direction: column; gap: .2rem; }
    .brand { gap: .7rem; }
    .brand-caption { padding-left: .7rem; font-size: .7rem; }

    .showcase-band { padding: 56px 16px; }
    .line-tile { min-height: 380px; }
    .line-anim { width: 130px; }
    .tier-step { padding: 1rem; }
    .tier-matrix th, .tier-matrix td { padding: .8rem .6rem; }
    .tier-matrix tbody th { padding-left: 1rem; }

    .portal-header { gap: .4rem; padding-inline: 10px; }
    .portal-label { font-size: .9rem; }
    .header-bell, .profile > span:last-child { display: none; }
    .demo-badge { font-size: .7rem; padding: .25rem .55rem; }
    .portal-content { padding-top: 16px; }
    .welcome { min-height: 220px; padding: 24px 20px; align-items: flex-start; }
    .welcome-copy { max-width: 72%; }
    .welcome h1 { font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
    .welcome-lead { font-size: .92rem; }
    .welcome-mascot { width: 42%; right: -8%; bottom: -10%; }
    .metric { flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1rem; }
    .metric-icon { width: 3rem; height: 3rem; border-radius: 13px; }
    .metric strong { font-size: 1.3rem; overflow-wrap: anywhere; }
    .campaign { grid-template-columns: 1fr; }
    .campaign-anim { position: absolute; top: 16px; right: 16px; width: 110px; }
    .campaign > div { padding-top: 90px; }
    .page-heading .button { width: 100%; }
    .table-scroll td { white-space: nowrap; }
    .record { flex-wrap: wrap; }
    .record-details { min-width: 60%; }
    .dialog-title { font-size: 1.7rem; }
}
@media (max-width: 380px) {
    .tier-ladder { grid-template-columns: 1fr; }
    .brand-caption { display: none; }
    .metric .muted { font-size: .78rem; }
}

/* No escuro o botão principal já é âmbar: o de cadastro vira contorno */
:root[data-theme="dark"] .button.gold { background: transparent; color: var(--horizonte-2); border-color: color-mix(in srgb, var(--horizonte) 55%, transparent); }
:root[data-theme="dark"] .button.gold:hover { background: #f2b33d14; }

/* Preenchimento automático do navegador: mantém o fundo e a cor do tema */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    caret-color: var(--text);
    box-shadow: 0 0 0 1000px var(--input-bg) inset !important;
    transition: background-color 99999s ease-out 0s;
}
.input-icon input:-webkit-autofill,
.input-icon input:-webkit-autofill:hover,
.input-icon input:-webkit-autofill:focus {
    box-shadow: 0 0 0 1000px var(--input-bg) inset !important;
}
