/* -----------------------------
   FONTES EXTERNAS
------------------------------ */
@import url("https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* -----------------------------
   RESET E CONFIGURAÇÕES GERAIS
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #23272a;
  font-family: "Open Sans", Arial, sans-serif;
}

/* -----------------------------
   HEADER
------------------------------ */
header {
  background-image: url(./images/inicio.png);
  background-position: center;
  background-size: cover;
  text-align: center;
  padding: 1rem;
}

header .inicio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  color: white;
  margin: 6rem 0 5rem 0;
}

header .titulo-inicio {
  font-size: 4rem;
  font-family: "Luckiest Guy";
  font-weight: 200;
}

header .titulo-inicio span {
  display: block;
  position: relative;
  top: -0.5rem;
}

header p {
  font-size: 1.2rem;
  width: 65%;
}

/* Botões do topo */
header .botoes-inicio {
  display: flex;
  flex-direction: row;
}

header .botoes-inicio button {
  margin: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* Botão escuro */
header .botoes-inicio .open-discord-navegador {
  background-color: #23272a;
  color: white;
  border: 2px solid white;
  transition: 0.2s all ease-in-out;
}

header .botoes-inicio .open-discord-navegador:hover {
  background-color: #333333;
  /* transform: scale(1.01); */
}

/* Botão branco */
header .botoes-inicio .download-discord {
  background-color: white;
  /* border: 2px solid #23272a; */
  transition: 0.2s all ease-in-out;
}

header .botoes-inicio .download-discord:hover {
  background-color: rgb(226, 226, 226);
  /* transform: scale(1.01); */
}

/* -----------------------------
   SESSÕES (SECTION)
------------------------------ */
section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section img {
  max-width: 607px;
  width: 100%;
  transition: 0.5s all ease;
}
section img:hover {
  transform: scale(1.02);
}

/* Estilos de cor alternadas para seções */
.secao-1 {
  background-color: white;
}
.secao-2 {
  background-color: #f0f0f0;
}
.secao-3 {
  background-color: white;
}
.secao-4 {
  background-color: #f0f0f0;
}

/* -----------------------------
   CONTEÚDO DAS SEÇÕES
------------------------------ */
article {
  display: grid;
  max-width: 1000px;
  margin: 2rem;
}

article h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 1.2rem 0;
}

/* Conteúdo lado a lado (grid) */
.conteudo-secao-1,
.conteudo-secao-2,
.conteudo-secao-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* Reorganiza imagem da seção 2 */
.conteudo-secao-2 img {
  display: grid;
  grid-area: 1 / 2;
}

/* Seção final estilizada centralizada */
.conteudo-secao-4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin: 3rem 0 1rem 0;
}

.conteudo-secao-4 h2 {
  font-family: "Luckiest Guy";
  font-weight: 200;
  font-size: 2.3rem;
}

.conteudo-secao-4 h2 span {
  display: block;
}

/* -----------------------------
   FOOTER
------------------------------ */
footer {
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: -1rem;
  justify-items: center;
}
.logo-titulo {
  display: flex;
  align-items: center;
}

footer svg {
  width: 1.6rem;
  margin: 0 0.5rem 0 0;
}

footer .redes-sociais {
  grid-area: 2;
  /* background-color: #474747; */
  border-radius: 50px;
}

footer .redes-sociais a img {
  width: 60px;
  border-radius: 50%;
  background-color: #474747;
  margin: 0.5rem;
  transition: 0.5s all ease;
}

footer .redes-sociais a img:hover {
  filter: drop-shadow(0 0 2px white);
}

/* -----------------------------
   RESPONSIVIDADE (MOBILE)
------------------------------ */
@media (max-width: 768px) {
  header {
    max-width: 1400px; /* opcional, pode remover */
  }

  header .titulo-inicio {
    font-size: 3.5rem;
  }

  header p {
    width: 90%;
    font-size: 1rem;
  }

  header .botoes-inicio {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  header .botoes-inicio button {
    width: 100%;
  }

  section img {
    width: 100%;
    max-width: 420px;
    margin: auto;
  }

  article {
    margin: 2rem 0 3rem 0;
    text-align: center;
    max-width: 600px;
  }

  .conteudo-secao-1,
  .conteudo-secao-2,
  .conteudo-secao-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .conteudo-secao-2 img {
    grid-area: auto;
  }

  .conteudo-secao-4 h2 {
    font-size: 2.3rem;
    padding: 0 1rem;
  }

  footer {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  footer svg {
    margin: 0 0.5rem 0 0;
  }
}
