@font-face {
  font-family: "Open Sans";
  src: url("fontes/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fontes/OpenSans-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fontes/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #11223d;
  --muted: #566c82;
  --paper: #f7f5ef;
  --white: #ffffff;
  --gold: #ab956b;
  --rule: color-mix(in srgb, var(--muted) 32%, transparent);
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --content: 73rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 1rem/1.65 "Open Sans", system-ui, sans-serif;
}

h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
section[id], main[id] { scroll-margin-top: 1rem; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

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

.skip-link {
  position: absolute;
  z-index: 5;
  top: 0.8rem;
  left: 0.8rem;
  transform: translateY(-180%);
  padding: 0.55rem 0.9rem;
  background: var(--white);
}

.skip-link:focus { transform: none; }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.header-inner {
  position: relative;
  min-height: 5.75rem;
}

.brand {
  display: inline-flex;
  flex: none;
  margin-block: 1rem;
}

.brand img {
  width: 9.75rem;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3.25vw, 2.75rem);
  font-weight: 600;
}

.main-nav > a { text-decoration: none; }
.main-nav > a:not(.button):hover { text-decoration: underline; }
.menu-button { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3rem;
  padding: 0.65rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.button-nav { border-color: var(--navy); }
.button-nav:hover, .button-dark { background: var(--navy); color: var(--white); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: var(--paper); }
.button-dark:hover { background: var(--muted); }

.hero {
  background: var(--navy);
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.93fr;
  width: min(100%, 94rem);
  margin-inline: auto;
}

.hero-content {
  align-self: center;
  padding: clamp(3.9rem, 9vw, 8.15rem) clamp(1.8rem, 5vw, 5.5rem);
  padding-left: max(var(--gutter), calc((min(100vw, 94rem) - var(--content)) / 2));
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  flex: none;
  border-top: 2px solid var(--gold);
}

.hero-eyebrow { color: var(--white); }

h1, h2, h3 {
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  margin-top: 1.35rem;
  font-size: clamp(2.75rem, 4.8vw, 4.75rem);
  line-height: 1.07;
  letter-spacing: -0.05em;
  text-wrap: initial;
}

h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.3;
}

.hero-description {
  max-width: 27rem;
  margin-block: 1.3rem 1.8rem;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.hero-photo {
  position: relative;
  min-height: 25rem;
}

.hero-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.about, .contact { background: var(--paper); }

.about-inner, .contact-inner, .work-inner {
  padding-block: clamp(3.4rem, 7.5vw, 7rem);
}

.about-inner, .contact-inner, .work-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6.5vw, 6.25rem);
}

.about-inner { align-items: center; }

.about-copy > p:not(.eyebrow),
.contact-heading > p:not(.eyebrow) {
  max-width: 33rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.about-copy > h2 + p:not(.eyebrow),
.contact-heading > h2 + p:not(.eyebrow) {
  margin-top: 1.4rem;
}

.about-photo img {
  width: 100%;
  height: auto;
}

.work-body {
  align-items: center;
  margin-top: clamp(1.55rem, 3.4vw, 3rem);
}

.work-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center 22%;
}

.work-list, .contact-details { border-bottom: 1px solid var(--rule); }

.work-list article {
  padding-block: 1.05rem 1.2rem;
  border-top: 1px solid var(--rule);
}

.work-list p {
  max-width: 34rem;
  margin-top: 0.5rem;
  color: var(--muted);
}

.contact-heading .button { margin-top: 1.35rem; }
.contact-details { font-style: normal; }

.contact-details > div {
  padding-block: 0.85rem 1rem;
  border-top: 1px solid var(--rule);
}

.contact-details h3 {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-details a:not(.text-link), .contact-details p {
  font-size: 1.0625rem;
  line-height: 1.55;
}

.contact-details a, .text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.contact-details a:hover, .text-link:hover { text-decoration-thickness: 2px; }

.text-link {
  display: inline-block;
  width: fit-content;
  font-weight: 600;
}

.contact-details .text-link { margin-top: 0.45rem; }

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  padding-block: 1.25rem;
  gap: 1rem clamp(1.55rem, 4vw, 3.25rem);
}

.brand-footer img { width: 8.25rem; }
.footer-company, .footer-top { font-size: 0.875rem; }

@media (max-width: 54rem) {
  .hero-inner { grid-template-columns: 1fr 0.9fr; }
  .hero-content { padding-right: 1.1rem; }
  .about-inner, .contact-inner, .work-body { gap: 2rem; }
}

@media (max-width: 44rem) {
  .header-inner { min-height: 5rem; flex-wrap: wrap; }
  .brand img { width: 8.25rem; }
  .main-nav { gap: 1rem; }

  .menu-ready .menu-button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.78rem;
    border: 1px solid var(--navy);
    border-radius: 0.2rem;
    background: transparent;
    color: var(--navy);
    font-weight: 600;
    cursor: pointer;
  }

  .menu-icon {
    display: inline-block;
    width: 0.9rem;
    height: 0.5rem;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
  }

  .menu-ready .main-nav:not(.is-open) { display: none; }

  .menu-ready .main-nav {
    position: absolute;
    z-index: 2;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0.24rem;
    padding: 0.65rem;
    border: 1px solid var(--rule);
    border-radius: 0.2rem;
    background: var(--white);
    box-shadow: 0 0.6rem 1.3rem color-mix(in srgb, var(--navy) 18%, transparent);
  }

  .menu-ready .main-nav > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.5rem 0.7rem;
  }

  .hero-inner, .about-inner, .contact-inner, .work-body { grid-template-columns: minmax(0, 1fr); }
  .hero-content { padding: 3.2rem var(--gutter); }
  .hero-photo { min-height: clamp(14rem, 56vw, 23rem); }
  h1 { font-size: clamp(2.35rem, 8vw, 3.85rem); }
  .hero-description { margin-block: 1.05rem 1.4rem; }
  .work-photo img { aspect-ratio: 4 / 5; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-company { grid-row: 2; grid-column: 1 / -1; }
}

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