/* ============================================================
   PRUMO 360 — style.css
   Paleta e tipografia derivadas do brand guideline oficial.
   ============================================================ */

/* ---- Mattone (títulos): ativar quando a licença web estiver disponível.
   Solte os arquivos em assets/fonts/ e descomente. Enquanto isso, os
   títulos usam Gantari nos pesos pesados como fallback geométrico elegante.
@font-face {
  font-family: "Mattone";
  src: url("../assets/fonts/Mattone.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
*/

:root {
  /* Paleta oficial */
  --bedrock:   #262626;  /* Bedrock Black */
  --granite:   #383838;  /* Granite Gray */
  --terra:     #B54D28;  /* Terra Core   */
  --white:     #FAFAFA;  /* Structural White */
  --ivory:     #EBE7D9;  /* Geotech Ivory */

  /* Derivados (apenas tonalizações da paleta, nada de cor nova) */
  --bedrock-deep: #1c1c1c;
  --granite-line: #4a4a4a;
  --ivory-dim:    rgba(235, 231, 217, 0.62);
  --ivory-faint:  rgba(235, 231, 217, 0.32);

  /* Tipografia */
  --font-display: "Mattone", "Gantari", system-ui, sans-serif;
  --font-body: "Gantari", system-ui, -apple-system, sans-serif;

  /* Métrica */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --section-y: clamp(5.5rem, 12vh, 10rem);

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bedrock);
  color: var(--ivory);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Evita que o header fixo cubra o topo da seção ao navegar por âncora */
section[id] { scroll-margin-top: 90px; }

/* Navegação por teclado: contorno visível e consistente com a marca */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 4px;
}

/* Pular para o conteúdo: invisível até receber foco via Tab (primeiro
   elemento focável da página) — padrão de acessibilidade. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--terra);
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible {
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Textura de solo: ruído quase imperceptível ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============================================================
   TIPOGRAFIA UTILITÁRIA
   ============================================================ */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  filter: brightness(1.35); /* Terra Core sobre fundo escuro em texto pequeno
    ficava ~2.85:1 de contraste (abaixo do WCAG AA 4.5:1). Mesma matiz,
    só mais clara — sem alterar a paleta oficial. */
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 0.6rem;
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ivory-dim);
  max-width: 46ch;
  margin-top: 1.25rem;
}

.accent-text { color: var(--white); }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
              border-color 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--terra);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--terra);
  filter: brightness(1.12);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--granite-line);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--ivory-faint);
  color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease),
              border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(28, 28, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(74, 74, 74, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-logo { height: 34px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ivory-dim);
  transition: color 0.3s var(--ease);
}
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta {
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--granite-line);
  border-radius: 6px;
}
.site-nav .nav-cta:hover { border-color: var(--terra); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--ivory);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(28, 28, 28, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(74,74,74,0.3);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.mobile-nav.open { max-height: 320px; }
.mobile-nav a {
  padding: 1.1rem var(--gutter);
  font-size: 1.05rem;
  color: var(--ivory);
  border-bottom: 1px solid rgba(74,74,74,0.18);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 76px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 85% 40%, rgba(56,56,56,0.55), transparent 60%),
    var(--bedrock);
}
.hero-contours {
  position: absolute;
  top: 0; right: 0;
  width: 70%;
  height: 100%;
  color: var(--terra);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 1.5rem 0;
}
.hero-title .reveal-line {
  display: block;
  overflow: hidden;
}
.hero-title [data-reveal-y] { display: block; }

.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  color: rgba(235, 231, 217, 0.85);
  max-width: 38ch;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}
.scroll-line {
  width: 56px; height: 1px;
  background: linear-gradient(90deg, var(--terra), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 18px;
  background: var(--white);
  animation: scrollMove 2.6s var(--ease) infinite;
}
@keyframes scrollMove {
  0% { transform: translateX(-20px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateX(60px); opacity: 0; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background: var(--bedrock-deep);
}
.rule-accent {
  display: block;
  width: 0;
  max-width: 80px;
  height: 2px;
  background: var(--terra);
  margin-bottom: 2.5rem;
}
.manifesto-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.8rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ivory);
  max-width: 24ch;
}
.manifesto-text .word {
  display: inline-block;
  opacity: 0.16;
  transition: opacity 0.5s var(--ease);
}

/* ============================================================
   TRÍADE
   ============================================================ */
.triade {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background: var(--bedrock);
}
.triade-line {
  width: 100%;
  height: 48px;
  color: var(--terra);
  opacity: 0.55;
  margin-bottom: 2rem;
}
.triade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.stage {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--granite-line);
}
.stage-index {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--terra);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.stage-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}
.stage-text {
  color: var(--ivory-dim);
  font-size: 1rem;
}
.stage--decision { border-top-color: var(--terra); }

/* ============================================================
   COMO ATUAMOS
   ============================================================ */
.atuacao {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background: var(--bedrock-deep);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cards--5 {
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 901px) and (max-width: 1100px) {
  .cards--5 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--granite);
  border: 1px solid rgba(74,74,74,0.5);
  border-radius: 10px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              background 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--terra);
  filter: brightness(1.08);
}
.card-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  color: var(--terra);
  margin-bottom: 1.75rem;
}
.card-icon svg { width: 100%; height: 100%; }
.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.card-text {
  color: var(--ivory-dim);
  font-size: 0.98rem;
}
.atuacao-publico {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--ivory-faint);
  max-width: 68ch;
  line-height: 1.55;
}

/* ============================================================
   PARA QUEM
   ============================================================ */
.para-quem {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background: var(--bedrock);
}
.para-quem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.audience-list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
}
.audience-list li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--ivory);
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(74,74,74,0.4);
  letter-spacing: -0.01em;
  /* transform em vez de padding-left: não recalcula largura útil do
     texto, então não há reflow/quebra de linha ao passar o mouse. */
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}
.audience-list li:hover {
  color: var(--white);
  transform: translateX(0.35rem);
}

/* ============================================================
   ATUAÇÕES DIRETAS E TRAJETÓRIA TÉCNICA
   Definição completa (.logos-experiencia, .logo-rail, .logo-card) movida
   para o final do arquivo, com prioridade de cascata — ver seção
   "CORREÇÃO EMERGENCIAL" perto do fim deste arquivo. Mantido aqui apenas
   .reference-note, que também é usado por essa seção.
   ============================================================ */
.reference-note {
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: var(--ivory-faint);
  max-width: 62ch;
  line-height: 1.55;
}

/* ============================================================
   DIREÇÃO TÉCNICA
   ============================================================ */
.direcao {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background: var(--bedrock-deep);
  overflow: hidden;
}
.direcao::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/pattern-dark.png");
  background-repeat: repeat;
  background-size: 260px auto;
  background-position: right -40px top -20px;
  opacity: 0.05;
  mix-blend-mode: screen;
  pointer-events: none;
}
.direcao .rule-accent { margin-bottom: 2.5rem; position: relative; z-index: 1; }
.direcao-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.direcao-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}
.direcao-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ivory-dim);
  line-height: 1.65;
}
.direcao-credential {
  margin-top: 1.5rem;
}
.direcao-nome {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.005em;
}
.direcao-cargo {
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--ivory-dim);
  letter-spacing: 0.01em;
}
.direcao-trajetoria {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ivory-faint);
  line-height: 1.55;
  max-width: 46ch;
}

/* ============================================================
   CAMPO, DADOS E DECISÃO — acervo técnico em carrossel horizontal
   Scroll nativo + scroll-snap: funciona integralmente sem JS.
   Setas e barra de progresso são melhorias progressivas (hidden até
   o JS ativá-las).
   ============================================================ */
.campo-decisao {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background: var(--bedrock);
  overflow: hidden;
}
.campo-decisao-sub {
  margin-top: 1rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--ivory-dim);
  line-height: 1.65;
  max-width: 62ch;
}
.carousel-wrap { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.carousel {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* padding lateral acompanha o container para o 1º card alinhar com o
     conteúdo, deixando os seguintes "vazarem" na borda direita.
     scroll-padding-inline espelha o padding para que o scroll-snap
     alinhe os cards respeitando esse recuo (sem ele, o snap "puxa" o
     primeiro card para a borda da tela). */
  padding-inline: max(1.25rem, calc((100vw - var(--container)) / 2));
  scroll-padding-inline: max(1.25rem, calc((100vw - var(--container)) / 2));
  padding-bottom: 0.75rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }

.slide {
  position: relative;
  /* Desktop: entre 360 e 460px de largura, altura fixa entre 500 e 560px */
  flex: 0 0 clamp(360px, 34vw, 460px);
  height: clamp(500px, 62vh, 560px);
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--granite); /* fallback enquanto a imagem carrega */
  border: 1px solid rgba(74, 74, 74, 0.5); /* Granite Gray sutil */
  border-bottom: 2px solid rgba(74, 74, 74, 0.5);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transition: border-color 0.5s var(--ease);
}
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Tratamento unificador do acervo (fotos antigas e recentes ganham o
     mesmo tom): saturação reduzida, contraste moderado, brilho contido */
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
}
/* Overlay em duas camadas:
   ::before — véu escuro uniforme e sutil, animável no hover (cor sólida
   interpola suavemente; gradientes não).
   ::after — gradiente fixo mais forte na base, garantindo leitura da
   legenda sem apagar a imagem. */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(28, 28, 28, 0.14);
  transition: background 0.6s var(--ease);
  pointer-events: none;
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(28, 28, 28, 0.94) 0%,
    rgba(28, 28, 28, 0.55) 42%,
    rgba(28, 28, 28, 0.12) 100%
  );
  pointer-events: none;
}
.slide figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2; /* acima das duas camadas de overlay */
  padding: 1.25rem 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.slide-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  filter: brightness(1.35);
}
.slide-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.slide-caption {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  line-height: 1.5;
  /* Desktop: legenda entra no hover. Mobile (sem hover): sempre visível
     — ver media query hover:none abaixo. */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease);
}
.slide-line {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
}

@media (hover: hover) {
  .slide:hover {
    border-bottom-color: var(--terra);
  }
  .slide:hover img {
    transform: scale(1.04);
    filter: saturate(0.92) contrast(1.12) brightness(0.74);
  }
  .slide:hover::before { background: rgba(28, 28, 28, 0.22); }
  .slide:hover .slide-caption { max-height: 8em; opacity: 1; }
}
/* Sem hover (touch): título, tag e legenda sempre visíveis */
@media (hover: none) {
  .slide-caption { max-height: none; opacity: 1; }
}

/* Controles (ativados via JS; sem JS o carrossel rola nativamente) */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.carousel-controls[hidden] { display: none; }
.carousel-progress {
  flex: 1;
  height: 1px;
  background: rgba(74, 74, 74, 0.5);
  position: relative;
}
.carousel-progress span {
  position: absolute;
  left: 0; top: -0.5px;
  height: 2px;
  width: 0;
  background: var(--terra);
  transition: width 0.2s linear;
}
.carousel-arrows { display: flex; gap: 0.5rem; }
.carousel-arrows button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--granite-line);
  background: transparent;
  color: var(--ivory);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel-arrows button:hover {
  border-color: var(--terra);
  color: var(--white);
  transform: translateY(-2px);
}
.carousel-arrows button:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .slide, .slide img, .slide::before, .slide-caption { transition: none !important; }
  .slide:hover img { transform: none; }
  .carousel { scroll-behavior: auto !important; }
}

/* Mobile: card mais estreito que a viewport, deixando o próximo aparecer
   parcialmente na borda para indicar continuidade */
@media (max-width: 640px) {
  .slide {
    flex: 0 0 min(78vw, 320px);
    height: clamp(420px, 58vh, 500px);
  }
}

/* ============================================================
   VISÃO 360
   ============================================================ */
.visao360 {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background:
    radial-gradient(900px 600px at 25% 50%, rgba(56,56,56,0.5), transparent 65%),
    var(--bedrock-deep);
  overflow: hidden;
}
.visao-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.visao-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 360px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--granite-line);
}
/* Anel externo: ocupa quase toda a área; os nós se apoiam nele */
.orbit-ring--1 { inset: 22%; border-style: solid; opacity: 0.75; }
.orbit-ring--2 {
  inset: 36%;
  border-color: var(--terra);
  border-style: dashed;
  opacity: 0.5;
}
.orbit-core {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--terra);
  letter-spacing: 0.02em;
}
.orbit-node {
  position: absolute;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--bedrock);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--granite-line);
  border-radius: 40px;
  white-space: nowrap;
  z-index: 2;
}
/* N/S: centralizados horizontalmente (translateX -50%), crescem
   simetricamente para os dois lados — não sofrem do bug de texto longo.
   E/W: ancorados pela borda do CONTAINER (0%/100%), não por uma % interna
   arbitrária — assim o badge sempre CRESCE PARA FORA do círculo,
   independente do comprimento do texto ("Impacto" vs "Dados"). A versão
   anterior ancorava a borda externa do próprio badge, então textos mais
   longos ("Impacto") invadiam o círculo por dentro. */
.orbit-node--n { top: 4%;  left: 50%; transform: translate(-50%, -50%); }
.orbit-node--e { top: 50%; left: 100%; transform: translate(18px, -50%); }
.orbit-node--s { bottom: 4%; left: 50%; transform: translate(-50%, 50%); }
.orbit-node--w { top: 50%; left: 0; transform: translate(calc(-100% - 18px), -50%); }

/* ============================================================
   FAIXA DE PRINCÍPIOS
   Faixa curta em vez de 3 blocos de texto — evita o tom de "manifesto"
   institucional genérico. Terra Core aparece só no separador, como
   detalhe, nunca como cor de fundo.
   ============================================================ */
.principios-band {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bedrock);
  border-top: 1px solid rgba(74, 74, 74, 0.3);
  border-bottom: 1px solid rgba(74, 74, 74, 0.3);
}
.principios-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  color: var(--white);
  letter-spacing: -0.01em;
}
.principios-line span:not(:last-child)::after {
  content: "\2009\00b7\2009";
  color: var(--terra);
  margin-left: 0.5em;
}

/* ============================================================
   ORGANIZE SUA DEMANDA — formulário de triagem técnica leve
   Fundo escuro sóbrio; Terra Core aparece apenas em detalhes (foco,
   asteriscos, curvas) e no botão principal.
   ============================================================ */
.demanda {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background: var(--bedrock-deep);
  overflow: hidden;
}
.cta-contours {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  color: var(--terra);
  opacity: 0.10;
  pointer-events: none;
}
.demanda-inner { position: relative; z-index: 2; }
.demanda-sub {
  margin-top: 1rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--ivory-dim);
  line-height: 1.65;
  max-width: 58ch;
}

.demanda-form { max-width: 880px; }

/* Seletividade + microfluxo: texto discreto, sem peso visual extra —
   mesma escala de .demanda-sub, sem criar novo componente. */
.demanda-selectividade {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  font-size: 0.95rem;
  color: var(--ivory-dim);
  line-height: 1.6;
  max-width: 62ch;
}
.demanda-fluxo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 0.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ivory-dim);
}
.demanda-fluxo li { display: flex; align-items: center; }
.demanda-fluxo li:not(:last-child)::after {
  content: "→";
  color: var(--terra);
  margin: 0 0.5em;
}

.demanda-nota-triagem {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--ivory-faint);
  line-height: 1.55;
  max-width: 62ch;
}

/* Apresentação compacta: <details> nativo funciona sem JS. O summary vira
   um botão real (sem marcador padrão do navegador); o formulário só
   existe visualmente depois que a pessoa decide abrir. O link de e-mail
   direto fica FORA do <details> (irmão dele, não filho) — por isso
   continua visível mesmo com o formulário fechado; align-items:flex-start
   garante que ele fique ancorado ao lado do botão mesmo quando o
   formulário abre e .demanda-details cresce em altura. */
.demanda-open-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
/* Com o formulário aberto, .demanda-details cresce bastante em altura —
   troca para flex-start para o link não ficar "flutuando" no meio do
   bloco expandido. Navegadores sem suporte a :has() apenas mantêm o
   center (degradação aceitável, não quebra nada). */
.demanda-open-row:has(.demanda-details[open]) {
  align-items: flex-start;
}
.demanda-details {
  max-width: 880px;
}
.demanda-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1.6rem;
  background: var(--terra);
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
  user-select: none;
}
.demanda-summary::-webkit-details-marker { display: none; }
.demanda-summary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.demanda-summary:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }
.demanda-summary-icon {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}
.demanda-details[open] .demanda-summary-icon { transform: rotate(45deg); }

.demanda-alt--compact {
  display: inline-block;
}
.demanda-details .demanda-form { margin-top: 2rem; animation: demanda-open 0.4s var(--ease); }
@keyframes demanda-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .demanda-details .demanda-form { animation: none; }
}

/* honeypot: fora da tela, invisível para humanos, presente para bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory);
  margin-bottom: 0.15rem;
}
.form-field .req { color: var(--terra); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--white);
  background: var(--granite);
  border: 1px solid rgba(74, 74, 74, 0.6);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23EBE7D9' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}
.form-field select:invalid { color: var(--ivory-faint); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ivory-faint); }

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(181, 77, 40, 0.15);
}

/* estado de erro: borda e mensagem discretas, sem alert */
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--terra); }
.field-error {
  font-size: 0.76rem;
  color: var(--terra);
  filter: brightness(1.35);
}

.demanda-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.demanda-actions .btn-primary { border: none; cursor: pointer; font-family: var(--font-primary); }
.demanda-alt {
  font-size: 0.9rem;
  color: var(--ivory-dim);
  border-bottom: 1px solid rgba(74, 74, 74, 0.6);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.demanda-alt:hover { color: var(--white); border-color: var(--terra); }

.form-hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--terra);
  filter: brightness(1.35);
}
.form-status {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ivory-dim);
}
.form-status.is-sending { color: var(--ivory-dim); }
.form-status.is-success { color: var(--white); }
.form-status.is-error { color: var(--terra); filter: brightness(1.35); }

.demanda-actions .btn-primary:disabled {
  opacity: 0.65;
  cursor: default;
  transform: none;
}

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }

  /* Contraste mobile: os microtextos abaixo usavam --ivory-faint (32% de
     opacidade), legível no desktop mas fraco demais em tela pequena sob
     luz solar. No mobile, sobem para --ivory-dim (62%). Desktop não muda. */
  .direcao-credential,
  .direcao-trajetoria,
  .demanda-nota-triagem,
  .perfis-atendidos-text {
    color: var(--ivory-dim);
  }

  /* Microfluxo do contato: de linha corrida com setas para pílulas
     empilhadas verticalmente — mais legível e com mais presença. */
  .demanda-fluxo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .demanda-fluxo li {
    padding: 0.5rem 0.9rem;
    background: var(--granite);
    border: 1px solid rgba(74, 74, 74, 0.6);
    border-radius: 6px;
    color: var(--ivory);
    font-size: 0.8rem;
  }
  .demanda-fluxo li:not(:last-child)::after {
    content: none; /* sem seta entre pílulas empilhadas */
  }
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer {
  background: var(--bedrock-deep);
  padding-top: clamp(3.5rem, 7vw, 5rem);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/pattern-dark.png");
  background-repeat: repeat;
  background-size: 220px auto;
  opacity: 0.045;
  mix-blend-mode: screen;
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.footer-brand .footer-logo { height: 30px; width: auto; }
.footer-brand p { color: var(--ivory-faint); margin-top: 0.75rem; font-size: 0.95rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.4rem;
}
.footer-col a, .footer-col span { color: var(--ivory-dim); font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(74,74,74,0.3);
  font-size: 0.82rem;
  color: var(--ivory-faint);
}

/* ============================================================
   ESTADOS DE ANIMAÇÃO (base; GSAP assume quando disponível)
   ============================================================ */
[data-reveal], [data-reveal-y] { will-change: transform, opacity; }

/* Fallback sem JS: tudo visível, inclusive a linha de destaque (que depende de JS para crescer) */
.no-js [data-reveal],
.no-js [data-reveal-y] { opacity: 1 !important; transform: none !important; }
.no-js [data-reveal-width] { width: 80px !important; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .triade-grid,
  .cards { grid-template-columns: 1fr; }
  .para-quem-inner,
  .visao-inner,
  .direcao-inner { grid-template-columns: 1fr; }
  .visao-orbit { order: 2; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .hero-contours { width: 130%; opacity: 0.35; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }

  /* Órbita mais compacta: diagrama menor e badges mais discretos para que
     "Impacto"/"Dados" não cheguem perto da borda da viewport. */
  .visao-orbit { max-width: 190px; margin-block: 2.5rem 1rem; }
  .orbit-node {
    font-size: 0.62rem;
    padding: 0.28rem 0.5rem;
    letter-spacing: 0.02em;
  }
  .orbit-node--e { transform: translate(8px, -50%); }
  .orbit-node--w { transform: translate(calc(-100% - 8px), -50%); }
}

/* Telas muito estreitas (ex.: aparelhos com 320px) — mais uma redução
   para garantir que nenhum badge encoste na borda da viewport. */
@media (max-width: 340px) {
  .visao-orbit { max-width: 160px; }
  .orbit-node { font-size: 0.58rem; padding: 0.24rem 0.42rem; }
  .orbit-node--e { transform: translate(6px, -50%); }
  .orbit-node--w { transform: translate(calc(-100% - 6px), -50%); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], [data-reveal-y] { opacity: 1 !important; transform: none !important; }
  [data-reveal-width] { width: 80px !important; }
  .manifesto-text .word { opacity: 1 !important; }
}

/* ============================================================
   CORREÇÃO EMERGENCIAL — ATUAÇÕES DIRETAS E TRAJETÓRIA TÉCNICA
   Bloco adicionado ao final do arquivo, de propósito, para garantir
   prioridade de cascata sobre qualquer regra anterior. Cada logo vive
   dentro de .logo-card com dimensão FIXA (altura 78px / mobile 74px) e
   a imagem interna é travada com !important em max-width/max-height —
   isso é o que impede qualquer logo de renderizar em tamanho natural,
   independentemente da resolução do arquivo original.
   ============================================================ */
.logos-experiencia {
  padding: clamp(72px, 9vw, 120px) 0;
  background: #262626;
}

.logos-experiencia .section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.logos-sub {
  max-width: 760px;
  color: rgba(250, 250, 250, 0.68);
  font-size: 1rem;
  line-height: 1.6;
}

/* Marquee horizontal contínuo — "lastro técnico vivo". A sequência de
   logos é duplicada no HTML (segunda cópia com aria-hidden="true"); a
   faixa desliza -50% da sua própria largura e "recomeça" exatamente onde
   a primeira cópia terminava, sem salto visual. Pausa no hover e no foco
   de teclado; respeita prefers-reduced-motion. */
.logo-marquee {
  overflow: hidden;
  margin-top: 32px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
}
.logo-marquee:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 4px;
}
.logo-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  animation: logoScroll 42s linear infinite;
}
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-card {
  height: 78px;
  margin: 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 56, 56, 0.52);
  border: 1px solid rgba(250, 250, 250, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.logo-card img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 132px !important;
  max-height: 36px !important;
  object-fit: contain;
  opacity: 0.62;
  filter: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo-card:hover {
  transform: translateY(-1px);
  border-color: rgba(181, 77, 40, 0.42);
  background: rgba(56, 56, 56, 0.72);
}

.logo-card:hover img {
  opacity: 0.92;
}

/* Ajustes finos por proporção */
.logo-card--prefeitura img {
  max-width: 146px !important;
  max-height: 42px !important;
}

.logo-card--lamsa img {
  max-height: 46px !important;
}

.logo-card--sabesp img {
  max-height: 48px !important;
}

.logo-card--shell img {
  max-height: 46px !important;
}

.logo-card--petrobras img,
.logo-card--vale img,
.logo-card--rede-dor img,
.logo-card--bayer img {
  max-width: 146px !important;
}

.logo-card--portosrio img {
  max-width: 132px !important;
  max-height: 36px !important;
}

.logo-card--ancar img {
  max-width: 112px !important;
  max-height: 34px !important;
}

@media (max-width: 767px) {
  /* Bloco intencionalmente auto-contido (declara display/flex-wrap
     explicitamente, não depende de herança da regra base) — evita que
     qualquer cache antigo de CSS ou especificidade inesperada resulte em
     empilhamento vertical dos cards. */
  .logo-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none; /* Firefox: oculta a barra de rolagem */
  }
  .logo-marquee::-webkit-scrollbar { display: none; } /* Chrome/Safari */

  .logo-track {
    display: flex;
    flex-wrap: nowrap;
    animation: none !important;
    transform: none !important;
    width: max-content;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  /* A sequência duplicada só existe para o loop do marquee no desktop —
     no mobile (sem animação) ela só duplicaria os cards visualmente.
     Dois seletores redundantes de propósito: o atributo aria-hidden é a
     forma correta e não depende de ordem no DOM; nth-child fica como
     reforço, caso a estrutura mude. */
  .logo-card[aria-hidden="true"] {
    display: none !important;
  }
  .logo-track > .logo-card:nth-child(n+11) {
    display: none !important;
  }

  .logo-card {
    flex: 0 0 145px;
    width: 145px;
    height: 68px;
    padding: 14px 18px;
    scroll-snap-align: start;
  }

  .logo-card img {
    max-width: 112px !important;
    max-height: 32px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-card, .logo-card img { transition: none !important; }
  .logo-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .logo-track {
    animation: none !important;
    transform: none !important;
    width: max-content;
  }
  /* Estático: mostra só a sequência real, sem a cópia duplicada do loop */
  .logo-card[aria-hidden="true"] {
    display: none !important;
  }
  .logo-track > .logo-card:nth-child(n+11) {
    display: none !important;
  }
}

/* ============================================================
   LASTRO TÉCNICO (compacto) — logo após o manifesto
   ============================================================ */
.lastro {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--bedrock-deep);
}
.section-head--compact { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.section-title--sm {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
}
.lastro-text {
  margin-top: 0.75rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--ivory-dim);
  line-height: 1.6;
  max-width: 68ch;
}
/* Chips/pílulas discretas — indicadores textuais curtos, sem logos e
   sem parecer banner publicitário. */
.lastro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}
.lastro-chips li {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ivory-dim);
  background: var(--granite);
  border: 1px solid rgba(74, 74, 74, 0.6);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
}

/* ============================================================
   CAMPO, ATIVOS E EVIDÊNCIAS (prévia)
   ============================================================ */
.campo-preview {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--bedrock);
}
.campo-preview-sub {
  margin-top: 0.75rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--ivory-dim);
  line-height: 1.6;
  max-width: 62ch;
}
.campo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.preview-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(74, 74, 74, 0.5);
  background: var(--granite);
}
.preview-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
  background: var(--granite); /* cor de fundo enquanto o vídeo carrega */
}
.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 28, 0.94) 0%, rgba(28, 28, 28, 0.35) 60%, rgba(28,28,28,0.05) 100%);
}
.preview-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1rem 1.1rem;
}
.preview-card figcaption h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: -0.005em;
  margin-bottom: 0.3rem;
}
.preview-card figcaption p {
  font-size: 0.78rem;
  color: var(--ivory-dim);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .campo-preview-grid { grid-template-columns: 1fr 1fr; }
  .preview-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .campo-preview-grid { grid-template-columns: 1fr; }
  .preview-card:last-child { grid-column: auto; }
}

/* ============================================================
   PERFIS ATENDIDOS (bloco compacto, dentro de #atuacao)
   ============================================================ */
.perfis-section {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--bedrock);
}
.perfis-atendidos {
  border-top: 1px solid rgba(74, 74, 74, 0.4);
  padding-top: 2rem;
}
.perfis-atendidos-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  filter: brightness(1.3);
  margin-bottom: 0.6rem;
}
.perfis-atendidos-text {
  font-size: 0.95rem;
  color: var(--ivory-faint);
  line-height: 1.6;
  max-width: 68ch;
}

/* ============================================================
   O QUE A PRUMO 360 ENTREGA
   ============================================================ */
.entregaveis {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background: var(--bedrock-deep);
}
.entregaveis-sub {
  margin-top: 1rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--ivory-dim);
  line-height: 1.65;
  max-width: 62ch;
}
.entregaveis-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  list-style: none;
}
.entregaveis-list li {
  position: relative;
  padding: 1rem 1.1rem 1rem 2rem;
  background: var(--granite);
  border: 1px solid rgba(74, 74, 74, 0.5);
  border-radius: 8px;
  color: var(--ivory);
  font-size: 0.92rem;
  line-height: 1.4;
}
.entregaveis-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
}

@media (max-width: 720px) {
  .entregaveis-list { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTATO TÉCNICO FIXO (mobile) — FAB discreto, sem verde de WhatsApp
   ============================================================ */
.mobile-contact-fab {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 60;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--white);
  background: var(--terra);
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: filter 0.25s var(--ease), transform 0.25s var(--ease);
}
@media (max-width: 720px) {
  .mobile-contact-fab { display: inline-flex; }
}
.mobile-contact-fab-icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.mobile-contact-fab:hover,
.mobile-contact-fab:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.mobile-contact-fab:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Correção de cascata: .perfis-atendidos-text é definida mais abaixo neste
   arquivo do que o bloco de contraste mobile acima, então a regra base
   (ivory-faint) vencia por ordem de origem, mesmo dentro do media query.
   Reforçando aqui, depois da definição base, para garantir prioridade. */
@media (max-width: 720px) {
  .perfis-atendidos-text { color: var(--ivory-dim); }
}

/* ============================================================
   EXPERIÊNCIA APLICADA — 3 microexperiências, antes do CTA final
   ============================================================ */
.experiencia-aplicada {
  position: relative;
  z-index: 2;
  padding: var(--section-y) 0;
  background: var(--bedrock-deep);
}
.micro-experiencias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.micro-experiencia {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(74, 74, 74, 0.5);
  background: var(--granite);
}
.micro-experiencia img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
}
.micro-experiencia-body { padding: 1.1rem 1.2rem 1.3rem; }
.micro-experiencia-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--white);
  letter-spacing: -0.005em;
  margin-bottom: 0.4rem;
}
.micro-experiencia-body p {
  font-size: 0.88rem;
  color: var(--ivory-dim);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .micro-experiencias { grid-template-columns: 1fr; }
}
