/* Pousada Pé na Areia — modelo 3D / imersivo */
:root {
  --noite: #16202b;
  --ardosia: #233140;
  --mare: #2b6c84;
  --mare-claro: #7fb3c8;
  --espuma: #eef6f8;
  --areia: #e6d3b3;
  --areia-clara: #f6efe3;
  --telha: #a5583f;
  --sol: #e8a15c;
  --texto: #16202b;
  --suave: #5d6b78;
  --borda: rgba(22, 32, 43, .12);
  --display: "Fraunces", Georgia, serif;
  --corpo: "Manrope", system-ui, sans-serif;
  --saida: cubic-bezier(.22, 1, .36, 1);
  --mola: cubic-bezier(.34, 1.56, .64, 1);
  --raio: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--corpo); color: var(--texto); background: var(--noite); line-height: 1.6; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.02em; font-variation-settings: "opsz" 120, "SOFT" 50; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
p { margin: 0; }
.oculto { display: none !important; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 6px; }

/* ---------- mar 3D ---------- */
#oceano { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; display: block; opacity: 0; transition: opacity 1.2s ease; }
#oceano.ativo { opacity: 1; }
.fundo-alt { position: fixed; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(22,32,43,.15), rgba(22,32,43,.45)), url("../assets/img/fotos/area-5.jpg") center/cover; display: none; }
.sem-webgl .fundo-alt { display: block; }
.sem-webgl #oceano { display: none; }
main, .rodape, .topo { position: relative; z-index: 1; }

/* ---------- carregando ---------- */
#carregando { position: fixed; inset: 0; z-index: 100; background: var(--noite); display: grid; place-items: center; transition: opacity .8s ease .1s, visibility .8s; }
#carregando.saiu { opacity: 0; visibility: hidden; }
.carr-marca { display: grid; gap: 14px; justify-items: center; color: var(--espuma); }
.carr-nome { font-family: var(--display); font-style: italic; font-size: clamp(2.4rem, 7vw, 4rem); letter-spacing: -.02em; }
.carr-linha { width: 180px; height: 2px; background: rgba(238,246,248,.15); overflow: hidden; border-radius: 2px; }
.carr-linha i { display: block; height: 100%; width: 40%; background: var(--sol); animation: carr 1.1s ease-in-out infinite; }
.carr-txt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
@keyframes carr { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- botões ---------- */
.btn { --bg: var(--telha); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; border: 0; font: 600 .98rem/1 var(--corpo); text-decoration: none; cursor: pointer; color: #fff; background: var(--bg); transition: transform .35s var(--saida), background .25s, box-shadow .3s; position: relative; will-change: transform; }
.btn:active { transform: scale(.96); }
.btn-sol { background: linear-gradient(135deg, #c06a48, var(--telha)); box-shadow: 0 10px 30px -10px rgba(165, 88, 63, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-sol:hover { box-shadow: 0 16px 40px -10px rgba(192, 106, 72, .95), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-vidro { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn-vidro:hover { background: rgba(255,255,255,.24); }
.btn-escuro { background: var(--ardosia); }
.btn-escuro:hover { background: var(--noite); }
.btn-contorno { background: transparent; color: var(--ardosia); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-contorno:hover { background: rgba(35,49,64,.06); }
.btn.peq { padding: 11px 18px; font-size: .9rem; }
.btn.largo { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- topo ---------- */
.topo { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 18px clamp(16px, 4vw, 48px); color: #fff; transition: background .4s, padding .4s, color .4s, box-shadow .4s; }
.topo.solido { background: rgba(22, 32, 43, .72); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca svg { width: 38px; height: 38px; color: var(--sol); }
.marca b { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 500; line-height: 1; }
.marca small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-top: 3px; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { text-decoration: none; padding: 9px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; opacity: .9; transition: background .25s, opacity .25s; }
.menu a:hover { background: rgba(255,255,255,.14); opacity: 1; }
.menu-botao { display: none; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 120px clamp(20px, 6vw, 90px) 150px; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 70% at 10% 35%, rgba(10, 18, 28, .42), transparent 65%), linear-gradient(180deg, rgba(10,18,28,.35), transparent 30%); }
.hero-conteudo { position: relative; max-width: 760px; }
.sobretitulo { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--sol); box-shadow: 0 0 0 0 rgba(232,161,92,.7); animation: pulso 2.4s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(232,161,92,0); } 100% { box-shadow: 0 0 0 0 rgba(232,161,92,0); } }
.titulo-hero { font-size: clamp(4.2rem, 13.5vw, 11.5rem); line-height: .86; margin: 26px 0 22px; font-weight: 350; text-shadow: 0 6px 40px rgba(6, 14, 24, .35); perspective: 800px; }
.titulo-hero .linha { display: block; overflow: hidden; padding-bottom: .08em; }
.titulo-hero .ital { font-style: italic; font-weight: 300; color: #fff3e6; }
.titulo-hero .l { display: inline-block; transform: translateY(105%) rotateX(-70deg); transform-origin: 50% 100%; opacity: 0; transition: transform 1.1s var(--saida), opacity .8s ease; transition-delay: calc(var(--i) * 55ms + 150ms); }
.pronto .titulo-hero .l { transform: none; opacity: 1; }
.frase { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 30ch; opacity: .95; text-shadow: 0 2px 18px rgba(6,14,24,.45); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.revela-hero { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s var(--saida); transition-delay: .75s; }
.pronto .revela-hero { opacity: 1; transform: none; }
.frase.revela-hero { transition-delay: .6s; }
.acoes.revela-hero { transition-delay: .78s; }
.selos { position: absolute; left: clamp(20px, 6vw, 90px); right: clamp(20px, 6vw, 90px); bottom: 34px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; transition-delay: 1s !important; }
.selos li { padding: 9px 16px; border-radius: 999px; font-size: .88rem; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.selos b { font-family: var(--display); font-size: 1.05rem; font-weight: 500; margin-right: 2px; }
.dica-agua { position: absolute; right: clamp(20px, 6vw, 90px); bottom: 100px; display: flex; align-items: center; gap: 10px; font-size: .85rem; letter-spacing: .06em; opacity: .85; transition-delay: 1.3s !important; pointer-events: none; }
.anel-dica { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #fff; position: relative; }
.anel-dica::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid #fff; animation: ondinha 2s var(--saida) infinite; }
@keyframes ondinha { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.dica-agua.usada { opacity: 0 !important; transition: opacity .6s !important; }
.so-toque { display: none; }
@media (pointer: coarse) { .so-toque { display: inline; } .so-mouse { display: none; } }
.rolar { position: absolute; left: 50%; bottom: 96px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.rolar span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: rolar 1.8s ease-in-out infinite; }
@keyframes rolar { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- seções ---------- */
.sec { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.sec-areia { background: var(--areia-clara); }
.sec-espuma { background: var(--espuma); }
.sec-noite { background: radial-gradient(120% 80% at 50% 0%, #22374a, var(--noite) 60%); color: #fff; overflow: hidden; }
.contem { width: min(1200px, 100% - 2 * clamp(20px, 5vw, 48px)); margin: 0 auto; }
.duas { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.rotulo { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mare); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.rotulo::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.rotulo.claro { color: var(--mare-claro); }
.lead { font-size: 1.1rem; color: var(--suave); margin-top: 20px; max-width: 52ch; }
.sec-noite .lead, .reservar .lead, .tunel .lead { color: rgba(238,246,248,.75); }
.nota { font-size: .86rem; color: var(--suave); margin-top: 18px; }
.cab { text-align: center; display: grid; justify-items: center; }
.cab .rotulo::after { content: ""; width: 26px; height: 1.5px; background: currentColor; }

/* revelar ao rolar (3D) */
[data-revela] { opacity: 0; transform: perspective(1200px) translateY(50px) rotateX(10deg); transform-origin: 50% 100%; transition: opacity 1s ease, transform 1.2s var(--saida); }
[data-revela].visto { opacity: 1; transform: none; }

/* fatos */
.fatos { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.fatos li { flex: 1 1 120px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--borda), 0 18px 40px -28px rgba(22,32,43,.4); }
.fatos b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 400; color: var(--mare); line-height: 1; }
.fatos span { font-size: .88rem; color: var(--suave); display: block; }
.fatos svg { width: 32px; height: 32px; fill: none; stroke: var(--mare); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; margin-bottom: 2px; }

/* palco com camadas em profundidade */
.palco { position: relative; aspect-ratio: 1 / 1; transform-style: preserve-3d; perspective: 1100px; }
.palco .camada { position: absolute; margin: 0; border-radius: var(--raio); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(22,32,43,.6), 0 0 0 1px rgba(255,255,255,.4) inset; transition: transform .9s var(--saida); will-change: transform; background: var(--areia); }
.palco img, .palco video { width: 100%; height: 100%; object-fit: cover; }
.c-fundo { inset: 0 22% 30% 0; }
.c-video { inset: 18% 0 22% 30%; }
.c-frente { inset: 58% 38% 0 6%; }
.c-mini { inset: 52% 4% 6% 66%; border-radius: 999px 999px var(--raio) var(--raio) !important; }
.palco-legenda { position: absolute; left: 0; top: -4%; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--suave); transition: transform .9s var(--saida); }

/* ---------- anel de suítes ---------- */
.anel { position: relative; height: clamp(440px, 58vw, 580px); margin-top: 40px; }
.anel-cena { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.anel-cena.arrastando { cursor: grabbing; }
.anel-trilho { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.cartao { --w: clamp(230px, 26vw, 310px); position: absolute; width: var(--w); height: calc(var(--w) * 1.38); left: calc(var(--w) / -2); top: calc(var(--w) * -0.69); border-radius: 24px; overflow: hidden; transform-style: preserve-3d; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #0e1720; box-shadow: 0 50px 80px -40px rgba(0,0,0,.8); transition: filter .4s, opacity .4s; cursor: pointer; padding: 0; border: 0; color: #fff; text-align: left; font: inherit; }
.cartao-in { position: absolute; inset: 0; transition: transform .25s ease-out; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.cartao img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; transform: translate3d(calc(var(--ry, 0deg) * -.6), calc(var(--rx, 0deg) * .6), 0) scale(1.02); transition: transform .25s ease-out; pointer-events: none; }
.cartao-in::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,14,22,0) 45%, rgba(8,14,22,.85)); pointer-events: none; }
.cartao .brilho { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.35), rgba(255,255,255,0) 45%); mix-blend-mode: soft-light; }
.cartao.ativo:hover .brilho { opacity: 1; }
.cartao-txt { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 3; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.cartao-num { font-family: var(--display); font-size: 4.2rem; line-height: .8; font-weight: 300; letter-spacing: -.04em; display: block; }
.cartao-nome { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.cartao .contador { position: absolute; top: 16px; right: 16px; z-index: 3; font-size: .74rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--noite); }
.cartao .contador.ilustrativa { background: rgba(22,32,43,.78); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.cartao .sem-foto { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, var(--mare), var(--ardosia)); }
.cartao:not(.ativo) { filter: brightness(.55) saturate(.8); }
.anel-chao { position: absolute; left: 10%; right: 10%; bottom: 0; height: 60px; background: radial-gradient(50% 50% at 50% 50%, rgba(127,179,200,.22), transparent 70%); filter: blur(10px); pointer-events: none; }
.anel-controles { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 30px; }
.seta { width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background .25s, transform .35s var(--saida); }
.seta:hover { background: rgba(255,255,255,.2); }
.seta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.suite-detalhe { text-align: center; min-height: 150px; }
.suite-detalhe h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.suite-detalhe .dados { display: flex; justify-content: center; gap: 8px 26px; flex-wrap: wrap; margin: 14px 0 0; font-size: .92rem; color: rgba(238,246,248,.8); }
.suite-detalhe .dados b { color: #fff; font-weight: 600; margin-right: 4px; }
.suite-detalhe .pendente { color: rgba(238,246,248,.5); font-style: italic; }
.suite-detalhe .tags { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tag { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(127,179,200,.16); color: var(--mare-claro); }
.suite-detalhe .acoes { justify-content: center; margin-top: 20px; }
.suite-detalhe .btn-contorno { color: #fff; }
.suite-detalhe .aviso-ilus { font-size: .82rem; color: rgba(238,246,248,.6); margin-top: 10px; }
.troca { animation: troca .55s var(--saida); }
@keyframes troca { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- café: leque de fotos ---------- */
.leque { position: relative; height: clamp(360px, 40vw, 480px); perspective: 1200px; }
.leque .foto { position: absolute; left: 50%; top: 50%; width: clamp(180px, 20vw, 250px); aspect-ratio: 3 / 4; margin: 0; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--areia); box-shadow: 0 30px 60px -30px rgba(22,32,43,.7), 0 0 0 6px #fff; transform: translate(-50%, -50%) rotate(var(--r0)) translateX(var(--x0)); transition: transform .8s var(--saida), box-shadow .4s; transform-origin: 50% 120%; }
.leque .foto img { width: 100%; height: 100%; object-fit: cover; }
.leque:hover .foto, .leque.aberto .foto { transform: translate(-50%, -50%) rotate(var(--r1)) translateX(var(--x1)); }
.leque .foto:hover { transform: translate(-50%, -50%) rotate(var(--r1)) translateX(var(--x1)) translateY(-26px) translateZ(60px) scale(1.06) !important; box-shadow: 0 50px 80px -30px rgba(22,32,43,.8), 0 0 0 6px #fff; z-index: 10; }

/* ---------- túnel da galeria ---------- */
.tunel { position: relative; background: radial-gradient(100% 70% at 50% 50%, #1d2f3f, #0d151d 70%); color: #fff; }
.tunel-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 900px; perspective-origin: 50% 50%; }
.tunel-titulo { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; display: grid; justify-items: center; z-index: 1; pointer-events: none; transition: opacity .2s linear; }
.tunel-titulo .rotulo::after { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.tunel-mundo { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.quadro { position: absolute; margin: 0; width: clamp(240px, 30vw, 440px); transform-style: preserve-3d; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; text-align: left; font: inherit; will-change: transform, opacity; }
.quadro .moldura { border-radius: 16px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12); background: #1d2a36; }
.quadro img, .quadro video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.quadro.retrato img { aspect-ratio: 3 / 4; }
.quadro figcaption { font-size: .88rem; margin-top: 12px; opacity: .8; }
.quadro .play { position: absolute; top: 14px; left: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.tunel-contador { position: absolute; right: clamp(20px, 5vw, 48px); bottom: 34px; font-family: var(--display); font-size: 1.3rem; font-variant-numeric: tabular-nums; opacity: .75; }
.tunel-barra { position: absolute; left: clamp(20px, 5vw, 48px); bottom: 46px; width: min(260px, 40vw); height: 2px; background: rgba(255,255,255,.15); }
.tunel-barra i { display: block; height: 100%; width: 100%; background: var(--sol); transform-origin: 0 50%; transform: scaleX(0); }
/* sem movimento: vira grade */
.tunel.plano .tunel-palco { position: static; height: auto; overflow: visible; perspective: none; padding: 100px 0; }
.tunel.plano .tunel-titulo { position: static; transform: none; margin-bottom: 40px; }
.tunel.plano .tunel-mundo { position: static; width: min(1200px, 92%); height: auto; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; transform: none !important; }
.tunel.plano .quadro { position: static; width: auto; transform: none !important; opacity: 1 !important; }
.tunel.plano .tunel-contador, .tunel.plano .tunel-barra { display: none; }

/* ---------- reservar (sobre o mar) ---------- */
.reservar { min-height: 100vh; padding: clamp(110px, 14vw, 170px) 0; display: flex; align-items: center; color: #fff; position: relative; }
.reservar::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #0d151d 0%, rgba(13,21,29,0) 22%, rgba(13,21,29,0) 75%, rgba(246,239,227,.0) 100%); }
.vidro { background: linear-gradient(160deg, rgba(30,40,54,.55), rgba(14,22,32,.62)); backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5); border-radius: 30px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.16), 0 40px 100px -40px rgba(0,0,0,.6); }
.painel-reserva { position: relative; max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); }
.busca { display: grid; grid-template-columns: 1fr 1fr .7fr .7fr auto; gap: 12px; margin-top: 30px; align-items: end; }
.busca label, #formReserva label { display: grid; gap: 6px; }
.busca label span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.busca input, .busca select { width: 100%; padding: 14px 14px; border-radius: 14px; border: 0; font: 500 1rem var(--corpo); color: #fff; background: rgba(8,14,22,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color-scheme: dark; }
.busca input:focus, .busca select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--sol); }
.busca select option { color: var(--noite); }
.aviso { margin-top: 16px; padding: 12px 16px; border-radius: 14px; font-size: .95rem; background: rgba(255,255,255,.12); }
.aviso.erro { background: rgba(165, 88, 63, .3); box-shadow: inset 0 0 0 1px rgba(255,160,130,.4); }
.resultados { display: grid; gap: 12px; margin-top: 24px; }
.resultados.carregando { opacity: .5; }
.res { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 12px; border-radius: 20px; background: rgba(8,14,22,.32); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); animation: entraRes .7s var(--saida) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes entraRes { from { opacity: 0; transform: perspective(800px) translateY(20px) rotateX(-12deg); } to { opacity: 1; transform: none; } }
.res img, .res .sem { width: 110px; height: 84px; object-fit: cover; border-radius: 14px; background: var(--mare); }
.res h3 { font-size: 1.4rem; }
.res small { opacity: .75; font-size: .85rem; }
.res .preco { font-family: var(--display); font-size: 1.5rem; text-align: right; }
.res-direita { display: grid; gap: 8px; justify-items: end; }
.res.preferida { box-shadow: inset 0 0 0 2px var(--sol); }

/* ---------- localização ---------- */
.contatos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contatos li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 1.02rem; }
.contatos svg { width: 22px; height: 22px; color: var(--mare); margin-top: 2px; }
.contatos a { text-decoration: none; border-bottom: 1px solid var(--borda); }
.mapa-3d { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 50px 90px -50px rgba(22,32,43,.7), 0 0 0 8px #fff; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, -6deg)); transition: transform .5s var(--saida), opacity 1s, filter .4s; }
.mapa-3d iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapa-3d.visto { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, -6deg)); }

/* ---------- rodapé ---------- */
.rodape { background: var(--noite); color: rgba(238,246,248,.8); padding: 50px 0 90px; font-size: .92rem; }
.rodape-grade { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.rodape-nome { font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: #fff; display: block; margin-bottom: 6px; }
.rodape-links { display: flex; gap: 22px; align-items: center; }
.rodape-links a { text-decoration: none; opacity: .75; }
.rodape-links a:hover { opacity: 1; }

/* ---------- WhatsApp flutuante ---------- */
.zap-flutuante { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(0,0,0,.5); transition: transform .4s var(--saida); }
.zap-flutuante svg { width: 32px; height: 32px; }
.zap-flutuante:hover { transform: scale(1.08); }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 90; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor.ligado { display: block; } }
.cursor-ponto, .cursor-anel { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-ponto { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor-anel { width: 38px; height: 38px; margin: -19px 0 0 -19px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); mix-blend-mode: difference; display: grid; place-items: center; transition: width .35s var(--saida), height .35s var(--saida), margin .35s var(--saida), background .3s; }
.cursor-anel em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.link .cursor-anel { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(255,255,255,.15); }
.cursor.rotulo .cursor-anel { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(255,255,255,.95); mix-blend-mode: normal; }
.cursor.rotulo .cursor-anel em { opacity: 1; color: var(--noite); }
.cursor.rotulo .cursor-ponto { opacity: 0; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8,12,18,.94); backdrop-filter: blur(10px); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 70px 80px 30px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.aberto { opacity: 1; visibility: visible; }
.lb-palco { perspective: 1400px; width: 100%; height: 100%; display: grid; place-items: center; }
.lb-conteudo { max-width: 100%; max-height: 100%; display: grid; place-items: center; }
.lb-conteudo img, .lb-conteudo video { max-width: min(1200px, 100%); max-height: calc(100vh - 160px); border-radius: 14px; box-shadow: 0 40px 100px -30px #000; }
.lb-conteudo.entra-d { animation: lbD .6s var(--saida); }
.lb-conteudo.entra-e { animation: lbE .6s var(--saida); }
@keyframes lbD { from { opacity: 0; transform: translateX(60px) rotateY(-22deg) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lbE { from { opacity: 0; transform: translateX(-60px) rotateY(22deg) scale(.94); } to { opacity: 1; transform: none; } }
.lb-legenda { color: rgba(255,255,255,.85); margin-top: 16px; text-align: center; font-size: .95rem; }
.lb-fechar { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; cursor: pointer; }
.lb-seta { position: absolute; top: 50%; margin-top: -28px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-seta svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-ant { left: 16px; } .lb-prox { right: 16px; }

/* ---------- modal de reserva ---------- */
.modal { position: fixed; inset: 0; z-index: 85; background: rgba(8,12,18,.6); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.aberto { opacity: 1; visibility: visible; }
.modal-caixa { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--areia-clara); border-radius: 26px; padding: 34px clamp(22px, 4vw, 38px); transform: perspective(1000px) translateY(30px) rotateX(-10deg) scale(.96); transition: transform .5s var(--saida); }
.modal.aberto .modal-caixa { transform: none; }
.modal-fechar { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(22,32,43,.08); font-size: 1.5rem; cursor: pointer; }
.modal h3 { font-size: 2rem; margin-bottom: 14px; }
.resumo { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: #fff; font-size: .93rem; margin-bottom: 18px; }
.resumo div { display: flex; justify-content: space-between; gap: 12px; }
.resumo span:first-child { color: var(--suave); }
.resumo .total { border-top: 1px solid var(--borda); padding-top: 8px; margin-top: 4px; font-weight: 700; }
#formReserva { display: grid; gap: 12px; }
#formReserva span { font-size: .85rem; font-weight: 600; }
#formReserva input, #formReserva textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--borda); background: #fff; font: 1rem var(--corpo); }
#formReserva input:focus, #formReserva textarea:focus { outline: none; border-color: var(--mare); box-shadow: 0 0 0 3px rgba(43,108,132,.15); }
#formReserva input.invalido { border-color: var(--telha); box-shadow: 0 0 0 3px rgba(165,88,63,.15); }
.hosp-titulo { font-family: var(--display); font-size: 1.15rem; margin-top: 4px; }
.hosp-nota { font-size: .85rem; color: var(--suave); margin-top: -6px; }
.hospedes { display: grid; gap: 12px; padding-top: 6px; border-top: 1px solid var(--borda); }
.hosp { border: 1px solid var(--borda); border-radius: 14px; padding: 10px 14px 14px; margin: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; background: rgba(255,255,255,.55); }
.hosp legend { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mare); padding: 0 6px; }
#formReserva .aceite { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
#formReserva .aceite input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--mare); }
#formReserva .aceite span { font-weight: 400; }
.sinal-box { text-align: left; display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #fff; font-size: .93rem; }
.sinal-box:empty { display: none; }
.sinal-valor { font-size: 1.02rem; }
.sinal-valor b { font-family: var(--display); font-size: 1.3rem; color: var(--telha); font-weight: 500; }
.pix { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--espuma); }
.pix span { grid-column: 1 / -1; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mare); }
.pix b { word-break: break-all; }
.pix small { grid-column: 1 / -1; color: var(--suave); }
.btn-copiar { border: 0; border-radius: 999px; padding: 8px 14px; background: var(--mare); color: #fff; font: 600 .82rem var(--corpo); cursor: pointer; }
.prazo { color: #7d3a26; }
@media (max-width: 480px) { .hosp { grid-template-columns: 1fr; } }
#mrErro .aviso { background: rgba(165,88,63,.12); color: #7d3a26; }
#mrEtapaOk { text-align: center; display: grid; gap: 10px; }
.codigo { font-family: var(--display); font-size: 2.4rem; letter-spacing: .08em; color: var(--mare); }
.ok-icone svg { width: 70px; height: 70px; margin: 0 auto; fill: none; stroke: var(--mare); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ok-icone circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: traco .8s var(--saida) forwards; }
.ok-icone path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: traco .5s var(--saida) .5s forwards; }
@keyframes traco { to { stroke-dashoffset: 0; } }

.faixa-demo { position: fixed; right: 16px; top: 84px; transition: opacity .6s; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; z-index: 39; background: rgba(22,32,43,.85); color: #fff; font-size: .8rem; padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(8px); white-space: nowrap; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .menu { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px; background: rgba(13,21,29,.96); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .menu a { font-family: var(--display); font-size: 2rem; }
  .menu.aberto { opacity: 1; visibility: visible; }
  .menu-botao { display: grid; gap: 6px; place-content: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); cursor: pointer; margin-left: auto; }
  .menu-botao span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--saida); }
  .menu-botao[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-botao[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .topo > .btn { display: none; }
  .duas { grid-template-columns: 1fr; }
  .busca { grid-template-columns: 1fr 1fr; }
  .busca .btn { grid-column: 1 / -1; }
  .res { grid-template-columns: 84px 1fr; }
  .res img, .res .sem { width: 84px; height: 72px; }
  .res-direita { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
  .res .preco { text-align: left; font-size: 1.25rem; }
}
@media (max-width: 600px) {
  .hero { padding-bottom: 190px; justify-content: flex-end; }
  .selos { bottom: 24px; gap: 6px; }
  .selos li { font-size: .78rem; padding: 7px 11px; }
  .dica-agua { position: relative; left: auto; right: auto; bottom: auto; margin-top: 22px; }
  .rolar { display: none; }
  .anel-controles { grid-template-columns: 1fr 1fr; }
  .suite-detalhe { grid-column: 1 / -1; grid-row: 1; }
  .seta { justify-self: center; }
  .leque .foto { width: 160px; }
  .lightbox { padding: 60px 10px 20px; }
  .lb-seta { top: auto; bottom: 18px; margin: 0; }
  .zap-flutuante { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-revela] { opacity: 1; transform: none; }
}
