/* ==========================================================================
   PPC Strategy Consultoria de Negócios — estilos globais
   ========================================================================== */

:root {
  --bg: #070b14;
  --bg-alt: #0c1220;
  --surface: #111a2c;
  --surface-hover: #16223a;
  --border: #1f2c47;
  --text: #eef2fb;
  --text-muted: #9aa7c2;
  --accent: #3ddcff;
  --accent-2: #7c5cff;
  --accent-soft: rgba(61, 220, 255, 0.12);
  --success: #37e6a3;
  --radius: 16px;
  --max-width: 1180px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-bg: rgba(7, 11, 20, 0.72);
  --glass: rgba(17, 26, 44, 0.85);
  --hero-title-from: #fff;
  --hero-title-to: #b9c6e6;
  --hero-glow-1: rgba(124, 92, 255, 0.28);
  --hero-glow-2: rgba(61, 220, 255, 0.22);
  --grid-line: rgba(61, 220, 255, 0.06);
  --cta-glow-1: rgba(61, 220, 255, 0.14);
  --cta-glow-2: rgba(124, 92, 255, 0.14);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f5fb;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-hover: #eef1f9;
  --border: #dfe4f0;
  --text: #10172a;
  --text-muted: #566079;
  --accent: #0e7490;
  --accent-2: #6d28d9;
  --accent-soft: rgba(14, 116, 144, 0.1);
  --success: #15803d;
  --shadow: 0 20px 50px -24px rgba(16, 23, 40, 0.18);

  --header-bg: rgba(255, 255, 255, 0.78);
  --glass: rgba(255, 255, 255, 0.9);
  --hero-title-from: #10172a;
  --hero-title-to: #414d6b;
  --hero-glow-1: rgba(109, 40, 217, 0.12);
  --hero-glow-2: rgba(14, 116, 144, 0.12);
  --grid-line: rgba(14, 116, 144, 0.08);
  --cta-glow-1: rgba(14, 116, 144, 0.1);
  --cta-glow-2: rgba(109, 40, 217, 0.1);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { transition: background-color 0.25s ease, color 0.25s ease; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; font-weight: 700; }

p { color: var(--text-muted); margin: 0 0 16px; }

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #060912;
  font-size: 0.95rem;
}

.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface-hover);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: #060912 !important;
  font-weight: 700 !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle:hover { border-color: var(--accent); transform: translateY(-2px); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #060912;
  box-shadow: 0 12px 30px -8px rgba(61, 220, 255, 0.45);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(61, 220, 255, 0.6); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { background: var(--surface-hover); border-color: var(--accent); }

.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Hero (Seção 01) ---------- */

.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 15% 10%, var(--hero-glow-1), transparent 60%),
    radial-gradient(60% 50% at 90% 20%, var(--hero-glow-2), transparent 60%),
    var(--bg);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent 75%);
  pointer-events: none;
}

.hero-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--hero-title-from), var(--hero-title-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede { font-size: 1.08rem; max-width: 540px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  justify-self: end;
}

.orbit-card {
  position: absolute;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  animation: float 6s ease-in-out infinite;
}

.orbit-card svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.orbit-card.c1 { top: 6%; left: 0; animation-delay: 0s; }
.orbit-card.c2 { top: 38%; right: 0; animation-delay: 1.2s; }
.orbit-card.c3 { bottom: 10%; left: 8%; animation-delay: 2.4s; }
.orbit-card.c4 { bottom: 34%; right: 4%; animation-delay: 0.6s; }

.hero-core {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(61,220,255,0.35), rgba(124,92,255,0.15) 60%, transparent 75%);
  border: 1px solid rgba(61, 220, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-core svg { width: 46%; height: 46%; color: var(--accent); opacity: 0.9; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* ---------- Seção 02: Apresentação / BI ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--surface-hover);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-icon svg { width: 26px; height: 26px; color: var(--accent); }

.value-card h3 { font-size: 1.1rem; }
.value-card p { margin-bottom: 0; font-size: 0.92rem; }

.stats-band {
  margin-top: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-item span { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Segments band ---------- */

.segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.segment-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, var(--surface), transparent);
}

.segment-card h4 { font-size: 1rem; margin-bottom: 8px; }
.segment-card p { font-size: 0.88rem; margin: 0; }

/* ---------- Serviços grid (página interna) ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.service-index {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.service-card h3 { font-size: 1.25rem; }

.service-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-list svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Process steps ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  margin-top: 40px;
}

.process-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: var(--surface);
}

.process-step .num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.process-step h4 { font-size: 0.98rem; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; margin: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  border-radius: 24px;
  padding: 56px;
  background: linear-gradient(135deg, var(--cta-glow-1), var(--cta-glow-2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { margin-bottom: 8px; font-size: 1.6rem; }
.cta-band p { margin: 0; }
.cta-text { max-width: 520px; }

/* ---------- Footer / Seção 03: contato ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand p { max-width: 300px; font-size: 0.9rem; }

.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--accent); }

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.contact-card svg { width: 20px; height: 20px; flex-shrink: 0; }

.contact-card.whatsapp { border-color: rgba(55, 230, 163, 0.4); }
.contact-card.whatsapp svg { color: var(--success); }
.contact-card.email svg { color: var(--accent); }

.contact-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card strong { font-size: 0.95rem; }

a.contact-card:hover { border-color: var(--success); background: var(--surface-hover); }

.whatsapp-options {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.whatsapp-options a {
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.whatsapp-options a:hover { color: var(--text); border-color: var(--success); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- WhatsApp floating button ---------- */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fa855);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6);
  animation: pulse-wa 2.6s infinite;
}

.wa-float svg { width: 28px; height: 28px; color: #fff; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 12px 30px -2px rgba(37, 211, 102, 0.85); }
}

/* ---------- Page hero (internal pages) ---------- */

.page-hero {
  padding: 170px 0 80px;
  background:
    radial-gradient(60% 50% at 85% 0%, var(--hero-glow-1), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.page-hero p { max-width: 640px; font-size: 1.02rem; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 380px; margin: 40px auto 0; }
  .value-grid, .services-grid, .segments { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px; }
}

@media (max-width: 720px) {
  .nav-links { position: fixed; top: 74px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: 12px; display: none; box-shadow: var(--shadow); z-index: 99; max-height: calc(100vh - 96px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .nav-toggle { display: flex; }
  .section { padding: 56px 0; }
  .hero { padding: 140px 0 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 24px; }
  .hero-visual { max-width: 300px; }
  .orbit-card { font-size: 0.72rem; padding: 10px 12px; gap: 8px; }
  .orbit-card svg { width: 17px; height: 17px; }
  .value-grid, .services-grid, .segments, .process, .stats-band { grid-template-columns: 1fr; }
  .value-card, .service-card { padding: 26px; }
  .stats-band { padding: 28px; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { flex-direction: column; text-align: center; padding: 32px 24px; }
  .cta-band .btn { width: 100%; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .nav { padding: 14px 18px; }
  .brand small { display: none; }
  .brand { font-size: 0.95rem; }
  .brand-mark { width: 32px; height: 32px; font-size: 0.85rem; }
  .hero { padding: 130px 0 64px; }
  .hero-lede { font-size: 1rem; }
  .hero-visual { max-width: 240px; }
  .stat-item strong { font-size: 1.6rem; }
  .cta-band h2 { font-size: 1.3rem; }
}
