/* =====================================================================
   CARDOSO | CHOUZA ARQUITETOS — "Do traço à obra"
   Paleta da logo: preto, branco e laranja. Mobile first.
   ===================================================================== */
:root {
  --preto: #0A0A0A;
  --preto-2: #161616;
  --branco: #F4F3F0;
  --branco-2: #E7E6E2;
  --laranja: #E85523;
  --laranja-txt: #C6411A;          /* laranja mais escuro para texto pequeno em fundo claro (contraste AA) */
  --cinza: #5A5955;
  --cinza-claro: #A9A7A1;
  --linha: rgba(10, 10, 10, .16);
  --linha-clara: rgba(244, 243, 240, .2);
  --serif: "Bodoni Moda", Didot, "Bodoni MT", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --marca: "Dosis", "Geist", sans-serif;
  --gut: clamp(20px, 4vw, 56px);
  --cab: 68px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
body { font-optical-sizing: none; font-variation-settings: "opsz" 20; background: var(--branco); color: var(--preto); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { width: 100%; height: 100%; object-fit: cover; background: #222; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; }
::selection { background: var(--laranja); color: #fff; }

.pular { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--laranja); color: #fff; padding: 12px 18px; }
.pular:focus { top: 12px; }
.sem-js { padding: 120px var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { padding-inline: var(--gut); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; }
.lar { color: var(--laranja); }
.sec .lar-t { color: var(--laranja-txt); }
.esc .lar-t { color: var(--laranja); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: .96; }
em { font-style: italic; }
.tit { font-size: clamp(44px, 8.6vw, 120px); }
.tit em { color: var(--laranja); }

.sec { position: relative; padding-block: clamp(84px, 11vw, 150px); }
.esc { background: var(--preto); color: var(--branco); }
.rot { display: flex; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 5vw, 56px); }
.rot b { font-weight: 500; color: var(--laranja-txt); margin-right: .7em; }
.esc .rot b { color: var(--laranja); }

/* Moldura de prancha: cruzes de registro nos cantos */
.moldura::before, .moldura::after { content: ""; position: absolute; top: 22px; width: 15px; height: 15px; opacity: .5; pointer-events: none;
  background: linear-gradient(currentColor, currentColor) 7px 0 / 1px 15px no-repeat, linear-gradient(currentColor, currentColor) 0 7px / 15px 1px no-repeat; }
.moldura::before { left: 18px; } .moldura::after { right: 18px; }
.regua { height: 7px; margin-inline: var(--gut); opacity: .3; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 12px); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 24px; border: 1px solid currentColor; border-radius: 99px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn:hover { background: var(--laranja); border-color: var(--laranja); color: #fff; }
.btn--cheio { background: var(--laranja); border-color: var(--laranja); color: #fff; }
.btn--cheio:hover { background: var(--preto); border-color: var(--preto); }
.esc .btn--cheio:hover { background: var(--branco); border-color: var(--branco); color: var(--preto); }
.lk { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; border-bottom: 1px solid currentColor; }
.lk:hover { color: var(--laranja); }

/* Revelações (só ativas quando o JS liga a classe .anima no <html>) */
.anima [data-rev] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.anima [data-rev].visto { opacity: 1; transform: none; }
/* a cortina recorta o FILHO: recortar o próprio elemento observado impede o IntersectionObserver de enxergá-lo */
.anima [data-rev="cortina"] { opacity: 1; transform: none; }
.anima [data-rev="cortina"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.anima [data-rev="cortina"].visto > * { clip-path: inset(0 0 0 0); }

/* ---------- Cabeçalho ---------- */
.cab { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--cab); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: var(--gut); color: var(--branco);
  transition: background .4s, transform .5s var(--ease); }
.cab.solido { background: rgba(10, 10, 10, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cab__logo { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.mgs { width: 34px; height: 39px; flex: none; }
/* Logo da barra superior: entra (torres, depois o C), fica completa e sai pela "Subida", em ciclo de 13,2 s.
   As torres usam clip-path (sobem na entrada e somem pelo topo na saída). */
.cab > .cab__logo .tr { stroke-dasharray: 670; animation: cabC 13.2s cubic-bezier(.5, 0, .2, 1) infinite; }
.cab > .cab__logo .br { animation: cabT1 13.2s cubic-bezier(.4, 0, .2, 1) infinite; }
.cab > .cab__logo .br + .br { animation-name: cabT2; }
@keyframes cabT1 { 0% { clip-path: inset(100% 0 0 0); } 5.68%, 92.05% { clip-path: inset(0 0 0 0); } 96.59%, 100% { clip-path: inset(0 0 100% 0); } }
@keyframes cabT2 { 0%, 3.41% { clip-path: inset(100% 0 0 0); } 9.09%, 93.18% { clip-path: inset(0 0 0 0); } 97.73%, 100% { clip-path: inset(0 0 100% 0); } }
@keyframes cabC { 0%, 7.95% { stroke-dashoffset: 670; } 19.32%, 87.12% { stroke-dashoffset: 0; } 93.94%, 100% { stroke-dashoffset: -670; } }
.cab__nome { font-family: var(--marca); font-weight: 500; font-size: 14px; letter-spacing: .14em; line-height: 1.2; }
.cab__nome i { font-style: normal; color: var(--laranja); }
.cab__nav { display: none; gap: 30px; }
.cab__nav a { position: relative; padding: 14px 0; }
.cab__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.cab__nav a:hover::after, .cab__nav a[aria-current]::after { transform: scaleX(1); }
.cab__menu { min-height: 44px; padding: 0 18px; border: 1px solid rgba(244, 243, 240, .6); border-radius: 99px; display: inline-flex; align-items: center; gap: 12px; }
.cab__menu:hover { background: var(--laranja); border-color: var(--laranja); }
.cab__menu i { display: block; width: 16px; height: 7px; border-block: 1px solid currentColor; }

/* ---------- Menu em tela cheia ---------- */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--preto); color: var(--branco); display: flex; flex-direction: column; padding: 18px var(--gut) 28px; overflow-y: auto;
  visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu.aberto { visibility: visible; clip-path: inset(0); transition: clip-path .7s var(--ease), visibility 0s; }
.menu__topo { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.menu__links { margin-block: auto; padding-block: 32px; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-size: clamp(44px, 9vw, 112px); line-height: 1.06; letter-spacing: -.02em; transition: color .3s, padding .4s var(--ease); }
.menu__links a .mono { color: var(--laranja); }
.menu__links a:hover { color: var(--laranja); font-style: italic; padding-left: 16px; }
.menu__info { display: grid; gap: 18px; border-top: 1px solid var(--linha-clara); padding-top: 20px; color: var(--cinza-claro); font-size: 14px; }
.menu__info b { display: block; color: var(--branco); font-weight: 400; }
.menu__info a { display: inline-block; padding: 12px 0; }
.menu__info a:hover { color: var(--laranja); }

/* ---------- Abertura e cortina de transição ---------- */
.abre { position: fixed; inset: 0; z-index: 120; background: var(--preto); color: var(--branco); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: clip-path .9s var(--ease); clip-path: inset(0); }
.abre.sai { clip-path: inset(0 0 100% 0); }
.abre svg { width: min(46vw, 200px); height: auto; overflow: visible; }
/* Abertura: 1) torre da esquerda sobe  2) torre da direita sobe  3) a letra C se desenha de cima para baixo e atravessa as torres  4) o nome aparece */
.abre .tr { stroke-dasharray: 670; stroke-dashoffset: 670; animation: traca 1.5s cubic-bezier(.5, 0, .2, 1) 1.05s forwards; }
.abre .br { transform: scaleY(0); transform-origin: 50% 100%; transform-box: fill-box; animation: sobe .75s var(--ease) forwards; }
.abre .br + .br { animation-delay: .45s; }
/* Saída "Subida" (classe .fora): o C se apaga seguindo o traço e as torres continuam subindo até sumir pelo topo */
.abre.fora .tr { stroke-dashoffset: 0; animation: apaga .9s cubic-bezier(.5, 0, .3, 1) .1s forwards; }
.abre.fora .br { transform: scaleY(1); transform-origin: 50% 0; animation: recolhe .6s cubic-bezier(.6, 0, .4, 1) .75s forwards; }
.abre.fora .br + .br { animation-delay: .9s; }
.abre.fora .abre__nome { opacity: 1; animation: some .35s ease forwards; }
.abre__nome { font-family: var(--marca); font-size: clamp(18px, 3.4vw, 28px); letter-spacing: .14em; text-align: center; line-height: 1.3; opacity: 0; animation: surge .8s 2.35s forwards; }
.abre__nome i { font-style: normal; color: var(--laranja); }
.abre__nome span { display: block; letter-spacing: .5em; margin-right: -.5em; }
.abre__cont { position: absolute; left: var(--gut); bottom: 24px; font-family: var(--serif); font-size: clamp(64px, 14vw, 150px); line-height: .8; }
.abre__pular { position: absolute; right: var(--gut); bottom: 28px; }
.abre__barra { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--laranja); transform: scaleX(0); transform-origin: left; animation: enche 3.2s linear forwards; }
@keyframes traca { to { stroke-dashoffset: 0; } }
@keyframes sobe { to { transform: scaleY(1); } }
@keyframes surge { to { opacity: 1; } }
@keyframes apaga { to { stroke-dashoffset: -670; } }
@keyframes recolhe { to { transform: scaleY(0); } }
@keyframes some { to { opacity: 0; } }
@keyframes enche { to { transform: scaleX(1); } }

.cortina { position: fixed; inset: 0; z-index: 110; background: var(--preto); pointer-events: none; display: flex; align-items: center; justify-content: center; color: var(--branco);
  clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease); }
.cortina .mgs { width: 60px; height: 69px; }
.cortina.fecha { clip-path: inset(0 0 0 0); }

/* Rastro do mouse (só mouse): um quadradinho laranja com uma linha que some */
#rastro { position: fixed; inset: 0; z-index: 130; width: 100%; height: 100%; pointer-events: none; }

/* Botão flutuante de WhatsApp */
.zap { position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: var(--laranja); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); transition: transform .35s var(--ease), background .3s; }
.zap:hover { transform: scale(1.08); background: var(--preto); }
.zap svg { width: 28px; height: 28px; }

/* ---------- 01 Capa ---------- */
.capa { touch-action: pan-y; position: relative; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; background: var(--preto); color: var(--branco); }
.capa__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.capa__slide img { filter: brightness(.58) contrast(1.05); }
.capa__slide.on { opacity: 1; }
/* Zoom out contínuo: dura exatamente o tempo de exibição da imagem (--dur é definido pelo JS) */
.capa__slide.on img { animation: afasta var(--dur, 6.5s) linear both; }
@keyframes afasta { from { transform: scale(var(--zoom, 1.14)); } to { transform: scale(1); } }
/* Celular: a foto ocupa só a parte de cima da capa (aparece mais da largura da imagem) e se funde ao preto embaixo */
@media (max-width: 767px) {
  .capa { --zoom: 1.06; }
  .capa__slide img { height: 62%; filter: brightness(.74) contrast(1.05); }   /* mais clara: o título fica sobre o preto, não sobre a foto */
  /* vai até o fim da capa: com o zoom, a foto ultrapassa um pouco os 62% e sobrava uma faixa dela abaixo do degradê */
  .capa__slide::after { content: ""; position: absolute; left: 0; right: 0; top: 45%; bottom: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0, var(--preto) 30%); }
}
.capa__sombra { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.5) 0, transparent 26%, transparent 50%, rgba(10,10,10,.78) 100%); pointer-events: none; }
.capa__h1 { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--cab) + 18px); max-width: 30ch; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.8; }
.capa__coord { display: none; }
.capa__info { position: absolute; left: var(--gut); right: var(--gut); bottom: 142px; }
.capa__tit { display: block; font-family: var(--serif); font-size: clamp(54px, 13vw, 190px); line-height: .9; letter-spacing: -.025em; }
.capa__tit.longo { font-size: clamp(44px, 9.4vw, 136px); }
.capa__tit .p { display: inline-block; white-space: nowrap; }
.capa__tit .l { display: inline-block; }
.anima .capa__tit .l { animation: letra .9s var(--ease) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes letra { from { opacity: 0; transform: translateY(.5em) rotate(4deg); } }
.capa__tit em { color: var(--laranja); }
.capa__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; }
.capa__faixa { touch-action: pan-x; position: absolute; left: var(--gut); right: var(--gut); bottom: 26px; display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--linha-clara); }
.capa__faixa::-webkit-scrollbar { display: none; }
.capa__faixa button { position: relative; flex: 1 0 140px; text-align: left; padding: 14px 0 6px; min-height: 60px; opacity: .55; transition: opacity .4s; }
.capa__faixa button:hover, .capa__faixa button.on { opacity: 1; }
/* Linha do projeto ativo: base branca que vai se preenchendo de laranja até a troca para a próxima imagem */
.capa__faixa button::before, .capa__faixa button::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; }
.capa__faixa button::before { background: var(--branco); opacity: 0; transition: opacity .4s; }
.capa__faixa button::after { background: var(--laranja); transform: scaleX(0); transform-origin: left; }
.capa__faixa button.on::before { opacity: 1; }
.capa__faixa button.on::after { transform: scaleX(1); }
.capa.auto .capa__faixa button.on::after { animation: tempo var(--dur, 6.5s) linear both; }
@keyframes tempo { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes gira { to { transform: rotate(360deg); } }
.capa__setas { display: none; }

/* ---------- 02 Manifesto ---------- */
.mani__txt { font-family: var(--serif); font-size: clamp(31px, 5vw, 68px); line-height: 1.1; letter-spacing: -.015em; max-width: 21ch; }
.mani__txt em { color: var(--laranja-txt); }
.mani__txt .w { display: inline-block; }
/* Preenchimento automático ao entrar na tela (85 ms por palavra) */
.anima .mani__txt .w { opacity: .16; }
.anima .mani__txt.visto .w { opacity: 1; transition: opacity .8s ease; transition-delay: calc(var(--i) * 85ms); }
.mani__rod { display: grid; gap: 24px; margin-top: clamp(36px, 6vw, 72px); align-items: center; }
.mani__rod p { color: var(--cinza); max-width: 44ch; }

/* ---------- 03 Do traço à obra ---------- */
.traco { position: relative; background: var(--branco); }
.traco__lado { padding: clamp(72px, 10vw, 120px) var(--gut) 34px; }
.traco__lado .tit em { color: var(--laranja-txt); }
.traco__lado > p { color: var(--cinza); max-width: 40ch; margin: 22px 0 28px; }
.traco__etapas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.traco__etapas li { border-top: 2px solid var(--linha); padding-top: 10px; opacity: .45; transition: opacity .4s, border-color .4s; }
.traco__etapas li b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(17px, 2vw, 26px); letter-spacing: -.01em; line-height: 1.1; margin-top: 4px; }
.traco__etapas li.on { opacity: 1; border-top-color: var(--laranja); }
/* No celular o palco tem a mesma proporção da foto (3:2): a imagem aparece inteira, sem corte */
.traco__palco { position: relative; aspect-ratio: 1600 / 1067; overflow: hidden; background: var(--branco); --p: 50%; touch-action: pan-y; }
.traco__croqui, .traco__foto { position: absolute; inset: 0; }
.traco__croqui img { background: var(--branco); }
.traco__croqui.filtro img { filter: url(#croqui); mix-blend-mode: multiply; background: transparent; }
.traco__foto { clip-path: inset(0 0 0 var(--p)); }
.traco__div { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--laranja); }
.traco__pega { position: absolute; top: 50%; left: var(--p); width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--laranja); color: #fff; display: flex; align-items: center; justify-content: center; cursor: ew-resize; touch-action: none; font-family: var(--mono); letter-spacing: .1em; }
@media (min-width: 1024px) {
  .traco__wrap { display: grid; grid-template-columns: minmax(360px, 34%) 1fr; height: 100vh; min-height: 620px; }
  .traco__lado { display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--cab) + 24px); }
  .traco__lado .tit { font-size: clamp(52px, 5.6vw, 100px); }
  .traco__etapas { grid-template-columns: 1fr; gap: 0; }
  .traco__etapas li { display: flex; align-items: baseline; gap: 18px; padding: 13px 0; border-top-width: 1px; }
  .traco__etapas li.on { border-top-width: 2px; }
  .traco__etapas li b { margin-top: 0; }
  .traco__palco { aspect-ratio: auto; height: 100%; }
}

/* ---------- 04 Projetos (trilho) ---------- */
.hproj { overflow: hidden; }
.hproj__topo { display: grid; gap: 22px; align-items: end; margin-bottom: 36px; }
/* overflow-y: hidden é essencial no celular: sem ele o trilho rolava 6 px na vertical e "prendia" o dedo, travando a rolagem da página */
.hproj__trilho { display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden; padding-bottom: 8px; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; padding-inline: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; align-items: flex-end; }
.hproj__trilho::-webkit-scrollbar { display: none; }
.card { flex: none; width: min(78vw, 420px); scroll-snap-align: start; display: block; }
.card__f { overflow: hidden; aspect-ratio: 4 / 5; }
.card:nth-child(3n+2) .card__f { aspect-ratio: 1 / 1; }
.card__f img { transition: transform 1.2s var(--ease); }
.card:hover .card__f img { transform: scale(1.06); }
.card__inf { display: flex; justify-content: space-between; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linha-clara); }
.card__inf h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; }
.card__inf .mono { text-align: right; color: var(--cinza-claro); flex: none; }
.card--fim { display: flex; align-items: center; justify-content: center; align-self: stretch; border: 1px solid var(--linha-clara); min-height: 300px; padding: 24px; text-align: center; font-family: var(--serif); font-size: 34px; line-height: 1.05; transition: background .4s, border-color .4s; }
.card--fim:hover { background: var(--laranja); border-color: var(--laranja); }
.hproj__base { margin-top: 30px; padding: 26px 26px; }
.hproj__prog { height: 1px; background: var(--linha-clara); position: relative; }
.hproj__prog i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--laranja); transform: scaleX(var(--prog, 0)); transform-origin: left; }
.hproj__seta { position: absolute; top: 50%; left: calc(var(--prog, 0) * 100%); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--laranja); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; transition: transform .3s var(--ease), box-shadow .3s; }
.hproj__seta:hover, .hproj__seta.pega { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(232, 85, 35, .22); }
.hproj__seta.pega { cursor: grabbing; }

/* ---------- 05 Números e arquitetos ---------- */
.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.circ { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 250px; width: 100%; }
.circ svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.circ circle { fill: none; stroke: var(--linha); stroke-width: .14; }
.circ circle + circle { stroke: var(--laranja); stroke-width: .3; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.circ.visto circle + circle, html:not(.anima) .circ circle + circle { stroke-dashoffset: var(--arco, 30); }
.circ strong { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9vw, 92px); line-height: 1; letter-spacing: -.03em; }
.circ span { margin-top: 6px; color: var(--cinza); max-width: 12ch; }
.arqs { display: grid; gap: 40px; margin-top: clamp(56px, 8vw, 110px); }
.arqs__tit { align-self: end; }
.arqs__tit p { color: var(--cinza); max-width: 40ch; margin: 22px 0 26px; }
.arq__f { aspect-ratio: 4 / 3; background: var(--preto); color: var(--branco); display: flex; align-items: flex-end; justify-content: space-between; padding: 18px; position: relative; overflow: hidden; }
.arq__f img { position: absolute; inset: 0; filter: grayscale(1) contrast(1.06); }
.arq__f .ini { font-family: var(--serif); font-size: clamp(90px, 16vw, 170px); line-height: .8; letter-spacing: -.04em; }
.arq__f .ini i { color: var(--laranja); }
.arq__f .mono { color: var(--cinza-claro); text-align: right; }
.arq h3 { font-size: clamp(32px, 3.6vw, 46px); margin-top: 16px; }
/* Foto dos dois com fundo branco: o 'multiply' funde o branco da foto ao fundo do site */
.duo__f { display: flex; justify-content: center; }
.duo__img { position: relative; display: inline-block; line-height: 0; background: var(--branco); }
.duo__tag { display: none; }
.duo__img img { width: auto; max-width: 100%; height: clamp(440px, 84vh, 860px); object-fit: contain; mix-blend-mode: multiply; background: transparent; filter: brightness(1.075) contrast(1.05); }
.duo__n { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__n h3 { font-size: clamp(26px, 3.6vw, 46px); }
.arq .mono { color: var(--cinza); margin-top: 6px; }
.arq p.bio { color: var(--cinza); margin-top: 12px; font-size: 15px; max-width: 44ch; }

/* ---------- 06 O que fazemos ---------- */
.serv { border-top: 1px solid var(--linha-clara); }
.serv li { border-bottom: 1px solid var(--linha-clara); }
.serv__b { width: 100%; display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 8px; padding: 14px 0; text-align: left; min-height: 64px; }
.serv__b .mono { color: var(--laranja); }
.serv__b h3 { font-size: clamp(30px, 4.4vw, 58px); color: rgba(244, 243, 240, .5); transition: color .35s, font-style .35s, transform .5s var(--ease); line-height: 1.05; }
/* Ícone: um "+" cuja haste vertical se dobra e vira a ponta de uma seta */
.serv__b .mais { position: relative; width: 20px; height: 20px; justify-self: end; transition: transform .45s var(--ease), color .3s; }
.serv__b .mais i { position: absolute; left: 1px; top: 9px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .45s var(--ease); }
.serv__b .mais i:nth-child(1) { width: 18px; }
.serv__b .mais i:nth-child(2), .serv__b .mais i:nth-child(3) { width: 9px; transform-origin: 100% 50%; }
.serv__b .mais i:nth-child(2) { transform: rotate(90deg); }
.serv__b .mais i:nth-child(3) { transform: rotate(-90deg); }
.serv li.on .mais i:nth-child(2) { transform: translateX(9px) rotate(45deg); }
.serv li.on .mais i:nth-child(3) { transform: translateX(9px) rotate(-45deg); }
.serv li:hover h3, .serv li.on h3 { color: var(--branco); font-style: italic; transform: translateX(14px); }
.serv li.on .mais { color: var(--laranja); transform: rotate(90deg); }   /* no celular a foto abre embaixo: a seta aponta para baixo */
.serv__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.serv li.on .serv__p { grid-template-rows: 1fr; }
.serv__p > div { overflow: hidden; }
.serv__p p { color: var(--cinza-claro); max-width: 52ch; padding: 0 0 22px 42px; }
.serv__f { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.serv li.on .serv__f { max-height: 420px; }
.serv__f img { aspect-ratio: 3 / 2; height: auto; margin: 0 0 22px 42px; width: calc(100% - 42px); max-width: 520px; padding: 7px; border: 1px solid rgba(232, 85, 35, .6); background: transparent; }
.serv__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 07 Processo + filme ---------- */
.proc { display: grid; gap: 44px; }
.proc__trilho { position: relative; margin-top: 34px; padding-left: 32px; }
.proc__trilho::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: var(--linha); }
.proc__ind { position: absolute; left: 0; top: -5px; width: 11px; height: 11px; background: var(--laranja); transition: transform .18s linear; will-change: transform; }
.proc__lista { border-top: 1px solid var(--linha); }
.proc__lista li { display: grid; grid-template-columns: 54px 1fr; padding: 18px 0; border-bottom: 1px solid var(--linha); color: var(--preto); }
.proc__lista li.on h3 { color: var(--laranja); }
.proc__lista li .mono { padding-top: 6px; }
.proc__lista li.on .mono { color: var(--laranja-txt); }
.proc__lista h3 { font-family: var(--sans); font-weight: 500; font-size: clamp(20px, 2vw, 25px); letter-spacing: -.01em; line-height: 1.25; transition: color .3s; }
.proc__lista p { grid-column: 2; font-size: 15px; color: var(--cinza); margin-top: 6px; max-width: 46ch; }
.proc__cta { margin-top: 30px; }
.filme { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--preto); color: #fff; }
.filme img, .filme video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transition: transform 1.4s var(--ease); }
.filme:hover img { transform: scale(1.05); }
.filme__tag { position: absolute; left: 18px; top: 16px; }
.filme__play { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; background: var(--laranja); display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease); }
.filme:hover .filme__play { transform: scale(1.1); }

/* ---------- 08 Onde estamos ---------- */
.mapa { overflow: hidden; }
.mapa__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mapa__svg .rota { stroke-dasharray: 2 9; }
.mapa__svg .topo path { stroke-dasharray: 2400; stroke-dashoffset: 2400; transition: stroke-dashoffset 3s var(--ease); }
.mapa.visto .topo path, html:not(.anima) .mapa .topo path { stroke-dashoffset: 0; }
.mapa__cxs { position: relative; display: grid; gap: 18px; margin-top: clamp(36px, 6vw, 70px); }
.cx { background: var(--branco); color: var(--preto); padding: 26px; }
.cx h3 { font-size: clamp(34px, 3.4vw, 44px); margin: 8px 0 16px; }
.cx dl { display: grid; grid-template-columns: 84px 1fr; gap: 8px 10px; font-size: 15px; }
.cx dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--cinza); padding-top: 5px; }
.cx .ex { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--laranja-txt); border: 1px dashed currentColor; padding: 1px 6px; margin-left: 4px; }
.cx .lk { margin-top: 16px; }
.cx dd a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }

/* ---------- 09 Contato ---------- */
.cta__tit { font-size: clamp(50px, 12.4vw, 200px); line-height: .9; }
.cta__tit em { color: var(--laranja); }
/* Digitação (o JS liga .digita): cada letra aparece na sua vez; o cursor fica depois da última */
.cta__tit.digita { white-space: nowrap; }
.cta__tit.digita .c { opacity: 0; }
.cta__tit.digita .c.t { opacity: 1; }
.cta__caret { display: inline-block; position: relative; width: 0; height: .72em; vertical-align: baseline; font-style: normal; }
.cta__caret i { position: absolute; left: .07em; bottom: -.05em; width: max(3px, .04em); height: .8em; background: var(--laranja); transform-origin: 50% 100%; transition: transform .45s var(--ease), opacity .3s; }
.cta__caret.fim i { animation: pisca 1.7s ease-in-out infinite; }
@keyframes pisca { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }
.cta__grid { display: grid; gap: 44px; margin-top: clamp(40px, 6vw, 80px); }
/* Celular e tablet: o formulário vem logo depois da frase; o texto e o botão "Fale conosco" ficam abaixo dele */
@media (max-width: 1023px) { .cta__grid .form { order: -1; } }
.cta__lado p { color: var(--cinza-claro); max-width: 40ch; margin-bottom: 24px; }
.form { position: relative; display: grid; gap: 26px 22px; padding: 26px 18px; }
/* Contorno tracejado, estilo "recorte": desce de cima para baixo quando o formulário entra na tela */
.form__recorte { position: absolute; inset: 0; border: 1.5px dashed var(--laranja); border-radius: 4px; opacity: .8; pointer-events: none; }
.anima .form__recorte { clip-path: inset(0 0 100% 0); transition: clip-path 3.4s cubic-bezier(.4, 0, .3, 1) .25s; }
.anima .form.visto .form__recorte { clip-path: inset(0 0 0 0); }
.campo { display: grid; gap: 8px; }
.campo label, .campo legend { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cinza-claro); }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 48px; background: transparent; border: 0; border-bottom: 1px solid rgba(244, 243, 240, .45); color: var(--branco); font: inherit; padding: 10px 0; border-radius: 0; }
.campo select option { color: var(--preto); }
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-bottom-color: var(--laranja); }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(244, 243, 240, .42); }
fieldset.campo { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; min-height: 0; padding: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(244, 243, 240, .4); border-radius: 99px; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--branco); transition: background .3s, border-color .3s; }
.chips input:checked + span { background: var(--laranja); border-color: var(--laranja); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--laranja); outline-offset: 3px; }
.form .btn { justify-self: start; }
.form__nota { font-size: 13px; color: var(--cinza-claro); }

/* Página clara usando o formulário */
.clara .campo label, .clara .campo legend { color: var(--cinza); }

/* ---------- Rodapé ---------- */
.rod { background: var(--preto); color: var(--branco); padding: 0 var(--gut) 100px; }
.rod__grid { display: grid; gap: 28px; border-top: 1px solid var(--linha-clara); padding-top: 28px; font-size: 14px; color: var(--cinza-claro); }
.rod__grid b { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--branco); margin-bottom: 10px; }
.rod__grid a { display: inline-flex; align-items: center; min-height: 44px; }
.rod__grid br + a, .rod__grid a + br { line-height: 1; }
.rod__grid a:hover { color: var(--laranja); }
.redes { display: flex; gap: 10px; }
.rod__grid a.redes__i { width: 48px; height: 48px; min-height: 0; justify-content: center; border: 1px solid var(--linha-clara); border-radius: 50%; color: var(--branco); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.rod__grid a.redes__i:hover { background: var(--laranja); border-color: var(--laranja); color: #fff; transform: translateY(-3px); }
.redes__i svg { width: 22px; height: 22px; }
.rod__fim { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; font-size: 12.5px; color: var(--cinza-claro); }
.rod__fim a { display: inline-flex; align-items: center; min-height: 44px; color: var(--branco); }
.rod__fim a:hover { color: var(--laranja); }

/* ---------- Páginas internas ---------- */
.pg-topo { background: var(--preto); color: var(--branco); padding: calc(var(--cab) + clamp(48px, 8vw, 110px)) 0 clamp(44px, 6vw, 80px); position: relative; }
.pg-topo h1 { font-size: clamp(60px, 14vw, 220px); line-height: .86; margin-top: 18px; }
.pg-topo h1 em, .pj-capa h1 em { color: var(--laranja); }
.pg-topo.moldura::before, .pg-topo.moldura::after { display: none; }
.pg-topo p { color: var(--cinza-claro); max-width: 52ch; margin-top: clamp(28px, 4vw, 48px); }

.filtros { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; justify-content: space-between; padding-block: 22px; border-bottom: 1px solid var(--linha); position: sticky; top: var(--cab); z-index: 20; background: var(--branco); }
.filtros__g { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.filtros__g::-webkit-scrollbar { display: none; }
.filtros button { flex: none; }
.filtros button { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid transparent; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.filtros button sup { color: var(--laranja-txt); margin-left: 4px; font-size: 9px; }
.filtros button:hover { border-color: var(--linha); }
.filtros button[aria-pressed="true"] { background: var(--preto); color: var(--branco); }
.filtros button[aria-pressed="true"] sup { color: var(--laranja); }
.grade { display: grid; gap: 44px 20px; padding-block: 44px 110px; }
.grade .card { width: 100%; transition: opacity .5s, transform .5s var(--ease); }
.grade .card__inf { border-top-color: var(--linha); }
.grade .card__inf .mono { color: var(--cinza); }
.grade .card p { color: var(--cinza); font-size: 15px; margin-top: 8px; max-width: 46ch; }
.indice { padding-block: 20px 110px; }
.indice a { display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; padding: 20px 0; border-bottom: 1px solid var(--linha); align-items: baseline; min-height: 64px; transition: padding .4s var(--ease), color .3s; }
.indice a h3 { font-size: clamp(28px, 5vw, 64px); line-height: 1; }
.indice a .mono { color: var(--cinza); }
.indice a .d { grid-column: 2; }
.indice a:hover { color: var(--laranja-txt); padding-left: 14px; }
[hidden] { display: none !important; }

.pj-capa { position: relative; height: 92svh; min-height: 560px; background: var(--preto); color: var(--branco); overflow: hidden; }
.pj-capa img { position: absolute; inset: 0; filter: brightness(.62); }
.pj-capa__txt { position: absolute; left: var(--gut); right: var(--gut); bottom: 40px; }
.pj-capa h1 { font-size: clamp(54px, 12vw, 190px); line-height: .88; margin-top: 14px; }
.pj-corpo { display: grid; gap: 40px; }
.pj-ficha { border-top: 1px solid var(--preto); }
.pj-ficha div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.pj-ficha dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cinza); padding-top: 3px; }
.pj-ficha dd { text-align: right; }
.pj-txt .gr { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 28px; }
.pj-txt p + p { margin-top: 16px; }
.pj-txt p:not(.gr) { color: var(--cinza); max-width: 60ch; font-size: 17px; }
.pj-txt .btn { margin-top: 30px; }
.pj-gal { display: grid; gap: 14px; margin-top: clamp(50px, 7vw, 100px); }
.pj-gal button { display: block; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.pj-gal button img { transition: transform 1.2s var(--ease); }
.pj-gal button:hover img { transform: scale(1.05); }
.pj-aviso { margin-top: 18px; color: var(--cinza); }
.pj-prox { display: block; position: relative; background: var(--preto); color: var(--branco); padding: clamp(70px, 10vw, 140px) var(--gut); overflow: hidden; }
.pj-prox img { position: absolute; inset: 0; opacity: .32; transition: opacity .6s, transform 1.4s var(--ease); }
.pj-prox:hover img { opacity: .5; transform: scale(1.04); }
.pj-prox > * { position: relative; }
.pj-prox h2 { font-size: clamp(48px, 11vw, 170px); line-height: .9; margin-top: 12px; }
.pj-prox h2 em { color: var(--laranja); }

.lightbox { position: fixed; inset: 0; z-index: 140; background: rgba(10, 10, 10, .96); display: flex; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; background: transparent; }
.lightbox button { position: absolute; color: #fff; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; font-size: 20px; }
.lightbox button:hover { background: var(--laranja); border-color: var(--laranja); }
.lightbox .x { right: 16px; top: 16px; } .lightbox .a { left: 16px; bottom: 16px; } .lightbox .s { right: 16px; bottom: 16px; }

/* =====================================================================
   A partir de 768px
   ===================================================================== */
@media (min-width: 768px) {
  :root { --cab: 78px; }
  .mgs { width: 40px; height: 46px; }
  .cab__nome { font-size: 15px; }
  .menu__info { grid-template-columns: repeat(3, 1fr); }
  .capa__coord { display: block; position: absolute; right: var(--gut); top: calc(var(--cab) + 40px); text-align: right; line-height: 2; }
  .capa__coord span { opacity: .6; }
  .capa__h1 { right: auto; top: calc(var(--cab) + 40px); max-width: none; line-height: 2; }
  .capa__info { bottom: 150px; }
  .capa__faixa button { flex: 1 1 0; }
  .mani__rod { grid-template-columns: auto 1fr; gap: 48px; }
  .hproj__topo { grid-template-columns: 1fr auto; }
  .nums { grid-template-columns: repeat(3, minmax(0, 250px)); gap: 28px; }
  .arqs { grid-template-columns: 1fr 1fr; gap: 28px; }
  .arq__f { aspect-ratio: 3 / 4; }
  .arqs__tit, .duo { grid-column: 1 / -1; }
  .serv__b { grid-template-columns: 70px 1fr 40px; padding: 15px 0; }
  .serv__p p { padding-left: 78px; } .serv__f img { margin-left: 78px; width: calc(100% - 78px); }
  .mapa__cxs { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr 1fr; padding: 36px 34px; }
  .form .larga { grid-column: 1 / -1; }
  .rod__grid { grid-template-columns: repeat(2, 1fr); }
  .grade { grid-template-columns: repeat(2, 1fr); }
  .indice a { grid-template-columns: 60px 1fr auto; }
  .indice a .d { grid-column: auto; text-align: right; }
  .pj-gal { grid-template-columns: repeat(2, 1fr); }
  .pj-gal button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .zap { right: 24px; bottom: 24px; }
}

/* =====================================================================
   A partir de 1024px
   ===================================================================== */
@media (min-width: 1024px) {
  .cab__nav { display: flex; }
  .mani .wrap { display: grid; grid-template-columns: 2fr 10fr; }
  .mani .rot { flex-direction: column; justify-content: flex-start; }
  .mani__txt { max-width: 22ch; }
  /* Projetos em rolagem horizontal presa (o JS liga a classe .pin) */
  .hproj.pin { padding-block: 0; }
  .hproj.pin .hproj__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--cab); }
  .hproj.pin .hproj__trilho { overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform; }
  .hproj.pin .card { width: clamp(300px, 28vw, 460px); }
  .hproj.pin .card:nth-child(3n+2) { width: clamp(240px, 21vw, 340px); }
  .hproj.pin .card__f { aspect-ratio: auto; height: min(47vh, 480px); }
  .hproj.pin .card:nth-child(3n+2) .card__f { height: min(35vh, 350px); }
  .hproj.pin .card:nth-child(3n) .card__f { height: min(52vh, 530px); }
  .hproj.pin .hproj__topo { margin-bottom: 24px; }
  .hproj.pin .hproj__topo .tit { font-size: clamp(54px, 6vw, 96px); }
  .arqs { grid-template-columns: 5fr 3.4fr 3.4fr; align-items: start; }
  .arqs__tit { grid-column: auto; align-self: start; position: sticky; top: calc(var(--cab) + 30px); }
  .arqs__tit .tit { font-size: clamp(44px, 5.2vw, 92px); }
  .arqs .arq:last-child { margin-top: 110px; }
  .arqs .duo { grid-column: 2 / -1; margin-top: -80px; }
  .arqs .duo .arq:last-child { margin-top: 0; }
  .numarq { display: block; }
  /* A foto abre grande na coluna vazia da direita, por cima das linhas vizinhas: os outros tópicos não saem do lugar. */
  .serv { position: relative; }
  .serv li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36%); column-gap: 48px; }
  .serv__b, .serv__p { grid-column: 1; }
  .serv__p p { font-size: 17px; padding-bottom: 18px; }
  .serv__f { position: absolute; right: 0; top: 0; z-index: 2; width: 36%; max-height: none; aspect-ratio: 3 / 2; overflow: hidden; pointer-events: none; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease), opacity .25s; padding: 9px; border: 1px solid rgba(232, 85, 35, .6); background: var(--preto); }
  .serv li.on .serv__f { max-height: none; opacity: 1; clip-path: inset(0 0 0 0); }
  .serv__f img { width: 100%; max-width: none; height: 100%; margin: 0; padding: 0; border: 0; aspect-ratio: auto; }
  .serv li.on .mais { transform: none; }   /* em telas largas a foto fica à direita: a seta aponta para ela */
  .proc { grid-template-columns: 5fr 6fr; gap: 70px; align-items: start; }
  .proc__dir { position: sticky; top: calc(var(--cab) + 24px); }
  .filme { aspect-ratio: 16 / 14; max-height: calc(100vh - var(--cab) - 48px); width: 100%; }
  .mapa__cxs { grid-template-columns: 380px 380px; justify-content: space-between; align-items: end; min-height: 380px; }
  .mapa__cxs .cx:last-child { align-self: start; }
  .cta__grid { grid-template-columns: 4fr 7fr; gap: 80px; }
  .rod__grid { grid-template-columns: repeat(4, 1fr); }
  .grade { grid-template-columns: repeat(12, 1fr); gap: 80px 24px; }
  .grade .card { grid-column: span 6; }
  .grade .card:nth-child(4n+1) { grid-column: 1 / span 7; }
  .grade .card:nth-child(4n+2) { grid-column: 9 / span 4; margin-top: 120px; }
  .grade .card:nth-child(4n+3) { grid-column: 2 / span 4; }
  .grade .card:nth-child(4n+4) { grid-column: 7 / span 6; margin-top: -60px; }
  .grade .card__f { aspect-ratio: 4 / 3; }
  .grade .card:nth-child(4n+2) .card__f, .grade .card:nth-child(4n+3) .card__f { aspect-ratio: 4 / 5; }
  .pj-corpo { grid-template-columns: 4fr 7fr; gap: 80px; }
  .pj-ficha { position: sticky; top: calc(var(--cab) + 24px); align-self: start; }
  .capa__setas { display: flex; gap: 8px; position: absolute; right: var(--gut); bottom: 150px; }
  .capa__setas button { width: 52px; height: 52px; border: 1px solid rgba(244, 243, 240, .5); border-radius: 50%; font-size: 18px; transition: background .3s, border-color .3s; }
  .capa__setas button:hover { background: var(--laranja); border-color: var(--laranja); }
}

/* Celular e tablet (página inicial): nomes sobre a foto. Alana no alto à direita, Pemón embaixo à esquerda. */
@media (max-width: 1279px) {
  .duo:not(.duo--bio) .duo__img { width: 100%; max-width: 460px; }
  .duo:not(.duo--bio) .duo__img img { width: 100%; height: auto; }
  .duo:not(.duo--bio) .duo__tag { display: block; position: absolute; line-height: 1.2; }
  .duo__tag b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 5.6vw, 30px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
  .duo__tag .mono { display: block; color: var(--cinza); margin-top: 7px; font-size: 10px; max-width: 150px; }
  .duo:not(.duo--bio) .duo__f { padding-top: 40px; }   /* folga para o nome da Alana ficar acima da cabeça */
  .duo__tag--1 { left: 0; top: 77%; }       /* Pemón: logo abaixo do bico do tênis apoiado na parede */
  .duo__tag--2 { right: 0; top: -36px; }    /* Alana */
  .duo:not(.duo--bio) .duo__n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Nomes sobre a foto dos arquitetos (só na página inicial e em telas largas) */
@media (min-width: 1280px) {
  .duo:not(.duo--bio) .duo__f { justify-content: flex-start; padding-left: 15%; }
  .duo:not(.duo--bio) .duo__tag { display: block; position: absolute; line-height: 1.2; white-space: nowrap; }
  .duo__tag::before { content: ""; display: block; width: 44px; height: 2px; background: var(--laranja); margin-bottom: 12px; }
  .duo__tag b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.5vw, 40px); line-height: 1; letter-spacing: -.02em; }
  .duo__tag .mono { display: block; color: var(--cinza); margin-top: 8px; white-space: normal; max-width: 190px; }
  .duo__tag--1 { right: 85%; top: 43%; text-align: right; }                 /* Pemón: atrás das costas */
  .duo__tag--1::before, .duo__tag--1 .mono { margin-left: auto; }
  .duo__tag--2 { left: 86%; top: 13%; }                                     /* Alana: acima do ombro direito */
  .duo:not(.duo--bio) .duo__n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (min-width: 1440px) {
  .tit { font-size: 124px; }
  .capa__tit { font-size: 200px; }
  .capa__tit.longo { font-size: 140px; }
}

/* =====================================================================
   Menos movimento
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .capa__slide.on img { animation: none; }
  #rastro { display: none !important; }
  .cab > .cab__logo .tr, .cab > .cab__logo .br { animation: none !important; }
}
