﻿@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: #111111;
}

.container {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #E6E3D6;
  color: #262624;
  margin: 0 auto;
  max-width: 95vw;
}

.menu {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.6rem 2rem;
  background-color: #E6E3D6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: min(1235px, 100vw);
  margin: 0 auto;
}

.menu .menu-icon {
  width: 70px;
  display: block;
}

.logo-do-menu {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  font-family: 'Instrument Sans', sans-serif;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  width: 32px;
  height: 32px;
  padding: 0.45rem;
  background-color: rgba(209, 171, 114, 0.08);
  border: 1px solid rgba(107, 62, 30, 0.18);
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hamburger:hover {
  background-color: rgba(196, 122, 12, 0.14);
  border-color: rgba(107, 62, 30, 0.3);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #6b3e1e;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.itens-do-menu {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}

.itens-do-menu li {
  margin: 0;
  padding: 0 0 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.itens-do-menu li.active {
  border-bottom: 3px solid #c47a0c;
}

.itens-do-menu li.active a {
  color: #c47a0c;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.itens-do-menu a {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: none;
}

#mat-de-apoio-media {
  display: none;
}

header {
  display: grid;
  grid-template-columns: 45% 55%;
  /* grid-template-rows: auto auto auto; */
  align-items: start;
  width: min(100%, 1200px);
  max-width: min(1200px, 100vw);
  margin: 0 auto;
  box-sizing: border-box;
}

#titulo {
  grid-area: 1 / 1;
  width: 100%;
}

#logo {
  display: block;
  width: min(100%, 480px);
  height: auto;
}

#logo-media {
  display: none;
  width: min(100%, 480px);
  height: auto;
}

#slogan {
  grid-area: 2 / 1;
  font-size: 1.15rem;
  margin: 0;
  padding: 0 0 0 7%;
}

#mensagem {
  grid-area: 3 / 1;
  line-height: 1.35;
  padding: 0 5% 0 7%;
}

.cards-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(70px, 1fr));
  gap: 0.45rem;
  grid-area: 1 / 2 / 4 / 3;
  padding: 3%;
  box-sizing: border-box;
}

.card {
  background: rgba(221, 217, 201, 0.8);
  border: 2px solid transparent;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  padding: 1% 12%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
  border-color: #c47a0c;
  cursor: pointer;
}

.card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.5rem 0 0.25rem;
  border-bottom: 2px solid rgba(107, 62, 30, 0.2);
  padding-bottom: 0.25rem;
}

.card:hover h4 {
  color: #c47a0c;
  transition: color 0.2s ease;
  cursor: pointer;
}

#card-jogos {
  padding: 0 1% 1% 0.25rem;
}

.icone {
  font-size: 1rem;
  margin-top: auto;
  margin-bottom: 1%;
}

footer {
  margin-top: 2rem;
}

.footer-site {
  background-color: #111111;
  color: #d9d2c1;
  font-family: 'Instrument Sans', sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: min(1235px, 100vw);
  margin: 0 auto;
}

.footer-social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  color: #ece5d7;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social-link:last-child {
  border-right: 0;
}

.footer-social-link:hover {
  background-color: #1d1d1d;
  color: #ffffff;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7rem;
  padding: 2.5rem 2rem;
}

.footer-column h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8f8a7d;
  margin: 0 0 1rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-column a {
  color: #cfc6b6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 2rem 1.5rem;
  color: #8f8a7d;
}

/* ****************** - HISTÓRIAS - ********************** */

.container-de-historias {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  width: min(100%, 1200px);
  margin: 1.5rem auto;
  padding: 3%;
  box-sizing: border-box;
}

.historias {
  background: rgba(221, 217, 201, 0.8);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 1% 2%;
  aspect-ratio: 3 / 4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc((100% - (5 * 0.45rem)) / 6);
  min-width: 0;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.historias:hover {
  transform: scale(1.05);
  border-color: #c47a0c;
  cursor: pointer;
}

.historias a {
  display: block;
  color: inherit;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.5rem 0 0.25rem;
  border-bottom: 2px solid rgba(107, 62, 30, 0.2);
  padding-bottom: 0.25rem;
}

.historias:hover a {
  color: #c47a0c;
}

/* ****************** - JOGOS - ********************** */

.container-de-jogos {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  list-style: none;
  width: min(100%, 1200px);
  margin: 1.5rem auto;
  padding: 3%;
  box-sizing: border-box;
}

.jogos {
  background: rgba(221, 217, 201, 0.8);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 1% 2%;
  aspect-ratio: 3 / 4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc((100% - (5 * 0.45rem)) / 6);
  min-width: 0;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.jogos:hover {
  transform: scale(1.05);
  border-color: #c47a0c;
  cursor: pointer;
}

.jogos a {
  display: block;
  color: inherit;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.5rem 0 0.25rem;
  border-bottom: 2px solid rgba(107, 62, 30, 0.2);
  padding-bottom: 0.25rem;
}

.jogos:hover a {
  color: #c47a0c;
}