/* Mirante das Palmeiras — página de pré-lançamento (captação de cadastros).
   Usa as cores, tipografia, botões e campos de style.css. */

.lancamento { padding-bottom: 0; background: var(--verde); }

.pre {
  position: relative; min-height: 100vh; min-height: 100svh; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; color: var(--creme);
}
.pre__fundo, .pre__fundo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pre__fundo { z-index: -2; }
.pre__fundo img { object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: hero-zoom 16s var(--ease) forwards; }
.pre__veu {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 26, 25, .86) 0%, rgba(3, 26, 25, .55) 48%, rgba(3, 26, 25, .25) 100%),
    linear-gradient(0deg, rgba(3, 26, 25, .7) 0%, rgba(3, 26, 25, 0) 40%);
}

.pre__interno {
  flex: 1; width: 100%; max-width: calc(var(--largura) + var(--gutter) * 2); margin: 0 auto;
  padding: clamp(32px, 6vh, 64px) var(--gutter) 32px;
  display: grid; grid-template-columns: 1.1fr minmax(360px, 460px); gap: clamp(32px, 6vw, 96px); align-items: center;
}

.pre__marca { width: clamp(110px, 12vw, 150px); height: auto; margin-bottom: clamp(28px, 6vh, 56px); }
.pre__titulo {
  font-family: var(--serif); font-weight: 300; font-size: clamp(40px, min(5.6vw, 9vh), 84px); line-height: 1.02;
  letter-spacing: -.025em; margin-top: 24px; max-width: 13ch; text-wrap: balance;
}
.pre__titulo em { display: block; font-style: italic; color: var(--ouro); }
.pre__sub { margin-top: 24px; max-width: 46ch; font-size: clamp(16.5px, 1.4vw, 19px); color: rgba(243, 239, 230, .88); }
.pre__pontos { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: rgba(243, 239, 230, .92); }
.pre__pontos li { display: flex; align-items: center; gap: 10px; }
.pre__pontos li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ouro); flex: none; }

.pre__cartao {
  background: var(--off); color: var(--grafite); border-radius: var(--raio-g);
  padding: clamp(24px, 3vw, 40px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .65);
  animation: entrada .9s var(--ease) .15s both;
}
.pre__form-titulo { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; color: var(--verde); }
.pre__form-sub { margin-top: 10px; font-size: 15px; color: var(--grafite-suave); }
.pre__form { margin-top: 24px; }
.pre__form .campo { margin-bottom: 14px; }
.pre__form .campo input[type="text"], .pre__form .campo input[type="tel"], .pre__form .campo input[type="email"] { min-height: 50px; }
.pre__form .opcoes span { min-height: 46px; font-size: 14px; }
.pre__erro-geral { margin-top: 14px; padding: 12px 14px; border-radius: var(--raio); background: rgba(166, 70, 60, .08); border: 1px solid rgba(166, 70, 60, .35); color: var(--vend); font-size: 14px; }
.pre__erro-geral a { color: var(--vend); }

.pre__ok { text-align: center; padding: 20px 0 8px; }
.pre__ok:focus { outline: none; }
.pre__ok-ico { width: 56px; height: 56px; margin: 0 auto 18px; padding: 12px; border-radius: 50%; color: var(--disp); background: rgba(47, 143, 91, .12); }
.pre__ok .pre__form-sub { max-width: 34ch; margin-left: auto; margin-right: auto; }

.pre__rodape {
  width: 100%; max-width: calc(var(--largura) + var(--gutter) * 2); margin: 0 auto; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  font-size: 13px; color: rgba(243, 239, 230, .65); border-top: 1px solid var(--linha-clara);
}
.pre__rodape strong { color: var(--creme); font-weight: 500; }
.pre__rodape a { color: rgba(243, 239, 230, .85); }

@media (max-width: 900px) {
  .pre__interno { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  .pre__veu { background: linear-gradient(180deg, rgba(3, 26, 25, .55) 0%, rgba(3, 26, 25, .78) 40%, rgba(3, 26, 25, .94) 100%); }
  .pre__fundo img { object-position: 50% 30%; }
  .pre__marca { width: 96px; margin-bottom: 26px; }
  .pre__pontos { gap: 8px 20px; font-size: 14px; }
  .pre__rodape { flex-direction: column; }
}
@media (max-width: 420px) {
  .pre__form .opcoes { grid-template-columns: 1fr 1fr; }
  .pre__form .opcoes span { font-size: 13.5px; padding: 8px 10px; }
}

/* acesso ao painel: cadeado discreto no rodapé */
.pre__rodape p:last-child { display: inline-flex; align-items: center; gap: 12px; }
.pre__cadeado {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: rgba(243, 239, 230, .55); border: 1px solid rgba(243, 239, 230, .2);
  transition: color .3s, border-color .3s, background .3s;
}
.pre__cadeado svg { width: 15px; height: 15px; }
.pre__cadeado:hover, .pre__cadeado:focus-visible { color: var(--ouro); border-color: var(--ouro); background: rgba(197, 164, 106, .1); }
