/* ═══════════════════════════════════════════════════
   BiazattiLab — Estilos DarkTech de Elite v3.0
   ═══════════════════════════════════════════════════ */

:root {
  color-scheme: dark;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar Customizada ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #030712;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ── Glass Card (Vidro Fumê) ── */
.glass-card {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── Animação Float (cards flutuantes no Hero) ── */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ── Scroll Reveal Animations ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delays escalonados para elementos em grid */
.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.reveal-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ── Portfolio Filters (estados ativos) ── */
#portfolio-filters button.active {
  background-color: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.3);
}

/* ── Portfolio Items (transições de filtro) ── */
.portfolio-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ── Modal (estados de abertura) ── */
body.modal-open {
  overflow: hidden;
}

.modal-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modal-active > div {
  transform: scale(1) !important;
}

/* ── FAQ Accordion ── */
.faq-content {
  transition: all 0.3s ease-out;
}

/* ── Glow sutil nas bordas ── */
.ring-glow {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05),
              0 0 15px 0 rgba(99, 102, 241, 0.1);
}

/* ── Hover suave nos cards de serviço ── */
#servicos .glass-card {
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
#servicos .glass-card:hover {
  transform: translateY(-4px);
}

/* ── Efeito de glow na foto do Sobre ── */
#sobre img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
#sobre img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px -10px rgba(99, 102, 241, 0.3);
}

/* ── Botão CTA Hover (pulsação sutil) ── */
a[href="#contato"]:hover {
  transform: translateY(-1px);
}

/* ── Borda pulsante do WhatsApp ── */
@keyframes ping-slow {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(1.5); opacity: 0; }
}
