*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050608;
  color: #f5f5f5;
  line-height: 1.5;
}

/* Layout geral */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  padding: 16px 0;
  background: rgba(5, 6, 8, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
}

/* Hero (vídeo Reels) */
.hero {
  padding: 32px 0 24px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.hero-title {
  font-size: 1.8rem;
}

.hero-description {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 520px;
}

.hero-video-wrapper {
  width: 100%;
  max-width: 360px;
}

/* Moldura do vídeo */
.video-frame {
  position: relative;
  width: 100%;
}

/* 9:16 (formato Reels) */
.hero-video {
  width: 100%;
  aspect-ratio: 8 / 10;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  background: #000;
  display: block;
}

/* Botão central para ativar o áudio */
.video-audio-overlay {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

/* Seção de botões */
.buttons-section {
  padding: 24px 0 40px;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Botão imagem */
.image-button {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  transform-origin: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease;
  background: #101117;
}

/* camada de brilho suave */
.image-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.25), transparent 60%);
  opacity: 0;
  transform: translateY(20%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0 24px;
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.7;
}

/* Animações base (para JS controlar) */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim.show {
  opacity: 1;
  transform: translateY(0);
}

/* ====== HOVERS / ANIMAÇÕES SOMENTE NO DESKTOP ====== */
@media (hover: hover) {
  /* Botões de imagem */
  .image-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.28);
  }

  .image-button:hover img {
    transform: scale(1.06);
  }

  .image-button:hover::after {
    opacity: 1;
    transform: translateY(0);
  }

  /* Botão central do vídeo também com animação */
  .video-audio-overlay:hover {
    transform: scale(1.08);
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  }
}

/* ====== RESPONSIVO ====== */

/* Tablets / telas médias */
@media (max-width: 900px) {
  .buttons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .header {
    padding: 12px 0;
  }

  .logo {
    font-size: 1.2rem;
    text-align: center;
  }

  .container {
    text-align: center;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-description {
    margin: 0 auto;
    max-width: 90%;
  }

  /* BOTÕES EMPILHADOS E CENTRALIZADOS */
  .buttons-grid {
    grid-template-columns: 1fr;  /* empilhado no mobile */
    gap: 12px;
    justify-items: center;
  }

  .image-button {
    width: 100%;
    max-width: 360px;
    border-radius: 16px;
  }
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0 16px;
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.7;
  background: #050608; /* garante fundo sólido sobre o conteúdo */
  z-index: 9;
}