/* ============================================================
   ProAgentes — home (medidas: 02-anatomia.md §A, 18 seções)
   ============================================================ */

/* [00] herói — SINTRA2 (27/08): o bloco de texto centra na vertical e o CTA fica DENTRO da
   primeira dobra (na referência o pill azul termina em ~y680 de 768). O justify-end antigo
   empurrava o CTA pra fora da tela quando o texto crescia. */
.section_home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.section_home-hero .padding-section-large { padding-top: 6.5rem; padding-bottom: 4rem; }
.home-hero_background { position: absolute; inset: 0; background: #000; overflow: hidden; }
.home-hero_background-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.home-hero_background-video .ph { width: 100%; height: 100%; border: 0; }
/* QA-sintra: a arte do herói é 16:9 com a Nexus no terço direito; com `cover` centrado o
   celular/tablet mostravam só o meio da cena e decapitavam a personagem. O deslocamento do
   foco por viewport traz rosto e aceno de volta ao quadro (Sintra resolve com arte própria
   por breakpoint; aqui a mesma arte reposicionada segura até a arte vertical existir). */
@media (min-width: 768px) and (max-width: 991px) {
  .home-hero_background-video.ph-personagem > img { object-position: 72% 50%; }
}
@media (max-width: 767px) {
  .home-hero_background-video.ph-personagem > img { object-position: 70% 50%; }
}
.home-hero_background-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* SINTRA2: a vinheta 0.94 era calibrada pro render noturno. A arte nova já traz a
     esquerda em sombra de verdade (luz cai da direita, como na referência) — o overlay
     vira só um reforço de legibilidade, senão a cena de dia afunda em preto. */
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.38) 30%, rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 18%),
    linear-gradient(rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.85) 100%);
}
.section_home-hero .padding-global { position: relative; z-index: 2; }
/* SINTRA2 tipografia do herói, medida na referência (q0010): ~56px, 4 linhas curtas,
   grotesk pesado, tracking apertado — contra os 64px/5 linhas/peso 500 de antes. */
.home-hero_content h1 {
  max-width: 560px;
  font-size: 3.5rem;
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.home-hero_content p { max-width: 500px; }
@media (max-width: 767px) {
  /* SINTRA2: 288px de coluna com a headline nova dava 7 linhas e o CTA saía da dobra.
     A régua da referência vale no mobile também: linhas curtas, mas POUCAS. */
  .home-hero_content h1 { max-width: 100%; font-size: 2.125rem; line-height: 1.12; }
  .home-hero_content p { max-width: 100%; }
}

/* [01] lore — mídia larga + texto central */
.section_home-lore { background: #000; padding-bottom: 5rem; }
.home-lore_image-wrapper { width: 100%; aspect-ratio: 1280 / 883.3; }
.home-lore_image-wrapper .ph { width: 100%; height: 100%; border-radius: 16px; }
.home-lore_text { max-width: 768px; margin: 3rem auto 0; text-align: center; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 991px) { .section_home-lore { padding-bottom: 4rem; } }
@media (max-width: 767px) {
  .section_home-lore { padding-bottom: 2.75rem; }
  .home-lore_image-wrapper { aspect-ratio: 351 / 338.5; }
  .home-lore_text { margin-top: 1.5rem; }
}

/* [02] carrossel de agentes */
.section_home-helpers { background: #000; }
.home-helpers_slider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.helper-card { flex: none; width: 340px; min-height: 884px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 767px) { .helper-card { min-height: 868.8px; } }
.helper-card_video {
  width: 340px;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
}
.helper-card_video .ph { width: 100%; height: 100%; border: 0; }
.helper-card h2 { font-size: 1.875rem; line-height: 1.2; letter-spacing: -0.03em; }
.helper-card p { color: var(--text-support-dark); }
.slider_nav { position: absolute; top: 272px; left: -28px; right: -28px; display: flex; justify-content: space-between; pointer-events: none; z-index: 5; }
.slider_nav .slider_arrow { pointer-events: auto; }
@media (max-width: 991px) { .slider_nav { display: none; } }
@media (max-width: 767px) {
  .home-helpers_slider { width: 100vw; margin-left: calc(-1 * (100vw - 100%) / 2); }
  .helper-card h2 { font-size: 1.5rem; line-height: 1.2; }
}

/* [03] grade bento sobre imagem de fundo */
.section_home-automations {
  position: relative;
  background: #000;
  padding-top: 604.8px;
}
.home-automations_bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  height: 960px;
  z-index: 1;
}
.home-automations_bg .ph { width: 100%; height: 100%; border: 0; }
.home-automations_bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0) 53%, rgb(0, 0, 0));
}
.section_home-automations .container-medium { position: relative; z-index: 2; }
.home-automations_header { max-width: 768px; margin: 0 auto 5rem; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.home-automations_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.home-automations_card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.home-automations_card.is-first { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; min-height: 586.2px; }
.home-automations_card:not(.is-first) { min-height: 737.5px; }
@media (max-width: 767px) {
  .home-automations_card.is-first, .home-automations_card:not(.is-first) { min-height: 0; }
}
.home-automations_card.is-halo-nexus    { box-shadow: rgba(34, 197, 94, 0.4) 0 0 70px 0; }
.home-automations_card.is-halo-argos    { box-shadow: rgba(139, 92, 246, 0.4) 0 0 70px 0; }
.home-automations_card.is-halo-reelo    { box-shadow: rgba(217, 70, 239, 0.4) 0 0 70px 0; }
.home-automations_card-content {
  padding: 48px 48px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}
.home-automations_card-content h3 { font-size: 2.5rem; line-height: 1.2; letter-spacing: -0.03em; max-width: 415px; }
.home-automations_card-image { padding: 64px 32px 0; flex: 1; display: flex; align-items: flex-end; }
.home-automations_card-image .ph { width: 100%; min-height: 320px; border-radius: 12px 12px 0 0; }
@media (max-width: 991px) {
  .section_home-automations { padding-top: 170px; }
  .home-automations_card.is-first, .home-automations_card:not(.is-first) { min-height: 0; }
}
@media (max-width: 767px) {
  .section_home-automations { padding-top: 273px; }
  .home-automations_bg { width: 585px; max-width: none; height: 585px; top: 195px; }
  .home-automations_grid { grid-template-columns: 1fr; gap: 32px; }
  .home-automations_card.is-first { display: flex; }
  .home-automations_card-content { padding: 32px 24px 0; }
  .home-automations_card-content h3 { font-size: 1.875rem; line-height: 1.2; }
  .home-automations_card-image { padding: 32px 16px 0; }
  .home-automations_card-image .ph { min-height: 345px; }
  .home-automations_header { margin-bottom: 3rem; }
}

/* [04] how-it-works — pilha alta (gap 100) com telefone fixado na viewport */
.section_home-how-it-works { background: #000; }
.how-it-works_header { max-width: 700px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.how-it-works_header p { color: #949494; max-width: 560px; margin: 0 auto; }
.how-it-works-phone_wrap {
  position: relative;
  height: 3450px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.hiw_sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hiw_media { width: 100%; max-width: 480px; aspect-ratio: 480 / 700; justify-self: center; display: flex; align-items: center; justify-content: center; }
.hiw_media .ph { width: 100%; height: 100%; border-radius: 27px; }

/* mockups 3D (HOME-QA-1) — técnica da sintra: perspectiva/tilt com conteúdo REAL na tela */
.mock-phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 390 / 800;
  border-radius: 52px;
  padding: 12px;
  background: linear-gradient(145deg, #3d3d44, #131316 38%, #2a2a30 82%, #45454c);
  box-shadow:
    inset 0 0 2px 1px rgba(255, 255, 255, 0.22),
    0 60px 90px -30px rgba(0, 0, 0, 0.85),
    0 24px 48px -12px rgba(0, 0, 0, 0.6);
  transform: perspective(1500px) rotateY(-16deg) rotateX(5deg) rotate(-1deg);
}
.mock-phone::before { /* botões laterais */
  content: '';
  position: absolute;
  right: -2.5px;
  top: 22%;
  width: 3px;
  height: 64px;
  border-radius: 2px;
  background: linear-gradient(#57575e, #232328);
}
.mock-phone_screen {
  position: absolute;
  inset: 12px;
  border-radius: 40px;
  overflow: hidden;
  background: #f6f1ea;
}
.mock-phone_screen::before { /* dynamic island */
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 26px;
  border-radius: 14px;
  background: #0c0c0f;
  z-index: 2;
}
.mock-phone_screen::after { /* brilho de vidro */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 28%);
  pointer-events: none;
  z-index: 3;
}
.mock-phone_screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: opacity 250ms ease;
}
.mock-browser {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #17171b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 70px 130px -35px rgba(0, 0, 0, 0.85),
    0 28px 56px -14px rgba(0, 0, 0, 0.55);
  transform: perspective(1800px) rotateY(13deg) rotateX(3.5deg);
  transform-origin: 85% 50%;
}
.mock-browser_bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: #202024;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mock-browser_bar span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mock-browser_bar span:nth-child(1) { background: #ff5f57; }
.mock-browser_bar span:nth-child(2) { background: #febc2e; }
.mock-browser_bar span:nth-child(3) { background: #28c840; }
.mock-browser_url {
  margin: 0 auto;
  padding: 3px 18px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #a6a6ad;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}
.mock-browser img { width: 100%; height: auto; display: block; }
.hiw_steps { display: flex; flex-direction: column; }
.hiw_steps .step-dropdown { padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.hiw_steps .step-dropdown:last-child { border-bottom: 0; }
.hiw_steps .step-dropdown { flex-direction: row; gap: 24px; align-items: baseline; }
.hiw_steps .step-dropdown.active { gap: 24px; }
@media (max-width: 991px) {
  .how-it-works-phone_wrap { height: 3955px; }
}
@media (max-width: 767px) {
  .how-it-works-phone_wrap { height: 3200px; }
  .hiw_sticky { grid-template-columns: 1fr; gap: 32px; align-content: center; }
  .hiw_media { max-width: 300px; }
}

/* [05] present — 720/720 com imagem sangrando */
.section_home-present {
  background: #000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  padding-top: 128px;
  padding-bottom: 128px;
}
.home-present_image { width: 100%; max-width: 960px; aspect-ratio: 720 / 706.3; display: flex; align-items: center; padding-left: 32px; }
.home-present_image .ph { width: 100%; height: 100%; border-radius: 0 16px 16px 0; }
.home-present_content { max-width: 640px; }
.home-present_content-inner {
  padding: 88px 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.home-present_content h2 { max-width: 496px; }
@media (max-width: 767px) {
  .section_home-present { display: flex; flex-direction: column; padding-top: 64px; padding-bottom: 64px; }
  .home-present_image { aspect-ratio: auto; padding: 0 20px; }
  .home-present_image .ph { border-radius: 0; }
  .home-present_content-inner { padding: 64px 19.5px; min-height: 0; justify-content: center; }
  /* no 390 a perspectiva forte estoura a largura — tilt leve, mesmo espírito */
  .mock-browser { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
  .mock-phone { transform: perspective(1500px) rotateY(-10deg) rotateX(3deg); max-width: 250px; }
}

/* [12b] comparação 3 colunas (HOME-QA-1 item 8) — a grade de 6 colunas de components.css
   segue intacta para as landings; a home compara ProAgentes × IA genérica × contratar */
.comparison-table_grid.is-tres { grid-template-columns: 31% repeat(3, 23%); }
.comparison-table_grid.is-tres .comparison-table_cell { text-align: center; }
.comparison-table_grid.is-tres .comparison-table_cell:not(.is-highlight):not(.is-label) { color: #949494; }
.comparison-table_grid.is-tres .comparison-table_cell.is-label { text-align: left; }
.comparison-table_grid.is-tres .comparison-table_cell.is-highlight.is-bottom { border-radius: 0 0 22px 22px; border-bottom: 0; }
@media (max-width: 767px) {
  .comparison-table_grid.is-tres { grid-template-columns: 34% repeat(3, 22%); }
  .comparison-table_grid.is-tres .comparison-table_cell { padding: 14px 6px; min-height: 96px; }
}

/* [06] brain — cabeçalho + camadas z */
.section_home-brain { background: #000; overflow: hidden; }
.home-brain_header {
  padding-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.home-brain_header h2 { max-width: 768px; }
.home-brain_header p { max-width: 640px; color: var(--text-support-dark); }
.home-brain_background {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 953px;
}
.home-brain_floaters {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 1440 / 736;
  z-index: 5;
  pointer-events: none;
  opacity: 0.2;
  transition: opacity 4000ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.home-brain_floaters.seen { opacity: 1; }
.home-brain_floaters .ph { width: 100%; height: 100%; border: 0; background: transparent; }
/* QA-sintra: o rótulo [PENDENTE] dos floaters atravessava o rosto da arte do brain no meio
   da seção; vira legenda discreta na base até os floaters reais chegarem */
.home-brain_floaters .ph { align-items: flex-end; }
.home-brain_floaters .ph-label { font-size: 0.75rem; line-height: 1rem; opacity: 0.45; margin-bottom: 8px; }
.home-brain_soshie {
  position: relative;
  width: 100%;
  max-width: 384px;
  aspect-ratio: 384 / 682.7;
  z-index: 1;
}
/* HOME-QA-1 item 4 — escala da foto: na sintra o personagem domina a base da seção
   (medido: ~40% da largura útil, encostado no chão, máscara só no pé). Aqui ele estava
   em 384px flutuando num vazio de 953px, com a máscara engolindo da canela para baixo. */
.section_home-brain .home-brain_soshie { max-width: 560px; }
.home-brain_soshie .ph { width: 100%; height: 100%; border: 0; }
.home-brain_mask {
  position: absolute;
  inset: 0;
  z-index: 10;
  /* vinheta lateral FORTE nos dois lados (ordem do Rafael 17/08): o agente emerge
     do escuro pelo centro; base mantida derretendo no preto da seção seguinte. */
  background: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 0) 38%),
    linear-gradient(270deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 0) 38%),
    linear-gradient(rgba(0, 0, 0, 0) 72%, rgb(0, 0, 0) 97%);
  pointer-events: none;
}
@media (max-width: 991px) {
  .home-brain_background { height: 560px; }
  .home-brain_soshie { max-width: 260px; }
  .section_home-brain .home-brain_soshie { max-width: 360px; }
}
@media (max-width: 767px) {
  .home-brain_header { min-height: 608px; justify-content: center; }
  .home-brain_background { height: 420px; }
  .home-brain_soshie { max-width: 181.3px; }
  .section_home-brain .home-brain_soshie { max-width: 250px; }
  .home-brain_floaters { bottom: 40px; width: 429px; max-width: none; }
}

/* [07] integrações — 2 colunas gap 96 */
.section_home-integrations { background: #000; }
.home-integrations_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.home-integrations_content { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.home-integrations_logos {
  display: grid;
  grid-template-columns: repeat(4, 52px);
  gap: 44px;
  margin-top: 24px;
}
.home-integrations_logos .ph { width: 52px; height: 52px; border-radius: 12px; font-size: 10px; padding: 2px; }
.home-integrations_phone { width: 100%; max-width: 480px; aspect-ratio: 1050 / 1717; justify-self: end; }
.home-integrations_phone .ph { width: 100%; height: 100%; border-radius: 40px; }
.home-integrations_art { width: 100%; height: 100%; object-fit: cover; border-radius: 40px; display: block; }
@media (max-width: 991px) {
  .home-integrations_grid { grid-template-columns: 1fr; gap: 64px; }
  .home-integrations_phone { justify-self: center; max-width: 330px; }
}
@media (max-width: 767px) {
  .home-integrations_phone { max-width: 300px; }
  .home-integrations_logos { gap: 24px; }
}

/* [08] workspaces — texto sobre imagem posicionada */
.section_home-workspaces { position: relative; background: #000; overflow: hidden; }
.home-workspaces_image {
  position: absolute;
  top: 0;
  right: 0;
  width: 1008px;
  height: 100%;
  z-index: 1;
}
.home-workspaces_image .ph { width: 100%; height: 100%; border: 0; opacity: 0.8; }
.home-workspaces_art { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0.85; display: block; }
.home-workspaces_image::after {
  content: '';
  position: absolute;
  inset: 0;
  /* vinheta FORTE no topo e à esquerda (ordem do Rafael 17/08): a arte das unidades
     nasce do preto por cima e pelo lado do texto; base mantida. */
  background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 14%, rgba(0, 0, 0, 0) 42%),
    linear-gradient(90deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 18%, rgba(0, 0, 0, 0) 55%),
    linear-gradient(rgba(0, 0, 0, 0), rgb(0, 0, 0));
}
.section_home-workspaces .container-large { position: relative; z-index: 2; }
.home-workspaces_spacer { height: 450px; }
.home-workspaces_text { max-width: 768px; display: flex; flex-direction: column; gap: 32px; }
.home-workspaces_text h2 { max-width: 512px; }
.home-workspaces_items { display: flex; flex-direction: column; gap: 24px; }
.home-workspaces_item h3 { font-size: 1.25rem; line-height: 1.33; letter-spacing: -0.03em; margin-bottom: 8px; }
.home-workspaces_item p { color: var(--text-support-dark); }
@media (max-width: 991px) {
  .home-workspaces_spacer { height: 290px; }
}
@media (max-width: 767px) {
  .home-workspaces_spacer { height: 312px; }
  .home-workspaces_image { width: 100%; height: 390px; top: 39px; }
}

/* [09] benefícios — bento 3+2 de cartões escuros */
.section_home-benefits { background: #000; }
.home-benefits_header { max-width: 1024px; margin: 0 auto 4rem; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.home-benefits_header p { color: #949494; max-width: 720px; margin: 0 auto; }
.home-benefits_list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.home-benefits_item {
  grid-column: span 2;
  background: var(--card-neutral-900);
  border-radius: 27px;
  box-shadow: var(--shadow-card-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 520px;
}
.home-benefits_item.is-wide { grid-column: span 3; min-height: 500px; }
.home-benefits_item .ph { flex: 1; border-radius: 16px; margin-top: auto; min-height: 240px; }
/* ⚠️ 29/08/2026 — as vinhetas (capturas reais de tela dentro dos cartões) estavam
   com o estilo INLINE no index.html, o que impedia qualquer media query de
   corrigi-las: regra de folha de estilo não vence atributo `style`. Viraram
   `.ph.is-tela` e o comportamento mora aqui, onde dá para ser responsivo. */
.home-benefits_item .ph.is-tela { position: relative; overflow: hidden; }
.home-benefits_item .ph.is-tela img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.home-benefits_item h3 { font-size: 1.25rem; line-height: 1.33; letter-spacing: -0.03em; }
.home-benefits_item p { font-size: 0.9375rem; line-height: 1.45; color: var(--text-support-dark); }
@media (min-width: 768px) and (max-width: 991px) {
  .home-benefits_item, .home-benefits_item.is-wide { grid-column: span 3; min-height: 290px; }
  .home-benefits_item .ph { min-height: 100px; }
}
@media (max-width: 767px) {
  .home-benefits_list { grid-template-columns: 1fr; gap: 16px; }
  .home-benefits_item, .home-benefits_item.is-wide { grid-column: auto; min-height: 430px; }
  /* ⚠️ 29/08/2026 — DEFEITO QUE A CAROL PEGOU NO CELULAR DELA.
     As capturas são largas (1890×940, proporção 2:1) e a caixa no celular fica
     estreita e alta. Com `object-fit: cover` o navegador escalava a imagem pela
     ALTURA e cortava os DOIS lados — as linhas começavam e terminavam no meio de
     uma palavra, e o exemplo virava ilegível. Ela perguntou, com razão: "você
     quer que o consumidor faça a leitura dos exemplos ou é para ficar cortado
     mesmo?".
     Mostrar a imagem inteira também não resolve: 1890px dentro de ~330px deixa o
     texto em 18% do tamanho, ilegível de outro jeito. Então aqui a vinheta passa
     a ROLAR na horizontal, ancorada à esquerda: a leitura começa no início da
     linha, na escala da altura da caixa, e quem quiser ver o resto arrasta. */
  /* ⚠️ `min-width: 0` não é enfeite: item de grid/flex nasce com `min-width: auto`,
     então o cartão CRESCIA para caber a imagem de 585px e empurrava a página
     inteira para 601px de largura numa tela de 390 — a home ganhava rolagem
     horizontal. Medido, não suposto. */
  .home-benefits_item, .home-benefits_item.is-wide { min-width: 0; }
  /* A captura aparece INTEIRA, na proporção dela. Fica pequena — uma tela de
     1890px dentro de um cartão de 285px é 15% do tamanho — mas fica ÍNTEGRA, que
     é o ponto: ela está ali como prova de que o produto existe, não como texto
     para ler no celular. Cortada, parecia defeito; inteira, parece o que é.
     ⚠️ Para leitura de verdade no celular seria preciso abrir a imagem em tela
     cheia com zoom ao toque. Isso é recurso novo, não conserto — perguntei à
     Carol antes de construir. */
  /* ⚠️ `flex: 0 0 auto` porque a regra base põe `flex: 1` na `.ph`: dentro da
     coluna flex do cartão isso prendia a altura e cortava o PÉ da captura —
     troquei um corte lateral por um corte embaixo, o que não é conserto. */
  .home-benefits_item .ph.is-tela { flex: 0 0 auto; min-height: 0; height: auto; min-width: 0; max-width: 100%; overflow: visible; }
  .home-benefits_item .ph.is-tela img {
    position: static; width: 100%; height: auto; max-width: 100%;
    object-fit: contain; object-position: center top;
  }
}

/* [10] faixa de números */
.section_comparison-data { background: #000; }
.comparison-data_wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  border-radius: 24px;
  background: radial-gradient(69.43% 136.03% at 50% 0%, rgb(93, 41, 133) 0%, rgb(16, 6, 26) 100%);
  padding: 64px 48px;
  align-items: center;
  text-align: center;
  min-height: 627.2px;
}
@media (max-width: 991px) { .comparison-data_wrap { min-height: 0; } }
.comparison-data_items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: 100%;
}
.comparison-data_item { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.comparison-data_item .stat { font-size: 4.5rem; line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
.comparison-data_item .stat-desc { color: rgba(255, 255, 255, 0.7); font-size: 0.9375rem; }
@media (max-width: 991px) { .comparison-data_items { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 991px) { .comparison-data_item { min-height: 190px; justify-content: center; } }
@media (max-width: 767px) { .comparison-data_item { min-height: 140px; justify-content: center; } }
@media (max-width: 767px) {
  .comparison-data_item .stat { font-size: 3rem; line-height: 1.2; }
  .comparison-data_wrap { padding: 48px 24px; }
}

/* [11] mural de depoimentos — componente de altura fixa 500 */
.section_home-testimonials { background: #000; }
.home-testimonials_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 5rem;
}
@media (max-width: 991px) { .home-testimonials_header { margin-bottom: 2rem; } .home-testimonials_header p.text-size-base { max-width: 480px; font-size: .875rem; line-height: 1.25rem; } }
@media (max-width: 767px) { .home-testimonials_header { margin-bottom: 5rem; } .home-testimonials_header p.text-size-base { font-size: 1.0625rem; line-height: 1.5rem; } }
.home-testimonials_header h2 { max-width: 768px; }
.home-testimonials_component {
  position: relative;
  height: 500px;
  overflow: hidden;
  transition: height 1500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.home-testimonials_component.expanded { height: auto; }
.home-testimonials_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.home-testimonials_fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  /* vinheta FORTE no topo e à esquerda (ordem do Rafael 17/08): a arte das unidades
     nasce do preto por cima e pelo lado do texto; base mantida. */
  background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 14%, rgba(0, 0, 0, 0) 42%),
    linear-gradient(90deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 18%, rgba(0, 0, 0, 0) 55%),
    linear-gradient(rgba(0, 0, 0, 0), rgb(0, 0, 0));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  z-index: 3;
}
.home-testimonials_component.expanded .home-testimonials_fade { position: sticky; background: none; }
@media (max-width: 991px) { .home-testimonials_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .home-testimonials_grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .section_home-testimonials .padding-section-large { padding-top: 0; padding-bottom: 0; }
}

/* [12] tabela comparativa */
.section_home-comparison { background: #000; }
.home-comparison_header { text-align: center; margin-bottom: 3rem; display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* [13] faixa de logotipos */
.section_home-logos { background: #000; }
.home-logos_component { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.home-logos_row { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; }
.home-logos_row .ph { width: 160px; height: 48px; border-radius: 8px; }
@media (max-width: 767px) { .home-logos_row { gap: 16px; } .home-logos_row .ph { width: 88px; height: 32px; font-size: 10px; } }

/* [14] bloco de preços embutido (pr4) */
.section_pr4-hero { background: #000; }
.pr4-hero_component {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  text-align: center;
}
@media (max-width: 991px) { .pr4-hero_component { gap: 28px; } }
@media (max-width: 767px) { .pr4-hero_component { gap: 20px; } }
.pr4-hero_note { font-size: 0.875rem; line-height: 1.25rem; color: var(--text-tertiary); max-width: 640px; }

/* [15] chamada final em 2 colunas */
.section_home-cta { background: #000; padding-top: 5rem; }
.home-cta_component {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 604.2px;
}
@media (max-width: 991px) { .home-cta_component { min-height: 0; } }
.home-cta_content { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-right: 64px; }
.home-cta_content h2 { max-width: 512px; }
.home-cta_media { width: 100%; max-width: 576px; aspect-ratio: 576 / 553.4; justify-self: end; }
.home-cta_media .ph { width: 100%; height: 100%; border-radius: 16px; }
.home-cta_art { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
@media (max-width: 991px) { .section_home-cta { padding-top: 4rem; } .home-cta_component { grid-template-columns: 1fr; gap: 64px; } .home-cta_media { max-width: 100%; justify-self: stretch; } }
@media (max-width: 767px) { .section_home-cta { padding-top: 2.75rem; } .home-cta_content { padding-right: 0; } }

/* [16] FAQ */
.section_home-faq { background: #000; }
.home-faq_content {
  display: grid;
  grid-template-columns: 514.3fr 685.7fr;
  gap: 64px 80px;
}
.home-faq_content-left { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.home-faq_content-left h2 { max-width: 514.3px; }
@media (max-width: 991px) { .home-faq_content { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 767px) { .home-faq_content { gap: 20px; } }

/* ————— mural de depoimentos: conteúdo ————— */
.testimonial_produto { font-size:.75rem; letter-spacing:.04em; text-transform:uppercase; color:#3b82f6; }
.testimonial_quote { margin:0; font-size:1rem; line-height:1.5; color:rgba(255,255,255,.92); flex:1; }
.testimonial_autor { display:flex; align-items:center; gap:12px; margin:0; min-width:0; }
.testimonial_avatar { width:44px; height:44px; border-radius:50%; object-fit:cover; flex:none;
  background:rgba(255,255,255,.12); }
.testimonial_meta { display:flex; flex-direction:column; gap:2px; min-width:0; }
.testimonial_nome { font-size:.9375rem; color:#fff; font-weight:500; overflow-wrap:anywhere; }
.testimonial_cargo { font-size:.8125rem; color:rgba(255,255,255,.6); overflow-wrap:anywhere; }
.testimonial_cidade { font-size:.75rem; color:rgba(255,255,255,.4); }
/* faixa de mockup — REMOVER junto com o conteúdo fictício */
.mockup-aviso { margin:0 0 20px; padding:10px 16px; border-radius:10px; font-size:.8125rem; line-height:1.4;
  background:rgba(245,158,11,.14); border:1px solid rgba(245,158,11,.5); color:#fbbf24; }

/* QA-mobile 11/08 (G1/M3): em <=991 o track vira scroll nativo com snap centrado
   (sintra hoje: Swiper com arrasto E setas visiveis em 390 — medido ao vivo). */
@media (max-width: 991px) {
  .slider_viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .slider_viewport::-webkit-scrollbar { display: none; }
  .slider_track { transform: none !important; }
  .helper-card { scroll-snap-align: center; }
  .slider_nav { display: flex; left: 6px; right: 6px; }
  /* Onda 1: as setas do carrossel mediam 40x40 no celular — 4 px abaixo da régua da casa.
     São o único jeito de navegar o carrossel com o dedo em quem não descobre o arrasto. */
  .slider_nav .slider_arrow { width: 44px; height: 44px; }
}

/* QA-mobile 11/08: 3 h2 estavam um degrau acima do alvo em 390 (40px vs 36px medidos no original) */
@media (max-width: 767px) {
  .home-automations_card-content h3,
  .home-present_content h2,
  .home-testimonials_header h2 { font-size: 2.25rem; line-height: 1.2; }
}

/* ============================================================
   ESTREIA LIMPA (ui-perfeicao, rodada 1) — sem a vinheta de UI, o card
   de benefício encolhe para o texto em vez de guardar o vão do material.
   No modo obra as alturas de projeto voltam. ============================ */
html:not(.obra) .home-benefits_item,
html:not(.obra) .home-benefits_item.is-wide { min-height: 0; }

/* ============================================================
   REVISAO-SINTRA (26/08/2026) — herói com destaque para a Mind™
   ============================================================ */
.home-hero_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  line-height: 1rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}
.home-hero_eyebrow .eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(59, 130, 246, 0.65);
  flex: none;
}
.home-hero_ctas { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 767px) { .home-hero_eyebrow { font-size: 0.75rem; padding: 7px 12px; } }

/* REVISAO-SINTRA M8 — o esquemático mora dentro do palco do brain, acima da vinheta */
.home-brain_background .esquema_stage { position: absolute; inset: 0; z-index: 12; max-width: none; }
@media (max-width: 991px) {
  .home-brain_background .esquema_stage {
    position: relative;
    inset: auto;
    padding: 0 20px 24px;
  }
}
