/* Réveillon — página pública. Estende style.css (mesma paleta praia/pôr do sol). */
@import url("./reveillon-map.css?v=20260928");

/* Página de vendas: fundo claro, fotos reais, títulos em serifa. O degradê
   laranja/verde do style.css fica só nas outras páginas. */
.rv {
  --rv-bg: #faf6ef;
  --rv-tint: #f3ebdd;
  --rv-ink: #1f2a30;
  --rv-gold: #8a6a2e;       /* texto dourado sobre fundo claro (contraste ~5:1) */
  --rv-gold-light: #f3d9a4; /* dourado sobre foto escura */
  --rv-line: #e6dccb;
  --rv-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  background: var(--rv-bg);
  color: var(--rv-ink);
}
.rv .masthead { background: var(--rv-bg); padding: 14px 0 10px; }
/* Logo maior só nesta página (56px × 1,75). */
.rv .masthead__logo { height: 98px; }

.rv-main .section { padding: 14px 12px; }
.rv-small { font-size: .88rem; }
.rv-left { text-align: left; }

/* Botão principal claro, usado sobre foto (topo e chamada final) */
.rv-cta {
  width: auto;
  background: #fff8ee;
  color: var(--rv-ink);
  padding: 15px 30px;
  border-radius: 999px;
}
.rv-cta:hover, .rv-cta:focus-visible { background: #ffffff; color: var(--color-secondary-dark); }
.rv-cta:focus-visible { outline: 3px solid #fff8ee; outline-offset: 3px; }

.rv-link {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  cursor: pointer;
}
.rv-link:hover { text-decoration: underline; }

/* Topo */
.rv-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86svh, 760px);
  overflow: hidden;
  color: #fff;
  background: #2a1a10;
}
.rv-hero__bg, .rv-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 20, .05) 0%, rgba(10, 16, 20, .2) 40%, rgba(10, 16, 20, .8) 100%);
}
.rv-hero__content { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 40px; }
.rv-hero__kicker {
  margin: 0 0 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rv-gold-light);
}
.rv-hero__title {
  margin: 0 0 14px;
  font-family: var(--rv-serif);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.02;
}
.rv-hero__sub { margin: 0 0 16px; max-width: 34ch; font-size: 1.05rem; opacity: .94; }
.rv-hero__when {
  display: inline-block;
  margin: 0 0 22px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .35);
  font-size: .9rem;
  opacity: .9;
}
.rv-hero__avail { margin: 14px 0 0; font-size: .9rem; color: var(--rv-gold-light); }

/* Seções */
.rv-section { padding: 56px 0; }
.rv-section--tint { background: var(--rv-tint); }
.rv-wide { max-width: 1080px; }
.rv-eyebrow {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rv-gold);
}
.rv-h2 {
  margin: 0 0 22px;
  font-family: var(--rv-serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--rv-ink);
}

/* A noite: carrossel no celular (o próximo cartão aparece pela metade), grade no computador */
.rv-moments {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 14px;
  margin: 0 -20px;
  padding: 0 20px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}
.rv-moments::-webkit-scrollbar { display: none; }
.rv-moment { margin: 0; scroll-snap-align: start; }
.rv-moment img, .rv-moment__night {
  display: block;
  width: 100%;
  height: auto; /* o height do <img> viraria altura fixa e ignoraria a proporção */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
}
.rv-moment__night {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background:
    radial-gradient(circle at 72% 22%, rgba(243, 217, 164, .38), transparent 38%),
    radial-gradient(circle at 28% 38%, rgba(255, 255, 255, .16), transparent 28%),
    radial-gradient(circle at 55% 12%, rgba(228, 87, 46, .25), transparent 30%),
    linear-gradient(180deg, #0f1b24, #1d3340);
}
.rv-moment__night span { font-family: var(--rv-serif); font-size: 3rem; line-height: 1; color: var(--rv-gold-light); }
.rv-moment figcaption { display: flex; flex-direction: column; gap: 4px; padding: 12px 2px 0; }
.rv-moment figcaption strong { font-size: 1rem; }
.rv-moment figcaption span { font-size: .9rem; color: var(--color-text-soft); }
.rv-proof { margin: 28px 0 0; text-align: center; font-size: .95rem; color: var(--color-text-soft); }

/* Incluso + quando/onde */
.rv-included { list-style: none; margin: 0 0 14px; padding: 0; }
.rv-included li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rv-line);
  font-size: 1.02rem;
  font-weight: 600;
}
.rv-included li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--rv-gold);
  vertical-align: middle;
}
.rv-facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.rv-facts li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
.rv-facts li > div { display: flex; flex-direction: column; }
.rv-facts__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rv-gold); }
.rv-facts a { text-decoration: none; }

/* As mesas */
.rv-types { display: grid; gap: 14px; }
.rv-type {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(35, 48, 58, .06);
}
.rv-type h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--rv-serif); font-size: 1.6rem; font-weight: 600; }
.rv-type h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--rv-type, var(--rv-gold)); flex: none; }
.rv-type p { margin: 0; }
.rv-type__desc { font-size: .92rem; color: var(--color-text-soft); }
.rv-type__people { margin-top: 6px !important; font-size: .9rem; font-weight: 600; }
.rv-type__price { margin-top: 12px !important; font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
.rv-type__cons { font-size: .88rem; color: var(--color-success); }
.rv-type__left { margin-top: 10px !important; font-size: .85rem; font-weight: 700; color: var(--rv-gold); }
.rv-type .rv-link { margin-top: auto; padding-top: 12px; }
.rv-type.is-out { opacity: .6; }

#mapa .rv-h2 { margin-top: 20px; }

/* Perguntas frequentes */
.rv-faq { margin: 0 0 18px; border-top: 1px solid var(--rv-line); }
.rv-faq__item { border-bottom: 1px solid var(--rv-line); }
.rv-faq__item summary {
  position: relative;
  padding: 16px 36px 16px 0;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.rv-faq__item summary::-webkit-details-marker { display: none; }
.rv-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--rv-gold);
}
.rv-faq__item[open] summary::after { content: "−"; }
.rv-faq__a { padding: 0 0 16px; font-size: .94rem; color: #3b4a52; }
.rv-faq__a p { margin: 0 0 8px; }
.rv-faq__a ul { margin: 0; padding-left: 18px; }
.rv-faq__a li { margin-bottom: 6px; }

/* Chamada final */
.rv-final { position: relative; overflow: hidden; padding: 76px 0; text-align: center; color: #fff; background: #2a1a10; }
.rv-final__bg, .rv-final__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-final::after { content: ""; position: absolute; inset: 0; background: rgba(10, 16, 20, .62); }
.rv-final__content { position: relative; z-index: 1; }
.rv-final .rv-h2 { color: #fff; }
.rv-final p { max-width: 38ch; margin: 0 auto 22px; opacity: .92; }
.rv-final p:last-child { margin: 18px auto 0; font-size: .92rem; }
.rv-final a:not(.btn) { color: var(--rv-gold-light); }

/* Botão fixo no celular (sem piscar, sem pop-up): entra quando nenhuma área de reserva está na tela */
.rv-sticky {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  padding: 15px;
  border-radius: 999px;
  background: var(--rv-ink);
  color: #fff8ee;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  transform: translateY(160%);
  transition: transform .25s ease;
}
.rv-sticky.is-on { transform: none; }
.rv .site-footer { padding-bottom: 96px; }

@media (min-width: 760px) {
  .rv-types { grid-template-columns: repeat(3, 1fr); }
  .rv-hero__title { font-size: 3.8rem; }
  .rv-h2 { font-size: 2.5rem; }
}
@media (min-width: 900px) {
  .rv-moments { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; overflow: visible; }
  .rv-sticky { display: none; }
  .rv .site-footer { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-sticky { transition: none; }
}

/* Mapa */
.rv-map-card { padding: 16px; }
/* O zoom é do próprio mapa (reveillon.js): o navegador não pode tratar a pinça
   sobre ele como zoom da página. */
.rv .rv-map { touch-action: pan-x pan-y; }
.rv-map-frame { position: relative; }
.rv-zoom {
  position: absolute;
  top: 6px;
  right: 8px;
  display: flex;
  gap: 6px;
}
/* Em cima da faixa do mar, onde não cobre nenhuma mesa */
.rv-zoom button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rv-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--rv-ink);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
/* No celular o mapa vai de ponta a ponta: sem margem da seção nem do cartão. */
@media (max-width: 700px) {
  .rv-main #mapa.section { padding-left: 0; padding-right: 0; }
  #mapa .rv-h2 { padding: 0 16px; }
  #mapa .rv-map-card { padding: 12px 0; border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; }
  #mapa .rv-map-card > :not(.rv-map-frame) { margin-left: 16px; margin-right: 16px; }
  #mapa .rv-map-wrap { border-radius: 0; }
}
.rv-map-card .alert { margin: 12px 0 0; }
.rv-legend--states { margin-bottom: 10px; }

/* Painel da mesa */
.rv-table-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.rv-dot { width: 18px; height: 18px; border-radius: 5px; flex: none; margin-top: 4px; }
.rv-close {
  margin-left: auto;
  border: none;
  background: var(--color-sand);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.rv-subtitle { font-size: 1rem; margin: 20px 0 10px; }
.rv-table-facts li strong { max-width: 60%; }

.rv-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
}
.rv-stepper > div:first-child { display: flex; flex-direction: column; }
.rv-stepper .hint { margin: 0; }
.rv-stepper__ctrl { display: flex; align-items: center; gap: 8px; flex: none; }
.rv-stepper__ctrl button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fffefb;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-secondary);
  cursor: pointer;
}
.rv-stepper__ctrl button:disabled { opacity: .35; cursor: not-allowed; }
.rv-stepper__ctrl output { min-width: 28px; text-align: center; font-size: 1.15rem; font-weight: 800; }

.rv-sim {
  margin: 16px 0 6px;
  padding: 14px 16px;
  background: #fbf5ea;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: opacity .15s ease;
}
.rv-sim.is-loading { opacity: .55; }
.rv-sim .summary-list { margin: 0; }
.rv-sim__total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
  padding: 12px 0;
  border-top: 2px solid var(--color-border);
  border-bottom: 2px solid var(--color-border);
}
.rv-sim__total > div { display: flex; flex-direction: column; }
.rv-sim__total span { font-size: .82rem; color: var(--color-text-soft); }
.rv-sim__total strong { font-size: 1.35rem; }
.rv-sim__pix { text-align: right; }
.rv-sim__pix strong { color: var(--color-success); }
.rv-sim__plan li { align-items: flex-start; gap: 12px; }
.rv-sim__plan strong { font-size: .95rem; }
.rv-sim__plan small { font-weight: 400; color: var(--color-text-soft); }

#rv-form { margin-top: 8px; }

/* Sucesso */
.rv-pix {
  background: var(--color-sand);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 6px 0 16px;
}
.rv-pix__label { margin: 0; font-size: .85rem; color: var(--color-text-soft); }
.rv-pix__key { margin: 4px 0; font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; word-break: break-all; }
/* O contorno padrão do .btn--outline some sobre o fundo areia. */
#pix-copy {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}
#pix-copy:hover { background: var(--color-secondary-dark); }
#pix-copy:focus-visible { outline: 3px solid var(--color-secondary-dark); outline-offset: 2px; }

/* Termos */
.rv-dialog {
  width: min(640px, calc(100% - 24px));
  max-height: calc(100vh - 40px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-md);
}
.rv-dialog::backdrop { background: rgba(35, 48, 58, .55); }
.rv-dialog__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.rv-dialog__body {
  padding: 16px 20px 24px;
  white-space: pre-wrap;
  font-size: .9rem;
  line-height: 1.6;
}
