:root {
  --areia: #EDE4D3;
  --areia-clara: #F5EFE3;
  --verde: #1E3B2F;
  --verde-escuro: #142921;
  --agua: #8FC1B5;
  --terracota: #A9762F;
  --ambar: #C08A3E;
  --tinta: #22271F;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
body {
  font-family: var(--sans);
  background: var(--areia);
  color: var(--tinta);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 420; line-height: 1.08; }
h1 em, h2 em, .footer__brand em, .nav__brand em { font-style: italic; font-weight: 340; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracota);
  margin-bottom: 1.2rem;
}
.eyebrow--light { color: var(--areia-clara); opacity: 0.9; }
.eyebrow--agua { color: var(--agua); }

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.9rem;
  border: 1.5px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn--primary { background: var(--terracota); color: #fff; }
.btn--primary:hover { background: #8A5F24; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(245, 239, 227, 0.7); color: var(--areia-clara); }
.btn--ghost:hover { background: rgba(245, 239, 227, 0.14); }
.btn--lg { padding: 1.15rem 2.4rem; }
.btn--nav { padding: 0.6rem 1.3rem; background: var(--verde); color: var(--areia-clara); font-size: 0.78rem; }
.btn--nav:hover { background: var(--verde-escuro); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--terracota); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.nav--solid { background: var(--areia); box-shadow: 0 1px 0 rgba(34, 39, 31, 0.12); padding-block: 0.75rem; }
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--areia-clara);
  text-decoration: none;
  transition: color 0.35s;
}
.nav--solid .nav__brand { color: var(--tinta); }
.brand__mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand__sun { fill: var(--ambar); }
.brand__mark path { stroke: currentColor; }
.brand__word {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 420;
  letter-spacing: 0.22em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 0.28em;
}
.brand__word small {
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.72;
}
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  color: var(--areia-clara);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.35s, opacity 0.2s;
}
.nav--solid .nav__links a { color: var(--tinta); }
.nav__links a:hover { opacity: 0.65; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__video.is-on { opacity: 1; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 41, 33, 0.52) 0%, rgba(20, 41, 33, 0.18) 40%, transparent 62%),
    linear-gradient(to bottom, rgba(20, 41, 33, 0.3) 0%, rgba(20, 41, 33, 0.05) 42%, rgba(20, 41, 33, 0.6) 100%);
}
.hero__content {
  position: relative;
  padding: 0 clamp(1.2rem, 5vw, 4.5rem) 3rem;
  max-width: 860px;
  color: var(--areia-clara);
}
.hero__content h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  margin-bottom: 1.2rem;
  text-wrap: balance;
}
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 34em; opacity: 0.94; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__facts {
  position: relative;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(245, 239, 227, 0.28);
  margin-top: 3rem;
}
.hero__facts li {
  flex: 1 1 auto;
  text-align: center;
  padding: 1.1rem 1rem;
  color: var(--areia-clara);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero__facts li + li { border-left: 1px solid rgba(245, 239, 227, 0.28); }
@media (max-width: 640px) {
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__facts li + li { border-left: none; }
  .hero__facts li:nth-child(even) { border-left: 1px solid rgba(245, 239, 227, 0.28); }
}

/* ---------- intro ---------- */
.intro { padding: clamp(5rem, 11vw, 9rem) clamp(1.2rem, 5vw, 4.5rem); }
.intro__text {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.35;
  max-width: 21em;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}
.intro__text em { color: var(--terracota); }

/* ---------- flat ---------- */
.flat { padding: 0 clamp(1.2rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); }
.flat__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: 2.6rem;
}
@media (max-width: 860px) { .flat__head { grid-template-columns: 1fr; align-items: start; } }
.flat__lede { max-width: 30em; font-size: 1.02rem; opacity: 0.85; padding-bottom: 0.4rem; }
.flat__feature { position: relative; overflow: hidden; }
.flat__feature img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 640px) { .flat__feature img { aspect-ratio: 4 / 3; } }
.flat__feature, .flat__card { position: relative; overflow: hidden; }
.flat__feature img, .flat__card img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.flat__feature figcaption,
.flat__card figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: rgba(20, 41, 33, 0.44);
  color: var(--areia-clara);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  text-wrap: balance;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.flat__feature figcaption::before,
.flat__card figcaption::before {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(245, 239, 227, 0.75);
  margin-bottom: 1rem;
  transform: scaleX(0);
  transition: transform 0.6s ease 0.15s;
}
@media (hover: hover) {
  .flat__feature:hover figcaption, .flat__card:hover figcaption { opacity: 1; }
  .flat__feature:hover figcaption::before, .flat__card:hover figcaption::before { transform: scaleX(1); }
  .flat__feature:hover img, .flat__card:hover img { transform: scale(1.035); }
}
.flat__feature.is-focus figcaption, .flat__card.is-focus figcaption { opacity: 1; }
.flat__feature.is-focus figcaption::before, .flat__card.is-focus figcaption::before { transform: scaleX(1); }
.flat__feature.is-focus img, .flat__card.is-focus img { transform: scale(1.035); }
.flat__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
  align-items: start;
}
.flat__amenline {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(34, 39, 31, 0.14);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  line-height: 2.1;
}
@media (max-width: 860px) { .flat__row { grid-template-columns: 1fr; } }
.flat__card img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.flat__specs { padding-top: 0.4rem; }
.flat__specs h3 {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 340;
  color: var(--terracota);
  margin-bottom: 1rem;
}
.flat__specs ul { list-style: none; }
.flat__specs li {
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(34, 39, 31, 0.14);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.flat__specs li:first-child { border-top: 1px solid rgba(34, 39, 31, 0.14); }
.flat__note { margin-top: 1.8rem; font-size: 0.8rem; opacity: 0.6; max-width: 44em; }
.flat__tour {
  display: block;
  margin-top: 2.6rem;
  padding: 2.2rem 2.4rem;
  background: var(--verde-escuro);
  color: var(--areia-clara);
  text-decoration: none;
  transition: background 0.3s;
}
.flat__tour:hover { background: var(--verde); }
.flat__tour-eyebrow {
  display: block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--agua); margin-bottom: 0.7rem;
}
.flat__tour-title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 420;
}
.flat__tour-title em { font-style: normal; color: var(--ambar); transition: transform 0.3s; display: inline-block; }
.flat__tour:hover .flat__tour-title em { transform: translateX(8px); }
.flat__tour-sub { display: block; margin-top: 0.6rem; font-size: 0.88rem; opacity: 0.7; }
.nav__tour { color: var(--ambar) !important; font-weight: 600; }

/* ---------- galeria ---------- */
.gallery { overflow-x: auto; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery__track { display: flex; gap: 0.8rem; padding: 0 clamp(1.2rem, 5vw, 4.5rem); width: max-content; }
.gallery__track img { height: clamp(300px, 46vw, 480px); width: auto; }

/* ---------- maré ---------- */
.mare { background: var(--verde-escuro); color: var(--areia-clara); margin-top: clamp(4rem, 8vw, 7rem); }
.mare__inner { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4.5rem); max-width: 1200px; margin: 0 auto; }
.mare h2 em { color: var(--agua); }
.mare__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 3.5rem;
}
@media (max-width: 860px) { .mare__steps { grid-template-columns: 1fr; } }
.mare__step { border-top: 1px solid rgba(143, 193, 181, 0.35); padding-top: 1.5rem; }
.mare__tide {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--agua);
  margin-bottom: 0.9rem;
}
.mare__step h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.mare__step p { font-size: 0.95rem; opacity: 0.85; }
.mare__note { margin-top: 3.2rem; font-size: 0.88rem; opacity: 0.65; font-style: italic; max-width: 40em; }

/* ---------- localização ---------- */
.local {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4.5rem);
}
@media (max-width: 860px) { .local { grid-template-columns: 1fr; } }
.local__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.local__lead {
  background: var(--verde-escuro);
  color: var(--areia-clara);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.8rem, 3.5vw, 3.2rem);
}
@media (max-width: 860px) { .local__lead { aspect-ratio: auto; } }
.local__lead-eyebrow {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--agua); margin-bottom: 1rem;
}
.local__lead h3 {
  font-family: var(--serif); font-weight: 420;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.12;
}
.local__lead h3 em { font-style: italic; font-weight: 340; color: #E8C489; }
.local__lead-sub { margin-top: 1rem; font-size: 0.92rem; opacity: 0.8; max-width: 34em; }
.local__lead form { margin-top: 1.8rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.local__lead-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.local__lead-row input {
  flex: 1 1 200px;
  background: rgba(245, 239, 227, 0.08);
  border: 1px solid rgba(245, 239, 227, 0.3);
  color: var(--areia-clara);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.95rem 1.1rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.local__lead-row input::placeholder { color: rgba(245, 239, 227, 0.45); }
.local__lead-row input:focus { border-color: var(--ambar); background: rgba(245, 239, 227, 0.12); }
.local__lead-msg { margin-top: 0.9rem; font-size: 0.85rem; min-height: 1.3em; color: var(--agua); }
.local__lead-msg.is-error { color: #E09A6B; }
.local__list { list-style: none; margin-top: 2.2rem; }
.local__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(34, 39, 31, 0.18);
  font-size: 0.95rem;
}
.local__list span { opacity: 0.65; white-space: nowrap; }
.local__wedding { margin-top: 2.4rem; background: var(--areia-clara); padding: 1.6rem 1.8rem; border-left: 3px solid var(--terracota); }
.local__wedding h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.local__wedding p { font-size: 0.92rem; }

/* ---------- tarifas ---------- */
.tarifas { padding: 0 clamp(1.2rem, 5vw, 4.5rem) clamp(4.5rem, 9vw, 8rem); text-align: center; }
.tarifas h2 { max-width: 16em; margin: 0 auto; }
.tarifas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3.2rem;
  text-align: left;
}
@media (max-width: 860px) { .tarifas__grid { grid-template-columns: 1fr; } }
.tarifa { background: var(--areia-clara); padding: 2.2rem 2rem; }
.tarifa--alta { background: var(--verde); color: var(--areia-clara); }
.tarifa h3 { font-size: 1.35rem; }
.tarifa__meses { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; margin-top: 0.35rem; }
.tarifa__preco { font-family: var(--serif); font-size: 2.6rem; font-weight: 420; margin: 1.2rem 0 0.8rem; }
.tarifa__preco span { font-size: 1rem; font-family: var(--sans); opacity: 0.6; }
.tarifa__desc { font-size: 0.9rem; opacity: 0.85; }
.tarifas__reveillon { margin-top: 2.2rem; font-size: 0.88rem; opacity: 0.75; max-width: 52em; margin-inline: auto; }

/* ---------- cta ---------- */
.cta { position: relative; padding: clamp(6rem, 13vw, 11rem) clamp(1.2rem, 5vw, 4.5rem); text-align: center; overflow: hidden; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__veil { position: absolute; inset: 0; background: rgba(20, 41, 33, 0.62); }
.cta__content { position: relative; color: var(--areia-clara); }
.cta__content h2 { margin-bottom: 2.2rem; text-wrap: balance; }
.cta__content h2 em { color: var(--agua); }
.cta__hint { margin-top: 1.2rem; font-size: 0.85rem; opacity: 0.8; }

/* ---------- footer ---------- */
.footer { background: var(--verde-escuro); color: var(--areia-clara); text-align: center; padding: 3.5rem 1.5rem 2.5rem; font-size: 0.88rem; }
.footer__brand { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.28em; margin-bottom: 1rem; }
.footer a { color: var(--agua); }
.footer__ig { display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; }
.footer__ig svg { width: 15px; height: 15px; flex-shrink: 0; }
.footer__credit { margin-top: 1.6rem; font-size: 0.72rem; opacity: 0.55; max-width: 46em; margin-inline: auto; }
.footer__legal { margin-top: 0.8rem; font-size: 0.72rem; opacity: 0.55; }
.footer__legal a { color: inherit; }

/* ---------- whatsapp flutuante ---------- */
.whats {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(20, 41, 33, 0.35);
  transition: transform 0.25s;
}
.whats:hover { transform: scale(1.08); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
