/* Balneário Camboriú — réplica local da página imersiva da Fever */

:root {
  --ink: #0b1418;
  --muted: #536b75;
  --line: #d4d4d4;
  --line-soft: #e6e8ea;
  --surface: #f5f7fa;
  --surface-2: #fafbfb;
  --accent: #0079ca;
  --pink: #eb0052;
  --radius: 14px;
  --wrap: 82rem;
  --nav-h: 4rem;
  --tab-h: 3rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 120;
  display: flex;
  align-items: center;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
  color: #fff;
}
.nav__wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.brand {
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -.05em;
  text-transform: lowercase;
}
.nav__spacer { flex: 1; }
.nav__btn {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border: 0; background: none; cursor: pointer;
  border-radius: .5rem;
  transition: background .2s ease;
}
.nav__btn svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.nav__btn:hover { background: rgba(255,255,255,.12); }
#favBtn[aria-pressed="true"] svg { fill: var(--pink); }

.nav.is-solid {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft), 0 8px 24px rgba(0,0,0,.06);
}
.nav.is-solid .nav__btn:hover { background: var(--surface); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 34rem;
  max-height: 56rem;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 26%),
    linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,0) 70%);
}
.hero__inner {
  position: absolute;
  inset: auto 0 0;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: end;
}
.hero__main { min-width: 0; }
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .005em;
  max-width: 42ch;
}
.hero__meta {
  border-left: 2px solid rgba(255,255,255,.55);
  padding-left: .75rem;
  margin-bottom: 1rem;
}
.hero__date { margin: 0; font-size: 1rem; }
.hero__venue { margin: .1rem 0 0; font-size: .85rem; opacity: .9; }

.hero__facts { display: flex; gap: 1.5rem; }
.fact { display: flex; flex-direction: column; }
.fact__label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .7;
}
.fact__value { font-size: .9rem; }

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 26rem;
}
.banner {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .8rem;
  font-weight: 500;
}
.banner svg { width: 1.1rem; height: 1.1rem; fill: currentColor; flex: 0 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter .15s ease, transform .05s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--hero { background: #fff; color: var(--ink); width: 100%; }
.btn--hero:hover { background: #f0f0f0; }
.btn--primary { background: var(--accent); color: #fff; width: 100%; }
.btn--primary:hover { filter: brightness(1.08); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  width: 1.5rem; height: 2.4rem;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: .35rem;
}
.hero__scroll span {
  width: 3px; height: .5rem;
  border-radius: 999px;
  background: #fff;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%,100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(.7rem); opacity: .2; }
}

@media (min-width: 62rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 760fr) minmax(0, 480fr);
    gap: 2.5rem;
    padding-bottom: 5rem;
  }
  .hero__cta { justify-self: end; width: 100%; }
}

/* ── TABS ───────────────────────────────────────────────── */
.tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  height: var(--tab-h);
}
.tabs__wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; height: 100%; }
.tabs__scroll {
  display: flex;
  gap: .25rem;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__scroll::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 .9rem;
  font-size: .875rem;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--accent); border-color: var(--accent); font-weight: 600; }

/* ── SHELL ──────────────────────────────────────────────── */
.shell {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
@media (min-width: 62rem) {
  .shell {
    grid-template-columns: minmax(0, 760fr) minmax(0, 480fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: calc(var(--nav-h) + var(--tab-h) + 1rem);
}
.section:last-child { border-bottom: 0; }
.section--help { border-bottom: 0; }

.sec-head { margin-bottom: 1.25rem; }
.overline {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}
.sec-head h2, .section > h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.01em;
}

/* ── DESTAQUES ──────────────────────────────────────────── */
.hscroll {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hl {
  flex: 0 0 20rem;
  scroll-snap-align: start;
}
.hl__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  margin-bottom: .75rem;
}
.hl__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hl:hover .hl__img img { transform: scale(1.04); }
.hl h3 { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.35; }

/* ── STEPS ──────────────────────────────────────────────── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.steps li {
  display: flex;
  gap: 1rem;
  position: relative;
}
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 2.4rem;
  bottom: -1.25rem;
  width: 1px;
  background: var(--line);
}
.steps__dot {
  flex: 0 0 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.steps h3 { margin: .15rem 0 .2rem; font-size: 1rem; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ── DESCRIÇÃO ──────────────────────────────────────────── */
.desc p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #2a3338;
}
.desc.is-clamped p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.linkbtn {
  margin-top: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}
.linkbtn svg { width: .7rem; height: .7rem; fill: currentColor; transition: transform .25s ease; }
.linkbtn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ── LOCAL ──────────────────────────────────────────────── */
.venue {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.venue__gallery { position: relative; }
.venue__slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: .5rem;
  scrollbar-width: none;
}
.venue__slides::-webkit-scrollbar { display: none; }
.venue__slides img {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.venue__dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: .6rem;
}
.dot {
  width: 1.5rem; height: 3px;
  border: 0;
  border-radius: 999px;
  background: #c9cfd4;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease;
}
.dot.is-active { background: var(--ink); }
.venue__desc { margin: 0; font-size: .9rem; color: #2a3338; }
.map {
  border-radius: .5rem;
  overflow: hidden;
  aspect-ratio: 3 / 1.5;
  background: #e5e3df;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.addr {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: #fff;
  border-radius: .5rem;
  padding: .75rem;
}
.addr__icon {
  width: 1.75rem; height: 1.75rem;
  flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: .35rem;
}
.addr__icon svg { width: .9rem; height: .9rem; fill: var(--ink); }
.addr__label {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .1rem;
}
.addr__value { font-size: .9rem; color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: .75rem;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  padding: .35rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__ico { position: relative; width: .9rem; height: .9rem; flex: 0 0 auto; }
.faq__ico::before, .faq__ico::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1.5px;
  background: var(--ink);
  transform: translateY(-50%);
  transition: transform .25s ease;
}
.faq__ico::after { transform: translateY(-50%) rotate(90deg); }
.faq details[open] .faq__ico::after { transform: translateY(-50%) rotate(0); }
.faq__a { color: var(--muted); font-size: .92rem; padding-top: .4rem; line-height: 1.6; }

/* ── LINKS ──────────────────────────────────────────────── */
.linkrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  transition: border-color .2s ease;
}
.linkrow:hover { border-color: var(--ink); }
.linkrow__ico {
  width: 1.75rem; height: 1.75rem;
  flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: .35rem;
}
.linkrow__ico svg { width: 1rem; height: 1rem; fill: var(--ink); }
.linkrow__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.linkrow__text strong { font-size: .875rem; }
.linkrow__text small { font-size: .8rem; color: var(--muted); }
.linkrow__chev { width: 1rem; height: 1rem; fill: var(--muted); flex: 0 0 auto; }

/* ── ASIDE ──────────────────────────────────────────────── */
.side { display: none; }
@media (min-width: 62rem) {
  .side {
    display: block;
    position: sticky;
    top: calc(var(--nav-h) + var(--tab-h) + 1rem);
    padding-top: 2.5rem;
  }
}
.side__card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  background: #fff;
}
.side__card h2 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 600; }
.side__card p { margin: 0 0 1rem; color: var(--muted); font-size: .875rem; }

/* ── STRIPS ─────────────────────────────────────────────── */
.strip { padding: 2rem 0; }
.strip__wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
}
.strip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.arrows { display: flex; gap: .5rem; }
.arrow {
  width: 2.4rem; height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid; place-items: center;
  cursor: pointer;
}
.arrow svg { width: .75rem; height: .75rem; fill: var(--ink); }
.arrow:hover { background: var(--surface-2); }

.rail {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .35rem;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.pcard {
  flex: 0 0 13.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.pcard__img {
  position: relative;
  border-radius: .5rem;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e8ecef;
  margin-bottom: .5rem;
}
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__badge {
  position: absolute;
  top: .5rem; left: .5rem;
  background: var(--pink);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  padding: .15rem .4rem;
  border-radius: .35rem;
}
.pcard h3 {
  margin: 0 0 .2rem;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__date { margin: 0; font-size: .72rem; color: var(--muted); }
.pcard__price { margin: .1rem 0 0; font-size: .75rem; font-weight: 600; }
.pcard__price s { color: var(--muted); font-weight: 400; margin-right: .2rem; }

/* ── CATEGORIAS ─────────────────────────────────────────── */
.strip--cats .strip__wrap { background: var(--surface); }
.cats { display: flex; gap: .75rem; overflow-x: auto; }
.cat { flex: 0 0 13.5rem; }
.cat img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: .5rem; margin-bottom: .4rem; }
.cat span { font-size: .85rem; font-weight: 600; }

/* ── FOOTER ─────────────────────────────────────────────── */
.foot {
  margin-top: 3rem;
  background: #000;
  color: #fff;
  padding: 2rem 1.25rem 1rem;
  font-size: .85rem;
}
.foot__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 62rem) { .foot__grid { grid-template-columns: repeat(4, 2fr) 3fr; } }
.foot h3 { font-size: 1rem; margin: 0 0 .75rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .4rem; }
.foot a { color: #fff; }
.foot a:hover { text-decoration: underline; }
.foot__app { grid-column: span 2; }
@media (min-width: 62rem) { .foot__app { grid-column: auto; } }
.brand--foot { color: #fff; font-size: 1.55rem; }
.foot__stores { display: flex; gap: .75rem; margin: 1rem 0; }
.store { padding: .5rem .9rem; border: 1px solid #444; border-radius: .5rem; font-size: .75rem; }
.foot__social { display: flex; gap: .5rem; }
.foot__social a {
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  background: #06232c;
  border-radius: 50%;
  font-size: .7rem; font-weight: 700;
}
.foot hr { max-width: var(--wrap); margin: 2rem auto 1rem; border: 0; border-top: 1px solid #2c4751; }
.foot__bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  font-size: .75rem;
}
.foot__legal a { text-decoration: underline; }
.foot__legal span { margin: 0 .4rem; color: #666; }
.foot__copy { text-align: right; }
@media (max-width: 47.98rem) { .foot__copy { text-align: left; } }

/* ── MOBILE BAR ─────────────────────────────────────────── */
.mobilebar {
  position: fixed;
  inset: auto .5rem .5rem;
  z-index: 110;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  padding: .6rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.mobilebar__msg {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  background: #eef6fd;
  border-radius: .5rem;
  padding: .4rem .6rem;
}
.mobilebar__msg svg { width: .9rem; height: .9rem; fill: currentColor; flex: 0 0 auto; }
@media (min-width: 62rem) { .mobilebar { display: none; } }
@media (max-width: 61.98rem) { body { padding-bottom: 6.5rem; } }

/* ── MODAL ──────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(6,20,24,.72);
  backdrop-filter: blur(5px);
}
.modal[hidden] { display: none; }
.sheet {
  position: relative;
  width: min(100%, 26rem);
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--ink);
}
.sheet__close {
  position: absolute;
  top: .6rem; right: .6rem;
  width: 2rem; height: 2rem;
  border: 0; border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}
.sheet h2 { margin: 0 0 .25rem; font-size: 1.2rem; }
.sheet p { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.sheet label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .35rem; }
.sheet input {
  width: 100%;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  font: inherit;
  margin-bottom: 1rem;
}
.sheet input:focus { outline: 2px solid #aacbe1; border-color: transparent; }
.sheet__fine { margin-top: .75rem; font-size: .7rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: .5rem;
  font-size: .85rem;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.toast[hidden] { display: none; }
