:root {
  --bg: #f6ede3;
  --surface: #fffaf4;
  --sunk: #efe2d3;
  --ink: #1b2934;
  --muted: #5a6570;
  --line: #e1cfbc;
  --brand: #283f4e;
  --brand-ink: #f3e2d2;
  --terra: #ab6747;
  --terra-ink: #ffffff;
  --azul: #226985;
  --naranja: #e38e44;
  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2.5px solid var(--naranja);
  outline-offset: 3px;
}

.site-header,
.hero,
.manifesto,
.about,
.dealer,
footer {
  padding-inline: max(24px, calc((100vw - 1160px) / 2));
}

.site-header {
  position: relative;
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--brand);
  color: var(--brand-ink);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--terra) 0 60%, var(--naranja) 60% 80%, var(--azul) 80%);
  content: "";
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font: 700 21px/1 var(--display);
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
}

nav a {
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
.socials a:hover,
footer > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  min-height: 650px;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(48px, 8vw, 110px);
  overflow: hidden;
}

.hero-copy {
  padding-block: 92px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-size: clamp(56px, 7.4vw, 104px);
  letter-spacing: -0.025em;
}

h1 em {
  color: var(--terra);
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.primary {
  padding: 12px 24px;
  background: var(--terra);
  box-shadow: 0 10px 24px rgb(111 59 38 / 18%);
  color: var(--terra-ink);
}

.primary:hover {
  background: #995b3f;
  transform: translateY(-1px);
}

.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  margin-left: 6px;
  color: var(--terra);
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-mark::before {
  position: absolute;
  width: min(43vw, 510px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.hero-mark::after {
  position: absolute;
  z-index: -1;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: var(--sunk);
  content: "";
}

.hero-mark img {
  width: min(31vw, 370px);
  border: 12px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 28px 70px rgb(40 63 78 / 22%);
  transform: rotate(2deg);
}

.hero-mark span {
  position: absolute;
  right: -10px;
  bottom: 12%;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manifesto {
  display: grid;
  padding-block: 58px;
  background: var(--brand);
  color: var(--brand-ink);
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
}

.manifesto p {
  margin: 0;
  font: 600 clamp(30px, 4vw, 50px)/1.05 var(--display);
}

.manifesto strong {
  color: var(--naranja);
}

.manifesto span {
  max-width: 540px;
  align-self: center;
  color: #d5d0cb;
  font-size: 17px;
}

.about {
  display: grid;
  align-items: center;
  padding-block: 110px;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(52px, 10vw, 140px);
}

.about figure {
  margin: 0;
}

.about figure img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50% 50% 48% 52% / 43% 46% 54% 57%;
  box-shadow: -18px 18px 0 var(--sunk);
  object-fit: cover;
}

.about figcaption {
  margin: 17px 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy {
  max-width: 630px;
}

h2 {
  font-size: clamp(42px, 5vw, 68px);
}

.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
}

.socials a {
  color: var(--azul);
  font-weight: 700;
  text-decoration: none;
}

.socials span {
  color: var(--muted);
}

.dealer {
  display: grid;
  align-items: center;
  padding-block: 66px;
  border-block: 1px solid var(--line);
  background: var(--sunk);
  grid-template-columns: 0.5fr 1.4fr auto;
  gap: clamp(26px, 5vw, 70px);
}

.dealer .eyebrow {
  margin: 0;
}

.dealer h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.dealer div p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
}

.secondary {
  padding: 11px 20px;
  border: 2px solid var(--brand);
  color: var(--brand);
  white-space: nowrap;
}

.secondary:hover {
  background: var(--brand);
  color: var(--brand-ink);
}

footer {
  display: flex;
  min-height: 136px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 13px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.footer-brand img {
  border-radius: 9px;
}

.footer-brand span {
  display: grid;
}

.footer-brand strong {
  font: 700 17px var(--display);
}

.footer-brand small,
footer p {
  color: #bfc1c0;
}

footer > a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 76px 0 16px;
  }

  .hero-mark {
    margin: 0 auto 84px;
  }

  .hero-mark::before {
    width: min(82vw, 440px);
  }

  .hero-mark img {
    width: min(61vw, 330px);
  }

  .manifesto,
  .about,
  .dealer {
    grid-template-columns: 1fr;
  }

  .about {
    padding-block: 88px;
  }

  .about figure {
    max-width: 360px;
  }

  .dealer {
    gap: 20px;
  }

  .dealer .button {
    justify-self: start;
  }

  footer {
    flex-wrap: wrap;
    padding-block: 34px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .manifesto,
  .about,
  .dealer,
  footer {
    padding-inline: 18px;
  }

  .site-header {
    min-height: 82px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand span {
    display: none;
  }

  nav {
    gap: 17px;
  }

  nav a {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .manifesto {
    padding-block: 46px;
    gap: 24px;
  }

  .about {
    padding-block: 72px;
    gap: 52px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
