/* Eduardo Paranhos Arquitetura e Construção — tema do Painel v4 (CDW Tech)
   Base do kit (layout, menu, FAQ, contato, balão do WhatsApp, lightbox) + identidade no bloco "tema".
   Todas as cores e fontes saem das variáveis do :root (editáveis em Cores e fontes, no painel). */

:root {
  /* ===== tema ===== */
  --bg: #f4f2ee;          /* papel claro, levemente quente */
  --bg-2: #ebe7e0;        /* areia */
  --bg-3: #e0dbd2;
  --ink: #1d1d1c;         /* grafite da marca */
  --ink-2: #3b3a37;
  --muted: #66635d;
  --line: #d8d2c8;
  --accent: #262625;      /* grafite: botões e marcas */
  --accent-hi: #3d3c39;
  --accent-ink: #262625;
  --accent-rgb: 38 38 37;
  --on-accent: #f4f2ee;
  --accent-2: #a58d6b;    /* madeira: detalhes, cotas e destaques */
  --accent-2-ink: #6e5a3f;
  --dark: #1d1d1c;
  --wa: #262625;
  --wa-ink: #ffffff;
  --erro: #a3261c;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Lexend Exa', 'Manrope', system-ui, sans-serif;
  --font-2: 'Manrope', system-ui, sans-serif;

  /* medidas */
  --wrap: 1360px;
  --gut: clamp(20px, 5vw, 64px);
  --sec: clamp(76px, 9vw, 132px);
  --header: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sobre-escuro: color-mix(in oklab, var(--bg) 92%, var(--dark));
  --muted-escuro: color-mix(in oklab, var(--bg) 64%, var(--dark));
  --linha-escuro: color-mix(in oklab, var(--bg) 18%, var(--dark));
}
@media (max-width: 760px) { :root { --header: 70px; } }

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1rem; font-weight: 400; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 200; line-height: 1.12; letter-spacing: .03em; text-transform: uppercase; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent-2-ink); }
h3 { font-weight: 300; }
small, figcaption, time, label, legend { font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent-2-ink); outline-offset: 3px; }
.s-escuro :focus-visible, .hero :focus-visible, .ch :focus-visible, .site-footer :focus-visible, .pjp-topo :focus-visible, .mobile-menu :focus-visible { outline-color: var(--accent-2); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: .85rem; transition: top .2s; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ícones */
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i.i-fill { fill: currentColor; stroke: none; }
.i-mono { width: auto; height: 1em; aspect-ratio: 295 / 278; }

/* rótulo com linha de cota (├──── TEXTO) */
.kicker { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; font-family: var(--font-2); font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-2-ink); line-height: 1.5; }
.kicker::before { content: ""; flex: none; width: 46px; height: 9px; background: linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) 0 0 / 1px 100% no-repeat, linear-gradient(currentColor, currentColor) 100% 0 / 1px 100% no-repeat; opacity: .9; }
.s-escuro .kicker { color: var(--accent-2); }
.kicker-claro { color: rgb(255 255 255 / .92); text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
.kicker-claro::before { color: var(--accent-2); }

.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); font-weight: 300; line-height: 1.7; color: var(--ink-2); max-width: 52ch; }
.prose { color: var(--ink-2); }
.prose > :last-child { margin-bottom: 0; }
.prose a { color: var(--ink); }
.prose h2 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 300; margin: 2.2em 0 .8em; letter-spacing: .06em; }
.prose ul { padding-left: 1.1em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent-2); }
.prose-longa { max-width: 78ch; }

/* ===== botões ===== */
.btns { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 28px; border: 1px solid transparent; border-radius: 0; font-family: var(--font-2); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; line-height: 1.2; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn .i { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover .i-arrow, .btn:hover .i-arrow-up-right { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-linha { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-linha:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-claro { background: var(--bg); color: var(--ink); }
.btn-claro:hover { background: #fff; }
.btn-linha-clara { border-color: rgb(255 255 255 / .62); color: #fff; background: transparent; }
.btn-linha-clara:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: color-mix(in oklab, var(--wa) 82%, white); }
.s-escuro .btn-linha { color: var(--bg); }
.s-escuro .btn-linha:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* ===== seções ===== */
.sec { padding-block: var(--sec); position: relative; }
.s-claro { background: var(--bg); }
.s-areia { background: var(--bg-2); }
.s-escuro { background: var(--dark); color: var(--sobre-escuro); }
.s-escuro h2, .s-escuro h3 { color: var(--bg); }
.s-escuro h2 em, .s-escuro h3 em { color: var(--accent-2); }
.s-escuro .lead, .s-escuro .prose, .s-escuro .sec-sub { color: var(--muted-escuro); }
/* seções vizinhas com o mesmo fundo: a segunda perde parte do respiro de cima */
.s-claro + .s-claro, .s-areia + .s-areia, .s-escuro + .s-escuro, .page-top + .s-claro { padding-top: calc(var(--sec) * .4); }
.sec-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 68px); }
.sec-topo .btns { margin-top: 0; }
.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 3.1rem); }
.sec-sub { margin-top: 22px; color: var(--muted); max-width: 58ch; }
.sec-sub > :last-child { margin-bottom: 0; }
.sec-head-linha { margin-bottom: clamp(32px, 4vw, 52px); }

/* revelar ao rolar: só movimento + opacidade, abaixo da dobra */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.reduz [data-reveal], .is-agent [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ===== cabeçalho ===== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header); background: color-mix(in oklab, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(14px); } }
.header-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { position: relative; display: block; flex: none; line-height: 0; }
.brand img { height: 50px; width: auto; }
.brand .logo-cla { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .4s var(--ease); }
.brand .logo-esc { transition: opacity .4s var(--ease); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(20px, 2.6vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 0; font-family: var(--font-2); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-act { display: flex; align-items: center; gap: 14px; }
.btn-topo { min-height: 44px; padding: 10px 20px; border-color: currentColor; color: inherit; background: transparent; }
.btn-topo:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.menu-btn { display: none; position: relative; width: 52px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-btn .mb-l { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn .mb-l:nth-child(1) { top: 17px; }
.menu-btn .mb-l:nth-child(2) { top: 26px; }
.menu-btn .mb-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-open .menu-btn .mb-l:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn .mb-l:nth-child(2) { top: 21px; transform: rotate(-45deg); }
/* sobre a foto do topo: transparente, letras claras */
.tem-hero .site-header:not(.is-scrolled), .menu-open .site-header { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; }
.tem-hero .site-header:not(.is-scrolled) .logo-esc, .menu-open .site-header .logo-esc { opacity: 0; }
.tem-hero .site-header:not(.is-scrolled) .logo-cla, .menu-open .site-header .logo-cla { opacity: 1; }
.tem-hero .site-header:not(.is-scrolled) .btn-topo:hover { background: #fff; border-color: #fff; color: var(--ink); }
.site-header.is-scrolled { border-color: var(--line); }

/* menu do celular */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--dark); color: var(--bg); padding-top: calc(var(--header) + 24px); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.menu-open { overflow: hidden; }
.mm-in { display: flex; flex-direction: column; gap: 48px; padding-bottom: 48px; min-height: calc(100svh - var(--header) - 24px); justify-content: space-between; }
.mm-nav { list-style: none; margin: 0; padding: 0; }
.mm-nav li { border-bottom: 1px solid var(--linha-escuro); }
.mm-nav a { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; font-family: var(--font-display); font-weight: 200; font-size: clamp(1.7rem, 7vw, 2.6rem); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.menu-open .mm-nav a { transform: none; opacity: 1; }
.menu-open .mm-nav li:nth-child(2) a { transition-delay: .05s; }
.menu-open .mm-nav li:nth-child(3) a { transition-delay: .1s; }
.menu-open .mm-nav li:nth-child(4) a { transition-delay: .15s; }
.menu-open .mm-nav li:nth-child(5) a { transition-delay: .2s; }
.mm-nav a[aria-current] { color: var(--accent-2); }
.mm-n { font-family: var(--font-2); font-size: .72rem; font-weight: 600; letter-spacing: .2em; color: var(--accent-2); }
.mm-pe { display: grid; gap: 22px; }
.mm-pe .btn { justify-self: start; }
.mm-info { list-style: none; margin: 0; padding: 0; color: var(--muted-escuro); font-size: .92rem; }
.mm-info li { padding: 3px 0; }

/* redes */
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--linha-escuro); color: inherit; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.social a:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.social .i { width: 19px; height: 19px; }
.social-escuro a { border-color: var(--line); }
.social-escuro a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ===== topo da página inicial ===== */
.hero { position: relative; min-height: 100svh; min-height: max(640px, 100svh); max-height: 1080px; display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; isolation: isolate; }
.hero-fotos { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-espera { display: none; }
.hero-slide.is-on { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.001); }
.hero-slide[data-pos="left"] img { object-position: 28% center; }
.hero-slide[data-pos="right"] img { object-position: 72% center; }
.js .hero-slide.is-on img { animation: hero-zoom 12s linear both; }
@keyframes hero-zoom { from { transform: scale(1.001); } to { transform: scale(1.07); } }
.hero-veu { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 10 10 / .52) 0%, rgb(10 10 10 / .06) 24%, rgb(10 10 10 / .14) 48%, rgb(10 10 10 / .82) 100%), linear-gradient(90deg, rgb(10 10 10 / .58) 0%, rgb(10 10 10 / .2) 45%, rgb(10 10 10 / 0) 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px 64px; padding-top: calc(var(--header) + 60px); padding-bottom: clamp(40px, 6vw, 76px); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 5.3rem); line-height: 1.04; letter-spacing: .035em; max-width: 13ch; }
.hero h1 em { display: block; color: rgb(255 255 255 / .74); }
.hero .lead { margin: 28px 0 0; color: rgb(255 255 255 / .88); max-width: 46ch; }
.hero .btns { margin-top: 38px; }
.hero-carimbo { width: min(340px, 100%); border: 1px solid rgb(255 255 255 / .34); background: rgb(10 10 10 / .32); backdrop-filter: blur(6px); font-size: .82rem; }
.hc-itens { padding: 18px 20px 16px; min-height: 104px; }
.hc-item { margin: 0; display: grid; gap: 4px; }
.hc-item[hidden] { display: none; }
.hc-rot { font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-2); }
.hc-item a, .hc-nome { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 300; font-size: .98rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: #fff; line-height: 1.35; }
.hc-item a .i { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.hc-item a:hover .i { transform: translate(3px, -3px); }
.hc-lugar { color: rgb(255 255 255 / .78); }
.hc-ctrl { display: flex; align-items: center; border-top: 1px solid rgb(255 255 255 / .26); }
.hc-cont { flex: 1; padding: 0 20px; font-size: .74rem; letter-spacing: .18em; color: rgb(255 255 255 / .8); }
.hc-cont b { color: #fff; font-weight: 600; }
.hc-bt { width: 50px; height: 48px; display: grid; place-items: center; border: 0; border-left: 1px solid rgb(255 255 255 / .26); background: transparent; color: #fff; cursor: pointer; transition: background-color .3s var(--ease); }
.hc-bt:hover { background: rgb(255 255 255 / .12); }
.hc-bt .i { width: 18px; height: 18px; }
.hc-pausa span { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.hc-pausa[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; }
.hc-barra { display: block; height: 2px; background: rgb(255 255 255 / .16); }
.hc-barra span { display: block; height: 100%; width: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: left; }

/* ===== texto com foto ===== */
.ti-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.ti-direita .ti-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.ti-direita .ti-foto { order: 2; }
.ti-foto { margin: 0; position: relative; }
.ti-moldura { display: block; position: relative; }
.ti-moldura::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--accent-2); z-index: 0; }
.ti-direita .ti-moldura::before { inset: 22px 22px -22px -22px; }
.ti-moldura img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ti-foto figcaption { margin-top: 36px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ti-txt h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); margin-bottom: 30px; }
.ti-manifesto .ti-txt h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.08; }
.ti-manifesto .ti-txt h2 em { display: block; }
.ti-txt .prose { max-width: 56ch; }
.ti-ass { display: flex; align-items: center; gap: 14px; margin: 30px 0 0; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.ti-ass-mono .i { height: 34px; color: var(--ink); }

/* ===== cartões de projeto (carimbo de prancha) ===== */
.pj-card { min-width: 0; }
.pj-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.pj-foto { display: block; position: relative; overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 3; }
.pj-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pj-link:hover .pj-foto img { transform: scale(1.045); }
.pj-carimbo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 18px; row-gap: 4px; align-items: start; padding: 18px 0 4px; border-top: 1px solid var(--ink); margin-top: 0; }
.pj-n { grid-row: 1 / 3; padding-top: 3px; font-family: var(--font-display); font-weight: 300; font-size: .78rem; letter-spacing: .12em; color: var(--accent-2-ink); }
.pj-tit { font-size: clamp(.98rem, 1.25vw, 1.12rem); font-weight: 300; letter-spacing: .07em; line-height: 1.35; }
.pj-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8rem; color: var(--muted); }
.pj-meta span + span::before { content: "·"; margin: 0 9px; color: var(--accent-2); }
.pj-seta { grid-column: 3; grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.pj-seta .i { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.pj-link:hover .pj-seta { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pj-link:hover .pj-seta .i { transform: rotate(45deg); }
.pj-link:focus-visible { outline-offset: 6px; }

.pd-grade { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.pd-grade > .pj-card { grid-column: span 4; }
.pd-grade > .pj-grande { grid-column: 1 / 8; grid-row: 1 / 3; }
.pd-grade > .pj-card:nth-child(2), .pd-grade > .pj-card:nth-child(3) { grid-column: 8 / 13; }
.pd-grade > .pj-grande .pj-foto { aspect-ratio: auto; flex: 1; min-height: 420px; }
.pd-grade > .pj-grande .pj-tit { font-size: clamp(1.1rem, 1.7vw, 1.45rem); }

.pf-total { margin: 0; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pf-total b { font-family: var(--font-display); font-weight: 200; font-size: 2.6rem; letter-spacing: .02em; color: var(--ink); margin-right: 8px; vertical-align: -6px; }
.pf-filtros { margin: -10px 0 clamp(36px, 4vw, 56px); border-block: 1px solid var(--line); }
.pf-filtros ul { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.pf-filtros a { position: relative; display: inline-flex; align-items: baseline; gap: 8px; padding: 18px 0; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .3s var(--ease); }
.pf-filtros a span { font-weight: 400; letter-spacing: .06em; color: var(--accent-2-ink); }
.pf-filtros a:hover, .pf-filtros a[aria-current] { color: var(--ink); }
.pf-filtros a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.pf-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.4vw, 64px) clamp(20px, 2.4vw, 36px); }
.pf-vazio { color: var(--muted); }

/* ===== serviços ===== */
.sv-lista { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); counter-reset: sv; }
.sv-lista li { border-top: 1px solid var(--line); }
.sv-linha { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px 52px; align-items: center; gap: 28px; padding: 26px 0; text-decoration: none; color: inherit; }
.sv-n { font-family: var(--font-display); font-weight: 200; font-size: 1.5rem; color: var(--accent-2-ink); letter-spacing: .04em; }
.sv-nome h3 { font-size: clamp(1.08rem, 2vw, 1.6rem); letter-spacing: .05em; transition: transform .5s var(--ease); }
.sv-res { display: block; margin-top: 8px; font-size: .94rem; color: var(--muted); max-width: 62ch; }
.sv-thumb { display: block; overflow: hidden; aspect-ratio: 3 / 2; opacity: .6; transition: opacity .5s var(--ease); }
.sv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sv-seta { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.sv-seta .i { width: 18px; height: 18px; }
.sv-linha:hover .sv-thumb { opacity: 1; }
.sv-linha:hover .sv-thumb img { transform: scale(1.06); }
.sv-linha:hover .sv-nome h3 { transform: translateX(8px); }
.sv-linha:hover .sv-seta { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sv-completo { display: grid; gap: clamp(64px, 8vw, 120px); }
.sv-item { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; scroll-margin-top: calc(var(--header) + 24px); }
.sv-item:nth-child(even) .sv-foto { order: 2; }
.sv-foto { margin: 0; overflow: hidden; }
.sv-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sv-txt .sv-n { margin: 0 0 18px; font-size: 3rem; line-height: 1; }
.sv-txt h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); margin-bottom: 22px; letter-spacing: .04em; }
.sv-itens { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
.sv-itens li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: .92rem; color: var(--ink-2); }
.sv-itens li::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 1px; background: var(--accent-2); }

/* ===== frase em destaque ===== */
.cit { overflow: hidden; }
.cit-mono { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); color: var(--bg); opacity: .05; pointer-events: none; }
.cit-mono .i { height: min(120%, 620px); width: auto; }
.cit-in { position: relative; text-align: center; }
.cit figure { margin: 0 auto; max-width: 1000px; }
.cit blockquote { margin: 0; }
.cit blockquote p { margin: 0; font-family: var(--font-display); font-weight: 200; font-size: clamp(1.6rem, 3.8vw, 3.4rem); line-height: 1.25; letter-spacing: .03em; text-transform: uppercase; color: var(--bg); text-wrap: balance; }
.cit blockquote p::before { content: "“"; display: block; margin-bottom: 18px; font-size: 1.6em; line-height: .6; color: var(--accent-2); }
.cit figcaption { margin-top: 36px; display: inline-flex; align-items: center; gap: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--bg); }
.cit figcaption::before { content: ""; width: 40px; height: 1px; background: var(--accent-2); }
.cit figcaption small { font-size: inherit; font-weight: 400; color: var(--muted-escuro); }

/* ===== etapas ===== */
.ps-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 44px); }
.ps-lista li { position: relative; }
.ps-n { display: block; font-family: var(--font-display); font-weight: 200; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--accent-2-ink); }
.ps-cota { display: block; height: 11px; margin: 22px 0 24px; background: linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 0 / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 0 / 1px 100% no-repeat; }
.ps-lista h3 { font-size: 1.02rem; letter-spacing: .08em; margin-bottom: 12px; }
.ps-lista p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ===== pilares ===== */
.pil .sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.pil-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.pil-lista li { border-top: 1px solid var(--ink); padding-top: 26px; }
.pil-n { display: block; margin-bottom: 26px; font-size: .74rem; font-weight: 600; letter-spacing: .2em; color: var(--accent-2-ink); }
.pil-lista h3 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); margin-bottom: 16px; }

/* ===== onde atuamos ===== */
.cid-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.cid-lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cid-lista li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cid-nome { font-family: var(--font-display); font-weight: 200; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.cid-nome small { margin-left: 10px; font-family: var(--font-2); font-size: .72rem; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.cid-tag { padding: 3px 10px; border: 1px solid var(--accent-2-ink); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2-ink); }
.cid-n { margin-left: auto; font-size: .82rem; color: var(--muted); }

/* ===== perguntas frequentes ===== */
.faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 110px); align-items: start; }
.faq-lado { position: sticky; top: calc(var(--header) + 40px); }
.faq-lista { border-top: 1px solid var(--ink); }
.faq-lista details { border-bottom: 1px solid var(--line); }
.faq-lista summary { position: relative; display: block; padding: 24px 56px 24px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.5; }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::before, .faq-lista summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq-lista summary::after { transform: rotate(90deg); }
.faq-lista details[open] summary::after { transform: rotate(0); }
.faq-lista summary:hover { color: var(--accent-2-ink); }
.faq-a { padding: 0 56px 26px 0; color: var(--ink-2); }
.faq-a > :last-child { margin-bottom: 0; }

/* ===== Instagram ===== */
.ig-perfil { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ig-conta { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.ig-conta img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.ig-conta strong { display: block; font-weight: 600; letter-spacing: .02em; }
.ig-conta small { display: block; color: var(--muted); font-size: .84rem; }
.ig-conta:hover strong { text-decoration: underline; }
.ig .kig { --kig-gap: 10px; --kig-raio: 0px; --kig-raio-post: 0px; }
.ig .kig-seta { border-radius: 0; background: rgb(var(--accent-rgb) / .82); }

/* ===== chamada para contato ===== */
.ch { position: relative; isolation: isolate; background: var(--dark); color: #fff; padding-block: calc(var(--sec) * 1.1); overflow: hidden; text-align: center; }
.ch-fundo { position: absolute; inset: 0; z-index: -2; }
.ch-fundo img { width: 100%; height: 100%; object-fit: cover; }
.ch-foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(14 14 13 / .74); }
.ch-in { display: flex; flex-direction: column; align-items: center; }
.ch h2 { font-size: clamp(1.9rem, 4.2vw, 3.6rem); color: #fff; max-width: 18ch; }
.ch h2 em { color: var(--accent-2); }
.ch .lead { margin: 24px auto 0; color: rgb(255 255 255 / .84); }
.ch .btns { justify-content: center; }

/* ===== topo das páginas internas ===== */
.page-top { position: relative; background: var(--bg); padding: calc(var(--header) + clamp(52px, 8vw, 120px)) 0 clamp(48px, 6vw, 84px); }
.pt-in { position: relative; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 clamp(36px, 5vw, 64px); padding: 0; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 12px; color: var(--accent-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs-claro ol { color: rgb(255 255 255 / .74); }
.crumbs-claro a:hover, .crumbs-claro [aria-current] { color: #fff; }
.pt-txt h1 { font-size: clamp(2.4rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: .03em; max-width: 16ch; }
.pt-txt .lead { margin: 30px 0 0; }
.pt-cota { display: block; height: 13px; margin-top: clamp(48px, 6vw, 84px); background: linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 0 / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 0 / 1px 100% no-repeat, linear-gradient(var(--accent-2), var(--accent-2)) 0 50% / 120px 1px no-repeat; }
.pt-foto { margin-top: 48px; }
.pt-foto img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* ===== galeria e lightbox ===== */
.gal .sec-head { margin-bottom: clamp(36px, 4vw, 56px); }
.gal-grade, .pjp-grade { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 18px; }
.gal-grade li, .pjp-grade li { break-inside: avoid; margin-bottom: 18px; }
.gal-item { position: relative; display: block; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.gal-item img { width: 100%; transition: transform 1s var(--ease); }
.gal-item:hover img { transform: scale(1.04); }
.gal-zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; display: grid; place-items: center; background: rgb(var(--accent-rgb) / .78); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.gal-zoom .i { width: 17px; height: 17px; }
.gal-item:hover .gal-zoom, .gal-item:focus-visible .gal-zoom { opacity: 1; transform: none; }
.pjp-n1 { columns: 1; }
.pjp-n2 { columns: 2 300px; }
.lb { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: rgb(16 16 15 / .96); color: #fff; padding: 64px clamp(16px, 6vw, 96px); }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 100%; }
.lb-fig img { max-width: 100%; max-height: calc(100svh - 170px); width: auto; height: auto; object-fit: contain; }
.lb-fig figcaption { font-size: .86rem; color: rgb(255 255 255 / .8); text-align: center; max-width: 70ch; }
.lb-cont { position: absolute; left: 24px; top: 22px; margin: 0; font-size: .74rem; letter-spacing: .22em; color: rgb(255 255 255 / .74); }
.lb button { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .3); background: rgb(0 0 0 / .3); color: #fff; cursor: pointer; transition: background-color .3s var(--ease); }
.lb button:hover { background: rgb(255 255 255 / .14); }
.lb button .i { width: 20px; height: 20px; }
.lb-x { right: 16px; top: 14px; }
.lb-ant { left: 16px; top: 50%; margin-top: -26px; }
.lb-prox { right: 16px; top: 50%; margin-top: -26px; }
.lb-um .lb-ant, .lb-um .lb-prox, .lb-um .lb-cont { display: none; }

/* ===== contato e formulário ===== */
.ct-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(40px, 6vw, 110px); align-items: start; }
.ct-sub { margin: 44px 0 20px; font-family: var(--font-2); font-size: .74rem; font-weight: 600; letter-spacing: .22em; color: var(--accent-2-ink); }
.ct-form .ct-sub { margin-top: 0; }
.ct-lista { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.ct-lista li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.ct-ico { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); }
.ct-ico .i { width: 19px; height: 19px; }
.ct-lista small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ct-lista a { text-decoration: none; }
.ct-lista a:hover { text-decoration: underline; }
.ct-rota { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2-ink); }
.ct-rota .i { width: 14px; height: 14px; }
.ct-mapa { margin-top: 32px; min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; background: var(--bg-2) url("../img/mapa.svg") center / cover; border: 1px solid var(--line); }
.ct-mapa p { margin: 0; font-size: .84rem; color: var(--muted); }
.ct-mapa.is-on { padding: 0; display: block; }
.ct-mapa iframe { width: 100%; height: 340px; border: 0; }
.ct-form { padding: clamp(28px, 4vw, 52px); background: var(--bg-2); }
.q-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.q-form .field { display: grid; gap: 4px; min-width: 0; }
.q-form .field-full { grid-column: 1 / -1; }
.q-form label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.q-form label span { color: var(--accent-2-ink); }
.q-form input, .q-form select, .q-form textarea { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid color-mix(in oklab, var(--ink) 40%, var(--bg)); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .3s var(--ease); }
.q-form textarea { resize: vertical; min-height: 110px; }
.q-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 13px) 55%, calc(100% - 8px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.q-form input::placeholder, .q-form textarea::placeholder { color: var(--muted); opacity: 1; }
.q-form input:focus, .q-form select:focus, .q-form textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.q-form .err { display: none; font-size: .8rem; font-weight: 600; color: var(--erro); }
.q-form .invalid input, .q-form .invalid select, .q-form .invalid textarea { border-bottom-color: var(--erro); }
.q-form .invalid .err { display: block; }
.q-form button[type="submit"] { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.q-form .form-note { grid-column: 1 / -1; margin: 0; font-size: .84rem; color: var(--muted); }

/* ===== texto corrido ===== */
.tx-in { max-width: 920px; }
.tx .prose h2 { color: var(--ink); }

/* ===== página do projeto ===== */
.pjp-topo { position: relative; isolation: isolate; min-height: max(560px, 88svh); display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.pjp-foto { position: absolute; inset: 0; z-index: -2; }
.pjp-foto img { width: 100%; height: 100%; object-fit: cover; }
.pjp-veu { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 10 10 / .5) 0%, rgb(10 10 10 / .04) 28%, rgb(10 10 10 / .2) 55%, rgb(10 10 10 / .84) 100%), linear-gradient(90deg, rgb(10 10 10 / .45) 0%, rgb(10 10 10 / 0) 60%); }
.pjp-topo-in { padding-top: calc(var(--header) + 60px); padding-bottom: clamp(44px, 6vw, 80px); }
.pjp-topo .crumbs ol { margin-bottom: 28px; }
.pjp-topo h1 { font-size: clamp(2.1rem, 5.4vw, 5rem); line-height: 1.04; max-width: 18ch; color: #fff; }
.pjp-topo .lead { margin: 24px 0 0; color: rgb(255 255 255 / .86); max-width: 58ch; }
.pjp-corpo-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 120px); align-items: start; }
.carimbo { position: sticky; top: calc(var(--header) + 32px); margin: 0; border: 1px solid var(--ink); font-size: .92rem; }
.carimbo dl { margin: 0; }
.carimbo dl > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); border-top: 1px solid var(--line); }
.carimbo dl > div:first-child { border-top: 0; }
.carimbo dt { padding: 13px 14px; border-right: 1px solid var(--line); font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.carimbo dd { margin: 0; padding: 11px 16px; font-family: var(--font-display); font-weight: 300; font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; overflow-wrap: anywhere; }
.carimbo dd a { text-decoration: none; border-bottom: 1px solid var(--accent-2); }
.cb-marca { display: flex; margin: 0; align-items: center; gap: 14px; padding: 16px; background: var(--ink); color: var(--bg); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.cb-marca .i { height: 28px; }
.pjp-h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); margin-bottom: 28px; }
.pjp-txt .prose { font-size: 1.06rem; max-width: 62ch; }
.pjp-dest { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pjp-dest li { padding: 9px 16px; border: 1px solid var(--line); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.ad .sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.ad-lista { display: grid; gap: 48px; }
.ad-item { margin: 0; }
.ad-item figcaption { margin-top: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ad-comp { position: relative; overflow: hidden; background: var(--bg-3); user-select: none; touch-action: pan-y; }
.ad-depois img, .ad-antes img { width: 100%; display: block; }
.ad-antes { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ad-antes img { height: 100%; object-fit: cover; }
.ad-rot { position: absolute; top: 16px; padding: 6px 12px; background: rgb(14 14 13 / .7); color: #fff; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; pointer-events: none; }
.ad-rot-a { left: 16px; }
.ad-rot-d { right: 16px; }
.ad-linha { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ad-linha span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .3); }
.ad-linha span::before, .ad-linha span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); }
.ad-linha span::before { left: 15px; transform: rotate(45deg); }
.ad-linha span::after { right: 15px; transform: rotate(-135deg); }
.ad-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ad-comp:focus-within .ad-linha span { outline: 2px solid var(--accent-2-ink); outline-offset: 3px; }
.pjp-nav { border-block: 1px solid var(--line); background: var(--bg); }
.pjp-nav-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.pjp-nav a { display: grid; gap: 6px; padding: 30px 0; text-decoration: none; }
.pjp-nav small { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pjp-nav small .i { width: 15px; height: 15px; }
.pjp-nav a span { font-family: var(--font-display); font-weight: 300; font-size: clamp(.92rem, 1.3vw, 1.1rem); letter-spacing: .06em; text-transform: uppercase; }
.pjp-nav a:hover span { color: var(--accent-2-ink); }
.pjp-prox { text-align: right; justify-items: end; }
.pjp-todos { align-content: center; padding-inline: 32px !important; border-inline: 1px solid var(--line); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.pf-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ===== página de links ===== */
.lk { padding: calc(var(--header) + clamp(48px, 7vw, 96px)) 0 var(--sec); text-align: center; background: var(--bg); }
.lk-in { display: flex; flex-direction: column; align-items: center; max-width: 720px; }
.lk-mono .i { height: 74px; margin-bottom: 30px; }
.lk h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); }
.lk .lead { margin: 22px auto 0; }
.lk-btns { flex-direction: column; align-items: stretch; width: min(420px, 100%); }
.lk-fotos { list-style: none; margin-top: clamp(48px, 6vw, 80px); padding: 0 var(--gut); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.lk-fotos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ===== 404 ===== */
.nf { padding: calc(var(--header) + clamp(64px, 9vw, 140px)) 0 var(--sec); }
.nf-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
.nf h1 { font-size: clamp(2.2rem, 5.6vw, 5rem); max-width: 14ch; }
.nf .lead { margin-top: 26px; }
.nf-mono .i { height: clamp(140px, 22vw, 300px); color: var(--line); }

/* ===== rodapé ===== */
.site-footer { background: var(--dark); color: var(--muted-escuro); font-size: .94rem; }
.f-topo { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: clamp(64px, 8vw, 112px) clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--linha-escuro); }
.f-frase { margin: 0; max-width: 20ch; font-family: var(--font-display); font-weight: 200; font-size: clamp(1.6rem, 3.6vw, 3.2rem); line-height: 1.14; letter-spacing: .03em; text-transform: uppercase; color: var(--bg); }
.f-mono .i { height: clamp(64px, 9vw, 120px); color: var(--accent-2); }
.f-grade { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr); gap: 44px clamp(28px, 4vw, 64px); padding-block: clamp(52px, 6vw, 80px); }
.f-logo img { height: 60px; width: auto; }
.f-marca p { margin: 26px 0; max-width: 40ch; }
.f-tit { margin-bottom: 22px; font-family: var(--font-2); font-size: .7rem; font-weight: 600; letter-spacing: .24em; color: var(--bg); }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.f-col a { text-decoration: none; transition: color .3s var(--ease); }
.f-col a:hover { color: var(--bg); text-decoration: underline; }
.f-contato li, .f-contato li a { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; overflow-wrap: anywhere; }
.f-contato li a { display: contents; }
.f-contato .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-2); }
.f-legal { padding-bottom: 24px; font-size: .84rem; }
.f-legal p { margin: 0; }
.f-base { border-top: 1px solid var(--linha-escuro); font-size: .8rem; }
.f-base-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 24px; }
.f-base-in > span { margin-right: auto; }
.f-base a { text-decoration: none; }
.f-base a:hover { color: var(--bg); }
.dev-sign { display: inline-flex; line-height: 0; }
.dev-sign img { height: 20px; width: auto; opacity: .62; transition: opacity .3s; }
.dev-sign:hover img { opacity: .95; }

/* ===== WhatsApp flutuante ===== */
.wa-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-float { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid color-mix(in oklab, var(--wa) 70%, white); border-radius: 50%; background: var(--wa); color: var(--wa-ink); cursor: pointer; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .5); transition: transform .35s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float .i { width: 26px; height: 26px; }
.wa-float::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--accent-2); animation: wa-pulso 2.6s ease-out infinite; pointer-events: none; }
@keyframes wa-pulso { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-bubble { width: min(320px, calc(100vw - 40px)); padding: 22px 22px 20px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .45); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; }
.wa-bubble.show { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.wa-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding-right: 26px; }
.wa-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.wa-head strong { font-family: var(--font-display); font-weight: 300; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.wa-bubble p { margin: 0 0 16px; font-size: .92rem; color: var(--ink-2); }
.wa-go { width: 100%; }
.wa-bubble-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; }
.wa-bubble-x .i { width: 18px; height: 18px; }
.wa-bubble { position: relative; }

/* ===== responsivo ===== */
@media (max-width: 1180px) {
  .f-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .header-act { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; }
  .pd-grade > .pj-grande, .pd-grade > .pj-card:nth-child(2), .pd-grade > .pj-card:nth-child(3) { grid-column: span 6; grid-row: auto; }
  .pd-grade > .pj-grande { grid-column: 1 / -1; }
  .pd-grade > .pj-grande .pj-foto { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
  .pd-grade > .pj-card { grid-column: span 6; }
  .pf-grade, .pf-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-linha { grid-template-columns: 52px minmax(0, 1fr) 52px; }
  .sv-thumb { display: none; }
  .ti-in, .ti-direita .ti-in, .faq-in, .ct-in, .cid-in, .pjp-corpo-in { grid-template-columns: 1fr; }
  .ti-direita .ti-foto { order: 0; }
  .ti-foto { max-width: 560px; width: 100%; margin-inline: auto; }
  .faq-lado { position: static; }
  .carimbo { position: static; }
  .sv-item, .sv-item:nth-child(even) { grid-template-columns: 1fr; }
  .sv-item:nth-child(even) .sv-foto { order: 0; }
  .pil-lista { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: .98rem; }
  .brand img { height: 40px; }
  .hero { min-height: max(600px, 100svh); }
  .hero-veu, .pjp-veu { background: linear-gradient(180deg, rgb(10 10 10 / .58) 0%, rgb(10 10 10 / .38) 30%, rgb(10 10 10 / .5) 55%, rgb(10 10 10 / .86) 100%); }
  .hero-carimbo { width: 100%; }
  .hero-in { padding-bottom: 92px; }
  .hc-itens { min-height: 0; }
  .pd-grade { grid-template-columns: 1fr; }
  .pd-grade > .pj-card, .pd-grade > .pj-grande, .pd-grade > .pj-card:nth-child(2), .pd-grade > .pj-card:nth-child(3) { grid-column: 1 / -1; }
  .pd-grade > .pj-grande .pj-foto { aspect-ratio: 4 / 3; }
  .pf-grade, .pf-3 { grid-template-columns: 1fr; }
  .ps-lista { grid-template-columns: 1fr; }
  .sv-linha { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 16px; padding: 22px 0; }
  .sv-seta { width: 44px; height: 44px; }
  .sv-itens { grid-template-columns: 1fr; }
  .q-form { grid-template-columns: 1fr; }
  .q-form button[type="submit"] { justify-self: stretch; }
  .f-grade { grid-template-columns: 1fr; }
  .f-topo { flex-direction: column; align-items: flex-start; }
  .f-base-in > span { margin-right: 0; width: 100%; }
  .pjp-nav-in { grid-template-columns: 1fr 1fr; }
  .pjp-todos { display: none !important; }
  .pjp-nav a { padding-block: 22px; }
  .pjp-ant { padding-right: 12px !important; border-right: 1px solid var(--line); }
  .pjp-prox { padding-left: 12px !important; }
  .carimbo dl > div { grid-template-columns: 92px minmax(0, 1fr); }
  .lk-fotos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lk-fotos li:nth-child(n + 4) { display: none; }
  .nf-in { grid-template-columns: 1fr; }
  .nf-mono { display: none; }
  .btns .btn { flex: 1 1 auto; }
  .ti-moldura::before { inset: 14px -14px -14px 14px; }
  .ti-direita .ti-moldura::before { inset: 14px 14px -14px -14px; }
  .wa-wrap { right: 14px; bottom: 14px; }
  .faq-lista summary { padding-right: 44px; }
  .faq-a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-slide.is-on img { animation: none; }
  .hero-slide { transition: none; }
  .wa-float::after { animation: none; display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* CDW assinatura padrao 160x23 */
.cdw-css-guard {}
/* computador: direita, na linha da ultima info, longe do botao do WhatsApp */
.dev-sign { display: flex !important; width: fit-content; flex: 0 0 auto !important; order: 99 !important; line-height: 0; opacity: 1 !important;
  margin: 0 max(0px, calc(var(--cdw-fab, 100px) - (100vw - 100%) / 2)) 0 auto !important; align-self: flex-end !important; justify-self: end !important; }
.dev-sign img { width: 160px !important; height: 23px !important; max-width: none !important; display: block; opacity: 1 !important; }
@media (min-width: 701px) {
  :has(> .dev-sign) { flex-wrap: nowrap !important; }
  :has(> .dev-sign) > :not(.dev-sign) { min-width: 0; }
}
@media (min-width: 701px) {
  :root { --cdw-fab: 140px; }
  .f-base-in > .dev-sign { margin-left: 0 !important; }
}
/* celular: linha propria, alinhada a esquerda como o texto */
@media (max-width: 700px) {
  /* -5px compensa a margem interna do desenho (16 de 480), para a letra alinhar com o texto */
  .dev-sign { margin: 0 calc(100% - 155px) 0 -5px !important; align-self: flex-start !important; justify-self: start !important; }
}
/* pagina de links (bio do Instagram): conteudo centralizado -> assinatura centralizada */
.pg-links .dev-sign, .tpl-links .dev-sign { margin: 6px auto 0 !important; align-self: center !important; justify-self: center !important; }

/* ===== Card sozinho na última linha da grade: centralizado (14/11/2026) =====
   A grade continua igual; só o card (ou os dois) que sobram na última linha vão para o meio.
   "of :not([hidden])" ignora os cards escondidos pelo filtro; translate soma com o transform das animações. */
@media (min-width: 1081px) {
  .pf-grade > :nth-last-child(1 of :not([hidden])):nth-child(3n+1 of :not([hidden])) { translate: calc(100% + clamp(20px, 2.4vw, 36px)) 0; }
  .pf-grade > :nth-last-child(2 of :not([hidden])):nth-child(3n+1 of :not([hidden])),
  .pf-grade > :nth-last-child(1 of :not([hidden])):nth-child(3n+2 of :not([hidden])) { translate: calc(50% + clamp(20px, 2.4vw, 36px) / 2) 0; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .pf-grade > :nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])) { translate: calc(50% + clamp(20px, 2.4vw, 36px) / 2) 0; }
}
