/* RESET SUAVE */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
}
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #e5efe5;
  background-color: #000;               /* fallback */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* BACKGROUNDS — DESKTOP (default) */
body {
  background-image: url("imgdesktop/BACKGROUND DO SITE GERAL DESKTOP.png");
}
body.page1 {
  background-image: url("imgdesktop/BACKGROUND DESKTOP - SEÇÃO 1.jpg");
}
body.page7 {
  background-image: url("imgdesktop/FUNDO-VIDEO.png");
}
body.page8 {
  background-image: url("imgdesktop/FUNDO-VIDEO.png");
}

/* BACKGROUNDS — MOBILE */
@media (max-width: 768px) {
  body {
    background-image: url("CELULAR/BACKGROUND-GERAL-CELULAR.png");
  }
  body.page1 {
    background-image: url("CELULAR/BGCELULARSEÇÃO1.jpg");
  }
  /* Página 7 no celular */
  body.page7 {
    background-image: url("imgdesktop/FUNDO-VIDEO.png");
  }
  /* Página 8 no celular */
  body.page8 {
    background-image: url("imgdesktop/FUNDO-VIDEO.png");
  }
}

/* LAYOUT DAS SEÇÕES */
.section {
  display: none;
  min-height: 100dvh;
  width: 100%;
  position: relative;
  padding: 4rem 1rem 7.5rem; /* espaço para nav inferior */
}
.section.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.section .section-content {
  width: min(1100px, 92vw);
}

/* BOTÕES */
.btn {
  appearance: none;
  background: transparent;
  border: 2px solid #00ff7f;
  color: #00ff7f;
  padding: 0.85rem 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.matrix {
  box-shadow: 0 0 10px rgba(0,255,127,0.5), inset 0 0 6px rgba(0,255,127,0.25);
  background-color: rgba(0,255,127,0.04);
}

/* NAV/BARRA INFERIOR */
.bottom-cta,
.bottom-nav {
  position: fixed;
  left: 0; right: 0;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
  pointer-events: none;  /* evita clique fora do botão */
}
.bottom-cta .btn,
.bottom-nav .btn {
  pointer-events: auto;  /* botão clicável */
}
.bottom-nav {
  justify-content: center;
}
.bottom-nav .btn:first-child { margin-right: .5rem; }

/* PLAYER DE VÍDEO (RESPONSIVO) */
.video-wrap {
  width: min(900px, 92vw);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 2px solid #00ff7f;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(0,255,127,0.45), inset 0 0 12px rgba(0,255,127,0.2);
  background: rgba(0,0,0,.4);
}
.yt-player, .video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* RELEASE (PÁGINA 7) */
.release-container {
  margin: auto;            /* <-- ADICIONA AQUI (linha 2) */
  max-width: 800px;
  max-height: 70vh;       /* altura fixa com rolagem */
  padding: 20px;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid #00ff7f;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,255,127,0.3), inset 0 0 8px rgba(0,255,127,0.2);
  overflow-y: auto;        /* rolagem */
  scrollbar-width: thin;   /* Firefox */
}

.release-container::-webkit-scrollbar {
  width: 6px;
}
.release-container::-webkit-scrollbar-thumb {
  background-color: #00ff7f;
  border-radius: 10px;
}

.release-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #00ff7f;
}

.release-text {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: justify;
}

/* ACESSIBILIDADE PEQUENA TELA */
@media (max-width: 768px) {
  .video-wrap {
    width: 95vw;
    max-height: 60vh;
  }
  .bottom-nav {
    gap: 0.75rem;
  }
  .btn {
    min-width: 100px;
    padding: 0.85rem 1rem;
  }
  
  .release-container {
    max-width: 95%;
    padding: 15px;
  }
  
  .release-title {
    font-size: 1.5rem;
  }
  
  .release-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .btn { 
    padding: 0.75rem 1rem; 
    font-size: .95rem;
    min-width: 90px;
  }
  .section { padding-bottom: 8.5rem; }
  .bottom-nav {
    bottom: 1.25rem;
  }
}
