/* ==========================================================================
   PAMAGUS PINTURAS E GESSO — site de apresentação
   Conceito: "A última demão" — papel de primer, tinta grafite e as 5 cores
   da marca usadas como amostras de tinta, nunca como gradiente.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --paper: #F2EFE8;      /* primer / massa corrida */
  --paper-2: #E9E5DB;
  --paper-3: #DDD7C9;
  --ink: #15140F;        /* tinta grafite */
  --ink-2: #2B2924;
  --ink-soft: #46433B;
  --muted: #6B675C;
  --line: rgba(21, 20, 15, .14);
  --line-2: rgba(21, 20, 15, .28);
  --line-inv: rgba(242, 239, 232, .16);
  --line-inv-2: rgba(242, 239, 232, .32);

  /* cores do logo (amostradas do arquivo original) */
  --lime: #CDD204;
  --teal: #179894;
  --purple: #5F4495;
  --red: #E73243;
  --red-ink: #B21E2C;   /* vermelho p/ texto pequeno (contraste AA) */
  --orange: #F18E0F;
  --sand: #D8CFBC;

  --f-sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Fragment Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gut: clamp(16px, 4vw, 56px);
  --col-gap: clamp(12px, 1.6vw, 24px);
  --maxw: 1560px;
  --hdr-h: 72px;
  --sec-y: clamp(96px, 13vw, 200px);

  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.76, 0, .24, 1);
  --e-soft: cubic-bezier(.33, 1, .68, 1);
}
@media (max-width: 760px) { :root { --hdr-h: 60px; } }

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hdr-h); scrollbar-gutter: stable; }
html:has(.hdr.menu-open) { background: var(--ink); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--f-sans);
  font-size: clamp(16px, .25vw + 15px, 18px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; line-height: inherit; }
::selection { background: var(--lime); color: var(--ink); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 2px; }
.biz :focus-visible, .ftr :focus-visible, .menu :focus-visible { outline-color: var(--lime); }
.method :focus-visible { outline-color: var(--ink); }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 300; padding: 12px 16px; background: var(--ink); color: var(--paper); transform: translateY(-160%); transition: transform .3s var(--e-out); }
.skip:focus { transform: none; }

/* ── Tipografia utilitária ──────────────────────────────────────────────── */
.mono {
  font-family: var(--f-mono);
  font-size: clamp(10.5px, .15vw + 10px, 12px);
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.5;
}
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

.sec { padding-block: var(--sec-y); }
.sec__head { align-items: start; row-gap: 24px; margin-bottom: clamp(48px, 7vw, 104px); }
.sec__idx { grid-column: 1 / span 3; display: flex; gap: 10px; padding-top: .9em; color: var(--muted); }
.sec__head .sec__idx { padding-top: .6em; }
.sec__idx span { color: var(--ink); }
.sec__title {
  grid-column: 4 / span 9;
  font-size: clamp(2.3rem, 5.4vw, 5.8rem);
  font-stretch: 106%;
  font-weight: 620;
  line-height: .94;
  letter-spacing: -.035em;
  max-width: 15ch;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 380px) { .sec__title { font-size: 2rem; } }
.sec__lead {
  grid-column: 4 / span 6;
  font-size: clamp(1.05rem, .6vw + .9rem, 1.35rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 46ch;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .sec__idx, .sec__title, .sec__lead { grid-column: 1 / -1; }
  .sec__idx, .sec__head .sec__idx { padding-top: 0; }
}

/* linhas mascaradas (SplitText e manuais) */
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln__i { display: block; will-change: transform; }

/* ── Links com sublinhado desenhado ─────────────────────────────────────── */
.ulink {
  position: relative;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size .55s var(--e-out), color .3s;
}
.ulink:hover, .ulink:focus-visible { background-size: 100% 1px; background-position: 0% 100%; }
.ulink--arrow::after { content: '→'; display: inline-block; margin-left: .45em; transition: transform .5s var(--e-out); }
.ulink--arrow:hover::after { transform: translateX(4px); }
.ulink--ext::after { content: '↗'; display: inline-block; margin-left: .3em; font-size: .9em; transition: transform .5s var(--e-out); }
.ulink--ext:hover::after { transform: translate(2px, -2px); }

/* ── Botões ─────────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: var(--paper); --fill: var(--lime); --fg-h: var(--ink); --bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 24px 0 26px;
  font-size: 15px;
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: .005em;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 3px;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color .45s var(--e-out), border-color .45s var(--e-out);
  will-change: transform;
}
.btn::before {
  content: '';
  position: absolute;
  inset: -1px -14px;
  z-index: -1;
  background: var(--fill);
  transform: translateX(-102%) skewX(-14deg);
  transition: transform .7s var(--e-out);
}
/* borda de "rolo": 5 filetes da marca na frente da tinta */
.btn::after {
  content: '';
  position: absolute;
  top: -1px; bottom: -1px; left: 0;
  width: 10px;
  z-index: -1;
  background: linear-gradient(90deg, var(--lime) 0 20%, var(--teal) 20% 40%, var(--purple) 40% 60%, var(--red) 60% 80%, var(--orange) 80%);
  transform: translateX(-320%) skewX(-14deg);
  transition: transform .7s var(--e-out);
}
.btn:focus-visible { color: var(--fg-h); border-color: var(--fill); }
.btn:focus-visible::before { transform: translateX(0) skewX(-14deg); }
.btn:focus-visible::after { transform: translateX(var(--btn-w, 400px)) skewX(-14deg); transition-duration: .9s; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--fg-h); border-color: var(--fill); }
  .btn:hover::before { transform: translateX(0) skewX(-14deg); }
  .btn:hover::after { transform: translateX(var(--btn-w, 400px)) skewX(-14deg); transition-duration: .9s; }
}
.btn--ink { --bg: var(--ink); --fg: var(--paper); --fill: var(--lime); --fg-h: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); --fill: var(--ink); --fg-h: var(--paper); --bd: var(--line-2); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); --fill: var(--lime); --fg-h: var(--ink); }
.btn--sm { height: 44px; padding: 0 16px 0 18px; font-size: 14px; gap: 10px; }

.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; height: 1.25em; }
.btn__label .ch { display: inline-block; text-shadow: 0 1.25em currentColor; transition: transform .6s var(--e-out); transition-delay: calc(var(--i) * 14ms); }
.btn:focus-visible .btn__label .ch { transform: translateY(-1.25em); }
@media (hover: hover) and (pointer: fine) { .btn:hover .btn__label .ch { transform: translateY(-1.25em); } }
.btn__arrow { position: relative; width: 16px; height: 16px; overflow: hidden; flex: none; }
.btn__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__arrow svg { animation: arrowLoop .7s var(--e-io); }
@keyframes arrowLoop { 0% { transform: none; } 48% { transform: translateX(130%); } 49% { transform: translateX(-130%); } 100% { transform: none; } }

/* ── Cortina (abertura + transição de página) ───────────────────────────── */
.curtain { position: fixed; inset: 0; z-index: 400; pointer-events: none; visibility: hidden; }
.curtain__bands { position: absolute; inset: 0; display: flex; }
.curtain__bands span { flex: 1 1 0; background: var(--c); transform: scaleY(0); transform-origin: 50% 100%; }
.curtain__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 18px; opacity: 0; }
.curtain__mark img { width: 88px; height: 88px; }
.curtain__count { color: var(--ink); font-size: 12px; }
.curtain__count b { font-weight: 500; }
html.is-loading .curtain { visibility: visible; pointer-events: auto; background: var(--paper); animation: curtainFailsafe 0s 5s forwards; }
html.is-loading .curtain__mark { opacity: 1; }
html.is-arriving .curtain { visibility: visible; pointer-events: auto; animation: curtainFailsafe 0s 4s forwards; }
html.is-arriving .curtain__bands span { transform: scaleY(1); }
html.is-leaving .curtain { visibility: visible; pointer-events: auto; }
@keyframes curtainFailsafe { to { visibility: hidden; pointer-events: none; } }

/* ── Cursor ─────────────────────────────────────────────────────────────── */
.cursor, .cursor-label { display: none; }
html.cursor-ready .cursor {
  display: block;
  position: fixed; left: 0; top: 0; z-index: 500;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  transition: opacity .3s;
}
html.cursor-ready .cursor-label {
  display: block;
  position: fixed; left: 0; top: 0; z-index: 501;
  padding: 8px 12px;
  background: var(--ink); color: var(--paper);
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transform: scale(.6);
  transform-origin: 0 0;
  white-space: nowrap;
}
html.cursor-ready.cursor-hidden .cursor { opacity: 0; }
html.cursor-ready, html.cursor-ready a, html.cursor-ready button, html.cursor-ready [role="button"], html.cursor-ready label { cursor: none; }
html.cursor-ready input, html.cursor-ready textarea, html.cursor-ready select { cursor: auto; }
html.cursor-ready input:is([type="checkbox"], [type="radio"], [type="range"]), html.cursor-ready .ba__tape { cursor: none; }
@media (forced-colors: active) {
  html.cursor-ready .cursor, html.cursor-ready .cursor-label { display: none; }
  html.cursor-ready { cursor: auto; }
  html.cursor-ready a, html.cursor-ready button, html.cursor-ready [role="button"], html.cursor-ready label { cursor: pointer; }
  html.cursor-ready input:is([type="checkbox"], [type="radio"], [type="range"]) { cursor: pointer; }
  html.cursor-ready .ba__tape { cursor: ew-resize; }
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: var(--hdr-h);
  transition: transform .7s var(--e-out), background-color .4s, box-shadow .4s, color .3s;
}
.hdr.is-scrolled { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-101%); }
.hdr.is-hidden:has(:focus-visible) { transform: none; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; transition: transform .8s var(--e-out); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__word { display: grid; line-height: 1; }
.brand__word b { font-size: 15px; font-weight: 760; font-stretch: 125%; letter-spacing: .2em; }
.brand__word small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 36px); font-size: 15px; font-weight: 500; }
.hdr__nav sup { font-size: 9px; margin-right: 4px; color: var(--muted); vertical-align: 6px; letter-spacing: 0; }
.hdr__menu { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 4px; }
.hdr__menu i { position: relative; width: 22px; height: 10px; }
.hdr__menu i::before, .hdr__menu i::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .6s var(--e-out), top .6s var(--e-out); }
.hdr__menu i::before { top: 0; }
.hdr__menu i::after { top: 8px; }
.hdr__menu[aria-expanded="true"] i::before { top: 4px; transform: rotate(45deg); }
.hdr__menu[aria-expanded="true"] i::after { top: 4px; transform: rotate(-45deg); }
.hdr.menu-open { background: transparent; box-shadow: none; color: var(--paper); transition-delay: 0s, 0s, 0s, .3s; }
.hdr.menu-open .brand__word small { color: rgba(242,239,232,.6); }
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 520px) {
  .hdr__cta { display: none; }
  .brand__word small { display: none; }
}
@media (max-width: 400px) { .hdr .btn--sm { flex: none; padding-inline: 12px 10px; gap: 8px; } }
@media (max-width: 360px) {
  .hdr__in { gap: 12px; }
  .brand { gap: 9px; }
  .brand__word b { font-size: 13.5px; letter-spacing: .12em; }
}

/* ── Menu overlay ───────────────────────────────────────────────────────── */
.menu { position: fixed; inset: 0; z-index: 70; color: var(--paper); display: flex; flex-direction: column; justify-content: flex-start; padding-top: calc(var(--hdr-h) + 16px); padding-bottom: 32px; overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__bg { position: fixed; inset: 0; display: flex; z-index: -1; }
.menu__bg span { flex: 1; background: var(--ink); transform-origin: 50% 0; border-bottom: 6px solid; }
.menu__bg span:nth-child(1) { border-color: var(--lime); }
.menu__bg span:nth-child(2) { border-color: var(--teal); }
.menu__bg span:nth-child(3) { border-color: var(--purple); }
.menu__bg span:nth-child(4) { border-color: var(--red); }
.menu__bg span:nth-child(5) { border-color: var(--orange); }
.menu__nav { display: grid; gap: 2px; margin-top: auto; margin-bottom: 40px; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; overflow: hidden; }
.menu__nav a > * { display: inline-block; }
.menu__nav .mono { color: rgba(242,239,232,.5); width: 28px; }
.menu__nav b { font-size: clamp(2.6rem, 11vw, 5.2rem); font-stretch: 112%; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; transition: translate .6s var(--e-out), color .3s; }
.menu__nav a:hover b, .menu__nav a:focus-visible b { translate: 10px 0; color: var(--lime); }
@media (max-height: 560px) { .menu__nav b { font-size: clamp(2rem, min(11vw, 9svh), 5.2rem); } }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; color: rgba(242,239,232,.7); }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--hdr-h) + clamp(16px, 3vw, 40px)); }
.hero__in { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 5vw, 56px); padding-bottom: clamp(28px, 4vw, 48px); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.hero__meta li { flex: 1 1 0; min-width: max-content; padding-right: 24px; }
.hero__meta li:first-child { color: var(--ink); }
.hero__title {
  font-size: clamp(3rem, 9.4vw, 10.4rem);
  font-stretch: 108%;
  font-weight: 640;
  line-height: .9;
  letter-spacing: -.045em;
  margin-top: auto;
  max-width: 12ch;
}
.hero .demao__primer .hl__stroke { display: none; }
.hl { position: relative; display: inline-block; z-index: 0; }
.hl__stroke { position: absolute; left: -3%; bottom: .04em; width: 106%; max-width: none; height: .42em; z-index: -1; fill: var(--lime); overflow: visible; transform-origin: 0 50%; }
.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 24px; align-items: end; }
.hero__lead { grid-column: 1 / span 5; font-size: clamp(1.02rem, .5vw + .9rem, 1.28rem); line-height: 1.45; color: var(--ink-soft); max-width: 44ch; text-wrap: pretty; }
.hero__ctas { grid-column: 7 / span 5; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { grid-column: 12; justify-self: end; display: grid; justify-items: center; gap: 10px; color: var(--muted); }
.hero__scroll i { width: 1px; height: 48px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--ink); animation: scrollCue 2.2s var(--e-io) 2; }
@keyframes scrollCue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 1100px) {
  .hero__lead { grid-column: 1 / span 7; }
  .hero__ctas { grid-column: 1 / span 10; }
  .hero__scroll { grid-row: 1; grid-column: 12; }
}
@media (max-width: 760px) {
  .hero__title { font-size: clamp(2.6rem, 12.6vw, 4.4rem); letter-spacing: -.04em; }
  .hero__lead, .hero__ctas { grid-column: 1 / -1; }
  .hero__scroll { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: space-between; }
  .hide-sm { display: none; }
  .hero__meta li { flex: 1 1 auto; min-width: 0; padding-right: 8px; }
}

/* amostras da marca (base do hero) */
.swatches { display: flex; height: clamp(58px, 7.2vw, 96px); }
.swatches li {
  flex: 1 1 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  padding: 12px clamp(10px, 1.2vw, 18px);
  background: var(--c);
  color: var(--ink);
  transform-origin: 50% 100%;
  transition: flex-grow .8s var(--e-out);
  min-width: 0;
}
.swatches li.on-dark { color: var(--paper); }
.swatches b { font-size: clamp(12px, 1vw, 16px); font-weight: 600; font-stretch: 110%; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swatches .mono { font-size: 10.5px; }
@media (hover: hover) and (pointer: fine) { .swatches li:hover { flex-grow: 1.9; } }
@media (max-width: 760px) { .swatches b { display: none; } .swatches { height: 52px; } }

/* ── Marquee ────────────────────────────────────────────────────────────── */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(18px, 2.4vw, 30px); white-space: nowrap; user-select: none; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__row { display: flex; align-items: center; flex: none; }
.marquee__row span { font-size: clamp(2rem, 5.2vw, 5rem); font-stretch: 125%; font-weight: 720; letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.marquee__row i { width: .32em; height: .32em; font-size: clamp(2rem, 5.2vw, 5rem); margin-inline: .45em; background: var(--c); flex: none; }

/* ── Manifesto ──────────────────────────────────────────────────────────── */
.manifesto__body { grid-column: 4 / span 9; }
.manifesto__text {
  font-size: clamp(1.55rem, 3.25vw, 3.4rem);
  font-stretch: 100%;
  font-weight: 480;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.manifesto__text .w { transition: none; }
.manifesto__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); margin-top: clamp(56px, 7vw, 96px); }
.diff { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); margin-top: 28px; }
.diff li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-stretch: 104%; font-size: 1rem; }
.diff li::before { content: ''; width: 8px; height: 8px; background: var(--orange); flex: none; }
@media (max-width: 900px) { .diff { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
.manifesto__facts li { border-top: 1px solid var(--line-2); padding-top: 14px; display: grid; gap: 4px; }
.manifesto__facts b { font-weight: 500; color: var(--ink); }
.manifesto__facts span { color: var(--muted); }
@media (max-width: 900px) {
  .manifesto__body { grid-column: 1 / -1; margin-top: 24px; }
  .manifesto__facts { grid-template-columns: 1fr; gap: 0; }
  .manifesto__facts li { padding-block: 14px; }
}

/* ── Serviços ───────────────────────────────────────────────────────────── */
.services { padding-top: 0; }
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
.svc { grid-column: 1 / span 7; border-bottom: 1px solid var(--line-2); }
.svc__item { border-top: 1px solid var(--line-2); }
.svc__row {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 28px) 12px;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  transition: color .45s var(--e-out);
}
.svc__row::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .75s var(--e-out);
}
.svc__row > * { transition: transform .7s var(--e-out); }
.svc__no { color: var(--muted); transition: color .3s; }
.svc__name { font-size: clamp(1.45rem, 2.9vw, 2.75rem); font-stretch: 108%; font-weight: 580; letter-spacing: -.03em; line-height: 1.05; overflow-wrap: break-word; hyphens: auto; min-width: 0; }
@media (max-width: 380px) { .svc__name { font-size: 1.25rem; } }
.svc__code { color: var(--muted); transition: color .3s; }
.svc__plus { position: relative; width: 18px; height: 18px; justify-self: end; }
.svc__plus::before, .svc__plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .6s var(--e-out); }
.svc__plus::after { transform: rotate(90deg); }
.svc__item.is-open .svc__plus::after { transform: rotate(0deg); }
.svc__item.is-open .svc__plus::before { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .svc__row:hover::before { transform: scaleX(1); }
  .svc__row:hover > * { transform: translateX(10px); }
  .svc__row:hover .svc__no, .svc__row:hover .svc__code { color: inherit; }
  .svc__item--dark .svc__row:hover { color: var(--paper); }
}
.svc__item.is-open .svc__row::before { transform: scaleX(1); }
.svc__item.is-open .svc__row > * { transform: translateX(10px); }
.svc__item.is-open .svc__no, .svc__item.is-open .svc__code { color: inherit; }
.svc__item--dark.is-open .svc__row { color: var(--paper); }
.svc__panel { overflow: hidden; }
.svc__panel > * { margin-left: calc(52px + 16px + 22px); margin-right: 12px; }
.svc__panel p { max-width: 52ch; color: var(--ink-soft); padding-top: 22px; }
.svc__panel .ulink { display: inline-block; margin-top: 14px; margin-bottom: 28px; font-weight: 560; }
html:not(.js) .svc__panel[hidden] { display: block; }
@media (max-width: 760px) {
  .svc__row { grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 10px; padding-inline: 4px; }
  .svc__code { display: none; }
  .svc__panel > * { margin-left: 58px; margin-right: 4px; }
  .svc__item.is-open .svc__row > .svc__plus,
  .svc__row:hover > .svc__plus { transform: none; }
}

/* leque de cores */
.fan-wrap { grid-column: 9 / span 4; position: sticky; top: calc(var(--hdr-h) + 32px); }
.fan { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / 1.02; margin-inline: auto; }
.fan__blade {
  position: absolute;
  left: 50%; bottom: 10%;
  width: 21%; height: 74%;
  margin-left: -10.5%;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 10px;
  background: var(--c);
  color: var(--ink);
  border-radius: 8px 8px 3px 3px;
  transform-origin: 50% 88%;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, -10px 14px 28px -18px rgba(21,20,15,.55);
  will-change: transform;
}
.fan__blade.on-dark { color: var(--paper); }
html:not(.has-motion) .fan__blade { transform: rotate(calc((var(--i) - 3) * 12.5deg)); }
.fan__lbl { position: absolute; top: 12px; left: 9px; display: flex; align-items: center; gap: 8px; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.fan__blade .mono { font-size: 9.5px; opacity: .75; }
.fan__blade b { font-size: clamp(11px, .85vw, 13px); font-weight: 600; font-stretch: 105%; line-height: 1; letter-spacing: 0; }
.fan__blade::after { content: ''; position: absolute; left: 50%; bottom: 9%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: rgba(21,20,15,.18); }
.fan__pin { position: absolute; left: 50%; bottom: calc(10% + 74% * .12); width: 16px; height: 16px; margin: 0 0 -8px -8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink-2); z-index: 21; }
.fan__cap { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 12px; color: var(--muted); max-width: 420px; margin-inline: auto; }
.fan__cap [data-fan-name] { color: var(--ink); }
@media (max-width: 1100px) {
  .svc { grid-column: 1 / -1; }
  .fan-wrap { grid-column: 1 / -1; grid-row: 1; position: relative; top: 0; margin-bottom: 40px; }
  .fan { max-width: 300px; }
  .fan__cap { max-width: 300px; }
}

.also { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.also__lead { grid-column: 1 / span 3; color: var(--muted); padding-top: 10px; }
.also__tags { grid-column: 4 / span 9; display: flex; flex-wrap: wrap; gap: 8px; }
.also__tags li { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 15px; transition: background-color .35s, color .35s, border-color .35s; }
@media (hover: hover) and (pointer: fine) { .also__tags li:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); } }
@media (max-width: 900px) { .also__lead, .also__tags { grid-column: 1 / -1; } .also__lead { margin-bottom: 14px; } }

/* ── Obra: antes e depois com fita crepe ─────────────────────────────── */
.work { padding-top: var(--sec-y); }
.ba { position: relative; }
.ba__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
@media (min-width: 760px) { .ba__stage { aspect-ratio: 16 / 9; max-height: 92svh; width: 100%; } }
@media (min-width: 1000px) { html.has-motion .ba__stage { aspect-ratio: auto; height: 100svh; max-height: none; } }
.ba__img { position: absolute; inset: 0; overflow: hidden; }
.ba__img picture, .ba__img img { width: 100%; height: 100%; }
.ba__img img { object-fit: cover; pointer-events: none; }
.ba__img--after { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.ba__tape {
  position: absolute; z-index: 3;
  top: -12px; bottom: -12px; left: var(--x, 50%);
  width: 30px; margin-left: -15px;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #EDE4C8, #E2D6B2);
  clip-path: polygon(0 6px, 12.5% 0, 25% 5px, 37.5% 1px, 50% 6px, 62.5% 0, 75% 4px, 87.5% 1px, 100% 5px, 100% calc(100% - 5px), 87.5% 100%, 75% calc(100% - 4px), 62.5% calc(100% - 1px), 50% 100%, 37.5% calc(100% - 5px), 25% calc(100% - 1px), 12.5% calc(100% - 4px), 0 100%);
  cursor: ew-resize;
  will-change: transform;
}
.ba__tape .mono { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; color: rgba(21,20,15,.62); letter-spacing: .18em; }
.ba__range { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.ba__stage:has(.ba__range:focus-visible)::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; outline: 3px solid var(--lime); outline-offset: -3px; box-shadow: inset 0 0 0 5px var(--ink); }
.ba__tag { position: absolute; top: calc(var(--hdr-h) + 16px); z-index: 2; padding: 7px 11px; background: var(--ink); color: var(--paper); transition: opacity .25s; }
.ba__tag--after { left: var(--gut); }
.ba__tag--before { right: var(--gut); }
.ba__tag.is-off { opacity: 0; }
@media (max-width: 999px) { .ba__tag { top: auto; bottom: 10px; padding: 6px 9px; } .ba__tag--after { left: 10px; } .ba__tag--before { right: 10px; } }
@media (max-width: 760px) { .ba__tape { width: 40px; margin-left: -20px; } }

.work__info { margin-top: clamp(40px, 5vw, 72px); align-items: start; row-gap: 32px; }
.spec { grid-column: 1 / span 5; }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border-top: 1px solid var(--line-2); padding-block: 12px; }
.spec div:last-child { border-bottom: 1px solid var(--line-2); }
.spec dt { color: var(--muted); }
.work__text { grid-column: 7 / span 6; font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 480; line-height: 1.2; letter-spacing: -.02em; text-wrap: pretty; }
@media (max-width: 900px) { .spec, .work__text { grid-column: 1 / -1; } .work__text { grid-row: 1; } }

.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); margin-top: clamp(72px, 9vw, 140px); padding-bottom: var(--sec-y); }
.diptych__fig:nth-child(2) { margin-top: clamp(48px, 10vw, 160px); }
.diptych__frame { overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--paper-3); }
.diptych__frame picture, .diptych__frame img { width: 100%; height: 100%; }
.diptych__frame img { object-fit: cover; transition: scale 1.4s var(--e-out); }
@media (hover: hover) and (pointer: fine) { .diptych__fig:hover .diptych__frame img { scale: 1.04; } }
.diptych figcaption { display: flex; gap: 10px; align-items: center; margin-top: 14px; color: var(--muted); }
.diptych figcaption span { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-2); color: var(--ink); }
@media (max-width: 760px) { .diptych { grid-template-columns: 1fr; row-gap: 40px; } .diptych__fig:nth-child(2) { margin-top: 0; } }

/* ── Números (cotas de planta, sem contador) ────────────────────────── */
.numbers { padding-block: 0 var(--sec-y); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-2); }
.numbers__grid li { padding: 0 clamp(14px, 1.6vw, 24px) clamp(24px, 2.6vw, 36px); border-left: 1px solid var(--line-2); display: grid; gap: 16px; align-content: start; }
.numbers__grid li:first-child { border-left: 0; padding-left: 0; }
.cota { position: relative; display: flex; align-items: center; height: 14px; color: var(--muted); margin-bottom: 10px; }
.cota::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink-soft); transform: scaleX(var(--cs, 1)); }
.cota i { position: relative; width: 1px; height: 14px; background: var(--teal); flex: none; transform: scaleY(var(--ct, 1)); }
.cota .mono { position: relative; z-index: 1; margin-inline: auto; padding: 0 8px; background: var(--paper); }
.numbers__n { display: block; overflow: hidden; font-size: clamp(3rem, 5.4vw, 5.5rem); font-stretch: 125%; font-weight: 280; line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.numbers__n .nm { display: inline-block; }
.numbers__n i { font-style: normal; color: var(--muted); }
.numbers__grid > li > .mono { color: var(--muted); max-width: 24ch; }
.numbers__note { margin-top: 18px; color: var(--muted); }
@media (max-width: 900px) {
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .numbers__n { font-size: clamp(3.2rem, 7.2vw, 7.8rem); }
  .numbers__grid li:nth-child(3) { border-left: 0; padding-left: 0; }
  .numbers__grid li:nth-child(n+3) { padding-top: 28px; }
}
@media (max-width: 600px) {
  .numbers__grid { grid-template-columns: 1fr; }
  .numbers__grid li { border-left: 0; padding-left: 0; padding-top: 28px; }
  .numbers__grid li:first-child { padding-top: 0; }
  .numbers__n { font-size: clamp(3rem, 17vw, 4.6rem); }
}

/* ── Método: cronograma com a linha do responsável ─────────────────────── */
.method { background: var(--paper-2); --evt: var(--purple); --muted: #65615A; }
.method__sticky { padding-block: var(--sec-y); }
.method .sec__head { margin-bottom: clamp(32px, 4vw, 64px); }
.method__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; align-items: start; }
.gantt { grid-column: 1 / span 8; }
.msteps { grid-column: 9 / span 4; }
.gantt__head { display: grid; grid-template-columns: repeat(5, 1fr); color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.gantt__head span { padding-left: 10px; }
.gantt__rows {
  position: relative;
  padding-block: 10px;
  background-image: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 20%);
  border-right: 1px solid var(--line-2);
}
.gantt__row { height: clamp(36px, 3.6vw, 52px); display: flex; align-items: center; }
.gantt__bar {
  margin-left: calc(var(--col) * 20%);
  width: 20%; height: 74%;
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px;
  background: var(--ink); color: var(--paper);
  font-size: clamp(12px, .95vw, 14px); font-weight: 600; font-stretch: 104%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform-origin: 0 50%;
  transition: background-color .45s var(--e-out);
}
.gantt__bar b { font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; opacity: .7; }
.gantt__bar .t { overflow: hidden; text-overflow: ellipsis; }
.gantt__bar.is-current { background: var(--purple); }
.gantt__row--resp { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); height: calc(clamp(36px, 3.6vw, 52px) + 12px); }
.gantt__bar--resp { margin-left: 0; width: 100%; position: relative; min-width: 12px; font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.gantt__bar--resp::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 12px; background: var(--purple); }
.mstep { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line-2); }
.mstep__n { font-size: clamp(3rem, 5vw, 5.4rem); font-stretch: 125%; font-weight: 220; line-height: .82; letter-spacing: -.06em; color: var(--ink); }
.mstep__k { color: var(--muted); }
.mstep h3 { font-size: clamp(1.4rem, 2.1vw, 2.1rem); font-stretch: 106%; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin: 6px 0 10px; }
.mstep p:not(.mstep__k) { color: var(--ink-soft); max-width: 36ch; }
.mstep__cta { display: inline-block; margin-top: 14px; font-weight: 560; }
@media (min-width: 1000px) {
  html.has-motion .method__wrap { height: 300svh; }
  html.has-motion .method__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--hdr-h) + 12px) 28px; }
  html.has-motion .method__sticky > .wrap { width: 100%; }
  html.has-motion .msteps.is-stacked { display: grid; }
  html.has-motion .msteps.is-stacked .mstep { grid-area: 1 / 1; border-top: 1px solid var(--line-2); opacity: 0; pointer-events: none; }
  html.has-motion .msteps.is-stacked .mstep.is-active { opacity: 1; pointer-events: auto; }
}
@media (max-width: 999px) {
  .gantt, .msteps { grid-column: 1 / -1; }
  .gantt__bar .t { display: none; }
  .gantt__bar--resp .t { display: inline; }
  .gantt__head { font-size: 9px; }
  .gantt__head span { padding-left: 4px; }
}

/* ── Compromissos: checklist (escuro) ──────────────────────────────────── */
.deal { background: var(--ink); color: var(--paper); padding-block: var(--sec-y); --evt: var(--lime); }
.deal .sec__idx { color: rgba(242,239,232,.6); }
.deal .sec__idx span { color: var(--paper); }
.deal .demao__primer { color: rgba(242,239,232,.13); }
.deal__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; align-items: start; }
.deal__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr-h) + 32px); display: grid; gap: 22px; border-top: 1px solid var(--line-inv-2); padding-top: 16px; }
.deal__head > * { grid-column: 1 / -1; }
.deal__head .sec__idx { padding-top: 0; }
.deal__head .sec__title { max-width: 11ch; }
.deal__sub { color: rgba(242,239,232,.65); }
.checklist { grid-column: 7 / span 6; }
.ck { display: grid; grid-template-columns: 28px 1fr; gap: 20px; padding: 24px 0 28px; border-top: 1px solid var(--line-inv-2); }
.ck:last-child { border-bottom: 1px solid var(--line-inv-2); }
.ck__box { width: 28px; height: 28px; margin-top: 2px; border: 1.5px solid var(--paper); display: grid; place-items: center; }
.ck__box svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 2.6; stroke-linecap: square; stroke-linejoin: miter; overflow: visible; }
.ck__box path { stroke-dasharray: 1; stroke-dashoffset: var(--d, 0); }
.ck h3 { font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-stretch: 106%; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.ck p { color: rgba(242,239,232,.72); max-width: 44ch; }
@media (max-width: 900px) {
  .deal__head, .checklist { grid-column: 1 / -1; }
  .deal__head { position: relative; top: 0; }
}

/* ── Sócios: pincelada ──────────────────────────────────────────────────── */
.team { padding-top: var(--sec-y); --evt: var(--orange); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px var(--col-gap); align-items: start; }
@media (min-width: 901px) {
  .person:nth-child(2) { margin-top: 96px; }
  .person:nth-child(3) { margin-top: 192px; }
}
.person__ph { width: clamp(220px, 22vw, 330px); aspect-ratio: 1; margin: 0 0 18px -4%; }
.person__ph picture { display: block; width: 100%; height: 100%; mix-blend-mode: multiply; }
.person__ph img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--e-out); }
.person__no { color: var(--muted); margin-bottom: 6px; }
.person__name { font-size: clamp(2rem, 3.6vw, 3.4rem); font-stretch: 100%; font-weight: 640; letter-spacing: -.04em; line-height: 1; transition: font-stretch .6s var(--e-out); }
.person__role { display: inline-block; margin: 12px 0 14px; padding: 4px 8px; background: var(--teal); color: var(--ink); }
.person__bio { color: var(--ink-soft); max-width: 34ch; }
@media (hover: hover) and (pointer: fine) {
  .person:hover .person__name { font-stretch: 120%; }
  .person:hover .person__ph img { scale: 1.035; }
}
.team__cta { margin-top: clamp(56px, 6vw, 88px); font-weight: 560; font-size: 1.1rem; }
@media (max-width: 900px) { .team__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team__grid { grid-template-columns: 1fr; } .person__ph { width: 74%; } }

/* ── Empresas: a faixa roxa vira parede ─────────────────────────────── */
.biz { position: relative; isolation: isolate; color: var(--paper); padding-block: var(--sec-y); --evt: var(--lime); --on-p: #D9D2E6; }
.biz__wall { position: absolute; inset: 0; z-index: -1; background: var(--purple); }
.biz .sec__idx { color: var(--on-p); }
.biz .sec__idx span { color: var(--paper); }
.biz .sec__lead { color: var(--on-p); }
.biz__note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--on-p); }
.biz__note .dot { width: 8px; height: 8px; background: var(--lime); flex: none; box-shadow: none; }
.biz__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 32px; align-items: start; }
.sheet { grid-column: 1 / span 5; border: 1px solid var(--line-inv-2); padding: clamp(20px, 2.4vw, 32px); position: sticky; top: calc(var(--hdr-h) + 24px); }
.sheet__title { color: var(--lime); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.sheet__title::before { content: ''; width: 8px; height: 8px; background: var(--lime); }
.sheet__rows div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line-inv); }
.sheet__rows dt { color: var(--on-p); padding-top: 2px; }
.sheet__rows dd { font-size: 15.5px; }
.sheet .btn { margin-top: 24px; width: 100%; justify-content: space-between; }
.docs { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(242,239,232,.26); border: 1px solid rgba(242,239,232,.26); }
.doc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 30px); background: var(--purple); transition: background-color .5s var(--e-out); }
.doc::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--c); transform-origin: 0 50%; transform: scaleX(var(--top, 1)); }
@media (hover: hover) and (pointer: fine) { .doc:hover { background: #563C8A; } }
.doc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.doc h3 { font-size: clamp(1.2rem, 1.5vw, 1.45rem); font-stretch: 106%; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--line-inv-2); color: var(--paper); font-size: 10px; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.doc__org { color: var(--on-p); }
.doc__code { color: var(--on-p); font-size: 10.5px; overflow-wrap: anywhere; }
.doc__txt { color: var(--paper); font-size: 15px; line-height: 1.5; }
.valid { margin-top: auto; padding-top: 8px; display: grid; gap: 8px; }
.valid__bar { height: 3px; background: rgba(242,239,232,.2); overflow: hidden; }
.valid__bar i { display: block; height: 100%; width: 100%; background: var(--c); transform-origin: 0 50%; }
.valid p { color: var(--on-p); }
.doc__links { display: flex; gap: 18px; margin-top: 6px; font-size: 14.5px; font-weight: 520; }
.doc:first-child .doc__links { margin-top: auto; }
@media (max-width: 1100px) { .sheet { grid-column: 1 / -1; position: relative; top: 0; } .docs { grid-column: 1 / -1; } }
@media (max-width: 360px) { .sheet .btn { padding-inline: 18px 16px; gap: 10px; } }
@media (max-width: 640px) { .docs { grid-template-columns: 1fr; } .sheet__rows div { grid-template-columns: 1fr; gap: 2px; } }

/* ── CTA final ──────────────────────────────────────────────────────────── */
.cta { padding-block: var(--sec-y); overflow: hidden; }
.cta__in { display: grid; gap: clamp(28px, 4vw, 56px); }
.cta__in > * { grid-column: 1 / -1; }
.cta__title { font-size: clamp(3rem, 11.4vw, 12.5rem); font-stretch: 110%; font-weight: 650; line-height: .86; letter-spacing: -.05em; }
.cta__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta__lead { font-size: clamp(1.1rem, .8vw + .9rem, 1.5rem); line-height: 1.4; color: var(--ink-soft); max-width: 30ch; }
.cta__ball {
  position: relative;
  flex: none;
  display: grid; place-items: center;
  width: clamp(150px, 15vw, 220px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  text-align: center;
  font-size: clamp(15px, 1.2vw, 18px); font-weight: 600; font-stretch: 112%; line-height: 1.15;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--e-out);
  will-change: transform;
}
.cta__ball::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform .8s var(--e-out); }
.cta__ball:hover, .cta__ball:focus-visible { color: var(--ink); }
.cta__ball:hover::before, .cta__ball:focus-visible::before { transform: scale(1.02); }
.cta__ball-in { display: block; }
.cta__contacts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(24px, 4vw, 64px); border-top: 1px solid var(--line-2); padding-top: 18px; }
.cta__contacts li { display: grid; gap: 4px; }
.cta__contacts span { color: var(--muted); }
.cta__contacts a { text-transform: none; letter-spacing: 0; font-family: var(--f-sans); font-size: 16px; font-weight: 500; }
@media (max-width: 760px) {
  .cta__row { flex-direction: column; align-items: flex-start; }
  .cta__contacts { grid-template-columns: 1fr; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.ftr { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px var(--col-gap); font-size: 15.5px; line-height: 1.7; }
.ftr__h { color: rgba(242,239,232,.5); margin-bottom: 10px; }
.ftr__word { margin-top: clamp(48px, 7vw, 96px); line-height: .76; white-space: nowrap; text-align: center; overflow: hidden; padding-top: .04em; }
.ftr__word > span { display: inline-block; font-size: 15.5vw; font-stretch: 125%; font-weight: 800; letter-spacing: -.045em; }
.ftr__word .lt { display: inline-block; transition: color .4s; }
.ftr:not(.ftr--short) .ftr__base { padding-bottom: calc(56px + 2 * clamp(14px, 2vw, 28px)); }
.ftr__strip { display: flex; gap: 6px; height: 14px; padding-inline: var(--gut); margin-top: clamp(12px, 2vw, 24px); overflow: hidden; }
.ftr__strip i { flex: 1; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.ftr__strip i:nth-child(1) { background: var(--lime); }
.ftr__strip i:nth-child(2) { background: var(--teal); }
.ftr__strip i:nth-child(3) { background: var(--purple); }
.ftr__strip i:nth-child(4) { background: var(--red); }
.ftr__strip i:nth-child(5) { background: var(--orange); }
.ftr__base { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 28px; border-top: 1px solid var(--line-inv); color: rgba(242,239,232,.6); position: relative; }
@media (max-width: 900px) { .ftr__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__cols { grid-template-columns: 1fr; } }

/* ── WhatsApp flutuante ─────────────────────────────────────────────────── */
.wa {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 60;
  display: flex; align-items: center; gap: 0;
  height: 56px; padding: 0 16px;
  background: var(--ink); color: var(--paper);
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(242,239,232,.22), 0 10px 30px -12px rgba(21,20,15,.55);
  translate: 0 160%;
  transition: translate .8s var(--e-out), gap .6s var(--e-out), background-color .4s, color .4s;
  will-change: transform;
}
.wa.is-visible { translate: 0 0; }
.wa svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.wa__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .7s var(--e-out); }
@media (hover: hover) and (pointer: fine) {
  .wa:hover { gap: 12px; background: #25D366; color: var(--ink); }
  .wa:hover .wa__label { max-width: 220px; }
}
.wa::after { content: ''; position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 2px var(--ink); }
@media (hover: hover) and (pointer: fine) { .wa:hover::after { opacity: 0; } }
.wa:focus-visible { translate: 0 0; outline: 2px solid var(--lime); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink), 0 10px 30px -12px rgba(21,20,15,.55); }


/* ── "Duas demãos": títulos nascem em primer e recebem a tinta final ───── */
[data-demao].is-demao { display: grid; }
[data-demao].is-demao > span { grid-area: 1 / 1; }
.demao__primer { color: var(--paper-3); }
.biz .demao__primer { color: rgba(242, 239, 232, .22); }
.dl { width: fit-content; position: relative; clip-path: inset(-.25em calc(100% - var(--p, 100) * 1%) -.25em -.1em); }
.dl::after {
  content: '';
  position: absolute;
  top: 4%; bottom: 4%;
  left: calc(var(--p, 100) * 1% - max(3px, .05em));
  width: max(3px, .05em);
  background: var(--evt, var(--lime));
  opacity: var(--ro, 0);
}
.services { --evt: var(--lime); }
.work { --evt: var(--teal); }
.method { --evt: var(--purple); }
.deal { --evt: var(--red); }
.team { --evt: var(--orange); }
.biz { --evt: var(--lime); }
.cta { --evt: var(--teal); }

/* fio de prumo no topo de cada cabeçalho de seção */
.sec__head { position: relative; padding-top: 16px; }
.sec__head::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-2); transform-origin: 0 50%; transform: scaleX(var(--hl, 1)); }
.biz .sec__head::before { background: var(--line-inv-2); }

/* botão de contorno: marcas de corte de gráfica nos cantos */
.btn--line { overflow: visible; }
.btn--line::after { display: none; }
.btn--line::before {
  inset: -11px;
  z-index: 0;
  transform: none;
  background:
    linear-gradient(currentColor, currentColor) top left / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) top left / 1px 9px no-repeat,
    linear-gradient(currentColor, currentColor) top right / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) top right / 1px 9px no-repeat,
    linear-gradient(currentColor, currentColor) bottom left / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) bottom left / 1px 9px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 1px 9px no-repeat;
  opacity: 0;
  transition: inset .5s var(--e-out), opacity .3s;
}
.btn--line:focus-visible { color: var(--ink); border-color: var(--ink); }
.btn--line:focus-visible::before { inset: -6px; opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--line:hover { color: var(--ink); border-color: var(--ink); }
  .btn--line:hover::before { inset: -6px; opacity: 1; transform: none; }
}

/* tinta atravessa o botão ao sair (não volta) */
.btn.is-out::before { transform: translateX(102%) skewX(-14deg); }
.btn.no-tr::before, .btn.no-tr::after { transition: none !important; }

/* navegação: seção atual com marca-texto */
.hdr__nav a { position: relative; }
.hdr__nav a::before { content: ''; position: absolute; left: -4px; right: -4px; bottom: .12em; height: .5em; background: var(--lime); z-index: -1; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--e-out); }
.hdr__nav a.is-active::before { transform: scaleX(1); }

/* copiar CNPJ */
.sheet__cnpj { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sheet__cnpj > .mono { font-size: 14px; letter-spacing: .04em; }
.copy { padding: 5px 9px; border: 1px solid var(--line-inv-2); color: var(--paper); font-size: 10px; transition: background-color .3s, color .3s, border-color .3s; }
.copy:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.copy.is-done { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.doc__kb { margin-left: 4px; color: var(--on-p); font-size: 10px; }


/* ==========================================================================
   ORÇAMENTO
   ========================================================================== */
.quote { padding-top: calc(var(--hdr-h) + clamp(40px, 7vw, 96px)); padding-bottom: var(--sec-y); }
.quote__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-2); padding-top: 16px; }
.quote__head .sec__idx { grid-column: 1 / span 3; }
.page-title { grid-column: 4 / span 9; font-size: clamp(2.6rem, 6.6vw, 7rem); font-stretch: 108%; font-weight: 640; line-height: .92; letter-spacing: -.045em; }
.quote__lead { grid-column: 4 / span 6; font-size: clamp(1.05rem, .6vw + .9rem, 1.3rem); line-height: 1.45; color: var(--ink-soft); max-width: 48ch; }
@media (max-width: 900px) { .quote__head .sec__idx, .page-title, .quote__lead { grid-column: 1 / -1; } }

.quote__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 56px; align-items: start; }
.qform { grid-column: 1 / span 7; }
.ticket { grid-column: 9 / span 4; position: sticky; top: calc(var(--hdr-h) + 24px); }
@media (max-width: 1000px) { .qform, .ticket { grid-column: 1 / -1; } .ticket { position: relative; top: 0; max-width: 520px; } }

.qstep { border: 0; border-top: 1px solid var(--line-2); padding: 26px 0 38px; min-width: 0; }
.qstep legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 0; margin-bottom: 18px; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.15; }
.qstep legend + * { clear: both; }
.qstep__n { color: var(--muted); flex: none; width: 28px; }
.qstep__hint { color: var(--muted); margin: -6px 0 16px; clear: both; }
.qstep.is-err legend { color: var(--red-ink); }
.qerr { color: var(--red-ink); margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.chip span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 15.5px; font-weight: 500; line-height: 1.2; background: transparent; transition: background-color .35s var(--e-out), border-color .35s, color .35s; }
.chip span::before { content: ''; width: 10px; height: 10px; flex: none; background: var(--c, transparent); box-shadow: inset 0 0 0 1px currentColor; transition: transform .45s var(--e-out), background-color .3s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--c, var(--ink)); border-color: var(--c, var(--ink)); color: var(--ink); }
.chip:not([style]) input:checked + span, .chip--dark input:checked + span { color: var(--paper); }
.chip input:checked + span::before { background: currentColor; transform: rotate(45deg) scale(.9); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 3px; }

.range { clear: both; display: grid; gap: 12px; }
.range__out { display: flex; align-items: baseline; gap: 10px; }
.range__out b { font-size: clamp(3rem, 6.4vw, 6rem); font-stretch: 125%; font-weight: 280; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.range__out span { font-family: var(--f-mono); font-size: 14px; color: var(--muted); }
.range__in { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
.range__in:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }
.range__in::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / var(--fill, 0%) 100% no-repeat, var(--paper-3); }
.range__in::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 30px; margin-top: -12px; background: var(--lime); border: 2px solid var(--ink); border-radius: 2px; transition: transform .3s var(--e-out); }
.range__in:active::-webkit-slider-thumb { transform: scale(1.12); }
.range__in::-moz-range-track { height: 6px; background: var(--paper-3); border: 0; }
.range__in::-moz-range-progress { height: 6px; background: var(--ink); }
.range__in::-moz-range-thumb { width: 18px; height: 26px; background: var(--lime); border: 2px solid var(--ink); border-radius: 2px; }
.range__scale { display: flex; justify-content: space-between; color: var(--muted); }
.range.is-off .range__out, .range.is-off .range__in, .range.is-off .range__scale { opacity: .3; }
.check { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--ink-soft); cursor: pointer; width: fit-content; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--col-gap); clear: both; }
.field { position: relative; display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field__l { color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 18px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #8A8579; border-radius: 0; padding: 10px 0 12px; outline: none; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--e-out); pointer-events: none; }
.field:focus-within .field__line { transform: scaleX(1); }
.field:focus-within .field__l { color: var(--ink); }
.qstep.is-err .field input:invalid, .qstep.is-err #nome { border-bottom-color: var(--red-ink); }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }

.qsend { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; border-top: 1px solid var(--line-2); padding-top: 32px; }
.qsend__btn { height: 64px; padding-inline: 28px 24px; font-size: 16px; }
.qsend__mail { font-weight: 500; }
.qsend__btn.is-sending { color: var(--ink); }
.qsend__btn.is-sending::before { transform: translateX(0) skewX(-14deg); }
@media (max-width: 520px) { .qsend__btn { width: 100%; justify-content: space-between; } }

/* ficha do pedido */
.ticket__in { position: relative; background: #FBFAF6; border: 1px solid var(--line-2); border-bottom: 0; padding: 0 clamp(18px, 2vw, 26px) 22px; box-shadow: 0 40px 60px -48px rgba(21,20,15,.45); }
.ticket__in::after { content: ''; position: absolute; left: -1px; right: -1px; bottom: -9px; height: 10px; background: radial-gradient(circle at 7px 10px, transparent 5.5px, #FBFAF6 6px) 0 0 / 14px 10px repeat-x; }
.ticket__band { display: flex; height: 10px; margin: 0 calc(-1 * clamp(18px, 2vw, 26px)) 22px; }
.ticket__band i { flex: 1; }
.ticket__band i:nth-child(1) { background: var(--lime); }
.ticket__band i:nth-child(2) { background: var(--teal); }
.ticket__band i:nth-child(3) { background: var(--purple); }
.ticket__band i:nth-child(4) { background: var(--red); }
.ticket__band i:nth-child(5) { background: var(--orange); }
.ticket__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ticket__head img { width: 40px; height: 40px; }
.ticket__head .mono { color: var(--muted); }
.ticket__head h2 { font-size: 1.5rem; font-weight: 650; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.1; }
.ticket__rows div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line-2); }
.ticket__rows dt { color: var(--muted); padding-top: 2px; }
.ticket__rows dd { font-size: 15.5px; line-height: 1.4; min-height: 1.4em; overflow-wrap: anywhere; }
.ticket__rows dd.is-empty { color: var(--muted); }
.ticket__rows .mk { position: relative; z-index: 0; }
.ticket__rows .mk::before { content: ''; position: absolute; left: -2px; right: -2px; bottom: .1em; height: .55em; background: var(--lime); z-index: -1; transform-origin: 0 50%; transform: scaleX(var(--mk, 1)); opacity: var(--mo, 0); }
.ticket__foot { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 12px; margin-top: 4px; }
.ticket__note { color: var(--muted); margin-top: 22px; max-width: 40ch; }

.ftr--short { padding-top: 0; }

/* ==========================================================================
   404
   ========================================================================== */
.nf { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding-block: calc(var(--hdr-h) + 40px) 64px; }
.nf__code { display: flex; gap: clamp(6px, 1vw, 14px); margin-bottom: clamp(24px, 4vw, 48px); }
.nf__code span { display: grid; place-items: center; width: clamp(84px, 14vw, 200px); aspect-ratio: .62; background: var(--c); font-size: clamp(3rem, 9vw, 8rem); font-stretch: 125%; font-weight: 300; letter-spacing: -.05em; border-radius: 6px 6px 2px 2px; }
.nf h1 { grid-column: 1 / -1; font-size: clamp(2.4rem, 6vw, 6rem); font-stretch: 108%; font-weight: 640; letter-spacing: -.04em; line-height: .95; max-width: 14ch; margin-bottom: 20px; }
.nf p { color: var(--ink-soft); max-width: 44ch; margin-bottom: 32px; font-size: 1.15rem; }
.nf__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Estados iniciais de animação (só com JS + GSAP carregados) ─────────── */
html.has-motion [data-reveal],
html.has-motion [data-hero-meta],
html.has-motion [data-hero-fade] { opacity: 0; }
html.has-motion .page-title .ln__i { transform: translateY(105%); }
/* se o JS não terminar de carregar, nada fica escondido */
html.has-motion:not(.motion-ok) [data-reveal],
html.has-motion:not(.motion-ok) [data-hero-meta],
html.has-motion:not(.motion-ok) [data-hero-fade],
html.has-motion:not(.motion-ok) [data-intro],
html.has-motion:not(.motion-ok) .ln__i { animation: motionFailsafe .6s 3.5s both; }
@keyframes motionFailsafe { from { opacity: 0; } to { opacity: 1; transform: none; } }
html.has-motion [data-intro] { opacity: 0; }

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

/* texto sobre o vermelho da marca: #000 dá 4,94:1 (a tinta #15140F dá só 4,33:1) */
.swatches li.on-red,
.svc__item.on-red .svc__row,
.chip.on-red input:checked + span { color: #000; }
