/* Taos Network — v2.0.0
   Sistema visual alinhado ao Nova Capital: preto, prata, Tungsten + Poppins. */

/* ---------- Fontes ---------- */
@font-face { font-family: 'Tungsten'; src: url('../fonts/tungsten/Tungsten-Book.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: 'Tungsten'; src: url('../fonts/tungsten/Tungsten-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: block; }
@font-face { font-family: 'Tungsten'; src: url('../fonts/tungsten/Tungsten-Semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: block; }
@font-face { font-family: 'Tungsten'; src: url('../fonts/tungsten/Tungsten-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins/Poppins-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins/Poppins-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins/Poppins-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins/Poppins-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins/Poppins-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* Fonte de espera com as mesmas medidas da Poppins: o texto não muda de largura quando a fonte chega */
@font-face { font-family: 'Poppins Fallback'; src: local('Arial'); size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; }

/* ---------- Tokens ----------
   Mesmos nomes e valores do Nova Capital onde há equivalente
   (cores, linhas, vidro, durações, curvas, sombras, camadas). */
:root {
  /* Cor */
  --bg: #0a0a0a;
  --surface: #161616;
  --surface-2: #111113;
  --preto: #070707;

  --text: #ffffff;
  --text-soft: #CDD5DC;
  --text-mute: #848E98;
  --text-low: #7a7f86;

  --brand: #ACB6C0;
  --brand-light: #dde3ec;
  --prata: linear-gradient(180deg, #ffffff 0%, #dde3ec 50%, #98a2ae 100%);
  --prata-botao: linear-gradient(160deg, #eef1f6 0%, #ffffff 50%, #c4cad8 100%);

  --ok: #22c55e;
  --erro: #ff6b6b;

  /* Linhas */
  --line-1: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.08);
  --line-3: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --line-brand: rgba(192, 200, 212, 0.3);

  /* Vidro */
  --glass-bg: rgba(22, 22, 22, 0.4);
  --glass-bg-strong: rgba(28, 28, 28, 0.55);
  --glass-blur-sm: 4px;
  --glass-blur-lg: 12px;
  --glass-blur-xl: 16px;

  /* Tipografia */
  --display: 'Tungsten', 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Poppins', 'Poppins Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-rotulo: 12px;
  --fs-corpo: 16px;
  --fs-lead: clamp(16px, 1.35vw, 18px);
  --fs-h3: clamp(30px, 3vw, 42px);
  --fs-h2: clamp(44px, 6.4vw, 84px);
  --fs-h1: clamp(60px, min(11vw, 12.5vh), 168px);
  --trilha-rotulo: 0.24em;

  /* Espaço (escala de 4px) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --secao: clamp(88px, 11vw, 148px);

  /* Grade: 12 colunas, usada em todas as seções */
  --container: 1240px;
  --container-pad: clamp(20px, 4vw, 48px);
  --grade-gap: clamp(16px, 2vw, 24px);

  /* Forma */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 72px;

  /* Movimento */
  --dur-1: 0.3s;
  --dur-2: 0.45s;
  --dur-3: 0.9s;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Sombras e camadas */
  --shadow-card: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-header: 0 8px 32px rgba(0, 0, 0, 0.5);
  --z-header: 1000;
  --z-skip: 9999;

  --ruido: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --padrao: url(../img/taos-padrao.svg);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong { color: var(--text); font-weight: 600; }
::selection { background: var(--brand-light); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--container-pad); }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 9999;
  padding: 10px 16px; border-radius: 8px;
  background: #fff; color: #0a0a0a; font-weight: 600; font-size: 14px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Grade ---------- */
.grade { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grade-gap); }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: block;
  font-size: var(--fs-rotulo); font-weight: 600; letter-spacing: var(--trilha-rotulo); text-transform: uppercase;
  color: var(--brand);
}
.titulo {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: var(--fs-h2); line-height: 0.94; letter-spacing: 0.005em;
  color: var(--text); text-wrap: balance;
}
.titulo em, .hero__title em {
  font-style: normal;
  background: var(--prata); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { font-size: var(--fs-lead); line-height: 1.75; color: var(--text-soft); max-width: 58ch; }
.secao { position: relative; padding: var(--secao) 0; }
.secao__head { display: flex; flex-direction: column; gap: var(--s-4); margin-bottom: clamp(40px, 5vw, 72px); }
.secao__head--split { display: grid; row-gap: var(--s-4); align-items: end; }
.secao__head--split .eyebrow { grid-column: 1 / -1; }
.secao__head--split .titulo { grid-column: span 7; }
.secao__head--split .lead { grid-column: 8 / -1; padding-bottom: 6px; }
@media (max-width: 860px) {
  .secao__head--split .titulo, .secao__head--split .lead { grid-column: 1 / -1; }
}

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 24px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  transition: box-shadow 240ms var(--ease-expo), background 240ms var(--ease-expo), border-color 240ms var(--ease-expo), color 240ms var(--ease-expo), transform 240ms var(--ease-expo);
}
.btn svg { flex: none; transition: transform 240ms var(--ease-expo); }
.btn--primary {
  background: linear-gradient(160deg, #eef1f6 0%, #ffffff 50%, #c4cad8 100%);
  color: #0f0f0f; font-weight: 700;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 2px rgba(150, 155, 175, 0.5);
}
.btn--ghost {
  background: rgba(16, 16, 18, 0.6); color: var(--brand-light); border-color: rgba(172, 182, 192, 0.45);
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
@media (hover: hover) {
  .btn--primary:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 12px 32px -8px rgba(214, 222, 236, 0.45), inset 0 1px 0 #fff, inset 0 -1px 2px rgba(150, 155, 175, 0.5); }
  .btn--ghost:hover { background: rgba(192, 200, 212, 0.14); border-color: var(--brand-light); color: #fff; }
  .btn:hover svg { transform: translateX(3px); }
}
.link-seta { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-light); font-weight: 600; font-size: 14px; transition: color 0.3s var(--ease-out); }
.link-seta::after { content: '→'; transition: transform 0.3s var(--ease-out); }
@media (hover: hover) { .link-seta:hover { color: #fff; } .link-seta:hover::after { transform: translateX(4px); } }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}
.site-header.is-stuck, .site-header.is-open {
  background-color: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line-2); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.site-header__inner { max-width: var(--container); height: 100%; margin: 0 auto; padding: 0 var(--container-pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__brand { display: inline-flex; line-height: 0; }
.site-header__brand img { height: 26px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.site-nav__list { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav__list a {
  position: relative; padding: 8px 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s var(--ease-out);
}
.site-nav__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--brand-light); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-expo); }
.site-nav__list a:hover, .site-nav__list a[aria-current] { color: #fff; }
.site-nav__list a:hover::after, .site-nav__list a[aria-current]::after { transform: scaleX(1); }
.site-nav__cta { min-height: 40px; padding: 9px 18px; }
.site-header__toggle { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.site-header__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.35s var(--ease-expo), top 0.35s var(--ease-expo); }
.site-header__toggle span:nth-child(1) { top: 17px; }
.site-header__toggle span:nth-child(2) { top: 25px; }
.is-open .site-header__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.is-open .site-header__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  /* Menu em tela cheia, como em novacapital.gg */
  .site-header__toggle { display: block; }
  .site-header__brand, .site-header__toggle { position: relative; z-index: 2; }
  .site-header.is-open { background-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
  .site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1;
    height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px;
    padding: calc(var(--header-h) + 28px) var(--container-pad) max(28px, env(safe-area-inset-bottom));
    background: #0a0a0a; overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0;
    transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }
  .site-nav::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--padrao) repeat; background-size: 170px auto; opacity: 0.05;
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 100% 100%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 90% 60% at 100% 100%, #000 0%, transparent 75%);
  }
  .is-open .site-nav { visibility: visible; opacity: 1; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; counter-reset: menu; }
  .site-nav__list li { counter-increment: menu; border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease-expo), transform 0.5s var(--ease-expo); }
  .is-open .site-nav__list li { opacity: 1; transform: none; }
  .is-open .site-nav__list li:nth-child(1) { transition-delay: 0.08s; }
  .is-open .site-nav__list li:nth-child(2) { transition-delay: 0.13s; }
  .is-open .site-nav__list li:nth-child(3) { transition-delay: 0.18s; }
  .is-open .site-nav__list li:nth-child(4) { transition-delay: 0.23s; }
  .is-open .site-nav__list li:nth-child(5) { transition-delay: 0.28s; }
  .site-nav__list a {
    display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
    font-family: var(--display); font-weight: 700; font-size: clamp(40px, 12vw, 56px); line-height: 1; letter-spacing: 0.01em; color: #fff;
  }
  .site-nav__list a::before { content: counter(menu, decimal-leading-zero); font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--brand); }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current] { color: var(--brand-light); }
  .site-nav__cta { min-height: 54px; font-size: 13px; opacity: 0; transition: opacity 0.5s var(--ease-out) 0.3s; }
  .is-open .site-nav__cta { opacity: 1; }
  html.menu-aberto { overflow: hidden; }
}

/* Estado inicial do cabeçalho entra sem transição (evita o pulo ao recarregar) */
.site-header--sem-anim, .site-header--sem-anim * { transition: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 32px) 0 clamp(24px, 3vw, 40px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.04); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.78) 34%, rgba(10, 10, 10, 0.28) 68%, rgba(10, 10, 10, 0.5) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, 0) 50%, rgba(10, 10, 10, 0.82) 86%, var(--bg) 100%);
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--ruido); opacity: 0.05; }
.hero__inner { display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(28px, 4vw, 52px); }
.hero__title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: var(--fs-h1); line-height: 0.86; letter-spacing: 0.002em;
  color: var(--text); max-width: 14ch;
}
/* Cada linha do título é uma janela: o texto sobe por dentro dela */
.hero__title .linha { display: block; overflow: hidden; padding-top: 0.16em; margin-top: -0.16em; }
.hero__title .linha > span { display: block; }
.hero__lead { max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, 0.84); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: 6px; }

.hero__destaques { row-gap: var(--s-3); }
.hero__destaques li {
  grid-column: span 4;
  display: flex; align-items: center; gap: var(--s-4);
  padding: 18px 22px;
  border-radius: var(--radius); border: 1px solid var(--line-3);
  background: rgba(14, 14, 16, 0.72);
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.hero__destaques svg {
  flex: none; box-sizing: content-box; padding: 11px;
  border-radius: 50%; border: 1px solid var(--line-3); background: rgba(255, 255, 255, 0.04); color: var(--brand-light);
}
.hero__destaques div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero__destaques b { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; }
.hero__destaques span { font-size: 12.5px; line-height: 1.45; color: var(--text-soft); }
@media (hover: hover) { .hero__destaques li:hover { border-color: var(--line-brand); background: rgba(24, 24, 28, 0.82); } }

@media (max-width: 900px) {
  .hero__destaques li { grid-column: 1 / -1; padding: 12px 16px; }
  .hero__destaques svg { padding: 8px; width: 18px; height: 18px; }
  .hero__destaques b { font-size: 21px; }
}
@media (max-width: 760px) {
  .hero__bg img { object-position: 50% 20%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.58) 26%, rgba(10, 10, 10, 0.68) 56%, rgba(10, 10, 10, 0.96) 82%, var(--bg) 100%);
  }
}

/* ---------- Seção que apaga a luz ----------
   Começa clara e escurece quando o card chega (classe .is-escura, posta pelo site.js).
   O escuro é uma camada preta por cima do claro: só a opacidade muda, então é leve em qualquer aparelho.
   Sem JavaScript a seção já nasce escura. */
.secao--luz { background: #eef1f5; isolation: isolate; }
.secao--luz::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--bg); pointer-events: none; transition: opacity 0.9s var(--ease-out); }
.secao--luz__titulo, .secao--luz__titulo em { transition: color 0.9s var(--ease-out), opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo); }
.js .secao--luz:not(.is-escura)::before { opacity: 0; }
.secao--luz .eyebrow { transition: color 0.9s var(--ease-out), opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo); }
.js .secao--luz:not(.is-escura) .eyebrow { color: #5d6772; }
.js .secao--luz:not(.is-escura) .secao--luz__titulo { color: #0a0a0a; }
.js .secao--luz:not(.is-escura) .secao--luz__titulo em { background: none; -webkit-text-fill-color: currentColor; color: #5d6772; }
.js .secao--luz:not(.is-escura) .criacao { box-shadow: 0 40px 80px -40px rgba(10, 20, 40, 0.55); }

/* ---------- Criações (Nova Capital) ----------
   Mesma cena da primeira dobra de novacapital.gg: fundo + personagem + véu à esquerda.
   --mx / --my vão de -1 a 1 e seguem o ponteiro (ou um vaivém lento quando não há ponteiro); ver site.js. */
.criacao {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(480px, 44vw, 560px);
  border: 1px solid var(--line-3); border-radius: var(--radius-lg);
  background: #000;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
  transform: translateZ(0);
}
.criacao__cena { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; }
.criacao::after {
  content: ''; position: absolute; left: -380px; top: -380px; width: 760px; height: 760px; z-index: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0));
  transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0); opacity: var(--luz, 0); will-change: transform, opacity;
}
.criacao__texto { position: relative; z-index: 1; transform: translate3d(calc(var(--mx, 0) * -7px), calc(var(--my, 0) * -5px), 0); }
.js .criacao[data-reveal].is-viva {
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  transform: perspective(1500px) rotateX(calc(var(--my, 0) * -2.4deg)) rotateY(calc(var(--mx, 0) * 3deg));
}
@media (hover: hover) {
  .criacao:hover { border-color: rgba(120, 200, 255, 0.45); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(40, 170, 255, 0.45); }
}
.criacao__fundo, .criacao__fundo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.criacao__fundo img { object-fit: cover; object-position: 50% 45%; transform: translate3d(calc(var(--mx, 0) * -2.4%), calc(var(--my, 0) * -2.4%), 0) scale(1.14); will-change: transform; }
/* Personagem: ancorado à direita, nunca invade a coluna de texto */
.criacao__figura {
  position: absolute; bottom: 0; right: clamp(-150px, calc((100vw - 1500px) * 0.3), 16px);
  height: min(106%, 610px); aspect-ratio: 1 / 1;
  transform-origin: 50% 100%;
  /* Camada da frente: anda a favor do ponteiro, o fundo anda contra. É isso que dá a profundidade. */
  transform: translate3d(calc(var(--mx, 0) * 3.4%), calc(var(--my, 0) * 2.2%), 0);
  will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, rgba(0, 0, 0, 0.5) 92%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, rgba(0, 0, 0, 0.5) 92%, transparent 100%);
}
.criacao__figura img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
/* Véu: escurece a metade do texto e some antes do personagem */
.criacao__cena::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(3, 8, 20, 0.94) 0%, rgba(3, 8, 20, 0.86) 30%, rgba(3, 8, 20, 0.5) 50%, rgba(3, 8, 20, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 68%, rgba(6, 8, 12, 0.7) 100%);
}
.criacao__cena::before { content: ''; position: absolute; inset: 0; z-index: 1; background-image: var(--ruido); opacity: 0.05; pointer-events: none; }
.criacao__texto { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; width: min(50%, 580px); padding: clamp(32px, 5vw, 72px); padding-right: 0; }
.criacao__logo { height: clamp(36px, 3.6vw, 50px); width: auto; filter: brightness(0) invert(1); }
.criacao__titulo { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 4.6vw, 66px); line-height: 0.94; color: #fff; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5); }
.criacao__lead { max-width: 42ch; font-size: var(--fs-lead); line-height: 1.7; color: rgba(230, 234, 241, 0.94); }
.criacao__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.criacao__tags li {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(6, 14, 30, 0.55);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}

/* Chegada: o personagem entra pela direita e o texto sobe em sequência, uma vez só */
@media (prefers-reduced-motion: no-preference) {
  .js .criacao__figura img { transition: transform 1.6s var(--ease-expo) 0.15s, opacity 0.8s var(--ease-out) 0.15s; }
  .js .criacao:not(.is-in) .criacao__figura img { opacity: 0; transform: translate3d(26%, 4%, 0) scale(1.1); }
  .js .criacao__fundo { transition: transform 2s var(--ease-expo), opacity 1.2s var(--ease-out); }
  .js .criacao:not(.is-in) .criacao__fundo { opacity: 0.35; transform: scale(1.12); }
  .js .criacao__texto > * { transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo); transition-delay: calc(0.25s + var(--n, 0) * 0.09s); }
  .js .criacao:not(.is-in) .criacao__texto > * { opacity: 0; transform: translateY(22px); }
  .criacao__texto > :nth-child(2) { --n: 1; } .criacao__texto > :nth-child(3) { --n: 2; }
  .criacao__texto > :nth-child(4) { --n: 3; } .criacao__texto > :nth-child(5) { --n: 4; }
}

@media (max-width: 1000px) {
  .criacao__figura { height: 94%; right: -13%; }
  .criacao__texto { width: 56%; }
}
@media (max-width: 880px) {
  .criacao__figura { height: 80%; right: -11%; }
}
@media (max-width: 760px) {
  /* Celular: a arte vertical do Nova Capital cobre o card inteiro, azul de cima a baixo */
  .criacao { align-items: flex-end; min-height: 0; }
  .js .criacao[data-reveal].is-viva { transform: none; }
  .criacao__fundo img { object-position: 50% 30%; transform: translate3d(calc(var(--mx, 0) * -3%), calc(var(--my, 0) * -2%), 0) scale(1.16); }
  .criacao__figura { right: auto; left: calc(50% - 190px); top: 4px; bottom: auto; height: 380px; }
  .criacao__cena::after {
    background: linear-gradient(180deg, rgba(3, 8, 20, 0.2) 0%, rgba(3, 8, 20, 0) 110px, rgba(3, 8, 20, 0) 230px, rgba(3, 10, 28, 0.74) 350px, rgba(3, 10, 28, 0.86) 100%);
  }
  .criacao__texto { width: 100%; padding: 322px 22px 28px; gap: 18px; }
  .criacao__titulo { text-shadow: 0 2px 18px rgba(0, 10, 30, 0.7); }
}

/* ---------- Empresa ---------- */
.secao--alt { background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%); border-top: 1px solid var(--line-1); }
.marca-dagua { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 0%, transparent 72%); }
.marca-dagua::before { content: ''; position: absolute; inset: -25%; background: var(--padrao) repeat; background-size: 230px auto; opacity: 0.06; transform: rotate(-14deg); }
.secao > .container { position: relative; z-index: 1; }
.empresa { align-items: start; row-gap: var(--s-7); }
.empresa__texto { grid-column: span 6; display: flex; flex-direction: column; gap: 22px; }
.empresa__guia { grid-column: 8 / -1; }
.empresa__texto p { max-width: 54ch; font-size: var(--fs-lead); }
.principios { counter-reset: p; border-top: 1px solid var(--line-3); }
.principios li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.principios li::before { content: counter(p, decimal-leading-zero); font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: 0.06em; color: var(--brand); }
.principios h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.principios p { grid-column: 2; margin-top: 4px; font-size: 14.5px; color: var(--text-mute); }
.principios__titulo { margin-bottom: 18px; }
@media (max-width: 860px) { .empresa__texto, .empresa__guia { grid-column: 1 / -1; } }

/* ---------- Letreiro (transição entre seções) ---------- */
.letreiro {
  position: relative; overflow: hidden; padding: clamp(22px, 3vw, 36px) 0;
  border-block: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg), var(--surface-2) 50%, var(--bg));
}
.letreiro::before, .letreiro::after { content: ''; position: absolute; top: 0; bottom: 0; z-index: 1; width: 14%; pointer-events: none; }
.letreiro::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(10, 10, 10, 0)); }
.letreiro::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(10, 10, 10, 0)); }
.letreiro__trilho { display: flex; width: max-content; animation: letreiro 46s linear infinite; will-change: transform; }
.letreiro__grupo { display: flex; align-items: center; flex: none; }
.letreiro span {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(54px, 8vw, 116px); line-height: 1; letter-spacing: 0.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(172, 182, 192, 0.42);
}
.letreiro span:nth-of-type(odd) { background: var(--prata); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; opacity: 0.92; }
.letreiro i { flex: none; width: 12px; height: 12px; margin: 0 clamp(24px, 3.4vw, 52px); background: var(--brand); transform: rotate(45deg); opacity: 0.8; }
@keyframes letreiro { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .letreiro__trilho { animation: none; } }

/* ---------- Serviços ---------- */
.servicos { border-top: 1px solid var(--line-3); }
.servico {
  position: relative; display: grid; grid-template-columns: 110px minmax(0, 0.9fr) minmax(0, 1.1fr) 56px; gap: 24px; align-items: center;
  padding: clamp(28px, 3.6vw, 48px) clamp(12px, 2vw, 28px); border-bottom: 1px solid var(--line-2);
  transition: background 0.5s var(--ease-expo);
}
.servico__num { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 6vw, 88px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(172, 182, 192, 0.5); transition: color 0.5s var(--ease-expo), -webkit-text-stroke-color 0.5s var(--ease-expo); }
.servico h3 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.6vw, 52px); line-height: 0.98; text-transform: uppercase; color: #fff; }
.servico p { font-size: 15.5px; color: var(--text-soft); max-width: 52ch; }
.servico__icone { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-3); color: var(--brand); transition: background 0.5s var(--ease-expo), color 0.5s var(--ease-expo), border-color 0.5s var(--ease-expo); }
@media (hover: hover) {
  .servico:hover { background: linear-gradient(90deg, rgba(192, 200, 212, 0.07), rgba(192, 200, 212, 0)); }
  .servico:hover .servico__num { color: var(--brand-light); -webkit-text-stroke-color: transparent; }
  .servico:hover .servico__icone { background: var(--brand-light); color: #0a0a0a; border-color: transparent; }
}
@media (max-width: 860px) {
  .servico { grid-template-columns: 64px 1fr; gap: 10px 16px; align-items: start; padding-inline: 0; }
  .servico__num { font-size: 52px; grid-row: span 2; padding-top: 4px; }
  .servico p { grid-column: 2; }
  .servico__icone { display: none; }
}

/* ---------- Como funciona a compra ---------- */
.passos { position: relative; row-gap: var(--s-6); counter-reset: passo; }
.passo { grid-column: span 4; }
.passos::before { content: ''; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--brand) 0%, rgba(172, 182, 192, 0.25) 100%); }
.passo { position: relative; counter-increment: passo; display: flex; flex-direction: column; gap: 12px; }
.passo__marca {
  position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 14px;
  border-radius: 50%; border: 1px solid rgba(172, 182, 192, 0.5); background: var(--bg); color: var(--brand-light);
  box-shadow: 0 0 0 8px var(--bg);
}
.secao--alt .passo__marca { background: var(--surface-2); box-shadow: 0 0 0 8px var(--surface-2); }
.passo__rotulo { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand); }
.passo__rotulo::after { content: ' ' counter(passo, decimal-leading-zero); }
.passo h3 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3vw, 40px); line-height: 1; text-transform: uppercase; color: #fff; }
.passo p { font-size: 15px; color: var(--text-soft); max-width: 36ch; }
.aviso {
  display: flex; align-items: center; gap: 16px; margin-top: clamp(40px, 5vw, 64px); padding: 18px 22px;
  border-radius: var(--radius); border: 1px solid rgba(192, 200, 212, 0.2); background: rgba(192, 200, 212, 0.04);
  font-size: 14.5px; color: var(--text-soft);
}
.aviso svg { flex: none; color: var(--brand-light); }
.aviso a { color: var(--brand-light); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(192, 200, 212, 0.45); }
@media (max-width: 760px) {
  .passos { row-gap: 36px; }
  .passo { grid-column: 1 / -1; }
  .passos::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--brand) 0%, rgba(172, 182, 192, 0.2) 100%); }
  .passo { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 6px; }
  .passo__marca { grid-row: span 3; margin: 0; }
  .passo > *:not(.passo__marca) { grid-column: 2; }
  .aviso { align-items: flex-start; }
}

/* ---------- Transparência ---------- */
.atalhos { row-gap: var(--grade-gap); }
.atalho { grid-column: span 4; }
.atalho {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 230px;
  padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)), var(--surface);
  transition: border-color 0.4s var(--ease-out), transform 0.5s var(--ease-expo);
}
.atalho__num { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; color: var(--brand); }
.atalho h3 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3vw, 42px); line-height: 1; text-transform: uppercase; color: #fff; }
.atalho p { font-size: 14.5px; color: var(--text-mute); }
.atalho__seta { margin-top: auto; align-self: flex-end; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-3); color: var(--brand-light); transition: background 0.4s var(--ease-expo), color 0.4s var(--ease-expo), transform 0.4s var(--ease-expo); }
@media (hover: hover) {
  .atalho:hover { border-color: rgba(192, 200, 212, 0.4); transform: translateY(-4px); }
  .atalho:hover .atalho__seta { background: var(--brand-light); color: #0a0a0a; transform: rotate(-45deg); }
}
.ficha { margin-top: var(--grade-gap); display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.015); }
.ficha div { padding: 24px 28px; }
.ficha div + div { border-left: 1px solid var(--line-2); }
.ficha dt { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 8px; }
.ficha dd { font-size: 14.5px; line-height: 1.6; color: var(--text); }
@media (max-width: 960px) {
  .atalho { grid-column: 1 / -1; }
  .atalho { min-height: 0; }
  .ficha { grid-template-columns: 1fr 1fr; }
  .ficha div:nth-child(3) { border-left: 0; }
  .ficha div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 560px) {
  .ficha { grid-template-columns: 1fr; }
  .ficha div + div { border-left: 0; border-top: 1px solid var(--line-2); }
}

/* ---------- Contato ---------- */
.contato { align-items: start; row-gap: var(--s-7); }
.contato__info { grid-column: span 5; }
.contato .form { grid-column: 7 / -1; }
.contato__info { display: flex; flex-direction: column; gap: 24px; }
.canais { margin-top: 12px; border-top: 1px solid var(--line-3); }
.canais li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.canais svg { color: var(--brand); grid-row: span 2; }
.canais span { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); }
.canais b, .canais a { grid-column: 2; font-weight: 500; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.canais a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(192, 200, 212, 0.4); }
.canais a:hover { text-decoration-color: var(--brand-light); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)), var(--surface); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.7); }
.form__titulo { grid-column: 1 / -1; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo--largo { grid-column: 1 / -1; }
.campo label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-soft); }
.campo label small { font-size: inherit; color: var(--text-mute); font-weight: 500; letter-spacing: 0.08em; }
.campo input, .campo textarea, .busca input {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line-3); background: rgba(0, 0, 0, 0.35);
  color: #fff; font: inherit; font-size: 15px; line-height: 1.5;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.campo textarea { min-height: 140px; resize: vertical; }
.campo input:hover, .campo textarea:hover, .busca input:hover { border-color: var(--line-strong); }
.campo input:focus, .campo textarea:focus, .busca input:focus { outline: none; border-color: var(--brand-light); box-shadow: 0 0 0 4px rgba(221, 227, 236, 0.12); background: rgba(0, 0, 0, 0.5); }
.campo.tem-erro input, .campo.tem-erro textarea { border-color: var(--erro); }
.campo__erro { min-height: 0; font-size: 12.5px; color: var(--erro); }
.campo__erro:empty { display: none; }
.campo--armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__rodape { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 4px; }
.form__nota { font-size: 12.5px; color: var(--text-mute); max-width: 40ch; }
.form__nota a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.form__status { grid-column: 1 / -1; font-size: 14px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-3); }
.form__status:empty { display: none; }
.form__status.ok { border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.08); color: #b8f5cd; }
.form__status.erro { border-color: rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.08); color: #ffc9c9; }
@media (max-width: 900px) { .contato__info, .contato .form { grid-column: 1 / -1; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line-2); background: #080808; font-size: 14px; }
.site-footer__inner { position: relative; padding-top: clamp(56px, 7vw, 88px); padding-bottom: 32px; }
.site-footer__top { row-gap: 40px; }
.site-footer__top > .site-footer__brand { grid-column: span 4; }
.site-footer__col { grid-column: span 2; }
.site-footer__col:nth-of-type(2) { grid-column: span 3; }
.site-footer__col--empresa { grid-column: span 3; }
.site-footer__tagline { max-width: 30ch; font-size: 17px; line-height: 1.6; color: var(--text-soft); }
.site-footer__col h2 { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 18px; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: var(--text-soft); transition: color var(--dur-1) var(--ease-out); }
.site-footer__col a:hover { color: #fff; }
.site-footer__col--empresa p { color: var(--text-soft); line-height: 1.65; }
.site-footer__col--empresa p + p { margin-top: 10px; }
.site-footer__mid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line-1); }
.site-footer__legal { max-width: 72ch; font-size: 12.5px; line-height: 1.7; color: var(--text-low); }
.rating-card { display: flex; align-items: center; gap: 18px; max-width: 420px; padding: 14px 16px 14px 20px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); }
.rating-card__copy { font-size: 11.5px; line-height: 1.55; color: var(--text-mute); }
.rating-card__copy p + p { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.rating-card__badge { flex: none; width: 52px; height: auto; filter: invert(1); opacity: 0.9; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-1); font-size: 12.5px; color: var(--text-low); }
.site-footer__bottom p { max-width: 84ch; }
.footer-top { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-3); background: transparent; color: var(--brand-light); cursor: pointer; transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.footer-top:hover { background: var(--brand-light); color: #0a0a0a; }
@media (max-width: 960px) {
  .site-footer__top > .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__col, .site-footer__col:nth-of-type(2), .site-footer__col--empresa { grid-column: span 6; }
  .site-footer__mid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .site-footer__col, .site-footer__col:nth-of-type(2), .site-footer__col--empresa { grid-column: 1 / -1; } }

/* Assinatura: mesmo efeito do rodapé do Nova Capital (logo que se desenha, acende e pulsa) */
.assinatura {
  position: relative; display: flex; justify-content: center;
  padding: clamp(48px, 7vw, 80px) var(--container-pad) clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line-1);
  background: radial-gradient(ellipse 24% 66% at 50% 56%, rgba(172, 182, 192, 0.08), transparent 72%), #000;
}
.assinatura__padrao { position: absolute; inset: 0; overflow: hidden; contain: paint; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 46% 130% at 50% 50%, #000 0%, transparent 76%); mask-image: radial-gradient(ellipse 46% 130% at 50% 50%, #000 0%, transparent 76%); }
.assinatura__padrao::before { content: ''; position: absolute; inset: -300px -6%; background: var(--padrao) center / 92px auto repeat; opacity: 0.14; transform: rotate(-14deg); }
.assinatura__link { position: relative; z-index: 1; display: inline-flex; opacity: 0.92; transition: opacity var(--dur-1) var(--ease-out); }
.assinatura__link:hover { opacity: 1; }
.assinatura__logo { display: block; height: clamp(54px, 7vw, 84px); width: auto; overflow: visible; }
.taos__nome path, .taos__sub path { vector-effect: non-scaling-stroke; stroke: var(--text-soft); stroke-linejoin: round; stroke-dasharray: 1; }
.taos__nome path { fill: url(#taos-prata); fill-opacity: 0.95; stroke-width: 1.1px; }
.taos__sub path { fill: var(--text-soft); stroke-width: 0.8px; stroke-opacity: 0; }
.assinatura__logo.is-armada:not(.is-viva) path { fill-opacity: 0; stroke-dashoffset: 1; stroke-opacity: 1; }
.is-viva .taos__nome { animation: taos-halo-acende 1.6s linear 1.5s both, taos-halo-pulso 7s linear 4.6s infinite; }
.is-viva .taos__nome path { animation: taos-traco 1.6s cubic-bezier(0.6, 0, 0.2, 1) both, taos-acende 1.6s linear 1.5s both, taos-pulso 7s linear 4.6s infinite; }
.is-viva .taos__nome path:nth-child(2) { animation-delay: 0.12s, 1.62s, 4.72s; }
.is-viva .taos__nome path:nth-child(3) { animation-delay: 0.24s, 1.74s, 4.84s; }
.is-viva .taos__nome path:nth-child(4) { animation-delay: 0.36s, 1.86s, 4.96s; }
.is-viva .taos__sub path { animation: taos-traco 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.7s both, taos-sub 0.7s ease-out 1.7s both; }
@keyframes taos-traco { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes taos-sub { from { fill-opacity: 0; stroke-opacity: 1; } to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes taos-acende { 0% { fill-opacity: 0; } 12% { fill-opacity: 0.7; } 22% { fill-opacity: 0.06; } 38% { fill-opacity: 0.85; } 52% { fill-opacity: 0.28; } 70%, 100% { fill-opacity: 0.95; } }
@keyframes taos-pulso { 0%, 40% { fill-opacity: 0.95; } 58%, 64% { fill-opacity: 0.12; } 65% { fill-opacity: 0.8; } 66.2% { fill-opacity: 0.1; } 67.6% { fill-opacity: 0.9; } 69.2% { fill-opacity: 0.4; } 72%, 100% { fill-opacity: 0.95; } }
@keyframes taos-halo-acende { 0% { filter: drop-shadow(0 0 3px rgba(221, 227, 236, 0.06)); } 70%, 100% { filter: drop-shadow(0 0 7px rgba(240, 244, 249, 0.44)) drop-shadow(0 0 24px rgba(172, 182, 192, 0.33)); } }
@keyframes taos-halo-pulso { 0%, 40% { filter: drop-shadow(0 0 7px rgba(240, 244, 249, 0.44)) drop-shadow(0 0 24px rgba(172, 182, 192, 0.33)); } 58%, 65% { filter: drop-shadow(0 0 3px rgba(221, 227, 236, 0.06)); } 72%, 100% { filter: drop-shadow(0 0 7px rgba(240, 244, 249, 0.44)) drop-shadow(0 0 24px rgba(172, 182, 192, 0.33)); } }

/* ---------- Topo de páginas internas ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(32px, 4vw, 56px);
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(192, 200, 212, 0.06), transparent 60%),
    radial-gradient(60% 50% at 100% 0%, rgba(192, 200, 212, 0.04), transparent 60%),
    linear-gradient(180deg, #161616 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-1);
}
.page-hero::before {
  content: ''; position: absolute; inset: -25%; pointer-events: none;
  background: url(../img/taos-padrao.svg) repeat; background-size: 230px auto; opacity: 0.07; transform: rotate(-14deg);
  -webkit-mask-image: radial-gradient(ellipse 80% 105% at 80% 30%, #000 0%, transparent 74%); mask-image: radial-gradient(ellipse 80% 105% at 80% 30%, #000 0%, transparent 74%);
}
.page-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--ruido); opacity: 0.12; mix-blend-mode: overlay; }
.page-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.page-hero__crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.page-hero__crumb a { color: rgba(255, 255, 255, 0.75); transition: color 0.3s var(--ease-out); }
.page-hero__crumb a:hover { color: var(--brand-light); }
.page-hero__crumb span[aria-current] { color: rgba(255, 255, 255, 0.95); }
.page-hero__title { font-family: var(--display); font-weight: 700; font-size: clamp(52px, 9vw, 112px); line-height: 0.92; text-transform: uppercase; color: #fff; text-wrap: balance; }
.page-hero__lead { max-width: 62ch; font-size: clamp(15px, 1.3vw, 17px); color: var(--text-soft); }
.page-hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.page-hero__meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- Documento legal ---------- */
.doc { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 10vw, 140px); }
.doc__watermark { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 130% 110% at 100% 100%, #000 5%, transparent 80%); mask-image: radial-gradient(ellipse 130% 110% at 100% 100%, #000 5%, transparent 80%); }
.doc__watermark::before { content: ''; position: absolute; inset: -25%; background: url(../img/taos-padrao.svg) repeat; background-size: 230px auto; opacity: 0.05; transform: rotate(-14deg); }
.doc__grid { position: relative; z-index: 1; align-items: start; row-gap: 20px; }
.doc__sidebar { grid-column: span 3; }
.doc__grid > :last-child { grid-column: 4 / -1; min-width: 0; }
.doc__sidebar { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; border-radius: 16px; }
.doc__toc { padding: 20px 18px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)); }
.doc__toc-title { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 14px; padding: 0; background: none; border: 0; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); cursor: default; }
.doc__toc-title::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.doc__toc-title svg { display: none; margin-left: auto; transition: transform 0.4s var(--ease-out); }
.doc__toc ol { counter-reset: tocitem; display: flex; flex-direction: column; gap: 2px; }
.doc__toc li { counter-increment: tocitem; }
.doc__toc ol a { display: grid; grid-template-columns: 20px 1fr; align-items: baseline; gap: 8px; padding: 7px 10px; border-radius: 8px; border-left: 2px solid transparent; font-size: 12px; line-height: 1.4; font-weight: 500; color: rgba(255, 255, 255, 0.62); transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out); }
.doc__toc ol a::before { content: counter(tocitem, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.35); }
.doc__toc ol a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.doc__toc ol a.is-active { color: #fff; background: rgba(192, 200, 212, 0.1); border-left-color: var(--brand); }
.doc__toc ol a.is-active::before { color: var(--brand-light); }
.doc__toc-link { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 14px 10px 0; border-top: 1px solid var(--line-2); font-size: 12px; font-weight: 600; color: var(--brand); transition: color 0.3s var(--ease-out); }
.doc__toc-link::after { content: '→'; transition: transform 0.3s var(--ease-out); }
.doc__toc-link:hover { color: var(--brand-light); }
.doc__toc-link:hover::after { transform: translateX(3px); }

.doc__article { border: 1px solid var(--line-1); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)), var(--surface); padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 56px) clamp(32px, 4vw, 48px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.6); }
.doc__article > section { scroll-margin-top: calc(var(--header-h) + 20px); }
.doc__article > section + section { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line-1); }
.doc__article p, .doc__article ul, .doc__article ol { font-size: clamp(15px, 1.25vw, 16.5px); line-height: 1.85; color: rgba(255, 255, 255, 0.82); margin: 0 0 14px; }
.doc__article-intro p { color: rgba(255, 255, 255, 0.92); font-size: clamp(16px, 1.4vw, 18px); }
.doc__article ul, .doc__article ol { padding-left: 22px; display: flex; flex-direction: column; gap: 0.5rem; list-style: disc; }
.doc__article ol { list-style: decimal; }
.doc__article li { padding-left: 4px; }
.doc__article li::marker { color: var(--brand); }
.doc__article section > :last-child { margin-bottom: 0; }
.doc__article a { color: var(--brand-light); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(192, 200, 212, 0.45); }
.doc__article a:hover { text-decoration-color: var(--brand-light); }
.doc__article h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.05; text-transform: uppercase; color: #fff; }
.doc__article-num { flex: none; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: 0.02em; color: var(--brand); }
.doc__footnav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-mute); }
.doc__footnav a { text-decoration: none; font-weight: 600; }

@media (max-width: 960px) {
  .doc__sidebar, .doc__grid > :last-child { grid-column: 1 / -1; }
  .doc__sidebar { position: static; max-height: none; overflow: visible; }
  .doc__toc { padding: 14px 16px; }
  .js .doc__toc-title { margin: 0; min-height: 36px; cursor: pointer; }
  .js .doc__toc-title svg { display: block; }
  .js .doc__toc.is-open .doc__toc-title svg { transform: rotate(90deg); }
  .js .doc__toc-corpo { display: none; padding-top: 12px; }
  .js .doc__toc.is-open .doc__toc-corpo { display: block; }
  .doc__toc ol a { padding: 11px 10px; font-size: 13px; }
}
@media (max-width: 600px) { .doc__article h3 { font-size: 22px; gap: 12px; } }

/* ---------- FAQ ---------- */
.busca { position: relative; max-width: 560px; margin-top: 8px; }
.busca svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-mute); pointer-events: none; }
.busca input { padding-left: 46px; min-height: 52px; border-radius: 12px; background: rgba(0, 0, 0, 0.45); }
.busca input::placeholder { color: var(--text-mute); }
.faq-grupo { scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-grupo + .faq-grupo { margin-top: clamp(40px, 5vw, 64px); }
.faq-grupo__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.faq-grupo__head span { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--brand); }
.faq-grupo__head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1; text-transform: uppercase; color: #fff; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; font-size: clamp(15.5px, 1.35vw, 17.5px); font-weight: 500; line-height: 1.45; color: #fff; transition: color 0.3s var(--ease-out); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-3); background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; color: var(--brand-light); transition: transform 0.4s var(--ease-expo), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--brand-light); color: #0a0a0a; border-color: transparent; }
.faq-item summary:hover { color: var(--brand-light); }
.faq-item__corpo { padding: 0 56px 26px 4px; max-width: 78ch; }
.faq-item__corpo p, .faq-item__corpo ul { font-size: 15.5px; line-height: 1.8; color: var(--text-soft); }
.faq-item__corpo p + p, .faq-item__corpo p + ul, .faq-item__corpo ul + p { margin-top: 12px; }
.faq-item__corpo ul { padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.faq-item__corpo li::marker { color: var(--brand); }
.faq-item__corpo a { color: var(--brand-light); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(192, 200, 212, 0.45); }
.faq-item__corpo a:hover { text-decoration-color: var(--brand-light); }
.faq-item__fonte { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--text-mute); }
.faq-vazio { padding: 40px 0; color: var(--text-mute); }
.faq-cta { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid rgba(192, 200, 212, 0.2); background: rgba(192, 200, 212, 0.04); }
.faq-cta h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.2vw, 40px); line-height: 1; text-transform: uppercase; color: #fff; }
.faq-cta p { margin-top: 6px; font-size: 14.5px; color: var(--text-soft); }
[hidden] { display: none !important; }
@media (max-width: 600px) { .faq-item__corpo { padding-right: 4px; } }

/* ---------- 404 ---------- */
.erro { position: relative; overflow: hidden; min-height: 100svh; display: grid; place-items: center; padding: var(--header-h) var(--container-pad) 40px; text-align: center; }
.erro__marca { position: absolute; inset: -20%; pointer-events: none; background: url(../img/taos-padrao.svg) repeat; background-size: 220px auto; opacity: 0.05; transform: rotate(-14deg); -webkit-mask-image: radial-gradient(ellipse 66% 60% at 50% 50%, transparent 40%, #000 100%); mask-image: radial-gradient(ellipse 66% 60% at 50% 50%, transparent 40%, #000 100%); }
.erro__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.erro__codigo { font-family: var(--display); font-weight: 700; font-size: clamp(140px, 24vw, 300px); line-height: 0.8; background: var(--prata); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.erro__linha { margin-top: 24px; font-size: clamp(15px, 1.2vw, 17px); font-weight: 400; color: var(--text-soft); }
.erro__cta { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Entrada em cena ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* Abertura da primeira dobra (uma vez, só transform e opacidade):
     cortina escura abre a arte, o menu desce do topo e o título sobe linha a linha. */
  .hero__bg img { animation: hero-zoom 2.6s var(--ease-expo) both; }
  .hero__bg::after { content: ''; position: absolute; inset: 0; background: #050505; animation: hero-cortina 1.5s var(--ease-out) 0.05s both; pointer-events: none; }
  @keyframes hero-cortina { from { opacity: 1; } to { opacity: 0; } }
  .site-header { animation: menu-desce 0.9s var(--ease-expo) 0.15s both; }
  @keyframes menu-desce { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
  .hero__title .linha > span { animation: linha-sobe 1.1s var(--ease-expo) both; animation-delay: calc(0.3s + var(--i, 0) * 0.12s); }
  @keyframes linha-sobe { from { transform: translate3d(0, 108%, 0); } to { transform: none; } }
  [data-entra] { animation: entra 1s var(--ease-expo) both; animation-delay: calc(0.15s + var(--i, 0) * 0.11s); }
  @keyframes entra { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  /* Destaques do topo: um de cada vez, subindo e assentando */
  [data-entra-chip] { animation: entra-chip 0.95s var(--ease-expo) both; animation-delay: calc(0.75s + var(--i, 0) * 0.16s); }
  @keyframes entra-chip { 0% { opacity: 0; transform: translate3d(0, 44px, 0) scale(0.94); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
  @keyframes hero-zoom { from { transform: scale(1.2); } to { transform: scale(1.04); } }
}
/* Tudo que anima em laço pausa quando sai da tela (classe posta pelo site.js) */
.fora-da-tela, .fora-da-tela * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: no-preference) {
  .criacao.is-viva .criacao__figura img { animation: flutua 6.5s ease-in-out infinite alternate; }
  @keyframes flutua { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -9px, 0); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
