/* =====================================================================
   CASHBACKERS — identidade visual
   Verde (confiança, prosperidade) · Branco (clareza) · Dourado (valor)
   ===================================================================== */
@font-face { font-family: "Lora"; src: url("../fonts/Lora.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans.woff") format("woff"); font-weight: 300 800; font-display: swap; }

:root {
  /* Paleta extraída da logo: ameixa (nome), magenta/rosa (símbolo), dourado (seta e folha), creme (fundo) */
  --brand-950: #2c0533;
  --brand-900: #470a4f;
  --brand-800: #5e1063;
  --brand-700: #8c1d68;
  --brand-600: #c2245f;
  --brand-500: #e0457c;
  --brand-400: #f26286;
  --brand-200: #f7cdd9;
  --brand-100: #fde8ee;
  --brand-50:  #fffaf6;
  --gold-600:  #a5762c;
  --gold-500:  #d4a35a;
  --gold-200:  #f1dcb2;
  --gold-50:   #fdf5e8;
  --ink:       #2a1530;
  --muted:     #725d6f;
  --line:      #f0e0e6;
  --white:     #ffffff;
  --ok-700:    #24704b;
  --ok-100:    #e5f3ea;
  --ok-200:    #c7e4d2;
  --red-600:   #b0302b;
  --red-50:    #fdeeed;
  --amber-600: #94640f;
  --amber-50:  #fdf4e1;
  --blue-600:  #2b5d86;
  --blue-50:   #eaf2f8;
  --grad-brand: linear-gradient(120deg, var(--brand-800) 0%, var(--brand-600) 62%, var(--brand-400) 100%);
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(71,10,79,.05), 0 6px 20px rgba(71,10,79,.06);
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sidebar-w: 264px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 15.5px; line-height: 1.55;
  color: var(--ink); background: var(--brand-50);
}
a { color: var(--brand-700); text-underline-offset: 2px; }
a:hover { color: var(--brand-600); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; color: var(--brand-900); line-height: 1.25; margin: 0 0 .4em; }
h1 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.05rem); }
h2 { font-size: 1.28rem; }
h3 { font-size: 1.06rem; }
p { margin: 0 0 .8em; }
small, .small { font-size: .86rem; }
.muted { color: var(--muted); }
.eyebrow { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

/* ----------------------------------------------------------- marca */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-name-img { height: 30px; width: auto; display: block; }
.brand-tag-img { height: auto; }
.brand-name { font-family: var(--font-serif); font-weight: 700; letter-spacing: .12em; font-size: 1.02rem; line-height: 1.1; display: block; }
.brand-tag { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; opacity: .78; display: block; }

/* ----------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; min-height: 44px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font-sans); cursor: pointer; text-decoration: none;
  background: var(--brand-800); color: var(--white); transition: background .15s, box-shadow .15s;
}
.btn:hover { background: var(--brand-700); color: var(--white); }
.btn-gold { background: var(--grad-brand); color: var(--white); box-shadow: 0 4px 14px rgba(194,36,95,.25); }
.btn-gold:hover { background: var(--grad-brand); color: var(--white); filter: brightness(1.06); }
.btn-outline { background: var(--white); color: var(--brand-800); border-color: var(--brand-200); }
.btn-outline:hover { background: var(--brand-100); color: var(--brand-900); }
.btn-ghost { background: transparent; color: var(--brand-800); padding-inline: 10px; }
.btn-ghost:hover { background: var(--brand-100); color: var(--brand-900); }
.btn-danger { background: var(--white); color: var(--red-600); border-color: #e9c7c0; }
.btn-danger:hover { background: var(--red-50); color: var(--red-600); }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ----------------------------------------------------------- formulários */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--brand-950); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.field .error { font-size: .84rem; color: var(--red-600); margin-top: 5px; font-weight: 500; }
.req { color: var(--gold-600); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=url],
input[type=date], input[type=search], input[type=number], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: 400 1rem/1.4 var(--font-sans); color: var(--ink); background: var(--white);
}
textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(224,69,124,.16); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red-600); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand-600); flex: none; }
.grid-2 { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 2fr 1fr 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; }

/* seleção de modalidade */
.modality-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .modality-grid { grid-template-columns: 1fr 1fr; } }
.modality { position: relative; display: block; cursor: pointer; }
.modality input { position: absolute; opacity: 0; inset: 0; }
.modality .card-inner {
  height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.modality:hover .card-inner { border-color: var(--brand-200); }
.modality input:checked + .card-inner { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(224,69,124,.14); background: var(--brand-100); }
.modality input:focus-visible + .card-inner { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.modality .price { font-family: var(--font-serif); font-size: 1.3rem; color: var(--brand-900); font-weight: 600; }
.modality .price small { font-family: var(--font-sans); color: var(--muted); font-weight: 400; }
.modality .tier { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--brand-100); color: var(--brand-800); }
.modality .tier.pro { background: var(--gold-50); color: var(--gold-600); border: 1px solid var(--gold-200); }

/* ----------------------------------------------------------- cartões */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.stack > * + * { margin-top: 16px; }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards-2 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) and (max-width: 1099px) { .cards-4 { grid-template-columns: 1fr 1fr; } }

.kpi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.kpi .label { font-size: .8rem; font-weight: 600; color: var(--muted); margin: 0; }
.kpi .value { font-family: var(--font-serif); font-size: 1.75rem; color: var(--brand-900); font-weight: 600; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .foot { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.kpi.soon { background: repeating-linear-gradient(135deg, var(--white), var(--white) 10px, #fff4f7 10px, #fff4f7 20px); }
.kpi.soon .value { color: var(--brand-200); }
.kpi.accent { border-color: var(--gold-200); background: linear-gradient(180deg, var(--gold-50), var(--white)); }

/* ----------------------------------------------------------- selos e avisos */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--brand-100); color: var(--brand-800); }
.badge.gold { background: var(--gold-50); color: var(--gold-600); border: 1px solid var(--gold-200); }
.badge.gray { background: #eef1ef; color: var(--muted); }
.badge.warn { background: var(--amber-50); color: var(--amber-600); }
.badge.danger { background: var(--red-50); color: var(--red-600); }
.badge.info { background: var(--blue-50); color: var(--blue-600); }
.st-gratuito { background: #eef1ef; color: var(--muted); }
.st-ativo { background: var(--ok-100); color: var(--ok-700); }
.st-aguardando_pagamento { background: var(--amber-50); color: var(--amber-600); }
.st-pagamento_atrasado { background: var(--red-50); color: var(--red-600); }
.st-cancelado { background: #eef1ef; color: var(--muted); }
.st-expirado { background: var(--red-50); color: var(--red-600); }
.ap-pendente { background: var(--amber-50); color: var(--amber-600); }
.ap-aprovada { background: var(--ok-100); color: var(--ok-700); }
.ap-rejeitada { background: var(--red-50); color: var(--red-600); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid; font-size: .93rem; margin-bottom: 12px; }
.alert .icon { margin-top: 1px; }
.alert-success { background: var(--ok-100); border-color: var(--ok-200); color: var(--ok-700); }
.alert-error { background: var(--red-50); border-color: #ecc9c1; color: var(--red-600); }
.alert-info { background: var(--blue-50); border-color: #cfe0ec; color: var(--blue-600); }
.alert-warn { background: var(--amber-50); border-color: #f0dcae; color: var(--amber-600); }
.alert p:last-child { margin: 0; }

/* ----------------------------------------------------------- tabelas */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #fff6f8; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:hover { background: #fffbfc; }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty .icon { width: 30px; height: 30px; color: var(--brand-200); margin-bottom: 6px; }

dl.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 14px; margin: 0; font-size: .93rem; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; overflow-wrap: anywhere; }

/* ----------------------------------------------------------- layout público */
.public { min-height: 100vh; display: flex; flex-direction: column; background: var(--white); }
.public-header { display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--white); }
.public-header .brand { color: var(--brand-900); }
.public-header nav { display: flex; gap: 6px; }
.public-main { flex: 1; }
.public-footer { padding: 24px clamp(16px, 4vw, 48px); background: var(--brand-950); color: #ead3e2; font-size: .86rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.public-footer a { color: var(--gold-200); }

.hero { background: radial-gradient(900px 420px at 88% 10%, rgba(242,98,134,.16), transparent 60%), radial-gradient(700px 360px at 0% 100%, rgba(212,163,90,.14), transparent 60%), var(--brand-50); color: var(--ink); padding: clamp(36px, 6vw, 80px) clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.25fr 1fr; } }
.hero h1 { color: var(--brand-900); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.hero blockquote { margin: 22px 0 0; padding-left: 16px; border-left: 3px solid var(--gold-500); font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; color: var(--brand-700); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: rgba(255,255,255,.8); box-shadow: var(--shadow); }
.pillar strong { display: block; font-family: var(--font-serif); color: var(--brand-600); font-size: 1.08rem; }
.pillar span { font-size: .86rem; color: var(--muted); }
.section { padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 48px); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-alt { background: var(--brand-50); }
.method { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.method span { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .9rem; }
.method b { font-family: var(--font-serif); color: var(--gold-600); font-size: 1.05rem; }
.plan-card { display: flex; flex-direction: column; }
.plan-card .price { font-family: var(--font-serif); font-size: 1.7rem; color: var(--brand-900); font-weight: 600; margin: 6px 0 8px; }
.plan-card .price small { font-family: var(--font-sans); font-size: .9rem; color: var(--muted); font-weight: 400; }
.plan-card p { flex: 1; color: var(--muted); font-size: .93rem; }
.plan-card.pro { border-color: var(--gold-200); }
.notice-strip { background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: var(--radius); padding: 16px 18px; font-size: .93rem; }

.auth-wrap { display: grid; place-items: start center; padding: clamp(20px, 5vw, 56px) 16px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card.wide { max-width: 760px; }
.auth-card h1 { margin-bottom: 4px; }

/* ----------------------------------------------------------- shell do app */
.shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); background: var(--white); border-right: 1px solid var(--line);
  color: var(--ink); display: flex; flex-direction: column; padding: 16px 12px; z-index: 40; transform: translateX(-100%); transition: transform .2s ease;
}
.sidebar .brand { padding: 2px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.nav a, .nav .nav-soon { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 500; position: relative; }
.nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav a[aria-current="page"] { background: var(--brand-100); color: var(--brand-800); font-weight: 700; }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand-600); }
.nav .nav-soon { color: #b3a1b0; cursor: default; }
.nav .tag { margin-left: auto; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); color: #a8939f; }
.nav .tag.lock { border-color: var(--gold-200); color: var(--gold-600); background: var(--gold-50); }
.sidebar-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.sidebar-foot a { color: var(--muted); }
.sidebar-foot .logout { color: var(--brand-800); padding-left: 2px; }

.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .brand { color: var(--brand-900); }
.topbar .spacer { flex: 1; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); display: grid; place-items: center; font-weight: 700; font-size: .85rem; border: 1px solid var(--brand-200); flex: none; }
.user-chip { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.user-chip .who { display: none; line-height: 1.2; }
.user-chip .who small { color: var(--muted); display: block; }
.menu-toggle { display: inline-flex; }
.scrim { display: none; }
body.nav-open .sidebar { transform: none; }
body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(44,5,51,.35); z-index: 35; }

.content { padding: 20px 16px 96px; max-width: 1180px; margin: 0 auto; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.page-head p { margin: 0; color: var(--muted); }

.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px; font: 600 .7rem var(--font-sans); color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer; }
.bottom-nav [aria-current="page"] { color: var(--brand-800); }
.bottom-nav .icon { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .sidebar { transform: none; }
  .shell-main { margin-left: var(--sidebar-w); }
  .menu-toggle, .bottom-nav, .topbar .brand { display: none; }
  .content { padding: 28px 32px 48px; }
  .user-chip .who { display: block; }
}
@media (min-width: 640px) { .user-chip .who { display: block; } }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--brand-900); border-color: var(--gold-500); }
.tabs .count { font-size: .72rem; background: var(--amber-50); color: var(--amber-600); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.filters .field { margin: 0; min-width: 150px; flex: 1; }
.filters .field.grow { flex: 3; min-width: 220px; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 12px; font-size: .9rem; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.checklist li:last-child { border: 0; }
.checklist .ok { color: var(--ok-700); }
.checklist .no { color: var(--line); }
.progress { height: 8px; border-radius: 999px; background: var(--brand-100); overflow: hidden; margin: 8px 0 14px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-600), var(--brand-400) 70%, var(--gold-500)); }

.plan-summary { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.plan-summary .name { font-family: var(--font-serif); font-size: 1.4rem; color: var(--brand-900); font-weight: 600; }
.welcome { background: var(--grad-brand); color: var(--white); border: 0; position: relative; overflow: hidden; }
.welcome h1, .welcome h2 { color: var(--white); }
.welcome p { color: #fbe3ec; }
.welcome .eyebrow { color: var(--gold-200); }
.welcome::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(241,220,178,.22); }
.welcome .badge { position: relative; z-index: 1; }

.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 40px; gap: 10px; align-items: center; font-size: .88rem; }
.bar-row .track { display: block; height: 10px; background: var(--brand-100); border-radius: 999px; overflow: hidden; }
.bar-row .fill { display: block; height: 100%; background: var(--brand-400); border-radius: 999px; }
.bar-row .fill.gold { background: var(--gold-500); }
.bar-row .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

details.disclosure { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
details.disclosure > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::after { content: "+"; font-size: 1.2rem; color: var(--muted); }
details.disclosure[open] > summary::after { content: "–"; }
details.disclosure > div { padding: 0 14px 14px; }
details.disclosure + details.disclosure { margin-top: 10px; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose li { margin-bottom: .3em; }
.inline-form { display: inline; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; }
.text-right { text-align: right; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ajustes */
.cards > .card + .card, .cards > form.card + form.card { margin-top: 0; }
.plan-card .badge, .card-head .badge { align-self: flex-start; }
.nav a > span:first-of-type, .nav .nav-soon > span:first-of-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nav .tag { font-size: .58rem; padding: 2px 6px; flex: none; }

/* identidade da logo */
.hero-logo { width: min(420px, 100%); justify-self: center; }
.hero-side { display: grid; gap: 18px; justify-items: center; }
.hero .eyebrow { color: var(--brand-600); }
.auth-logo { display: block; width: 88px; height: 88px; margin: 0 0 10px; }
.ornament { display: flex; align-items: center; gap: 10px; color: var(--brand-400); margin: 6px 0 14px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.public-header .brand-name-img { height: 34px; }
.method b { color: var(--brand-600); }
.modality .tier.pro, .badge.gold { background: var(--gold-50); color: var(--gold-600); border: 1px solid var(--gold-200); }
.plan-card.pro { border-color: var(--brand-200); background: linear-gradient(180deg, #fff6f9, var(--white) 40%); }
.kpi.accent { border-color: var(--brand-200); background: linear-gradient(180deg, #fff3f7, var(--white)); }
.notice-strip { background: var(--gold-50); border-color: var(--gold-200); }
.avatar { background: var(--brand-100); color: var(--brand-800); border-color: var(--brand-200); }
.tabs a[aria-current="page"] { border-color: var(--brand-600); }
.bottom-nav [aria-current="page"] { color: var(--brand-600); }
.modality-grid > .modality:last-child:nth-child(odd) { grid-column: 1 / -1; }
.modality .card-inner { display: block; } .modality .price { display: block; margin-top: 4px; }
/* Oferta Fundadora */
.offer-banner { background: var(--grad-brand); color: #fff; border-radius: var(--radius); padding: 18px 20px; margin: 6px 0 18px; box-shadow: 0 6px 20px rgba(194,36,95,.22); }
.offer-banner p { margin: 0; font-size: 1rem; }
.offer-banner .offer-title { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 6px; }
.offer-banner s { opacity: .8; }
.offer-banner .offer-deadline { margin-top: 6px; font-size: .88rem; color: var(--gold-200); font-weight: 700; }
.modality .tier.founder { background: var(--grad-brand); color: #fff; border: 0; margin-left: 4px; }
.old-price { color: var(--muted); font-size: 1rem; font-weight: 400; margin-right: 4px; }
.new-price { color: var(--brand-600); }
.badge.founder { background: var(--grad-brand); color: #fff; border: 0; }
.card.new-link { border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(242,98,134,.18); }
