/* ==========================================================================
   LANDING — CONSTRUTORA FUTURE (T-landing, 27/10/2026)
   Usa só os tokens de css/tokens.css (nenhuma cor solta). Sem estilos inline (CSP style-src 'self').
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; font-family: var(--font-sans); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.lp-container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.lp-pular { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.lp-pular:focus { left: 8px; }

/* ---- botões ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius-full); font: inherit; font-weight: var(--font-weight-semibold); font-size: 15.5px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform var(--transition-fast), background var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal); }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:focus-visible { outline: 3px solid var(--border-focus); outline-offset: 3px; }
.lp-btn--ouro { background: var(--accent); color: var(--brand-night); }
.lp-btn--ouro:hover { background: var(--accent-light); }
.lp-btn--verde { background: var(--brand); color: var(--text-inverse); }
.lp-btn--verde:hover { background: var(--brand-oliva); }
.lp-btn--contorno { border-color: var(--border-light); color: var(--text-inverse); background: rgba(255, 255, 255, 0.04); }
.lp-btn--contorno:hover { border-color: var(--accent-light); color: var(--accent-light); }
.lp-acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---- rótulo ---- */
.lp-rotulo { display: inline-block; font-size: 13px; font-weight: var(--font-weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.lp-rotulo--claro { color: var(--accent-light); }

/* ---- topo ---- */
.lp-topo { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-height); background: transparent; transition: background var(--transition-normal), box-shadow var(--transition-normal); }
.lp-topo.is-rolado { background: var(--brand-night); box-shadow: var(--shadow-md); }
.lp-topo__linha { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lp-marca img { width: 118px; height: auto; }
.lp-nav { display: flex; align-items: center; gap: 28px; }
.lp-nav a { color: var(--text-inverse); text-decoration: none; font-size: 15px; font-weight: var(--font-weight-medium); }
.lp-nav a:not(.lp-btn):hover { color: var(--accent-light); }
.lp-nav .lp-nav__cta { min-height: 42px; padding: 0 20px; font-size: 14.5px; color: var(--brand-night); }
.lp-menu-botao { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 11px; flex-direction: column; justify-content: center; gap: 6px; }
.lp-menu-botao span { display: block; height: 2px; background: var(--text-inverse); border-radius: 2px; }
.lp-menu-botao:focus-visible { outline: 3px solid var(--border-focus); border-radius: var(--radius-sm); }

/* ---- hero ---- */
.lp-hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-height) + 40px) 0 80px; background: var(--brand-night) url('../images/mpc/fachada.jpg') center / cover no-repeat; color: var(--text-inverse); }
.lp-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 29, 20, 0.94) 8%, rgba(14, 29, 20, 0.72) 48%, rgba(14, 29, 20, 0.28) 100%); }
.lp-hero__conteudo { position: relative; }
.lp-hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: var(--font-weight-semibold); max-width: 12ch; }
.lp-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; color: var(--text-inverse); margin-top: 22px; }

/* ---- números ---- */
.lp-numeros { background: var(--brand); color: var(--text-inverse); border-top: 3px solid var(--accent); }
.lp-numeros__grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 28px; padding-bottom: 28px; }
.lp-numeros__grade > div { display: grid; gap: 4px; padding: 6px 22px; border-left: 1px solid var(--border-light); }
.lp-numeros__grade > div:first-child { border-left: 0; padding-left: 0; }
.lp-numeros strong { font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: var(--accent-light); font-weight: var(--font-weight-semibold); line-height: 1.2; }
.lp-numeros span { font-size: 14px; color: var(--text-inverse-muted); }

/* ---- seções ---- */
.lp-secao { padding: clamp(64px, 9vw, 112px) 0; }
.lp-secao--noite { background: var(--brand-night); color: var(--text-inverse); }
.lp-secao--areia { background: var(--surface-muted); }
.lp-cabeca { max-width: 720px; margin-bottom: 44px; }
.lp-cabeca h2, .lp-emp h2, .lp-sobre h2, .lp-chamada h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: var(--font-weight-semibold); }

/* ---- empreendimento ---- */
.lp-emp { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lp-emp__texto p { color: var(--text-muted); font-size: 1.05rem; margin-top: 18px; }
.lp-lista-ouro { display: grid; gap: 12px; margin-top: 22px; }
.lp-lista-ouro li { position: relative; padding-left: 28px; font-weight: var(--font-weight-medium); }
.lp-lista-ouro li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 14px; height: 2px; background: var(--accent); }
.lp-emp__midia { position: relative; padding-bottom: 56px; }
.lp-emp__midia img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.lp-emp__menor { position: absolute; right: -12px; bottom: 0; width: 46%; border: 6px solid var(--bg); }

/* ---- cartões (diferenciais) ---- */
.lp-cartoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-cartao { padding: 28px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-light); border-top: 3px solid var(--accent); }
.lp-cartao h3 { font-size: 1.15rem; color: var(--accent-light); margin-bottom: 10px; font-weight: var(--font-weight-semibold); }
.lp-cartao p { margin: 0; color: var(--text-inverse-muted); font-size: 15px; }

/* ---- galeria ---- */
.lp-galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-galeria figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--surface-muted); }
.lp-galeria img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.lp-galeria figure:hover img { transform: scale(1.04); }
.lp-galeria figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: var(--text-inverse); font-weight: var(--font-weight-medium); font-size: 15px; background: linear-gradient(to top, rgba(14, 29, 20, 0.85), rgba(14, 29, 20, 0)); }
.lp-etiquetas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lp-etiquetas li { padding: 9px 18px; border-radius: var(--radius-full); background: var(--surface); border: 1px solid var(--border-accent); font-size: 14.5px; font-weight: var(--font-weight-medium); }
.lp-aviso { margin: 22px 0 0; font-size: 13px; color: var(--text-muted); }

/* ---- sobre ---- */
.lp-sobre { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.lp-sobre__texto p { font-size: 1.08rem; color: var(--text-muted); }

/* ---- chamada ---- */
.lp-chamada { background: var(--brand); color: var(--text-inverse); }
.lp-chamada__linha { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lp-chamada h2 { max-width: 18ch; }
.lp-chamada p { color: var(--text-inverse-muted); margin: 14px 0 0; max-width: 46ch; }
.lp-chamada__acoes { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }

/* ---- rodapé ---- */
.lp-rodape { background: var(--brand-night); color: var(--text-inverse-muted); padding: 44px 0 90px; font-size: 14px; }
.lp-rodape__linha { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.lp-rodape img { width: 110px; margin-bottom: 14px; }
.lp-rodape p { margin: 0 0 4px; }
.lp-rodape__direitos { opacity: 0.8; }

/* ---- WhatsApp flutuante ---- */
.lp-whats-flutuante { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--brand-night); box-shadow: var(--shadow-lg); transition: transform var(--transition-fast); }
.lp-whats-flutuante:hover { transform: scale(1.06); }
.lp-whats-flutuante:focus-visible { outline: 3px solid var(--border-focus); outline-offset: 3px; }

/* ---- celular e tablet ---- */
@media (max-width: 980px) {
  .lp-cartoes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-emp, .lp-sobre { grid-template-columns: 1fr; }
  .lp-emp__midia { order: -1; }
  .lp-numeros__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .lp-numeros__grade > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 820px) {
  .lp-menu-botao { display: flex; }
  .lp-nav { position: fixed; inset: var(--header-height) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: var(--brand-night); box-shadow: var(--shadow-lg); transform: translateY(-120%); visibility: hidden; transition: transform var(--transition-normal), visibility var(--transition-normal); }
  .lp-nav.is-aberto { transform: none; visibility: visible; }
  .lp-nav a:not(.lp-btn) { padding: 15px 0; border-bottom: 1px solid var(--border-light); font-size: 17px; }
  .lp-nav .lp-nav__cta { margin-top: 18px; min-height: 50px; }
  .lp-topo { background: var(--brand-night); }
}
@media (max-width: 600px) {
  .lp-container { padding: 0 18px; }
  .lp-cartoes, .lp-galeria { grid-template-columns: 1fr; }
  .lp-acoes .lp-btn, .lp-chamada__acoes { width: 100%; }
  .lp-hero { background-position: 62% center; }
  .lp-emp__menor { right: 0; }
}

/* ---- página 404 ---- */
.lp-erro { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; background: var(--brand-night); color: var(--text-inverse); }
.lp-erro h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.lp-erro p { margin: 0; color: var(--text-inverse-muted); }

/* ---- disponibilidade: foto + botão grande que leva à página pública ---- */
.lp-disp { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--border-accent); }
.lp-disp img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.lp-disp__texto { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: clamp(28px, 5vw, 56px); }
.lp-disp__texto h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: var(--font-weight-semibold); }
.lp-disp__texto p { color: var(--text-muted); margin: 0; font-size: 1.05rem; }
.lp-disp__texto small { color: var(--text-muted); font-size: 13px; }
.lp-btn--grande { min-height: 62px; padding: 0 38px; font-size: 17.5px; margin: 8px 0 4px; }
@media (max-width: 820px) { .lp-disp { grid-template-columns: 1fr; } .lp-disp img { min-height: 220px; max-height: 300px; } .lp-btn--grande { width: 100%; } }
