/* VÉRTICE: ajustes por cima do modelo (cores de arquitetura: champanhe e marfim) */
:root {
  --fogo: #c9a26b;
  --ouro: #f0dcae;
  --texto: #f4efe7;
  --texto-suave: #aaa299;
  --borda: rgba(240, 220, 174, 0.14);
  --fundo-2: #0b0b0d;
}

#cinema { height: 760vh; }
.trio { transform: translateX(-50%); }
.botao { color: #17120a; }
.metade { background: linear-gradient(180deg, #fff6e2 10%, var(--ouro) 45%, #8a6a3c 95%); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 40px rgba(201,162,107,0.45)); }
.logo-carregando { background: linear-gradient(0deg, var(--fogo), var(--ouro)); -webkit-background-clip: text; background-clip: text; }
.titulo-fogo { background: linear-gradient(0deg, var(--fogo), #fff 70%); -webkit-background-clip: text; background-clip: text; }

/* selo no céu, entre o título e o prédio */
.selo-preco { left: 6%; top: 64%; }
.selo-valor { font-size: 26cqw; }

/* Régua de altura que cresce com a obra */
.regua { position: absolute; left: clamp(18px, 5vw, 80px); width: 14px; border-left: 1px solid var(--fogo);
  transition: top 0.25s linear, height 0.25s linear; }
.regua::before, .regua::after { content: ""; position: absolute; left: -6px; width: 12px; height: 1px; background: var(--fogo); }
.regua::before { top: 0; } .regua::after { bottom: 0; }
.regua { background: repeating-linear-gradient(to top, transparent 0 23px, rgba(201,162,107,0.5) 23px 24px) left / 6px 100% no-repeat; }
.regua-valor { position: absolute; left: 16px; top: -6px; white-space: nowrap; font-family: var(--fonte-titulo); font-size: 1.9rem; line-height: 1; color: var(--ouro); }
.regua-valor small { display: block; font-family: var(--fonte-texto); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 4px; }
.regua-valor b { font-weight: 400; }

/* Planta com cômodos e cotas */
.planta-resumo { margin-top: 0.4em; color: var(--ouro) !important; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; }
.planta { position: relative; max-width: 1100px; margin: 0 auto; }
.planta img { width: 100%; border-radius: 12px; }
.cota { position: absolute; border-color: var(--fogo); opacity: 0; transition: opacity 1s 0.6s; }
.visivel .cota { opacity: 1; }
.cota span { position: absolute; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--ouro); background: var(--fundo); padding: 2px 8px; white-space: nowrap; }
.cota-h { left: 18%; right: 13%; top: 1.5%; border-top: 1px solid var(--fogo); }
.cota-h::before, .cota-h::after { content: ""; position: absolute; top: -6px; height: 11px; width: 1px; background: var(--fogo); }
.cota-h::before { left: 0; } .cota-h::after { right: 0; }
.cota-h span { left: 50%; top: -11px; transform: translateX(-50%); }
.cota-v { top: 6%; bottom: 6%; left: 14.5%; border-left: 1px solid var(--fogo); }
.cota-v::before, .cota-v::after { content: ""; position: absolute; left: -6px; width: 11px; height: 1px; background: var(--fogo); }
.cota-v::before { top: 0; } .cota-v::after { bottom: 0; }
.cota-v span { top: 50%; left: -10px; transform: translate(-100%, -50%); }
.pino { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(0.85); opacity: 0;
  display: grid; text-align: center; padding: 8px 14px; border-radius: 12px; pointer-events: none;
  background: rgba(1,1,1,0.78); border: 1px solid rgba(201,162,107,0.55); backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.8);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(.2,.9,.25,1); transition-delay: calc(0.4s + var(--i) * 0.18s); }
.pino::before { content: ""; position: absolute; left: 50%; top: -9px; width: 8px; height: 8px; border-radius: 50%; transform: translateX(-50%);
  background: var(--fogo); box-shadow: 0 0 0 4px rgba(201,162,107,0.25); }
.pino b { font-size: 0.86rem; font-weight: 600; color: var(--texto); white-space: nowrap; }
.pino span { font-family: var(--fonte-titulo); font-size: 1.2rem; color: var(--ouro); line-height: 1.1; }
.visivel .pino { opacity: 1; transform: translate(-50%, -50%); }

.passos-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 820px) {
  .passos-4 { grid-template-columns: 1fr 1fr; }
  .regua-valor { font-size: 1.4rem; }
  .pino { padding: 4px 8px; border-radius: 8px; }
  .pino b { font-size: 0.6rem; }
  .pino span { font-size: 0.85rem; }
  .cota span { font-size: 0.6rem; padding: 1px 4px; }
  .cota-v span { left: -4px; }
}
@media (max-width: 600px) {
  .selo-preco { left: 52%; top: 64%; }
  .passos-4 { grid-template-columns: 1fr; }
}

/* VÉRTICE tem 7 letras e acento: fonte menor e espaço em cima para o acento do É */
.palavra-fundo { font-size: clamp(5rem, 23vw, 24rem); }
.metade { padding: 0.16em 0.01em 0.06em; }

/* Celular: etiquetas todas à direita do prédio, régua estreita no canto */
.ficha.mob .rotulo { flex-direction: row; text-align: left; transform: translateX(-16px); max-width: calc(100vw - 63% - 8px); }
.ficha.mob .rotulo::before { background: linear-gradient(90deg, var(--fogo), rgba(201,162,107,0.2)); width: 12px; }
.ficha.mob.ativo .rotulo.on { transform: none; }
@media (max-width: 600px) {
  .regua { left: 8px; }
  .regua-valor { left: -2px; top: -44px; font-size: 1.15rem; }
  .regua-valor small { font-size: 0.55rem; }
}

/* Celular: textos das fases da obra sobre um degradê escuro, sempre legíveis */
@media (max-width: 820px) {
  .capitulo.fase, .capitulo.fase.ativo { left: 0; right: 0; bottom: 0; padding: 16vh 20px 9vh;
    background: linear-gradient(to top, rgba(1,1,1,0.96) 40%, rgba(1,1,1,0.65) 72%, transparent); }
}

/* Celular: só as 4 etiquetas principais, para não se sobreporem */
.ficha.mob .rotulo.so-pc { display: none; }

/* Carimbo "ENTREGA REALIZADA": bate quando a obra termina no vídeo */
.carimbo {
  position: absolute; left: 5%; top: 58%; z-index: 3; width: clamp(150px, 15vw, 210px); padding: 14px 16px 12px;
  display: grid; justify-items: center; text-align: center; gap: 4px;
  color: var(--ouro); border: 3px solid var(--ouro); border-radius: 10px;
  outline: 1.5px solid rgba(240,220,174,0.7); outline-offset: 4px;
  background: rgba(1,1,1,0.35);
  text-shadow: 0 0 18px rgba(201,162,107,0.35);
  opacity: 0; transform: rotate(-12deg) scale(2.6); pointer-events: none;
}
.carimbo-check { font-size: 1.6rem; line-height: 1; font-weight: 700; }
.carimbo-titulo { font-family: var(--fonte-titulo); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.04em; }
.carimbo-base { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }
.carimbo-onda { position: absolute; inset: -10px; border-radius: 16px; border: 2px solid var(--ouro); opacity: 0; }
.carimbo.bateu { animation: carimbar 0.55s cubic-bezier(.5,0,.75,0) forwards, tremer 0.25s 0.55s ease-out; }
.carimbo.bateu .carimbo-onda { animation: onda 0.7s 0.5s ease-out forwards; }
.carimbo.sumiu { opacity: 1; transform: rotate(-12deg); transition: opacity 0.5s; opacity: 0; }
@keyframes carimbar {
  0%   { opacity: 0; transform: rotate(-22deg) scale(2.6); }
  70%  { opacity: 1; transform: rotate(-12deg) scale(0.9); }
  100% { opacity: 1; transform: rotate(-12deg) scale(1); }
}
@keyframes tremer { 0%, 100% { translate: 0 0; } 25% { translate: -3px 2px; } 50% { translate: 3px -2px; } 75% { translate: -2px 1px; } }
@keyframes onda { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }
@media (max-width: 600px) {
  .carimbo { left: 50%; top: 64%; width: 132px; padding: 10px 10px 8px; }
  .carimbo-titulo { font-size: 1.15rem; }
  .carimbo-check { font-size: 1.2rem; }
  .carimbo-base { font-size: 0.52rem; }
}
