/* Baldio — design system */
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@600;700;800&family=Hanken+Grotesk:wght@400;500;600&display=swap');

:root {
  --forest:      #2D4C36;
  --forest-dark: #163521;
  --clay:        #C18C5D;
  --clay-light:  #e8b98a;
  --beige:       #F2EFE9;
  --paper:       #F9F8F6;
  --surface:     #fcf9f3;
  --border:      rgba(45,76,54,.12);
  --text:        #1c1c18;
  --muted:       #424842;
  --muted-light: #767c72;

  --font-head: 'Vollkorn', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --radius:    14px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: radial-gradient(ellipse 140% 90% at 50% 0%, #fdf9f0 0%, #f4ead5 45%, #e9ddc3 100%) fixed;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  background: rgba(253,249,240,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.86rem; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--forest); }
.nav-cta {
  background: rgba(45,76,54,.12);
  color: var(--forest);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background .15s;
}
.nav-cta:hover { background: var(--forest); color: #fff; }

/* hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: all .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(253,249,240,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
}
.nav-drawer a {
  font-size: .95rem;
  color: var(--muted);
  padding: 12px 20px;
  transition: background .15s;
}
.nav-drawer a:hover { background: rgba(45,76,54,.06); color: var(--forest); }
.nav-drawer .nav-drawer-cta {
  margin: 10px 20px 0;
  background: rgba(45,76,54,.12);
  color: var(--forest);
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  padding: 11px 20px;
}
.nav-drawer .nav-drawer-cta:hover { background: var(--forest); color: #fff; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  nav .nav-cta { display: none !important; }
  .nav-burger { display: flex; }
  .nav-drawer.open { display: flex; }
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 96px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid rgba(45,76,54,.2);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--forest-dark);
  max-width: 760px;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}
.stat-label { font-size: 0.72rem; color: var(--muted-light); margin-top: 4px; letter-spacing: 0.04em; }

/* ── Botões ── */
.btn {
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dark); }
.btn-secondary { border: 2px solid var(--clay); color: var(--clay); background: transparent; }
.btn-secondary:hover { background: var(--clay); color: #fff; }

/* ── Sections (full-width bands, sem rounded corners) ── */
.section-wrap {
  width: 100%;
  border-top: 1px solid rgba(45,76,54,.1);
  background: rgba(255,255,255,.38);
  margin-bottom: 0;
}
.section-wrap + .section-wrap { border-top: none; }
.section-wrap-forest { background: var(--forest); }
.section-wrap-muted  { background: rgba(45,76,54,.04); }
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 48px;
}
.section-card-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
@media (max-width: 768px) { .section-inner { padding: 36px 16px; } }

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--forest);
}
.section-link {
  font-size: 0.82rem;
  color: var(--forest);
}
.section-link:hover { text-decoration: underline; }

/* ── Mapa ── */
.map-area {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 14px;
  border: 1px dashed rgba(45,76,54,.2);
  background: rgba(45,76,54,.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  font-size: 0.88rem;
}
@media (max-width: 768px) { .map-area { aspect-ratio: 4/3; } }

/* ── Bento grid eventos ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .bento-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-card {
  background: rgba(249,248,246,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,76,54,.1);
}
.bento-card.wide { grid-column: span 2; flex-direction: row; gap: 20px; }
@media (max-width: 900px) { .bento-card.wide { grid-column: span 2; } }
@media (max-width: 580px) { .bento-card.wide { grid-column: span 1; flex-direction: column; } }

.bento-card-img {
  width: 42%;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--beige);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  font-size: 1.4rem;
}

.card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.card-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.card-tag.green { background: rgba(45,76,54,.1); color: var(--forest); }
.card-tag.clay  { background: rgba(193,140,93,.12); color: var(--clay); }

.card-date { text-align: right; }
.card-date .day { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--forest); line-height: 1; }
.card-date .month { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; color: var(--muted-light); text-transform: uppercase; margin-top: 2px; }

.card-title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--forest); margin-bottom: 6px; }
.card-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.55; flex: 1; margin-bottom: 12px; }
.card-loc { font-size: 0.72rem; color: var(--muted-light); }

/* ── Três caminhos ── */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .paths-grid { grid-template-columns: 1fr; } }

.path-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px;
}
.path-card-clay {
  background: rgba(193,140,93,.15);
  border-color: rgba(193,140,93,.25);
}
.path-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,.18);
  line-height: 1;
  margin-bottom: 14px;
}
.path-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.path-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
.path-card strong { color: rgba(255,255,255,.95); }

.paths-manifesto {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 28px;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: rgba(255,255,255,.65);
  text-align: center;
  letter-spacing: 0.01em;
}

/* ── Filosofia (section-card-forest) ── */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) { .philosophy-grid { grid-template-columns: 1fr; gap: 40px; } }

.philosophy-steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.step-icon.green { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.step-icon.clay  { background: var(--clay); color: #fff; }
.step h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: 0.82rem; line-height: 1.55; }

.philosophy-visual { position: relative; }
.philosophy-img {
  border-radius: 16px;
  aspect-ratio: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  transform: rotate(1.5deg);
}
.philosophy-quote {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--paper);
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  border: 1px solid var(--border);
  transform: rotate(-2deg);
  max-width: 190px;
}
.philosophy-quote .label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; color: var(--clay); margin-bottom: 5px; }
.philosophy-quote p { font-size: 0.78rem; color: var(--forest); font-style: italic; line-height: 1.5; }

/* ── Footer ── */
footer {
  border-top: 1px dashed rgba(45,76,54,.18);
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.footer-brand p { font-size: 0.76rem; color: var(--muted-light); margin-top: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: var(--muted); }
.footer-links a.highlight { color: var(--clay); font-weight: 600; }
.footer-links a:hover { color: var(--forest); text-decoration: underline; }

/* ── Páginas internas ── */
.page-hero {
  padding: 56px 0 40px;
}
.page-hero .section-eyebrow { margin-bottom: 6px; }
.page-hero .page-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: -0.02em;
}

/* ── Filter bar ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(45,76,54,.2);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

/* ── Utils ── */
.loading { color: var(--muted-light); font-size: 0.85rem; padding: 16px 0; }
