/* ================================================
   AEROPIAUI TEC — style.css
   Visual cinematográfico estilo Tesla/SpaceX/IoT
   Paleta: #1a4a2e | #7ed957 | #1a1a2e | #0a84ff
   ================================================ */

/* ------------------------------------------------
   1. RESET E VARIÁVEIS GLOBAIS
------------------------------------------------ */
:root {
  --verde-escuro:  #1a4a2e;
  --verde-limao:   #7ed957;
  --grafite:       #1a1a2e;
  --azul-tech:     #0a84ff;
  --grafite-claro: #12122a;
  --grafite-medio: #1e1e3a;
  --text-muted:    #6b7280;
  --border-glass:  rgba(255, 255, 255, 0.08);
  --shadow-green:  rgba(126, 217, 87, 0.25);
  --shadow-blue:   rgba(10, 132, 255, 0.25);
  --radius-xl:     1.25rem;
  --radius-2xl:    1.5rem;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--grafite);
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ------------------------------------------------
   2. SCROLLBAR PERSONALIZADA
------------------------------------------------ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--grafite);
}

::-webkit-scrollbar-thumb {
  background: var(--verde-escuro);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--verde-limao);
}

/* ------------------------------------------------
   3. UTILITÁRIOS GLOBAIS
------------------------------------------------ */

/* Gradiente de texto verde */
.text-gradient-green {
  background: linear-gradient(135deg, var(--verde-limao) 0%, #a8ff78 50%, var(--verde-limao) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism — card base */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Glass badge (hero) */
.glass-badge {
  background: rgba(126, 217, 87, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Padding padrão de seção */
.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* ------------------------------------------------
   4. TIPOGRAFIA DE SEÇÕES
------------------------------------------------ */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-tag-green {
  color: var(--verde-limao);
  background: rgba(126, 217, 87, 0.08);
  border-color: rgba(126, 217, 87, 0.25);
}

.section-tag-blue {
  color: var(--azul-tech);
  background: rgba(10, 132, 255, 0.08);
  border-color: rgba(10, 132, 255, 0.25);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

.section-sub {
  font-size: 1.0625rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* ------------------------------------------------
   5. NAVBAR
------------------------------------------------ */
.navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 32px rgba(0, 0, 0, 0.4);
}

.mobile-menu {
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Animação hambúrguer — estado aberto */
.hamburger-open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  width: 24px;
}

/* Botão Monitor — navbar */
.btn-monitor {
  letter-spacing: -0.01em;
}

.btn-monitor:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(126, 217, 87, 0.4);
}

/* ------------------------------------------------
   6. SEÇÃO HERO
------------------------------------------------ */
.hero-section {
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1f12 50%, #0a0a1a 100%);
}

/* Quando não há vídeo, mostrar gradiente animado como background */
.hero-video:not([src]),
.hero-video[src=""] {
  display: none;
}

/* Se sem vídeo, o hero-section usa gradiente animado */
.hero-section:not(:has(video[src]:not([src=""]))) {
  background: linear-gradient(135deg, #080818 0%, #0a1a0d 30%, #080818 60%, #0d0d20 100%);
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.75) 0%,
    rgba(26, 26, 46, 0.5)  40%,
    rgba(26, 26, 46, 0.85) 100%
  );
}

/* Headline hero com tamanho fluido */
.hero-headline {
  letter-spacing: -0.03em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
}

.hero-sub {
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

/* Badges hero */
.hero-badge {
  cursor: default;
  border-radius: 0.875rem;
}

.hero-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(126, 217, 87, 0.15);
}

/* Seta scroll */
.scroll-arrow {
  animation: bounce 2s infinite;
}

/* ------------------------------------------------
   7. PARTÍCULAS DECORATIVAS (CSS puro)
------------------------------------------------ */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle 8s ease-in-out infinite;
  pointer-events: none;
}

.particle-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(126, 217, 87, 0.06) 0%, transparent 70%);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
  animation-duration: 10s;
}

.particle-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.05) 0%, transparent 70%);
  top: 30%;
  right: -10%;
  animation-delay: 2s;
  animation-duration: 12s;
}

.particle-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(126, 217, 87, 0.08) 0%, transparent 70%);
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
  animation-duration: 9s;
}

.particle-4 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.06) 0%, transparent 70%);
  top: 60%;
  left: 40%;
  animation-delay: 1s;
  animation-duration: 11s;
}

.particle-5 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(126, 217, 87, 0.05) 0%, transparent 70%);
  bottom: 10%;
  right: 5%;
  animation-delay: 3s;
  animation-duration: 13s;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0px) scale(1); }
  33%       { transform: translateY(-20px) scale(1.05); }
  66%       { transform: translateY(10px) scale(0.97); }
}

/* ------------------------------------------------
   8. PULSE DOT (indicador ativo)
------------------------------------------------ */
.pulse-dot {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.7);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(126, 217, 87, 0);
    opacity: 0.8;
  }
}

/* ------------------------------------------------
   9. SEÇÃO STATS
------------------------------------------------ */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237ed957' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stat-item {
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.stat-item:last-child::after {
  display: none;
}

/* ------------------------------------------------
   10. SEÇÃO PROBLEMA — cards
------------------------------------------------ */
.problema-card {
  position: relative;
  overflow: hidden;
}

.problema-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.5), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

/* ------------------------------------------------
   11. ÍCONES WRAP (problema e solução)
------------------------------------------------ */
.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-red {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.icon-green {
  background: rgba(126, 217, 87, 0.1);
  border: 1px solid rgba(126, 217, 87, 0.2);
}

.glass-card:hover .icon-red {
  background: rgba(239, 68, 68, 0.18);
  transform: scale(1.08) rotate(-2deg);
}

.glass-card:hover .icon-green {
  background: rgba(126, 217, 87, 0.18);
  transform: scale(1.08) rotate(-2deg);
}

/* ------------------------------------------------
   12. CARDS DE SOLUÇÃO
------------------------------------------------ */
.solucao-card {
  position: relative;
  overflow: hidden;
}

.solucao-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--verde-limao), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

/* ------------------------------------------------
   13. CARDS TECNOLOGIA — estilo Apple
------------------------------------------------ */
.apple-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition);
  cursor: default;
}

.apple-card:hover {
  background: linear-gradient(145deg, rgba(126, 217, 87, 0.08) 0%, rgba(255,255,255,0.03) 100%);
  border-color: rgba(126, 217, 87, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(126, 217, 87, 0.12);
}

.tech-icon {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ------------------------------------------------
   14. DASHBOARD MOCKUP
------------------------------------------------ */
.dashboard-mockup {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric-card {
  transition: var(--transition);
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
}

.metric-status {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-ok {
  color: var(--verde-limao);
}

.status-warn {
  color: #f59e0b;
}

.status-alert {
  color: #ef4444;
}

/* Barra de progresso das métricas */
.metric-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1.5s ease-out;
}

/* Gráfico de barras CSS */
.chart-grid {
  align-items: flex-end;
}

.chart-bar {
  transition: height 0.5s ease, opacity 0.3s ease;
  cursor: pointer;
}

.chart-bar:hover {
  opacity: 0.8;
  transform: scaleY(1.05);
  transform-origin: bottom;
}

.chart-bar-active {
  position: relative;
}

.chart-bar-active::after {
  content: 'Agora';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--verde-limao);
  white-space: nowrap;
  font-weight: 700;
}

/* ------------------------------------------------
   15. TABELA ESCALABILIDADE
------------------------------------------------ */
table {
  border-collapse: separate;
  border-spacing: 0;
}

thead tr {
  background: rgba(255, 255, 255, 0.03);
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

tbody tr:hover {
  background: rgba(126, 217, 87, 0.03) !important;
}

td, th {
  font-size: 0.875rem;
}

/* ------------------------------------------------
   16. DIFERENCIAIS
------------------------------------------------ */
.diferencial-card {
  position: relative;
  overflow: hidden;
}

.diferencial-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--verde-limao), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.diferencial-card:hover::after {
  transform: scaleX(1);
}

/* ------------------------------------------------
   17. TIMELINE
------------------------------------------------ */
.timeline {
  position: relative;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  max-width: 360px;
}

.timeline-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.timeline-dot,
.timeline-dot-active,
.timeline-dot-future {
  box-shadow: 0 0 20px rgba(126, 217, 87, 0.4);
}

.timeline-dot-active {
  box-shadow: 0 0 20px rgba(10, 132, 255, 0.5);
  animation: glow-pulse 2s ease-in-out infinite;
}

.timeline-dot-future {
  box-shadow: none;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(10, 132, 255, 0.4); }
  50%       { box-shadow: 0 0 30px rgba(10, 132, 255, 0.7); }
}

/* Timeline mobile — cards empilhados */
@media (max-width: 767px) {
  .timeline-item {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(126, 217, 87, 0.2);
    position: relative;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--verde-limao);
    border: 2px solid var(--grafite);
  }

  .timeline-card {
    max-width: 100%;
    display: block;
  }
}

/* ------------------------------------------------
   18. SEÇÃO CONTATO — FORMULÁRIO
------------------------------------------------ */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.4rem;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.875rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--verde-limao);
  box-shadow: 0 0 0 3px rgba(126, 217, 87, 0.12);
}

.form-input:focus + .input-icon,
.input-wrap:focus-within .input-icon {
  color: var(--verde-limao);
}

.form-input::placeholder {
  color: rgba(156, 163, 175, 0.5);
}

.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  resize: vertical;
  min-height: 130px;
}

.form-textarea:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--verde-limao);
  box-shadow: 0 0 0 3px rgba(126, 217, 87, 0.12);
}

.form-textarea::placeholder {
  color: rgba(156, 163, 175, 0.5);
}

/* Botão submit */
.btn-submit {
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(126, 217, 87, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Cards de info de contato */
.contato-info-card {
  transition: var(--transition);
}

.contato-info-card:hover {
  transform: translateX(4px);
}

/* ------------------------------------------------
   19. SEÇÃO FRASE DESTAQUE
------------------------------------------------ */
.frase-destaque {
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

/* ------------------------------------------------
   20. FOOTER
------------------------------------------------ */
.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
  transition: color 0.2s ease, padding-left 0.2s ease;
  padding: 0.2rem 0;
}

.footer-link:hover {
  color: var(--verde-limao);
  padding-left: 0.5rem;
}

/* Botão monitor no footer */
.footer-monitor-btn {
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(126, 217, 87, 0.2);
  transition: var(--transition);
}

.footer-monitor-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(126, 217, 87, 0.35);
}

/* Ícones redes sociais */
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: rgba(126, 217, 87, 0.12);
  border-color: rgba(126, 217, 87, 0.3);
  color: var(--verde-limao);
  transform: translateY(-3px);
}

/* ------------------------------------------------
   21. BOTÃO FLUTUANTE WHATSAPP
------------------------------------------------ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: whatsapp-pulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
  animation: none;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* Tooltip do WhatsApp */
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 46, 0.95);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ------------------------------------------------
   22. BOTÃO VOLTAR AO TOPO
------------------------------------------------ */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 998;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--verde-limao);
  border-color: var(--verde-limao);
  color: var(--grafite);
  transform: translateY(-3px);
}

/* ------------------------------------------------
   23. CTA BUTTONS — HERO
------------------------------------------------ */
.cta-primary {
  position: relative;
  overflow: hidden;
}

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

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

.cta-secondary {
  position: relative;
  overflow: hidden;
}

/* ------------------------------------------------
   24. ANIMAÇÕES GLOBAIS
------------------------------------------------ */

/* Bounce */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

/* FadeIn */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scale in */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* Counter animation via JS — classe auxiliar */
.counter-done {
  animation: counterPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes counterPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ------------------------------------------------
   25. IMPACT CARDS (seção Sobre)
------------------------------------------------ */
.impact-card {
  transition: var(--transition);
}

.impact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 217, 87, 0.25);
}

/* ------------------------------------------------
   26. RESPONSIVIDADE EXTRA
------------------------------------------------ */

/* Telas muito pequenas (< 375px) */
@media (max-width: 375px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-badge span {
    font-size: 0.65rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* Tablets */
@media (min-width: 640px) and (max-width: 1023px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* Desktop grande */
@media (min-width: 1280px) {
  .section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* ------------------------------------------------
   27. GLASSMORPHISM AVANÇADO — mobile safe
------------------------------------------------ */
@supports not (backdrop-filter: blur(1px)) {
  .glass-card {
    background: rgba(30, 30, 58, 0.9);
  }

  .navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
  }

  .mobile-menu {
    background: rgba(26, 26, 46, 0.99);
  }
}

/* ------------------------------------------------
   28. LOADING STATE — skeleton shimmer
------------------------------------------------ */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.5rem;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ------------------------------------------------
   29. SCROLL REVEAL — classes auxiliares para JS
------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------
   30. SELECTION — cor de seleção de texto
------------------------------------------------ */
::selection {
  background: rgba(126, 217, 87, 0.25);
  color: #fff;
}

::-moz-selection {
  background: rgba(126, 217, 87, 0.25);
  color: #fff;
}

/* ------------------------------------------------
   31. FOCUS VISIBLE — acessibilidade
------------------------------------------------ */
*:focus-visible {
  outline: 2px solid var(--verde-limao);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------
   32. DARK OVERLAY PARA IMAGENS
------------------------------------------------ */
.img-overlay {
  position: relative;
  overflow: hidden;
}

.img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.8) 0%, transparent 60%);
  pointer-events: none;
}

/* ------------------------------------------------
   33. GRADIENTE FUNDO TEXTURA (dotgrid)
------------------------------------------------ */
.bg-dotgrid {
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ------------------------------------------------
   34. ESTILOS ADICIONAIS — tabela escalabilidade
------------------------------------------------ */
.overflow-x-auto::-webkit-scrollbar {
  height: 4px;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
  background: rgba(126, 217, 87, 0.3);
  border-radius: 2px;
}

/* ------------------------------------------------
   35. ANIMAÇÃO DA FRASE DESTAQUE
------------------------------------------------ */
.frase-destaque {
  animation: none;
}

[data-aos="fade-up"] .frase-destaque {
  animation: fadeIn 1s ease forwards;
}

/* ------------------------------------------------
   36. BRILHO NOS CARDS AO HOVER
------------------------------------------------ */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glass-card:hover::after {
  opacity: 1;
}

/* ------------------------------------------------
   37. NAVBAR LOGO HOVER
------------------------------------------------ */
.navbar-logo .logo-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
  box-shadow: 0 4px 16px rgba(126, 217, 87, 0.4);
}

/* ------------------------------------------------
   38. RESPONSIVIDADE DO HERO BADGES
------------------------------------------------ */
@media (max-width: 480px) {
  .hero-badge {
    padding: 0.5rem;
  }

  .hero-badge i {
    font-size: 1rem;
  }
}

/* ------------------------------------------------
   39. PRINT STYLES
------------------------------------------------ */
@media print {
  .navbar,
  .whatsapp-float,
  .back-to-top,
  .particles {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}

/* ------------------------------------------------
   40. MOBILE MENU TRANSITION
------------------------------------------------ */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

#mobile-menu.menu-open {
  max-height: 600px;
  opacity: 1;
}
