:root{
  /* Identidade Folha de Gyn (logo) */
  --brand:#0E6A2A;
  --brand2:#1FA34A;
  --accent:#F7C400;
  --accentText:#1b1300;

  /* Neutros */
  --bg:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;

  --chip:#f3f4f6;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --shadow2:0 6px 18px rgba(0,0,0,.06);

  --danger:#ef4444;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial;
  background:var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1180px;margin:0 auto;padding:0 14px}

/* =====================================================
   HEADER PREMIUM (exclusivo)
   ===================================================== */
.header{
  position:sticky; top:0; z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
}

/* faixa topo (ticker) */
.topline{
  background:linear-gradient(90deg, #0b4f20 0%, var(--brand) 45%, var(--brand2) 100%);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.18);
}
.topline__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding:8px 14px;
}
.ticker{display:flex; align-items:center; gap:10px; min-width:0}
.ticker__pill{
  font-size:11px;
  font-weight:950;
  letter-spacing:.5px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(247,196,0,.96);
  color:var(--accentText);
  box-shadow:0 0 0 4px rgba(247,196,0,.22);
  white-space:nowrap;
}
.ticker__text{
  font-size:12px;
  font-weight:750;
  opacity:.98;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.toplinks{display:flex; align-items:center; gap:10px; font-size:12px; font-weight:800}
.toplinks a{color:#fff; opacity:.95}
.toplinks a:hover{opacity:1}
.dotsep{opacity:.8}

/* Cabeçalho principal */
.headbar{
  background:
    radial-gradient(800px 200px at 20% 0%, rgba(31,163,74,.18), transparent 60%),
    radial-gradient(900px 240px at 80% 0%, rgba(247,196,0,.14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.headbar__inner{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 14px;
}

/* Brand premium */
.brand{
  display:flex; align-items:center; gap:12px;
  white-space:nowrap;
}
.brand__mark{
  width:42px;height:42px;border-radius:14px;
  position:relative;
  background:rgba(14,106,42,.10);
  border:1px solid rgba(14,106,42,.22);
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.brand__ring{
  position:absolute; inset:-20px;
  background:conic-gradient(from 120deg, rgba(247,196,0,.95), rgba(31,163,74,.85), rgba(247,196,0,.95));
  filter:blur(.2px);
}
.brand__core{
  position:absolute; inset:7px;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(247,196,0,.98) 0%, rgba(247,196,0,.70) 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);
}
.brand__text{display:flex; flex-direction:column; line-height:1}
.brand__name{
  font-weight:950;
  letter-spacing:-.2px;
  color:var(--brand);
  font-size:18px;
}
.brand__sub{
  margin-top:4px;
  font-size:12px;
  font-weight:800;
  color:var(--muted);
}

/* Busca premium */
.search{
  flex:1;
  display:flex;
  gap:8px;
  max-width:620px;
  margin-left:8px;
}
.search input{
  flex:1;
  border:1px solid var(--line);
  border-radius:14px;
  padding:11px 12px;
  outline:none;
  background:rgba(255,255,255,.90);
  box-shadow:0 2px 0 rgba(0,0,0,.02);
}
.search input:focus{
  border-color:rgba(31,163,74,.55);
  box-shadow:0 0 0 4px rgba(31,163,74,.18);
}
.search button{
  border:0;
  border-radius:14px;
  padding:11px 16px;
  font-weight:950;
  cursor:pointer;
  background:var(--accent);
  color:var(--accentText);
}

/* Menu categorias (pill elegante) */
.menu{
  background:linear-gradient(180deg, rgba(14,106,42,.92) 0%, rgba(11,79,32,.96) 100%);
  border-top:1px solid rgba(0,0,0,.04);
}
.menu__inner{
  display:flex;
  gap:10px;
  align-items:center;
  overflow:auto;
  padding:10px 14px;
}
.menu__item{
  color:#fff;
  font-weight:900;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.12);
}
.menu__item:hover{
  background:rgba(255,255,255,.18);
}

/* Mobile: simplifica topo */
@media(max-width:620px){
  .toplinks{display:none}
  .brand__sub{display:none}
  .search{max-width:none}
}

/* =====================================================
   CONTEÚDO / GRID (mantém portal)
   ===================================================== */
.content{padding:18px 0 44px}
.portal{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}
@media(min-width:980px){
  .portal{grid-template-columns:1.6fr .9fr;}
}

/* HERO */
.hero{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.hero__media{background:#f3f4f6; position:relative}
.hero__media img{width:100%; height:260px; object-fit:cover}
@media(min-width:980px){ .hero__media img{height:380px} }

.hero__tag{
  position:absolute; left:14px; top:14px;
  background:rgba(14,106,42,.95);
  color:#fff;
  font-weight:950;
  font-size:12px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
}
.hero__body{padding:16px}
.hero__title{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-.2px;
}
@media(min-width:980px){ .hero__title{font-size:34px} }
.hero__excerpt{margin:0;color:var(--muted);line-height:1.55;font-size:15px}
.hero__meta{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px}

/* cards 3 */
.cards3{margin-top:14px;display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:720px){ .cards3{grid-template-columns:repeat(3,1fr)} }
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow2);
  transition:.12s ease;
}
.card:hover{transform:translateY(-2px);border-color:#d1d5db}
.card img{height:140px;width:100%;object-fit:cover}
.card__body{padding:12px}
.kicker{font-size:12px;font-weight:950;color:var(--brand);text-transform:uppercase;letter-spacing:.4px}
.card__title{margin:8px 0 0;font-weight:950;line-height:1.2;font-size:16px}
.card__meta{margin-top:10px;color:var(--muted);font-size:12px}

/* Sidebar */
.sidebox{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow2);
}
.sidebox__head{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;
}
.sidebox__title{
  margin:0;font-size:13px;font-weight:950;
  text-transform:uppercase;letter-spacing:.45px;color:var(--brand);
}
.sidebox__badge{
  font-size:12px;font-weight:950;color:var(--accentText);
  background:rgba(247,196,0,.28);
  border:1px solid rgba(247,196,0,.35);
  padding:6px 10px;border-radius:999px;
}
.sidebox__list{display:flex;flex-direction:column}
.sideitem{padding:12px 14px;border-bottom:1px solid var(--line)}
.sideitem:last-child{border-bottom:0}
.sideitem a{font-weight:950;line-height:1.25}
.sideitem .meta{margin-top:6px;color:var(--muted);font-size:12px}
.sideitem:hover{background:#fafafa}

/* Feed */
.section{
  margin-top:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow2);
}
.section__head{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;
}
.section__title{
  margin:0;font-size:14px;font-weight:950;
  text-transform:uppercase;letter-spacing:.45px;color:var(--brand);
}
.section__line{
  width:120px;height:4px;border-radius:999px;
  background:linear-gradient(90deg,var(--accent) 0%, rgba(247,196,0,.2) 100%);
}
.feed{display:grid;grid-template-columns:1fr}
.feeditem{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:12px;
  padding:14px;
  border-bottom:1px solid var(--line);
}
.feeditem:last-child{border-bottom:0}
.feeditem img{width:120px;height:84px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.feeditem h3{margin:6px 0 0;font-size:16px;font-weight:950;line-height:1.2}
.feeditem p{margin:8px 0 0;color:var(--muted);line-height:1.45;font-size:14px}
.feedmeta{margin-top:10px;color:var(--muted);font-size:12px}

/* Post */
.post{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow2);
}
.post__meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px;color:var(--muted);font-size:13px}
.badge{
  background:rgba(14,106,42,.10);
  border:1px solid rgba(14,106,42,.25);
  color:var(--brand);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:950;
}
.post__cover{
  width:100%;
  max-height:440px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
  margin:12px 0;
}
.post__excerpt{margin:0;color:var(--muted);line-height:1.55}
.post__content{margin-top:14px;line-height:1.85;font-size:16px}

/* Footer */
.footer{
  margin-top:26px;
  border-top:1px solid var(--line);
  padding:22px 0;
  color:var(--muted);
  text-align:center;
}
.footer__sep{margin:0 8px;opacity:.6}
.footer__link{color:var(--muted)}
.footer__link:hover{color:var(--brand)}