/* ====== Base ====== */
:root{
  --bg:#ffffff;
  --ink:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --brand:#0f766e;
  --brand-ink:#095c56;
  --link:#0a58ca;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,Cantarell,"Noto Sans",sans-serif;
  line-height:1.5;
}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:1100px;margin:0 auto;padding:16px}

/* ====== Header ====== */
header.top{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--border)}
header.top .top-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{height:28px;width:auto;vertical-align:middle}
.brand .title{font-weight:700}
.nav a{margin:0 8px;color:#374151}
.nav a:hover{color:#111827}

/* ====== Toolbar ====== */
.toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:8px 0 12px; border-bottom:1px solid var(--border); margin-bottom:12px;
}
.toolbar .muted{color:var(--muted);font-size:14px}
.toolbar-search{display:flex;gap:8px}
.input{
  border:1px solid var(--border); border-radius:8px; padding:8px 10px; min-width:240px;
}
.btn{
  display:inline-block; padding:8px 12px; border-radius:8px;
  border:1px solid var(--brand); background:var(--brand); color:#fff; font-weight:600;
}
.btn:hover{background:var(--brand-ink);border-color:var(--brand-ink)}
.btn-ghost{background:#fff;color:var(--brand);border-color:var(--brand)}
.btn-ghost:hover{background:#f3f4f6}

/* ====== Grid ====== */
.grid{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-top:16px}
.col{min-width:0}

/* ====== Section / Cards ====== */
.section{
  background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;margin:12px 0;
}
.section-header{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:10px 14px;border-bottom:1px solid var(--border);
}
.section-header h2{margin:0;font-size:18px}
.muted{color:var(--muted)}

.cards{display:grid;gap:12px;padding:12px}
.cards-hero{grid-template-columns:repeat(3,1fr)}
.cards-feed{grid-template-columns:repeat(2,1fr)}
.card{
  background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden;
  transition:box-shadow .15s ease,transform .05s ease;
}
.card:hover{box-shadow:0 8px 20px rgba(0,0,0,.06)}
.card .thumb{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.card .content{padding:10px 12px}
.card .title{margin:6px 0 0;font-size:16px;line-height:1.25}
.card .summary{margin:.35rem 0 0;color:#374151;font-size:14px}
.meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.meta .dot::before{content:"•";opacity:.6}

/* ====== HERO grande ====== */
.hero .hero-wrap{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;padding:12px}
.hero .thumb{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px}
.hero .title{font-size:26px;line-height:1.15;margin:.25rem 0 .5rem}
.hero .kicker{font-weight:700;color:var(--brand);text-transform:uppercase;font-size:12px;letter-spacing:.04em}
.hero .summary{color:#374151}
.share{display:flex;gap:8px;margin-top:10px}

/* ====== Sidebar (lista vertical) ====== */
.list-vertical{display:flex;flex-direction:column;gap:10px;padding:12px}
.rowcard{
  display:flex;gap:12px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:#fff;
}
.rowcard .thumb{width:120px;height:80px;object-fit:cover;border-radius:8px;flex:0 0 auto}
.rowcard .content{flex:1;min-width:0}
.rowcard .title{margin:0;font-size:15px;line-height:1.25}

/* ====== Tags (UFs) ====== */
.tags{display:flex;flex-wrap:wrap;gap:8px;padding:12px}
.tag{
  display:inline-block;border:1px solid var(--border);border-radius:20px;padding:6px 10px;
  font-size:13px;color:#374151;background:#fff;
}
.tag:hover{border-color:var(--brand);color:var(--brand)}

/* ====== Footer ====== */
.foot{border-top:1px solid var(--border);padding:16px 0;margin-top:20px;color:var(--muted);text-align:center}

/* ====== Responsivo ====== */
@media (max-width: 1100px){
  .cards-hero{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
  .hero .hero-wrap{grid-template-columns:1fr}
  .cards-feed{grid-template-columns:1fr}
  .rowcard .thumb{width:96px;height:64px}
}
