/* ============================================================
   SCRIPTAI — STYLESHEET v3.0
   Editável em Adobe Dreamweaver
   Fonts: Syne (display) + DM Sans (body) via Google Fonts
   ============================================================ */

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

:root {
  /* Brand colors */
  --digital: #0ea5e9;
  --digital-dark: #0369a1;
  --digital-glow: rgba(14,165,233,0.25);
  --energy: #f59e0b;
  --energy-dark: #b45309;
  --energy-glow: rgba(245,158,11,0.25);
  --green: #22c55e;

  /* Surfaces */
  --bg: #060810;
  --bg-2: #0c0f1a;
  --bg-3: #111827;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);

  /* Text */
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-faint: #475569;

  /* Typography */
  --font-display: 'Clash Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section: 120px;
  --radius: 20px;
  --radius-lg: 32px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.section { padding: var(--section) 0; }
.section-sm { padding: 80px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── UTILS ────────────────────────────────────────────────── */
.text-digital { color: var(--digital); }
.text-energy { color: var(--energy); }
.text-green { color: var(--green); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.italic { font-style: italic; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-6 { margin-top: 3rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
}
.badge.digital { border-color: var(--digital); color: var(--digital); background: var(--digital-glow); }
.badge.energy  { border-color: var(--energy);  color: var(--energy);  background: var(--energy-glow); }
.badge.green   { border-color: var(--green);    color: var(--green);   background: rgba(34,197,94,0.15); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--digital);
  color: #fff;
  box-shadow: 0 0 0 0 var(--digital-glow);
}
.btn-primary:hover {
  background: var(--digital-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--digital-glow);
}
.btn-energy {
  background: var(--energy);
  color: #000;
  box-shadow: 0 0 0 0 var(--energy-glow);
}
.btn-energy:hover {
  background: var(--energy-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--energy-glow);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.btn-large { padding: 1.1rem 2.5rem; font-size: 0.95rem; }
.btn-sm    { padding: 0.6rem 1.4rem; font-size: 0.78rem; }

/* Arrow icon inside button */
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.card.digital:hover { border-color: var(--digital); box-shadow: 0 20px 60px var(--digital-glow); }
.card.energy:hover  { border-color: var(--energy);  box-shadow: 0 20px 60px var(--energy-glow); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  background: var(--surface-hover);
}
.card-icon.digital { background: var(--digital-glow); color: var(--digital); }
.card-icon.energy  { background: var(--energy-glow);  color: var(--energy); }

/* ── NAVIGATION ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s var(--ease);
}
#navbar.scrolled {
  background: rgba(6,8,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo span { color: var(--digital); }
/* Imagem de logo — pasta img/ */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
#navbar.scrolled .nav-logo-img { height: 30px; transition: height 0.3s var(--ease); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); }

.nav-ctas { display: flex; gap: 0.75rem; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MOBILE MENU ──────────────────────────────────────────── */
#mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
#mobile-menu.open { transform: translateX(0); }
#mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--digital); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--digital);
  animation: pulse 2s infinite;
}

.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
  margin-bottom: 1.5rem;
}
.hero-title .line { display: block; }
.hero-title .accent-digital { color: var(--digital); }
.hero-title .accent-energy { color: var(--energy); }

.hero-sub {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.6s forwards;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1s forwards;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .lbl { font-size: 0.75rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.3rem; }

/* ── MARQUEE ──────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee-item .dot { width: 5px; height: 5px; border-radius: 50%; }
.marquee-item .dot.d { background: var(--digital); }
.marquee-item .dot.e { background: var(--energy); }

/* ── SECTION HEADER ───────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}
.section-header .badge { margin-bottom: 1.25rem; }

/* ── SPLIT UNIVERSE ───────────────────────────────────────── */
#universo {
  padding: var(--section) 0;
  position: relative;
}
.universo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}
.universo-panel {
  position: relative;
  padding: 4rem;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: flex 0.6s var(--ease);
}
.universo-panel.digital { background: linear-gradient(160deg, #070e1a, var(--bg-2)); }
.universo-panel.energy  { background: linear-gradient(160deg, #100d04, #0f0c00); }

.universo-panel .bg-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.12;
  transition: opacity 0.6s;
}
.universo-panel.digital .bg-glow { background: var(--digital); top: -100px; right: -100px; }
.universo-panel.energy .bg-glow  { background: var(--energy);  bottom: -100px; left: -100px; }
.universo-panel:hover .bg-glow   { opacity: 0.22; }

.panel-number {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 800;
  opacity: 0.04;
  position: absolute;
  top: 1rem; right: 2rem;
  line-height: 1;
}
.universo-panel.digital .panel-number { color: var(--digital); }
.universo-panel.energy .panel-number  { color: var(--energy); }

.panel-top .badge { margin-bottom: 1.5rem; }
.panel-top h3 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.panel-top p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; max-width: 400px; }

.panel-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.panel-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.panel-feature .check { font-size: 0.9rem; }
.panel-feature .check.d { color: var(--digital); }
.panel-feature .check.e { color: var(--energy); }

.panel-cta { margin-top: 2.5rem; }

/* ── NEURONEX SECTION ─────────────────────────────────────── */
#neuronex-section { padding: var(--section) 0; background: var(--bg-2); position: relative; overflow: hidden; }

.neuronex-bg {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14,165,233,0.06), transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.module-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--digital);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.module-card:hover {
  border-color: var(--digital);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--digital-glow);
}
.module-card:hover::after { transform: scaleX(1); }
.module-icon { font-size: 2rem; margin-bottom: 1rem; }
.module-card h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.module-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* Plans teaser in Neuronex */
.plans-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--surface);
  transition: all 0.35s var(--ease);
  position: relative;
}
.plan-card.featured {
  border-color: var(--digital);
  background: linear-gradient(160deg, rgba(14,165,233,0.08), var(--surface));
  box-shadow: 0 0 40px var(--digital-glow);
}
.plan-card .plan-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.plan-card .plan-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--digital);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.plan-card .plan-period { font-size: 0.75rem; color: var(--text-faint); }
.plan-tag {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--digital);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── ENERGIA SECTION ──────────────────────────────────────── */
#energia-section { padding: var(--section) 0; position: relative; overflow: hidden; }
.energia-bg {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245,158,11,0.07), transparent 70%);
  bottom: -150px; left: -100px;
  pointer-events: none;
}

.energia-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}
.energia-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  background: var(--surface);
  transition: all 0.35s var(--ease);
  text-align: center;
}
.energia-card:hover {
  border-color: var(--energy);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--energy-glow);
}
.energia-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}
.energia-card h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.energia-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }
.energia-card ul { margin-top: 1rem; text-align: left; }
.energia-card ul li {
  font-size: 0.825rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.energia-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--energy);
  font-size: 0.75rem;
}

/* Savings calculator teaser */
.savings-teaser {
  margin-top: 4rem;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(245,158,11,0.02));
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.savings-teaser h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.savings-teaser p  { color: var(--text-muted); }

/* ── CAROUSEL ─────────────────────────────────────────────── */
#carousel-section { padding: var(--section) 0; background: var(--bg-2); overflow: hidden; }

.carousel-wrapper {
  position: relative;
  perspective: 1200px;
  height: 420px;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.7s var(--ease);
  transform-style: preserve-3d;
  height: 100%;
  align-items: center;
}
.carousel-slide {
  min-width: 400px;
  margin: 0 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 380px;
  transition: all 0.7s var(--ease);
  flex-shrink: 0;
}
.carousel-slide .slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,8,16,0.95), rgba(6,8,16,0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}
.slide-badge { margin-bottom: 0.75rem; }
.slide-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.slide-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s;
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--digital); border-color: var(--digital); }
.carousel-dots {
  display: flex;
  gap: 6px;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active { width: 24px; border-radius: 3px; background: var(--digital); }

/* ── SERVIÇOS DIGITAIS ────────────────────────────────────── */
#servicos { padding: var(--section) 0; }

.servicos-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
}
.tab-btn:hover { border-color: var(--border-strong); color: var(--text); }
.tab-btn.active { background: var(--digital); border-color: var(--digital); color: #fff; }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }

/* ── PROCESS STEPS ────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 4rem;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  transition: all 0.35s;
}
.step:hover .step-num { border-color: var(--digital); color: var(--digital); box-shadow: 0 0 20px var(--digital-glow); }
.step h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p  { font-size: 0.82rem; color: var(--text-muted); }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
#testimonials { padding: var(--section) 0; background: var(--bg-2); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.35s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.stars { color: var(--energy); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-text::before { content: '"'; color: var(--digital); font-size: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-hover);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  border: 2px solid var(--border-strong);
}
.author-avatar.d { border-color: var(--digital); color: var(--digital); background: var(--digital-glow); }
.author-avatar.e { border-color: var(--energy);  color: var(--energy);  background: var(--energy-glow); }
.author-name { font-weight: 700; font-size: 0.875rem; }
.author-role { font-size: 0.75rem; color: var(--text-faint); }

/* ── CONTACT SECTION ──────────────────────────────────────── */
#contacto { padding: var(--section) 0; position: relative; overflow: hidden; }
.contact-bg-left {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, var(--digital-glow), transparent 70%);
  top: 50%; left: -150px; transform: translateY(-50%);
  pointer-events: none;
}
.contact-bg-right {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, var(--energy-glow), transparent 70%);
  top: 50%; right: -100px; transform: translateY(-50%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.8; }

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.contact-item-text .ttl { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 0.15rem; }
.contact-item-text .val { font-size: 0.9rem; color: var(--text); font-weight: 500; }
.contact-item-text a:hover { color: var(--digital); }

/* Social BIO links */
.bio-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.bio-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.25s;
  color: var(--text-muted);
}
.bio-link:hover { background: var(--surface-hover); border-color: var(--text-muted); color: var(--text); transform: translateY(-2px); }
.bio-link.ig:hover { border-color: #e1306c; color: #e1306c; background: rgba(225,48,108,0.1); }
.bio-link.fb:hover { border-color: #1877f2; color: #1877f2; background: rgba(24,119,242,0.1); }
.bio-link.wa:hover { border-color: #25d366; color: #25d366; background: rgba(37,211,102,0.1); }

/* ── CONTACT FORM ─────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(12px);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.form-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1.1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--digital); box-shadow: 0 0 0 3px var(--digital-glow); }
.form-group select { -webkit-appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-3); }

.form-interest {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.interest-btn {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.interest-btn:hover { border-color: var(--border-strong); color: var(--text); }
.interest-btn.active.digital { border-color: var(--digital); color: var(--digital); background: var(--digital-glow); }
.interest-btn.active.energy  { border-color: var(--energy);  color: var(--energy);  background: var(--energy-glow); }

#form-feedback {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1rem;
}
#form-feedback.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--green); }
#form-feedback.error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #ef4444; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand .logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.footer-brand .logo span { color: var(--digital); }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--surface-hover); color: var(--text); transform: translateY(-2px); }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-faint); }
.footer-bottom a { color: var(--text-faint); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--digital); }

/* ── WEBCHAT WIDGET ───────────────────────────────────────── */
#webchat-widget {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 9999;
}
.chat-bubble {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--digital), var(--digital-dark));
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 32px var(--digital-glow);
  transition: all 0.35s var(--ease);
  font-size: 1.4rem;
  animation: chatBounce 3s ease-in-out infinite;
}
.chat-bubble:hover { transform: scale(1.1); box-shadow: 0 12px 40px var(--digital-glow); }
.chat-bubble .badge-notif {
  position: absolute;
  top: 0; right: 0;
  width: 16px; height: 16px;
  background: var(--energy);
  border-radius: 50%;
  border: 2px solid var(--bg);
  animation: pulse 2s infinite;
}

.chat-panel {
  position: absolute;
  bottom: 80px; right: 0;
  width: 360px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transform: scale(0.9) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease);
}
.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.chat-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--digital-dark), var(--digital));
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.chat-header-info .name { font-weight: 700; font-size: 0.9rem; }
.chat-header-info .status { font-size: 0.7rem; opacity: 0.8; display: flex; align-items: center; gap: 0.3rem; }
.chat-header-info .status::before { content: '●'; color: var(--green); }
.chat-close { margin-left: auto; background: none; border: none; color: #fff; cursor: pointer; font-size: 1.1rem; opacity: 0.7; transition: opacity 0.2s; }
.chat-close:hover { opacity: 1; }

.chat-messages {
  height: 280px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }

.chat-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  animation: fadeUp 0.3s ease;
}
.chat-msg.bot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text-muted);
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--digital);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.5rem 0.75rem;
}
.chat-quick-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-quick-btn:hover { border-color: var(--digital); color: var(--digital); background: var(--digital-glow); }

.chat-input-wrap {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.chat-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--digital); }
.chat-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--digital);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chat-send:hover { background: var(--digital-dark); transform: scale(1.1); }

/* ── BIO PAGE EXCLUSIVE ───────────────────────────────────── */
.bio-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(14,165,233,0.08), transparent),
              radial-gradient(ellipse 60% 60% at 80% 80%, rgba(245,158,11,0.06), transparent),
              var(--bg);
  padding: 3rem 1rem;
}
.bio-card {
  width: 100%;
  max-width: 440px;
  text-align: center;
}
.bio-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.bio-logo span { color: var(--digital); }
.bio-tagline { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }

.bio-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.bio-action-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.bio-action-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.bio-action-btn.primary { background: var(--digital); border-color: var(--digital); }
.bio-action-btn.primary:hover { box-shadow: 0 12px 40px var(--digital-glow); }
.bio-action-btn.energy  { background: var(--energy);  border-color: var(--energy); color: #000; }
.bio-action-btn.energy:hover  { box-shadow: 0 12px 40px var(--energy-glow); }
.bio-action-btn .icon { font-size: 1.3rem; }
.bio-action-btn .arrow-r { margin-left: auto; opacity: 0.5; transition: transform 0.2s; }
.bio-action-btn:hover .arrow-r { transform: translateX(4px); opacity: 1; }

.bio-social { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.bio-social a {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all 0.25s;
}
.bio-social a:hover { transform: translateY(-3px); }
.bio-social a.ig:hover { background: rgba(225,48,108,0.15); border-color: #e1306c; color: #e1306c; }
.bio-social a.fb:hover { background: rgba(24,119,242,0.15); border-color: #1877f2; color: #1877f2; }
.bio-social a.wa:hover { background: rgba(37,211,102,0.15); border-color: #25d366; color: #25d366; }
.bio-social a.li:hover { background: rgba(10,102,194,0.15); border-color: #0a66c2; color: #0a66c2; }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes chatBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(2deg); }
  66%       { transform: translateY(6px) rotate(-1deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  /* Segurança: forçar visibilidade após 2s mesmo que o JS falhe */
  animation: revealFallback 0.7s ease 2s forwards;
}
@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-2       { grid-template-columns: 1fr; }
  .grid-3       { grid-template-columns: repeat(2, 1fr); }
  .grid-4       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .plans-row    { grid-template-columns: repeat(2, 1fr); }
  .universo-split { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps        { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --section: 80px; }
  .nav-links, .nav-ctas { display: none; }
  .nav-toggle { display: flex; }
  .grid-3     { grid-template-columns: 1fr; }
  .grid-4     { grid-template-columns: 1fr; }
  .plans-row  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps      { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .form-row   { grid-template-columns: 1fr; }
  .universo-panel { padding: 2.5rem 1.75rem; }
  .carousel-slide { min-width: 300px; height: 320px; }
  .chat-panel { width: 320px; }
  .savings-teaser { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .bio-actions .bio-action-btn { font-size: 0.82rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
}
