:root {
  --bg: #ffffff;
  --ink: #12202b;
  --muted: #5a6b78;
  --line: #e3e9ee;
  --brand: #006599;
  --logo-filter: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d151c;
    --ink: #e8eef3;
    --muted: #9aabb8;
    --line: #22313d;
    --brand: #4fb3e6;
    --logo-filter: none;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Roboto Condensed", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Página inicial: escura, com o logo sobre uma névoa branca em movimento */
body.launch {
  background: #05090d;
  color: #f2f6f9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 64px 16px 32px;
}
.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1300px;
  height: 1300px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  animation: fade-in 2.4s ease-out .2s forwards;
  /* mais fraca bem atrás do logo, para não atrapalhar a leitura */
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, .6) 90px, rgba(0, 0, 0, .85) 180px, #000 280px);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, .6) 90px, rgba(0, 0, 0, .85) 180px, #000 280px);
}
.glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform;
}
.glow span:nth-child(1) {
  width: 23%; height: 23%; left: 38.5%; top: 38.5%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.276) 30%, rgba(255, 255, 255, 0.195) 58%, rgba(255, 255, 255, 0.090) 80%, rgba(255, 255, 255, 0.024) 93%, rgba(255, 255, 255, 0) 100%);
}
.glow span:nth-child(2) {
  width: 23%; height: 23%; left: 38.5%; top: 38.5%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.276) 30%, rgba(255, 255, 255, 0.195) 58%, rgba(255, 255, 255, 0.090) 80%, rgba(255, 255, 255, 0.024) 93%, rgba(255, 255, 255, 0) 100%);
}
.glow span:nth-child(3) {
  width: 23%; height: 23%; left: 38.5%; top: 38.5%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.276) 30%, rgba(255, 255, 255, 0.195) 58%, rgba(255, 255, 255, 0.090) 80%, rgba(255, 255, 255, 0.024) 93%, rgba(255, 255, 255, 0) 100%);
}
.glow span:nth-child(4) {
  width: 23%; height: 23%; left: 38.5%; top: 38.5%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.276) 30%, rgba(255, 255, 255, 0.195) 58%, rgba(255, 255, 255, 0.090) 80%, rgba(255, 255, 255, 0.024) 93%, rgba(255, 255, 255, 0) 100%);
}
.glow span:nth-child(5) {
  width: 23%; height: 23%; left: 38.5%; top: 38.5%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.276) 30%, rgba(255, 255, 255, 0.195) 58%, rgba(255, 255, 255, 0.090) 80%, rgba(255, 255, 255, 0.024) 93%, rgba(255, 255, 255, 0) 100%);
}
.mark-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.82);
  animation: mark-in 1.4s cubic-bezier(.2, .8, .2, 1) .3s forwards;
}
.mist {
  position: absolute;
  inset: -31px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, .78);
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%);
  mask-image: radial-gradient(circle, #000 52%, transparent 71%);
}
.mist span {
  position: absolute;
  width: 140%;
  height: 90%;
  border-radius: 50%;
  filter: blur(18px);
  will-change: transform;
}
.mist span:nth-child(1) { left: -60%; top: -10%; background: rgba(255, 255, 255, .95); animation: mist-a 9s ease-in-out infinite alternate; }
.mist span:nth-child(2) { right: -60%; top: 30%; background: rgba(224, 240, 248, .9); animation: mist-b 12s ease-in-out infinite alternate; }
.mist span:nth-child(3) { left: -20%; bottom: -50%; background: rgba(245, 250, 253, .9); animation: mist-c 10s ease-in-out infinite alternate; }
.mark { position: relative; width: 148px; height: 148px; }
.hero h1 {
  position: relative;
  font-size: clamp(36px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 20px 0 8px;
  padding-bottom: .12em;
  background: linear-gradient(180deg, #ffffff 0%, #bfe3f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: rise-in 1.2s cubic-bezier(.2, .8, .2, 1) 1.1s forwards;
}
.hero p.lead {
  position: relative;
  font-size: clamp(18px, 2.6vw, 24px);
  color: #8fa6b6;
  margin: 0;
  opacity: 0;
  animation: rise-in 1.2s cubic-bezier(.2, .8, .2, 1) 1.5s forwards;
}
.company {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 16px 32px;
  font-size: 13px;
  color: #6f8494;
  line-height: 1.9;
  opacity: 0;
  animation: fade-in 1s ease-out 2.2s forwards;
}
.company strong { color: #b9cfdd; font-weight: 600; }
.company a { color: #32aadc; text-decoration: none; }
.company a:hover { text-decoration: underline; }
@keyframes mist-a { from { transform: translate(0, 0); } to { transform: translate(45%, 12%); } }
@keyframes mist-b { from { transform: translate(0, 0); } to { transform: translate(-45%, -18%); } }
@keyframes mist-c { from { transform: translate(0, 0); } to { transform: translate(25%, -30%); } }
@keyframes mark-in { to { opacity: 1; transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .haze, .haze::before, .haze-radar, .glow, .glow span, .mark-wrap, .mist span, .hero h1, .hero p.slogan, .hero p.lead, .company { animation: none; opacity: 1; transform: none; }
}

/* Política de privacidade */
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
header.top img { width: 32px; height: 32px; filter: var(--logo-filter); border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .92); }   /* mesmo anel branco do logo da página inicial */
header.top a { color: var(--ink); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 12px; }
main.doc { padding: 40px 0 64px; }
main.doc h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
main.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
main.doc h2 { font-size: 20px; margin: 32px 0 8px; }
main.doc ul { padding-left: 20px; }
footer.bottom { text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 24px 0 40px; }
.particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: fade-in 3s ease-out .8s forwards;
}
.veil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 296px;          /* o dobro do logo (148 px) */
  height: 296px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  animation: fade-in 2.4s ease-out .4s forwards;
}
.mark-wrap .mark { position: relative; z-index: 1; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .92); }   /* anel branco fino (~2,7% do diâmetro) separa o logo da névoa */
/* segunda névoa: grande, atrás das três manchas; degradê branco (lado forte e lado fraco) que gira com velocidade variada */
.haze {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  animation: fade-in 3s ease-out .2s forwards;
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .65) 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .65) 45%, transparent 100%);
}
.haze::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(255, 255, 255, .40) 0deg,
    rgba(255, 255, 255, .373) 70deg,
    rgba(255, 255, 255, .333) 150deg,
    rgba(255, 255, 255, .32) 210deg,
    rgba(255, 255, 255, .36) 290deg,
    rgba(255, 255, 255, .40) 360deg);
  filter: blur(40px);
  opacity: var(--haze-k, 1);   /* o mist.js varia de 0,5 a 1: o lado forte fica entre 20% e 40% */
  animation: haze-spin 48s linear infinite;
}
/* giro variado: trechos rápidos e trechos lentos, com ida para frente sempre */
@keyframes haze-spin {
  0%   { transform: rotate(0deg); }
  18%  { transform: rotate(150deg); }
  30%  { transform: rotate(175deg); }
  52%  { transform: rotate(390deg); }
  63%  { transform: rotate(405deg); }
  85%  { transform: rotate(640deg); }
  100% { transform: rotate(720deg); }
}
/* garoa em pontinhos (drizzle.js), na mesma área da névoa grande */
.drizzle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  animation: fade-in 3s ease-out 1s forwards;
}
/* Tipografia (regra dele, 01/11): texto corrido em Roboto Condensed (cabe em tudo);
   Roboto nos títulos e destaques; Roboto Slab e Roboto Serif reservadas para propaganda (.ad-slab, .ad-serif). */
h1, h2, h3, strong, .hero h1 { font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
.ad-slab { font-family: "Roboto Slab", Georgia, serif; }
.ad-serif { font-family: "Roboto Serif", Georgia, serif; }
/* névoa grande em gráfico radar (desenhada pelo mist.js), esfumada pelo blur */
.haze-radar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  filter: blur(34px);
  pointer-events: none;
  opacity: 0;
  animation: fade-in 3s ease-out .2s forwards;
}
/* slogan da marca, entre o título e o subtítulo */
.hero p.slogan {
  position: relative;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(17px, 2.4vw, 22px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #32aad2;
  margin: 0 0 14px;
  opacity: 0;
  animation: rise-in 1.2s cubic-bezier(.2, .8, .2, 1) 1.3s forwards;
}

/* chamadas para ação (Quem Somos) */
main.doc .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 32px; }
main.doc .cta { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; color: #fff; background: linear-gradient(135deg, #006699, #32aad2); }
main.doc .cta-sec { color: #006699; background: transparent; box-shadow: inset 0 0 0 2px #32aad2; }
@media (prefers-color-scheme: dark) { main.doc .cta-sec { color: #9fd8ec; } }

/* ligações entre a história (Quem Somos) e os Princípios */
main.doc .liga { font-size: 14px; color: var(--muted); border-left: 3px solid #32aad2; padding: 4px 0 4px 12px; margin: 12px 0 0; }

/* navegação entre Perfil, Biografia e Princípios */
main.doc .subnav { font-size: 15px; margin: 0 0 28px; }
main.doc .subnav a[aria-current="page"] { font-weight: 600; text-decoration: none; color: var(--ink); }
main.doc .lead-in { font-size: 18px; line-height: 1.6; }
