/* ============================================================
   ANTONIO COUCEIRO — ARQUITETURA
   Identidade: Manual de Marca 2026 (DEBLIAN)
   Paleta: Grafite Ardósia, Preto Absoluto, Musgo Profundo,
           Linho Cru, Fendi · Tipografia: Athena / Libre Franklin
   ============================================================ */

@font-face {
  font-family: 'Athena';
  src: url('../assets/fonts/AthenaLight.ttf') format('truetype');
  font-weight: 300 400;
  font-display: swap;
}

:root {
  --preto:   #000000;
  --grafite: #1A1A1D;
  --musgo:   #2D3027;
  --linho:   #B3A791;
  --fendi:   #8B8272;
  --papel:   #EFEBE2;   /* tom médio de branco, conforme manual */
  --papel-2: #E6E0D2;
  --tinta:   #1A1A1D;
  --claro:   #F5F2EA;
  --serif: 'Athena', 'Italiana', serif;
  --sans: 'Libre Franklin', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.72, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 0, 0.2, 1);
  --ease-vaer: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--linho); color: var(--grafite); }

img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* textura de linho sutil */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2000;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.48 0 0 0 0 0.42 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tela de boas-vindas / preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  background: #0e0e10;
  overflow: hidden;
  transition: clip-path 1.1s var(--ease);
  clip-path: inset(0 0 0 0);
}
#preloader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
#preloader .pre-bg {
  position: absolute; inset: -5%;
  background: url('../assets/img/capa/painel-antonio-blur.jpg') center/cover no-repeat;
  filter: blur(15px) brightness(0.68);
  transform: scale(1.1);
  animation: preZoom 3.6s var(--ease-vaer) both;
}
@keyframes preZoom { from { transform: scale(1.18); } to { transform: scale(1.1); } }
#preloader .pre-veu {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,16,0.42), rgba(14,14,16,0.62));
}
#preloader .pre-conteudo {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  text-align: center;
}
/* monograma AC + logotipo formam um bloco só; a linha vem depois */
#preloader .pre-icone {
  width: clamp(50px, 5.4vw, 78px);
  margin-bottom: -8px;
  opacity: 0; animation: preFade 1.1s var(--ease-soft) 0.1s both;
}
#preloader .pre-logo {
  width: clamp(180px, 22vw, 300px);
  opacity: 0; animation: preFade 1.2s var(--ease-soft) 0.45s both;
}
#preloader .pre-linha {
  width: 0; height: 1px; background: rgba(179, 167, 145, 0.9);
  animation: preLinha 1.3s var(--ease) 0.9s both;
}
#preloader .pre-dica {
  color: rgba(245, 242, 234, 0.72);
  font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase;
  opacity: 0; animation: preFade 1.2s var(--ease-soft) 0.8s both;
}
@keyframes preFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes preLinha { from { width: 0; } to { width: 180px; } }

/* ---------- Capa fixa (foto do painel permanece no header) ---------- */
#capa {
  position: relative;
  height: 100vh;
  background: #0e0e10;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
#capa::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../assets/img/capa/painel-antonio.jpg') center center / cover no-repeat fixed;
}
#capa .capa-veu {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,16,0.55) 0%, rgba(14,14,16,0.26) 36%, rgba(14,14,16,0.74) 100%);
}
/* logotipo centrado, levemente acima do centro óptico */
#capa .capa-miolo {
  position: relative; z-index: 1;
  margin-bottom: 8vh;
  text-align: center; padding: 0 24px;
  animation: fadeUpPv 1.1s var(--ease-vaer) 0.2s both; --fo: 1;
}
#capa .capa-logo { width: clamp(240px, 34vw, 520px); margin: 0 auto; }
#capa .capa-rolar {
  position: absolute; left: 50%; bottom: 5vh; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--claro);
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.82;
}
#capa .capa-rolar i { font-style: normal; font-size: 15px; }
@media (max-width: 760px) {
  #capa::before { background-attachment: scroll; }
}

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 48px);
  mix-blend-mode: difference;
  transition: padding 0.5s var(--ease);
}
header.compacto { padding: 14px clamp(20px, 4vw, 48px); }
header .h-logo img { width: clamp(150px, 16vw, 210px); content: url('../assets/logo/logo-claro.png'); }
header nav { display: flex; gap: clamp(18px, 3vw, 40px); }
header nav a {
  color: #fff;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
header nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
header nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 720px) { header nav { display: none; } }

/* ============================================================
   GALERIA HORIZONTAL (home)
   Cards com respiro; título sempre visível abaixo da imagem.
   ============================================================ */
#galeria { position: relative; }
.gal-fixo {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  background: var(--papel);
}
.gal-track {
  position: absolute; left: 0; top: 0; height: 100%;
  display: flex; align-items: stretch;
  will-change: transform;
}

/* painel de abertura */
.gal-hero {
  position: relative;
  width: 42vw; min-width: 460px; height: 100%;
  flex: 0 0 auto;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 4vw;
}
.gal-hero .gh-tag {
  font-size: 11px; line-height: 1.7; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.7; font-weight: 300;
  margin-bottom: 4.5vh;
}
.gal-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gal-hero h1 .lt { display: inline-block; }
.gal-hero h1 .sp { display: inline-block; width: 0.3em; }
@keyframes ripA { 0% { transform: translateY(0); } 38% { transform: translateY(-0.16em); } 100% { transform: translateY(0); } }
body:not(.pronto) .gal-hero h1 .lt { animation-play-state: paused !important; }
.gal-hero .gh-sub {
  margin-top: 3vh;
  font-size: 12px; letter-spacing: 0.06em; opacity: 0.6;
}
.gal-hero .gh-btn { margin-top: 4.5vh; align-self: flex-start; }
.gal-hero .gh-dica {
  position: absolute; left: 4vw; bottom: 4.5vh;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.5; display: flex; align-items: center; gap: 10px;
}
.gal-hero .gh-dica span { font-size: 14px; }

/* colunas de projeto — tela cheia, imagens de ponta a ponta */
.gal-col {
  position: relative;
  width: 24vw; min-width: 280px; height: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  display: block;
  background: var(--papel-2);
}
.gal-col .gc-fig {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease);
}
.gal-col.on .gc-fig { clip-path: inset(0 0 0 0); }
.gal-col .gc-fig img {
  width: 112%; height: 100%; object-fit: cover;
  will-change: transform;
  transition: filter 0.6s;
}
.gal-col:hover .gc-fig img { filter: brightness(1.05); }
.gal-col::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(26,26,29,0.55), rgba(26,26,29,0.04) 44%);
  opacity: 0;
  transition: opacity 1.1s var(--ease-soft);
  pointer-events: none;
}
.gal-col.on::after { opacity: 1; }
.gal-col .gc-rotulo {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  color: var(--claro);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 12.5px; font-weight: 400; line-height: 1.5;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s var(--ease-soft) 0.45s, transform 0.7s var(--ease-soft) 0.45s;
}
.gal-col.on .gc-rotulo { opacity: 1; transform: none; }
.gal-col .gc-rotulo small {
  display: block; font-size: 9.5px; letter-spacing: 0.2em;
  opacity: 0.7; margin-top: 5px; font-weight: 300;
}
.gal-col .gc-num {
  position: absolute; right: 20px; top: 20px; z-index: 2;
  color: var(--claro);
  font-size: 10px; letter-spacing: 0.24em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  opacity: 0; transition: opacity 0.7s var(--ease-soft) 0.55s;
}
.gal-col.on .gc-num { opacity: 0.8; }

/* progresso */
.gal-progresso {
  position: absolute; right: 3vw; bottom: 4.5vh; z-index: 20;
  width: 160px; height: 2px;
  background: rgba(26, 26, 29, 0.16);
}
.gal-progresso-fill {
  width: 100%; height: 100%;
  background: var(--grafite);
  transform: scaleX(0); transform-origin: left center;
}

@media (max-width: 760px) {
  .gal-hero { width: 86vw; min-width: 0; padding: 0 26px; }
  .gal-hero .gh-dica { left: 26px; }
  .gal-col { width: 74vw; min-width: 0; }
  /* o contador desce para o rodapé do card: no topo ele cruzava o
     logotipo do header, e aqui ainda ganha o véu escuro do gradiente */
  .gal-col .gc-num { top: auto; bottom: 22px; right: 22px; }
  /* fio de progresso rente à base — deixa de atravessar o rótulo */
  .gal-progresso { left: 0; right: 0; bottom: 0; width: auto; }
}

/* ---------- Botões ---------- */
.btn-contorno {
  pointer-events: auto;
  background: transparent;
  border: 1px solid currentColor; color: inherit;
  border-radius: 999px; padding: 11px 26px;
  font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 400;
  transition: background 0.4s, color 0.4s, transform 0.3s;
}
.btn-contorno:hover { background: var(--grafite); color: var(--claro); border-color: var(--grafite); transform: translateY(-1px); }

/* ---------- Seções genéricas ---------- */
section { position: relative; }
.miolo { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.sec-etiqueta {
  display: flex; align-items: center; gap: 14px;
  font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase;
  font-weight: 400; opacity: 0.6;
}
.sec-etiqueta::before { content: ''; width: 46px; height: 1px; background: currentColor; }

/* reveals */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.rv-img.in { clip-path: inset(0 0 0 0); }

/* ---------- Manifesto ---------- */
#manifesto { padding: clamp(90px, 12vw, 170px) 0; background: var(--papel); }
#manifesto .mf-grande {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.22; letter-spacing: 0.015em;
  max-width: 21ch;
  margin: 36px 0 0;
}
#manifesto .mf-grande em { font-style: normal; color: var(--fendi); }
#manifesto .mf-par {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: clamp(48px, 6vw, 90px);
}
#manifesto .mf-par > div:first-child { max-width: 300px; }
#manifesto .mf-par p {
  font-size: 14.5px; line-height: 1.9; max-width: 46ch;
  color: rgba(26,26,29,0.78);
}
#manifesto .mf-par p + p { margin-top: 1.2em; }
@media (max-width: 760px) { #manifesto .mf-par { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Contato — composição tipográfica ----------
   Sem moldura, sem botões e sem fios: a hierarquia vem só da
   tipografia e do espaço. */
#contato {
  background: var(--grafite); color: var(--claro);
  padding: clamp(76px, 8.5vw, 124px) 0 0;
}
#contato .sec-etiqueta { opacity: 0.5; }

#contato .ct-frase {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.12; letter-spacing: 0.02em;
  margin: clamp(22px, 2.4vw, 34px) 0 0;
}
#contato .ct-frase em { font-style: normal; color: var(--linho); }

/* canais: rótulo miúdo à esquerda, valor em serifa à direita */
#contato .ct-canais {
  margin-top: clamp(38px, 4.6vw, 66px);
  max-width: 880px;
}
#contato .ct-canal {
  display: grid;
  grid-template-columns: clamp(112px, 13vw, 186px) 1fr;
  align-items: baseline; gap: 16px;
  padding: clamp(11px, 1.4vw, 17px) 0;
}
/* cor com alfa em vez de opacity: deixa o ícone mais forte que o rótulo */
#contato .cc-rotulo {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245, 242, 234, 0.4);
}
#contato .cc-icone {
  width: 13px; height: 13px;
  fill: rgba(245, 242, 234, 0.78);
  display: inline-block; vertical-align: -2px;
  margin-right: 8px;
  transition: fill 0.4s var(--ease-soft);
}
#contato .ct-canal:hover .cc-icone:not(.cc-icone--traco) { fill: var(--linho); }
#contato .cc-icone--traco {
  fill: none;
  stroke: rgba(245, 242, 234, 0.78);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: none;
}
#contato .cc-valor {
  justify-self: start;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 32px);
  letter-spacing: 0.04em; line-height: 1.3;
  padding-bottom: 7px;
}
#contato .cc-valor::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--linho);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.6s var(--ease);
}
#contato .ct-canal:hover .cc-valor::after,
#contato .ct-canal:focus-visible .cc-valor::after { transform: scaleX(1); transform-origin: left; }

#contato .ct-rodape {
  margin-top: clamp(52px, 6vw, 86px);
  padding: 0 clamp(20px, 4vw, 48px) 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
#contato .ct-rodape img { width: 150px; opacity: 0.55; }
#contato .ct-fim {
  display: flex; flex-direction: column; align-items: flex-end; gap: 9px;
  text-align: right;
}
#contato .ct-copy { font-size: 10px; letter-spacing: 0.14em; opacity: 0.3; }
#contato .ct-credito {
  font-size: 10px; letter-spacing: 0.14em;
  opacity: 0.34;
  transition: opacity 0.4s var(--ease-soft), color 0.4s var(--ease-soft);
}
#contato .ct-credito:hover { opacity: 0.95; color: var(--linho); }
#contato .ct-credito i { font-style: normal; letter-spacing: 0; font-size: 11px; }

@media (max-width: 760px) {
  #contato .ct-canal { grid-template-columns: 1fr; gap: 8px; padding: 15px 0; }
  #contato .cc-valor { font-size: 17px; }
  #contato .ct-fim { align-items: flex-start; text-align: left; }
}

/* ============================================================
   PÁGINA DE PROJETO — galeria horizontal estilo collage
   ============================================================ */
body.pg-projeto { overflow: hidden; background: var(--papel); }
body.pg-projeto::before { z-index: 2400; }

#pv-root {
  position: fixed; inset: 0;
  overflow: hidden;
  background: var(--papel);
}
#pv-track {
  position: absolute; left: 0; top: 0; height: 100vh;
  will-change: transform;
}

/* capítulo 1 — imagem no lugar do logo */
.pv-hero {
  position: absolute; left: 0; top: 0;
  width: 100vw; height: 100vh;
}
.pv-hero .ph-fig {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 58vw; height: 72vh;
  overflow: hidden;
  cursor: pointer;
  animation: pvHero 1.4s var(--ease-vaer) 0.15s both;
}
@keyframes pvHero { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.pv-hero .ph-fig img {
  width: 100%; height: 100%; object-fit: cover;
  animation: pvHeroImg 1.8s var(--ease-vaer) 0.15s both;
}
@keyframes pvHeroImg { from { transform: scale(1.12); } to { transform: scale(1); } }
.pv-hero .ph-nome {
  position: absolute; left: 50%; bottom: 6.5vh;
  transform: translateX(-50%);
  font-size: 11px; font-weight: 400; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--tinta);
  text-align: center; line-height: 2;
  animation: fadeUpPv 1s var(--ease-vaer) 0.9s both;
}
.pv-hero .ph-canto-a, .pv-hero .ph-canto-b {
  position: absolute; bottom: 7vh;
  font-size: 10px; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase;
  --fo: 0.45;
  animation: fadeUpPv 1s var(--ease-vaer) 1.05s both;
}
.pv-hero .ph-canto-a { left: 3vw; }
.pv-hero .ph-canto-b { right: 3vw; }
@keyframes fadeUpPv { from { opacity: 0; transform: translateY(18px); } to { opacity: var(--fo, 0.75); transform: none; } }
.pv-hero .ph-nome { --fo: 0.75; }

/* tiles do collage */
.pv-tile {
  position: absolute;
  overflow: hidden;
  background: var(--papel-2);
  will-change: transform;
  cursor: pointer;
}
.pv-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease-vaer);
}
.pv-tile:hover img { transform: scale(1.06); }

/* interlúdio tipográfico */
.pv-tipo {
  position: absolute; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  gap: 1vh;
  pointer-events: none;
  will-change: transform;
}
.pv-tipo .pt-grande {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 8.4vw; line-height: 0.98;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--tinta);
}
.pv-tipo .pt-mini {
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  opacity: 0.5; margin-top: 1.4vh;
}

/* rótulo de ambiente (Área Externa / Social / Íntimo) */
.pv-secao {
  position: absolute; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.4vh;
  pointer-events: none;
  will-change: transform;
}
.pv-secao .ps-num {
  font-family: var(--serif);
  font-size: clamp(13px, 1.1vw, 18px); letter-spacing: 0.34em; opacity: 0.45;
}
.pv-secao .ps-rotulo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 5vw; line-height: 1; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--tinta);
  margin-top: 1.8vh; padding-top: 1.8vh;
  border-top: 1px solid rgba(26, 26, 29, 0.22);
}
.pv-secao .ps-mini {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  opacity: 0.5; margin-top: 1.4vh;
}

/* encerramento — todos os projetos */
.pv-todos {
  position: absolute; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  gap: 4.5vh;
}
.pv-todos .pt-cab {
  display: flex; align-items: baseline; gap: 26px;
}
.pv-todos .pt-titulo {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 42px);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pv-todos .pt-voltar {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  opacity: 0.55; transition: opacity 0.3s;
}
.pv-todos .pt-voltar:hover { opacity: 1; }
.pv-todos .pt-fila { display: flex; gap: 1.6vw; }
.pv-todos .pt-card {
  width: 13vw; min-width: 150px;
  flex: 0 0 auto;
  display: block;
}
.pv-todos .pt-card .ptc-fig {
  height: 34vh; overflow: hidden;
  background: var(--papel-2);
  position: relative;
}
.pv-todos .pt-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-vaer);
}
.pv-todos .pt-card:hover img { transform: scale(1.06); }
.pv-todos .pt-card.atual .ptc-fig::after {
  content: 'Você está aqui';
  position: absolute; left: 10px; bottom: 10px;
  font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--claro);
  background: rgba(26, 26, 29, 0.6);
  padding: 6px 10px;
}
.pv-todos .pt-card.atual .ptc-fig { outline: 1px solid var(--linho); outline-offset: 4px; }
.pv-todos .ptc-nome {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.15vw, 19px);
  letter-spacing: 0.05em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pv-todos .ptc-tipo {
  margin-top: 3px;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.5;
}

/* chrome fixo */
.pv-chrome-dica {
  position: fixed; left: 3vw; bottom: 4.5vh; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tinta); opacity: 0.55;
  pointer-events: none;
}
.pv-chrome-dica span { font-size: 13px; }
.pv-progresso {
  position: fixed; right: 3vw; bottom: 4.8vh; z-index: 30;
  width: 160px; height: 2px;
  background: rgba(26,26,29,0.16);
  pointer-events: none;
}
.pv-progresso-fill {
  width: 100%; height: 100%;
  background: var(--grafite);
  transform: scaleX(0); transform-origin: left center;
}

/* ---------- Lightbox (expandir imagem) ---------- */
#pv-lb {
  position: fixed; inset: 0; z-index: 2800;
  background: rgba(12, 12, 13, 0.96);
  color: var(--claro);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-soft), visibility 0.5s;
}
#pv-lb.on { opacity: 1; visibility: visible; }
#pv-lb .lb-topo {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
}
#pv-lb .lb-titulo { font-family: var(--serif); font-size: clamp(17px, 1.8vw, 24px); letter-spacing: 0.08em; }
#pv-lb .lb-conta { font-size: 10.5px; letter-spacing: 0.24em; opacity: 0.55; margin-top: 3px; }
#pv-lb .lb-fechar {
  background: none; border: 1px solid rgba(245,242,234,0.35); color: var(--claro);
  border-radius: 999px; width: 44px; height: 44px; font-size: 16px;
  transition: background 0.3s, color 0.3s;
}
#pv-lb .lb-fechar:hover { background: var(--claro); color: var(--grafite); }
#pv-lb .lb-palco {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(60px, 8vw, 120px); min-height: 0;
}
#pv-lb .lb-palco img {
  max-width: 100%; max-height: calc(100vh - 170px);
  object-fit: contain;
  animation: lbFade 0.45s var(--ease-soft) both;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
@keyframes lbFade { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
#pv-lb .lb-seta {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(245,242,234,0.3); color: var(--claro);
  border-radius: 999px; width: 50px; height: 50px; font-size: 17px;
  transition: background 0.3s, color 0.3s;
}
#pv-lb .lb-seta:hover { background: var(--claro); color: var(--grafite); }
#pv-lb .lb-ant { left: clamp(14px, 2vw, 30px); }
#pv-lb .lb-prox { right: clamp(14px, 2vw, 30px); }
#pv-lb .lb-legenda {
  text-align: center; padding: 14px 20px 22px;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.4;
}
@media (max-width: 760px) {
  #pv-lb .lb-palco { padding: 0 14px; }
  #pv-lb .lb-seta { width: 40px; height: 40px; }
  #pv-lb .lb-palco img { max-height: calc(100vh - 150px); }
}

/* mobile: rolagem vertical nativa */
@media (max-width: 760px) {
  body.pg-projeto { overflow: auto; }
  #pv-root { position: static; overflow: visible; }
  #pv-track { position: static; height: auto; width: auto !important; transform: none !important; }
  /* hero: os três blocos ancorados (nome ao centro, cantos à esquerda
     e à direita) se sobrepunham em tela estreita. Viram uma grade —
     imagem, nome e, embaixo, os dois rótulos dividindo a mesma linha. */
  .pv-hero {
    position: relative; width: 100%; height: auto;
    display: grid; grid-template-columns: 1fr auto;
    justify-items: center; row-gap: 3vh; column-gap: 18px;
    padding: 13vh 26px 7vh;
  }
  .pv-hero .ph-fig {
    position: relative; left: auto; top: auto; transform: none;
    grid-column: 1 / -1; justify-self: stretch;
    width: 100%; height: 62vh;
  }
  .pv-hero .ph-nome {
    position: relative; left: auto; bottom: auto; transform: none;
    grid-column: 1 / -1;
  }
  .pv-hero .ph-canto-a,
  .pv-hero .ph-canto-b { position: relative; left: auto; right: auto; bottom: auto; }
  .pv-hero .ph-canto-a { grid-column: 1; justify-self: start; }
  .pv-hero .ph-canto-b { grid-column: 2; justify-self: end; text-align: right; }
  .pv-tile {
    position: relative; left: auto !important; top: auto !important;
    width: 92vw !important; height: auto !important;
    margin: 4vw auto; transform: none !important;
  }
  .pv-tile img { aspect-ratio: 4 / 5; }
  .pv-tile[data-land="1"] img { aspect-ratio: 4 / 3; }
  .pv-tipo {
    position: relative; left: auto !important; width: auto !important;
    height: auto; padding: 10vh 26px;
    transform: none !important;
  }
  .pv-tipo .pt-grande { font-size: 13vw; }
  .pv-secao {
    position: relative; left: auto !important; width: auto !important;
    height: auto; padding: 9vh 26px 2vh;
    transform: none !important;
  }
  .pv-secao .ps-rotulo { font-size: 11vw; }
  .pv-todos {
    position: relative; left: auto !important; width: auto !important;
    height: auto; padding: 12vh 26px 14vh;
  }
  .pv-todos .pt-fila { flex-direction: column; gap: 34px; }
  .pv-todos .pt-card { width: 100%; }
  .pv-todos .pt-card .ptc-fig { height: 52vw; }
  .pv-chrome-dica, .pv-progresso { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
