﻿:root {
  --bg: #070b1c;
  --bg-soft: #0a1328;
  --panel: rgba(8, 16, 40, 0.92);
  --card: rgba(9, 18, 44, 0.88);
  --line: rgba(70, 120, 255, 0.32);
  --text: #eaf0ff;
  --muted: #9aaed6;
  --accent: #2e58ff;
  --accent-bright: #84b2ff;
  --accent-glow: #0000ff;
  --page-pad-top: clamp(24px, 3.2vw, 56px);
  --page-pad-x: clamp(18px, 3.6vw, 56px);
  --header-height: 90px;
  --header-bottom-offset: calc(var(--page-pad-top) + var(--header-height));
  --content-max: 1400px;
  --gutter-min: 30px;
  --content-width: min(var(--content-max), calc(100vw - (var(--gutter-min) * 2)));
  --header-width-top: calc(var(--content-width) - var(--page-pad-x) * 2);
  --header-width-scroll: calc(var(--content-width) - (var(--page-pad-x) * 5));
  --slide1-lamp-scale: 1.2;
  --slide1-lamp-offset-x: 0em;
  --slide1-lamp-offset-y: 0.6em;
  --slide1-lamp-scale-mobile: 1.5;
  --slide1-lamp-offset-x-mobile: 0em;
  --slide1-lamp-offset-y-mobile: 1em;
  --lamp-text-base: #000088;
  --lamp-glow-color: #ffad14;
  --lamp-text-on: #fff;
  --lamp-text-transition: 0.5s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 1200px at 100% 800px, rgba(0, 0, 255, 0.2), transparent 70%),
    /* radial-gradient(1400px 900px at 20% 80%, rgba(0, 0, 255, 0.2), transparent 70%), */
    linear-gradient(180deg, #050810 0%, #040711 45%, #03050d 100%);
  min-height: 100vh;
  font-size: 16.5px;
  overflow-x: hidden;
  padding-top: calc(var(--page-pad-top) + var(--header-height));
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 88, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 88, 255, 0.18) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.ambient-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

/* Espaco antes e depois */
.spacer {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-bottom: 1px solid rgba(46, 88, 255, 0.14);
  font-size: 2rem;
  color: var(--muted);
}

/* Secao horizontal */
.horizontal-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Wrapper horizontal */
.horizontal-wrapper {
  display: flex;
  height: 100%;
  width: max-content;
  position: relative;
  z-index: 1;
}

/* Cada painel */
.panel {
  min-width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border-right: 1px solid rgba(46, 88, 255, 0.2);
}

.panel:nth-child(2n) {
  background: transparent;
}

.panel-intro {
  font-weight: 400;
  font-size: 1rem;
}

.slide1 {
  width: min(980px, 92vw);
  height: calc(100vh - var(--header-bottom-offset));
  min-height: calc(100svh - var(--header-bottom-offset));
  margin-top: var(--header-bottom-offset);
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-body {
  width: min(1000px, 92vw);
  height: calc(100vh - var(--header-bottom-offset));
  min-height: calc(100svh - var(--header-bottom-offset));
  margin-top: var(--header-bottom-offset);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 4vw;
}

.panel-title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
}

.slide1-content {
  width: min(980px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(14px, 1.8vw, 22px);
}

.slide1-phase {
  margin: 0;
  font-family: "Space Mono", monospace;
  font-size: clamp(0.66rem, 0.85vw, 0.78rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(196, 208, 236, 0.66);
}

.slide1-headline {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(8px, 0.95vw, 14px);
  white-space: nowrap;
  font-size: clamp(2.2rem, 5.9vw, 4.8rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lamp-text-base);
  transition: color var(--lamp-text-transition) linear;
  position: relative;
  isolation: isolate;
}

.slide1-headline.is-lamp-on {
  color: var(--lamp-text-on);
}

.headline-word {
  white-space: nowrap;
}

.headline-word-muda,
.headline-word-tudo,
.headline-word-uma {
  display: inline-block;
}

.lamp-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(var(--slide1-lamp-offset-x), var(--slide1-lamp-offset-y));
}

.lamp-note {
  position: absolute;
  right: calc(100% + 8px);
  top: 70%;
  transform: translateY(-50%) rotate(-15deg);
  color: rgba(223, 236, 255, 0.86);
  font-family: "Space Mono", monospace;
  font-size: clamp(0.5rem, 0.55vw, 0.62rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  z-index: 6;
}

.lamp-note::after {
  content: "↘";
  position: absolute;
  right: -10px;
  top: 52%;
  transform: translate(100%, -50%);
  color: rgba(206, 222, 249, 0.84);
  font-size: 0.76rem;
  line-height: 1;
}

.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;
}

.slide1-subtitle {
  margin: 26px 0 0;
  max-width: 640px;
  font-size: clamp(1.02rem, 0.96vw, 1.24rem);
  line-height: 1.55;
  color: rgba(217, 228, 248, 0.84);
  text-wrap: balance;
}

.slide1-method-block {
  position: relative;
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  margin-top: 26px;
}

.slide1-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}

.slide1-topic {
  border: 1px solid rgba(169, 189, 222, 0.3);
  background: rgba(11, 19, 41, 0.46);
  color: rgba(220, 230, 248, 0.84);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide1-topic:hover,
.slide1-topic:focus-visible {
  border-color: rgba(132, 178, 255, 0.78);
  color: rgba(222, 236, 255, 0.98);
  background: rgba(13, 27, 66, 0.66);
  box-shadow: 0 0 20px rgba(79, 145, 255, 0.28);
}

.slide1-topic.is-active {
  border-color: rgba(132, 178, 255, 0.78);
  color: rgba(222, 236, 255, 0.98);
  background: rgba(13, 27, 66, 0.66);
  box-shadow: 0 0 20px rgba(79, 145, 255, 0.28);
}

.slide1-topic:focus {
  outline: none;
}

.slide1-topic-note {
  margin: 18px 0 0;
  width: min(640px, 100%);
  max-width: 640px;
  min-height: 4.8em;
  position: relative;
  color: rgba(224, 236, 255, 0.92);
  font-size: clamp(0.95rem, 1.08vw, 1.08rem);
  line-height: 1.5;
  overflow: hidden;
}

.slide1-topic-line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide1-topic-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lamp-stage {
  position: relative;
  width: calc(1.78em * var(--slide1-lamp-scale));
  height: calc(3.25em * var(--slide1-lamp-scale));
}

.lamp-svg {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: visible;
  touch-action: none;
}

.cord-path {
  stroke: rgba(210, 222, 247, 0.9);
  stroke-width: 2.2;
  fill: none;
}

.cord-handle {
  cursor: grab;
  pointer-events: all;
}

.cord-handle:active {
  cursor: grabbing;
}

.cord-ring {
  fill: none;
  stroke: rgba(210, 222, 247, 0.9);
  stroke-width: 2;
}

.cord-knob {
  fill: rgba(248, 250, 255, 0.96);
}

.cord-hit {
  fill: transparent;
  pointer-events: all;
}

.lamp-icon {
  position: absolute;
  left: 50%;
  top: 0.03em;
  transform: translateX(-50%);
  width: 100%;
  height: 50%;
  z-index: 3;
}

.lamp-outline,
.lamp-base {
  fill: none;
  stroke: rgba(212, 223, 247, 0.92);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lamp-core {
  fill: none;
  stroke: rgba(197, 212, 240, 0.72);
  stroke-width: 2;
}

.bulb-glow {
  position: absolute;
  left: 50%;
  top: 19%;
  width: 220%;
  height: 220%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 216, 128, 0.9), rgba(255, 208, 110, 0.28) 55%, rgba(255, 208, 110, 0) 74%);
  filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  min-height: calc(100vh - var(--header-height) - var(--page-pad-top));
  min-height: calc(100svh - var(--header-height) - var(--page-pad-top));
  padding: 32px var(--page-pad-x) 96px;
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 4.2vw, 4.5rem);
  margin: 0 0 18px;
  line-height: 1.04;
  background: linear-gradient(135deg, #0059ff, #4586ff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  font-weight: 400;
}

.hero-title-strong {
  font-weight: 800;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero-lead {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 38ch;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-note {
  margin: 0 0 28px;
  font-size: 0.78rem;
  letter-spacing: 0.025em;
  color: var(--muted);
}

.hero-actions .hero-primary {
  position: relative;
  background: linear-gradient(135deg, #0059ff, #4586ff);
  color: #070b1c;
  border: 0;
  overflow: hidden;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  pointer-events: none;
}

.hero-scroll span {
  width: 28px;
  height: 28px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  animation: heroArrow 2.4s ease-in-out infinite;
}

.hero-panel {
  position: relative;
  min-height: 380px;
  border-radius: 26px;
  background: transparent;
  border: none;
  overflow: visible;
  box-shadow: none;
  justify-self: end;
  margin-left: 0;
}

.panel-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 28px 0;
  display: grid;
  gap: 18px;
  justify-items: end;
}

.contact-card-wrap {
  position: relative;
  display: inline-block;
  z-index: 0;
  transform-style: preserve-3d;
}

.contact-card {
  display: grid;
  grid-template-columns: 200px max-content;
  gap: 64px;
  padding: 40px 50px 40px 40px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 26, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: visible;
  text-align: left;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  z-index: 1;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.contact-card-glow {
  position: absolute;
  inset: calc(-1 * var(--glow-padding, 26px));
  z-index: 0;
  pointer-events: none;
  border-radius: calc(var(--glow-radius, 22px) + var(--glow-padding, 26px));
  background: none;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  right: 20px;
  width: 3px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #0000ff 25%, #0000ff 75%, transparent);
  background-size: 100% 200%;
  animation: contactLineFlow 6.5s ease-in-out infinite;
}

.contact-card__logo {
  width: 230px;
  height: 230px;
  object-fit: contain;
  align-self: center;
  justify-self: start;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.contact-card__name {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.contact-card__role {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: center;
  justify-self: start;
  align-self: stretch;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.contact-card__title {
  text-align: center;
}

.contact-card__tags {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-wrap: wrap;
  white-space: normal;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.contact-card__tags span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(46, 88, 255, 0.24);
  color: var(--tag-active-color, var(--accent-bright));
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  cursor: pointer;
  background: transparent;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-card__ticker {
  --ticker-edge-fade: 40px;
  width: min(280px, 100%);
  max-width: 100%;
  min-width: 0;
  contain: inline-size;
  border-radius: 999px;
  background: rgba(7, 12, 28, 0.62);
  overflow: hidden;
  overflow: clip;
  clip-path: inset(0 round 999px);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--ticker-edge-fade),
    #000 calc(100% - var(--ticker-edge-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--ticker-edge-fade),
    #000 calc(100% - var(--ticker-edge-fade)),
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: relative;
}

.contact-card__ticker-track {
  display: flex;
  width: max-content;
  padding-inline: 12px 0;
  animation: cardTicker var(--ticker-duration, 16s) linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.contact-card__ticker-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  padding: 8px 10px 8px 0;
}

.contact-card__ticker-item {
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-bright);
  white-space: nowrap;
}

.contact-card__ticker-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(132, 178, 255, 0.8);
  flex: 0 0 auto;
}

.contact-card__tags span:hover {
  border-color: rgba(132, 178, 255, 0.85);
  box-shadow: 0 0 18px rgba(46, 88, 255, 0.3);
}

.contact-card__tags span.copied::after {
  content: "Copiado";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: rgba(8, 14, 32, 0.95);
  border: 1px solid rgba(132, 178, 255, 0.55);
  color: var(--accent-bright);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  animation: copiedToast 1s ease forwards;
  pointer-events: none;
}

.section {
  padding: 76px var(--page-pad-x);
  border-top: 1px solid rgba(46, 88, 255, 0.14);
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-head h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 3vw, 2.9rem);
}

.manifesto {
  display: grid;
  gap: 30px;
  padding: 110px var(--page-pad-x);
}

#processo {
  padding-bottom: 50px;
}

.manifesto-inner {
  max-width: 640px;
}

.manifesto-inner h2 {
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.manifesto-inner p:not(.kicker) {
  font-size: 1.1rem;
  line-height: 1.75;
}

.manifesto-tags {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
  padding-bottom: 0;
  transition:
    padding-bottom 0.35s ease,
    transform 0.35s ease;
}

.manifesto-tag-note {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 36px);
  background: rgba(8, 14, 32, 0.95);
  border: 1px solid var(--tag-active-color, rgba(46, 88, 255, 0.3));
  border-radius: 18px;
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}

.manifesto-tag-title {
  margin: 0 0 8px;
  color: var(--accent-bright);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifesto-tag-note.is-active .manifesto-tag-title,
.manifesto-tag-note.is-fading .manifesto-tag-title {
  color: var(--tag-active-color, var(--accent-bright));
}

.manifesto-tag-text {
  margin: 0;
}

.manifesto-tag-note.is-active {
  opacity: 1;
  transform: translateY(0);
}

.manifesto-tag-spacer {
  height: 0;
  transition: height 0.35s ease;
}

.manifesto-tags span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(180px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(46, 88, 255, 0.4), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: inherit;
  pointer-events: none;
}

.manifesto-tags.is-glow span::before {
  opacity: 1;
}

.manifesto-tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(46, 88, 255, 0.24);
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
  background: rgba(7, 12, 28, 0.5);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.manifesto-tags span.is-glow,
.manifesto-tags span.is-active,
.manifesto-tags span:hover:not(.is-reset),
.manifesto-tags span:focus-visible {
  color: var(--tag-color, var(--accent-bright));
  border-color: var(--tag-color, rgba(46, 88, 255, 0.55));
}

.manifesto-tags span.is-reset,
.manifesto-tags span.is-reset:hover {
  color: var(--muted);
  border-color: rgba(46, 88, 255, 0.24);
  box-shadow: none;
}

.manifesto-tags span:nth-child(1) {
  --tag-color: #4fa3ff;
}

.manifesto-tags span:nth-child(2) {
  --tag-color: #57e2a9;
}

.manifesto-tags span:nth-child(3) {
  --tag-color: #ff86c5;
}

.manifesto-tags span:nth-child(4) {
  --tag-color: #f5c84c;
}

.manifesto-tags span:nth-child(5) {
  --tag-color: #a58bff;
}

.manifesto-tags span:nth-child(6) {
  --tag-color: #63e6ff;
}

.manifesto-tags:has(span:nth-child(1):hover),
.manifesto-tags:has(span:nth-child(1).is-active),
.manifesto-tags:has(span:nth-child(1):focus-visible) {
  --tag-active-color: #4fa3ff;
}

.manifesto-tags:has(span:nth-child(2):hover),
.manifesto-tags:has(span:nth-child(2).is-active),
.manifesto-tags:has(span:nth-child(2):focus-visible) {
  --tag-active-color: #57e2a9;
}

.manifesto-tags:has(span:nth-child(3):hover),
.manifesto-tags:has(span:nth-child(3).is-active),
.manifesto-tags:has(span:nth-child(3):focus-visible) {
  --tag-active-color: #ff86c5;
}

.manifesto-tags:has(span:nth-child(4):hover),
.manifesto-tags:has(span:nth-child(4).is-active),
.manifesto-tags:has(span:nth-child(4):focus-visible) {
  --tag-active-color: #f5c84c;
}

.manifesto-tags:has(span:nth-child(5):hover),
.manifesto-tags:has(span:nth-child(5).is-active),
.manifesto-tags:has(span:nth-child(5):focus-visible) {
  --tag-active-color: #a58bff;
}

.manifesto-tags:has(span:nth-child(6):hover),
.manifesto-tags:has(span:nth-child(6).is-active),
.manifesto-tags:has(span:nth-child(6):focus-visible) {
  --tag-active-color: #63e6ff;
}

.manifesto-tags span.is-glow {
  box-shadow: 0 0 20px rgba(46, 88, 255, 0.22);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 32px;
  position: fixed;
  top: var(--page-pad-top);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: var(--header-width-top);
  max-width: var(--header-width-top);
  z-index: 4;
  min-height: var(--header-height);
  background: transparent;
  isolation: isolate;
  will-change: transform;
  pointer-events: auto;
  border-radius: 18px;
  transition:
    border-color 0.8s ease,
    background 0.8s ease,
    backdrop-filter 0.8s ease,
    -webkit-backdrop-filter 0.8s ease,
    box-shadow 0.8s ease,
    width 0.8s ease,
    max-width 0.8s ease;
}

:is(.site-header .header-glass, .site-nav .menu-glass) {
  --corner-radius: 18px;
  --base-strength: 15px;
  --extra-blur: 2px;
  --softness: 50px;
  --glass-tint: rgba(0, 0, 255, 0.1);
  --total-strength: calc(var(--base-strength) + var(--extra-blur));
  --edge-width: calc(0.3px + (var(--softness) * 0.1));
  --emboss-width: calc((var(--softness) * 0.38));
  --refraction-width: calc((var(--softness) * 0.3));
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.site-header .header-glass *,
.site-nav .menu-glass * {
  pointer-events: none;
}

:is(.site-header, .site-nav) .GlassContainer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

:is(.site-header, .site-nav) .GlassContent {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 100;
  overflow: hidden;
  border-radius: var(--corner-radius);
  pointer-events: none;
}

:is(.site-header, .site-nav) .GlassMaterial {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

:is(.site-header, .site-nav) .GlassMaterial:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  border-radius: var(--corner-radius);
  background-color: var(--glass-tint);
}

:is(.site-header, .site-nav) .GlassMaterial > div {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border-radius: var(--corner-radius);
  z-index: 2;
  overflow: hidden;
}

:is(.site-header, .site-nav) .GlassMaterial .GlassEdgeReflection {
  z-index: 4;
  margin: calc(var(--total-strength) * -1);
  border-radius: calc(var(--corner-radius) + var(--total-strength));
  backdrop-filter: blur(var(--total-strength)) brightness(1.08) saturate(1.05);
  padding: var(--edge-width);
  border: var(--total-strength) solid transparent;
  mask:
    linear-gradient(white 0 0) padding-box,
    linear-gradient(white 0 0) content-box;
  mask-composite: exclude, exclude;
}

:is(.site-header, .site-nav) .GlassMaterial .GlassEmbossReflection {
  backdrop-filter: blur(calc(var(--total-strength) * 1.2)) brightness(1.03) saturate(1.06) contrast(1.05);
  padding: var(--emboss-width);
  border: 0 solid transparent;
  mask:
    linear-gradient(white 0 0) padding-box,
    linear-gradient(white 0 0) content-box;
  mask-composite: exclude, exclude;
}

:is(.site-header, .site-nav) .GlassMaterial .GlassRefraction {
  backdrop-filter: brightness(1.04) contrast(1.02);
  padding: var(--refraction-width);
  border: calc(var(--emboss-width)) solid transparent;
  mask:
    linear-gradient(white 0 0) padding-box,
    linear-gradient(white 0 0) content-box;
  mask-composite: exclude, exclude;
}

:is(.site-header, .site-nav) .GlassMaterial .GlassBlur {
  backdrop-filter: blur(var(--extra-blur));
  border-radius: calc(var(--corner-radius) - (var(--emboss-width) + var(--refraction-width)));
  margin: calc(var(--emboss-width) + var(--refraction-width));
}

:is(.site-header, .site-nav) .GlassMaterial .BlendLayers {
  z-index: 3;
  backdrop-filter: blur(calc((var(--softness) * 0.2) + (var(--extra-blur) * 0.2)));
}

:is(.site-header, .site-nav) .GlassMaterial .BlendEdge {
  z-index: 8;
  backdrop-filter: blur(calc(var(--edge-width) * 0.4)) contrast(1) saturate(1.1);
}

:is(.site-header, .site-nav) .GlassContainer:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  display: block;
  border-radius: var(--corner-radius);
  backdrop-filter: none;
}

:is(.site-header, .site-nav) .GlassMaterial:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 11;
  display: block;
  border-radius: var(--corner-radius);
  padding: 1px;
  border: 0 solid transparent;
  background: linear-gradient(155deg, hsla(0, 0%, 100%, 0.08) 0%, hsla(0, 0%, 0%, 0.08) 50%, hsla(0, 0%, 100%, 0.08) 100%);
  backdrop-filter: none;
  mask:
    linear-gradient(white 0 0) padding-box,
    linear-gradient(white 0 0) content-box;
  mask-composite: exclude, exclude;
}

:is(.site-header, .site-nav) .GlassMaterial .Highlight {
  z-index: 12;
  display: block;
  border-radius: var(--corner-radius);
  padding: 1px;
  border: 0 solid transparent;
  backdrop-filter: brightness(1.08) contrast(1.2) saturate(1.05) opacity(1);
  mask:
    linear-gradient(white 0 0) padding-box,
    linear-gradient(white 0 0) content-box;
  mask-composite: exclude, exclude;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  opacity: 0;
  z-index: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
  pointer-events: none;
  transition:
    background 1s ease,
    opacity 1s ease;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header.is-scrolled {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  width: var(--header-width-scroll);
  max-width: var(--header-width-scroll);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .site-header.is-scrolled::before {
    opacity: 0;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
}

.logo-text {
  font-size: 1.25rem;
}

.logo-mark {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.logo-text {
  pointer-events: none;
}

.site-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 1.05rem;
  position: relative;
  isolation: isolate;
}

.site-nav .menu-glass {
  display: none;
}

.site-header .button {
  padding: 15px 24px;
  font-size: 1.2rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #050915;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--accent);
}

.button:hover {
  box-shadow: 0 0 26px var(--accent-glow);
  filter: brightness(1.06);
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: row;
    align-items: center;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .slide1 {
    padding: 0 4vw 0;
  }

  .slide1-content {
    gap: 16px;
  }

  .slide1-headline {
    font-size: clamp(1.35rem, 6.3vw, 2.9rem);
    line-height: 0.98;
    gap: clamp(6px, 1.35vw, 9px);
  }

  .lamp-note {
    right: calc(100% + 10px);
    top: 62%;
    font-size: clamp(0.48rem, 0.9vw, 0.58rem);
  }

  .slide1-subtitle {
    margin-top: 0;
  }

  .slide1-topic {
    padding: 7px 12px;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .slide1-topic-note {
    margin-top: 16px;
    margin-bottom: 100px;
    min-height: 5.6em;
    font-size: clamp(0.86rem, 1.6vw, 0.98rem);
  }
}

@media (min-width: 980px) {
  .manifesto {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .manifesto-tags {
    grid-column: 2;
    justify-self: end;
    width: min(420px, 100%);
  }

  .manifesto-tags::before {
    content: "Explora os detalhes ao passar o cursor";
    position: absolute;
    left: 0;
    bottom: calc(100% + 24px);
    font-family: "Space Mono", monospace;
    font-size: 0.62rem;
    line-height: 1.2;
    letter-spacing: 0.1em;
    color: rgba(180, 198, 230, 0.7);
    pointer-events: none;
    white-space: nowrap;
  }
}

@media (max-width: 780px) {
  :root {
    --page-pad-top: 24px;
    --page-pad-x: 18px;
    --header-height: 80px;
    --gutter-min: 5px;
    --mobile-slide-gap: clamp(40px, 8vw, 64px);
    --slide1-lamp-scale: var(--slide1-lamp-scale-mobile);
    --slide1-lamp-offset-x: var(--slide1-lamp-offset-x-mobile);
    --slide1-lamp-offset-y: var(--slide1-lamp-offset-y-mobile);
  }

  .horizontal-section {
    height: auto;
    overflow: visible;
  }

  .horizontal-wrapper {
    display: block;
    width: 100%;
    height: auto;
  }

  .panel {
    min-width: 100%;
    width: 100%;
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(46, 88, 255, 0.2);
  }

  .panel:last-child {
    border-bottom: 0;
  }

  .slide1,
  .panel-body {
    height: auto;
    min-height: 0;
    margin-top: 0;
  }

  .slide1 {
    align-items: flex-start;
    padding-top: var(--mobile-slide-gap);
    padding-bottom: var(--mobile-slide-gap);
  }

  .lamp-svg {
    display: none;
  }

  .lamp-note {
    display: none;
  }

  .panel-body {
    padding-top: var(--mobile-slide-gap);
    padding-bottom: var(--mobile-slide-gap);
  }

  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px 16px;
    width: calc(100% - (var(--page-pad-x)));
    max-width: calc(1330px - (var(--page-pad-x)));
    background: transparent;
    border-color: transparent;
  }

  .site-header.is-scrolled {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    width: calc(100% - (var(--page-pad-x) * 2));
    max-width: calc(1330px - (var(--page-pad-x) * 2));
  }

  .site-header::before {
    opacity: 0;
  }

  .site-header.is-scrolled::before {
    opacity: 0;
  }

  .manifesto {
    padding: 72px var(--page-pad-x);
  }

  .manifesto-tag-note {
    top: calc(100% + 36px);
    max-width: 300px;
    width: min(300px, 100%);
    left: 50%;
    right: auto;
    transform: translate(-50%, -12px);
  }

  .manifesto-tags.is-note-active + .manifesto-tag-spacer {
    height: var(--tag-note-spacer-height, 64px);
  }

  .manifesto-tags span::before {
    opacity: 0;
  }

  .manifesto-tags.is-glow span::before {
    opacity: 1;
  }

  .manifesto-tags span.is-glow {
    border-color: rgba(46, 88, 255, 0.24);
    box-shadow: none;
  }

  .manifesto-tags span.is-active::before {
    opacity: 1;
  }

  .manifesto-tags span.is-active,
  .manifesto-tags span.is-active.is-glow {
    border-color: var(--tag-color, rgba(46, 88, 255, 0.55));
    box-shadow: 0 0 20px rgba(46, 88, 255, 0.22);
  }

  .hero {
    padding: 32px var(--page-pad-x) 48px;
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 3.4rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions .hero-primary {
    order: 2;
  }

  .hero-actions .button.ghost {
    order: 1;
  }

  .hero-note {
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  .hero-panel {
    margin-left: 0;
    justify-self: center;
    width: 100%;
  }

  .panel-frame {
    width: 100%;
    padding: 20px 0;
    justify-items: center;
  }

  .contact-card-wrap {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 28px 44px;
    justify-items: center;
    text-align: center;
    align-items: center;
    --glow-padding: 12px;
  }

  .contact-card__logo {
    width: 190px;
    height: 190px;
    align-self: center;
    justify-self: center;
  }

  .contact-card__name {
    font-size: 1.85rem;
  }

  .contact-card__role {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }

  .contact-card__content {
    align-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
    justify-content: center;
    justify-self: center;
  }

  .contact-card__tags {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
  }

  .contact-card__tags span {
    padding: 8px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    max-width: 100%;
  }

  .contact-card__ticker {
    width: 100%;
  }

  .contact-card__ticker-group {
    padding: 8px 9px 8px 0;
    gap: 9px;
  }

  .contact-card__ticker-item {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .contact-card::before {
    top: auto;
    bottom: 12px;
    left: 50%;
    right: auto;
    width: 82%;
    height: 3px;
    transform: translateX(-50%);
    animation: contactLineFlowHorizontal 6.5s ease-in-out infinite;
  }

  .manifesto-tag-note.is-active {
    transform: translate(-50%, 0);
  }

  .site-header .button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: grid;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    gap: 12px;
    padding: 14px 20px;
    width: max-content;
    max-width: calc(100% - 32px);
    justify-items: center;
    align-items: center;
    border-radius: 18px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    overflow: hidden;
    z-index: 3;
    opacity: 1;
    transform: translate3d(calc(100% + 28px), 0, 0);
    transform-origin: top right;
    will-change: transform;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .site-nav .menu-glass {
    display: block;
  }

  .site-nav a {
    padding: 6px 0;
    z-index: 1;
  }

  .site-nav a::after {
    display: none;
  }

  .site-header.menu-open .site-nav {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .site-header.menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
}

@media (max-width: 780px) and (hover: none) and (pointer: coarse) {
  .slide1-topic:hover:not(.is-active) {
    border-color: rgba(169, 189, 222, 0.3);
    color: rgba(220, 230, 248, 0.84);
    background: rgba(11, 19, 41, 0.46);
    box-shadow: none;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15.5px;
  }

  .logo-mark {
    width: 50px;
    height: 50px;
  }

  .button,
  .button.ghost {
    width: 100%;
  }
}

@media (hover: none) and (pointer: coarse) {
  .button {
    transition:
      transform 0.35s ease,
      box-shadow 1s ease,
      filter 1s ease;
  }

  .button:hover {
    box-shadow: none;
    filter: none;
  }

  .hero-actions .hero-primary:hover {
    box-shadow: none;
  }

  .button:active {
    box-shadow: none;
    filter: none;
  }

  .button.tap-glow {
    box-shadow: 0 0 26px var(--accent-glow);
    filter: brightness(1.06);
  }

  .contact-card__tags span:hover {
    border-color: rgba(46, 88, 255, 0.24);
    box-shadow: none;
  }

  .contact-card__tags span.copied {
    border-color: rgba(132, 178, 255, 0.85);
    box-shadow: 0 0 18px rgba(46, 88, 255, 0.35);
    animation: copiedGlow 1s ease forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .contact-card__ticker-track {
    animation: none;
    transform: none;
  }
}

@keyframes heroArrow {
  0% {
    transform: translateY(-8px) rotate(45deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(8px) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-8px) rotate(45deg);
    opacity: 0.5;
  }
}

@keyframes cardTicker {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--ticker-loop-shift, 50%)), 0, 0);
  }
}

@keyframes copiedToast {
  0% {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -4px);
  }
}

@keyframes copiedGlow {
  0% {
    box-shadow: 0 0 18px rgba(46, 88, 255, 0.4);
    border-color: rgba(132, 178, 255, 0.9);
  }
  100% {
    box-shadow: 0 0 0 rgba(46, 88, 255, 0);
    border-color: rgba(46, 88, 255, 0.24);
  }
}

@keyframes contactLineFlow {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes contactLineFlowHorizontal {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
