/* ===== Vectr clone — tokens ===== */
:root {
  --bg: #bcc3c8; /* casa com o fundo do 3D -> seções de conteúdo cobrem o canvas sem "linha" */
  --ink: #050419;
  --paper: #fcfcfc;
  --muted: #c6c5ca;
  --ink-60: rgba(5, 4, 25, 0.6);
  --ink-45: rgba(5, 4, 25, 0.45);
  --maxw: 1280px;
  --pad-x: 80px;
  font-family: "Roboto", sans-serif;

  /* Textura "grain" + azul extraídos do card de lead do CRM Venia (.lc.ia / .lc-body, src/index.css) */
  --card-grain-1: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  --card-grain-2: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  --card-blue: #1e293b;        /* azul/slate do card (--cp-surface/--cp-mid) */
  --card-blue-dk: #0f172a;     /* navy do realce (.lc.ia border) */
  --card-blue-text: #f8fafc;   /* texto claro do card (--cp-text) */

  /* Grain sutil + paleta quente "Venia" (creme/pergaminho + laranja/cobre) — fundo claro elegante */
  --grain-subtle: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  --v-cream: #fdf6e3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Lenis (scroll suave) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 156px;
  font-size: 14px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--ghost { background: rgba(252, 252, 252, 0.15); color: var(--muted); }
.btn--dark:hover, .btn--light:hover { transform: translateY(-2px); }
.btn--ghost:hover { background: rgba(252, 252, 252, 0.28); color: var(--paper); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 80px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav--left a, .nav--right { }
.nav--left a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  color: var(--ink);
}
.nav--left a:hover { opacity: 0.6; }
.nav--right { gap: 12px; }
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
}

/* ===== 3D scene canvas ===== */
.scene-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  /* força o canvas numa camada própria de GPU -> evita "rasgo"/tearing ao rolar */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}
.scene-wrap { position: relative; z-index: 1; }

/* ===== Seção 1: hero estático estilo Poly ===== */
.poly-hero {
  position: relative;
  z-index: 2;                 /* cobre o canvas 3D (z0) enquanto no topo da página */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 9vh var(--pad-x) 60px;
  overflow: hidden;
  background: #e7e0d4;   /* fallback creme */
}
/* Camada de fundo isolada (permite realce de nitidez sem afetar texto/notebook) */
.poly-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('/img/poly-hero-bg.webp') center / cover no-repeat;
  filter: contrast(1.06) saturate(1.06);
}
/* Máscara/vinheta: centro limpo, cantos levemente mais escuros (foco + nitidez percebida) */
.poly-hero__overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(130% 105% at 50% 42%, rgba(5,4,25,0) 40%, rgba(5,4,25,0.32) 100%),
    linear-gradient(180deg, rgba(5,4,25,0.10), rgba(5,4,25,0) 22%);
}
.poly-hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  width: 100%; max-width: 1080px;
}
.poly-hero__title {
  font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -2.4px;
  color: var(--paper); text-shadow: 0 2px 24px rgba(5,4,25,0.28);
}
.poly-hero__title em { font-style: italic; font-weight: 400; }
.poly-hero__sub {
  font-size: 20px; line-height: 1.35; color: rgba(252,252,252,0.92);
  max-width: 560px; text-shadow: 0 1px 14px rgba(5,4,25,0.32);
}
.poly-hero__cta { display: flex; gap: 12px; }
/* Notebook na costura entre o hero e o 3D (imagem real 4500x3000; área de tela pronta p/ vídeo) */
.poly-laptop-wrap {
  position: relative;
  z-index: 5;            /* acima do hero (z2) e do 3D (z1); abaixo do header (z50) */
  height: 0;             /* não ocupa espaço no fluxo: fica na costura entre as seções */
  pointer-events: none;
}
.poly-laptop {
  position: absolute;            /* absoluto: assume a altura natural da imagem (não colapsa p/ 0) */
  top: 0; left: 50%;
  transform: translate(-50%, -71%);  /* tela toda dentro do hero; só o teclado/base vaza p/ o 3D */
  width: min(1760px, 96vw);          /* notebook visível ~1000px (alvo do quadrado de referência) */
  filter: drop-shadow(0 44px 80px rgba(5,4,25,0.45));
}
.poly-laptop__img { width: 100%; height: auto; display: block; position: relative; z-index: 2; }
/* Recorte da tela: o conteúdo fica ATRÁS do PNG e aparece pelo recorte transparente da tela
   (o próprio notebook emoldura/recorta). Coords medidas nos pixels do PNG (tela ~x:27-73%, y:19-63%).
   Vídeo depois: <video autoplay muted loop playsinline> dentro de .poly-laptop__screen. */
.poly-laptop__screen {
  position: absolute;
  z-index: 1;
  left: 26.5%; width: 47%;
  top: 18.5%; height: 45%;
  overflow: hidden;
  background: radial-gradient(120% 120% at 30% 0%, #2a2f45 0%, #11131f 60%, #1b2236 100%);
  display: flex; align-items: center; justify-content: center;
}
.poly-laptop__screen > video,
.poly-laptop__screen > img,
.poly-laptop__screen > iframe {
  width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
}
.poly-laptop__placeholder {
  color: rgba(252,252,252,0.5); font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
}
.poly-hero__scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(252,252,252,0.85); text-shadow: 0 1px 8px rgba(5,4,25,0.4);
}
.poly-hero__scroll-hint span { width: 70px; height: 1px; background: rgba(252,252,252,0.7); display: inline-block; }

@media (max-width: 640px) {
  .poly-hero__title { font-size: 40px; letter-spacing: -1.4px; }
  .poly-hero__sub { font-size: 16px; }
}

/* ===== Hero ===== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 90px;
}
.hero h1 {
  font-size: 96px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -5.76px;
  color: var(--ink);
}
.hero__sub {
  margin-top: 26px;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink);
}
.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll-hint span {
  width: 90px; height: 1px; background: var(--ink-45);
  display: inline-block;
}

/* ===== Flow ===== */
.flow { position: relative; height: 420vh; }
.flow__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.flow__list { list-style: none; max-width: 460px; }
.flow__item { padding: 14px 0; }
.flow__head { display: flex; align-items: center; gap: 18px; }
.flow__num {
  font-size: 12px;
  width: 22px;
  color: var(--ink);
  transition: all 0.3s ease;
}
.flow__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: opacity 0.3s ease;
}
.flow__item:not(.is-active) .flow__title { opacity: 0.55; }
.flow__item:not(.is-active) .flow__num { opacity: 0.55; }
.flow__item.is-active .flow__head { gap: 18px; }
.flow__item.is-active .flow__num {
  background: var(--paper);
  border-radius: 6px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  box-shadow: 0 2px 10px rgba(5, 4, 25, 0.08);
}
.flow__item.is-active .flow__title { font-size: 22px; }
.flow__desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  padding-left: 40px;
  border-left: 1px solid rgba(5, 4, 25, 0.25);
  margin-left: 10px;
  color: var(--ink-60);
  font-size: 16px;
  line-height: 1.55;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
}
.flow__item.is-active .flow__desc {
  max-height: 220px;
  opacity: 1;
  margin-top: 16px;
}

/* ===== Features (fundo azul + textura grain extraídos do card de lead do CRM) ===== */
.features {
  position: relative;
  z-index: 2;
  /* mesma receita do .lc-body (card azul/IA): 2 grains + gradiente diagonal */
  background: var(--card-grain-1), var(--card-grain-2),
    linear-gradient(145deg, var(--card-blue), var(--card-blue-dk));
  background-size: 180px, 120px, 100%;
  color: var(--card-blue-text);
  padding: 140px var(--pad-x) 120px;
}
.features h2 {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -3.2px;
  margin-bottom: 90px;
  color: var(--card-blue-text);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.feature {
  background: transparent;   /* deixa o fundo azul+grain aparecer */
  padding: 40px 28px 0;
  min-height: 320px;
}
.feature__icon { width: 80px; height: 80px; margin-bottom: 90px; filter: brightness(0) invert(1); opacity: 0.92; }
.feature h3 { font-size: 22px; font-weight: 500; margin-bottom: 16px; color: var(--card-blue-text); }
.feature p { font-size: 16px; line-height: 1.5; color: rgba(248, 250, 252, 0.72); }

/* ===== Standards ===== */
.standards {
  position: relative;
  z-index: 2;
  /* fundo "Venia": creme/pergaminho + brilhos laranja/cobre + grain sutil (claro e elegante) */
  background:
    var(--grain-subtle),
    radial-gradient(ellipse at 28% 72%, rgba(249, 115, 22, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 72% 24%, rgba(184, 115, 51, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #fdf6e3 0%, #f5edd7 30%, #ece2cc 55%, #f5edd7 80%, #fdf6e3 100%);
  background-size: 160px, 100%, 100%, 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 120px var(--pad-x);
}
.standards__media img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.standards__body h2 {
  font-size: 64px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -3.2px;
  margin-bottom: 28px;
}
.standards__body p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-60);
  max-width: 460px;
  margin-bottom: 36px;
}

/* ===== Carrossel de seleção de agentes (visual estático, recriado do estúdio Venia) ===== */
.agent-carousel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.ac-track {
  position: relative; width: 100%; height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.ac-card {
  position: absolute; width: 290px; height: 380px; border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(5, 4, 25, 0.08);
  box-shadow: 0 10px 30px rgba(5, 4, 25, 0.18);
  background: #1e293b;
  opacity: 0;   /* o JS (ui.js) aplica is-active/is-left/is-right e revela */
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, opacity 0.45s ease;
}
.ac-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; position: relative; z-index: 1; }
.ac-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; font-weight: 700; color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #334155, #1e293b);
}
.ac-card.is-active {
  transform: translateX(0) scale(1); opacity: 1; z-index: 3;
  box-shadow: 0 18px 48px rgba(5, 4, 25, 0.3), 0 0 30px rgba(249, 115, 22, 0.25);
  border-color: rgba(249, 115, 22, 0.3);
}
.ac-card.is-left  { transform: translateX(-56%) scale(0.8); opacity: 0.5; filter: saturate(0.85); z-index: 1; cursor: pointer; }
.ac-card.is-right { transform: translateX(56%)  scale(0.8); opacity: 0.5; filter: saturate(0.85); z-index: 1; cursor: pointer; }
.ac-card.is-hidden { transform: scale(0.7); opacity: 0; pointer-events: none; z-index: 0; }
.ac-card.is-selected {
  border-color: #f97316;
  box-shadow: 0 18px 48px rgba(5, 4, 25, 0.3), 0 0 0 3px rgba(249, 115, 22, 0.55), 0 0 30px rgba(249, 115, 22, 0.4);
}
.ac-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 18px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), transparent);
  font-weight: 600; font-size: 16px; color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: opacity 0.35s ease;
}
.ac-card.is-active .ac-label { opacity: 0; }
.ac-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px;
  padding: 22px;
  background: linear-gradient(230deg, transparent 30%, rgba(15, 23, 42, 0.9));
  opacity: 0; transition: opacity 0.35s ease;
}
.ac-card.is-active .ac-overlay { opacity: 1; }
.ac-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.ac-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f97316; }
.ac-name { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.ac-focus { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); max-width: 240px; margin: 0; }
.ac-select {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  padding: 10px 18px; border: none; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
  background: linear-gradient(168deg, #fb923c, #f97316, #ea580c);
  border-bottom: 3px solid #c2410c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 3px 3px 10px rgba(0, 0, 0, 0.3);
}
.ac-select svg { display: block; }
.ac-dots { display: flex; align-items: center; gap: 8px; }
.ac-dots button { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: rgba(5, 4, 25, 0.18); cursor: pointer; transition: all 0.3s ease; }
.ac-dots button:hover { background: rgba(5, 4, 25, 0.35); }
.ac-dots button.is-active { width: 22px; border-radius: 8px; background: #f97316; box-shadow: 0 2px 10px rgba(249, 115, 22, 0.4); }

/* Setas de navegação */
.ac-arrow {
  position: absolute; top: 190px; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(5, 4, 25, 0.1);
  background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(5, 4, 25, 0.14);
  transition: background 0.2s ease, transform 0.2s ease;
}
.ac-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.ac-arrow svg { display: block; }
.ac-arrow--prev { left: -8px; }
.ac-arrow--next { right: -8px; }

/* ===== "O que fazemos e como fazemos" — bento grid (distribuição da referência) ===== */
.how {
  position: relative; z-index: 2; color: #fff;
  padding: 100px var(--pad-x);
  background:
    radial-gradient(ellipse at 18% 18%, rgba(249, 115, 22, 0.16) 0%, transparent 46%),
    radial-gradient(ellipse at 86% 82%, rgba(184, 115, 51, 0.14) 0%, transparent 46%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
}
.bento { max-width: 1120px; margin: 0; display: flex; gap: 16px; align-items: stretch; }
.bento-aside { display: flex; flex-direction: column; gap: 16px; flex: 0 0 116px; }
.bento-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bento-row { display: flex; gap: 16px; }
.bento-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.06), transparent 60%);
  border-radius: 22px; padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.bento-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.18); }

/* Linha 1 — hero + avatar */
.bento-hero { flex: 2.8; display: flex; flex-direction: column; justify-content: center; min-height: 124px; }
.bento-hero__title { font-size: 30px; font-weight: 600; }
.bento-hero__sub { margin-top: 8px; font-size: 18px; color: rgba(255, 255, 255, 0.55); display: flex; align-items: center; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; background: rgba(255, 255, 255, 0.85); animation: caretBlink 1.1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.bento-avatar { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 124px; }
.bento-wave { font-size: 60px; line-height: 1; display: inline-block; transform-origin: 70% 80%; animation: wave 2.6s ease-in-out infinite; }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0); } 12% { transform: rotate(16deg); } 24% { transform: rotate(-8deg); } 36% { transform: rotate(14deg); } 48% { transform: rotate(-4deg); } }

/* Linha 2 — 5 ícones */
.bento-icon { flex: 1; min-height: 84px; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.55); }
.bento-icon:hover { color: #fff; }
.bento-icon svg { width: 30px; height: 30px; transition: transform 0.3s ease; }
.bento-icon:hover svg { transform: scale(1.18); }

/* Linha 3 — Projetos + Serviços */
.bento-projects { flex: 1.38; min-height: 206px; display: flex; flex-direction: column; }
.bento-card__head { display: flex; align-items: center; justify-content: space-between; }
.bento-label { font-size: 16px; color: rgba(255, 255, 255, 0.7); }
.bento-arrow { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background-color 0.3s ease; }
.bento-projects:hover .bento-arrow { transform: translate(2px, -2px); background: rgba(255, 255, 255, 0.12); }
.bento-mockup { margin-top: auto; height: 140px; border-radius: 12px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.bento-services { flex: 1; min-height: 206px; position: relative; overflow: hidden; }
.bento-services .bento-label { position: relative; z-index: 1; }
/* Campos flutuáveis (Serviços/Ferramentas): área abaixo do label onde os itens flutuam/arrastam */
.bento-pills, .bento-tools__field { position: absolute; left: 20px; right: 20px; top: 56px; bottom: 20px; }
.floaty-item {
  position: absolute; top: 0; left: 0;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform;
}
.floaty-item.dragging { cursor: grabbing; z-index: 5; }
.pill {
  padding: 8px 16px; border-radius: 9999px; font-size: 14px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

/* Linha 4 — Ferramentas + Colaboração */
.bento-tools { flex: 1; min-height: 186px; position: relative; overflow: hidden; }
.bento-tools .bento-label { position: relative; z-index: 1; }
.tool { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28); }
.bento-collab { flex: 1.5; min-height: 186px; display: flex; flex-direction: column; }
.bento-collab__title { font-size: 30px; font-weight: 600; }
.bento-collab__sub { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.6); max-width: 340px; }
.btn-collab { margin-top: auto; align-self: flex-start; padding: 12px 22px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-size: 14px; transition: background-color 0.25s ease; }
.btn-collab:hover { background: rgba(255, 255, 255, 0.12); }

@media (max-width: 760px) {
  .how { padding: 72px 20px; }
  .bento { flex-direction: column; }
  .bento-aside { flex-direction: row; flex: 0 0 auto; }
  .bento-icon { aspect-ratio: 1 / 0.92; min-height: 0; }
  .bento-row { flex-wrap: wrap; }
  .bento-hero, .bento-avatar, .bento-projects, .bento-services, .bento-tools, .bento-collab { flex: 1 1 100%; }
  .bento-avatar { min-height: 120px; }
}

/* ===== FAQ ===== */
.faq {
  position: relative;
  z-index: 2;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 120px var(--pad-x);
  align-items: start;
}
.faq__heading {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.6px;
  max-width: 420px;
}
.faq__item { border-bottom: 1px solid rgba(5, 4, 25, 0.12); }
.faq__q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.faq__chevron { width: 20px; height: 20px; transition: transform 0.3s ease; flex: 0 0 auto; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq__item.is-open .faq__a { max-height: 320px; }
.faq__a p {
  padding-bottom: 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 90%;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: var(--paper);
  padding: 110px var(--pad-x);
}
.cta h2 {
  font-size: 80px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -4px;
  margin-bottom: 36px;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: var(--paper);
  padding: 0 var(--pad-x) 40px;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(252, 252, 252, 0.12);
}
.footer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 24px;
  font-size: 32px;
  font-weight: 500;
  border-right: 1px solid rgba(252, 252, 252, 0.12);
  transition: background 0.25s ease;
}
.footer__nav a:last-child { border-right: none; }
.footer__nav a:hover { background: rgba(252, 252, 252, 0.04); }
.footer__nav a img { width: 26px; height: 26px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 120px;
  font-size: 13px;
  color: rgba(252, 252, 252, 0.6);
}
.footer__legal { display: flex; align-items: center; gap: 28px; }
.footer__legal a:hover { color: var(--paper); }
.footer__credit { color: rgba(252, 252, 252, 0.4); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; }
  .hero h1 { font-size: 68px; letter-spacing: -3px; }
  .features h2, .standards__body h2 { font-size: 48px; letter-spacing: -2px; }
  .cta h2 { font-size: 56px; letter-spacing: -2.5px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .standards, .faq { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  .nav--left { display: none; }
  .site-header { padding: 0 16px; }
  .logo { position: static; left: auto; transform: none; margin-right: auto; font-size: 20px; }
  .btn--ghost { display: none; } /* keep only Request Crews on mobile */
  .btn { height: 40px; padding: 0 18px; font-size: 12px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 44px; letter-spacing: -1.8px; }
  .hero__sub { font-size: 17px; }
  .hero__sub br { display: none; }
  .features { padding: 80px 20px; }
  .features h2 { font-size: 34px; letter-spacing: -1.2px; margin-bottom: 48px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; padding: 32px 0; border-bottom: 1px solid rgba(5,4,25,0.12); }
  .feature__icon { margin-bottom: 28px; }
  .standards__body h2 { font-size: 38px; }
  .cta h2 { font-size: 36px; letter-spacing: -1.4px; }
  .faq__heading { font-size: 28px; }
  .footer__nav { grid-template-columns: 1fr; }
  .footer__nav a { border-right: none; border-bottom: 1px solid rgba(252,252,252,0.12); font-size: 24px; }
  .footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; padding-top: 60px; }
  .flow__item.is-active .flow__title { font-size: 18px; }
}
