/* ============================================================
   VERÃO TOUR · MAPA — "o litoral visto de cima"
   Direção: cinematográfico noturno · vidro sobre satélite
   Fraunces (display) + Bricolage Grotesque (UI)
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces/fraunces-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage/bricolage-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --abismo: #050d14;
  --profundo: #081722;
  --vidro: rgba(9, 22, 32, 0.72);
  --vidro-2: rgba(13, 30, 43, 0.6);
  --borda: rgba(255, 255, 255, 0.09);
  --borda-viva: rgba(255, 255, 255, 0.18);
  --espuma: #eef6f9;
  --névoa: rgba(238, 246, 249, 0.82);
  --névoa-2: rgba(238, 246, 249, 0.55);
  --sol: #ffb25e;
  --coral: #ff6b4a;
  --verde-wa: #22c55e;
  --raio: 24px;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
.seo-title { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
/* Após o boot, remove animações de entrada (evita ficarem presas se a aba carregar em 2º plano) */
.booted .panel, .booted .brand, .booted .topnav, .booted .tour-card, .booted .mk-photo { animation: none; }
.grain { animation:none !important; }
.tour-card { content-visibility:auto; contain-intrinsic-size: 240px; }
.nav-pill, .tab, .f-chip, .panel-toggle, .panel-mobile-restore, .scroll-top { min-height:44px; min-width:44px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
html, body { height: 100%; overflow: hidden; }
body {
  font-family: "Bricolage", sans-serif;
  background: var(--abismo);
  color: var(--espuma);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sol); color: var(--abismo); }

/* Scrollbar fina */
.panel-view::-webkit-scrollbar { width: 4px; }
.panel-view::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 4px; }
.panel-view { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }

/* ===== Splash ===== */
.splash {
  position: fixed; inset: 0; z-index: 300;
  background: radial-gradient(90% 90% at 50% 20%, #0c2233 0%, var(--abismo) 70%);
  display: grid; place-items: center;
  transition: opacity 0.9s var(--easing), visibility 0.9s;
}
.splash.is-done { opacity: 0; visibility: hidden; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.splash-logo {
  width: min(280px, 58vw);
  filter: drop-shadow(0 0 60px rgba(255, 178, 94, 0.35));
  animation: splashRise 1.2s var(--easing) both;
}
.splash-tag {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 400;
  font-size: 1.05rem; letter-spacing: 0.14em; color: var(--névoa);
  animation: splashRise 1.2s 0.25s var(--easing) both;
}
.splash-line {
  width: 150px; height: 1px; background: rgba(255,255,255,.12);
  overflow: hidden; margin-top: 10px;
  animation: splashRise 1.2s 0.4s var(--easing) both;
}
.splash-line span {
  display: block; height: 100%; width: 45%;
  background: linear-gradient(90deg, transparent, var(--sol), transparent);
  animation: sweep 1.3s ease-in-out infinite;
}
@keyframes splashRise { from { opacity: 0; transform: translateY(26px); } }
@keyframes sweep { 0% { transform: translateX(-120%); } 100% { transform: translateX(340%); } }

/* ===== Mapa + atmosfera ===== */
#map { position: fixed; inset: 0; z-index: 1; background: var(--abismo); }
.map-grade {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,13,20,.82) 0%, rgba(5,13,20,.25) 34%, transparent 55%),
    linear-gradient(180deg, rgba(5,13,20,.6) 0%, transparent 18%, transparent 78%, rgba(5,13,20,.55) 100%);
}
.grain {
  position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(6) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0);} 20% { transform: translate(-2%,3%);} 40% { transform: translate(3%,-2%);}
  60% { transform: translate(-3%,-3%);} 80% { transform: translate(2%,2%);}
}
.leaflet-container { font-family: "Bricolage", sans-serif; }
.leaflet-control-zoom { display: none; }
.leaflet-control-attribution {
  background: rgba(5,13,20,.55) !important; color: rgba(238,246,249,.4) !important;
  font-size: 9px !important; backdrop-filter: blur(6px);
}
.leaflet-control-attribution a { color: rgba(238,246,249,.55) !important; }

/* ===== Topbar ===== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 26px; pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand {
  display: flex; align-items: center; gap: 13px;
  flex-shrink: 0;
  animation: fadeDown 1s 0.2s var(--easing) both;
  transition: transform 0.3s var(--easing);
  cursor: pointer;
}
.brand:hover {
  transform: scale(1.03);
}
.brand img {
  width: 168px;
  height: 38px;
  max-width: 34vw;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.5));
  transition: transform 0.35s var(--easing), filter 0.35s var(--easing);
}
@media (min-width: 681px) {
  .brand {
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(5,13,20,.58);
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
  }
}
.brand:hover img {
  filter: drop-shadow(0 4px 22px rgba(255, 178, 94, 0.5));
  transform: rotate(-3deg);
}
.brand-txt { line-height: 1.2; }
.brand-txt strong {
  display: block; font-family: "Fraunces", serif;
  font-size: 1.02rem; font-weight: 620; letter-spacing: 0.01em;
}
.brand-txt span {
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--névoa-2);
}
.topnav { display: flex; gap: 10px; animation: fadeDown 1s 0.35s var(--easing) both; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vidro); backdrop-filter: blur(18px);
  border: 1px solid var(--borda); border-radius: 999px;
  color: var(--espuma); text-decoration: none; cursor: pointer;
  font: 650 0.8rem "Bricolage", sans-serif; letter-spacing: 0.02em;
  padding: 11px 18px;
  transition: border-color 0.25s, transform 0.25s var(--easing), background 0.25s;
}
.nav-pill:hover { border-color: var(--borda-viva); transform: translateY(-2px); }
/* Contorno neutro e fino para manter todas as opções visualmente alinhadas. */
.topnav .nav-pill { border: 1px solid rgba(148, 163, 184, 0.32); }
.topnav .nav-pill:hover { border-color: rgba(203, 213, 225, 0.72); }
.nav-pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sol);
  box-shadow: 0 0 10px var(--sol);
}
.nav-cta { border-color: rgba(34,197,94,.35); color: #d9ffe8; }
.nav-cta:hover { background: rgba(34,197,94,.14); border-color: rgba(34,197,94,.6); }
.nav-cta svg { color: var(--verde-wa); }
.nav-login { border-color: rgba(255,133,37,.3); color: var(--sol); text-decoration: none; }
.nav-login:hover { background: rgba(255,133,37,.12); border-color: rgba(255,133,37,.6); box-shadow: 0 0 16px rgba(255,133,37,.15); }
.nav-login svg { color: var(--sol); }
.nav-tide { border-color: rgba(56,189,248,.3); color: #7dd3fc; }
.nav-tide:hover { background: rgba(56,189,248,.12); border-color: rgba(56,189,248,.6); box-shadow: 0 0 16px rgba(56,189,248,.15); }
.nav-tide svg { color: #38bdf8; }
.nav-photo { border-color: rgba(168,85,247,.35); color: #d8b4fe; }
.nav-photo svg { color: #c084fc; }
.nav-photo:hover { background: rgba(168,85,247,.12); border-color: rgba(192,132,252,.65); }
.nav-instagram { border-color: rgba(236,72,153,.35); color: #f9a8d4; }
.nav-instagram svg { color: #f472b6; }
.nav-instagram:hover { background: linear-gradient(135deg, rgba(236,72,153,.12), rgba(168,85,247,.12)); border-color: rgba(244,114,182,.7); box-shadow: 0 0 16px rgba(236,72,153,.15); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-18px); } }
#btnMobileMenu { display: none; }

/* ===== Painel ===== */
.panel {
  position: fixed; z-index: 50;
  top: 92px; left: 26px; bottom: 26px;
  width: min(408px, calc(100vw - 52px));
  background: var(--vidro);
  backdrop-filter: blur(26px) saturate(1.3);
  border: none;
  border-radius: var(--raio);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transition: transform 0.6s var(--easing), opacity 0.4s;
  animation: panelIn 1.1s 0.45s var(--easing) both;
}
/* Borda em gradiente nas duas laterais (desktop e mobile) */
.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--raio);
  padding: 1.2px;
  background: linear-gradient(135deg, var(--sol), var(--coral));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}
@keyframes panelIn { from { opacity: 0; transform: translateX(-60px); } }
.panel.is-hidden { transform: translateX(calc(-100% - 60px)); opacity: 0; }
.panel-drag-handle { display: none; }

.panel-view {
  position: absolute; inset: 0;
  display: none; flex-direction: column;
  overflow-y: auto; overflow-x: hidden;
}
.panel-view.is-active { display: flex; }

.panel-head { padding: 30px 28px 10px; }
.eyebrow {
  font-size: 0.62rem; font-weight: 750; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--sol);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,178,94,.4), transparent); }
.panel-head h1 {
  margin-top: 14px;
  font-family: "Fraunces", serif;
  font-size: 2.3rem; font-weight: 480; line-height: 1.04;
  letter-spacing: -0.015em;
}
.panel-head h1 em {
  font-style: italic; font-weight: 380;
  background: linear-gradient(100deg, var(--sol), var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.18em; /* evita corte do "?" em itálico */
}
.lede { margin-top: 14px; font-size: 0.84rem; font-weight: 420; line-height: 1.65; color: var(--névoa); }

/* ===== Cards de passeio ===== */
.tour-list { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 24px; }
.tour-card {
  position: relative; height: 128px;
  border-radius: 18px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(185, 196, 201, 0.78);
  animation: cardIn 0.9s var(--easing) both;
  transition: transform 0.45s var(--easing), border-color 0.3s, box-shadow 0.45s;
  isolation: isolate;
}
.tour-card:nth-child(1) { animation-delay: 0.65s; }
.tour-card:nth-child(2) { animation-delay: 0.75s; }
.tour-card:nth-child(3) { animation-delay: 0.85s; }
.tour-card:nth-child(4) { animation-delay: 0.95s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }
.tour-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  transition: transform 0.9s var(--easing), filter 0.5s;
  filter: saturate(0.92) brightness(0.9);
}
.tour-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(78deg, rgba(4,12,18,.92) 22%, rgba(4,12,18,.55) 55%, rgba(4,12,18,.12) 100%);
  transition: opacity 0.4s;
}
.tour-card:hover { transform: translateY(-4px); border-color: var(--borda-viva); box-shadow: 0 24px 50px -18px rgba(0,0,0,.75); }
.tour-card:hover img { transform: scale(1.07); filter: saturate(1.08) brightness(1); }
.tour-card-body {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 16px 96px 16px 20px; gap: 4px;
}
.tour-card-tag {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sol);
}
.tour-card h3 {
  font-family: "Fraunces", serif; font-size: 1.34rem; font-weight: 520;
  letter-spacing: -0.01em; line-height: 1.1;
}
.tour-card-meta { font-size: 0.72rem; font-weight: 500; color: var(--névoa); }
.tour-card-price {
  position: absolute; right: 16px; bottom: 14px;
  font-size: 0.68rem; color: var(--névoa); text-align: right; line-height: 1.3;
}
.tour-card-price strong {
  display: block; font-family: "Fraunces", serif;
  font-size: 1.25rem; font-weight: 850; color: var(--espuma);
}
.tour-card-arrow {
  position: absolute; right: 16px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--borda-viva);
  display: grid; place-items: center;
  background: rgba(5,13,20,.4); backdrop-filter: blur(6px);
  transition: background 0.3s, transform 0.45s var(--easing);
}
.tour-card:hover .tour-card-arrow { background: var(--sol); color: var(--abismo); transform: rotate(45deg); }

.panel-foot {
  margin-top: auto; padding: 16px 28px 20px;
  border-top: 1px solid var(--borda);
  font-size: 0.7rem; font-weight: 500; color: var(--névoa-2);
  display: flex; align-items: center; gap: 10px;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--verde-wa); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

/* ===== Detalhe ===== */
.detail-hero { position: relative; height: 240px; overflow: hidden; flex-shrink: 0; }
.detail-hero img {
  width: 100%; height: calc(100% + 4px); object-fit: cover;
  margin-top: -2px;
  animation: kenburns 16s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.detail-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,13,20,.45) 0%, transparent 32%, transparent 55%, rgba(9,22,32,.96) 100%);
}
.detail-back {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(5,13,20,.5); backdrop-filter: blur(12px);
  border: 1px solid var(--borda-viva); border-radius: 999px;
  color: var(--espuma); cursor: pointer;
  font: 650 0.72rem "Bricolage", sans-serif;
  padding: 8px 14px;
  transition: background 0.25s, transform 0.25s;
}
.detail-back:hover { background: rgba(5,13,20,.8); transform: translateX(-2px); }
.detail-hero-txt { position: absolute; left: 24px; right: 24px; bottom: 14px; z-index: 4; }
.detail-hero-txt .tour-card-tag { text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.detail-hero-txt h2 {
  font-family: "Fraunces", serif; font-size: 1.9rem; font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.05; margin-top: 4px;
  text-shadow: 0 4px 24px rgba(0,0,0,.55);
}
.detail-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px 0; }
.detail-chips span {
  font-size: 0.68rem; font-weight: 650; letter-spacing: 0.03em;
  padding: 7px 13px; border-radius: 999px;
  background: var(--vidro-2); border: 1px solid var(--borda);
  color: var(--névoa);
}
.detail-chips span b { color: var(--espuma); font-weight: 750; }
.detail-info { padding: 14px 26px 0; font-size: 0.83rem; font-weight: 420; line-height: 1.7; color: var(--névoa); }

.gallery { display: flex; gap: 9px; padding: 16px 22px 6px; overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  width: 118px; height: 80px; object-fit: cover; border-radius: 12px;
  cursor: zoom-in; flex-shrink: 0;
  border: 1px solid var(--borda);
  filter: brightness(0.85);
  transition: filter 0.3s, transform 0.4s var(--easing), border-color 0.3s;
}
.gallery img:hover { filter: brightness(1.05); transform: scale(1.04); border-color: var(--borda-viva); }

.ag-title {
  padding: 22px 26px 2px;
  font-size: 0.62rem; font-weight: 750; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--sol);
  display: flex; align-items: center; gap: 10px;
}
.ag-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,178,94,.4), transparent); }
.ag-sub { padding: 8px 26px 6px; font-size: 0.76rem; color: var(--névoa-2); line-height: 1.5; }

.ag-card {
  margin: 10px 22px 0; padding: 16px 18px;
  background: var(--vidro-2);
  border: 1px solid var(--borda); border-radius: 18px;
  animation: cardIn 0.7s var(--easing) both;
  transition: border-color 0.3s;
}
.ag-card:hover { border-color: var(--borda-viva); }
.ag-head { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.ag-avatar {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  font: 620 0.95rem "Fraunces", serif; color: var(--abismo);
  background: linear-gradient(135deg, var(--sol), var(--coral));
  box-shadow: 0 8px 20px -6px rgba(255, 122, 74, 0.45);
}
.ag-head-txt { flex: 1; min-width: 0; }
.ag-head-txt h4 {
  font-size: 0.94rem; font-weight: 700; letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.badge-check {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.56rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #8fe6ff; background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px; padding: 2px 8px;
}
.ag-head-txt small { font-size: 0.7rem; font-weight: 500; color: var(--névoa-2); }
.ag-rating { text-align: right; line-height: 1.25; white-space: nowrap; }
.ag-rating b { font-family: "Fraunces", serif; font-size: 1.05rem; font-weight: 620; color: var(--sol); }
.ag-rating small { display: block; font-size: 0.62rem; color: var(--névoa-2); }
.ag-bio { margin-top: 10px; font-size: 0.77rem; font-weight: 420; line-height: 1.6; color: var(--névoa); }

.offer {
  margin-top: 12px; padding: 13px 15px;
  border: 1px solid var(--borda); border-radius: 14px;
  background: rgba(5, 13, 20, 0.45);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color 0.3s;
}
.offer:hover { border-color: rgba(255, 178, 94, 0.35); }
.offer-txt strong { font-size: 0.84rem; font-weight: 700; display: block; }
.offer-txt small { display: block; margin-top: 3px; font-size: 0.68rem; color: var(--névoa-2); line-height: 1.45; }
.offer-side { text-align: right; flex-shrink: 0; }
.offer-price {
  color: var(--espuma); line-height: 1.05;
}
.catamara-card .tour-card-body { padding-right: 132px; }
.catamara-card .tour-card-meta { max-width: 205px; line-height: 1.3; }
.catamara-capacity {
  position:absolute; right:14px; bottom:15px; min-width:104px; text-align:right;
  color:var(--sol); font-size:.62rem; font-weight:800; line-height:1.05; text-transform:uppercase;
}
.catamara-capacity span { display:block; margin-bottom:3px; }
.catamara-capacity strong { display:block; font-family:"Fraunces",serif; font-size:1.7rem; font-weight:800; color:var(--espuma); white-space:nowrap; line-height:.95; }
.catamara-capacity small { margin-left:3px; font-family:"Bricolage",sans-serif; font-size:.56rem; font-weight:800; color:var(--névoa); text-transform:lowercase; }
.offer-price small { display:block; margin-bottom:3px; font-size:0.58rem; font-family:"Bricolage"; color:var(--névoa-2); font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.offer-price strong { display:block; font-family:"Fraunces",serif; font-size:1.15rem; font-weight:620; white-space:nowrap; }
.offer-buy {
  margin-top: 6px;
  border: none; cursor: pointer; border-radius: 999px;
  background: linear-gradient(120deg, var(--sol), var(--coral));
  color: var(--abismo);
  font: 800 0.72rem "Bricolage", sans-serif; letter-spacing: 0.04em;
  padding: 9px 18px;
  box-shadow: 0 10px 24px -8px rgba(255, 107, 74, 0.55);
  transition: transform 0.3s var(--easing), box-shadow 0.3s;
}
.offer-buy:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 30px -8px rgba(255, 107, 74, 0.7); }

/* ===== Toggle painel ===== */
.panel-toggle {
  position: fixed; z-index: 55;
  top: 50%; left: 434px; transform: translateY(-50%);
  width: 34px; height: 60px;
  border: 1px solid var(--borda); border-left: none;
  border-radius: 0 14px 14px 0;
  background: var(--vidro); backdrop-filter: blur(16px);
  color: var(--névoa); cursor: pointer;
  display: grid; place-items: center;
  transition: left 0.6s var(--easing), color 0.25s;
}
.panel-toggle:hover { color: var(--sol); }
.panel-toggle.is-closed { left: 0; }
.panel-toggle.is-closed svg { transform: rotate(180deg); }
.panel-toggle svg { transition: transform 0.4s var(--easing); }
.panel-mobile-restore { display: none; }
/* A página principal usa apenas as categorias e os cards; busca e filtros ficam ocultos. */
.panel-head .search-box,
.panel-head #filterRow { display: none !important; }

/* ===== Marcadores: passeios (foto circular) ===== */
.mk { position: relative; width: 64px; height: 64px; cursor: pointer; }
.mk-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(255, 178, 94, 0.6);
  animation: ringPulse 2.6s var(--easing) infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.75); opacity: 0; }
}
.mk-photo {
  position: absolute; inset: 6px; border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.75);
  transition: transform 0.4s var(--easing), border-color 0.3s;
  animation: mkIn 0.8s var(--easing) both;
}
@keyframes mkIn { from { opacity: 0; transform: scale(0.3); } }
.mk-photo img { width: 100%; height: 100%; object-fit: cover; }
.mk:hover .mk-photo { transform: scale(1.12); border-color: var(--sol); }
.mk.is-sel .mk-photo { border-color: var(--sol); box-shadow: 0 0 0 4px rgba(255,178,94,.25), 0 12px 30px -8px rgba(0,0,0,.75); }
.mk-label {
  position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font: 700 0.66rem "Bricolage", sans-serif; letter-spacing: 0.04em;
  color: var(--espuma);
  background: rgba(5, 13, 20, 0.72); backdrop-filter: blur(8px);
  border: 1px solid var(--borda);
  padding: 4px 11px; border-radius: 999px;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}

/* ===== Marcadores: agências ===== */
.mk-ag {
  display: flex; align-items: center; gap: 8px;
  width: max-content;
  background: rgba(5, 13, 20, 0.78); backdrop-filter: blur(14px);
  border: 1px solid var(--borda-viva);
  border-radius: 999px; padding: 6px 14px 6px 7px;
  font: 650 0.72rem "Bricolage", sans-serif;
  color: var(--espuma);
  white-space: nowrap;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  animation: agIn 0.6s var(--easing) both;
  transition: border-color 0.25s, transform 0.25s var(--easing);
}
.mk-ag:hover { border-color: var(--sol); transform: translateY(-2px); }
@keyframes agIn { from { opacity: 0; transform: translateY(14px) scale(0.85); } }
.mk-ag i {
  width: 24px; height: 24px; border-radius: 50%; font-style: normal;
  background: linear-gradient(135deg, var(--sol), var(--coral));
  color: var(--abismo);
  display: grid; place-items: center;
  font-size: 0.56rem; font-weight: 800;
}
.mk-ag em { font-style: normal; color: var(--sol); font-weight: 800; }

/* Popup */
.leaflet-popup-content-wrapper {
  background: rgba(9, 22, 32, 0.92) !important;
  backdrop-filter: blur(20px);
  color: var(--espuma) !important;
  border: 1px solid var(--borda-viva);
  border-radius: 18px !important;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85) !important;
  font-family: "Bricolage", sans-serif;
}
.leaflet-popup-tip { background: rgba(9, 22, 32, 0.92) !important; border: 1px solid var(--borda-viva); }
.leaflet-popup-content { margin: 16px 18px !important; }
.leaflet-popup-close-button { color: var(--névoa) !important; }
.pp h4 { font-family: "Fraunces", serif; font-size: 1.05rem; font-weight: 560; display: flex; gap: 7px; align-items: center; }
.pp p { font-size: 0.74rem; color: var(--névoa); margin: 6px 0 10px; line-height: 1.55; }
.pp button {
  border: none; cursor: pointer; border-radius: 999px; padding: 9px 16px;
  background: linear-gradient(120deg, var(--sol), var(--coral));
  color: var(--abismo); font: 800 0.72rem "Bricolage", sans-serif;
}

/* ===== Modal / Ticket ===== */
.modal-wrap {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(3, 8, 13, 0.7); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center; padding: 22px;
}
.modal-wrap.is-open { display: flex; }
.modal {
  width: min(440px, 100%);
  background: linear-gradient(170deg, #0d2130, #081522);
  border: 1px solid var(--borda-viva);
  border-radius: 26px;
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden auto; max-height: 92vh;
  animation: modalIn 0.55s var(--easing) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(46px) scale(0.94); } }
.modal-hd { padding: 24px 28px 16px; border-bottom: 1px solid var(--borda); }
.modal-hd .eyebrow { margin-bottom: 8px; }
.modal-hd h3 { font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; }
.modal-hd small { display: block; margin-top: 5px; font-size: 0.76rem; color: var(--névoa); }
.mobile-menu-logo { display: block; width: 98px; height: auto; max-height: 42px; object-fit: contain; object-position: left center; margin: -4px 0 8px; filter: drop-shadow(0 3px 10px rgba(0,0,0,.35)); }
.tide-calendar { margin: 12px 0 14px; padding: 10px 12px 9px; background: rgba(5,13,20,.35); border: 1px solid var(--borda); border-radius: 14px; }
/* A visualização principal exibe apenas o gráfico e os resultados da maré. */
.modal-wide .tide-nav,
.modal-wide .tide-ideal { display: none !important; }
.tide-cal-head { display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--espuma); text-transform:capitalize; font-size:.82rem; }
.tide-cal-arrow { width:28px; height:28px; border:1px solid var(--borda-viva); border-radius:50%; background:transparent; color:var(--espuma); font-size:1.2rem; cursor:pointer; }
.tide-cal-arrow:hover { color:var(--sol); border-color:var(--sol); }
.tide-cal-week, .tide-cal-grid { display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:4px; }
.tide-cal-week { margin-top:10px; color:var(--névoa-2); font-size:.52rem; font-weight:800; letter-spacing:.08em; text-align:center; }
.tide-cal-grid { margin-top:5px; }
.tide-cal-day, .tide-cal-empty { min-height:30px; border-radius:8px; }
.tide-cal-day { position:relative; border:1px solid transparent; background:rgba(255,255,255,.025); color:var(--névoa); cursor:pointer; font:700 .68rem "Bricolage",sans-serif; }
.tide-cal-day:hover { border-color:var(--borda-viva); color:var(--espuma); }
.tide-cal-day.is-selected { background:var(--sol); color:var(--abismo); border-color:var(--sol); box-shadow:0 0 12px rgba(255,178,94,.35); }
.tide-cal-day.is-disabled { opacity:.25; cursor:not-allowed; }
.tide-cal-day i, .tide-cal-note i { display:block; width:4px; height:4px; margin:2px auto 0; border-radius:50%; background:#38bdf8; }
.tide-cal-note { display:flex; align-items:center; gap:5px; margin-top:8px; color:var(--névoa-2); font-size:.58rem; }
.modal-bd { padding: 18px 28px 26px; }
.modal-bd label {
  display: block; margin: 14px 0 6px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--névoa-2);
}
.modal-bd input, .modal-bd select {
  width: 100%; padding: 13px 16px;
  background: rgba(5, 13, 20, 0.6);
  border: 1px solid var(--borda); border-radius: 13px;
  font: 600 0.9rem "Bricolage", sans-serif; color: var(--espuma);
  outline: none; transition: border-color 0.25s;
  color-scheme: dark;
}
.modal-bd input:focus, .modal-bd select:focus { border-color: var(--sol); }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.btn-ghost, .btn-solid {
  flex: 1; padding: 14px; border-radius: 999px; cursor: pointer;
  font: 800 0.82rem "Bricolage", sans-serif; letter-spacing: 0.02em;
  transition: transform 0.3s var(--easing), filter 0.25s;
}
.btn-ghost { background: none; border: 1px solid var(--borda-viva); color: var(--névoa); }
.btn-ghost:hover { border-color: var(--espuma); color: var(--espuma); }
.btn-solid {
  border: none;
  background: linear-gradient(120deg, var(--sol), var(--coral));
  color: var(--abismo);
  box-shadow: 0 14px 32px -10px rgba(255, 107, 74, 0.6);
}
.btn-solid:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-wa { background: linear-gradient(120deg, #34d97b, #16a34a); box-shadow: 0 14px 32px -10px rgba(34, 197, 94, 0.5); }

/* Opções do menu móvel: bordas e cores sem halo/sombra colorida. */
.menu-option,
.menu-option:hover { box-shadow: none; }

/* Boarding pass */
.ticket {
  position: relative; margin-top: 6px;
  background: linear-gradient(155deg, #f8f4ec, #efe6d6);
  color: #16242e;
  border-radius: 18px; overflow: hidden;
}
.ticket-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px 12px;
}
.ticket-top img { height: 30px; }
.ticket-code {
  font: 800 0.78rem "Bricolage", monospace; letter-spacing: 0.16em;
  color: #b3541e;
}
.ticket-main { padding: 2px 20px 14px; }
.ticket-main h4 {
  font-family: "Fraunces", serif; font-size: 1.35rem; font-weight: 560; letter-spacing: -0.01em;
}
.ticket-main > small { font-size: 0.68rem; font-weight: 650; color: #6b7a84; letter-spacing: 0.06em; text-transform: uppercase; }
.ticket-rows { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ticket-rows small {
  display: block; font-size: 0.55rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: #93a1aa;
}
.ticket-rows b { font-size: 0.86rem; font-weight: 750; }
.ticket-cut {
  position: relative; border-top: 2px dashed rgba(22, 36, 46, 0.25);
  margin: 4px 0 0;
}
.ticket-cut::before, .ticket-cut::after {
  content: ""; position: absolute; top: -11px; width: 22px; height: 22px;
  border-radius: 50%; background: #0b1b28;
}
.ticket-cut::before { left: -12px; }
.ticket-cut::after { right: -12px; }
.ticket-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 16px; gap: 14px;
}
.ticket-total small { display: block; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #93a1aa; }
.ticket-total b { font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 620; color: #b3541e; }
.ticket-qr { display: grid; grid-template-columns: repeat(9, 6px); gap: 1.5px; }
.ticket-qr i { width: 6px; height: 6px; background: #16242e; border-radius: 1px; }
.ticket-qr i.o { background: transparent; }
.ticket-note { margin-top: 12px; text-align: center; font-size: 0.66rem; color: var(--névoa-2); line-height: 1.5; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3, 8, 13, 0.94); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; border-radius: 16px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.8);
  animation: modalIn 0.4s var(--easing) both;
}

/* ===== v5: abas de navegação ===== */
.tab-row {
  display: flex; gap: 2px; margin-top: 16px;
  padding: 4px; border-radius: 999px;
  background: rgba(5, 13, 20, 0.55);
  border: 1px solid var(--borda);
}
.tab {
  flex: 1; border: none; background: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 750 0.72rem "Bricolage", sans-serif; letter-spacing: 0.02em;
  color: rgba(238, 246, 249, 0.85); padding: 9px 4px; border-radius: 999px;
  transition: all 0.3s var(--easing); white-space: nowrap;
}
.tab svg { flex-shrink: 0; opacity: 0.9; }
.tab:hover { color: #fff; }
.tab.is-on {
  background: linear-gradient(120deg, var(--sol), var(--coral));
  color: var(--abismo);
  box-shadow: 0 8px 20px -6px rgba(255, 107, 74, 0.5);
}
.oferta-card .card-buy {
  position: absolute; right: 16px; bottom: 12px; z-index: 3;
  padding: 8px 15px; font-size: 0.68rem;
}
.oferta-card .tour-card-price { bottom: 52px; }
.oferta-card .tour-card-body { padding-right: 118px; }

.search-box {
  margin-top: 14px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(5, 13, 20, 0.5);
  border: 1px solid var(--borda); border-radius: 999px;
  padding: 10px 16px; color: var(--névoa-2);
  transition: border-color 0.25s;
}
.search-box:focus-within { border-color: var(--sol); color: var(--sol); }
.search-box input {
  flex: 1; background: none; border: none; outline: none;
  font: 600 0.84rem "Bricolage", sans-serif; color: var(--espuma);
}
.search-box input::placeholder { color: var(--névoa-2); }

.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.f-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--borda); border-radius: 999px;
  color: var(--névoa); cursor: pointer;
  font: 650 0.68rem "Bricolage", sans-serif;
  padding: 6px 13px;
  transition: all 0.25s;
}
.f-chip:hover { border-color: var(--borda-viva); color: var(--espuma); }
.f-chip.is-on { background: var(--sol); border-color: var(--sol); color: var(--abismo); }

/* Contorno fino para separar melhor as opções no painel */
.tab-row { border: none; }
.tab { border: none; }
.tab.is-on { border-color: rgba(225, 231, 233, 0.92); }
.search-box { border-color: rgba(177, 188, 193, 0.72); }
.f-chip { border-color: rgba(177, 188, 193, 0.68); }
.empty-msg { padding: 26px 10px; text-align: center; font-size: 0.8rem; color: var(--névoa-2); line-height: 1.6; }

/* ===== v3: favoritos ===== */
.fav-btn {
  position: absolute; right: 54px; top: 14px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--borda-viva);
  background: rgba(5,13,20,.4); backdrop-filter: blur(6px);
  color: var(--espuma); cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.3s var(--easing);
}
.fav-btn svg, .hero-act svg { fill: none; stroke: currentColor; stroke-width: 2; }
.fav-btn.is-fav, .hero-act.is-fav { color: var(--coral); border-color: var(--coral); }
.fav-btn.is-fav svg, .hero-act.is-fav svg { fill: var(--coral); animation: favPop 0.35s var(--easing); }
@keyframes favPop { 50% { transform: scale(1.35); } }
.fav-btn:hover { transform: scale(1.1); }
.hero-actions { position: absolute; top: 16px; right: 16px; z-index: 5; display: flex; gap: 8px; }
.hero-act {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--borda-viva);
  background: rgba(5,13,20,.5); backdrop-filter: blur(12px);
  color: var(--espuma); cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.25s;
}
.hero-act:hover { background: rgba(5,13,20,.8); transform: scale(1.08); }

/* ===== v3: melhor preço, vagas ===== */
.offer { position: relative; }
.offer.is-best { border-color: rgba(255, 178, 94, 0.5); background: rgba(255, 178, 94, 0.06); }
.best-badge {
  position: absolute; top: -9px; left: 12px;
  font-size: 0.54rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(120deg, var(--sol), var(--coral));
  color: var(--abismo); border-radius: 999px; padding: 3px 10px;
}
.offer-vagas { color: var(--verde-wa) !important; font-weight: 700 !important; }
.offer-vagas.is-low { color: var(--sol) !important; }
.offer-vagas.is-out { color: var(--coral) !important; }

/* ===== v3: reviews ===== */
.reviews-toggle {
  margin-top: 12px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font: 700 0.68rem "Bricolage", sans-serif; letter-spacing: 0.06em;
  color: var(--névoa-2); padding: 6px;
  transition: color 0.25s;
}
.reviews-toggle:hover { color: var(--sol); }
.reviews-toggle.is-open svg { transform: rotate(180deg); }
.reviews-toggle svg { transition: transform 0.3s; }
.reviews { display: none; }
.reviews.is-open { display: block; animation: cardIn 0.4s var(--easing); }
.review { padding: 10px 4px; border-top: 1px solid var(--borda); }
.review-hd { display: flex; justify-content: space-between; font-size: 0.72rem; }
.review-hd b { color: var(--espuma); }
.review-hd span { color: var(--sol); letter-spacing: 0.1em; font-size: 0.66rem; }
.review p { margin-top: 4px; font-size: 0.74rem; line-height: 1.55; color: var(--névoa); }

/* ===== v3: CTA fixo no detalhe ===== */
.sticky-cta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 10;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 20px;
  background: linear-gradient(180deg, transparent, rgba(5, 13, 20, 0.92) 30%);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--borda);
}
#viewDetail.is-active ~ .sticky-cta, #viewDetail.is-active .sticky-cta { display: flex; }
.sticky-cta-txt small { display: block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--névoa-2); }
.sticky-cta-txt b { font-family: "Fraunces", serif; font-size: 1.3rem; font-weight: 620; }
.sticky-btn { flex: 0 1 auto; padding: 13px 22px; }

/* ===== v3: carteira ===== */
.wallet-count {
  min-width: 17px; height: 17px; border-radius: 999px;
  background: var(--coral); color: #fff;
  font-size: 0.6rem; font-weight: 800;
  display: inline-grid; place-items: center; padding: 0 5px;
}
.wallet-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px; margin-top: 10px;
  background: rgba(5, 13, 20, 0.5);
  border: 1px solid var(--borda); border-radius: 14px;
  cursor: pointer; transition: border-color 0.25s;
}
.wallet-item:hover { border-color: var(--sol); }
.wallet-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.wallet-txt { flex: 1; min-width: 0; }
.wallet-txt b { font-size: 0.86rem; display: block; }
.wallet-txt small { font-size: 0.7rem; color: var(--névoa-2); }
.wallet-item .ticket-code { font-size: 0.62rem; }

/* ===== v3: disponibilidade na reserva ===== */
.disp-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.disp {
  font-size: 0.7rem; font-weight: 750;
  color: var(--verde-wa);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px; padding: 6px 13px;
}
.disp.is-low { color: var(--sol); background: rgba(255,178,94,.1); border-color: rgba(255,178,94,.35); }
.disp.is-out { color: var(--coral); background: rgba(255,107,74,.1); border-color: rgba(255,107,74,.35); }
.disp-wx { color: var(--espuma); background: rgba(255,255,255,.06); border-color: var(--borda-viva); }
.btn-solid:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ===== v7: checklist de inclusos + voltar ao topo ===== */
.inclui {
  list-style: none; margin: 7px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 4px;
}
.inclui li {
  font-size: 0.7rem; font-weight: 550; color: var(--névoa);
  display: flex; align-items: baseline; gap: 5px; line-height: 1.35;
}
.inclui li::before {
  content: ""; flex-shrink: 0; width: 12px; height: 12px; margin-top: 2px;
  background: var(--verde-wa);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.scroll-top {
  position: absolute; right: 16px; bottom: 16px; z-index: 12;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--borda-viva);
  background: rgba(9, 22, 32, 0.85); backdrop-filter: blur(14px);
  color: var(--espuma); cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.35s var(--easing);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.7);
}
.scroll-top.is-vis { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { border-color: var(--sol); color: var(--sol); transform: translateY(-2px); }

/* ===== v8: regras de cancelamento ===== */
.cancel-rules { display: flex; flex-direction: column; gap: 9px; }
.cancel-rule {
  padding: 12px 15px; border-radius: 13px;
  background: rgba(5, 13, 20, 0.5);
  border: 1px solid var(--borda);
  border-left-width: 3px;
}
.cancel-rule b { display: block; font-size: 0.82rem; font-weight: 750; }
.cancel-rule span { display: block; margin-top: 3px; font-size: 0.74rem; line-height: 1.55; color: var(--névoa); }
.cancel-rule.is-ok { border-left-color: var(--verde-wa); }
.cancel-rule.is-ok b { color: #7ee2a8; }
.cancel-rule.is-mid { border-left-color: var(--sol); }
.cancel-rule.is-mid b { color: var(--sol); }
.cancel-rule.is-no { border-left-color: var(--coral); }
.cancel-rule.is-no b { color: #ff9b82; }

/* ===== v6: transfer privativo ===== */
.lbl-opc { color: var(--névoa-2); font-weight: 600; letter-spacing: 0.04em; text-transform: none; }
.transfer-opts { display: flex; flex-direction: column; gap: 8px; }
.t-opt {
  text-align: left; cursor: pointer;
  background: rgba(5, 13, 20, 0.6);
  border: 1px solid var(--borda); border-radius: 13px;
  padding: 11px 15px; color: var(--espuma);
  font-family: "Bricolage", sans-serif;
  transition: border-color 0.25s, background 0.25s;
}
.t-opt:hover { border-color: var(--borda-viva); }
.t-opt.is-on {
  border-color: var(--sol);
  background: rgba(255, 178, 94, 0.08);
  box-shadow: 0 0 0 1px var(--sol) inset;
}
.t-opt b { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 750; }
.t-opt b svg { width: 20px !important; height: 20px !important; color: var(--sol); }
.t-opt small { display: block; margin-top: 2px; font-size: 0.68rem; color: var(--névoa-2); }
.total-preview {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 16px; padding: 12px 16px;
  background: rgba(255, 178, 94, 0.07);
  border: 1px dashed rgba(255, 178, 94, 0.4); border-radius: 13px;
}
.total-preview span { font-size: 0.72rem; color: var(--névoa); }
.total-preview b { font-family: "Fraunces", serif; font-size: 1.15rem; font-weight: 650; color: var(--sol); white-space: nowrap; }

/* ===== v3: toasts ===== */
.toasts {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 250; display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  background: rgba(9, 22, 32, 0.94); backdrop-filter: blur(16px);
  border: 1px solid var(--borda-viva); border-radius: 999px;
  color: var(--espuma);
  font: 650 0.78rem "Bricolage", sans-serif;
  padding: 11px 20px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8);
  animation: toastIn 0.5s var(--easing) both;
}
.toast.is-out { animation: toastOut 0.5s var(--easing) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) scale(0.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px) scale(0.94); } }
.toast-ic {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(120deg, var(--sol), var(--coral));
  color: var(--abismo); font-size: 0.7rem; font-weight: 800;
  display: grid; place-items: center;
}

/* ===== v3: rota animada ===== */
.route-line { animation: dashFlow 1.4s linear infinite; filter: drop-shadow(0 0 6px rgba(255,178,94,.5)); }
@keyframes dashFlow { to { stroke-dashoffset: -20; } }

/* ===== v3: lightbox nav ===== */
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--borda-viva);
  background: rgba(5,13,20,.6); backdrop-filter: blur(10px);
  color: var(--espuma); font-size: 1.5rem; cursor: pointer;
  display: grid; place-items: center; z-index: 5;
  transition: background 0.25s, transform 0.25s;
}
.lb-nav:hover { background: rgba(5,13,20,.9); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

/* ===== v3: skeleton / fade-in de imagens ===== */
.tour-card img, .gallery img, .wallet-item img {
  background: linear-gradient(110deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.04) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.tour-card img { opacity: 0; transition: opacity 0.5s ease; }
.tour-card img.loaded { opacity: 1; animation: none; }
.gallery img { opacity: 0.001; transition: opacity 0.5s ease, filter 0.3s, transform 0.4s var(--easing), border-color 0.3s; }
.gallery img.loaded { opacity: 1; animation: none; }

/* ===== v3: pill clima / tour ===== */
.nav-wx { font-size: 0.9rem; }
#btnTour.is-on { background: var(--sol); color: var(--abismo); border-color: var(--sol); }
.tour-ic { flex-shrink: 0; }

/* ===== v4: tábua de marés ===== */
.modal.modal-wide { width: min(760px, 100%); }
.photo-gallery-modal { width: min(1180px, calc(100vw - 28px)); height: min(820px, calc(100vh - 28px)); padding:0; overflow:hidden; background:#071922; }
.photo-modal-head { height:46px; display:flex; align-items:center; justify-content:space-between; padding:0 14px 0 20px; background:#06151d; border-bottom:1px solid rgba(190,205,210,.22); color:var(--espuma); font:700 .76rem Bricolage,system-ui,sans-serif; letter-spacing:.04em; }
.photo-modal-close { width:28px; height:28px; border:1px solid rgba(190,205,210,.32); border-radius:50%; background:transparent; color:var(--névoa); font-size:1.2rem; cursor:pointer; line-height:1; }
.photo-modal-close:hover { border-color:var(--sol); color:var(--sol); }
.photo-gallery-frame { display:block; width:100%; height:calc(100% - 46px); min-height:0; border:0; background:#071922; }
@media(max-width:700px){.photo-gallery-modal{width:calc(100vw - 12px);height:calc(100vh - 12px);border-radius:14px}.photo-modal-head{height:42px;padding-left:14px}.photo-gallery-frame{height:calc(100% - 42px)}}
.tide-bd { padding-top: 14px; }
.tide-date { display: flex; align-items: center; gap: 12px; }
.tide-date > b {
  font-family: "Fraunces", serif; font-size: 1.05rem; font-weight: 560;
  text-transform: capitalize; letter-spacing: 0.01em;
}
.tide-ideal {
  display: block; width: 100%; text-align: center;
  margin: 0 0 12px; padding: 10px 16px;
  border-radius: 12px; cursor: pointer;
  background: rgba(255, 178, 94, 0.07);
  border: 1px dashed rgba(255, 178, 94, 0.4);
  color: var(--névoa);
  font: 600 0.76rem "Bricolage", sans-serif; line-height: 1.5;
  transition: border-color 0.25s, background 0.25s;
}
.tide-ideal b { color: var(--sol); font-weight: 800; }
.tide-ideal:hover { border-color: var(--sol); background: rgba(255, 178, 94, 0.12); }
.tide-ideal.is-on {
  cursor: default;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.tide-ideal.is-on b { color: var(--verde-wa); }
.tide-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.tide-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--borda-viva); background: rgba(5,13,20,.5);
  color: var(--espuma); font-size: 1.2rem; cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.25s;
}
.tide-arrow:hover:not(:disabled) { border-color: var(--sol); color: var(--sol); }
.tide-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.tide-hoje {
  border: 1px solid var(--borda-viva); background: none; border-radius: 999px;
  color: var(--névoa); font: 700 0.74rem "Bricolage", sans-serif;
  padding: 8px 18px; cursor: pointer; transition: all 0.25s;
}
.tide-hoje:hover { color: var(--espuma); }
.tide-hoje.is-on { background: var(--sol); border-color: var(--sol); color: var(--abismo); }

.tide-chart-wrap {
  background: rgba(5, 13, 20, 0.55);
  border: 1px solid var(--borda); border-radius: 16px;
  padding: 10px 6px 4px; overflow-x: auto; overflow-y: hidden;
}
@media (max-width: 700px) {
  /* O filtro SVG de granulação é somente decorativo e pesa na GPU de celulares. */
  .grain { display: none; }
}
.tide-svg { width: 100%; min-width: 980px; height: auto; display: block; }
.td-grid { stroke: rgba(255, 255, 255, 0.05); stroke-width: 1; }
.td-grid-h { stroke-dasharray: 3 5; stroke: rgba(255, 255, 255, 0.07); }
.td-hour { fill: rgba(238, 246, 249, 0.65); font: 700 10px "Bricolage", sans-serif; text-anchor: middle; }
.td-m { fill: rgba(238, 246, 249, 0.7); font: 800 10px "Bricolage", sans-serif; text-anchor: end; }
.td-day { fill: var(--sol); font: 800 11px "Bricolage", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; text-anchor: middle; }
.td-day-div { stroke: rgba(255, 178, 94, 0.25); stroke-width: 1; stroke-dasharray: 4 6; }
.td-curve { filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45)); stroke-linecap: round; }
.td-area { animation: tideRise 1.2s var(--easing) both; transform-origin: bottom; }
@keyframes tideRise { from { transform: scaleY(0); } }
.td-dot { stroke-width: 2; }
.td-dot.is-hi { fill: #38bdf8; stroke: #041019; }
.td-dot.is-lo { fill: var(--coral); stroke: #041019; }
.td-time { font: 900 13px "Bricolage", sans-serif; text-anchor: middle; }
.td-time.is-hi { fill: #93e2ff; }
.td-time.is-lo { fill: #ffa58f; }
.td-alt { fill: rgba(238, 246, 249, 0.85); font: 700 10px "Bricolage", sans-serif; text-anchor: middle; }
.td-now { stroke: var(--coral); stroke-width: 1.5; stroke-dasharray: 2 4; }
.td-now-dot {
  fill: var(--coral); stroke: #fff; stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(255, 107, 74, 0.8));
  animation: nowPulse 1.8s ease-in-out infinite;
}
@keyframes nowPulse { 50% { r: 8; } }

.tide-status { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.tide-status > div {
  flex: 1; min-width: 125px;
  background: rgba(13, 30, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px;
  padding: 11px 13px; line-height: 1.35;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.tide-status small { display: block; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(238, 246, 249, 0.75); margin-bottom: 4px; }
.tide-status b { font-family: "Fraunces", serif; font-size: 1.25rem; font-weight: 650; }
.tide-now .is-up { display: block; font-size: 0.68rem; font-weight: 800; color: var(--verde-wa); }
.tide-now .is-down { display: block; font-size: 0.68rem; font-weight: 800; color: var(--coral); }
.tide-next span { display: block; font-size: 0.68rem; color: var(--névoa); }
.tide-dica span { font-size: 0.7rem; color: var(--névoa); line-height: 1.45; display: block; }
.tide-dica b { font-size: 0.7rem; font-family: "Bricolage"; color: #7dd3fc; }

/* ===== v10: POIs, barquinho, chips, QR, idiomas, TV, onboarding ===== */
:focus-visible { outline: 2px solid var(--sol); outline-offset: 2px; border-radius: 4px; }

.mk-poi {
  display: flex; align-items: center; gap: 5px; width: max-content;
  pointer-events: none; opacity: 0.9;
}
.mk-poi-interactive {
  pointer-events: auto !important;
  cursor: pointer !important;
}
.mk-poi-interactive span {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mk-poi-interactive:hover span {
  border-color: var(--sol) !important;
  background: rgba(5, 13, 20, 0.95) !important;
  transform: scale(1.15) translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(255, 178, 94, 0.4);
}
.mk-poi-interactive em {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mk-poi-interactive:hover em {
  color: var(--sol) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 0 4px rgba(255, 178, 94, 0.5) !important;
  transform: translateX(1px);
}
.mk-poi span {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(5, 13, 20, 0.75); border: 1px solid var(--borda-viva);
  display: grid; place-items: center; font-size: 0.65rem;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.7);
}
.mk-poi em {
  font: 650 0.6rem "Bricolage", sans-serif; font-style: normal;
  color: rgba(238, 246, 249, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0,0,0,.8);
}

.mk-poi-beach span {
  background: rgba(8, 48, 74, 0.85) !important;
  border: 1.5px solid #22d3ee !important;
  color: #22d3ee !important;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.45);
}
.mk-poi-beach em {
  font-weight: 750 !important;
  color: #e0f7fa !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 1), 0 0 3px rgba(0, 0, 0, 1) !important;
}
.mk-poi-beach:hover span {
  border-color: var(--sol) !important;
  color: var(--sol) !important;
  box-shadow: 0 0 12px rgba(255, 178, 94, 0.6);
}
.mk-poi-beach:hover em {
  color: var(--sol) !important;
}

.mk-boat {
  font-size: 1.15rem; line-height: 30px; text-align: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.chip-link {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 7px 13px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 178, 94, 0.1); border: 1px solid rgba(255, 178, 94, 0.4);
  color: var(--sol); transition: background 0.25s;
}
.chip-link:hover { background: rgba(255, 178, 94, 0.2); }
.chip-hoje {
  font-size: 0.68rem; font-weight: 650;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.3);
  color: #a8dfff;
}

.ticket-qr-real { width: 74px; height: 74px; }
.ticket-qr-real svg { width: 100%; height: 100%; display: block; }
.note-link { color: var(--sol); text-decoration: none; font-weight: 700; }
.note-link:hover { text-decoration: underline; }

.cadastur { height: 22px; margin-left: auto; opacity: 0.8; filter: grayscale(0.2); }
.langs { display: flex; gap: 3px; }
.lang {
  border: 1px solid transparent; background: none; cursor: pointer;
  font: 800 0.62rem "Bricolage", sans-serif; letter-spacing: 0.06em;
  color: var(--névoa-2); padding: 4px 7px; border-radius: 7px;
  transition: all 0.2s;
}
.lang:hover { color: var(--espuma); }
.lang.is-on { color: var(--sol); border-color: rgba(255, 178, 94, 0.4); }

.onboard-tip {
  position: fixed; z-index: 90;
  left: 50%; bottom: 90px; transform: translateX(-50%);
  background: rgba(9, 22, 32, 0.94); backdrop-filter: blur(16px);
  border: 1px solid var(--sol); border-radius: 999px;
  color: var(--espuma); cursor: pointer;
  font: 650 0.8rem "Bricolage", sans-serif;
  padding: 13px 22px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 6px rgba(255, 178, 94, 0.12);
  animation: toastIn 0.6s var(--easing) both, tipFloat 2.4s 1s ease-in-out infinite;
}
@keyframes tipFloat { 50% { transform: translateX(-50%) translateY(-6px); } }
.onboard-tip[hidden] { display: none; }

/* Modo TV (vitrine ?tv) */
body.tv .panel, body.tv .panel-toggle, body.tv .topnav, body.tv .toasts { display: none !important; }
.tv-overlay {
  position: fixed; right: 30px; bottom: 30px; z-index: 95;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: rgba(9, 22, 32, 0.9); backdrop-filter: blur(18px);
  border: 1px solid var(--borda-viva); border-radius: 20px;
  padding: 18px 22px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
}
.tv-overlay[hidden] { display: none; }
.tv-overlay img { height: 52px; }
.tv-qr { width: 120px; height: 120px; background: #fff; border-radius: 10px; padding: 6px; }
.tv-qr svg { width: 100%; height: 100%; display: block; }
.tv-overlay p { font: 650 0.72rem "Bricolage", sans-serif; color: var(--névoa); max-width: 150px; text-align: center; line-height: 1.4; }

/* ===== v11: pagamento (Mercado Pago) + ticket com status ===== */
.pay-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.btn-pay, .btn-wa-line {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 15px; border-radius: 999px; cursor: pointer;
  font: 800 0.86rem "Bricolage", sans-serif; letter-spacing: 0.02em;
  transition: transform 0.3s var(--easing), filter 0.25s;
}
.btn-pay { border: none; background: linear-gradient(120deg, var(--sol), var(--coral)); color: var(--abismo); box-shadow: 0 14px 32px -10px rgba(255, 107, 74, 0.6); }
.btn-pay:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-wa-line { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.4); color: #7ee2a8; }
.btn-wa-line:hover { background: rgba(34, 197, 94, 0.18); }
.link-cancel { display: block; margin: 6px auto 0; background: none; border: none; cursor: pointer; color: var(--névoa-2); font: 650 0.76rem "Bricolage", sans-serif; padding: 6px; }
.link-cancel:hover { color: var(--espuma); }

.pay-demo {
  font-size: 0.72rem; line-height: 1.5; color: #ffd9a8;
  background: rgba(255, 178, 94, 0.09); border: 1px dashed rgba(255, 178, 94, 0.4);
  border-radius: 11px; padding: 10px 13px; margin-bottom: 14px;
}
.pag-opts { display: flex; gap: 8px; margin-bottom: 4px; }
.pag-opt {
  flex: 1; text-align: left; cursor: pointer;
  background: rgba(5, 13, 20, 0.6); border: 1px solid var(--borda); border-radius: 13px;
  padding: 11px 14px; color: var(--espuma); font-family: "Bricolage", sans-serif;
  transition: border-color 0.25s, background 0.25s;
}
.pag-opt:hover { border-color: var(--borda-viva); }
.pag-opt.is-on { border-color: var(--sol); background: rgba(255, 178, 94, 0.08); box-shadow: 0 0 0 1px var(--sol) inset; }
.pag-opt b { display: block; font-size: 0.82rem; font-weight: 750; }
.pag-opt small { display: block; margin-top: 2px; font-size: 0.66rem; color: var(--névoa-2); }
.pay-sinal {
  font-size: 0.72rem; color: var(--névoa); text-align: center;
  margin: -8px 0 14px; padding: 8px 12px;
  background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 11px;
}
.pay-sinal b { color: #a8dfff; }
.pix-comprovante {
  display: block; text-align: center; margin-top: 10px;
  font-size: 0.74rem; font-weight: 700; color: var(--verde-wa); text-decoration: none;
}
.pix-comprovante:hover { text-decoration: underline; }
.tk-status.is-sinal { color: #0369a1; background: rgba(56, 189, 248, 0.18); margin-left: 6px; }
.tk-sinal-note { display: block; font-size: 0.56rem; font-weight: 700; color: #93a1aa; margin-top: 2px; letter-spacing: 0.02em; }
.pay-demo b { color: var(--sol); }
.pay-total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: 14px; margin-bottom: 16px;
  background: rgba(5, 13, 20, 0.5); border: 1px solid var(--borda);
}
.pay-total span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--névoa-2); }
.pay-total b { font-family: "Fraunces", serif; font-size: 1.6rem; font-weight: 640; color: var(--sol); }
.pay-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.pay-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px; border-radius: 13px; cursor: pointer;
  background: rgba(5, 13, 20, 0.5); border: 1px solid var(--borda);
  color: var(--névoa); font: 750 0.78rem "Bricolage", sans-serif;
  transition: all 0.25s;
}
.pay-tab:hover { border-color: var(--borda-viva); color: var(--espuma); }
.pay-tab.is-on { border-color: var(--sol); color: var(--sol); background: rgba(255, 178, 94, 0.08); }

.pix-box { text-align: center; }
.pix-qr {
  width: 190px; height: 190px; margin: 0 auto; padding: 12px;
  background: #fff; border-radius: 16px;
}
.pix-qr svg { width: 100%; height: 100%; display: block; }
.pix-inst { font-size: 0.76rem; color: var(--névoa); margin: 14px 4px 10px; line-height: 1.5; }
.pix-copy { display: flex; gap: 8px; }
.pix-copy input {
  flex: 1; min-width: 0; padding: 11px 13px; font-size: 0.72rem;
  background: rgba(5, 13, 20, 0.6); border: 1px solid var(--borda); border-radius: 11px;
  color: var(--névoa); font-family: monospace; outline: none;
}
.pix-copy button {
  border: none; cursor: pointer; border-radius: 11px; padding: 0 16px;
  background: rgba(255, 178, 94, 0.14); color: var(--sol);
  font: 800 0.74rem "Bricolage", sans-serif;
}
.btn-pix-check { width: 100%; margin-top: 14px; border: none; cursor: pointer; padding: 14px; border-radius: 999px; background: linear-gradient(120deg, var(--sol), var(--coral)); color: var(--abismo); font: 800 0.84rem "Bricolage", sans-serif; }
.btn-pix-check:hover { filter: brightness(1.08); }
.btn-pix-check:disabled { opacity: 0.5; cursor: wait; }

.card-box { text-align: center; }
.card-mp {
  display: flex; gap: 12px; align-items: center; text-align: left;
  padding: 14px 16px; border-radius: 14px; margin-bottom: 16px;
  background: rgba(5, 13, 20, 0.5); border: 1px solid var(--borda);
}
.card-mp img { height: 40px; flex-shrink: 0; }
.card-mp p { font-size: 0.76rem; line-height: 1.55; color: var(--névoa); }
.card-mp b { color: var(--sol); }
.card-box .btn-solid { width: 100%; }
.card-box .btn-solid:disabled { opacity: 0.5; cursor: wait; }
.pay-safe { font-size: 0.68rem; color: var(--névoa-2); margin-top: 12px; }

/* Ticket: status e QR bloqueado */
.ticket.is-pending { filter: saturate(0.9); }
.ticket-status-row { margin-bottom: 6px; }
.tk-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.tk-status.is-paid { color: #0a7d3f; background: rgba(34, 197, 94, 0.16); }
.tk-status.is-pend { color: #b3541e; background: rgba(255, 178, 94, 0.2); }
.qr-locked { position: relative; }
.qr-locked .ticket-qr-real { filter: blur(5px); opacity: 0.5; }
.qr-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  font-size: 1.1rem;
}
.qr-lock span { font: 800 0.5rem "Bricolage", sans-serif; text-transform: uppercase; letter-spacing: 0.06em; color: #16242e; text-align: center; max-width: 74px; line-height: 1.2; }
.wallet-status { display: inline-block; margin-top: 3px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; }
.wallet-status.is-paid { color: var(--verde-wa); }
.wallet-status.is-pend { color: var(--sol); }

/* ===== Responsivo ===== */
@media (max-width: 680px) {
  .brand-txt { display: none; }
  .brand img { height: 32px; width: auto; max-width: 112px; object-fit: contain; flex-shrink: 0; }
  .topnav { gap: 0; }
  .nav-pill { padding: 9px 11px; font-size: 0.72rem; }
  .nav-pill .pill-txt { display: none !important; }
  .topbar { padding: 10px 14px; }
  .topnav > * { display: none !important; }
  #btnMobileMenu {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-color: rgba(148,169,181,.55);
    background: rgba(7,24,32,.82);
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
  }
  #btnMobileMenu:hover { border-color: var(--sol); color: var(--sol); transform: none; }

  /* Menu mobile: blocos mais claros, alinhados e fáceis de tocar. */
  .menu-option { min-height: 56px; border-radius: 16px !important; padding: 13px 16px !important; }
  .menu-option svg { width: 18px; height: 18px; }
  .menu-option > span { flex: 0 0 30px; width: 30px !important; height: 30px !important; }
  
  .panel {
    position: fixed;
    top: auto; left: 12px; right: 12px; bottom: 10px;
    width: auto; height: min(66vh, 760px); max-height: calc(100dvh - 20px);
    transform: translateY(0);
    transition: transform 0.4s var(--easing), opacity 0.4s;
    background: var(--vidro) !important;
    backdrop-filter: blur(26px) saturate(1.3) !important;
    border: 1px solid rgba(148, 169, 181, .5) !important;
    box-shadow: 0 10px 40px rgba(255, 107, 74, 0.12), 0 40px 90px -30px rgba(0, 0, 0, 0.8) !important;
  }

  /* Scale down circular tour markers on mobile */
  .mk { width: 44px !important; height: 44px !important; }
  .mk-photo { inset: 4px !important; border-width: 1.5px !important; }
  .mk-label { font-size: 0.58rem !important; padding: 2px 7px !important; }
  .panel.is-expanded {
    transform: translateY(0) !important;
    height: calc(100dvh - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
  }
  .panel.is-collapsed {
    transform: translateY(0) !important;
  }
  .panel.is-hidden {
    transform: translateY(calc(100% + 20px)) !important;
    opacity: 0;
  }
  
  .panel-drag-handle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20px;
    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 10;
    margin-top: 4px;
  }
  .panel-drag-handle::before {
    content: "";
    position: absolute;
    left: 18px; right: 18px; top: 9px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,178,94,.32) 22%, rgba(255,107,74,.68) 50%, rgba(255,178,94,.32) 78%, transparent);
    box-shadow: 0 0 10px rgba(255,132,68,.28);
  }
  .panel-head, .detail-hero { touch-action: none; cursor: grab; }
  .panel-drag-handle span {
    display: block;
    position: relative;
    width: 46px;
    height: 4px;
    background: linear-gradient(90deg, #ffb25e, #ff6b4a);
    border-radius: 99px;
    box-shadow: 0 0 10px rgba(255,178,94,.78), 0 0 22px rgba(255,107,74,.3);
    transition: transform .2s var(--easing), box-shadow .2s var(--easing);
  }
  .panel-drag-handle b {
    display: block;
    position: absolute;
    right: 16px;
    top: 5px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
  }
  .panel-drag-handle:active {
    cursor: grabbing;
  }
  .panel-drag-handle:hover span, .panel-drag-handle:active span {
    transform: scaleX(1.14);
    box-shadow: 0 0 14px rgba(255,178,94,.95), 0 0 28px rgba(255,107,74,.5);
  }
  .panel-drag-handle:focus-visible { outline: none; }
  .panel-drag-handle:focus-visible span { box-shadow: 0 0 14px rgba(255,178,94,.95), 0 0 28px rgba(255,107,74,.5); }
  
  .panel-toggle { display: none; }
  .panel-mobile-restore {
    position: fixed;
    z-index: 70;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom, 12px));
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    border: 1px solid rgba(255,178,94,.65);
    border-radius: 999px;
    background: rgba(7, 24, 32, .92);
    color: var(--sol);
    box-shadow: 0 12px 32px rgba(0,0,0,.45);
    backdrop-filter: blur(14px);
    font: 800 .72rem "Bricolage", sans-serif;
    cursor: pointer;
  }
  .panel-mobile-restore.is-visible { display: inline-flex; }
  .panel-drag-handle b { pointer-events: none; }
  .panel-view { min-height:0; height:100%; overscroll-behavior:contain; touch-action:pan-y; -webkit-overflow-scrolling:touch; padding-bottom:env(safe-area-inset-bottom, 12px); }
  .tour-list { flex:0 0 auto; padding-bottom:72px; }
  .panel-foot { flex-shrink:0; padding-bottom:calc(20px + env(safe-area-inset-bottom, 0px)); }
  .tab-row { width:100%; max-width:100%; overflow-x:auto; overflow-y:hidden; justify-content:flex-start; scrollbar-width:none; gap:3px; padding:3px; }
  .tab-row::-webkit-scrollbar { display:none; }
  .tab { flex:0 0 auto; min-width:62px; min-height:52px; padding:6px 10px; gap:3px; flex-direction:column; font-size:.64rem; font-weight:800; color:#fff; }
  .tab svg { display:block; width:13px; height:13px; }
  .tab:not(.is-on) { color:rgba(255,255,255,.96); text-shadow:0 1px 8px rgba(0,0,0,.42); }
  .panel-head h1 { font-size: 1.85rem; }
  .detail-hero { height: 190px; }
  .map-grade { background: linear-gradient(180deg, rgba(5,13,20,.65) 0%, transparent 20%, transparent 45%, rgba(5,13,20,.7) 100%); }
  
  .link-cancel {
    display: block;
    margin: 12px auto 0;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    cursor: pointer;
    color: var(--espuma);
    font: 800 0.8rem "Bricolage", sans-serif;
    padding: 10px 24px;
    text-align: center;
    width: 100%;
    transition: all 0.25s;
  }
  .link-cancel:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

/* ===== Marinas & Barcos ===== */
.mk-marina {
  display: flex; align-items: center; gap: 5px; width: max-content;
  pointer-events: auto !important; cursor: pointer !important;
}
.mk-marina span {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(8, 23, 34, 0.9); border: 1.5px solid #38bdf8;
  display: grid; place-items: center; color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mk-marina em {
  font: 750 0.65rem "Bricolage", sans-serif; font-style: normal;
  color: #eef6f9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0, 0, 0, 0.9);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mk-marina:hover span {
  border-color: var(--sol) !important;
  color: var(--sol) !important;
  transform: scale(1.15) translateY(-1px);
  box-shadow: 0 0 16px rgba(255, 178, 94, 0.65);
}
.mk-marina:hover em {
  color: var(--sol) !important;
  transform: translateX(1px);
}

.marina-dock-glow {
  stroke-dasharray: 6 6;
  animation: dockPulse 4s linear infinite;
}
@keyframes dockPulse {
  0% { stroke-dashoffset: 0; fill-opacity: 0.12; }
  50% { fill-opacity: 0.22; }
  100% { stroke-dashoffset: 24; fill-opacity: 0.12; }
}

/* Colored icons with circular background for Tides and Explore */
#btnTide svg, #btnTour svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  box-sizing: border-box;
}
#btnTide svg {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.15) !important;
}
#btnTour svg {
  color: var(--sol) !important;
  background: rgba(255, 178, 94, 0.15) !important;
}

/* Custom Pax Selector Grid Styles */
.pax-selector-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,178,94,.55) transparent;
  gap: 8px;
  margin: 6px 0 10px;
  padding-bottom: 2px;
}
.pax-selector-grid::-webkit-scrollbar { height: 4px; }
.pax-selector-grid::-webkit-scrollbar-thumb { background: rgba(255,178,94,.55); border-radius: 99px; }
.package-note {
  display:flex; align-items:flex-start; gap:9px; margin:10px 0 14px; padding:11px 12px;
  border:1px solid rgba(255,178,94,.32); border-radius:12px; background:rgba(255,178,94,.08); color:var(--sol);
}
.package-note > svg { flex:none; margin-top:2px; }
.package-note b { display:block; font-size:.75rem; }
.package-note span { display:block; margin-top:2px; color:var(--névoa); font-size:.68rem; line-height:1.4; }
.pax-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  border: 1px solid var(--borda);
  background: rgba(255, 255, 255, 0.03);
  color: var(--espuma);
  font: 700 0.85rem "Bricolage", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pax-btn:hover {
  border-color: var(--borda-viva);
  background: rgba(255, 255, 255, 0.07);
}
.pax-btn.is-on {
  background: var(--sol);
  color: var(--abismo);
  border-color: var(--sol);
  box-shadow: 0 0 10px rgba(255, 178, 94, 0.4);
}

/* Weather Forecast Tabs */
.wx-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--borda);
}
.wx-tab {
  flex: 1;
  border: none;
  background: none;
  color: var(--névoa-2);
  padding: 8px;
  border-radius: 6px;
  font: 700 0.72rem 'Bricolage', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.wx-tab.is-on {
  background: var(--sol);
  color: var(--abismo);
}

/* Red Cancel Icon badge in topbar */
#btnCancel svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  box-sizing: border-box;
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.15) !important;
}

.panel-head h1 em {
  font-style: normal !important;
  font-weight: 850 !important;
}

/* Fine orange divider between R$ and price value */
.p-divider {
  display: inline-block;
  width: 1.5px;
  height: 14px;
  background: #ff8525; /* high-contrast bright orange */
  margin: 0 5px;
  vertical-align: middle;
}

/* Sombra atrás (drop shadow) para destacar o preço sobre a imagem */
.tour-card-price strong {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.95);
}

/* Título semântico para mecanismos de busca e leitores de tela. */
.seo-title {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0, 0, 0, 0); white-space:nowrap; border:0;
}
