/* Mapa Infantil — estilos do site */
:root {
  --ink: #24263A;
  --ink-2: #4E5166;
  --muted: #5B5E73;
  --muted-2: #6B6E82;
  --ground: #FFFCF9;
  --card: #FFFFFF;
  --line: #F1E6EA;
  --line-2: #E4DCE0;
  --pink: #E85984;
  --pink-dk: #C93C68;
  --pink-bg: #FDEEF2;
  --blue: #7993EA;
  --blue-dk: #3F57B8;
  --blue-bg: #EEF2FD;
  --green: #1F7A4D;
  --green-bg: #E3F5EA;
  --soft: #F2EEF0;
  --display: 'Baloo 2', system-ui, sans-serif;
  --body: 'Nunito Sans', system-ui, sans-serif;
  --r: 18px;
  --shadow: 0 1px 0 var(--line), 0 12px 32px rgba(36, 38, 58, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--ground); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; }
a { color: var(--blue-dk); text-decoration: none; }
a:hover { color: var(--pink-dk); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* botões e chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; text-align: center; }
.btn-sm { min-height: 42px; padding: 10px 16px; font-size: 14px; }
.btn-pink { background: var(--pink-dk); color: #fff; }
.btn-pink:hover { background: #B02F59; color: #fff; }
.btn-blue { background: var(--blue-dk); color: #fff; }
.btn-blue:hover { background: #2F449A; color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #17603C; color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-soft:hover { background: #E7E1E4; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.chip-blue { background: var(--blue-bg); color: var(--blue-dk); }
.chip-pink { background: var(--pink-bg); color: var(--pink-dk); }
.kicker { display: block; font-size: 12px; font-weight: 800; color: var(--pink-dk); text-transform: uppercase; letter-spacing: .05em; }
.meta { font-size: 13px; color: var(--muted-2); }
.pill { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.pill-green { color: var(--green); background: var(--green-bg); }
.pill-blue { color: var(--blue-dk); background: var(--blue-bg); }
.pill-pink { color: var(--pink-dk); background: var(--pink-bg); }
.pill-gray { color: var(--muted); background: var(--soft); }

/* topo */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.header-in { display: flex; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 14px; }
.logo img { height: 58px; width: auto; display: block; }
.search { flex: 1 1 280px; max-width: 440px; margin-left: auto; display: flex; align-items: center; gap: 8px; background: #F7F3F5; border-radius: 999px; padding: 4px 5px 4px 18px; }
.search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 15px; padding: 10px 0; outline: none; min-width: 0; color: var(--ink); }
.search button { width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--blue-dk); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; padding-bottom: 12px; font-weight: 700; font-size: 15px; }
.main-nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); }
.main-nav a:hover { background: var(--soft); color: var(--ink); }
.main-nav a.on { background: var(--pink-bg); color: var(--pink-dk); }
.main-nav a.nav-guia { color: var(--blue-dk); }
.show-sm { display: none !important; }

/* anúncios */
.top-ad { padding-top: 22px; }
.ad { text-align: center; }
.ad-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.ad img { display: block; margin: 0 auto; border-radius: 14px; height: auto; }
.ad-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: var(--r); background: var(--blue-bg); border: 2px dashed #A9B9F2; color: var(--blue-dk); font-weight: 800; padding: 16px; }
.ad-empty span { font-size: 12px; font-weight: 600; color: var(--muted); }
.ad-topo .ad-empty { min-height: 96px; }
.ad-lateral .ad-empty { min-height: 250px; }
.ad-meio .ad-empty { min-height: 110px; }
.ad-meio { margin: 10px 0; }

/* placeholders de imagem */
.ph { display: flex; align-items: center; justify-content: center; }
.ph img { width: 30%; max-width: 90px; min-width: 36px; opacity: .55; border-radius: 16px; }
.ph-pink { background: var(--pink-bg); }
.ph-blue { background: var(--blue-bg); }

/* blocos */
.block { padding-top: 44px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; }
.section-head h2 { font-size: 32px; }
.eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--pink-dk); }
.eyebrow-blue { color: var(--blue-dk); }
.panel { border-radius: 28px; padding: 32px; }
.panel-pink { background: var(--pink-bg); }
.panel-blue { background: var(--blue-bg); }

/* home: destaque */
.hero { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 28px; }
.card-hero { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.card-hero:hover { color: var(--ink); }
.card-hero:hover h1 { color: var(--pink-dk); }
.card-hero-img { width: 100%; height: 360px; object-fit: cover; display: block; }
.card-hero-img.ph, .card-side-img.ph, .card-grid-img.ph, .card-list-img.ph, .post-cover .ph { display: flex; }
.card-hero-body { padding: 24px 30px 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.card-hero-body h1 { font-size: 40px; font-weight: 800; transition: color .15s; }
.card-hero-body p { margin: 0; font-size: 18px; color: var(--ink-2); }
.hero-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.card-side { display: flex; gap: 14px; background: #fff; border-radius: var(--r); padding: 12px; color: var(--ink); box-shadow: 0 1px 0 var(--line); align-items: center; }
.card-side:hover { color: var(--pink-dk); }
.card-side-img { width: 104px; height: 84px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
.card-side strong { display: block; font-family: var(--display); font-size: 18px; line-height: 1.15; margin-top: 4px; }

/* grade de matérias */
.cols { display: flex; flex-wrap: wrap; gap: 32px; }
.col-main { flex: 999 1 560px; min-width: 0; }
.col-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card-grid { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.card-grid:hover strong { color: var(--pink-dk); }
.card-grid-img { width: 100%; height: 168px; border-radius: var(--r); object-fit: cover; margin-bottom: 4px; }
.card-grid strong { font-family: var(--display); font-size: 20px; line-height: 1.15; }
.card-list { display: flex; gap: 18px; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
.card-list:hover strong { color: var(--pink-dk); }
.card-list-img { width: 220px; height: 148px; flex-shrink: 0; border-radius: var(--r); object-fit: cover; }
.card-list strong { display: block; font-family: var(--display); font-size: 23px; line-height: 1.15; margin: 4px 0 6px; }
.card-list p { margin: 0 0 6px; color: var(--ink-2); }
.box { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 1px 0 var(--line); }
.box h3 { font-size: 22px; margin-bottom: 14px; }
.ranking { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ranking li { display: flex; gap: 12px; align-items: flex-start; }
.ranking b { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--blue); line-height: 1; min-width: 18px; }
.ranking a { color: var(--ink); font-weight: 700; }
.ranking a:hover { color: var(--pink-dk); }
.empty { background: #fff; border-radius: 20px; padding: 28px; text-align: center; color: var(--muted); }

/* agenda */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.event { background: #fff; border-radius: 20px; padding: 18px; display: flex; gap: 14px; }
.event-date { width: 60px; flex-shrink: 0; text-align: center; background: var(--blue-bg); border-radius: 14px; padding: 8px 0; color: var(--blue-dk); align-self: flex-start; }
.event-date b { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1; }
.event-date span { font-size: 12px; font-weight: 800; }
.event-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.event-body strong { font-size: 16px; }
.event-body > span { font-size: 14px; color: var(--muted); }
.event-link { font-size: 14px; font-weight: 800; margin-top: 2px; }
.agenda-day { font-family: var(--display); font-size: 24px; margin: 28px 0 12px; }

/* guia */
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-row a { background: #fff; color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); }
.chips-row a:hover { border-color: var(--ink); }
.chips-row a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.guia-hero { background: var(--blue-bg); margin-top: 24px; }
.guia-hero .wrap { padding-top: 44px; padding-bottom: 44px; display: flex; flex-direction: column; gap: 16px; }
.guia-hero h1 { font-size: 48px; max-width: 780px; }
.guia-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 820px; }
.guia-form input, .guia-form select { flex: 2 1 260px; min-width: 0; border: 0; border-radius: 999px; padding: 15px 22px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.guia-form select { flex: 1 1 180px; }
.lst-grid-feat { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.lst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lst-feat { background: #fff; border-radius: 24px; overflow: hidden; border: 2px solid #F5C6D4; display: flex; flex-direction: column; }
.lst-cover { position: relative; height: 160px; }
.lst-cover > img, .lst-cover > .ph { width: 100%; height: 100%; object-fit: cover; display: flex; }
.badge-feat { position: absolute; top: 14px; left: 14px; background: var(--pink-dk); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.lst-feat-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.lst-feat-body p, .lst p { margin: 0; font-size: 15px; color: var(--ink-2); }
.lst { background: #fff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 0 var(--line); align-items: flex-start; }
.lst-head { display: flex; gap: 12px; align-items: center; }
.lst-head strong { display: flex; align-items: center; gap: 6px; font-size: 17px; }
.lst-head span { font-size: 13px; color: var(--muted); }
.lst-logo { width: 48px; height: 48px; border-radius: 14px; background: var(--pink-bg); color: var(--pink-dk); font-family: var(--display); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.lst-logo img { width: 100%; height: 100%; object-fit: cover; }
.lst-logo-lg { width: 56px; height: 56px; background: var(--blue-bg); color: var(--blue-dk); }

/* matéria */
.post-wrap { display: flex; flex-wrap: wrap; gap: 44px; padding-top: 28px; padding-bottom: 20px; }
.post { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.crumbs { font-size: 14px; color: var(--muted-2); }
.post h1 { font-size: 46px; font-weight: 800; line-height: 1.05; }
.post .lead { margin: 0; font-size: 21px; line-height: 1.45; color: var(--ink-2); }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline-who { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.byline-who img { width: 40px; height: 40px; border-radius: 999px; background: var(--pink-bg); }
.byline-who span { display: block; color: var(--muted-2); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share .copy { width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.share .copy.done { background: var(--green-bg); color: var(--green); border-color: var(--green-bg); }
.post-cover { margin: 0; }
.post-cover > img, .post-cover > .ph { width: 100%; max-height: 520px; height: 420px; object-fit: cover; border-radius: 22px; }
.post > .chip, .post > .sponsored-tag { align-self: flex-start; }
.content .ad a { text-decoration: none; }
.post-cover figcaption { font-size: 13px; color: var(--muted-2); margin-top: 8px; }
.sponsored-tag { align-self: flex-start; background: #FFF4D6; color: #7A5300; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.content { font-size: 19px; line-height: 1.7; max-width: 740px; }
.content > * { margin: 0 0 18px; }
.content h2 { font-size: 29px; margin-top: 32px; }
.content h3 { font-size: 23px; margin-top: 26px; }
.content ul, .content ol { padding-left: 24px; }
.content li { margin-bottom: 6px; }
.content a { text-decoration: underline; text-underline-offset: 3px; }
.content img { border-radius: 16px; height: auto; display: block; }
.content figure { margin: 0 0 18px; }
.content figcaption { font-size: 14px; color: var(--muted-2); margin-top: 6px; }
.content blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); font-style: italic; color: var(--ink-2); }
.content .servico, .content .na-pratica { background: var(--pink-bg); border-radius: 22px; padding: 22px 26px; font-size: 17px; }
.content .servico > :last-child, .content .na-pratica > :last-child { margin-bottom: 0; }
.content .servico h3, .content .na-pratica h3 { margin-top: 0; color: var(--pink-dk); }
.content table { border-collapse: collapse; width: 100%; font-size: 16px; display: block; overflow-x: auto; }
.content th, .content td { border-bottom: 1px solid var(--line-2); padding: 8px 10px; text-align: left; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { background: var(--soft); color: var(--ink); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.tags a:hover { background: var(--pink-bg); color: var(--pink-dk); }
.source { font-size: 14px; color: var(--muted-2); }
.health-note { font-size: 14px; color: var(--muted); background: var(--soft); border-radius: 14px; padding: 12px 16px; max-width: 740px; }
.related { display: flex; flex-direction: column; gap: 14px; }
.related h3 { font-size: 22px; }

/* listas e páginas simples */
.page-head { padding-top: 32px; padding-bottom: 8px; }
.page-head h1 { font-size: 44px; }
.page-head p { color: var(--ink-2); font-size: 18px; margin: 8px 0 0; max-width: 720px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 28px 0; font-weight: 700; }
.pager a { background: #fff; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); }
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; padding-bottom: 20px; }
.prose h2 { font-size: 28px; margin: 28px 0 10px; }
.prose ul { padding-left: 22px; }

/* formulários */
.form { display: flex; flex-direction: column; gap: 30px; }
.form h2 { font-size: 26px; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 800; font-size: 15px; }
.field small { color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea { border: 1px solid #D5CBD0; border-radius: 14px; padding: 13px 16px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; }
.plan-box { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 3px solid #EDE6E9; border-radius: 24px; padding: 22px 24px; height: 100%; }
.plan input:checked + .plan-box { border-color: var(--pink-dk); box-shadow: 0 10px 28px rgba(201, 60, 104, .14); }
.plan input:focus-visible + .plan-box { outline: 3px solid var(--blue); outline-offset: 2px; }
.plan-name { font-family: var(--display); font-size: 24px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-price { font-size: 28px; font-weight: 800; }
.plan-price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: 16px; padding: 14px 18px; font-weight: 700; }
.alert-err { background: #FDE7E7; color: #9B1C1C; }
.alert-ok { background: var(--green-bg); color: var(--green); }
.done-box { background: var(--green-bg); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.done-box h2 { color: var(--green); font-size: 32px; }

/* CTAs e rodapé */
.cta-light { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border-radius: 20px; padding: 20px 24px; }
.cta-light p { margin: 4px 0 0; color: var(--muted); }
.cta-dark { background: var(--ink); color: #fff; border-radius: 28px; padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-dark h2 { font-size: 30px; }
.cta-dark p { margin: 8px 0 0; color: #D6D8E4; }
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 48px; }
.footer-in { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 36px; padding-bottom: 24px; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 14px; }
.footer-brand img { height: 48px; width: auto; align-self: flex-start; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--muted-2); padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--line); }

/* celular */
@media (max-width: 760px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .header-in { flex-wrap: wrap; gap: 12px; }
  .logo img { height: 48px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline-block !important; }
  .main-nav { display: none; flex-direction: column; gap: 2px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: 12px; }
  .card-hero-img { height: 220px; }
  .card-hero-body { padding: 18px 18px 22px; }
  .card-hero-body h1 { font-size: 28px; }
  .card-hero-body p { font-size: 16px; }
  .section-head h2 { font-size: 26px; }
  .panel { padding: 22px 18px; border-radius: 22px; }
  .post h1 { font-size: 32px; }
  .post .lead { font-size: 18px; }
  .post-cover > img, .post-cover > .ph { height: 240px; }
  .content { font-size: 18px; }
  .card-list-img { width: 110px; height: 90px; }
  .card-list strong { font-size: 18px; }
  .card-list p { display: none; }
  .guia-hero h1, .page-head h1 { font-size: 32px; }
  .cta-dark { padding: 26px 20px; }
  .cta-dark h2 { font-size: 24px; }
}
