/* ==========================================================================
   T&M AGENCY - ULTRA MODERN MOTION DESIGN SYSTEM (2026)
   Cores: Branco Puro, Azuis Elétricos/Royal, Glassmorphism, 3D Tilt & Scroll Motion
   ========================================================================== */

:root {
  --primary: #1a73e8;
  --primary-hover: #155ebd;
  --primary-dark: #0d47a1;
  --primary-light: #e8f0fe;
  --accent-cyan: #00d2ff;
  --accent-blue: #3b82f6;
  --accent-sky: #60a5fa;
  --accent-indigo: #4f46e5;

  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-trans: rgba(255, 255, 255, 0.85);
  --bg-dark: #070b14;
  --bg-dark-card: #0f172a;

  --text-main: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  --border-light: rgba(226, 232, 240, 0.9);
  --border-blue: rgba(59, 130, 246, 0.25);

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px -6px rgba(26, 115, 232, 0.1), 0 8px 14px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 50px -12px rgba(26, 115, 232, 0.22);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.4);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset Global */
*, *::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(--bg-page);
  background-image: 
    radial-gradient(at 0% 0%, rgba(26, 115, 232, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 30%, rgba(0, 210, 255, 0.06) 0px, transparent 50%),
    radial-gradient(at 0% 70%, rgba(59, 130, 246, 0.05) 0px, transparent 50%);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.55s var(--ease-out-expo) forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Barra de Progresso de Rolagem no Topo */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #1a73e8 0%, #00d2ff 50%, #3b82f6 100%);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.8);
  z-index: 9999;
  transition: width 0.08s linear;
}

/* Malha Tecnológica Sutil de Fundo */
.bg-tech-grid {
  position: fixed;
  inset: 0;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(26, 115, 232, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 115, 232, 0.03) 1px, transparent 1px);
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   SISTEMA DE ANIMAÇÕES MOTION ON SCROLL (DESCENDO A PÁGINA)
   ========================================================================== */
[data-motion] {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition: 
    opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo),
    filter 0.85s var(--ease-out-expo);
  filter: blur(4px);
}

[data-motion="fade-up"] {
  transform: translateY(55px) scale(0.98);
}

[data-motion="fade-down"] {
  transform: translateY(-45px);
}

[data-motion="fade-left"] {
  transform: translateX(-60px);
}

[data-motion="fade-right"] {
  transform: translateX(60px);
}

[data-motion="zoom-in"] {
  transform: scale(0.86);
}

[data-motion="flip-up"] {
  transform: perspective(1000px) rotateX(22deg) translateY(45px);
}

[data-motion].in-view {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translate(0, 0) scale(1);
  filter: blur(0px);
}

/* Delays escalonados para efeito cascata */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* Indicador de Rolagem Animado (Mouse Scroll Down) */
.scroll-down-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}

.scroll-down-indicator:hover {
  opacity: 1;
  color: var(--primary);
  transform: translateY(3px);
}

.mouse-icon {
  width: 26px;
  height: 42px;
  border: 2px solid var(--primary);
  border-radius: 16px;
  position: relative;
  display: flex;
  justify-content: center;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 4px;
  margin-top: 7px;
  animation: scrollWheel 1.8s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   TIPOGRAFIA & TÍTULOS
   ========================================================================== */
h1, h2, h3, h4, h5 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.12) 0%, rgba(0, 210, 255, 0.12) 100%);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  border: 1px solid rgba(26, 115, 232, 0.25);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.08);
}

.section-title {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  margin-bottom: 16px;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #1a73e8 0%, #00d2ff 50%, #2563eb 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 5s linear infinite;
}

@keyframes shineText {
  to { background-position: 200% center; }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BOTÕES COM EFEITO CONIC-GRADIENT GIRATÓRIO (Assinatura T&M)
   ========================================================================== */
.tm-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 34px;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 10px 28px rgba(26, 115, 232, 0.3);
  transition: var(--ease-spring) 0.4s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.tm-btn span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.tm-btn:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

.tm-btn::after {
  content: '';
  position: absolute;
  inset: 2.5px;
  background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
  border-radius: var(--radius-pill);
  z-index: -1;
  transition: background 0.3s ease;
}

.tm-btn::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: conic-gradient(from 0deg, transparent 55%, #00d2ff 80%, #ffffff 100%);
  animation: btnLight 2.8s linear infinite;
  z-index: -2;
}

@keyframes btnLight {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tm-btn:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 18px 38px rgba(26, 115, 232, 0.45);
}

.tm-btn:hover::after {
  background: linear-gradient(135deg, #2563eb 0%, #1a73e8 100%);
}

.tm-btn:active {
  transform: translateY(1px) scale(0.98);
}

/* Botão Secundário / Outline */
.tm-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(26, 115, 232, 0.35);
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.tm-btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(26, 115, 232, 0.25);
}

/* ==========================================================================
   CARDS COM EFEITO DE LUZ GIRATÓRIA, 3D TILT & VIDRO (Glassmorphism)
   ========================================================================== */
.tm-glow-card {
  position: relative;
  border-radius: 28px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo);
  background: transparent;
  transform-style: preserve-3d;
}

.tm-glow-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(242, 248, 255, 0.93) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 26px;
  z-index: -1;
}

.tm-glow-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 62%, #00d2ff 82%, #1a73e8 95%, #ffffff 100%);
  animation: cardLight 5.5s linear infinite;
  z-index: -2;
  opacity: 0.32;
  transition: opacity 0.35s ease;
}

@keyframes cardLight {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tm-glow-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 26px 55px rgba(26, 115, 232, 0.22);
}

.tm-glow-card:hover::before {
  opacity: 0.95;
  animation-duration: 2.2s;
}

/* ==========================================================================
   NAVBAR (CABEÇALHO) COM INDICADOR ATIVO E TRANSIÇÕES
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  transition: all 0.35s var(--ease-out-expo);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-link img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s var(--ease-spring);
}

.brand-logo-link:hover img {
  transform: scale(1.06);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text-body);
  transition: all 0.25s ease;
  position: relative;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(26, 115, 232, 0.07);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(26, 115, 232, 0.11);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-btn-header {
  padding: 11px 24px;
  font-size: 0.9rem;
}

/* Menu Mobile Hamburguer */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-toggle span + span {
  margin-top: 5px;
}

/* ==========================================================================
   HERO SECTION COM PARALLAX & FLOATING ORBS
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 155px 0 85px 0;
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(0, 210, 255, 0.08) 45%, transparent 70%);
  filter: blur(65px);
  z-index: 0;
  pointer-events: none;
  animation: pulseBlob 8s ease-in-out infinite alternate;
}

@keyframes pulseBlob {
  0% { transform: translateX(-50%) scale(0.95); }
  100% { transform: translateX(-50%) scale(1.1); }
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite alternate;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: rgba(26, 115, 232, 0.12);
  top: 18%;
  left: 8%;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 210, 255, 0.12);
  bottom: 10%;
  right: 8%;
  animation-delay: -4s;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) translateX(0px); }
  100% { transform: translateY(-35px) translateX(25px); }
}

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

.hero-title {
  font-size: clamp(2.5rem, 5.8vw, 4.3rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--primary);
  font-weight: 300;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: clamp(1.06rem, 2vw, 1.24rem);
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 42px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 48px auto;
}

.hero-cta-buttons .tm-btn {
  width: 100%;
}

.hero-features-ribbon {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-body);
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.ribbon-item svg {
  width: 18px;
  height: 18px;
  color: #10b981;
}

/* ==========================================================================
   METRICS SECTION (NÚMEROS DE IMPACTO)
   ========================================================================== */
.metrics-section {
  padding: 60px 0;
  position: relative;
}

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

.metric-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 36px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out-expo);
}

.metric-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-lg);
}

.metric-card:hover::before {
  transform: scaleX(1);
}

.metric-number {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, #1a73e8 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.05;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVIÇOS EM DESTAQUE (CARD GRID)
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

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

.service-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.45s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.service-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  transition: transform 0.4s var(--ease-spring);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary);
}

.service-icon-wrapper svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.service-card:hover .service-icon-wrapper svg {
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* ==========================================================================
   VANTAGENS EXCLUSIVAS (CARDS COM GLOW ANIMADO)
   ========================================================================== */
.advantages-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  position: relative;
}

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

.advantage-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.advantage-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(26, 115, 232, 0.08);
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon svg {
  width: 100%;
  height: 100%;
}

.advantage-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.22;
}

.advantage-text {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.advantage-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.25s ease;
}

.advantage-link:hover {
  gap: 12px;
}

/* ==========================================================================
   CALCULADORA DE RENDIMENTOS DE LIVE (200 DIAMANTES = $ 1,00 USD)
   ========================================================================== */
.calculator-section {
  padding: 90px 0;
  background: #ffffff;
}

.calculator-box {
  background: linear-gradient(135deg, #070d1f 0%, #112240 50%, #1a365d 100%);
  border-radius: 34px;
  padding: 56px 46px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  box-shadow: 0 30px 70px rgba(7, 13, 31, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.calculator-box::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.calc-info h2 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  margin-bottom: 18px;
}

.calc-info p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  margin-bottom: 24px;
}

.calc-formula-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 210, 255, 0.14);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: #00d2ff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.calc-interactive {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  padding: 36px;
  backdrop-filter: blur(14px);
}

.calc-range-wrapper {
  margin-bottom: 26px;
}

.calc-range-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 1rem;
}

.calc-slider {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
  accent-color: var(--accent-cyan);
}

.calc-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.calc-preset-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.calc-preset-btn:hover,
.calc-preset-btn.active {
  background: var(--accent-cyan);
  color: #070d1f;
  border-color: var(--accent-cyan);
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.calc-result-card {
  background: rgba(7, 13, 31, 0.55);
  padding: 20px 16px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.calc-result-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 210, 255, 0.4);
}

.calc-result-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.calc-result-val {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-cyan);
}

/* ==========================================================================
   ACADEMY / CURSOS & MATERIAIS
   ========================================================================== */
.academy-section {
  padding: 100px 0;
  background: var(--bg-page);
}

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

.academy-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.45s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.academy-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
}

.academy-badge-tag {
  display: inline-block;
  padding: 5px 14px;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  width: fit-content;
}

.academy-card-body {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.academy-card h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}

.academy-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 26px;
  flex-grow: 1;
}

/* ==========================================================================
   CENTRAL KWAI DOCUMENTOS
   ========================================================================== */
.docs-section {
  padding: 100px 0;
  background: #ffffff;
}

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

.doc-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.doc-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.doc-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease-spring);
}

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

.doc-icon svg {
  width: 28px;
  height: 28px;
}

.doc-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.doc-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-grow: 1;
}

.doc-btn {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(26, 115, 232, 0.08);
  transition: all 0.25s ease;
}

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

/* ==========================================================================
   EVENTOS BANNERS & CARDS
   ========================================================================== */
.event-banner-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.45s var(--ease-out-expo);
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
}

.event-banner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
}

.event-banner-img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.event-banner-body {
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: var(--bg-page);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-icon-arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.35s var(--ease-out-expo);
  color: var(--primary);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 26px;
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

/* ==========================================================================
   CTA BANNER (CHAMADA FINAL)
   ========================================================================== */
.final-cta-section {
  padding: 105px 0;
  background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 60%, #07193a 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-box {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.final-cta-title {
  color: #ffffff;
  font-size: clamp(2.1rem, 4.8vw, 3.1rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.final-cta-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 38px;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-white-cta {
  background: #ffffff;
  color: #1a73e8 !important;
  font-weight: 800;
  padding: 18px 38px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.4s var(--ease-spring);
}

.btn-white-cta:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  background: #f8fafc;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  font-family: var(--font-main);
  background-color: #070b14;
  color: #ffffff;
  padding: 85px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-logo {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
}

.brand-description {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 320px;
}

.footer-section h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.footer-section ul li {
  margin-bottom: 14px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link svg {
  width: 18px;
  height: 18px;
  color: #3b82f6;
  flex-shrink: 0;
}

.footer-link:hover {
  color: #00d2ff;
  transform: translateX(6px);
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.social-btn {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-spring);
  color: #ffffff;
}

.social-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-btn.kwai-icon img {
  width: 26px;
  height: auto;
}

.social-btn:hover {
  background: rgba(26, 115, 232, 0.35);
  border-color: var(--accent-cyan);
  transform: translateY(-6px) rotate(8deg);
  box-shadow: 0 10px 22px rgba(0, 210, 255, 0.25);
}

.footer-bottom {
  max-width: 1220px;
  margin: 60px auto 0 auto;
  padding: 30px 24px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.legal-links {
  display: flex;
  gap: 25px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.legal-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.4s var(--ease-spring);
}

.whatsapp-float svg {
  width: 33px;
  height: 33px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.65);
}

.whatsapp-pulse {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  background: #ff3b30;
  border-radius: 50%;
  border: 2px solid #ffffff;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .advantages-grid,
  .services-grid,
  .academy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid,
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .event-banner-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 28px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--ease-out-expo);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav-actions {
    display: none;
  }

  .hero-section {
    padding: 135px 0 60px 0;
  }

  .advantages-grid,
  .services-grid,
  .academy-grid,
  .metrics-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-brand {
    align-items: center;
  }

  .brand-description {
    margin: 0 auto;
  }

  .footer-link {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

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

  .legal-links {
    flex-direction: column;
    gap: 12px;
  }

  .calc-results-grid {
    grid-template-columns: 1fr;
  }
}
