/* ==========================================================================
   Vórtice Studio — Landing Page
   Sistema: fundo grafite + acento lima. Archivo (texto) + JetBrains Mono (specs).
   ========================================================================== */

:root {
  /* --- Constantes nos dois temas ------------------------------------------
     A lima é usada de duas formas diferentes e elas NÃO são intercambiáveis:
       --lime       lima como superfície preenchida (botão, bolinha ativa).
                    Sempre com --on-accent por cima.
       --accent-ink lima como texto/traço. Sobre fundo claro a lima pura tem
                    contraste péssimo, então no tema claro ela vira oliva.
     ---------------------------------------------------------------------- */
  --lime:       #E8FF3D;
  --olive:      #96A81F;
  --on-accent:  #0A0A0A;

  /* Layout */
  --shell:     1180px;
  --gutter:    40px;

  /* Tipografia */
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* --- Tema escuro — padrão da marca ---------------------------------------- */

:root,
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg:          #0A0A0A;
  --bg-alt:      #0E0F11;
  --card:        #16171A;

  --line:        #1E2024;
  --line-2:      #2E3036;
  --line-3:      #3A3C42;

  --ink:         #F4F4F0;
  --ink-2:       #B8B8AE;
  --ink-3:       #8A8A80;
  --ink-4:       #6E6E66;
  --ink-5:       #4A4C52;

  --accent-ink:    #E8FF3D;
  --accent-ink-hi: #F2FF6E;
  --lime-hi:       #F2FF6E;

  --header-bg:   rgba(10, 10, 10, 0.92);
  --photo-bg:    #0E0F11;
  --hatch-1:     #101114;
  --hatch-2:     #0C0D10;
}

/* --- Tema claro ------------------------------------------------------------ */

:root[data-theme="light"] {
  color-scheme: light;

  --bg:          #F4F4F0;
  --bg-alt:      #EAEAE3;
  --card:        #FFFFFF;

  --line:        #DEDED4;
  --line-2:      #CBCBBF;
  --line-3:      #A9A99C;

  --ink:         #0E0F11;
  --ink-2:       #4C4E46;
  --ink-3:       #6E7066;
  --ink-4:       #8A8C82;
  --ink-5:       #94968B;

  --accent-ink:    #5A6612;  /* 5,7:1 sobre --bg */
  --accent-ink-hi: #3F480C;
  --lime-hi:       #D6F226;  /* hover escurece, em vez de clarear */

  --header-bg:   rgba(244, 244, 240, 0.92);
  --photo-bg:    #EDEDE6;
  --hatch-1:     #E9E9E1;
  --hatch-2:     #F1F1EA;
}

/* --- Reset enxuto ---------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

a {
  color: var(--accent-ink);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
a:hover { color: var(--accent-ink-hi); }

::selection { background: var(--lime); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--lime); color: var(--on-accent);
  font-weight: 700; padding: 12px 18px;
  transition: top 160ms ease;
}
.skip:focus { top: 12px; color: var(--on-accent); }

/* --- Estruturas base ------------------------------------------------------- */

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 88px; }

.band { border-top: 1px solid var(--line); }
.band--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.eyebrow-lime { color: var(--accent-ink); letter-spacing: 0.16em; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}
.section-intro--wide { max-width: 620px; margin-bottom: 48px; }

.section-title {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.link-underline {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line-3);
  padding-bottom: 4px;
}
.link-underline:hover { border-color: var(--accent-ink); }

/* --- Botões ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  padding: 16px 28px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary { background: var(--lime); color: var(--on-accent); }
.btn-primary:hover { background: var(--lime-hi); color: var(--on-accent); }

.btn-ghost {
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line-3);
  padding: 15px 26px;
}
.btn-ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); }

.btn-sm { font-size: 15px; padding: 12px 20px; }

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-row--center { justify-content: center; margin-top: 8px; }

/* --- Cabeçalho ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  padding-block: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { flex-shrink: 0; }
.brand-words { display: flex; flex-direction: column; gap: 2px; }

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--accent-ink);
}

/* O corte no símbolo acompanha o fundo em que o logo está pousado */
.mark-cut     { stroke: var(--ink); }
.mark-cut-alt { stroke: var(--bg-alt); }

.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-link:hover { color: var(--ink); }

.nav-toggle,
.theme-toggle {
  width: 44px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink-2);
  transition: color 160ms ease, border-color 160ms ease;
}
.nav-toggle:hover,
.theme-toggle:hover { border-color: var(--line-3); color: var(--ink); }

.nav-toggle { display: none; }
.theme-toggle { display: flex; }
.theme-toggle svg { width: 17px; height: 17px; }

/* Mostra o ícone do tema para o qual o clique vai levar */
.theme-toggle .icon-lua { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sol { display: none; }
:root[data-theme="light"] .theme-toggle .icon-lua { display: block; }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 120ms ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero ------------------------------------------------------------------ */

.hero {
  padding-block: 96px 88px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 28px; }

.hero-title {
  font-size: clamp(42px, 6.2vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
  text-wrap: pretty;
}

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  padding: 8px 12px;
}

/* As cenas 3D (cubo do hero e anéis do catálogo) ficam escuras nos dois temas:
   são "visores" de render, e a lima só tem brilho sobre fundo escuro. Por isso
   as cores aqui dentro são literais, e não tokens de tema. */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, #16181C 0%, #0A0A0A 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#1A1D21 1px, transparent 1px),
    linear-gradient(90deg, #1A1D21 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
}

.hero-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
}
.hero-caption-on  { letter-spacing: 0.14em; color: var(--lime); }
.hero-caption-off { letter-spacing: 0.12em; color: var(--ink-4); }

/* Cubo 3D ------------------------------------------------------------------- */

.cube-float { animation: vs-float 7s ease-in-out infinite; }

.cube-stage {
  perspective: 900px;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube {
  position: relative;
  width: 236px;
  height: 236px;
  transform-style: preserve-3d;
  animation: vs-spin 18s linear infinite;
}

.cube-body {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 236px;
  height: 236px;
  margin: -118px 0 0 -118px;
  transform-style: preserve-3d;
}

.cube-face { position: absolute; inset: 0; background: var(--lime); }
.cube-face--back  { opacity: 0.14; transform: translateZ(-118px); }
.cube-face--front { opacity: 0.07; transform: translateZ(118px); }
.cube-face--right { opacity: 0.10; transform: rotateY(90deg) translateZ(118px); }
.cube-face--left  { opacity: 0.05; transform: rotateY(90deg) translateZ(-118px); }

.cube-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--lime), transparent);
  opacity: 0.5;
  transform: rotateX(90deg) translateZ(-118px);
  animation: vs-sweep 4.5s ease-in-out infinite;
}

.cube-edge { position: absolute; top: 0; left: 0; }

/* arestas horizontais — frente e fundo */
.cube-edge--h1, .cube-edge--h2, .cube-edge--h3, .cube-edge--h4 {
  width: 236px; height: 2px; background: var(--lime);
}
.cube-edge--h1 { transform: translate3d(0, -117px,  118px); }
.cube-edge--h2 { transform: translate3d(0,  117px,  118px); }
.cube-edge--h3 { transform: translate3d(0, -117px, -118px); }
.cube-edge--h4 { transform: translate3d(0,  117px, -118px); }

/* arestas horizontais — laterais */
.cube-edge--s1, .cube-edge--s2, .cube-edge--s3, .cube-edge--s4 {
  width: 236px; height: 2px; background: var(--olive);
}
.cube-edge--s1 { transform: rotateY(90deg) translate3d(0, -117px,  118px); }
.cube-edge--s2 { transform: rotateY(90deg) translate3d(0,  117px,  118px); }
.cube-edge--s3 { transform: rotateY(90deg) translate3d(0, -117px, -118px); }
.cube-edge--s4 { transform: rotateY(90deg) translate3d(0,  117px, -118px); }

/* arestas verticais */
.cube-edge--v1, .cube-edge--v2, .cube-edge--v3, .cube-edge--v4 {
  width: 2px; height: 236px;
}
.cube-edge--v1 { background: #F4F4F0;     transform: translate3d(0, 0, 118px); }
.cube-edge--v2 { background: #F4F4F0;     transform: translate3d(234px, 0, 118px); }
.cube-edge--v3 { background: #8A8A80;     transform: translate3d(0, 0, -118px); }
.cube-edge--v4 { background: #8A8A80;     transform: translate3d(234px, 0, -118px); }

.cube-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  background: var(--lime);
  animation: vs-pulse 2.6s ease-in-out infinite;
}

/* --- Faixa de números ------------------------------------------------------ */

.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 36px 32px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat:last-child  { padding-right: 0; }

.stat-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-ink);
}
.stat-label { font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* --- Cards do catálogo ----------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(266px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
}

.media {
  position: relative;
  aspect-ratio: 1;
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}
.media--flat { background: var(--photo-bg); }
.media--stage {
  background: radial-gradient(110% 80% at 50% 62%, #191B14 0%, #0A0A0A 72%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--flat > img { position: absolute; inset: 0; }
.media .fit-contain { object-fit: contain; }
.media img.is-missing { display: none; }

/* Placeholder mostrado só quando o arquivo de imagem não existe */
.media-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  background:
    repeating-linear-gradient(45deg, var(--hatch-1) 0 10px, var(--hatch-2) 10px 20px);
  opacity: 0;
}
.media-fallback span {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-5);
  word-break: break-all;
}
.media--missing > .media-fallback,
.media--missing .media-fallback { opacity: 1; }

.media-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  background: rgba(10, 10, 10, 0.72);
  color: var(--lime);
  padding: 5px 8px;
}

.card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.card-spec {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.card-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  flex: 1;
}
.card-price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
  margin-top: 4px;
}
.card-price--muted { color: var(--ink); }

/* Carrossel ----------------------------------------------------------------- */

.slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 220ms ease;
}
.slide.is-active { opacity: 1; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(10, 10, 10, 0.72);
  color: #F4F4F0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.carousel-arrow:hover { background: var(--lime); color: var(--on-accent); }
.carousel-arrow--prev { left: 10px; }
.carousel-arrow--next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(10, 10, 10, 0.55);   /* fica sobre a foto, não sobre a página */
  box-shadow: 0 0 0 1px rgba(244, 244, 240, 0.35);
  transition: background-color 160ms ease;
}
.dot.is-active { background: var(--lime); box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.45); }

/* Anéis 3D ------------------------------------------------------------------ */

.ring-stage {
  perspective: 760px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rings {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  animation: vs-turn 22s linear infinite;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  border: 2px solid var(--lime);
  border-radius: 50%;
}
.ring--base { transform: rotateX(74deg); opacity: 0.3; }
.ring--pulse { animation: vs-ring 3.6s linear infinite; opacity: 0; }
.ring--pulse-1 { border-color: var(--lime); }
.ring--pulse-2 { border-color: var(--olive); animation-delay: 1.2s; }
.ring--pulse-3 { border-color: var(--olive); animation-delay: 2.4s; }

.ring-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 132px;
  margin: -86px 0 0 -66px;
  transform-style: preserve-3d;
  animation: vs-hover 6s ease-in-out infinite;
}

.ring-photo-frame {
  position: absolute;
  inset: 0;
  border: 1px solid #2E3036;
  background: #0E0F11;
  overflow: hidden;
  transform: rotateY(-22deg);
}
.ring-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Este placeholder vive dentro da moldura escura, então não segue o tema */
.media-fallback--sm {
  letter-spacing: 0.18em;
  color: #6E6E66;
  background: repeating-linear-gradient(45deg, #101114 0 10px, #0C0D10 10px 20px);
}

/* --- Tiles (passos e públicos) --------------------------------------------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tile {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tiles--steps .tile { background: var(--bg-alt); }
.tiles--audience .tile { background: var(--bg); gap: 12px; }

.tile-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}
.tile-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.tile-heading {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
}
.tile-text { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.cta-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.notice {
  margin-top: 28px;
  border: 1px solid var(--line);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.notice-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.notice-link { font-size: 15px; font-weight: 600; }

/* --- FAQ ------------------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  padding-block: 80px;
}
.faq-title { font-size: clamp(28px, 3.8vw, 40px); }

.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-q {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq-a {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0;
}

/* --- Fechamento ------------------------------------------------------------ */

.closing {
  padding-block: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.closing-mark { flex-shrink: 0; }
.closing-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 22ch;
  text-wrap: balance;
}
.closing-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 48ch;
  text-wrap: pretty;
}

/* --- Rodapé ---------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.footer-bar {
  padding-block: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name,
.footer-link,
.footer-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.footer-name { color: var(--ink-3); }
.footer-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.footer-link { letter-spacing: 0.08em; color: var(--ink-2); }
.footer-link:hover { color: var(--accent-ink); }
.footer-year { letter-spacing: 0.08em; color: var(--ink-5); }

/* ==========================================================================
   Animações
   ========================================================================== */

@keyframes vs-spin {
  from { transform: rotateX(-18deg) rotateY(0deg); }
  to   { transform: rotateX(-18deg) rotateY(360deg); }
}
@keyframes vs-float {
  0%, 100% { transform: translateY(-10px); }
  50%      { transform: translateY(10px); }
}
@keyframes vs-sweep {
  0%   { transform: rotateX(90deg) translateZ(-118px); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: rotateX(90deg) translateZ(118px); opacity: 0; }
}
@keyframes vs-pulse {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.7; }
}
@keyframes vs-turn {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}
@keyframes vs-hover {
  0%, 100% { transform: translateY(-6px); }
  50%      { transform: translateY(6px); }
}
@keyframes vs-ring {
  0%   { transform: rotateX(74deg) translateZ(0px) scale(0.35); opacity: 0; }
  15%  { opacity: 0.85; }
  100% { transform: rotateX(74deg) translateZ(120px) scale(1.15); opacity: 0; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 72px 64px;
  }
  .hero-visual { max-width: 460px; width: 100%; }
  .cube-stage { transform: scale(0.9); }
  .faq { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.65);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .site-header { position: sticky; }
  .header-bar { position: relative; }

  .nav-link {
    font-size: 17px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav .btn { margin-top: 16px; text-align: center; }

  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --gutter: 24px; }

  .section { padding-block: 64px; }
  .faq { padding-block: 64px; }
  .closing { padding-block: 80px; }

  .stats { grid-template-columns: 1fr; }
  .stat {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stat:first-child { border-top: 0; }

  .cards { grid-template-columns: 1fr; }

  .hero-lead, .section-lead { font-size: 16px; }
  .btn, .btn-ghost { width: 100%; text-align: center; }
  .btn-row { gap: 12px; }
  .nav .btn { width: 100%; }
}

@media (max-width: 540px) {
  .tiles { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* O cubo em rotação ocupa bem mais que os 236px da caixa: a diagonal somada
   à perspectiva chega a ~430px. Abaixo destes tamanhos a moldura do hero fica
   menor que isso, então o cubo é reduzido em vez de ser cortado. */
@media (max-width: 520px) { .cube-stage { transform: scale(0.66); } }
@media (max-width: 380px) { .cube-stage { transform: scale(0.55); } }

/* ==========================================================================
   Preferências do sistema
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .cube-float,
  .cube,
  .cube-sweep,
  .cube-core,
  .rings,
  .ring--pulse,
  .ring-photo {
    animation: none !important;
  }
  .ring--pulse { opacity: 0.35; transform: rotateX(74deg) scale(0.9); }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header, .carousel-arrow, .carousel-dots, .hero-visual { display: none; }
  body { background: #fff; color: #000; }
}
