/**
 * GRFgraph Site v3 — visual Global Edge / card + globo
 * Carregado após style.css
 */

:root {
  --background: #09090b;
  --foreground: #fafafa;
  --card: #0c0c0f;
  --card-foreground: #fafafa;
  --muted: #18181b;
  --muted-foreground: #a1a1aa;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --blue-400: #60a5fa;
  --cyan-300: #67e8f9;
  --emerald-400: #34d399;
  --gradient-brand: linear-gradient(90deg, #60a5fa, #67e8f9);
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-glow: 0 0 80px rgba(59, 130, 246, 0.08);
}

body.site-v3 {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif;
}

/* ===== HEADER ===== */
body.site-v3 header {
  background: rgba(9, 9, 11, 0.72);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

body.site-v3 header nav ul li a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

body.site-v3 header nav ul li a:hover {
  color: var(--foreground);
}

body.site-v3 .flags img {
  border-color: var(--border-strong);
  box-shadow: none;
}

body.site-v3 .btn-header-cta {
  background: var(--gradient-brand);
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.25);
}

body.site-v3 .menu-toggle {
  color: var(--foreground);
}

/* ===== HERO V3 ===== */
body.site-v3 .hero-v3 {
  min-height: auto;
  padding: 7rem 0 3rem;
  background: var(--background);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body.site-v3 .hero-v3[data-dotted-surface] {
  background: transparent;
}

body.site-v3 .dotted-surface-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

body.site-v3 .dotted-surface-glow {
  pointer-events: none;
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(900px, 120%);
  height: 70%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(250, 250, 250, 0.08), transparent 55%);
  filter: blur(30px);
  z-index: 1;
}

body.site-v3 .hero-shell {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}

body.site-v3 .hero-v3::before,
body.site-v3 .hero-v3 .overlay,
body.site-v3 .hero-map-container {
  display: none !important;
}

body.site-v3 .hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

body.site-v3 .hero-glow {
  position: absolute;
  top: -120px;
  right: 15%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.07);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

body.site-v3 .hero-split {
  display: flex;
  flex-direction: row;
  min-height: 520px;
  position: relative;
  z-index: 1;
}

body.site-v3 .hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem 2.5rem 2.75rem;
}

body.site-v3 .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(24, 24, 27, 0.6);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}

body.site-v3 .status-pill .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

body.site-v3 .hero-tag {
  display: none;
}

body.site-v3 .hero-badge {
  display: none;
}

body.site-v3 .hero-title-gradient,
body.site-v3 .hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: none;
  -webkit-text-fill-color: unset;
  color: var(--foreground);
}

body.site-v3 .hero h1 .text-highlight,
body.site-v3 .hero-title-gradient .text-highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.site-v3 .hero .lead {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 28rem;
  margin-bottom: 2rem;
}

body.site-v3 .hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

body.site-v3 .hero-stats-row .stat-block .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
}

body.site-v3 .hero-stats-row .stat-block .stat-label {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-top: 0.15rem;
}

body.site-v3 .hero-stats-row .stat-divider {
  width: 1px;
  height: 2rem;
  background: var(--border);
}

body.site-v3 .hero-metrics {
  display: none;
}

body.site-v3 .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

body.site-v3 .hero-buttons .btn-primary {
  background: var(--gradient-brand) !important;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.25);
}

body.site-v3 .hero-buttons .btn-primary::before {
  display: none;
}

body.site-v3 .hero-buttons .btn-secondary {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--foreground) !important;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
}

body.site-v3 .hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

body.site-v3 .hero-trust {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

body.site-v3 .hero-globe-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 400px;
  position: relative;
}

body.site-v3 #globe-canvas {
  display: block;
  max-width: 100%;
  touch-action: none;
}

body.site-v3 .globe-hint {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  opacity: 0.85;
  text-align: center;
  max-width: 280px;
}

body.site-v3 .hero-globe-wrap.globe-fallback::after {
  content: "";
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.15), rgba(9, 9, 11, 0.9) 70%);
  border: 1px solid var(--border);
}

body.site-v3 .hero-globe-wrap.globe-fallback #globe-canvas {
  display: none;
}

/* ===== FAIXA ===== */
body.site-v3 .faixa-neon {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

body.site-v3 .faixa-neon span {
  color: var(--muted-foreground);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== SEÇÕES — cards ===== */
body.site-v3 main,
body.site-v3 .page-sections {
  background: var(--background);
}

body.site-v3 .sec-problema,
body.site-v3 .sec-pilares,
body.site-v3 .sec-segmentos,
body.site-v3 .sec-metodologia,
body.site-v3 .sobre,
body.site-v3 .diferenciais,
body.site-v3 .beneficios,
body.site-v3 .prova-social,
body.site-v3 .missao-agendar,
body.site-v3 .cta-final {
  padding: 4.5rem 0;
  background: var(--background);
}

body.site-v3 .section-header h2,
body.site-v3 .sec-problema h2,
body.site-v3 h2 {
  color: var(--foreground);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.site-v3 .section-header .subtitulo,
body.site-v3 .subtitulo {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

body.site-v3 .section-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

body.site-v3 .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.site-v3 .sec-problema {
  background: var(--background);
}

body.site-v3 .problema-destaque {
  border-left-color: var(--blue-400);
  color: var(--foreground);
}

body.site-v3 .lista-problema li {
  color: var(--muted-foreground);
}

body.site-v3 .card-pilar,
body.site-v3 .card-segmento,
body.site-v3 .step-metodologia,
body.site-v3 .card-diferencial,
body.site-v3 .card-beneficio,
body.site-v3 .card-metrica,
body.site-v3 .depoimento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

body.site-v3 .card-pilar:hover,
body.site-v3 .card-segmento:hover,
body.site-v3 .card-diferencial:hover,
body.site-v3 .card-beneficio:hover {
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-2px);
}

body.site-v3 .card-pilar p,
body.site-v3 .card-segmento p,
body.site-v3 .card-diferencial p,
body.site-v3 .card-beneficio p,
body.site-v3 .step-metodologia p {
  color: var(--muted-foreground);
}

body.site-v3 .icon-pilar,
body.site-v3 .icon-segmento,
body.site-v3 .icon-beneficio,
body.site-v3 .card-diferencial .icon {
  color: var(--cyan-300);
}

body.site-v3 .btn-segmento {
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--cyan-300);
  border-radius: 8px;
}

body.site-v3 .btn-segmento:hover {
  background: rgba(96, 165, 250, 0.1);
}

body.site-v3 .btn-link-ia {
  color: var(--blue-400) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

body.site-v3 .step-num {
  background: var(--gradient-brand);
}

body.site-v3 .sobre {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

body.site-v3 .sobre-texto p {
  color: var(--muted-foreground);
}

body.site-v3 .missao-agendar {
  background: var(--card);
  border-top: 1px solid var(--border);
}

body.site-v3 .missao-agendar .overlay {
  opacity: 0.3;
}

body.site-v3 .form-reuniao input,
body.site-v3 .form-reuniao textarea,
body.site-v3 .form-reuniao select,
body.site-v3 #form-contato input,
body.site-v3 #form-contato select,
body.site-v3 #form-orcamento input,
body.site-v3 #form-orcamento select,
body.site-v3 #form-orcamento textarea {
  background: var(--muted) !important;
  border: 1px solid var(--border) !important;
  color: var(--foreground) !important;
  border-radius: 8px;
}

body.site-v3 .cta-final {
  background: var(--muted);
  border-top: 1px solid var(--border);
}

body.site-v3 .footer {
  background: var(--background);
  border-top: 1px solid var(--border);
}

body.site-v3 .footer a {
  color: var(--muted-foreground);
}

body.site-v3 .footer a:hover {
  color: var(--cyan-300);
}

/* ===== MODAIS ===== */
body.site-v3 .modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--foreground);
}

body.site-v3 .modal-subtitle {
  color: var(--muted-foreground);
}

body.site-v3 .btn-primary {
  background: var(--gradient-brand) !important;
  border-radius: 10px;
}

body.site-v3 .btn-cta-fixo {
  background: var(--gradient-brand);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
}

body.site-v3 .lgpd-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
}

body.site-v3 .numero {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.site-v3 .grid-diferenciais,
body.site-v3 .grid-beneficios,
body.site-v3 .grid-prova-social {
  gap: 1rem;
}

body.site-v3 .card-diferencial .diferencial-metrica {
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

body.site-v3 .card-diferencial .diferencial-metrica strong {
  color: var(--cyan-300);
}

body.site-v3 .depoimento-card .texto-depoimento {
  color: var(--muted-foreground);
}

body.site-v3 .autor-depoimento span {
  color: var(--muted-foreground);
}

body.site-v3 .chat-widget .chat-bubble {
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.site-v3 .container {
  max-width: 1120px;
}

body.site-v3 header .container.header-content {
  max-width: 1120px;
}

/* ===== RESPONSIVO HERO ===== */
@media (max-width: 900px) {
  body.site-v3 .hero-split {
    flex-direction: column;
    min-height: auto;
  }

  body.site-v3 .hero-copy {
    padding: 2rem 1.5rem 1rem;
    order: 1;
  }

  body.site-v3 .hero-globe-wrap {
    order: 2;
    min-height: 320px;
    padding-bottom: 1.5rem;
  }

  body.site-v3 .hero-v3 {
    padding-top: 6rem;
  }
}

@media (max-width: 768px) {
  body.site-v3 .grid-segmentos {
    grid-template-columns: 1fr;
  }

  body.site-v3 .grid-metodologia {
    grid-template-columns: 1fr;
  }

  body.site-v3 .grid-pilares {
    grid-template-columns: 1fr;
  }

  body.site-v3 .grid-problema {
    grid-template-columns: 1fr;
  }
}
