:root{--green:#456a50;--deep:#274432;--sage:#e6eddb;--cream:#f7f7ee;--ink:#28352c;--muted:#68746b;--line:#dfe4d8;--white:#fff;--shadow:0 12px 38px #263f2410}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.7 "DM Sans",system-ui,sans-serif}a{color:var(--green);text-decoration-thickness:.08em;text-underline-offset:.18em}a:hover{color:var(--deep)}.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;z-index:9;background:white;padding:1rem}header{display:flex;align-items:center;gap:1.4rem;padding:1rem max(calc((100% - 1180px)/2),1.2rem);background:#fffefa;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--deep);font-weight:600;white-space:nowrap}.brand b{color:var(--green)}.logo{background:var(--sage);border-radius:50%;width:40px;height:40px;display:grid;place-items:center;font-size:24px}nav{display:flex;gap:1rem;align-items:center}header nav{margin-left:auto}header nav a{font-size:.86rem;text-decoration:none;color:var(--ink)}.search{display:flex}.search input{width:145px;padding:.55rem;border:1px solid var(--line);border-radius:9px 0 0 9px}.search button{border:0;background:var(--green);color:white;border-radius:0 9px 9px 0;padding:.55rem}.menu-toggle{display:none}main{max-width:1180px;margin:auto;padding:2rem 1.3rem 5rem}h1,h2,h3{font-family:Fraunces,Georgia,serif;color:var(--deep);line-height:1.18}h1{font-size:clamp(2.4rem,5vw,4.6rem);letter-spacing:-.035em}h2{font-size:clamp(1.7rem,3vw,2.35rem)}h3{font-size:1.35rem}.hero{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;background:linear-gradient(135deg,#eef1df,#f8f6e9);border:1px solid #e1e6d7;border-radius:28px;padding:clamp(2rem,6vw,5rem);margin:1rem 0 4rem;overflow:hidden}.hero h1{max-width:700px;margin:.6rem 0 1rem}.hero p{max-width:580px;color:var(--muted);font-size:1.1rem}.eyebrow{font-size:.75rem;letter-spacing:.16em;color:var(--green);font-weight:700}.hero-art{height:290px;border-radius:50%;background:#dde8cf;display:grid;place-items:center;font-size:9rem;position:relative}.hero-art span{position:absolute;bottom:17%;right:4%;font-size:1rem;color:var(--deep);background:#fff;padding:.5rem 1rem;border-radius:20px}.button{display:inline-block;border:0;border-radius:9px;padding:.8rem 1.1rem;background:var(--green);color:white;text-decoration:none;font-weight:600;cursor:pointer}.button:hover{background:var(--deep);color:white}section{margin:3rem 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:1.2rem}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.card{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s}.card:hover{transform:translateY(-3px)}.card>a{display:block;color:inherit;text-decoration:none;padding:0 1.1rem 1.15rem}.card img{width:calc(100% + 2.2rem);height:185px;object-fit:cover;margin:0 -1.1rem 1rem}.card h3{margin:.4rem 0}.card p{color:var(--muted);font-size:.92rem}.tag{display:inline-block;color:var(--green);background:var(--sage);padding:.18rem .55rem;border-radius:99px;font-size:.75rem;font-weight:600}.read{font-weight:700;color:var(--green)}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.8rem}.category-tile{display:flex;flex-direction:column;background:white;border:1px solid var(--line);padding:1.1rem;border-radius:14px;text-decoration:none}.category-tile span{font-size:1.7rem}.category-tile small{color:var(--muted);margin-top:.5rem}.about-teaser,.quick,.notice{background:#edf1e5;border-left:4px solid var(--green);padding:1.2rem 1.4rem;border-radius:8px}.page-intro{max-width:780px;margin:3rem auto;text-align:center}.page-intro h1{font-size:3rem}.crumb{font-size:.86rem;color:var(--muted);margin:.8rem 0 1.5rem}.article{max-width:830px;margin:auto}.article h1{font-size:clamp(2.4rem,5vw,3.7rem);margin:.5rem 0}.subtitle,.lead{font-size:1.2rem;color:var(--muted)}.byline{font-size:.87rem;color:var(--muted);margin:1rem 0 1.5rem}.hero-img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:18px;margin:1rem 0 2rem}.toc{background:white;border:1px solid var(--line);padding:1.1rem 1.5rem;border-radius:12px;margin:1.5rem 0}.toc ol{margin-bottom:0}.article section{margin:2.6rem 0}.article h2{font-size:1.8rem}.article p,.article li{line-height:1.85}.article details{padding:.8rem 0;border-bottom:1px solid var(--line)}summary{cursor:pointer;font-weight:600}.notice{background:#fbf0df;border-color:#ce9351}.authorbox{display:flex;gap:1rem;background:white;border:1px solid var(--line);padding:1.2rem;border-radius:14px;margin:2rem 0}.avatar{font-size:2rem;background:var(--sage);border-radius:50%;width:60px;height:60px;display:grid;place-items:center;flex:none}.contact{display:grid;gap:1rem;max-width:620px}.contact label{display:grid;gap:.3rem;font-weight:600}.contact input,.contact textarea,#search-q{font:inherit;padding:.7rem;border:1px solid #bfcbbb;border-radius:8px;background:#fff}footer{background:#e9eddf;padding:2.5rem max(calc((100% - 1180px)/2),1.3rem);color:var(--muted)}.footlinks{display:flex;flex-wrap:wrap;gap:1.2rem;margin:1rem 0}.footlinks a{color:var(--deep)}.cookie{position:fixed;z-index:8;bottom:1rem;left:1rem;max-width:460px;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;padding:1rem}.cookie button{padding:.5rem .8rem;margin-right:.5rem}.sr{position:absolute;clip:rect(0,0,0,0)}@media(max-width:1050px){header{flex-wrap:wrap}header nav{order:3;width:100%;overflow:auto}.search{margin-left:auto}.category-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){header{position:relative;gap:.6rem}.menu-toggle{display:block;margin-left:auto;background:white;border:1px solid var(--line);padding:.6rem;border-radius:8px}header nav{display:none;flex-direction:column;align-items:flex-start;padding:.7rem 0}.menu-toggle[aria-expanded=true]+nav,.open{display:flex}.search{width:100%;order:4}.search input{flex:1}.hero{grid-template-columns:1fr;padding:2rem}.hero-art{height:180px;font-size:6rem}.grid{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,1fr)}main{padding-inline:1rem}.card img{height:220px}.page-intro h1{font-size:2.5rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* Logo fornecida pelo usuário */
.brand-logo{display:block;width:150px;height:100px;object-fit:contain;flex:0 0 auto;border-radius:8px}
@media(max-width:700px){.brand-logo{width:126px;height:84px}}

.hero-art-image{display:block;width:100%;height:290px;object-fit:cover;border-radius:24px;box-shadow:0 12px 30px #263f2418}
@media(max-width:700px){.hero-art-image{height:180px;border-radius:18px}}

/* Primary navigation: clear hierarchy, visible focus, and a reliable compact menu. */
header nav{margin-left:auto;max-width:740px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.12rem;overflow:visible}
header nav a{display:inline-flex;align-items:center;min-height:40px;padding:.48rem .58rem;border-radius:8px;color:var(--ink);font-size:.82rem;font-weight:500;line-height:1.25;text-decoration:none;white-space:nowrap;transition:background-color .16s ease,color .16s ease}
header nav a:hover{background:var(--sage);color:var(--deep)}
header nav a[aria-current="page"]{background:var(--sage);color:var(--deep);font-weight:700}
header nav a:focus-visible,.menu-toggle:focus-visible{outline:3px solid #88a979;outline-offset:2px}
.menu-toggle{border-radius:9px;color:var(--deep);font-weight:600}
@media(max-width:980px){
 header{flex-wrap:wrap;gap:.65rem}
 .menu-toggle{display:block;margin-left:auto}
 header nav{display:none;order:3;width:100%;max-width:none;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:.2rem;overflow:visible;margin:0;padding:.55rem 0;border-top:1px solid var(--line)}
 .menu-toggle[aria-expanded="true"]+nav,header nav.open{display:flex}
 header nav a{width:100%;min-height:48px;padding:.7rem .85rem;font-size:1rem;white-space:normal}
 header .search{order:4;width:100%;margin-left:0}
 header .search input{width:auto;flex:1}
}

/* Refined primary navigation: one calm desktop row and generous mobile targets. */
header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand search" "navigation navigation";
  align-items: center;
  gap: .25rem 1.5rem;
  padding-top: .55rem;
  padding-bottom: .45rem;
}
header > .brand { grid-area: brand; }
header > .search { grid-area: search; margin-left: 0; }
header > .menu-toggle { display: none; }
header > nav {
  grid-area: navigation;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  gap: .2rem;
  margin: .1rem 0 0;
  padding-top: .35rem;
  border-top: 1px solid var(--line);
}
header > nav a {
  position: relative;
  flex: 0 0 auto;
  min-height: 42px;
  padding: .55rem .65rem;
  border-radius: 8px;
  font-size: .875rem;
  line-height: 1.2;
  white-space: nowrap;
}
header > nav a[aria-current="page"] {
  background: transparent;
  color: var(--deep);
  font-weight: 700;
}
header > nav a[aria-current="page"]::after {
  position: absolute;
  right: .65rem;
  bottom: .25rem;
  left: .65rem;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  content: "";
}
header > nav a:hover { background: var(--sage); }

@media (max-width: 980px) {
  header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand menu" "navigation navigation" "search search";
    gap: .35rem .75rem;
    padding-top: .45rem;
    padding-bottom: .7rem;
  }
  header > .menu-toggle {
    grid-area: menu;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    margin: 0;
    border: 1px solid var(--line);
    background: var(--white);
    cursor: pointer;
  }
  header > nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .15rem;
    margin: .2rem 0 0;
    padding: .4rem 0 0;
  }
  header > .menu-toggle[aria-expanded="true"] + nav,
  header > nav.open { display: flex; }
  header > nav a {
    width: 100%;
    min-height: 48px;
    padding: .7rem .85rem;
    font-size: 1rem;
    white-space: nowrap;
  }
  header > nav a[aria-current="page"]::after {
    right: .85rem;
    bottom: .35rem;
    left: .85rem;
  }
  header > .search { width: 100%; }
  header > .search input { width: auto; flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  header > nav a { transition: none; }
}
