/* ==========================================================================
   MG Refrigeração - Identidade Visual & Estilos Customizados
   Paleta Oficial:
   - Azul-marinho escuro: #1A2B4C (--mg-navy)
   - Azul-marinho profundo (Footer/Contraste): #0F1A30 (--mg-navy-dark)
   - Azul médio / royal: #2563EB (--mg-royal)
   - Branco: #FFFFFF
   - Cinza claro: #F8FAFC
   ========================================================================== */

:root {
  --mg-navy: #1A2B4C;
  --mg-navy-dark: #0F1A30;
  --mg-navy-hover: #223863;
  --mg-royal: #2563EB;
  --mg-royal-hover: #1D4ED8;
  --mg-royal-light: #EFF6FF;
  --mg-bg-light: #F8FAFC;
  --mg-white: #FFFFFF;
}

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.shadow-xs {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.h-13 {
  height: 3.25rem;
}

/* Animação do Botão Flutuante do WhatsApp */
@keyframes whatsapp-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.48);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 14px rgba(22, 163, 74, 0);
  }
}

.animate-whatsapp-pulse {
  animation: whatsapp-pulse 2.6s infinite ease-in-out;
}

/* Efeito sutil de brilho metálico na logo */
.logo-icon-glow {
  filter: drop-shadow(0 2px 6px rgba(26, 43, 76, 0.16));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.group:hover .logo-icon-glow {
  transform: scale(1.05) rotate(-3deg);
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.28));
}

/* Estilização customizada de selects e inputs do formulário */
.mg-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mg-input:focus {
  border-color: var(--mg-royal);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
  outline: none;
}

/* Accordion transição suave */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

.faq-item.open .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background-color: var(--mg-royal);
  color: #ffffff;
  border-color: var(--mg-royal);
}

/* Scrollbar discreta */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
