/* Techna Sans — self-hosted */
@font-face {
  font-family: 'Techna Sans';
  src: url('fonts/TechnaSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette */
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --color-primary: #3b82f6;
  /* Electric Blue */
  --color-secondary: #a855f7;
  /* Violet AI */
  --color-accent: #f59e0b;
  /* Golden Approval */
  --color-green: #10b981;
  /* Success Green */
  --color-orange: #f97316;
  /* Energy Orange */

  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-ai: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-energy: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
  --gradient-dark: linear-gradient(180deg, #0a0e1a 0%, #111827 100%);
  --gradient-glow: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);

  /* Typography */
  --font-sans: 'Techna Sans', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout & Spacing */
  --container-max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  /* previne scroll horizontal em todos os browsers */
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* ── Animated mesh background (sem translateX para evitar overflow) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 60%, rgba(168, 85, 247, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(249, 115, 22, 0.04) 0%, transparent 55%);
  animation: mesh-shift 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes mesh-shift {

  /* Sem translateX — previne overflow horizontal em mobile */
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.03);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button,
input,
textarea {
  font-family: inherit;
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

/* Layout Container */
.container {
  width: 96%;
  max-width: min(1800px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Background Glow Effects */
.glow-bg {
  position: fixed;
  /* fixed em vez de absolute para não causar layout overflow */
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  overflow: hidden;
}

/* Header & Navigation */
header {
  position: fixed;
  top: var(--urgency-h, 32px);
  left: 0;
  width: 100%;
  z-index: 100;
  background: #0a0e1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 0.8rem 0;
  background: #0a0e1a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  transition: var(--transition-normal);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo span {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.logo-slogan {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding-left: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.nav-cta {
  background: var(--gradient-primary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  transition: var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Burger Menu for Mobile */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 5px;
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════
   HERO FULLSCREEN SECTION
   ═══════════════════════════════════════════ */
.hero-fullscreen {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  padding-top: calc(var(--urgency-h, 32px) + var(--header-h, 68px));
  overflow: hidden;
  background-color: var(--bg-primary);
  box-sizing: border-box;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(10, 14, 26, 0.95) 0%,
      rgba(10, 14, 26, 0.8) 45%,
      rgba(10, 14, 26, 0.2) 100%);
  z-index: 1;
}

.hero-fullscreen::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
  backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 80%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 80%);
  z-index: 2;
  pointer-events: none;
}

.hero-content-container {
  position: relative;
  z-index: 3;
}

.hero-text-content {
  max-width: 700px;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.highlight-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline:hover,
.btn-outline:active {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0.98);
}

/* ═══════════════════════════════════════════
   LOGO WALL (SOCIAL PROOF)
   ═══════════════════════════════════════════ */
.logo-wall {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-primary);
}

.logo-wall-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s ease;
}

.logos-container:hover {
  opacity: 0.8;
}

.logos-container i {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.logos-container i:hover {
  color: var(--text-primary);
}

/* Section styling */
section {
  padding: 100px 0;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.badge-section {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 100px;
  margin-bottom: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════
   BENTO GRID CAPABILITIES
   ═══════════════════════════════════════════ */
.bento-section {
  padding: 8rem 0;
  position: relative;
  z-index: 5;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.bento-cell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.bento-cell:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.bento-large {
  grid-column: span 2;
}

.bento-medium {
  grid-column: span 1;
}

.bento-wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
}

.bento-content {
  padding: 2.5rem;
  flex-shrink: 0;
}

.bento-wide .bento-content {
  width: 50%;
}

.bento-cell h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.bento-cell p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.bento-visual {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bento-wide .bento-visual {
  width: 50%;
  border-top: none;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  height: 100%;
}

.bento-visual img {
  width: 90%;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
  transform: translateY(10px);
}

.bento-wide .bento-visual img {
  transform: translateX(10px) translateY(0);
  border-radius: 12px 0 0 12px;
}

.bento-cell:hover .bento-visual img {
  transform: translateY(0) scale(1.02);
}

.bento-wide:hover .bento-visual img {
  transform: translateX(0) scale(1.02);
}

/* ═══════════════════════════════════════════
   LEARNING TRACKS
   ═══════════════════════════════════════════ */
.tracks-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 14, 26, 0.6) 100%);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}

.track-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.track-card:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
}

.track-icon {
  font-size: 2rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.track-card:hover .track-icon {
  color: var(--color-primary);
}

.track-card span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVIDADE — SISTEMA COMPLETO
   Breakpoints:
   • ≤ 1024px  — Tablet / iPad / Notebook pequeno
   • ≤ 768px   — Mobile grande (iPhone Plus, Android)
   • ≤ 480px   — Mobile pequeno (iPhone SE, Android entry)
   ═══════════════════════════════════════════════════════ */

/* ── CSS Custom Properties para altura dos fixos ── */
:root {
  --urgency-h: 32px;
  --header-h: 68px;
  --offset-top: calc(var(--urgency-h) + var(--header-h));
  /* 100px */
}

/* ══════════════════════════════════
   BREAKPOINT 1: ≤ 1024px
   Hamburguer + ajustes de tablet
   ══════════════════════════════════ */
@media (max-width: 1024px) {

  /* Esconde slogan ao lado do logo */
  .logo-slogan {
    display: none;
  }

  /* Mostra o botão hamburguer */
  .burger {
    display: block;
    cursor: pointer;
    z-index: 101;
  }

  /* Animação X do burger */
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger.toggle .line2 {
    opacity: 0;
    transform: scaleX(0);
  }

  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Menu: drawer que desce da direita */
  .nav-menu {
    position: fixed;
    top: var(--offset-top);
    right: -100%;
    width: min(320px, 85vw);
    height: calc(100dvh - var(--offset-top));
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    background: rgba(8, 12, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 98;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Backdrop escuro quando menu aberto */
  .nav-menu.active::before {
    content: '';
    position: fixed;
    inset: 0;
    right: min(320px, 85vw);
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link:hover {
    background: rgba(59, 130, 246, 0.08);
    padding-left: 1.3rem;
  }

  .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem 1rem;
    margin-top: 0.5rem;
    font-size: 1rem;
  }

  /* Bento: colapsa para 1 coluna */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-medium,
  .bento-wide {
    grid-column: span 1;
  }

  .bento-wide {
    flex-direction: column;
  }

  .bento-wide .bento-content,
  .bento-wide .bento-visual {
    width: 100%;
  }

  .bento-wide .bento-visual {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    height: 280px;
  }

  .bento-wide .bento-visual img {
    transform: translateY(10px);
    border-radius: 12px 12px 0 0;
  }

  /* Footer: 2 colunas */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* ══════════════════════════════════
   BREAKPOINT 2: ≤ 768px
   Mobile grande
   ══════════════════════════════════ */
@media (max-width: 768px) {

  :root {
    --urgency-h: 40px;
    /* urgency bar pode quebrar linha no mobile */
    --header-h: 60px;
    --offset-top: calc(var(--urgency-h) + var(--header-h));
    /* 100px */
  }

  html {
    font-size: 15px;
  }

  /* Urgency bar: quebra linha se precisar, sem cortar texto */
  .urgency-bar {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    white-space: normal;
    line-height: 1.5;
  }

  /* Header */
  header {
    top: var(--urgency-h);
  }

  .header-container {
    padding: 0.9rem 0;
  }

  /* Menu drawer: ocupa mais largura no mobile */
  .nav-menu {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    align-items: center;
    padding: 2rem 1rem;
    gap: 0.3rem;
  }

  .nav-link {
    text-align: center;
    font-size: 1.2rem;
    padding: 1rem;
  }

  .nav-link:hover {
    padding-left: 1rem;
  }

  /* Hero: texto sobre imagem, centralizado, ancorado embaixo */
  .hero-fullscreen {
    align-items: flex-end;
    padding-top: var(--offset-top);
    padding-bottom: 4rem;
    min-height: 100svh;
  }

  .hero-gradient-overlay {
    background: linear-gradient(180deg,
        rgba(10, 14, 26, 0.4) 0%,
        rgba(10, 14, 26, 0.88) 55%,
        rgba(10, 14, 26, 1) 100%);
  }

  .hero-content-container {
    text-align: center;
  }

  .hero-text-content {
    max-width: 100%;
  }

  .hero-headline {
    font-size: clamp(1.9rem, 7.5vw, 2.8rem);
    margin-bottom: 0.9rem;
    letter-spacing: -0.01em;
  }

  .hero-subtext {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 1.8rem;
  }

  .hero-ctas {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Sections */
  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Bento */
  .bento-section {
    padding: 3.5rem 0;
  }

  .bento-content {
    padding: 1.4rem;
  }

  .bento-cell h3 {
    font-size: 1.25rem;
  }

  .bento-cell p {
    font-size: 0.9rem;
  }

  .bento-wide .bento-visual {
    height: 210px;
  }

  /* Tracks: 2 colunas compactas */
  .tracks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .track-card {
    padding: 1.4rem 0.8rem;
    gap: 0.7rem;
  }

  .track-icon {
    font-size: 1.5rem;
  }

  .track-card span {
    font-size: 0.82rem;
  }

  /* CTA */
  .cta-box {
    padding: 2.5rem 1rem;
  }

  .cta-box h2 {
    font-size: 1.7rem;
  }

  .cta-box p {
    font-size: 0.95rem;
  }

  .cta-final .cta-box {
    padding: 3rem 1rem 2rem;
  }

  .cta-footer-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin-top: 2rem;
  }

  /* FAQ */
  .faq-question {
    padding: 1.2rem 1rem;
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ══════════════════════════════════
   BREAKPOINT 3: ≤ 480px
   Mobile pequeno / iPhone SE
   ══════════════════════════════════ */
@media (max-width: 480px) {

  html {
    font-size: 14px;
  }

  .container {
    width: 94%;
  }

  .hero-headline {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .hero-subtext {
    font-size: 0.9rem;
  }

  .hero-ctas .btn {
    max-width: 100%;
    padding: 0.9rem 1.2rem;
  }

  .bento-content {
    padding: 1.1rem;
  }

  .bento-cell h3 {
    font-size: 1.1rem;
  }

  .tracks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .track-card {
    padding: 1.2rem 0.6rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 1rem 0.8rem;
  }
}

/* Call to Action & Newsletter */
.cta-section {
  padding: 0;
  margin: 0;
}

/* ── Full-width CTA final ── */
.cta-final {
  background: none;
  border-top: none;
}

.cta-final .cta-box {
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 2rem 3rem;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(168, 85, 247, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 55%),
    linear-gradient(180deg, #0d1220 0%, #0a0e1a 100%);
  width: 100%;
  max-width: 100%;
}

.cta-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ── CTA embedded footer bar ── */
.cta-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cta-social {
  display: flex;
  gap: 1rem;
}

.cta-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.cta-social a:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--color-primary);
}


.newsletter-form {
  display: flex;
  max-width: 550px;
  margin: 0 auto;
  gap: 0.5rem;
  background: rgba(10, 14, 26, 0.8);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form button {
  background: var(--gradient-primary);
  color: var(--text-primary);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.01);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
  padding-bottom: 1.5rem;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-normal);
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer styling */
footer {
  background: #060911;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 60px;
}

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--color-primary);
  color: var(--text-primary);
  transform: translateY(-3px);
}

.footer-nav h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 0.8rem;
}

.footer-nav ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-nav ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Toast Notification styling */
.toast {
  position: fixed;
  bottom: 2rem;
  right: -350px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.show {
  right: 2rem;
}

.toast-success-icon {
  color: #10b981;
  font-size: 1.5rem;
}

.toast-content h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.toast-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}



/* ═══════════════════════════════════════════════════
   ANIMATIONS & MICRO-INTERACTIONS
   ═══════════════════════════════════════════════════ */

/* ── Scroll Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="left"].revealed,
[data-reveal="right"].revealed {
  transform: translateX(0);
}

[data-reveal][data-delay="100"] {
  transition-delay: 0.1s;
}

[data-reveal][data-delay="200"] {
  transition-delay: 0.2s;
}

[data-reveal][data-delay="300"] {
  transition-delay: 0.3s;
}

[data-reveal][data-delay="400"] {
  transition-delay: 0.4s;
}

[data-reveal][data-delay="500"] {
  transition-delay: 0.5s;
}

/* ── Pulsing CTA ── */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-pulse {
  animation: btn-glow-pulse 2.5s ease-in-out infinite;
}

@keyframes btn-glow-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  }

  50% {
    box-shadow: 0 4px 35px rgba(59, 130, 246, 0.75), 0 0 60px rgba(139, 92, 246, 0.3);
  }
}

/* ── Nav link underline animation ── */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ── Hero stats energizados ── */
.stat-item h3 {
  font-size: 2rem;
  background: var(--gradient-energy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.stat-item:hover h3 {
  transform: scale(1.1);
}

/* ── Feature cards: glow on hover ── */
.feature-card:hover {
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-card.ai-card:hover {
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(168, 85, 247, 0.25),
    0 0 30px rgba(168, 85, 247, 0.1);
}

.feature-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* ── Showcase images ── */
.showcase-image-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.15);
}

/* ── FAQ item: colored border on active ── */
.faq-item.active {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.08);
}

/* ── Badge section: shimmer ── */
.badge-section {
  position: relative;
  overflow: hidden;
}

.badge-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: badge-shimmer 3s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0% {
    left: -100%;
  }

  60% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

/* ── Highlight text: animated gradient ── */
.highlight-text {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s linear infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

/* ── CTA section: pulsing glow border ── */
.cta-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(168, 85, 247, 0.4), rgba(249, 115, 22, 0.3));
  z-index: -1;
  opacity: 0.5;
  animation: cta-border-pulse 4s ease-in-out infinite alternate;
}

@keyframes cta-border-pulse {
  0% {
    opacity: 0.3;
    filter: blur(2px);
  }

  100% {
    opacity: 0.7;
    filter: blur(0px);
  }
}

/* ── Urgency bar (topo fixo) ── */
.urgency-bar {
  background: #1a0f00;
  border-bottom: 1px solid rgba(249, 115, 22, 0.35);
  padding: 0.45rem 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fbbf24;
  letter-spacing: 0.03em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 102;
}

.urgency-bar i {
  margin: 0 0.4rem;
}

/* ═══════════════════════════════════════════
   URGENCY SECTION — Seção de Urgência
   ═══════════════════════════════════════════ */
.urgency-section {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  /* Removemos align-items: center para não cortar o topo em telas menores */
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(239, 68, 68, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(249, 115, 22, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0a0e1a 0%, #0f0a0a 50%, #0a0e1a 100%);
}

/* Linha decorativa no topo */
.urgency-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(239, 68, 68, 0.8) 30%,
      rgba(249, 115, 22, 1) 50%,
      rgba(239, 68, 68, 0.8) 70%,
      transparent 100%);
}

.urgency-inner {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--offset-top, 100px) + 2rem) 2rem 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: 2rem;
}

/* ── Chip de alerta ── */
.urgency-alert-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f87171;
}

.urgency-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: blink-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* ── Headline ── */
.urgency-headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0;
}

.urgency-highlight {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Barra de estatísticas ── */
.urgency-stat-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  max-width: 640px;
}

.urgency-stat {
  flex: 1;
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.urgency-stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.urgency-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.urgency-stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

/* ── Corpo de texto ── */
.urgency-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
}

.urgency-body p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.urgency-body strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ── Botão de urgência ── */
.btn-urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(239, 68, 68, 0.4), 0 0 0 0 rgba(239, 68, 68, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: urgency-btn-pulse 2.5s ease-in-out infinite;
  margin-top: 0.5rem;
}

.btn-urgency:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.55);
}

.btn-urgency i {
  transition: transform 0.2s ease;
}

.btn-urgency:hover i {
  transform: translateX(4px);
}

@keyframes urgency-btn-pulse {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(239, 68, 68, 0.4);
  }

  50% {
    box-shadow: 0 4px 40px rgba(239, 68, 68, 0.7), 0 0 60px rgba(249, 115, 22, 0.2);
  }
}

/* ── Disclaimer ── */
.urgency-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.urgency-disclaimer i {
  color: var(--color-green);
  font-size: 0.78rem;
}

/* ── Responsive: Urgency Section ── */
@media (max-width: 768px) {
  .urgency-inner {
    padding: 4rem 1.2rem;
    gap: 1.5rem;
  }

  .urgency-headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .urgency-stat-bar {
    flex-direction: column;
    max-width: 100%;
  }

  .urgency-stat {
    width: 100%;
    padding: 1rem;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .urgency-stat:last-child {
    border-bottom: none;
  }

  .urgency-stat-divider {
    display: none;
  }

  .urgency-stat-number {
    font-size: 1.4rem;
  }

  .urgency-body p {
    font-size: 1rem;
  }

  .btn-urgency {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .urgency-inner {
    padding: 3rem 1rem;
  }

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

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  animation: fade-in-up-slow 1s 1.5s both;
}

.scroll-indicator .mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-indicator .wheel {
  width: 3px;
  height: 7px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@keyframes fade-in-up-slow {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── Hero entrance ── */
.hero-content {
  animation: hero-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Layout Hero Dividido (Urgência + Cadastro) ── */
.hero-split-section {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Override urgency-section flex-direction for the container */
  flex-direction: row !important; 
  padding: 4rem 2rem !important;
}

.hero-split-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-split-left.urgency-inner {
  /* Override the default center alignment of urgency-inner */
  align-items: flex-start !important;
  text-align: left !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-split-left .urgency-stat-bar {
  align-self: flex-start !important;
  justify-content: flex-start !important;
}

.hero-split-right {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-split-section {
    padding-top: 8rem !important;
  }

  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-split-left.urgency-inner {
    align-items: center !important;
    text-align: center !important;
  }

  .hero-split-left .urgency-stat-bar {
    align-self: center !important;
    justify-content: center !important;
  }
}