/* GoNexty Bot, site. Light page, conversations as the protagonists, the real panel in a dark band.
   No inline styles anywhere: the server sends a strict Content-Security-Policy. */

:root {
  --page: #f6f6f7;
  --paper: #ffffff;
  --line: #e2e2e6;
  --line-strong: #cdcdd4;
  --ink: #0c0c0e;
  --text: #2b2b31;
  --soft: #5c5c66;
  --dim: #7b7b86; /* only for text of 24 px or more */
  --red: #c0414e;
  --red-hover: #a93541;
  --red-text: #b23a46;
  --red-band: #d9505d;
  --ai: #fae6e8;
  --lead: #efeff2;
  --fill-bg: #faefd9;
  --fill-text: #6f4706;
  --font: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* panel tokens, for the dark bands */
  --d-bg: #0c0c0e;
  --d-line: #26262b;
  --d-line-strong: #36363d;
  --d-text: #ededf0;
  --d-soft: #c4c4cc;
  --d-muted: #8f8f99;
  --d-warn: #dca23f;
  --d-accent: #d9505d;
  --d-accent-text: #f2a3aa;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }

.wrap { width: min(100% - 40px, 1180px); margin-inline: auto; }
@media (min-width: 760px) { .wrap { width: min(100% - 72px, 1180px); } }

/* Placeholders the owner still has to fill in ([PREENCHER: …], [a definir]). */
mark.fill { padding: 0 3px; border-radius: 3px; background: var(--fill-bg); color: var(--fill-text); font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 10px;
  font: 600 16.5px/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15.5px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-line { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.link-under { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.link-under:hover { text-decoration-thickness: 2px; }
.link-quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; font-size: 16px; text-decoration: none; }
.link-quiet:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--page); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; height: 68px; }
@media (min-width: 760px) { .top-row { gap: 24px; } } /* room between the brand and the menu once the menu shows */
@media (min-width: 920px) { .top-row { gap: 40px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17.5px; font-weight: 600; letter-spacing: -0.015em; text-decoration: none; white-space: nowrap; }
.brand .mark { flex: none; width: 28px; height: 28px; }
.nav { display: none; gap: 30px; }
.nav a { color: var(--soft); font-size: 16px; text-decoration: none; }
.nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
@media (min-width: 760px) { .top-actions { gap: 20px; } }
@media (max-width: 374px) { .top-actions .link-quiet { display: none; } }
@media (min-width: 760px) { .nav { display: flex; gap: 22px; } }
@media (min-width: 920px) { .nav { gap: 30px; } }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 64px; }
.hero-grid { display: grid; gap: 52px; }
.kicker { color: var(--soft); font-size: 17px; text-wrap: balance; }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 6.4vw, 66px); line-height: 1.02; letter-spacing: -0.036em; font-weight: 500;
  color: var(--ink); text-wrap: balance;
}
.dim { color: var(--dim); }
.hero h1 .dim, .close-line .dim { display: block; } /* each sentence starts its own line */
.lede { margin-top: 24px; max-width: 31em; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.5; color: var(--text); text-wrap: pretty; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.fine { margin-top: 22px; color: var(--soft); font-size: 16px; }
@media (min-width: 1180px) {
  .hero { padding: 40px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 680px; gap: 40px; }
  .hero-copy { align-self: start; } /* the button stays above the fold on 1366×768 notebooks */
}

/* ---------- Conversations (hero, vácuo) ---------- */
.chat { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; font-family: var(--ui); color: var(--ink); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #ececef; color: #3a3a42; font-size: 14px; font-weight: 650; }
.chat-who { flex: 1; min-width: 0; }
.chat-name { font-size: 15.5px; font-weight: 600; line-height: 1.25; }
.chat-sub { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--soft); font-size: 13.5px; line-height: 1.2; }
.ai-on { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font-size: 12.5px; font-weight: 600; }
.ai-on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2f9e66; }

.stage { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-family: var(--ui); font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
.tone-neutral { background: #ececef; color: #3a3a42; }
.tone-info { background: #e8eefb; color: #2b54a6; }
.tone-accent { background: var(--ai); color: var(--red-text); }
.tone-warn { background: #faefd9; color: #7a4f07; }
.tone-ok { background: #e2f3e9; color: #1c6a40; }

.thread { list-style: none; padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.42; }
.msg { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.msg.ai, .msg.bot { align-items: flex-end; }
.bubble { max-width: 86%; padding: 8px 12px 9px; border-radius: 16px; background: var(--lead); overflow-wrap: anywhere; }
.bubble.wide { max-width: 94%; }
.ai .bubble { background: var(--ai); }
.bot .bubble { background: #e9e9ed; }
.label { display: block; margin-bottom: 2px; color: var(--red-text); font-size: 13px; font-weight: 650; }
.lead .label, .bot .label { color: var(--soft); font-weight: 600; }
.linkcard { display: block; margin-top: 7px; padding: 9px 12px 10px; border: 1px solid #efcdd1; border-radius: 11px; background: var(--paper); }
.linkcard b { display: block; font-size: 14.5px; font-weight: 600; }
.linkcard span { display: block; margin-top: 1px; color: var(--red-text); font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }

.typing { position: absolute; top: 0; right: 0; padding: 8px 13px; border-radius: 16px; background: var(--ai); color: var(--red-text); font-size: 14px; font-weight: 500; line-height: 1.2; opacity: 0; pointer-events: none; }
.msg.is-typing .typing { opacity: 1; }

/* the demo hides each message until site.js plays it; reduced motion always shows the end state */
[data-chat] .bubble, [data-chat] .note { transition: opacity .24s ease; }
.js [data-chat] .msg:not(.is-on) .bubble,
.js [data-chat] .msg:not(.is-on) .note { opacity: 0; }

/* margin notes: what the AI did, then the line of the offer it came from */
.note { margin-top: 7px; max-width: 86%; color: var(--soft); font: 500 14px/1.3 var(--font); text-align: right; }
.note::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--red-text); vertical-align: 2px; }
.note small { display: block; margin-top: 2px; color: var(--soft); font-size: 13.5px; font-weight: 400; }

.demo { width: 100%; max-width: 680px; }
.demo .chat { max-width: 440px; }
.demo-label { margin-bottom: 10px; color: var(--soft); font-size: 14.5px; }
.demo-foot { margin-top: 12px; max-width: 440px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--soft); font-size: 14px; line-height: 1.45; }
.replay { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--paper); color: var(--ink); font: 500 15px/1 var(--font); cursor: pointer; }
.replay:hover { border-color: var(--ink); }
.replay svg { width: 15px; height: 15px; }
.replay .ico-skip, .is-playing .replay .ico-replay { display: none; }
.is-playing .replay .ico-skip { display: block; }

@media (min-width: 760px) {
  /* a pin on the balloon's edge, a hairline, the note outside the paper */
  .demo .note { position: absolute; top: 9px; left: calc(100% + 44px); width: 196px; max-width: none; margin: 0; color: var(--ink); font-size: 15px; text-align: left; }
  .demo .note::before { position: absolute; left: -47px; top: 6px; margin: 0; }
  .demo .note::after { content: ""; position: absolute; left: -41px; top: 9px; width: 31px; border-top: 1px solid var(--line-strong); }
  .demo .note small { margin-top: 3px; font-size: 14px; line-height: 1.35; }
}

/* reduced motion: the whole conversation from the start, no fades; "Repetir" still plays it on request */
@media (prefers-reduced-motion: reduce) {
  [data-chat] .bubble, [data-chat] .note { transition: none; }
  .js [data-chat]:not(.is-playing) .msg .bubble,
  .js [data-chat]:not(.is-playing) .msg .note { opacity: 1; }
}
@media (max-width: 519px) {
  .chat-sub { flex-direction: column; align-items: flex-start; } /* the stage chip keeps its own line, so the header never jumps */
  .chat-head { position: relative; }
  .ai-on { position: absolute; top: 14px; right: 14px; } /* beside the name, so the longest stage still fits at 320 px */
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 760px) { .section { padding: 96px 0; } }
@media (min-width: 1100px) { .section { padding: 116px 0; } }
.h2 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.03; letter-spacing: -0.038em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.sec-head, .how-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 40px; }
.sec-label { color: var(--soft); font-size: 15.5px; }

/* ---------- O vácuo ---------- */
.section.void { padding-top: 40px; }
@media (min-width: 760px) { .section.void { padding-top: 64px; } }
@media (min-width: 1100px) { .section.void { padding-top: 96px; } }
.versus { margin-top: 48px; display: grid; gap: 24px; }
.versus-ai { display: flex; flex-direction: column; gap: 56px; }
@media (min-width: 760px) {
  .versus { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .versus-ai { justify-content: space-between; gap: 40px; }
}
.side { margin: 0; display: flex; flex-direction: column; }
.side .thread { flex: 1; }
.side-head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--ink); font: 600 16.5px/1.2 var(--font); }
.side-head .mark { width: 20px; height: 20px; }
/* time passing where the reply should be */
.wait { flex: 1; align-self: flex-end; width: 0; min-height: 64px; margin: 2px 44px 0 0; border-left: 1px dashed #a3a3ad; }
.sys { align-self: flex-end; margin-right: 6px; color: var(--soft); font-size: 13.5px; }
@media (min-width: 760px) { .wait { min-height: 124px; } }
.side-cap { display: flex; align-items: center; gap: 10px; padding: 15px 18px 17px; border-top: 1px solid var(--line); color: var(--ink); font: 500 16.5px/1.35 var(--font); }
.side-cap::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #a3a3ad; }
.side-ai .side-cap::before { background: var(--red-text); }
.close-line { max-width: 15em; font-size: clamp(30px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.032em; font-weight: 500; color: var(--ink); text-wrap: balance; }
@media (min-width: 760px) { .close-line { padding: 0 0 6px 4px; } }

/* ---------- Como funciona (dark band, real panel) ---------- */
.how { background: var(--d-bg); color: var(--d-soft); }
.how .h2 { color: var(--d-text); }
.how :focus-visible { outline-color: var(--d-text); }
.how-label { color: var(--d-muted); font-size: 15.5px; }
.steps { --margin: 250px; --reach: 24px; list-style: none; margin-top: 48px; padding: 0; display: grid; gap: 64px; }
@media (min-width: 760px) { .steps { margin-top: 64px; gap: 80px; } }
.step-copy { display: grid; gap: 12px; margin-bottom: 30px; }
.step h3 { display: flex; gap: 14px; color: var(--d-text); font-size: 24px; line-height: 1.22; letter-spacing: -0.022em; font-weight: 500; text-wrap: balance; }
.step-n { flex: none; width: 22px; color: var(--d-muted); font-variant-numeric: tabular-nums; }
.step-text { padding-left: 36px; max-width: 34em; }
.step-text p { color: var(--d-soft); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.step-text .step-warn { margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--d-warn); font-size: 16px; }
.step-warn b { color: var(--d-warn); font-weight: 600; }
@media (min-width: 1000px) {
  .step-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .step-text { padding-left: 0; padding-top: 2px; }
}

.shot { position: relative; margin: 0; }
.shot-img { overflow: hidden; border: 1px solid var(--d-line-strong); border-radius: 12px; background: var(--d-bg); }
.shot-img img { width: 100%; height: auto; }
/* wide screen on computers, tight crop on phones: swapped by CSS, a hidden lazy image never downloads */
.shot-img .shot-narrow { display: none; }

/* pins: a dot on the exact spot, a hairline, the note in the margin */
.pins { list-style: none; margin: 0; padding: 0; }
.pin span { color: var(--d-text); font: 500 15px/1.35 var(--font); letter-spacing: -0.005em; }
.pin::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--d-accent); box-shadow: 0 0 0 3px rgba(12, 12, 14, .85); }
.pin.for-crop:not(.for-full) { display: none; }
@media (min-width: 1100px) {
  .shot { padding-right: var(--margin); }
  .shot-s2 .shot-img { max-width: 760px; } /* the instructions crop at the panel's own scale, not blown up */
  .pins { position: absolute; top: 0; bottom: 0; left: 0; right: var(--margin); pointer-events: none; }
  .pin { position: absolute; right: calc(-1 * var(--reach)); height: 1px; background: rgba(242, 163, 170, .55); }
  .pin::before { position: absolute; left: -4.5px; top: -4px; }
  .pin span { position: absolute; left: calc(100% + 12px); top: 0; transform: translateY(-50%); white-space: nowrap; }
  .p1b { left: 97%; top: 23.7%; }
  .p1c { left: 44.5%; top: 36.6%; }
  .p2b { left: 364px; top: 64.4%; } /* px: that screen stays 758 px wide while the pins box grows, so its note lines up with the others */
  .p3a { left: 21.3%; top: 2.5%; }
  .p3b { left: 97.6%; top: 9.6%; }
  .p3c { left: 97%; top: 52.7%; }
  .p3d { left: 97%; top: 82.5%; }
}
@media (max-width: 1099px) {
  /* the notes become a legend under the screen */
  .pins { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 26px; }
  .pin { display: flex; align-items: center; gap: 10px; }
  .pin::before { flex: none; width: 8px; height: 8px; box-shadow: none; }
  .pin span { color: var(--d-soft); font-size: 15.5px; }
}
@media (max-width: 759px) {
  .shot-img .shot-wide { display: none; }
  .shot-img .shot-narrow { display: block; }
  .pin.for-full:not(.for-crop) { display: none; }
  .pin.for-crop:not(.for-full) { display: flex; }
}

/* ---------- Recursos ---------- */
.feats { list-style: none; margin-top: 56px; padding: 0; border-bottom: 1px solid var(--line); }
.feat { display: grid; grid-template-areas: "t" "c" "d" "f"; padding: 32px 0 36px; border-top: 1px solid var(--line); }
.feat-t { grid-area: t; color: var(--ink); font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.feat-c { grid-area: c; margin-top: 6px; color: var(--soft); font-size: 16px; }
.feat-d { grid-area: d; margin-top: 14px; max-width: 31em; color: var(--text); font-size: 17px; text-wrap: pretty; }
/* fragments sit on the page, unframed: chats as loose balloons, panel bits as hairline rows */
.frag { grid-area: f; margin-top: 24px; color: var(--ink); font: 14.5px/1.4 var(--ui); }
@media (min-width: 760px) {
  .feat { grid-template-columns: minmax(0, 1fr) 330px; grid-template-rows: auto auto 1fr; grid-template-areas: "t f" "c f" "d f"; column-gap: 40px; }
  .frag { margin-top: 0; align-self: start; }
}
@media (min-width: 1100px) {
  .feat { grid-template-columns: 260px minmax(0, 1fr) 380px; grid-template-rows: auto 1fr; grid-template-areas: "t d f" "c d f"; column-gap: 48px; padding: 40px 0 44px; }
  .feat-d { margin-top: 0; }
}

.fchat { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.fb { max-width: 88%; padding: 6px 11px 7px; border-radius: 13px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.fb.ai { align-self: flex-end; background: var(--ai); box-shadow: none; }
.fb + .fb.ai { margin-top: 7px; }
.fb .label { font-size: 12px; }
.fb-typing { color: var(--red-text); font-weight: 500; }
.fb-file { display: flex; flex-direction: column; gap: 7px; }
.file { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--page); font-weight: 600; }
.file svg { width: 16px; height: 19px; color: var(--soft); }
.frag-check { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.frag-check svg { width: 17px; height: 17px; color: #1c6a40; }
.fchat .stage { margin-top: 2px; }
.fb-voice { width: 88%; }
.voice { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.play { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.play svg { width: 13px; height: 13px; }
.wave { flex: 1; min-width: 0; height: 26px; fill: var(--red-text); }
.dur { flex: none; color: var(--red-text); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.frag-h { padding-bottom: 8px; color: var(--soft); font-size: 13.5px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row-main { min-width: 0; }
.row-main b { display: block; font-weight: 600; }
.row-main small { display: block; overflow: hidden; color: var(--soft); font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.row-val { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kv { border-bottom: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.kv dt { color: var(--soft); }
.kv dd { font-weight: 600; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--soft); font-size: 13px; }
.chip.on { border-color: #b9b9c2; color: var(--ink); font-weight: 600; }
.chip.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2f9e66; }
.also { margin-top: 28px; max-width: 46em; color: var(--soft); font-size: 17px; }

/* ---------- Planos ---------- */
.sec-sub { margin-top: 14px; color: var(--soft); font-size: 19px; }
.plans { margin-top: 48px; display: grid; border-top: 1px solid var(--ink); }
.plan { display: flex; flex-direction: column; padding: 30px 0 36px; }
.plan + .plan { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  /* equal columns: the gap holds the divider, so every plan (and its button) gets the same width */
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 64px; border-bottom: 1px solid var(--line); }
  .plan { padding: 34px 0 40px; }
  .plan + .plan { border-top: 0; position: relative; }
  .plan + .plan::before { content: ""; position: absolute; top: 0; bottom: 0; left: -32px; border-left: 1px solid var(--line); }
}
.plan h3 { color: var(--ink); font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.plan-for { margin-top: 4px; color: var(--soft); font-size: 16px; }
.price { margin-top: 26px; display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.price .cur { margin-right: 3px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.price .num { font-size: 58px; line-height: .9; letter-spacing: -0.05em; font-weight: 500; font-variant-numeric: tabular-nums; }
.price .per { margin-left: 2px; color: var(--soft); font-size: 16px; }
.plan ul { list-style: none; margin-top: 28px; padding: 0; color: var(--text); font-size: 16.5px; line-height: 1.45; }
.plan li { padding: 11px 0; border-top: 1px solid var(--line); text-wrap: pretty; }
.plan li.plan-key { color: var(--ink); font-weight: 600; }
.plan li.plan-base { color: var(--soft); }
.plan .btn { margin-top: 28px; width: 100%; }
@media (max-width: 899px) {
  .plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 26px 0 30px; }
  .plan h3, .plan-for { grid-column: 1; }
  .price { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; }
  .price .num { font-size: 46px; }
  .plan ul, .plan .btn { grid-column: 1 / -1; }
  .plan ul { margin-top: 18px; }
  .plan .btn { margin-top: 22px; }
}
@media (min-width: 900px) { .plan .btn { margin-top: auto; } .plan ul { margin-bottom: 32px; } }
/* billing is not on yet: said under the plans, so the page matches the Terms (section 15) */
.plans-note { margin-top: 24px; color: var(--soft); font-size: 16px; }

/* ---------- Dúvidas ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 330px minmax(0, 1fr); gap: 64px; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--ink); font-size: 19.5px; line-height: 1.35; letter-spacing: -0.012em; font-weight: 500; list-style: none; cursor: pointer; text-wrap: pretty; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .pm::before, .faq summary:hover .pm::after { border-color: var(--red-text); }
.pm { position: relative; flex: none; width: 14px; height: 14px; margin-top: 6px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: 2px solid var(--ink); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { display: none; }
.faq details p { max-width: 40em; padding: 0 0 26px; color: var(--text); font-size: 17px; text-wrap: pretty; }
.faq details a { color: var(--red-text); text-underline-offset: 3px; }

/* ---------- Fim da página ---------- */
.end { padding: 72px 0; background: var(--red-band); color: var(--ink); }
.end-grid { display: grid; gap: 28px; }
.end h2 { font-size: clamp(44px, 6.4vw, 88px); line-height: .98; letter-spacing: -0.05em; font-weight: 500; text-wrap: balance; }
.end p { max-width: 26em; font-size: 19px; line-height: 1.5; }
.end .cta-row { margin-top: 28px; }
.end :focus-visible { outline-color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2b2b31; }
.btn-ink-line { border-color: var(--ink); color: var(--ink); }
.btn-ink-line:hover { background: var(--ink); color: #fff; }
@media (min-width: 960px) {
  .end { padding: 128px 0; }
  .end-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 64px; }
}

/* ---------- Rodapé ---------- */
.foot { padding: 64px 0 40px; background: var(--d-bg); color: var(--d-soft); font-size: 15.5px; }
.foot :focus-visible { outline-color: var(--d-text); }
.foot .brand { color: var(--d-text); }
.foot-tag { margin-top: 14px; max-width: 30em; text-wrap: pretty; }
.foot-top { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1fr auto; align-items: start; } }
.foot-links { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (min-width: 900px) { .foot-links { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: -8px; } } /* text on the brand's line, targets still 44 px */
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--d-soft); text-decoration: none; }
.foot-links a:hover { color: var(--d-text); text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--d-line); display: grid; gap: 8px; color: var(--d-muted); font-size: 14.5px; }
.foot mark.fill { background: rgba(220, 162, 63, .16); color: #eec27a; font-weight: 500; white-space: nowrap; }

/* ---------- Páginas de texto (Termos, Privacidade) ---------- */
.doc { padding: 48px 0 104px; }
@media (min-width: 760px) { .doc { padding: 72px 0 128px; } }
.doc-col { max-width: 68ch; margin-inline: auto; }
.doc-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); font-size: 16px; text-decoration: none; }
.doc-back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.legal { color: var(--text); font-size: 17px; line-height: 1.65; }
.legal h1 { margin-top: 12px; color: var(--ink); font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; }
.legal h1 + p { margin-top: 14px; color: var(--soft); }
.legal h2 { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; text-wrap: balance; scroll-margin-top: 84px; }
.legal h3 { margin-top: 36px; color: var(--ink); font-size: 19.5px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 600; scroll-margin-top: 84px; }
.legal p, .legal ul { margin-top: 16px; }
.legal h2 + p, .legal h2 + ul, .legal h3 + p, .legal h3 + ul { margin-top: 14px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 8px; }
.legal li > ul { margin-top: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--red-text); text-underline-offset: 3px; }
.legal a:hover { text-decoration-thickness: 2px; }
.legal .legal-draft-note { margin-top: 24px; padding: 14px 16px; border-left: 3px solid #c98a1c; border-radius: 0 8px 8px 0; background: var(--fill-bg); color: #4d3304; font-size: 16px; line-height: 1.55; }
.toc { margin-top: 36px; padding: 22px 0 6px; border-top: 1px solid var(--ink); }
.toc-t { color: var(--ink); font-size: 16px; font-weight: 600; }
.toc ol { list-style: none; margin-top: 10px; padding: 0; columns: 2 18em; column-gap: 40px; }
.toc li { break-inside: avoid; }
.toc a { display: block; padding: 6px 0; color: var(--text); font-size: 16px; line-height: 1.4; text-decoration: none; }
.toc a:hover { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.lost { padding: 72px 0 128px; }
@media (min-width: 760px) { .lost { padding: 120px 0 176px; } }
.lost h1 { color: var(--ink); font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.036em; font-weight: 500; text-wrap: balance; }
.lost p { margin-top: 20px; max-width: 30em; font-size: 19px; }
.lost .cta-row { margin-top: 32px; }

/* no lone word on the last line of running text */
.also, .sec-sub, .legal p, .legal li { text-wrap: pretty; }

/* short windows (zoom of 400% included): the header scrolls away instead of covering a third of the screen.
   Last in the file so it wins over the scroll offsets above. */
@media (max-height: 480px) {
  .top { position: static; }
  html { scroll-padding-top: 0; }
  .legal h2, .legal h3 { scroll-margin-top: 16px; }
}
