/* ==========================================================================
   AVM Arquitetura · estilos principais (mobile-first)
   Paleta e fontes vêm do Customizer como variáveis CSS.
   ========================================================================== */

:root {
  --c-bg: #F4F1EC;
  --c-sand: #E6DDD0;
  --c-terra: #B4653F;
  --c-sage: #4F5D4E;
  --c-ink: #1F1E1C;
  --c-line: #CFC6B8;
  --f-title: 'Cormorant Garamond', Georgia, serif;
  --f-text: 'Manrope', system-ui, sans-serif;

  --c-ink-soft: color-mix(in srgb, var(--c-ink) 74%, var(--c-bg));
  --c-paper: color-mix(in srgb, var(--c-bg) 60%, #fff);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4.4vw, 72px);
  --sec: clamp(96px, 13vw, 200px);
  --header-h: 72px;
  --bar-h: 0px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-title); font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-terra); outline-offset: 3px; }
::selection { background: var(--c-terra); color: #fff; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--c-ink); color: var(--c-bg); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--text { max-width: 820px; }

.label { font-family: var(--f-text); font-size: 12px; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }

.sec { position: relative; padding: var(--sec) 0; }
.sec-head { margin-bottom: clamp(48px, 6vw, 96px); }
.sec-label { margin: 0 0 22px; color: var(--c-ink-soft); }
.sec-label__n { color: var(--c-terra); }
.sec-title { font-size: clamp(38px, 5.2vw, 76px); max-width: 17ch; }
.sec-title em { color: var(--c-sage); }
.sec-title--xl { font-size: clamp(52px, 9vw, 140px); }
@media (min-width: 1024px) {
  .sec-head--split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .sec-head--split .sec-label { grid-column: 1 / span 3; padding-top: 18px; }
  .sec-head--split .sec-title { grid-column: 5 / span 8; }
}

/* Links e botões ---------------------------------------------------------- */
.u-link {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .8s var(--ease), color .3s var(--ease);
  padding-bottom: 2px;
}
.u-link:hover, .u-link:focus-visible { background-size: 100% 1px; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid currentColor;
  font-family: var(--f-text); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  cursor: pointer; background: none;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--c-terra);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .8s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: #fff; border-color: var(--c-terra); }
.btn--line { color: var(--c-ink); }
.btn--solid { color: var(--c-bg); background: var(--c-ink); border-color: var(--c-ink); }
.btn--light { color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn--ghost-light { color: #fff; border-color: transparent; padding-left: 8px; padding-right: 8px; }
.btn--ghost-light::before { background: none; }
.btn--ghost-light span { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px; padding-bottom: 4px; transition: background-size .8s var(--ease); }
.btn--ghost-light:hover span { background-size: 0 1px; background-position: 100% 100%; }
.btn--ghost-light:hover { border-color: transparent; }

.badge {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(31, 30, 28, .62);
  color: #fff;
  font-size: 11px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* Placeholder de imagem --------------------------------------------------- */
.ph {
  position: relative; width: 100%; display: grid; place-items: center;
  background-color: var(--c-sand);
  background-image:
    linear-gradient(color-mix(in srgb, var(--c-ink) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--c-ink) 12%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--c-ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--c-ink) 6%, transparent) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: var(--c-ink);
}
.ph-in { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; text-align: center; background: color-mix(in srgb, var(--c-sand) 85%, transparent); }
.ph-file { font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.ph-cap { font-family: var(--f-title); font-size: 20px; font-style: italic; }
.ph-size { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  color: var(--c-ink);
  transition: background-color .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header.is-overlay { color: #fff; }
.site-header.is-overlay::before {
  content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 19, 17, .45), transparent);
  transition: opacity .6s var(--ease);
}
.site-header.is-solid, .site-header.is-scrolled { background: var(--c-bg); color: var(--c-ink); box-shadow: 0 1px 0 var(--c-line); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); padding: 0 var(--gutter); max-width: 1480px; margin: 0 auto; }

.demo-bar { background: var(--c-terra); color: #fff; text-align: center; font-size: 13px; line-height: 1.4; padding: 5px 16px; }
.demo-bar a { color: #fff; }

.logo { display: inline-flex; align-items: baseline; gap: 10px; color: inherit; text-decoration: none; white-space: nowrap; position: relative; z-index: 2; }
.logo-mark { width: 10px; height: 10px; background: var(--c-terra); align-self: center; flex: 0 0 auto; }
.logo-name { font-family: var(--f-text); font-weight: 600; font-size: 13px; letter-spacing: .26em; }
.logo-sub { font-family: var(--f-title); font-style: italic; font-size: 19px; letter-spacing: 0; }
.logo-img { max-height: 40px; width: auto; }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav__list a { text-decoration: none; }

.nav-toggle {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.nav-toggle__bars { display: grid; gap: 6px; width: 26px; }
.nav-toggle__bars i { display: block; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.nav-open .nav-toggle__bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle__bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: center; gap: 40px;
    padding: 100px var(--gutter) 40px;
    background: var(--c-bg); color: var(--c-ink);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .9s var(--ease);
    visibility: hidden;
  }
  .nav-open .site-nav { clip-path: inset(0); visibility: visible; }
  .nav-open .site-header { color: var(--c-ink); }
  .site-nav__list { flex-direction: column; gap: 8px; }
  .site-nav__list a { font-family: var(--f-title); font-size: clamp(40px, 11vw, 64px); font-weight: 300; line-height: 1.1; }
  .site-nav__cta { align-self: flex-start; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 40px; }
  .site-nav__list { gap: 32px; }
  .site-nav__list a {
    font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
    background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
    padding: 6px 0; transition: background-size .7s var(--ease);
  }
  .site-nav__list a:hover { background-size: 100% 1px; }
  .site-nav__cta { min-height: 44px; padding: 10px 22px; }
  .site-header.is-overlay:not(.is-scrolled) .site-nav__cta { color: #fff; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--c-ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__zoom { position: absolute; inset: 0; transform-origin: 50% 55%; }
.hero__zoom picture, .hero__zoom img, .hero__zoom .ph { width: 100%; height: 100%; }
.hero__zoom img { object-fit: cover; object-position: 50% 60%; }
.hero__zoom .ph { aspect-ratio: auto !important; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(20, 19, 17, .82) 0%, rgba(20, 19, 17, .35) 32%, rgba(20, 19, 17, 0) 58%),
    linear-gradient(100deg, rgba(20, 19, 17, .55) 0%, rgba(20, 19, 17, .18) 46%, rgba(20, 19, 17, 0) 70%);
}
.hero__cotas { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .7); pointer-events: none; display: none; }
.hero__cotas text { font-family: var(--f-text); font-size: 12px; letter-spacing: .14em; }
.hero__curtain { position: absolute; inset: 0; z-index: 1; display: none; pointer-events: none; }
.hero__beam { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--c-terra); transform: scaleX(0); transform-origin: left center; }

.hero__content { position: relative; z-index: 2; padding-bottom: clamp(120px, 20vh, 200px); }
.hero__sub { margin: 0 0 24px; color: rgba(255, 255, 255, .9); max-width: 62ch; }
.hero__title { font-size: clamp(52px, 10.4vw, 156px); line-height: .95; letter-spacing: -0.02em; max-width: 12ch; text-wrap: balance; }
.hero__title em { color: #fff; font-weight: 300; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line__in { display: inline-block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: clamp(28px, 4vw, 48px); }

.hero__ficha {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding-bottom: 22px;
  color: rgba(255, 255, 255, .88);
}
.hero__ficha::before { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); top: -18px; height: 1px; background: rgba(255, 255, 255, .28); }
.hero__ficha .label { margin: 0; max-width: 60%; }
.scroll-ind { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 48px; }
.scroll-ind i { position: relative; width: 1px; height: 48px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.scroll-ind i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; animation: avm-scroll 2.4s var(--ease) infinite; }
@keyframes avm-scroll { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (min-width: 1024px) {
  .hero__content { padding-bottom: clamp(140px, 22vh, 240px); }
}

/* 01 Manifesto ------------------------------------------------------------ */
.manifesto { text-align: center; }
.manifesto .sec-label { margin-bottom: clamp(36px, 5vw, 64px); }
.manifesto__text {
  font-family: var(--f-title); font-weight: 300;
  font-size: clamp(30px, 4.3vw, 66px); line-height: 1.2; letter-spacing: -0.01em;
  max-width: 24ch; margin: 0 auto; text-wrap: balance;
}
.stats { list-style: none; margin: clamp(64px, 8vw, 120px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; max-width: 980px; }
.stat { flex: 1 1 200px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 24px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--c-line); }
.stat__n { font-family: var(--f-title); font-weight: 300; font-size: clamp(48px, 5.4vw, 80px); line-height: 1; }
.stat__l { color: var(--c-ink-soft); }
.stats__note { margin: 28px 0 0; }
@media (max-width: 560px) {
  .stat { flex-basis: 100%; }
  .stat + .stat::before { left: 30%; right: 30%; top: 0; bottom: auto; width: auto; height: 1px; }
}

/* 02 Projetos ------------------------------------------------------------- */
.filter { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0 0 clamp(40px, 5vw, 72px); }
.filter__btn {
  min-height: 48px; padding: 8px 0; border: 0; background: none; cursor: pointer;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--c-ink-soft);
  background-image: linear-gradient(var(--c-terra), var(--c-terra)); background-repeat: no-repeat; background-position: 0 calc(100% - 8px); background-size: 0 1px;
  transition: background-size .7s var(--ease), color .3s var(--ease);
}
.filter__btn:hover { color: var(--c-ink); }
.filter__btn.is-active { color: var(--c-ink); background-size: 100% 1px; }

.grid-projects { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 7vw, 96px) 24px; }
.card { min-width: 0; }
.card[hidden] { display: none; }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__media { position: relative; overflow: hidden; background: var(--c-sand); aspect-ratio: 3 / 2; }
.card--tall .card__media { aspect-ratio: 4 / 5; }
.card__img { position: absolute; inset: 0; }
.card__img img, .card__img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.card__img .ph { aspect-ratio: auto !important; }
.card__link:hover .card__img img { transform: scale(1.06); }
.card__media .badge { position: absolute; left: 12px; top: 12px; }
.card__meta { padding-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.card__title { font-size: clamp(28px, 2.6vw, 40px); }
.card__title span {
  background-image: linear-gradient(var(--c-terra), var(--c-terra)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
  transition: background-size 1s var(--ease); padding-bottom: 4px;
}
.card__link:hover .card__title span, .card__link:focus-visible .card__title span { background-size: 100% 1px; }
.card__label { margin: 0; color: var(--c-ink-soft); }
.projects__more { margin-top: clamp(64px, 8vw, 120px); display: flex; justify-content: center; }
.empty { font-family: var(--f-title); font-size: 28px; }

@media (min-width: 768px) {
  .grid-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .grid-projects .card:nth-child(even) { margin-top: 14vw; }
}
@media (min-width: 1024px) {
  .grid-projects { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(72px, 8vw, 140px); }
  .grid-projects .card:nth-child(even) { margin-top: 0; }
  .grid-projects .card:nth-child(6n+1) { grid-column: 1 / span 5; }
  .grid-projects .card:nth-child(6n+2) { grid-column: 7 / span 6; margin-top: 18vh; }
  .grid-projects .card:nth-child(6n+3) { grid-column: 2 / span 6; }
  .grid-projects .card:nth-child(6n+4) { grid-column: 9 / span 4; margin-top: -6vw; }
  .grid-projects .card:nth-child(6n+5) { grid-column: 1 / span 7; }
  .grid-projects .card:nth-child(6n) { grid-column: 9 / span 4; margin-top: 10vw; }
  .grid-projects.is-filtered .card { grid-column: span 6 !important; margin-top: 0 !important; }
  .grid-projects.is-filtered .card--tall .card__media { aspect-ratio: 3 / 2; }
}
.projects--archive { padding-top: calc(var(--header-h) + clamp(64px, 10vw, 140px)); }

/* 03 Da planta à realidade ------------------------------------------------ */
.plant { padding-bottom: 0; }
.plant__track { position: relative; padding-bottom: var(--sec); }
.plant__stage { display: grid; gap: 16px; }
.plant__pane { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.plant__pane--plan { background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink); }
.plant__pane--plan svg { width: 100%; height: 100%; }
.plant__pane--plan .p-axis, .plant__pane--plan .p-cotas { color: var(--c-terra); }
.plant__pane--render img, .plant__pane--render .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.plant__light {
  position: absolute; inset: -20% -40%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 236, 205, .55), rgba(255, 236, 205, 0));
  mix-blend-mode: soft-light;
  width: 60%;
}
.plant__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px; }
.plant__step { color: var(--c-terra); }
.plant__legend { font-family: var(--f-title); font-size: clamp(22px, 2vw, 30px); font-style: italic; }
@media (min-width: 900px) {
  .plant__stage { grid-template-columns: 1fr 1fr; }
}

/* 04 Serviços -------------------------------------------------------------- */
.svc-list { position: relative; }
.svc { position: relative; }
.svc__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--c-line); transform-origin: left center; }
.svc__rule--end { position: relative; display: block; }
.svc__head {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr 32px; column-gap: 12px; row-gap: 12px; align-items: baseline;
  width: 100%; padding: 28px 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.svc__num { color: var(--c-terra); }
.svc__name { font-family: var(--f-title); font-weight: 300; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; transition: color .4s var(--ease), transform .8s var(--ease); }
.svc__head:hover .svc__name { color: var(--c-terra); }
.svc__txt { grid-column: 2 / 3; display: flex; flex-direction: column; gap: 10px; }
.svc__desc { color: var(--c-ink-soft); }
.svc__ent { color: var(--c-ink); }
.svc__plus { grid-column: 3; grid-row: 1; position: relative; width: 24px; height: 24px; justify-self: end; align-self: center; }
.svc__plus::before, .svc__plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.svc__plus::after { transform: rotate(90deg); }
.svc__head[aria-expanded="true"] .svc__plus::after { transform: rotate(0); }
.svc__body-in { display: grid; gap: 24px; padding: 4px 0 40px; }
.svc__img { overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-sand); }
.svc__img img, .svc__img .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.svc__cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 20px; }
.svc__cta-txt { font-family: var(--f-title); font-size: clamp(22px, 2vw, 30px); line-height: 1.25; margin: 0; max-width: 22ch; }
@media (min-width: 1024px) {
  .svc__head { grid-template-columns: 80px 5fr 6fr 40px; column-gap: 24px; padding: 40px 0; }
  .svc__txt { grid-column: 3; }
  .svc__plus { grid-column: 4; }
  .svc__body-in { grid-template-columns: 80px 5fr 6fr 40px; column-gap: 24px; }
  .svc__img { grid-column: 3; grid-row: 1; }
  .svc__cta { grid-column: 2; grid-row: 1; }
}

/* 05 Processo -------------------------------------------------------------- */
.timeline { position: relative; }
.timeline__track { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 1px; background: var(--c-line); }
.timeline__fill { position: absolute; inset: 0; background: var(--c-terra); transform: scaleY(1); transform-origin: top center; }
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; }
.step { position: relative; padding-left: 92px; min-height: 64px; }
.step__icon {
  position: absolute; left: 0; top: 0;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line);
  color: var(--c-terra);
  transition: box-shadow .8s var(--ease), color .8s var(--ease);
}
.step__icon .icon-line { width: 34px; height: 34px; }
.step__dot { display: none; }
.step__n { display: block; color: var(--c-terra); margin-bottom: 6px; padding-top: 4px; }
.step__t { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; margin-bottom: 10px; }
.step__d { color: var(--c-ink-soft); margin: 0; max-width: 34ch; }
@media (min-width: 1024px) {
  .timeline__track { left: 0; right: 0; top: 32px; bottom: auto; width: auto; height: 1px; }
  .timeline__fill { transform: scaleX(1); transform-origin: left center; }
  .timeline__list { grid-template-columns: repeat(var(--steps, 6), minmax(0, 1fr)); gap: 28px; }
  .step { padding-left: 0; padding-top: 96px; }
  .step__icon { top: 0; }
}

/* 06 Antes e depois --------------------------------------------------------- */
.ba-sec .sec-head { margin-bottom: 32px; }
.ba-tabs { margin-bottom: 32px; }
.ba-wrap { position: relative; }
.ba[hidden] { display: none; }
.ba { margin: 0; }
.ba__frame {
  --pos: 50%;
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; max-height: 88vh; width: 100%;
  background: var(--c-sand);
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img, .ba__layer .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.ba__layer--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: #fff; transform: translateX(-.5px); pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .25); }
.ba__knob {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  border: 1px solid #fff; background: rgba(31, 30, 28, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ba__knob::before, .ba__knob::after {
  content: ''; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid #fff; border-width: 1px 1px 0 0;
}
.ba__knob::before { left: 13px; transform: rotate(-135deg); }
.ba__knob::after { right: 13px; transform: rotate(45deg); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + .badge, .ba__frame:focus-within .ba__knob { box-shadow: 0 0 0 2px var(--c-terra); }
.ba__tag { position: absolute; top: 16px; z-index: 2; padding: 6px 10px; background: rgba(31, 30, 28, .6); color: #fff; pointer-events: none; }
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }
.ba__frame .badge { position: absolute; left: 16px; bottom: 16px; z-index: 2; pointer-events: none; }
.ba__cap { margin-top: 18px; color: var(--c-ink-soft); }

/* 07 Sobre ----------------------------------------------------------------- */
.about { background: var(--c-sand); }
.about__grid { display: grid; gap: 48px; }
.about__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: color-mix(in srgb, var(--c-sand) 70%, var(--c-ink)); }
.about__frame img, .about__frame .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.about__note { margin-top: 12px; }
.about__text .sec-title { margin-bottom: 20px; }
.about__cau { color: var(--c-ink-soft); margin-bottom: 32px; }
.about__text > p:not(.label) { max-width: 54ch; font-size: 18px; }
.about__form { list-style: none; margin: 40px 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--c-ink) 18%, transparent); }
.about__form li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--c-ink) 18%, transparent); align-items: baseline; }
.about__form .label { color: var(--c-terra); }
.about__quote { margin: 48px 0 0; padding-left: 24px; border-left: 1px solid var(--c-terra); }
.about__quote p { font-family: var(--f-title); font-style: italic; font-weight: 300; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.2; margin: 0; max-width: 22ch; }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .about__media { grid-column: 1 / span 5; position: sticky; top: 110px; }
  .about__text { grid-column: 7 / span 6; padding-top: 6vw; }
}

/* 08 Avaliações ------------------------------------------------------------- */
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(40px, 5vw, 72px); }
.reviews__head .sec-label { margin: 0; }
.reviews__sum { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.reviews__nota { font-family: var(--f-title); font-size: clamp(40px, 4vw, 60px); line-height: 1; }
.reviews__nota span { color: var(--c-terra); font-size: .6em; }
.quotes { position: relative; text-align: center; max-width: 1100px; margin: 0 auto; }
.quotes__mark { width: 84px; height: 63px; margin: 0 auto 28px; fill: none; stroke: var(--c-terra); stroke-width: 1.2; }
.quotes__stage { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.6s var(--ease), visibility 0s linear 1.6s; }
.quote.is-active { opacity: 1; visibility: visible; transition: opacity 1.6s var(--ease), visibility 0s; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--f-title); font-weight: 300; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.22; margin: 0 auto; max-width: 28ch; text-wrap: balance; }
.quote figcaption { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.quote figcaption .label { color: var(--c-ink-soft); }
.stars { color: var(--c-terra); letter-spacing: .2em; font-size: 14px; }
.stars__off { color: var(--c-line); }
.quotes__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.quotes__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-line); background: none; cursor: pointer; font-size: 18px; transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.quotes__btn:hover { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.reviews__seal { text-align: center; margin: 40px 0 0; }
.reviews__seal .badge { background: var(--c-sand); color: var(--c-ink); backdrop-filter: none; }
.reviews__cta { text-align: center; margin-top: 32px; }

/* 09 Dúvidas ---------------------------------------------------------------- */
.faq__grid { display: grid; gap: 40px; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item:first-child { border-top: 1px solid var(--c-line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding: 20px 0;
  font-family: var(--f-title); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: 0 0 20px; height: 20px; }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--c-terra); }
.faq__a { padding: 0 0 28px; max-width: 62ch; color: var(--c-ink-soft); }
.faq__a p { margin: 0; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .faq__head { grid-column: 1 / span 4; }
  .faq__list { grid-column: 6 / span 7; }
}

/* Anoitecer (overlay das duas últimas seções) ------------------------------ */
.night { position: relative; }
.night__veil { position: absolute; inset: 0; background: var(--c-ink); opacity: 0; pointer-events: none; z-index: 1; }
.night > .wrap { position: relative; z-index: 2; }
.faq .night__veil { mix-blend-mode: multiply; }

/* CTA final ----------------------------------------------------------------- */
.cta-final {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center; overflow: hidden; background: var(--c-ink);
}
.cta-final__media { position: absolute; inset: 0; }
.cta-final__media img, .cta-final__media .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.cta-final__vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(20, 19, 17, .25) 0%, rgba(20, 19, 17, .55) 60%, rgba(20, 19, 17, .85) 100%);
}
.night__veil--edges { background: radial-gradient(ellipse 60% 55% at 50% 50%, transparent 0%, transparent 40%, var(--c-ink) 100%); }
.cta-final__content { position: relative; z-index: 3; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; }
.cta-final__title { font-size: clamp(48px, 8vw, 128px); line-height: 1; max-width: 12ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.cta-final__title em { color: #fff; }
.cta-final__txt { max-width: 46ch; margin: 28px auto 40px; color: rgba(255, 255, 255, .92); font-size: 18px; }

/* Rodapé -------------------------------------------------------------------- */
.site-footer { background: var(--c-ink); color: color-mix(in srgb, var(--c-bg) 82%, transparent); padding: clamp(72px, 9vw, 120px) 0 calc(28px + 64px); }
.site-footer .logo { color: var(--c-bg); }
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.site-footer__cau { margin: 20px 0 0; font-size: 15px; }
.site-footer .label { color: var(--c-bg); margin-bottom: 14px; }
.site-footer__col p { margin: 0 0 8px; font-size: 16px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; font-size: 14px; }
.site-footer__base p { margin: 0; }
.signature a { color: var(--c-bg); }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 5fr 4fr 3fr; }
}

.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  background: var(--c-terra); color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(31, 30, 28, .25);
  transform: translateY(160%); transition: transform .8s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
@media (min-width: 1024px) {
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 28px; }
}

/* Página de projeto ---------------------------------------------------------- */
.p-cover__content { padding-bottom: clamp(56px, 10vh, 120px); }
.p-cover__title { max-width: 14ch; }
.p-ficha { margin: 24px 0 0; color: rgba(255, 255, 255, .92); }
.p-ficha .sep { opacity: .55; margin: 0 4px; }
.p-cover__badge { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 24px); z-index: 3; }

.p-concept__cols { display: grid; gap: 24px; font-size: 19px; line-height: 1.7; }
.p-concept__cols p { margin: 0; }
.p-concept__lead { font-family: var(--f-title); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.25; max-width: 30ch; margin: clamp(40px, 5vw, 72px) 0 0; }
@media (min-width: 900px) {
  .p-concept__cols { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 96px); max-width: 1180px; }
  .p-concept .sec-label { margin-bottom: 40px; }
}

.p-gallery { display: grid; gap: clamp(64px, 9vw, 140px); padding-bottom: var(--sec); }
.p-gallery figure { margin: 0; }
.g-img { position: relative; overflow: hidden; background: var(--c-sand); }
.g-img img, .g-img .ph { width: 100%; height: 100%; object-fit: cover; }
.g-full .g-img { aspect-ratio: 3 / 2; max-height: 94vh; width: 100%; }
.g-full figcaption, .g-pair figcaption { margin-top: 14px; color: var(--c-ink-soft); }
.g-pair { display: grid; gap: 24px; }
.g-pair .g-img { aspect-ratio: 3 / 2; }
.g-text { display: grid; gap: 28px; align-items: center; }
.g-text .g-img { aspect-ratio: 4 / 5; }
.g-text__p { font-family: var(--f-title); font-weight: 300; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.25; margin: 0; max-width: 24ch; }
@media (min-width: 768px) {
  .g-pair { grid-template-columns: 1fr 1fr; align-items: start; }
  .g-pair figure:nth-child(2) { margin-top: 10vw; }
  .g-text { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .g-text figure { grid-column: 1 / span 6; }
  .g-text__p { grid-column: 8 / span 5; }
  .g-text--rev figure { grid-column: 7 / span 6; grid-row: 1; }
  .g-text--rev .g-text__p { grid-column: 2 / span 4; grid-row: 1; }
}

.p-credits { padding-top: 0; }
.p-credits__grid { border-top: 1px solid var(--c-line); padding-top: 40px; }
.p-credits dl { margin: 0; display: grid; gap: 20px; }
.p-credits dl div { display: grid; gap: 4px; }
.p-credits dt { color: var(--c-ink-soft); }
.p-credits dd { margin: 0; }
@media (min-width: 900px) {
  .p-credits__grid { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; }
  .p-credits dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
}

.p-cta { background: var(--c-sand); padding: clamp(80px, 10vw, 140px) 0; }
.p-cta__in { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
@media (min-width: 900px) { .p-cta__in { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.p-nav { padding: clamp(72px, 9vw, 140px) 0; overflow: hidden; }
.p-nav__in { display: flex; flex-direction: column; gap: 40px; }
.p-nav__prev { align-self: flex-start; text-decoration: none; color: var(--c-ink-soft); }
.p-nav__next { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-decoration: none; text-align: right; }
.p-nav__next .label { color: var(--c-terra); }
.p-nav__name { font-family: var(--f-title); font-weight: 300; font-size: clamp(48px, 9vw, 150px); line-height: .95; transform-origin: right bottom; transition: color .5s var(--ease); }
.p-nav__next:hover .p-nav__name { color: var(--c-terra); }

/* Páginas comuns ---------------------------------------------------------- */
.page-content { padding-top: calc(var(--header-h) + clamp(64px, 9vw, 120px)); }
.entry__content { margin-top: 40px; }
.entry__content h2 { font-size: clamp(28px, 3vw, 40px); margin: 48px 0 16px; }
.entry__content a { color: var(--c-terra); }

/* Movimento reduzido ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
