/* ============================================================
   Capital 33 — Auditoria 360° v4.0 — Premium Executive
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #07090E;
  color: #C8CDD6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  /* Paleta */
  --obsidian:     #07090E;
  --ink:          #0D1018;
  --surface:      #13171F;
  --surface-2:    #1A1F2A;
  --border:       rgba(255,255,255,0.07);
  --border-gold:  rgba(201,162,39,0.28);

  /* Dourado */
  --gold:         #C9A227;
  --gold-bright:  #E8C55A;
  --gold-muted:   rgba(201,162,39,0.15);

  /* Texto */
  --white:        #FFFFFF;
  --text-hi:      #F0EDE6;
  --text-md:      #9AA0AD;
  --text-lo:      #5C6170;

  /* Claro (seções snow) */
  --snow:         #F4F5F7;
  --snow-border:  rgba(0,0,0,0.07);
  --ink-text:     #0D1018;
  --ink-muted:    #5C6170;

  /* Tipografia */
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-text:    'Barlow', system-ui, sans-serif;
  --font-ui:      'Inter', system-ui, sans-serif;

  /* Layout */
  --max-w:        1240px;
  --px:           clamp(1.25rem, 5vw, 4rem);
  --header-h:     68px;

  /* Timing */
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --t:            0.22s ease;
}

/* ── Layout helpers ───────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.w-full  { width: 100%; }
.mt-md   { margin-top: 1.25rem; }

/* Reveal animation */
.ri {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.ri.in { opacity: 1; transform: none; }

/* ── Typography helpers ───────────────────────────────────── */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-md);
  margin-bottom: 1.1rem;
  display: block;
}
.eyebrow.gold { color: var(--gold); }

.gold-em {
  font-style: normal;
  color: var(--gold-bright);
}
.gold-line { color: var(--gold-bright); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #07090E;
  background: var(--gold);
  border-radius: 3px;
  transition: filter var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,162,39,0.35);
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-hi);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  transition: color var(--t), border-color var(--t), transform var(--t);
}
.btn-ghost-light:hover {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(7,9,14,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--t);
}
.site-header.scrolled { border-bottom-color: var(--border-gold); }

.hd-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  gap: 2.5rem;
}
.hd-logo { flex-shrink: 0; }

.hd-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}
.hd-nav-link {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-md);
  transition: color var(--t);
  letter-spacing: 0.02em;
}
.hd-nav-link:hover { color: var(--text-hi); }

.hd-cta {
  margin-left: auto;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #07090E;
  background: var(--gold);
  border-radius: 3px;
  flex-shrink: 0;
  transition: filter var(--t);
}
.hd-cta:hover { filter: brightness(1.1); }

.hd-hamburger {
  display: none;
  flex-direction: column;
  gap: 4.5px;
  padding: 5px;
  margin-left: auto;
}
.hd-hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: var(--t);
}
.hd-mobile {
  display: none;
  flex-direction: column;
  background: var(--ink);
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.hd-mobile.open { max-height: 480px; }
.hd-mobile-link {
  display: block;
  padding: 0.9rem var(--px);
  font-size: 0.9rem;
  color: var(--text-md);
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.hd-mobile-link:hover { color: var(--text-hi); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Foto de fundo */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* Gradiente diagonal: esquerda totalmente opaca, direita parcialmente visível */
.hero-bg-grad {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(7,9,14,1)   0%,
    rgba(7,9,14,0.97) 38%,
    rgba(7,9,14,0.72) 62%,
    rgba(7,9,14,0.45) 100%
  );
}
/* Noise texture para profundidade */
.hero-bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

/* Grid principal do hero */
.hero-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding-top: calc(var(--header-h) + 5rem);
  padding-bottom: 5rem;
}

/* Copy esquerda */
.hero-copy { max-width: 640px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-h1 .gold-em {
  display: inline;
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text-md);
  margin-bottom: 2.25rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.tag-sep { color: var(--gold); }

/* Painel de escopo (direita - destacado) */
.hero-panel {
  background: rgba(15, 19, 28, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(232, 197, 90, 0.45);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 0 0 35px rgba(201, 162, 39, 0.2);
  border-radius: 8px;
  overflow: hidden;
  max-width: 380px;
  margin-left: auto;
  transition: border-color var(--t), box-shadow var(--t);
}
.hero-panel:hover {
  border-color: rgba(232, 197, 90, 0.7);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 45px rgba(201, 162, 39, 0.3);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem 0.85rem;
  background: rgba(201, 162, 39, 0.12);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.ph-badge {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #07090E;
  background: var(--gold-bright);
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.panel-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.scope-list { display: flex; flex-direction: column; }

.scope-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--t);
}
.scope-item:last-child { border-bottom: none; }
.scope-item:hover { background: rgba(201,162,39,0.08); }

.scope-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright);
  background: rgba(201,162,39,0.18);
  border: 1px solid rgba(232, 197, 90, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(201, 162, 39, 0.2);
}

.scope-item div:last-child {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.scope-item strong {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}
.scope-item span {
  font-size: 0.78rem;
  color: #A0A8B8;
}

.panel-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  background: rgba(201,162,39,0.08);
  border-top: 1px solid rgba(201,162,39,0.25);
  font-size: 0.72rem;
  color: var(--gold-bright);
  font-weight: 500;
}
.pf-dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
}

/* Barra de clientes */
.hero-clients {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: rgba(13,16,24,0.6);
  backdrop-filter: blur(12px);
  padding: 1.1rem 0;
}
.hc-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hc-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lo);
  white-space: nowrap;
  flex-shrink: 0;
}
.hc-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hc-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-hi);
  opacity: 0.35;
  text-transform: uppercase;
  transition: opacity var(--t);
}
.hc-name:hover { opacity: 0.7; }
.hc-div {
  width: 1px; height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   SEÇÕES BASE (dark / light)
   ============================================================ */
.section-dark {
  background: var(--obsidian);
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}
.section-light {
  background: var(--snow);
  padding: 7rem 0;
}

/* ============================================================
   PROBLEMA / RISCOS
   ============================================================ */
.problema-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: start;
  margin-top: 2.5rem;
}

.xl-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.03;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.problema-note {
  font-size: 0.95rem;
  color: var(--text-md);
  line-height: 1.7;
  border-left: 2px solid var(--border-gold);
  padding-left: 1rem;
  margin-top: 0.5rem;
}

/* Áreas de risco — 2×2 */
.risk-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.risk-area {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.risk-area:nth-child(2n) { border-right: none; }
.risk-area:nth-child(3),
.risk-area:nth-child(4) { border-bottom: none; }
.risk-area:hover { background: rgba(255,255,255,0.02); }

.ra-icon {
  color: var(--gold);
  margin-bottom: 1rem;
}
.risk-area h3 {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-hi);
  margin-bottom: 0.65rem;
}
.risk-area p {
  font-size: 0.85rem;
  color: var(--text-md);
  line-height: 1.65;
}

/* Faixa statement (centralizada) */
.statement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 4.5rem auto 0;
  max-width: 900px;
  padding: 1.4rem 2.2rem;
  background: rgba(201, 162, 39, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  text-align: center;
}
.sb-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  min-width: 40px;
  max-width: 90px;
}
.statement-bar p {
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-hi);
  text-align: center;
  margin: 0;
  flex: 1;
}
.statement-bar p strong { color: var(--gold-bright); font-style: normal; font-weight: 700; }

/* ============================================================
   AUDITORIA 360° — DIAGRAMA
   ============================================================ */
.audit360-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.audit360-copy .eyebrow { color: var(--gold); }
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.section-h2.dark { color: var(--ink-text); }
.section-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

/* Pilares listados */
.audit360-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.audit360-pillars li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background var(--t), border-color var(--t), transform var(--t);
  cursor: default;
}
.audit360-pillars li:hover {
  background: var(--white);
  border-color: rgba(201,162,39,0.35);
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  transform: translateX(4px);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  background: #0D1018;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.audit360-pillars strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0D1018;
  margin-bottom: 0.15rem;
}
.audit360-pillars span {
  font-size: 0.8rem;
  color: #4B5563;
}

/* Diagrama orbital */
.audit360-diagram { display: flex; justify-content: center; align-items: center; }

.orb-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient Radial Glow & Pulsing Aura */
.orb-glow-bg {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.14) 0%, rgba(244,245,247,0) 70%);
  pointer-events: none;
  z-index: 1;
}

.orb-pulse-aura {
  position: absolute;
  z-index: 3;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.35) 0%, rgba(201,162,39,0) 75%);
  animation: orb-pulse 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orb-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.45; }
  50%      { transform: scale(1.35); opacity: 0.9; }
}

/* Anéis animados */
.orb-ring {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  border: 1px dashed rgba(201,162,39,0.32);
}
.orb-ring--outer {
  width: 310px; height: 310px;
  animation: orb-spin 32s linear infinite;
}
.orb-ring--inner {
  width: 210px; height: 210px;
  border-style: solid;
  border-color: rgba(201,162,39,0.18);
  animation: orb-spin 20s linear infinite reverse;
}
@keyframes orb-spin { to { transform: rotate(360deg); } }

/* Centro */
.orb-center {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 124px; height: 124px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid rgba(201,162,39,0.5);
  box-shadow: 0 0 35px rgba(201,162,39,0.22), 0 0 0 8px rgba(201,162,39,0.06);
  justify-content: center;
  transition: transform var(--t), box-shadow var(--t);
}
.orb-center:hover {
  transform: scale(1.05);
  box-shadow: 0 0 45px rgba(201,162,39,0.35), 0 0 0 10px rgba(201,162,39,0.1);
}
.orb-c-label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0D1018;
}
.orb-c-sub {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  color: #8B6C2E;
  letter-spacing: 0.08em;
}

/* Linhas SVG conectoras animadas */
.orb-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.orb-lines line {
  animation: dash-stream 14s linear infinite;
}
@keyframes dash-stream {
  to { stroke-dashoffset: -120; }
}

/* Satélites (nós) */
.orb-sat {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-top: 3px solid #0D1018;
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  width: 128px;
  text-align: center;
  transition: translate var(--t), scale var(--t), box-shadow var(--t), border-color var(--t);
  cursor: default;
}

.orb-sat--n  { top: -10px;  left: 50%; translate: -50% 0; }
.orb-sat--sw { bottom: 10px; left: -14px; translate: 0 0; }
.orb-sat--se { bottom: 10px; right: -14px; translate: 0 0; }

.orb-sat:hover,
.orb-sat.is-active {
  scale: 1.05;
  box-shadow: 0 12px 28px rgba(201,162,39,0.22);
  border-top-color: var(--gold-bright);
  border-color: rgba(201,162,39,0.5);
}
.orb-sat--n:hover,
.orb-sat--n.is-active {
  translate: -50% -3px;
}
.orb-sat--sw:hover,
.orb-sat--sw.is-active,
.orb-sat--se:hover,
.orb-sat--se.is-active {
  translate: 0 -3px;
}

.orb-sat-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: #0D1018;
  border-radius: 50%;
  color: var(--gold-bright);
}

.orb-sat span {
  font-size: 0.68rem;
  font-weight: 800;
  color: #0D1018;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* ============================================================
   CASE STUDY (Caso Real com melhor organização visual)
   ============================================================ */
.case-section { position: relative; overflow: hidden; }

.case-bg {
  position: absolute; inset: 0; z-index: 0;
}
.case-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.case-bg-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--obsidian) 45%, rgba(7,9,14,0.8) 100%);
}

.case-section .wrap { position: relative; z-index: 2; }

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2.5rem;
}

.case-h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

.case-body {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--text-md);
  margin-bottom: 1.5rem;
}

.case-findings-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
}
.case-findings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.case-findings li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-hi);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  line-height: 1.35;
}
.case-findings svg { color: var(--gold-bright); flex-shrink: 0; }

/* Grid de métricas executivo */
.case-numbers { display: flex; flex-direction: column; gap: 0.85rem; }

.cn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(18, 22, 32, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.cn-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 1.5rem 1.4rem;
  min-height: 130px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cn-item:nth-child(2n)       { border-right: none; }
.cn-item:nth-last-child(-n+2){ border-bottom: none; }

.cn-tag {
  display: inline-block;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #07090E;
  background: var(--gold-bright);
  padding: 0.18rem 0.5rem;
  border-radius: 50px;
  margin-bottom: 0.45rem;
  width: fit-content;
  align-self: flex-start;
}

.cn-val {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.01em;
}
.cn-lab {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-md);
  line-height: 1.35;
}

.cn-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #07090E;
  background: var(--gold-bright);
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.cn-item--highlight {
  background: rgba(201,162,39,0.12);
  border-color: rgba(232, 197, 90, 0.5) !important;
}
.cn-item--highlight .cn-val { color: var(--gold-bright); }
.cn-item--highlight .cn-lab { color: var(--gold-bright); font-weight: 700; }

.case-disclaimer {
  font-size: 0.72rem;
  color: var(--text-lo);
  font-style: italic;
  margin-top: 0.25rem;
}

/* ============================================================
   METODOLOGIA (Alta Legibilidade & Contraste no Fundo Claro)
   ============================================================ */
.metodo-standalone {
  border-top: 1px solid var(--snow-border);
  border-bottom: 1px solid var(--snow-border);
}
.metodo-header {
  margin-bottom: 3.5rem;
}
.max-w-2xl { max-width: 620px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-top: 3.5px solid #0D1018;
  border-radius: 6px;
  padding: 2rem 1.6rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.1);
  border-top-color: var(--gold-deep);
}

.step-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

/* Número e ícone de alto contraste no fundo claro */
.step-n {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #0D1018;
  letter-spacing: 0.04em;
}
.step-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #0D1018;
  border-radius: 50%;
  color: var(--gold-bright);
  box-shadow: 0 4px 12px rgba(13,16,24,0.25);
}

.step-card h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 800;
  color: #0D1018;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.step-card p {
  font-size: 0.86rem;
  color: #4B5563;
  line-height: 1.6;
  margin-top: auto;
}

/* ============================================================
   CTA / CONTATO (Standalone Executive Section)
   ============================================================ */
.cta-standalone {
  position: relative;
  background: var(--obsidian);
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: start;
}

.cta-info {
  display: flex;
  flex-direction: column;
}

.cta-body {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-md);
  margin-bottom: 2.5rem;
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.cb-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.cb-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold-bright);
}
.cb-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cb-item strong {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-hi);
}
.cb-item span {
  font-size: 0.82rem;
  color: var(--text-md);
  line-height: 1.5;
}

.cta-direct {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.direct-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.direct-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.direct-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-hi);
  transition: color var(--t);
}
.direct-link svg { color: var(--gold); }
.direct-link:hover { color: var(--gold-bright); }

/* Coluna Form Card */
.cta-form-col .form-card {
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border-gold);
}
.form-card-top {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.form-card-top h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.form-card-top p {
  font-size: 0.85rem;
  color: var(--text-md);
}
.form-card form { padding: 1.5rem 2rem 1.25rem; }

/* Inputs */
.hp { position: absolute; left: -9999px; opacity: 0; }
.fg { margin-bottom: 0.8rem; }
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.row-2 .fg { margin-bottom: 0.8rem; }

.fi {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-hi);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  transition: border-color var(--t), background var(--t);
  appearance: none;
  -webkit-appearance: none;
}
.fi::placeholder { color: var(--text-lo); }
.fi:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201,162,39,0.04);
}
.fi.is-error { border-color: #F87171; }

.fi-sel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C6170' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.fi-sel option { background: #1A1F2A; color: var(--text-hi); }

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0.95rem;
  margin-top: 0.25rem;
  margin-bottom: 0.9rem;
}
.form-privacy {
  font-size: 0.72rem;
  color: var(--text-lo);
  text-align: center;
  line-height: 1.5;
}
.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2rem;
}
.form-status.ok  { color: #34D399; }
.form-status.err { color: #F87171; }

.form-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.form-contacts a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-md);
  transition: color var(--t);
}
.form-contacts a:hover { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.ft-brand img { margin-bottom: 0.75rem; }
.ft-brand p { font-size: 0.83rem; color: var(--text-lo); }

.ft-nav, .ft-contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ft-nav a, .ft-contact a {
  font-size: 0.85rem;
  color: var(--text-md);
  transition: color var(--t);
}
.ft-nav a:hover, .ft-contact a:hover { color: var(--gold); }

.ft-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.ft-bottom p { font-size: 0.75rem; color: var(--text-lo); }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.modal.open { display: flex; }

.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
}
.modal-box {
  position: relative; z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 2.5rem;
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  color: var(--text-md); padding: 4px; border-radius: 3px;
  transition: color var(--t);
}
.modal-close:hover { color: var(--white); }
.modal-box h2 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 900;
  color: var(--white); margin-bottom: 0.4rem;
}
.modal-box > p {
  font-size: 0.88rem; color: var(--text-md);
  margin-bottom: 1.5rem;
}
.modal-box form .fi { background: rgba(255,255,255,0.05); }

/* ============================================================
   WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 800;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 26px rgba(37,211,102,0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid       { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 3.5rem); }
  .hero-panel      { max-width: 100%; margin: 0; }
  .hero-bg-grad {
    background: linear-gradient(180deg, rgba(7,9,14,0.97) 55%, rgba(7,9,14,0.75) 100%);
  }
  .problema-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .audit360-grid   { grid-template-columns: 1fr; gap: 3.5rem; }
  .case-grid       { grid-template-columns: 1fr; gap: 3.5rem; }
  .steps-grid      { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .cta-grid        { grid-template-columns: 1fr; gap: 3.5rem; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .hd-nav, .hd-cta { display: none; }
  .hd-hamburger { display: flex; }
  .hd-mobile { display: flex; }

  .hero-h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost-light { width: 100%; justify-content: center; }

  .hero-clients { display: none; }

  .risk-areas { grid-template-columns: 1fr; }
  .risk-area {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .risk-area:last-child { border-bottom: none; }

  .orb-wrap { width: 300px; height: 300px; }
  .orb-ring--outer { width: 260px; height: 260px; }
  .orb-ring--inner { width: 170px; height: 170px; }
  .orb-sat { width: 105px; font-size: 0.62rem; padding: 0.6rem; }
  .orb-sat--n  { top: -6px; left: 50%; translate: -50% 0; }
  .orb-sat--sw { bottom: 6px; left: -10px; translate: 0 0; }
  .orb-sat--se { bottom: 6px; right: -10px; translate: 0 0; }

  .case-grid { gap: 2.5rem; }
  .case-h2 { font-size: 1.8rem; }
  .cn-grid { grid-template-columns: 1fr 1fr; }
  .cn-item { padding: 1.25rem 1rem; }
  .cn-val { font-size: 1.75rem; }

  .row-2 { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .statement-bar { flex-direction: column; gap: 1rem; padding: 1.25rem 1rem; }
  .sb-line { width: 40px; height: 1px; max-width: none; }
}

@media (max-width: 560px) {
  .steps-grid      { grid-template-columns: 1fr; }
  .case-findings   { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-tags { flex-wrap: wrap; }
  .xl-headline { font-size: 2rem; }
  .cn-grid { grid-template-columns: 1fr 1fr; }
  .cn-item { padding: 1.1rem 0.85rem; }
  .cn-val { font-size: 1.55rem; }
  .cn-lab { font-size: 0.65rem; }
}
