/* ==========================================
   GLOBAL.CSS — Dark UI refinado e responsivo
   ========================================== */

/* === TOKENS DE DESIGN === */
:root {
  --bg-main: #0b0b0b;
  --bg-soft: #141414;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-contrast: #ffffff;
  --primary: #facc15;
  --primary-hover: #fde68a;
  --accent: #d6c27a;
  --error: #dc2626;
  --success: #22c55e;
  --border: #2c2c2c;
  --radius: 1rem;
  --radius-full: 9999px;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(250, 204, 21, 0.25);
  --font-main: 'Inter', sans-serif;
  --font-title: 'Poppins', sans-serif;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(2rem, 4vw, 3.5rem);
}

/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-main);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === TIPOGRAFIA === */
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* === LINKS & INTERAÇÕES === */
a {
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

a:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* === BOTÕES === */
button {
  background-color: var(--primary);
  color: var(--text-contrast);
  border: none;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: var(--text-base);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

button:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Ajustes no menu mobile */
@media (max-width: 768px) {
  /* Menu mobile fixo e com 100% da tela */
  #menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Overlay escuro para o menu */
    z-index: 9998; /* Ajustar z-index para garantir que o botão de fechar sobreponha o menu */
    padding: 20px;
    overflow-y: auto;
  }

  /* Ícone de Fechar */
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999; /* Garantir que o botão tenha maior z-index */
    color: white;
    font-size: 2rem;
    cursor: pointer;
  }

  #menu-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style-type: none;
  }

  #menu-mobile a {
    font-size: var(--text-lg);
    color: var(--text-main);
    padding: 12px 0;
    text-align: center;
    transition: color 0.3s ease;
  }

  #menu-mobile a:hover {
    color: var(--primary);
  }

  #menu-mobile .btn-participar {
    background-color: var(--primary);
    padding: 15px 25px;
    text-align: center;
    border-radius: var(--radius);
    color: var(--text-contrast);
  }
}

/* Estilos para a seção de benefícios */
#benefits {
  position: relative;
  background: linear-gradient(45deg, #222222, #111111);
  padding-top: 100px;
}

#benefits h2 {
  font-size: 2rem;
  font-weight: 800;
}

#benefits .grid > div {
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#benefits i {
  color: #facc15;
}

/* Botão com animação de hover */
#benefits a {
  display: inline-block;
  padding: 15px 30px;
  background-color: #facc15;
  color: black;
  font-size: 18px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

#benefits a:hover {
  background-color: #fde68a;
  transform: scale(1.05);
}


.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 16:9 = 56.25%, 9:16 = 177.78% */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* === NAVEGAÇÃO PERSONALIZADA === */
.custom-swiper-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(24, 24, 27, 0.85); /* zinc-900/85 */
  border: 2px solid #facc15;
  color: #facc15;
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.3s ease;
}

.custom-swiper-arrow:hover {
  background-color: #facc15;
  color: black;
  transform: scale(1.1) translateY(-50%);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.25);
}

.swiper-button-prev-beneficios {
  left: -12px;
}

.swiper-button-next-beneficios {
  right: -12px;
}

@media (max-width: 768px) {
  .custom-swiper-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .swiper-button-prev-beneficios {
    left: -6px;
  }
  .swiper-button-next-beneficios {
    right: -6px;
  }
}

/* === PAGINAÇÃO PERSONALIZADA === */
.swiper-pagination-beneficios .swiper-pagination-bullet {
  background-color: #333;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-pagination-beneficios .swiper-pagination-bullet-active {
  background-color: #facc15;
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}

/* Sugestão: texto abaixo da paginação para mobile */
.mobile-tip {
  color: #facc15;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  align-items: center;
}


/* ================================
   SWIPER PALESTRANTES – VISUAL ELEGANTE & MODERNO
================================ */

/* Container principal do slider */
.swiper-container.palestrantesSwiper {
  padding-bottom: 3rem;
  position: relative;
}

/* Slides individuais */
.swiper-slide.speaker-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.swiper-slide.speaker-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 214, 10, 0.15);
}

/* Imagens dos palestrantes */
.speaker-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.speaker-card:hover img {
  transform: scale(1.1);
}

/* Área de conteúdo do card */
.speaker-card .text-yellow-400 {
  font-weight: 700;
}

.speaker-card p {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Link do Instagram */
.speaker-card a {
  transition: color 0.3s ease;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-block;
}

.speaker-card a:hover {
  color: #facc15;
  text-decoration: underline;
}

/* Dica para usuários mobile */
.swiper-container .mobile-tip {
  margin-top: 0.75rem;
  color: #9ca3af;
  font-size: 0.875rem;
  display: block;
  text-align: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Botões customizados de navegação */
.swiper-button-next-palestrantes,
.swiper-button-prev-palestrantes {
  color: #facc15;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 9999px;
  padding: 0.75rem;
  width: 3rem;
  height: 3rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.swiper-button-next-palestrantes:hover,
.swiper-button-prev-palestrantes:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Posicionamento dos botões */
.swiper-button-next-palestrantes {
  right: 1rem;
}
.swiper-button-prev-palestrantes {
  left: 1rem;
}

.swiper-button-next-palestrantes,
.swiper-button-prev-palestrantes {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}

.speaker-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  border-radius: 0.5rem;
  transition: transform 0.5s ease;
}

/* Responsivo */
@media (max-width: 768px) {
  .speaker-card img {
    height: 260px;
  }
}
@media (max-width: 480px) {
  .speaker-card img {
    height: 220px;
  }
}

.swiper-pagination-bullet {
  background: #d6c27a;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  background: #facc15;
  opacity: 1;
  transform: scale(1.2);
}

.btn-beneficio {
  @apply inline-block text-sm text-black bg-yellow-400 font-bold py-2 px-5 rounded-full hover:scale-105 transition-all;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 30s linear infinite;
}