/* ==========================================================================
   Layout: container, cabeçalho, hero, seções e rodapé
   ========================================================================== */

.container {
  width: min(var(--content), calc(100% - (var(--side) * 2)));
  margin-inline: auto;
}

/* Cabeçalho ---------------------------------------------------------- */
/* Em fundo branco, no topo da página; rola junto com o conteúdo, como no original */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 14vw);
  min-height: var(--header-height);
  margin-inline: auto;
}

.site-header__brand {
  display: block;
  flex: none;
  line-height: 0;
}

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

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

.site-nav__link {
  display: block;
  padding: 10px 16px;
  color: var(--color-text);
  font-family: var(--font-nav);
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 20px;
  text-decoration: none;
  transition: color 170ms ease-in-out;
}

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

.site-nav__link--button {
  width: 130px;
  margin-left: 8px;
  padding: 17px 0;
  text-align: center;
  border: 1px solid var(--color-text);
  letter-spacing: 0;
  transition: background-color 170ms ease-in-out, color 170ms ease-in-out;
}

.site-nav__link--button:hover {
  background: var(--color-text);
  color: var(--color-white);
}

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

/* Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 574px;
  padding: 72px 0;
  background: var(--color-media);
  color: var(--color-white);
}

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

.hero__title {
  max-width: 61.8vw;
  margin-inline: auto;
  color: var(--color-white);
  font-size: 56px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
}

/* Seções ------------------------------------------------------------- */
.section {
  position: relative;
}

.section--about {
  overflow: hidden;
  padding: var(--pad-about) 0;
}

/* Marca do logo, desbotada e cortada pela seção. Posição e tamanho medidos no
   original em proporção da largura: centro em 102% da largura e 22% abaixo do
   topo, lado de 43%, girada em −84° e com 13% de opacidade. */
.section--about::before {
  content: "";
  position: absolute;
  top: 0.96vw;
  left: 80.85%;
  z-index: -1;
  width: 43%;
  aspect-ratio: 1;
  background: url("/assets/img/brand/mark.svg") center / contain no-repeat;
  opacity: 0.13;
  transform: rotate(-84deg);
  pointer-events: none;
}

.section--goals {
  padding: 3.5vw 0;
  background: var(--color-surface);
}

.section--partners {
  padding: 5.74vw 0 3.74vw;
}

/* Rodapé ------------------------------------------------------------- */
/* Colunas posicionadas em proporção da largura da tela, como no original:
   contato em 5%, menu em 33% e formulário em 49%. */
.site-footer {
  padding-top: 5.5vw;
  background: var(--color-white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 29.2% 17.4% 48.9%;
  padding-left: 5.14%;
}

.site-footer__contact,
.site-footer__menu {
  padding-top: 0.68vw;
}

.site-footer__logo {
  display: block;
  width: 205px;
  height: auto;
}

.site-footer__map {
  width: 285px;
  max-width: 100%;
  height: 266px;
  margin: 27px 0 26px;
  background: #e5e3df;
}

.site-footer__address {
  font-size: 14px;
  font-style: normal;
  line-height: 19.6px;
}

.site-footer__address {
  max-width: 307px;
}

.site-footer__address p + p {
  margin-top: 19.6px;
}

.site-footer__address p + p + p {
  margin-top: 5px;
}

.site-footer__address a {
  text-decoration: none;
}

.site-footer__address a:hover {
  text-decoration: underline;
}

.site-footer__title {
  font-size: calc(20.9px + 0.357vw);
  line-height: 30px;
}

.site-footer__menu {
  max-width: 11.25vw;
  min-width: 120px;
}

.site-footer__menu .site-footer__title {
  margin-bottom: 16px;
}

.site-footer__menu .site-footer__list + .site-footer__title {
  margin-top: 60px;
  line-height: 30px;
}

.site-footer__list a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.site-footer__list a:hover {
  text-decoration: underline;
}

.site-footer__list--social li {
  line-height: 32px;
}

.site-footer__list--social a {
  padding: 0;
  font-size: 14.5px;
  text-decoration: underline;
}

.site-footer__list--social a:hover {
  text-decoration: none;
}

.site-footer__form .site-footer__title {
  margin-bottom: 53px;
}

.site-footer__bar {
  position: relative;
  height: 93px;
  margin-top: 38px;
  font-size: 12px;
  line-height: 18px;
}

.site-footer__bar a {
  text-decoration: none;
}

.site-footer__bar a:hover {
  text-decoration: underline;
}

.site-footer__legal,
.site-footer__copy {
  position: absolute;
  top: 0;
}

.site-footer__legal {
  left: 3.75%;
  display: flex;
  gap: 8px 3.4vw;
}

.site-footer__copy {
  left: 49.2%;
}
