/* site-paginas.css -- estilo das paginas do MOLDE do site institucional (#1958, decisao #1931).
   __CARD1958_GERADOR_SITE_V1__ As paginas saem de scripts/gerar-site.mjs (fontes em site/). A landing (zenites.html) tem o
   estilo dela embutido; aqui fica o minimo comum: cores da marca, topo, texto, tabela de fatos e o MESMO rodape da landing
   (site/partes/rodape.html usa as classes foot-*). Mudou o rodape la, confira aqui. */
:root {
  --cream: #F8F7F4;
  --green: #2D6A4F;
  --green-dark: #245741;
  --green-soft: rgba(45, 106, 79, 0.08);
  --green-line: rgba(45, 106, 79, 0.18);
  --cyan: #00D4E6;
  --dark: #182229;
  --ink: #1A1A1A;
  --muted: #5C5C5C;
  --card: #FFFFFF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: 88px; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip; /* clip, nao hidden: hidden faria o body virar conteiner de rolagem e o .sp-topo sticky nao grudaria */
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.15; text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; display: block; height: auto; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* __CARD2034_PADRAO_LANDING_V1__ (#2034) mesmo padrao da landing: topo escuro, faixa escura com o H1, cartoes de raio 16 com sombra suave,
   botao com a mesma sombra e elevacao. So visual; o texto vem do gerador. */
:root { --border: rgba(26, 26, 26, 0.10); --shadow-sm: 0 6px 20px rgba(26, 26, 26, 0.06); --radius: 16px; --ease: cubic-bezier(0.16, 1, 0.3, 1); }
.sp-container { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 24px; }
.sp-topo { position: sticky; top: 0; z-index: 50; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.08); }
.sp-topo .sp-container { max-width: 1140px; }
.sp-topo-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 72px; padding-top: 10px; padding-bottom: 10px; }
.sp-logo { display: inline-flex; align-items: center; border-radius: 8px; }
.sp-logo img { height: 48px; width: auto; }
.sp-links { display: flex; flex: 1; justify-content: center; gap: 8px 22px; }
.sp-links a { font-size: 15px; font-weight: 500; color: rgba(248,247,244,0.82); text-decoration: none; border-radius: 8px; padding: 10px 6px; transition: color .2s; }
.sp-links a:hover { color: var(--cyan); }
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; white-space: nowrap;
  background: var(--green); color: #fff; font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.sp-btn:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.32); }
.sp-btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,0.22); }
.sp-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.sp-hero {
  background: var(--dark); color: var(--cream); text-align: center; padding: 56px 0 52px;
  background-image: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(0,212,230,0.16), transparent 70%), radial-gradient(ellipse 50% 80% at 85% 100%, rgba(45,106,79,0.30), transparent 70%);
}
.sp-hero h1 { font-size: clamp(32px, 6vw, 52px); letter-spacing: -0.01em; color: var(--cream); max-width: 820px; margin: 0 auto; padding-bottom: 0.08em; }

.sp-main { padding-top: 44px; padding-bottom: 72px; }
.sp-main h2 { font-size: clamp(24px, 4vw, 34px); margin: 48px 0 14px; }
.sp-main h3 { font-size: 22px; margin: 26px 0 8px; }
.sp-main p, .sp-main li { font-size: 17px; margin-bottom: 14px; }
.sp-main ul, .sp-main ol { padding-left: 22px; }
.sp-main a { color: var(--green); font-weight: 600; text-underline-offset: 3px; }
.sp-main a:hover { color: var(--green-dark); }
.sp-main a.sp-btn, .sp-main a.sp-btn:hover { color: #fff; text-decoration: none; }
@media (max-width: 760px) { .sp-links { display: none; } .sp-topo-in { min-height: 64px; } .sp-logo img { height: 44px; } .sp-hero { padding: 40px 0 36px; } .sp-main h2 { margin-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .sp-btn, .sp-btn:hover { transition: none; transform: none; } }

/* tabela "Fatos do concorrente" (site/dados/fatos-concorrentes.json): rola de lado dentro dela, nunca a pagina */
.fatos-caixa { overflow-x: auto; margin: 18px 0 8px; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--card); }
table.fatos { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; }
table.fatos th, table.fatos td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--green-line); vertical-align: top; }
table.fatos th { background: var(--green-soft); }
.fatos-conferido { font-size: 14px; color: var(--muted); }

/* rodape unico: as mesmas regras da landing (zenites.html) */
footer { background: var(--green); color: rgba(255,255,255,0.85); padding: 56px 0 34px; }
footer .container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
footer a { text-decoration: none; }
footer .foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
/* __CARD2056_LINKS_INTERNOS_V1__ rodape em 3 grupos (colunas que quebram em linha no celular); mesmas regras na landing (zenites.html) */
footer .foot-links { display: flex; gap: 28px 48px; flex-wrap: wrap; align-items: flex-start; }
footer .foot-grupo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 150px; }
footer .foot-tit { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
footer .foot-links a { display: inline-flex; align-items: center; min-height: 32px; color: rgba(255,255,255,0.85); font-size: 14px; }
footer .foot-links a:hover { color: #fff; }
footer .foot-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 13px; color: rgba(255,255,255,0.7); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-logo { display: inline-flex; align-items: center; background: var(--dark); padding: 8px 14px; border-radius: 12px; }
.foot-logo img { height: 44px; width: auto; display: block; }
@media (max-width: 760px) {
  footer .foot-top { flex-direction: column; }
}

/* __CARD1961_PAGINA_SOBRE_V1__ /sobre: a frase oficial em destaque, os 4 grupos (os mesmos da landing) e a lista de perfis */
.sp-main .sp-frase { font-size: 19px; }
.sp-grupos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 8px 0 14px; }
.sp-grupos > div { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.sp-grupos h3 { font-size: 19px; margin: 0 0 6px; }
.sp-main .sp-grupos p { font-size: 15px; margin-bottom: 0; color: var(--muted); }
.sp-main ul.sp-perfis { list-style: none; padding-left: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.sp-perfis a { display: inline-block; padding: 8px 14px; border: 1px solid var(--green-line); border-radius: 10px; background: var(--card); text-decoration: none; }

/* __CARD1959_PAGINA_CARDAPIO_DIGITAL_V1__ FAQ (details) e botao final das paginas com {{faq:lista}} */
.sp-faq { margin: 8px 0 22px; }
.sp-faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 18px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.sp-faq-item summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 14px 0; min-height: 44px; }
.sp-main .sp-faq-item p { color: var(--muted); }
.sp-main p.sp-cta { margin-top: 28px; }

/* __CARD1963_CALCULADORA_COMISSAO_V1__ calculadora de comissao (frontend/site-calculadora.js): campos empilhados, resultado em destaque */
.sp-calc { background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 18px 16px; margin: 8px 0 14px; display: grid; gap: 14px; }
.sp-calc-campo { display: grid; gap: 6px; }
.sp-calc label { font-weight: 600; font-size: 15px; }
.sp-calc input, .sp-calc select { width: 100%; font: inherit; font-size: 17px; padding: 11px 12px; border: 1px solid var(--green-line); border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; }
.sp-calc-resultado { background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 12px; padding: 14px 16px; font-size: 17px; line-height: 1.5; }
.sp-calc-resultado[data-estado="nao-compensa"] { background: rgba(92, 92, 92, 0.08); border-color: rgba(92, 92, 92, 0.25); }
.sp-main p.sp-nota { font-size: 15px; color: var(--muted); }
