:root {
  --navy: #071b31;
  --navy-2: #0b2845;
  --ink: #fffaf6;
  --muted: #b5c0ca;
  --lime: #f47721;
  --accent-2: #ffad6f;
  --line: rgba(255, 255, 255, 0.18);
  --max: 1240px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--lime);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  top: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.site-header {
  height: 82px;
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(6, 23, 37, 0.9),
    rgba(6, 23, 37, 0.35)
  );
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-logo {
  width: 154px;
  height: 52px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.site-header nav {
  display: flex;
  gap: 38px;
  margin-left: auto;
}
.menu-toggle {
  order: 2;
}
.site-header nav a {
  font-size: 14px;
  padding: 28px 0 23px;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover,
.site-header nav a:focus {
  color: var(--lime);
  border-color: var(--lime);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
}
.hero {
  min-height: 780px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-supermercado.png");
  background-size: cover;
  background-position: center;
}
.hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 17, 29, 0.98) 0%,
    rgba(3, 17, 29, 0.9) 29%,
    rgba(3, 17, 29, 0.3) 64%,
    rgba(3, 17, 29, 0.04) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(700px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-top: 78px;
}
.hero h1,
.section h2,
.manifesto h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 {
  font-size: clamp(58px, 6vw, 92px);
  margin: 0 0 28px;
}
.hero h1 em,
.manifesto h2 em,
.contact h2 em {
  font-style: normal;
  color: var(--lime);
}
.hero-content > p {
  width: min(560px, 100%);
  font-size: 19px;
  color: #d5dde1;
  margin: 0 0 35px;
  padding-top: 25px;
  border-top: 2px solid var(--lime);
}
.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  font-weight: 600;
  border: 1px solid var(--lime);
  transition: 0.25s;
}
.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.button.primary {
  background: var(--lime);
  color: var(--navy);
}
.button.secondary {
  color: var(--lime);
  background: rgba(6, 23, 37, 0.48);
}
.button span {
  font-size: 24px;
}
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d3dde1;
}
.scroll-cue span {
  color: var(--lime);
  font-size: 18px;
  margin-left: 10px;
}
.section {
  max-width: var(--max);
  margin: auto;
  padding: 120px 24px;
}
.profile {
  display: grid;
  grid-template-columns: minmax(300px, 470px) 1fr;
  gap: clamp(70px, 9vw, 145px);
  align-items: center;
}
.portrait-wrap {
  position: relative;
  margin-left: 18px;
}
.portrait-wrap img {
  width: 100%;
  height: 590px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  position: relative;
  z-index: 2;
}
.portrait-line {
  position: absolute;
  z-index: 1;
  inset: 28px 24px -25px -24px;
  border: 2px solid var(--lime);
  border-radius: 18px;
}
.portrait-wrap span {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  right: 14px;
  background: rgba(6, 23, 37, 0.8);
  padding: 5px 9px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.section-index {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
  margin: 0 0 24px;
}
.profile h2,
.projects h2 {
  font-size: clamp(48px, 5vw, 70px);
  margin: 0 0 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--lime);
}
.profile-copy .lead {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.45;
  color: var(--ink);
}
.profile-copy p:not(.lead):not(.section-index) {
  color: var(--muted);
  max-width: 620px;
}
.manifesto {
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.manifesto-bg {
  position: absolute;
  inset: 0;
  background: url("assets/fundo-cidade.png") center/cover;
}
.manifesto-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 22, 35, 0.98) 0%,
    rgba(5, 22, 35, 0.9) 38%,
    rgba(5, 22, 35, 0.22) 76%
  );
}
.manifesto-copy {
  position: relative;
  width: min(630px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding: 90px 0;
}
.manifesto h2 {
  font-size: clamp(46px, 5vw, 68px);
  margin: 0 0 28px;
}
.manifesto-copy > p:not(.section-index) {
  max-width: 560px;
  color: #d0dade;
}
.manifesto-copy strong {
  display: block;
  color: var(--lime);
  font-size: 18px;
  margin-top: 25px;
}
.projects {
  padding-bottom: 90px;
}
.projects-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  align-items: end;
  margin-bottom: 55px;
}
.projects-heading .section-index {
  grid-column: 1/-1;
}
.projects-heading h2 {
  border: 0;
  padding: 0;
  margin: 0;
}
.projects-heading > p:last-child {
  color: var(--muted);
  margin: 0;
}
.project {
  display: grid;
  grid-template-columns: 100px 76px minmax(300px, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.project:last-child {
  border-bottom: 1px solid var(--line);
}
.project-number {
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1;
  color: var(--lime);
}
.project-icon {
  width: 58px;
  height: 58px;
  border: 1px solid var(--lime);
  color: var(--lime);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
}
.project-copy h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  margin: 0 0 5px;
}
.project-copy p {
  color: var(--muted);
  margin: 0;
  max-width: 650px;
}
.project > a {
  border: 1px solid var(--lime);
  color: var(--lime);
  padding: 13px 18px;
  min-width: 170px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 14px;
}
.project > a:hover,
.project > a:focus {
  background: var(--lime);
  color: var(--navy);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  border-top: 1px solid var(--line);
}
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
}
.contact-copy {
  padding-left: 55px;
  border-left: 1px solid var(--lime);
  align-self: end;
}
.contact-copy p {
  font-size: 19px;
  color: #d0dade;
  margin-top: 0;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.contact-phone {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
}
.contact-phone:hover,
.contact-phone:focus {
  color: var(--lime);
  border-color: var(--lime);
}
footer {
  max-width: var(--max);
  margin: auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
footer p {
  margin: 0;
}
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.visible {
  animation: soft-reveal 0.7s ease both;
}
@keyframes soft-reveal {
  from {
    opacity: 0.72;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 820px) {
  .site-header {
    height: 68px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 2;
  }
  .menu-toggle > span:not(.sr-only) {
    width: 25px;
    height: 1px;
    background: currentColor;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 90px 24px 30px;
    background: var(--navy-2);
    flex-direction: column;
    gap: 0;
  }
  .brand-logo {
    width: 105px;
    height: 42px;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    font-family: var(--serif);
    font-size: 27px;
    padding: 12px 0;
  }
  .hero {
    min-height: 720px;
  }
  .hero-image {
    background-position: 62% center;
  }
  .hero-image:after {
    background: linear-gradient(
      90deg,
      rgba(3, 17, 29, 0.96),
      rgba(3, 17, 29, 0.7)
    );
  }
  .hero-content {
    padding-top: 60px;
  }
  .hero h1 {
    font-size: clamp(50px, 15vw, 70px);
  }
  .scroll-cue {
    display: none;
  }
  .section {
    padding: 82px 24px;
  }
  .profile {
    grid-template-columns: 1fr;
    gap: 75px;
  }
  .portrait-wrap {
    margin: 0 12px;
  }
  .portrait-wrap img {
    height: min(125vw, 610px);
  }
  .projects-heading,
  .contact {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project {
    grid-template-columns: 72px 1fr;
    gap: 18px;
  }
  .project-number {
    font-size: 50px;
  }
  .project-icon {
    display: none;
  }
  .project-copy {
    grid-column: 2;
  }
  .project > a {
    grid-column: 2;
    width: max-content;
  }
  .contact-copy {
    padding: 30px 0 0;
    border-left: 0;
    border-top: 1px solid var(--lime);
  }
  footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .manifesto-bg {
    background-position: 62% center;
  }
  .manifesto-bg:after {
    background: rgba(5, 22, 35, 0.78);
  }
}
@media (max-width: 460px) {
  .hero h1 {
    font-size: 50px;
  }
  .hero-content > p {
    font-size: 16px;
  }
  .button {
    width: 100%;
  }
  .projects-heading h2,
  .profile h2 {
    font-size: 46px;
  }
  .project {
    grid-template-columns: 58px 1fr;
  }
  .project-number {
    font-size: 43px;
  }
  .project-copy h3 {
    font-size: 23px;
  }
  .project > a {
    min-width: 0;
  }
  .manifesto h2,
  .contact h2 {
    font-size: 43px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button {
    transition: none;
  }
}
