/* ===== RESET GERAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  background-color: var(--neutral-lightest);
  color: var(--font-color);
  min-height: 100vh;
}

/* ===== HERO (TOPO) ===== */
.hero-destaque {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: url('/img/image.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  color: white;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: 1;
}

.hero-destaque::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom,
    rgba(24, 24, 24, 0) 0%,
    rgba(24, 24, 24, 0.2) 30%,
    rgba(24, 24, 24, 0.5) 60%,
    rgba(24, 24, 24, 0.8) 85%,
    #181818 100%);
  z-index: 2;
}

.hero-conteudo {
  max-width: 500px;
  z-index: 2;
  padding-top: 80px;
  padding-left: 24px;
  padding-right: 24px;
  text-align: left;
  justify-content: flex-start;
}

.hero-conteudo h1 {
  font-size: 58px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-conteudo p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

/* ===== CONTAINER GERAL DA PÁGINA ===== */
.eventos-principais {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== BOTÕES DAS LOJAS ===== */
.botoes-lojas {
  display: flex;
  gap: 15px;
}

.btn-loja {
  padding: 12px 24px;
  border-radius: 30px;
  background-color: white;
  color: black;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-loja:hover {
  background-color: #ddd;
}

.btn-loja.apple::before {
  content: " ";
}

.btn-loja.google::before {
  content: "▶ ";
}

/* ===== MOBILE: AJUSTES GERAIS ===== */
@media (max-width: 768px) {
  .hero-destaque {
    align-items: flex-start;
  }

  .hero-conteudo {
    padding-top: 80px;
    padding-left: 24px;
    padding-right: 24px;
    text-align: left;
  }

  .hero-conteudo h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  #manifesto-texto {
    font-size: 18px;
  }
}

/* ===== EVENTOS EM DESTAQUE (CARROSSEL) ===== */
@media (max-width: 768px) {
  .eventos-grid:not(.proximos-eventos) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 12px 16px;
  }

  .eventos-grid:not(.proximos-eventos) .evento-card {
    min-width: 85%;
    width: 85%;
    flex: 0 0 auto;
    scroll-snap-align: start;
    background-color: #222;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: white;
    transition: transform 0.2s ease-in-out;
    max-width: 100%;
  }

  @media (max-width: 400px) {
    .eventos-grid:not(.proximos-eventos) .evento-card {
      min-width: 95%;
      width: 95%;
    }
  }

  .eventos-grid:not(.proximos-eventos) .evento-card:hover {
    transform: scale(1.02);
  }

  .eventos-grid:not(.proximos-eventos)::-webkit-scrollbar {
    display: none;
  }

  .evento-card img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
  }

  .evento-info {
    padding: 12px;
    max-width: 100%;
  }

  .evento-info-name {
    font-weight: 600;
    font-size: 16px;
  }

  .evento-info-data,
  .evento-info-local {
    font-size: 14px;
    color: #ccc;
  }
}

/* ===== PRÓXIMOS EVENTOS (GRID COM 2 COLUNAS) ===== */
@media (max-width: 768px) {
  .eventos-grid.proximos-eventos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .eventos-grid.proximos-eventos .evento-card.restante {
    display: block;
    width: 100%;
    min-width: auto;
    height: auto;
    flex: initial;
    scroll-snap-align: none;
    background-color: #222;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: white;
    max-width: 100%;
  }

  .eventos-grid.proximos-eventos .evento-card.restante img {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
  }

  .eventos-grid.proximos-eventos .evento-info {
    padding: 12px;
    max-width: 100%;
  }

  .eventos-grid.proximos-eventos .evento-info-name {
    font-weight: 600;
    font-size: 16px;
  }

  .eventos-grid.proximos-eventos .evento-info-data,
  .eventos-grid.proximos-eventos .evento-info-local {
    font-size: 14px;
    color: #ccc;
  }
}

/* ===== EXTRA: 1 COLUNA EM TELAS MUITO PEQUENAS ===== */
@media (max-width: 400px) {
  .eventos-grid.proximos-eventos {
    grid-template-columns: 1fr;
  }
}
