/* Portal do Sistema Anive, por Valentis Solutions.
   Identidade visual da marca Anive (canvas "Logo Anive"):
   Noite #07051A · Magenta #FF2FD2 · Violeta #6A1BFF · Azul #3B5BFF · Ciano #00E5FF · Tinta #120C33.
   Outfit SemiBold nos títulos e no logotipo; Noto Serif em caixa alta espaçada no descritor.
   Azul nos interativos sobre fundo claro, ciano sobre a noite; magenta como acento. */
:root {
  --noite: #07051A;       /* fundo da marca: abertura, rodapé, tema escuro */
  --tinta: #120C33;       /* texto da marca sobre fundo claro */
  --magenta: #FF2FD2; --violeta: #6A1BFF; --azul: #3B5BFF; --ciano: #00E5FF;
  --grad-marca: linear-gradient(120deg, #C41DDB 0%, #6A1BFF 50%, #3B5BFF 100%);   /* botão principal (texto branco ≥ 4,6:1) */
  --grad-linha: linear-gradient(90deg, #FF2FD2, #6A1BFF 50%, #00E5FF);           /* linhas de destaque */

  --bg: #F5F4FB;          /* fundo geral */
  --bg-2: #ECEAF7;        /* faixas alternadas */
  --surface: #FFFFFF;
  --line: #E2DFF1;
  --line-2: #CAC5E6;
  --ink: var(--tinta);
  --ink-2: #33305A;
  --muted: #4A4566;
  --link: #3B4FF0;        /* azul da marca para links sobre o claro (5,9:1) */
  --link-hover: #2233C0;
  --focus: #3B4FF0;
  --descritor: #3B4FF0;   /* descritor em Noto Serif: azul no claro, ciano no escuro */
  --acento: #B4128F;      /* magenta legível sobre o claro (6,1:1) */
  --acento-soft: rgba(255, 47, 210, .1);
  --noite-ink: #F2F0FF;
  --noite-muted: #A9A3CF;
  --noite-linha: rgba(255, 255, 255, .12);
  --ok: #137549;
  --radius-s: 8px;
  --radius: 14px;
  --sombra: 0 1px 2px rgba(18, 12, 51, .06), 0 10px 28px -14px rgba(18, 12, 51, .22);
  --sombra-btn: 0 10px 22px -12px rgba(106, 27, 255, .75);
  --f-texto: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-titulo: "Outfit", "Hanken Grotesk", system-ui, sans-serif;
  --f-descritor: "Noto Serif", Georgia, "Times New Roman", serif;
  --larg: 1160px;
  --texto: 68ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07051A; --bg-2: #0D0A26; --surface: #13102F; --line: #262150; --line-2: #3A3470;
    --ink: #F2F0FF; --ink-2: #D3CFEE; --muted: #A9A3CF;
    --link: #19D3F0; --link-hover: #7FF2FF; --focus: #19D3F0; --descritor: #19D3F0;
    --acento: #FF5CE8; --acento-soft: rgba(255, 92, 232, .12);
    --sombra: 0 1px 2px rgba(0, 0, 0, .45), 0 12px 30px -14px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07051A; --bg-2: #0D0A26; --surface: #13102F; --line: #262150; --line-2: #3A3470;
  --ink: #F2F0FF; --ink-2: #D3CFEE; --muted: #A9A3CF;
  --link: #19D3F0; --link-hover: #7FF2FF; --focus: #19D3F0; --descritor: #19D3F0;
  --acento: #FF5CE8; --acento-soft: rgba(255, 92, 232, .12);
  --sombra: 0 1px 2px rgba(0, 0, 0, .45), 0 12px 30px -14px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-texto); }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
/* Títulos em Outfit SemiBold, entrelinha e espaçamento da marca */
h1, h2, h3, h4 { font-family: var(--f-titulo); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p, ul, ol { margin: 0 0 1em; }
p, li { max-width: var(--texto); }
code { font: .9em/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-2); padding: .1em .35em; border-radius: 4px; }
strong { font-weight: 650; }
/* Descritor da marca: Noto Serif, caixa alta, espaçado (como "SISTEMA DE GESTÃO" no logotipo) */
.descritor, .etiqueta { font-family: var(--f-descritor); font-weight: 400; text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; line-height: 1.5; color: var(--descritor); }

.pular { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--surface); padding: 8px 14px; border-radius: var(--radius-s); }
.pular:focus { top: 12px; }

/* ---------- Topo ---------- */
.topo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad-linha); opacity: .85; }
.topo { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
.topo-in { max-width: var(--larg); margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; gap: 24px; }
.marca { display: flex; color: var(--ink); flex: none; }
.logo-svg { height: 34px; width: auto; display: block; }
.simbolo { display: block; width: 100%; height: auto; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu > a, .menu summary { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 8px 12px; border-radius: var(--radius-s); cursor: pointer; }
.menu > a:hover, .menu summary:hover { background: var(--bg-2); color: var(--ink); }
.menu [aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--link); border-radius: 0; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); }
.sub { position: relative; }
.sub ul { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sombra); }
.sub li a { display: block; padding: 8px 12px; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; }
.sub li a:hover, .sub li a[aria-current="page"] { background: var(--bg-2); }
.menu .entrar { margin-left: 8px; }
.topo-acoes { display: flex; align-items: center; gap: 8px; }
.tema { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
.tema svg { width: 18px; height: 18px; fill: currentColor; }
.abrir-menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-s); background: transparent; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.abrir-menu span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.btn-pri { background: var(--grad-marca); color: #fff; box-shadow: var(--sombra-btn); }
.btn-pri:hover { color: #fff; filter: brightness(1.08) saturate(1.05); }
.btn-sec { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-sec:hover { border-color: var(--link); color: var(--ink); }
.btn { transition: filter .15s, border-color .15s, color .15s; }
.btn-topo { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 .8em; max-width: none; }

/* ---------- Seções ---------- */
.secao { padding: clamp(48px, 7vw, 88px) 0; }
/* Separador entre seções: linha com as cores da marca, aberta no meio para o símbolo cubo-A */
.secao + .secao { position: relative; }
.secao + .secao::before, .secao + .secao::after { content: ""; position: absolute; top: 0; left: 50%; pointer-events: none; }
.secao + .secao::before { width: min(var(--larg) - 40px, calc(100% - 40px)); height: 2px; transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent 0, rgba(255, 47, 210, .55) 18%, rgba(106, 27, 255, .6) calc(50% - 26px), transparent calc(50% - 26px),
    transparent calc(50% + 26px), rgba(59, 91, 255, .6) calc(50% + 26px), rgba(0, 229, 255, .55) 82%, transparent 100%); }
.secao + .secao::after { width: 24px; height: 24px; transform: translate(-50%, -50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-92 -104 184 184'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='-60' y1='-90' x2='60' y2='-10' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23FF2FD2'/%3E%3Cstop offset='1' stop-color='%23FF5CE8'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x1='-86' y1='-50' x2='-10' y2='80' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%235E8BFF'/%3E%3Cstop offset='1' stop-color='%232A9BFF'/%3E%3C/linearGradient%3E%3ClinearGradient id='r' x1='10' y1='-20' x2='80' y2='70' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%236A1BFF'/%3E%3Cstop offset='.55' stop-color='%233B5BFF'/%3E%3Cstop offset='1' stop-color='%2300E5FF'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='0,-100 86.6,-50 0,0 -86.6,-50' fill='url(%23t)'/%3E%3Cpolygon points='-86.6,-50 0,0 0,35 -42,75.75 -86.6,50' fill='url(%23l)'/%3E%3Cpolygon points='0,0 86.6,-50 86.6,50 42,75.75 0,35' fill='url(%23r)'/%3E%3C/svg%3E") center / contain no-repeat; }
.sec-in { max-width: var(--larg); margin: 0 auto; padding: 0 20px; }
.sec-in > h2 { max-width: 24ch; }
.sec-in > h2 + p { color: var(--ink-2); }
.etiqueta { margin-bottom: 1.1em; }
.apoio { color: var(--muted); font-size: .95rem; }
.nota { color: var(--muted); font-size: .92rem; margin-top: 1.4em; }
.migalhas { font-size: .92rem; margin-bottom: 1.2em; }
.migalhas a { color: var(--muted); }

.s-abertura { padding-top: clamp(40px, 6vw, 72px); }
.s-abertura h1 { max-width: 20ch; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.s-abertura .sec-in > p:not(.etiqueta):not(.apoio) { font-size: 1.15rem; color: var(--ink-2); }

/* Início: abertura na noite da marca, com a trilha do cliente (o momento de destaque da página) */
.s-hero { background: var(--noite); color: var(--noite-ink); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.s-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-linha); }
.s-hero + .secao::before, .s-hero + .secao::after { content: none; }
.s-hero .sec-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(32px, 6vw, 80px); align-items: start; position: relative; }
.s-hero .sec-in > * { grid-column: 1; }
.s-hero .etiqueta { color: #19D3F0; }
.s-hero h1 { font-size: clamp(2.6rem, 6.6vw, 4.6rem); max-width: 11ch; margin-bottom: .45em; color: #fff; }
.s-hero .sec-in > p:not(.etiqueta):not(.apoio):not(.acoes) { font-size: 1.2rem; color: var(--noite-muted); max-width: 44ch; }
.s-hero .apoio { color: var(--noite-muted); }
.s-hero a:not(.btn) { color: #19D3F0; }
.s-hero .btn-sec { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.s-hero .btn-sec:hover { border-color: #19D3F0; color: #fff; }
.s-hero :focus-visible { outline-color: #19D3F0; }
.s-hero .trilha { grid-column: 2; grid-row: 1 / span 6; }

.trilha { margin: 0; }
.trilha ol { list-style: none; margin: 0; padding: 0; position: relative; }
.trilha ol::before { content: ""; position: absolute; left: 15px; top: 22px; bottom: 44px; width: 2px; background: linear-gradient(#00E5FF, #6A1BFF 55%, #FF2FD2); border-radius: 2px; }
.trilha li { position: relative; padding: 14px 18px 14px 50px; margin: 0 0 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--noite-linha); border-radius: var(--radius); max-width: none; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; color: var(--noite-ink); animation: entra .5s cubic-bezier(.2, .7, .2, 1) both; }
.trilha li:nth-child(1) { animation-delay: .15s; } .trilha li:nth-child(2) { animation-delay: .26s; } .trilha li:nth-child(3) { animation-delay: .37s; }
.trilha li:nth-child(4) { animation-delay: .48s; } .trilha li:nth-child(5) { animation-delay: .59s; }
.trilha li::before { content: ""; position: absolute; left: 9px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--noite); border: 3px solid #19D3F0; }
.trilha li:nth-child(3)::before, .trilha li:nth-child(4)::before { border-color: #8B6BFF; }
.trilha .tr-et { font-size: .85rem; color: var(--noite-muted); grid-column: 1; }
.trilha .tr-v { font-family: var(--f-titulo); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; grid-column: 1; }
.trilha .tr-s { font-size: .88rem; color: var(--noite-muted); grid-column: 1; }
.trilha .tr-fim { background: var(--grad-marca); border-color: transparent; color: #fff; box-shadow: var(--sombra-btn); }
.trilha .tr-fim::before { border-color: #fff; background: #FF2FD2; }
.trilha .tr-fim .tr-et, .trilha .tr-fim .tr-s { color: rgba(255, 255, 255, .86); }
.trilha .tr-fim .tr-v { font-size: 1.7rem; letter-spacing: -.03em; }
.tr-simbolo { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 46px; height: auto; }
.trilha figcaption { font-size: .82rem; color: var(--noite-muted); padding-left: 50px; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Problema: frase grande sobre o claro */
.s-problema { background: var(--bg-2); }
.s-problema h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); max-width: 22ch; }
.s-problema .sec-in > p { color: var(--ink-2); font-size: 1.15rem; }

/* Passos: sequência real, numerada */
.s-passos ol { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: passo; }
.s-passos li { counter-increment: passo; padding-top: 18px; border-top: 2px solid var(--line-2); color: var(--ink-2); }
.s-passos li::before { content: counter(passo); display: table; font: 600 2.2rem/1 var(--f-titulo); letter-spacing: -.03em; background: var(--grad-marca); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .4em; }
.s-passos li strong { display: block; color: var(--ink); font-family: var(--f-titulo); font-size: 1.15rem; margin-bottom: .2em; }

/* Listas de links (módulos, segmentos, artigos) */
ul.links, .lista-artigos { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; max-width: none; }
ul.links li { max-width: none; }
.item-link { display: block; padding: 16px 28px 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; }
.item-link::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border: solid var(--link); border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); transition: right .15s; }
.item-link:hover { color: var(--ink); }
.item-link:hover::after { right: 0; }
.item-link:hover .il-t { color: var(--link); }
.il-t { display: block; font-weight: 600; font-family: var(--f-titulo); font-size: 1.08rem; }
.il-t strong { font-weight: 600; }
.il-d { display: block; color: var(--muted); font-size: .96rem; }
.s-segmentos ul.links { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; }

/* Cartões (### dentro de uma seção) */
.cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 1.4em; }
.cartao { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.cartao h3 { font-size: 1.15rem; }
.cartao p { color: var(--ink-2); font-size: .98rem; margin-bottom: .6em; }
.cartao p:last-child { margin-bottom: 0; }
.cartao .acoes { margin: .8em 0 0; }
.cartao .acoes .btn { min-height: 0; padding: 0; border: 0; background: none; color: var(--link); font-weight: 600; border-radius: 0; }
.cartao .acoes .btn:hover { text-decoration: underline; }
.esticado { color: inherit; text-decoration: none; }
.esticado::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.cartao:has(.esticado):hover, .cartao:has(.btn):hover { border-color: var(--line-2); }

/* Tabelas */
.tabela { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .97rem; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
tr:last-child > * { border-bottom: 0; }
thead th { font-family: var(--f-titulo); font-weight: 600; background: var(--bg-2); }
.t-l { text-align: left; font-weight: 500; }
tbody th.t-l { font-weight: 400; color: var(--ink-2); }
tr.grupo th { text-align: left; background: var(--bg); font-family: var(--f-titulo); font-weight: 600; color: var(--ink); padding-top: 18px; }
.sim { color: var(--ok); font-weight: 700; }
.nao { color: var(--muted); }
.s-diferencial thead th:last-child, .s-diferencial td:last-child { background: var(--acento-soft); }

/* Perguntas (FAQ) */
.faq { border-bottom: 1px solid var(--line); max-width: 820px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; font-family: var(--f-titulo); font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 9px; height: 9px; border: solid var(--link); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq > div { padding: 0 0 12px; color: var(--ink-2); }
.sec-in > h2 ~ .faq:first-of-type { margin-top: .6em; }

/* Planos */
.ciclo { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin: .4em 0 1.6em; }
.ciclo button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 600 .97rem var(--f-texto); color: var(--ink-2); cursor: pointer; }
.ciclo button span { color: var(--acento); font-weight: 600; }
.ciclo button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sombra); }
.planos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plano { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; scroll-margin-top: 90px; }
.plano header { min-height: 5.2em; }
.plano h3 { display: inline-block; font-size: 1.35rem; margin-bottom: .2em; }
.plano .pl-desc { color: var(--muted); font-size: .96rem; margin: 0; }
.plano-dest { position: relative; border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-linha) border-box; border: 2px solid transparent; padding: 23px 21px; box-shadow: var(--sombra); }
.selo { display: inline-block; margin-left: 8px; vertical-align: 3px; font-size: .78rem; font-weight: 600; color: var(--acento); background: var(--acento-soft); padding: 3px 10px; border-radius: 999px; }
.preco { margin: 14px 0 0; font-family: var(--f-titulo); }
.preco .pv { font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; }
.preco .pu { color: var(--muted); margin-left: 2px; }
.preco-obs { font-size: .88rem; color: var(--muted); min-height: 1.4em; }
.plano ul { list-style: none; padding: 16px 0 0; margin: 0 0 20px; border-top: 1px solid var(--line); flex: 1; font-size: .96rem; }
.plano li { padding: 5px 0 5px 24px; position: relative; color: var(--ink-2); }
.plano li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 6px; border: solid var(--ok); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.plano .acoes { margin: 0; }
.plano .btn { width: 100%; }

.planos-resumo { list-style: none; padding: 0; margin: 1.4em 0 1em; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: none; }
.planos-resumo li { max-width: none; }
.planos-resumo a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; }
.planos-resumo a:hover { border-color: var(--link); }
.pr-n { display: block; font-family: var(--f-titulo); font-weight: 600; }
.pr-v { display: block; font: 700 1.7rem/1.3 var(--f-titulo); }
.pr-v small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.pr-d { display: block; color: var(--muted); font-size: .9rem; }

/* Chamada final */
.s-chamada { background: var(--bg-2); }
.s-chamada h2 { max-width: 26ch; }

/* Ajuda */
.busca { margin: 1.2em 0 .4em; max-width: 620px; }
.busca label { display: block; font-weight: 600; margin-bottom: 6px; }
.busca input { width: 100%; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: var(--radius-s); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); }
.busca input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.busca-vazio { color: var(--muted); margin-top: 10px; }
.pg-ajuda-primeiros-passos h2, [class*="pg-ajuda-"] main h2 { font-size: 1.45rem; margin-top: 1.4em; }
[class*="pg-ajuda-"] .secao + .secao { padding-top: 0; }
[class*="pg-ajuda-"] .secao + .secao::before, [class*="pg-ajuda-"] .secao + .secao::after { content: none; }
[class*="pg-ajuda-"] .secao { padding-bottom: 32px; }

/* Rodapé */
.rodape { background: var(--noite); color: var(--noite-muted); padding: 0 0 28px; margin-top: 0; position: relative; }
.rodape::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-linha); }
.rodape :focus-visible { outline-color: #19D3F0; }
/* Família de marcas: Anive | Valentis Solutions (como no canvas da marca) */
.familia { max-width: var(--larg); margin: 0 auto 40px; padding: 52px 20px 36px; display: flex; align-items: center; gap: clamp(24px, 5vw, 56px); border-bottom: 1px solid var(--noite-linha); }
.familia a { text-decoration: none; }
.familia-anille { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #fff; }
.logo-rodape { height: 52px; width: auto; display: block; }
.familia-anille .descritor { color: #19D3F0; font-size: .74rem; letter-spacing: .3em; }
.familia-divisor { width: 1px; align-self: stretch; min-height: 76px; background: var(--noite-linha); }
.familia-vs img { display: block; width: 168px; height: auto; }
.familia-vs:hover img, .familia-anille:hover { opacity: .9; }
.rodape a { color: var(--noite-ink); text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape-in { max-width: var(--larg); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.rod-col h2 { font-size: .98rem; color: #fff; margin-bottom: .8em; }
.rod-col ul { list-style: none; padding: 0; margin: 0; }
.rod-col li { padding: 4px 0; font-size: .95rem; }
.rodape-fim a { color: var(--noite-ink); }
.rodape-fim { max-width: var(--larg); margin: 40px auto 0; padding: 20px 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .9rem; }
.rodape-fim p { margin: 0; }

/* ---------- Celular e tablet ---------- */
@media (max-width: 1000px) {
  .planos, .planos-resumo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-passos ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-segmentos ul.links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
}
@media (max-width: 880px) {
  .abrir-menu { display: flex; }
  .topo-in { gap: 12px; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--sombra); max-height: calc(100vh - 68px); overflow-y: auto; }
  .menu.aberto { display: flex; }
  .topo-acoes { margin-left: auto; }
  .menu > a, .menu summary { padding: 14px 12px; font-size: 1.05rem; }
  .menu [aria-current="page"] { box-shadow: inset 3px 0 0 var(--link); }
  .sub ul { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .menu .entrar { margin-left: 0; }
  .s-hero .sec-in { grid-template-columns: 1fr; }
  .s-hero .trilha { grid-column: 1; grid-row: auto; margin-top: 28px; }
  .rodape-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .familia { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 40px; }
  .familia-divisor { width: 64px; min-height: 0; height: 1px; align-self: auto; }
  .tr-simbolo { width: 38px; }
  .logo-svg { height: 28px; }
  .btn-topo { padding: 0 14px; }
  .tema { width: 36px; height: 36px; }
  .planos, .planos-resumo, .s-passos ol, ul.links, .lista-artigos, .s-segmentos ul.links { grid-template-columns: 1fr; }
  .plano header { min-height: 0; }
  .acoes .btn { flex: 1 1 100%; }
  .rodape-in { grid-template-columns: 1fr; }
  .ciclo { display: flex; }
  .ciclo button { flex: 1; padding: 10px 8px; }
}
@media (max-width: 360px) { .tema { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .topo, .rodape, .acoes { display: none; } }

/* Ajustes finos */
.s-abertura + .s-planos-cartoes { padding-top: 0; }
.s-abertura + .s-planos-cartoes::before, .s-abertura + .s-planos-cartoes::after { content: none; }
th, td { text-align: left; }
table:has(.sim) td, table:has(.sim) thead th:not(.t-l) { text-align: center; }
.s-chamada .sec-in > .acoes:first-child { margin: 0; }

/* Capturas do painel (dados fictícios), trocam junto com o tema */
.tela { margin: 2.2em 0 0; max-width: none; }
.tela-quadro { position: relative; }
.tela-quadro > img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--sombra); background: var(--surface); }
.tela-com-cel .tela-quadro { margin-right: clamp(40px, 9vw, 120px); }
.tela-cel { position: absolute; right: calc(-1 * clamp(40px, 9vw, 120px)); bottom: -24px; width: clamp(110px, 19%, 210px); }
.tela-cel img { display: block; width: 100%; height: auto; border-radius: 18px; border: 5px solid var(--noite); box-shadow: var(--sombra); }
.tela figcaption { font-size: .85rem; color: var(--muted); margin-top: 36px; }
.tela .t-escuro { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tela .t-claro { display: none !important; }
  :root:not([data-theme="light"]) .tela .t-escuro { display: block !important; }
}
:root[data-theme="dark"] .tela .t-claro { display: none !important; }
:root[data-theme="dark"] .tela .t-escuro { display: block !important; }
@media (max-width: 600px) {
  .tela-com-cel .tela-quadro { margin-right: 0; }
  .tela-cel { right: 8px; bottom: -28px; width: 30%; }
  .tela figcaption { margin-top: 40px; }
}
.nw { white-space: nowrap; }

/* Página do app: QR Code (só no computador; no celular basta o botão) */
.qr-app { margin: 1.4em 0 .4em; display: flex; align-items: center; gap: 20px; }
.qr-app img { width: 168px; height: 168px; padding: 10px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--sombra); }
.qr-app figcaption { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px), (pointer: coarse) and (max-width: 1024px) { .qr-app { display: none; } }
