/* paleta */
:root {
  --terra: #b5623b;
  --argila: #d08a61;
  --areia: #e6d4c3;
  --creme: #f5efe8;
  --marrom: #5c3b2b;
  --texto: #2b221d;
}

/* base */
body {
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--creme);
  color: var(--texto);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

/* largura geral da página */
#quarto-content {
  width: calc(100vw - 2rem) !important;
  max-width: none !important;
  margin-left: 1rem !important;
  margin-right: 0 !important;
  padding: 1rem 0 3rem 0 !important;
}

#quarto-document-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

main.content,
.quarto-container,
.page-columns,
.page-layout-article {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* títulos */
h1, h2, h3, h4 {
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--marrom);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.7rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

/* texto */
p {
  margin-bottom: 1.05rem;
}

/* links */
a {
  color: var(--terra);
  text-decoration: none;
}

a:hover {
  color: var(--marrom);
  text-decoration: underline;
}

/* navbar */
.navbar {
  background-color: #f7f1eb;
  border-bottom: 1px solid var(--areia);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.navbar > .container,
.navbar > .container-fluid {
  max-width: none !important;
  width: calc(100vw - 2rem) !important;
  margin-left: 1rem !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.navbar-brand,
.navbar-nav .nav-link {
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--marrom) !important;
  font-weight: 600;
}

/* hero */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(620px, 820px) minmax(360px, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin: 0.5rem 0 2.5rem 0;
}

.hero-photo {
  width: 100%;
  min-width: 0;
}

.hero-image {
  width: 100%;
  height: 860px;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  display: block;
}

.hero-text {
  max-width: none;
  min-width: 0;
  padding-top: 0.2rem;
}

.hero-text h1 {
  margin: 0 0 0.8rem 0;
  font-size: 3.35rem;
  line-height: 1.02;
}

.hero-text p {
  font-size: 1.08rem;
  line-height: 1.68;
  margin-bottom: 1rem;
}

/* mobile */
@media (max-width: 1100px) {
  #quarto-content {
    width: calc(100vw - 1rem) !important;
    margin-left: 0.5rem !important;
    padding-top: 1rem !important;
  }

  .navbar > .container,
  .navbar > .container-fluid {
    width: calc(100vw - 1rem) !important;
    margin-left: 0.5rem !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-image {
    height: auto;
    max-height: none;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.02rem;
  }
}