:root {
  --petroleo: #1f393c;
  --escuro: #1d2d2d;
  --papel: #f9faf6;
  --frio: #eaf2ef;
  --texto: #1a2e2d;
  --secundario: #485c58;
  --linha: #cbdad5;
  --destaque: #28655f;
  --serifada: Georgia, "Times New Roman", serif;
  --interface: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papel); color: var(--texto); font: 1rem/1.65 var(--interface); }
h1, h2, p { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
a:focus-visible { outline: 3px solid #2c766b; outline-offset: 3px; }
.topo a:focus-visible, .local a:focus-visible { outline-color: #d2f3eb; }

.pular { position: fixed; z-index: 4; inset: .5rem auto auto .5rem; transform: translateY(-150%); background: #fff; padding: .55rem .85rem; }
.pular:focus { transform: none; }
.topo { background: var(--petroleo); color: #fbfffc; }
.cabecalho { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1.5rem; align-items: center; padding-block: .9rem .5rem; }
.marca {
  display: inline-flex;
  min-width: 44px;
  min-height: 55px;
  align-items: center;
  justify-self: start;
  color: #fff;
  font: 400 clamp(1.7rem, 3vw, 2.55rem)/1 var(--serifada);
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}
nav { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: .25rem 1.3rem; }
nav a, .link-editorial, .acao { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; gap: .7rem; }
nav a { padding-inline: .2rem; color: #f4fcfa; font-size: .76rem; font-weight: 650; letter-spacing: .105em; text-transform: uppercase; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .4em; }
.acao {
  justify-content: space-between;
  padding: .55rem .85rem;
  border: 1px solid #d7eee9;
  color: #fbfffc;
  background: transparent;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 725;
  transition: background .2s ease, color .2s ease;
}
.acao:hover { background: #daf1eb; color: var(--escuro); }
.acao-clara { background: #d2ede6; color: #163330; }

.capa {
  display: block;
  height: clamp(450px, 50vw, 660px);
  overflow: hidden;
  background: #26312e;
}
.capa img { height: 100%; object-fit: cover; object-position: 50% 42%; }

.abertura, .portfolio, .modelos, .local-grade { padding-block: clamp(3rem, 7vw, 7rem); }
.abertura p, .modelos p { max-width: 48ch; margin-block: 1.1rem .8rem; color: var(--secundario); }
h1, h2 {
  max-width: 20ch;
  color: var(--escuro);
  font-family: var(--serifada);
  font-weight: 400;
  letter-spacing: -.047em;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { max-width: 16ch; font-size: clamp(2.5rem, 5.1vw, 5.3rem); }
h2 { font-size: clamp(2rem, 3.85vw, 3.95rem); }
.link-editorial {
  color: #285d56;
  font-size: .86rem;
  font-weight: 740;
  text-decoration: underline;
  text-underline-offset: .35em;
  transition: color .22s ease;
}
.link-editorial:hover { color: #1c3b36; }

.portfolio { border-block: 1px solid var(--linha); background: var(--frio); }
.secao-titulo { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .7rem 2rem; margin-bottom: 1.7rem; }
.imagens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.5vw, 1.4rem);
}
.imagens img { aspect-ratio: 1; object-fit: cover; background: #c7d8d4; }

.modelos { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: clamp(1.75rem, 6vw, 6rem); }
.lista-modelos { margin: 0; border-top: 1px solid var(--linha); }
.lista-modelos div { padding: 1.07rem .1rem; border-bottom: 1px solid var(--linha); }
.lista-modelos dt { font: 400 1.44rem/1.15 var(--serifada); }
.lista-modelos dd { margin: .5rem 0 0; color: var(--secundario); }

.local { background: var(--petroleo); color: #edf6f4; }
.local h2, .local .link-editorial { color: white; }
.local .link-editorial:hover { color: #d0eae5; }
.local-grade { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem 2rem; }
.local p { max-width: 39ch; margin-top: 1rem; color: #dfefeb; }
address { margin-top: .95rem; color: #f2fbf8; font-style: normal; }
.destinos { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.1rem; }
.rodape { background: #eff5f0; }
.rodape .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 78px; gap: .6rem; font-weight: 650; }

@media (prefers-reduced-motion: no-preference) {
  .capa img { animation: chegada .5s ease-out both; }
  @keyframes chegada { from { opacity: .65; } to { opacity: 1; } }
}

@media (max-width: 780px) {
  .local-grade { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .cabecalho { padding-block: .4rem .25rem; gap: .23rem .45rem; }
  .marca { min-height: 54px; }
  nav { justify-content: space-between; gap: .25rem .5rem; border-top: 1px solid #587775; }
  nav a { font-size: .67rem; }
  .acao-topo { font-size: .78rem; padding-inline: .65rem; }
  .capa { height: clamp(355px, 93vw, 540px); }
  .capa img { object-position: 50% 47%; }
  .imagens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .imagens img:first-child { grid-column: 1 / -1; aspect-ratio: 1.45; object-position: 50% 40%; }
  .modelos { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
