/* N.ART Móveis · Marcenaria de Planejados */
/* Jost servida pelo próprio site. A reserva (Arial ajustada) tem as medidas da Jost para o texto não pular ao trocar */
@font-face { font-family: "Jost"; src: url("fonts/jost-latin.woff2") format("woff2"); font-weight: 200 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost Fallback"; src: local("Arial"); size-adjust: 93.8%; ascent-override: 114%; descent-override: 40%; line-gap-override: 0%; }
:root {
  --bg: #ecebe8;
  --bg-2: #e2e1dd;
  --paper: #f6f5f2;
  --ink: #121212;
  --ink-soft: rgba(18, 18, 18, 0.72);
  --ink-faint: rgba(18, 18, 18, 0.6);
  --line: rgba(18, 18, 18, 0.14);
  --graphite: #3d3d3d;
  --night: #131313;
  --on-dark: #f1f0ed;
  --on-dark-soft: rgba(241, 240, 237, 0.7);
  --line-dark: rgba(241, 240, 237, 0.16);
  --wa: #1c7f4b;
  --wa-hover: #156a3d;
  --font: "Jost", "Jost Fallback", Arial, sans-serif;
  --gutter: clamp(16px, 3.4vw, 56px);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --slant: 36deg; /* ângulo da diagonal do N */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ol, dl, dd, blockquote { margin: 0; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { padding-inline: var(--gutter); max-width: 1520px; margin-inline: auto; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow--mark { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--mark { line-height: 1; }
.eyebrow--mark::before { content: ""; width: 6px; height: 10px; background: currentColor; clip-path: polygon(0 0, 100% 36%, 100% 100%, 0 64%); flex: none; position: relative; top: -.5px; }

/* Entrada suave */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.steps__list .reveal:nth-child(2), .perks .reveal:nth-child(2), .reviews__grid .reveal:nth-child(3) { transition-delay: .08s; }
.steps__list .reveal:nth-child(3), .perks .reveal:nth-child(3), .reviews__grid .reveal:nth-child(4) { transition-delay: .16s; }
.perks .reveal:nth-child(4) { transition-delay: .24s; }

/* Cabeçalho de seção numerado */
.sec-head { position: relative; display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--ink); margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head__num { position: absolute; top: 22px; right: 0; font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.sec-head__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sec-title { font-weight: 300; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.04; letter-spacing: -.03em; max-width: 18ch; text-wrap: balance; }

/* ---------- Botões ---------- */
.i { width: 18px; height: 18px; flex: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; text-align: center;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn .i { transition: transform .4s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 12px; gap: 8px; }
.btn--sm .i { width: 16px; height: 16px; }
.btn--lg { min-height: 56px; padding: 14px 30px; }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: var(--graphite); }
.btn--line { border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); }
.btn--light { background: var(--on-dark); color: var(--night); }
.btn--light:hover { background: #fff; }

.icon-btn {
  width: 40px; height: 40px; flex: none; border-radius: var(--radius);
  display: inline-grid; place-items: center; border: 1px solid var(--line);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn--dark { border-color: var(--line-dark); color: var(--on-dark); width: 48px; height: 48px; }
.icon-btn--dark:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }

.link { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link .i { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: var(--night); color: var(--on-dark); transition: transform .45s var(--ease); }
.nav-hidden .header { transform: translateY(-100%); }
.nav-hidden .bar { top: 0; }
.header .logo__sub { color: var(--on-dark-soft); }
.header .icon-btn { border-color: var(--line-dark); }
.header .icon-btn:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }
.header__cta { background: var(--on-dark); color: var(--night); }
.header__cta:hover { background: #fff; }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.logo__mark { width: 34px; height: 32px; flex: none; }
.logo__text { display: inline-flex; flex-direction: column; line-height: 1; gap: 5px; }
.logo__name { font-size: 22px; font-weight: 500; letter-spacing: .1em; }
.logo__sub { font-size: 10px; font-weight: 400; letter-spacing: .5em; text-transform: uppercase; color: var(--ink-soft); }
.header__nav { display: flex; gap: 36px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }
.header__nav a { position: relative; padding-block: 6px; transition: color .3s var(--ease); }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.header__nav a:hover { color: var(--on-dark); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }

/* ---------- Abertura ---------- */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 104px); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero__eyebrow { margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero__title { font-weight: 300; font-size: clamp(46px, 6.6vw, 112px); line-height: .98; letter-spacing: -.04em; }
.hero__title em { font-style: normal; font-weight: 200; color: var(--ink-faint); }
.hero__lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); max-width: 44ch; margin: clamp(24px, 2.6vw, 36px) 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; gap: clamp(28px, 4vw, 64px); margin-top: clamp(36px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.hero__stats dt { font-size: clamp(40px, 4vw, 56px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.hero__stats sup { font-size: .42em; font-weight: 400; vertical-align: top; position: relative; top: .3em; margin-left: 2px; }
.hero__stats dd { font-size: 13px; letter-spacing: .06em; color: var(--ink-soft); margin-top: 8px; max-width: 16ch; }

.hero__media { position: relative; aspect-ratio: 5 / 6; }
.hero__main { position: absolute; inset: 0 0 8% 14%; overflow: hidden; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 30%); background: var(--bg-2); }
.hero__main img, .hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__main img { animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inset { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 4 / 5; overflow: hidden; border: 8px solid var(--bg); background: var(--bg-2); }
.hero__caption { position: absolute; right: 0; bottom: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.hero__caption::before { content: ""; display: inline-block; width: 24px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; }

/* ---------- Faixa de ambientes ---------- */
.marquee { overflow: hidden; background: var(--night); color: var(--on-dark); padding-block: 18px; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-size: clamp(18px, 1.6vw, 22px); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.marquee__mark { width: 18px; height: 17px; flex: none; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }
.is-shared [data-intro], .is-shared .marquee { display: none; }

/* ---------- Galeria ---------- */
.gallery { padding: clamp(72px, 9vw, 136px) 0 clamp(72px, 9vw, 128px); }
.gallery .sec-head { margin-bottom: 0; }
.gallery__count { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

.bar {
  position: sticky; top: var(--header-h); z-index: 30; margin: clamp(28px, 3vw, 40px) 0 clamp(32px, 4vw, 56px); transition: top .45s var(--ease);
  background: var(--bg);
  border-block: 1px solid var(--line);
}
.bar__inner { display: flex; align-items: stretch; gap: 24px; height: 60px; }
.chips { position: relative; display: flex; gap: clamp(24px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); padding-right: 32px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; scroll-snap-align: start;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint);
  transition: color .3s var(--ease);
}
.chip small { font-size: 10px; letter-spacing: .06em; font-weight: 400; font-variant-numeric: tabular-nums; transform: translateY(-5px); }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.chip:hover, .chip[aria-selected="true"] { color: var(--ink); }
.chip[aria-selected="true"]::after { transform: scaleX(1); }
.bar__share {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding-left: 24px; border-left: 1px solid var(--line);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s var(--ease);
}
.bar__share:hover { color: var(--ink); }
.bar__share .i { width: 16px; height: 16px; }
.chips--wrap { flex-wrap: wrap; overflow: visible; justify-content: center; -webkit-mask-image: none; mask-image: none; padding: 0; gap: 14px 36px; }
.chips--wrap .chip { height: 40px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 64px) clamp(16px, 2vw, 32px); }
/* Só fade: sem deslocamento, os títulos de uma mesma linha ficam sempre alinhados */
.card { display: flex; flex-direction: column; opacity: 0; transition: opacity .8s var(--ease); }
.card.is-in { opacity: 1; }
.cards .card:nth-child(3n+2) { transition-delay: .08s; }
.cards .card:nth-child(3n) { transition-delay: .16s; }
.card__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); cursor: zoom-in; border-radius: var(--radius); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card__media:hover img { transform: scale(1.05); }
.card__veil { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(to top, rgba(10, 10, 10, .55), rgba(10, 10, 10, 0) 45%); opacity: 0; transition: opacity .5s var(--ease); }
.card__open { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff; transform: translateY(8px); transition: transform .5s var(--ease); }
.card__open .i { width: 15px; height: 15px; }
.card__media:hover .card__veil, .card__media:focus-visible .card__veil { opacity: 1; }
.card__media:hover .card__open, .card__media:focus-visible .card__open { transform: none; }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 20px; }
.card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; line-height: 1.2; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.card__num { color: var(--ink); font-variant-numeric: tabular-nums; }
.card__num::after { content: ""; display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; }
.card__title { font-weight: 400; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 10px; text-wrap: balance; }
.card__details { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; text-wrap: pretty; }
.card__cta {
  margin-top: auto; align-self: start; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: color .3s var(--ease);
}
.card__cta .i { width: 16px; height: 16px; }
.card__cta .card__arrow { transition: transform .4s var(--ease); }
.card__cta:hover { color: var(--wa); }
.card__cta:hover .card__arrow { transform: translateX(4px); }

.gallery__more { margin-top: clamp(64px, 7vw, 96px); text-align: center; display: grid; gap: 18px; justify-items: center; }
.gallery__more p { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; letter-spacing: -.02em; }

/* ---------- Nossa história ---------- */
.story { padding: clamp(72px, 9vw, 136px) 0; background: var(--paper); }
.story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.story__media { position: relative; aspect-ratio: 1 / 1.08; }
.story__a { position: absolute; inset: 0 18% 14% 0; overflow: hidden; }
.story__b { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; overflow: hidden; border: 8px solid var(--paper); }
.story__a img, .story__b img { width: 100%; height: 100%; object-fit: cover; }
.story__body > p { color: var(--ink-soft); max-width: 54ch; margin-bottom: 16px; }
.story__quote { margin-top: 32px; padding-left: 20px; border-left: 2px solid var(--ink); font-size: clamp(22px, 2vw, 28px); font-weight: 300; font-style: italic; line-height: 1.3; letter-spacing: -.01em; }

/* ---------- Compromisso ---------- */
.promise { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); padding: clamp(80px, 10vw, 152px) 0; }
.promise__big {
  position: absolute; right: -2vw; bottom: -6vw; font-size: clamp(200px, 30vw, 520px); font-weight: 500; line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(241, 240, 237, .14); pointer-events: none; user-select: none;
}
.promise .eyebrow { color: var(--on-dark-soft); }
.promise__inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 72px; align-items: end; }
.promise__title { font-weight: 300; font-size: clamp(38px, 5.2vw, 80px); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; margin-top: 22px; text-wrap: balance; }
.promise__side p { color: var(--on-dark-soft); font-size: 18px; max-width: 42ch; margin-bottom: 28px; }

/* ---------- Como funciona ---------- */
.steps { padding: clamp(72px, 9vw, 136px) 0; }
.steps__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 56px); }
.step__num { display: block; font-size: clamp(56px, 6vw, 96px); font-weight: 200; line-height: 1; letter-spacing: -.04em; color: var(--ink-faint); margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.step h3 { font-weight: 400; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.step p { color: var(--ink-soft); max-width: 38ch; }

/* ---------- Avaliações ---------- */
.reviews { padding: 0 0 clamp(72px, 9vw, 136px); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.review { background: var(--paper); padding: clamp(26px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 22px; border-radius: var(--radius); position: relative; }
/* Aspas no topo do card, fora do texto */
.review::before { content: "\201C"; display: block; height: 26px; margin-bottom: -8px; font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1; color: rgba(18, 18, 18, .22); }
.review--wide { grid-column: 1 / -1; }
.review__stars { display: flex; gap: 3px; }
.review__stars .i { width: 15px; height: 15px; }
/* Mesma fonte, peso e entrelinha em todos os depoimentos */
.review blockquote { font-size: 19px; font-weight: 400; line-height: 1.45; letter-spacing: 0; max-width: 60ch; }
@media (min-width: 901px) { .review--wide blockquote { font-size: 24px; } }
.review figcaption { margin-top: auto; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); }
.review figcaption::before { content: ""; display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; }

/* ---------- Diferenciais ---------- */
.about { padding: clamp(72px, 9vw, 136px) 0; background: var(--paper); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.perk { padding: 32px clamp(16px, 2vw, 32px) 8px 0; }
.perk + .perk { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.perk__i { width: 30px; height: 30px; margin-bottom: 28px; }
.perk h3 { font-size: 18px; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
.perk p { color: var(--ink-soft); font-size: 15px; max-width: 30ch; }

/* ---------- Projeto próprio ---------- */
.custom { padding: clamp(72px, 9vw, 136px) 0; }
.custom__box { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--night); color: var(--on-dark); border-radius: var(--radius); overflow: hidden; }
.custom__img { position: relative; min-height: 320px; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
.custom__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.custom__body { padding: clamp(36px, 5vw, 80px); align-self: center; }
.custom__body .eyebrow { color: var(--on-dark-soft); }
.custom__title { font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 20px 0 18px; max-width: 18ch; }
.custom__text { color: var(--on-dark-soft); font-size: 17px; line-height: 1.45; max-width: 48ch; margin-bottom: 32px; }

/* ---------- Rodapé ---------- */
.footer { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); padding: clamp(64px, 8vw, 112px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer__top { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 28px; padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-dark); }
.footer__cta { font-size: clamp(34px, 4.6vw, 68px); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; max-width: 14ch; }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer__mark { width: 44px; height: 42px; flex: none; }
.footer__brand .logo__sub { color: var(--on-dark-soft); }
.footer__legal { color: var(--on-dark-soft); max-width: 26ch; }
.footer h3 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--on-dark-soft); margin-bottom: 14px; }
.footer p { margin-bottom: 12px; }
.footer__grid a:not(.link) { border-bottom: 1px solid var(--line-dark); transition: border-color .3s var(--ease); }
.footer__grid a:not(.link):hover { border-color: var(--on-dark); }
.footer__sep { color: var(--on-dark-soft); margin: 0 6px; }
.footer__status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-dark-soft); }
.footer__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.footer__status.is-open { color: #8adbac; }
.footer__status:empty { display: none; }
.footer__copy { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; letter-spacing: .04em; color: var(--on-dark-soft); }
.footer__watermark { position: absolute; right: -4vw; bottom: -8vw; width: clamp(280px, 36vw, 560px); height: auto; aspect-ratio: 260 / 246; color: rgba(241, 240, 237, .04); pointer-events: none; }

/* ---------- Botão flutuante ---------- */
.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px; border-radius: var(--radius);
  background: var(--wa); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 12px 32px -12px rgba(10, 10, 10, .6), 0 2px 6px rgba(10, 10, 10, .12);
  transition: background-color .3s var(--ease), transform .35s var(--ease);
}
.fab .i { width: 22px; height: 22px; }
.fab:hover { background: var(--wa-hover); transform: translateY(-2px); }

/* ---------- Foto ampliada ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100; background: #0e0e0e; color: var(--on-dark);
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: max(12px, env(safe-area-inset-top)) var(--gutter) max(16px, env(safe-area-inset-bottom));
  opacity: 0; transition: opacity .35s var(--ease);
}
.lb.is-open { opacity: 1; }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.lb__info { display: flex; gap: 14px; align-items: baseline; font-size: 13px; }
.lb__info span:first-child { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 500; }
.lb__info span:last-child { color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.lb__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; touch-action: pan-y; }
.lb__fig { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb__fig img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .3s var(--ease); }
.lb__fig img.is-loading { opacity: 0; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(14, 14, 14, .5); }
.lb__nav--prev { left: 0; }
.lb__nav--next { right: 0; }
.lb__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 16px; }
.lb__title { font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; letter-spacing: -.015em; }
.lb__details { color: var(--on-dark-soft); font-size: 15px; margin-top: 4px; max-width: 60ch; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px); z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--radius); font-size: 14px;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .header__nav { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { padding-left: 0; border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__inner, .story__inner, .promise__inner { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 1 / 1; max-width: 640px; }
  .steps__list { grid-template-columns: 1fr; gap: 40px; }
  .step__num { margin-bottom: 14px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .custom__box { grid-template-columns: 1fr; }
  .custom__img { min-height: 240px; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .logo__mark { width: 28px; height: 27px; }
  .logo__name { font-size: 19px; }
  .header__cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header__cta { width: 40px; padding: 0; }
  .bar__share span { display: none; }
  .bar__share { padding-left: 18px; }
  .bar__inner { height: 54px; gap: 18px; }
  .lb__nav { display: none; }
  .lb__bottom { flex-direction: column; align-items: stretch; gap: 14px; }
  .lb__bottom .btn { width: 100%; }
  .fab { height: 50px; padding: 0 16px 0 14px; }
  .sec-title { font-size: clamp(34px, 9vw, 44px); }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; gap: 48px; }
  .perks { grid-template-columns: 1fr; }
  .perk, .perk + .perk { padding: 24px 0; border-left: 0; }
  .perk + .perk { border-top: 1px solid var(--line); }
  .perk { display: grid; grid-template-columns: 30px 1fr; column-gap: 18px; }
  .perk__i { grid-row: span 2; margin: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__caption { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .sec-head__row { flex-direction: column; gap: 6px; }
  .custom__body .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal, .card { opacity: 1; transform: none; }
}

/* ---------- Página de projetos ---------- */
.header__back { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); transition: color .3s var(--ease); }
.header__back:hover { color: var(--on-dark); }
.header__back .i { width: 15px; height: 15px; }
.gallery--catalog { padding-top: clamp(40px, 6vw, 88px); }
.catalog__head { display: grid; gap: 20px; }
.catalog__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 88px); align-items: end; }
.catalog__title { font-weight: 300; font-size: clamp(46px, 6.4vw, 104px); line-height: .98; letter-spacing: -.04em; }
.catalog__lead { color: var(--ink-soft); font-size: clamp(17px, 1.3vw, 19px); max-width: 44ch; padding-bottom: .4em; }
.gallery__all { display: flex; justify-content: center; margin-top: clamp(56px, 6vw, 88px); }
@media (max-width: 1080px) { .header__back { display: none; } }
@media (max-width: 900px) { .catalog__row { grid-template-columns: 1fr; } }

/* Alinhamento óptico de ícone e texto nos botões:
   ícone proporcional às maiúsculas e compensação do espaçamento que sobra depois da última letra */
.btn .i { width: 16px; height: 16px; }
.btn--sm .i { width: 15px; height: 15px; }
.btn > span, .fab > span, .card__cta > span, .bar__share > span, .header__back { margin-right: -.14em; }
.btn > span, .fab > span, .card__cta > span { position: relative; top: 1.5px; }
.bar__share > span { position: relative; top: .5px; }
.fab { padding: 0 20px; gap: 10px; }
.fab .i { width: 19px; height: 19px; }

/* Celular: dois projetos por linha */
.card__cta-short { display: none; }
@media (max-width: 620px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .card__body { padding-top: 12px; }
  .card__meta { font-size: 9.5px; letter-spacing: .14em; margin-bottom: 4px; }
  .card__title { font-size: 16px; line-height: 1.25; margin-bottom: 12px; }
  .card__details { display: none; }
  .card__cta { font-size: 11px; letter-spacing: .12em; gap: 7px; align-self: start; }
  .card__cta .i { width: 14px; height: 14px; }
  .card__cta-full { display: none; }
  .card__cta-short { display: inline; }
  .card__veil { opacity: 1; padding: 10px; background: linear-gradient(to top, rgba(10, 10, 10, .45), rgba(10, 10, 10, 0) 38%); }
  .card__open { transform: none; font-size: 10px; letter-spacing: .12em; }
}

/* Celular: botão flutuante só com o ícone */
@media (max-width: 620px) {
  .fab { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .fab > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fab .i { width: 24px; height: 24px; }
}

/* Uma coluna: foto entre o título e o texto */
@media (max-width: 900px) {
  .hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__text { display: contents; }
  .hero__eyebrow { order: 0; }
  .hero__title { order: 1; margin-bottom: 0; }
  .hero__media { order: 2; width: 100%; margin-top: 28px; }
  .hero__lead { order: 3; }
  .hero__actions { order: 4; }
  .hero__stats { order: 5; }
}
/* Celular: números antes dos botões */
@media (max-width: 620px) {
  .hero__stats { order: 4; margin: 0 0 28px; }
  .hero__actions { order: 5; }
}

/* Botão flutuante some quando já há um botão de WhatsApp visível */
.fab { transition: background-color .3s var(--ease), transform .35s var(--ease), opacity .35s var(--ease); }
.fab-off .fab { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Tela cheia: texto curto no botão do celular */
.lb__cta-short { display: none; }
@media (max-width: 620px) {
  .lb__cta-full { display: none; }
  .lb__cta-short { display: inline; }
}

/* Tela cheia: indicadores para passar as fotos */
.lb__dots { display: flex; justify-content: center; gap: 6px; min-height: 0; padding-top: 14px; }
.lb__dots:empty { padding: 0; }
.lb__dot { width: 18px; height: 2px; padding: 0; background: rgba(241, 240, 237, .28); transition: background-color .3s var(--ease), width .3s var(--ease); position: relative; }
.lb__dot::before { content: ""; position: absolute; inset: -10px -3px; } /* área de toque maior */
.lb__dot.is-on { width: 30px; background: var(--on-dark); }
@media (max-width: 760px) {
  /* faixa lateral só para as setas: a foto nunca fica embaixo delas */
  .lb__fig { padding-inline: 40px; }
  .lb__nav { display: grid; width: 36px; height: 48px; background: none; border: 0; }
  .lb__nav:hover { background: none; color: var(--on-dark); }
  .lb__nav .i { width: 22px; height: 22px; }
  .lb__nav--prev { left: -6px; }
  .lb__nav--next { right: -6px; }
}

/* ==========================================================
   Ritmo de espaçamento único, fluido em todas as larguras
   ========================================================== */
:root {
  --sp-section: clamp(64px, 8.5vw, 136px);  /* entre seções */
  --sp-head: clamp(32px, 4.5vw, 64px);      /* título da seção → conteúdo */
  --sp-eyebrow: clamp(14px, 1.4vw, 20px);   /* rótulo → título */
  --sp-text: clamp(18px, 2vw, 28px);        /* título → texto */
  --sp-cta: clamp(26px, 2.8vw, 40px);       /* texto → botão */
}
.gallery, .story, .promise, .steps, .about, .custom { padding-block: var(--sp-section); }
.reviews { padding: 0 0 var(--sp-section); }
.sec-head { margin-bottom: var(--sp-head); gap: var(--sp-eyebrow); }
.gallery .sec-head { margin-bottom: 0; }
.bar { margin: var(--sp-text) 0 var(--sp-head); }

/* Abertura */
.hero { padding: clamp(32px, 5vw, 72px) 0 var(--sp-section); }
.hero__eyebrow { margin-bottom: var(--sp-eyebrow); }
.hero__lead { margin: var(--sp-text) 0 var(--sp-cta); }
.hero__stats { margin-top: var(--sp-cta); }
@media (max-width: 1200px) { .hero__caption { display: none; } }
@media (max-width: 900px) {
  .hero__media { max-width: none; aspect-ratio: 4 / 3; margin-top: var(--sp-text); }
  .hero__main { inset: 0 0 10% 18%; }
  .hero__inset { width: 32%; }
  .hero__lead { margin-top: var(--sp-text); }
}
@media (max-width: 620px) {
  .hero__media { aspect-ratio: 1 / 1; }
  .hero__main { inset: 0 0 8% 14%; }
  .hero__inset { width: 40%; }
  .hero__stats { margin: 0 0 var(--sp-cta); }
}

/* História */
.story__body .sec-head { margin-bottom: var(--sp-text); }
.story__body > p { margin-bottom: 14px; }
.story__quote { margin-top: var(--sp-cta); }
@media (max-width: 900px) {
  .story__media { aspect-ratio: 4 / 3; max-width: 720px; }
  .story__a { inset: 0 22% 12% 0; }
  .story__b { width: 36%; aspect-ratio: 4 / 5; }
}

/* Compromisso */
.promise__title { max-width: 16ch; margin-top: var(--sp-eyebrow); }
.promise__side p { margin-bottom: var(--sp-cta); }
@media (max-width: 900px) {
  .promise__inner { gap: var(--sp-text); }
  .promise__title { max-width: 20ch; }
}

/* Como funciona */
.step__num { margin-bottom: var(--sp-text); }
@media (min-width: 621px) and (max-width: 900px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step__num { font-size: 56px; }
}

/* Avaliações e diferenciais */
.reviews__grid { gap: clamp(12px, 1.6vw, 24px); }
@media (min-width: 621px) and (max-width: 900px) {
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .review { padding: 22px; }
  .review blockquote { font-size: 16px; }
}

/* Projeto próprio */
.custom__title { margin: var(--sp-eyebrow) 0 var(--sp-text); }
.custom__text { margin-bottom: var(--sp-cta); }

/* Rodapé */
.footer { padding-top: var(--sp-section); }
.footer__copy { margin-top: var(--sp-head); }

/* Página de projetos */
.gallery--catalog { padding-top: clamp(40px, 6vw, 88px); }
.catalog__head { gap: var(--sp-eyebrow); }
