@font-face {
  font-family: "Montserrat";
  src: url("assets/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #4d4a4a;
  --charcoal-dark: #343232;
  --copper: #a35929;
  --copper-dark: #85451f;
  --paper: #f7f6f3;
  --gray: #dededb;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--charcoal-dark);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.5;
}

.hero {
  min-height: 420px;
  padding: 54px 24px 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(28, 24, 22, .60), rgba(38, 33, 30, .82)),
    url("assets/colunas.jpg") center 48% / cover no-repeat;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

.eyebrow, .kicker, .type, .footer-brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: .13em;
}

.eyebrow { font-size: 13px; }

h1 {
  max-width: 760px;
  margin: 18px auto 10px;
  font-size: clamp(38px, 8vw, 68px);
  line-height: 1.04;
}

.intro {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 3vw, 20px);
}

.library {
  width: min(980px, calc(100% - 32px));
  margin: -34px auto 0;
  padding: 38px 0 70px;
}

.section-heading {
  padding: 0 8px 28px;
  text-align: center;
}

.kicker, .type { color: var(--copper); font-size: 12px; }

h2 {
  margin: 8px auto 0;
  max-width: 740px;
  color: var(--charcoal);
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.2;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(52, 50, 50, .12);
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  object-position: top center;
  background: var(--gray);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

h3 {
  margin: 8px 0 10px;
  color: var(--charcoal-dark);
  font-size: 22px;
  line-height: 1.22;
}

.meta {
  margin: 0 0 24px;
  color: #706d6d;
  font-size: 14px;
}

.button {
  margin-top: auto;
  display: block;
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--copper);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: background .18s ease, transform .18s ease;
}

.button:hover, .button:focus-visible {
  background: var(--copper-dark);
  transform: translateY(-1px);
}

footer {
  padding: 34px 24px 38px;
  color: rgba(255,255,255,.72);
  background: var(--charcoal-dark);
  text-align: center;
  font-size: 12px;
}

.footer-brand { margin-bottom: 8px; color: var(--white); }

footer p:last-child { margin: 0; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .card { max-width: 560px; width: 100%; margin: 0 auto; }
  .card img { aspect-ratio: 1.55 / 1; }
}

@media (max-width: 520px) {
  .hero {
    min-height: 390px;
    padding-top: 42px;
    background-position: center 42%;
  }
  .library { width: min(100% - 22px, 560px); }
  .card-body { padding: 21px; }
  h3 { font-size: 20px; }
}
