/* Silveira Solutions Studio — visual 2026 (azul-marinho + dourado do logo 3D).
   Gerado junto com tools/gerar_site.py; páginas antigas ainda usam style.css. */

:root {
  --bg: #060e1c;
  --bg-2: #0a1830;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(232, 193, 106, 0.18);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #e9edf5;
  --muted: #9aa7bd;
  --gold: #e8c16a;
  --gold-2: #f6dc96;
  --gold-deep: #b8892f;
  --accent: var(--gold);
  --radius: 18px;
  --max: 1180px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 193, 106, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(40, 90, 180, 0.18), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold); }
.text-gold-grad {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--gold); color: #000; padding: 8px 12px; z-index: 99; border-radius: 8px; }

/* Cabeçalho */
.topo {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 14, 28, 0.72);
  border-bottom: 1px solid var(--border-soft);
}
.topo .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.marca { display: flex; align-items: center; gap: 12px; color: var(--text); font-family: "Sora", sans-serif; font-weight: 600; }
.marca img { width: 40px; height: 40px; border-radius: 10px; }
.marca span b { color: var(--gold); font-weight: 700; }
.menu { display: flex; gap: 6px; flex-wrap: wrap; }
.menu a { color: var(--muted); padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
@media (max-width: 640px) {
  .marca span { display: none; }
  .menu a { padding: 6px 9px; font-size: .88rem; }
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-ouro {
  color: #1a1203;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-deep));
  box-shadow: 0 8px 30px rgba(232, 193, 106, 0.28);
}
.btn-ouro:hover { color: #000; box-shadow: 0 12px 40px rgba(232, 193, 106, 0.42); }
.btn-linha { color: var(--text); border-color: var(--border); background: var(--surface); }
.btn-linha:hover { color: #fff; border-color: var(--gold); }
.btn[aria-disabled="true"] { opacity: .65; cursor: default; transform: none; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero da capa */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero .selo-topo {
  display: inline-block; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 36em; }
.logo-palco { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; }
.logo-palco::before {
  content: ""; position: absolute; inset: 8%;
  background: radial-gradient(circle, rgba(232, 193, 106, .35), transparent 65%);
  filter: blur(30px); animation: pulsar 6s ease-in-out infinite;
}
.logo-palco img {
  position: relative; border-radius: 50%;
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
  animation: flutuar 8s ease-in-out infinite;
}
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulsar { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .logo-palco img, .logo-palco::before { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .acoes { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .logo-palco { max-width: 300px; order: -1; }
}

/* Seções e cartões */
section { padding: 64px 0; }
.titulo-secao { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.titulo-secao p { color: var(--muted); }
.grade { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.grade-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.card .rodape-card { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.app-topo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app-icone { width: 60px; height: 60px; border-radius: 16px; flex: none; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.app-icone.simbolo {
  display: grid; place-items: center; font-size: 1.7rem;
  background: linear-gradient(135deg, #12284d, #0b1a33); border: 1px solid var(--border);
}
.chip {
  display: inline-block; font-size: .76rem; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--gold); background: rgba(232, 193, 106, .06);
}
.versao-chip { font-size: .78rem; color: var(--muted); }
.icone-pilar { font-size: 1.6rem; margin-bottom: 8px; }

/* Página de app */
.app-hero { padding: 56px 0 30px; }
.app-hero .container { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.app-hero .app-icone { width: 132px; height: 132px; border-radius: 30px; }
.app-hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
@media (max-width: 720px) {
  .app-hero .container { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .app-hero .acoes { justify-content: center; }
}
.selo-versao {
  display: inline-flex; flex-wrap: wrap; gap: 6px 12px; align-items: center;
  margin: 14px 0 20px; padding: 8px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border-soft); font-size: .9rem; color: var(--muted);
}
.selo-versao b { color: var(--text); }
.selo-versao .ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.abas {
  position: sticky; top: 68px; z-index: 40;
  background: rgba(6, 14, 28, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.abas .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.abas .container::-webkit-scrollbar { display: none; }
.abas a {
  white-space: nowrap; padding: 14px 14px; color: var(--muted); font-size: .95rem;
  border-bottom: 2px solid transparent;
}
.abas a:hover { color: var(--text); }
.abas a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.passos { counter-reset: passo; display: grid; gap: 16px; }
.passo {
  counter-increment: passo; position: relative; padding: 20px 20px 20px 74px;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
}
.passo::before {
  content: counter(passo); position: absolute; left: 20px; top: 18px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Sora", sans-serif; font-weight: 700; color: #1a1203;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
}
.passo h3 { margin-bottom: .3em; }
.passo p { margin: 0; color: var(--muted); }

.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .duas-colunas { grid-template-columns: 1fr; } }

.planos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.plano { text-align: center; }
.plano .preco { font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 700; color: var(--text); margin: 6px 0; }
.plano.destaque { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.plano ul { text-align: left; }

.faq details {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px;
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

.linha-tempo { border-left: 2px solid var(--border); padding-left: 24px; display: grid; gap: 26px; }
.versao-bloco { position: relative; }
.versao-bloco::before {
  content: ""; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold);
}
.versao-bloco h3 { margin-bottom: .2em; }
.versao-bloco .quando { color: var(--muted); font-size: .9rem; margin-bottom: .6em; }

/* Texto longo (privacidade, termos, regras) */
.texto { max-width: 820px; margin: 0 auto; }
.texto h2 { font-size: 1.45rem; margin-top: 1.8em; padding-top: .6em; border-top: 1px solid var(--border-soft); }
.texto h2:first-of-type { border-top: 0; margin-top: .4em; }
.texto ul, .texto ol { padding-left: 1.3em; }
.texto li { margin-bottom: .45em; }
.texto li, .texto p { color: #cfd6e3; }
.texto strong { color: var(--text); }
.tabela-rolagem { overflow-x: auto; margin: 1em 0 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
th { color: var(--gold); font-weight: 600; background: var(--surface); }
.aviso {
  border: 1px solid var(--border); background: rgba(232, 193, 106, .06);
  border-radius: 14px; padding: 16px 18px; margin: 1.2em 0;
}

.migalhas { font-size: .88rem; color: var(--muted); padding-top: 22px; }
.migalhas a { color: var(--muted); }
.migalhas a:hover { color: var(--text); }

/* Rodapé */
.rodape { border-top: 1px solid var(--border-soft); padding: 46px 0 30px; margin-top: 40px; background: rgba(0,0,0,.2); }
.rodape .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.rodape h4 { font-size: .95rem; color: var(--gold); margin-bottom: .8em; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: .5em; }
.rodape a { color: var(--muted); }
.rodape a:hover { color: var(--text); }
.rodape .direitos { grid-column: 1 / -1; border-top: 1px solid var(--border-soft); padding-top: 18px; font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .rodape .container { grid-template-columns: 1fr; } }
