/* Letras alojadas no próprio site (licença SIL Open Font License) — nenhum pedido à Google */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fontes/inter-latin.woff2") format("woff2"); }
@font-face { font-family: Sora; font-style: normal; font-weight: 600 800; font-display: swap; src: url("fontes/sora-latin.woff2") format("woff2"); }

/* ===== Tema: Vibrante Moderno (com toques de costa) ===== */
:root {
  --coral: #ff5a5f;
  --laranja: #ff9a3c;
  --violeta: #7b3ff2;
  --mar: #12c2b3;
  --tinta: #1d1433;
  --texto: #4a4263;
  --fundo: #fff8f3;
  --cartao: #ffffff;
  --linha: #f0e4dc;
  --grad: linear-gradient(120deg, var(--coral), var(--laranja) 45%, var(--violeta));
  --sombra: 0 18px 40px -18px rgba(123, 63, 242, .35);
  --raio: 22px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--texto);
  background: var(--fundo); line-height: 1.6; overflow-x: hidden;
}
h1, h2, h3 { font-family: Sora, Inter, sans-serif; color: var(--tinta); line-height: 1.12; margin: 0; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.1rem; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; white-space: nowrap; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: scale(.97); }
.btn-sm { padding: .6em 1.2em; }
.btn-grad {
  color: #fff; background: var(--grad); background-size: 200% 100%;
  box-shadow: 0 10px 24px -10px var(--coral); animation: gradMove 5s ease infinite;
}
.btn-branco { background: #fff; color: var(--tinta); }
.btn-contorno { border: 2px solid rgba(255,255,255,.8); color: #fff; }
@keyframes gradMove { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ===== Topo ===== */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; padding: .9rem clamp(1rem, 4vw, 3rem);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.topo.scrolled { background: rgba(255,248,243,.88); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -14px rgba(29,20,51,.4); padding-block: .55rem; }
.logo { font-family: Sora, sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--tinta); display: flex; gap: .4em; align-items: center; }
.logo-onda { display: inline-block; animation: balanca 3s ease-in-out infinite; }
@keyframes balanca { 0%,100% { transform: rotate(-10deg); } 50% { transform: rotate(12deg) translateY(-2px); } }
.nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 500; font-size: .95rem; }
.nav > a:not(.btn) { position: relative; color: var(--tinta); }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 3px; width: 0; border-radius: 3px; background: var(--grad); transition: width .25s; }
.nav > a:not(.btn):hover::after { width: 100%; }
.lingua { border: 2px solid var(--linha); background: #fff; border-radius: 999px; padding: .35em .7em; font-weight: 600; cursor: pointer; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 3px; border-radius: 3px; background: var(--tinta); margin: 4px 0; transition: transform .25s, opacity .25s; }

/* ===== Hero ===== */
.hero { position: relative; padding: 8.5rem clamp(1rem, 4vw, 3rem) 9rem; overflow: hidden; }
.hero-in { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: flutua 14s ease-in-out infinite; }
.b1 { width: 480px; height: 480px; background: var(--coral); top: -140px; right: -80px; }
.b2 { width: 380px; height: 380px; background: var(--violeta); bottom: 0; left: -120px; animation-delay: -5s; opacity: .35; }
.b3 { width: 300px; height: 300px; background: var(--laranja); top: 40%; left: 45%; animation-delay: -9s; opacity: .4; }
@keyframes flutua { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.12); } 66% { transform: translate(-30px,30px) scale(.92); } }

.badge-pulse {
  display: inline-flex; align-items: center; gap: .6em; padding: .5em 1em; border-radius: 999px;
  background: #fff; color: var(--tinta); font-weight: 600; font-size: .85rem; box-shadow: var(--sombra);
  animation: sobe .7s both;
}
.badge-pulse i { width: 10px; height: 10px; border-radius: 50%; background: var(--mar); box-shadow: 0 0 0 0 var(--mar); animation: pulsa 1.8s infinite; }
@keyframes pulsa { 70% { box-shadow: 0 0 0 12px rgba(18,194,179,0); } 100% { box-shadow: 0 0 0 0 rgba(18,194,179,0); } }
.hero-txt { min-width: 0; }
.hero h1 { overflow-wrap: anywhere; hyphens: auto; font-size: clamp(2.1rem, 5.4vw, 4.3rem); font-weight: 800; margin: 1.2rem 0 1rem; animation: sobe .7s .1s both; }
.hero h1 em { font-style: normal; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradMove 5s ease infinite; }
.hero-sub { font-size: 1.15rem; max-width: 34rem; animation: sobe .7s .2s both; }
@keyframes sobe { from { opacity: 0; transform: translateY(26px); } }

.busca {
  margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr .6fr auto; gap: .6rem; align-items: end;
  background: #fff; padding: .7rem; border-radius: 26px; box-shadow: var(--sombra); max-width: 40rem;
  animation: sobe .7s .3s both;
}
.busca label { display: grid; gap: 2px; padding: .3rem .9rem; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--coral); }
.busca select, .busca input { border: 0; background: none; font-size: 1rem; font-weight: 600; color: var(--tinta); width: 100%; padding: .2rem 0; outline: none; }
.busca label:focus-within { background: var(--fundo); border-radius: 16px; }

.stats { list-style: none; display: flex; gap: 2.2rem; padding: 0; margin: 2.2rem 0 0; flex-wrap: wrap; animation: sobe .7s .4s both; }
.stats b { display: block; font-family: Sora, sans-serif; font-size: 1.9rem; color: var(--tinta); }
.stats span { font-size: .85rem; }

.hero-arte { position: relative; height: 460px; }
.flut { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(29,20,51,.55); border: 6px solid #fff; background: #fff; animation: boia 6s ease-in-out infinite; }
.flut svg, .flut img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flut.f1 { width: 72%; aspect-ratio: 4/3; top: 0; right: 0; transform: rotate(3deg); }
.flut.f2 { width: 52%; aspect-ratio: 4/3; bottom: 30px; left: 0; animation-delay: -2s; }
.flut.f3 { width: 40%; aspect-ratio: 1; bottom: 0; right: 6%; animation-delay: -4s; }
.selo { position: absolute; top: 46%; left: 8%; z-index: 3; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--grad); color: #fff; font-family: Sora, sans-serif; font-weight: 800; line-height: 1; box-shadow: 0 14px 30px -10px var(--coral); animation: roda 9s linear infinite alternate, bate 1.6s ease-in-out infinite; }
.selo small { font-size: .62rem; font-weight: 600; display: block; margin-top: 3px; }
@keyframes boia { 0%,100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes roda { from { rotate: -10deg; } to { rotate: 10deg; } }
@keyframes bate { 0%,100% { scale: 1; } 50% { scale: 1.09; } }

.ondas { position: absolute; left: 0; bottom: -1px; width: 200%; height: 110px; z-index: 1; }
.onda { animation: desliza 12s linear infinite; }
.o1 { fill: rgba(18,194,179,.25); animation-duration: 16s; }
.o2 { fill: rgba(123,63,242,.18); animation-duration: 11s; animation-direction: reverse; }
.o3 { fill: var(--tinta); animation-duration: 8s; }
@keyframes desliza { to { transform: translateX(-600px); } }

/* ===== Faixa ===== */
.marquee { background: var(--tinta); color: #fff; overflow: hidden; padding: .9rem 0; }
.marquee-in span { margin-right: 3rem; }
.marquee-in { display: flex; width: max-content; animation: corre 28s linear infinite; font-family: Sora, sans-serif; font-weight: 600; white-space: nowrap; }
.marquee-in span::before { content: "✦"; margin-right: 3rem; color: var(--laranja); }
@keyframes corre { to { transform: translateX(-50%); } }

/* ===== Secções ===== */
.sec { padding: 5.5rem clamp(1rem, 4vw, 3rem); }
.sec > * { max-width: 1200px; margin-inline: auto; }
.sec-tinta { background: linear-gradient(180deg, #fff 0%, #fff1ea 100%); }
.sec-top { text-align: center; margin-bottom: 2.6rem; }
.sec-top p { margin-top: .7rem; font-size: 1.08rem; }
.sec-top h2::after { content: ""; display: block; width: 70px; height: 6px; border-radius: 6px; background: var(--grad); margin: .8rem auto 0; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Vantagens ===== */
.vant { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.calc { background: var(--cartao); border-radius: var(--raio); padding: 2rem; box-shadow: var(--sombra); position: relative; }
.calc::before { content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: calc(var(--raio) + 3px); background: var(--grad); background-size: 200% 100%; animation: gradMove 5s ease infinite; }
.rng { display: grid; gap: .4rem; margin-bottom: 1.2rem; font-weight: 600; color: var(--tinta); }
.rng > span { display: flex; justify-content: space-between; }
.rng b { color: var(--coral); }
input[type=range] { width: 100%; accent-color: var(--coral); height: 6px; cursor: pointer; }
.barras { display: grid; gap: .9rem; margin: 1.4rem 0; }
.barra { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: center; font-size: .92rem; font-weight: 600; }
.barra .trilho { grid-column: 1 / -1; height: 16px; background: var(--linha); border-radius: 99px; overflow: hidden; order: 3; }
.barra i { display: block; height: 100%; border-radius: 99px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.barra.plat i { background: #b9b2c9; }
.barra.dir i { background: var(--grad); }
.barra.dir b { color: var(--coral); font-size: 1.1rem; }
.poupa { text-align: center; padding: 1rem; border-radius: 16px; background: #eafbf8; color: var(--tinta); font-weight: 600; font-size: 1.05rem; }
.poupa strong { font-family: Sora, sans-serif; font-size: 1.7rem; color: #0a9488; display: inline-block; }
.poupa strong.salta { animation: salta .45s; }
@keyframes salta { 40% { transform: scale(1.25) rotate(-3deg); } }
.calc small { display: block; margin-top: .8rem; font-size: .78rem; opacity: .75; text-align: center; }

.benef { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.benef li { display: flex; gap: 1rem; align-items: center; background: var(--cartao); border-radius: 18px; padding: 1.1rem 1.3rem; border: 1px solid var(--linha); transition: transform .25s, box-shadow .25s, opacity .7s; }
.benef li:hover { transform: translateX(10px); box-shadow: var(--sombra); }
.benef li > span { font-size: 1.7rem; width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 16px; background: #fff1ea; }
.benef li:hover > span { animation: balanca .6s; }
.benef p { font-size: .93rem; }

/* ===== Imóveis ===== */
.chips { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { border: 2px solid var(--linha); background: #fff; border-radius: 999px; padding: .5em 1.2em; font-weight: 600; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--coral); transform: translateY(-2px); }
.chip[aria-pressed=true] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px var(--coral); }
.grelha { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.8rem; perspective: 1200px; }
.card { background: var(--cartao); border-radius: var(--raio); overflow: hidden; box-shadow: 0 12px 30px -20px rgba(29,20,51,.5); cursor: pointer; transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .25s, opacity .7s; position: relative; }
.card:hover { box-shadow: 0 30px 50px -25px rgba(123,63,242,.6); }
.card:focus-visible { outline: 3px solid var(--violeta); outline-offset: 3px; }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-img svg, .card-img img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s; }
.card:hover .card-img svg, .card:hover .card-img img { transform: scale(1.08); }
.tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.tag { padding: .25em .8em; border-radius: 99px; font-size: .75rem; font-weight: 700; color: #fff; background: var(--tinta); }
.tag.popular { background: var(--coral); animation: bate 1.6s ease-in-out infinite; }
.tag.novo { background: var(--violeta); }
.tag.mar { background: var(--mar); }
.preco-pill { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: #fff; color: var(--tinta); border-radius: 99px; padding: .35em .9em; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }
.preco-pill small { font-weight: 500; opacity: .7; }
.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card-local { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--coral); }
.card-body h3 { font-size: 1.3rem; margin: .15rem 0 .5rem; }
.card-info { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .87rem; margin-bottom: 1rem; }
.card-al { font-size: .8rem; opacity: .75; margin: -.4rem 0 1rem; }
.card-ver { font-weight: 700; color: var(--violeta); display: inline-flex; gap: .4em; align-items: center; }
.card-ver i { font-style: normal; transition: transform .25s; }
.card:hover .card-ver i { transform: translateX(6px); }
.vazio { text-align: center; padding: 2rem; font-weight: 600; }

/* ===== Passos ===== */
.passos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: p; }
.passos li { background: var(--cartao); border-radius: var(--raio); padding: 2rem 1.6rem; text-align: center; border: 1px solid var(--linha); transition: transform .3s, box-shadow .3s, opacity .7s; }
.passos li:hover { transform: translateY(-10px); box-shadow: var(--sombra); }
.passos b { width: 62px; height: 62px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-family: Sora, sans-serif; font-size: 1.5rem; box-shadow: 0 10px 22px -10px var(--coral); }
.passos li:hover b { animation: salta .5s; }
.passos p { margin-top: .5rem; font-size: .95rem; }

/* ===== Avaliações ===== */
.aval { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .2rem 1.5rem; scrollbar-width: none; }
.aval::-webkit-scrollbar { display: none; }
.av { flex: 0 0 min(340px, 85%); scroll-snap-align: start; background: var(--cartao); border-radius: var(--raio); padding: 1.6rem; box-shadow: 0 12px 30px -22px rgba(29,20,51,.5); position: relative; transition: transform .3s, opacity .7s; }
.av:hover { transform: translateY(-6px) rotate(-1deg); }
.av .estrelas { color: var(--laranja); letter-spacing: 3px; font-size: 1.1rem; }
.av p { margin: .7rem 0 1rem; color: var(--tinta); }
.av footer { font-weight: 700; color: var(--tinta); }
.av .ex { position: absolute; top: 12px; right: 12px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .2em .7em; border-radius: 99px; background: var(--linha); color: var(--texto); }

/* ===== FAQ ===== */
.faq { max-width: 780px !important; display: grid; gap: .8rem; }
.faq details { background: var(--cartao); border-radius: 18px; border: 1px solid var(--linha); padding: 0 1.3rem; transition: box-shadow .25s, opacity .7s, transform .7s; }
.faq details[open] { box-shadow: var(--sombra); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; color: var(--tinta); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.3rem; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding-bottom: 1.2rem; animation: sobe .35s; }

/* ===== CTA ===== */
.cta { margin: 0 clamp(1rem, 4vw, 3rem) 4rem; border-radius: 34px; background: var(--grad); background-size: 200% 100%; animation: gradMove 7s ease infinite; color: #fff; text-align: center; padding: 4rem 1.5rem; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); animation: flutua 10s ease-in-out infinite; }
.cta::before { width: 260px; height: 260px; top: -90px; left: -60px; }
.cta::after { width: 200px; height: 200px; bottom: -70px; right: -40px; animation-delay: -4s; }
.cta-in { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { margin: .8rem 0 1.8rem; font-size: 1.1rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.rodape { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem clamp(1rem, 4vw, 3rem) 2.5rem; font-size: .9rem; }

/* ===== Botão WhatsApp ===== */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 12px 26px -8px rgba(37,211,102,.8); animation: fabPulsa 2s infinite; transition: transform .2s; }
.fab:hover { transform: scale(1.12) rotate(8deg); }
@keyframes fabPulsa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6), 0 12px 26px -8px rgba(37,211,102,.8); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 12px 26px -8px rgba(37,211,102,.8); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 12px 26px -8px rgba(37,211,102,.8); } }

/* ===== Modal ===== */
.modal { border: 0; padding: 0; border-radius: 28px; width: min(1000px, 94vw); max-height: 92vh; background: var(--fundo); color: var(--texto); box-shadow: 0 40px 90px -30px rgba(29,20,51,.8); overflow: auto; }
.modal::backdrop { background: rgba(29,20,51,.6); backdrop-filter: blur(6px); }
.modal[open] { animation: abre .35s cubic-bezier(.2,.9,.3,1.2); }
@keyframes abre { from { opacity: 0; transform: translateY(40px) scale(.95); } }
.fechar { position: sticky; top: 12px; margin: 12px 12px -52px auto; display: grid; place-items: center; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--tinta); font-size: 1rem; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); transition: transform .2s; }
.fechar:hover { transform: rotate(90deg) scale(1.1); }
/* ===== Barra de progresso ===== */
.progresso { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ===== Cartões com fotos reais ===== */
.grelha.duas { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 2.2rem; max-width: 1100px; }
.card-img img.c1, .card-img img.c2 { position: absolute; inset: 0; }
.card-img img.c2 { opacity: 0; transition: opacity .7s, transform .6s; }
.card:hover .card-img img.c2 { opacity: 1; }
.card-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 45%); opacity: 0; transition: opacity .3s; z-index: 1; }
.card:hover .card-img::after { opacity: 1; }
.fotos-n { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(29,20,51,.7); color: #fff; backdrop-filter: blur(6px); border-radius: 99px; padding: .3em .8em; font-size: .78rem; font-weight: 600; }
.preco-pill small:first-child { font-weight: 600; opacity: .65; }
.card-sub { font-size: .93rem; margin: -.2rem 0 .7rem; }
.tag.praia { background: var(--mar); }
.tag.familia { background: var(--laranja); }
.tag.longa { background: var(--violeta); }
.tag.novo { background: var(--coral); animation: bate 1.6s ease-in-out infinite; }
.estadia { margin: -.3rem 0 1rem; padding: .55rem .9rem; border-radius: 14px; background: #eafbf8; color: #0a7f75; font-weight: 700; font-size: .95rem; animation: sobe .4s; }
.estadia s { color: var(--texto); font-weight: 500; opacity: .7; margin-left: .3rem; }
.estadia.aviso { background: #fff1ea; color: #c2410c; }

/* ===== Pesquisa com datas ===== */
.busca input[type=date] { min-width: 0; font-size: .95rem; }

/* ===== Calculadora ===== */
.calc-top { display: flex; gap: .8rem; align-items: end; flex-wrap: wrap; margin-bottom: 1.2rem; }
.seg { display: inline-flex; background: var(--fundo); border-radius: 99px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: none; border-radius: 99px; padding: .5em 1.1em; font-weight: 700; cursor: pointer; color: var(--tinta); transition: background .25s, color .25s, box-shadow .25s; }
.seg button[aria-pressed=true] { background: var(--grad); color: #fff; box-shadow: 0 6px 14px -6px var(--coral); }
.sel { display: grid; gap: 2px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--coral); flex: 1; min-width: 150px; }
.sel select { border: 2px solid var(--linha); border-radius: 12px; padding: .45rem .6rem; background: #fff; font-size: .95rem; font-weight: 600; color: var(--tinta); text-transform: capitalize; cursor: pointer; }
.poupa.igual { background: #fff4e5; font-size: .95rem; }

/* ===== Olhos de Água ===== */
.sec-mar { background: linear-gradient(160deg, #0b3b5c 0%, #0f6e8c 55%, #12c2b3 130%); color: #e6f7fb; position: relative; overflow: hidden; }
.sec-mar::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -160px; background: radial-gradient(circle, rgba(255,154,60,.45), transparent 65%); animation: flutua 16s ease-in-out infinite; }
.sec-mar h2 { color: #fff; }
.local { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.local-txt > p { font-size: 1.08rem; margin: 1rem 0 1.4rem; }
.poi { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .7rem; }
.poi li { display: flex; gap: .9rem; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: .7rem 1rem; backdrop-filter: blur(6px); transition: transform .25s, background .25s, opacity .7s; }
.poi li:hover { transform: translateX(8px); background: rgba(255,255,255,.18); }
.poi li > span { font-size: 1.5rem; }
.poi b { display: block; color: #fff; }
.poi small { font-size: .88rem; opacity: .85; }
.morada { margin-top: 1rem; font-size: .9rem; font-weight: 600; opacity: .9; }
.mosaico { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: 520px; }
.mosaico button { padding: 0; border: 0; border-radius: 24px; overflow: hidden; cursor: zoom-in; position: relative; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.mosaico .m1 { grid-row: 1 / 3; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.mosaico button:hover img { transform: scale(1.08); }
.mosaico button::after { content: "⤢"; position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--tinta); font-weight: 700; opacity: 0; transform: scale(.7); transition: all .25s; }
.mosaico button:hover::after { opacity: 1; transform: none; }

/* ===== História ===== */
.hist { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hist-foto { position: relative; aspect-ratio: 4/3; border-radius: 30px; background: center / cover no-repeat; box-shadow: var(--sombra); }
.hist-foto::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 30px; border: 3px solid var(--coral); z-index: -1; }
.hist-badge { position: absolute; left: -12px; bottom: 24px; background: var(--grad); color: #fff; font-weight: 700; padding: .6em 1.2em; border-radius: 99px; box-shadow: 0 12px 24px -10px var(--coral); animation: boia 5s ease-in-out infinite; max-width: 90%; }
.aspas { font-size: 1.12rem; color: var(--tinta); margin-top: 1rem; position: relative; padding-left: 1.4rem; border-left: 5px solid; border-image: var(--grad) 1; }

/* ===== Página do imóvel ===== */
.modal { width: min(1180px, 96vw); }
.modal-in { display: grid; grid-template-columns: 1.45fr 1fr; gap: 0; align-items: start; }
.m-esq { padding: 1.2rem; min-width: 0; }
.m-dir { position: sticky; top: 0; padding: 1.2rem 1.2rem 1.2rem 0; }
.gal-main { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; background: #1d1433; touch-action: pan-y; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; user-select: none; }
.gal-main img.entra { animation: fade .45s; }
.gal-nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--tinta); font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); transition: transform .2s, background .2s; z-index: 2; }
.gal-nav:hover { transform: scale(1.12); background: #fff; }
.gal-nav.ant { left: 12px; } .gal-nav.seg { right: 12px; }
.gal-leg { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 2.4rem 1rem .8rem; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); pointer-events: none; }
.gal-zoom { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.1rem; cursor: pointer; z-index: 2; transition: transform .2s; }
.gal-zoom:hover { transform: scale(1.12); }
.ir-reserva { display: none; margin-top: 1rem; width: 100%; }
.thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; scroll-snap-type: x proximity; }
.thumbs button { flex: 0 0 96px; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: none; transition: transform .2s, border-color .2s, opacity .2s; opacity: .7; scroll-snap-align: center; }
.thumbs button:hover { transform: translateY(-3px); opacity: 1; }
.thumbs button[aria-current=true] { border-color: var(--coral); opacity: 1; }
.thumbs img { width: 100%; height: 100%; display: block; object-fit: cover; }
.m-bloco { margin-top: 1.6rem; }
.m-bloco h3 { margin-bottom: .8rem; font-size: 1.15rem; }
.m-cabeca h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: .2rem 0 .3rem; }
.m-sub { font-size: 1.05rem; color: var(--tinta); margin-bottom: .8rem; }
.card-info.grande { font-size: .95rem; gap: .5rem; }
.card-info.grande span { background: #fff; border: 1px solid var(--linha); border-radius: 99px; padding: .3em .8em; }
.camas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.cama { background: #fff; border-radius: 18px; padding: 1rem; border: 1px solid var(--linha); transition: transform .25s, box-shadow .25s; animation: sobe .5s var(--d) both; }
.cama:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--sombra); }
.cama span { font-size: 1.8rem; display: block; margin-bottom: .3rem; }
.cama p { font-size: .9rem; font-weight: 600; color: var(--tinta); }
.m-desc { font-size: 1rem; line-height: 1.75; }
.m-comod { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; font-size: .93rem; }
.m-comod li { display: flex; gap: .6rem; align-items: center; }
.m-comod li span { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #fff1ea; }
.grafico { display: flex; align-items: end; gap: 6px; height: 170px; padding: .5rem .2rem 0; background: #fff; border-radius: 18px; border: 1px solid var(--linha); padding: 1rem .8rem .5rem; }
.grafico .col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 4px; min-width: 0; }
.grafico .col b { font-size: .66rem; color: var(--tinta); white-space: nowrap; }
.grafico .col i { width: 100%; max-width: 30px; height: var(--h); border-radius: 8px 8px 4px 4px; background: var(--grad); background-size: 100% 300%; transform-origin: bottom; animation: cresce .8s var(--d) cubic-bezier(.2,.8,.2,1) both; }
.grafico .col:hover i { filter: brightness(1.15) saturate(1.2); }
.grafico .col span { font-size: .66rem; text-transform: capitalize; opacity: .8; }
@keyframes cresce { from { transform: scaleY(0); } }
.regras { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .93rem; }
.regras li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: .6rem; border-radius: 50%; background: #eafbf8; color: #0a9488; font-weight: 800; font-size: .75rem; }
.m-esq .morada { color: var(--violeta); }
.irma { margin-top: 1.6rem; width: 100%; display: flex; gap: 1rem; align-items: center; text-align: left; padding: .7rem; border: 0; border-radius: 20px; background: linear-gradient(120deg, #fff1ea, #f3ecff); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.irma:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.irma img { width: 110px; height: 82px; object-fit: cover; border-radius: 14px; flex: none; }
.irma small { display: block; font-size: .88rem; }
.irma b { color: var(--violeta); }
.reserva { margin-top: 0; background: #fff; border-radius: 22px; padding: 1.3rem; box-shadow: var(--sombra); display: grid; gap: .8rem; position: relative; }
.reserva::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 24px; background: var(--grad); background-size: 200% 100%; animation: gradMove 5s ease infinite; }
.r-topo b { font-family: Sora, sans-serif; font-size: 1.7rem; color: var(--tinta); }
.r-topo span { font-size: .9rem; }
.reserva .lin { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.reserva label { display: grid; gap: 3px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--coral); min-width: 0; }
.reserva input { border: 2px solid var(--linha); border-radius: 12px; padding: .55rem .6rem; font-size: .95rem; font-weight: 500; color: var(--tinta); width: 100%; min-width: 0; outline: none; transition: border-color .2s; background: #fff; }
.reserva input:focus { border-color: var(--violeta); }
.resumo { font-size: .92rem; display: grid; gap: .35rem; }
.resumo > div { display: flex; justify-content: space-between; gap: .6rem; }
.resumo .tot { font-family: Sora, sans-serif; font-size: 1.25rem; color: var(--tinta); font-weight: 700; border-top: 2px dashed var(--linha); padding-top: .55rem; margin-top: .2rem; }
.resumo .tot .num { display: inline-block; }
.resumo .num.salta { animation: salta .45s; }
.resumo .plat { color: var(--texto); font-size: .85rem; }
.resumo .ganho { justify-content: center; background: #eafbf8; color: #0a7f75; font-weight: 700; border-radius: 12px; padding: .45rem; }
.resumo .sinal { font-size: .88rem; font-weight: 600; color: var(--violeta); }
.resumo .erro { color: #d6336c; font-weight: 600; display: block; }
.resumo .r-dica { display: block; background: var(--fundo); border-radius: 12px; padding: .6rem .8rem; font-weight: 500; }
.resumo small { display: block; font-size: .76rem; opacity: .8; }
.reserva .btn { width: 100%; white-space: normal; text-align: center; }
.btn-email { background: none; border: 2px solid var(--linha); color: var(--tinta); }
.reserva > small { text-align: center; font-size: .78rem; }

/* ===== Fotos em ecrã inteiro ===== */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(12,8,24,.94); display: none; }
.lightbox[open] { display: grid; place-items: center; animation: abre .3s; }
.lightbox::backdrop { background: rgba(12,8,24,.9); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; max-width: 92vw; touch-action: pan-y; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px -20px #000; user-select: none; }
.lightbox img.entra { animation: fade .4s; }
.lightbox figcaption { color: #fff; font-weight: 600; font-size: .95rem; }
.lightbox .fechar { position: fixed; top: 16px; right: 16px; margin: 0; }
.lb-nav { position: fixed; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2.2rem; cursor: pointer; transition: background .2s, transform .2s; z-index: 2; }
.lb-nav:hover { background: var(--coral); transform: scale(1.1); }
.lb-ant { left: 16px; } .lb-seg { right: 16px; }

/* ===== Telemóvel ===== */
@media (max-width: 900px) {
  .hero { padding-top: 6.5rem; padding-bottom: 7rem; }
  .hero-in, .vant, .modal-in, .local, .hist { grid-template-columns: 1fr; }
  .hero-arte { height: 320px; max-width: 460px; width: 100%; margin: 0 auto; }
  .selo { width: 84px; height: 84px; font-size: .85rem; }
  .passos { grid-template-columns: 1fr; }
  .m-dir { position: static; padding: 0 1.2rem 1.4rem; }
  .m-esq { padding-bottom: 0; }
  .gal-zoom { right: auto; left: 12px; }
  .ir-reserva { display: flex; }
  .mosaico { height: 380px; }
  .hist-foto::before { display: none; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; align-items: stretch; text-align: center; gap: 1rem; background: #fff; border-radius: 22px; padding: 1.4rem; box-shadow: var(--sombra); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .25s, transform .25s; }
  .nav.aberto { opacity: 1; pointer-events: auto; transform: none; }
  .menu-btn[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .busca { grid-template-columns: 1fr 1fr; }
  .busca .b-hosp { grid-column: 1 / -1; }
  .busca .btn { grid-column: 1 / -1; }
  .stats { gap: 1.2rem; }
  .stats b { font-size: 1.5rem; }
  .grelha, .grelha.duas { grid-template-columns: 1fr; }
  .gal-nav { width: 38px; height: 38px; font-size: 1.4rem; }
  .lb-nav { width: 44px; height: 44px; bottom: 20px; top: auto; translate: none; }
  .mosaico { height: 300px; gap: .6rem; }
  .thumbs button { flex-basis: 76px; }
  .grafico .col b { display: none; }
  .m-comod { grid-template-columns: 1fr; }
  .camas { grid-template-columns: 1fr 1fr; }
}

/* ===== Menos movimento, para quem o pede no sistema ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Só apresentação (sem preços) ===== */
.hero-btns { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; animation: sobe .7s .3s both; }
.hero-btns .btn-branco { box-shadow: var(--sombra); }
.vant { grid-template-columns: 1fr; }
.vant .benef { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.r-topo { display: grid; gap: .2rem; }
.r-topo b { font-size: 1.25rem; line-height: 1.2; }
.sem-foto { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .4rem; background: var(--grad); color: #fff; font-family: Sora, sans-serif; text-align: center; padding: 1rem; }
.sem-foto span { font-size: 3rem; }
.gal-main.vazio { position: relative; }
.gal-main::before { content: ""; position: absolute; inset: -20px; background: var(--fundo, none) center / cover; filter: blur(22px) brightness(.75); opacity: 0; transition: opacity .3s; }
.gal-main.retrato::before { opacity: 1; }
.gal-main.retrato img { object-fit: contain; position: relative; }

.al-reg { margin-top: .5rem; font-size: .88rem; }

/* ===== Vários imóveis: filtros e zonas ===== */
.filtros { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; justify-content: center; align-items: center; margin-bottom: 2rem; }
.filtros .chips { margin: 0; }
.chip small { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; margin-left: .3em; border-radius: 99px; background: var(--fundo); color: var(--tinta); font-size: .75em; }
.chip[aria-pressed=true] small { background: rgba(255,255,255,.3); color: #fff; }
.f-hosp { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; color: var(--coral); text-transform: uppercase; letter-spacing: .05em; }
.f-hosp select { border: 2px solid var(--linha); border-radius: 99px; padding: .45em .9em; background: #fff; font-weight: 600; color: var(--tinta); text-transform: none; letter-spacing: 0; cursor: pointer; }
.sec-mar .sec-top p { color: #d4f1f7; }
.zonas { display: grid; justify-content: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); gap: 1.4rem; max-width: 1100px; position: relative; }
.zona { position: relative; border: 0; padding: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; text-align: left; color: #fff; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.zona img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.zona:hover img { transform: scale(1.08); }
.zona-txt { position: absolute; inset: auto 0 0 0; padding: 3rem 1.3rem 1.2rem; background: linear-gradient(transparent, rgba(10,20,40,.85)); display: grid; gap: .1rem; }
.zona-txt b { font-family: Sora, sans-serif; font-size: 1.5rem; }
.zona-txt small { opacity: .85; }
.zona-txt em { font-style: normal; font-weight: 700; margin-top: .4rem; color: #ffd8b0; transition: transform .25s; }
.zona:hover .zona-txt em { transform: translateX(6px); }
.m-zona > p { margin-bottom: 1rem; }
.m-zona .poi li { background: #fff; border-color: var(--linha); backdrop-filter: none; }
.m-zona .poi b { color: var(--tinta); }
.z-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .8rem; }
.z-fotos button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.z-fotos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.z-fotos button:hover img { transform: scale(1.1); }
.m-mapa { font-weight: 700; color: var(--violeta); }
.m-bloco .aspas { font-size: 1rem; margin-top: 0; }

/* ===== Política de privacidade ===== */
.priv { border: 0; padding: 0; border-radius: 26px; width: min(760px, 94vw); max-height: 90vh; background: var(--fundo); color: var(--texto); box-shadow: 0 40px 90px -30px rgba(29,20,51,.8); overflow: auto; }
.priv::backdrop { background: rgba(29,20,51,.6); backdrop-filter: blur(6px); }
.priv[open] { animation: abre .35s cubic-bezier(.2,.9,.3,1.2); }
.priv article { padding: 2rem clamp(1.2rem, 4vw, 2.6rem) 2.4rem; }
.priv h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .3rem; }
.priv h3 { font-size: 1.05rem; margin: 1.4rem 0 .35rem; }
.priv .atualizado { font-size: .85rem; opacity: .75; }
.priv p { line-height: 1.7; }
