/* DUC Arquitetura · site v3 */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/montserrat-400.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/montserrat-700.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/montserrat-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 700; font-display: swap; src: url(fonts/montserrat-700-italic.woff2) format('woff2'); }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --noite: #161415;
  --grafite: #211F20;
  --grafite-2: #2C2929;
  --linho: #F2EEE8;
  --linho-2: #E8E1D7;
  --areia: #C8B596;
  --areia-2: #DCCDB4;
  --pedra: #8C857C;
  --tinta: #2A2728;
  --branco: #FBF9F6;
  --linha-clara: rgba(42, 39, 40, .14);
  --linha-escura: rgba(242, 238, 232, .14);
  --r-foto: 20px;
  --r-card: 24px;
  --r-peq: 12px;
  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 160px);
  --larg: 1320px;
  --ease: cubic-bezier(.22, .61, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --topo-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--topo-h) + 16px); }
body {
  margin: 0; background: var(--linho); color: var(--tinta);
  font: 400 17px/1.65 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 700; }
::selection { background: var(--areia); color: var(--grafite); }
:focus-visible { outline: 2px solid var(--areia); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--larg) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.pular { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--areia); color: var(--grafite); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.pular:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia ---------- */
.t1 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 400; text-wrap: balance; }
.t2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 400; text-wrap: balance; }
.t3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.22; letter-spacing: -.02em; font-weight: 400; text-wrap: balance; }
.t1 b, .t2 b, .t3 b { font-weight: 700; letter-spacing: -.04em; }
.t4 { font-size: 19px; line-height: 1.35; letter-spacing: -.01em; font-weight: 700; }
.apoio { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: color-mix(in srgb, currentColor 72%, transparent); max-width: 56ch; text-wrap: pretty; }
.miudo { font-size: 13px; line-height: 1.5; letter-spacing: .01em; }
.num { font-variant-numeric: tabular-nums; }
.escuro { background: var(--grafite); color: var(--linho); }
.escuro .apoio { color: rgba(242, 238, 232, .72); }

/* ---------- botões (linha de brilho girando na borda) ---------- */
.btn {
  --fundo: var(--areia); --cor: var(--grafite); --brilho: rgba(255, 255, 255, .95);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--fundo); color: var(--cor);
  font-size: 14.5px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .35s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang), transparent 0deg 250deg, var(--brilho) 300deg, transparent 340deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: gira 3.6s linear infinite;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -16px rgba(0, 0, 0, .55); }
.btn:active { transform: translateY(0); }
.btn--claro { --fundo: var(--linho); --cor: var(--grafite); --brilho: var(--areia); }
.btn--escuro { --fundo: var(--grafite); --cor: var(--linho); --brilho: var(--areia); }
.btn--vidro { --fundo: rgba(242, 238, 232, .1); --cor: var(--linho); --brilho: var(--areia-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(242, 238, 232, .22); }
.btn--vidro:hover { --fundo: rgba(242, 238, 232, .18); }
.btn--linha { --fundo: transparent; --cor: var(--tinta); --brilho: var(--areia); box-shadow: inset 0 0 0 1px var(--linha-clara); }
.btn--linha:hover { --fundo: rgba(42, 39, 40, .05); box-shadow: inset 0 0 0 1px var(--linha-clara), 0 14px 32px -20px rgba(0, 0, 0, .4); }
.btn--peq { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
@keyframes gira { to { --ang: 360deg; } }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 90; color: var(--linho); transition: background-color .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease), color .3s; }
.topo::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(22, 20, 21, .62); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); transition: opacity .45s var(--ease); }
.topo.is-scrolled::before, .topo--solido::before { opacity: 1; }
.topo.is-scrolled { box-shadow: 0 1px 0 rgba(242, 238, 232, .08); }
.topo.is-escondido { transform: translateY(-100%); }
.topo__barra { height: var(--topo-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: 86px; aspect-ratio: 671.8 / 316.8; background: currentColor; -webkit-mask: url(logo.svg) center / contain no-repeat; mask: url(logo.svg) center / contain no-repeat; }
.topo__logo { padding: 8px 0; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__lista { display: flex; gap: clamp(16px, 2vw, 32px); }
.nav__lista a { position: relative; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 8px 0; color: rgba(242, 238, 232, .78); transition: color .25s; }
.nav__lista a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--areia); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__lista a:hover, .nav__lista a[aria-current="page"] { color: var(--linho); }
.nav__lista a:hover::after, .nav__lista a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; position: relative; background: rgba(242, 238, 232, .1); box-shadow: inset 0 0 0 1px rgba(242, 238, 232, .2); }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ''; position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-btn::before { top: 17px; } .menu-btn span { top: 22px; } .menu-btn::after { top: 27px; }
.menu-aberto .menu-btn::before { transform: translateY(5px) rotate(45deg); }
.menu-aberto .menu-btn span { opacity: 0; }
.menu-aberto .menu-btn::after { transform: translateY(-5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 85; background: var(--noite); color: var(--linho); padding: calc(var(--topo-h) + 28px) var(--pad) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu:not([hidden]) { animation: menuEntra .5s var(--ease) both; }
@keyframes menuEntra { from { opacity: 0; clip-path: inset(0 0 100% 0 round 0 0 24px 24px); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.menu__lista a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(24px, 7vw, 34px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; padding: 8px 0; }
.menu__lista small { font-size: 13px; color: var(--areia); letter-spacing: 0; }
.menu__rodape { display: grid; gap: 6px; font-size: 15px; color: rgba(242, 238, 232, .7); margin-top: 40px; }
.menu__rodape .btn { margin-bottom: 18px; justify-self: start; }
.menu-aberto { overflow: hidden; }
.menu-aberto .topo::before { opacity: 0; }

/* ---------- seções ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec--escura { background: var(--grafite); color: var(--linho); }
.sec--noite { background: var(--noite); color: var(--linho); }
.sec--linho-2 { background: var(--linho-2); }
.sec--escura .apoio, .sec--noite .apoio { color: rgba(242, 238, 232, .7); }
.cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.cab > div { display: grid; gap: 16px; max-width: 720px; }

/* ---------- abertura (home) ---------- */
.abertura { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: var(--linho); background: var(--noite); overflow: hidden; isolation: isolate; }
.abertura__midia { position: absolute; inset: 0; z-index: -2; }
.abertura__midia > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.abertura__foto { width: 100%; height: 100%; }
.abertura__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); overflow: hidden; }
.abertura__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.abertura__slide.is-ativa { opacity: 1; z-index: 1; }
.abertura__slide.is-ativa img { animation: kenburns 9s linear both; }
.abertura__slide.is-saindo { opacity: 0; z-index: 0; transition-duration: 1.6s; }
.abertura.is-pausada .abertura__slide.is-ativa img { animation-play-state: paused; }
/* hero com uma imagem só: aproximação bem lenta, sem troca */
.abertura__slide:only-child.is-ativa img { animation: kenburns 24s cubic-bezier(.25,.6,.3,1) both; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.abertura__pontos { display: flex; gap: 6px; }
.abertura__pontos button { width: 44px; height: 32px; display: grid; align-items: center; }
.abertura__pontos i { display: block; height: 2px; border-radius: 2px; background: rgba(242, 238, 232, .3); position: relative; overflow: hidden; }
.abertura__pontos i::after { content: ''; position: absolute; inset: 0; background: var(--linho); transform-origin: left; transform: scaleX(0); }
.abertura__pontos [aria-current] i::after { animation: barra var(--tempo, 6.5s) linear var(--atraso, 0s) both; }
.abertura.is-pausada .abertura__pontos [aria-current] i::after { animation-play-state: paused; }
.abertura__pontos .is-feito i::after { transform: none; }
@keyframes barra { to { transform: scaleX(1); } }
.abertura__video { opacity: 0; transition: opacity 1.4s var(--ease); }
.abertura__video.is-pronto { opacity: 1; }
.abertura__traco { opacity: 0; }
.abertura__veu { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(22, 20, 21, .55) 0%, rgba(22, 20, 21, 0) 22%), linear-gradient(90deg, rgba(22, 20, 21, .74) 0%, rgba(22, 20, 21, .3) 46%, rgba(22, 20, 21, 0) 70%), linear-gradient(0deg, rgba(22, 20, 21, .7) 0%, rgba(22, 20, 21, 0) 34%); }
.abertura__conteudo { align-self: end; padding-top: calc(var(--topo-h) + 48px); padding-bottom: clamp(28px, 4vw, 48px); display: grid; gap: 26px; max-width: calc(780px + var(--pad) * 2); margin-inline: 0; }
@media (min-width: 1416px) { .abertura__conteudo { margin-left: calc((100vw - var(--larg)) / 2 - var(--pad)); } }
.abertura h1 { max-width: 13ch; }
.abertura .apoio { color: rgba(242, 238, 232, .8); max-width: 44ch; }
.abertura__base { border-top: 1px solid rgba(242, 238, 232, .16); }
.abertura__base .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; font-size: 14px; color: rgba(242, 238, 232, .75); }
.abertura__projeto { display: flex; align-items: center; gap: 12px; }
.abertura__projeto b { color: var(--linho); }
.abertura__projeto .link { font-size: 14px; color: var(--linho); }
.rolar { display: none; align-items: center; gap: 12px; }
.abertura__base .rolar { display: flex; }
.rolar i { width: 22px; height: 34px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px rgba(242, 238, 232, .5); position: relative; }
.rolar i::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--areia); animation: rolar 2.2s var(--ease) infinite; }
@keyframes rolar { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* sequência de entrada: primeiro o traço, depois a casa */
.js .abertura.intro .abertura__traco { animation: tracoEntra 1.25s var(--ease-io) .15s both, tracoSai 1s var(--ease) 1.55s forwards; }
.js .abertura.intro .abertura__foto { animation: fotoEntra 1.25s var(--ease) 1.35s both; }
.js .abertura.intro .anima > * { animation: sobe .9s var(--ease) both; }
.js .abertura.intro .anima > :nth-child(1) { animation-delay: .35s; }
.js .abertura.intro .anima > :nth-child(2) { animation-delay: .5s; }
.js .abertura.intro .anima > :nth-child(3) { animation-delay: .65s; }
.js .abertura.intro .abertura__base { animation: aparece 1s var(--ease) 1.9s both; }
@keyframes tracoEntra { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes tracoSai { from { opacity: 1; } to { opacity: 0; } }
@keyframes fotoEntra { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }

/* ---------- apresentação ---------- */
.apres { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.apres .t2 { max-width: 20ch; }
.ficha { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--linha-clara); }
.ficha > div { padding: 22px 0 6px; border-bottom: 1px solid var(--linha-clara); display: grid; gap: 4px; }
.ficha > div:nth-child(odd) { padding-right: 20px; }
.ficha dt { font-size: 13px; color: var(--pedra); }
.ficha dd { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.15; padding-bottom: 14px; }
.apres__lado { display: grid; gap: 28px; }

/* ---------- vitrine (rolagem horizontal fixa) ---------- */
.vitrine { position: relative; background: var(--grafite); color: var(--linho); }
.vitrine__fixo { padding-block: clamp(80px, 9vw, 128px) clamp(56px, 6vw, 88px); overflow: hidden; }
.vitrine__trilho { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--pad); will-change: transform; }
@media (min-width: 1416px) { .vitrine__trilho { padding-left: calc((100vw - var(--larg)) / 2); } }
.vit { flex: none; width: var(--w, min(44vw, 620px)); display: grid; gap: 16px; align-content: start; text-align: left; cursor: zoom-in; }
.vit__foto { aspect-ratio: 4 / 3; }
.vit__ver { position: absolute; left: 16px; bottom: 16px; z-index: 1; font-size: 13px; font-weight: 700; padding: 9px 15px; border-radius: 999px; background: rgba(22, 20, 21, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--linho); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
.vit:hover .vit__ver, .vit:focus-visible .vit__ver { opacity: 1; transform: none; }
.vit__foto { position: relative; height: auto; border-radius: var(--r-foto); overflow: hidden; background: var(--grafite-2); }
.vit__foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateX(var(--px, 0)); transition: transform .9s var(--ease); }
.vit:hover .vit__foto img { transform: scale(1.12) translateX(var(--px, 0)); }
.vit__info { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.vit__nome { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.vit__tipo { font-size: 14px; color: rgba(242, 238, 232, .6); }
.vit--fim { --w: min(34vw, 460px); }
.vit--fim .vit__foto { display: grid; place-content: center; gap: 22px; padding: 32px; text-align: center; background: var(--grafite-2); box-shadow: inset 0 0 0 1px var(--linha-escura); }
.vit--fim .vit__foto .t3 { max-width: 14ch; margin-inline: auto; }
.vit--fim .btn { justify-self: center; }
.vitrine__barra { margin-top: clamp(36px, 4vw, 56px); display: flex; align-items: center; gap: 20px; font-size: 14px; color: rgba(242, 238, 232, .6); }
.vitrine__progresso { flex: 1; height: 1px; background: var(--linha-escura); position: relative; overflow: hidden; }
.vitrine__progresso i { position: absolute; inset: 0; background: var(--areia); transform-origin: left; transform: scaleX(var(--p, 0)); }
.vitrine__setas { display: flex; gap: 8px; }
.seta-btn { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--linha-escura); transition: background-color .25s, box-shadow .25s; }
.seta-btn:hover { background: rgba(242, 238, 232, .08); box-shadow: inset 0 0 0 1px rgba(242, 238, 232, .35); }
.seta-btn svg { width: 20px; height: 20px; }
.vitrine.is-fixa { height: var(--altura, 300vh); }
.vitrine.is-fixa .vitrine__fixo { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--topo-h) + 8px) 28px; }
.vitrine.is-fixa .vitrine__setas { display: none; }
.vitrine.is-fixa .vit { --w: min(44vw, 620px, calc((100svh - 380px) * 4 / 3)); }
.vitrine.is-fixa .vitrine__barra { margin-top: clamp(24px, 3vh, 40px); }
.vitrine:not(.is-fixa) .vitrine__trilho { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--pad); padding-bottom: 4px; }
.vitrine:not(.is-fixa) .vitrine__trilho::-webkit-scrollbar { display: none; }
.vitrine:not(.is-fixa) .vit { scroll-snap-align: start; }

/* ---------- traço x obra ---------- */
.compara-bloco { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.compara-bloco__texto { display: grid; gap: 22px; }
.compara { --pos: 50%; position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; background: var(--grafite); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.compara img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compara__traco { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compara__alca { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.compara__alca::before { content: ''; position: absolute; top: 0; bottom: 0; left: -.75px; width: 1.5px; background: rgba(251, 249, 246, .9); box-shadow: 0 0 18px rgba(0, 0, 0, .35); }
.compara__alca span { position: absolute; top: 50%; left: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 999px; display: grid; place-items: center; background: rgba(251, 249, 246, .92); color: var(--grafite); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.compara__alca svg { width: 26px; height: 26px; }
.compara:hover .compara__alca span, .compara.is-ativo .compara__alca span { transform: scale(1.08); }
.compara input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compara input:focus-visible + .compara__alca span { outline: 2px solid var(--areia); outline-offset: 3px; }
.compara__rot { position: absolute; bottom: 16px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(22, 20, 21, .55); color: var(--linho); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.compara__rot--a { left: 16px; } .compara__rot--b { right: 16px; }

/* ---------- serviços ---------- */
.servicos { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: stretch; }
.servicos__lista { display: grid; align-content: start; border-top: 1px solid var(--linha-clara); }
.servico { border-bottom: 1px solid var(--linha-clara); }
.servico__botao { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 26px 0; text-align: left; }
.servico__nome { font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -.02em; line-height: 1.2; color: color-mix(in srgb, var(--tinta) 55%, transparent); transition: color .35s; }
.servico__mais { width: 40px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linha-clara); position: relative; transition: background-color .35s, box-shadow .35s; }
.servico__mais::before, .servico__mais::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .4s var(--ease); }
.servico__mais::after { transform: rotate(90deg); }
.servico.is-ativo .servico__nome { color: var(--tinta); }
.servico.is-ativo .servico__mais { background: var(--grafite); color: var(--linho); box-shadow: none; }
.servico.is-ativo .servico__mais::after { transform: rotate(0); }
.servico__corpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.servico.is-ativo .servico__corpo { grid-template-rows: 1fr; }
.servico__corpo > div { overflow: hidden; }
.servico__corpo p { padding-bottom: 14px; max-width: 48ch; color: color-mix(in srgb, var(--tinta) 75%, transparent); }
.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; }
.etiquetas li { font-size: 13px; padding: 7px 13px; border-radius: 999px; background: rgba(42, 39, 40, .06); }
.servico__corpo .link { margin-bottom: 30px; }
.servicos__palco { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 520px; background: var(--grafite); }
.servicos__palco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.servicos__palco img.is-ativo { opacity: 1; transform: none; }
.servico__foto-m { display: none; }
.servs { display: flex; gap: clamp(10px, 1.2vw, 16px); height: clamp(480px, 62vh, 620px); }
.serv { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-card); overflow: hidden; background: var(--grafite); color: var(--linho); cursor: pointer; transition: flex-grow .8s var(--ease); isolation: isolate; }
.serv.is-ativo { flex-grow: 2.6; cursor: default; }
.serv__foto, .serv__foto picture, .serv__foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
.serv__foto img { object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease), filter .6s; filter: brightness(.82) saturate(.9); }
.serv.is-ativo .serv__foto img, .serv:hover .serv__foto img { transform: scale(1); filter: none; }
.serv::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(16, 14, 15, 0) 30%, rgba(16, 14, 15, .55) 62%, rgba(16, 14, 15, .9)); pointer-events: none; }
.serv__conteudo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2.4vw, 32px); }
.serv__botao { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num nome mais"; align-items: center; gap: 14px; width: 100%; text-align: left; }
.serv__num { grid-area: num; font-size: 13px; color: var(--areia); }
.serv__mais { grid-area: mais; }
.serv__nome { grid-area: nome; min-width: 0;  font-size: clamp(19px, 1.7vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.serv__mais { width: 40px; height: 40px; border-radius: 999px; position: relative; flex: none; box-shadow: inset 0 0 0 1px rgba(242, 238, 232, .45); transition: background-color .35s, box-shadow .35s; }
.serv__mais::before, .serv__mais::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .4s var(--ease); }
.serv__mais::after { transform: rotate(90deg); }
.serv.is-ativo .serv__mais { background: var(--linho); color: var(--grafite); box-shadow: none; }
.serv.is-ativo .serv__mais::after { transform: rotate(0); }
.serv__corpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.serv.is-ativo .serv__corpo { grid-template-rows: 1fr; }
.serv__corpo > div { overflow: hidden; min-height: 0; }
.serv__corpo p { padding-top: 16px; max-width: 46ch; color: rgba(242, 238, 232, .86); opacity: 0; transition: opacity .4s; }
.serv.is-ativo .serv__corpo p { opacity: 1; transition-delay: .25s; }
.serv .etiquetas { padding: 16px 0 0; }
.serv .etiquetas li { background: rgba(242, 238, 232, .14); color: var(--linho); }
.serv .link { display: inline-block; margin-top: 18px; color: var(--linho); }
@media (min-width: 921px) { .serv:not(.is-ativo) .serv__botao { grid-template-columns: 1fr auto; grid-template-areas: "num mais" "nome nome"; row-gap: 12px; } }

/* ---------- etapas ---------- */
.etapas { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: et; }
.etapas::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--linha-escura); }
.etapas::after { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--areia); transform-origin: left; transform: scaleX(var(--p, 0)); }
.etapa { position: relative; display: grid; gap: 14px; align-content: start; padding-top: 0; }
.etapa__marca { width: 47px; height: 47px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--grafite); box-shadow: inset 0 0 0 1px var(--linha-escura); color: rgba(242, 238, 232, .6); position: relative; z-index: 1; transition: background-color .5s, color .5s, box-shadow .5s; }
.etapa.is-feita .etapa__marca { background: var(--areia); color: var(--grafite); box-shadow: none; }
.etapa h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-top: 10px; }
.etapa p { font-size: 15px; line-height: 1.6; color: rgba(242, 238, 232, .66); max-width: 26ch; }
.etapas-cta { margin-top: clamp(48px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 22px 22px 30px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linha-escura); }
.etapas-cta p { font-size: 18px; }

/* ---------- Ulisses ---------- */
.ulisses { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.ulisses__foto { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; background: var(--linho-2); }
.ulisses__foto img { width: 100%; height: 100%; object-fit: cover; }
.ulisses__texto { display: grid; gap: 26px; }
.ulisses__citacao { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.2; letter-spacing: -.025em; max-width: 20ch; text-wrap: balance; }
.assina { display: grid; gap: 2px; padding-top: 22px; border-top: 1px solid var(--linha-clara); }
.assina b { font-size: 17px; }
.assina span { font-size: 14px; color: var(--pedra); }
.fala { display: grid; grid-template-columns: auto 1px minmax(0, 620px); justify-content: center; align-items: center; gap: clamp(32px, 5vw, 72px); margin: 0; }
.fala::before { content: ''; grid-column: 2; grid-row: 1; align-self: stretch; background: var(--linha-clara); }
.fala__pessoa { grid-column: 1; grid-row: 1; display: grid; justify-items: center; gap: 18px; text-align: center; }
.fala__foto { width: clamp(220px, 24vw, 320px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--linho-2); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .45); }
.fala__foto img { width: 100%; height: 100%; object-fit: cover; }
.fala figcaption { display: grid; gap: 4px; }
.fala figcaption b { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.fala figcaption span { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pedra); }
.fala__texto { grid-column: 3; grid-row: 1; margin: 0; text-align: center; display: grid; justify-items: center; gap: 10px; }
.fala__aspas { font-size: 88px; line-height: .6; font-weight: 700; color: var(--areia); height: 40px; }
.fala__texto p { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.38; letter-spacing: -.02em; font-style: italic; font-weight: 400; text-wrap: balance; }
.fala__texto p b { font-weight: 700; }
.clientes { margin-top: clamp(64px, 8vw, 112px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; padding-top: 28px; border-top: 1px solid var(--linha-clara); }
.clientes p { font-size: 14px; color: var(--pedra); }
.clientes ul { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.clientes li { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: color-mix(in srgb, var(--tinta) 62%, transparent); }

/* ---------- filmes ---------- */
.filmes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.filme { position: relative; display: block; width: 100%; border-radius: var(--r-foto); overflow: hidden; aspect-ratio: 9 / 14; background: var(--grafite-2); cursor: pointer; text-align: left; }
.filme::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22, 20, 21, .7), rgba(22, 20, 21, 0) 40%); pointer-events: none; }
.filme__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 999px; display: grid; place-items: center; background: rgba(251, 249, 246, .9); color: var(--grafite); transition: transform .45s var(--ease); }
.filme__play svg { width: 26px; height: 26px; margin-left: 3px; }
.filme:hover .filme__play { transform: scale(1.08); }
.filme__leg { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; font-size: 16px; font-weight: 700; color: var(--linho); line-height: 1.3; }
.tocador { width: min(440px, 92vw); max-height: 92dvh; padding: 0; border: 0; border-radius: var(--r-card); background: #000; overflow: visible; }
.tocador::backdrop { background: rgba(16, 14, 15, .88); backdrop-filter: blur(6px); }
.tocador[open] { animation: aparece .3s ease both; }
.tocador video { display: block; width: 100%; max-height: 92dvh; border-radius: var(--r-card); aspect-ratio: 9 / 16; background: #000; }
.tocador__fechar { position: absolute; top: -14px; right: -14px; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--linho); color: var(--grafite); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.tocador__fechar svg { width: 20px; height: 20px; }
.filme video, .filme img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.filme video { opacity: 0; transition: opacity .8s var(--ease); }
.filme video.is-pronto { opacity: 1; }
.filme figcaption-x { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(22, 20, 21, .5); color: var(--linho); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- faixa da galeria ---------- */
.faixa-gal { padding-block: var(--sec); overflow: hidden; }
.faixa-gal__trilho { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.faixa-gal__trilho { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.faixa-gal__trilho.is-arrastando { cursor: grabbing; }
.faixa-gal__fita { display: flex; gap: 14px; width: max-content; will-change: transform; }
.faixa-gal__item { flex: none; display: block; width: clamp(220px, 24vw, 360px); aspect-ratio: 4 / 3; border-radius: var(--r-foto); overflow: hidden; background: var(--linho-2); cursor: zoom-in; }
.faixa-gal__item picture { display: block; width: 100%; height: 100%; }
.faixa-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); pointer-events: none; }
.faixa-gal__item:hover img { transform: scale(1.05); }
.faixa-gal__fita { align-items: center; }

/* ---------- galeria ---------- */
.mural { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.mural__item { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-foto); overflow: hidden; background: var(--linho-2); cursor: zoom-in; }
.mural__item picture { display: block; width: 100%; height: 100%; }
.mural__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mural__item:hover img { transform: scale(1.035); }
.mural__item.is-entrando { animation: sobe .6s var(--ease) both; }

/* mais projetos */
.outros { margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--linha-clara); }
.outros__cab { display: grid; gap: 10px; margin-bottom: clamp(28px, 3vw, 44px); }
.outros__grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 16px; }
.mini { display: grid; gap: 10px; width: 100%; text-align: left; cursor: zoom-in; }
.mini__foto { border-radius: var(--r-peq); overflow: hidden; aspect-ratio: 4 / 3; background: var(--linho-2); }
.mini__foto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .8s var(--ease), filter .4s; }
.mini:hover .mini__foto img { transform: scale(1.04); filter: none; }
.mini__nome { font-size: 15px; font-weight: 700; }

/* ---------- chamada final ---------- */
.final { position: relative; color: var(--linho); background: var(--noite); overflow: hidden; isolation: isolate; }
.final__fundo { position: absolute; inset: 0; z-index: -1; }
.final__fundo img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.final__fundo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 20, 21, .92) 0%, rgba(22, 20, 21, .7) 45%, rgba(22, 20, 21, .35) 100%); }
.final__grade { display: grid; grid-template-columns: 1fr minmax(340px, 480px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.final__texto { display: grid; gap: 24px; }
.final__contatos { display: grid; gap: 14px; margin-top: 10px; }
.final__contatos a, .final__contatos span { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: rgba(242, 238, 232, .86); }
.final__contatos svg { width: 20px; height: 20px; color: var(--areia); flex: none; }
.final__contatos a:hover { color: var(--linho); }

/* ---------- formulário ---------- */
.form-card { background: rgba(251, 249, 246, .96); color: var(--tinta); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form-card--plano { box-shadow: inset 0 0 0 1px var(--linha-clara); background: var(--branco); }
.form { display: grid; gap: 16px; }
.form__titulo { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.campo { display: grid; gap: 7px; }
.campo label, .campo legend { font-size: 13.5px; font-weight: 700; }
.campo input, .campo textarea, .campo select { width: 100%; font: inherit; font-size: 16px; color: var(--tinta); background: var(--linho); border: 1px solid transparent; border-radius: var(--r-peq); padding: 13px 15px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--areia); background: #fff; box-shadow: 0 0 0 4px rgba(200, 181, 150, .25); }
.campo.is-erro input { border-color: #B3261E; }
.campo__erro { font-size: 13px; color: #B3261E; }
.opcoes { border: 0; margin: 0; padding: 0; display: grid; gap: 9px; }
.opcoes__lista { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes__lista label { position: relative; font-size: 14px; font-weight: 400; cursor: pointer; }
.opcoes__lista input { position: absolute; opacity: 0; inset: 0; }
.opcoes__lista span { display: inline-block; padding: 9px 15px; border-radius: 999px; background: var(--linho); transition: background-color .2s, color .2s; }
.opcoes__lista input:checked + span { background: var(--grafite); color: var(--linho); }
.opcoes__lista input:focus-visible + span { outline: 2px solid var(--areia); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 4px; }
.form__nota { font-size: 12.5px; line-height: 1.5; color: var(--pedra); }
.form__nota a { text-decoration: underline; text-underline-offset: 2px; }
.sucesso { display: grid; gap: 16px; text-align: left; }
.sucesso:focus { outline: none; }

/* ---------- rodapé ---------- */
.rodape { background: var(--noite); color: var(--linho); padding-top: clamp(64px, 8vw, 104px); }
.rodape__topo { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--linha-escura); }
.rodape__topo .logo { width: 120px; color: var(--linho); }
.rodape__frase { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.25; max-width: 24ch; }
.rodape__grade { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; padding-block: clamp(40px, 5vw, 64px); }
.rodape__rot { font-size: 13px; color: var(--areia); margin-bottom: 16px; }
.rodape__lista { display: grid; gap: 10px; font-size: 15px; color: rgba(242, 238, 232, .76); }
.rodape__lista a { transition: color .2s; }
.rodape__lista a:hover { color: var(--linho); }
.rodape__lista small { display: block; font-size: 12.5px; color: rgba(242, 238, 232, .45); }
.rodape__sobre { font-size: 15px; color: rgba(242, 238, 232, .7); max-width: 34ch; display: grid; gap: 18px; }
.redes { display: flex; gap: 10px; }
.redes a { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--linha-escura); transition: background-color .25s; }
.redes a:hover { background: rgba(242, 238, 232, .08); }
.redes svg { width: 20px; height: 20px; }
.rodape__base { display: flex; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; padding-block: 24px 30px; border-top: 1px solid var(--linha-escura); font-size: 13px; color: rgba(242, 238, 232, .55); }
.rodape__base nav { display: flex; gap: 22px; flex-wrap: wrap; }
.rodape__base a:hover, .rodape__base button:hover { color: var(--linho); }
.rodape__base button { font-size: 13px; color: inherit; }

/* WhatsApp flutuante */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 58px; height: 58px; border-radius: 999px; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .55); transition: transform .4s var(--ease), opacity .4s; }
.wa svg { width: 28px; height: 28px; }
.wa:hover { transform: scale(1.06); }
.wa.is-oculto { transform: translateY(120px); opacity: 0; pointer-events: none; }

/* ---------- cookies ---------- */
.cookies { position: fixed; left: 0; right: 0; bottom: 16px; margin-inline: auto; z-index: 95; width: min(880px, calc(100vw - 32px)); padding: 12px 12px 12px 22px; border-radius: 22px; background: rgba(22, 20, 21, .9); color: var(--linho); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--linha-escura); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 20px; font-size: 14px; line-height: 1.5; }
.cookies:not([hidden]) { animation: sobe .6s var(--ease) both; }
.cookies p { color: rgba(242, 238, 232, .82); }
.cookies a { text-decoration: underline; text-underline-offset: 2px; }
.cookies__acoes { display: flex; gap: 8px; }
.cookies__op { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; border-radius: var(--r-peq); background: rgba(242, 238, 232, .06); }
.cookies__op:not([hidden]) ~ .cookies__acoes { grid-column: 1 / -1; justify-content: flex-end; }
.troca { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; }
.troca small { display: block; font-size: 12.5px; color: rgba(242, 238, 232, .55); }
.troca input { appearance: none; -webkit-appearance: none; flex: none; width: 42px; height: 24px; border-radius: 99px; background: rgba(242, 238, 232, .2); position: relative; cursor: pointer; transition: background-color .25s; }
.troca input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 99px; background: var(--linho); transition: transform .3s var(--ease); }
.troca input:checked { background: var(--areia); }
.troca input:checked::after { transform: translateX(18px); }
.troca input:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- páginas internas ---------- */
.pg-topo { padding-top: calc(var(--topo-h) + clamp(56px, 7vw, 104px)); padding-bottom: clamp(40px, 5vw, 64px); }
.pg-topo .t1 { max-width: 16ch; }
.pg-topo__grade { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.pg-topo__grade > div:first-child { display: grid; gap: 20px; }
.filtros { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.filtros::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--linha-clara); transition: background-color .25s, color .25s, box-shadow .25s; }
.chip small { font-size: 12px; color: var(--pedra); }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(42, 39, 40, .4); }
.chip[aria-pressed="true"] { background: var(--grafite); color: var(--linho); box-shadow: none; }
.chip[aria-pressed="true"] small { color: var(--areia); }

/* grade de projetos */
.grade { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px); }
.cartao { grid-column: span 6; display: grid; gap: 14px; align-content: start; width: 100%; text-align: left; cursor: zoom-in; }
.cartao, .cartao[data-forma] { grid-column: span 4; }
.cartao__foto { position: relative; border-radius: var(--r-foto); overflow: hidden; aspect-ratio: 4 / 3; background: var(--linho-2); }
.cartao__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cartao:hover .cartao__foto img { transform: scale(1.045); }
.cartao__ver { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: rgba(251, 249, 246, .92); color: var(--grafite); transform: scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.cartao__ver svg { width: 20px; height: 20px; }
.cartao:hover .cartao__ver, .cartao:focus-visible .cartao__ver { transform: none; opacity: 1; }
.cartao__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cartao__nome { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.cartao__tipo { font-size: 14px; color: var(--pedra); text-align: right; }
.cartao.is-entrando { animation: sobe .7s var(--ease) both; }

/* página de projeto */
.pj-capa { position: relative; height: 88svh; min-height: 560px; color: var(--linho); background: var(--noite); overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.pj-capa__foto { position: absolute; inset: 0; z-index: -2; }
.pj-capa__foto img { width: 100%; height: 100%; object-fit: cover; }
.pj-capa::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(22, 20, 21, .86) 0%, rgba(22, 20, 21, .45) 26%, rgba(22, 20, 21, 0) 52%), linear-gradient(180deg, rgba(22, 20, 21, .5) 0%, rgba(22, 20, 21, 0) 20%); }
.pj-capa__texto { padding-bottom: clamp(32px, 5vw, 64px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pj-capa__texto > div { display: grid; gap: 12px; }
.pj-capa__tipo { font-size: 15px; color: rgba(242, 238, 232, .8); }
.voltar { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(242, 238, 232, .8); margin-bottom: 10px; }
.voltar svg { width: 18px; height: 18px; }
.voltar:hover { color: var(--linho); }
.pj-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.pj-intro .t3 { max-width: 30ch; }
.pj-lado { display: grid; gap: 26px; }
.pj-lado .ficha { grid-template-columns: 1fr 1fr; }
.pj-lado .ficha dd { font-size: 18px; letter-spacing: -.01em; line-height: 1.35; padding-bottom: 16px; }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.galeria__item { position: relative; border-radius: var(--r-foto); overflow: hidden; background: var(--linho-2); cursor: zoom-in; display: block; width: 100%; }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.galeria__item:hover img { transform: scale(1.03); }
.galeria__item--largo { grid-column: 1 / -1; aspect-ratio: 16 / 8.2; }
.galeria__item--meio { aspect-ratio: 4 / 3.4; }
.galeria__item--alto { aspect-ratio: 4 / 5; }
.proximo { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; color: var(--linho); background: var(--noite); isolation: isolate; min-height: 420px; }
.proximo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; transition: transform 1.2s var(--ease), opacity .6s; }
.proximo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 20, 21, .85), rgba(22, 20, 21, .1)); }
.proximo:hover img { transform: scale(1.04); opacity: .9; }
.proximo__texto { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); display: grid; gap: 12px; }
.proximo__texto small { font-size: 14px; color: var(--areia); }
.proximo__seta { position: absolute; right: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; background: var(--linho); color: var(--grafite); transition: transform .45s var(--ease); }
.proximo:hover .proximo__seta { transform: translateX(6px); }
.proximo__seta svg { width: 24px; height: 24px; }

/* lightbox */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16, 14, 15, .96); color: var(--linho); }
.lb::backdrop { background: rgba(16, 14, 15, .9); }
.lb[open] { display: grid; grid-template-rows: 1fr auto; animation: aparece .3s ease both; }
.lb__img { width: 100%; height: 100%; object-fit: contain; padding: clamp(12px, 3vw, 40px) clamp(12px, 3vw, 40px) 0; min-height: 0; }
.lb__barra { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px clamp(16px, 3vw, 40px) 22px; }
.lb__legenda { font-size: 14px; display: flex; gap: 14px; }
.lb__legenda span { color: rgba(242, 238, 232, .55); }
.lb__legenda b { font-weight: 700; }
.lb__legenda small { font-size: 13px; color: rgba(242, 238, 232, .55); }
.lb__botoes { display: flex; gap: 8px; }
.lb__botoes button { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--linha-escura); }
.lb__botoes button:hover { background: rgba(242, 238, 232, .08); }
.lb__botoes svg { width: 20px; height: 20px; }
.lb-aberto { overflow: hidden; }

/* escritório */
.esc-capa { position: relative; min-height: 78svh; display: grid; align-items: end; color: var(--linho); background: var(--noite); overflow: hidden; isolation: isolate; }
.esc-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.esc-capa::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(22, 20, 21, .8), rgba(22, 20, 21, .1) 60%), linear-gradient(180deg, rgba(22, 20, 21, .5), rgba(22, 20, 21, 0) 25%); }
.esc-capa .container { padding-bottom: clamp(36px, 5vw, 72px); display: grid; gap: 20px; }
.esc-capa .t1 { max-width: 15ch; }
.disciplinas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.disciplina { padding: 26px; border-radius: var(--r-card); background: var(--branco); box-shadow: inset 0 0 0 1px var(--linha-clara); display: grid; gap: 12px; align-content: start; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.disciplina:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--linha-clara), 0 24px 48px -32px rgba(0, 0, 0, .35); }
.disciplina svg { width: 30px; height: 30px; color: var(--areia-2); stroke: var(--tinta); }
.disciplina h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.disciplina p { font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--tinta) 72%, transparent); }
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.dupla__foto { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 5 / 4; }
.dupla__foto img { width: 100%; height: 100%; object-fit: cover; }
.dupla__texto { display: grid; gap: 22px; }

/* contato */
.contato-grade { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contato-lista { display: grid; gap: 0; border-top: 1px solid var(--linha-clara); }
.contato-lista > * { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--linha-clara); }
.contato-lista svg { width: 22px; height: 22px; }
.contato-lista i { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--branco); box-shadow: inset 0 0 0 1px var(--linha-clara); }
.contato-lista small { display: block; font-size: 13px; color: var(--pedra); }
.contato-lista b { font-weight: 700; font-size: 16px; }
a.contato-item:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* texto legal */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.legal__indice { position: sticky; top: calc(var(--topo-h) + 24px); display: grid; gap: 4px; font-size: 14px; }
.legal__indice a { padding: 7px 0; color: var(--pedra); transition: color .2s; }
.legal__indice a:hover { color: var(--tinta); }
.legal__corpo { max-width: 72ch; display: grid; gap: 18px; font-size: 16.5px; }
.legal__corpo h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-top: 30px; scroll-margin-top: calc(var(--topo-h) + 24px); }
.legal__corpo h2:first-child { margin-top: 0; }
.legal__corpo ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.legal__corpo a { text-decoration: underline; text-underline-offset: 2px; }
.legal__corpo .tabela { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal__corpo .tabela th, .legal__corpo .tabela td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--linha-clara); }
.legal__corpo .tabela th { font-weight: 700; font-size: 13.5px; }
.legal__data { font-size: 14px; color: var(--pedra); }

/* 404 */
.nada { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--topo-h) + 40px) var(--pad) 60px; background: var(--grafite); color: var(--linho); }
.nada > div { display: grid; gap: 22px; justify-items: center; }

/* carregamento suave das imagens */
.js img[loading="lazy"] { opacity: 0; transition: opacity .7s var(--ease), transform 1s var(--ease); }
.js img[loading="lazy"].is-carregada { opacity: 1; }

/* ---------- responsivo ---------- */
.obrigado { position: relative; min-height: 100svh; display: grid; align-items: center; color: var(--linho); background: var(--noite); isolation: isolate; overflow: hidden; }
.obrigado__fundo, .obrigado__fundo picture, .obrigado__fundo img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.obrigado__fundo img { object-fit: cover; }
.obrigado::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 14, 15, .88) 0%, rgba(16, 14, 15, .62) 55%, rgba(16, 14, 15, .35)); }
.obrigado__conteudo { display: grid; gap: 22px; justify-items: start; padding-block: calc(var(--topo-h) + 48px) 64px; max-width: 760px; margin-inline: 0; }
@media (min-width: 1416px) { .obrigado__conteudo { margin-left: calc((100vw - var(--larg)) / 2); } }
.obrigado__icone { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; background: var(--areia); color: var(--grafite); }
.obrigado__icone svg { width: 30px; height: 30px; }
.obrigado .apoio { color: rgba(242, 238, 232, .85); max-width: 52ch; }
@media (max-width: 1080px) {
  .mural { grid-template-columns: repeat(3, 1fr); }
  .etapas { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .etapas::before, .etapas::after { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .etapas::after { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .etapa { grid-template-columns: 47px 1fr; column-gap: 20px; }
  .etapa h3 { margin-top: 10px; grid-column: 2; }
  .etapa p { grid-column: 2; max-width: 44ch; }
  .etapa__marca { grid-row: span 2; }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
  .disciplinas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  :root { --topo-h: 68px; }
  .nav__lista, .nav > .btn { display: none; }
  .menu-btn { display: block; }
  .fala { grid-template-columns: 1fr; gap: 28px; }
  .fala::before { display: none; }
  .fala__texto { grid-column: 1; grid-row: 2; }
  .apres, .compara-bloco, .servicos, .ulisses, .final__grade, .pj-intro, .contato-grade, .dupla, .legal { grid-template-columns: 1fr; }
  .servicos__palco { display: none; }
  .servico__foto-m { display: block; border-radius: var(--r-foto); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 18px; }
  .servico__foto-m img { width: 100%; height: 100%; object-fit: cover; }
  .servs { flex-direction: column; height: auto; }
  .serv { flex: none; height: 132px; transition: height .7s var(--ease); }
  .serv.is-ativo { height: min(560px, 118vw); }
  .vit, .vitrine.is-fixa .vit { --w: 82vw; }
  .vit--fim, .vitrine.is-fixa .vit--fim { --w: 72vw; }
  .vit__ver { opacity: 1; transform: none; }
  .filmes { grid-template-columns: repeat(3, 66vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .filmes::-webkit-scrollbar { display: none; }
  .filme { scroll-snap-align: center; }
  .ulisses__foto { aspect-ratio: 4 / 4.4; }
  .legal__indice { position: static; display: none; }
  .grade { grid-template-columns: repeat(2, 1fr); }
  .cartao, .cartao[data-forma] { grid-column: span 1; }
  .cartao__info { flex-direction: column; gap: 2px; }
  .cartao__tipo { text-align: left; }
  .cartao__ver { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ficha dd { font-size: 24px; }
  .abertura__base .rolar { display: none; }
  .abertura__veu { background: linear-gradient(180deg, rgba(22, 20, 21, .5) 0%, rgba(22, 20, 21, 0) 22%), linear-gradient(0deg, rgba(22, 20, 21, .88) 0%, rgba(22, 20, 21, .35) 55%, rgba(22, 20, 21, .1) 100%); }
  .acoes .btn { flex: 1 1 100%; }
  .etapas-cta { border-radius: var(--r-card); padding: 24px; }
  .etapas-cta .btn { width: 100%; }
  .rodape__grade { grid-template-columns: 1fr; gap: 30px; }
  .disciplinas { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr; }
  .galeria__item--largo, .galeria__item--meio { aspect-ratio: 4 / 3; }
  .galeria__item--alto { aspect-ratio: 4 / 5; }
  .grade { grid-template-columns: 1fr; }
  .mural { grid-template-columns: repeat(2, 1fr); }
  .outros__grade { grid-template-columns: 1fr 1fr; }
  .abertura__pontos button { width: 26px; }
  .abertura__projeto { font-size: 13px; gap: 10px; }
  .abertura__projeto > span { white-space: nowrap; max-width: calc(100vw - 120px); overflow: hidden; text-overflow: ellipsis; }

  .pj-capa { height: 76svh; min-height: 480px; }
  .clientes { justify-content: flex-start; }
  .cookies { bottom: 10px; width: calc(100vw - 20px); padding: 16px; grid-template-columns: 1fr; border-radius: var(--r-card); }
  .cookies__op { grid-template-columns: 1fr; grid-row: auto; }
  .cookies__acoes .btn { flex: 1 1 0; padding: 0 10px; }
  .wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .proximo { min-height: 320px; }
  .proximo__seta { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn::before { animation: none; background: none; }
}