/* Key Marketing — one-page
   Brand book: tipografia manuscrita (logo/acentos) + sans geométrica (UI)
   Cores: navy #0B1A2B · signal #DE7648 · chalk #F5F3F0 */
:root {
  --ink: #0b1a2b;
  --ink-soft: #12253a;
  --ink-mid: #1a3348;
  --chalk: #f5f3f0;
  --chalk-deep: #ebe7e1;
  --mist: #8a96a8;
  --mist-on-light: #5c6b7c;
  --line: rgba(245, 243, 240, 0.12);
  --line-on-light: rgba(11, 26, 43, 0.12);
  --signal: #de7648;
  --signal-hot: #e58a5a;
  --signal-glow: rgba(222, 118, 72, 0.28);
  /* Montserrat ≈ boards/anúncios; Dancing Script ≈ tipografia manuscrita do logo */
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Montserrat", system-ui, sans-serif;
  --script: "Dancing Script", "Segoe Script", cursive;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-btn: 6px;
  --radius-sm: 4px;
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--chalk);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  list-style: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--signal);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Ambient — quieter, less glow spam */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.55;
}
.ambient__glow {
  position: absolute;
  border-radius: 50%;
  /* No CSS blur — radial fades are enough and much cheaper while scrolling */
  opacity: 0.32;
  contain: strict;
}
.ambient__glow--a {
  width: 40vw;
  height: 40vw;
  right: -14vw;
  top: 40vh;
  background: radial-gradient(circle, var(--signal-glow), transparent 70%);
}
.ambient__glow--b {
  width: 32vw;
  height: 32vw;
  left: -12vw;
  bottom: 10vh;
  background: radial-gradient(circle, rgba(26, 51, 72, 0.7), transparent 70%);
}
.ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav,
main,
.footer,
.nav-drawer {
  position: relative;
  z-index: 1;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(11, 26, 43, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  z-index: 50;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 26, 43, 0.96);
}
.nav__logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}
.cta__logo {
  width: 150px;
  height: auto;
  margin-bottom: 1.5rem;
}
.footer img {
  height: 28px;
  width: auto;
  opacity: 0.85;
}
.pillar__tag {
  color: var(--mist);
  font-size: 0.9rem;
  margin: 0.25rem 0 0.75rem;
}
.pillar__tag:empty {
  display: none;
}
.nav__links {
  display: none;
  gap: 1.75rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mist);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--chalk);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang__btn {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.7rem;
  background: transparent;
  color: var(--mist);
  border: 0;
  cursor: pointer;
  min-width: 44px;
  min-height: 36px;
}
.lang__btn.is-active {
  background: var(--ink-mid);
  color: var(--chalk);
}
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--chalk);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(11, 26, 43, 0.97);
  border-bottom: 1px solid var(--line);
  z-index: 49;
}
.nav-drawer[hidden] {
  display: none;
}
.nav-drawer a {
  padding: 0.9rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }
  .nav__burger,
  .nav-drawer {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  min-height: 48px;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--signal);
  color: #fff;
}
.btn--primary:hover {
  background: var(--signal-hot);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(245, 243, 240, 0.38);
  color: var(--chalk);
}
.btn--ghost:hover {
  border-color: rgba(245, 243, 240, 0.62);
  background: rgba(245, 243, 240, 0.06);
}
.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  min-height: 40px;
}
.nav .btn--sm {
  display: none;
}
@media (min-width: 640px) {
  .nav .btn--sm {
    display: inline-flex;
  }
}

/* Typography helpers */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}
.section__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-bottom: 1.25rem;
}
.section__title em {
  font-family: var(--script);
  font-style: normal;
  font-weight: 700;
  color: var(--signal);
  letter-spacing: 0;
  font-size: 1.12em;
  line-height: 1;
}
/* "Key" é o nome da marca: mantém o laranja, mas na fonte do título — a
   manuscrita fica reservada às palavras de ênfase, não ao nome. */
.clients .section__title em {
  font-family: var(--display);
  font-size: 1em;
  letter-spacing: -0.02em;
  line-height: inherit;
}
.section__lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--mist);
  max-width: 40rem;
  font-weight: 300;
}

/* Hero */
.hero {
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero__video-bg {
    display: none;
  }
}
.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 70% 40%, rgba(222, 118, 72, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(18, 37, 58, 0.9), transparent 70%),
    linear-gradient(90deg, rgba(10, 16, 24, 0.94) 0%, rgba(10, 16, 24, 0.72) 42%, rgba(10, 16, 24, 0.28) 100%);
}
.hero__stage {
  width: var(--wrap);
  margin-inline: auto;
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
}
.hero__copy {
  max-width: min(560px, 92vw);
}
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: min(22ch, 100%);
  margin-bottom: 1.35rem;
  text-wrap: balance;
}
.hero__title .word {
  margin-right: 0.28em;
}
.hero__title em {
  font-family: var(--script);
  font-style: normal;
  font-weight: 700;
  color: var(--signal);
  letter-spacing: 0;
  font-size: 1.15em;
}
.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--mist);
  max-width: 34rem;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero__markets {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}
/* Contato — formulário sobre fundo claro */
.qualify {
  background: var(--chalk);
  color: var(--ink);
}
.qualify .eyebrow {
  color: var(--signal);
}
.qualify .section__title {
  color: var(--ink);
}
.qualify .section__lead {
  color: var(--mist-on-light);
  max-width: 36rem;
}
.form__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.form {
  display: grid;
  gap: 1.1rem;
}
.form__row {
  display: grid;
  gap: 1.1rem;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field > span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-on-light);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  width: 100%;
  min-height: 48px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.55;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mist-on-light) 50%),
    linear-gradient(135deg, var(--mist-on-light) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(222, 118, 72, 0.16);
}
/* estado de erro marcado pelo JS, não pelo :invalid — para não acusar antes da hora */
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #c0492b;
  background: rgba(192, 73, 43, 0.05);
}
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}
.form__hint {
  font-size: 0.8rem;
  color: var(--mist-on-light);
}
.form__status {
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.4rem;
}
.form__status.is-ok {
  color: #1f7a4d;
}
.form__status.is-error {
  color: #c0492b;
}
.form.is-sending button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}

@media (min-width: 620px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .form__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  width: 22px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 1;
}
.hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: var(--signal);
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Problem — chalk surface */
.problem {
  background: var(--chalk);
  color: var(--ink);
}
.problem__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: end;
}
.problem .eyebrow {
  color: var(--signal);
}
.problem .section__title {
  max-width: 20ch;
  color: var(--ink);
}
.problem .section__title em {
  color: var(--signal);
}
.problem .section__lead {
  margin-top: 0.25rem;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--ink);
  font-weight: 400;
}
/* Problem — funil quebrado (trapézios empilhados, largura = volume) */
.funnel__stages {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.funnel__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}
/* trapézio: largura do topo e da base vêm dos dados de cada etapa */
.funnel__seg {
  height: clamp(3.5rem, 8vw, 5.5rem);
  background: rgba(11, 26, 43, 0.86);
  clip-path: polygon(
    calc(50% - var(--top) / 2) 0%,
    calc(50% + var(--top) / 2) 0%,
    calc(50% + var(--bottom) / 2) 100%,
    calc(50% - var(--bottom) / 2) 100%
  );
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.65s var(--ease);
  transition-delay: var(--d, 0s);
}
.funnel__stage:nth-child(2) .funnel__seg {
  background: rgba(11, 26, 43, 0.62);
}
.funnel__stage.is-in .funnel__seg {
  transform: scaleY(1);
}
.funnel__meta {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
  min-width: 8.5rem;
}
.funnel__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist-on-light);
}
.funnel__value {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Etapa vazia — o funil não entrega nada aqui */
.funnel__stage--empty .funnel__seg {
  background: repeating-linear-gradient(
    135deg,
    rgba(222, 118, 72, 0.16) 0 6px,
    transparent 6px 13px
  );
  outline: 1px dashed rgba(222, 118, 72, 0.55);
  outline-offset: -1px;
}
.funnel__stage--empty .funnel__value {
  color: var(--signal);
}

.funnel__break {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.55rem 0;
  padding-right: clamp(9.25rem, 12vw, 10.75rem);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.55s;
}
.funnel__break::before,
.funnel__break::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--signal) 0 5px,
    transparent 5px 10px
  );
  opacity: 0.7;
}
.funnel.is-in .funnel__break {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .funnel__seg,
  .funnel__break {
    transition: none;
  }
}

/* Mobile: rótulo dentro do segmento, para o funil ler como uma peça só */
@media (max-width: 560px) {
  .funnel__stage {
    position: relative;
    display: block;
  }
  .funnel__seg {
    height: 4.5rem;
  }
  .funnel__meta {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-width: 0;
    pointer-events: none;
  }
  .funnel__stage .funnel__label {
    color: rgba(245, 243, 240, 0.72);
  }
  .funnel__stage .funnel__value {
    color: var(--chalk);
    font-size: 1.1rem;
  }
  .funnel__stage--empty .funnel__label {
    color: var(--mist-on-light);
  }
  .funnel__stage--empty .funnel__value {
    color: var(--signal);
  }
  .funnel__break {
    padding-right: 0;
  }
}

@media (min-width: 900px) {
  .problem__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 4rem;
    align-items: center;
  }
}

.problem__punch {
  margin-top: 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 34ch;
  opacity: 0.35;
  transition: opacity 0.55s var(--ease);
}
.problem__punch.is-in {
  opacity: 1;
}
.problem__punch em {
  font-style: normal;
  color: var(--signal);
}
.problem__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}
.problem__chips li {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line-on-light);
  background: rgba(11, 26, 43, 0.03);
}

/* About */
.about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
/* Título mais longo que o das outras seções: medida maior, corpo um pouco menor */
.about__copy .section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 24ch;
}
.about__visual {
  display: grid;
  place-items: center;
  min-height: min(560px, 82vw);
}
.about__lock {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 240 / 320;
}
.about__glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at 50% 45%, rgba(222, 118, 72, 0.5), rgba(222, 118, 72, 0.12) 45%, transparent 70%);
  filter: blur(32px);
  animation: lockPulse 5.5s ease-in-out infinite alternate;
  pointer-events: none;
}
.about__key-mark {
  position: absolute;
  z-index: 2;
  width: 42%;
  height: auto;
  right: -2%;
  top: 8%;
  color: var(--signal);
  filter: drop-shadow(0 10px 24px rgba(222, 118, 72, 0.35));
  transform-origin: 20% 70%;
  transform: translate3d(18%, -12%, 0) rotate(-28deg);
  opacity: 0.95;
}
.about__key-stroke {
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about__lock.is-keyed .about__key-mark {
  animation: keySeat 4.8s ease-in-out infinite alternate;
}
@keyframes keySeat {
  from { transform: translate3d(10%, -6%, 0) rotate(-22deg); }
  to { transform: translate3d(4%, 2%, 0) rotate(-16deg); }
}
@media (prefers-reduced-motion: reduce) {
  .about__lock.is-keyed .about__key-mark {
    animation: none;
    transform: translate3d(6%, 0, 0) rotate(-18deg);
  }
}
/* Particle key: fills the same box the lock plate used to occupy — it's the
   whole visual now, not a small mark seated diagonally over a keyhole. */
.about__key-mark--particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  right: auto;
  top: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
  transform: none;
  opacity: 0;
}
.about__particles-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
@media (prefers-reduced-motion: reduce) {
  .about__key-mark--particles {
    display: none;
  }
}
/* O SVG só sai de cena quando as partículas realmente sobem (a classe vem do
   hero-particles.js). Se o WebGL falhar no aparelho, o fallback continua lá. */
.about__lock.has-particles .about__key-mark--fallback {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .about__key-mark--fallback {
    display: block;
  }
}
@keyframes lockPulse {
  from { opacity: 0.65; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .about__glow {
    animation: none;
  }
}
/* :not(.eyebrow) — o eyebrow é um <p> e deve manter o laranja das demais seções */
.about__copy p:not(.eyebrow) {
  color: var(--mist);
  margin-bottom: 1rem;
  max-width: 38rem;
}
.about__team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.about__team strong {
  display: block;
  font-size: 1rem;
  color: var(--signal);
  margin-bottom: 0.2rem;
}
.about__team span {
  font-size: 0.85rem;
  color: var(--mist);
}
.about__badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk);
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

/* Services */
.services {
  background: var(--chalk);
  color: var(--ink);
}

/* FAQ — Webcompany trust layer */
.faq {
  background: var(--navy);
  color: var(--chalk);
}
.faq__grid {
  display: grid;
  gap: 2.5rem;
}
.faq .section__lead {
  color: var(--mist);
  max-width: 28rem;
}
.faq__list {
  display: grid;
  gap: 0;
}
.faq__item {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--chalk);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--signal);
  font-weight: 600;
}
.faq__item[open] summary::after {
  content: "–";
}
.faq__item p {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  color: var(--mist);
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 300;
}
@media (min-width: 900px) {
  .faq__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
  }
}

.services .eyebrow {
  color: var(--signal);
}
.services .section__title {
  color: var(--ink);
}
.services .section__title em {
  color: var(--signal);
}
.services__list li {
  border-top-color: var(--line-on-light);
}
.services__list li:last-child {
  border-bottom-color: var(--line-on-light);
}
.services__list h3 {
  color: var(--ink);
}
.services__list p {
  color: var(--mist-on-light);
}
.services__list {
  margin-top: 2.5rem;
  display: grid;
  gap: 0;
}
.services__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-on-light);
  transition: background 0.25s, padding-left 0.25s var(--ease);
}
.services__list li:last-child {
  border-bottom: 1px solid var(--line-on-light);
}
.services__list li:hover {
  padding-left: 0.5rem;
}
.services__num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--signal);
  font-size: 1rem;
  padding-top: 0.2rem;
}
.services__list h3 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.services__list p {
  color: var(--mist);
  max-width: 36rem;
}

/* Method */
.method {
  background: var(--ink-soft);
}
.method .section__title {
  max-width: 22ch;
}
.method__lead {
  margin-bottom: 2.5rem;
}
.pillars {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}
.pillar {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(11, 26, 43, 0.45);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.pillar:hover {
  border-color: rgba(222, 118, 72, 0.45);
  transform: translateY(-2px);
}
.pillar__index {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--signal);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.pillar h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.pillar p:last-child {
  color: var(--mist);
  font-size: 0.98rem;
}
.method__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

@media (min-width: 800px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1100px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Clients */
.clients .section__title {
  margin-bottom: 2.5rem;
}
.work-reel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 3rem;
}
@media (min-width: 900px) {
  .work-reel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.work-phone {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.work-phone__screen {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #061018;
  border: 1px solid rgba(245, 243, 240, 0.14);
}
.work-phone__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-phone__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
}
.clients__marquee {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.clients__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: clientsMarquee 42s linear infinite;
}
.clients__marquee:hover .clients__track {
  animation-play-state: paused;
}
@keyframes clientsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.clients__logos {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
  flex-shrink: 0;
}
.clients__logos li {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 10rem;
  height: 4.25rem;
  padding: 0.25rem 0.35rem;
  opacity: 0.82;
  transition: opacity 0.25s var(--ease);
}
.clients__logos li:hover {
  opacity: 1;
}
.clients__logos img {
  display: block;
  width: auto;
  height: 2.85rem;
  max-width: 9.5rem;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.08) contrast(1.05);
}
/* Compact marks (square / icon) — scale up for legibility */
.clients__logo--mark {
  width: 9rem;
  height: 5.75rem;
}
.clients__logo--mark img {
  height: 5.15rem;
  max-width: 8rem;
}
/* Wide thin wordmarks — need height to stay legible */
.clients__logo--slim {
  width: 12rem;
}
.clients__logo--slim img {
  height: 3.15rem;
  max-width: 11.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    justify-content: center;
    gap: 1.5rem 2rem;
  }
  .clients__marquee {
    width: auto;
    margin-left: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .clients__logos[aria-hidden="true"] {
    display: none;
  }
  .clients__logos {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    gap: 1.5rem 2rem;
  }
}

.clients__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}
.clients__list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}
.clients__list li:hover {
  border-bottom-color: var(--signal);
  transform: translateY(-2px);
}
.clients__name {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--chalk);
}
.clients__tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
}

/* Results */
.cases {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 2.5rem;
}
.case {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.case__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk);
  margin-bottom: 1.5rem;
}
.case__block {
  margin-bottom: 1.5rem;
  max-width: 46ch;
}
.case__block:last-child {
  margin-bottom: 0;
}
.case__block h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--signal);
  margin-bottom: 0.5rem;
}
.case__block p {
  color: var(--chalk);
  font-size: 1rem;
  line-height: 1.6;
}

/* Card de resultados — bloco claro sobre o fundo navy da seção */
.case__results {
  align-self: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--chalk);
  border: 1px solid rgba(11, 26, 43, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}
.case__results-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--signal);
  margin-bottom: 1.75rem;
}
.case__results ul {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case__results strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--signal);
  margin-bottom: 0.35rem;
}
.case__results span {
  display: block;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
}

@media (min-width: 900px) {
  .case {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}
.difference__grid {
  display: grid;
  gap: 2.5rem;
}
.diff__list {
  display: grid;
  gap: 0;
}
.diff__list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.diff__list h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--chalk);
  margin-bottom: 0.35rem;
}
.diff__list li:last-child {
  border-bottom: 1px solid var(--line);
}
.diff__list span {
  font-family: var(--display);
  font-weight: 700;
  color: var(--signal);
  font-size: 0.95rem;
}
.diff__list p {
  font-size: 0.98rem;
  color: var(--mist);
  line-height: 1.55;
}

@media (min-width: 900px) {
  .difference__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}

/* CTA — full-bleed brand door */
.cta {
  position: relative;
  min-height: min(92dvh, 820px);
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: scale(1.04);
  will-change: transform;
}
.cta__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 26, 43, 0.2) 0%, rgba(11, 26, 43, 0.45) 40%, rgba(11, 26, 43, 0.88) 70%, rgba(11, 26, 43, 0.96) 100%),
    linear-gradient(180deg, rgba(11, 26, 43, 0.15) 0%, rgba(11, 26, 43, 0.4) 100%);
}
.cta__content {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(4rem, 10vw, 7rem) 0;
  max-width: 34rem;
}
.cta__logo {
  width: 140px;
  height: auto;
  margin-bottom: 1.5rem;
}
.cta .section__title {
  max-width: min(18ch, 100%);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.cta__key {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
  color: var(--chalk);
}
.cta__key-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--signal);
  flex-shrink: 0;
}
.cta__ask {
  color: var(--mist);
  margin-bottom: 1.75rem;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cta__hint {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--mist);
  letter-spacing: 0.02em;
}

@media (min-width: 900px) {
  .cta {
    justify-content: flex-end;
  }
  .cta__photo {
    object-position: left center;
  }
  .cta__content {
    margin-left: auto;
    margin-right: max(1.5rem, calc((100vw - min(1120px, 92vw)) / 2));
    max-width: 28rem;
  }
  .cta__veil {
    background:
      linear-gradient(90deg, rgba(11, 26, 43, 0.12) 0%, rgba(11, 26, 43, 0.35) 45%, rgba(11, 26, 43, 0.9) 72%, rgba(11, 26, 43, 0.97) 100%),
      linear-gradient(180deg, transparent 40%, rgba(11, 26, 43, 0.35) 100%);
  }
}

@media (max-width: 899px) {
  .cta {
    align-items: flex-end;
  }
  .cta__photo {
    object-position: 25% center;
  }
  .cta__veil {
    background:
      linear-gradient(180deg, rgba(11, 26, 43, 0.2) 0%, rgba(11, 26, 43, 0.7) 48%, rgba(11, 26, 43, 0.96) 100%),
      linear-gradient(90deg, rgba(11, 26, 43, 0.25), rgba(11, 26, 43, 0.7));
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.5rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer p {
  font-size: 0.85rem;
  color: var(--mist);
}

/* Reveal — only hide when JS is active */
.js:not(.has-gsap) .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.js:not(.has-gsap) .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js:not(.has-gsap) .reveal--title {
  transform: translateY(36px) scale(0.98);
}
.js:not(.has-gsap) .reveal--title.is-in {
  transform: none;
}
.js:not(.has-gsap) .reveal--left {
  transform: translateX(-28px);
}
.js:not(.has-gsap) .reveal--left.is-in {
  transform: none;
}
.js:not(.has-gsap) .reveal--scale {
  transform: scale(0.92);
  filter: blur(8px);
}
.js:not(.has-gsap) .reveal--scale.is-in {
  transform: none;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 100;
  background: linear-gradient(90deg, var(--signal), #f0a56a);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  will-change: transform;
}

/* Nav active */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a.is-active {
  color: var(--chalk);
}
.nav__links a.is-active::after {
  transform: scaleX(1);
}

/* Hero split words — CSS entrance only without GSAP */
.hero__title .word {
  display: inline-block;
}
.hero__title em .word {
  color: var(--signal);
}
.js:not(.has-gsap) .hero__title .word {
  opacity: 0;
  transform: translateY(0.85em);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}
.js:not(.has-gsap) .hero.is-ready .hero__title .word {
  opacity: 1;
  transform: none;
}
.js:not(.has-gsap) .hero:not(.is-ready) .hero__title,
.js:not(.has-gsap) .hero:not(.is-ready) .hero__sub,
.js:not(.has-gsap) .hero:not(.is-ready) .hero__actions,
.js:not(.has-gsap) .hero:not(.is-ready) .hero__markets {
  opacity: 0;
}
.js:not(.has-gsap) .hero.is-ready .hero__sub,
.js:not(.has-gsap) .hero.is-ready .hero__actions,
.js:not(.has-gsap) .hero.is-ready .hero__markets {
  animation: fadeUp 0.8s var(--ease) both;
}
.js:not(.has-gsap) .hero.is-ready .hero__sub { animation-delay: 0.45s; }
.js:not(.has-gsap) .hero.is-ready .hero__actions { animation-delay: 0.58s; }
.js:not(.has-gsap) .hero.is-ready .hero__markets { animation-delay: 0.7s; }
/* With GSAP: hide until boot; no CSS transitions (GSAP owns motion) */
.js.has-gsap .hero:not(.is-ready) .hero__title,
.js.has-gsap .hero:not(.is-ready) .hero__sub,
.js.has-gsap .hero:not(.is-ready) .hero__actions,
.js.has-gsap .hero:not(.is-ready) .hero__markets {
  opacity: 0;
}
.js.has-gsap .reveal:not(.is-in) {
  opacity: 0;
}
#pillars .pillar.reveal:not(.is-in),
#pillars .pillar {
  /* bridge pillars owned by GSAP set/timeline */
}
/* Magnetic buttons */
.btn--magnetic {
  position: relative;
  transition:
    transform 0.35s var(--ease),
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.35s var(--ease);
}
.btn--primary.btn--magnetic:hover {
  box-shadow: 0 8px 32px var(--signal-glow);
}
.btn--ghost.btn--magnetic:hover {
  box-shadow: 0 0 0 1px rgba(245, 243, 240, 0.2);
}

/* Pillars / services fluid hover */
.pillar {
  transition:
    border-color 0.35s var(--ease),
    transform 0.45s var(--ease),
    background 0.35s,
    box-shadow 0.45s var(--ease);
}
.pillar:hover {
  border-color: rgba(222, 118, 72, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(222, 118, 72, 0.12);
  background: rgba(11, 26, 43, 0.7);
}
.services__list li {
  transition:
    background 0.35s,
    padding-left 0.45s var(--ease),
    border-color 0.35s;
}
.services__list li:hover {
  padding-left: 0.85rem;
}
.services__list li:hover .services__num {
  transform: scale(1.08);
}
.services__num {
  transition: transform 0.35s var(--ease);
}

/* Em draw underline when in view */
.section__title em {
  position: relative;
  display: inline;
}
.section__title.is-in em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.12em;
  background: rgba(222, 118, 72, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  animation: emDraw 0.8s 0.25s var(--ease) forwards;
}
@keyframes emDraw {
  to {
    transform: scaleX(1);
  }
}

/* Problem zeros pulse */
/* problem digits animated in main.js */

/* Ambient glows stay static — scroll-linked transforms were expensive */

/* Clients marquee feel */
.clients__list li {
  transition: color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.clients__list li:hover {
  transform: translateY(-2px);
}

/* Case lift */
.case {
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s;
}
.case:hover {
  transform: translateY(-4px);
  border-color: rgba(222, 118, 72, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero__title .word,
  .btn--magnetic,
  .pillar,
  .case {
    transition: none !important;
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-progress {
    display: none;
  }
}


/* Lenis */
html.has-lenis {
  scroll-behavior: auto;
}
html.has-lenis,
html.has-lenis body {
  height: auto;
}

/* Bridge Method track */
.bridge {
  position: relative;
  margin-top: 2.75rem;
  margin-bottom: 2.5rem;
}
.bridge__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.bridge__meta > span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--signal);
  min-width: 1.25rem;
}
.bridge__track {
  flex: 1;
  height: 2px;
  background: rgba(245, 243, 240, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.bridge__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--signal), #f0b27a);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 16px var(--signal-glow);
}
.pillars .pillar {
  position: relative;
}
.pillars .pillar.is-active {
  border-color: rgba(222, 118, 72, 0.45);
}
.pillars .pillar.is-active .pillar__index {
  text-shadow: 0 0 18px var(--signal-glow);
}
#pillars .pillar {
  /* GSAP owns entrance — avoid CSS reveal fighting */
  opacity: 1;
  transform: none;
  filter: none;
  transition: border-color 0.35s var(--ease), box-shadow 0.45s var(--ease), background 0.35s;
}
