/* =========================================================
   Praia do Flamengo, 2 · landing page
   Identidade: azul-marinho + dourado. Mobile-first.
   ========================================================= */

:root {
  --navy:        #0b1f3a;
  --navy-deep:   #071426;
  --navy-soft:   #13294b;
  --gold:        #c9a24b;
  --gold-light:  #e2c987;
  --gold-bg:     #faf6ec;
  --gold-line:   #e8d9b0;
  --ink:         #1b2430;
  --muted:       #5d6b7e;
  --line:        #e4e8ee;
  --bg:          #ffffff;
  --bg-alt:      #f5f7fa;
  --wa:          #25d366;
  --wa-dark:     #1da851;

  --maxw: 1160px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .12);
  --shadow-sm: 0 4px 14px rgba(11, 31, 58, .10);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

img, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--navy); }
.link { color: var(--navy-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 760px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  min-height: 52px;
}
.btn:active { transform: translateY(1px); }
.btn--whatsapp { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.35); }
.btn--whatsapp:hover { background: var(--wa-dark); }
.btn--solid { background: var(--navy); color: #fff; width: 100%; }
.btn--solid:hover { background: var(--navy-soft); }
.btn--ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(2px); }
.btn--ghost:hover { background: rgba(255,255,255,.20); }
.btn--corretor { background: var(--gold); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(201,162,75,.35); }
.btn--corretor:hover { background: var(--gold-light); }
.btn--lg { font-size: 1.08rem; padding: 18px 28px; }
.ico-wa { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- Seções ---------- */
.section { padding: 64px 0; }
.section:nth-of-type(even) { background: var(--bg-alt); }
.section__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.1;
  color: var(--navy); margin: 0 0 .35em;
  letter-spacing: .3px;
}
.section__lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin: 0 0 1.6em; }

/* =================== HERO =================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,20,38,.45) 0%, rgba(7,20,38,.20) 30%, rgba(7,20,38,.62) 68%, rgba(7,20,38,.95) 100%);
}
.hero__content { position: relative; z-index: 2; padding-block: 40px 64px; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 600;
  color: var(--gold-light); margin: 0 0 .8em;
}
.hero__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.1rem, 6.5vw, 4rem); line-height: 1.05; margin: 0 0 .35em;
  max-width: 16ch; text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero__subtitle { font-size: clamp(1rem, 2.6vw, 1.25rem); margin: 0 0 .5em; color: #eef2f8; }
.hero__price {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 6vw, 3rem); color: #fff; margin: .1em 0 .8em;
}
.hero__price::before { content: ""; }
.hero__proposta {
  display: inline-block; vertical-align: middle;
  font-family: var(--font-body); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--navy-deep); background: var(--gold);
  padding: 5px 12px; border-radius: 999px; margin-left: 10px;
  box-shadow: 0 4px 12px rgba(201,162,75,.4);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1em; }
.hero__note { font-size: .9rem; color: #d6deea; margin: 0; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,.8); font-size: 1.6rem; text-decoration: none; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(6px);} }

/* =================== RESUMO =================== */
.resumo { background: var(--navy); color: #fff; padding: 0; }
.resumo__grid {
  list-style: none; margin: 0; padding: 28px 20px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; text-align: center;
}
.resumo__grid li { display: flex; flex-direction: column; gap: 4px; }
.resumo__num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--gold-light); line-height: 1.1; }
.resumo__lbl { font-size: .82rem; color: #c4cedd; text-transform: uppercase; letter-spacing: .04em; }

/* =================== GALERIA =================== */
.galeria__grid {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 8px;
}
.galeria__grid figure { margin: 0; position: relative; cursor: zoom-in; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.galeria__grid img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .4s ease; }
.galeria__grid figure:hover img { transform: scale(1.04); }
.galeria__grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 8px; font-size: .85rem; color: #fff;
  background: linear-gradient(transparent, rgba(7,20,38,.75)); opacity: 0; transition: opacity .25s;
}
.galeria__grid figure:hover figcaption, .galeria__grid figure:focus-within figcaption { opacity: 1; }

/* =================== VÍDEOS =================== */
.videos__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.video__h { font-size: 1rem; color: var(--muted); margin: 0 0 .6em; font-weight: 600; }
.video__frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #000; aspect-ratio: 16/9; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--single { max-width: 900px; margin: 0 auto; }
.video__thumb {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 16/9; background: #000;
}
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .25s; }
.video__thumb:hover img { transform: scale(1.03); opacity: .9; }
.video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 62px; transition: transform .15s ease;
}
.video__play svg { width: 100%; height: 100%; }
.video__play .yt-bg { fill: #212121; opacity: .85; }
.video__play .yt-arrow { fill: #fff; }
.video__thumb:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__thumb:hover .video__play .yt-bg { fill: #ff0000; opacity: 1; }
.video__hint { text-align: center; font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.video__frame--reel { aspect-ratio: 9/16; max-width: 320px; }
.video__placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--navy); color: #d6deea; padding: 20px;
}
.video__placeholder .link { color: var(--gold-light); }

/* =================== DESCRIÇÃO =================== */
.descricao p { font-size: 1.08rem; }
.bullets { columns: 2; column-gap: 32px; padding-left: 1.1em; margin: 1.4em 0; }
.bullets li { margin-bottom: .5em; break-inside: avoid; }
.descricao__cta { margin-top: 1.4em; }

/* =================== DIFERENCIAIS =================== */
.diferenciais__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.diferenciais__grid li {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold);
}
.diferenciais__grid h3 { font-family: var(--font-head); font-size: 1.45rem; color: var(--navy); margin: 0 0 .25em; }
.diferenciais__grid p { margin: 0; color: var(--muted); }

/* =================== LOCALIZAÇÃO + PRÉDIO =================== */
.localizacao__grid, .predio__grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.localizacao__media img, .predio__media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; object-fit: cover; }
.caption { font-size: .85rem; color: var(--muted); margin: .5em 0 0; }
.mapa-link {
  display: flex; align-items: center; gap: 14px; margin-top: 18px;
  padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink);
  transition: border-color .2s, transform .12s;
}
.mapa-link:hover { border-color: var(--gold); transform: translateY(-1px); }
.mapa-link svg { width: 34px; height: 34px; fill: var(--gold); flex: none; }
.mapa-link span { font-size: .95rem; line-height: 1.4; }
.mapa-link strong { color: var(--navy); }

.checklist { list-style: none; margin: 0 0 1.2em; padding: 0; }
.checklist li { position: relative; padding-left: 1.8em; margin-bottom: .6em; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 800;
}
.checklist--two { columns: 1; }
.fineprint { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; margin-top: 1.2em; }

/* =================== PORTEIRA FECHADA (incluso) =================== */
.incluso__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.incluso__cat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); border-left: 3px solid var(--gold);
}
.incluso__cat h3 {
  font-family: var(--font-head); font-size: 1.4rem; color: var(--navy);
  margin: 0 0 .5em; font-weight: 700;
}
.incluso__cat ul { list-style: none; margin: 0; padding: 0; }
.incluso__cat li { position: relative; padding-left: 1.5em; margin-bottom: .5em; color: var(--ink); font-size: .98rem; }
.incluso__cat li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* =================== VISTA AÉREA (DRONE) =================== */
.drone__grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 8px; }
.drone__grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg-alt); }
.drone__grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.drone__grid figcaption { padding: 12px 14px; font-size: .9rem; color: var(--muted); background: var(--bg); }
.drone__note { font-size: .82rem; color: var(--muted); margin: 1.4em 0 0; font-style: italic; }

/* =================== FAQ =================== */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 2px; font-weight: 600; color: var(--navy);
  position: relative; font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold); transition: transform .2s; font-weight: 400;
}
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 2px 18px; color: var(--muted); }
.faq__a p { margin: 0; }

/* =================== CONTATO COMPRADOR =================== */
.contato { background: var(--navy); color: #fff; border-top: 3px solid var(--gold); }
.contato .section__title { color: #fff; }
.contato .section__lead { color: #c4cedd; }
.contato__box { text-align: center; }
.contato__box .btn--whatsapp { margin-bottom: 1.4em; }
.contato__alt { color: #c4cedd; font-size: .95rem; margin: 1.4em 0 .8em; }
.form { display: grid; gap: 14px; text-align: left; max-width: 440px; margin: 0 auto; }
.form label { display: grid; gap: 6px; font-size: .9rem; color: #d6deea; font-weight: 600; }
.form input {
  padding: 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06); color: #fff; font-size: 1rem; font-family: inherit;
}
.form input::placeholder { color: #8ea0b8; }
.form input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form__hint { font-size: .8rem; color: #94a3b8; margin: 2px 0 0; }
.contato__email { margin: 1.6em 0 0; font-size: .92rem; color: #c4cedd; }
.contato__email a { color: var(--gold-light); font-weight: 600; text-decoration: none; }
.contato__email a:hover { text-decoration: underline; }

/* =================== CORRETORES (Fluxo B) ===================
   Fundo CLARO de propósito: separa visualmente do contato (escuro)
   e do rodapé (escuro), e dá contraste forte ao texto. */
.corretores { background: var(--gold-bg); }
.corretores__box {
  text-align: center; border: 1px solid var(--gold-line); border-radius: var(--radius);
  padding: 44px 28px; background: #fff; box-shadow: var(--shadow-sm);
}
.corretores .section__title { color: var(--navy); }
.corretores .section__lead { color: var(--muted); margin-inline: auto; }
.corretores__tag {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700;
  color: var(--navy-deep); background: var(--gold); padding: 6px 14px; border-radius: 999px; margin: 0 0 1em;
}
.corretores .checklist { display: inline-block; text-align: left; margin-bottom: 1.6em; }
.corretores .checklist li { color: var(--ink); }
.corretores__req { font-size: .85rem; color: var(--muted); margin: 1.4em 0 0; }
.corretores__req .link { color: var(--navy-soft); }

/* Formulário do corretor */
.form-corretor { text-align: left; margin-top: .4em; }
.form-corretor__grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 18px; }
.form-corretor label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.form-corretor input {
  padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 1rem; font-family: inherit;
}
.form-corretor input::placeholder { color: #9aa6b5; font-weight: 400; }
.form-corretor input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-corretor .btn--corretor { width: 100%; }
.form-corretor .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-corretor__status { font-size: .9rem; margin: 12px 0 0; min-height: 1.2em; }
.form-corretor__status.is-ok { color: #1b7a43; font-weight: 600; }
.form-corretor__status.is-err { color: #b3261e; font-weight: 600; }

/* =================== RODAPÉ =================== */
.rodape { background: var(--navy-deep); color: #9fb0c4; padding: 40px 0; font-size: .88rem; border-top: 3px solid var(--gold); }
.rodape__id { color: #eef2f8; font-weight: 600; margin: 0 0 .4em; }
.rodape__contato { margin: 0 0 .6em; }
.rodape__contato a { color: var(--gold-light); text-decoration: none; }
.rodape__contato a:hover { text-decoration: underline; }
.rodape__portais { margin: 0 0 1em; }
.rodape__aviso { font-size: .8rem; line-height: 1.5; margin: 0 0 1em; max-width: 70ch; }
.rodape__copy { margin: 0 0 .8em; font-size: .8rem; }
.rodape__credito { margin: 0; font-size: .8rem; color: #7a8aa0; }
.rodape__credito a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.rodape__credito a:hover { text-decoration: underline; }

/* =================== FAB WhatsApp =================== */
.fab-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.45); transition: transform .15s ease;
}
.fab-wa svg { width: 32px; height: 32px; fill: #fff; }
.fab-wa:hover { transform: scale(1.06); }

/* =================== LIGHTBOX =================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,13,24,.94);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 94vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox__close { position: absolute; top: 14px; right: 18px; font-size: 2.2rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.6rem; color: #fff; background: rgba(0,0,0,.3); border: 0; cursor: pointer; width: 52px; height: 64px; border-radius: 8px; }
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }
.lightbox__cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #d6deea; font-size: .9rem; padding-inline: 20px; }

/* =================== Responsivo (tablet/desktop) =================== */
@media (min-width: 600px) {
  .resumo__grid { grid-template-columns: repeat(3, 1fr); padding-block: 34px; }
  .resumo__num { font-size: 1.7rem; }
  .galeria__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .checklist--two { columns: 2; }
  .form-corretor__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .section { padding: 88px 0; }
  .galeria__grid { grid-template-columns: repeat(3, 1fr); }
  .galeria__grid figure:first-child { grid-column: span 2; grid-row: span 2; }
  .galeria__grid figure:first-child img { aspect-ratio: auto; height: 100%; }
  .videos__grid { grid-template-columns: 2fr 1fr; align-items: start; }
  .video__frame--reel { max-width: none; }
  .diferenciais__grid { grid-template-columns: repeat(3, 1fr); }
  .localizacao__grid, .predio__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .resumo__grid { grid-template-columns: repeat(6, 1fr); }
  .drone__grid { grid-template-columns: repeat(3, 1fr); }
  .incluso__grid { grid-template-columns: 1fr 1fr; }
}

/* Acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll { animation: none; }
  .galeria__grid img, .btn, .fab-wa { transition: none; }
}
