:root {
  --forest: #14261c;
  --forest-deep: #0e1d15;
  --cream: #f5f1e6;
  --paper: #fcf9f0;
  --ink: #1a2c21;
  --muted: #4a5c4f;
  --lime: #d0ee84;
  --hairline: #c9cec0;
  --edge: clamp(20px, 4.6vw, 76px);
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.6 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
section[id] { scroll-margin-top: 20px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

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

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.034em;
  line-height: 1.07;
}

h2 { font-size: clamp(2.3rem, 4.35vw, 4.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 12px auto auto 12px;
  padding: 8px 14px;
  background: var(--lime);
  color: var(--forest-deep);
  transform: translateY(-160%);
}

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

.studio-navigation {
  color: #fff9e9;
  background:
    linear-gradient(90deg, #0a1209c2, #0a120969 42%, #0a120912 78%),
    linear-gradient(0deg, #0a1209a8, transparent 26%),
    url("assets/brand/fundo-menu.webp") center top / cover no-repeat,
    #172611;
  font: 16px/1.45 system-ui, sans-serif;
}

.studio-navigation > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(90%, 1800px);
  min-height: 78px;
  margin-inline: auto;
}

.studio-navigation a { text-decoration: none; }
.studio-navigation a:focus-visible { outline: 2px solid #85954a; outline-offset: 4px; }

.studio-navigation .brand {
  display: flex;
  align-items: center;
}

.studio-navigation .brand-logo {
  display: block;
  width: clamp(132px, 13vw, 218px);
  height: auto;
}

.studio-navigation nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 40px);
  font-size: clamp(14px, 1.08vw, 22px);
}

.studio-navigation nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.studio-navigation nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #bee674;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.studio-navigation .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8em 1.45em;
  border: 0;
  border-radius: 30px;
  background: #bee674;
  color: #222919;
  font: 700 clamp(14px, 1.05vw, 21px) system-ui;
}

.studio-navigation .header-cta:hover { background: #d2ef9c; }

@media (min-width: 950px) {
  .studio-navigation > .wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    min-height: clamp(78px, 5vw, 103px);
  }

  .studio-navigation .header-cta { justify-self: end; }
}

@media (max-width: 740px) {
  .studio-navigation {
    background-image:
      linear-gradient(180deg, #0a1209d4, #0a12097d 47%, #0a12090f 79%),
      linear-gradient(0deg, #0a1209ad, transparent 25%),
      url("assets/brand/fundo-menu.webp");
    background-position: center, center, 53% top;
    background-size: auto, auto, max(100%, 1400px) auto;
  }

  .studio-navigation > .wrap {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    padding-block: 14px;
  }

  .studio-navigation .header-cta {
    position: absolute;
    inset: 16px 0 auto auto;
  }
}

.web-hero {
  padding-block: clamp(48px, 6.3vw, 98px) clamp(45px, 5vw, 75px);
  background: radial-gradient(ellipse at 90% 100%, #34432b 0, transparent 52%), var(--forest);
  color: var(--cream);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 76px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--lime);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero-copy h1 {
  margin-block: 19px 22px;
  font-size: clamp(3rem, 5.7vw, 5.6rem);
  line-height: 1.02;
}

.hero-copy em {
  display: block;
  color: var(--lime);
  font-weight: inherit;
}

.hero-lede {
  max-width: 37ch;
  color: #e0e4d7;
  font-size: clamp(1rem, 1.45vw, 1.19rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px 23px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 10px 19px;
  border: 0;
  border-radius: 100px;
  font-size: .97rem;
  font-weight: 730;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary { color: var(--forest-deep); background: var(--lime); }
.button-primary:hover { background: #e4f6b0; }
.button-primary:focus-visible { outline-color: var(--lime); }
.button img { flex: none; width: 21px; }

.text-link {
  font-size: .94rem;
  font-weight: 680;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.web-hero .text-link:hover,
.site-footer .text-link:hover { color: var(--lime); }

.hero-figure img {
  width: 100%;
  border: 1px solid #d0ee8450;
  border-radius: 18px;
  box-shadow: 0 22px 54px #07110c5e;
}

.hero-figure figcaption {
  margin-top: 9px;
  color: #d4dfcd;
  font-size: .83rem;
}

.web-services { padding-block: clamp(56px, 7.4vw, 108px); }

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, .77fr) minmax(0, 1fr);
  gap: clamp(32px, 7.5vw, 112px);
}

.section-intro h2 { max-width: 13ch; }

.section-intro p,
.projects-heading p {
  max-width: 41ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.04rem;
}

.service-list {
  padding: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.service-list li {
  padding-block: 17px;
  border-bottom: 1px solid var(--hairline);
}

.service-list p { margin-top: 5px; color: var(--muted); }

.web-projects {
  padding-block: clamp(52px, 6.2vw, 90px);
  background: #e6ebdd;
}

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px clamp(24px, 5.6vw, 84px);
  margin-bottom: 32px;
}

.projects-heading p { margin: 0; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.3vw, 32px);
}

.project-card {
  overflow: hidden;
  border: 1px solid #ccd4c5;
  border-radius: 14px;
  background: var(--paper);
}

.project-photo {
  width: 100%;
  aspect-ratio: 296 / 173;
  object-fit: cover;
  background: #d8dfd0;
}

.project-copy { padding: clamp(15px, 2vw, 24px); }
.project-copy p:not(.project-category) { margin-top: 8px; color: var(--muted); }

.project-category {
  margin-bottom: 7px;
  color: #43624d;
  font-size: .73rem;
  font-weight: 730;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-copy .text-link { display: inline-block; margin-top: 11px; }
.project-copy .text-link:hover { color: #416424; }

.web-contact {
  padding-block: clamp(54px, 7.2vw, 100px);
  color: var(--cream);
  background: linear-gradient(120deg, #233d28, var(--forest-deep) 75%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px clamp(28px, 5vw, 80px);
}

.web-contact h2 { margin-block: 10px 14px; }
.web-contact h2 + p { max-width: 53ch; color: #e0e4d7; }
.contact-hint { margin-top: 10px; color: #d4dfcd; font-size: .88rem; }
.copy-status:not(:empty) { margin-top: 3px; color: var(--lime); font-size: .88rem; }

.site-footer {
  padding-block: 18px;
  border-top: 1px solid #ffffff26;
  background: var(--forest-deep);
  color: var(--cream);
  font-size: .88rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 7px 20px;
}

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(2.55rem, 8vw, 4.45rem); }
  .hero-figure { max-width: 630px; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .services-layout, .projects-grid { grid-template-columns: 1fr; }
  .section-intro h2 { max-width: none; }
  .projects-heading { display: block; margin-bottom: 22px; }
  .projects-heading p { margin-top: 9px; }
  .project-card { max-width: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
