:root{
  --bg:#FFFFFF;
  --surface:#F3F7F8;
  --ink:#1B2A31;
  --muted:#5A6B72;
  --line:#E4E9EC;
  --accent:#246C90;
  --accent-hover:#1C566F;
  --accent-soft:#E9F3F7;
  --on-accent:#FFFFFF;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#111719;
    --surface:#1A2226;
    --ink:#E7EEF0;
    --muted:#97A7AD;
    --line:#283236;
    --accent:#7EBCD9;
    --accent-hover:#9CCEE6;
    --accent-soft:#1D2A31;
    --on-accent:#0E1517;
  }
}
:root[data-theme="dark"]{
  --bg:#111719;
  --surface:#1A2226;
  --ink:#E7EEF0;
  --muted:#97A7AD;
  --line:#283236;
  --accent:#7EBCD9;
  --accent-hover:#9CCEE6;
  --accent-soft:#1D2A31;
  --on-accent:#0E1517;
}

*{ box-sizing:border-box; }
html{ scroll-padding-top:4.25rem; }
@media (prefers-reduced-motion: no-preference){ html{ scroll-behavior:smooth; } }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:400 1.0625rem/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing:antialiased;
}

a{ color:var(--accent); text-underline-offset:2px; }
a:focus-visible,
.btn:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }

h1,h2,h3{ letter-spacing:-.018em; text-wrap:balance; }

.wrap{ max-width:44rem; margin:0 auto; padding:0 1.25rem; }
.prose{ max-width:37rem; }

.eyebrow{
  font-size:.77rem;
  font-weight:600;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 .7rem;
}

/* ---------- top bar ---------- */
.top{
  position:sticky;
  top:0;
  z-index:30;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.top .bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding-block:.7rem;
}
.brand{
  font-weight:700;
  font-size:1.02rem;
  color:var(--ink);
  text-decoration:none;
  letter-spacing:-.01em;
}
.brand span{ color:var(--muted); font-weight:500; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:var(--accent);
  color:var(--on-accent);
  font-weight:600;
  font-size:.95rem;
  line-height:1;
  padding:.85rem 1.3rem;
  border-radius:10px;
  text-decoration:none;
  transition:background .15s;
}
.btn:hover{ background:var(--accent-hover); }
.btn svg{ width:1.05rem; height:1.05rem; flex:none; }
.top .btn{ padding:.55rem .9rem; font-size:.85rem; border-radius:8px; }
.actions{ display:flex; align-items:center; gap:.7rem; }
.iglink{ display:inline-flex; color:var(--muted); transition:color .15s; }
.iglink:hover{ color:var(--accent); }
.iglink svg{ width:1.4rem; height:1.4rem; }

/* ---------- photos ---------- */
.photo{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  border:1px solid var(--line);
  background:
    radial-gradient(120% 120% at 15% 10%, var(--accent-soft), var(--surface) 70%);
  display:flex;
  align-items:center;
  justify-content:center;
}
.photo::after{
  content:attr(data-label);
  font-size:.85rem;
  color:var(--muted);
  padding:.5rem 1rem;
  text-align:center;
}
.photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero{ padding-top:clamp(2.25rem,6vw,3.25rem); padding-bottom:clamp(2rem,5vw,2.75rem); }
.hero h1{
  font-size:clamp(2.15rem,5.5vw,3.1rem);
  font-weight:700;
  line-height:1.06;
  margin:.35rem 0 .85rem;
}
.hero .lead{
  font-size:1.16rem;
  line-height:1.5;
  color:var(--muted);
  max-width:33rem;
  margin:0 0 1.5rem;
}
.glance{
  display:flex;
  flex-wrap:wrap;
  gap:.3rem 0;
  list-style:none;
  margin:0 0 1.85rem;
  padding:0;
  font-size:.9rem;
  color:var(--muted);
}
.glance li:not(:last-child)::after{
  content:"·";
  margin:0 .75rem;
  color:var(--line);
}
.glance b{ color:var(--ink); font-weight:600; }
.hero .photo{ aspect-ratio:3/2; margin-bottom:1.6rem; }
.hero .avail{ margin-bottom:0; }

.gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:.75rem;
  padding-bottom:clamp(2rem,5vw,2.75rem);
}
.gallery .photo{ aspect-ratio:4/3; border-radius:12px; }

/* ---------- jump nav ---------- */
.jump{
  display:flex;
  gap:.25rem;
  overflow-x:auto;
  scrollbar-width:none;
  border-block:1px solid var(--line);
  padding:.45rem 0;
}
.jump::-webkit-scrollbar{ display:none; }
.jump a{
  white-space:nowrap;
  font-size:.85rem;
  font-weight:500;
  color:var(--muted);
  text-decoration:none;
  padding:.35rem .65rem;
  border-radius:7px;
  transition:color .15s, background .15s;
}
.jump a:hover,
.jump a.active{ color:var(--accent); background:var(--accent-soft); }

/* ---------- sections ---------- */
section{ padding-block:clamp(2.5rem,6vw,3.75rem); border-top:1px solid var(--line); }
section:first-of-type{ border-top:none; }
section h2{
  font-size:clamp(1.5rem,3.2vw,1.9rem);
  font-weight:600;
  line-height:1.2;
  margin:0 0 1rem;
}
section h3{ font-size:1.02rem; font-weight:600; margin:0 0 .5rem; }
section p{ margin:0 0 1rem; }
section p:last-child{ margin-bottom:0; }
.intro{ color:var(--muted); }

.groups{ display:grid; grid-template-columns:1fr; gap:1.75rem 2.5rem; }
@media (min-width:40rem){ .groups{ grid-template-columns:1fr 1fr; } }

.list{ list-style:none; margin:0; padding:0; }
.list li{ position:relative; padding-left:1.1rem; margin:.45rem 0; }
.list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:.38rem;
  height:.38rem;
  border-radius:50%;
  background:var(--accent);
}

.rows{ margin:0; }
.rows > div{
  display:grid;
  grid-template-columns:9rem 1fr;
  gap:.9rem;
  padding:.85rem 0;
  border-top:1px solid var(--line);
}
.rows > div:first-child{ border-top:none; padding-top:.2rem; }
.rows dt{ color:var(--muted); font-size:.92rem; }
.rows dd{ margin:0; }
@media (max-width:33rem){
  .rows > div{ grid-template-columns:1fr; gap:.2rem; }
}

.fill{
  background:var(--accent-soft);
  border-bottom:1px solid var(--accent);
  border-radius:3px 3px 0 0;
  padding:0 .28em;
  font-style:normal;
}

.cta{ margin-top:1.25rem; }

footer{
  border-top:1px solid var(--line);
  padding-block:2.25rem 3.25rem;
  font-size:.85rem;
  color:var(--muted);
}

/* ---------- como chegar ---------- */
.jump + section{ border-top:none; }
.route-title{ margin-top:2rem !important; font-size:1.15rem !important; }
.route-alert{
  border:1px solid var(--line);
  border-left:4px solid var(--accent);
  background:var(--surface);
  border-radius:10px;
  padding:.8rem 1rem;
  font-size:.95rem;
}
.route-steps{ list-style:none; counter-reset:passo; margin:0 0 1.4rem; padding:0; }
.route-steps li{ counter-increment:passo; position:relative; padding:.15rem 0 .15rem 2.6rem; margin:.7rem 0; }
.route-steps li::before,
.route-pin{
  display:flex;
  align-items:center;
  justify-content:center;
  width:1.8rem;
  height:1.8rem;
  border-radius:50%;
  background:#E8590C;
  color:#FFFFFF;
  font:700 .9rem/1 "Figtree", system-ui, sans-serif;
}
.route-steps li::before{ content:counter(passo); position:absolute; left:0; top:.05rem; }
.route-pin{ border:2px solid #FFFFFF; box-shadow:0 1px 4px rgba(0,0,0,.5); }
.route-map{ position:relative; border:1px solid var(--line); border-radius:14px; overflow:hidden; margin:0 0 .6rem; }
.route-canvas{ height:clamp(19rem,60vw,26rem); background:var(--surface); z-index:0; }
.route-unlock{
  position:absolute;
  left:50%;
  bottom:.75rem;
  transform:translateX(-50%);
  z-index:5;
  border:0;
  border-radius:999px;
  background:rgba(17,23,25,.82);
  color:#FFFFFF;
  font-family:inherit;
  font-size:.85rem;
  font-weight:600;
  line-height:1;
  padding:.6rem 1rem;
  cursor:pointer;
}
.route-legend,
.route-note{ font-size:.85rem; color:var(--muted); }
.route-map .leaflet-tooltip{ font:600 .78rem/1.2 "Figtree", system-ui, sans-serif; }

/* ---------- datas disponíveis ---------- */
.avail{
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:14px;
  padding:1rem 1.1rem 1.05rem;
  margin:0 0 1.6rem;
}
.avail-head{ display:flex; align-items:baseline; justify-content:space-between; gap:.75rem; flex-wrap:wrap; margin:0 0 .7rem; }
.avail-title{ font-weight:600; font-size:1.02rem; margin:0; }
.avail-status{ font-size:.85rem; color:var(--muted); margin:0; }
.avail-list{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:.5rem; }
.avail-list a{
  display:inline-flex;
  align-items:baseline;
  gap:.45rem;
  background:var(--accent);
  border-radius:999px;
  padding:.5rem .9rem;
  font-size:.92rem;
  font-weight:600;
  color:var(--on-accent);
  text-decoration:none;
  transition:background .15s;
}
.avail-list a:hover{ background:var(--accent-hover); }
.avail-list a span{ font-weight:400; font-size:.8rem; color:var(--on-accent); opacity:.85; white-space:nowrap; }
.avail-more{
  margin:.75rem 0 0;
  padding:0;
  border:0;
  background:none;
  font:inherit;
  font-size:.88rem;
  font-weight:600;
  color:var(--accent);
  cursor:pointer;
}
.avail-note{ font-size:.82rem; color:var(--muted); margin:.75rem 0 0; }
.avail-price{ border-top:1px solid var(--line); margin-top:1rem; padding-top:.9rem; }
.avail-price .valor{ margin:0; font-size:.95rem; color:var(--muted); }
.avail-price .valor b{ font-size:1.35rem; font-weight:700; color:var(--ink); letter-spacing:-.01em; margin-right:.15rem; }
.avail-price .varia{ margin:.35rem 0 0; font-size:.9rem; }

img{ max-width:100%; }
[hidden]{ display:none !important; }

.hero h1 span{
  display:block;
  font-size:.5em;
  font-weight:600;
  line-height:1.25;
  letter-spacing:-.01em;
  color:var(--muted);
  margin-top:.4rem;
}
