/* ─────────────────────────────────────────
   ORACFY — style.css  (Light Theme)
───────────────────────────────────────── */

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

:root {
  /* Brand */
  --red:        #FF3131;
  --red-dark:   #d42020;
  --red-dim:    rgba(255,49,49,0.08);
  --red-mid:    rgba(255,49,49,0.15);

  /* Light palette */
  --white:      #ffffff;
  --off:        #d9d9d9;        /* fundo principal */
  --off2:       #cecece;        /* fundo de seção alternada */
  --stone:      #c4c4c4;        /* bordas e divisores */
  --ink:        #111110;        /* texto principal */
  --ink-mid:    #4a4845;        /* texto secundário */
  --ink-soft:   #8a8784;        /* texto auxiliar */

  /* Dark sections (Hero + CTA) */
  --dark:       #0d0d0c;
  --dark2:      #161614;
  --dark-border: rgba(255,255,255,0.08);
  --dark-text:   rgba(255,255,255,0.55);

  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'Outfit', sans-serif;
  --radius:     6px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--off);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--off); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ── UTILITIES ── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red);
}
.tag::before { content: ''; width: 18px; height: 2px; background: var(--red); flex-shrink: 0; }

.section-head { margin-bottom: 56px; }
.section-head .tag { margin-bottom: 18px; }

.headline {
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1; letter-spacing: 0.01em; color: var(--ink);
}
.headline em { font-style: normal; color: var(--red); }

.sub { font-size: 16px; font-weight: 300; color: var(--ink-mid); line-height: 1.7; max-width: 520px; margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em; padding: 14px 28px; border-radius: var(--radius);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 8px 28px rgba(255,49,49,.3); }

.btn-outline-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--stone); }
.btn-outline-dark:hover { border-color: var(--ink-mid); box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.btn-outline-light { background: transparent; color: #fff; border: 1px solid var(--dark-border); }
.btn-outline-light:hover { border-color: rgba(255,255,255,.25); }

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

/* ────────────────────────────────────────
   NAV
──────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}

/* Fundo claro ao sair do hero */
#nav.scrolled {
  background: rgba(247,246,244,0.95);
  backdrop-filter: blur(16px);
  border-color: var(--stone);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

/* ── Logo: duas versões com opacity transition ── */
.nav-logo { display: flex; align-items: center; position: relative; height: 28px; min-width: 120px; }
.nav-logo img {
  height: 28px; width: auto;
  transition: opacity 0.35s;
  position: absolute; top: 0; left: 0;
}

/* Estado padrão (fora do hero): logo preta visível, branca oculta */
.nav-logo-light { opacity: 0; filter: brightness(0) invert(1); }
.nav-logo-dark  { opacity: 1; filter: brightness(0); }

/* Sobre o hero escuro (on-dark): logo branca visível, preta oculta */
#nav.on-dark .nav-logo-light { opacity: 1; }
#nav.on-dark .nav-logo-dark  { opacity: 0; }

/* ── Links do nav ── */
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-mid); /* padrão: escuro */
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--ink); }

/* Sobre o hero: links brancos */
#nav.on-dark .nav-links a       { color: #fff; }
#nav.on-dark .nav-links a:hover { color: #fff; }

.nav-cta { display: flex; align-items: center; }

/* ── Hamburger ── */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--ink); /* padrão: preto */
  transition: transform 0.3s, opacity 0.3s, background 0.35s;
}
/* Sobre o hero: hamburger branco */
#nav.on-dark .hamburger span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--white); border-bottom: 1px solid var(--stone);
  overflow-y: auto; overflow-x: hidden;
  max-height: 0; transition: max-height 0.4s var(--ease);
}
.mobile-menu.open { max-height: calc(100dvh - 68px); overflow-y: auto; }
.mobile-menu a { padding: 16px 24px; font-size: 15px; font-weight: 500; color: var(--ink-mid); border-bottom: 1px solid var(--stone); transition: color 0.2s; display: block; }
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu .m-cta { margin: 16px 24px 24px; }

/* Mobile menu dark — páginas internas e hero escuro */
body.inner-page .mobile-menu,
#nav.on-dark ~ .mobile-menu,
#nav.on-dark + .mobile-menu {
  background: #0d0d0c;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
body.inner-page .mobile-menu a,
#nav.on-dark ~ .mobile-menu a {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.07);
}
body.inner-page .mobile-menu a:hover,
#nav.on-dark ~ .mobile-menu a:hover { color: #fff; }
body.inner-page .mobile-menu .m-section-label,
#nav.on-dark ~ .mobile-menu .m-section-label {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.07);
}

/* ────────────────────────────────────────
   HERO  (Dark — impacto)
──────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding-top: 68px;
  background: var(--dark); position: relative; overflow: hidden;
}

/* Grid sutil */
#hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--dark-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark-border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* Glow vermelho */
#hero::after {
  content: ''; position: absolute; top: 10%; right: -5%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,49,49,.12), transparent 65%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; padding: 80px 0 100px; }

.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.6s 0.1s var(--ease) forwards;
}
.hero-label span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,49,49,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(255,49,49,0); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 9vw, 128px);
  line-height: 0.94; letter-spacing: 0.01em; max-width: 900px;
  color: #fff;
  opacity: 0; animation: fadeUp 0.7s 0.22s var(--ease) forwards;
}
.hero-title .accent { color: var(--red); }

.hero-sub {
  font-size: 17px; font-weight: 300; color: var(--dark-text);
  line-height: 1.72; max-width: 500px; margin-top: 28px;
  opacity: 0; animation: fadeUp 0.7s 0.38s var(--ease) forwards;
}

.hero-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 44px;
  opacity: 0; animation: fadeUp 0.7s 0.52s var(--ease) forwards;
}

.hero-badges {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--dark-border);
  opacity: 0; animation: fadeUp 0.7s 0.68s var(--ease) forwards;
}
.badge-item { display: flex; flex-direction: column; gap: 4px; }
.badge-num { font-family: var(--font-head); font-size: 36px; line-height: 1; color: #fff; }
.badge-num sup { font-size: 18px; color: var(--red); }
.badge-label { font-size: 12px; font-weight: 400; color: var(--dark-text); letter-spacing: 0.02em; }
.badge-sep { width: 1px; height: 44px; background: var(--dark-border); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-text);
  opacity: 0; animation: fadeUp 0.7s 1s var(--ease) forwards;
}
.scroll-cue::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--dark-text), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0%  { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ────────────────────────────────────────
   PARA QUEM  (Light)
──────────────────────────────────────── */
#para-quem { padding: 110px 0; background: var(--white); }

.audience-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--stone);
  border: 1px solid var(--stone); border-radius: 12px; overflow: hidden;
  margin-top: 56px;
}

.audience-card {
  background: var(--white); padding: 44px 40px;
  position: relative; overflow: hidden; transition: background 0.25s;
}
.audience-card:hover { background: var(--off); }

.audience-card::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.audience-card:hover::after { transform: scaleX(1); }

.aud-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--red-dim); border: 1px solid rgba(255,49,49,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.aud-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.5; }

.aud-type { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.aud-title { font-family: var(--font-head); font-size: 26px; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 12px; }
.aud-desc { font-size: 14px; font-weight: 300; color: var(--ink-mid); line-height: 1.7; }

.aud-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 22px; transition: color 0.2s;
}
.aud-link:hover { color: var(--red); }
.aud-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s; }
.aud-link:hover svg { transform: translate(3px,-3px); }

/* ────────────────────────────────────────
   SOLUÇÕES  (Off-white)
──────────────────────────────────────── */
#solucoes { padding: 110px 0; background: var(--off2); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }

.solucoes-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--stone); border-radius: 12px; overflow: hidden; }

.sol-card {
  background: var(--white); padding: 40px 32px 36px;
  position: relative; overflow: hidden; transition: background 0.25s;
}
.sol-card:hover { background: var(--off); }

.sol-num {
  font-family: var(--font-head); font-size: 72px; line-height: 1;
  color: var(--stone); position: absolute; top: 12px; right: 20px;
  user-select: none; transition: color 0.3s;
}
.sol-card:hover .sol-num { color: var(--red-dim); }

.sol-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--red-dim); border: 1px solid rgba(255,49,49,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
}
.sol-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--red); stroke-width: 1.5; }
.sol-title { font-family: var(--font-head); font-size: 22px; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 14px; }
.sol-desc { font-size: 13px; font-weight: 300; color: var(--ink-mid); line-height: 1.7; margin-bottom: 24px; }

.sol-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sol-tag {
  font-size: 11px; font-weight: 500; color: var(--ink-soft);
  background: var(--off2); padding: 4px 10px;
  border-radius: 20px; border: 1px solid var(--stone);
}

/* ────────────────────────────────────────
   COMO FUNCIONA  (White)
──────────────────────────────────────── */
#como-funciona { padding: 110px 0; background: var(--white); }

.steps-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.steps-list { display: flex; flex-direction: column; }

.step { display: flex; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--stone); cursor: default; }
.step:first-child { border-top: 1px solid var(--stone); }
.step-num {
  font-family: var(--font-head); font-size: 48px; line-height: 1;
  color: var(--stone); flex-shrink: 0; width: 52px; transition: color 0.3s;
}
.step:hover .step-num { color: var(--red); }
.step-title { font-family: var(--font-head); font-size: 22px; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 8px; }
.step-desc { font-size: 14px; font-weight: 300; color: var(--ink-mid); line-height: 1.7; }

.steps-visual { position: relative; display: flex; align-items: center; justify-content: center; }

.visual-box {
  width: 100%; aspect-ratio: 1; max-width: 420px;
  border: 1px solid var(--stone); border-radius: 16px;
  background: var(--off); display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.visual-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, var(--red-dim), transparent 60%);
}

.vb-content { position: relative; z-index: 2; text-align: center; padding: 40px; }
.vb-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--red-dim); border: 1px solid rgba(255,49,49,.2);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.vb-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--red); }
.vb-title { font-family: var(--font-head); font-size: 28px; color: var(--ink); margin-bottom: 10px; }
.vb-sub { font-size: 13px; font-weight: 300; color: var(--ink-mid); line-height: 1.6; }
.vb-stats { display: flex; gap: 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--stone); justify-content: center; }
.vb-stat { text-align: center; }
.vb-stat-n { font-family: var(--font-head); font-size: 32px; color: var(--red); line-height: 1; }
.vb-stat-l { font-size: 11px; font-weight: 400; color: var(--ink-soft); margin-top: 4px; letter-spacing: 0.04em; }
.vb-sep { width: 1px; background: var(--stone); }

.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,49,49,.15); }
.orbit-1 { width: 320px; height: 320px; animation: rotate 18s linear infinite; }
.orbit-2 { width: 480px; height: 480px; animation: rotate 30s linear infinite reverse; }
@keyframes rotate { to { transform: rotate(360deg); } }

/* ────────────────────────────────────────
   CASES  (Off2)
──────────────────────────────────────── */
#cases { padding: 110px 0; background: var(--off2); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }

.case-card {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--stone); border-radius: 12px; overflow: hidden; margin-top: 56px;
}
.case-info { padding: 56px 52px; background: var(--white); display: flex; flex-direction: column; justify-content: center; }

.case-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px;
}
.case-label svg { fill: none; stroke: var(--red); stroke-width: 2; width: 14px; height: 14px; }
.case-title { font-family: var(--font-head); font-size: clamp(36px,5vw,56px); line-height: 1; color: var(--ink); margin-bottom: 20px; }
.case-desc { font-size: 15px; font-weight: 300; color: var(--ink-mid); line-height: 1.75; margin-bottom: 36px; }
.case-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.pill { font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--stone); color: var(--ink-mid); background: var(--off); }

.case-visual {
  background: var(--dark2); display: flex; align-items: center; justify-content: center;
  padding: 52px 48px; position: relative; overflow: hidden;
}
.case-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,49,49,.08), transparent 70%);
}

.mock-browser { width: 100%; max-width: 360px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); position: relative; z-index: 2; box-shadow: 0 32px 80px rgba(0,0,0,.5); }
.mock-bar { background: #1e1e1c; padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.mock-dots { display: flex; gap: 5px; }
.mock-dots span { width: 8px; height: 8px; border-radius: 50%; }
.dot-r { background: #FF5F56; } .dot-y { background: #FFBD2E; } .dot-g { background: #27C93F; }
.mock-url { flex: 1; background: #2a2a28; border-radius: 4px; padding: 4px 10px; font-size: 11px; color: #666; font-family: monospace; }
.mock-body { background: #141412; padding: 28px 24px; min-height: 220px; }
.mock-head-bar { height: 10px; background: linear-gradient(90deg, var(--red), rgba(255,49,49,.3)); border-radius: 4px; margin-bottom: 16px; width: 65%; }
.mock-line { height: 7px; background: #1e1e1c; border-radius: 3px; margin-bottom: 10px; }
.mock-btn-row { display: flex; gap: 8px; margin-top: 20px; }
.mock-btn { height: 30px; border-radius: 4px; flex: 1; }
.mock-btn.primary { background: var(--red); }
.mock-btn.secondary { background: #1e1e1c; flex: .6; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mock-grid-item { height: 50px; background: #1e1e1c; border-radius: 4px; }

/* ────────────────────────────────────────
   DIFERENCIAIS  (White)
──────────────────────────────────────── */
#diferenciais { padding: 110px 0; background: var(--white); }

.dif-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--stone); border-radius: 12px; overflow: hidden; margin-top: 56px; }

.dif-card {
  padding: 40px 32px; background: var(--white);
  position: relative; overflow: hidden; transition: background 0.25s;
}
.dif-card:hover { background: var(--off); }
.dif-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.dif-card:hover::before { transform: scaleX(1); }

.dif-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--red-dim); border: 1px solid rgba(255,49,49,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.dif-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--red); stroke-width: 1.5; }
.dif-title { font-family: var(--font-head); font-size: 20px; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 12px; }
.dif-desc { font-size: 13px; font-weight: 300; color: var(--ink-mid); line-height: 1.7; }

/* ────────────────────────────────────────
   VISÃO  (Off2 com linha vermelha)
──────────────────────────────────────── */
#visao { padding: 110px 0; background: var(--off2); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }

.visao-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.visao-line { width: 56px; height: 3px; background: var(--red); margin-bottom: 28px; }
.visao-quote { font-family: var(--font-head); font-size: clamp(30px,4vw,46px); line-height: 1.12; color: var(--ink); letter-spacing: 0.01em; }
.visao-quote em { font-style: normal; color: var(--red); }
.visao-body { font-size: 15px; font-weight: 300; color: var(--ink-mid); line-height: 1.75; }
.visao-body p + p { margin-top: 16px; }

/* ────────────────────────────────────────
   CONTATO  (White)
──────────────────────────────────────── */
#contato { padding: 110px 0; background: var(--white); border-top: 1px solid var(--stone); }

.contato-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contato-info .tag    { margin-bottom: 18px; }
.contato-info .headline { margin-bottom: 20px; }
.contato-info .sub    { margin-bottom: 40px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-mid); }
.contact-item a { color: var(--ink); font-weight: 500; transition: color .2s; }
.contact-item a:hover { color: var(--red); }

.c-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--red-dim); border: 1px solid rgba(255,49,49,.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.c-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--red); stroke-width: 2; }

/* Form box */
.form-box { background: var(--off); border: 1px solid var(--stone); border-radius: 12px; padding: 40px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group:last-of-type { margin-bottom: 0; }

.form-group label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mid); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white); border: 1.5px solid var(--stone);
  border-radius: var(--radius); padding: 13px 16px;
  color: var(--ink); font-family: var(--font-body); font-size: 14px;
  outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,49,49,.08); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-soft); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: #fff; color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit { width: 100%; justify-content: center; margin-top: 24px; font-size: 15px; padding: 15px 28px; }

.btn-spinner { display: none; align-items: center; gap: 8px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: rotate .7s linear infinite; }

.form-feedback { margin-top: 14px; font-size: 13px; font-weight: 500; text-align: center; min-height: 20px; border-radius: var(--radius); padding: 0; transition: all .3s; }
.form-feedback.success { color: #16a34a; background: rgba(22,163,74,.07); padding: 10px 16px; border: 1px solid rgba(22,163,74,.15); }
.form-feedback.error   { color: var(--red); background: rgba(255,49,49,.06); padding: 10px 16px; border: 1px solid rgba(255,49,49,.15); }

/* ────────────────────────────────────────
   CTA FINAL  (Dark — fechamento)
──────────────────────────────────────── */
#cta-final {
  padding: 130px 0; text-align: center;
  background: var(--dark); position: relative; overflow: hidden;
}
#cta-final::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,49,49,.10), transparent 65%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; }
.cta-title { font-family: var(--font-head); font-size: clamp(44px,7vw,88px); line-height: 1; letter-spacing: 0.01em; max-width: 780px; margin: 0 auto 24px; color: #fff; }
.cta-title em { font-style: normal; color: var(--red); }
.cta-sub { font-size: 16px; font-weight: 300; color: var(--dark-text); max-width: 420px; margin: 0 auto 44px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  background: var(--red); color: #fff; padding: 16px 36px;
  border-radius: var(--radius); transition: transform .2s var(--ease), box-shadow .2s;
  position: relative;
}
.btn-wa::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: var(--red); animation: waPulse 2.5s ease infinite; z-index: -1;
}
@keyframes waPulse {
  0%  { transform: scale(1);    opacity: .6; }
  70% { transform: scale(1.14); opacity: 0; }
  100%{ transform: scale(1);    opacity: 0; }
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255,49,49,.4); }

/* ────────────────────────────────────────
   FOOTER  (Dark)
──────────────────────────────────────── */
footer { background: var(--dark); border-top: 1px solid var(--dark-border); padding: 56px 0 32px; }

.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-border); margin-bottom: 28px; }
.footer-brand { max-width: 260px; }
.footer-brand img { height: 24px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; font-weight: 300; color: #fff; line-height: 1.7; }

.footer-nav { display: flex; gap: 64px; }
.fn-group h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.fn-group ul { display: flex; flex-direction: column; gap: 10px; }
.fn-group a { font-size: 13px; font-weight: 300; color: #fff; transition: color .2s; }
.fn-group a:hover { color: #fff; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: #fff; }
.footer-copy a { color: var(--red); }

.footer-socials { display: flex; gap: 12px; }
.social-btn { width: 34px; height: 34px; border-radius: 6px; background: var(--dark2); border: 1px solid var(--dark-border); display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.social-btn:hover { background: rgba(255,49,49,.12); border-color: rgba(255,49,49,.3); }
.social-btn svg { width: 15px; height: 15px; fill: none; stroke: rgba(255,255,255,.4); stroke-width: 1.5; }

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 1024px) {
  .solucoes-grid { grid-template-columns: repeat(2,1fr); }
  .dif-grid      { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger            { display: flex; }
  .mobile-menu          { display: flex; }
  .audience-grid        { grid-template-columns: 1fr; }
  .steps-layout         { grid-template-columns: 1fr; gap: 48px; }
  .steps-visual         { display: none; }
  .case-card            { grid-template-columns: 1fr; }
  .case-visual          { display: none; }
  .visao-inner          { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav           { gap: 36px; }
  .footer-top           { flex-direction: column; }
  .contato-layout       { grid-template-columns: 1fr; gap: 48px; }
  .form-row             { grid-template-columns: 1fr; }
  .form-box             { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 52px; }
  .badge-sep  { display: none; }
  .footer-nav { flex-direction: column; gap: 28px; }
}

/* ── Case: iframe real ── */
.case-visual {
  padding: 0 !important;
}

.browser-frame {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.browser-chrome {
  background: #1e1e1c;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.browser-chrome .mock-url {
  flex: 1;
  background: #2a2a28;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: #888;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-chrome .mock-url svg {
  display: inline;
  flex-shrink: 0;
}

.browser-open {
  width: 28px; height: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
  text-decoration: none;
}
.browser-open:hover { background: rgba(255,255,255,.12); }
.browser-open svg { width: 13px; height: 13px; stroke: #888; }

.case-iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: #141412;
  display: block;
}

/* Overlay de clique para não interferir no scroll */
.iframe-overlay {
  position: absolute;
  inset: 44px 0 0 0; /* abaixo do chrome bar */
  z-index: 3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background .2s;
}
.iframe-overlay:hover {
  background: rgba(0,0,0,.15);
}
.iframe-overlay-label {
  opacity: 0;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0,0,0,.6);
  padding: 8px 16px;
  border-radius: 20px;
  transition: opacity .2s;
  pointer-events: none;
}
.iframe-overlay:hover .iframe-overlay-label { opacity: 1; }

/* ─────────────────────────────────────────
   DROPDOWN NAV
───────────────────────────────────────── */
.nav-dropdown { position: relative; list-style: none; }

.nav-drop-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-mid); letter-spacing: 0.02em;
  background: none; border: none; cursor: pointer;
  padding: 0; transition: color 0.2s;
  font-family: var(--font-body);
}
.nav-drop-btn:hover { color: var(--ink); }

#nav.on-dark .nav-drop-btn { color: #fff; }
#nav.on-dark .nav-drop-btn:hover { color: #fff; }

.drop-arrow {
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.nav-dropdown.open .drop-arrow { transform: rotate(180deg); }

/* Dropdown menu */
.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 260px;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 300;
}

/* Bridge invisível que preenche o gap entre o li e o drop-menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

/* Triângulo */
.drop-menu::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 6px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: drop-shadow(0 -1px 0 var(--stone));
}

.nav-dropdown.open .drop-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Drop items */
.drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s;
  cursor: pointer;
  color: var(--ink);
  position: relative;
}
.drop-item:hover { background: var(--off); }
.drop-item.drop-soon { opacity: 0.6; cursor: default; }
.drop-item.drop-soon:hover { background: transparent; }

.drop-icon {
  width: 36px; height: 36px;
  background: var(--off2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}

.drop-item strong {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}
.drop-item small {
  display: block;
  font-size: 11px; color: var(--ink-soft);
  margin-top: 1px;
}

.drop-badge {
  margin-left: auto;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--off2);
  border: 1px solid var(--stone);
  padding: 2px 7px; border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Divider entre items */
.drop-item + .drop-item { border-top: 1px solid var(--stone); border-radius: 0; }
.drop-item:first-child { border-radius: 8px 8px 0 0; }
.drop-item:last-child  { border-radius: 0 0 8px 8px; }
.drop-item:only-child  { border-radius: 8px; }

/* ── Mobile dropdown labels ── */
.m-section-label {
  padding: 10px 24px 6px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--off2);
  border-bottom: 1px solid var(--stone);
  border-top: 1px solid var(--stone);
}

.mobile-menu a.m-soon {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink-soft);
}
.mobile-menu a.m-soon span {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--off2); border: 1px solid var(--stone);
  padding: 2px 8px; border-radius: 20px;
  color: var(--ink-soft);
}

/* ────────────────────────────────────────
   CORREÇÕES PÁGINAS INTERNAS — dark-first
──────────────────────────────────────── */

/* Nav escuro fixo nas páginas internas (body.inner-page) */
body.inner-page #nav {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
body.inner-page #nav.scrolled {
  background: rgba(10,10,10,0.98);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

/* Forçar textos brancos nas páginas internas */
body.inner-page .nav-links a,
body.inner-page .nav-drop-btn { color: #fff; }
body.inner-page .nav-links a:hover,
body.inner-page .nav-drop-btn:hover { color: #fff; }
body.inner-page .nav-logo-light { opacity: 1; }
body.inner-page .nav-logo-dark  { opacity: 0; }
body.inner-page .hamburger span { background: #fff; }

/* Dropdown dark */
body.inner-page .drop-menu {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
body.inner-page .drop-menu::before {
  background: #0d0d0d;
  filter: drop-shadow(0 -1px 0 rgba(255,255,255,0.06));
}
body.inner-page .drop-item { color: rgba(255,255,255,0.8); }
body.inner-page .drop-item:hover { background: rgba(255,255,255,0.05); }
body.inner-page .drop-item strong { color: #fff; }
body.inner-page .drop-item small { color: rgba(255,255,255,0.4); }
body.inner-page .drop-icon { background: rgba(255,255,255,0.06); }
body.inner-page .drop-badge {
  background: rgba(255,49,49,0.15);
  color: var(--red);
  border: 1px solid rgba(255,49,49,0.2);
}
body.inner-page .drop-item + .drop-item {
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Padding-top para compensar o header fixo */
body.inner-page main,
body.inner-page .page-content { padding-top: 68px; }

/* Inputs light para ferramentas */
body.inner-page input,
body.inner-page textarea,
body.inner-page select {
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--stone) !important;
}
body.inner-page input::placeholder,
body.inner-page textarea::placeholder { color: var(--ink-soft) !important; }
body.inner-page input:focus,
body.inner-page textarea:focus,
body.inner-page select:focus {
  border-color: var(--red) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(255,49,49,0.08) !important;
  outline: none !important;
}

/* Remove overflow hidden de containers que quebram o dropdown */
body.inner-page .container,
body.inner-page section,
body.inner-page .page,
body.inner-page .grid { overflow: visible !important; }

/* Design system vars — páginas internas (light) */
body.inner-page {
  --bg-primary: var(--off);
  --bg-secondary: var(--off2);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-mid);
  --accent: #FF3131;
  background: var(--off);
  color: var(--ink);
}

/* Cards light */
body.inner-page .card,
body.inner-page .form-panel,
body.inner-page .preview-wrap,
body.inner-page .doc-pagamento,
body.inner-page .doc-desc-box,
body.inner-page .doc-parte,
body.inner-page .doc-meta-item {
  background: #fff !important;
  border-color: var(--stone) !important;
  color: var(--ink) !important;
}

/* Footer dark nas páginas internas */
body.inner-page footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
}




}

/* ── Nav dropdown novo: link clicável + setinha separada ── */
.nav-drop-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-mid); transition: color 0.2s; text-decoration: none;
}
.nav-drop-link:hover { color: var(--ink); }

.nav-drop-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 4px;
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--ink-mid); transition: color 0.2s, background 0.2s;
}
.nav-drop-arrow:hover { color: var(--ink); background: var(--off2); }
.nav-drop-arrow svg { transition: transform 0.25s var(--ease); }
.nav-dropdown.open .nav-drop-arrow svg { transform: rotate(180deg); }

/* inner-page overrides para o novo link */
body.inner-page .nav-drop-link { color: #fff; }
body.inner-page .nav-drop-link:hover { color: #fff; }
body.inner-page .nav-drop-arrow { color: #fff; }
#nav.on-dark .nav-drop-link { color: #fff; }
#nav.on-dark .nav-drop-link:hover { color: #fff; }
#nav.on-dark .nav-drop-arrow { color: #fff; }

/* Wrapper inline para link + setinha */
#ferramentasDropdown {
  display: flex; align-items: center; gap: 2px;
}

/* ── MOBILE ACCORDION FERRAMENTAS ── */
.m-accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--ink-mid); background: none; border: none; border-bottom: 1px solid var(--stone);
  cursor: pointer; text-align: left; transition: color 0.2s;
}
.m-accordion-btn:hover { color: var(--ink); }
.m-accordion-btn[aria-expanded="true"] { color: var(--red); }
.m-accordion-arrow { transition: transform 0.25s; flex-shrink: 0; }
.m-accordion-btn[aria-expanded="true"] .m-accordion-arrow { transform: rotate(180deg); }

.m-accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f7f7f6;
}
.m-accordion-body.open { max-height: 400px; }
.m-accordion-body a {
  padding: 14px 24px 14px 36px !important;
  font-size: 14px !important;
  color: var(--ink-mid) !important;
  border-bottom: 1px solid var(--stone) !important;
}
.m-accordion-body a:hover { color: var(--red) !important; }

/* Dark variant para inner-page */
body.inner-page .m-accordion-btn { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.07); }
body.inner-page .m-accordion-btn:hover,
body.inner-page .m-accordion-btn[aria-expanded="true"] { color: #fff; }
body.inner-page .m-accordion-body { background: rgba(255,255,255,0.03); }
body.inner-page .m-accordion-body a { color: rgba(255,255,255,0.6) !important; border-bottom-color: rgba(255,255,255,0.07) !important; }
body.inner-page .m-accordion-body a:hover { color: #fff !important; }
