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

:root {
  --black:  #0d0d0d;
  --dark:   #111111;
  --panel:  #171717;
  --border: #272727;
  --muted:  #444444;
  --mid:    #767676;
  --light:  #ababab;
  --off:    #e8e4dd;
  --white:  #f2ede6;
  --red:    #c01818;
  --red2:   #950f0f;
  --green:  #2fae66;
  --amber:  #d1a13a;
  --shadow: 0 24px 70px rgba(0,0,0,.45);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); }

.lbl {
  font-size: 13px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); display: block; margin-bottom: 20px;
}
.h2 { font-size: clamp(28px,3.2vw,42px); font-weight: 300; line-height: 1.12; letter-spacing: -.018em; }

/* DOGMA 2026-08-15: links NUNCA reagem ao hover (só .btn mantêm hover de CTA). */

/* ── NAV ── */
nav.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
nav.topnav.on {
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}
.nlogo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nlogo img { width: 32px; height: 32px; object-fit: contain; }
.nbrand { font-size: 14px; font-weight: 400; letter-spacing: .01em; color: var(--white); line-height: 1.2; white-space: nowrap; }
.nbrand small { display: block; font-size: 13px; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: var(--off); opacity: .86; }
.nlinks { display: flex; align-items: center; gap: 22px; list-style: none; flex-wrap: nowrap; }
.nlinks a { font-size: 13px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.hbg { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 2px; }
.hbg span { display: block; width: 22px; height: 1px; background: var(--light); }
.mob { display: none; position: fixed; inset: 0; z-index: 400; background: rgba(13,13,13,.97); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.mob.open { display: flex; }
.mob a { font-size: 26px; font-weight: 200; letter-spacing: -.02em; color: var(--white); text-decoration: none; }
.mob-x { position: absolute; top: 22px; right: 26px; background: none; border: none; color: var(--mid); font-size: 24px; cursor: pointer; }

/* ── uniform buttons: every first-row control shares the same box model ── */
.btn {
  height: 40px; padding: 0 22px;
  font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 2px; cursor: pointer; border: none;
  transition: all .22s; white-space: nowrap;
}
.btn-fill { background: var(--red); color: var(--white); border: 1px solid var(--red); }
.btn-fill:hover { background: transparent; color: var(--red); }
.btn-ghost { background: transparent; color: var(--light); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--light); color: var(--white); }

/* ── HERO ── */
#hero { padding: 150px 56px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.75fr); gap: 60px; align-items: start; }
.hero-tag { font-size: 13px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--red); margin-bottom: 30px; }
.hero-h { font-size: clamp(34px,4.6vw,58px); font-weight: 300; line-height: 1.08; letter-spacing: -.018em; margin-bottom: 26px; max-width: 760px; }
.hero-h em { font-style: normal; color: var(--red); }
.hero-h .break { display: block; }
.hero-line { display: flex; align-items: flex-start; gap: 0; margin-bottom: 40px; }
.hero-line-bar { width: 36px; height: 1px; background: var(--red); margin-right: 20px; flex-shrink: 0; margin-top: 12px; }
.hero-sub { font-size: 18px; font-weight: 300; color: var(--light); line-height: 1.8; max-width: 620px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }
.hero-foot { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); }
.hero-stat { padding: 24px 0; border-right: 1px solid var(--border); }
.hero-stat:not(:first-child) { padding-left: 28px; }
.hero-stat:last-child { border-right: none; }
.stat-n { font-size: 28px; font-weight: 200; letter-spacing: -.02em; color: var(--white); line-height: 1; }
.stat-n span { color: var(--red); }
.stat-l { font-size: 13px; font-weight: 300; color: var(--mid); margin-top: 6px; letter-spacing: .03em; }

.signup { background: var(--panel); border: 1px solid var(--border); padding: 30px; box-shadow: var(--shadow); }
.signup h2 { font-size: 22px; font-weight: 300; margin: 0 0 6px; }
.signup p { margin: 0 0 22px; color: var(--mid); font-size: 13px; line-height: 1.6; }
label { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--light); font-weight: 400; margin: 14px 0 7px; }
input { width: 100%; border: 1px solid var(--border); background: var(--black); color: var(--white); border-radius: 2px; padding: 12px 13px; font-size: 14px; font-family: inherit; }
input:focus { outline: none; border-color: var(--red2); }
.signup select { width: 100%; border: 1px solid var(--border); background: var(--black); color: var(--white); border-radius: 2px; padding: 12px 13px; font-size: 14px; font-family: inherit; color-scheme: dark; }
.signup select:focus { outline: none; border-color: var(--red2); }
.msg { min-height: 20px; margin-top: 12px; color: #ff9b9b; font-size: 13px; white-space: pre-wrap; }
.msg.success {
  color: #d9fbe7;
  background: rgba(47,174,102,.14);
  border: 1px solid rgba(47,174,102,.38);
  padding: 13px 14px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.55;
}
.fine { font-size: 13px; color: var(--mid); margin-top: 14px; line-height: 1.6; }

.oauth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--mid); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.oauth-divider::before, .oauth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.btn-oauth { width: 100%; height: 44px; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--border); background: var(--black); color: var(--white); font-size: 13px; font-weight: 400; text-decoration: none; border-radius: 2px; transition: border-color .2s, background .2s; }
.btn-oauth:hover { border-color: var(--light); background: rgba(255,255,255,.03); }
.btn-oauth svg { width: 17px; height: 17px; flex-shrink: 0; }

section { max-width: 1320px; margin: 0 auto; }
.pad { padding: 110px 56px; }
.section-hdr { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); padding-bottom: 34px; flex-wrap: wrap; }
.section-hdr p { max-width: 460px; color: var(--mid); font-size: 14px; line-height: 1.7; }

/* ── ECOSSISTEMA ── */
#ecossistema { border-top: 1px solid var(--border); background: var(--dark); }
.eco-grid { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--border); margin-top: 0; }
.eco-card { padding: 40px 32px 44px; border-right: 1px solid var(--border); position: relative; transition: background .25s; height: 100%; box-sizing: border-box; }
.eco-card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.eco-card:last-child { border-right: none; }
.eco-card::after { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--red); transition: width .4s; }
.eco-card.here { background: rgba(192,24,24,.06); }
.eco-tag { font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.eco-tag.here-tag { color: var(--green); }
.eco-title { font-size: 19px; font-weight: 400; margin-bottom: 12px; line-height: 1.3; }
.eco-desc { font-size: 13px; color: var(--mid); line-height: 1.72; margin-bottom: 18px; }
.eco-items { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.eco-items li { font-size: 13px; color: var(--light); padding-left: 14px; position: relative; }
.eco-items li::before { content: '—'; position: absolute; left: 0; color: var(--red); }

/* ── COMO FUNCIONA / TERMINAL ── */
#como-funciona { border-top: 1px solid var(--border); }
.flow-inner { display: grid; grid-template-columns: minmax(0,.82fr) minmax(360px,.72fr); gap: 60px; align-items: center; margin-top: 46px; }
.flow-steps { list-style: none; }
.flow-step { position: relative; display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.flow-step:first-child { border-top: 1px solid var(--border); }
.flow-n { flex: 0 0 auto; font-size: 30px; font-weight: 100; color: var(--border); line-height: 1; letter-spacing: -.03em; width: 40px; transition: color .3s; }
.flow-step.active .flow-n { color: var(--red); }
.flow-step h3 { font-size: 15px; font-weight: 400; margin-bottom: 4px; color: var(--white); transition: color .25s; }
.flow-step.active h3 { color: var(--red); }
.flow-step p { margin: 0; font-size: 13px; color: var(--mid); line-height: 1.6; }

.terminal { background: #080808; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.terminal-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--panel); border-bottom: 1px solid var(--border); }
.terminal-dot { width: 9px; height: 9px; border-radius: 50%; }
.terminal-head span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mid); margin-left: 2px; }
.terminal-cursor { width: 6px; height: 12px; background: var(--red); margin-left: auto; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal-body { position: relative; height: 264px; overflow: hidden; font-family: "SFMono-Regular",Consolas,Menlo,monospace; font-size: 13px; }
.sped-line { display: flex; gap: 10px; padding: 6px 14px; color: var(--mid); border-bottom: 1px solid rgba(255,255,255,.04); white-space: nowrap; transition: background .2s,color .2s; }
.sped-line .l-reg { color: #4b4b4b; width: 44px; flex: 0 0 auto; }
.sped-line .l-desc { overflow: hidden; text-overflow: ellipsis; flex: 1; }
.sped-line .l-val { color: #4b4b4b; flex: 0 0 auto; }
.sped-line.scan { background: rgba(192,24,24,.14); color: var(--off); }
.sped-line.scan .l-reg { color: var(--red); }
.sped-line.credit { background: rgba(47,174,102,.1); color: #cdeedb; }
.sped-line.credit .l-reg { color: var(--green); }
.sped-line.credit .l-val { color: var(--green); font-weight: 700; }
.terminal-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--panel); border-top: 1px solid var(--border); }
.terminal-foot span { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--mid); }
.terminal-foot strong { font-size: 18px; color: var(--green); font-family: "SFMono-Regular",Consolas,Menlo,monospace; }

/* ── TREINAMENTO ── */
#videos { border-top: 1px solid var(--border); background: #0f0f0f; }
.training-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 44px; }
.training-card { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.training-thumb { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; background: #090909; border-bottom: 1px solid var(--border); }
.training-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.training-body h3 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 400; color: var(--white); }
.training-body p { margin: 0; color: var(--mid); font-size: 13px; line-height: 1.58; flex: 1; }
.training-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.training-meta span { color: var(--mid); font-size: 13px; }
.training-meta .btn { height: 36px; padding: 0 14px; font-size: 13px; }
.training-video-card { margin-top: 44px; background: var(--panel); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; max-width: 960px; margin-left: auto; margin-right: auto; }
.training-video-card video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.training-video-card .training-video-caption { padding: 16px 20px; color: var(--mid); font-size: 13px; text-align: center; border-top: 1px solid var(--border); }

/* ── PLANOS / TABELA ── */
#planos { border-top: 1px solid var(--border); background: var(--dark); }
.plans-table-wrap { margin-top: 44px; overflow-x: auto; border: 1px solid var(--border); background: rgba(255,255,255,.012); }
.plans-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.plans-table th, .plans-table td { border-bottom: 1px solid var(--border); border-right: 2px solid rgba(255,255,255,.045); padding: 13px 14px; text-align: center; }
.plans-table th:last-child, .plans-table td:last-child { border-right: none; }
.plans-table td:first-child, .plans-table th:first-child { text-align: left; width: 260px; color: var(--light); }
.plans-table thead th { position: relative; height: 116px; vertical-align: middle; background: rgba(255,255,255,.008); }
.plans-table thead th.featured, .plans-table tbody td.featured, .plans-table tfoot td.featured { background: rgba(192,24,24,.12); }
.pt-badge { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--red); color: var(--white); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 0 0 3px 3px; white-space: nowrap; }
.pname { font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.pprice { font-size: 14px; color: var(--mid); font-weight: 300; }
.pt-feature { font-size: 13px; color: var(--light); }
.pt-yes { color: var(--green); font-size: 16px; }
.pt-yes small { display: block; font-size: 13px; color: var(--mid); font-weight: 400; margin-top: 1px; }
.pt-no { color: var(--muted); font-size: 15px; }
.pt-opt { color: var(--amber); font-size: 13px; }
.plans-table tfoot td { border-bottom: none; padding: 18px 14px 16px; vertical-align: bottom; }
.plans-table .btn { width: 100%; max-width: 178px; margin: 0 auto 10px; }
/* Preço sempre numa linha só ("R$ 399 /mês"): flex com nowrap. Como texto corrido, o Safari quebrava
   entre "R$", o número grande e "/mês" (3 linhas). */
.price-foot { font-size: 13px; color: var(--light); line-height: 1; display: flex; flex-wrap: nowrap; align-items: baseline; justify-content: center; gap: 4px; white-space: nowrap; }
.price-foot strong { font-size: 24px; color: var(--white); font-weight: 300; letter-spacing: -.02em; }
.price-foot span { color: var(--mid); font-size: 13px; }
.cancel-foot { margin-top: 8px; font-size: 13px; color: var(--mid); letter-spacing: .04em; }
.plans-note { margin-top: 26px; font-size: 13px; color: var(--mid); line-height: 1.7; }

/* Quadro de planos no celular: um cartão por plano, montado a partir da tabela por
   /planos-cards.js. No desktop os cartões nem aparecem; abaixo de 760px a tabela some. */
.plans-cards { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .plans-table-wrap { display: none; }
  .plans-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
  .plan-card { border: 1px solid var(--border); background: rgba(255,255,255,.015); padding: 20px 16px 18px; min-width: 0; }
  .plan-card.featured { border-color: rgba(192,24,24,.55); background: rgba(192,24,24,.08); }
  .plan-card-top { position: relative; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
  .plan-card-badge { display: inline-block; margin-bottom: 10px; background: var(--red); color: var(--white); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; }
  .plan-card-linha { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
  .plan-card-linha .pname { margin: 0; letter-spacing: .08em; }
  .plan-card-linha .pprice { font-size: 13px; }
  .plan-card-linha .price-foot { margin: 0 0 0 auto; justify-content: flex-end; }

  .plan-card-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
  .plan-card-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; font-size: 14px; line-height: 1.45; color: var(--light); overflow-wrap: anywhere; }
  .plan-card-list li small { font-size: 13px; color: var(--mid); }
  .plan-card-list li.sim .plan-card-mark { color: var(--green); }
  .plan-card-list li.nao { color: var(--mid); }
  .plan-card-list li.nao .plan-card-mark { color: var(--muted); }
  .plan-card .btn { width: 100%; white-space: normal; text-align: center; }
  .plan-card .cancel-foot { text-align: center; }
}
@media (max-width: 360px) {
  /* telas muito estreitas (iPhone SE): preço e nome mais compactos para caber numa linha */
  .plan-card-linha { gap: 4px 6px; }
  .plan-card-linha .pname { letter-spacing: .04em; }
  .plan-card-linha .price-foot strong { font-size: 19px; }
}


/* ── BETA MODAL ── */
.beta-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.beta-modal.open { display: flex; }
.beta-box {
  width: min(520px, 100%);
  background: linear-gradient(180deg, rgba(28,28,28,.98), rgba(12,12,12,.98));
  border: 1px solid rgba(192,24,24,.52);
  box-shadow: 0 26px 90px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,.035) inset;
  border-radius: 8px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.beta-box::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(192,24,24,.25), var(--green));
}
.beta-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  color: var(--light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.beta-close:hover { color: var(--white); border-color: var(--red); }
.beta-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-right: 38px; }
.beta-head img { width: 38px; height: 38px; object-fit: contain; }
.beta-kicker { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.beta-title { font-size: 24px; line-height: 1.15; font-weight: 300; color: var(--white); letter-spacing: -.015em; }
.beta-text { color: var(--light); font-size: 15px; line-height: 1.72; margin: 16px 0 22px; }
.beta-text strong { color: var(--white); font-weight: 400; }
.beta-note {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.018);
  padding: 14px 16px;
  color: var(--mid);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.beta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.beta-actions .btn { flex: 1 1 180px; }
.confirm-modal .beta-box { border-color: rgba(47,174,102,.55); }
.confirm-modal .beta-box::before { background: linear-gradient(90deg, var(--green), rgba(47,174,102,.28), var(--red)); }
.confirm-modal .beta-kicker { color: var(--green); }

/* ── FOOTER ── */
/* 2026-10-13: rodapé em 2 linhas, centralizado — 1ª linha o aviso (logo + ©/CNPJ/posicionamento), 2ª os links. */
footer { padding: 30px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.fbrand { display: flex; align-items: center; justify-content: center; gap: 12px; }
.fbrand img { width: 20px; object-fit: contain; }
.fbrand span { font-size: 13px; font-weight: 400; color: var(--white); text-align: center; }
.fcopy { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.fnav { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; list-style: none; margin: 0; padding: 0; }
.fnav a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }

@media (max-width: 1050px) {
  .hero-grid, .flow-inner { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .eco-grid { grid-template-columns: 1fr; }
  .eco-card { border-right: none; border-bottom: 1px solid var(--border); }
  /* item de grid não encolhe abaixo do conteúdo sem min-width:0 — a lista de registros
     "0150/0200/A100/..." sem espaço empurrava a página para fora da tela no celular */
  .eco-grid > * { min-width: 0; }
  .eco-items li { overflow-wrap: anywhere; }
  .training-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
/* nav vira hambúrguer um pouco mais cedo (7 itens de menu) */
@media (max-width: 1150px) {
  .nlinks { display: none; }
  .hbg { display: flex; }
}
@media (max-width: 640px) {
  nav.topnav, #hero, .pad { padding-left: 22px; padding-right: 22px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); padding-left: 0 !important; }
  .training-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-ghost:not(.keep-mobile) { display: none; }
  /* rótulos longos de botão não podem estourar a viewport no celular */
  .subpage .btn { white-space: normal; text-align: center; max-width: 100%; }
}
/* Topo no celular (2026-10-14): nome da marca numa linha só (sem o subtítulo) e "Criar acesso" e
   "Login" empilhados, com o menu ao lado — lado a lado eles empurravam a barra além da tela. */
@media (max-width: 640px) {
  nav.topnav { padding-left: 16px; padding-right: 16px; }
  .nlogo { gap: 8px; min-width: 0; }
  .nbrand { white-space: nowrap; }
  .nbrand small { display: none; }
  .nav-actions { display: grid; grid-template-columns: auto auto; column-gap: 10px; row-gap: 6px; align-items: center; }
  .nav-actions .btn { grid-column: 1; height: 32px; padding: 0 12px; letter-spacing: .06em; width: 100%; }
  .nav-actions .hbg { grid-column: 2; grid-row: 1 / span 2; }
  /* Linha acima do título: em maiúsculas espaçadas não cabe no celular. (Linha única só na página
     inicial, cujo texto é curto — ver index.html.) */
  .hero-tag { text-transform: none; letter-spacing: .02em; }
}

/* ── SUBPÁGINAS DE MARKETING (Funcionalidades, detalhe da funcionalidade, Contato) ── */
.subpage { padding-top: 118px; }
.page-lead { padding: 60px 56px 0; }
.page-lead .h2 { max-width: 900px; margin-top: 14px; }
.page-lead .lead-sub { max-width: 780px; margin-top: 22px; color: var(--light); font-size: 17px; line-height: 1.8; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mid); text-decoration: none; margin-bottom: 26px; transition: color .2s; }
.back-link::before { content: '←'; color: var(--red); }

/* prosa longa das funcionalidades */
.prose { max-width: 860px; }
.prose h3 { font-size: clamp(20px,2vw,26px); font-weight: 300; letter-spacing: -.01em; color: var(--white); margin: 52px 0 16px; padding-top: 30px; border-top: 1px solid var(--border); }
.prose h3:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.prose h4 { font-size: 15px; font-weight: 500; color: var(--off); margin: 26px 0 10px; letter-spacing: .01em; }
.prose p { color: var(--light); font-size: 16px; line-height: 1.85; margin: 0 0 16px; }
.prose p strong, .prose li strong { color: var(--white); font-weight: 500; }
.prose ul { list-style: none; margin: 4px 0 18px; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--light); font-size: 15px; line-height: 1.72; }
.prose ul li::before { content: '—'; position: absolute; left: 0; color: var(--red); }

/* caixas: pode / não pode / por quê */
.callouts { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin: 26px 0 10px; }
.callout { border: 1px solid var(--border); background: rgba(255,255,255,.015); padding: 22px 24px; border-left: 2px solid var(--mid); }
.callout .c-tag { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.callout p { font-size: 14px; line-height: 1.7; color: var(--light); margin: 0; }
.callout.do { border-left-color: var(--green); }
.callout.do .c-tag { color: var(--green); }
.callout.dont { border-left-color: var(--red); }
.callout.dont .c-tag { color: var(--red); }
.callout.why { border-left-color: var(--amber); }
.callout.why .c-tag { color: var(--amber); }

/* selo de segurança/privacidade */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 6px; }
.pill { font-size: 13px; letter-spacing: .06em; color: var(--off); border: 1px solid var(--border); background: rgba(47,174,102,.06); padding: 7px 13px; border-radius: 2px; }
.pill::before { content: '🔒'; margin-right: 8px; filter: grayscale(1) brightness(1.4); }

/* contato */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.7fr); gap: 48px; margin-top: 40px; align-items: start; }
.contact-info .ci-item { border-top: 1px solid var(--border); padding: 22px 0; }
.contact-info .ci-item:last-child { border-bottom: 1px solid var(--border); }
.contact-info .ci-label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.contact-info .ci-value { font-size: 18px; font-weight: 300; color: var(--white); text-decoration: none; }
.contact-info .ci-note { font-size: 13px; color: var(--mid); margin-top: 6px; }
.contact-form { background: var(--panel); border: 1px solid var(--border); padding: 30px; box-shadow: var(--shadow); }
.contact-form textarea { width: 100%; border: 1px solid var(--border); background: var(--black); color: var(--white); border-radius: 2px; padding: 12px 13px; font-size: 14px; font-family: inherit; min-height: 130px; resize: vertical; }
.contact-form textarea:focus { outline: none; border-color: var(--red2); }
.contact-form .btn-fill { width: 100%; margin-top: 20px; }

@media (max-width: 860px) {
  .callouts, .contact-grid { grid-template-columns: 1fr; }
  .page-lead, .subpage { padding-left: 22px; padding-right: 22px; }
  .page-lead { padding-right: 22px; padding-left: 22px; }
}
@media (max-width: 700px) {
  /* mobile-first: nada de lista em 2 colunas nem grid de cards multi-coluna no celular */
  .prose ul[style*="column"] { columns: 1 !important; }
  .page-lead .lead-sub { font-size: 15px; }
  .prose p { font-size: 15px; }
  footer { flex-direction: column; align-items: center; padding: 26px 16px; }
  /* Rodapé no celular: só a primeira letra maiúscula e sem espaçamento de letras. Com 6 links (Quem somos,
     2026-10-13) eles não cabem numa linha só: quebram em linhas centralizadas, sem rolagem lateral. */
  .fnav { width: 100%; flex-wrap: wrap; justify-content: center; column-gap: 16px; row-gap: 10px; }
  .fnav a { text-transform: none; letter-spacing: 0; white-space: nowrap; }
  /* ordem no celular: logo, a frase e só então a linha de links */
  footer .fbrand { order: 1; }
  footer .fcopy { order: 2; }
  footer .fnav { order: 3; }
  nav.topnav { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 340px) {
  footer { padding-left: 10px; padding-right: 10px; }
  .fnav { column-gap: 12px; }
}

/* ── DOGMA (2026-09-17): texto corrido sempre JUSTIFICADO ──
   Parágrafos, listas e descrições do site. Botões, rótulos, títulos, números e tabelas ficam fora. */
.hero-sub, .signup p, .section-hdr p, .eco-desc, .eco-items li, .flow-step p, .plans-note, .fine,
.prose p, .prose ul li, .callout p, .page-lead .lead-sub, .contact-info .ci-note,
.plan-card-list li > span:not(.plan-card-mark), .beta-text {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}


/* ── Assessor Tributário: cabeçalho do site sobre o conteúdo clonado ── */
.mk { text-transform:none !important; white-space:nowrap; }
nav.topnav, nav.topnav.on { background:var(--black); border-color:var(--border); backdrop-filter:none; -webkit-backdrop-filter:none; padding:22px 56px; }
.nbrand small { letter-spacing:.2em; color:var(--mid); opacity:1; }
.nlinks { margin-left:auto; gap:16px; } .nlinks a { letter-spacing:.02em; }
@media (min-width:1600px){ .nlinks{gap:24px} .nlinks a{letter-spacing:.06em} }
.nlinks .ncta { color:var(--red); border:1px solid var(--red2); padding:8px 14px; }
.nlinks a.cur { color:var(--white); }
.lsw { display:flex; align-items:center; gap:8px; margin-left:16px; font-size:13px; letter-spacing:.02em; }
.lsw a { color:var(--mid); text-decoration:none; } .lsw a.lsw-cur { color:var(--white); } .lsw-sep { color:var(--muted); }
.mob { gap:min(22px,2.4vh); } .mob a { font-size:min(26px,4.2vh); }
@media (max-width:1420px){ .nlinks{display:none} .hbg{display:flex} .lsw{margin-left:auto;margin-right:24px} }
@media (max-width:900px){ nav.topnav,nav.topnav.on{display:flex;padding:18px 24px} .nlogo{flex:0 1 auto} }
@media (max-width:640px){ .nbrand small{display:block!important;font-size:13px;letter-spacing:.04em} }
@media (max-width:360px){ nav.topnav,nav.topnav.on{padding:18px 16px} .lsw{margin-right:14px;gap:5px} .nbrand small{letter-spacing:.04em} }
main p, main li { text-align:justify; } .hero-tag,.training-video-caption,.cs-stat-lbl { text-align:inherit !important; }
.section-hdr p { max-width:none; flex:1 1 100%; }
.sv-grid { list-style:none; display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:34px; }
.sv-grid li { background:var(--panel); border:1px solid var(--border); border-top:2px solid var(--red); padding:26px; font-size:15px; line-height:1.7; color:#FFFAFA; }
.sv-grid b { display:block; font-size:18px; font-weight:400; margin-bottom:10px; text-align:left; }
@media (max-width:900px){ .sv-grid{grid-template-columns:1fr} }
main section[id] { scroll-margin-top:70px; }
.consulta-ex { list-style:none; display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:34px; }
.consulta-ex li { border:1px solid var(--border); background:var(--panel); padding:18px 20px; font-size:15px; color:#FFFAFA; text-align:left; }
.consulta-nota { margin-top:24px; font-size:14px; line-height:1.7; color:var(--light); }
@media (max-width:760px){ .consulta-ex{grid-template-columns:1fr} }
