/* xonfy — styles.css
   Mobile-first. Só preto, branco e cinzas.
   Fontes: Instrument Serif SÓ nos títulos grandes (sem itálico); Inter em todo o resto. */

/* ---------- Fontes (hospedadas no site, SIL OFL 1.1) ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
/* Fallbacks com métricas ajustadas (mesma largura/altura das fontes reais: sem salto de layout) */
@font-face {
  font-family: "Instrument Fallback";
  src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Georgia");
  size-adjust: 81.4%; ascent-override: 121.6%; descent-override: 38.1%; line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 106.1%; ascent-override: 91.4%; descent-override: 22.6%; line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --fg: #f5f5f5; --bg: #0a0a0a;
  --serif: "Instrument Serif", "Instrument Fallback", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 64px;
  --radius-sheet: 36px;
  --gutter: 16px;
  --wrap: 1200px;
}
.theme-dark {
  --bg: #0a0a0a; --fg: #f5f5f5; --muted: #a3a3a3; --line: #262626;
  --field-line: #737373; --surface: #141414;
  color-scheme: dark;
  background-color: var(--bg); color: var(--fg);
}
.theme-light {
  --bg: #fafafa; --fg: #0a0a0a; --muted: #525252; --line: #e5e5e5;
  --field-line: #8a8a8a; --surface: #f0f0f0;
  color-scheme: light;
  background-color: var(--bg); color: var(--fg);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  background: #0a0a0a; overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: #0a0a0a; color: #f5f5f5;
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3 { margin: 0; font-weight: 400; font-synthesis: none; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
main:focus, #contact-h:focus, section[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 16px; background: #f5f5f5; color: #0a0a0a; border-radius: 8px;
  font-weight: 600; text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.muted { color: var(--muted); }

/* Escala de tipo: títulos grandes em serif + todo o resto em Inter */
.h2 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw + .75rem, 4.75rem); line-height: 1; letter-spacing: -0.01em; }
.h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; border: 1px solid transparent;
  transition: transform .15s var(--ease), background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
/* Botão principal = VIDRO, texto sempre branco. Vidro claro sobre o escuro; vidro escuro sobre o claro. */
.btn-primary {
  color: #ffffff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 24px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.theme-light .btn-primary, .site-header.on-light .btn-primary {
  background: rgba(10, 10, 10, .78); border-color: rgba(10, 10, 10, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 24px rgba(0, 0, 0, .14);
}
.btn-ghost { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 40%, transparent); }
.btn-text { background: transparent; color: var(--muted); padding-inline: 14px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .875rem; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .3); }
  .theme-light .btn-primary:hover, .site-header.on-light .btn-primary:hover { background: rgba(10, 10, 10, .9); }
  .btn-ghost:hover { border-color: var(--fg); }
  .btn-text:hover { color: var(--fg); }
  .btn:active:not(:disabled) { transform: scale(.97); }
}

/* ---------- Cabeçalho ---------- */
.site-header {
  --hfg: #f5f5f5; --hbg: rgba(10, 10, 10, .72); --hline: rgba(255, 255, 255, .08);
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  color: var(--hfg); transition: color .2s ease;
}
.site-header.on-light { --hfg: #0a0a0a; --hbg: rgba(250, 250, 250, .72); --hline: rgba(0, 0, 0, .08); }
/* sobre a parte branca: vidro bem transparente e mais desfocado, para não formar uma faixa de cor diferente */
.site-header.on-light::before { -webkit-backdrop-filter: blur(32px) saturate(1.05); backdrop-filter: blur(32px) saturate(1.05); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hbg);   /* sem linha embaixo do cabeçalho */
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  opacity: 0; transition: opacity .25s ease, background-color .2s ease, border-color .2s ease;
}
.site-header.is-solid::before { opacity: 1; }
.menu-open .site-header { --hfg: #f5f5f5; }
.menu-open .site-header::before { opacity: 0; }
.header-inner {
  height: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 8px;
}
.logo {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  margin: 0 auto 0 -7px; color: inherit; border-radius: 8px;
}
.logo-mark { width: 30px; height: auto; fill: currentColor; transition: transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .logo:hover .logo-mark { transform: rotate(45deg); } }
.js .site-header:not(.is-solid) .logo {
  opacity: 0; visibility: hidden; transform: scale(.7);
  transition: opacity .25s ease, transform .4s var(--ease), visibility 0s linear .4s;
}
.js .site-header .logo { transition: opacity .35s ease, transform .5s var(--ease), visibility 0s; }
.vapor-on .site-header .logo, .vapor-on .site-header:not(.is-solid) .logo { opacity: 1; transform: none; transition: none; transform-origin: 0 50%; }
.vapor-on .site-header .logo.is-moving { will-change: transform, opacity, filter; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; z-index: 0;
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  font-size: .9375rem; font-weight: 500; text-decoration: none; color: inherit; border-radius: 8px;
  opacity: .72; transition: opacity .3s ease, text-shadow .35s ease, color .3s ease;
}
/* hover e seção atual (sobre o escuro): o texto acende com uma luz forte, sem fundo nem borda */
.nav a:hover, .nav a.is-current {
  opacity: 1; text-shadow: 0 0 18px rgba(255, 255, 255, .95), 0 0 7px rgba(255, 255, 255, .6), 0 0 2px rgba(255, 255, 255, .5);
}
/* sobre o branco: uma "sombra" preta esfumaçada em formato de pílula (sem contorno) e o texto fica branco */
.nav a::before {
  content: ""; position: absolute; z-index: -1; inset: 6px 1px; border-radius: 999px;
  background: rgba(10, 10, 10, .9); filter: blur(7px);
  opacity: 0; transform: scale(.82); transition: opacity .3s ease, transform .45s var(--ease);
  pointer-events: none;
}
.site-header.on-light .nav a:hover, .site-header.on-light .nav a.is-current { color: #ffffff; text-shadow: 0 0 10px rgba(255, 255, 255, .35); }
.site-header.on-light .nav a:hover::before, .site-header.on-light .nav a.is-current::before { opacity: 1; transform: none; }
.header-cta { display: none; flex-shrink: 0; transition: background-color .25s ease, border-color .25s ease, transform .15s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .cta-bar .btn:hover { background: rgba(10, 10, 10, .8); color: #ffffff; }
}

/* Botão ☰ com 2 linhas que viram X */
.menu-btn {
  display: none; position: relative; width: 44px; height: 44px; flex-shrink: 0; margin-right: -10px;
  background: none; border: 0; border-radius: 8px; color: inherit;
}
.js .menu-btn { display: inline-block; }
.menu-bars::before, .menu-bars::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-bars::before { top: 17px; }
.menu-bars::after { top: 25px; }
.menu-btn[aria-expanded="true"] .menu-bars::before { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { top: 21px; transform: rotate(-45deg); }

@media (min-width: 960px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .nav { display: block; margin-right: 12px; }
  .header-cta { display: inline-flex; }
  .header-cta.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
  .js .menu-btn { display: none; }
}
@media (max-width: 359px) { :root { --gutter: 14px; } }

/* Menu em cortina com vidro fosco (celular/tablet) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; overflow-y: auto;
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 8px) var(--gutter) 32px;
  color: #f5f5f5; background: rgba(10, 10, 10, .84);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-menu { background: rgba(10, 10, 10, .97); }
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-links { margin: 8px 0 32px; }
.mobile-links li {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  opacity: 0; transform: translateY(-14px);
  transition: opacity .3s ease, transform .5s var(--ease);
}
.mobile-links li:last-child { border-bottom: 0; }
.mobile-menu.is-open .mobile-links li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-links li:nth-child(1) { transition-delay: .12s; }
.mobile-menu.is-open .mobile-links li:nth-child(2) { transition-delay: .17s; }
.mobile-menu.is-open .mobile-links li:nth-child(3) { transition-delay: .22s; }
.mobile-menu.is-open .mobile-links li:nth-child(4) { transition-delay: .27s; }
.mobile-links a {
  display: flex; align-items: center; min-height: 64px;
  opacity: .72; transition: opacity .3s ease, text-shadow .35s ease;
  font-size: 1.625rem; font-weight: 500; letter-spacing: -0.02em; text-decoration: none;
}
.mobile-links a:hover, .mobile-links a.is-current { opacity: 1; text-shadow: 0 0 16px rgba(255, 255, 255, .7), 0 0 3px rgba(255, 255, 255, .4); }
.mobile-menu-cta { align-self: center; opacity: 0; transition: opacity .3s ease .3s; }
.mobile-menu.is-open .mobile-menu-cta { opacity: 1; }
.menu-open, .menu-open body { overflow: hidden; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 16px) 0 64px;
  background:
    radial-gradient(70% 60% at 72% 42%, rgba(255, 255, 255, .055), transparent 70%),
    radial-gradient(50% 50% at 0% 0%, rgba(255, 255, 255, .035), transparent 70%),
    #0a0a0a;
}
/* faixa de luz diagonal, parada */
.hero-beam {
  position: absolute; left: -30%; right: -30%; top: 64%; height: 240px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .07), transparent 72%);
  transform: rotate(9deg);
}
.hero-inner { position: relative; display: grid; gap: 8px; align-items: center; }
.hero-copy { order: 2; }
.hero-h1 { display: block; }
.hero-name { display: block; }
.hero-letters {
  display: block; white-space: nowrap; color: #f5f5f5;
  font-family: var(--serif); font-weight: 400; font-synthesis: none;
  font-size: clamp(5.5rem, 4rem + 9vw, 11rem); line-height: .9; letter-spacing: -0.02em;
  margin-left: -0.03em;
}
.hero-letters .lt { display: inline-block; }
.hero-letters.is-moving .lt { will-change: transform, opacity, filter; }
.hero-sub {
  display: block; margin-top: 18px; max-width: 26ch;
  font-family: var(--sans); font-size: clamp(1.125rem, .6vw + 1rem, 1.375rem); font-weight: 400;
  line-height: 1.45; color: var(--muted); letter-spacing: -0.01em;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 32px; }
@media (max-width: 479px) {
  .hero-actions .btn { flex: 1 1 100%; }
}
/* celular/tablet: os dois botões ficam presos perto do fim da primeira tela; estrela + título
   ficam centralizados no espaço acima deles (respiro mínimo de 56px abaixo do subtítulo) */
@media (max-width: 959px) {
  .hero { align-items: stretch; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { display: contents; }
  .hero-inner .hero-visual { align-self: center; margin-top: auto; }  /* .hero-inner: vence o margin da regra base, que vem depois */
  .hero-h1 { order: 2; margin-bottom: auto; }
  .hero-actions { order: 3; margin-top: 56px; }
}
/* botões empilhados (celular estreito): o "See what's included" tem uma caixa de toque alta com espaço
   invisível embaixo do texto, então a margem fixa até o fim da tela é menor que lado a lado */
@media (max-width: 479px) {
  .hero { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}
/* celular/tablet baixo (ex.: iPhone SE): estrela limitada pela altura e respiro menor, para que tudo
   caiba e os botões NUNCA saiam da primeira tela */
@media (max-width: 959px) and (max-height: 700px) {
  .hero-inner .hero-visual { width: min(58vw, 230px, 28svh); }
  .hero-actions { margin-top: 40px; }
}

/* Estrela 3D (CSS, sem biblioteca) */
.hero-visual {
  order: 1; position: relative; justify-self: center; width: min(58vw, 230px); aspect-ratio: 512 / 410;
  margin: 8px 0 28px; perspective: 1100px;
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.hero-visual.is-dragging { cursor: grabbing; }
.hero-visual::before {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent);
}
.star-tilt, .star3d { position: absolute; inset: 0; transform-style: preserve-3d; }
.star3d { animation: starFloat 14s ease-in-out infinite; transform: rotateX(12deg) rotateY(-24deg); }
.hero.is-paused .star3d, .hero.is-paused .layer-shine, .hero.is-paused .layer-tint,
.hero.is-paused .layer-rim { animation-play-state: paused; }
@keyframes starFloat {
  0%, 100% { transform: translateY(0) rotateX(14deg) rotateY(-30deg) rotateZ(-4deg); }
  50% { transform: translateY(-14px) rotateX(4deg) rotateY(30deg) rotateZ(3deg); }
}
.layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: rgba(255, 255, 255, .01); }
.layer:nth-child(1)  { transform: translateZ(-24px); }
.layer:nth-child(2)  { transform: translateZ(-21.6px); }
.layer:nth-child(3)  { transform: translateZ(-19.2px); }
.layer:nth-child(4)  { transform: translateZ(-16.8px); }
.layer:nth-child(5)  { transform: translateZ(-14.4px); }
.layer:nth-child(6)  { transform: translateZ(-12px); }
.layer:nth-child(7)  { transform: translateZ(-9.6px); }
.layer:nth-child(8)  { transform: translateZ(-7.2px); }
.layer:nth-child(9)  { transform: translateZ(-4.8px); }
.layer:nth-child(10) { transform: translateZ(-2.4px); }
.layer:nth-child(11) { transform: translateZ(0); }
.layer:nth-child(12) { transform: translateZ(2.4px); }
.layer:nth-child(13) { transform: translateZ(4.8px); }
.layer:nth-child(14) { transform: translateZ(7.2px); }
.layer:nth-child(15) { transform: translateZ(9.6px); }
.layer:nth-child(16) { transform: translateZ(12px); }
.layer:nth-child(17) { transform: translateZ(14.4px); }
.layer:nth-child(18) { transform: translateZ(16.8px); }
.layer:nth-child(19) { transform: translateZ(19.2px); }
.layer:nth-child(20) { transform: translateZ(21.6px); }
.layer-face { transform: translateZ(24px); fill: url(#star-face); }
.layer-rim { transform: translateZ(24.2px); fill: #ffffff; opacity: .7; }
.layer-rim-back { transform: translateZ(-24.2px); opacity: .22; }
.layer-tint {
  transform: translateZ(24.3px);
  -webkit-mask: url("brand/symbol-white.svg") center / 100% 100% no-repeat;
  mask: url("brand/symbol-white.svg") center / 100% 100% no-repeat;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .16) 18%, rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, .1) 52%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, .14) 84%, rgba(255, 255, 255, 0) 100%) 0 0 / 320% 320%;
  animation: tint 30s ease-in-out infinite alternate;
}
@keyframes tint { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.layer-shine {
  transform: translateZ(24.5px);
  -webkit-mask: url("brand/symbol-white.svg") center / 100% 100% no-repeat;
  mask: url("brand/symbol-white.svg") center / 100% 100% no-repeat;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .28) 50%, transparent 62%) 0 0 / 300% 100% no-repeat;
  animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 0%, 35% { background-position: 100% 0; } 75%, 100% { background-position: 0% 0; } }
/* Respiração (~5 s) na própria camada da frente (a borda branca do vidro, que é opaca): o contorno
   irradia um brilho branco para fora e para dentro da face e clareia. A face é quase transparente,
   então um brilho saindo dela ficaria fraco. Sem movimento: parada no brilho médio (valores base). */
.layer-rim:not(.layer-rim-back) {
  opacity: .8; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .6)) drop-shadow(0 0 8px rgba(255, 255, 255, .45)) drop-shadow(0 0 18px rgba(255, 255, 255, .25));
  animation: breatheRim 5s ease-in-out infinite;
}
/* Estrela de vidro em WebGL (star-gl.js). Com placa de vídeo, a estrela CSS nem aparece (gl-pending)
   e a de vidro entra com fade (gl-on); se o WebGL falhar, gl-pending sai e a estrela CSS entra suave.
   O canvas é maior que a estrela: sobra espaço para ela girar e para o halo. */
[data-gl-star] .star-tilt { transition: opacity .6s ease; }
.gl-pending [data-gl-star] .star-tilt { opacity: 0; }
.gl-star-canvas {
  position: absolute; inset: -25%; width: 150%; height: 150%; display: block; touch-action: pan-y;
  opacity: 0; transition: opacity .9s ease;
}
.gl-on .gl-star-canvas { opacity: 1; }
.gl-on .star-tilt { display: none; }                   /* para as animações da estrela CSS escondida */
[data-gl-star]::before { transition: opacity .9s ease; }
.gl-on::before { opacity: 0; }
@keyframes breatheRim {
  0%, 100% { opacity: .62; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .2)) drop-shadow(0 0 4px rgba(255, 255, 255, .1)) drop-shadow(0 0 10px rgba(255, 255, 255, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 12px rgba(255, 255, 255, .85)) drop-shadow(0 0 28px rgba(255, 255, 255, .55)); }
}

@media (min-width: 720px) {
  .hero-visual { width: min(46vw, 320px); }
}
@media (min-width: 960px) {
  .hero { padding-bottom: 96px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 32px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; width: min(34vw, 440px); margin: 0; }
}

/* ---------- HOW IT WORKS ---------- */
.how { position: relative; padding: 96px 0 calc(96px + var(--radius-sheet) + 110px); }
.how-head { margin-bottom: 40px; }
.how-progress { display: none; }
.steps { display: grid; gap: 48px; }
.step { border-top: 1px solid var(--line); padding-top: 24px; }
.step-num { display: block; font-size: .875rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-bottom: 12px; }
.step-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5vw + .75rem, 4.75rem); line-height: 1; letter-spacing: -0.01em; }
.step-text { margin-top: 16px; max-width: 46ch; color: var(--muted); font-size: 1.0625rem; }

.how-pin .how { padding: 0 0 var(--radius-sheet); }
.how-pin .how-track { height: 250vh; height: 250svh; }   /* 3 passos em 2,5 telas de rolagem */
.how-pin .how-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: 48px;
}
.how-pin .how-head { margin: 0; }
.how-pin .how-progress { display: flex; gap: 20px; margin-top: 32px; }
.how-pin .how-dot {
  font-size: .875rem; font-weight: 500; letter-spacing: .04em; color: var(--muted);
  padding-top: 10px; border-top: 2px solid var(--line); min-width: 56px;
  transition: color .3s, border-color .3s;
}
.how-pin .how-dot.is-active { color: var(--fg); border-color: var(--fg); }
.how-pin .steps { display: grid; gap: 0; }
.how-pin .step {
  grid-area: 1 / 1; border-top: 0; padding-top: 0;
  opacity: 0; transform: translateY(28px);
  transition: opacity .2s ease, transform .5s var(--ease);
}
.how-pin .step.is-active { opacity: 1; transform: none; transition: opacity .45s ease .15s, transform .6s var(--ease) .1s; }
.how-pin .step-title { font-size: clamp(3.5rem, 5vw + 1rem, 6.5rem); }
.how-pin .step-text { font-size: 1.25rem; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Folhas (troca de tema) ---------- */
.sheet {
  position: relative;
  margin-top: calc(-1 * var(--radius-sheet));
  transform-origin: 50% 0;
}
.sheet.is-moving { will-change: transform; }
.sheet-light { z-index: 2; padding-bottom: 110px; }
.sheet-dark { z-index: 3; }
.sheet > .section { position: relative; z-index: 1; }

/* Fundo animado das partes claras: manchas cinza que flutuam devagar */
/* Transição em partículas ("areia/cinza") entre preto e branco: canvas 2D desenhado pelo script.
   Sem JS: um degradê no lugar, para não ficar um corte seco. */
.ash { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 180px; pointer-events: none; z-index: 1; }
.ash canvas { display: block; width: 100%; height: 100%; }
.ash-down { background: linear-gradient(180deg, rgba(250, 250, 250, 0), #fafafa 92%); }
.ash-up { background: linear-gradient(180deg, rgba(10, 10, 10, 0), #0a0a0a 92%); }
.js .ash { background: none; }
@media (max-width: 959px) { .ash { height: 140px; } }

.section { padding: 88px 0; }
@media (min-width: 960px) { .section { padding: 128px 0; } }

/* ---------- WHAT'S INCLUDED ---------- */
.inc-grid { display: grid; gap: 48px; margin-top: 40px; }
.inc-col .h3 { margin-bottom: 16px; }
.checklist li { position: relative; padding: 14px 0 14px 34px; }
/* "linha de fumaça" ENTRE os itens (sem a de cima nem a de baixo): sombra preta suave que some nas pontas,
   no mesmo espírito da pill de fumaça do cabeçalho. Só degradê, sem filtro: não pesa. */
.checklist li + li::after {
  content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 8px; pointer-events: none;
  /* fumaça suave na vertical; forte de 10% a 90% da largura (~80%) e some só nas pontas */
  background: linear-gradient(180deg, rgba(10, 10, 10, 0), rgba(10, 10, 10, .2) 50%, rgba(10, 10, 10, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  /* respira (~4 s), uma linha depois da outra, como uma onda descendo a lista. Só opacidade: leve.
     Reduzir movimento: fica parada no meio do caminho (opacidade base). */
  opacity: .75; animation: smokeBreath 4s ease-in-out infinite;
}
.checklist li:nth-child(2)::after { animation-delay: -3.6s; }
.checklist li:nth-child(3)::after { animation-delay: -3.2s; }
.checklist li:nth-child(4)::after { animation-delay: -2.8s; }
.checklist li:nth-child(5)::after { animation-delay: -2.4s; }
.checklist li:nth-child(6)::after { animation-delay: -2s; }
.checklist li:nth-child(7)::after { animation-delay: -1.6s; }
.checklist li:nth-child(8)::after { animation-delay: -1.2s; }
.checklist li:nth-child(9)::after { animation-delay: -.8s; }
.checklist li:nth-child(10)::after { animation-delay: -.4s; }
@keyframes smokeBreath { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.checklist li::before {
  content: ""; position: absolute; left: 6px; top: 19px; width: 7px; height: 13px;
  border: solid var(--fg); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checklist-no li { color: var(--muted); }
.checklist-no li::before { width: 12px; height: 0; top: 27px; left: 3px; border-width: 0 0 2px 0; border-color: var(--muted); transform: none; }
@media (min-width: 840px) { .inc-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; } }

/* ---------- PLANS (escuro, fundo de cromo) ---------- */
.plans { position: relative; padding-top: 120px; overflow: hidden; }
.plans > .wrap { position: relative; z-index: 1; }
.chrome-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .45;
  /* mais escuro onde fica o texto; some no fim da seção (passa suave para o FAQ) */
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .35) 70%, transparent);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .35) 70%, transparent);
}
@media (min-width: 720px) {
  .chrome-bg {
    opacity: .6;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .25) 38%, #000 72%), linear-gradient(180deg, #000 72%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .25) 38%, #000 72%), linear-gradient(180deg, #000 72%, transparent);
    mask-composite: intersect;
  }
}
.wave { position: absolute; left: -15%; width: 130%; height: 100%; top: 0; overflow: visible; }
.wave-1 { filter: blur(2px); animation: wave1 12s ease-in-out infinite alternate; }
.wave-2 { filter: blur(5px); animation: wave2 15s ease-in-out infinite alternate; opacity: .85; }
.wave-3 { filter: blur(1px); animation: wave3 10s ease-in-out infinite alternate; opacity: .7; }
.wave-4 { filter: blur(10px); animation: wave2 17s ease-in-out infinite alternate-reverse; opacity: .6; }
.chrome-bg.is-paused .wave { animation-play-state: paused; }
@keyframes wave1 { from { transform: translate3d(-4%, 0, 0) rotate(-2deg) scale(1.05); } to { transform: translate3d(4%, 4%, 0) rotate(2deg) scale(1.15); } }
@keyframes wave2 { from { transform: translate3d(3%, -3%, 0) rotate(1deg) scale(1.1); } to { transform: translate3d(-5%, 5%, 0) rotate(-3deg) scale(1); } }
@keyframes wave3 { from { transform: translate3d(0, 4%, 0) rotate(2deg) scale(1); } to { transform: translate3d(-3%, -4%, 0) rotate(-1deg) scale(1.12); } }

/* painéis de vidro escuro: o texto dos planos nunca encosta no brilho */
.plans-table {
  display: none; width: 100%; margin-top: 48px; border-collapse: separate; border-spacing: 0;
  background: rgba(10, 10, 10, .78); border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 80px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.plans-table th, .plans-table td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.plans-table tbody tr:last-child th, .plans-table tbody tr:last-child td { border-bottom: 0; }
.plans-table thead td:first-child { border-radius: 20px 0 0 0; }
.plans-table tbody th { font-weight: 400; width: 46%; }
.plans-table tbody td { font-weight: 500; }
.plans-table thead th, .plans-table thead td { border-bottom: 1px solid rgba(255, 255, 255, .5); vertical-align: bottom; padding-top: 24px; padding-bottom: 20px; }
.pt-plan { font-weight: 400; }
.pt-plan-featured, .pt-featured { background: rgba(255, 255, 255, .04); }
.pt-plan-featured { border-radius: 16px 16px 0 0; }
.plans-table tbody tr:last-child .pt-featured { border-radius: 0 0 16px 0; }
.plan-name { display: block; font-family: var(--serif); font-size: clamp(1.75rem, 1.5vw + 1rem, 2.5rem); line-height: 1.05; font-weight: 400; font-synthesis: none; }
/* nome do plano à esquerda e preço no canto direito; sem espaço, o preço desce para baixo do nome */
.plan-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.plan-price { font-family: var(--sans); white-space: nowrap; }
.plan-amount { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
.plan-per { font-size: .8125rem; color: var(--muted); }
.plan-desc { display: block; margin-top: 8px; color: var(--muted); font-size: .9375rem; line-height: 1.5; max-width: 34ch; }
.plan-badge {
  display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}
.ico-yes {
  display: inline-block; width: 8px; height: 15px; margin-left: 4px;
  border: solid var(--fg); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px);
}
.plan-cards { display: grid; gap: 20px; margin-top: 40px; }
.plan-card {
  border-radius: 24px; padding: 24px 20px; background: rgba(10, 10, 10, .78);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 60px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.plan-card-featured { background: rgba(20, 20, 20, .75); box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 24px 60px rgba(0, 0, 0, .4); }
.plan-list { margin-top: 20px; }
.plan-list > div {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--line); font-size: .9375rem;
}
.plan-list > div:first-child { border-top: 0; }        /* só linhas entre as linhas da tabela */
.plan-card-featured .plan-list > div { border-color: rgba(255, 255, 255, .14); }
.plan-list dt { flex: 1 1 auto; min-width: 0; }
.plan-list dd { flex: 0 0 auto; font-weight: 600; text-align: right; }
.plans-foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.plans-note { color: var(--muted); max-width: 44ch; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .plans-table, .plan-card { background: rgba(10, 10, 10, .92); }
}
@media (min-width: 720px) {
  .plans-table { display: table; }
  .plan-cards { display: none; }
}
.faq { padding-top: 96px; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 18px; padding: 0 20px;
  background: rgba(255, 255, 255, 0); transition: background-color .3s ease, border-color .3s ease;
}
.faq-item { background-image: radial-gradient(120% 160% at 30% -20%, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 60%); }
.faq-item:hover {
  background-color: #1f1f1f;
  background-image: radial-gradient(120% 160% at 30% -20%, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0) 60%);
}
.faq-item.is-open { background: rgba(255, 255, 255, .04); border-color: #3a3a3a; }
.faq-q { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.4; }
.faq-q button {
  width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; background: none; border: 0; text-align: left; font-weight: 500;
}
.faq-icon {
  position: relative; flex: 0 0 32px; height: 32px; border-radius: 50%;
  border: 1px solid #3a3a3a; transition: transform .45s var(--ease), background-color .3s ease, border-color .3s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: currentColor; border-radius: 2px; transition: transform .45s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-q button[aria-expanded="true"] .faq-icon { transform: rotate(180deg); background: #f5f5f5; border-color: #f5f5f5; color: #0a0a0a; }
.faq-q button[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-a { color: var(--muted); }
.faq-a-inner p { padding: 0 44px 22px 0; max-width: 64ch; }
/* abre/fecha suave: anima a altura (grid 0fr -> 1fr) + opacidade */
.js .faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .3s ease; }
.js .faq-a.is-open { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .45s var(--ease), opacity .4s ease .08s; }
.js .faq-a-inner { overflow: hidden; min-height: 0; }

/* ---------- CONTACT / FORM ---------- */
.contact { padding-bottom: 96px; }
.form { margin-top: 40px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: .9375rem; }
.optional { color: var(--muted); font-weight: 400; }
fieldset.field { border: 0; padding: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.form input[type="text"], .form input[type="url"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--field-line); color: var(--fg); font-size: 1rem;
}
.form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat;
}
.form ::placeholder { color: var(--muted); opacity: 1; }
.form input[type="text"], .form input[type="url"], .form textarea, .cselect-btn {
  transition: background-color .35s ease, box-shadow .35s ease;
}
/* foco: o FUNDO do campo acende (luz suave vinda de cima); a borda continua igual */
.form input[type="text"]:focus, .form input[type="url"]:focus, .form textarea:focus, .cselect-btn:focus-visible, .cselect.is-open .cselect-btn {
  outline: none; border-color: var(--field-line);
  background-color: #2a2a2a;
  background-image: radial-gradient(120% 160% at 30% -20%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 0 22px rgba(255, 255, 255, .16);
}
/* Campo com problema: acende (halo que pulsa uma vez e depois fica suave até ser corrigido) */
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] {
  border-color: #d4d4d4;
  background-color: #222222;
  background-image: radial-gradient(120% 160% at 30% -20%, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .32), 0 0 22px rgba(255, 255, 255, .16);
  animation: invalidPulse .9s var(--ease);
}
@keyframes invalidPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55), 0 0 0 rgba(255, 255, 255, 0); }
  45% { box-shadow: 0 0 0 5px rgba(255, 255, 255, .18), 0 0 34px rgba(255, 255, 255, .3); }
  100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .32), 0 0 22px rgba(255, 255, 255, .16); }
}
/* Mensagem de erro: o espaço fica SEMPRE reservado embaixo do campo (nada pula quando ela aparece).
   Ela entra desfocada, dá uma brilhada, fica ~3 s e some suave. O texto continua ligado ao campo
   (aria-describedby) para leitores de tela até o campo ser corrigido. */
.field-error {
  min-height: 1.4em; margin: 0;
  font-size: .8125rem; font-weight: 400; line-height: 1.4; color: #d4d4d4; letter-spacing: .005em;
}
.js .field-error { opacity: 0; transition: opacity .6s ease, filter .6s ease; }
.js .field-error.is-in { opacity: 1; animation: errGlow 1.1s var(--ease); }
@keyframes errGlow {
  0% { opacity: 0; filter: blur(6px); text-shadow: none; color: #d4d4d4; }
  35% { opacity: 1; filter: none; color: #ffffff; text-shadow: 0 0 14px rgba(255, 255, 255, .9), 0 0 4px rgba(255, 255, 255, .6); }
  100% { opacity: 1; filter: none; color: #d4d4d4; text-shadow: 0 0 6px rgba(255, 255, 255, .15); }
}
.js .field-error.is-fading { opacity: 0; filter: blur(4px); }
.radios { display: flex; gap: 12px; flex-wrap: wrap; }
.js .reveal-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: -22px; transition: grid-template-rows .45s var(--ease), opacity .3s ease, margin-top .45s var(--ease); }
.js .reveal-wrap.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 0; transition: grid-template-rows .45s var(--ease), opacity .4s ease .08s, margin-top .45s var(--ease); }
.js .reveal-inner { overflow: hidden; min-height: 0; padding: 4px; margin: -4px; }
.radio, .check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.radio { padding: 0 16px 0 12px; border: 1px solid var(--field-line); border-radius: 999px; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.radio:hover { background-color: #1c1c1c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 16px rgba(255, 255, 255, .09); }
.radio:has(input:checked) {
  background-color: #2a2a2a; border-color: #a3a3a3;
  background-image: radial-gradient(120% 160% at 30% -20%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 0 22px rgba(255, 255, 255, .16);
}
.radio input, .check input { width: 20px; height: 20px; margin: 0; accent-color: #f5f5f5; flex-shrink: 0; }
.check { align-items: flex-start; font-size: .9375rem; line-height: 1.5; }
.check input { margin-top: 2px; }
/* Checkbox de consentimento: nossa estrela (contorno) que acende ao marcar */
.check { position: relative; }
.check .star-check-input {
  position: absolute; left: 0; top: 0; width: 30px; height: 26px; margin: 0; opacity: 0; cursor: pointer;
}
.star-check { position: relative; flex: 0 0 30px; width: 30px; height: 24px; pointer-events: none; }
.star-check::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0));
  opacity: 0; transform: scale(.3); transition: opacity .4s ease, transform .6s var(--ease);
}
.star-check svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.star-check-outline { fill: var(--fg); transition: opacity .3s ease, transform .6s var(--ease); }
.star-check-fill { fill: #ffffff; opacity: 0; transform: scale(.4) rotate(-45deg); transition: opacity .3s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.star-check-input:checked + .star-check .star-check-fill { opacity: 1; transform: none; }
.star-check-input:checked + .star-check .star-check-outline { transform: rotate(45deg); opacity: .5; }
.star-check-input:checked + .star-check::before { opacity: 1; transform: none; }
.star-check-input:focus-visible + .star-check { outline: 2px solid var(--fg); outline-offset: 6px; border-radius: 6px; }
.star-check-input[aria-invalid="true"] + .star-check .star-check-outline { filter: drop-shadow(0 0 4px rgba(255, 255, 255, .6)); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { justify-self: start; min-width: 180px; }
.form-note { color: var(--muted); font-size: .875rem; }
.form-status:empty { display: none; }
.form-status { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--field-line); font-weight: 500; }
.form-status.is-dev { border-style: dashed; }
.form-status:focus { outline: 2px solid var(--fg); outline-offset: 2px; }

/* Dropdown moderno (substitui o select com JS; sem JS fica o select normal) */
.cselect { position: relative; }
.cselect-native { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; }
.cselect-btn {
  width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px 12px 16px; border-radius: 12px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--field-line); color: var(--fg);
}
.cselect-btn:hover,
.form input[type="text"]:hover:not(:focus), .form input[type="url"]:hover:not(:focus), .form textarea:hover:not(:focus) {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 16px rgba(255, 255, 255, .09);
  background-color: #1f1f1f;
  background-image: radial-gradient(120% 160% at 30% -20%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 60%);
}
.cselect-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect-value.is-placeholder { color: var(--muted); }
.cselect-arrow {
  flex: 0 0 10px; width: 10px; height: 10px; margin-top: -4px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
  transition: transform .35s var(--ease), margin .35s var(--ease);
}
.cselect.is-open .cselect-arrow { transform: rotate(225deg); margin-top: 4px; }
.cselect-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  margin: 0; padding: 6px; max-height: 300px; overflow-y: auto;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(24, 24, 24, .96); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: 50% 0;
  transition: opacity .18s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.cselect.is-open .cselect-list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .35s var(--ease), visibility 0s; }
.cselect-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: #e5e5e5;
  transition: background-color .15s ease;
}
.cselect-option.is-active { background: rgba(255, 255, 255, .09); color: #ffffff; }
.cselect-option[aria-selected="true"] { font-weight: 600; color: #ffffff; }
.cselect-option[aria-selected="true"]::after {
  content: ""; flex: 0 0 auto; width: 6px; height: 11px; margin-right: 4px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px);
}

/* ---------- Botão flutuante do celular (só o botão, em vidro fosco) ---------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; pointer-events: none;
  padding: 0 var(--gutter) calc(14px + env(safe-area-inset-bottom));
  transition: transform .9s var(--ease), opacity .7s ease;
}
.cta-bar .btn {
  pointer-events: auto; width: 100%; min-height: 52px;
  color: #f5f5f5; background: rgba(10, 10, 10, .66);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cta-bar .btn { background: rgba(10, 10, 10, .92); }
}
.js .cta-bar.is-hidden { transform: translateY(120%) scale(.9); opacity: 0; }
@media (min-width: 960px) { .cta-bar { display: none; } }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; z-index: 3; padding: 48px 0 calc(104px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.page-simple .site-footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .site-footer { padding-bottom: 40px; } }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-symbol { width: 26px; height: auto; }
.footer-logo { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.footer-info { display: grid; gap: 4px; color: var(--fg); }
.footer-info a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-links { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--fg); }
@media (min-width: 720px) { .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }

/* ---------- Luz do mouse (só mouse fino) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 45; width: 160px; height: 160px; margin: -80px 0 0 -80px;
  pointer-events: none; border-radius: 50%;
  opacity: 0; scale: .4; filter: blur(8px);
  transition: opacity .5s ease, scale .6s var(--ease), filter .5s ease;
}
.cursor-glow.is-on { opacity: 1; scale: 1; filter: none; }
/* no escuro = luz branca; na parte branca = sombra preta suave; a troca é um cruzamento de ~0,5 s */
.cursor-glow::before, .cursor-glow::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; transition: opacity .55s ease;
}
.cursor-glow::before { background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .025) 40%, transparent 70%); }
.cursor-glow::after { background: radial-gradient(circle, rgba(10, 10, 10, .11) 0%, rgba(10, 10, 10, .035) 40%, transparent 70%); opacity: 0; }
.cursor-glow.is-dark::before { opacity: 0; }
.cursor-glow.is-dark::after { opacity: 1; }

/* ---------- Páginas legais e 404 ---------- */
.page { padding: calc(var(--header-h) + 48px) 0 96px; min-height: 100vh; min-height: 100svh; }
.page-simple .site-header::before { opacity: 1; }
.draft-banner {
  margin-bottom: 40px; padding: 16px 18px; border: 2px dashed var(--fg); border-radius: 12px;
  font-weight: 700; letter-spacing: .01em;
}
.prose h1 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); line-height: 1; margin-bottom: 16px; }
.prose h2 { font-family: var(--sans); font-size: 1.25rem; font-weight: 600; margin: 48px 0 12px; }
.prose p, .prose ul { max-width: 66ch; color: var(--muted); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 6px; }
.pending { display: inline-block; padding: 0 6px; border: 1px solid var(--fg); border-radius: 6px; color: var(--fg); font-weight: 600; font-size: .9em; }
.back-link { margin-top: 32px; }
.back-link a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.notfound-code { font-family: var(--serif); font-size: clamp(6rem, 24vw, 14rem); line-height: .9; }
.notfound-text { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .mobile-links li, .mobile-menu-cta { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
