/* ═══════════════════════════════════════════════════════════
   TimeG · Landing page
   Cores: azul profundo (#0a1929) + teal (#2dd4bf)
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:          #050d1a;
  --bg-2:        #0a1929;
  --bg-3:        #0e2236;
  --surface:     rgba(20, 41, 70, .55);
  --surface-2:   rgba(28, 56, 90, .35);
  --border:      rgba(150, 200, 220, .12);
  --border-2:    rgba(150, 200, 220, .06);
  --text:        #e2eef5;
  --text-2:      #94a8bc;
  --text-3:      #6a7d92;
  --teal:        #2dd4bf;
  --teal-2:      #14b8a6;
  --teal-3:      #0d9488;
  --teal-glow:   rgba(45, 212, 191, .35);
  --blue:        #60a5fa;
  --purple:      #c084fc;
  --green:       #34d399;
  --amber:       #fbbf24;
  --red:         #f87171;
  --maxw:        1180px;
  --gap:         24px;
  --radius:      14px;
  --radius-lg:   20px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

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

/* ── Aurora animation (fundo) ──────────────────────────────── */
.bg-aurora {
  position: fixed; inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, #050d1a 0%, #0a1929 50%, #050d1a 100%);
  overflow: hidden;
}
.aurora {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .25;
  pointer-events: none;
  animation: aurora-move 22s ease-in-out infinite;
}
.aurora-1 {
  background: radial-gradient(circle, #2dd4bf 0%, transparent 70%);
  top: -300px; left: -200px;
}
.aurora-2 {
  background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
  bottom: -300px; right: -200px;
  animation-delay: -7s;
}
.aurora-3 {
  background: radial-gradient(circle, #0e7490 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
  opacity: .15;
}
@keyframes aurora-move {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(50px, -30px) scale(1.1); }
  66%      { transform: translate(-30px, 40px) scale(.95); }
}

/* ── Canvas de partículas ──────────────────────────────────── */
#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
}

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 13, 26, .65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity .2s;
}
.logo-link:hover { opacity: .85; }
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.footer-brand .logo-img { height: 44px; }

/* Logo grande no Hero */
.hero-logo {
  height: 90px;
  width: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 6px 24px rgba(45, 212, 191, .25));
}

/* Texto "TimeG" (mantido como fallback caso queira em outro lugar) */
.logo-text { color: #fff; font-weight: 700; font-size: 22px; letter-spacing: -.5px; }
.logo-text-g {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--text); }
.btn-cta {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  color: #0a1929 !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: all .25s;
  box-shadow: 0 4px 20px rgba(45, 212, 191, .25);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 212, 191, .45);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}

/* ── Botões ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  color: #0a1929;
  box-shadow: 0 4px 24px rgba(45, 212, 191, .3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(45, 212, 191, .5);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #5eead4, #2dd4bf);
  opacity: 0;
  transition: opacity .25s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--teal);
  color: var(--teal);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 60px 0 100px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 22px;
}
.grad {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  max-width: 480px;
}
.stat-value {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: .3px;
}

/* Hero visual (card decorativo) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.visual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 420px;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.vc-glow {
  position: absolute;
  top: -100px; left: -100px; right: -100px; bottom: -100px;
  background: radial-gradient(circle at center, rgba(45, 212, 191, .15), transparent 60%);
  z-index: -1;
  border-radius: 50%;
}
.vc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.vc-mini {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 14px;
  border-left: 3px solid;
}
.vc-mini.blue   { border-left-color: var(--blue); }
.vc-mini.green  { border-left-color: var(--green); }
.vc-mini.purple { border-left-color: var(--purple); }
.vc-mini.teal   { border-left-color: var(--teal); }
.mini-label {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.mini-val {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.vc-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: 10px;
  margin-bottom: 14px;
}
.bar-l, .bar-r {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 600;
}
.bar-r { color: var(--green); }
.bar-track {
  flex: 1;
  height: 6px;
  background: var(--border-2);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal-2), var(--teal));
  border-radius: 3px;
  animation: bar-fill 2.5s ease-out forwards .8s;
}
@keyframes bar-fill {
  to { width: 78%; }
}
.vc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vc-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-2);
}
.vc-list-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.green  { background: var(--green); box-shadow: 0 0 12px var(--green); }
.dot.teal   { background: var(--teal);  box-shadow: 0 0 12px var(--teal); }
.dot.purple { background: var(--purple); box-shadow: 0 0 12px var(--purple); }

/* ── Section heads ────────────────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: 50px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 10px;
  line-height: 1.15;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Carrossel ────────────────────────────────────────────── */
.carousel-section {
  padding: 100px 0;
}
.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform .7s cubic-bezier(.45, .05, .2, 1);
}
.slide {
  flex: 0 0 100%;
  padding: 56px 60px 64px;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.slide-content {
  width: 100%;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.slide-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  animation: pulse-icon 3s ease-in-out infinite;
}
.slide-icon svg { width: 36px; height: 36px; }
.slide-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  opacity: .35;
  filter: blur(16px);
  z-index: -1;
}
.slide-icon.teal   { background: rgba(45, 212, 191, .15); color: var(--teal); }
.slide-icon.teal::after   { background: var(--teal); }
.slide-icon.blue   { background: rgba(96, 165, 250, .15); color: var(--blue); }
.slide-icon.blue::after   { background: var(--blue); }
.slide-icon.purple { background: rgba(192, 132, 252, .15); color: var(--purple); }
.slide-icon.purple::after { background: var(--purple); }
.slide-icon.green  { background: rgba(52, 211, 153, .15); color: var(--green); }
.slide-icon.green::after  { background: var(--green); }
.slide-icon.amber  { background: rgba(251, 191, 36, .15); color: var(--amber); }
.slide-icon.amber::after  { background: var(--amber); }

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.slide-title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.slide-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 26px;
}
.slide-feat {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
  max-width: 540px;
  margin: 0 auto;
}
.slide-feat li {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface-2);
  border: 1px solid var(--border);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all .25s;
  backdrop-filter: blur(10px);
  z-index: 2;
}
.carousel-arrow:hover {
  background: var(--teal);
  color: #0a1929;
  border-color: var(--teal);
  box-shadow: 0 6px 24px rgba(45, 212, 191, .5);
}
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

/* Dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 0 20px 28px;
}
.dot-btn {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .25s;
}
.dot-btn:hover { background: var(--text-3); }
.dot-btn.active {
  background: var(--teal);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px var(--teal-glow);
}

/* Progress bar */
.carousel-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border-2);
}
.carousel-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-2), var(--teal));
  width: 0;
  transition: width 6s linear;
}

/* ── Módulos grid ─────────────────────────────────────────── */
.modules {
  padding: 100px 0;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.mod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  cursor: default;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.mod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.mod-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 16px 40px rgba(45, 212, 191, .15);
}
.mod-card:hover::before { opacity: 1; }
.mod-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform .25s;
}
.mod-icon svg { width: 26px; height: 26px; }
.mod-card:hover .mod-icon {
  transform: scale(1.1) rotate(-5deg);
}
.mod-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.mod-card p {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ── Why grid ─────────────────────────────────────────────── */
.why {
  padding: 100px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}
.why-num {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
  opacity: .9;
}
.why-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── CTA final ────────────────────────────────────────────── */
.cta-section {
  padding: 80px 0 120px;
}
.cta-card {
  background: linear-gradient(135deg, rgba(45, 212, 191, .08), rgba(20, 184, 166, .05));
  border: 1px solid rgba(45, 212, 191, .25);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(45, 212, 191, .3), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
}
.cta-card p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 32px;
  position: relative;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: rgba(5, 13, 26, .8);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-link {
  margin-bottom: 14px;
}
.footer-tag {
  font-size: 13px;
  color: var(--text-3);
  max-width: 280px;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bot {
  border-top: 1px solid var(--border-2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Animações ────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up .8s cubic-bezier(.4, 0, .2, 1) forwards;
}
.fade-in {
  opacity: 0;
  animation: fade-in 1s ease forwards;
}
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s; }

@keyframes fade-up {
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  to { opacity: 1; }
}

/* Reveal on scroll (adicionado via JS) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.4, 0, .2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsivo ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .hero-logo { height: 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .slide { padding: 40px 30px 50px; }
  .slide-title { font-size: 24px; }
  .slide-feat { grid-template-columns: 1fr; }
  .carousel-arrow.prev { left: 10px; }
  .carousel-arrow.next { right: 10px; }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-2);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
}
@media (max-width: 600px) {
  .logo-img { height: 32px; }
  .hero-logo { height: 56px; margin-bottom: 18px; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .cta-card { padding: 50px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
}
