/*
Theme Name: Fisceli · Moreli
Theme URI: https://fisceli.com.br
Author: Moreli Desenvolvimento de Softwares LTDA
Author URI: https://moreli.com.br
Description: Site de divulgação do Fisceli (emissor fiscal, frente de caixa e gestão), na identidade visual da Moreli.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: fisceli
*/

/* =====================================================================
   Fontes do próprio tema (licença OFL): nada é carregado de serviços de terceiros
   ===================================================================== */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); }

/* =====================================================================
   Tokens da marca Moreli (kit de marca v1.0)
   ===================================================================== */
:root {
  --floresta: #0f3d2e;
  --noite: #0a2c21;
  --musgo: #3d7a62;
  --folha: #6fae94;
  --lilas: #a78bff;
  --violeta: #8e68f2;
  --lilas-claro: #cdbdff;
  --nevoa: #e3daff;
  --papel: #f5f2ea;
  --areia: #e4dfd2;
  --branco: #fffdf8;

  --f-titulo: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --largura: 1200px;
  --respiro: clamp(64px, 9vw, 120px);
  --raio: 14px;
}

/* =====================================================================
   Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--floresta);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violeta); }
h1, h2, h3, h4 { font-family: var(--f-titulo); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--lilas); color: var(--floresta); }
:focus-visible { outline: 3px solid var(--violeta); outline-offset: 3px; border-radius: 4px; }

.caixa { width: min(var(--largura), 100% - 40px); margin-inline: auto; }
.estreita { width: min(760px, 100% - 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -60px; background: var(--floresta); color: var(--papel); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.pular:focus { top: 12px; }
.mono { font-family: var(--f-mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
.rotulo { color: var(--musgo); margin-bottom: 18px; }
.rotulo .prompt { color: var(--violeta); margin-right: 4px; }

/* =====================================================================
   Botões
   ===================================================================== */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid var(--floresta);
  font-family: var(--f-texto); font-weight: 600; font-size: 0.98rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.botao:hover { transform: translateY(-2px); }
.botao-cheio { background: var(--floresta); color: var(--papel); }
.botao-cheio:hover { background: var(--noite); color: var(--papel); box-shadow: 0 4px 0 var(--lilas); }
.botao-contorno { background: transparent; color: var(--floresta); }
.botao-contorno:hover { background: var(--floresta); color: var(--papel); }
.botao-lilas { background: var(--lilas); border-color: var(--lilas); color: var(--floresta); }
.botao-lilas:hover { background: var(--lilas-claro); border-color: var(--lilas-claro); color: var(--floresta); }
.botao-claro { background: transparent; border-color: var(--papel); color: var(--papel); }
.botao-claro:hover { background: var(--papel); color: var(--floresta); }
.botao-grande { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }
.botao-bloco { width: 100%; }

/* =====================================================================
   Topo
   ===================================================================== */
.faixa-moreli { background: var(--noite); color: var(--folha); }
.faixa-moreli .caixa { display: flex; align-items: center; gap: 12px; min-height: 34px; }
.faixa-moreli .mono { font-size: 0.68rem; color: var(--folha); }
.faixa-moreli img { height: 14px; width: auto; }

.topo { position: sticky; top: 0; z-index: 50; background: var(--papel); border-bottom: 1.5px solid transparent; }
.topo.rolou { border-bottom-color: var(--areia); }
.topo-linha { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--floresta); }
.marca:hover { color: var(--floresta); }
.marca img { width: 36px; height: 36px; }
.marca-nome { font-family: var(--f-titulo); font-weight: 800; font-size: 1.65rem; letter-spacing: -0.04em; line-height: 1; }
.marca-nome i { font-style: normal; color: var(--violeta); }

.menu { display: flex; align-items: center; gap: 32px; }
.menu-lista { display: flex; gap: 28px; }
.menu-lista a { text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu-lista a:hover { color: var(--floresta); border-bottom-color: var(--lilas); }
.menu-acoes { display: flex; gap: 10px; }
.menu-acoes .botao { min-height: 42px; padding: 0 18px; font-size: 0.93rem; }

.menu-botao { display: none; width: 46px; height: 46px; border: 1.5px solid var(--floresta); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; position: relative; }
.menu-botao .barras, .menu-botao .barras::before, .menu-botao .barras::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--floresta); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-botao .barras { top: 22px; }
.menu-botao .barras::before { left: 0; right: 0; top: -7px; }
.menu-botao .barras::after { left: 0; right: 0; top: 7px; }
.menu-botao[aria-expanded="true"] .barras { background: transparent; }
.menu-botao[aria-expanded="true"] .barras::before { transform: translateY(7px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .barras::after { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   Abertura
   ===================================================================== */
.heroi { padding: clamp(36px, 6vw, 72px) 0 var(--respiro); background-image: radial-gradient(rgba(15, 61, 46, .13) 1.2px, transparent 1.3px); background-size: 26px 26px; background-position: 0 0; }
.heroi-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.heroi h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.heroi h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lilas) 62%, var(--lilas) 92%, transparent 92%); padding: 0 .08em; }
.heroi-sub { margin-top: 26px; font-size: 1.2rem; max-width: 33em; color: var(--noite); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.heroi-garantias { margin-top: 34px; display: grid; gap: 8px; font-size: 0.97rem; color: var(--musgo); font-weight: 500; }
.heroi-garantias li { position: relative; padding-left: 26px; }
.heroi-garantias li::before { content: ">"; position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-weight: 700; color: var(--violeta); }

.heroi-telas { position: relative; padding-bottom: 8%; }
.heroi-telas .tela-principal { width: 100%; }
.heroi-telas .tela-tablet { position: absolute; width: 46%; right: -3%; bottom: 0; }
.brilho { position: absolute; z-index: 2; }
.brilho-a { width: 44px; left: -18px; top: -20px; }

/* moldura de navegador */
.tela { margin: 0; background: var(--branco); border: 1.5px solid var(--floresta); border-radius: var(--raio); overflow: hidden; box-shadow: 10px 10px 0 var(--lilas); }
.tela-barra { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--floresta); }
.tela-barra i { width: 9px; height: 9px; border-radius: 50%; background: var(--folha); opacity: .8; }
.tela-barra i:nth-child(2) { opacity: .55; }
.tela-barra i:nth-child(3) { opacity: .3; }
.tela-barra .mono { margin-left: 10px; font-size: 0.64rem; letter-spacing: .06em; color: var(--folha); text-transform: none; }
.tela img { width: 100%; height: auto; }
.tela-tablet { box-shadow: 7px 7px 0 var(--floresta); background: var(--floresta); border-radius: 20px; }
.tela-tablet .tela-barra { display: none; }
.tela-tablet img { border-radius: 14px; margin: 6px; width: calc(100% - 12px); }

/* =====================================================================
   Seções
   ===================================================================== */
.secao { padding: var(--respiro) 0; }
.secao-areia { background: var(--areia); }
.secao-escura { background: var(--floresta); color: var(--papel); }
.secao-cab { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.secao-cab h2, .secao-escura h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; }
.secao-cab > p:not(.rotulo) { margin-top: 18px; font-size: 1.15rem; color: var(--noite); }

.recurso { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.recurso-inverso { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.recurso-inverso .recurso-texto { order: 2; }
.recurso-texto h2 { margin-bottom: 20px; }
.recurso-texto h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -0.03em; }
.recurso-texto > p:not(.rotulo) { color: var(--noite); }
.recurso-tela { min-width: 0; padding: 0 12px 12px 0; }

.lista-prompt { margin-top: 24px; display: grid; gap: 11px; }
.lista-prompt li { position: relative; padding-left: 28px; }
.lista-prompt li::before { content: ">"; position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-weight: 700; color: var(--violeta); }

.e-tambem-titulo { margin-top: clamp(28px, 4vw, 48px); padding-top: 28px; border-top: 1.5px solid var(--floresta); color: var(--musgo); font-family: var(--f-mono); font-size: .75rem; }
.e-tambem { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.e-tambem li { padding: 16px 0; border-bottom: 1px solid var(--areia); }
.e-tambem strong { font-weight: 700; }

/* contador */
.secao-escura .rotulo { color: var(--folha); }
.secao-escura .rotulo .prompt { color: var(--lilas); }
.secao-escura .recurso-texto > p:not(.rotulo) { color: #cfe0d8; }
.secao-escura .lista-prompt li::before { color: var(--lilas); }
.recurso-contador { padding: 0; }
.secao-escura .tela { box-shadow: 10px 10px 0 var(--musgo); border-color: var(--papel); }
.nota-pequena { margin-top: 24px; font-size: 0.92rem; color: var(--folha); }

/* passos */
.passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--floresta); }
.passos li { padding: 32px 32px 8px 0; position: relative; }
.passos li + li { padding-left: 32px; border-left: 1.5px solid var(--areia); }
.passo-n { color: var(--violeta); font-size: 0.85rem; display: block; margin-bottom: 20px; }
.passos h3 { font-size: 1.5rem; margin-bottom: 12px; }
.passos p { color: var(--noite); }

/* planos */
.periodos { display: inline-flex; gap: 4px; padding: 5px; border: 1.5px solid var(--floresta); border-radius: 999px; background: var(--papel); margin-bottom: 36px; }
.periodo { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.periodo small { font-size: .68rem; background: var(--nevoa); color: var(--floresta); padding: 3px 7px; border-radius: 999px; letter-spacing: .04em; }
.periodo.ativo { background: var(--floresta); color: var(--papel); }
.periodo.ativo small { background: var(--lilas); }

.planos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--floresta); border-radius: var(--raio); background: var(--papel); overflow: hidden; }
.plano { padding: 34px 28px 30px; display: flex; flex-direction: column; position: relative; }
.plano + .plano { border-left: 1.5px solid var(--floresta); }
.plano-destaque { background: var(--nevoa); }
.plano-etiqueta { position: absolute; top: 0; right: 24px; background: var(--floresta); color: var(--papel); padding: 6px 10px; border-radius: 0 0 8px 8px; font-size: .64rem; }
.plano h3 { font-size: 1.7rem; font-weight: 800; }
.plano-para { margin-top: 8px; color: var(--noite); font-size: .96rem; min-height: 3.3em; }
.plano-preco { margin-top: 24px; }
.plano-preco[hidden] { display: none; }
.preco { font-family: var(--f-titulo); font-weight: 800; font-size: 2.9rem; letter-spacing: -0.04em; line-height: 1; }
.preco small { font-family: var(--f-texto); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--musgo); margin-left: 4px; }
.preco-nota { margin: 8px 0 20px; font-size: .88rem; color: var(--musgo); min-height: 1.4em; }
.plano-itens { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(15, 61, 46, .25); display: grid; gap: 11px; font-size: .96rem; }
.plano-itens li { position: relative; padding-left: 24px; }
.plano-itens li::before { content: ">"; position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-weight: 700; color: var(--violeta); }
.plano-itens .herda { padding-left: 0; font-weight: 700; }
.plano-itens .herda::before { content: none; }
.nota-planos { color: var(--noite); }
.em-breve { margin-top: 40px; padding: 26px 30px; border: 1.5px dashed var(--floresta); border-radius: var(--raio); display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: start; }
.em-breve h3 { color: var(--musgo); font-size: .75rem; padding-top: 4px; }
.em-breve ul { display: grid; gap: 10px; }

/* perguntas */
.perguntas-grade { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.secao-cab-lado { position: sticky; top: 110px; margin-bottom: 0; }
.faq { border-top: 1.5px solid var(--floresta); }
.faq details { border-bottom: 1.5px solid var(--floresta); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--f-titulo); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.4rem; color: var(--violeta); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--violeta); }
.faq details p { padding: 0 0 24px; color: var(--noite); max-width: 36em; }

/* chamada final */
.final { background: var(--floresta); color: var(--papel); padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.final-caixa { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.final-robo { width: clamp(110px, 14vw, 170px); height: auto; }
.final h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; max-width: 16em; }
.final p { margin-top: 16px; font-size: 1.15rem; color: #cfe0d8; max-width: 34em; }

/* rodapé */
.rodape { background: var(--noite); color: #b9cdc4; padding: 64px 0 28px; font-size: .97rem; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--lilas); }
.rodape-grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.rodape-marca img { width: 168px; height: auto; }
.rodape-marca p { margin-top: 20px; max-width: 26em; line-height: 1.7; }
.rodape strong { color: var(--papel); font-weight: 600; }
.rodape h2 { font-size: .72rem; color: var(--folha); margin-bottom: 16px; font-family: var(--f-mono); }
.rodape li + li { margin-top: 10px; }
.rodape-fim { margin-top: 52px; padding-top: 22px; border-top: 1px solid #1d4a3d; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .68rem; color: var(--folha); }
.cursor-fim { text-transform: none; letter-spacing: .04em; }

/* botão do WhatsApp */
.zap { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; border: 2px solid var(--floresta); box-shadow: 4px 4px 0 var(--floresta); transition: transform .15s ease; }
.zap:hover { transform: translate(-2px, -2px); color: #fff; box-shadow: 6px 6px 0 var(--floresta); }

/* páginas de texto */
.pagina-texto { padding: clamp(48px, 8vw, 96px) 0; }
.texto h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 28px; font-weight: 800; }
.texto h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.texto h3 { font-size: 1.25rem; margin: 28px 0 8px; }
.texto p, .texto li { margin-bottom: 14px; }
.texto ul { list-style: disc; padding-left: 1.3em; }
.texto ol { list-style: decimal; padding-left: 1.3em; }
.texto a { color: var(--violeta); }
.texto-centro { text-align: center; }
.texto-centro img { margin: 0 auto 20px; }
.texto-centro p { margin-bottom: 18px; }

/* =====================================================================
   Telas menores
   ===================================================================== */
@media (max-width: 1020px) {
  .heroi-grade, .recurso, .recurso-inverso, .perguntas-grade { grid-template-columns: 1fr; }
  .recurso-inverso .recurso-texto { order: 0; }
  .planos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plano:nth-child(3) { border-left: 0; }
  .plano:nth-child(n+3) { border-top: 1.5px solid var(--floresta); }
  .secao-cab-lado { position: static; margin-bottom: 8px; }
  .heroi-telas { margin-top: 12px; max-width: 760px; }
}
@media (max-width: 860px) {
  .menu-botao { display: block; }
  .menu { position: fixed; inset: 0 0 auto 0; top: 110px; background: var(--papel); flex-direction: column; align-items: stretch; gap: 22px; padding: 24px 20px 32px; border-bottom: 1.5px solid var(--floresta); transform: translateY(-130%); transition: transform .25s ease; visibility: hidden; }
  .menu.aberto { transform: none; visibility: visible; }
  .menu-lista { flex-direction: column; gap: 4px; }
  .menu-lista a { display: block; padding: 12px 0; font-size: 1.15rem; border-bottom: 1px solid var(--areia); }
  .menu-acoes { flex-direction: column; }
  .menu-acoes .botao { min-height: 50px; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-marca { grid-column: 1 / -1; }
  .passos { grid-template-columns: 1fr; }
  .passos li, .passos li + li { padding: 28px 0; border-left: 0; }
  .passos li + li { border-top: 1.5px solid var(--areia); }
  .e-tambem { grid-template-columns: 1fr; }
  .em-breve { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .planos { grid-template-columns: 1fr; }
  .plano + .plano { border-left: 0; border-top: 1.5px solid var(--floresta); }
  .plano:nth-child(n+3) { border-top: 1.5px solid var(--floresta); }
  .plano-para { min-height: 0; }
  .final-caixa { grid-template-columns: 1fr; }
  .final-robo { width: 100px; }
  .heroi-telas .tela-tablet { width: 52%; right: -2%; }
  .tela { box-shadow: 6px 6px 0 var(--lilas); }
  .secao-escura .tela { box-shadow: 6px 6px 0 var(--musgo); }
  .brilho-a { width: 32px; left: -8px; top: -14px; }
  .botao-grande { width: 100%; }
  .periodos { width: 100%; }
  .periodo { flex: 1; justify-content: center; padding: 10px 10px; }
  .faixa-moreli .mono { font-size: .62rem; }
  .rodape-grade { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   Contratação
   ===================================================================== */
.checkout { padding: clamp(40px, 6vw, 80px) 0 var(--respiro); background-image: radial-gradient(rgba(15, 61, 46, .10) 1.2px, transparent 1.3px); background-size: 26px 26px; }
.checkout .secao-cab h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
.checkout-grade { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form { display: grid; gap: 22px; }
.bloco { border: 1.5px solid var(--floresta); border-radius: var(--raio); background: var(--branco); padding: 26px 26px 22px; margin: 0; min-width: 0; }
.bloco legend { padding: 0 10px; color: var(--musgo); font-size: .72rem; margin-left: -10px; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tres { display: grid; grid-template-columns: 1.3fr 1.3fr .6fr; gap: 16px; }
.campo { display: block; margin-bottom: 16px; }
.campo > span:first-child { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.campo > span em, .marcar em { font-style: normal; font-weight: 400; color: var(--musgo); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; color: var(--floresta);
  background: var(--papel); border: 1.5px solid var(--floresta); border-radius: 10px;
}
.campo textarea { resize: vertical; min-height: 92px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 3px solid var(--lilas); outline-offset: 0; background: var(--branco); }
.campo input[aria-invalid="true"] { border-color: #b3261e; }
.campo-erro { display: block; margin-top: 6px; font-size: .88rem; font-weight: 600; color: #b3261e; }
.pessoa { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pessoa label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--floresta); border-radius: 999px; cursor: pointer; font-weight: 600; background: var(--papel); }
.pessoa label:has(input:checked) { background: var(--floresta); color: var(--papel); }
.pessoa input { accent-color: var(--lilas); }
.marcar { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; cursor: pointer; }
.marcar input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--floresta); }
.marcar a, .lgpd-nota a, .form-rodape a { color: var(--floresta); font-weight: 600; }
.lgpd-nota, .form-rodape { font-size: .88rem; color: var(--musgo); margin-top: 8px; }
.form-rodape { text-align: center; margin-top: 0; }
.aviso-form { background: #fdecea; border: 1.5px solid #b3261e; color: #7a1812; padding: 14px 18px; border-radius: 12px; margin-bottom: 24px; }
.isca { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.resumo { position: sticky; top: 112px; border: 1.5px solid var(--floresta); border-radius: var(--raio); background: var(--nevoa); padding: 28px; box-shadow: 8px 8px 0 var(--lilas); }
.resumo h2 { color: var(--musgo); font-size: .72rem; margin-bottom: 14px; }
.resumo-plano { font-family: var(--f-titulo); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; }
.resumo-preco { font-family: var(--f-titulo); font-weight: 800; font-size: 2.8rem; letter-spacing: -0.04em; line-height: 1.1; margin-top: 8px; }
.resumo-preco small { font-family: var(--f-texto); font-size: 1rem; font-weight: 600; color: var(--musgo); margin-left: 4px; letter-spacing: 0; }
.resumo-nota { color: var(--musgo); font-size: .92rem; margin-top: 4px; }
.resumo-itens { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(15, 61, 46, .25); font-size: .95rem; }
.resumo-garantias { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(15, 61, 46, .25); display: grid; gap: 8px; font-size: .9rem; font-weight: 600; }
.resumo-garantias li::before { content: "✓ "; color: var(--violeta); }
.resumo-ajuda { margin-top: 18px; font-size: .9rem; }
.resumo-solto { position: static; display: inline-block; text-align: left; margin: 8px 0 32px; box-shadow: 6px 6px 0 var(--lilas); padding: 22px 28px; }

.obrigado { text-align: center; }
.obrigado img { margin: 0 auto 8px; }
.obrigado h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin: 6px 0 14px; letter-spacing: -0.03em; }
.obrigado-sub { font-size: 1.1rem; }
.passos-obrigado { text-align: left; counter-reset: o; margin: 8px auto 28px; max-width: 640px; display: grid; gap: 14px; }
.passos-obrigado li { counter-increment: o; position: relative; padding: 18px 20px 18px 64px; border: 1.5px solid var(--floresta); border-radius: var(--raio); background: var(--branco); }
.passos-obrigado li::before { content: counter(o); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--floresta); color: var(--papel); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; }
.passos-obrigado .botao { display: flex; margin-top: 14px; width: fit-content; }
.nota-escura { color: var(--musgo); text-align: center; }

/* aviso de cookies (aparece só se houver estatística configurada) */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; display: flex; justify-content: center; }
.cookies[hidden] { display: none; }
.cookies-corpo { width: min(720px, 100%); background: var(--floresta); color: var(--papel); border: 1.5px solid var(--papel); border-radius: var(--raio); padding: 22px 24px; box-shadow: 8px 8px 0 var(--lilas); }
.cookies h2 { color: var(--folha); font-size: .72rem; margin-bottom: 8px; }
.cookies p { font-size: .96rem; color: #dbe8e1; }
.cookies a { color: var(--lilas); }
.cookies-acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cookies .botao-contorno { border-color: var(--papel); color: var(--papel); }
.cookies .botao-contorno:hover { background: var(--papel); color: var(--floresta); }
.cookies .botao-cheio { background: var(--lilas); border-color: var(--lilas); color: var(--floresta); }
.cookies .botao-cheio:hover { background: var(--lilas-claro); box-shadow: none; }

@media (max-width: 1020px) {
  .checkout-grade { grid-template-columns: 1fr; }
  .resumo { position: static; order: -1; }
}
@media (max-width: 620px) {
  .duas, .tres { grid-template-columns: 1fr; }
  .bloco { padding: 22px 18px 16px; }
  .passos-obrigado li { padding-left: 58px; }
  .cookies { left: 10px; right: 10px; bottom: 10px; }
}

/* tabelas das páginas legais */
.texto table { width: 100%; border-collapse: collapse; font-size: .92rem; display: block; overflow-x: auto; margin: 18px 0 28px; }
.texto th, .texto td { border: 1px solid var(--floresta); padding: 10px 12px; text-align: left; vertical-align: top; }
.texto th { background: var(--nevoa); font-family: var(--f-titulo); }
.texto li { margin-bottom: 8px; }

/* forma de pagamento e resumo com taxa */
.formas { display: grid; gap: 12px; margin-top: 8px; }
.forma { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid var(--floresta); border-radius: 12px; cursor: pointer; background: var(--papel); }
.forma input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--floresta); flex: none; }
.forma strong { display: block; }
.forma small { display: block; color: var(--musgo); font-size: .88rem; margin-top: 2px; line-height: 1.4; }
.forma:has(input:checked) { background: var(--nevoa); box-shadow: 4px 4px 0 var(--lilas); }
.resumo-linhas { margin: 18px 0 6px; display: grid; gap: 10px; }
.resumo-linhas > div { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; }
.resumo-linhas dt small { color: var(--musgo); }
.resumo-linhas dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.resumo-linhas .total { margin-top: 4px; padding-top: 12px; border-top: 1.5px solid var(--floresta); font-size: 1.15rem; }
.resumo-linhas .total dd { font-family: var(--f-titulo); font-size: 1.7rem; letter-spacing: -0.03em; }
.resumo-taxa-aviso { margin-top: 12px; font-size: .82rem; color: var(--musgo); line-height: 1.45; }
.resumo-solto .resumo-preco { font-size: 2.2rem; }
.duas-uf { grid-template-columns: 1fr 140px; }
@media (max-width: 620px) { .duas-uf { grid-template-columns: 1fr 110px; } }
