@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background-color: #212226;
  color: #ffffff;
}

/* HEADER */
.header {
  background-color: #212226;
  border-bottom: 1px solid #2c2d32;
}

.logo {
  max-width: 100px;
}

.nav-link {
  color: #CFF250;
}

.nav-link.active,
.nav-link:hover {
  color: #ffffff;
}

/* HERO */
.hero-multiverso {
  height: 490px;
  background: url("../imagens/multiverso.jpg") center center no-repeat;
  background-size: cover;
  position: relative;

  display: flex;
  align-items: flex-end;   /* joga o conteúdo para baixo */
}

.hero-multiverso::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,14,16,.35), rgba(14,14,16,.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 1px; /* distância do fundo */
  width: 100%;
}

.hero-content p {
  color: #CFF250;
  font-size: 1.2rem;
}

/* SECTIONS */
.section-dark {
  background-color: #212226;
  padding: 90px 0;
}

.section-light {
  background-color: #ffffff;
  color: #212226;
  padding: 90px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.section-text {
  max-width: 750px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.highlight {
  color: #CFF250;
  font-weight: 700;
}

/* ICON GRID - ESTILO ORIGINAL DO MULTIVERSO (OVERRIDE DEFINITIVO) */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* CARD COMO LINK */
.icon-grid a.icon-card {
  display: flex;                /* antes era block */
  flex-direction: column;
  align-items: center;          /* centraliza horizontal */
  justify-content: center;      /* centraliza vertical */
  text-align: center;           /* centraliza texto */

  padding: 20px;
  background: #1A1A1F;
  border: 1px solid #2A2A2E;
  border-radius: 12px;
  transition: .3s ease;
  text-decoration: none;

  color: #EAEAEA !important;
}

/* REMOVE HERANÇA DE LINK */
.icon-grid a.icon-card * {
  color: inherit;
}

.icon-grid a.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,.6);
}

/* TÍTULO */
.icon-grid a.icon-card .icon-title {
  color: #CFF250 !important;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 8px;
}

/* TEXTO */
.icon-grid a.icon-card .icon-text {
  font-size: 0.9rem;
  opacity: .85;
  color: #CFF250 !important;
}

/* BUTTON */
.btn-cta {
  background-color: #CFF250;
  color: #212226;
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

/* FOOTER */
.footer-icons a {
  color: #CFF250;
  font-size: 1.6rem;
  margin: 0 10px;
}

/* MOBILE */
@media (max-width: 768px) {

  .hero-multiverso {
    height: 220px;
  }

  .hero-content {
    padding-bottom: 15px;
  }

  .hero-content h1 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 0.75rem;
    line-height: 1.1;
    max-width: 90%;
    margin: 0 auto;
  }

}

/* ANIMAÇÃO SUAVE DO HERO */
.hero-content {
  animation: heroFadeUp 20.7s ease-out both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-dark p,
.section-light p {
  max-width: 820px;
}
