/* ============================================================
   TOKENS — PRIMITIVES
   Valores base do Figma. Não usar diretamente no CSS —
   referenciar sempre pelo mapped token.
   ============================================================ */
:root {
  --primitive-red:       #cf171d;
  --primitive-green:     #1da509;
  --primitive-black:     #050505;
  --primitive-black-soft:#0d0c0d;
  --primitive-dark:      #1F1E1E;
  --primitive-mid:       #343232;
  --primitive-off-white: #fafafa;
  --primitive-grey:      #c1bebe;
  --primitive-grey-light:#dad8d8;
  --primitive-grey-soft: #e6e5e5;
  --primitive-grey-bg:   #f0efef;
  --primitive-white:     #ffffff;
}

/* ============================================================
   TOKENS — MAPPED (Figma: collections color-surface, color-text,
   color-icons, padding, max-widht, scale)
   ============================================================ */
:root {
  /* color-surface */
  --color-surface-red:             var(--primitive-red);
  --color-surface-green:           var(--primitive-green);
  --color-surface-light-primary:   var(--primitive-grey-bg);   /* #f0efef */
  --color-surface-light-secondary: var(--primitive-grey-soft); /* #e6e5e5 — cards */
  --color-surface-dark-primary:    var(--primitive-black);     /* #050505 — fundo global escuro */
  --color-surface-dark-secondary:  var(--primitive-black-soft);/* #0d0c0d — cards de vídeo */

  /* color-text */
  --color-text-light-primary:   var(--primitive-grey-bg);    /* #f0efef */
  --color-text-light-secondary: var(--primitive-grey);       /* #c1bebe */
  --color-text-dark-primary:    var(--primitive-dark);       /* #1f1e1e */
  --color-text-dark-secondary:  var(--primitive-mid);        /* #343232 */
  --color-text-red-primary:     var(--primitive-red);        /* #cf171d */

  /* color-icons */
  --color-icons-light-primary: var(--primitive-off-white);

  /* border */
  --border-light-secondary: var(--primitive-grey-light);     /* #dad8d8 */
  --border-light-primary:   var(--primitive-grey-soft);      /* #e6e5e5 */
  --border-dark-secondary:  var(--primitive-dark);           /* #1f1e1e */

  /* padding (Figma: padding/medium → extra-big) */
  --padding-medium:       12px;
  --padding-large:        16px;
  --padding-extra-large:  20px;
  --padding-big:          24px;
  --padding-extra-big:    40px;

  /* max-widht (typo do Figma mantida como referência) */
  --max-width-medium:       1120px;
  --max-width-large:        1280px;
  --max-width-extra-small:  640px;

  /* border-radius */
  --border-radius-small:  8px;
  --border-radius-medium: 16px;
  --border-radius-big:    999px;

  /* scale */
  --scale-40:  40px;
  --scale-64:  64px;
  --scale-80:  80px;
  --scale-120: 120px;
}

/* ============================================================
   TOKENS — ALIASES DE USO
   Atalhos curtos para o código. Derivados dos mapped tokens.
   Hover states (red-dark, green-dark) não existem no Figma —
   derivados manualmente para estados de interação.
   ============================================================ */
:root {
  --red:        var(--color-surface-red);
  --red-dark:   #a11217;                     /* color-surface/red-hover */
  --green:      var(--color-surface-green);
  --green-dark: #167a06;                      /* hover derivado de #1da509 */
  --dark:       var(--primitive-dark);
  --mid:        var(--primitive-mid);
  --white:      var(--primitive-white);
  --grey-light:  var(--color-text-light-secondary);

  --font:      'Google Sans Flex', sans-serif;
  --container: var(--max-width-medium);

  /* Espaçamento utilitário (alinhado com padding/* do Figma) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  var(--padding-medium);       /* 12 */
  --space-4:  var(--padding-large);        /* 16 */
  --space-5:  var(--padding-extra-large);  /* 20 */
  --space-6:  var(--padding-big);          /* 24 */
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--color-text-light-primary); background: var(--color-surface-dark-primary); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* Foco acessível — aparece só via teclado */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link — visível só quando focado via teclado */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--red);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: 0 0 8px 8px;
  z-index: 999;
  transition: top 200ms ease;
}
.skip-link:focus { top: 0; }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (min-width: 768px) { .container { padding: 0 var(--space-10); } }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font);
  font-size: 1rem; /* Body 2: 16px */
  font-weight: 600;
  letter-spacing: -0.5px;
  border-radius: var(--border-radius-big); /* 999px — pill */
  padding: var(--padding-large) var(--padding-extra-large); /* 16 / 20 */
  border: none;
  cursor: pointer;
  transition: background-color 200ms ease, opacity 200ms ease;
}
.btn--primary {
  background: var(--color-surface-red);
  color: var(--color-text-light-primary);
}
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost {
  background: transparent;
  color: var(--white);
}
.btn--ghost:hover { opacity: 0.75; }

/* CTA pill verde — componente compartilhado (Números, Problema, Cultura, Na Prática) */
.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 40px;
  padding: 0 var(--padding-large); /* 16px */
  background: var(--color-surface-green);
  color: var(--color-text-light-primary);
  font-size: 0.8125rem; /* Body 3: 13px */
  font-weight: 600;
  letter-spacing: -0.25px;
  border-radius: var(--border-radius-big); /* 999px */
  transition: background-color 200ms ease;
}
.cta-pill:hover { background: var(--green-dark); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-5) 0;
  transition: background-color 320ms ease, padding 320ms ease, box-shadow 320ms ease;
}
.nav--scrolled {
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: var(--space-3) 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.nav--scrolled .nav__logo { color: var(--white); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  height: 32px;
  width: auto;
  color: var(--white);
  transition: color 320ms ease;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.25px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--border-radius-big); /* 999px — pill */
  transition: background-color 200ms ease;
  white-space: nowrap;
}
.nav__cta:hover,
.nav--scrolled .nav__cta:hover { background: var(--green-dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 98svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--padding-big); /* 24px mobile */
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero {
    padding-bottom: var(--scale-80); /* 80px desktop */
  }
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/bni-hero-bg-mobile.jpg');
  background-size: cover;
  background-position: center center;
  z-index: 0;
}
@media (min-width: 768px) {
  .hero__bg {
    background-image: url('assets/bni-hero-bg.jpg');
    background-position: center top;
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.25) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.25) 100%);
}
.hero > .container {
  position: relative;
  z-index: 3;
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--max-width-extra-small);
  display: flex;
  flex-direction: column;
  gap: var(--padding-big); /* 24px mobile */
}
@media (min-width: 768px) {
  .hero__content {
    gap: var(--padding-big); /* 24px desktop */
  }
}
@media (max-width: 767px) {
  .hero__content { padding-bottom: var(--space-4); } /* 16px — respiro acima do ticker */
}
.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light-primary);
  font-size: 0.8125rem; /* 13px mobile — evita quebra */
  font-weight: 600;
  letter-spacing: -0.5px;
}
@media (min-width: 768px) {
  .hero__tagline { font-size: 1rem; } /* Body 2: 16px */
}
.hero__tagline::before {
  content: '';
  display: block;
  width: 2px;
  height: 16px;
  background: var(--color-surface-red);
  flex-shrink: 0;
}
.hero__headline {
  font-size: 2.25rem; /* Display 1 Mobile: 36px */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text-light-primary);
  transition: opacity 600ms ease;
  will-change: opacity;
}
@media (min-width: 768px) {
  .hero__headline {
    font-size: 3.5rem; /* Display 1: 56px */
    letter-spacing: -1px; /* Display 1: -1 */
  }
}
.hero__sub {
  font-size: 0.8125rem; /* Paragraph 3 Mobile: 13px */
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-light-secondary);
}
@media (min-width: 768px) {
  .hero__sub {
    font-size: 1.125rem; /* Paragraph 1 Desktop: 18px */
  }
}
.hero__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4); /* 16px */
}
/* "Conhecer mais" só no desktop */
@media (max-width: 767px) {
  .hero__actions .btn--ghost { display: none; }
}

/* ============================================================
   TICKER — faixa vermelha com frases em loop infinito
   ============================================================ */
.ticker {
  background: var(--color-surface-red);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  width: max-content;
  list-style: none;
  animation: ticker-scroll 40s linear infinite;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: var(--padding-large) 0; /* 16px mobile */
  font-size: 0.8125rem;          /* 13px mobile */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.25px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-text-light-primary);
}
/* O ponto separador é embutido em cada item — garante loop perfeito */
.ticker__item::after {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-light-primary);
  opacity: 0.5;
  margin: 0 24px; /* gap mobile */
}
@media (min-width: 768px) {
  .ticker__item { font-size: 1.25rem; padding: var(--padding-big) 0; } /* 20px / 24px */
  .ticker__item::after { margin: 0 40px; }     /* gap desktop 80px (40+40) */
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker { overflow-x: auto; }
}

/* ============================================================
   DEPOIMENTOS — vídeos (embeds do YouTube) + carrossel
   ============================================================ */
.testimonials {
  background: var(--color-surface-dark-primary); /* #050505 */
  padding: var(--space-10) 0; /* 40px mobile */
}
@media (min-width: 768px) {
  .testimonials { padding: var(--scale-80) 0; } /* 80px desktop */
}
.testimonials__inner {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--padding-extra-big); /* 40px */
}

/* Cabeçalho */
.testimonials__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.testimonials__title {
  width: 100%;
  max-width: 800px;
  font-size: 2rem; /* 32px mobile */
  font-weight: 600;
  line-height: 1.10;
  letter-spacing: -0.75px;
  text-align: left;
  color: var(--color-text-light-primary);
}
@media (min-width: 768px) {
  .testimonials__title { font-size: 2.25rem; line-height: 1.25; text-align: center; } /* Heading 1: 36px */
}

/* Carrossel */
.testimonials__carousel {
  position: relative;
  width: 100%;
  max-width: 1200px; /* abre 40px de cada lado p/ as setas (1120 + 2×40) */
  margin: 0 auto;
}
.testimonials__videos {
  display: flex;
  gap: var(--space-4); /* 16px */
  width: 100%;
  max-width: var(--max-width-medium);
  margin: 0 auto;
  /* mobile: carrossel horizontal com snap */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.testimonials__videos::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  /* desktop: 3 cards lado a lado, sem scroll */
  .testimonials__videos { overflow: visible; }
}

/* Card de vídeo (fachada → carrega o embed só no clique) — formato vertical 9:16 */
.video-card {
  position: relative;
  flex: 0 0 78%; /* mobile: ~1,3 cards visíveis */
  aspect-ratio: 1080 / 1920;
  scroll-snap-align: start;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--color-surface-dark-secondary); /* #0d0c0d */
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: block;
}
@media (min-width: 768px) {
  /* cada card divide a largura igualmente (3 visíveis) */
  .video-card { flex: 1 1 0; }
}
.video-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: var(--color-icons-light-primary);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.video-card:hover .video-card__play {
  background: var(--color-surface-red);
  border-color: var(--color-surface-red);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-card iframe,
.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
}

/* Setas de navegação — chevrons escuros, sem botão */
.carousel__arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  padding: 0;
  color: var(--color-text-light-primary);
  cursor: pointer;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background-color 200ms ease;
}
.carousel__arrow:hover { background: rgba(0, 0, 0, 0.7); }
.carousel__arrow--prev { left: 8px; }
.carousel__arrow--next { right: 8px; }
/* aparecem quando há mais vídeos do que cabem — inclui o mobile (classe via JS) */
.testimonials__carousel.is-scrollable .carousel__arrow { display: inline-flex; }

/* ============================================================
   NÚMEROS — prova social em métricas
   ============================================================ */
.stats-section {
  background: var(--color-surface-dark-primary); /* #050505 */
}
.stats-section__inner {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--padding-extra-big); /* 40px */
  padding: var(--space-10) 0; /* 40px mobile */
}
@media (min-width: 768px) {
  .stats-section__inner { padding: var(--scale-80) 0; } /* 80px desktop */
}

/* Grid de stats — mobile: empilhado; desktop: linha com divisores */
.stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-6); /* 24px */
  width: 100%;
}
.stat {
  display: flex;
  align-items: center;
  gap: var(--space-6); /* 24px */
}
.stat__num {
  font-size: 2.75rem; /* 44px mobile */
  font-weight: 600;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--color-text-light-primary);
  white-space: nowrap;
}
.stat__plus { color: var(--color-surface-red); }
.stat__label {
  font-size: 1rem; /* 16px mobile */
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text-light-primary);
}
.stats__divider {
  flex-shrink: 0;
  width: 100%;
  height: 1px;
  background: var(--border-dark-secondary); /* #1f1e1e */
}
@media (min-width: 768px) {
  .stats { flex-direction: row; align-items: center; }
  .stat { flex: 1 1 0; }
  .stat__num { font-size: 3.5rem; } /* 56px */
  .stat__label { font-size: 1.3125rem; } /* 21px */
  .stats__divider { width: 1px; height: 96px; }
}

/* ============================================================
   PROBLEMA — copy + 4 badges de dor (fundo escuro)
   ============================================================ */
.problem {
  background: var(--color-surface-dark-primary); /* #050505 */
}
.problem__inner {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--padding-extra-big); /* 40px */
  padding: var(--space-10) 0; /* 40px mobile */
}
@media (min-width: 768px) {
  .problem__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--scale-80); /* 80px */
    padding: var(--scale-80) 0; /* 80px desktop */
  }
}

/* Coluna de texto */
.problem__copy {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--padding-big); /* 24px */
}
.problem__title {
  font-size: 2rem; /* 32px mobile */
  font-weight: 600;
  line-height: 1.10;
  letter-spacing: -0.75px;
  color: var(--color-text-light-primary);
}
@media (min-width: 768px) {
  .problem__title { font-size: 2.25rem; line-height: 1.25; } /* Heading 1: 36px */
}
.problem__title-em { color: var(--color-text-red-primary); }
.problem__lead {
  font-size: 1rem; /* Paragraph 2: 16px */
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--color-text-light-secondary);
}
/* Mobile: gap menor, botão vai para depois dos cards e não ocupa a largura toda */
@media (max-width: 767px) {
  .problem__inner { gap: var(--space-6); } /* 24px */
  .problem__copy { display: contents; }    /* promove título/lead/cta para o inner */
  .problem__title  { order: 1; }
  .problem__lead   { order: 2; }
  .problem__badges { order: 3; }
  .problem__cta    { order: 4; align-self: flex-start; }
}

/* Coluna de badges */
.problem__badges {
  flex: 1 1 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--padding-medium); /* 12px */
  width: 100%;
}
.problem-badge {
  display: flex;
  align-items: center;
  gap: var(--space-4); /* 16px */
  background: var(--color-surface-red);
  color: var(--color-text-light-primary);
  border-radius: 12px;
  padding: var(--padding-big); /* 24px */
}
.problem-badge__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.problem-badge__icon svg {
  display: block;
  width: 40px;
  height: 40px;
}
.problem-badge__text {
  font-size: 1.125rem; /* Heading 4 Mobile: 18px */
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--color-text-light-primary);
}
@media (min-width: 768px) {
  .problem-badge__text { font-size: 1.25rem; } /* 20px */
}

/* ============================================================
   ESPECIALIDADES — ticker de nichos (pills em loop)
   ============================================================ */
.specialties {
  background: var(--color-surface-dark-primary); /* #050505 */
  overflow: hidden;
}
.specialties__inner {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--padding-extra-big); /* 40px */
  padding: var(--space-10) 0; /* 40px mobile */
}
@media (min-width: 768px) {
  .specialties__inner { padding: var(--scale-80) 0; } /* 80px desktop */
}
.specialties__title {
  max-width: 800px;
  font-size: 1.75rem; /* Heading 1 Mobile: 28px */
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.75px;
  text-align: center;
  color: var(--color-text-light-primary);
}
@media (min-width: 768px) {
  .specialties__title { font-size: 2.25rem; } /* Heading 1: 36px */
}

/* Fileiras de pills — full-bleed p/ o marquee correr de ponta a ponta */
.specialties__rows {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: var(--space-6); /* 24px */
}
.pill-ticker {
  width: 100%;
  overflow: hidden;
}
.pill-ticker__track {
  display: flex;
  width: max-content;
  list-style: none;
  animation: pill-scroll 80s linear infinite;
}
.pill-ticker__track--reverse { animation-direction: reverse; }

.pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--padding-medium); /* 12px — vira o "gap" do loop */
  padding: 14px var(--padding-large); /* 14 / 16 */
  border-radius: var(--border-radius-big); /* 999px */
  font-size: 1rem; /* Body 2: 16px */
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.5px;
  white-space: nowrap;
  color: var(--color-text-light-primary);
}
.pill:nth-child(odd)  { background: var(--color-surface-red); } /* #cf171d */
.pill:nth-child(even) { background: var(--red-dark); }         /* #a11217 */

@keyframes pill-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .pill-ticker__track { animation: none; }
  .pill-ticker { overflow-x: auto; }
}

/* ============================================================
   CULTURA — 3 cards do que o BNI entrega
   ============================================================ */
.culture {
  background: var(--color-surface-dark-primary); /* #050505 */
}
.culture__inner {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--padding-extra-big); /* 40px */
  padding: var(--space-10) 0; /* 40px mobile */
}
@media (min-width: 768px) {
  .culture__inner { padding: var(--scale-80) 0; } /* 80px desktop */
}
.culture__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4); /* 16px */
  width: 100%;
}
@media (min-width: 768px) {
  .culture__cards { grid-template-columns: repeat(3, 1fr); }
}
.culture-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-6); /* 24px */
  padding: var(--space-8); /* 32px mobile */
  border: 1px solid var(--color-surface-red);
  border-radius: var(--border-radius-medium); /* 16px */
  background: linear-gradient(to top, rgba(5,5,5,0) 0%, rgba(207,23,29,0.2) 100%);
}
@media (min-width: 768px) {
  .culture-card {
    min-height: 296px;
    padding: var(--padding-extra-big); /* 40px */
  }
}
.culture-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  padding: var(--padding-medium); /* 12px */
  background: var(--color-surface-red);
  color: var(--color-icons-light-primary);
  border-radius: var(--border-radius-small); /* 8px */
}
.culture-card__icon svg {
  width: 100%;
  height: 100%;
}
.culture-card__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5); /* 20px */
}
.culture-card__title {
  font-size: 1.25rem; /* Heading 4: 20px */
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--color-text-light-primary);
}
.culture-card__desc {
  font-size: 0.8125rem; /* Paragraph 3: 13px */
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-light-secondary);
}

/* ============================================================
   COMO FUNCIONA — passo a passo + imagem (fundo escuro)
   ============================================================ */
.how {
  background: var(--color-surface-dark-primary); /* #050505 */
}
.how__inner {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-12); /* 48px mobile */
  padding: var(--space-10) 0; /* 40px mobile */
}
@media (min-width: 768px) {
  .how__inner {
    gap: var(--scale-64); /* 64px */
    padding: var(--scale-80) 0; /* 80px desktop */
  }
}

/* Cabeçalho centralizado */
.how__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4); /* 16px */
  text-align: center;
}
.how__title {
  max-width: 800px;
  font-size: 1.75rem; /* Heading 1 Mobile: 28px */
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.75px;
  color: var(--color-text-light-primary);
}
@media (min-width: 768px) {
  .how__title { font-size: 2.25rem; } /* Heading 1: 36px */
}
.how__sub {
  max-width: 800px;
  font-size: 1rem; /* Paragraph 2: 16px */
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.25px;
  color: var(--color-text-light-secondary);
}

/* Conteúdo: passos (esquerda) + imagem (direita) */
.how__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-10); /* 40px mobile */
  align-items: stretch;
}
@media (min-width: 768px) {
  .how__content {
    flex-direction: row;
    gap: var(--scale-80); /* 80px */
    align-items: flex-start;
  }
}
.how__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: var(--padding-extra-big); /* 40px */
  align-items: flex-start;
}
.how__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  background: var(--color-surface-light-primary);
  order: -1; /* mobile: foto acima dos itens */
}
.how__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .how__media {
    flex: 1 1 0;
    width: auto;
    order: 0;
    position: sticky;
    top: 96px; /* gruda abaixo do menu e solta no fim dos passos */
    align-self: flex-start;
  }
}

/* Lista de passos */
.how__steps {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: var(--padding-extra-big); /* 40px */
}
.how-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-2); /* 8px mobile */
  padding-bottom: var(--padding-big); /* 24px mobile */
  border-bottom: 1px solid var(--red-dark); /* #a11217 */
}
@media (min-width: 768px) {
  .how-step { gap: var(--space-6); padding-bottom: var(--padding-extra-big); } /* 24px / 40px desktop */
}
.how-step__head {
  display: flex;
  align-items: center;
  gap: var(--space-2); /* 8px mobile */
}
@media (min-width: 768px) {
  .how-step__head { gap: var(--space-4); } /* 16px desktop */
}
.how-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--color-surface-red);
  color: var(--color-text-light-primary);
  border-radius: var(--border-radius-small); /* 8px */
  font-size: 1.5rem; /* Heading 3: 24px */
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.75px;
}
.how-step__title {
  font-size: 1.25rem; /* 20px mobile */
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.75px;
  color: var(--color-text-light-primary); /* #f0efef */
}
@media (min-width: 768px) {
  .how-step__title { font-size: 1.5rem; } /* Heading 3: 24px desktop */
}
.how-step__desc {
  font-size: 1rem; /* Paragraph 2: 16px */
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.25px;
  color: var(--color-text-light-secondary);
}

/* ============================================================
   FORMULÁRIO — captação de lead (copy + card branco)
   ============================================================ */
.form-section {
  background: var(--color-surface-dark-primary); /* #050505 */
}
.form-section__inner {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--padding-extra-big); /* 40px */
  padding: var(--space-10) 0; /* 40px mobile */
}
@media (min-width: 768px) {
  .form-section__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--scale-80); /* 80px */
    padding: var(--scale-80) 0; /* 80px desktop */
  }
}
.form-section__copy {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: var(--padding-big); /* 24px */
}
.form-section__title {
  font-size: 2rem; /* 32px mobile */
  font-weight: 600;
  line-height: 1.10;
  letter-spacing: -0.75px;
  color: var(--color-text-light-primary);
}
@media (min-width: 768px) {
  .form-section__title { font-size: 2.25rem; line-height: 1.25; } /* Heading 1: 36px */
}
.form-section__lead {
  font-size: 1rem; /* Paragraph 2: 16px */
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.25px;
  color: var(--color-text-light-secondary);
}

/* Card do formulário */
.lead-form {
  flex: 1 1 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--padding-extra-big); /* 40px */
  padding: var(--space-6); /* 24px */
  background: var(--color-surface-light-primary); /* #f0efef */
  border-radius: var(--border-radius-medium); /* 16px */
}
.lead-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--padding-big); /* 24px */
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2); /* 8px */
}
.field__label {
  font-size: 1rem; /* Paragraph 2: 16px */
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--color-text-dark-primary); /* #1f1e1e */
}
.field__input,
.field__control {
  display: flex;
  align-items: center;
  gap: var(--space-2); /* 8px */
  width: 100%;
  height: 48px;
  padding: 0 var(--padding-large); /* 16px */
  background: var(--color-surface-light-secondary); /* #e6e5e5 */
  border: 1px solid var(--border-light-secondary); /* #dad8d8 */
  border-radius: var(--border-radius-small); /* 8px */
}
.field__input,
.field__control input {
  font-family: var(--font);
  font-size: 0.8125rem; /* 13px */
  font-weight: 400;
  letter-spacing: -0.25px;
  color: var(--color-text-dark-primary);
}
.field__input::placeholder,
.field__control input::placeholder {
  color: var(--color-text-dark-secondary); /* #343232 */
  opacity: 1;
}
.field__control input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0;
}
.field__input:focus,
.field__control:focus-within {
  outline: 2px solid var(--color-surface-red);
  outline-offset: 1px;
}
.field__control input:focus { outline: none; }
.field__flag {
  display: inline-flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.field__flag svg { width: 16px; height: 16px; border-radius: 2px; }

.lead-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2); /* 8px */
  width: 100%;
  padding: var(--padding-large) var(--padding-extra-large); /* 16 / 20 */
  background: var(--color-surface-red);
  color: var(--color-text-light-primary);
  font-family: var(--font);
  font-size: 1rem; /* 16px */
  font-weight: 600;
  letter-spacing: -0.64px;
  border: none;
  border-radius: var(--border-radius-big); /* 8px */
  cursor: pointer;
  transition: background-color 200ms ease;
}
.lead-form__submit:hover { background: var(--red-dark); }
.lead-form__submit:disabled { opacity: 0.65; cursor: progress; }

/* honeypot anti-spam — fora da tela, sem afetar layout */
.lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* campo com erro de validação */
.field--error .field__input,
.field--error .field__control {
  border-color: var(--color-surface-red);
  outline: 2px solid var(--color-surface-red);
  outline-offset: 1px;
}

/* mensagem de status do envio */
.lead-form__status {
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.25px;
  margin-top: calc(-1 * var(--padding-big)); /* aproxima do botão */
}
.lead-form__status:empty { display: none; }
.lead-form__status.is-success { color: var(--green-dark); }
.lead-form__status.is-error { color: var(--red-dark); }

/* ============================================================
   RODAPÉ — barra vermelha
   ============================================================ */
.footer {
  background: var(--color-surface-red); /* #cf171d */
}
.footer__inner {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: var(--padding-extra-big) 0; /* 40px */
  text-align: center;
  color: var(--color-text-light-primary);
}
.footer__copy {
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  line-height: 1.4;
}
.footer__legal {
  font-size: 0.6875rem; /* 11px */
  font-weight: 400;
  line-height: 1.4;
  max-width: 900px;
}

/* ============================================================
   DECORAÇÃO — gráfico de fundo + glows vermelhos radiais
   ============================================================ */
.decor-group {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(75% 55% at 108% 20%, rgba(207,23,29,0.24), transparent 72%),
    var(--color-surface-dark-primary); /* #050505 */
}
/* seções dentro do bloco ficam transparentes p/ revelar o gráfico */
.decor-group > section {
  position: relative;
  z-index: 1;
  background: transparent;
}
.decor-group__chart {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.decor-group__chart img {
  display: block;
  width: 100%;
  height: auto;
}

/* glow vermelho à esquerda, na região do "Como funciona" */
.how {
  background:
    radial-gradient(72% 55% at -8% 28%, rgba(207,23,29,0.22), transparent 72%),
    var(--color-surface-dark-primary); /* #050505 */
}
