/* ============================================
   SCAVASSINI TEAM GUIDED — CSS v3.0
   Tema: Dark Monocromático · Inspirado no Logo STG
   Paleta: Preto Profundo | Branco | Prata | Azul Suave
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Fundos — dark escalonado */
  --bg-base:   #060609;
  --bg-1:      #09090E;
  --bg-2:      #0C0C12;
  --bg-3:      #0F0F16;

  /* Cards / Glass */
  --card-bg:        rgba(255,255,255,0.04);
  --card-bg-hover:  rgba(255,255,255,0.07);
  --card-border:    rgba(255,255,255,0.07);
  --card-border-hover: rgba(255,255,255,0.18);

  /* Texto */
  --text-100: #FFFFFF;
  --text-80:  rgba(255,255,255,0.80);
  --text-60:  rgba(255,255,255,0.60);
  --text-40:  rgba(255,255,255,0.40);
  --text-20:  rgba(255,255,255,0.20);

  /* Acentos mínimos */
  --blue:       #2060E8;
  --blue-light: #4A8AFF;
  --blue-dim:   rgba(32,96,232,0.15);
  --teal:       #00CC8A;
  --teal-dim:   rgba(0,204,138,0.15);

  /* Fontes */
  --font-main:    'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Sombras */
  --shadow-sm: 0 2px 16px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 48px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.65);
  --glow-blue: 0 0 60px rgba(32,96,232,0.18);
  --glow-teal: 0 0 60px rgba(0,204,138,0.14);

  /* Bordas arredondadas */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;

  /* Transições */
  --ease: 0.35s cubic-bezier(0.4,0,0.2,1);
  --ease-fast: 0.2s cubic-bezier(0.4,0,0.2,1);
  --ease-slow: 0.65s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-base);
  color: var(--text-80);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-pad { padding: 110px 0; }

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ---- TIPOGRAFIA ---- */
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--card-border-hover);
  color: var(--text-60);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-tag.tag-light {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-60);
}
.section-tag.tag-light::before { background: var(--teal); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--text-100);
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.section-title.light { color: var(--text-100); }

.section-sub {
  font-size: 1.02rem;
  color: var(--text-60);
  max-width: 600px;
  line-height: 1.75;
  font-weight: 400;
}

.section-header.center .section-sub { margin: 0 auto; }
.section-sub.light { color: var(--text-60); }

.gradient-text {
  background: linear-gradient(120deg, rgba(255,255,255,0.95), var(--teal) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
  min-height: 52px;
  -webkit-appearance: none;
  appearance: none;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Primário: branco sobre preto — on-brand com logo */
.btn-primary {
  background: var(--text-100);
  color: var(--bg-base);
  box-shadow: 0 4px 24px rgba(255,255,255,0.12);
}
.btn-primary:hover {
  background: rgba(255,255,255,0.88);
  box-shadow: 0 8px 40px rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-lg  { padding: 17px 38px; font-size: 0.98rem; }
.btn-xl  { padding: 20px 48px; font-size: 1.05rem; }

.btn-glow { animation: pulse-glow 2.8s infinite; }
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 4px 24px rgba(255,255,255,0.12), 0 0 0 0 rgba(255,255,255,0.15); }
  50%     { box-shadow: 0 4px 24px rgba(255,255,255,0.12), 0 0 0 14px rgba(255,255,255,0); }
}

.btn-ghost {
  background: transparent;
  color: var(--text-80);
  border: 1.5px solid var(--card-border-hover);
}
.btn-ghost:hover {
  border-color: var(--text-60);
  color: var(--text-100);
  background: var(--card-bg);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--text-100);
  color: var(--bg-base);
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 40px;
  letter-spacing: 0.04em;
}
.btn-nav:hover {
  background: rgba(255,255,255,0.85);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #1DAA52);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover {
  box-shadow: 0 8px 36px rgba(37,211,102,0.4);
  transform: translateY(-2px);
}

.btn-instagram {
  background: linear-gradient(135deg, #E1306C 0%, #833AB4 50%, #FD1D1D 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(225,48,108,0.25);
}
.btn-instagram:hover {
  box-shadow: 0 8px 36px rgba(225,48,108,0.4);
  transform: translateY(-2px);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(6,6,9,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

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

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

/* Logo SVG transparente integrado */
.logo-img {
  height: 78px;
  width: auto;
  object-fit: contain;
  transition: var(--ease);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.08));
}
.logo-img:hover {
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.2));
  transform: scale(1.04);
}
.navbar.scrolled .logo-img {
  height: 60px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

/* Padrão de pontos — espelho do logo STG */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 45%, black 0%, transparent 72%);
  pointer-events: none;
}

/* Atmosfera de luz suave */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 38%, rgba(255,255,255,0.04) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 20% 75%, rgba(0,204,138,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.35; }
  100% { transform: translateY(-120px) scale(1); opacity: 0; }
}

.hero-inner {
  display: block;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.hero-content { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text-60);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.7s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,204,138,0.4); }
  50%     { transform: scale(1.3); box-shadow: 0 0 0 5px rgba(0,204,138,0); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--text-100);
  line-height: 1.06;
  margin-bottom: 22px;
  letter-spacing: -0.035em;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.hero-subheadline {
  font-size: 1.02rem;
  color: var(--text-60);
  line-height: 1.78;
  margin-bottom: 40px;
  max-width: 510px;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.hero-subheadline strong { color: var(--text-100); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
  animation: fadeInUp 0.7s 0.4s ease both;
}

.stat-item { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-100);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-40);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 5px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--card-border);
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInRight 0.9s 0.25s ease both;
}

.visual-card.main-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(255,255,255,0.02);
  transition: var(--ease-slow);
}
.visual-card.main-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-lg), 0 0 100px rgba(255,255,255,0.04);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--card-border);
  background: rgba(255,255,255,0.02);
}

.card-dots { display: flex; gap: 6px; }
.card-dots span { width: 10px; height: 10px; border-radius: 50%; }
.card-dots span:nth-child(1) { background: #FF5F57; }
.card-dots span:nth-child(2) { background: #FFBD2E; }
.card-dots span:nth-child(3) { background: #28C840; }

.card-title-label {
  font-size: 0.7rem;
  color: var(--text-40);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.card-body { padding: 24px; }

.scan-viz {
  position: relative;
  background: rgba(0,0,0,0.3);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scan-move 3.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes scan-move {
  0%,100% { top: 0; opacity: 0; }
  8%  { opacity: 1; }
  92% { opacity: 0.8; }
  100%{ top: calc(100% - 2px); opacity: 0; }
}

.jaw-outline { padding: 16px; }

.card-metrics { display: flex; flex-direction: column; gap: 8px; }

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--r-sm);
  border: 1px solid var(--card-border);
  transition: var(--ease-fast);
}
.metric:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
}

.metric-label { font-size: 0.78rem; color: var(--text-40); }

.metric-val {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 100px;
}
.metric-val.ok    { background: var(--teal-dim); color: var(--teal); }
.metric-val.ready { background: var(--blue-dim); color: var(--blue-light); }

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18,18,24,0.96);
  border: 1px solid var(--card-border-hover);
  border-radius: var(--r-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  animation: float-badge 3.5s ease-in-out infinite;
  backdrop-filter: blur(12px);
}
.badge-left  { bottom: -18px; left: -14px; animation-delay: 0s; }
.badge-right { top: -18px; right: -14px; animation-delay: 1.8s; }

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

.fb-icon { font-size: 1.3rem; }

.floating-badge div { display: flex; flex-direction: column; }
.floating-badge strong { font-size: 0.78rem; color: var(--text-100); font-weight: 700; }
.floating-badge small  { font-size: 0.68rem; color: var(--text-60); margin-top: 2px; }

/* ---- DOR / PROBLEMA (DARK) ---- */
.pain-section {
  background: var(--bg-1);
  position: relative;
}

/* Padrão de pontos sutil nas seções escuras */
.pain-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.6;
}

.pain-section .container { position: relative; z-index: 1; }

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

.pain-card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  padding: 32px 28px;
  border: 1px solid var(--card-border);
  transition: var(--ease);
}
.pain-card:hover {
  transform: translateY(-6px);
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-md);
}

/* Normalizar ícones de dor no fundo escuro */
.pain-card .pain-icon circle:first-child {
  fill: rgba(255,255,255,0.05);
}

.pain-icon { margin-bottom: 20px; }

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pain-card p {
  font-size: 0.87rem;
  color: var(--text-60);
  line-height: 1.72;
}

.pain-card-highlight {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pain-card-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06), transparent 65%);
  pointer-events: none;
}
.pain-card-highlight:hover { border-color: rgba(255,255,255,0.22); }

.pain-highlight-content { text-align: center; position: relative; z-index: 1; }
.pain-highlight-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.pain-card-highlight h3 { color: var(--text-100); font-size: 1.15rem; margin-bottom: 12px; }
.pain-card-highlight p { color: var(--text-60); margin-bottom: 24px; font-size: 0.9rem; }

/* ---- SOLUÇÃO (DARK) ---- */
.solution-section { position: relative; overflow: hidden; }

.solution-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-2);
}
.solution-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.8;
}
.solution-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 85% 15%, rgba(0,204,138,0.05) 0%, transparent 50%);
}

.solution-section .container { position: relative; z-index: 2; }

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

.pillar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 42px 32px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(255,255,255,0.04), transparent 55%);
  opacity: 0;
  transition: var(--ease);
  pointer-events: none;
}
.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: var(--shadow-md), 0 0 80px rgba(255,255,255,0.03);
}
.pillar-card:hover::after { opacity: 1; }

.pillar-featured {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

.pillar-featured-badge {
  position: absolute;
  top: 22px; right: 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-80);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.pillar-icon-wrap { margin-bottom: 22px; }

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-100);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.pillar-desc {
  font-size: 0.87rem;
  color: var(--text-60);
  line-height: 1.78;
  margin-bottom: 24px;
}
.pillar-desc strong { color: var(--text-100); }

.pillar-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pillar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-60);
}

.check-icon { color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ---- COMO FUNCIONA (DARK) ---- */
.how-section { background: var(--bg-base); }

.steps-container { position: relative; }

.steps-line {
  position: absolute;
  top: 50px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), rgba(255,255,255,0.1), transparent);
  z-index: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.step-card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  padding: 32px 22px;
  border: 1px solid var(--card-border);
  text-align: center;
  transition: var(--ease);
}
.step-card:hover {
  transform: translateY(-6px);
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-60);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
}

.step-icon-wrap { display: flex; justify-content: center; margin-bottom: 18px; }

.step-card h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-60);
  line-height: 1.7;
  margin-bottom: 16px;
}

.step-detail {
  font-size: 0.7rem;
  color: var(--text-60);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: 100px;
  display: inline-block;
  letter-spacing: 0.03em;
}

.step-final { border-color: rgba(0,204,138,0.15); }

.step-detail-success {
  background: var(--teal-dim);
  border-color: rgba(0,204,138,0.2);
  color: var(--teal);
}

.how-cta { text-align: center; margin-top: 60px; }
.how-cta p { font-size: 1rem; color: var(--text-60); margin-bottom: 24px; }

/* ---- PROVA SOCIAL (DARK) ---- */
.social-proof { background: var(--bg-1); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  padding: 32px 28px;
  border: 1px solid var(--card-border);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-md);
}
.testimonial-featured {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

.testimonial-stars { color: #F59E0B; font-size: 0.82rem; letter-spacing: 0.05em; }

.testimonial-card blockquote {
  font-size: 0.88rem;
  color: var(--text-60);
  line-height: 1.76;
  font-style: italic;
  flex: 1;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--card-border-hover);
}
.author-avatar span {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}

.testimonial-author strong { display: block; font-size: 0.86rem; color: var(--text-100); font-weight: 700; }
.testimonial-author span  { font-size: 0.75rem; color: var(--text-40); }

.testimonial-placeholder-note {
  font-size: 0.7rem;
  color: var(--text-40);
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
}

.proof-numbers {
  display: flex;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.proof-num-item {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  position: relative;
}
.proof-num-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03), transparent 70%);
  pointer-events: none;
}
.proof-num-item + .proof-num-item { border-left: 1px solid var(--card-border); }

.proof-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-100);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.proof-num-label {
  font-size: 0.72rem;
  color: var(--text-40);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

/* ---- CONTATO (DARK) ---- */
.contact-section { background: var(--bg-base); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-desc { font-size: 0.94rem; color: var(--text-60); line-height: 1.78; margin-bottom: 14px; }
.contact-desc strong { color: var(--text-100); }

.contact-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 20px; }
.contact-note { font-size: 0.78rem; color: var(--text-40); font-style: italic; }

.contact-visual { display: flex; justify-content: center; }

.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 28px;
  width: 100%;
  max-width: 380px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 25%, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
}

.cc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--card-border-hover);
}

.cc-header > div strong { display: block; font-size: 0.9rem; color: var(--text-100); font-weight: 700; }

.cc-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  color: var(--teal);
  margin-top: 2px;
}
.online-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2.2s infinite;
}

.cc-message { margin-bottom: 24px; position: relative; z-index: 1; }
.msg-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 0 var(--r-md) var(--r-md) var(--r-md);
  padding: 16px 18px;
  font-size: 0.86rem;
  color: var(--text-60);
  line-height: 1.65;
}
.msg-time { font-size: 0.68rem; color: var(--text-40); margin-top: 6px; margin-left: 4px; }

.cc-actions { position: relative; z-index: 1; }

.cc-reply-btn {
  display: block;
  text-align: center;
  background: var(--text-100);
  color: var(--bg-base);
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  transition: var(--ease);
}
.cc-reply-btn:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-2px);
}

/* ---- FINAL CTA (DARK) ---- */
.final-cta { position: relative; overflow: hidden; }

.final-cta-bg {
  position: absolute; inset: 0;
  background: var(--bg-2);
}
.final-cta-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.final-cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 65%);
}

.final-cta .container { position: relative; z-index: 2; }

.final-cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }

.final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border-hover);
  color: var(--text-60);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.final-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--text-100);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.final-sub {
  font-size: 1rem;
  color: var(--text-60);
  line-height: 1.75;
  margin-bottom: 40px;
}

.final-promise {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-60);
  font-weight: 500;
}
.promise-item span { color: var(--teal); font-weight: 700; }

.final-small { font-size: 0.76rem; color: var(--text-40); margin-top: 18px; font-style: italic; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--card-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 64px 0 48px;
}

.footer-brand { max-width: 340px; }

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.06));
  transition: var(--ease);
}
.footer-logo-img:hover {
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.14));
}

.footer-tagline {
  font-size: 0.83rem;
  color: var(--text-40);
  line-height: 1.72;
  margin-bottom: 28px;
}

.footer-social { display: flex; gap: 12px; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  color: var(--text-40);
  transition: var(--ease);
}
.social-link:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--card-border-hover);
  color: var(--text-100);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 4px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-40);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}

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

.footer-col li a {
  font-size: 0.84rem;
  color: var(--text-60);
  transition: var(--ease-fast);
}
.footer-col li a:hover { color: var(--text-100); }

.footer-bottom { border-top: 1px solid var(--card-border); padding: 20px 0; }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 0.76rem; color: var(--text-40); }

/* ---- FLOATING WHATSAPP ---- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: linear-gradient(135deg, #25D366, #1DAA52);
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: wa-pulse 3s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0.25); }
  50%     { box-shadow: 0 4px 24px rgba(37,211,102,0.35), 0 0 0 12px rgba(37,211,102,0); }
}
.floating-whatsapp:hover { transform: scale(1.1); }

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.floating-tooltip {
  position: absolute;
  right: 66px;
  background: rgba(6,6,9,0.95);
  color: var(--text-80);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--ease-fast);
  pointer-events: none;
  border: 1px solid var(--card-border);
}
.floating-whatsapp:hover .floating-tooltip { opacity: 1; transform: translateX(0); }

/* ---- ANIMAÇÕES ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ========================================
   RESPONSIVO — MOBILE FIRST
   ======================================== */

/* ---- TABLET (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .hero-inner      { gap: 48px; }
  .pillars-grid    { grid-template-columns: 1fr 1fr; }
  .steps-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-line      { display: none; }
  .contact-inner   { gap: 48px; }
}

/* ---- MOBILE (≤ 768px) ---- */
@media (max-width: 768px) {
  :root { font-size: 15px; }

  .section-pad     { padding: 72px 0; }
  .container       { padding: 0 20px; }
  .section-header  { margin-bottom: 48px; }

  /* Navbar Mobile */
  .navbar          { padding: 14px 0; }
  .navbar.scrolled { padding: 10px 0; }

  .logo-img        { height: 58px; }

  .btn-nav {
    padding: 9px 18px;
    font-size: 0.78rem;
    min-height: 38px;
  }

  /* Hero Mobile */
  .hero            { padding-top: 80px; min-height: auto; padding-bottom: 40px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
  }

  .hero-visual { order: -1; }

  .badge-left,
  .badge-right { display: none; }

  .hero-headline  { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-subheadline { font-size: 0.95rem; max-width: 100%; }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-stats  { gap: 16px; padding-top: 24px; }
  .stat-number { font-size: 1.35rem; }
  .stat-label  { font-size: 0.6rem; }

  /* Grids — 1 coluna */
  .pain-grid        { grid-template-columns: 1fr; }
  .pillars-grid     { grid-template-columns: 1fr; }
  .steps-grid       { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Cards mobile */
  .pain-card        { padding: 26px 22px; }
  .pillar-card      { padding: 32px 26px; }
  .step-card        { padding: 26px 20px; }
  .testimonial-card { padding: 26px 22px; }

  /* Contact */
  .contact-inner    { grid-template-columns: 1fr; gap: 40px; }
  .contact-buttons  { flex-direction: column; }
  .contact-buttons .btn { width: 100%; justify-content: center; }

  .contact-card     { max-width: 100%; }

  /* Proof numbers */
  .proof-numbers    { flex-direction: column; }
  .proof-num-item + .proof-num-item {
    border-left: none;
    border-top: 1px solid var(--card-border);
  }
  .proof-num-item   { padding: 28px 20px; }
  .proof-num        { font-size: 2.2rem; }

  /* Final CTA */
  .final-promise {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .final-cta-inner .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-inner     { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 36px; }
  .footer-brand     { max-width: 100%; }
  .footer-logo-img  { height: 48px; }
  .footer-links     { grid-template-columns: 1fr 1fr; gap: 28px; }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Floating WhatsApp */
  .floating-whatsapp { bottom: 20px; right: 16px; width: 52px; height: 52px; }
}

/* ---- MOBILE PEQUENO (≤ 480px) ---- */
@media (max-width: 480px) {
  .container       { padding: 0 16px; }
  .section-pad     { padding: 56px 0; }

  .hero-headline   { font-size: clamp(1.7rem, 9vw, 2.2rem); letter-spacing: -0.025em; }

  .btn-lg          { padding: 15px 28px; font-size: 0.92rem; }
  .btn-xl          { padding: 17px 32px; font-size: 0.98rem; }

  .section-title   { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section-sub     { font-size: 0.92rem; }

  .footer-links    { grid-template-columns: 1fr; }

  .hero-stats      { flex-wrap: wrap; gap: 16px 24px; }

  .proof-numbers   { border-radius: var(--r-md); }

  .final-headline  { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* ---- MOBILE MUITO PEQUENO (≤ 360px) ---- */
@media (max-width: 360px) {
  .container       { padding: 0 14px; }
  .hero-headline   { font-size: 1.7rem; }
  .btn             { padding: 13px 22px; font-size: 0.85rem; }
}

/* ==========================================================================
   VIDEO HERO BACKGROUND - CYBER-SURGICAL AESTHETIC
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  /* Removed old padding to let the video fill if needed, but keeping inner padding */
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--bg-base); /* Fallback */
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.8; /* Slight dimming of the video itself */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 12, 16, 0.4) 0%, rgba(11, 12, 16, 0.8) 100%);
  z-index: 1;
}

.centered-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.centered-hero-content .hero-subheadline {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.centered-hero-content .hero-actions {
  justify-content: center;
  width: 100%;
}

.centered-badge {
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.centered-actions {
  justify-content: center;
  margin-top: 2rem;
}

.centered-stats {
  justify-content: center;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   CASOS REAIS / GALLERY SECTION
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-deep, #07080a);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.gallery-item {
  background: var(--card-bg, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.05));
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--teal, #00BFA5);
  box-shadow: 0 10px 30px rgba(0, 191, 165, 0.1);
}

.gallery-img-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background-color: #000;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-info {
  padding: 24px;
}

.gallery-info h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-100, #ffffff);
  margin-bottom: 10px;
}

.gallery-info p {
  font-size: 0.92rem;
  color: var(--text-60, rgba(255, 255, 255, 0.6));
  line-height: 1.6;
  margin: 0;
}

/* Responsividade da Galeria */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .gallery-img-wrapper {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gallery-img-wrapper {
    height: 300px;
  }
}

