/* ============================================================
   LAIR — Marketing e Tecnologia
   Folha de estilos principal
   Paleta:
     Gradiente primário: #67F600 → #00E7FF (45°)
     Verde LAIR:  #67F600
     Ciano LAIR:  #00DFFF
     Fundo base:  #101820
     Branco:      #FFFFFF
     Cinza texto: #AAB3BD
   Tipografia: Space Grotesk
============================================================ */

/* ------------------------------------------------------------
   Fonte hospedada no próprio servidor
------------------------------------------------------------ */
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------
   Reset e variáveis
------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #67F600;
  --cyan: #00DFFF;
  --cyan-grad: #00E7FF;
  --dark: #101820;
  --dark-2: #0B1118;
  --dark-3: #16212C;
  --white: #FFFFFF;
  --gray: #AAB3BD;

  --grad: linear-gradient(45deg, var(--green), var(--cyan-grad));

  --font: 'Space Grotesk', system-ui, sans-serif;

  /* Escala tipográfica fluida (mobile → desktop) */
  --fs-h1: clamp(2.5rem, 6.5vw, 4.5rem);      /* 40 → 72 */
  --fs-h2: clamp(1.9rem, 4.2vw, 3rem);        /* 30 → 48 */
  --fs-h3: clamp(1.5rem, 3vw, 2.25rem);       /* 24 → 36 */
  --fs-title: clamp(1.25rem, 2vw, 1.5rem);    /* 20 → 24 */
  --fs-body: clamp(1rem, 1.4vw, 1.125rem);    /* 16 → 18 */
  --fs-small: 0.875rem;                       /* 14 */

  --radius: 20px;
  --container: 1200px;
  --nav-h: 76px;
}

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--white);
  background: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ------------------------------------------------------------
   Utilitários de seção
------------------------------------------------------------ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.1rem;
}

.section-eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--grad);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

/* Palavras/linhas geradas pela tipografia cinética */
.kinetic-word,
.kinetic-line {
  display: inline-block;
  will-change: transform, opacity;
}

/* ------------------------------------------------------------
   Botões
------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

/* Primário: preenchimento com gradiente */
.btn--primary {
  background: var(--grad);
  color: var(--dark);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px -8px rgba(103, 246, 0, 0.45), 0 6px 24px -6px rgba(0, 231, 255, 0.4);
}

/* Secundário: borda em gradiente, fundo transparente */
.btn--secondary {
  background: transparent;
  color: var(--white);
}

.btn--secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px -10px rgba(0, 231, 255, 0.35);
}

/* Fantasma: sem preenchimento, hover sutil */
.btn--ghost {
  background: transparent;
  color: var(--gray);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.btn--lg {
  padding: 1.15rem 2rem;
  font-size: 1.05rem;
}

.btn--xl {
  padding: 1.3rem 2.4rem;
  font-size: 1.15rem;
}

/* ------------------------------------------------------------
   Grain cinematográfico (constante e sutil)
------------------------------------------------------------ */
.grain {
  position: fixed;
  inset: -100%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-2%, -2%); }
  100% { transform: translate(3%, 3%); }
}

/* ------------------------------------------------------------
   Preloader
------------------------------------------------------------ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--dark-2);
  display: grid;
  place-content: center;
  gap: 1.6rem;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo img {
  display: block;
  width: min(360px, 64vw);
  height: auto;
  /* Revela da esquerda para a direita, como se a linha fosse desenhada. */
  clip-path: inset(0 100% 0 0);
  animation: preloader-in 0.9s 0.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes preloader-in {
  to { clip-path: inset(0 0 0 0); }
}

.preloader__bar {
  width: min(240px, 60vw);
  height: 2px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  animation: preloader-bar 1.1s 0.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes preloader-bar {
  to { width: 100%; }
}

/* ------------------------------------------------------------
   Navegação
------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-scrolled {
  background: rgba(16, 24, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  /* flex-start impede que o logo seja esticado até a largura da coluna */
  align-items: flex-start;
  line-height: 1;
}

.nav__logo-mark {
  display: block;
  width: auto;
  /* O lockup completo é mais baixo em proporção; ocupa a altura que a
     barra permite para a assinatura não sumir de vez. */
  height: 3rem;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.95rem;
  color: var(--gray);
  position: relative;
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav__burger.is-open span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav__burger.is-open span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 17, 24, 0.97);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.mobile-menu__links a {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.is-open .mobile-menu__links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: 0.26s; }

/* ------------------------------------------------------------
   Fallback de mídia (usado enquanto os vídeos não existem)
------------------------------------------------------------ */
.media-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 70% 20%, rgba(0, 231, 255, 0.10), transparent 60%),
    radial-gradient(50% 70% at 20% 80%, rgba(103, 246, 0, 0.10), transparent 60%),
    var(--dark-2);
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* O JS adiciona .video-missing ao contêiner quando o mp4 não carrega */
.video-missing .media-fallback {
  opacity: 1;
}

.video-missing video {
  opacity: 0;
}

.media-fallback__glow {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
}

.media-fallback__glow--green {
  background: var(--green);
  top: -20%;
  left: -12%;
  animation: drift-a 16s ease-in-out infinite alternate;
}

.media-fallback__glow--cyan {
  background: var(--cyan);
  bottom: -25%;
  right: -10%;
  animation: drift-b 19s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to { transform: translate(10%, 14%) scale(1.15); }
}

@keyframes drift-b {
  to { transform: translate(-12%, -10%) scale(1.08); }
}

.media-fallback__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.media-fallback__net line {
  stroke: rgba(170, 179, 189, 0.14);
  stroke-width: 1;
}

.media-fallback__net circle {
  fill: rgba(0, 231, 255, 0.5);
}

/* ------------------------------------------------------------
   1. HERO
------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.55) 0%, rgba(16, 24, 32, 0.35) 40%, rgba(16, 24, 32, 0.92) 100%),
    radial-gradient(80% 60% at 50% 40%, transparent, rgba(16, 24, 32, 0.55));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 6rem;
}

.hero__eyebrow {
  font-size: var(--fs-small);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.4rem;
}

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 13ch;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.hero__sub {
  margin-top: 1.6rem;
  max-width: 46ch;
  color: var(--gray);
  font-size: var(--fs-title);
  font-weight: 400;
  line-height: 1.45;
}

.hero__actions {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.hero__scroll-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
}

.hero__scroll-line {
  width: 1.5px;
  height: 52px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--grad);
  animation: scroll-hint 1.9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scroll-hint {
  0%   { top: -50%; }
  100% { top: 110%; }
}

/* ------------------------------------------------------------
   2. FAIXA DE ESTATÍSTICAS
------------------------------------------------------------ */
.stats {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: clamp(3rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.stats__grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.stats__item {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 150px;
}

.stats__number {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
}

.stats__plus {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 0.1em;
}

.stats__label {
  color: var(--gray);
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 22ch;
}

.stats__divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(103, 246, 0, 0.5), rgba(0, 231, 255, 0.5), transparent);
  opacity: 0.5;
}

/* ------------------------------------------------------------
   3. MISSÃO
------------------------------------------------------------ */
.mission {
  position: relative;
  padding: clamp(7rem, 16vw, 12rem) 0;
  text-align: center;
  overflow: hidden;
}

.mission__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 45% at 50% 55%, rgba(0, 231, 255, 0.07), transparent 70%),
    radial-gradient(40% 40% at 42% 45%, rgba(103, 246, 0, 0.06), transparent 70%);
  pointer-events: none;
}

.mission__eyebrow {
  font-size: var(--fs-small);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2.2rem;
}

.mission__text {
  position: relative;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 26ch;
  margin-inline: auto;
}

/* Palavras da missão: o JS controla a opacidade via ScrollTrigger */
.mission__text .kinetic-word {
  opacity: 0.14;
  transition: none;
}

/* ------------------------------------------------------------
   4. PILARES
------------------------------------------------------------ */
.pillars {
  padding: clamp(5rem, 11vw, 9rem) 0;
  background: var(--dark);
  position: relative;
}

.pillars__grid {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.pillar-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease, box-shadow 0.45s ease;
  will-change: transform;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 231, 255, 0.35);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7), 0 0 44px -18px rgba(0, 231, 255, 0.35);
}

.pillar-card__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1.6rem;
}

.pillar-card__icon svg {
  width: 100%;
  height: 100%;
}

.pillar-card__index {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(170, 179, 189, 0.5);
}

.pillar-card__title {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.pillar-card__desc {
  color: var(--gray);
  font-size: var(--fs-body);
}

.pillar-card__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar-card:hover .pillar-card__line {
  transform: scaleX(1);
}

/* ------------------------------------------------------------
   5. MÉTODO LAIR
------------------------------------------------------------ */
.metodo {
  position: relative;
  background: var(--dark-2);
  overflow: hidden;
}

.metodo__media {
  position: absolute;
  inset: 0;
}

.metodo__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.metodo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--dark) 0%, rgba(16, 24, 32, 0.72) 18%, rgba(16, 24, 32, 0.72) 82%, var(--dark) 100%);
}

.metodo__pin {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 9vw, 6rem) 0;
}

.metodo__head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.metodo__head .section-eyebrow {
  justify-content: center;
}

.metodo__head .section-title {
  margin-inline: auto;
}

.metodo__stage {
  position: relative;
  width: min(100% - 2.5rem, 900px);
  margin-inline: auto;
  min-height: clamp(300px, 46vh, 420px);
}

.metodo__step {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 3.4rem);
  opacity: 0;
  visibility: hidden;
}

.metodo__letter {
  font-size: clamp(7rem, 24vw, 17rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(0, 231, 255, 0.25));
  will-change: transform, opacity;
}

.metodo__info {
  max-width: 34ch;
}

.metodo__name {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}

.metodo__desc {
  color: var(--gray);
  font-size: var(--fs-title);
  line-height: 1.45;
}

.metodo__progress {
  position: absolute;
  left: 50%;
  bottom: -1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.7rem;
}

.metodo__progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.metodo__progress-dot.is-active {
  background: var(--green);
  transform: scale(1.25);
  box-shadow: 0 0 14px rgba(103, 246, 0, 0.7);
}

/* Fallback sem pin (mobile / prefer-reduced-motion): passos empilhados */
.metodo.is-static .metodo__pin {
  min-height: 0;
}

.metodo.is-static .metodo__stage {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.metodo.is-static .metodo__step {
  position: static;
  opacity: 1;
  visibility: visible;
  justify-content: flex-start;
  text-align: left;
}

.metodo.is-static .metodo__letter {
  font-size: clamp(4.5rem, 18vw, 7rem);
}

.metodo.is-static .metodo__progress {
  display: none;
}

/* ------------------------------------------------------------
   6. HISTÓRIA / LIDERANÇA
------------------------------------------------------------ */
.story {
  padding: clamp(5rem, 11vw, 9rem) 0;
  background: var(--dark);
  overflow: hidden;
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.story__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.story__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  /* Um pouco acima do centro: o corte de 112% não pode comer o rosto. */
  object-position: 50% 38%;
  will-change: transform;
}

.story__media-frame {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  background: linear-gradient(200deg, rgba(0, 231, 255, 0.14), transparent 34%, transparent 68%, rgba(103, 246, 0, 0.14));
  mix-blend-mode: screen;
}

.story__text {
  margin-top: 1.6rem;
  color: var(--gray);
  font-size: var(--fs-body);
  line-height: 1.7;
  max-width: 58ch;
}

/* ------------------------------------------------------------
   7. RESULTADO (Cena 3)
------------------------------------------------------------ */
.result {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.result__media {
  position: absolute;
  inset: 0;
}

.result__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}

.result__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--dark) 0%, rgba(16, 24, 32, 0.25) 35%, rgba(16, 24, 32, 0.94) 100%);
}

.result__content {
  position: relative;
  z-index: 1;
  padding-top: 30svh;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.result__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 16ch;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.result__text {
  margin-top: 1.4rem;
  color: var(--gray);
  max-width: 52ch;
  font-size: var(--fs-title);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   8. CTA FINAL
------------------------------------------------------------ */
.cta {
  position: relative;
  padding: clamp(8rem, 18vw, 13rem) 0;
  text-align: center;
  background: var(--dark-2);
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 55% at 50% 68%, rgba(103, 246, 0, 0.10), transparent 70%),
    radial-gradient(50% 60% at 55% 40%, rgba(0, 231, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.cta__content {
  position: relative;
}

.cta__title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 15ch;
  margin-inline: auto;
}

.cta__sub {
  margin-top: 1.4rem;
  color: var(--gray);
  font-size: var(--fs-title);
}

.cta .btn--xl {
  margin-top: 2.8rem;
}

/* ------------------------------------------------------------
   9. RODAPÉ
------------------------------------------------------------ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: clamp(3rem, 7vw, 5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.footer__logo {
  display: block;
  width: min(210px, 60%);
  height: auto;
}

.footer__tag {
  margin-top: 0.9rem;
  color: var(--gray);
  font-size: var(--fs-small);
  max-width: 30ch;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer__nav a {
  color: var(--gray);
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer__nav a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer__social {
  display: flex;
  gap: 0.9rem;
}

.footer__social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gray);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.footer__social a svg {
  width: 19px;
  height: 19px;
}

.footer__social a:hover {
  color: var(--white);
  border-color: rgba(0, 231, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -10px rgba(0, 231, 255, 0.5);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.6rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(170, 179, 189, 0.7);
  font-size: 0.8rem;
}

/* ------------------------------------------------------------
   Botão WhatsApp fixo (mobile)
------------------------------------------------------------ */
.wa-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 950;
  width: 56px;
  height: 56px;
  display: none;
  place-content: center;
  border-radius: 50%;
  background: var(--grad);
  color: var(--dark);
  box-shadow: 0 10px 30px -8px rgba(103, 246, 0, 0.55);
  transition: transform 0.3s ease;
}

.wa-fab:active {
  transform: scale(0.92);
}

/* ------------------------------------------------------------
   Responsivo
------------------------------------------------------------ */
@media (max-width: 960px) {
  .pillars__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
    margin-top: 2.5rem;
  }

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

  .story__media {
    max-width: 440px;
    margin-inline: auto;
  }

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

@media (max-width: 760px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .wa-fab {
    display: grid;
  }

  .metodo__step {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .metodo.is-static .metodo__step {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.9rem;
  }

  .stats__divider {
    display: none;
  }

  .stats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* ------------------------------------------------------------
   Acessibilidade: movimento reduzido
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .grain {
    animation: none;
  }

  .mission__text .kinetic-word {
    opacity: 1;
  }

  /* Sem a varredura, o logo precisa nascer inteiro. */
  .preloader__logo img {
    clip-path: none;
  }
}
