/* ============================================================
   arqeno — landing comercial
   Direção: editorial-arquitetônico. Papel quente, tinta grafite,
   cobalto da marca, anotações mono como numa prancha técnica.
   ============================================================ */

:root {
    --paper: #f7f4ee;
    --paper-deep: #efe9dd;
    --ink: #1b1c20;
    --ink-soft: #4c4e56;
    --ink-faint: #8a8b93;
    --line: #ddd5c6;
    --cobalt: #1f48e0;
    --cobalt-deep: #15309c;
    --cobalt-wash: #e8edfd;
    --ok: #1a7f4f;
    --warn: #b3541e;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Archivo', -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --max: 1180px;
    --radius: 14px;
    --shadow-card: 0 1px 2px rgba(27, 28, 32, .05), 0 12px 32px -12px rgba(27, 28, 32, .18);
    --shadow-pop: 0 2px 4px rgba(27, 28, 32, .06), 0 32px 64px -24px rgba(27, 28, 32, .28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--cobalt); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Anotações técnicas (eyebrow de seção) ─────────────────── */
.annot {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cobalt);
    margin-bottom: 18px;
}
.annot::before, .annot::after {
    content: '';
    height: 1px;
    background: currentColor;
    opacity: .45;
    width: 34px;
    position: relative;
}
.annot::after { flex: 0 0 34px; }
.annot.left::before { display: none; }

/* ── Topbar ────────────────────────────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.topbar-in {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    letter-spacing: -.02em;
    text-decoration: none;
}
.logo b { color: var(--cobalt); font-weight: 600; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .15s;
}
.nav a:hover { color: var(--ink); }
.nav .nav-login { color: var(--ink); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, background .15s, color .15s;
    white-space: nowrap;
}
.btn-primary {
    background: var(--cobalt);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(31, 72, 224, .55);
}
.btn-primary:hover { background: var(--cobalt-deep); transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 88px 0 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: center top;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 30%, transparent) 0%, var(--paper) 78%);
    pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-head { max-width: 880px; }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6.4vw, 78px);
    line-height: 1.04;
    font-weight: 560;
    letter-spacing: -.025em;
}
.hero h1 em {
    font-style: italic;
    font-weight: 480;
    color: var(--cobalt);
}
.hero-sub {
    margin-top: 22px;
    font-size: clamp(16px, 2vw, 19px);
    color: var(--ink-soft);
    max-width: 620px;
    line-height: 1.65;
}
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink-faint);
    letter-spacing: .04em;
}
.hero-note b { color: var(--ok); font-weight: 500; }

/* screenshot principal com moldura de navegador */
.browser {
    margin-top: 64px;
    border: 1px solid var(--ink);
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-pop);
    background: #fff;
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    padding: 11px 16px;
}
.browser-bar i {
    width: 10px; height: 10px; border-radius: 50%;
    background: #5b5d66;
}
.browser-bar i:nth-child(1) { background: #e0654f; }
.browser-bar i:nth-child(2) { background: #e0b04f; }
.browser-bar i:nth-child(3) { background: #58b97a; }
.browser-url {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #b9bac2;
    letter-spacing: .03em;
}
.browser img { width: 100%; }

/* prova social discreta */
.proof {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-deep);
}
.proof-in {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .06em;
    color: var(--ink-soft);
    text-transform: uppercase;
}
.proof-in span b { color: var(--cobalt); font-weight: 500; }

/* ── Seções ────────────────────────────────────────────────── */
section { padding: 96px 0; }

.sec-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 560;
    letter-spacing: -.02em;
    max-width: 720px;
}
.sec-title em { font-style: italic; color: var(--cobalt); font-weight: 480; }
.sec-sub { margin-top: 16px; color: var(--ink-soft); max-width: 640px; font-size: 17px; }

/* dores */
.pains { padding-bottom: 40px; }
.pain-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.pain {
    background: var(--paper);
    padding: 34px 30px 38px;
    position: relative;
}
.pain .n {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-faint);
    letter-spacing: .14em;
}
.pain h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 560;
    margin: 14px 0 10px;
    letter-spacing: -.01em;
}
.pain p { font-size: 15px; color: var(--ink-soft); }
.pain strong { color: var(--ink); }

/* features alternadas */
.feature {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: center;
    padding: 64px 0;
    border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-shot { order: 1; }

.feature h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 33px);
    font-weight: 560;
    line-height: 1.18;
    letter-spacing: -.015em;
}
.feature p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.feature ul { margin-top: 18px; list-style: none; }
.feature li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--ink-soft);
}
.feature li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 14px; height: 7px;
    border-left: 2px solid var(--cobalt);
    border-bottom: 2px solid var(--cobalt);
    transform: rotate(-45deg);
}
.feature li strong { color: var(--ink); }

.shot {
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: #fff;
    transition: transform .35s cubic-bezier(.2, .7, .25, 1), box-shadow .35s;
}
.shot:hover { transform: translateY(-6px) rotate(-.3deg); box-shadow: var(--shadow-pop); }
.shot img { width: 100%; }
.shot-cap {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    gap: 10px;
}
.shot-cap::before { content: ''; width: 22px; height: 1px; background: var(--cobalt); }

/* ── Comparativo ───────────────────────────────────────────── */
.compare { background: var(--ink); color: var(--paper); }
.compare .annot { color: #9db1f5; }
.compare .sec-title { color: var(--paper); }
.compare .sec-title em { color: #9db1f5; }
.compare .sec-sub { color: #b9bac2; }

.compare-table {
    margin-top: 52px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14.5px;
}
.compare-table th, .compare-table td {
    padding: 15px 18px;
    text-align: center;
    border-bottom: 1px solid #34353d;
}
.compare-table th:first-child, .compare-table td:first-child {
    text-align: left;
    color: #d6d7dd;
    font-weight: 500;
}
.compare-table thead th {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8a8b93;
    border-bottom: 1px solid #4a4b53;
}
.compare-table thead th.is-arqeno {
    color: #fff;
    background: var(--cobalt);
    border-radius: 12px 12px 0 0;
    font-size: 13px;
}
.compare-table td.is-arqeno {
    background: color-mix(in srgb, var(--cobalt) 26%, transparent);
    color: #fff;
    font-weight: 600;
}
.compare-table tr:last-child td.is-arqeno { border-radius: 0 0 12px 12px; }
.compare-table td { color: #9d9ea6; }
.yes { color: #6ee7a0 !important; font-weight: 700; }
.no { color: #6b6c74 !important; }
.compare-foot {
    margin-top: 22px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #8a8b93;
    letter-spacing: .04em;
}

/* ── Planos ────────────────────────────────────────────────── */
.plans-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}
.plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-card);
}
.plan.hot {
    border: 2px solid var(--cobalt);
    box-shadow: var(--shadow-pop);
    transform: translateY(-10px);
}
.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cobalt);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.plan h3 { font-family: var(--font-display); font-size: 24px; font-weight: 560; }
.plan-for { font-size: 13.5px; color: var(--ink-faint); margin-top: 4px; min-height: 38px; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .cur { font-family: var(--font-mono); font-size: 15px; color: var(--ink-soft); }
.plan-price .val {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 560;
    letter-spacing: -.03em;
    line-height: 1;
}
.plan-price .per { font-size: 14px; color: var(--ink-faint); }
.plan ul { list-style: none; margin: 24px 0 28px; flex: 1; }
.plan li {
    position: relative;
    padding: 7px 0 7px 26px;
    font-size: 14.5px;
    color: var(--ink-soft);
    border-bottom: 1px dashed var(--line);
}
.plan li:last-child { border-bottom: 0; }
.plan li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 13px; height: 6px;
    border-left: 2px solid var(--ok);
    border-bottom: 2px solid var(--ok);
    transform: rotate(-45deg);
}
.plan li strong { color: var(--ink); }
.plan .btn { width: 100%; }
.plans-note {
    margin-top: 26px;
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
}
.plans-note b { color: var(--ok); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list { margin-top: 46px; max-width: 780px; }
.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 4px 0;
}
.faq-list summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    font-weight: 600;
    font-size: 16.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--cobalt);
    line-height: 1;
    transition: transform .2s;
    flex: 0 0 auto;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
    padding: 0 0 20px;
    color: var(--ink-soft);
    font-size: 15px;
    max-width: 680px;
}

/* ── CTA final ─────────────────────────────────────────────── */
.cta-final {
    background: var(--cobalt);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 56px 56px;
}
.cta-final .wrap { position: relative; }
.cta-final h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 560;
    letter-spacing: -.02em;
    line-height: 1.1;
}
.cta-final h2 em { font-style: italic; font-weight: 480; }
.cta-final p { margin: 18px auto 0; max-width: 540px; color: #cfd9fb; font-size: 17px; }
.cta-final .btn-paper {
    margin-top: 34px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 12px 32px -10px rgba(0, 0, 0, .4);
}
.cta-final .btn-paper:hover { background: #fff; transform: translateY(-2px); }
.cta-final .hero-note { color: #b6c4f7; }
.cta-final .hero-note b { color: #8df0b8; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
    padding: 44px 0 56px;
    border-top: 1px solid var(--line);
}
.foot-in {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 48px;
    justify-content: space-between;
    align-items: center;
}
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a {
    font-size: 14px;
    color: var(--ink-soft);
    text-decoration: none;
}
.foot-links a:hover { color: var(--ink); }
.foot-fine {
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-faint);
    letter-spacing: .03em;
}

/* ── Modal de signup ───────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 21, 26, .55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 100;
    padding: 5vh 18px 18px;
    overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--paper);
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    border: 1px solid var(--ink);
    box-shadow: var(--shadow-pop);
    padding: 36px 34px;
    animation: modal-in .28s cubic-bezier(.2, .8, .3, 1);
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(18px) scale(.985); }
    to { opacity: 1; transform: none; }
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.modal h3 { font-family: var(--font-display); font-size: 27px; font-weight: 560; letter-spacing: -.015em; }
.modal-close {
    background: none; border: 0; cursor: pointer;
    font-size: 26px; line-height: 1; color: var(--ink-faint);
    padding: 2px 6px;
}
.modal-close:hover { color: var(--ink); }
.modal-sub { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.modal form { margin-top: 22px; display: grid; gap: 15px; }
.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: .01em;
}
.field input, .field select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
    border-color: var(--cobalt);
    box-shadow: 0 0 0 3px var(--cobalt-wash);
}
.subdomain-row { display: flex; align-items: stretch; }
.subdomain-row input { border-radius: 10px 0 0 10px; border-right: 0; flex: 1; min-width: 0; }
.subdomain-suffix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--paper-deep);
    border: 1.5px solid var(--line);
    border-radius: 0 10px 10px 0;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ink-soft);
    white-space: nowrap;
}
.field-hint { margin-top: 5px; font-size: 12.5px; color: var(--ink-faint); min-height: 17px; }
.field-hint.ok { color: var(--ok); }
.field-hint.err { color: #c0392b; }
.form-error {
    display: none;
    background: #fcebe8;
    border: 1px solid #efc4bc;
    color: #93331f;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
}
.form-error.show { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.modal .btn { width: 100%; margin-top: 4px; }
.modal-fine {
    margin-top: 12px;
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-faint);
}

/* sucesso */
.modal-success { text-align: center; padding: 28px 0 14px; display: none; }
.modal-success.show { display: block; }
.modal-success .check {
    width: 60px; height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #def4e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.modal-success h4 { font-family: var(--font-display); font-size: 23px; font-weight: 560; }
.modal-success p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.modal-success .mail { font-family: var(--font-mono); font-size: 14px; color: var(--cobalt); }

/* ── Personalização (temas / dark / mobile) ────────────────── */
.custom { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.custom-gallery {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    align-items: start;
}
.custom-card { grid-column: span 6; }
.custom-card.tall { grid-column: span 12; }
.custom-card .shot { background: #fff; }
.custom-card h4 {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 560;
}
.custom-card p { margin-top: 4px; font-size: 14px; color: var(--ink-soft); max-width: 480px; }

.custom-bottom {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: center;
}
/* moldura de celular */
.phone {
    width: 270px;
    margin: 0 auto;
    border: 2px solid var(--ink);
    border-radius: 36px;
    padding: 10px;
    background: var(--ink);
    box-shadow: var(--shadow-pop);
    transform: rotate(-1.2deg);
    transition: transform .35s cubic-bezier(.2, .7, .25, 1);
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone-screen {
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    max-height: 540px;
}
.phone-screen img { width: 100%; }
.phone-notch {
    width: 86px; height: 5px;
    background: #3c3d44;
    border-radius: 99px;
    margin: 0 auto 8px;
}

/* swatches de tema (decorativo) */
.swatches { display: flex; gap: 8px; margin-top: 18px; }
.swatches i {
    width: 22px; height: 22px;
    border-radius: 7px;
    border: 1.5px solid rgba(27, 28, 32, .18);
}

/* ── Hero: cards flutuantes sobre o screenshot ─────────────── */
.hero-stage { position: relative; }
.float-card {
    position: absolute;
    z-index: 3;
    background: #fff;
    border: 1px solid var(--ink);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: var(--shadow-pop);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float-in 1s cubic-bezier(.2, .8, .3, 1) both;
}
.float-card .dot {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex: 0 0 auto;
}
.float-card strong { display: block; font-size: 13.5px; }
.float-card span { color: var(--ink-faint); font-size: 12px; }
.float-approve {
    top: 42px; right: -14px;
    transform: rotate(1.4deg);
    animation-delay: .55s;
}
.float-approve .dot { background: #dcf5e6; }
.float-mention {
    bottom: 60px; left: -18px;
    transform: rotate(-1.6deg);
    animation-delay: .85s;
}
.float-mention .dot { background: var(--cobalt-wash); }
@keyframes float-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; }
}

/* grain sutil no hero e cta */
.hero::before, .cta-final::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::before { z-index: 1; }

/* refinamentos gerais */
.sec-title { text-wrap: balance; }
.hero h1 { text-wrap: balance; }
.nav a { position: relative; }
.nav a:not(.nav-login)::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 2px;
    background: var(--cobalt);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s;
}
.nav a:not(.nav-login):hover::after { transform: scaleX(1); }
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--cobalt);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (max-width: 960px) {
    .custom-card, .custom-card.tall { grid-column: span 12; }
    .custom-bottom { grid-template-columns: 1fr; gap: 36px; }
    .float-card { display: none; }
}

/* ── Reveal on scroll ──────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsivo ────────────────────────────────────────────── */
@media (max-width: 960px) {
    .pain-grid { grid-template-columns: 1fr; }
    .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
    .feature.flip .feature-copy { order: 1; }
    .feature.flip .feature-shot { order: 2; }
    .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
    .plan.hot { transform: none; }
    .nav { display: none; }
    section { padding: 64px 0; }
    .compare-wrap { overflow-x: auto; margin: 0 -24px; padding: 0 24px; }
    .compare-table { min-width: 720px; }
}
