:root {
  --forest-900: #10241c;
  --forest-800: #16352a;
  --forest-700: #1d4636;
  --forest-600: #2b6a4f;
  --moss: #4f9b6a;
  --sand-50: #fdf2cc;
  --sand-100: #fdf2cc;
  --sand-200: #e8e0cf;
  --ink: #14201b;
  --ink-soft: #4c5b53;
  --line: rgba(20, 32, 27, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 36, 28, 0.06), 0 4px 14px rgba(16, 36, 28, 0.05);
  --shadow-md: 0 12px 40px rgba(16, 36, 28, 0.12);
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Outfit", "Inter", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 10px;
}

/* ---------------- botões ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--forest-700); color: #fff; }
.btn--primary:hover { background: var(--forest-600); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--forest-600); color: var(--forest-700); }

.btn--sm { padding: 9px 16px; font-size: 0.85rem; }

/* ---------------- navegação ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 242, 204, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(16, 36, 28, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--forest-700);
  color: #fff;
}
.brand__mark svg { width: 20px; height: 20px; }

.brand__text {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--moss);
  transition: width 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-900);
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg, rgba(16, 36, 28, 0.94) 0%, rgba(16, 36, 28, 0.72) 45%, rgba(16, 36, 28, 0.35) 100%),
    url("../assets/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero__inner {
  position: relative;
  padding: 60px 2px 2px;
  max-width: 860px;
  /*margin-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));*/
}

.hero .eyebrow { color: #9ed7b4; }

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  font-weight: 700;
}
.hero h1 span { color: #9ed7b4; }

.hero__lead {
  margin-top: 22px;
  max-width: 54ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero .btn--ghost { border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 56px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero__stats dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__stats dd {
  margin: 4px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
}

/* ---------------- seções ---------------- */

.section { padding: 92px 0; }
.section--alt { background: var(--sand-100); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}

.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.section__desc { color: var(--ink-soft); max-width: 46ch; }

/* ---------------- mapa ---------------- */

.map-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.map-layout.is-solo { grid-template-columns: minmax(0, 1fr); }
.map-layout.is-solo .places { display: none; }

.places__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
}

.place {
  width: 100%;
  text-align: left;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.place:hover { transform: translateX(2px); box-shadow: var(--shadow-sm); }
.place.is-active {
  border-left-color: var(--moss);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.place__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 6px;
}

.place__name {
  display: block;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
}

.place__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.map-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.map-panel__info h3 { font-size: 1.1rem; }
.map-panel__info p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.map-panel__actions { display: flex; gap: 8px; }

.map-panel__filter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--sand-50);
}

.map-panel__filter label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.select { position: relative; flex: 0 1 260px; }

.select::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 38px 10px 16px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.select select:hover { border-color: var(--moss); }
.select select:focus-visible {
  outline: none;
  border-color: var(--forest-600);
  box-shadow: 0 0 0 3px rgba(79, 155, 106, 0.2);
}

.map-panel__canvas { position: relative; }

.map {
  height: 505px;
  background: var(--sand-200);
}

.map__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map__fallback { padding: 32px; color: var(--ink-soft); }

.iw { font-family: "Inter", sans-serif; font-size: 0.88rem; max-width: 220px; }

/* ---------------- cards ---------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------------- passos ---------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.steps li {
  padding-top: 24px;
  border-top: 2px solid var(--forest-700);
}

.steps__num {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--forest-700);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------------- cta + footer ---------------- */

.section--cta { padding-bottom: 92px; }

.cta {
  background: var(--forest-800);
  color: #fff;
  border-radius: 26px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, 0.72); max-width: 42ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--primary { background: #fff; color: var(--forest-800); }
.cta .btn--primary:hover { background: #e9f5ee; }
.cta .btn--ghost { border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------------- responsivo ---------------- */

@media (max-width: 980px) {
  .map-layout { grid-template-columns: 1fr; }
  .places__list { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 6px; }
  .place { min-width: 250px; }
  .place:hover { transform: translateY(-2px); }
  .section__head { grid-template-columns: 1fr; align-items: start; }
  .hero__inner { margin-left: auto; padding: 88px 24px 72px; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .section { padding: 68px 0; }
  .hero__stats { gap: 26px; }
  .map { height: 420px; }
  .cta { padding: 36px 26px; }
  .map-panel__bar { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
