/* ContaPIX · CSS à mão, sem build. Mobile first.
   Evolução da marca atual: roxo/azul, coral de destaque, amarelo nos CTAs, mais respiro. */

:root {
    --ink: #0B0C3F;          /* navy da marca */
    --ink-2: #1B1D5C;
    --violet: #4B2FA6;
    --indigo: #3F55D6;
    --coral: #FF5A6E;
    --yellow: #FFD23F;
    --mint: #3ED2A7;
    --paper: #FFFFFF;
    --mist: #F4F3FF;
    --line: #E3E1F5;
    --muted: #5E6190;
    --ok: #0E9F6E;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(11, 12, 63, .06), 0 12px 32px rgba(11, 12, 63, .08);
    --display: "League Spartan", "Inter", system-ui, sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
a { color: var(--violet); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.4rem, 7.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 5vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* Endereço como elemento de marca: maria@contapix.com */
.addr { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.addr b { color: var(--coral); font-weight: 700; }
.addr .at { opacity: .75; }
code.addr { font-size: 1em; background: none; }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; }
.brand span b { color: var(--coral); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav .hide-m { display: none; }
@media (min-width: 900px) { .nav .hide-m { display: inline-block; } }
.site-header.solid { position: sticky; background: var(--ink); }

/* ---------- Botões / formulário ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 14px; border: 0; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; background: var(--yellow); color: var(--ink); transition: transform .1s, box-shadow .15s; box-shadow: 0 6px 0 rgba(0, 0, 0, .15); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .92rem; box-shadow: none; }
.nav .btn-sm { color: var(--ink); }

.picker { background: #fff; color: var(--ink); border-radius: 22px; padding: 10px; box-shadow: 0 24px 60px rgba(11, 12, 63, .35); max-width: 640px; }
.picker-row { display: flex; align-items: center; gap: 0; background: var(--mist); border-radius: 14px; padding: 0 16px; min-height: 60px; border: 2px solid transparent; transition: border-color .15s; }
.picker-row:focus-within { border-color: var(--violet); }
.picker-row input { flex: 1; min-width: 0; border: 0; background: transparent; font: 700 1.25rem var(--display); color: var(--ink); padding: 14px 0; outline: none; text-align: right; }
.picker-row input::placeholder { color: #A5A3CC; font-weight: 600; }
.picker-row .suffix { font: 700 1.25rem var(--display); color: var(--muted); white-space: nowrap; }
.picker .btn { width: 100%; margin-top: 10px; }
@media (min-width: 640px) { .picker { display: flex; gap: 10px; align-items: stretch; } .picker-row { flex: 1; } .picker .btn { width: auto; margin-top: 0; } }
.result { margin-top: 14px; max-width: 640px; border-radius: 16px; padding: 14px 16px; font-weight: 600; }
.result.ok { background: #E3FBF1; color: #065F46; }
.result.no { background: #FFE9EC; color: #9B1C31; }
.result.info { background: rgba(255, 255, 255, .14); color: #fff; }
.result .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.sugg { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.sugg button { font: 600 .92rem var(--body); border: 0; border-radius: 999px; padding: 8px 12px; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.sugg button b { color: var(--coral); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background:
    radial-gradient(60% 70% at 85% 10%, rgba(255, 90, 110, .35), transparent 60%),
    radial-gradient(70% 80% at 0% 100%, rgba(63, 85, 214, .55), transparent 60%),
    linear-gradient(160deg, #2A1B7A 0%, var(--violet) 45%, var(--indigo) 100%); }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.hero .wrap { position: relative; z-index: 1; padding-top: 130px; padding-bottom: 90px; }
@media (min-width: 900px) { .hero .wrap { padding-top: 170px; padding-bottom: 120px; } }
.hero h1 { max-width: 13ch; }
.hero .lead { font-size: clamp(1.1rem, 2.6vw, 1.35rem); max-width: 40ch; opacity: .95; margin-bottom: 30px; }
.hero .typed { display: block; font-size: clamp(1.4rem, 4.5vw, 2.2rem); margin: 0 0 26px; }
.hero .typed b { color: var(--yellow); }
.hero .typed .cursor { display: inline-block; width: 3px; height: 1em; background: var(--yellow); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .free { margin-top: 14px; font-weight: 700; }
.hero .trust { margin-top: 22px; display: inline-flex; gap: 10px; align-items: center; background: rgba(11, 12, 63, .35); padding: 10px 14px; border-radius: 12px; font-size: .95rem; }

/* ---------- Seções ---------- */
.section { padding: 76px 0; }
.section.tight { padding: 48px 0; }
.wrap.section { padding-left: 16px; padding-right: 16px; }
.section.mist { background: var(--mist); }
.section.ink { background: var(--ink); color: #E7E6FF; }
.section.ink h2, .section.ink h3 { color: #fff; }
.kicker { font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--coral); margin-bottom: 12px; }
.grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.ink .card { background: var(--ink-2); box-shadow: none; }
.step .n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--coral); color: #fff; font: 700 1.2rem var(--display); margin-bottom: 14px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-weight: 700; font-size: clamp(1rem, 3vw, 1.3rem); }
.flow .pill { background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow); }
.flow .arrow { color: var(--coral); font-size: 1.4em; }
.compare h3 { display: flex; align-items: center; gap: 10px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.compare li { display: flex; gap: 10px; }
.compare li::before { content: "✓"; color: var(--mint); font-weight: 700; }
.big-claim { font-family: var(--display); font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 700; line-height: 1.05; margin: 34px 0 0; }
.big-claim span { color: var(--yellow); }
.examples { display: flex; flex-wrap: wrap; gap: 10px; }
.examples .addr { background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow); font-size: clamp(1rem, 2.6vw, 1.2rem); cursor: pointer; border: 0; }
.examples .addr:hover { transform: translateY(-2px); }
.benefit h3 { margin-bottom: .3em; }
.price { position: relative; }
.price .amount { font-family: var(--display); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -.03em; }
.price .amount small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price ul { padding-left: 18px; margin: 16px 0 22px; }
.price.featured { background: var(--ink); color: #fff; }
.price.featured .amount small { color: #B9B7EA; }
.price .tag { position: absolute; top: 18px; right: 18px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.cta-final { text-align: center; }
.cta-final .picker { margin: 0 auto; }
.cta-final .result { margin-left: auto; margin-right: auto; text-align: left; }

/* ---------- Páginas de conteúdo ---------- */
.page-hero { background: linear-gradient(160deg, #2A1B7A, var(--violet) 60%, var(--indigo)); color: #fff; padding: 130px 0 56px; }
.page-hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); max-width: 20ch; }
.page-hero .lead { font-size: 1.15rem; max-width: 60ch; opacity: .92; }
.crumbs { font-size: .88rem; opacity: .85; margin-bottom: 14px; }
.crumbs a { color: #fff; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 1.6em; }
.prose li { margin-bottom: .5em; }
.note { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--coral); padding-left: 12px; }
.box { background: var(--mist); border-radius: var(--radius); padding: 22px; }
.related { display: grid; gap: 10px; }
@media (min-width: 800px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: block; background: #fff; border-radius: 14px; padding: 16px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9B7EA; padding: 56px 0 40px; font-size: .95rem; }
.site-footer .cols { display: grid; gap: 26px; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #E7E6FF; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { color: #fff; }

/* ---------- Formulários e área logada ---------- */
.narrow { max-width: 560px; }
.form label { display: block; font-weight: 600; margin: 0 0 14px; }
.form input:not([type=checkbox]), .form textarea { display: block; width: 100%; margin-top: 6px; font: 500 1rem var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(75, 47, 166, .25); border-color: var(--violet); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.form .hint { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); margin-top: 6px; }
.form h3 { margin-top: 0; }
.err { color: #B4233B; font-weight: 600; font-size: .92rem; margin: -8px 0 14px; }
.okmsg { color: #047857; font-weight: 600; font-size: .92rem; margin: -8px 0 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-addr { display: flex; align-items: stretch; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.field-addr input { border: 0 !important; margin: 0 !important; border-radius: 0 !important; min-width: 0; text-align: right; font-weight: 700 !important; padding-right: 0 !important; outline: 0 !important; }
.field-addr:focus-within { outline: 3px solid rgba(75, 47, 166, .25); border-color: var(--violet); }
.field-addr span { display: flex; align-items: center; padding: 0 14px 0 0; font-weight: 700; color: var(--muted); white-space: nowrap; }
.panel-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-nav a, .linkbtn { font-weight: 700; color: var(--violet); text-decoration: none; background: none; border: 0; padding: 0; font: 700 1rem var(--body); cursor: pointer; }
.panel-nav a.on { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.panel-nav form { margin: 0 0 0 auto; }
.panel h2 { font-size: 1.5rem; }
.addr-card { margin-bottom: 12px; }
.addr-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.addr.big { font-size: clamp(1.15rem, 4vw, 1.6rem); word-break: break-all; }
details.danger summary { cursor: pointer; color: #B4233B; font-weight: 600; font-size: .92rem; margin-top: 10px; }
.btn-danger { background: #B4233B; color: #fff; }
.steps-list li { margin-bottom: 10px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-size: .92rem; min-width: 640px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); }
.table th { background: var(--mist); border-top: 0; }
