:root {
  --ink: #131313;
  --surface: #fff;
  --paper: #f5f5f3;
  --muted: #515151;
  --prime: #c33618;
  --line: #deded9;
  --heading: Montserrat, system-ui, sans-serif;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p { margin: 0; }
img { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--prime); outline-offset: 5px; }
.shell { width: min(100% - 36px, 1060px); margin-inline: auto; }

.masthead { background: var(--ink); color: #eee; }
.masthead-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.masthead img { width: 140px; height: auto; }
.masthead p { text-align: right; font-size: .82rem; font-weight: 600; }

main { padding-block: clamp(30px, 5vw, 62px) clamp(26px, 5vw, 52px); }
.intro { margin-bottom: clamp(21px, 3vw, 30px); }
.intro h1 {
  font-family: var(--heading);
  font-size: clamp(2.05rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.058em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.intro p { color: var(--muted); margin-top: 11px; font-size: clamp(.95rem, 2vw, 1.1rem); line-height: 1.5; }

nav { display: grid; gap: 16px; }
.route {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
}
.route-copy { min-width: 0; }
.route h2 {
  font-family: var(--heading);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.route p { margin-top: 8px; color: var(--muted); line-height: 1.48; font-size: .94rem; }
.action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  color: var(--prime);
  font-size: .9rem;
  font-weight: 700;
}
.action > span { font-size: 1.18em; font-weight: 400; }
.route:hover .action, .route:focus-visible .action { text-decoration: underline; text-underline-offset: 3px; }

.route-vistoria {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  min-height: 300px;
  background: var(--ink);
  color: var(--surface);
}
.route-vistoria .route-copy { align-self: center; padding: clamp(22px, 4vw, 45px); }
.route-vistoria h2 { font-size: clamp(1.62rem, 3.8vw, 2.82rem); }
.route-vistoria p { max-width: 42ch; color: #e1e1df; }
.route-vistoria .action {
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 7px;
  background: var(--prime);
  color: white;
}
.feature-photo { position: relative; min-height: 100%; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 45%; }

.other-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.other-routes .route {
  grid-template-columns: minmax(0, 1fr) clamp(106px, 15vw, 178px);
  align-items: center;
  min-height: 210px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.other-routes .route-copy { padding: 22px 0 22px 23px; }
.other-routes h2 { font-size: clamp(1.15rem, 2.3vw, 1.6rem); }
.other-routes img { width: 100%; height: auto; }
.other-routes .route-guia { border-color: #ebd4c7; background: #fff3ea; }
.route-guia img { padding: 11px; }
.free { display: inline-block; margin-bottom: 6px; color: #9c2c15; font-size: .77rem; font-weight: 700; }
.other-routes .route-blog { position: relative; }
.route-blog img { aspect-ratio: 1; object-fit: cover; border-radius: 50% 0 0 50%; }

@media (max-width: 780px) {
  .masthead-inner { min-height: 60px; }
  .masthead img { width: 124px; }
  .other-routes { grid-template-columns: 1fr; gap: 12px; }
  .other-routes .route { min-height: 0; grid-template-columns: minmax(0, 1fr) clamp(104px, 31vw, 166px); }
  .other-routes .route-copy { padding: 16px 1px 16px 16px; }
  .other-routes .route p { font-size: .87rem; }
  .other-routes .action { margin-top: 11px; }
}
@media (max-width: 580px) {
  nav { gap: 12px; }
  .route-vistoria { min-height: 0; grid-template-columns: minmax(0, 1fr) 30%; }
  .route-vistoria .route-copy { padding: 20px 12px 20px 16px; }
  .route-vistoria .action { padding-inline: 10px; font-size: .85rem; }
  .feature-photo img { object-position: 78% center; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 28px); }
  .route-vistoria { grid-template-columns: minmax(0, 1fr) 26%; }
  .other-routes .route { grid-template-columns: minmax(0, 1fr) 86px; }
}
