:root {
  --moss: #164b32;
  --moss-dark: #0c3825;
  --water: #63d4bb;
  --cream: #f6f2e7;
  --paper: #fffdf5;
  --ink: #123b2b;
  --soft-ink: #4a6257;
  --line: #d9d1bc;
  --yellow: #ffda27;
  --pink: #ef78b1;
  --green: #56c942;
  --blue: #159be2;
  --orange: #ff740e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Trebuchet MS", Arial, sans-serif; }
a { color: inherit; }
.site-hero { min-height: 148px; position: relative; background-color: var(--moss); background-image: linear-gradient(90deg, rgba(10,69,39,.9), rgba(31,140,101,.42) 48%, rgba(65,210,183,.22)), url("assets/faixa-criancas.png"); background-size: cover; background-position: center center; border-bottom: 6px solid #78dbba; }
.hero-inner { max-width: 1600px; margin: 0 auto; padding: 30px clamp(20px, 4vw, 70px); min-height: 142px; display: flex; align-items: flex-start; }
.top-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav-button { min-height: 50px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,.52); background: rgba(9,55,34,.36); border-radius: 12px; color: white; text-decoration: none; font-size: 15px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: background .18s ease, transform .18s ease; }
.nav-button:hover, .nav-button:focus-visible { background: rgba(6,49,31,.75); transform: translateY(-1px); outline: 2px solid #dcfff3; outline-offset: 2px; }
.nav-icon { font-size: 25px; line-height: 1; }
.book-icon { font-size: 25px; }
.home-main { max-width: 1680px; margin: 0 auto; padding: 4px clamp(18px, 2.4vw, 42px) 18px; }
.main-title { margin: 0 auto; color: #103f2d; text-align: center; font-size: clamp(2.2rem, 5.25vw, 5.1rem); line-height: 1.08; letter-spacing: -1.7px; font-family: "Trebuchet MS", "Segoe UI", sans-serif; font-weight: 900; font-style: italic; }
.main-title::after { content: ""; display: block; width: min(300px, 38vw); height: 8px; border-radius: 50%; background: #8abe5b; margin: 7px auto 13px; transform: rotate(-.7deg); }
.main-subtitle { color: var(--soft-ink); text-align: center; margin: 0 0 20px; font-size: clamp(.82rem, 1.15vw, 1rem); }
.maps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.map-card { min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 5px 18px rgba(41,55,37,.12); padding: 13px 13px 9px; }
.map-card-title { min-height: 55px; padding: 3px 8px 10px; display: flex; align-items: center; gap: 12px; }
.map-card-title h2 { font-size: clamp(1rem, 1.5vw, 1.5rem); line-height: 1.14; margin: 0; color: #12432e; font-weight: 900; }
.map-card-title p { margin: 5px 0 0; color: #627368; font-size: clamp(.68rem, .8vw, .83rem); line-height: 1.35; }
.map-symbol { font-size: 38px; line-height: 1; min-width: 40px; color: #235c3c; text-shadow: 1px 1px #9ac96e; }
.pin-symbol { font-size: 35px; min-width: 40px; text-align: center; position: relative; }
.map-picture { position: relative; width: 100%; line-height: 0; border-radius: 6px; overflow: hidden; isolation: isolate; }
.map-picture img { display: block; width: 100%; height: auto; object-fit: contain; }
.participative-hotspots, .social-hotspots { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.hover-point { fill: rgba(255,255,255,0); stroke: transparent; stroke-width: 2; cursor: help; transition: fill .12s ease, stroke .12s ease; }
.hover-point:hover, .hover-point:focus-visible { fill: rgba(255,255,255,.15); stroke: rgba(19,76,49,.82); stroke-width: 2.3; outline: none; }
.social-area { outline: none; cursor: pointer; }
.social-area path { fill: rgba(255,255,255,0); stroke: transparent; stroke-width: 5; vector-effect: non-scaling-stroke; transition: fill .14s ease, stroke .14s ease; }
.social-area:hover path, .social-area:focus path { fill: rgba(255,255,255,.13); stroke: rgba(255,255,255,.9); stroke-width: 3.5; }
.social-area:focus-visible path { stroke: #143f2c; stroke-width: 4; }
.map-tooltip { position: absolute; z-index: 5; display: none; max-width: min(250px, 76%); background: rgba(14,56,37,.96); color: white; border: 1px solid rgba(255,255,255,.6); border-radius: 6px; padding: 8px 11px; font-size: 12px; font-weight: 700; line-height: 1.35; box-shadow: 0 3px 12px rgba(0,0,0,.2); pointer-events: none; white-space: normal; }
.map-tooltip.visible { display: block; }
.page-hint { text-align: center; color: #617268; font-size: .8rem; line-height: 1.4; margin: 14px auto 0; max-width: 850px; }
.site-footer { background: linear-gradient(90deg, #1d5945, #123e2e); min-height: 48px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; padding: 12px 18px; text-align: center; color: #f1f5ec; font-size: 12px; letter-spacing: .1px; }
.site-footer span { opacity: .65; }
.content-main { max-width: 1050px; min-height: calc(100vh - 196px); margin: 0 auto; padding: 28px 22px 54px; }
.back-link { display: inline-block; text-decoration: none; color: #1f6643; font-weight: 800; font-size: .95rem; margin: 0 0 18px; }
.back-link:hover { text-decoration: underline; }
.content-card, .area-hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 24px rgba(41,55,37,.1); padding: clamp(22px, 4vw, 42px); }
.eyebrow { margin: 0 0 8px; color: #588054; font-size: .76rem; font-weight: 900; letter-spacing: 1.4px; }
.content-card h1, .area-hero-card h1 { color: #123f2c; font-size: clamp(2rem, 4.7vw, 3.2rem); line-height: 1.08; margin: 0 0 16px; }
.content-card h2 { margin: 30px 0 9px; color: #245938; font-size: 1.3rem; }
.content-card p, .area-hero-card p { color: #43594c; font-size: 1.05rem; line-height: 1.75; }
.content-card p:not(.eyebrow), .area-hero-card p:not(.eyebrow), #area-description { text-align: justify; text-justify: inter-word; }
.content-card .lead, .area-hero-card .lead { font-size: 1.2rem; line-height: 1.55; color: #355444; }
.notice { border-left: 4px solid #e1bc3a; padding: 12px 16px; background: #fff7d8; border-radius: 0 8px 8px 0; font-size: .95rem !important; }
.content-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary-link, .secondary-link { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 9px; font-size: .95rem; font-weight: 800; text-decoration: none; }
.primary-link { background: #1b5a3d; color: white; }
.primary-link:hover { background: #0f412a; }
.secondary-link { border: 1px solid #8aaa8e; color: #245938; }
.secondary-link:hover { background: #e9f3e8; }
.area-main { max-width: 1120px; }
.area-hero-card { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; padding: clamp(22px, 4vw, 34px); }
.area-color-swatch { width: 21px; min-width: 21px; height: 65px; border-radius: 7px; margin-top: 4px; box-shadow: 0 0 0 4px rgba(0,0,0,.035); }
.area-hero-card h1 { margin-bottom: 8px; }
.area-hero-card .lead { margin: 0; }
.area-content-card { padding: clamp(22px, 3vw, 34px); }
.photo-placeholders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0 6px; }
.photo-placeholder { min-height: 150px; display: flex; align-items: center; justify-content: center; border: 1px dashed #91ab8e; border-radius: 12px; background: linear-gradient(145deg, #eef1df, #e4eee3); color: #54715d; padding: 14px; text-align: center; line-height: 1.5; font-weight: 700; }
.photo-placeholder small { font-weight: 500; font-size: .8rem; }
.photo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 14px 0 6px; align-items: start; }
.photo-card { margin: 0; overflow: hidden; background: #fffef9; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 4px 14px rgba(41,55,37,.09); }
.photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #f2efe4; }
.photo-card figcaption { padding: 12px 13px 14px; color: #174b32; font-size: .97rem; line-height: 1.4; font-weight: 800; text-align: center; }

@media (max-width: 900px) {
  .site-hero { min-height: 130px; background-position: center; }
  .hero-inner { min-height: 124px; padding-top: 23px; }
  .maps-grid { grid-template-columns: 1fr; max-width: 730px; margin: 0 auto; }
  .map-card-title h2 { font-size: 1.25rem; }
  .map-card-title p { font-size: .78rem; }
  .main-title { font-size: clamp(2.2rem, 8vw, 4rem); }
  .map-tooltip { font-size: 11px; }
}
@media (max-width: 540px) {
  .hero-inner { padding: 17px 14px; }
  .top-nav { gap: 8px; }
  .nav-button { min-height: 42px; padding: 9px 11px; font-size: 12px; border-radius: 9px; gap: 6px; }
  .nav-icon, .book-icon { font-size: 20px; }
  .home-main { padding: 10px 10px 18px; }
  .main-title { letter-spacing: -1px; font-size: 2.15rem; }
  .main-title::after { height: 5px; margin-bottom: 9px; }
  .main-subtitle { font-size: .78rem; margin-bottom: 14px; }
  .map-card { padding: 8px; border-radius: 12px; }
  .map-card-title { padding: 2px 4px 8px; min-height: 55px; gap: 7px; }
  .map-symbol, .pin-symbol { font-size: 26px; min-width: 28px; }
  .map-card-title h2 { font-size: 1rem; }
  .map-card-title p { font-size: .66rem; }
  .site-footer { font-size: 10px; gap: 6px; }
  .content-main { padding: 22px 12px 35px; }
  .content-card { border-radius: 14px; }
  .content-card p, .area-hero-card p { font-size: .95rem; }
  .area-hero-card { gap: 12px; padding: 20px 16px; border-radius: 14px; }
  .area-color-swatch { height: 50px; width: 14px; min-width: 14px; }
  .photo-placeholders, .photo-gallery { grid-template-columns: 1fr; }
  .photo-placeholder { min-height: 125px; }
}

/* Interactive map preview cards on the landing page */
.map-card-preview { padding-bottom: 11px; }
.map-preview-link { display: block; text-decoration: none; cursor: zoom-in; }
.map-preview-link img { transition: filter .18s ease; }
.map-preview-link:hover img, .map-preview-link:focus-visible img { filter: saturate(1.04) brightness(.97); }
.map-preview-link:focus-visible { outline: 3px solid #69ad78; outline-offset: 3px; }
.map-open-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: rgba(15,64,43,.94); color: #fff; font-size: .8rem; font-weight: 800; line-height: 1.2; opacity: .94; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.map-preview-link:hover .map-open-hint, .map-preview-link:focus-visible .map-open-hint { background: #0b3824; opacity: 1; }

/* Dedicated, enlarged map pages */
.map-viewer-main { max-width: 1660px; margin: 0 auto; min-height: calc(100vh - 196px); padding: 22px clamp(14px, 2.2vw, 34px) 42px; }
.map-viewer-heading { text-align: center; margin: 0 auto 18px; max-width: 1050px; }
.map-viewer-heading .eyebrow { margin-bottom: 5px; }
.map-viewer-heading h1 { margin: 0 0 8px; color: #103f2d; font-size: clamp(1.8rem, 3.5vw, 3.2rem); line-height: 1.12; }
.map-viewer-heading > p:last-child { margin: 0 auto; color: #536b5e; font-size: clamp(.92rem, 1.35vw, 1.08rem); line-height: 1.5; }
.map-viewer-panel { max-width: 1560px; margin: 0 auto; padding: clamp(6px, 1vw, 13px); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 7px 24px rgba(41,55,37,.12); }
.map-viewer-picture { border-radius: 6px; background: #fff; }
.map-viewer-picture > img { display: block; width: 100%; height: auto; object-fit: contain; }
.map-viewer-picture .participative-hotspots,
.map-viewer-picture .social-hotspots { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-viewer-main .page-hint { margin-top: 13px; }
.map-viewer-main .map-tooltip { font-size: clamp(12px, 1vw, 16px); padding: 9px 12px; max-width: min(320px, 40vw); }
@media (max-width: 900px) {
  .map-viewer-main { padding: 18px 10px 30px; }
  .map-viewer-panel { padding: 6px; }
  .map-viewer-heading { margin-bottom: 13px; }
  .map-open-hint { right: 7px; bottom: 7px; font-size: .72rem; padding: 7px 10px; }
}
@media (max-width: 540px) {
  .map-viewer-main { padding: 14px 7px 25px; }
  .map-viewer-panel { padding: 4px; border-radius: 9px; }
  .map-viewer-heading h1 { font-size: 1.65rem; }
  .map-viewer-heading > p:last-child { font-size: .85rem; }
  .map-viewer-main .map-tooltip { font-size: 11px; max-width: 58vw; padding: 7px 9px; }
  .map-open-hint { font-size: .64rem; padding: 6px 8px; }
}
