/* Backup Automático MEGA — página de divulgação
   Mesma paleta do programa */

:root {
    --bg: #0E1117;
    --surface: #161B26;
    --surface-2: #1D2331;
    --surface-3: #262D3D;
    --border: #2A3142;
    --text: #E6E9EF;
    --muted: #8A93A6;
    --faint: #5C6477;
    --accent: #5B8CFF;
    --accent-hover: #7AA2FF;
    --success: #3DD68C;
    --warning: #F5A524;
    --whats: #1F8A5B;
    --whats-hover: #27A56D;
    --radius: 14px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.accent { color: var(--accent); }

/* ── Botões ─────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent); color: #fff; font-weight: 700;
    padding: 12px 22px; border-radius: 10px; border: 0;
    transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--big { font-size: 1.1rem; padding: 16px 30px; border-radius: 12px; box-shadow: 0 10px 30px -10px rgba(91, 140, 255, .7); }
.btn--small { padding: 8px 16px; font-size: .9rem; }
.btn--disabled { background: var(--surface-3); color: var(--muted); box-shadow: none; cursor: default; }
.btn--disabled:hover { background: var(--surface-3); color: var(--muted); transform: none; }
.btn--whats { background: var(--whats); }
.btn--whats:hover { background: var(--whats-hover); }

.link-arrow { color: var(--muted); font-weight: 600; }
.link-arrow:hover { color: var(--text); }

/* ── Navegação ──────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(14, 17, 23, .85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { color: var(--text); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: .95rem; }
.nav__links a:hover { color: var(--text); }

/* ── Destaque ───────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    padding: 72px 0 56px; text-align: center;
}
.hero::before {
    content: ""; position: absolute; inset: auto 0 -10% 0; height: 70%;
    background: radial-gradient(60% 60% at 50% 60%, rgba(91, 140, 255, .28), transparent 70%);
    pointer-events: none;
}
.hero__inner { position: relative; }
.eyebrow {
    display: inline-block; margin: 0 0 18px;
    padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px;
    background: var(--surface); color: var(--muted); font-size: .85rem; font-weight: 600;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.02em; max-width: 900px; margin-inline: auto; }
.lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 720px; margin: 20px auto 0; }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 34px 0 48px; }
.hero__meta { margin: 0; color: var(--faint); font-size: .9rem; }

.shot {
    margin: 0 auto; max-width: 980px;
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03);
}
.shot--small { max-width: 560px; }

/* ── Destinos ───────────────────────────── */
.targets { border-block: 1px solid var(--border); background: var(--surface); }
.targets__inner { display: flex; align-items: center; gap: 18px; padding: 18px 0; flex-wrap: wrap; justify-content: center; }
.targets span { color: var(--faint); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.targets ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.targets li { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; font-size: .92rem; }

/* ── Seções ─────────────────────────────── */
.section { padding: 88px 0; }
.section--alt { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-top: 1px solid var(--border); }
.section__lead { color: var(--muted); max-width: 640px; margin: 12px 0 36px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: #3a4560; transform: translateY(-2px); }
.card__icon {
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
    display: grid; place-items: center;
    background: rgba(91, 140, 255, .12); color: var(--accent);
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); margin: 8px 0 0; font-size: .95rem; }
.card strong { color: var(--text); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.steps__n {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.steps p { color: var(--muted); margin: 8px 0 0; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
    background: rgba(61, 214, 140, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DD68C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.note {
    background: rgba(245, 165, 36, .08); border: 1px solid rgba(245, 165, 36, .35);
    border-radius: 12px; padding: 16px 18px; margin-bottom: 28px; color: var(--muted); font-size: .95rem;
}
.note strong { display: block; color: var(--warning); margin-bottom: 4px; }

/* ── Dúvidas ────────────────────────────── */
.narrow h2 { margin-bottom: 24px; }
details {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    margin-top: 12px; padding: 0 20px;
}
details[open] { border-color: #3a4560; }
summary {
    cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    color: var(--accent); font-size: 1.4rem; font-weight: 400;
}
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 0 0 18px; }
.hash { font-family: var(--mono); font-size: .8rem; word-break: break-all; color: var(--text); background: var(--surface-2); padding: 10px 12px; border-radius: 8px; }

/* ── Suporte ────────────────────────────── */
.support {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(91, 140, 255, .16), rgba(91, 140, 255, .04));
    border: 1px solid var(--border); border-radius: 20px; padding: 36px 40px;
}
.support p { color: var(--muted); margin: 8px 0 0; }

/* ── Rodapé ─────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 28px 0 36px; color: var(--faint); font-size: .9rem; }
.footer__inner p { margin: 0; }
.footer__small { margin-top: 6px !important; font-size: .8rem; }

/* ── Responsivo ─────────────────────────── */
@media (max-width: 900px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
    .nav__links { display: none; }
    .brand span { font-size: .95rem; }
    .nav .btn--small { margin-left: auto; }
    .hero { padding: 48px 0 40px; }
    .grid, .steps { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .support { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .card { transition: none; }
}

/* ═══ Páginas internas: compra, pagamento, renovação ═══════════════ */
.page { padding: 48px 0 80px; min-height: 70vh; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.panel h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 8px; }
.panel h2 { font-size: 1.2rem; margin-bottom: 14px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mono { font-family: var(--mono); letter-spacing: .03em; }
.btn--block { width: 100%; justify-content: center; }

.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.summary__item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.summary__item strong { font-size: 1.4rem; }

.form { display: grid; gap: 16px; margin-top: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.form input:not([type=checkbox]), .form select, .form textarea, .pay textarea {
    width: 100%; font: 400 1rem var(--font); color: var(--text); text-transform: none; letter-spacing: normal;
    background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 140, 255, .2); }
.form .check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: normal; font-weight: 400; font-size: .92rem; color: var(--muted); }
.form .check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }

.alert { border-radius: 10px; padding: 12px 16px; margin-top: 16px; font-size: .95rem; }
.alert--error { background: rgba(242, 85, 90, .1); border: 1px solid rgba(242, 85, 90, .4); color: #ff9a9d; }
.alert--warn { background: rgba(245, 165, 36, .08); border: 1px solid rgba(245, 165, 36, .35); color: var(--warning); }
.alert--ok { background: rgba(61, 214, 140, .08); border: 1px solid rgba(61, 214, 140, .35); color: var(--success); }

.pay__box { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; margin: 22px 0; }
.pay__qr { background: #fff; padding: 12px; border-radius: 12px; width: 244px; height: 244px; }
.pay__qr img, .pay__qr canvas { width: 220px !important; height: 220px !important; }
.pay__info { display: grid; gap: 10px; }
.pay__amount { font-size: 2rem; font-weight: 800; }
.pay textarea { font-family: var(--mono); font-size: .8rem; resize: none; word-break: break-all; }
.pay__wait { display: flex; align-items: center; gap: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 18px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--accent); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay__done { text-align: center; }
.pay__ok { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #0E1117; background: var(--success); }
.codebox { display: grid; gap: 4px; margin: 22px auto; padding: 18px; max-width: 420px; border-radius: 12px; background: rgba(91, 140, 255, .1); border: 1px solid rgba(91, 140, 255, .35); }
.codebox strong { font-family: var(--mono); font-size: 1.35rem; letter-spacing: .05em; }
.steps-mini { text-align: left; max-width: 440px; margin: 0 auto 26px; color: var(--muted); display: grid; gap: 6px; }

.pricing { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.pricing__card { background: var(--surface); border: 1px solid #3a4560; border-radius: 20px; padding: 32px; display: grid; gap: 16px; text-align: center; box-shadow: 0 30px 60px -30px rgba(91, 140, 255, .45); }
.pricing__label { color: var(--muted); font-weight: 600; }
.pricing__price { font-size: 3rem; font-weight: 800; letter-spacing: -.02em; }
.pricing__price small { font-size: 1rem; color: var(--muted); font-weight: 600; margin-left: 4px; }

@media (max-width: 900px) {
    .checkout, .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .form__row { grid-template-columns: 1fr; }
    .pay__box { grid-template-columns: 1fr; justify-items: center; }
    .panel { padding: 22px; }
}
