/* Site da Spiller Software House.
   Cores, fontes e voz em specs/design.md (tirados de marca/MARCA.md da empresa). */

/* ── Temas ────────────────────────────────────────────────────
   Escuro é o padrão do site; Creme é a alternativa do seletor no topo (data-tema="creme"
   no <html>). O laranja da marca é o mesmo nos dois; no creme, o texto pequeno em laranja
   usa um tom mais escuro para passar no contraste AA. */

:root {
  /* Escuro (padrão) */
  --fundo: #101317;
  --fundo-2: #181C21;
  --fundo-3: #1F242A;
  --linha: #2A2F36;
  --linha-2: #3A4048;
  --texto: #EFEDE7;
  --texto-2: #9097A0;
  --laranja: #FF4F1F;
  --laranja-escuro: #E5400F;
  --laranja-texto: #FF4F1F;   /* laranja de texto pequeno (no creme fica mais escuro) */
  --sobre-laranja: #111111;
  --sombra-tela: 0 30px 80px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .04);
  --sombra-chip: 0 10px 30px -10px rgba(0, 0, 0, .7);
  --topo-vidro: rgba(16, 19, 23, .82);
  --rodape: #0B0D10;
  --tela-fundo: #F3F4F6;      /* atrás dos prints, enquanto carregam */
  --aparelho: #0A0C0F;        /* moldura do celular: escura nos dois temas */
  --texto-forte: #FFFFFF;

  --titulo: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --corpo: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --largura: 1200px;
  --lado: clamp(20px, 4vw, 40px);
  --secao: clamp(88px, 11vw, 136px);
  --raio: 14px;
  --raio-grande: 22px;

  color-scheme: dark;
}

:root[data-tema="creme"] {
  --fundo: #F6F1E7;
  --fundo-2: #EFE8DA;
  --fundo-3: #E8DFCD;
  --linha: #E1D7C4;
  --linha-2: #CEC1A8;
  --texto: #1B1814;
  --texto-2: #675E52;
  --laranja-texto: #C2360B;
  --sombra-tela: 0 30px 60px -24px rgba(60, 45, 25, .30), 0 0 0 1px rgba(60, 45, 25, .07);
  --sombra-chip: 0 10px 24px -12px rgba(60, 45, 25, .28);
  --topo-vidro: rgba(246, 241, 231, .86);
  --rodape: #E8DFCD;
  --texto-forte: #000000;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--corpo);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--largura) + var(--lado) * 2); margin: 0 auto; padding: 0 var(--lado); }

.pular {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--laranja); color: var(--sobre-laranja); font-weight: 600;
  padding: 10px 16px; border-radius: 8px; transition: top .2s;
}
.pular:focus { top: 16px; }

/* ── Tipografia ───────────────────────────────────────────── */

h1, h2 {
  font-family: var(--titulo);
  font-stretch: 80%;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-wrap: balance;
}
h1 { font-size: clamp(46px, 6.6vw, 92px); }
h2 { font-size: clamp(36px, 4.6vw, 62px); }
h3 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.destaque { color: var(--laranja); }

.rotulo, .etiqueta, .rotulo-caixa, .chip, .n, .bola, .func-contador, .termos li, .para-quem li, .janela-barra span {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rotulo { font-size: 13px; color: var(--texto-2); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.rotulo::before { content: ''; width: 18px; height: 2px; background: var(--laranja); }

.etiqueta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--texto);
  border: 1px solid var(--laranja); border-radius: 8px;
  padding: 9px 14px; margin-bottom: 28px;
}
.etiqueta::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); flex: none; }

.lead, .intro { color: var(--texto-2); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 34em; }
.intro { margin-top: 22px; }

/* ── Ícones e botões ──────────────────────────────────────── */

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-wa { fill: currentColor; stroke: none; }
.ic-grande { width: 28px; height: 28px; fill: none; stroke: var(--laranja); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--laranja); color: var(--sobre-laranja);
  font-weight: 600; font-size: 16px; border-radius: 8px; border: 1px solid var(--laranja);
  transition: background .2s, border-color .2s, transform .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--laranja-escuro); border-color: var(--laranja-escuro); }
.btn:active { transform: translateY(1px); }
.btn-sec { background: transparent; color: var(--texto); border-color: var(--linha-2); }
.btn-sec:hover { background: transparent; border-color: var(--laranja); color: var(--texto); }
.btn-peq { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-grande { min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn-icone {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--linha-2); border-radius: 8px; color: var(--texto);
  transition: border-color .2s, color .2s;
}
.btn-icone:hover { border-color: var(--laranja); color: var(--laranja-texto); }

/* ── Marca (as três barras do logo) ───────────────────────── */

.marca rect { fill: var(--texto); }
.marca .laranja { fill: var(--laranja); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-txt small { white-space: nowrap; }
.logo .marca { width: 38px; height: auto; }
.logo-txt b { display: block; font-weight: 700; font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.logo-txt small { display: block; font-size: 8.5px; letter-spacing: .32em; color: var(--texto-2); margin-top: 4px; text-transform: uppercase; }

/* ── Topo ─────────────────────────────────────────────────── */

.topo {
  position: sticky; top: 0; z-index: 50;
  background: var(--topo-vidro);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topo.rolou { border-bottom-color: var(--linha); }
.topo-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.menu { display: flex; gap: 36px; font-size: 15px; color: var(--texto-2); }
.menu a { padding: 8px 0; transition: color .2s; }
.menu a:hover { color: var(--texto); }

/* Seletor de tema: três bolinhas com a cor de cada tema */
.temas { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--linha-2); border-radius: 999px; }
.temas button {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid transparent; transition: border-color .2s;
}
.temas button span { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(128, 128, 128, .5); transition: transform .2s; }
.temas button[aria-pressed="true"] { border-color: var(--laranja); }
.temas button:hover span { transform: scale(1.1); }
.tema-escuro span { background: #101317; }
.tema-creme span { background: #F6F1E7; }
.topo-acoes { display: flex; align-items: center; gap: 14px; }

/* ── Abertura ─────────────────────────────────────────────── */

.abertura { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(72px, 8vw, 112px); }
.abertura-in { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; }
.abertura h1 { max-width: 11em; }
.abertura .lead { margin-top: 28px; }
.acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.colagem { position: relative; padding: 36px 0 56px 0; }
.contorno { position: absolute; border: 1px solid var(--linha); border-radius: 26px; pointer-events: none; }
.contorno-a { inset: 0 18% 34% -4%; }
.contorno-b { inset: 30% -3% 0 34%; }
.colagem-janela { position: relative; z-index: 1; margin-left: 6%; }
.colagem-aparelho { position: absolute; z-index: 2; left: 0; bottom: 0; width: clamp(110px, 24%, 180px); }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; padding: 9px 13px; border-radius: 999px;
  background: var(--fundo-2); border: 1px solid var(--linha-2); color: var(--texto);
  box-shadow: var(--sombra-chip);
  animation: flutuar 6s ease-in-out infinite;
}
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--laranja); }
.chip-prazos { top: 14px; left: 14%; }
.chip-ia { top: 30%; right: -6px; animation-delay: -1.5s; }
.chip-campo { bottom: 30px; left: 22%; animation-delay: -3s; }
.chip-mapa { bottom: 4px; right: 12%; animation-delay: -4.5s; }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.descer {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 44px; height: 44px; display: none; place-items: center; color: var(--laranja);
}

/* ── Molduras de tela ─────────────────────────────────────── */

.janela {
  border-radius: 14px; overflow: hidden;
  background: var(--tela-fundo); border: 1px solid var(--linha-2);
  box-shadow: var(--sombra-tela);
}
.janela-barra {
  display: flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px;
  background: var(--fundo-3); border-bottom: 1px solid var(--linha);
}
.janela-barra i { width: 9px; height: 9px; border-radius: 50%; background: var(--linha-2); }
.janela-barra span {
  margin-left: 12px; font-size: 10.5px; letter-spacing: .04em; text-transform: none;
  color: var(--texto-2); font-weight: 500;
  background: var(--fundo-2); border: 1px solid var(--linha); border-radius: 6px; padding: 3px 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%;
}
.aparelho {
  border-radius: 32px; overflow: hidden; padding: 7px;
  background: var(--aparelho); border: 1px solid var(--linha-2);
  box-shadow: var(--sombra-tela);
}
.aparelho img { border-radius: 26px; }

/* ── Faixa do vocabulário ─────────────────────────────────── */

.lingua { background: var(--fundo-2); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); padding: 44px 0 40px; text-align: center; }
.rotulo-caixa {
  display: inline-block; font-size: 12px; color: var(--sobre-laranja); background: var(--laranja);
  padding: 7px 12px; border-radius: 4px; margin-bottom: 26px; font-stretch: normal; line-height: 1.2;
}
.termos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 10px; max-width: 980px; margin: 0 auto; }
.termos li { font-size: 13px; font-weight: 500; color: var(--texto); border: 1px solid var(--linha-2); border-radius: 6px; padding: 7px 12px; }
.lingua-nota { margin-top: 22px; color: var(--texto-2); font-size: 15px; }

/* ── Seções ───────────────────────────────────────────────── */

.secao { padding: var(--secao) 0; }
.secao-2 { background: var(--fundo-2); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.secao-2 .cartao { background: var(--fundo); }
.cabeca { margin-bottom: clamp(44px, 5vw, 64px); }
.cabeca-centro { text-align: center; }
.cabeca-centro .rotulo { justify-content: center; }
.cabeca-centro h2 { margin: 0 auto; max-width: 14em; }

.cartao {
  background: var(--fundo-2); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 28px; transition: border-color .25s, background .25s;
}
.cartao h3 { margin-top: 14px; }
.cartao p { color: var(--texto-2); margin-top: 10px; font-size: 16px; line-height: 1.55; }
.n { font-size: 13px; color: var(--laranja-texto); }

/* A dor */
.dores { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 60px); }
.dores .cartao { border-top: 2px solid var(--laranja); }

/* ── O sistema funcionando (abas) ─────────────────────────── */

.func { display: grid; gap: 20px; }
.func-lista { display: contents; }
.func-palco { display: contents; }
.func-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; text-align: left;
  padding: 22px 0 6px; border-top: 1px solid var(--linha); width: 100%;
}
.func-item .n { grid-row: 1 / span 2; padding-top: 5px; }
.func-t { font-family: var(--titulo); font-stretch: 85%; font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; }
.func-d { color: var(--texto-2); font-size: 16px; line-height: 1.55; grid-column: 2; }
.func-tela { margin-bottom: 28px; }
.func-tela-celulares { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 520px; }
.func-controle { display: none; }
.legenda { margin-top: 32px; color: var(--texto-2); font-size: 14px; display: flex; gap: 10px; align-items: baseline; }
.legenda::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); transform: translateY(-1px); }

/* No celular, cada item aparece com a sua tela logo abaixo (ordem). */
.func-item:nth-of-type(1) { order: 1; }  #tela-1 { order: 2; }
.func-item:nth-of-type(2) { order: 3; }  #tela-2 { order: 4; }
.func-item:nth-of-type(3) { order: 5; }  #tela-3 { order: 6; }
.func-item:nth-of-type(4) { order: 7; }  #tela-4 { order: 8; }
.func-item:nth-of-type(5) { order: 9; }  #tela-5 { order: 10; }
.func-item:nth-of-type(6) { order: 11; } #tela-6 { order: 12; }

/* ── Módulos ──────────────────────────────────────────────── */

.modulos-in { display: grid; gap: 48px; }
.modulos { display: grid; gap: 16px; }
.modulo:hover { border-color: var(--linha-2); background: var(--fundo-3); }
.modulo h3 { margin-top: 20px; }

/* ── Duas colunas (sob medida, segurança) ─────────────────── */

.duas { display: grid; gap: 40px; }
.texto p { color: var(--texto-2); font-size: clamp(17px, 1.2vw, 19px); }
.texto p + p { margin-top: 18px; }
.para-quem-t { margin-top: 32px !important; color: var(--texto) !important; font-weight: 600; font-size: 15px !important; }
.para-quem { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.para-quem li { font-size: 12px; color: var(--texto); border: 1px solid var(--linha-2); border-radius: 999px; padding: 8px 14px; }
.para-quem li::before { content: '● '; color: var(--laranja); font-size: 9px; vertical-align: 1px; }

.checks { display: grid; gap: 4px; align-content: start; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--linha); font-size: 17px; }
.checks li:first-child { border-top: 1px solid var(--linha); }
.checks .ic { color: var(--laranja); margin-top: 3px; stroke-width: 2.4; }

/* Sob medida: pilares */
.pilares { display: grid; gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.pilar { border-top: 2px solid var(--laranja); }
.pilar h3 { margin-top: 18px; }
#sob-medida .para-quem-t { margin-top: 44px !important; }

/* Cartão "o que a sua consultoria precisar" */
.modulo-extra { border: 1px dashed var(--laranja); background: transparent !important; }
.modulo-extra:hover { background: rgba(255, 79, 31, .05) !important; border-color: var(--laranja) !important; }
.link-wa { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: var(--laranja-texto); font-weight: 600; font-size: 15px; min-height: 44px; }
.link-wa:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Linha do tempo ───────────────────────────────────────── */

.linha { position: relative; display: grid; gap: 22px; padding-left: 56px; counter-reset: passo; }
.linha::before {
  content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--laranja), var(--laranja) 80%, rgba(255, 79, 31, .15));
  border-radius: 2px;
}
.passo { position: relative; }
.bola {
  position: absolute; left: -56px; top: 22px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fundo); border: 2px solid var(--laranja); color: var(--texto);
  font-size: 13px; letter-spacing: .02em; z-index: 1;
}
.passo-final .bola { background: var(--laranja); color: var(--sobre-laranja); }
.passo .cartao h3 { margin-top: 0; }

/* ── Perguntas ────────────────────────────────────────────── */

.faq-in { display: grid; gap: 40px; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq details:first-child { border-top: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: clamp(17px, 1.3vw, 19px); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--laranja); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq summary:hover { color: var(--texto-forte); }
.faq details p { color: var(--texto-2); padding: 0 40px 24px 0; max-width: 40em; }

/* ── Rodapé ───────────────────────────────────────────────── */

.rodape { background: var(--rodape); border-top: 1px solid var(--linha); padding: 48px 0 40px; overflow: hidden; }

.rodape-base { display: grid; gap: 22px; }
.rodape-frase { color: var(--texto-2); font-size: 15px; }
.contatos { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.contatos a { display: inline-flex; align-items: center; gap: 9px; color: var(--texto); font-size: 15px; min-height: 44px; transition: color .2s; }
.contatos a:hover { color: var(--laranja-texto); }
.contatos .ic { width: 18px; height: 18px; color: var(--texto-2); }
.copy { color: var(--texto-2); font-size: 13px; }
.copy a { margin-left: 18px; text-decoration: underline; text-underline-offset: 3px; }
.copy a:hover { color: var(--texto); }

/* Botão flutuante do WhatsApp: verde e logo oficiais, sempre visível (design.md). */
.flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, .45), 0 4px 12px rgba(0, 0, 0, .35);
  transition: transform .2s, box-shadow .2s;
}
.flutuante svg { width: 32px; height: 32px; fill: currentColor; }
.flutuante:hover { transform: scale(1.06); box-shadow: 0 14px 34px -6px rgba(37, 211, 102, .6), 0 4px 12px rgba(0, 0, 0, .35); }
.flutuante:focus-visible { outline-color: #25D366; }

/* ── Páginas simples: 404 e política de privacidade ─────── */

.pagina-simples { min-height: 100vh; display: flex; flex-direction: column; }
.simples { flex: 1; padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); }
.simples h1 { max-width: 12em; }
.simples .lead { margin-top: 24px; }
.documento .wrap { max-width: calc(760px + var(--lado) * 2); }
.documento h1 { font-size: clamp(40px, 5vw, 64px); }
.documento h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 48px 0 14px; }
.documento p { color: var(--texto-2); }
.documento p + p { margin-top: 14px; }
.documento a:not(.btn) { color: var(--texto); text-decoration: underline; text-decoration-color: var(--laranja); text-underline-offset: 3px; }
.documento .voltar { margin-top: 56px; }

/* ── Aparecer ao rolar ────────────────────────────────────── */

.js .revelar { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .revelar.visto { opacity: 1; transform: none; }

/* ── Celular ──────────────────────────────────────────────── */

@media (max-width: 639px) {
  .menu { display: none; }
  .topo-in { height: 64px; }
  .logo .marca { width: 32px; }
  .logo-txt b { font-size: 19px; }
  .btn-peq { padding: 0 14px; font-size: 14px; }
  /* No celular o botão do topo vira só a logo do WhatsApp (o flutuante já tem o texto do gesto). */
  .topo .btn-peq { font-size: 0; gap: 0; width: 42px; padding: 0; }
  .topo .btn-peq .ic { width: 20px; height: 20px; }
  .temas button { width: 28px; height: 28px; }
  .temas button span { width: 15px; height: 15px; }
  .topo-acoes { gap: 8px; }
  .acoes .btn { flex: 1 1 100%; }
  .etiqueta { font-size: 10.5px; letter-spacing: .04em; gap: 9px; padding: 8px 11px; }
  .chip { font-size: 10px; padding: 7px 10px; }
  .chip-ia { right: 0; }
  .janela-barra { height: 26px; }
  .janela-barra span { display: none; }
  .faq details p { padding-right: 0; }
}

/* ── Tablet em diante ─────────────────────────────────────── */

@media (min-width: 640px) {
  .dores { grid-template-columns: repeat(3, 1fr); }
  .modulos { grid-template-columns: repeat(2, 1fr); }
  .pilares { grid-template-columns: repeat(3, 1fr); }
  .modulo-extra { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 6px 22px; align-items: center; }
  .modulo-extra .ic-grande { grid-row: 1 / span 2; }
  .modulo-extra h3, .modulo-extra p { margin-top: 0; grid-column: 2; }
  .modulo-extra .link-wa { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; white-space: nowrap; }
  .rodape-base { grid-template-columns: auto 1fr; align-items: center; }
  .rodape-frase { text-align: right; }
  .contatos { grid-column: 1 / -1; }
}

/* ── Desktop ──────────────────────────────────────────────── */

@media (min-width: 1024px) {
  .abertura-in { grid-template-columns: 1.02fr 1fr; gap: 56px; }
  .abertura { min-height: calc(100vh - 76px); display: flex; align-items: center; }
  .descer { display: grid; }

  /* Abas: lista à esquerda, tela à direita, uma por vez. */
  .func { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 56px; align-items: start; }
  .func-lista { display: block; border-left: 1px solid var(--linha); }
  .func-palco { display: grid; position: sticky; top: 110px; }
  .func-item { order: 0 !important; border-top: 0; padding: 20px 0 20px 28px; position: relative; }
  .func-item::before { content: ''; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 2px; background: transparent; transition: background .25s; }
  .func-item .func-t { color: var(--texto-2); transition: color .25s; }
  .func-item .func-d { display: none; }
  .func-item:hover .func-t { color: var(--texto); }
  .func-item.ativo::before { background: var(--laranja); }
  .func-item.ativo .func-t { color: var(--texto); }
  .func-item.ativo .func-d { display: block; margin-top: 10px; }
  .func-tela { grid-area: 1 / 1; order: 0 !important; margin: 0; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .func-tela.ativa { opacity: 1; visibility: visible; }
  .func-tela-celulares { justify-content: center; max-width: none; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 24px; }
  .func-controle { display: flex; align-items: center; gap: 10px; grid-area: 2 / 1; margin-top: 24px; }
  .func-contador { font-size: 13px; color: var(--texto-2); margin-right: 8px; }
  .func-contador b { color: var(--laranja-texto); font-weight: 600; }

  .modulos-in { grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
  .modulos-cabeca { position: sticky; top: 120px; }

  .duas { grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }

  /* Linha do tempo alternando lados, com a linha no meio. */
  .linha { padding-left: 0; gap: 0; max-width: 1000px; margin: 0 auto; }
  .linha::before { left: 50%; transform: translateX(-1px); }
  .passo { display: grid; grid-template-columns: 1fr 1fr; padding: 14px 0; }
  .passo .cartao { grid-column: 1; margin-right: 56px; }
  .passo:nth-child(even) .cartao { grid-column: 2; margin: 0 0 0 56px; }
  .bola { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; font-size: 14px; }

  .faq-in { grid-template-columns: 4fr 8fr; gap: 72px; }
  .faq-in > div:first-child { position: sticky; top: 120px; align-self: start; }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .abertura { min-height: 0; }
}

/* ── Movimento reduzido ───────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revelar { opacity: 1; transform: none; }
}
