/* ============================================================
       BIX — SISTEMA DE DESIGN
       Tokens em múltiplos de 4 (8pt-aligned grid)
       ============================================================ */
:root {
  /* ========= PALETA (Manual de Identidade DOX/BIX) ========= */
  --ink-deep: #051420;
  --ink-petrol: #0e516a; /* Azul Petróleo (BIX) */
  --ink-petrol-deep: #082f3f;
  --ink-petrol-soft: #1a6886;
  --bix-blue: #0e516a; /* [Placeholder — confirmar tom oficial via Manual DOX p.5] */
  --accent-pool: #03969c;
  --accent-calm: #7fadc1;
  --accent-gold: #f9b321; /* AMARELO BIX — cor de marca */
  --accent-gold-soft: #ffcc4e;
  --accent-gold-deep: #d89815;
  --paper: #f4efe6;
  --paper-soft: #eae3d5;
  --paper-deep: #dcd3bf;
  --graphite: #575756;
  --whatsapp: #25d366;

  --text-on-dark: #e8e1d3;
  --text-mute-dark: #8fa5b0;
  --text-on-light: #0a2433;
  --text-mute-light: #5a6b73;

  /* ========= TIPOGRAFIA ========= */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-28: 28px;
  --fs-32: 32px;
  --fs-40: 40px;
  --fs-44: 44px;
  --fs-48: 48px;
  --fs-56: 56px;
  --fs-60: 60px;
  --fs-64: 64px;
  --fs-72: 72px;
  --fs-80: 80px;
  --fs-84: 84px;
  --fs-96: 96px;
  --fs-112: 112px;
  --fs-128: 128px;

  --lh-display: 1;
  --lh-headline: 1.1;
  --lh-heading: 1.2;
  --lh-tight: 1.4;
  --lh-body: 1.5;
  --lh-comfortable: 1.6;
  --lh-mono: 1.55;

  --ls-display: -0.05em;
  --ls-h1: -0.04em;
  --ls-h2: -0.03em;
  --ls-h3: -0.02em;
  --ls-h4: -0.015em;
  --ls-body: 0;
  --ls-mono-sm: 0.15em;
  --ls-mono-md: 0.18em;
  --ls-mono-lg: 0.2em;

  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --space-120: 120px;
  --space-128: 128px;
  --space-160: 160px;
  --space-200: 200px;

  --max-width: 1512px;
  --grid-margin: 128px;
  --content-width: 1256px;
  --section-pad-y: 128px;
  --hero-frame-pad: 24px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (max-width: 1440px) {
  :root {
    --grid-margin: 96px;
  }
}
@media (max-width: 1200px) {
  :root {
    --grid-margin: 64px;
    --section-pad-y: 96px;
  }
}
@media (max-width: 900px) {
  :root {
    --grid-margin: 40px;
    --section-pad-y: 80px;
    --hero-frame-pad: 16px;
  }
}
@media (max-width: 600px) {
  :root {
    --grid-margin: 24px;
    --section-pad-y: 64px;
    --hero-frame-pad: 12px;
  }
}

/* ============================================================
       RESET
       ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  margin: 0 !important;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-on-dark);
  background: var(--ink-deep);
  overflow-x: hidden;
  cursor: none;
}
@media (max-width: 900px) {
  body {
    cursor: auto;
  }
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: none;
}
@media (max-width: 900px) {
  button {
    cursor: pointer;
  }
}
a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}
@media (max-width: 900px) {
  a {
    cursor: pointer;
  }
}
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  width: 100%;
}
::selection {
  background: var(--accent-gold);
  color: var(--ink-deep);
}

/* ============================================================
       PLACEHOLDER (textuais) e ASSET-PLACEHOLDER (mídia)
       Marca tudo que não foi confirmado pelo cliente.
       ============================================================ */
.placeholder {
  color: var(--accent-gold) !important;
  font-style: italic;
  opacity: 0.8;
}

.asset-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(249, 179, 33, 0.08) 0px,
      rgba(249, 179, 33, 0.08) 14px,
      rgba(249, 179, 33, 0.18) 14px,
      rgba(249, 179, 33, 0.18) 28px
    ),
    var(--ink-petrol-deep);
  border: 1.5px dashed var(--accent-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  color: var(--accent-gold);
  text-align: center;
  padding: var(--space-32);
  z-index: 1;
}
.asset-placeholder.on-light {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(249, 179, 33, 0.1) 0px,
      rgba(249, 179, 33, 0.1) 14px,
      rgba(249, 179, 33, 0.22) 14px,
      rgba(249, 179, 33, 0.22) 28px
    ),
    var(--paper-soft);
  color: var(--accent-gold-deep);
  border-color: var(--accent-gold-deep);
}
.asset-placeholder .ap-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-lg);
  text-transform: uppercase;
  opacity: 0.7;
}
.asset-placeholder .ap-name {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: 0.02em;
  word-break: break-word;
  max-width: 90%;
}
.asset-placeholder .ap-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  opacity: 0.85;
}

/* ============================================================
       UTILITÁRIOS
       ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 400;
  letter-spacing: var(--ls-mono-md);
  text-transform: uppercase;
  color: var(--text-mute-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  line-height: var(--lh-mono);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-gold);
}
.eyebrow.light {
  color: var(--text-mute-light);
}

.section-number {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  color: var(--text-mute-dark);
  line-height: var(--lh-mono);
}
.section-number.light {
  color: var(--text-mute-light);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s var(--ease-out-expo),
    transform 1.2s var(--ease-out-expo);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.4s;
}
.reveal[data-delay="5"] {
  transition-delay: 0.5s;
}

/* ============================================================
       CURSOR CUSTOMIZADO — pinta amarelo no hover (presença BIX)
       ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--paper);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s var(--ease-out-expo),
    height 0.3s var(--ease-out-expo),
    background 0.3s ease;
  mix-blend-mode: difference;
}
.cursor.expand {
  width: 60px;
  height: 60px;
  background: var(--accent-gold);
}
@media (max-width: 900px) {
  .cursor {
    display: none;
  }
}

/* ============================================================
       LOADER (Ajuste 1)
       Fundo: tom BIX (placeholder até confirmar manual DOX p.5)
       Logo oficial em vez do texto "BIX"
       Tag: "Engenharia — Alto Padrão"
       ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bix-blue);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
}
.loader-logo {
  position: relative;
  width: clamp(180px, 26vw, 360px);
  animation: loaderLogoIn 1.2s var(--ease-out-expo) 0.1s both;
}
.loader-logo .bix-logo-svg {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes loaderLogoIn {
  from {
    transform: translateY(20%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.loader-line {
  width: 280px;
  height: 1px;
  background: rgba(244, 239, 230, 0.18);
  position: relative;
  overflow: hidden;
}
.loader-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-gold);
  transform-origin: left;
  transform: scaleX(0);
  animation: loadProgress 1.6s var(--ease-in-out) 0.4s forwards;
}
@keyframes loadProgress {
  to {
    transform: scaleX(1);
  }
}
.loader-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  animation: fadeIn 0.6s ease 0.6s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 0.85;
  }
}
.loader.gone {
  transform: translateY(-100%);
  transition: transform 1s var(--ease-out-expo);
  pointer-events: none;
}

/* ============================================================
       NAVEGAÇÃO
       ============================================================ */
.nav {
  position: fixed;
  top: var(--hero-frame-pad);
  left: var(--hero-frame-pad);
  right: var(--hero-frame-pad);
  z-index: 100;
  padding: var(--space-24) var(--grid-margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  transition:
    top 0.4s ease,
    left 0.4s ease,
    right 0.4s ease,
    background 0.4s ease,
    padding 0.4s ease,
    border-color 0.4s ease,
    border-radius 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  background: rgba(5, 20, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-16) var(--grid-margin);
  border-bottom-color: rgba(232, 225, 211, 0.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  position: relative;
}
.nav-logo-img {
  display: block;
  height: 32px;
  width: auto;
}
@media (max-width: 600px) {
  .nav-logo-img {
    height: 24px;
  }
}
.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  color: var(--text-mute-dark);
  padding-left: var(--space-16);
  border-left: 1px solid rgba(232, 225, 211, 0.2);
  line-height: var(--lh-mono);
}
@media (max-width: 720px) {
  .nav-logo-sub {
    display: none;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-40);
  list-style: none;
}
.nav-links a {
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--text-on-dark);
  position: relative;
  padding: var(--space-4) 0;
  transition: color 0.3s ease;
  line-height: var(--lh-tight);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.4s var(--ease-out-expo);
}
.nav-links a:hover {
  color: var(--paper);
}
.nav-links a:hover::after {
  width: 100%;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  padding: var(--space-16) var(--space-24);
  border: 1px solid rgba(232, 225, 211, 0.25);
  border-radius: var(--radius-pill);
  transition: all 0.4s var(--ease-out-expo);
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--paper);
  line-height: 1;
}
.nav-cta:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--ink-deep);
}
.nav-cta svg {
  transition: transform 0.4s var(--ease-out-expo);
}
.nav-cta:hover svg {
  transform: translate(3px, -3px);
}
.nav-cta:hover svg path {
  stroke: var(--ink-deep);
}

/* ============================================================
       HERO — vídeo do drone City América (Ajuste 3)
       Texto institucional ajustado (Ajuste 4)
       ============================================================ */
.hero {
  position: relative;
  background: var(--paper);
  padding: var(--hero-frame-pad);
  isolation: isolate;
}
.hero-card {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 2 * var(--hero-frame-pad));
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--grid-margin) var(--space-128);
  background: var(--ink-deep);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Cover-fit dentro do hero-card: usar dimensões do container, não viewport.
         16:9 = 1.7778. Garantimos que o iframe sempre seja maior que o container
         em pelo menos uma dimensão. */
  min-width: 100%;
  min-height: 100%;
  width: 177.78vh; /* 100vh * 16/9 — cobre quando o container é mais alto que largo */
  height: 56.25vw; /* 100vw * 9/16 — cobre quando o container é mais largo que alto */
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}
.hero-overlay,
.hero-grid {
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 20, 32, 0.55) 0%,
      rgba(5, 20, 32, 0.35) 40%,
      rgba(5, 20, 32, 0.9) 100%
    ),
    linear-gradient(
      135deg,
      rgba(14, 81, 106, 0.55) 0%,
      rgba(249, 179, 33, 0.12) 100%
    );
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(232, 225, 211, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 225, 211, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
@keyframes kenBurns {
  from {
    transform: scale(1.05) translate(0, 0);
  }
  to {
    transform: scale(1.15) translate(-2%, -1%);
  }
}

.hero-content {
  max-width: 844px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--fs-72);
  font-weight: 300;
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-display);
  color: var(--paper);
  margin-bottom: var(--space-24);
}
@media (max-width: 1200px) {
  .hero-headline {
    font-size: var(--fs-60);
  }
}
@media (max-width: 900px) {
  .hero-headline {
    font-size: var(--fs-48);
  }
}
@media (max-width: 600px) {
  .hero-headline {
    font-size: var(--fs-40);
  }
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}
.hero-headline .word {
  display: inline-block;
  vertical-align: bottom;
}
.hero-headline .word > span {
  display: inline-block;
  transform: translateY(100%);
  animation: revealUp 1.2s var(--ease-out-expo) forwards;
}
@keyframes revealUp {
  to {
    transform: translateY(0);
  }
}
.hero-headline .word:nth-child(2) > span {
  animation-delay: 0.15s;
}
.hero-headline .word:nth-child(3) > span {
  animation-delay: 0.25s;
}
.hero-headline .word:nth-child(4) > span {
  animation-delay: 0.35s;
}
.hero-headline .word:nth-child(5) > span {
  animation-delay: 0.45s;
}
.hero-headline .word:nth-child(6) > span {
  animation-delay: 0.55s;
}
.hero-headline .word:nth-child(7) > span {
  animation-delay: 0.65s;
}
.hero-headline .word:nth-child(8) > span {
  animation-delay: 0.75s;
}
.hero-headline .word:nth-child(9) > span {
  animation-delay: 0.85s;
}
.hero-headline .word:nth-child(10) > span {
  animation-delay: 0.95s;
}
.hero-headline .word:nth-child(11) > span {
  animation-delay: 1.05s;
}
.hero-headline .word:nth-child(12) > span {
  animation-delay: 1.15s;
}

.hero-sub {
  font-size: var(--fs-18);
  font-weight: 300;
  line-height: var(--lh-body);
  color: var(--text-on-dark);
  max-width: 844px;
  margin-bottom: var(--space-32);
  opacity: 0;
  animation: fadeInSub 1s ease 1.3s forwards;
}
@keyframes fadeInSub {
  to {
    opacity: 1;
  }
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-32);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInSub 1s ease 1.5s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-20) var(--space-40);
  background: var(--paper);
  color: var(--ink-deep);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: color 0.6s var(--ease-out-expo);
  line-height: 1;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-gold);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-out-expo);
  z-index: 0;
}
.btn-primary:hover::before {
  transform: translateY(0);
}
.btn-primary:hover {
  color: var(--ink-deep);
}
.btn-primary > * {
  position: relative;
  z-index: 1;
}
.btn-primary .arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.4s ease,
    transform 0.4s var(--ease-out-expo);
}
.btn-primary:hover .arrow {
  background: var(--ink-deep);
  transform: rotate(-45deg);
}
.btn-primary .arrow svg {
  width: 12px;
  height: 12px;
  transition: color 0.4s ease;
}
.btn-primary .arrow svg path {
  stroke: var(--paper);
  transition: stroke 0.4s ease;
}
.btn-primary:hover .arrow svg path {
  stroke: var(--accent-gold);
}

.hero-scroll {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-lg);
  text-transform: uppercase;
  color: var(--text-mute-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  line-height: var(--lh-mono);
}
.hero-scroll::before {
  content: "";
  width: 1px;
  height: 32px;
  background: var(--accent-gold);
  display: inline-block;
  animation: scrollLine 1.8s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 720px) {
  .hero-card {
    padding-top: 120px;
    padding-bottom: 96px;
    justify-content: center;
  }
  .hero-headline {
    margin-top: 0;
  }
  .hero-scroll {
    display: none;
  }
}

/* ============================================================
       SEÇÃO 02 — FILOSOFIA (Ajuste 6)
       Sem imagens. Apenas texto + presença do amarelo.
       ============================================================ */
.filosofia {
  background: var(--paper);
  color: var(--text-on-light);
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
}
.filosofia-bigword {
  position: absolute;
  bottom: -3vw;
  right: -2vw;
  font-family: var(--font-display);
  font-size: clamp(180px, 28vw, 480px);
  font-weight: 300;
  font-style: italic;
  color: var(--paper-deep);
  line-height: 0.85;
  letter-spacing: var(--ls-display);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.filosofia-bigword em {
  color: var(--accent-gold);
  opacity: 0.45;
  font-style: italic;
}
.filosofia-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-64);
  position: relative;
  z-index: 1;
}
.filosofia-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-200);
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-80);
}
@media (max-width: 1200px) {
  .filosofia-intro {
    gap: var(--space-120);
  }
}
@media (max-width: 900px) {
  .filosofia-intro {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
}

.filosofia-title {
  font-family: var(--font-display);
  font-size: var(--fs-72);
  font-weight: 300;
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-h1);
  color: var(--text-on-light);
}
@media (max-width: 1200px) {
  .filosofia-title {
    font-size: var(--fs-56);
  }
}
@media (max-width: 900px) {
  .filosofia-title {
    font-size: var(--fs-40);
  }
}
.filosofia-title em {
  font-style: italic;
  color: var(--ink-petrol);
}
.filosofia-title .blue {
  font-style: italic;
  color: var(--ink-petrol);
}

.filosofia-body {
  font-size: var(--fs-18);
  line-height: 1.7;
  color: var(--text-mute-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}
.filosofia-body p:first-letter {
  font-family: var(--font-display);
  font-size: 1.5em;
  font-weight: 500;
  color: var(--accent-gold-deep);
}
.filosofia-body em {
  font-style: italic;
  color: var(--ink-petrol);
}

.blue {
  color: var(--ink-petrol);
  font-style: italic;
}

/* ============================================================
       SEÇÃO 03 — MÉTODO BIX (Ajuste 7)
       - Imagens vivas (sem filtro duotone)
       - Sem textos sobre imagens
       - Mais presença do amarelo
       ============================================================ */
.metodo {
  background: var(--ink-petrol-deep);
  color: var(--text-on-dark);
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
}
.metodo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 225, 211, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 225, 211, 0.025) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}
.metodo::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(249, 179, 33, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.metodo-eyebrow-wrap {
  margin-bottom: var(--space-32);
  position: relative;
  z-index: 1;
}
.metodo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-80);
  gap: var(--space-200);
  position: relative;
  z-index: 1;
}
@media (max-width: 1200px) {
  .metodo-header {
    gap: var(--space-120);
  }
}
@media (max-width: 900px) {
  .metodo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-32);
    margin-bottom: var(--space-48);
  }
}

.metodo-title {
  font-family: var(--font-display);
  font-size: var(--fs-60);
  font-weight: 300;
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-h1);
  color: var(--paper);
  flex: 1;
}
@media (max-width: 1200px) {
  .metodo-title {
    font-size: var(--fs-48);
  }
}
@media (max-width: 900px) {
  .metodo-title {
    font-size: var(--fs-40);
  }
}
.metodo-title em {
  font-style: italic;
  color: var(--accent-gold);
}

.metodo-intro {
  font-size: var(--fs-18);
  line-height: 1.7;
  color: var(--text-mute-dark);
  width: 528px;
  max-width: 100%;
  flex-shrink: 0;
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(249, 179, 33, 0.12);
  border-top: 1px solid rgba(249, 179, 33, 0.18);
  border-bottom: 1px solid rgba(249, 179, 33, 0.18);
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) {
  .metodo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .metodo-grid {
    grid-template-columns: 1fr;
  }
}

.metodo-card {
  background: var(--ink-petrol-deep);
  position: relative;
  overflow: hidden;
  transition: background 0.6s var(--ease-out-expo);
  min-height: 680px;
  display: flex;
  flex-direction: column;
  cursor: none;
}
.metodo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--ink-petrol) 0%,
    var(--ink-petrol-deep) 100%
  );
  opacity: 0;
  transition: opacity 0.6s var(--ease-out-expo);
}
.metodo-card:hover::before {
  opacity: 1;
}
.metodo-card > * {
  position: relative;
  z-index: 1;
}

/* Imagem viva (Ajuste 7): sem duotone, sem text overlay, sem mix-blend */
.metodo-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--ink-deep);
}
.metodo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}
.metodo-card:hover .metodo-card-image img {
  transform: scale(1.06);
}

.metodo-card-body {
  padding: var(--space-32) var(--space-32) var(--space-40);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.metodo-card-num {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-lg);
  color: var(--accent-gold);
  margin-bottom: var(--space-32);
  line-height: var(--lh-mono);
}
.metodo-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 400;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-h4);
  color: var(--paper);
  margin-bottom: var(--space-20);
}
.metodo-card-title em {
  font-style: italic;
  color: var(--accent-gold);
}
.metodo-card-text {
  font-size: var(--fs-16);
  line-height: 1.65;
  color: var(--text-mute-dark);
  margin-bottom: auto;
  max-width: 280px;
}
.metodo-card-icon {
  width: 44px;
  height: 44px;
  margin-top: var(--space-32);
  opacity: 0.4;
  transition:
    opacity 0.6s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
}
.metodo-card:hover .metodo-card-icon {
  opacity: 1;
  transform: translateY(-4px);
}

/* ============================================================
       SEÇÃO INTERLUDE — VÍDEO BANHEIRO PRONTO
       Full-viewport entre Método (03) e Atuação (04)
       ============================================================ */
.interlude {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--ink-deep);
  overflow: hidden;
}
.interlude-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Cobre a tela inteira mantendo proporção 16:9 sem barras */
  width: max(100vw, calc(100vh * 16 / 9));
  height: max(100vh, calc(100vw * 9 / 16));
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

@media (max-width: 767px) {
  .interlude {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
    background: var(--ink-deep);
    overflow: hidden;
  }

  .interlude-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border: none;
    pointer-events: none;
  }
}

/* ============================================================
       VISUAL ELEMENT — abaixo do título "Saiba como contribuímos"
       SVG geométrico animado inspirado no símbolo BIX + checklist
       ============================================================ */
.contribs-visual {
  margin-top: var(--space-48);
  position: relative;
  max-width: 360px;
  aspect-ratio: 1 / 1;
}
@media (max-width: 900px) {
  .contribs-visual {
    display: none;
  }
}
.contribs-visual svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Quadros concêntricos — eco do "box com as laterais do ícone" do manual BIX */
.cv-box {
  fill: none;
  stroke: var(--accent-calm);
  stroke-width: 1;
  opacity: 0.18;
}
.cv-box-1 {
  animation: cv-rotate 60s linear infinite;
  transform-origin: center;
}
.cv-box-2 {
  animation: cv-rotate 90s linear infinite reverse;
  transform-origin: center;
}
@keyframes cv-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* Cruz central — eco do símbolo BIX */
.cv-cross {
  stroke: var(--accent-gold);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.55;
}

/* 6 pontos representando as 6 contribuições */
.cv-dot {
  fill: var(--accent-gold);
  animation: cv-pulse 3s ease-in-out infinite;
}
.cv-dot:nth-child(1) {
  animation-delay: 0s;
}
.cv-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.cv-dot:nth-child(3) {
  animation-delay: 0.3s;
}
.cv-dot:nth-child(4) {
  animation-delay: 0.45s;
}
.cv-dot:nth-child(5) {
  animation-delay: 0.6s;
}
.cv-dot:nth-child(6) {
  animation-delay: 0.75s;
}
@keyframes cv-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}
.cv-dot {
  transform-origin: center;
  transform-box: fill-box;
}

/* Linhas radiais conectando — efeito blueprint */
.cv-line {
  stroke: var(--accent-calm);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: 0.25;
}

/* Centro: ponto pulsante */
.cv-center {
  fill: var(--paper);
  animation: cv-center-pulse 2.5s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes cv-center-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

/* Marcas de medida nas laterais — referência a precisão de engenharia */
.cv-tick {
  stroke: var(--text-mute-dark);
  stroke-width: 0.5;
  opacity: 0.4;
}
.cv-label {
  font-family: "DM Mono", monospace;
  font-size: 8px;
  fill: var(--text-mute-dark);
  letter-spacing: 0.15em;
  opacity: 0.5;
}
.cv-label-gold {
  fill: var(--accent-gold);
  opacity: 0.8;
}

/* ============================================================
       SEÇÃO 04 — ATUAÇÃO (Ajuste 8)
       - Texto corrigido para "100% do território nacional"
       - Mapa real (SVG geográfico) com presença do amarelo
       ============================================================ */
.atuacao {
  background: #061821;
  color: var(--text-on-dark);
  padding: 240px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(232, 225, 211, 0.1);
  border-bottom: 1px solid rgba(232, 225, 211, 0.1);
}
@media (max-width: 1200px) {
  .atuacao {
    padding: 200px 0;
  }
}
@media (max-width: 900px) {
  .atuacao {
    padding: 160px 0;
  }
}
@media (max-width: 600px) {
  .atuacao {
    padding: 120px 0;
  }
}
.atuacao::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 30%,
      rgba(14, 81, 106, 0.3) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(249, 179, 33, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.atuacao > * {
  position: relative;
  z-index: 1;
}
.atuacao-header {
  margin-bottom: var(--space-80);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-40);
}
.atuacao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-80);
  align-items: center;
}
@media (max-width: 1200px) {
  .atuacao-grid {
    gap: var(--space-64);
  }
}
@media (max-width: 900px) {
  .atuacao-grid {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }
}

.atuacao-title {
  font-family: var(--font-display);
  font-size: var(--fs-60);
  font-weight: 300;
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-h1);
  color: var(--paper);
  margin-bottom: var(--space-32);
}
@media (max-width: 1200px) {
  .atuacao-title {
    font-size: var(--fs-48);
  }
}
@media (max-width: 900px) {
  .atuacao-title {
    font-size: var(--fs-40);
  }
}
.atuacao-title em {
  font-style: italic;
  color: var(--accent-gold);
}
.atuacao-title .gold {
  font-style: italic;
  color: var(--accent-gold);
}

.atuacao-text {
  font-size: var(--fs-16);
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-bottom: var(--space-24);
  max-width: 480px;
}
.atuacao-text strong {
  color: var(--paper);
  font-weight: 500;
}
.atuacao-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-20) var(--space-32);
  background: var(--accent-gold);
  color: var(--ink-deep);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease-out-expo);
  line-height: 1;
  margin-top: var(--space-16);
}
.atuacao-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 0;
}
.atuacao-cta:hover::before {
  transform: translateY(0);
}
.atuacao-cta:hover {
  color: var(--ink-deep);
}
.atuacao-cta > * {
  position: relative;
  z-index: 1;
}

/* Mapa real */
.map-wrap {
  position: relative;
  aspect-ratio: 868 / 1280;
  max-height: 720px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background:
    radial-gradient(
      ellipse at 40% 35%,
      rgba(249, 179, 33, 0.08) 0%,
      transparent 55%
    ),
    rgba(232, 225, 211, 0.03);
  border: 1px solid rgba(232, 225, 211, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-32);
  overflow: hidden;
}
@media (max-width: 900px) {
  .map-wrap {
    max-height: 640px;
    max-width: 420px;
  }
}
.map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 225, 211, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 225, 211, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
/* ====== MAPA SVG — ATUAÇÃO ====== */
.map-svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* Continente — paths reais do SVG fornecido */
.map-svg .america-paths {
  fill: rgba(232, 225, 211, 0.1);
  stroke: rgba(232, 225, 211, 0.35);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  transition:
    fill 0.5s ease,
    stroke 0.5s ease;
}

/* Pins BIX */
.map-svg .pin-pulse {
  fill: var(--accent-gold);
  fill-opacity: 0.18;
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-pulse 2.4s ease-in-out infinite;
}
.map-svg .pin-ring {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 2.5;
  stroke-opacity: 0.6;
}
.map-svg .pin-dot {
  fill: var(--accent-gold);
  stroke: var(--ink-deep);
  stroke-width: 2;
}
.map-svg .pin-leader {
  stroke: var(--accent-gold);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  opacity: 0.55;
}
.map-svg .pin-label-bg {
  fill: var(--ink-deep);
  fill-opacity: 0.92;
  stroke: var(--accent-gold);
  stroke-width: 1.2;
  rx: 6;
  padding: 8px 12px;
}
.map-svg .pin-label-text {
  font-family: "DM Mono", monospace;
  font-size: 18px;
  letter-spacing: 0.12em;
  fill: var(--paper);
  font-weight: 500;
  text-transform: uppercase;
}
@keyframes pin-pulse {
  0%,
  100% {
    transform: scale(1);
    fill-opacity: 0.25;
  }
  50% {
    transform: scale(2.2);
    fill-opacity: 0.04;
  }
}

.map-svg .map-pin-svg {
  opacity: 0;
  animation: pin-in 0.9s var(--ease-out-expo) forwards;
}
.map-svg .map-pin-svg:nth-of-type(1) {
  animation-delay: 1s;
}
.map-svg .map-pin-svg:nth-of-type(2) {
  animation-delay: 1.25s;
}
.map-svg .map-pin-svg:nth-of-type(3) {
  animation-delay: 1.5s;
}
@keyframes pin-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.map-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  color: var(--text-mute-dark);
  line-height: var(--lh-mono);
  z-index: 2;
}
.map-corner.tl {
  top: var(--space-16);
  left: var(--space-20);
}
.map-corner.tr {
  top: var(--space-16);
  right: var(--space-20);
}
.map-corner.bl {
  bottom: var(--space-16);
  left: var(--space-20);
}
.map-corner.br {
  bottom: var(--space-16);
  right: var(--space-20);
  color: var(--accent-gold);
}

.map-coverage {
  position: absolute;
  left: 50%;
  bottom: var(--space-32);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-12) var(--space-20);
  background: var(--ink-deep);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  color: var(--text-on-dark);
  line-height: var(--lh-mono);
  white-space: nowrap;
  z-index: 3;
}
.map-coverage-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(249, 179, 33, 0.25);
}
@media (max-width: 600px) {
  .map-coverage {
    font-size: 10px;
    padding: var(--space-8) var(--space-16);
  }
}

.atuacao-stats {
  display: flex;
  gap: var(--space-48);
  margin-top: var(--space-48);
  padding-top: var(--space-40);
  border-top: 1px solid rgba(232, 225, 211, 0.1);
  flex-wrap: wrap;
}
.atuacao-stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-40);
  font-weight: 300;
  letter-spacing: var(--ls-h2);
  color: var(--paper);
  line-height: var(--lh-headline);
  margin-bottom: var(--space-8);
}
.atuacao-stat-num em {
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 400;
}
.atuacao-stat-label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  color: var(--text-mute-dark);
  line-height: var(--lh-mono);
}

/* ============================================================
       SEÇÃO 05 — ESTUDO DE CASO (Ajuste 9)
       - Título em 2 linhas
       - "Arkitito" corrigido
       - Imagens substituídas (placeholders)
       - Vídeo banheiro-pronto em seção dedicada (entre galeria e contribs)
       - Métricas atualizadas: 13 meses (com subsolo), 97% assertividade, 78%
       ============================================================ */
.case {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
}
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 80% 10%,
      rgba(14, 81, 106, 0.25) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 10% 90%,
      rgba(249, 179, 33, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.case > * {
  position: relative;
  z-index: 1;
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: var(--space-32);
  margin-bottom: var(--space-64);
  gap: var(--space-40);
  flex-wrap: wrap;
}
.case-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-lg);
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-32);
  padding: var(--space-8) var(--space-16);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-pill);
  background: rgba(249, 179, 33, 0.05);
  line-height: var(--lh-mono);
}
.case-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
}
.case-title {
  font-family: var(--font-display);
  font-size: var(--fs-80);
  font-weight: 300;
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-display);
  color: var(--paper);
  max-width: 1140px;
}
@media (max-width: 1200px) {
  .case-title {
    font-size: var(--fs-64);
  }
}
@media (max-width: 900px) {
  .case-title {
    font-size: var(--fs-48);
  }
}
@media (max-width: 600px) {
  .case-title {
    font-size: var(--fs-40);
  }
}
.case-title em {
  font-style: italic;
  color: var(--accent-gold);
}
/* Quebra em 2 linhas (Ajuste 9) */
.case-title br {
  display: block;
}

.case-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-80);
  margin-bottom: var(--space-80);
}
@media (max-width: 1200px) {
  .case-intro {
    gap: var(--space-48);
  }
}
@media (max-width: 900px) {
  .case-intro {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
}

.case-meta-list {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  line-height: var(--lh-mono);
  list-style: none;
}
.case-meta-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-16) 0;
  border-bottom: 1px solid rgba(232, 225, 211, 0.08);
  color: var(--text-mute-dark);
}
.case-meta-list li strong {
  color: var(--paper);
  font-weight: 400;
}
.case-meta-list li.highlight strong {
  color: var(--accent-gold);
}

.case-description {
  font-size: var(--fs-18);
  line-height: 1.7;
  color: var(--text-on-dark);
}
.case-description p {
  margin-bottom: var(--space-20);
}
.case-description p:last-child {
  margin-bottom: 0;
}
.case-description em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-gold);
}

/* Galeria (Ajuste 9 — imagens substituídas) */
.case-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}
@media (max-width: 900px) {
  .case-gallery {
    grid-template-columns: 1fr;
  }
}
.case-gallery-main {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
}
.case-gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-16);
}
.case-gallery-card {
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
}
.case-gallery-card img,
.case-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}
.case-gallery-card img,
.case-gallery-main img {
  filter: saturate(0.75) hue-rotate(-12deg) brightness(0.85) contrast(1.1);
}
.case-gallery-card::after,
.case-gallery-main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 81, 106, 0.25);
  mix-blend-mode: multiply;
  border-radius: var(--radius-sm);
  pointer-events: none;
  z-index: 2;
}
.case-gallery-card:hover img,
.case-gallery-main:hover img {
  transform: scale(1.05);
}
.case-gallery-card .gal-tag,
.case-gallery-main .gal-tag {
  position: absolute;
  bottom: var(--space-16);
  left: var(--space-16);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-lg);
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(5, 20, 32, 0.7);
  backdrop-filter: blur(8px);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent-gold);
  line-height: var(--lh-mono);
  z-index: 2;
}

/* Lista de contribuições */
.case-contribs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-80);
  margin: var(--space-96) 0;
  padding: var(--space-64) 0;
  border-top: 1px solid rgba(232, 225, 211, 0.1);
  border-bottom: 1px solid rgba(232, 225, 211, 0.1);
  align-items: start;
}
@media (max-width: 1200px) {
  .case-contribs {
    gap: var(--space-48);
  }
}
@media (max-width: 900px) {
  .case-contribs {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
}

.case-contribs-title {
  font-family: var(--font-display);
  font-size: var(--fs-40);
  font-weight: 300;
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-h2);
  color: var(--paper);
}
@media (max-width: 900px) {
  .case-contribs-title {
    font-size: var(--fs-32);
  }
}
.case-contribs-title em {
  font-style: italic;
  color: var(--accent-gold);
}
.case-contribs-list {
  list-style: none;
}
.case-contribs-list li {
  padding: var(--space-20) 0;
  border-bottom: 1px solid rgba(232, 225, 211, 0.06);
  display: flex;
  gap: var(--space-20);
  font-size: var(--fs-18);
  line-height: 1.65;
  color: var(--text-on-dark);
  transition: color 0.4s ease;
}
.case-contribs-list li:hover {
  color: var(--paper);
}
.case-contribs-list li:first-child {
  padding-top: 0;
}
.case-contribs-list li:last-child {
  border-bottom: none;
}
.case-contribs-list .num {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  color: var(--accent-gold);
  min-width: 32px;
  padding-top: var(--space-4);
  line-height: var(--lh-mono);
}

/* Métricas */
.case-metrics-header {
  text-align: center;
  margin-bottom: var(--space-64);
}
.case-metrics-header h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-32);
  font-weight: 400;
  color: var(--paper);
  letter-spacing: var(--ls-h4);
  line-height: var(--lh-heading);
}
.case-metrics-header p {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-lg);
  text-transform: uppercase;
  color: var(--text-mute-dark);
  margin-top: var(--space-12);
  line-height: var(--lh-mono);
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(249, 179, 33, 0.12);
  border: 1px solid rgba(249, 179, 33, 0.18);
}
@media (max-width: 900px) {
  .case-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .case-metrics {
    grid-template-columns: 1fr;
  }
}
.metric {
  background: var(--ink-deep);
  padding: var(--space-48) var(--space-32);
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: 232px;
}
.metric::after {
  content: "";
  position: absolute;
  top: var(--space-24);
  right: var(--space-24);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold);
}
.metric-num {
  font-family: var(--font-display);
  font-size: var(--fs-84);
  font-weight: 300;
  line-height: 1;
  letter-spacing: var(--ls-h1);
  color: var(--paper);
  margin-bottom: var(--space-12);
}
@media (max-width: 1200px) {
  .metric-num {
    font-size: var(--fs-72);
  }
}
@media (max-width: 900px) {
  .metric-num {
    font-size: var(--fs-64);
  }
}
.metric-num .unit {
  font-family: var(--font-body);
  font-size: 0.4em;
  font-weight: 400;
  color: var(--accent-gold);
  letter-spacing: 0;
  margin-left: var(--space-4);
  vertical-align: super;
}
.metric-num em {
  font-style: italic;
  color: var(--accent-gold);
  font-size: 0.55em;
}
.metric-label {
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--text-mute-dark);
  max-width: 240px;
}
.metric-label strong {
  color: var(--text-on-dark);
  font-weight: 500;
}

/* ============================================================
       SEÇÃO 06 — FORM (Ajuste 10)
       - "WhatsApp" — "Telefone para contato"
       - Novo campo: região do projeto
       - Presença do amarelo
       ============================================================ */
.form-section {
  background: var(--paper);
  color: var(--text-on-light);
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: "BIX";
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(280px, 38vw, 580px);
  font-weight: 300;
  color: var(--paper-deep);
  opacity: 0.5;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: var(--ls-display);
}
.form-section::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(249, 179, 33, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-200);
  position: relative;
  z-index: 1;
}
@media (max-width: 1200px) {
  .form-grid {
    gap: var(--space-120);
  }
}
@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-64);
  }
}

.form-left h2 {
  font-family: var(--font-display);
  font-size: var(--fs-64);
  font-weight: 300;
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-h1);
  color: var(--text-on-light);
  margin-bottom: var(--space-28);
  margin-top: var(--space-32);
}
@media (max-width: 1200px) {
  .form-left h2 {
    font-size: var(--fs-48);
  }
}
@media (max-width: 900px) {
  .form-left h2 {
    font-size: var(--fs-40);
  }
}
.form-left h2 em {
  font-style: italic;
  color: var(--ink-petrol);
}
.form-left h2 .gold {
  font-style: italic;
  color: var(--accent-gold-deep);
}
.form-left p {
  font-size: var(--fs-16);
  line-height: 1.7;
  color: var(--text-mute-light);
  margin-bottom: var(--space-40);
  max-width: 420px;
}
.form-contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding-top: var(--space-32);
  border-top: 1px solid var(--paper-deep);
}
.form-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  color: var(--text-on-light);
  line-height: var(--lh-mono);
}
.form-contact-item svg {
  color: var(--accent-gold-deep);
}

.form-right form {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}
.form-field {
  position: relative;
}
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: var(--ls-mono-lg);
  text-transform: uppercase;
  color: var(--text-mute-light);
  margin-bottom: var(--space-12);
  line-height: var(--lh-mono);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-size: var(--fs-16);
  font-weight: 300;
  padding: var(--space-8) 0 var(--space-12);
  border-bottom: 1px solid var(--paper-deep);
  color: var(--text-on-light);
  background: transparent;
  transition: border-color 0.3s ease;
  font-family: var(--font-body);
  line-height: var(--lh-tight);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--accent-gold);
}
.form-field textarea {
  resize: vertical;
  min-height: 60px;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%230A2433' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-20) var(--space-32);
  background: var(--ink-petrol);
  color: var(--paper);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  font-weight: 600;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease-out-expo);
  margin-top: var(--space-12);
  line-height: 1;
}
.form-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-gold);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 0;
}
.form-submit:hover::before {
  transform: translateY(0);
}
.form-submit:hover {
  color: var(--ink-deep);
}
.form-submit > * {
  position: relative;
  z-index: 1;
}
.form-submit .arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out-expo);
}
.form-submit:hover .arrow {
  transform: rotate(-45deg);
  background: var(--ink-deep);
}
.form-submit .arrow svg path {
  stroke: var(--ink-petrol);
  transition: stroke 0.3s ease;
}
.form-submit:hover .arrow svg path {
  stroke: var(--accent-gold);
}

/* ============================================================
       FOOTER
       ============================================================ */
.footer {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  padding: var(--space-96) 0 var(--space-32);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-40);
  padding: var(--space-48) 0;
  border-top: 1px solid rgba(232, 225, 211, 0.1);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-lg);
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-20);
  font-weight: 400;
  line-height: var(--lh-mono);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}
.footer-col a {
  font-size: var(--fs-14);
  color: var(--text-on-dark);
  transition: color 0.3s ease;
  line-height: var(--lh-tight);
}
.footer-col a:hover {
  color: var(--accent-gold);
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-on-dark);
  max-width: 360px;
}
.footer-tagline em {
  color: var(--accent-gold);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-20);
  padding-top: var(--space-32);
  border-top: 1px solid rgba(232, 225, 211, 0.06);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-mono-sm);
  text-transform: uppercase;
  color: var(--text-mute-dark);
  line-height: var(--lh-mono);
}

.footer-seals {
  display: flex;
  align-items: center;
  gap: var(--space-48);
  margin-top: var(--space-80);
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  border-top: 1px solid rgba(232, 225, 211, 0.06);
  flex-wrap: wrap;
}
.footer-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20) var(--space-32);
  overflow: hidden;
  background: rgba(232, 225, 211, 0.03);
  border: 1px solid rgba(232, 225, 211, 0.08);
  border-radius: var(--radius-md);
  transition:
    background 0.4s var(--ease-out-expo),
    border-color 0.4s ease;
  height: 200px;
  width: 340px;
  position: relative;
}
.footer-seal:hover {
  background: rgba(232, 225, 211, 0.07);
  border-color: var(--accent-gold);
}
.footer-seal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}
/* ISO seal SVG has lots of empty space around the logo — scale it up to fill the container */
.footer-seal--iso img {
  transform: scale(2.2);
  transform-origin: center;
}
.footer-seal:hover img {
  opacity: 1;
}
@media (max-width: 600px) {
  .footer-seal {
    width: 100%;
    height: 160px;
    padding: var(--space-16) var(--space-24);
  }
  .footer-seal--iso img {
    transform: scale(1.9);
  }
}

/* ============================================================
       WHATSAPP FLOAT (Ajuste 5 — amarelo BIX para teste)
       ============================================================ */
.wa-float {
  position: fixed;
  bottom: var(--space-32);
  right: var(--space-32);
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-deep);
  box-shadow: 0 10px 40px rgba(249, 179, 33, 0.4);
  transition:
    transform 0.4s var(--ease-out-expo),
    background 0.3s ease;
}
.wa-float:hover {
  transform: scale(1.1);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  opacity: 0;
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
/* Alternativa: cor original do WhatsApp — descomentar caso prefiram esta opção
    .wa-float { background: var(--whatsapp); color: var(--paper); box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4); }
    .wa-float::before { border-color: var(--whatsapp); }
    */

/* ============================================================
       MEDIA QUERIES FINAIS
       ============================================================ */
@media (max-width: 720px) {
  .case-meta-list {
    font-size: var(--fs-12);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
