/* ==========================================================================
   EVOLVA CURSOS | EVOA PRO
   Direção de Arte: Editorial Luxury Fitness & High Performance (2026)
   Identidade: Manual da Marca (Páginas 04, 08, 11)
   Paleta: Azul Tech (#004080), Prata Metálico (#C0C0C0), Branco (#FFFFFF), Preto Profundo (#0A0F1D)
   Tipografia: Tipografia 01 - Sans-Serif Geométrica Avançada (Space Grotesk)
   ========================================================================== */

:root {
  --color-primary: #004080;
  --color-primary-light: #005bb5;
  --color-primary-dark: #00254d;
  --color-primary-glow: rgba(0, 64, 128, 0.12);
  
  --color-silver: #C0C0C0;
  --color-silver-light: #F8FAFC;
  --color-silver-border: #E2E8F0;
  --color-silver-dark: #64748B;
  
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-text-main: #0A0F1D;
  --color-text-muted: #475569;
  --color-text-light: #64748B;
  
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

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

/* Tipografia de Impacto Editorial */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.1;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #004080 0%, #005bb5 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-silver {
  background: linear-gradient(135deg, #0A0F1D 0%, #334155 60%, #64748B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navegação Minimalista */
.luxury-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Espaço 3D e Perspectiva (Spatial UI) */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tilt-inner {
  transform: translateZ(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cards Editoriais Limpos */
.editorial-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px -2px rgba(10, 15, 29, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card:hover {
  border-color: rgba(0, 64, 128, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 64, 128, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
}

/* Super Banner 3D Cinematográfico */
.super-banner-editorial {
  background: radial-gradient(circle at 75% 30%, #0d2852 0%, #001a38 50%, #040c1a 100%);
  border: 1px solid rgba(0, 64, 128, 0.25);
  box-shadow: 0 25px 60px -15px rgba(0, 26, 56, 0.35);
  position: relative;
  overflow: hidden;
}

/* Hero com Fundo em Imagem 8K Cinematográfica */
.hero-image-section {
  position: relative;
  overflow: hidden;
  background-color: #0A0F1D;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: contrast(120%) saturate(75%);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(0, 64, 128, 0.28) 0%, rgba(10, 15, 29, 0.82) 70%, #0A0F1D 100%);
}

/* Banner Panorâmico Estilo MEGA Cursos */
.mega-carousel-banner {
  position: relative;
  background: linear-gradient(105deg, #030E21 0%, #001A38 35%, #004080 75%, #0052A3 100%);
  border-bottom: 2px solid rgba(0, 64, 128, 0.4);
  overflow: hidden;
  box-shadow: 0 15px 40px -10px rgba(0, 26, 56, 0.4);
}

.mega-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  z-index: 25;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.mega-carousel-arrow:hover {
  background: #004080;
  border-color: #38BDF8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.mega-dot-pill {
  width: 26px;
  height: 8px;
  border-radius: 9999px;
  background: #38BDF8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
  transition: all 0.3s ease;
}

.mega-dot-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

.super-banner-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.12) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
}

/* Botões de Alta Performance */
.btn-luxury-primary {
  background: #004080;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 64, 128, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.btn-luxury-primary:hover {
  background: #005bb5;
  box-shadow: 0 8px 30px rgba(0, 91, 181, 0.45);
  transform: translateY(-2px);
}

.btn-luxury-secondary {
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 15px 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1.5px solid var(--color-primary);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-luxury-secondary:hover {
  background: #004080;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 64, 128, 0.2);
}

/* Micro-Badges Tipográficos (Zero Emojis, Pura Tipografia e Linhas) */
.luxury-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: var(--color-primary);
}

.luxury-tag-dark {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
}

/* Cronômetro de Precisão (Estilo Cronógrafo Suíço de Alta Performance) */
.chronograph-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.chrono-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chrono-val {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.chrono-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-light);
  margin-top: 4px;
}

.chrono-divider {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 12px;
}

/* Barra de Urgência no Checkout (Minimalista e Elegante) */
.checkout-ticker {
  background: #0A0F1D;
  color: #FFFFFF;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ticker-accent {
  color: #38BDF8;
  font-family: monospace;
  font-size: 0.9rem;
}

/* Modais & Lightbox */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.75);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Rodapé compartilhado */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-link,
.footer-email {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover,
.footer-email:hover {
  color: #FFFFFF;
}

.footer-contact-link {
  color: #38BDF8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #FFFFFF;
}

/* Contato flutuante */
.contact-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  background: #0A0F1D;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-fab:hover {
  background: #005BB5;
  color: #FFFFFF;
  border-color: #38BDF8;
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 91, 181, 0.35);
}

@media (max-width: 640px) {
  .contact-fab {
    right: 16px;
    bottom: 16px;
    padding: 11px 15px;
    font-size: 0.7rem;
  }
}

/* Animações Suaves */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Acordeão */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-content {
  max-height: 400px;
  transition: max-height 0.4s ease-in-out;
}

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

/* ==========================================================================
   ONDAS FLUIDAS (OCEAN WAVES BAHIA & ROLAGEM DINÂMICA)
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8 0%, #005bb5 50%, #004080 100%);
  z-index: 9999;
  transition: width 0.1s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.ocean-waves-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.ocean-waves {
  position: relative;
  width: 100%;
  height: 52px;
  margin-bottom: -2px;
  min-height: 42px;
  max-height: 75px;
}

/* A onda do banner principal fica discreta para não encobrir a arte. */
#hero-banner .ocean-waves {
  height: 28px;
  min-height: 22px;
  max-height: 32px;
}

.hero-countdown {
  position: absolute;
  z-index: 5;
  top: 34%;
  right: 7%;
  left: auto;
  transform: none;
  min-width: 260px;
  padding: 0.55rem 0.8rem 0.7rem;
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 0.8rem;
  background: rgba(3, 10, 24, .78);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.countdown-bridge { display:flex; flex-direction:column; align-items:center; width:max-content; min-width:260px; margin:0 auto; padding:.65rem 1rem .8rem; background:rgba(3,10,24,.92); border:1px solid rgba(0,64,128,.5); border-radius:0 0 .8rem .8rem; box-shadow:0 8px 24px rgba(0,0,0,.2); position:static; transform:none; }
.hero-countdown-label { display:block; color:#dbeafe; font-size:.68rem; font-weight:800; letter-spacing:.14em; }
.hero-countdown-values { display:flex; justify-content:center; gap:.7rem; margin-top:.2rem; }
.hero-countdown-values span { display:flex; align-items:baseline; gap:.18rem; }
.hero-countdown-values strong { color:#fff; font-size:1.35rem; line-height:1; font-variant-numeric:tabular-nums; }
.hero-countdown-values small { color:#bfdbfe; font-size:.62rem; font-weight:700; }
@media (max-width: 1024px) {
  .hero-countdown { top: 57%; right: 50%; left: auto; transform: translateX(50%); min-width: 235px; padding:.45rem .55rem .55rem; }
  .countdown-bridge { position:static; top:auto; right:auto; left:auto; transform:none; width:calc(100% - 24px); min-width:0; max-width:360px; margin-left:auto; margin-right:auto; }
  .hero-countdown-label { font-size:.58rem; }
  .hero-countdown-values { gap:.35rem; }
  .hero-countdown-values strong { font-size:1.05rem; }
  .hero-countdown-values small { font-size:.55rem; }
}

@media (min-width: 768px) {
  #hero-banner .ocean-waves {
    height: 36px;
  }
}

@media (min-width: 768px) {
  .ocean-waves {
    height: 72px;
  }
}

.wave-parallax > use {
  animation: moveWave 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.wave-parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.wave-parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.wave-parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.wave-parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes moveWave {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* Efeito de Pulso em Onda para o WhatsApp */
.wave-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: wavePulseRing 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  pointer-events: none;
}

@keyframes wavePulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Floating Element Animation */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.floating-element {
  animation: floatGentle 4s ease-in-out infinite;
}
