/* Garage Club — site institucional
   Tipografia de título: Instrument Serif (OFL), em assets/fonts/
   Laranja (#E67E22) aparece no emblema e num fio curto de kicker. */

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

@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #141311;
  --bg-raise: #1c1a18;
  --burgundy: #5a1827;
  --burgundy-hover: #722033;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --soft: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.1);
  --orange: #e67e22;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --header: 4.5rem;
  --max: 72rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

/* backdrop-filter cria um bloco que prende o menu fixo dentro do cabeçalho. */
body.nav-open .site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

::selection {
  background: var(--burgundy);
  color: #ffffff;
}

[id] {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  background: var(--burgundy);
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.4rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.wrap-wide {
  width: min(82rem, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(20, 19, 17, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #ffffff;
  flex: 0 0 auto;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: #ffffff;
  align-items: center;
  justify-content: center;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms ease;
}

.nav-list a:hover {
  color: #ffffff;
}

.nav-list a[aria-current="page"],
.nav-list a[aria-current="true"] {
  color: #ffffff;
  box-shadow: inset 0 -1px 0 var(--burgundy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  min-height: 0;
  padding-top: clamp(3.25rem, 7vh, 5rem);
  padding-bottom: clamp(2.75rem, 5vh, 4rem);
}

@media (min-width: 981px) {
  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    padding-top: clamp(3.75rem, 6.5vh, 5.25rem);
    padding-bottom: clamp(3rem, 5vh, 4.25rem);
  }
}

.eyebrow {
  margin-bottom: 1.15rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}

.kicker-mark::after {
  content: "";
  display: block;
  width: 1.65rem;
  height: 2px;
  margin-top: 0.8rem;
  background: var(--orange);
}

.hero h1,
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 6.2vw, 6.15rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.hero h1 em,
.page-hero h1 em {
  font-style: italic;
}

.lede {
  max-width: 38rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: -0.011em;
  border: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.btn-primary {
  background: var(--burgundy);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--burgundy-hover);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.hero-aside {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--soft);
  font-size: 0.95rem;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: background-size 200ms ease, color 200ms ease;
}

.hero-aside:hover {
  color: #ffffff;
  background-size: 100% 1px;
}

/* IMAGE_PLACEHOLDER: o elemento .frame reserva espaço para fotografia oficial. */
.frame {
  position: relative;
  margin: 0;
  min-height: 24rem;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #161311;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero .frame {
  min-height: min(72vh, 44rem);
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.4), transparent);
  pointer-events: none;
}

.frame figcaption {
  position: absolute;
  z-index: 1;
  left: 1rem;
  bottom: 0.75rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.frame-quiet figcaption,
.frame-quiet::after {
  display: none;
}

/* Imagens finais em assets/images. Enquanto o src for o placeholder SVG,
   estas regras repetem o enquadramento de .frame e nao mudam o desenho.
   O WebP entra como <source> dentro de <picture> somente quando o arquivo existir.
   object-position sai de --image-position (padrao: center). */
.image-frame {
  --image-position: center;
  border-radius: 1.35rem;
  overflow: hidden;
}

.image-frame picture {
  display: contents;
}

.page-hero-image,
.editorial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, center);
}

/* A fotografia do hero é 16:9. O quadro acompanha essa proporção
   para o carro permanecer inteiro, com object-fit: cover. */
.hero .frame.image-frame {
  --image-position: center;
  min-height: 0;
  aspect-ratio: 1024 / 576;
}

.classificados-hero {
  --image-position: center 50%;
}

.mercado-hero {
  --image-position: center 62%;
}

.servicos-hero {
  --image-position: center 58%;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.sobre-hero {
  --image-position: center 52%;
}

.acervo-hero {
  --image-position: center 56%;
}

.comunidade-hero {
  --image-position: center 58%;
  min-height: 30rem;
}

.home-classificados-image {
  --image-position: 100% center;
}

.home-pecas-raridades-image {
  --image-position: 34% center;
}

.home-servicos-image {
  --image-position: 78% center;
}

.home-acervo-image {
  --image-position: center;
}

.home-comunidade-image {
  --image-position: 46% center;
}

.classificados-hero::after,
.mercado-hero::after,
.servicos-hero::after {
  content: none;
}

.image-frame[data-image="ready"] .page-hero-image,
.image-frame[data-image="ready"] .editorial-image {
  transition: transform 0.6s ease;
}

.image-frame[data-image="ready"]:hover .page-hero-image,
.image-frame[data-image="ready"]:hover .editorial-image {
  transform: scale(1.015);
}

.ribbon-wrap {
  border-block: 1px solid var(--line);
}

.ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.25rem;
  width: min(82rem, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding-block: 0.95rem;
  list-style: none;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

@media (min-width: 1100px) {
  .ribbon {
    flex-wrap: nowrap;
  }
}

.section {
  padding-block: clamp(4.75rem, 9vw, 8.25rem);
}

.section + .section,
.page-block + .page-block {
  border-top: 1px solid var(--line);
}

.kicker {
  color: var(--soft);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker span {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  color: #e7d5d8;
  margin-right: 0.75rem;
}

h2 {
  margin-top: 0.85rem;
  max-width: 16em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.prose {
  max-width: 40rem;
  margin-top: 1.25rem;
  color: var(--muted);
}

.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.prose a,
.legal a,
.continue a {
  text-underline-offset: 0.18em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split-reverse .frame {
  order: -1;
}

.index-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.index-list a {
  display: flex;
  align-items: center;
  min-height: 4.15rem;
  padding-right: 1.25rem;
  padding-left: 0.15rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  transition: color 200ms ease, border-color 200ms ease;
}

.index-list a:hover {
  color: #ffffff;
  border-bottom-color: var(--burgundy);
}

.edition {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  list-style: none;
  margin-top: 2.5rem;
}

.edition li {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.edition span {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--soft);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin-top: 2.5rem;
}

.pillars li,
.notice {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 1rem;
}

.pillars li {
  padding: 1.5rem 1.35rem 1.6rem;
}

.pillars h3,
.card h3 {
  margin-top: 0.45rem;
  font-size: 1.85rem;
  line-height: 1.05;
}

.pillars p,
.card p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.finale-wrap {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.finale {
  padding: clamp(3.25rem, 7vw, 6rem) clamp(1.4rem, 4vw, 4rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(90, 24, 39, 0.2), transparent 42%),
    linear-gradient(155deg, #5a1827 0%, #3c121c 52%, #1a1415 100%);
}

.finale h2 {
  max-width: 12em;
}

.finale p {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
}

.status {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: #ffffff;
}

.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.crumb {
  margin-bottom: 1.15rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--soft);
}

.crumb a {
  color: inherit;
}

.page-hero h1 {
  max-width: 12em;
  font-size: clamp(2.7rem, 5.4vw, 5.1rem);
}

.sobre-opening {
  padding-top: clamp(4.5rem, 10vw, 8rem);
  padding-bottom: 1rem;
}

.sobre-opening .lede {
  max-width: 34rem;
  margin-top: 2rem;
}

.areas p + p {
  margin-top: 0.7rem;
}

.areas a,
.continue a,
.crumb a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: background-size 200ms ease, color 200ms ease;
}

.areas a:hover,
.continue a:hover,
.crumb a:hover {
  color: #ffffff;
  text-decoration: none;
  background-size: 100% 1px;
}

.pillars h3,
.card h3,
.themes h3 {
  color: rgba(255, 255, 255, 0.82);
  transition: color 200ms ease;
}

.pillars li,
.card,
.themes li {
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.pillars li:hover {
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -1px 0 var(--burgundy);
}

.pillars li:hover h3,
.card:hover h3,
.themes li:hover h3 {
  color: #ffffff;
}

.reveal-image[data-reveal="wait"] {
  opacity: 0;
}

.reveal-image[data-reveal="in"] {
  opacity: 1;
  transition: opacity 200ms ease;
}

.page-block {
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.page-block .prose {
  margin-top: 0;
}

.page-block h2 + .prose {
  margin-top: 1.15rem;
}

.stack {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.stack-top {
  padding-top: 0.5rem;
}

.notice {
  max-width: 42rem;
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  color: var(--muted);
}

.notice + h2 {
  margin-top: 3rem;
}

.service-groups {
  margin-top: 2.1rem;
}

.service-group + .service-group {
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
}

.group-label {
  margin: 0 0 0.9rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.service-group .cards {
  margin-top: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2.25rem;
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.card {
  padding: 1.45rem 0.35rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.card:hover {
  border-bottom-color: var(--burgundy);
}

.card .idx {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(231, 213, 216, 0.72);
}

.themes-block > .prose {
  max-width: 46rem;
}

.themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  list-style: none;
  margin-top: 2.25rem;
}

.themes li {
  min-height: 8.75rem;
  padding: 1rem 0.15rem 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.themes li::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1px;
  margin-bottom: 1.4rem;
  background: #5a1827;
}

.themes span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--soft);
}

.themes h3 {
  margin-top: 0.85rem;
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.continue {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.continue a {
  color: var(--muted);
}

.stack > .continue,
.stack > div > .continue:first-child {
  margin-top: 0;
}

.legal {
  max-width: 44rem;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.legal h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.7rem, 2.5vw, 2.15rem);
  max-width: none;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal p,
.legal ul {
  margin-top: 0.85rem;
}

.legal ul {
  padding-left: 1.15rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.updated {
  margin-top: 0.8rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer {
  padding-block: 2.4rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.footer-brand p {
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--soft);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  justify-content: flex-end;
  max-width: 36rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.copy {
  margin-top: 2rem;
  color: var(--soft);
  font-size: 0.82rem;
}

@media (max-width: 1079px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    inset: var(--header) 0 0 0;
    padding: 0.5rem var(--gutter) 2.5rem;
    background: rgba(20, 19, 17, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    visibility: hidden;
    overflow: auto;
  }

  .nav-panel.is-open {
    visibility: visible;
    z-index: 30;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.85rem;
    letter-spacing: -0.03em;
    text-transform: none;
    color: #ffffff;
  }

  .nav-list a[aria-current="page"],
  .nav-list a[aria-current="true"] {
    box-shadow: none;
    font-style: italic;
  }
}

@media (min-width: 1080px) {
  .nav-panel {
    margin-left: auto;
  }

  .brand-mark {
    width: 3.125rem;
    height: 3.125rem;
  }

  .nav-list {
    gap: 1.1rem;
  }

  .nav-list a {
    letter-spacing: 0.055em;
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .pillars,
  .edition {
    grid-template-columns: 1fr;
  }

  .cards,
  .themes {
    grid-template-columns: 1fr 1fr;
  }

  .split-reverse .frame {
    order: 2;
  }

  .index-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 0;
    align-items: start;
  }

  .hero .frame,
  .frame {
    min-height: 22rem;
  }

  .hero .frame.image-frame {
    --image-position: center;
    min-height: 0;
  }

  .classificados-hero {
    --image-position: 64% center;
  }

  .mercado-hero {
    --image-position: 22% center;
  }

  .servicos-hero {
    --image-position: 86% center;
  }

  .sobre-hero {
    --image-position: center;
  }

  .acervo-hero {
    --image-position: center;
  }

  .comunidade-hero {
    --image-position: center;
  }

  .home-classificados-image {
    --image-position: 80% center;
  }

  .home-pecas-raridades-image {
    --image-position: 28% center;
  }

  .home-servicos-image {
    --image-position: 84% center;
  }

  .home-acervo-image {
    --image-position: center;
  }

  .home-comunidade-image {
    --image-position: 42% center;
  }

  .section {
    padding-block: clamp(3.5rem, 8vw, 4.75rem);
  }
}

@media (max-width: 640px) {
  .index-list,
  .cards,
  .themes {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.consent {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(40rem, calc(100% - 1.5rem));
  padding: 1rem 1.1rem 1.05rem;
  background: #161411;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.consent p {
  margin: 0;
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.consent .btn {
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
}

.consent-link {
  color: var(--soft);
  font-size: 0.92rem;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: background-size 200ms ease, color 200ms ease;
}

.consent-link:hover {
  color: #ffffff;
  background-size: 100% 1px;
}

@media (max-width: 640px) {
  .consent {
    bottom: 0.75rem;
  }

  .consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .consent .btn {
    width: 100%;
  }

  .consent-link {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal-image[data-reveal="wait"] {
    opacity: 1;
  }
}
