@font-face {
  font-family: 'Prairie Sans';
  src: url('/assets/fonts/Prairie-Sans.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Prairie Script';
  src: url('/assets/fonts/Prairie-Script-Bold.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --ivory: #F8F4EC;
  --linen: #F3ECE0;
  --beige: #E0D3BE;
  --almond: #D8C9B2;
  --almond-deep: #C7B198;
  --espresso: #2C211A;
  --cocoa: #3A2C22;
  --text-soft: #5C4E42;
  --mustard: #9A7432;
  --mustard-deep: #7A5C26;
  --mustard-light: #C9A35E;
  --error: #9B3324;
  --rule: rgba(58, 44, 34, .14);
  --rule-mid: rgba(58, 44, 34, .22);
  --rule-strong: rgba(58, 44, 34, .4);

  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Prairie Sans', 'Jost', sans-serif;
  --script: 'Prairie Script', cursive;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 144px);
  --h2: clamp(23px, 2.4vw, 34px);

  color-scheme: light;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--espresso);
  font: 400 14px/1.75 var(--sans);
  letter-spacing: .01em;
}

img { max-width: 100%; }

a { color: var(--espresso); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--mustard); }

::selection { background: var(--almond-deep); color: var(--espresso); }

:focus-visible { outline: 1px solid var(--mustard); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 40;
  padding: 10px 16px;
  background: var(--espresso);
  color: var(--ivory);
}
.skip:focus { top: 12px; color: var(--ivory); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 236, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "left brand right";
  align-items: center;
  gap: 24px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  font: 400 12px/1.4 var(--display);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.site-nav--left { grid-area: left; }
.site-nav--right { grid-area: right; justify-content: flex-end; }
.site-nav a[aria-current="page"] { color: var(--mustard); }
.site-nav .jost { font-family: var(--sans); }
.brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--espresso);
}
.brand:hover { color: var(--espresso); }
.brand img { display: block; height: 38px; width: auto; }
.brand__name { font: 400 26px/1 var(--script); white-space: nowrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); }
.site-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px var(--pad-x) calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.site-footer img { display: block; height: 48px; width: auto; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.site-footer small { font-size: 12px; color: var(--text-soft); }

/* Shared type */
.kicker {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.h2 {
  margin: 0;
  font: 400 var(--h2)/1.1 var(--display);
}
.script { font-family: var(--script); font-weight: 400; }
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose p { margin: 0; max-width: 52ch; color: var(--text-soft); text-wrap: pretty; }

.btn-line {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--rule-strong);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--espresso);
}
.btn-line:hover { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.btn-line--light { color: var(--linen); border-color: rgba(243, 236, 224, .5); }
.btn-line--light:hover { background: var(--linen); border-color: var(--linen); color: var(--espresso); }

/* Hand-drawn accents over Prairie glyphs, which map ç/ã/ó… to the bare letter */
.mk { position: relative; }
.mk > svg {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  visibility: hidden;
}
.mk > svg path { vector-effect: non-scaling-stroke; }
.fonts-ready .mk > svg { visibility: visible; }
.mk--ced > svg { left: 50%; top: .72em; width: .2em; height: .25em; transform: translateX(-45%); }
.mk--til > svg { left: 50%; top: -.02em; width: .36em; height: .14em; transform: translateX(-50%); }
.mk--acute > svg { left: 50%; top: -.1em; width: .14em; height: .17em; transform: translateX(-30%); }
.mk--grave > svg { left: 50%; top: -.1em; width: .14em; height: .17em; transform: translateX(-70%); }
.mk--circ > svg { left: 50%; top: -.06em; width: .26em; height: .14em; transform: translateX(-50%); }

[data-marks="script"] .mk > svg { stroke-width: 2.2; }
[data-marks="script"] .mk > svg path { vector-effect: none; }
[data-marks="script"] .mk--ced > svg { left: 42%; top: .74em; width: .15em; height: .19em; transform: none; }
[data-marks="script"] .mk--acute > svg { left: 48%; top: .2em; width: .13em; height: .16em; transform: none; }
[data-marks="script"] .mk--til > svg { left: 50%; top: .26em; width: .26em; height: .1em; transform: translateX(-40%); }

@media (max-width: 760px) {
  .site-header { position: relative; }
  .site-header__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "brand brand" "left right";
    gap: 18px 16px;
    padding-top: 24px;
    padding-bottom: 16px;
  }
  .site-nav { font-size: 11px; letter-spacing: .14em; gap: 6px 16px; }
  .site-nav--left { justify-content: flex-end; }
  .site-nav--right { justify-content: flex-start; }
}

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

/* Início */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.hero { padding: 0 var(--pad-x); }
.hero__media {
  position: relative;
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  max-height: 82vh;
  background: var(--beige);
}
.hero__media img, .faixa__media img, .olhar__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__text {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 112px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.hero__title {
  margin: 0;
  font-size: clamp(32px, 4.3vw, 64px);
  line-height: 1.15;
  text-wrap: balance;
}

.olhar { background: var(--cocoa); color: var(--linen); }
.olhar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 104px);
}
.olhar__media { position: relative; aspect-ratio: 2 / 3; align-self: center; overflow: hidden; background: var(--text-soft); }
.olhar__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 0;
  text-align: center;
}
.olhar .prose { gap: 24px; }
.olhar .prose p { color: var(--almond); }

.servicos { background: var(--beige); scroll-margin-top: 90px; }
.servicos__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 88px);
}
.servicos__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px clamp(24px, 3vw, 48px);
}
.servicos__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.servicos__num { font-size: 11px; letter-spacing: .24em; color: var(--mustard-deep); }
.servicos__title { margin: 0; font: 400 clamp(16px, 1.65vw, 23px)/1.1 var(--display); }
.servicos__list p { margin: 0; max-width: 30ch; color: var(--text-soft); text-wrap: pretty; }

.faixa { padding: var(--section-y) var(--pad-x) 0; }
.faixa__media { position: relative; display: block; max-width: 1440px; margin: 0 auto; aspect-ratio: 21 / 9; background: var(--beige); }

.contato { background: var(--cocoa); color: var(--linen); scroll-margin-top: 90px; }
.contato__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.contato .section-head { gap: 16px; }
.contato .kicker, .contato__lede { color: var(--almond); }
.contato .h2 { line-height: 1.04; text-wrap: balance; }
.contato__lede { margin: 0; max-width: 46ch; text-wrap: pretty; }
.contato__form { width: 100%; display: flex; flex-direction: column; gap: 28px; text-align: left; }
.contato__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 28px; }
.contato__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--almond);
}
.contato__form input, .contato__form textarea {
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(243, 236, 224, .35);
  border-radius: 0;
  background: transparent;
  font: 400 16px/1.5 var(--sans);
  letter-spacing: 0;
  text-transform: none;
  color: var(--linen);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.contato__form textarea { resize: vertical; }
.contato__form input:focus, .contato__form textarea:focus { border-bottom-color: var(--mustard-light); }
.contato__error { margin: 0; font-size: 14px; color: var(--almond); text-align: center; }
.contato__error a { color: var(--linen); text-decoration: underline; text-underline-offset: 3px; }
.contato__submit, .contato__again {
  align-self: center;
  border: 0;
  background: transparent;
  color: var(--linen);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.contato__submit { padding: 8px 0; font-size: 26px; line-height: 1; letter-spacing: 0; }
.contato__submit:hover, .contato__again:hover { color: var(--mustard-light); border-color: var(--mustard-light); }
.contato__submit:disabled { cursor: progress; opacity: .7; }
.contato__sent { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 0; }
.contato__sent p { margin: 0; color: var(--almond); }
.contato__sent .contato__thanks { font: 400 27px/1.1 var(--display); color: var(--linen); }
.contato__again {
  padding: 4px 0;
  border-bottom: 1px solid var(--linen);
  font: 400 12px/1.5 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sobre */
.sobre { flex: 1; }
.sobre__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) var(--pad-x) var(--section-y);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 6vw, 104px);
}
.sobre__media { position: relative; min-height: 520px; background: var(--beige); }
.sobre__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.sobre__text { display: flex; flex-direction: column; gap: 24px; }
.sobre__title { margin: 0; font-size: clamp(26px, 2.7vw, 38px); line-height: 1.25; text-wrap: balance; }
.sobre__sign { margin-top: 4px; font-size: 33px; line-height: 1; }
.sobre__cta { align-self: flex-start; font-size: 24px; line-height: 1; color: var(--mustard); }
.sobre__cta:hover { color: var(--espresso); }

/* Projetos */
.projetos-intro { padding: clamp(48px, 6vw, 96px) var(--pad-x) clamp(56px, 7vw, 96px); }
.projetos-intro__inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  text-align: center;
}
.projetos-intro .prose { align-items: center; }
.projetos-intro__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 22px; }
.projetos-intro__body { display: flex; flex-direction: column; align-items: center; gap: 18px; }

.albuns { padding: 0 var(--pad-x) var(--section-y); flex: 1; }
.albuns__grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(56px, 6vw, 80px) clamp(32px, 6vw, 88px);
  justify-items: center;
}
.album { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.album__frame { position: relative; width: 100%; }
.album__frame > svg {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  overflow: visible;
  pointer-events: none;
  z-index: 1;
  fill: none;
  stroke: var(--espresso);
  stroke-width: .9px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.album__frame > svg path { vector-effect: non-scaling-stroke; }
.album__photos { position: relative; aspect-ratio: 8 / 7; overflow: hidden; background: var(--beige); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.album__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1.4s ease; }
.album__photos img.is-active { opacity: 1; }
.album__soon {
  aspect-ratio: 8 / 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--linen);
}
.album__soon span { font-size: 11px; line-height: 1; letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; color: var(--text-soft); }
.album__name { margin: 0; font: 400 clamp(18px, 1.9vw, 25px)/1 var(--display); }
.album__caption { margin: -12px 0 0; font-size: 11px; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); }

@media (max-width: 1000px) {
  .servicos__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
}

@media (max-width: 760px) {
  .hero__media { aspect-ratio: 4 / 5; max-height: none; }
  .faixa__media { aspect-ratio: 4 / 3; }
  .olhar__inner { grid-template-columns: 1fr; }
  .olhar__text { padding: 0; }
}

@media (max-width: 560px) {
  .servicos__list { grid-template-columns: 1fr; }
  .servicos__list p { max-width: 40ch; }
}
