/* =========================================================
   Milennials Group — Hero Section
   Premium / luxury tech aesthetic
   ========================================================= */

:root {
  --bg:           #080808;
  --bg-soft:      #0e0e0d;
  --ink:          #ffffff;
  --ink-dim:      #8a8a85;
  --cream:        #f4f1e4;
  --gold:         #ffd400;
  --gold-deep:    #f5b800;
  --gold-soft:    rgba(255, 212, 0, .14);

  --maxw: 1320px;
  --pad-x: clamp(1.4rem, 4vw, 4.5rem);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Archivo", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* =========================================================
   Camadas de luz / profundidade
   ========================================================= */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* isola os blend-modes neste contexto: o navegador não precisa
     recompor a tela inteira contra o conteúdo que rola por baixo */
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: strict;
}

/* glow radial principal — atrás do conteúdo.
   O gradiente radial já tem borda suave, então dispensamos blur e
   mix-blend-mode (caros de compor). Estático = quase custo zero. */
.glow {
  position: absolute;
  border-radius: 50%;
}

.glow--core {
  width: 60vw;
  height: 60vw;
  top: 8%;
  right: 6%;
  background: radial-gradient(circle at center,
    rgba(255, 212, 0, .55) 0%,
    rgba(255, 170, 0, .22) 35%,
    transparent 68%);
  opacity: .9;
}

.glow--warm {
  width: 38vw;
  height: 38vw;
  top: 38%;
  right: 22%;
  background: radial-gradient(circle at center,
    rgba(255, 140, 20, .35) 0%,
    transparent 65%);
  opacity: .7;
}

.glow--cool {
  width: 42vw;
  height: 42vw;
  bottom: -12%;
  left: -10%;
  background: radial-gradient(circle at center,
    rgba(40, 60, 120, .28) 0%,
    transparent 66%);
  opacity: .55;
}

/* grão sutil de filme para acabamento cinematográfico */
.grain {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  opacity: .04;
  mix-blend-mode: overlay;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Imagem dos fundadores ancorada à direita */
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.hero__visual-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* gradiente que funde a foto no fundo preto (legibilidade do texto) */
.hero__visual-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(8,8,8,.55) 22%, transparent 55%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.4rem) var(--pad-x);
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}

.logo__img {
  height: clamp(28px, 3vw, 40px);
  width: auto;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,.4));
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  padding: .5rem .5rem .5rem 1.6rem;
  border-radius: 100px;
  background: rgba(20, 20, 18, .55);
  border: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 18px 50px -22px rgba(0,0,0,.8);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.9rem);
}

.nav__list a {
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  transition: color .35s var(--ease);
  position: relative;
}

.nav__list a:hover { color: #fff; }

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .4s var(--ease);
}
.nav__list a:hover::after { width: 100%; }

/* =========================================================
   Botões
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  border: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .35s var(--ease);
}

.btn--ghost {
  padding: .85rem 1.5rem;
  font-size: .82rem;
  border-radius: 100px;
  color: #1a1a1a;
  background: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(255, 212, 0, .55);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(255, 212, 0, .7);
}

.btn--primary {
  padding: 1.15rem 2rem;
  font-size: .95rem;
  border-radius: 14px;
  color: #141414;
  background: linear-gradient(180deg, #ffdd2e 0%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.18) inset,
    0 18px 40px -14px rgba(255, 212, 0, .55);
}
.btn--primary svg { transition: transform .4s var(--ease); }
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.25) inset,
    0 26px 55px -16px rgba(255, 212, 0, .7);
}
.btn--primary:hover svg { transform: translateX(4px); }

/* =========================================================
   Conteúdo
   ========================================================= */
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(3rem, 6vh, 5rem);
}

.hero__content {
  max-width: 640px;
}

/* badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .9rem .4rem .4rem;
  border-radius: 100px;
  background: rgba(20,20,18,.6);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.8rem;
}

.badge__pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .7rem;
  font-size: .82rem;
  font-weight: 800;
  color: #1a1a1a;
  background: var(--gold);
  border-radius: 100px;
}
.badge__pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #141414;
  box-shadow: 0 0 0 0 rgba(20,20,20,.5);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20,20,20,.5); }
  70% { box-shadow: 0 0 0 7px rgba(20,20,20,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,20,20,0); }
}

.badge__label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: .01em;
}

/* título */
.hero__title {
  font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,.55);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 38px rgba(255, 212, 0, .45);
}

/* palavra que alterna (fábrica / distribuidora / indústria) */
.rotator {
  display: inline-block;
  box-sizing: content-box;       /* width via JS = só o texto; padding por fora */
  text-align: left;
  white-space: nowrap;
  padding: .06em .34em;
  margin-left: -.34em;           /* compensa o padding p/ alinhar à esquerda */
  border-radius: .14em;
  background: rgba(8, 8, 7, .72);
  transition: opacity .32s var(--ease), transform .32s var(--ease), width .42s var(--ease);
}
.rotator.is-swapping {
  opacity: 0;
  transform: translateY(-.22em);
}

/* texto de apoio */
.hero__support {
  margin: 1.8rem 0 2.2rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  color: var(--ink-dim);
  letter-spacing: .005em;
}

/* =========================================================
   Menu mobile (toggle)
   ========================================================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(20,20,18,.55);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}

/* =========================================================
   Responsivo — Tablet
   ========================================================= */
@media (max-width: 980px) {
  .hero__visual-mask { width: 78%; }
  .hero__visual-mask::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(8,8,8,.7) 30%, rgba(8,8,8,.2) 62%, transparent 80%),
      linear-gradient(0deg, var(--bg) 2%, transparent 38%);
  }

  .nav { padding: .4rem; gap: 0; background: transparent; border: none; box-shadow: none; backdrop-filter: none; }
  .nav-toggle { display: flex; }

  /* lista some por padrão; abre como painel ao tocar no hamburguer */
  .nav__list {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: var(--pad-x);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 220px;
    padding: .6rem;
    border-radius: 18px;
    background: rgba(18, 18, 16, .92);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .85);
    z-index: 5;
  }
  body.is-menu-open .nav__list {
    display: flex;
    animation: nav-drop .28s var(--ease) both;
  }
  .nav__list li { width: 100%; }
  .nav__list a {
    display: block;
    width: 100%;
    padding: .85rem 1rem;
    border-radius: 12px;
    font-size: .95rem;
  }
  .nav__list a:hover { background: rgba(255, 255, 255, .06); }
  .nav__list a::after { display: none; }

  /* hamburguer vira "X" quando aberto */
  .nav-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle.is-open span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

  .hero__content { max-width: 560px; }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Responsivo — Mobile
   ========================================================= */
@media (max-width: 680px) {
  :root { --pad-x: 1.4rem; }

  .hero {
    justify-content: flex-end;
  }

  /* foto vai para o topo, conteúdo abaixo (empilhado) */
  .hero__visual-mask {
    width: 100%;
    height: 62%;
  }
  /* enquadramento dos fundadores: leve viés à direita para incluir
     o segundo fundador que ficava cortado na borda */
  .hero__video { object-position: 100% 26%; }
  .hero__visual-mask::after {
    background:
      linear-gradient(180deg, transparent 0%, rgba(8,8,8,.35) 48%, var(--bg) 88%),
      linear-gradient(90deg, rgba(8,8,8,.35) 0%, transparent 60%);
  }

  .glow--core { top: -4%; right: -10%; width: 90vw; height: 90vw; }

  .hero__inner {
    align-items: flex-end;
    padding-bottom: clamp(2.5rem, 8vh, 4rem);
  }

  .hero__content { max-width: 100%; }

  .badge { margin-bottom: 1.3rem; }

  /* tamanho calibrado p/ "distribuidora" caber sem ser clipada
     pelo overflow:hidden da .line. Pill também fica mais discreto. */
  .hero__title { font-size: clamp(1.9rem, 9.8vw, 3rem); }
  .rotator { padding: .04em .24em; margin-left: -.24em; }

  .hero__support { margin: 1.2rem 0 1.8rem; }

  .btn--primary { width: 100%; justify-content: center; padding: 1.1rem; }

  .nav__cta {
    padding: .55rem .95rem;
    font-size: .68rem;
    letter-spacing: .02em;
    white-space: nowrap; /* impede o "FAZER COTAÇÃO" de quebrar em 2 linhas */
  }
}

/* =========================================================
   Marquee de empresas — barra infinita
   ========================================================= */
.brands {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vh, 4.5rem) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0b0b0a 100%);
}

/* fio de luz sutil no topo da seção */
.brands::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(80%, 900px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent, rgba(255, 212, 0, .35), transparent);
}

.brands__label {
  text-align: center;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: clamp(1.6rem, 4vh, 2.6rem);
}

.marquee {
  overflow: hidden;
  /* respiro vertical p/ o logo não cortar ao subir no hover */
  padding: 14px 0;
  /* fade nas bordas — dá o acabamento premium */
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group {
  display: flex;
  align-items: center;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* cada logo direto no fundo, em monocromático (branco) */
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 clamp(1.4rem, 3vw, 3rem);
  height: clamp(48px, 6vw, 64px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.brand__logo {
  height: 100%;
  width: clamp(120px, 14vw, 170px);
  object-fit: contain;
  object-position: center;
  /* preto e branco */
  filter: grayscale(100%);
  opacity: .7;
  transition: filter .5s var(--ease), opacity .5s var(--ease);
  -webkit-user-drag: none;
  user-select: none;
}

/* hover: destaca o logo (atenua os demais) e revela a cor original */
.marquee:hover .brand { opacity: .45; }
.brand:hover {
  opacity: 1;
  transform: translateY(-4px);
}
.brand:hover .brand__logo {
  filter: none;
  opacity: 1;
}

@media (max-width: 680px) {
  .brand { height: 42px; margin: 0 1.1rem; }
  .brand__logo { width: 112px; }
  .marquee__track { animation-duration: 28s; }
}

/* =========================================================
   Squads — cabeçalho + card de squad
   ========================================================= */
.squads {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 7rem) var(--pad-x) clamp(4rem, 10vh, 8rem);
}

/* --- cabeçalho centralizado --- */
.squads__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.squads__title {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #9b9b93 0%, #565651 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.squads__pill {
  display: inline-flex;
  align-items: center;
  margin: clamp(.6rem, 1.8vh, 1.1rem) 0 clamp(1rem, 2.4vh, 1.4rem);
  padding: .55rem 1.4rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .02);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .82);
}

.squads__sub {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 400;
  color: var(--ink-dim);
}
.squads__sub strong { color: var(--gold); font-weight: 700; }

/* --- card --- */
.squad-card {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 2.4vw, 30px);
  background:
    radial-gradient(120% 140% at 88% 50%, rgba(255, 200, 0, .10) 0%, transparent 46%),
    linear-gradient(180deg, #121210 0%, #0a0a09 100%);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .04) inset,
    0 40px 90px -40px rgba(0, 0, 0, .9);
  isolation: isolate;
}

/* vídeo do dardo — ocupa o card inteiro, fundido no fundo */
.squad-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.squad-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
/* fade da esquerda para fundir a foto no card (legibilidade do texto) */
.squad-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #0c0c0a 0%, rgba(12, 12, 10, .65) 26%, transparent 62%);
}

.squad-card__body {
  position: relative;
  z-index: 1;
  max-width: 54%;
  padding: clamp(2rem, 4vw, 3.6rem) clamp(1.6rem, 3.4vw, 3.4rem);
}

.squad-card__brand {
  height: clamp(30px, 3.4vw, 46px);
  width: auto;
  margin-bottom: clamp(1.2rem, 2.6vh, 1.8rem);
}

.squad-card__title {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
}
.squad-card__title em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 38px rgba(255, 212, 0, .35);
}

.squad-card__text {
  margin: clamp(1.1rem, 2.4vh, 1.6rem) 0 clamp(1.4rem, 3vh, 2rem);
  font-size: clamp(.98rem, 1.3vw, 1.12rem);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 36ch;
}

/* chips */
.squad-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: clamp(1.5rem, 3.4vh, 2.2rem);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 212, 0, .35);
  background: rgba(255, 212, 0, .04);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.chip:hover {
  background: rgba(255, 212, 0, .12);
  transform: translateY(-2px);
}
.chip svg { flex: none; }

/* CTA */
.squad-card__cta {
  padding: 1rem 1.7rem;
  font-size: .9rem;
  border-radius: 12px;
  color: #141414;
  background: linear-gradient(180deg, #ffdd2e 0%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .18) inset,
    0 16px 38px -14px rgba(255, 212, 0, .55);
}
.squad-card__cta svg { transition: transform .4s var(--ease); }
.squad-card__cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .25) inset,
    0 24px 52px -16px rgba(255, 212, 0, .7);
}
.squad-card__cta:hover svg { transform: translateX(5px); }

/* =========================================================
   Cases — cabeçalho de depoimentos
   ========================================================= */
.cases {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 7rem) var(--pad-x);
  text-align: center;
}

.cases__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1rem, 2.6vh, 1.6rem);
}

.cases__title {
  font-size: clamp(2rem, 6vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}
.cases__title em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 38px rgba(255, 212, 0, .35);
}

.cases__sub {
  margin-top: clamp(1.1rem, 2.8vh, 1.7rem);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--ink-dim);
}

/* depoimento em vídeo vertical (Vimeo) */
.cases__video {
  max-width: 360px;
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
}
.cases__video > div {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .04) inset,
    0 40px 90px -40px rgba(0, 0, 0, .9);
}

/* Overlay "clique para ouvir" sobre o vídeo dos cases */
.video-unmute {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .35s var(--ease);
}
.video-unmute.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.video-unmute__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(.9rem, 3vw, 1.35rem);
  width: 100%;
  padding: clamp(1.4rem, 6vw, 2.2rem) clamp(1.2rem, 5vw, 2rem);
  border-radius: 20px;
  background: #ef5a25;
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
}
.video-unmute__title,
.video-unmute__cta {
  font-weight: 800;
  font-size: clamp(1.05rem, 5vw, 1.4rem);
  letter-spacing: -.01em;
  line-height: 1.15;
}
.video-unmute__icon {
  width: clamp(38px, 12vw, 50px);
  height: auto;
}
.video-unmute:hover .video-unmute__card {
  background: #f0633060;
  background: #f16631;
}

/* =========================================================
   Como funciona — proposta de valor
   ========================================================= */
.como {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 7rem) var(--pad-x);
  text-align: center;
}

.como__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1rem, 2.6vh, 1.6rem);
}

.como__title {
  margin: 0 auto;
  font-size: clamp(2rem, 6vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}
.como__title em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 38px rgba(255, 212, 0, .35);
}

.como__sub {
  margin-top: clamp(1.2rem, 3vh, 1.9rem);
  font-size: clamp(.98rem, 1.5vw, 1.18rem);
  color: var(--ink-dim);
}

/* entrada por scroll (revelado via JS) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --- responsivo --- */
@media (max-width: 860px) {
  .squad-card__media::after {
    background: linear-gradient(90deg,
      #0c0c0a 0%, rgba(12, 12, 10, .82) 34%, rgba(12, 12, 10, .25) 66%, transparent 84%);
  }
  .squad-card__body { max-width: 70%; }
}

@media (max-width: 600px) {
  /* vídeo ocupa a faixa direita da tela, texto à esquerda
     (mesmo padrão do tablet, ajustado para a largura do mobile) */
  .squad-card__media { width: 100%; opacity: 1; }
  .squad-card__media::after {
    background: linear-gradient(90deg,
      #0c0c0a 0%,
      rgba(12, 12, 10, .88) 38%,
      rgba(12, 12, 10, .35) 70%,
      transparent 92%);
  }
  .squad-card__body { max-width: 62%; }
  .squad-card__cta { width: 100%; justify-content: center; }
  /* canto menos arredondado para o personagem à direita
     não ser clipado pela curva */
  .squad-card { border-radius: 12px; }
}

/* =========================================================
   Einsatzgebiete (sec-4) — portado de /teste
   Lá o root é font-size:1vw, então 1rem = 1vw → converti rem→vw.
   ========================================================= */
.sec-4 {
  position: relative;
  z-index: 1;
  background: #141414;
}
.sec-4 picture { display: block; }

.sec-4-scroll-wrap {
  height: 350vh;
}
.sec-4-scroll-wrap .sec-4-inner {
  height: 100vh;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 0;
}

.sec-4-scroll-wrap .sec-4-inner .title-ct {
  position: absolute;
  width: 100%;
  height: calc(100vh - 27.32vw - 9.84vw);
  top: 0;
  left: 0;
  padding-block: 27.32vw 9.84vw;
}
@media (min-width: 759px) {
  .sec-4-scroll-wrap .sec-4-inner .title-ct {
    height: calc(100vh - 2.92vw);
    padding-block: 1.46vw;
  }
}

.sec-4-scroll-wrap .sec-4-inner .title-ct .einsatzgebiete-title {
  text-align: center;
  font-size: 9.02vw;
  position: sticky;
  width: max-content;
  top: 90%;
  z-index: 1;
  transform-origin: center;
  margin-inline: auto;
  line-height: 1em;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 60px rgba(255, 212, 0, .35);
}
@media (min-width: 759px) {
  .sec-4-scroll-wrap .sec-4-inner .title-ct .einsatzgebiete-title {
    font-size: 7.97vw;
    top: 80%;
  }
}

.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper {
  display: flex;
  height: 100vh;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
  position: relative;
  gap: 50vw;
  overflow: hidden;
}
@media (min-width: 759px) {
  .sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper { gap: 1vw; }
}

.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper svg.motionPath {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250%;
}
@media (min-width: 759px) {
  .sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper svg.motionPath { top: 75%; }
}

.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet {
  transform: rotate(180deg);
  height: 91.53vw;
  width: 68.6vw;
  display: flex;
  flex-flow: column;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
/* vídeo preenchendo o card no tamanho exato (cover, sem barras laterais) */
.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.06);  /* overscan p/ matar qualquer fio nas bordas */
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;   /* proporção do vídeo vertical (reels 1080×1920) */
  min-height: 100%;       /* garante cobrir a altura do card */
  border: 0;
  display: block;
}
@media (min-width: 759px) {
  .sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet {
    height: 27.24vw;
    width: 20.42vw;
  }
}

.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .top,
.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .bottom {
  padding: 8.2vw 5.46vw;
}
@media (min-width: 759px) {
  .sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .top,
  .sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .bottom {
    padding: 2.82vw 1.88vw;
  }
}

.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .top {
  height: 50%;
  background: linear-gradient(135deg, #ffdd2e 0%, var(--gold) 55%, var(--gold-deep) 100%);
  position: relative;
}
.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .top:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 60%);
  opacity: 0.5;
}
.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .top picture,
.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .top svg {
  z-index: 2;
  position: relative;
  width: 17.33vw;
  height: auto;
}
@media (min-width: 759px) {
  .sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .top picture,
  .sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .top svg {
    width: 5.21vw;
  }
}
.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .top picture img {
  width: 100%;
  height: auto;
}

.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .bottom {
  height: 50%;
  background-color: #161615;
  color: var(--cream);
  display: flex;
  align-items: flex-end;
  font-family: ivyora-display, Georgia, serif;
  font-size: 6.5vw;
}
@media (min-width: 759px) {
  .sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .bottom { font-size: 1.67vw; }
}
.sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .bottom .extra-info {
  display: block;
  color: #b3b3b3;
  font-size: 4.2vw;
}
@media (min-width: 759px) {
  .sec-4-scroll-wrap .sec-4-inner .gebiete-wrapper .gebiet .bottom .extra-info { font-size: 1.09vw; }
}

.sec-4-scroll-wrap .sec-4-inner .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.sec-4-scroll-wrap .sec-4-inner .bg:before,
.sec-4-scroll-wrap .sec-4-inner .bg:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 1;
}
.sec-4-scroll-wrap .sec-4-inner .bg:before {
  top: 0;
  background: linear-gradient(180deg, #141414 0%, rgba(20, 20, 20, 0) 100%);
}
.sec-4-scroll-wrap .sec-4-inner .bg:after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(20, 20, 20, 0.8) 0%, rgba(20, 20, 20, 0) 100%);
}
.sec-4-scroll-wrap .sec-4-inner .bg picture {
  height: 100%;
  width: 100%;
}
.sec-4-scroll-wrap .sec-4-inner .bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   Seção luz — feixes dourados pulsando / brilhando
   ========================================================= */
.glowsec {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90vh;
  padding: clamp(4rem, 12vh, 9rem) var(--pad-x);
  background: #000;
  /* confina a animação do brilho (blend + mask) a esta seção */
  isolation: isolate;
  contain: paint;
}

/* imagem dos feixes — estática e brilhante */
.glowsec__bg {
  position: absolute;
  inset: -4%;
  background: url("assets/79177514da954b2db038bcd1fcb4d3b9440f311c-2-scaled.webp") center bottom / cover no-repeat;
  filter: brightness(1.12) saturate(1.2) contrast(1.04);
}

/* brilho correndo NAS linhas amarelas, de cima p/ baixo:
   cópia clareada da imagem revelada por uma faixa que desce
   (o preto continua preto, só os feixes acendem) */
.glowsec__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: brightness(2.4) saturate(1.5);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
  -webkit-mask-size: 100% 55%;
  mask-size: 100% 55%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  will-change: -webkit-mask-position, mask-position;
  animation: line-flow 5s linear infinite;
}
@keyframes line-flow {
  0%   { -webkit-mask-position: 0 -70%; mask-position: 0 -70%; }
  100% { -webkit-mask-position: 0 170%; mask-position: 0 170%; }
}

/* bloom dourado estático por cima */
.glowsec::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 52% at 50% 72%, rgba(255, 212, 0, .28), transparent 70%);
  mix-blend-mode: screen;
  opacity: .6;
}

/* véu p/ legibilidade do texto e fusão com o fundo do site */
.glowsec__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(8, 8, 8, .5), rgba(8, 8, 8, .5)),
    radial-gradient(120% 95% at 50% 58%, transparent 0%, rgba(8, 8, 8, .5) 68%, rgba(8, 8, 8, .9) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 24%, transparent 76%, var(--bg) 100%);
}

.glowsec__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 7vh, 5.5rem);
  text-align: left;
}

/* cada linha: 2 colunas (foto + texto) */
.glowsec__row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
/* linha invertida: texto à esquerda, foto à direita */
.glowsec__row--reverse {
  grid-template-columns: 1fr 1.05fr;
}

/* foto da equipe — card arredondado com glow */
.glowsec__photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 30px 80px -30px rgba(0, 0, 0, .9),
    0 0 90px -20px rgba(255, 212, 0, .25);
}
.glowsec__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glowsec__title {
  font-size: clamp(2.2rem, 5vw, 52px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #b9b9b1 0%, #6f6f69 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glowsec__sub {
  margin-top: clamp(1.1rem, 2.8vh, 1.7rem);
  max-width: 42ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: rgba(244, 241, 228, .82);
}

/* frase de fecho — centralizada sobre os feixes */
.glowsec__quote {
  margin: clamp(1rem, 3vh, 2.5rem) auto 0;
  max-width: 22ch;
  text-align: center;
  font-size: clamp(1.7rem, 4.4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 34px rgba(0, 0, 0, .6);
}

@media (max-width: 820px) {
  .glowsec__row,
  .glowsec__row--reverse {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vh, 2.2rem);
  }
  .glowsec__text { text-align: center; }
  .glowsec__sub { margin-inline: auto; }
}

/* =========================================================
   Para quem é — fundo M dourado à direita
   ========================================================= */
.paraquem {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: clamp(3.5rem, 9vh, 7rem) 0;
  background: var(--bg);
}

/* imagem M ao fundo (já vem escura à esquerda, glow à direita) */
.paraquem__bg {
  position: absolute;
  inset: 0;
  background: url("assets/M.png") center right / cover no-repeat;
}
/* reforço de escuro à esquerda p/ legibilidade do texto */
.paraquem__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(8, 8, 8, .72) 30%, transparent 62%);
}

.paraquem__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.paraquem__content { max-width: 620px; }

.paraquem__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1rem, 2.4vh, 1.5rem);
}
.paraquem__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}
.paraquem__title em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 38px rgba(255, 212, 0, .35);
}
.paraquem__lead {
  margin: clamp(1.2rem, 2.6vh, 1.8rem) 0 clamp(1.3rem, 3vh, 1.9rem);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--ink-dim);
}

.paraquem__list {
  display: flex;
  flex-direction: column;
  gap: clamp(.7rem, 1.8vh, 1.05rem);
  margin-bottom: clamp(1.8rem, 4vh, 2.6rem);
}
.paraquem__list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--cream);
}
.paraquem__list svg { flex: none; }

@media (max-width: 760px) {
  .paraquem__bg::after {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(8, 8, 8, .82) 45%, rgba(8, 8, 8, .35) 80%);
  }
  .paraquem__cta { width: 100%; justify-content: center; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #121212;
  padding: clamp(1.8rem, 5vh, 3.5rem) var(--pad-x);
}
.footer__logo {
  width: auto;
  max-width: min(140px, 38vw);
  height: auto;
}

/* respeito a quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   Preloader cinematográfico — "Growth Engine"
   Overlay fullscreen + rede de partículas (canvas) + GSAP
   ========================================================= */
html.is-preloading,
html.is-preloading body {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  /* vinheta sutil para profundidade — afasta a estética de "espaço" */
  box-shadow: inset 0 0 38vw 8vw rgba(0, 0, 0, .9);
}

.preloader__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* glow discreto da marca atrás do logo (entra na cena 4) */
.preloader__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(60vw, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center,
    rgba(255, 212, 0, .22) 0%,
    rgba(255, 170, 0, .08) 38%,
    transparent 68%);
  filter: blur(18px);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.preloader__center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.preloader__logo {
  width: clamp(128px, 17vw, 190px);
  height: auto;
  will-change: transform, filter, opacity;
  opacity: 0;
}

.preloader__type {
  margin-top: clamp(1.1rem, 2.6vh, 1.7rem);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 1em;
  font-family: "Archivo", system-ui, monospace;
  font-size: clamp(.62rem, 1.5vw, .74rem);
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.preloader__type-text { white-space: nowrap; }
.preloader__caret {
  display: inline-block;
  width: 1px;
  height: 1.05em;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255, 212, 0, .8);
  animation: pre-caret 1s steps(1) infinite;
}
@keyframes pre-caret {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* métricas que sobem (cena 3) */
.preloader__metrics {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.pre-metric {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  opacity: 0;
  will-change: transform, opacity;
}
.pre-metric__num {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 26px rgba(255, 212, 0, .35);
}
.pre-metric__label {
  font-size: clamp(.58rem, 1.4vw, .68rem);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.pre-metric--1 { top: 30%; left: 16%; }
.pre-metric--2 { top: 36%; right: 15%; align-items: flex-end; text-align: right; }
.pre-metric--3 { top: 67%; left: 50%; transform: translateX(-50%); align-items: center; }

@media (max-width: 680px) {
  .pre-metric--1 { top: 24%; left: 8%; }
  .pre-metric--2 { top: 30%; right: 8%; }
  .pre-metric--3 { top: 72%; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
}
