/* ===== imports (ícones + fontes elegantes) ===== */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Great+Vibes&family=Inter:wght@300;400;600&display=swap');

/* ===== raiz e utilitários ===== */
:root{
  --gold:#d7b468;
  --gold-strong:#c6a24e;
  --bg:#0b0b0d;
  --bg-2:#151518;
  --text:#e9e6df;
  --muted:#b8b3a9;
  --container:1200px;
  --nav-h:64px; /* altura do topo (desktop) */
}

@media (max-width:860px){
  :root{ --nav-h:56px; } /* topo levemente menor no mobile */
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg) url('/assets/img/bg.jpg') center/cover fixed no-repeat;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.6;
  /* espaço para o topo fixo + área segura do iOS */
  padding-top:calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}

/* containers e links */
.container{max-width:var(--container); margin-inline:auto; padding:0 20px}
a{color:inherit; -webkit-tap-highlight-color: transparent;}
img{max-width:100%; height:auto;}

/* âncoras em página única compensadas pelo header fixo */
section[id]{scroll-margin-top:calc(var(--nav-h) + 16px)}

/* ===== Topbar (menu centralizado, sem logo) — FIXO ===== */
.topbar{
  position:fixed; inset-inline:0; top:0; z-index:1000;
  height:var(--nav-h);
  display:flex; align-items:center; justify-content:center;
  background:rgba(10,10,12,.88);
  border-bottom:1px solid rgba(215,180,104,.12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@supports not ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))){
  .topbar{ background:#0e0e11; }
}

.nav{
  height:100%;
  display:flex; align-items:center; justify-content:center; gap:16px;
  position:relative; width:100%;
}
#main-nav.centered{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center; align-items:center;
  padding-left:56px; /* espaço pro botão hamburguer no mobile */
}
.nav-link{
  padding:10px 14px; text-decoration:none; color:var(--text);
  text-transform:uppercase; letter-spacing:.07em; font-weight:600; font-size:.92rem;
  border-radius:8px; transition:.2s;
}
.nav-link:hover{color:var(--gold)}
.nav-link.is-active{color:#111; background:var(--gold)}

.nav-toggle{
  display:none; position:absolute; left:12px; background:transparent; border:0; cursor:pointer;
  width:40px; height:40px; border-radius:10px; color:var(--text);
}
.nav-toggle:focus-visible{outline:2px solid var(--gold)}
.nav-toggle span{display:block; width:26px; height:2px; background:var(--text); margin:5px auto}

@media (max-width:860px){
  .nav{justify-content:flex-start}
  .nav-toggle{display:block}
  #main-nav.centered{
    display:none; position:absolute; top:var(--nav-h); left:0; right:0;
    margin:0; padding:12px; background:var(--bg-2);
    border:1px solid rgba(215,180,104,.2); border-left:0; border-right:0; border-radius:0;
    flex-direction:column; gap:8px;
  }
  #main-nav.centered.open{display:flex}
  .nav-link{display:block; width:100%; text-align:center; padding:12px 14px}
}

/* ===== Hero (banner) ===== */
.hero{
  position:relative; min-height:78vh;
  background:
    linear-gradient(to bottom, rgba(11,11,13,.25), rgba(11,11,13,.82)),
    var(--hero) center/cover no-repeat;
  display:grid; place-items:center; text-align:center;
  border-bottom:1px solid rgba(215,180,104,.15);
}
.hero-inner{max-width:980px; padding:64px 20px}
.hero-mark{
  width:clamp(120px, 20vw, 200px);
  opacity:.98; margin-bottom:14px;
  filter: drop-shadow(0 6px 28px rgba(0,0,0,.55));
}
.hero-title{
  font-family:"Cinzel", serif;
  font-weight:800;
  font-size:clamp(48px, 7.5vw, 96px);
  margin:6px 0 6px; letter-spacing:.03em;
  color:var(--gold);
  text-shadow:0 14px 36px rgba(0,0,0,.46);
}
.hero-sub{
  margin:0 0 26px; font-weight:800; letter-spacing:.24em;
  text-transform:uppercase; color:var(--muted)
}

/* faixa preta com informações + ícones */
.hero-bar{
  display:grid; grid-template-columns:1fr 1fr; gap:18px;
  background:rgba(0,0,0,.52);
  border:1px solid rgba(215,180,104,.25);
  border-radius:14px; padding:18px 22px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.hero-item{display:grid; gap:6px; place-items:center; text-align:center}
.icon-gold{color:var(--gold); font-size:30px; line-height:1}
.kicker{color:var(--gold); font-weight:900; text-transform:uppercase; letter-spacing:.12em}
.hero-item small{opacity:.9}

@media (max-width:700px){
  .hero{min-height:68vh}
  .hero-bar{grid-template-columns:1fr}
}

/* ===== Slogan ===== */
.slogan-band{
  border-radius:16px;
  margin:-28px auto 24px;
  max-width:900px;
  padding:18px 24px;
  text-align:center;
}
.slogan-band .slogan-phrase{
  font-family:"Great Vibes", cursive;
  color:var(--gold);
  font-size:clamp(22px, 3.4vw, 34px);
  letter-spacing:.02em;
  text-shadow:0 6px 24px rgba(0,0,0,.45);
  margin:0;
}

/* ===== Seções ===== */
.section{padding:20px 0; background:rgba(10,10,12,.75)}
.section.alt{background:rgba(15,15,18,.85)}
.section h2{
  font-family:"Cinzel",serif; color:var(--gold); font-size:clamp(28px, 4vw, 38px); margin:0 0 18px
}
.card{
  background:rgba(0,0,0,.5);
  border:1px solid rgba(215,180,104,.18);
  border-radius:16px; padding:18px;
  box-shadow:0 10px 40px rgba(0,0,0,.25)
}

/* ===== Botões / Inputs ===== */
.input,.textarea{
  width:100%; background:#101013; border:1px solid rgba(215,180,104,.22); color:var(--text);
  padding:12px 14px; border-radius:10px; outline:none; transition:.2s;
  -webkit-appearance:none; appearance:none;
}
.input:focus,.textarea:focus{border-color:var(--gold); box-shadow:0 0 0 3px rgba(215,180,104,.15)}
.button{
  background:var(--gold); color:#111; border:0; padding:12px 18px; border-radius:10px; font-weight:700; cursor:pointer; transition:.2s;
  min-height:44px;
}
.button:hover{filter:brightness(.95); transform:translateY(-1px)}
.button:active{transform:translateY(0)}
.button.ghost{
  background:transparent; color:var(--gold);
  border:1px solid rgba(215,180,104,.35);
}
.button.ghost:hover{background:rgba(215,180,104,.12)}

/* ===== Footer ===== */
.site-footer{
  border-top:1px solid rgba(215,180,104,.15);
  background:rgba(10,10,12,.92);
  padding:28px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  text-align:center;
}
.footer-social{
  display:flex; justify-content:center; gap:14px; margin-bottom:12px;
}
.soc{
  color:var(--gold);
  width:44px; height:44px; display:grid; place-items:center;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(215,180,104,.25);
  text-decoration:none; transition:.2s ease;
}
.soc i{font-size:18px; line-height:1}
.soc:hover{transform:translateY(-2px); filter:brightness(1.06)}
.footer-info{color:var(--muted); margin:6px 0 8px}
.footer-line{margin:.2rem 0}
.footer-info a{
  color:var(--gold); text-decoration:none; border-bottom:1px dotted rgba(215,180,104,.45);
}
.footer-info a:hover{filter:brightness(1.08)}
.copy{color:var(--muted); margin:6px 0 0; font-size:.92rem}

/* ===== Landing: Reserva (CTA lateral, etc.) ===== */
.reserve-cta p{margin-top:0}
.reserve-side{display:grid; gap:14px}
.mini-title{margin:0; color:var(--gold); font-family:"Cinzel",serif; font-size:18px}
.mini-list{margin:0; padding-left:18px; color:var(--muted)}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:12px}

/* ===== Modal de reserva (estrutura base + wizard) ===== */
.modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:1200}
.modal.open{display:flex}
.modal-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.7); backdrop-filter:blur(3px)}
.modal-card{
  position:relative; z-index:1; width:min(720px, 92vw);
  background:rgba(10,10,12,.96);
  border:1px solid rgba(215,180,104,.25);
  border-radius:16px; padding:20px;
  box-shadow:0 30px 120px rgba(0,0,0,.5);
}
.modal-close{
  position:absolute; top:10px; right:10px; background:transparent; border:0; color:var(--text); cursor:pointer;
  width:40px; height:40px; border-radius:10px; display:grid; place-items:center;
}
.modal-close:hover{color:var(--gold)}
.modal-header h3{margin:0 0 6px; color:var(--gold); font-family:"Cinzel",serif}
.modal-body{margin-top:12px}

.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.grid-3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px}
@media (max-width:900px){
  .grid-2,.grid-3{grid-template-columns:1fr; gap:10px}
}
.chk{display:flex; gap:10px; align-items:flex-start}
.chk input{accent-color:var(--gold); margin-top:3px}

/* ===== Modal Wizard (etapas de pagamento) ===== */
.modal-card.wizard .modal-header{margin-bottom:6px}
.step-title{
  font-family:"Cinzel",serif; color:var(--gold); margin:0 0 6px; font-size:22px
}
.step-sub{margin:0 0 12px; color:var(--muted)}
.wizard .grid-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width:720px){ .wizard .grid-2{grid-template-columns:1fr} }
.terms{margin-top:8px}
.wizard .cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

/* Pagamento (QR + copia e cola) */
.pay-box{
  display:grid; gap:14px;
  grid-template-columns: minmax(160px, 220px) 1fr;
  align-items:stretch;
}
@media (max-width:760px){
  .pay-box{
    grid-template-columns:1fr;
  }
}

.qr-wrap{
  background:rgba(0,0,0,.4);
  border:1px solid rgba(215,180,104,.22);
  border-radius:12px; padding:12px;
  display:grid; place-items:center;
}
.qr-wrap img{
  width:100%;
  height:auto;
  max-width:320px;          /* cresce até aqui em telas largas */
  aspect-ratio:1/1;         /* mantém quadrado quando necessário */
  object-fit:contain;
}

.pix-wrap{
  background:rgba(0,0,0,.35);
  border:1px solid rgba(215,180,104,.18);
  border-radius:12px; padding:12px;
  min-width:0;              /* evita overflow do grid */
}

.pix-line{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}

.pix-code{
  background:#101013;
  border:1px dashed rgba(215,180,104,.25);
  border-radius:8px;
  padding:10px 12px;
  color:var(--text);
  max-height:140px;
  overflow:auto;            /* scroll quando necessário */
  -webkit-overflow-scrolling: touch;
  user-select:all;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:.95rem;
  line-height:1.35;
  white-space:pre-wrap;     /* quebra de linha elegante */
  word-break:break-all;     /* garante que nunca vaze */
  overflow-wrap:anywhere;
}

.btn-mini{
  background:transparent; color:var(--gold);
  border:1px solid rgba(215,180,104,.35);
  padding:10px 14px; border-radius:10px; cursor:pointer; min-height:40px;
}
.btn-mini:hover{background:rgba(215,180,104,.12)}

.pay-status{
  display:flex; align-items:center; gap:10px; color:var(--muted);
  margin-top:10px;
}
.pay-dot{
  width:10px; height:10px; border-radius:50%;
  background:#888; box-shadow:0 0 0 0 rgba(215,180,104,.0);
  animation:pulse 1.6s infinite ease-in-out;
}


/* Voucher final */
.voucher{
  background:linear-gradient(135deg, rgba(10,10,12,.96), rgba(15,15,18,.92));
  border:1px solid rgba(215,180,104,.28);
  border-radius:16px; padding:18px; text-align:center;
  box-shadow:0 20px 80px rgba(0,0,0,.5);
}
.voucher h4{
  margin:0 0 6px; color:var(--gold); font-family:"Cinzel",serif; font-size:24px
}
.voucher-code{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background:#101013; border:1px dashed rgba(215,180,104,.35);
  padding:12px 14px; border-radius:10px; display:inline-block; margin-top:8px; color:var(--text)
}

/* ===== Agenda: Calendário (com versão mobile compacta) ===== */
.agenda-wrap{display:grid; grid-template-columns:2fr 1fr; gap:20px}
@media (max-width:900px){ .agenda-wrap{grid-template-columns:1fr} }

.calendar{
  --cal-gap:8px;
  --cal-minh:74px;
  --cal-pad:8px;
}
.calendar .cal-header{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:10px;
}
.cal-header h3{margin:0; font-family:"Cinzel",serif; color:var(--gold)}
.cal-nav{
  width:40px; height:40px; border-radius:10px; border:1px solid rgba(215,180,104,.25);
  background:rgba(0,0,0,.4); color:var(--text); cursor:pointer; display:grid; place-items:center;
}
.cal-nav:hover{color:var(--gold)}
.cal-grid{
  display:grid; grid-template-columns:repeat(7,1fr);
  gap:var(--cal-gap); user-select:none;
}
.cal-grid .dow{
  text-align:center; font-weight:700; color:var(--gold);
  padding:8px 0; border-bottom:1px solid rgba(215,180,104,.25);
}
.cal-cell{
  min-height:var(--cal-minh);
  border:1px solid rgba(215,180,104,.15);
  border-radius:12px; padding:var(--cal-pad);
  background:rgba(0,0,0,.35); position:relative;
}
.cal-cell .num{font-weight:700; opacity:.9}
.cal-cell.muted{opacity:.45}
.cal-cell.has-event{outline:1px solid rgba(215,180,104,.28)}
.cal-cell .dot{
  position:absolute; bottom:8px; left:50%; transform:translateX(-50%);
  width:8px; height:8px; border-radius:50%; background:var(--gold);
}
.cal-legend{margin-top:10px; color:var(--muted); display:flex; align-items:center; gap:8px}
.cal-legend .dot{width:10px; height:10px; border-radius:50%; background:var(--gold)}
.upcoming-list{list-style:none; padding:0; margin:0}
.upcoming-list li{padding:10px; border:1px solid rgba(215,180,104,.18); border-radius:10px; margin-bottom:10px; background:rgba(0,0,0,.4)}
.upcoming-list .date{color:var(--gold); font-weight:700}

/* compactação progressiva */
@media (max-width:860px){
  .calendar{ --cal-gap:6px; --cal-minh:58px; --cal-pad:7px; }
  .cal-grid .dow{padding:6px 0; font-size:.9rem}
}
@media (max-width:600px){
  .calendar{ --cal-gap:5px; --cal-minh:48px; --cal-pad:6px; }
  .cal-cell .num{font-size:.92rem}
  .cal-cell .dot{bottom:6px}
}
@media (max-width:420px){
  .calendar{ --cal-gap:4px; --cal-minh:42px; --cal-pad:5px; }
  .cal-grid .dow{font-size:.78rem}
  .cal-grid{padding-bottom:2px}
}
/* ultra-compacto: mantém 7 colunas, com scroll horizontal se necessário */
@media (max-width:340px){
  .calendar{overflow-x:auto}
  .cal-grid{min-width:520px}
}

/* ===== Galeria (thumbnails 9:16 menores e elegantes) ===== */
.gallery-grid{
  display:grid; gap:12px;
  grid-template-columns:repeat(3,1fr);
}
.gallery-grid a{display:block; border-radius:12px; overflow:hidden}
.gallery-grid a .thumb{
  width:100%;
  aspect-ratio:9/16;
  height:clamp(180px, 28vw, 320px);
  object-fit:cover;
  display:block;
  border:1px solid rgba(215,180,104,.18);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  transition:.2s transform, .2s filter;
}
.gallery-grid a:hover .thumb{transform:translateY(-2px); filter:brightness(1.03)}
@media (max-width:900px){ .gallery-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .gallery-grid{grid-template-columns:1fr} }

/* ===== Lightbox ===== */
.lightbox{position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:1100}
.lightbox.open{display:flex}
.lb-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.9)}
#lbImage{
  position:relative; z-index:1; max-width:92vw; max-height:86vh; object-fit:contain; border-radius:12px;
  border:1px solid rgba(215,180,104,.18);
  box-shadow:0 20px 80px rgba(0,0,0,.6);
}
.lb-btn{
  position:absolute; z-index:2; background:rgba(0,0,0,.55); color:var(--text); border:1px solid rgba(215,180,104,.25);
  width:44px; height:44px; border-radius:999px; display:grid; place-items:center; cursor:pointer; transition:.2s;
}
.lb-btn:hover{color:var(--gold); transform:scale(1.03)}
.lb-prev{left:20px}
.lb-next{right:20px}
.lb-close{top:20px; right:20px}
@media (max-width:700px){
  .lb-prev{left:8px} .lb-next{right:8px} .lb-close{top:8px; right:8px}
}

/* ===== Sobre ===== */
.about{display:grid; gap:10px}
.about p{margin:0}

/* ===== Mapa ===== */
.map-wrap{
  width:100%; height:420px; background:#0f0f12;
  border-top:1px solid rgba(215,180,104,.18);
  border-bottom:1px solid rgba(215,180,104,.18);
}
.map-wrap iframe{width:100%; height:100%; border:0}
.cta-row.center{display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:16px}

/* ===== Preferências do usuário ===== */
@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important}
}

/* ===== SPOTLIGHT DE RESERVA (destaque centralizado) ===== */
.reserve-spotlight{
  position:relative;
  background:
    linear-gradient(180deg, rgba(10,10,12,.25) 0%, rgba(10,10,12,.78) 70%, rgba(10,10,12,.90) 100%),
    var(--reserve, url('/assets/img/reserve.jpg')) center/cover no-repeat;
  padding:72px 0 60px;
  border-bottom:1px solid rgba(215,180,104,.15);
  text-align:center;
}
.reserve-spotlight__inner{max-width:860px; margin:0 auto}

.price-pill{
  display:inline-flex; align-items:center; gap:10px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(215,180,104,.3);
  color:var(--gold); padding:10px 14px; border-radius:999px; font-weight:800;
  letter-spacing:.02em; margin-bottom:12px;
}
.price-pill em{font-style:normal; color:var(--text); font-weight:600; opacity:.9}
.price-pill i{color:var(--gold)}

.reserve-title{
  font-family:"Cinzel",serif; color:var(--gold);
  font-size:clamp(34px, 6vw, 56px); line-height:1.08; margin:8px 0 6px;
  text-shadow:0 14px 36px rgba(0,0,0,.46);
}
.reserve-sub{
  margin:0 0 18px; color:var(--muted); font-weight:600; letter-spacing:.02em;
}

.reserve-benefits{
  display:grid; gap:12px; margin:0 auto 18px; padding:0; list-style:none;
  grid-template-columns:repeat(3, 1fr);
}
.reserve-benefits li{
  background:rgba(0,0,0,.45);
  border:1px solid rgba(215,180,104,.22);
  border-radius:14px; padding:12px 14px; color:var(--text); font-weight:600;
  display:flex; align-items:center; justify-content:center; gap:10px;
}
.reserve-benefits i{color:var(--gold)}
@media (max-width:820px){ .reserve-benefits{grid-template-columns:1fr} }

.reserve-cta-row{
  display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:6px;
}
.button-xl{padding:14px 22px; font-size:1.05rem}

.reserve-note{margin:10px 0 0}

/* grid informativo após o spotlight */
.reserve-info-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:18px;
}
@media (max-width:900px){ .reserve-info-grid{grid-template-columns:1fr} }

/* ===== CTA FLUTUANTE (mobile) ===== */
.floating-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:1200;
  display:none;
  padding:12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background:linear-gradient(180deg, transparent 0%, rgba(10,10,12,.86) 18%, rgba(10,10,12,.94) 100%);
  border-top:1px solid rgba(215,180,104,.18);
  backdrop-filter: blur(6px);
}

.floating-cta__inner{
  max-width:680px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

/* base elegante e minimalista */
.floating-cta .button,
.floating-cta .button.ghost{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%;
  min-height:50px;
  border-radius:999px;                  /* pill */
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:0 6px 24px rgba(0,0,0,.25);
  transform:translateZ(0);
  transition:transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

/* primário (reservar): dourado sutil e mais “clean” */
.floating-cta .button{
  background:linear-gradient(180deg, var(--gold) 0%, var(--gold-strong) 100%);
  color:#111;
  border:0;
}

/* secundário (WhatsApp): ghost premium */
.floating-cta .button.ghost{
  background:rgba(0,0,0,.35);
  border:1px solid rgba(215,180,104,.35);
  color:var(--gold);
}

/* micro interação */
.floating-cta .button:hover,
.floating-cta .button.ghost:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 28px rgba(0,0,0,.32);
  filter:brightness(1.02);
}
.floating-cta .button:active,
.floating-cta .button.ghost:active{
  transform:translateY(0);
}

/* ícones: tamanho e alinhamento finos */
.floating-cta .button i{ font-size:1.15rem; line-height:1; }
.floating-cta .button.ghost i.fa-whatsapp{ color:#25D366; } /* sutil toque da marca */

/* empilha em telas bem estreitas */
@media (max-width:860px){ .floating-cta{display:block} }
@media (max-width:420px){
  .floating-cta__inner{ grid-template-columns:1fr; }
}

/* (opcional) compacto extra — mantém legibilidade */
@media (max-width:340px){
  .floating-cta{ padding:10px 10px calc(10px + env(safe-area-inset-bottom,0px)); }
  .floating-cta .button, .floating-cta .button.ghost{ min-height:46px; }
  .floating-cta .button i{ font-size:1.1rem; }
}

