/* ═══════════════════════════════════════
   HETTRENS · ESTILO INSTITUCIONAL
   ═══════════════════════════════════════ */

/* Fonte Manrope carregada via <link> no head de cada pagina. */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #050505;
  --paper: #ffffff;
  --rule: rgba(255,255,255,0.08);
  --mute: rgba(255,255,255,0.56);
  --mute-strong: rgba(255,255,255,0.78);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-display: clamp(44px, 6vw, 76px);
  --fs-h1: clamp(34px, 4.5vw, 54px);
  --fs-h2: clamp(28px, 3vw, 38px);
  --fs-h3: clamp(22px, 2vw, 27px);
  --fs-lead: clamp(18px, 1.4vw, 19px);
  --fs-body: clamp(16px, 1.2vw, 17px);
  --fs-small: clamp(13px, 1vw, 14px);

  --tracking-display: -0.03em;
  --tracking-h1: -0.025em;
  --tracking-h2: -0.02em;
  --tracking-body: 0;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 104px;
  --space-7: 168px;

  --measure: 68ch;
  --container: 1280px;
  --gutter: 24px;

  --bg: var(--ink);
  --surface: #0a0a0a;
  --elevated: #101010;
  --text: var(--paper);
  --text-soft: #f5f5f5;
  --t85: rgba(255,255,255,0.85);
  --t70: rgba(255,255,255,0.70);
  --t55: rgba(255,255,255,0.55);
  --t40: rgba(255,255,255,0.40);
  --t25: rgba(255,255,255,0.25);
  --t12: rgba(255,255,255,0.12);
  --t08: rgba(255,255,255,0.08);
  --t04: rgba(255,255,255,0.04);
  --glass-bg: rgba(10,10,10,0.55);
  --glass-border: rgba(255,255,255,0.07);
  --glass-shadow: 0 1px 20px rgba(0,0,0,0.55);
  --font-display: var(--font);
  --font-title: var(--font);
  --font-body: var(--font);
  --font-brand: var(--font);
  --max-w: var(--container);
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

/* Fundo preto no proprio html: evita o branco do navegador ao puxar a
   rolagem alem do fim, bug visivel principalmente no celular. */
html {
  scroll-behavior: smooth;
  background: #050505;
  color-scheme: dark;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

/* Remove o retangulo azul de toque no celular. */
* {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--t70);
  line-height: 1.6;
  font-size: var(--fs-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

::selection {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

/* ═══════════════════════════════════════
   FUNDO ANIMADO
   ═══════════════════════════════════════ */
/* Fundo totalmente preto, sem papel de parede. */
#bg-canvas { display: none; }
.bg-glow { display: none; }

/* ═══════════════════════════════════════
   CABECALHO: DOIS NIVEIS
   ═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}

/* Cabecalho inteligente */
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 1px 22px rgba(0,0,0,0.55); }
.site-header.is-scrolled .header-top { background: rgba(6,6,6,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

/* Nivel 0: faixa de anuncio, pre-lancamento */
.announce-strip {
  background: rgba(5,5,5,0.9);
  border-bottom: 1px solid var(--t04);
  overflow: hidden;
}

.announce-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 30px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announce-text {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t40);
  display: flex;
  align-items: center;
  gap: 9px;
}

.announce-text::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--t40);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

/* Nivel 1: barra fina, casa Hettrens + idioma */
.header-top {
  background: rgba(5,5,5,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--t04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-divider {
  width: 1px;
  height: 14px;
  background: var(--t08);
  margin: 0 4px;
}

.login-link {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0.04em;
  color: var(--t55);
  padding: 5px 8px;
  transition: color 0.2s;
}

.login-link:hover {
  color: var(--text);
}

.join-btn {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 6px 14px;
  border: 1px solid var(--t25);
  border-radius: 2px;
  transition: all 0.22s var(--ease);
}

.join-btn:hover {
  background: var(--text);
  color: #050505;
  border-color: var(--text);
}

.header-top-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 38px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s;
  padding-left: 0.28em;
}

.brand-link:hover {
  color: var(--t70);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-switch button {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 9px;
  min-width: 30px;
  text-align: center;
  background: none;
  border: none;
  color: var(--t40);
  cursor: pointer;
  transition: color 0.2s;
  border-radius: 4px;
  line-height: 1;
}

.lang-switch button:hover {
  color: var(--t85);
}

.lang-switch button.active {
  color: var(--text);
}

/* Nivel 2: barra de navegacao principal, glass real */
.header-nav {
  background: var(--glass-bg);
  backdrop-filter: blur(36px) saturate(1.5);
  -webkit-backdrop-filter: blur(36px) saturate(1.5);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.header-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 52px;
  padding: 0 32px;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  width: 100%;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: 0.01em;
  color: var(--t55);
  padding: 16px 22px;
  display: block;
  transition: color 0.22s var(--ease);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
  font-weight: 500;
}

/* ── Botao mobile ── */
.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--t55);
}

.mobile-toggle svg {
  width: 20px; height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ── Overlay mobile ── */
.mobile-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 84px 32px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-close {
  position: absolute;
  top: 18px; right: 24px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  cursor: pointer;
  color: var(--t55);
}

.mobile-close svg {
  width: 20px; height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.mobile-overlay a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--t55);
  border-bottom: 1px solid var(--t08);
  transition: color 0.2s;
}

.mobile-overlay a:hover,
.mobile-overlay a.active {
  color: var(--text);
}

/* ═══════════════════════════════════════
   MAIN
   ═══════════════════════════════════════ */
main {
  position: relative;
  z-index: 2;
  padding-top: 118px; /* cabecalho compartilhado: linha da marca + navegacao */
}

section {
  padding: var(--space-7) var(--gutter);
  position: relative;
}

.section-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   HIERARQUIA TIPOGRAFICA (base)
   ═══════════════════════════════════════ */
.kicker {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--t40);
  margin-bottom: var(--space-4);
  display: block;
}

.display-title {
  font-family: var(--font-title);
  font-size: var(--fs-h1);
  font-weight: 300;
  letter-spacing: var(--tracking-h1);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: var(--space-3);
}

.support-text {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
  color: var(--t55);
  max-width: var(--measure);
  margin-bottom: var(--space-4);
}

/* ═══════════════════════════════════════
   SELO DE STATUS
   ═══════════════════════════════════════ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t70);
}

.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--t70);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════
   HOME: HERO + CTA
   ═══════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px 100px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero .display-title {
  animation: rise 0.9s var(--ease) 0.15s both;
}

.hero .kicker {
  max-width: 420px;
  animation: rise 0.9s var(--ease) 0.05s both;
}

.hero .support-text {
  animation: rise 0.9s var(--ease) 0.28s both;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: rise 0.9s var(--ease) 0.4s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 2px;
  transition: all 0.28s var(--ease);
}

.cta-primary {
  background: var(--text);
  color: #050505;
}

.cta-primary:hover {
  background: var(--t70);
  transform: translateY(-1px);
}

.cta-ghost {
  color: var(--t70);
  border: 1px solid var(--t12);
}

.cta-ghost:hover {
  color: var(--text);
  border-color: var(--t25);
}

.cta svg {
  width: 15px; height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  transition: transform 0.22s var(--ease);
}

.cta:hover svg {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════
   ARQUITETURA: composicao conceitual central
   ═══════════════════════════════════════ */
.architecture {
  border-top: 1px solid var(--t08);
}

.architecture-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.arch-stage {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.arch-svg {
  width: 100%;
  max-width: 640px;
  height: auto;
  overflow: visible;
}

.arch-line {
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1;
  fill: none;
}

.arch-ellipse {
  stroke: rgba(255,255,255,0.10);
  stroke-width: 1;
  fill: none;
}

.arch-node-dot {
  fill: rgba(255,255,255,0.55);
}

.arch-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 450;
  fill: var(--t70);
  letter-spacing: 0.02em;
}

.arch-tag {
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 500;
  fill: var(--t40);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arch-center {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  fill: var(--text);
  letter-spacing: 0.06em;
}

/* Ponto que converge ao centro, movimento lento */
.arch-pulse {
  fill: rgba(255,255,255,0.85);
}

.arch-flow-1 { animation: flow1 6s ease-in-out infinite; }
.arch-flow-2 { animation: flow2 6s ease-in-out infinite; animation-delay: 2s; }
.arch-flow-3 { animation: flow3 6s ease-in-out infinite; animation-delay: 4s; }

@keyframes flow1 {
  0%   { transform: translate(300px, 70px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translate(300px, 190px); opacity: 0; }
}
@keyframes flow2 {
  0%   { transform: translate(96px, 330px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translate(288px, 222px); opacity: 0; }
}
@keyframes flow3 {
  0%   { transform: translate(504px, 330px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translate(312px, 222px); opacity: 0; }
}

.arch-ring {
  transform-origin: 300px 210px;
  animation: arch-rotate 40s linear infinite;
}

@keyframes arch-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.arch-caption {
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: var(--t40);
  max-width: 420px;
  margin: 44px auto 0;
}

/* ── Grid de divisoes ── */
.divisions {
  border-top: 1px solid var(--t08);
}

.divisions-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--t08);
  border: 1px solid var(--t08);
  margin-top: 48px;
}

.division-card {
  background: var(--bg);
  padding: 44px 34px;
  transition: background 0.35s var(--ease);
  position: relative;
}

.division-card:hover {
  background: var(--surface);
}

.division-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.division-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.division-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--t40);
  max-width: 340px;
}

/* Selo dentro do card */
.tag {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}

.tag-active {
  color: var(--text);
  border: 1px solid var(--t25);
}

.tag-soon {
  color: var(--t40);
  border: 1px solid var(--t08);
}

/* ═══════════════════════════════════════
   PAGINA: QUEM SOMOS
   ═══════════════════════════════════════ */
.page-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   ETAPA 9: HERO COM VIDEO, RESEARCH
   Um video por pagina. A home tem a orca, a Research tem a agua-viva.
   Nenhuma outra pagina recebe video.

   A altura do hero e definida pelo conteudo, nao pelo viewport. Isso faz
   a posicao vertical do texto, e portanto o contraste, nao variar com a
   altura da tela, ao contrario da home.

   Contraste medido em 15/10/2026, contra quadro 100% branco, que e o teto
   de luminancia possivel apos grayscale e contrast(1.1):
     375px  topo em 25.0%  ->  7.80:1
     768px  topo em 30.5%  ->  8.09:1
     1920px topo em 26.5%  ->  7.88:1
   Pior caso 7.80:1, dentro de AAA.
   Os tres pontos do gradiente sustentam essa conformidade: nao enfraquecer.
   Qualquer mudanca no padding ou no tamanho do texto exige recalcular.
   ═══════════════════════════════════════ */
.research-hero {
  position: relative;
  overflow: hidden;
  background: var(--stage, #050505);
}
.research-hero .page-inner {
  position: relative;
  z-index: 3;
}
.research-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.research-hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}
.research-hero.hero-static .research-hero-video {
  background-image: url("../video/agua-viva-poster.webp");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.1);
}
.research-hero.hero-static .research-hero-video video { display: none; }

.research-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(5,5,5,0.65) 0%, rgba(5,5,5,0.75) 60%, rgba(5,5,5,0.92) 100%),
    linear-gradient(to right,
      rgba(5,5,5,0.35) 0%, rgba(5,5,5,0) 10%, rgba(5,5,5,0) 90%, rgba(5,5,5,0.35) 100%);
}
.research-hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 50%, transparent 58%, rgba(5,5,5,0.55) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .research-hero-video video { display: none; }
  .research-hero-video {
    background-image: url("../video/agua-viva-poster.webp");
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(1.1);
  }
}

.page-lead {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
  color: var(--t70);
  max-width: var(--measure);
  margin-top: 8px;
}

.about-block {
  border-top: 1px solid var(--t08);
}

.about-label {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t40);
  margin-bottom: var(--space-4);
}

.about-division {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--t08);
}

.about-division:first-of-type {
  border-top: none;
}

.about-division-name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}

.about-division-name .tag {
  display: inline-block;
  margin-top: 12px;
}

.about-division p {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--t55);
}

.about-prose p {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--t55);
  margin-bottom: var(--space-3);
  max-width: var(--measure);
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.draft-flag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t40);
  border: 1px solid var(--t08);
  border-radius: 2px;
  padding: 5px 12px;
  margin-top: 40px;
}

/* ═══════════════════════════════════════
   PAGINA: CONTATO
   ═══════════════════════════════════════ */
.contact-email-block {
  border-top: 1px solid var(--t08);
}

.contact-email-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t40);
  margin-bottom: 20px;
}

.contact-email {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  letter-spacing: var(--tracking-h2);
  color: var(--text);
  transition: color 0.25s;
}

.contact-email:hover {
  color: var(--t70);
}

.contact-email-note {
  font-size: 12px;
  color: var(--t25);
  margin-top: 16px;
}

/* Link de contato no rodape */
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.03em;
  color: var(--t55);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

/* ═══════════════════════════════════════
   PAGINAS DE DIVISAO: pilares, temas, em breve
   ═══════════════════════════════════════ */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pill {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.02em;
  color: var(--t70);
  padding: 10px 18px;
  border: 1px solid var(--t12);
  border-radius: 2px;
  transition: all 0.22s var(--ease);
}

.pill:hover {
  color: var(--text);
  border-color: var(--t25);
  background: var(--t04);
}

.soon-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.soon-hero .status-badge {
  font-size: 11px;
}

.soon-block {
  border-top: 1px solid var(--t08);
}

/* ═══════════════════════════════════════
   QUEM SOMOS EXPANDIDA
   ═══════════════════════════════════════ */
/* Fechamento institucional, conecta com as camadas numeradas */
.about-close {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-top: 30px;
}

.about-section-title {
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  font-weight: 400;
  letter-spacing: var(--tracking-h2);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: var(--space-3);
}

/* Camadas numeradas */
.layers { margin-top: var(--space-3); }
.layer {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--t08);
}
.layer-num {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--t25);
}
.layer-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t40);
  margin-bottom: 10px;
}
.layer-title {
  font-family: var(--font-title);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}
.layer-text {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--t55);
  max-width: var(--measure);
}

.principles {
  list-style: none;
  margin-top: var(--space-3);
  max-width: var(--measure);
}

.principles li {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--t70);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--t08);
}

.principles li:first-child { border-top: none; }

.about-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.about-ghost-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--t70);
  transition: color 0.2s var(--ease);
}

.about-ghost-link:hover { color: var(--text); }

/* ═══════════════════════════════════════
   LISTA DE ESPERA
   ═══════════════════════════════════════ */
.waitlist {
  border-top: 1px solid var(--t08);
}

.waitlist-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.waitlist .display-title {
  font-size: var(--fs-h2);
  font-weight: 400;
  letter-spacing: var(--tracking-h2);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.waitlist-form {
  display: flex;
  max-width: 460px;
  margin-top: 32px;
  border: 1px solid var(--t12);
  border-radius: 2px;
  overflow: hidden;
}

.waitlist-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--t70);
  outline: none;
  cursor: not-allowed;
}

.waitlist-form input::placeholder {
  color: var(--t25);
}

.waitlist-form button {
  padding: 15px 26px;
  background: var(--text);
  color: #050505;
  border: none;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: not-allowed;
  white-space: nowrap;
}

.waitlist-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--t25);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer {
  border-top: 1px solid var(--t08);
  padding: var(--space-5) var(--gutter);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
}

.footer-company {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--t40);
  margin-bottom: 18px;
  padding-left: 0.28em;
}

.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.95;
  color: var(--t25);
  margin-bottom: 20px;
  max-width: 620px;
}

.footer-status {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t55);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--t55);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.footer-copyright {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--t04);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--t25);
}

/* ═══════════════════════════════════════
   ANIMACOES
   ═══════════════════════════════════════ */
@keyframes pulse-dot {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   REVELACAO A PROVA DE FALHA
   Nada nasce escondido. O JavaScript so esconde depois de confirmar
   que consegue animar, marcando o documento com js-reveal-ready.
   Sem essa marca, o conteudo aparece normalmente.
   ═══════════════════════════════════════ */
.reveal {
  opacity: 1;
  transform: none;
}

/* Revelacao v18 centralizada em editorial.css. A abertura fica visivel. */

/* ═══════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .header-top-inner { padding: 0 var(--gutter); }
  .header-nav-inner { padding: 0 var(--gutter); height: 50px; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  section { padding: var(--space-5) var(--gutter); }
  footer { padding: var(--space-5) var(--gutter); }
  main { padding-top: 116px; }
  .announce-inner { padding: 0 var(--gutter); }
  .announce-text { font-size: 8.5px; letter-spacing: 0.16em; }
  .login-link { display: none; }
  .header-divider { display: none; }
  .join-btn { display: none; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { border-top: 1px solid var(--t12); }
  .about-division { grid-template-columns: 1fr; gap: 12px; }
  .layer { grid-template-columns: 1fr; gap: 10px; }
  .layer-num { font-size: 28px; }

  /* Desempenho no celular: desfoque de vidro e camadas de composicao
     custam caro e causam travamento. Trocados por fundo solido. */
  .site-header { will-change: auto; }
  .site-header.is-scrolled .header-top {
    background: #080808;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mobile-toggle,
  .mobile-menu {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mobile-menu { background: #070707; }
}

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