:root {
  --ink: #242424;
  --paper: #ebdcc4;
  --paper-soft: #f3e7d5;
  --muted: #665d54;
  --green: #2e4c59;
  --red: #bd5d38;
  --blue: #496979;
  --yellow: #dfcaa7;
  --line: rgba(189, 93, 56, 0.28);
  --shadow: rgba(82, 54, 36, 0.16);
  --square-soft: rgba(189, 93, 56, 0.13);
  --square-blue: rgba(46, 76, 89, 0.12);
  --square-paper: rgba(243, 231, 213, 0.45);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(189, 93, 56, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(189, 93, 56, 0.045) 25%, transparent 25%) 0 0 / 22px 22px,
    var(--paper);
  margin: 0;
  overflow-x: clip;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

.nav {
  z-index: 30;
  position: fixed;
  top: 18px;
  left: 2vw;
  right: 2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(189, 93, 56, 0.36);
  border-radius: 8px;
  background: rgba(243, 231, 213, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px var(--shadow);
}

.nav__brand img {
  width: 128px;
  border-radius: 6px;
}

.nav__links,
.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__links a,
.lang {
  color: rgba(24, 25, 21, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  background: transparent;
  border: 0;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.button {
  border: 1px solid var(--red);
  color: var(--paper);
  background: var(--red);
}

.text-link {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button:hover {
  background: var(--green);
  border-color: var(--green);
}

.button--small {
  min-height: 40px;
  padding: 12px 16px;
  font-size: 14px;
}

.nav__toggle {
  display: grid;
  gap: 5px;
  width: 40px;
  height: 40px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}

.nav__toggle span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.menu-open .nav__toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .nav__toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  z-index: 25;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 120px 8vw 48px;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu a {
  max-width: 9ch;
  font-family: Newsreader, Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 0.95;
}

.mobile-menu p {
  margin: 0;
  color: var(--muted);
}

.menu-time {
  color: var(--ink) !important;
  font-family: Newsreader, Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
}

.section {
  position: relative;
  isolation: isolate;
  width: min(100% - 8vw, var(--max));
  margin-inline: auto;
  padding: 120px 0;
}

.section__eyebrow,
.kicker {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 700;
  line-height: 0.95;
}

h1 {
  max-width: 10ch;
  font-size: 7.2rem;
}

h2 {
  font-size: 5.4rem;
}

h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.08;
}

.lead {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.18;
}

.hero {
  display: flex;
  min-height: 100svh;
  align-items: end;
  padding-top: 160px;
  padding-bottom: 56px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -2%;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(46, 76, 89, 0.14);
  filter: blur(0.3px);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 8%;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  border: 1px solid rgba(46, 76, 89, 0.34);
  background: rgba(46, 76, 89, 0.08);
  z-index: -1;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 8vw;
  width: 100%;
  align-items: end;
}

.hero__grid::before {
  content: "";
  position: absolute;
  top: -46px;
  left: 34%;
  width: 116px;
  height: 116px;
  border-radius: 8px;
  background: var(--square-soft);
  transform: rotate(5deg);
  z-index: -1;
}

.hero__grid::after {
  content: "";
  position: absolute;
  top: 52%;
  right: 32%;
  width: 84px;
  height: 84px;
  border-radius: 8px;
  border: 1px solid rgba(189, 93, 56, 0.32);
  background: var(--square-paper);
  transform: rotate(-8deg);
  z-index: -1;
}

.hero__copy::before {
  content: "";
  position: absolute;
  top: 56px;
  right: -8%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(46, 76, 89, 0.16);
  z-index: -1;
}

.hero__copy {
  position: relative;
  max-width: 900px;
}

.hero__lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(36, 36, 36, 0.78);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.26;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  display: grid;
  gap: 22px;
  align-self: stretch;
  min-height: 460px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(189, 93, 56, 0.12), transparent 42%),
    var(--paper-soft);
  box-shadow: 16px 16px 0 var(--red);
  transform: rotate(-1deg);
}

.hero__note img {
  width: 100%;
  border-radius: 6px;
  align-self: start;
}

.hero__note p {
  align-self: end;
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 0.98;
}

.hero__note span {
  display: block;
  max-width: 24ch;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.belief {
  padding-top: 86px;
}

.belief::before {
  content: "";
  position: absolute;
  top: -26px;
  right: -5%;
  width: 142px;
  height: 142px;
  border-radius: 8px;
  background: var(--square-soft);
  transform: rotate(6deg);
  z-index: -1;
}

.belief__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 9vw;
  align-items: start;
}

.belief__grid::after {
  content: "";
  position: absolute;
  top: 62px;
  left: 8%;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(46, 76, 89, 0.14);
  z-index: -1;
}

.belief__text {
  display: grid;
  gap: 26px;
  padding-top: 28px;
}

.belief__text p {
  margin: 0;
}

.belief__text p:not(.lead) {
  color: var(--muted);
  font-size: 1.15rem;
}

.manifesto {
  margin: 40px 0 0;
  background: var(--green);
  color: var(--paper);
}

.manifesto__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  gap: 7vw;
  width: min(100% - 8vw, var(--max));
  margin-inline: auto;
  padding: 78px 0;
  align-items: end;
}

.manifesto p {
  margin: 0;
  color: var(--paper-soft);
  font-family: Newsreader, Georgia, serif;
  font-size: 5.8rem;
  font-weight: 700;
  line-height: 0.92;
}

.manifesto span {
  display: block;
  max-width: 32ch;
  color: rgba(243, 231, 213, 0.78);
  font-size: 1.2rem;
  font-weight: 600;
}

.process__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 44px;
}

.process__intro h2 {
  max-width: none;
  font-size: 3.8rem;
  line-height: 0.98;
  white-space: nowrap;
}

.process__intro p:not(.section__eyebrow) {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 600;
}

.process::after {
  content: "";
  position: absolute;
  top: -18px;
  left: 6%;
  width: 124px;
  height: 124px;
  border-radius: 8px;
  background: var(--square-blue);
  transform: rotate(-11deg);
  z-index: -1;
}

.process__path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.process__path::before {
  content: "";
  position: absolute;
  right: 18%;
  bottom: -50px;
  top: auto;
  left: auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(189, 93, 56, 0.36);
  background: rgba(189, 93, 56, 0.12);
  z-index: -1;
}

.process-step {
  display: grid;
  align-content: space-between;
  min-height: 360px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  background: rgba(243, 231, 213, 0.66);
}

.process-step:nth-child(even) {
  transform: translateY(34px);
  background: var(--paper-soft);
}

.process-step:last-child {
  border-right: 0;
}

.process-step span,
.services__list span {
  color: var(--red);
  font-family: Newsreader, Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

.process-step p,
.services__list p,
.work-note p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.desk {
  padding-top: 170px;
}

.desk::before {
  content: "";
  position: absolute;
  top: 120px;
  left: -4%;
  width: 136px;
  height: 136px;
  border-radius: 8px;
  border: 1px solid rgba(46, 76, 89, 0.35);
  background: rgba(46, 76, 89, 0.08);
  transform: rotate(4deg);
  z-index: -1;
}

.desk__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(420px, 1fr);
  gap: 7vw;
  align-items: center;
}

.desk__board {
  position: relative;
  display: grid;
  min-height: 620px;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(189, 93, 56, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(0deg, rgba(189, 93, 56, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper-soft);
  box-shadow: -16px 16px 0 var(--green);
}

.desk__board::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 38px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(46, 76, 89, 0.13);
}

.desk__board::before {
  content: "rascunho / tela / codigo";
  position: absolute;
  top: -18px;
  left: 32px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-note {
  position: absolute;
  display: grid;
  gap: 16px;
  width: 52%;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(24, 25, 21, 0.12);
}

.work-note span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-note--green {
  top: 62px;
  left: 34px;
  background: #e7c5b2;
  transform: rotate(-2deg);
}

.work-note--blue {
  top: 182px;
  right: 18px;
  background: #d7e0e2;
  transform: rotate(2deg);
}

.work-note--yellow {
  left: 86px;
  bottom: 24px;
  background: #f5ead6;
  transform: rotate(-1deg);
}

.services {
  padding-top: 150px;
}

.services::before {
  content: "";
  position: absolute;
  top: -28px;
  right: 6%;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  background: rgba(189, 93, 56, 0.1);
  transform: rotate(-6deg);
  z-index: -1;
}

.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 7vw;
  align-items: start;
  margin-bottom: 60px;
}

.services__intro h2 {
  max-width: 12ch;
}

.services__list {
  position: relative;
  display: grid;
  border-top: 2px solid var(--ink);
}

.services__list::after {
  content: "";
  position: absolute;
  left: 14%;
  bottom: -64px;
  right: auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(189, 93, 56, 0.34);
  background: rgba(189, 93, 56, 0.1);
}

.services__list article {
  display: grid;
  grid-template-columns: 90px minmax(220px, 0.55fr) minmax(260px, 1fr);
  gap: 28px;
  padding: 30px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.services__list h3 {
  font-family: Newsreader, Georgia, serif;
  font-size: 2rem;
}

.invitation {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: 8vw;
  align-items: center;
  padding-top: 110px;
}

.invitation::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: -34px;
  width: 148px;
  height: 148px;
  border-radius: 8px;
  background: var(--square-soft);
  transform: rotate(7deg);
  z-index: -1;
}

.invitation__mark {
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-soft);
  box-shadow: 14px 14px 0 var(--blue);
  transform: rotate(1deg);
}

.invitation__mark img {
  width: 100%;
  border-radius: 6px;
}

.invitation__copy {
  position: relative;
  display: grid;
  gap: 26px;
  justify-items: start;
}

.invitation__copy::after {
  content: "";
  position: absolute;
  top: auto;
  right: 32%;
  bottom: 12px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(46, 76, 89, 0.14);
  z-index: -1;
}

.invitation__copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.35rem;
  font-weight: 600;
}

.invitation__copy .section__eyebrow {
  margin-bottom: -8px;
}

.footer {
  position: relative;
  isolation: isolate;
  margin-top: 60px;
  padding: 90px 7vw 120px;
  background:
    linear-gradient(135deg, rgba(235, 220, 196, 0.06) 25%, transparent 25%) 0 0 / 20px 20px,
    var(--green);
  color: var(--paper);
}

.footer::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 8%;
  width: 106px;
  height: 106px;
  border-radius: 8px;
  border: 1px solid rgba(235, 220, 196, 0.45);
  background: rgba(235, 220, 196, 0.12);
  transform: rotate(-10deg);
}

.footer__brand {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 80px;
  align-items: end;
}

.footer__brand img {
  max-width: 380px;
  border-radius: 8px;
}

.footer__brand p {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.98;
}

.footer__links {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 86px 0;
}

.footer__links::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: -48px;
  left: auto;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(235, 220, 196, 0.34);
  background: rgba(235, 220, 196, 0.12);
}

.footer__links div {
  display: grid;
  gap: 12px;
}

.footer__links span,
.footer__bottom {
  color: rgba(243, 231, 213, 0.62);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer__links a {
  font-size: 18px;
  font-weight: 700;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(243, 231, 213, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  h1 {
    font-size: 5.6rem;
  }

  h2,
  .manifesto p {
    font-size: 4.4rem;
  }

  .process__path {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step,
  .process-step:nth-child(even) {
    min-height: 220px;
    transform: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .nav__links,
  .lang,
  .nav__actions .button {
    display: none;
  }

  .section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .hero__grid,
  .belief__grid,
  .manifesto__inner,
  .desk__grid,
  .services__intro,
  .invitation,
  .footer__brand,
  .footer__links {
    grid-template-columns: 1fr;
  }

  .hero__note {
    min-height: auto;
    box-shadow: 10px 10px 0 var(--red);
  }

  .hero__note img {
    max-width: 340px;
  }

  .process__intro h2 {
    font-size: 3.4rem;
    white-space: normal;
  }

  .belief::before,
  .belief__grid::after,
  .process::after,
  .process__path::before,
  .desk::before,
  .desk__board::after,
  .services::before,
  .services__list::after,
  .invitation::after,
  .invitation__copy::after,
  .footer::before,
  .footer__links::after {
    transform: none;
    opacity: 0.72;
  }

  .desk {
    padding-top: 120px;
  }

  .services__list article {
    grid-template-columns: 70px 1fr;
    align-items: start;
  }

  .services__list article p {
    grid-column: 2;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .nav {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .mobile-menu a {
    font-size: 3.5rem;
  }

  .hero__grid::after,
  .hero::before,
  .hero::after,
  .hero__copy::before,
  .belief::before,
  .belief__grid::after,
  .process::after,
  .process__path::before,
  .desk::before,
  .desk__board::after,
  .services::before,
  .services__list::after,
  .invitation::after,
  .invitation__copy::after,
  .footer::before,
  .footer__links::after {
    width: 84px;
    height: 84px;
  }

  h1 {
    font-size: 4rem;
  }

  h2,
  .manifesto p {
    font-size: 3.3rem;
  }

  .lead {
    font-size: 1.45rem;
  }

  .hero__lead,
  .invitation__copy p {
    font-size: 1.2rem;
  }

  .process__intro h2 {
    font-size: 2.8rem;
  }

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

  .button,
  .text-link {
    width: 100%;
    white-space: normal;
  }

  .desk__board {
    min-height: auto;
    padding: 24px;
    box-shadow: -8px 8px 0 var(--green);
  }

  .work-note {
    position: static;
    width: 100%;
    margin-bottom: 18px;
    transform: none;
  }

  .work-note:last-child {
    margin-bottom: 0;
  }

  .services__list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services__list article p {
    grid-column: auto;
  }

  .invitation__mark {
    box-shadow: 8px 8px 0 var(--blue);
  }

  .footer__brand p {
    font-size: 3rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.25rem;
  }

  h2,
  .manifesto p {
    font-size: 2.65rem;
  }

  .section {
    width: min(100% - 32px, var(--max));
  }

  .hero__grid::after,
  .hero::before,
  .hero::after,
  .hero__copy::before,
  .belief::before,
  .belief__grid::after,
  .process::after,
  .process__path::before,
  .desk::before,
  .desk__board::after,
  .services::before,
  .services__list::after,
  .invitation::after,
  .invitation__copy::after,
  .footer::before,
  .footer__links::after {
    display: none;
  }
}
