/* =====================================================
   FORMA — Arquitetura & Interiores
   Paleta: off-white/concreto + terracota + ink quente
   Tema claro minimalista, editorial arquitetônico
   ===================================================== */

:root {
  --bg:       #f4f1eb;
  --white:    #ffffff;
  --ink:      #24211c;
  --ink-2:    #3f3b34;
  --ink-soft: #837c70;
  --terra:    #b25f3c;
  --terra-dk: #97482a;
  --terra-lt: #ecd9cd;
  --stone:    #e6e1d6;
  --stone-2:  #ded8ca;
  --line:     rgba(36, 33, 28, .14);
  --line-soft:rgba(36, 33, 28, .08);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;

  --container: 1220px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- tipografia ---------- */
.label { text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 500; color: var(--terra); margin-bottom: 16px; }
.label--center { text-align: center; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.5px; color: var(--ink); }
.section-title em { font-style: italic; color: var(--terra); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 4.5vw, 58px); text-align: center; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; text-align: left; max-width: none; }
.section-note { color: var(--ink-soft); font-size: 1rem; max-width: 38ch; }

/* ---------- botões ---------- */
.btn { --pad-y: 14px; --pad-x: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: var(--pad-y) var(--pad-x); font-family: var(--font-body); font-weight: 500; font-size: .92rem; border-radius: 0; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn--lg { --pad-y: 16px; --pad-x: 32px; font-size: .98rem; }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--terra); transform: translateY(-3px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-3px); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(244,241,235,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); transition: background .4s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; }
.logo { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: 2px; color: var(--ink); display: inline-flex; align-items: baseline; }
.logo i { font-family: var(--font-body); font-style: normal; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--terra); margin-left: 8px; font-weight: 500; }
.logo--light { color: var(--bg); }
.logo--light i { color: var(--terra-lt); }
.nav { display: flex; gap: 30px; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--terra); transition: width .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); cursor: pointer; }
.nav-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 5vw, 68px) 0 clamp(40px, 5vw, 68px); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -1px; margin-bottom: 26px; }
.hero__title em { font-style: italic; color: var(--terra); }
.hero__lead { color: var(--ink-soft); font-size: 1.16rem; max-width: 44ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.hero__caption { position: absolute; left: 0; bottom: 0; background: var(--bg); padding: 18px 24px; }
.hero__caption .label { margin-bottom: 4px; }
.hero__caption strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }

/* ---------- números ---------- */
.stats { padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 5vw, 64px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.stat { text-align: center; }
.stat strong { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; display: block; color: var(--ink); }
.stat strong em { font-style: italic; color: var(--terra); font-size: 1.6rem; }
.stat span { color: var(--ink-soft); font-size: .88rem; margin-top: 8px; display: block; }

/* ---------- projetos ---------- */
.projects { padding: clamp(50px, 7vw, 88px) 0; }
.feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; margin-bottom: 24px; background: var(--white); border: 1px solid var(--line-soft); }
.feature__img { overflow: hidden; }
.feature__img img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; transition: transform .9s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.04); }
.feature__info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.feature__idx { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--terra); margin-bottom: 16px; }
.feature__info h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; margin-bottom: 14px; }
.feature__info p { color: var(--ink-soft); margin-bottom: 22px; max-width: 42ch; }
.feature__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.feature__meta span { font-size: .8rem; color: var(--ink-2); border: 1px solid var(--line); padding: 5px 12px; border-radius: 100px; }
.feature__link { color: var(--terra); font-weight: 600; transition: gap .25s; }
.feature:hover .feature__link { color: var(--terra-dk); }

.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { display: block; }
.project__img { overflow: hidden; aspect-ratio: 4/3; margin-bottom: 16px; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.1); }
.project:hover .project__img img { transform: scale(1.05); filter: grayscale(0); }
.project__info { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.project__cat { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--terra); order: -1; flex-basis: 100%; margin-bottom: 2px; }
.project__info h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; flex: 1; }
.project__year { color: var(--ink-soft); font-size: .9rem; }

/* ---------- serviços ---------- */
.services { padding: clamp(56px, 8vw, 96px) 0; background: var(--stone); }
.services__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start; }
.services__head { position: sticky; top: 100px; }
.services__head p { color: var(--ink-soft); margin-top: 16px; }
.services__head .section-title { text-align: left; }
.services__list { display: grid; }
.serv { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); transition: padding .3s; }
.serv:last-child { border-bottom: 1px solid var(--line); }
.serv:hover { padding-left: 12px; }
.serv__n { font-family: var(--font-display); font-size: 1.5rem; color: var(--terra); }
.serv h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin-bottom: 6px; }
.serv p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- estúdio ---------- */
.studio { padding: clamp(56px, 8vw, 100px) 0; }
.studio__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.studio__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.studio__copy .section-title { text-align: left; }
.studio__copy p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 18px; }
.studio__values { margin-top: 30px; display: grid; gap: 4px; }
.studio__values > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.studio__values strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.studio__values span { color: var(--ink-soft); font-size: .94rem; }

/* ---------- processo ---------- */
.process { padding: clamp(56px, 8vw, 96px) 0; background: var(--ink); color: var(--bg); }
.process .section-title { color: var(--bg); }
.process .label { color: var(--terra-lt); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(244,241,235,.12); border: 1px solid rgba(244,241,235,.12); }
.pstep { background: var(--ink); padding: 34px 28px; transition: background .3s; }
.pstep:hover { background: var(--ink-2); }
.pstep__n { font-family: var(--font-display); font-size: 2.2rem; color: var(--terra-lt); display: block; margin-bottom: 16px; }
.pstep h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 8px; }
.pstep p { color: rgba(244,241,235,.65); font-size: .94rem; }

/* ---------- depoimentos ---------- */
.reviews { padding: clamp(56px, 8vw, 96px) 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { border-top: 2px solid var(--terra); padding-top: 24px; }
.review blockquote { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.4; color: var(--ink); margin-bottom: 22px; }
.review figcaption strong { display: block; font-weight: 600; }
.review figcaption span { color: var(--ink-soft); font-size: .88rem; }

/* ---------- cta ---------- */
.cta { padding: clamp(64px, 9vw, 118px) 0; text-align: center; background: var(--stone); }
.cta__inner { max-width: 760px; margin: 0 auto; }
.cta__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.5px; margin: 14px 0; }
.cta__title em { font-style: italic; color: var(--terra); }
.cta__lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 46ch; margin: 0 auto 30px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 38px; }
.cta__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: .9rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(244,241,235,.75); padding-top: 58px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; padding-bottom: 42px; }
.footer__brand p { margin: 16px 0 20px; max-width: 34ch; color: rgba(244,241,235,.7); }
.footer__social { display: flex; gap: 18px; }
.footer__social a { color: var(--terra-lt); font-weight: 500; font-size: .9rem; transition: color .25s; }
.footer__social a:hover { color: #fff; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h5 { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: rgba(244,241,235,.5); margin-bottom: 14px; font-weight: 600; }
.footer__cols a, .footer__cols p { display: block; font-size: .92rem; margin-bottom: 8px; color: rgba(244,241,235,.72); transition: color .25s; }
.footer__cols a:hover { color: var(--terra-lt); }
.footer__bottom { border-top: 1px solid rgba(244,241,235,.12); padding: 20px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom span { color: rgba(244,241,235,.5); font-size: .82rem; }
.footer__credit strong { color: var(--terra-lt); }

/* ---------- whatsapp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); animation: pulse 2.6s ease-in-out infinite; transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%,100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.7), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.7), 0 0 0 14px rgba(37,211,102,0); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================
   RESPONSIVO
   ===================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { max-width: 460px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .feature { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .services__inner { grid-template-columns: 1fr; gap: 30px; }
  .services__head { position: static; }
  .services__head .section-title { text-align: left; }
  .studio__inner { grid-template-columns: 1fr; gap: 40px; }
  .studio__media { max-width: 460px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 720px) {
  .nav { position: fixed; top: 0; right: 0; left: auto; height: 100vh; height: 100dvh; overflow-y: auto; width: min(82vw, 320px); flex-direction: column; gap: 4px; padding: 96px 30px 40px; background: var(--white); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .4s var(--ease); z-index: 90; }
  .nav.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.5), -30px 0 60px -20px rgba(36,33,28,.3); }
  .nav a { font-size: 1.15rem; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .stats__grid { grid-template-columns: 1fr; gap: 22px; }
  .projects__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .studio__values > div { grid-template-columns: 1fr; gap: 2px; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* menu mobile: botao X acima do painel */
.nav-toggle { position: relative; z-index: 95; }
