/* ==========================================================================
   Layout: cabeçalho, hero e rodapé
   ========================================================================== */

/* Cabeçalho ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-header);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  /* No original o grupo logo + menu + redes fica ancorado à direita (121px da borda, 1344px de largura) */
  width: min(1344px, 100% - 145px);
  margin: 0 121px 0 auto;
}

.site-header__brand img {
  width: auto;
  height: 60px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav__list {
  display: flex;
  align-items: center;
}

.site-nav__link {
  display: block;
  width: 152px;
  padding: 14px 0;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  transition: color 150ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--color-accent);
}

.site-nav__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.site-nav__social img {
  width: 27px;
  height: 27px;
}

.nav-toggle,
.nav-close {
  display: none;
}

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 393px;
  padding: 40px var(--side);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.74);
}

.hero__title {
  max-width: 905px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 58px;
  line-height: 1.4;
  text-align: center;
}

/* Rodapé ------------------------------------------------------------------- */

.site-footer {
  padding: 120px var(--side) 0;
  text-align: center;
}

.site-footer__title {
  font-size: 62px;
}

.site-footer__contact {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 30px 60px;
  margin-top: 60px;
  text-align: left;
  font-family: var(--font-detail);
  font-style: normal;
  font-size: 12px;
}

.site-footer__item {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 2;
}

.site-footer__item svg {
  flex: none;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.site-footer__item a {
  text-underline-offset: 3px;
}

.site-footer__social {
  display: flex;
  gap: 14px;
}

.site-footer__social img {
  width: 38px;
  height: 38px;
}

.site-footer__legal {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 130px;
  color: var(--color-muted);
  font-size: 10px;
}

.site-footer__brand {
  margin: 28px calc(var(--side) * -1) 0;
  padding: 18px 0;
  border-top: 2px solid var(--color-white);
}

.site-footer__brand img {
  width: 170px;
  height: auto;
  margin: 0 auto;
}
