/* ============================================================
   TM INFINITY - CSS Global Premium v2
   Design: Dark Mode | Red & Black | SaaS Modern Refined
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================================
   VARIÁVEIS CSS
   ============================================================ */
:root {
  --black:       #080808;
  --black-2:     #0e0e0e;
  --dark:        #141414;
  --dark-2:      #1c1c1c;
  --dark-3:      #242424;
  --dark-4:      #2c2c2c;
  --red:         #FF1A1A;
  --red-dark:    #B30000;
  --red-bright:  #FF4444;
  --red-muted:   #CC0000;
  --red-glow:    rgba(255, 26, 26, 0.35);
  --red-glow-sm: rgba(255, 26, 26, 0.12);
  --red-glow-xs: rgba(255, 26, 26, 0.06);
  --white:       #FFFFFF;
  --white-90:    rgba(255,255,255,0.90);
  --white-70:    rgba(255,255,255,0.70);
  --white-45:    rgba(255,255,255,0.45);
  --white-25:    rgba(255,255,255,0.25);
  --white-10:    rgba(255,255,255,0.10);
  --white-05:    rgba(255,255,255,0.05);
  --gray:        #777777;
  --gray-light:  #BBBBBB;
  --border:      rgba(255, 255, 255, 0.07);
  --border-med:  rgba(255, 255, 255, 0.12);
  --border-red:  rgba(255, 26, 26, 0.30);

  --font-main:   'Inter', sans-serif;
  --font-title:  'Space Grotesk', sans-serif;

  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;

  --transition:     all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-xs:  0 1px 4px rgba(0,0,0,0.3);
  --shadow:     0 4px 20px rgba(0,0,0,0.45);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.55);
  --shadow-red: 0 0 28px rgba(255,26,26,0.20);
  --shadow-red-lg: 0 0 50px rgba(255,26,26,0.30);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-bright); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.01em; }
h4 { font-size: 1.2rem; letter-spacing: -0.005em; }

p { color: var(--gray-light); line-height: 1.8; }

.text-red     { color: var(--red) !important; }
.text-white   { color: var(--white) !important; }
.text-gray    { color: var(--gray) !important; }
.text-center  { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--red) 0%, #ff6b6b 60%, #ffaaaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.section-header { text-align: center; margin-bottom: 72px; }
.section-header .badge-label {
  display: inline-block;
  background: var(--red-glow-xs);
  border: 1px solid var(--border-red);
  color: var(--red);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 580px; margin: 0 auto; color: var(--gray); font-size: 1.05rem; }

/* Grid */
.grid   { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s ease;
  border-radius: inherit;
}
.btn:hover::before { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: linear-gradient(135deg, var(--red-muted) 0%, var(--red) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px var(--red-glow-sm), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
  box-shadow: 0 8px 28px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white-90);
  border: 1px solid var(--border-med);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red-bright);
  box-shadow: 0 0 0 3px var(--red-glow-xs);
}

.btn-ghost {
  background: var(--white-05);
  color: var(--white-70);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--white-10);
  color: var(--white);
  border-color: var(--border-med);
}

.btn-sm    { padding: 8px 16px; font-size: 0.82rem; border-radius: var(--radius-sm); gap: 6px; }
.btn-lg    { padding: 15px 30px; font-size: 0.98rem; }
.btn-block { width: 100%; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(255,26,26,0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), var(--shadow-red);
  transform: translateY(-3px);
}

.card-header { margin-bottom: 20px; }
.card-title  { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.card-footer { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 11px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.badge-success   { background: rgba(0,200,100,0.12); color: #22d979; border: 1px solid rgba(0,200,100,0.25); }
.badge-danger    { background: rgba(255,26,26,0.12); color: #ff5555; border: 1px solid rgba(255,26,26,0.25); }
.badge-warning   { background: rgba(255,170,0,0.12); color: #ffbb33; border: 1px solid rgba(255,170,0,0.25); }
.badge-info      { background: rgba(0,150,255,0.12); color: #33aaff; border: 1px solid rgba(0,150,255,0.25); }
.badge-primary   { background: var(--red-glow-sm); color: var(--red-bright); border: 1px solid var(--border-red); }
.badge-secondary { background: var(--white-05); color: var(--gray); border: 1px solid var(--border); }

/* ============================================================
   FORMULÁRIOS
   ============================================================ */
.form-group  { margin-bottom: 20px; }
.form-label  {
  display: block;
  margin-bottom: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-70);
  letter-spacing: 0.01em;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--red);
  background: var(--dark-3);
  box-shadow: 0 0 0 3px var(--red-glow-xs), inset 0 1px 3px rgba(0,0,0,0.2);
}
.form-control:hover:not(:focus) { border-color: var(--border-med); }
.form-control::placeholder { color: var(--white-25); }
.form-control option { background: var(--dark-2); }

textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control   { cursor: pointer; }

.form-error   { color: #ff5555; font-size: 0.8rem; margin-top: 5px; display: flex; align-items: center; gap: 4px; }
.form-success { color: #22d979; font-size: 0.8rem; margin-top: 5px; display: flex; align-items: center; gap: 4px; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 13px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.alert-success { background: rgba(0,200,100,0.08); border: 1px solid rgba(0,200,100,0.25); color: #22d979; }
.alert-danger  { background: rgba(255,26,26,0.08); border: 1px solid rgba(255,26,26,0.25); color: #ff5555; }
.alert-warning { background: rgba(255,170,0,0.08); border: 1px solid rgba(255,170,0,0.25); color: #ffbb33; }
.alert-info    { background: rgba(0,150,255,0.08); border: 1px solid rgba(0,150,255,0.25); color: #33aaff; }

/* ============================================================
   TABELAS
   ============================================================ */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; }
.table th {
  background: rgba(255,255,255,0.025);
  padding: 13px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--white-45);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--white-70);
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 0.15s ease; }
.table tbody tr:hover { background: rgba(255,255,255,0.025); }

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--black);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; }

.loading-logo {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}
.loading-logo span { color: var(--red); }

.loading-bar {
  width: 180px;
  height: 2px;
  background: var(--dark-4);
  border-radius: 2px;
  overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-bright));
  border-radius: 2px;
  box-shadow: 0 0 12px var(--red-glow);
  animation: loadingFill 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loadingFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

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

.navbar-logo {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.navbar-logo span { color: var(--red); }

.navbar-menu { display: flex; align-items: center; gap: 28px; }
.navbar-menu a {
  color: var(--white-70);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transition: width 0.25s ease;
  border-radius: 1px;
}
.navbar-menu a:hover { color: var(--white); }
.navbar-menu a:hover::after { width: 100%; }

.navbar-actions { display: flex; align-items: center; gap: 10px; }

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  position: relative;
  z-index: 1001;
}
.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 110px 0 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% -5%, rgba(255,26,26,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 35% 35% at 90% 85%, rgba(179,0,0,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 25% 30% at 5% 75%, rgba(255,26,26,0.05) 0%, transparent 55%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,26,26,0.07);
  border: 1px solid rgba(255,26,26,0.22);
  color: var(--red-bright);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero h1 {
  margin-bottom: 22px;
  animation: fadeInUp 0.6s ease 0.1s both;
  line-height: 1.08;
}

.hero p {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 40px;
  color: var(--white-45);
  line-height: 1.78;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat-number {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  letter-spacing: -0.02em;
}
.hero-stat-number span { color: var(--red); }
.hero-stat-label { font-size: 0.82rem; color: var(--white-25); margin-top: 2px; }

/* ============================================================
   PARTICLES (canvas)
   ============================================================ */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.service-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  border-color: var(--border-red);
  transform: translateY(-6px);
  box-shadow: var(--shadow-red), 0 16px 48px rgba(0,0,0,0.4);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: rgba(255,26,26,0.4);
  box-shadow: 0 0 28px rgba(255,26,26,0.18);
}
.service-card.featured::after {
  content: '★ DESTAQUE';
  position: absolute;
  top: -1px; right: 20px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #fff;
  padding: 4px 14px;
  border-radius: 0 0 8px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--red-glow-xs);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.35rem;
  color: var(--red);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(255,26,26,0.15);
  transform: scale(1.06);
  box-shadow: 0 0 16px var(--red-glow-sm);
}

.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; font-weight: 600; }
.service-card p  { font-size: 0.875rem; color: var(--gray); line-height: 1.65; }

/* ============================================================
   PLANOS
   ============================================================ */
.plan-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: var(--transition);
  position: relative;
}
.plan-card.featured {
  border-color: rgba(255,26,26,0.45);
  box-shadow: var(--shadow-red-lg);
  background: linear-gradient(180deg, rgba(255,26,26,0.04) 0%, var(--dark) 60%);
}
.plan-card.featured::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: 4px 22px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 14px var(--red-glow-sm);
}
.plan-price {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin: 16px 0;
  letter-spacing: -0.02em;
}
.plan-price small { font-size: 0.95rem; color: var(--gray); font-weight: 400; }
.plan-features { margin: 24px 0; }
.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: var(--red-glow-xs);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonial-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--border-red);
  box-shadow: var(--shadow-red), 0 12px 40px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}

.testimonial-stars { color: var(--red); margin-bottom: 16px; font-size: 0.95rem; letter-spacing: 1px; }
.testimonial-text  { font-style: italic; color: var(--gray-light); margin-bottom: 24px; line-height: 1.72; font-size: 0.925rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--red-glow-sm);
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.775rem; color: var(--gray); margin-top: 1px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item.active { border-color: rgba(255,26,26,0.30); }

.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--white-90);
  background: var(--dark);
  transition: background 0.2s ease;
  line-height: 1.5;
  user-select: none;
}
.faq-question:hover { background: var(--dark-2); }
.faq-question .icon {
  width: 24px; height: 24px;
  min-width: 24px;
  background: var(--red-glow-xs);
  border: 1px solid var(--border-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); background: rgba(255,26,26,0.15); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--dark);
}
.faq-item.active .faq-answer { max-height: 320px; }
.faq-answer-inner { padding: 0 22px 20px; color: var(--gray); font-size: 0.875rem; line-height: 1.75; border-top: 1px solid var(--border); padding-top: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
  letter-spacing: -0.02em;
}
.footer-brand .logo span { color: var(--red); }
.footer-brand p { font-size: 0.875rem; color: var(--gray); margin-bottom: 24px; line-height: 1.7; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-45);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--red);
  color: var(--red-bright);
  background: var(--red-glow-xs);
  box-shadow: 0 0 12px var(--red-glow-sm);
  transform: translateY(-2px);
}

.footer-col h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 18px; color: var(--white-90); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: var(--gray); font-size: 0.85rem; transition: var(--transition); display: inline-block; }
.footer-col ul li a:hover { color: var(--red-bright); padding-left: 4px; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p    { font-size: 0.82rem; color: var(--gray); }
.footer-bottom a    { color: var(--gray); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--red-bright); }

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, #1ebe5d, #25D366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: var(--transition);
  animation: floatAnim 3.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 26px; height: 26px; fill: white; }

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--red); }
  50%       { opacity: 0.5; box-shadow: 0 0 14px var(--red); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px var(--red-glow); }
  50%       { box-shadow: 0 0 44px rgba(255,26,26,0.5); }
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position: 200% 0; }
}

.animate-fade-up { animation: fadeInUp 0.6s ease both; }
.animate-fade-in { animation: fadeIn 0.6s ease both; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section     { padding: 60px 0; }
  .section-header { margin-bottom: 44px; }
  h1 { font-size: clamp(2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-actions { flex-direction: row; gap: 10px; flex-wrap: nowrap; }
  .hero-actions .btn-lg { padding: 13px 16px; font-size: 0.85rem; flex: 1; min-width: 0; justify-content: center; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .navbar-menu { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6,6,6,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 1000;
  }
  .navbar-menu.open a { font-size: 1.3rem; font-weight: 600; color: var(--gray-light); }
  .navbar-menu.open a:hover { color: var(--red-bright); }
  .navbar-actions-mobile { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; width: 200px; }

  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .grid-4    { grid-template-columns: 1fr; }
  .plan-card { padding: 28px 20px; }
  .container { padding: 0 16px; }
}
