/* STYLES GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #0e0e0e;
  color: #ffffff;
  line-height: 1.5;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 30px 0;
}

h1,
h2,
h3 {
  font-weight: 700;
}

h1 {
  font-size: 28px;
  margin-bottom: 15px;
  text-align: center;
}

h2 {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

p {
  font-size: 15px;
  color: #cfcfcf;
}

.accent {
  color: #25D366;
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  margin-top: 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 15px;
}

.btn-primary {
  background: #25D366;
  color: #000;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow:
    0 0 5px #25D366,
    0 0 10px #25D366,
    0 0 20px rgba(37, 211, 102, 0.6);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 8px #25D366,
    0 0 18px #25D366,
    0 0 30px rgba(37, 211, 102, 0.9);
}

@keyframes neonPulse {
  0% {
    box-shadow:
      0 0 5px #25D366,
      0 0 10px #25D366,
      0 0 20px rgba(37, 211, 102, 0.6);
  }

  50% {
    box-shadow:
      0 0 10px #25D366,
      0 0 20px #25D366,
      0 0 35px rgba(37, 211, 102, 0.9);
  }

  100% {
    box-shadow:
      0 0 5px #25D366,
      0 0 10px #25D366,
      0 0 20px rgba(37, 211, 102, 0.6);
  }
}

.btn-primary {
  animation: neonPulse 2s infinite;
}

.section-dark {
  background-color: #141414;
  padding: 20px 0;
}

.section-compact {
  background-color: #141414;
  padding: 10px 0 10px 0;
}

.badges {
  margin-top: 15px;
  font-size: 14px;
  color: #bbbbbb;
}

.badges div {
  margin-bottom: 6px;
}

.card {
  background-color: #1b1b1b;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.steps .card {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight {
  background: linear-gradient(135deg, #1a1a1a, #111);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
}

footer {
  background-color: #0a0a0a;
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  color: #888;
}

@media(min-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

/*FIM DO STYLES GLOBAL */

/** VIDEO YOUTUBE NA PAGINA **/
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/** video 2 **/
/*.video-section {
  text-align: center;
  padding: 40px 20px;
}*/

.video-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  /* ideal para formato vertical */
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  /* formato vertical */
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/** CARROSSEL DE IMAGENS **/
.gallery-carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.carousel-track img {
  flex: 0 0 85%;
  height: 240px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: center;
}

/** ZOOM NAS IMAGENS DO CARROSSEL **/
/* ===== LIGHTBOX PREMIUM ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #0f0f0f 0%, #000 100%);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  align-items: center;
}

.lightbox-track img {
  flex: 0 0 100%;
  max-width: 90%;
  max-height: 85vh;
  margin: auto;
  object-fit: contain;
  scroll-snap-align: center;
  border-radius: 16px;
  padding: 0 .5rem 0 .5rem;

  /* efeito visual premium */
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(37, 211, 102, 0.15);

  transform: scale(0.96);
  transition: transform 0.4s ease;
}

.lightbox.active .lightbox-track img {
  transform: scale(1);
}

/* BOTÃO CLOSE PADRÃO IGUAL MODAIS */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  backdrop-filter: blur(6px);
}

.lightbox-close:hover {
  background: #25D366;
  color: #000;
  transform: rotate(90deg);
}

/** TERMOS MODAL **/
.termos-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
  padding: 20px;
}

.termos-modal.active {
  opacity: 1;
  visibility: visible;
}

.termos-content {
  background: #111;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 12px;
  color: #ccc;
  text-align: justify;
  position: relative;
}

.termos-content h3 {
  margin-bottom: 16px;
  color: #fff;
}

.termos-content p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.termos-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* ===== MODAL REGULAMENTO ===== */
.regulamento-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
  padding: 20px;
}

.regulamento-modal.active {
  opacity: 1;
  visibility: visible;
}

.regulamento-content {
  background: #111;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 12px;
  color: #ccc;
  text-align: justify;
  position: relative;
}

.regulamento-content h3 {
  margin-bottom: 16px;
  color: #fff;
}

.regulamento-content p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.regulamento-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/** FAQ ACCORDION **/
.faq-section {
  padding: 60px 20px;
  background: #0f0f0f;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 32px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  color: #fff;
  font-size: 16px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 14px;
  height: 14px;
  border-right: 2px solid #25D366;
  border-bottom: 2px solid #25D366;
  transform: rotate(45deg);
  transition: 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 18px;
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

/** HERO **/
.hero .image-frame img {
  width: 100%;
  max-height: 230px;
  object-fit: cover;
}

.image-frame {
  position: relative;
  border-radius: 14px;
  padding: 2px;
  /* ultra fino */
  background: linear-gradient(90deg,
      transparent,
      #25D366,
      transparent);
  background-size: 200% 100%;
  animation: borderEnergy 3s linear infinite;
}

.image-frame img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

@keyframes borderEnergy {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}