/* ==========================================================================
   RETÍFICA DE MOTORES SHEKINAH - ESTILOS PERSONALIZADOS
   Paleta: Preto Obsidian (#0A0A0D), Dourado Imperial (#D4AF37), Branco (#FFFFFF)
   ========================================================================== */

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

:root {
  --bg-primary: #0A0A0D;
  --bg-secondary: #121217;
  --bg-tertiary: #1A1A22;
  --bg-card: rgba(22, 22, 30, 0.75);
  
  --gold-primary: #D4AF37;
  --gold-light: #F5DE7A;
  --gold-hover: #E5C158;
  --gold-dark: #8C6F1E;
  --gold-glow: rgba(212, 175, 55, 0.28);
  --gold-gradient: linear-gradient(135deg, #FFE898 0%, #D4AF37 50%, #99741B 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.03) 100%);
  
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;
  
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
}

/* Tipografia e Títulos */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p, span, li, input, select, textarea, button {
  font-family: 'Poppins', sans-serif;
}

/* Gradientes de Texto Dourado */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-glow {
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
}

.box-gold-glow {
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
}

/* Bordas douradas metálicas */
.gold-border {
  border: 1px solid var(--border-gold);
}

.gold-border-b {
  border-bottom: 1px solid var(--border-gold);
}

/* Botões Customizados */
.btn-gold {
  background: var(--gold-gradient);
  color: #0A0A0D;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  border: 1px solid #FFE898;
  cursor: pointer;
  text-align: center;
  line-height: 1.35;
  white-space: normal;
  max-width: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, #FFF0B3 0%, #E5C158 50%, #B88B22 100%);
  color: #000000;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  text-align: center;
  line-height: 1.35;
  white-space: normal;
  max-width: 100%;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #FFFFFF;
  border-color: #FFE898;
  transform: translateY(-2px);
}

/* Ajustes de Proporção para Dispositivos Móveis */
@media (max-width: 640px) {
  .btn-gold {
    padding: 0.75rem 1.15rem;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    border-radius: 0.875rem;
    gap: 0.4rem;
  }

  .btn-outline-gold {
    padding: 0.75rem 1.15rem;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    border-radius: 0.875rem;
    gap: 0.4rem;
  }
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px -5px rgba(212, 175, 55, 0.15);
}

/* Badge Dourado */
.gold-badge {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Background com Padrão de Grade Tecnológica e Halo Dourado */
.hero-bg {
  background-color: #0A0A0D;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 90% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
}

.mesh-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.mesh-gold {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(0,0,0,0) 70%);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.65);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: pulse-ring 2s infinite cubic-bezier(0.25, 0, 0, 1);
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Modal de Vídeo e Imagem */
.media-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(16px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.media-modal.active {
  display: flex;
}

/* Video Card Thumbnail Play Overlay */
.video-card-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #15151D;
  aspect-ratio: 16 / 9;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card-thumb:hover img {
  transform: scale(1.06);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-card-thumb:hover .play-overlay {
  background: rgba(0, 0, 0, 0.25);
}

.play-btn-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0D;
  font-size: 1.25rem;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
  transition: transform 0.3s ease;
}

.video-card-thumb:hover .play-btn-circle {
  transform: scale(1.15);
}

/* Linha Divisória de Ouro */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.6) 50%, transparent 100%);
  margin: 1.5rem 0;
}

/* Animações e Tabs */
.tab-btn.active {
  background: var(--gold-gradient);
  color: #0A0A0D;
  font-weight: 700;
  border-color: #FFE898;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer.open {
  max-height: 500px;
}

/* Scrollbar estilizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A0A0D;
}
::-webkit-scrollbar-thumb {
  background: #2A2A38;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Card Interativo com link WhatsApp */
.glass-card[style*="cursor: pointer"]:hover {
  border-color: rgba(212, 175, 55, 0.55);
}

/* ==========================================================================
   FEED INSTAGRAM & CARROSSEL INFINITO
   ========================================================================== */

/* Botão Oficial Instagram Degradê */
.btn-instagram {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45);
  background-size: 200% 200%;
  animation: instagram-gradient 8s ease infinite;
  color: #FFFFFF !important;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes instagram-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.55);
}

/* Carrossel de Fotos com Borda Infinita */
.carousel-viewport {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  position: relative;
  width: 100%;
}

.carousel-viewport.grabbing {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Instagram Post Card */
.instagram-card {
  transition: all 0.35s ease;
}

.instagram-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 20px -3px rgba(225, 48, 108, 0.25);
  border-color: rgba(212, 175, 55, 0.6);
}

.instagram-card img {
  pointer-events: none;
}

