:root {
  --font-geist: Arial, Helvetica, sans-serif;
  --background: #0b1220;
  --surface: rgba(11, 18, 32, 0.62);
  --surface-strong: rgba(11, 18, 32, 0.82);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --turquoise: #14b8a6;
  --blue: #3b82f6;
  --border: rgba(255, 255, 255, 0.14);
  --stage-width: min(100vw, 520px);
  --safe-top: max(24px, env(safe-area-inset-top));
  --safe-bottom: max(24px, env(safe-area-inset-bottom));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--background);
  font-family: var(--font-geist), "Inter", sans-serif;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

.experience {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.16), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(20, 184, 166, 0.12), transparent 36%),
    var(--background);
}

.vertical-stage {
  position: relative;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  margin: 0 auto;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--background);
  isolation: isolate;
}

.vertical-stage::-webkit-scrollbar {
  display: none;
}

.video-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--background);
}

.video-layer__video,
.video-layer__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-layer__poster {
  z-index: 1;
  opacity: 1;
  transition: opacity 300ms ease;
}

.video-layer__poster.is-hidden {
  opacity: 0;
}

.video-layer__video {
  z-index: 0;
  opacity: 0;
  transition: opacity 70ms linear;
}

.video-layer__video.is-active {
  z-index: 2;
  opacity: 1;
}

.video-layer__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  box-shadow: inset 0 0 110px rgba(2, 6, 23, 0.52);
  pointer-events: none;
}

.brand-bar {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: var(--stage-width);
  padding: var(--safe-top) 22px 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  pointer-events: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand__logo {
  display: block;
  width: clamp(210px, 62vw, 275px);
  height: auto;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(20, 184, 166, 0.5);
  border-radius: 13px;
  background: rgba(11, 18, 32, 0.52);
  box-shadow: 0 0 28px rgba(20, 184, 166, 0.16);
  color: var(--turquoise);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(14px);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.brand__text strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.87rem;
  line-height: 1.1;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.67rem;
}

.page-section {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  padding: calc(var(--safe-top) + 76px) 22px calc(var(--safe-bottom) + 42px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-content {
  position: relative;
  z-index: 5;
  width: min(100%, 430px);
  margin-left: auto;
}

.section-content--top-right {
  align-self: flex-start;
  padding-top: clamp(12px, 8vh, 84px);
}

.section-content--center-right {
  align-self: center;
}

.section-content--contact {
  padding-top: clamp(8px, 5vh, 54px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--turquoise);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 10.5em;
  margin: 0;
  font-family: var(--font-geist), "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.42);
}

h1 {
  font-size: clamp(2.35rem, 10vw, 4.1rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 8.7vw, 3.5rem);
  line-height: 1;
}

.lead,
.support-text {
  max-width: 35rem;
  color: var(--muted);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.lead {
  margin: 20px 0 0;
  font-size: clamp(1rem, 4.2vw, 1.2rem);
  line-height: 1.55;
}

.support-text {
  margin: 13px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.actions--stack {
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.button--primary {
  background: linear-gradient(135deg, #16c7b4, var(--turquoise));
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.28);
  color: #041311;
  font-weight: 800;
}

.button--secondary {
  border: 1px solid rgba(248, 250, 252, 0.26);
  background: rgba(11, 18, 32, 0.54);
  color: var(--text);
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.indicator-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.indicator-list span {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.54);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(14px);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-flow li {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: flex-end;
  padding: 11px 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(11, 18, 32, 0.54);
  color: var(--text);
  font-size: 0.67rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.process-flow li::before {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.65);
  content: "";
}

.signature {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.79rem;
}

.signature strong {
  color: var(--text);
  font-family: var(--font-geist), "Manrope", sans-serif;
  font-size: 0.95rem;
}

.progress {
  position: fixed;
  top: 50%;
  right: max(14px, calc((100vw - var(--stage-width)) / 2 + 14px));
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.progress__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(248, 250, 252, 0.5);
  border-radius: 50%;
  background: rgba(248, 250, 252, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.progress__dot.is-active {
  transform: scale(1.28);
  border-color: var(--turquoise);
  background: var(--turquoise);
  box-shadow: 0 0 18px rgba(20, 184, 166, 0.65);
}

.scroll-hint {
  position: fixed;
  bottom: calc(var(--safe-bottom) + 5px);
  left: 50%;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.69rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 300ms ease, transform 300ms ease;
}

.scroll-hint i {
  position: relative;
  display: block;
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.22);
}

.scroll-hint i::after {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 45%;
  background: var(--turquoise);
  animation: scrollLine 1.6s ease-in-out infinite;
  content: "";
}

.scroll-hint.is-hidden {
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
}

.reveal-item {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 650ms ease;
}

.page-section.is-active .reveal-item {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.page-section.is-active .reveal-item:nth-child(2) { transition-delay: 80ms; }
.page-section.is-active .reveal-item:nth-child(3) { transition-delay: 150ms; }
.page-section.is-active .reveal-item:nth-child(4) { transition-delay: 220ms; }
.page-section.is-active .reveal-item:nth-child(5) { transition-delay: 290ms; }

@keyframes scrollLine {
  0% { transform: translateY(0); }
  70%, 100% { transform: translateY(310%); }
}

@media (max-width: 390px) {
  .page-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-content {
    margin: 0 auto;
    text-align: center;
  }

  h1,
  h2,
  .lead,
  .support-text {
    margin-right: auto;
    margin-left: auto;
  }

  .actions,
  .indicator-list {
    justify-content: center;
  }

  .process-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-flow li:nth-child(4),
  .process-flow li:nth-child(5) {
    min-height: 62px;
  }
}

@media (min-width: 700px) {
  .vertical-stage {
    width: min(100vw, 520px);
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.46);
  }

  .video-layer {
    left: 50%;
    width: min(100vw, 520px);
    transform: translateX(-50%);
  }

  .page-section {
    padding-right: 34px;
    padding-left: 34px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-item {
    filter: none;
    transform: none;
  }
}

/* Ajuste de composição: preserva a pessoa à esquerda e concentra o conteúdo no topo direito */
@media (max-width: 767px) {
  .page-section {
    align-items: flex-start;
    padding-top: calc(var(--safe-top) + 104px);
    padding-right: 34px;
    padding-bottom: calc(var(--safe-bottom) + 34px);
    padding-left: 46%;
  }

  .section-content,
  .section-content--top-right,
  .section-content--center-right,
  .section-content--contact {
    align-self: flex-start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: clamp(18px, 5vh, 46px);
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: clamp(0.58rem, 2.15vw, 0.7rem);
    line-height: 1.35;
  }

  h1,
  h2 {
    max-width: 100%;
    letter-spacing: -0.045em;
    text-wrap: pretty;
  }

  h1 {
    font-size: clamp(1.65rem, 7.1vw, 2.45rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.55rem, 6.7vw, 2.25rem);
    line-height: 1.03;
  }

  .lead {
    margin-top: 14px;
    font-size: clamp(0.82rem, 3.25vw, 1rem);
    line-height: 1.48;
  }

  .support-text {
    margin-top: 10px;
    font-size: clamp(0.73rem, 2.8vw, 0.88rem);
    line-height: 1.45;
  }

  .actions {
    margin-top: 18px;
  }

  .button {
    min-height: 44px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 0.82rem;
  }

  .indicator-list,
  .process-flow {
    font-size: 0.76rem;
  }

  .progress {
    right: max(8px, env(safe-area-inset-right));
  }

}

/* Em celulares muito estreitos, mantém a composição sem esmagar o texto */
@media (max-width: 390px) {
  .page-section {
    padding-right: 28px;
    padding-left: 43%;
  }

  h1 {
    font-size: clamp(1.48rem, 7vw, 1.9rem);
  }

  h2 {
    font-size: clamp(1.42rem, 6.7vw, 1.82rem);
  }

  .lead {
    font-size: 0.78rem;
  }

  .support-text {
    font-size: 0.7rem;
  }
}

@media (min-width: 768px) {
  .page-section {
    padding-right: 34px;
    padding-left: 48%;
  }

  .section-content {
    width: 100%;
    max-width: 250px;
  }

  .section-content--top-right,
  .section-content--center-right,
  .section-content--contact {
    align-self: flex-start;
    padding-top: clamp(74px, 12vh, 130px);
  }

  h1 {
    font-size: clamp(2rem, 4.7vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.85rem, 4.3vw, 2.55rem);
  }
}

/* Área segura do vídeo: todo o conteúdo editorial fica no topo e no lado direito. */
.brand-bar {
  padding-left: calc(var(--stage-width) * 0.52);
  padding-right: 18px;
}

.brand {
  width: 100%;
  justify-content: flex-start;
}

.page-section {
  align-items: flex-start;
  padding-top: calc(var(--safe-top) + 118px);
  padding-right: 18px;
  padding-left: 0;
}

.section-content,
.section-content--top-right,
.section-content--center-right,
.section-content--contact {
  align-self: flex-start;
  width: 45%;
  max-width: none;
  margin: 0 0 0 52%;
  padding-top: 0;
}

h1,
h2 {
  max-width: 100%;
  font-size: clamp(1.55rem, 6.2vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.lead {
  margin-top: 14px;
  font-size: clamp(0.78rem, 2.8vw, 0.98rem);
  line-height: 1.42;
}

.support-text {
  margin-top: 10px;
  font-size: clamp(0.7rem, 2.35vw, 0.84rem);
  line-height: 1.4;
}

.eyebrow {
  margin-bottom: 10px;
  font-size: clamp(0.56rem, 1.9vw, 0.68rem);
  line-height: 1.35;
}

.actions {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 16px;
}

.button {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 0.78rem;
  text-align: center;
}

.indicator-list,
.process-flow {
  margin-top: 14px;
}

.progress {
  right: 8px;
}

@media (max-width: 390px) {
  .brand-bar {
    padding-left: 50%;
  }

  .page-section {
    padding-top: calc(var(--safe-top) + 104px);
    padding-right: 14px;
  }

  .section-content,
  .section-content--top-right,
  .section-content--center-right,
  .section-content--contact {
    width: 47%;
    margin-left: 50%;
  }

  h1,
  h2 {
    font-size: clamp(1.32rem, 6.7vw, 1.75rem);
  }

  .lead {
    font-size: 0.72rem;
  }

  .support-text {
    font-size: 0.66rem;
  }
}

@media (min-width: 700px) {
  .brand-bar {
    padding-left: calc(var(--stage-width) * 0.54);
  }

  .page-section {
    padding-top: calc(var(--safe-top) + 150px);
    padding-right: 24px;
  }

  .section-content,
  .section-content--top-right,
  .section-content--center-right,
  .section-content--contact {
    width: 42%;
    margin-left: 55%;
  }

  h1,
  h2 {
    font-size: clamp(1.8rem, 2.7vw, 2.35rem);
  }

  .lead {
    font-size: 0.92rem;
  }
}

/* Ajustes finais de composição e legibilidade */
.brand-bar {
  padding-left: 22px;
  padding-right: 22px;
}

.brand {
  width: auto;
}

.lead strong,
.support-text strong {
  color: var(--text);
  font-weight: 700;
}

/* Etapas em formato de lista compacta: evita cards espremidos na área direita */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.process-flow li {
  min-height: 0;
  align-items: center;
  padding: 10px 12px 10px 30px;
  border-radius: 12px;
  font-size: 0.76rem;
  line-height: 1.2;
}

.process-flow li::before {
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

@media (max-width: 390px) {
  .brand-bar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .process-flow {
    grid-template-columns: none;
  }

  .process-flow li:nth-child(4),
  .process-flow li:nth-child(5) {
    min-height: 0;
  }
}

@media (min-width: 700px) {
  .brand-bar {
    padding-left: 22px;
    padding-right: 22px;
  }
}
