/* =========================================================
   FOURTH COMPANY — Design System "Dark Premium / Tech-Logística"
   Refação completa 2026. Fundo escuro dominante, vidro, glows teal,
   números gigantes, micro-animações. Reconstrução do zero — não
   depende mais do layout do export Webflow.

   3 CORES DE MARCA:
   --primary #50bcbd (teal) · --accent #e84242 (vermelho/CTA) · --black #161616
   ========================================================= */

:root {
  /* superfícies (camadas de profundidade no escuro) */
  --bg:        #0b0d0d;          /* página */
  --bg-1:      #111515;          /* faixa levemente elevada */
  --bg-2:      #161b1b;          /* card sólido */
  --glass:     rgba(255,255,255,.04);
  --glass-2:   rgba(255,255,255,.07);
  --line:      rgba(255,255,255,.09);
  --line-teal: rgba(80,188,189,.30);

  /* marca */
  --primary:        #50bcbd;
  --primary-bright: #63d6d7;     /* teal mais vivo p/ glow sobre escuro */
  --primary-dark:   #3c9596;
  --accent:         #e84242;
  --accent-dark:    #ce3c3a;
  --black:          #161616;

  /* texto */
  --text:      #f2f5f5;
  --text-soft: rgba(242,245,245,.66);
  --text-mut:  rgba(242,245,245,.42);

  /* forma / sombra / glow */
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;
  --shadow:   0 30px 70px rgba(0,0,0,.5);
  --shadow-2: 0 16px 40px rgba(0,0,0,.4);
  --glow-teal:   0 0 0 1px var(--line-teal), 0 20px 60px rgba(80,188,189,.22);
  --glow-accent: 0 14px 40px rgba(232,66,66,.4);
  --ease:     cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* compat com referências antigas do Webflow */
  --white: #f2f5f5;
}

/* =========================================================
   BASE — sobrepõe o Webflow por completo
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: auto; } /* a rolagem suave é controlada via JS (mais estável) */
body.body {
  background-color: var(--bg);
  background-image:
    radial-gradient(70% 50% at 50% -8%, rgba(80,188,189,.12), transparent 70%),
    radial-gradient(50% 40% at 100% 8%, rgba(232,66,66,.06), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Neutraliza utilitários do Webflow que sobravam no markup */
.section, .fourth-section { width: 100%; background: transparent; color: inherit; }
.section.background-black { background: transparent; color: inherit; }
.space-7rem, .space-2rem { display: none; }
.container, .w-container,
.container.padding-4-5rem, .container.padding-4-5rem-copy,
.container.rounded-corners {
  max-width: 1200px; width: 100%;
  margin-inline: auto; padding: 0 1.6rem;
  overflow: visible; border-radius: 0;
  display: block;
}

img { max-width: 100%; }

/* seção padrão */
.fx { position: relative; padding: clamp(4rem, 8vw, 7.5rem) 0; }
.fx--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* divisor com glow teal */
.fx-divider {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-teal), transparent);
}

/* =========================================================
   TIPOGRAFIA / CABEÇALHOS
   ========================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary-bright);
  padding: .5rem 1rem;
  border: 1px solid var(--line-teal); border-radius: var(--pill);
  background: rgba(80,188,189,.07);
  margin-bottom: 1.4rem;
}
.kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-bright); box-shadow: 0 0 10px var(--primary-bright);
}
/* variante só-texto: sem bolinha e sem fundo */
.kicker--plain { background: none; border: none; padding: 0; }
.kicker--plain::before { display: none; }
.h-display {
  font-family: Causten, sans-serif; font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02;
  letter-spacing: -.02em; color: #fff; margin: 0; text-transform: none;
}
.h-title {
  font-family: Causten, sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.07;
  letter-spacing: -.015em; color: #fff; margin: 0 0 1rem; text-transform: none;
}
.hl { color: var(--primary); }
.hl-accent { color: var(--accent); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7;
  color: var(--text-soft); margin: 0;
}
.sec-head { max-width: 50rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.sec-head .lead { max-width: 42rem; margin-inline: auto; }
.sec-head--left { margin-inline: 0; text-align: left; }
.sec-head--left .lead { margin-inline: 0; }

/* =========================================================
   GLASS (cartão de vidro reaproveitável)
   ========================================================= */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.glass--hover:hover {
  transform: translateY(-6px);
  border-color: var(--line-teal);
  box-shadow: var(--glow-teal);
}
/* brilho superior sutil */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 40%);
  pointer-events: none;
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn, .ff-btn {
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  font-family: Causten, sans-serif; font-weight: 700; font-size: 1.02rem;
  line-height: 1; text-decoration: none; text-transform: none; cursor: pointer;
  padding: 1.05rem 1.8rem; border-radius: var(--pill);
  border: 1.5px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .35s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg, .ff-btn svg { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.btn:hover svg, .ff-btn:hover svg { transform: translate(3px,-3px); }
.btn::before, .ff-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease-out);
}
.btn--primary, .ff-btn--primary { background: var(--accent); color: #fff; }
.btn--primary::before, .ff-btn--primary::before { background: var(--accent-dark); }
.btn--primary:hover, .ff-btn--primary:hover { transform: translateY(-3px); box-shadow: var(--glow-accent); }
.btn--primary:hover::before, .ff-btn--primary:hover::before { transform: scaleY(1); }

.btn--ghost, .ff-btn--secondary {
  background: rgba(80,188,189,.06); color: var(--primary-bright); border-color: var(--line-teal);
}
.btn--ghost::before, .ff-btn--secondary::before { background: var(--primary); }
.btn--ghost:hover, .ff-btn--secondary:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--glow-teal); }
.btn--ghost:hover::before, .ff-btn--secondary:hover::before { transform: scaleY(1); }
.btn:active, .ff-btn:active { transform: translateY(0) scale(.99); }

/* Botão Webflow herdado (caso ainda exista) vira CTA vermelho */
.button-with-circle-icon-fourth {
  border: none !important; background-color: var(--accent) !important;
  border-radius: var(--pill) !important; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease);
}
.button-with-circle-icon-fourth:hover { transform: translateY(-3px); box-shadow: var(--glow-accent); }
.button-text-copy { line-height: 1.2; text-transform: none; }

/* =========================================================
   NAVBAR — header próprio (sem o sistema de nav do Webflow)
   ========================================================= */
.navbar {
  position: fixed; inset: 0 0 auto; width: 100%;
  height: auto; margin: 0; padding: .8rem clamp(1rem, 4vw, 2.4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: rgba(11,13,13,.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  z-index: 1000;
}
.navbar.is-scrolled { background: rgba(11,13,13,.92); border-bottom-color: var(--line); padding-top: .55rem; padding-bottom: .55rem; }
.nav-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.navbar .logo { min-height: 0; max-height: 30px; width: auto; object-fit: contain; }
.nav-links {
  display: flex; flex-direction: row; align-items: center; gap: 2rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  position: relative; font-size: .92rem; font-weight: 500; white-space: nowrap;
  color: var(--text-soft); text-decoration: none; transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { flex: 0 0 auto; padding: .7rem 1.3rem; font-size: .95rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(4rem, 7vw, 6.5rem);
}
/* grid técnico sutil + glow */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent 75%);
  opacity: .5;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -80px;
  background: radial-gradient(circle, rgba(80,188,189,.20), transparent 60%);
  pointer-events: none; filter: blur(10px);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero-pitch { max-width: 38rem; }
.hero h1 {
  font-family: Causten, sans-serif; font-weight: 800;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em;
  color: #fff; margin: 0 0 1.4rem; text-transform: none;
}
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--text-soft); margin: 0 0 2.2rem; max-width: 34rem; }
/* pontos de venda na hero */
.hero-points { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.hero-points li { position: relative; padding-left: 1.95rem; font-size: 1.02rem; line-height: 1.45; color: var(--text); }
.hero-points li svg { position: absolute; left: 0; top: .12em; width: 1.2rem; height: 1.2rem; color: var(--primary); }
.hero-points--below { margin: 0; }
.hero-cta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-trust { display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--text-mut); }
.hero-trust svg { width: 1.05rem; height: 1.05rem; color: var(--primary); }

/* stats da hero */
.hero-stats { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: flex-start; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.hero-stats li { position: relative; flex: 1 1 0; min-width: 0; }
.hero-stats li:not(:last-child) { padding-right: 1.8rem; }
.hero-stats li:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background: var(--line);
}
.stat-num {
  display: block; font-family: Causten, sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1; color: var(--primary);
  text-shadow: 0 0 26px rgba(80,188,189,.35);
}
.stat-label { display: block; font-size: .85rem; color: var(--text-soft); margin-top: .5rem; max-width: 10rem; line-height: 1.3; }

/* =========================================================
   FORM (Typeform) — card claro, foco luminoso sobre o escuro
   ========================================================= */
.hero-form-col { display: flex; flex-direction: column; gap: 1.8rem; position: relative; z-index: 1; }
/* números abaixo do formulário */
.hero-form-col .hero-stats { gap: 1rem; }
.hero-form-col .hero-stats li:not(:last-child) { padding-right: 1rem; }
.ff-card {
  position: relative; width: 100%; background: #fff; color: var(--black);
  border-radius: var(--r-lg); box-shadow: 0 40px 90px rgba(0,0,0,.6), var(--glow-teal);
  overflow: hidden; scroll-margin-top: 6rem;
}
.ff-progress { height: 6px; background: #e7e7e9; }
.ff-progress-bar {
  display: block; height: 100%; width: 0; position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--primary), var(--primary-bright));
  border-radius: 0 6px 6px 0; transition: width .45s var(--ease);
}
.ff-progress-bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  transform: translateX(-100%); animation: shimmer 2.2s var(--ease) infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.ff-form { padding: 2.2rem 2.2rem 1.7rem; }
.ff-head { margin-bottom: 1.6rem; }
.ff-specialist { display: flex; align-items: center; gap: .9rem; }
.ff-specialist-img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.ff-specialist-text { display: flex; flex-direction: column; }
.ff-specialist-text strong { font-family: Causten, sans-serif; font-size: 1.15rem; color: var(--black); }
.ff-specialist-text span { font-size: .85rem; color: #666; }
.ff-step { animation: ffFade .4s var(--ease); }
.ff-step[hidden] { display: none; }
@keyframes ffFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ff-question { display: block; font-family: Causten, sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.25; color: var(--black); margin: 0 0 1.1rem; text-transform: none; }
.ff-input { width: 100%; font-family: Inter, sans-serif; font-size: 1.1rem; color: var(--black); padding: .95rem 1rem; border: 2px solid #e7e7e9; border-radius: var(--r-sm); background: #fafafa; transition: border-color .2s, box-shadow .2s, background .2s; }
.ff-input::placeholder { color: #9a9a9a; }
.ff-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(80,188,189,.15); background: #fff; }
.ff-input.is-valid { border-color: var(--primary); background: rgba(80,188,189,.05); }
.ff-input.is-invalid { border-color: var(--accent); background: rgba(232,66,66,.04); }
.ff-help { font-size: .85rem; color: #777; margin: .7rem 0 0; }
.ff-error { font-size: .85rem; color: var(--accent); margin: .6rem 0 0; min-height: 1rem; }
.ff-options { display: flex; flex-direction: column; gap: .6rem; }
.ff-option { position: relative; display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 2px solid #e7e7e9; border-radius: var(--r-sm); background: #fafafa; cursor: pointer; font-size: 1.02rem; color: var(--black); transition: border-color .18s, background .18s, transform .12s var(--ease); }
.ff-option span { transition: transform .18s var(--ease); }
.ff-option:hover { border-color: var(--primary); background: #fff; }
.ff-option:hover span { transform: translateX(4px); }
.ff-option input { position: absolute; opacity: 0; pointer-events: none; }
.ff-option::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; border: 2px solid #c4c4c4; border-radius: 50%; transition: border-color .18s, background .18s; }
.ff-option:has(input:checked) { border-color: var(--primary); background: rgba(80,188,189,.08); }
.ff-option:has(input:checked)::before { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 4px #fff; }
.ff-option:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(80,188,189,.15); }
.ff-nav { display: flex; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.ff-next { flex: 1; position: relative; font-family: Causten, sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; background: var(--accent); border: none; border-radius: var(--pill); padding: .95rem 1.6rem; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .3s var(--ease); }
.ff-next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-dark); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease-out); }
.ff-next:hover { transform: translateY(-2px); box-shadow: var(--glow-accent); }
.ff-next:hover::before { transform: scaleY(1); }
.ff-next:disabled { opacity: .7; cursor: default; }
.ff-back { font-size: .95rem; color: #777; background: none; border: none; cursor: pointer; padding: .6rem .4rem; transition: color .2s; }
.ff-back:hover { color: var(--black); }
.ff-counter { text-align: center; font-size: .8rem; color: #999; margin-top: .9rem; }
.ff-success .ff-question { color: var(--primary); }
.ff-fail .ff-question { color: #e84242; }
.ff-fail .ff-retry { width: 100%; margin-top: 1.2rem; }
.ff-sending { text-align: center; padding: 1.2rem 0; }
.ff-sending .ff-question { margin-bottom: .4rem; }
.ff-spinner {
  width: 44px; height: 44px; margin: 0 auto 1.1rem;
  border: 4px solid rgba(80,188,189,.2); border-top-color: var(--primary);
  border-radius: 50%; animation: ffSpin .8s linear infinite;
}
@keyframes ffSpin { to { transform: rotate(360deg); } }
.ff-card.is-done .ff-progress-bar { width: 100% !important; }
/* anel vermelho ao clicar num CTA: avisa que é pra preencher o formulário */
.ff-card.ff-highlight { animation: ffRing .85s ease-in-out 4; }
@keyframes ffRing {
  0%, 100% { box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 3px rgba(232,66,66,.95), 0 0 28px rgba(232,66,66,.4); }
  50%      { box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 9px rgba(232,66,66,.6), 0 0 60px rgba(232,66,66,.85); }
}

/* =========================================================
   TRUST BAR — números gigantes (count-up)
   ========================================================= */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat-card { padding: 2rem 1.6rem; text-align: center; }
.stat-card .stat-num { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: .5rem; }
.stat-card p { margin: 0; font-size: 1rem; color: var(--text-soft); line-height: 1.4; }

/* =========================================================
   PILARES
   ========================================================= */
.pilares-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.pilar-card { padding: 2.2rem 1.9rem; border-color: var(--primary) !important; }
.pilar-ico {
  width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  border-radius: 16px; background: rgba(80,188,189,.12); border: 1px solid var(--line-teal);
  margin-bottom: 1.4rem; box-shadow: 0 0 24px rgba(80,188,189,.18);
}
.pilar-ico svg { width: 28px; height: 28px; stroke: var(--primary-bright); fill: none; }
.pilar-card h3 { font-family: Causten, sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--primary); margin: 0 0 .6rem; text-transform: none; }
.pilar-card p { font-size: 1rem; line-height: 1.65; color: var(--text-soft); margin: 0; }

/* =========================================================
   FEATURE (texto + imagem alternados)
   ========================================================= */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.feature + .feature { margin-top: clamp(2rem, 5vw, 4rem); }
.feature__media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.feature__media img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,13,13,.5), transparent 55%); pointer-events: none; }
.feature h3 { font-family: Causten, sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; color: #fff; margin: 0 0 1.2rem; text-transform: none; }
.feature__list { list-style: none; margin: 0 0 1.8rem; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.feature__list li { position: relative; padding-left: 2rem; font-size: 1.06rem; line-height: 1.5; color: var(--text-soft); }
.feature__list li svg { position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; color: var(--primary); }

/* =========================================================
   TIMELINE 7 PASSOS — nós de vidro + linha que desenha
   ========================================================= */
.steps {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem;
}
/* linha base + linha de progresso (anima no reveal) */
.steps::before, .steps::after {
  content: ""; position: absolute; left: 4%; right: 4%; top: 34px; height: 2px; border-radius: 2px;
}
.steps::before { background: var(--line); }
.steps::after {
  background: linear-gradient(90deg, var(--primary), var(--primary-bright));
  box-shadow: 0 0 16px rgba(80,188,189,.6);
  transform: scaleX(0); transform-origin: left;
  transition: transform 4.5s var(--ease-out) .25s;
}
.steps.is-visible::after { transform: scaleX(1); }
.step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.step__node {
  position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--line-teal);
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(80,188,189,.18);
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
  animation: stepFloat 3.6s ease-in-out infinite;
}
/* flutuação contínua e defasada por passo (efeito "onda") */
.step:nth-child(1) .step__node { animation-delay: 0s; }
.step:nth-child(2) .step__node { animation-delay: .25s; }
.step:nth-child(3) .step__node { animation-delay: .5s; }
.step:nth-child(4) .step__node { animation-delay: .75s; }
.step:nth-child(5) .step__node { animation-delay: 1s; }
.step:nth-child(6) .step__node { animation-delay: 1.25s; }
.step:nth-child(7) .step__node { animation-delay: 1.5s; }
@keyframes stepFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.step__node img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) saturate(100%) invert(78%) sepia(34%) saturate(460%) hue-rotate(135deg) brightness(95%) contrast(88%); }
.step:hover .step__node { border-color: var(--primary); box-shadow: 0 0 0 6px var(--bg), 0 0 34px rgba(80,188,189,.55); }
.step__n { font-family: Causten, sans-serif; font-weight: 800; font-size: .88rem; color: var(--primary); letter-spacing: .04em; }
.step__label { font-size: .9rem; line-height: 1.3; color: var(--text-soft); max-width: 9rem; }
.step--final .step__node { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 6px var(--bg), 0 0 34px rgba(80,188,189,.6); }
.step--final .step__node img { filter: brightness(0) invert(1); }
.step--final .step__n { color: var(--primary-bright); }

/* =========================================================
   CATÁLOGO
   ========================================================= */
.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.catalog__media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  animation: catalogGlow 3.6s ease-in-out infinite;
}
/* glow teal leve e intermitente no fundo da imagem */
@keyframes catalogGlow {
  0%, 100% { box-shadow: 0 0 0 1px var(--line-teal), 0 0 40px rgba(80,188,189,.20); }
  50%      { box-shadow: 0 0 0 1px var(--primary),   0 0 110px rgba(80,188,189,.55); }
}
.catalog__media img { display: block; width: 100%; height: auto; }
.cat-list { list-style: none; margin: 1.7rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.6rem; }
.cat-list li { position: relative; padding-left: 1.9rem; font-size: 1.04rem; line-height: 1.4; color: var(--text-soft); }
.cat-list li svg { position: absolute; left: 0; top: .1em; width: 1.25rem; height: 1.25rem; color: var(--primary); }
.cat-list li.more { color: var(--primary-bright); font-weight: 700; }
@media (max-width: 520px) { .cat-list { grid-template-columns: 1fr; } }

/* =========================================================
   DEPOIMENTOS EM VÍDEO — carrossel
   ========================================================= */
.vid-carousel { max-width: 1140px; margin: 0 auto; position: relative; }
.vid-viewport { overflow: hidden; border-radius: var(--r-lg); }
.vid-track { display: flex; transition: transform .6s var(--ease-out); }
.vid-slide { flex: 0 0 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding: .3rem; }
.vid-item { position: relative; aspect-ratio: 9/16; border-radius: var(--r-md); overflow: hidden; background: #050505; border: 1px solid var(--line); box-shadow: var(--shadow-2); transition: border-color .3s var(--ease); }
.vid-item:hover { border-color: var(--line-teal); }
.vid-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: none; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.45)); cursor: pointer; transition: opacity .3s var(--ease); }
.vid-play span { width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(80,188,189,.92); box-shadow: 0 8px 30px rgba(80,188,189,.55); transition: transform .3s var(--ease), background .3s var(--ease); }
.vid-play span::before { content: ""; width: 0; height: 0; margin-left: 5px; border-left: 19px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vid-play:hover span { transform: scale(1.12); background: var(--primary-bright); }
.vid-item.is-playing .vid-play { opacity: 0; pointer-events: none; }
/* controles do carrossel numa barra inferior (não sobrepõem os vídeos) */
.vid-controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 1.9rem; }
.vid-arrow {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%;
  background: var(--primary); border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(80,188,189,.4);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.vid-arrow:hover { background: var(--primary-bright); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(80,188,189,.6); }
.vid-arrow:disabled { background: var(--glass-2); color: var(--text-mut); box-shadow: none; cursor: default; }
.vid-arrow svg { width: 22px; height: 22px; }
.vid-dots { display: flex; justify-content: center; gap: .6rem; margin: 0; }
.vid-dot { width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.22); transition: background .25s var(--ease), width .25s var(--ease); }
.vid-dot.is-active { background: var(--primary); width: 28px; border-radius: 999px; }

/* =========================================================
   INFORMAÇÕES / TRANSPARÊNCIA — cards premium
   ========================================================= */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.info-card { padding: 1.9rem; }
.info-card--wide { grid-column: 1 / -1; }
.info-card__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.info-card__ico { width: 46px; height: 46px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(80,188,189,.12); border: 1px solid var(--line-teal); }
.info-card__ico svg { width: 24px; height: 24px; stroke: var(--primary-bright); fill: none; }
.info-card__label { font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mut); margin: 0; }
.info-card__value { font-family: Causten, sans-serif; font-weight: 800; font-size: 1.7rem; color: #fff; margin: .15rem 0 0; }
.info-card__value.no { color: var(--accent); }
.info-card__note { font-size: 1rem; color: var(--text-soft); margin: .8rem 0 0; line-height: 1.5; }
/* mini timeline de prazo */
.prazo-flow { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.prazo-step { flex: 1 1 0; min-width: 130px; padding: 1rem; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--line); }
.prazo-step strong { display: block; font-family: Causten, sans-serif; font-size: 1.25rem; color: var(--primary); }
.prazo-step span { font-size: .9rem; color: var(--text-soft); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrapper { max-width: 52rem; margin: 0 auto; display: flex; flex-direction: column; gap: .9rem; }
.accordion { border-radius: var(--r-md); overflow: hidden; background: var(--glass); border: 1px solid var(--line); transition: border-color .3s var(--ease), background .3s var(--ease); }
.accordion.ff-open { border-color: var(--line-teal); background: var(--glass-2); }
.accordion-header { cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem; }
.heading-faq-sub { font-family: Causten, sans-serif; font-weight: 600; font-size: 1.12rem; color: #fff; margin: 0; text-transform: none; }
.accordion-icon-wrapper { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; transition: transform .3s var(--ease); }
.accordion.ff-open .accordion-icon-wrapper { transform: rotate(180deg); }
.accordion-panel { display: none; padding: 0 1.6rem; }
.accordion.ff-open .accordion-panel { display: block; padding: 0 1.6rem 1.4rem; animation: ffFade .3s var(--ease); }
.faq-p { font-size: 1rem; line-height: 1.7; color: var(--text-soft); margin: 0; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem); text-align: center;
  background: linear-gradient(135deg, #131a1a, #0b0d0d); border: 1px solid var(--line-teal);
  /* glow EXTERNO (atrás do cartão) — intermitente */
  animation: ctaOuterGlow 3s ease-in-out infinite;
}
@keyframes ctaOuterGlow {
  0%, 100% { box-shadow: 0 0 0 1px var(--line-teal), 0 0 40px rgba(80,188,189,.20); }
  50%      { box-shadow: 0 0 0 1px var(--primary),   0 0 110px rgba(80,188,189,.55); }
}
/* glow INTERNO (dentro do cartão) — estático */
.cta-final::before { content: ""; position: absolute; width: 380px; height: 380px; left: 50%; top: -180px; transform: translateX(-50%); background: radial-gradient(circle, rgba(80,188,189,.28), transparent 60%); pointer-events: none; opacity: .7; }
.cta-final h2 { position: relative; font-family: Causten, sans-serif; font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; color: #fff; margin: 0 0 1rem; text-transform: none; }
.cta-final p { position: relative; font-size: 1.1rem; color: var(--text-soft); margin: 0 0 2rem; }

/* =========================================================
   MARQUEE — loop infinito SEM espaços, logos maiores
   ========================================================= */
.brands-heading { text-align: center; font-family: Causten, sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.07; letter-spacing: -.015em; color: #fff; margin: 0 auto 2.4rem; text-transform: none; }
.marquee { position: relative; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
/* logos em branco sólido p/ ficarem visíveis sobre o fundo escuro */
.marquee__track img { height: 60px; width: auto; object-fit: contain; margin: 0 3rem; opacity: .7; filter: brightness(0) invert(1); transition: opacity .3s var(--ease); }
.marquee__track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-logo { max-height: 44px; width: auto; }
.footer-socials { display: flex; gap: .8rem; }
.footer-socials a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--glass); transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.footer-socials a:hover { transform: translateY(-3px); border-color: var(--line-teal); background: var(--glass-2); }
.footer-socials img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; }
.footer-line { height: 1px; background: var(--line); margin: 2rem 0; border: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { color: var(--text-mut); font-size: .9rem; margin: 0; }
.footer-contact-link, .footer-policy-link { color: var(--text-soft); text-decoration: none; transition: color .2s; }
.footer-contact-link:hover, .footer-policy-link:hover { color: var(--primary); }

/* =========================================================
   ANIMAÇÕES
   ========================================================= */
[data-reveal], [data-reveal-group] > * { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
[data-reveal].is-visible, [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: .08s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: .16s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: .24s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: .32s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: .40s; }

.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 9s; }
.float--delay { animation-delay: 1.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 991px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-pitch { max-width: none; }
  .pilares-grid { grid-template-columns: 1fr; }
  .feature, .catalog { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: -1; }
  .vid-slide { grid-template-columns: repeat(3, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  /* timeline vira coluna no tablet/mobile */
  .steps { grid-template-columns: 1fr; gap: 1.4rem; padding-left: 2rem; }
  /* linha passando pelo CENTRO do ícone (padding-left 2rem + metade do nó de 68px) */
  .steps::before, .steps::after { left: calc(2rem + 34px); right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: top; }
  .steps.is-visible::after { transform: scaleY(1); }
  .step { flex-direction: row; text-align: left; gap: 1rem; }
  .step__label { max-width: none; }
}
@media (max-width: 700px) {
  .hero-stats { flex-wrap: wrap; gap: 1.4rem; }
  .hero-stats li:not(:last-child) { padding-right: 1.4rem; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .vid-slide { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .vid-arrow--prev { left: 6px; } .vid-arrow--next { right: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .stats-band { grid-template-columns: 1fr; }
  .vid-slide { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, [data-reveal], [data-reveal-group] > *, .float, .marquee__track, .ff-progress-bar::after, .steps::after {
    animation: none !important; transition-duration: .01ms !important;
  }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .steps::after { transform: scaleX(1) !important; }
}
