/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, select { font: inherit; }

/* ===== TOKENS ===== */
:root {
  --deep-blue: #0B1F3A;
  --lagoon-blue: #1F5F8B;
  --sand: #F5F1E8;
  --white: #FFFFFF;
  --soft-gray: #F4F4F4;
  --ink: #16232F;
  --muted: #5B6B7A;
  --line: rgba(11,31,58,0.1);
  --sans: 'Inter', -apple-system, Arial, sans-serif;
  --display: 'Poppins', var(--sans);
  --ease: cubic-bezier(.16,.84,.32,1);
  --grad: linear-gradient(120deg, var(--lagoon-blue), var(--deep-blue));
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

.skip-link { position: absolute; left: -999px; top: 0; background: var(--lagoon-blue); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }
::selection { background: var(--lagoon-blue); color: #fff; }

.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
.section { padding: 110px 0; }
.section-alt { background: var(--soft-gray); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow { display: block; font-size: 0.78rem; letter-spacing: 0.14rem; text-transform: uppercase; color: var(--lagoon-blue); margin-bottom: 14px; font-weight: 600; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.2; color: var(--deep-blue); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 0.94rem; }

.glass {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 20px 50px rgba(11,31,58,0.12);
  border-radius: 20px;
}

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; padding: 15px 30px; border-radius: 50px; transition: all .3s var(--ease); }
.btn-ic { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(31,95,139,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31,95,139,0.42); }
.btn-outline { border: 1.5px solid var(--lagoon-blue); color: var(--lagoon-blue); }
.btn-outline:hover { background: var(--lagoon-blue); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 17px 34px; font-size: 0.98rem; }
.btn-huge { padding: 22px 52px; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 20px 5vw; transition: background .4s, padding .4s, box-shadow .4s; }
.site-header.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); padding: 12px 5vw; box-shadow: 0 4px 24px rgba(11,31,58,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1200px; margin: 0 auto; }
.logo-img { height: 52px; width: auto; display: block; transition: height .3s; }
.site-header.scrolled .logo-img { height: 42px; }
.main-nav { display: flex; gap: 30px; flex: 1; justify-content: center; font-size: 0.9rem; color: #fff; transition: color .3s; }
.site-header.scrolled .main-nav { color: var(--ink); }
.main-nav a { position: relative; padding-bottom: 4px; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--lagoon-blue); transition: width .3s var(--ease); }
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; z-index: 601; position: relative; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s, background .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65) saturate(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,0.55) 0%, rgba(11,31,58,0.25) 45%, rgba(11,31,58,0.85) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; padding: 0 5vw; color: #fff; }
.hero-content .eyebrow { color: #cfe3f0; }
.hero-content h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); color: #fff; margin: 14px 0 16px; }
.hero-sub { font-size: 1.15rem; color: #e4edf3; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.mouse { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.6); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.wheel { width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: wheelMove 1.6s ease-in-out infinite; }
@keyframes wheelMove { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ===== BOOKING BAR ===== */
.booking-bar-section { position: relative; padding: 0; margin-top: -46px; z-index: 10; }
.booking-bar { display: flex; flex-wrap: wrap; gap: 16px; padding: 26px; align-items: end; }
.bb-field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 130px; }
.bb-field-wide { min-width: 160px; }
.bb-field label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04rem; color: var(--muted); }
.bb-field input, .bb-field select { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.bb-field input:focus, .bb-field select:focus { outline: none; border-color: var(--lagoon-blue); }
.bb-submit { flex-shrink: 0; }

.quote-result { margin-top: 20px; }
.quote-card { padding: 30px; max-width: 460px; margin: 0 auto; }
.quote-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.quote-total { font-weight: 700; font-size: 1.15rem; color: var(--deep-blue); border-bottom: none; }
.quote-note { color: var(--muted); font-size: 0.78rem; margin: 14px 0 18px; }

/* ===== ABOUT ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.col-photo img { border-radius: 20px; box-shadow: 0 30px 60px rgba(11,31,58,0.18); }
.col-text p { color: var(--muted); margin-bottom: 16px; max-width: 480px; }
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.highlight-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink); }
.highlight-item svg { width: 22px; height: 22px; color: var(--lagoon-blue); flex-shrink: 0; }

/* ===== SUITES ===== */
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.suite-card { overflow: hidden; position: relative; transition: transform .4s var(--ease); }
.suite-card:hover { transform: translateY(-8px); }
.suite-card.featured { border: 2px solid var(--lagoon-blue); }
.suite-badge { position: absolute; top: 16px; right: 16px; background: var(--grad); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; z-index: 2; text-transform: uppercase; letter-spacing: 0.03rem; }
.suite-photo { aspect-ratio: 4/3; border-radius: 20px 20px 0 0; }
.suite-body { padding: 26px; }
.suite-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.suite-body p { color: var(--muted); font-size: 0.88rem; margin-bottom: 14px; }
.suite-amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.suite-amenities li { font-size: 0.72rem; background: var(--soft-gray); padding: 5px 12px; border-radius: 20px; color: var(--muted); }
.suite-btn { width: 100%; justify-content: center; }

/* placeholders */
.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(31,95,139,0.05) 0 12px, rgba(31,95,139,0.09) 12px 24px);
  border: 1px dashed rgba(31,95,139,0.3); color: var(--muted); font-size: 0.78rem;
}
.ph-label { padding: 16px; line-height: 1.5; }

/* ===== ESTRUTURA ===== */
.structure-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.structure-item { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1/1; }
.structure-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.structure-item:hover img { transform: scale(1.08); }
.structure-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px 10px;
  background: linear-gradient(0deg, rgba(11,31,58,0.85), transparent);
  color: #fff; font-size: 0.78rem; font-weight: 600;
}

/* ===== SUSTENTABILIDADE ===== */
.sustain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.sustain-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16/10; }
.sustain-card img { width: 100%; height: 100%; object-fit: cover; }
.sustain-text { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,31,58,0.75), rgba(11,31,58,0.1)); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; }
.sustain-text svg { width: 32px; height: 32px; margin-bottom: 10px; }
.sustain-text h3 { color: #fff; font-size: 1.15rem; }

/* ===== GALERIA ===== */
.masonry { column-count: 3; column-gap: 16px; }
.masonry img { width: 100%; margin-bottom: 16px; border-radius: 16px; cursor: pointer; break-inside: avoid; transition: transform .3s; }
.masonry img:hover { transform: scale(1.02); }

.lightbox { position: fixed; inset: 0; background: rgba(11,31,58,0.92); z-index: 900; display: flex; align-items: center; justify-content: center; padding: 5vw; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox-close svg { width: 20px; height: 20px; }

/* ===== LOCALIZAÇÃO ===== */
.col-map iframe { width: 100%; height: 360px; border: 0; border-radius: 20px; }

/* ===== AVALIAÇÕES ===== */
.review-placeholder { max-width: 480px; margin: 0 auto; padding: 40px; text-align: center; }
.review-placeholder svg { width: 32px; height: 32px; color: var(--lagoon-blue); margin: 0 auto 14px; }
.review-placeholder p { color: var(--muted); font-size: 0.9rem; }

/* ===== CTA FINAL ===== */
.cta-final { position: relative; padding: 140px 0; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,31,58,0.85), rgba(31,95,139,0.75)); }
.cta-final .container { position: relative; z-index: 2; }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 34px; }
.cta-final .text-gradient { background: linear-gradient(120deg, #cfe3f0, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== FOOTER ===== */
.site-footer { background: var(--deep-blue); color: #cfd8e3; padding: 70px 0 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 5vw; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { height: 56px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { color: #9fb0c2; font-size: 0.88rem; max-width: 280px; }
.footer-heading { display: block; font-size: 0.75rem; letter-spacing: 0.1rem; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: #9fb0c2; margin-bottom: 10px; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 22px 5vw 0; border-top: 1px solid rgba(255,255,255,0.12); text-align: center; font-size: 0.78rem; color: #7f91a5; }

/* ===== FLOATING ===== */
.whatsapp-float { position: fixed; bottom: 26px; left: 26px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 400; box-shadow: 0 10px 24px rgba(37,211,102,0.4); transition: transform .3s; }
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: scale(1.1); }
.back-to-top { position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--deep-blue); display: flex; align-items: center; justify-content: center; z-index: 400; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .3s; box-shadow: 0 6px 20px rgba(11,31,58,0.15); }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--lagoon-blue); color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .grid-2 { grid-template-columns: 1fr; }
  .suite-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .structure-grid { grid-template-columns: repeat(3, 1fr); }
  .sustain-grid { grid-template-columns: 1fr; }
  .booking-bar { flex-direction: column; align-items: stretch; }
  .bb-submit { width: 100%; justify-content: center; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .structure-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .booking-bar-section { margin-top: -30px; }
}

.main-nav.open { display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--white); align-items: center; justify-content: center; gap: 34px; font-size: 1.2rem; z-index: 600; color: var(--ink); }
