@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/bricolage.woff2") format("woff2");
  font-display: swap;
  font-weight: 500 600;
}

@font-face {
  font-family: Figtree;
  src: url("../assets/figtree.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 600;
}

:root {
  --navy: #394974;
  --lime: #B3D38B;
  --sky: #2B82D9;
  --lavender: #A2ACC7;
  --red: #A03A41;
  --white: #FFFFFF;
  color: var(--white);
  background: var(--navy);
  font: 17px/1.55 Figtree, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, p, ul { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
img { display: block; }
.wrap { width: min(calc(100% - 96px), 1272px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: 8px; left: 8px; transform: translateY(-150%); background: var(--navy); padding: 8px 12px; }
.skip:focus { transform: none; }

.masthead { position: relative; z-index: 2; background: var(--navy); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; padding: 4px 0; }
.brand img { width: 72px; height: 72px; }
.desktop-nav, .languages { display: flex; align-items: center; color: var(--lime); font-weight: 600; }
.desktop-nav { gap: 30px; font-size: 16px; }
.desktop-nav a, .languages a { text-decoration: none; }
.desktop-nav a:hover, .languages a:hover { text-decoration: underline; }
.languages { gap: 8px; font-size: 13px; }
.languages a { min-width: 32px; min-height: 42px; display: grid; place-items: center; }
.languages a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.mobile-nav { display: none; }

.hero-image { display: block; background: var(--sky); }
.hero-image img { width: 100%; height: auto; aspect-ratio: 2.62; object-fit: cover; object-position: center 52%; }
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 0 clamp(34px, 5vw, 74px);
  align-items: end;
  padding: 28px 30px 24px;
  background: var(--navy);
  border-top: 3px solid var(--lime);
}
.location { margin-bottom: 8px; color: var(--lime); font-size: 14px; line-height: 1.45; font-weight: 600; }
h1 { font: 600 clamp(40px, 4.2vw, 56px)/1.1 "Bricolage Grotesque", sans-serif; letter-spacing: -.045em; }
h1 span { display: block; }
.hero-detail { border-left: 1px solid var(--lavender); padding-left: clamp(18px, 2vw, 30px); }
.lead { font-weight: 600; font-size: 18px; line-height: 1.4; margin-bottom: 2px; }
.offer { max-width: 45ch; color: var(--lime); font-size: 16px; font-weight: 600; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; }
.primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 47px; background: var(--red); padding: 10px 13px; border: 1px solid transparent; border-radius: 3px; color: var(--white); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.primary:hover { border-color: var(--white); }
.primary span:last-child { font-size: 19px; line-height: 1; }
.secondary { display: inline-flex; align-items: center; min-height: 44px; color: var(--lime); font-weight: 600; font-size: 16px; }
.value { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; padding: 0; border-block: 1px solid var(--lavender); list-style: none; }
.value li { padding: 16px clamp(12px, 2vw, 24px); }
.value li:first-child { padding-left: 0; }
.value li + li { border-left: 1px solid var(--lavender); }
.value h2 { margin: 0 0 5px; color: var(--lime); font: 500 clamp(20px, 1.6vw, 23px)/1.25 "Bricolage Grotesque", sans-serif; }
.value p { font-size: 16px; }

.hero--panorama { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero--panorama .value { margin-block-end: 24px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 52px); }
  .desktop-nav { gap: 16px; }
  .hero-panel { padding-inline: 22px; gap: 0 22px; }
}

@media (min-width: 801px) {
  .hero-image img {
    height: min(clamp(260px, calc(100svh - 280px), 660px), 42vw);
    aspect-ratio: auto;
    object-position: center 55%;
  }
  .hero-panel { padding-top: 20px; }
  .hero--panorama .hero-image img { height: auto; aspect-ratio: auto; }
  .hero--panorama .hero-panel { padding-block: 12px 14px; border-top: 0; }
  .hero--panorama .location { margin-bottom: 4px; }
  .hero--panorama h1 { font-size: clamp(36px, 3.2vw, 51px); }
  .hero--panorama .actions { margin-top: 8px; }
}

@media (min-width: 801px) and (max-height: 650px) {
  .hero--panorama .hero-panel { padding-block: 8px; }
  .hero--panorama h1 { font-size: clamp(32px, 2.5vw, 40px); }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; gap: 9px; }
  .brand { margin-right: auto; }
  .brand img { width: 58px; height: 58px; }
  .desktop-nav { display: none; }
  .languages { gap: 0; }
  .languages a { min-width: 30px; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer; list-style: none; color: var(--lime); font-weight: 600; font-size: 14px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .menu-icon { display: inline-block; width: 14px; height: 9px; border-block: 1px solid currentColor; }
  .mobile-nav nav { position: absolute; inset: 100% 0 auto; padding: 6px 18px 12px; background: var(--navy); border-top: 1px solid var(--lavender); }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 44px; color: var(--lime); }
  .hero-panel { display: block; margin-top: 0; padding: 18px 0 22px; border-top: 0; }
  .hero-detail { border: 0; padding: 0; margin-top: 11px; }
  .value { margin-top: 19px; }
  .hero--panorama .hero-image { order: -1; }
  .hero--panorama .value { margin-top: 0; }
}

@media (max-width: 700px) {
  .hero-image img { aspect-ratio: 1.59; }
  .value { grid-template-columns: 1fr; }
  .value li { padding: 13px 0; }
  .value li + li { border-left: 0; border-top: 1px solid var(--lavender); }
  .actions { gap: 3px 14px; }
}

@media (max-width: 350px) {
  .hero-image img { aspect-ratio: 2; }
  .hero-panel { padding-top: 14px; }
  .lead { font-size: 17px; }
  :lang(pt) h1 span { display: inline; }
}
