/* O Conselho: base visual das páginas públicas (11/11/2026).
   Nasceu no protótipo da Educação (educacao/prototipo/estilo.css): título pesado com a segunda linha fina,
   preto, branco e cinza, botões em pílula, fundo vivo e cartões com a luz que acompanha o cursor.
   Nas páginas da casa o dourado fica só nos detalhes (variável --acento). Pra uma página sem dourado,
   basta redefinir --acento e --acento-claro nela. Nada aqui toca em pixel, evento ou UTM. */

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #171717;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --cinza: #a3a3a3;
  --cinza-claro: #dcdcdc;
  --cinza-soft: rgba(190, 190, 190, 0.14);
  --cinza-line: rgba(190, 190, 190, 0.42);
  --acento: #c8a24a;
  --acento-claro: #e3c77a;
  --acento-soft: rgba(200, 162, 74, 0.1);
  --acento-line: rgba(200, 162, 74, 0.45);
  --paper: #f4f4f2;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --dim: rgba(255, 255, 255, 0.44);
  --ponto: #d0d0d0;
  --maxw: 1160px;
  --titulo: "Poppins", "Inter", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
/* Segunda linha do título: fina, mesma letra. */
.fina { display: block; font-style: normal; font-weight: 300; color: rgba(255, 255, 255, 0.78); letter-spacing: -0.03em; }

:focus-visible { outline: 2px solid var(--cinza-claro); outline-offset: 3px; border-radius: 6px; }

/* ---------- Fundo vivo ---------- */
.fundo { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.fundo::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 46% at 50% -10%, rgba(190, 190, 190, 0.17), transparent 70%),
    radial-gradient(38% 36% at 100% 12%, rgba(190, 190, 190, 0.07), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(190, 190, 190, 0.05), transparent 70%);
}
.fundo::after {
  content: ""; position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.fundo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topo.solto { position: static; }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.marca { display: flex; align-items: center; gap: 11px; min-width: 0; }
/* O arquivo do logo tem muita folga em volta da figura: o corte aproxima. */
.marca img { height: 62px; width: 46px; margin: -8px 0 -8px -6px; object-fit: cover; object-position: 50% 46%; display: block; }
.marca .nome { font-family: var(--titulo); font-weight: 600; font-size: 16.5px; letter-spacing: 0; line-height: 1.1; white-space: nowrap; }
.marca .nome small {
  display: block; font-family: var(--sans); font-weight: 500; font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cinza); margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav a { transition: color 0.2s; position: relative; padding: 6px 0; }
.nav a:hover, .nav a.ativo { color: var(--text); }
.nav .pill {
  padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.nav .pill:hover { border-color: var(--cinza-line); background: var(--cinza-soft); }

/* ---------- Peças ---------- */
.selo {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cinza-claro);
}
.selo::before { content: ""; width: 22px; height: 1px; background: var(--acento); }
.selo.caixa { padding: 8px 14px; border: 1px solid var(--cinza-line); border-radius: 999px; background: rgba(190, 190, 190, 0.06); }
.selo.caixa::before { width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 10px var(--acento); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform 0.2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn.claro { background: var(--paper); color: #14110b; box-shadow: 0 12px 34px -16px rgba(215, 215, 215, 0.8); }
.btn.claro:hover { background: #fff; box-shadow: 0 18px 40px -16px rgba(215, 215, 215, 0.95); }
.btn.linha { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn.linha:hover { border-color: var(--cinza-line); background: var(--cinza-soft); }
.btn.pequeno { padding: 11px 18px; font-size: 13.5px; }

.num { font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: 0.08em; color: var(--acento-claro); font-variant-numeric: tabular-nums; }

/* Cartão com a luz que acompanha o cursor (visual.js cuida do --mx e --my). */
.luz {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--line); border-radius: 22px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.luz::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(200, 162, 74, 0.13), transparent 62%);
}
.luz > * { position: relative; }
@media (hover: hover) {
  .luz:hover { border-color: var(--acento-line); transform: translateY(-4px); }
  .luz:hover::before { opacity: 1; }
}

/* Entrada das seções ao aparecer na tela. */
.surge { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.3s; }
.surge.visto { opacity: 1; transform: none; }
@media (hover: hover) { .luz.surge.visto:hover { transform: translateY(-4px); } }

.secao { padding: 104px 0; position: relative; }
.secao + .secao { border-top: 1px solid var(--line); }

.rodape { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--dim); font-size: 13.5px; }
.rodape .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.rodape a { color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.rodape a:hover { color: var(--text); }

.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .topo .wrap { height: 64px; }
  .marca img { height: 54px; width: 40px; margin: -6px 0 -6px -5px; }
  .nav a:not(.pill) { display: none; }
  .secao { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .surge { opacity: 1; transform: none; transition: none; }
  .btn, .luz { transition: none; }
}
