/* ==========================================================================
   Armazém da Info - Estilos Modernos & Customizações
   ========================================================================== */

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

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --primary: #0080FF;
  --primary-hover: #0066CC;
  --primary-light: #3385FF;
  --secondary: #F59E0B;
  --accent: #66A3FF;
  /* Paleta navy derivada de #0080FF */
  --navy-950: #020A18;
  --navy-900: #041020;
  --navy-800: #071829;
  --navy-700: #0d2952;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Fundo com grade sutil de alta tecnologia */
.tech-grid-pattern {
  background-image: radial-gradient(rgba(0, 128, 255, 0.10) 1px, transparent 0);
  background-size: 28px 28px;
}

.dark .tech-grid-pattern {
  background-image: radial-gradient(rgba(51, 133, 255, 0.18) 1px, transparent 0);
  background-size: 28px 28px;
}

/* Efeito de Vidro Fosco (Glassmorphism) */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.dark .glass-card {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.10);
}

/* Card com Borda Gradiente Interativa */
.card-hover-glow {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.card-hover-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(2, 132, 199, 0.18);
}

.dark .card-hover-glow:hover {
  box-shadow: 0 20px 35px -10px rgba(0, 128, 255, 0.28),
              0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Imagens com Zoom Suave */
.img-zoom-container {
  overflow: hidden;
}

.img-zoom-container img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom-container:hover img {
  transform: scale(1.05);
}

/* Efeito de Pulsação para o Botão Flutuante do WhatsApp */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: pulse-ring 2.4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Transição suave de tema */
body, nav, section, footer, div, span, p, a, button {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-duration: 200ms;
  transition-timing-function: ease-in-out;
}

/* Badges e Pílulas */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Efeito de luz ambiente de fundo (Glow Orbs) */
.glow-orb-primary {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 128, 255, 0.28) 0%, rgba(0, 128, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  z-index: 0;
}

.glow-orb-secondary {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
  z-index: 0;
}

/* Orb branco sutil para destaques premium */
.glow-orb-white {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #0080FF, #0066CC);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #3385ff, #0080ff);
}

/* Lightbox Modal para visualização de fotos */
#image-lightbox {
  transition: opacity 0.3s ease;
}

#image-lightbox.hidden {
  display: none;
  opacity: 0;
}

#image-lightbox:not(.hidden) {
  display: flex;
  opacity: 1;
}

/* Acessibilidade - Redução de Movimento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .whatsapp-pulse, .card-hover-glow:hover, .img-zoom-container img {
    animation: none;
    transform: none;
  }
}
