/* =============================================================
   UOL (laranja + escuro, cards coloridos)
   ============================================================= */

:root {
  --brand: #f7931e;
  --brand-dark: #d97b0e;
  --dark: #2b2b2b;
  --accent: #ffaf24;
  --ink: #1a1a1a;
  --muted: #777;
  --line: #e4e4e4;
  --bg: #f2f2f2;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Roboto', 'Open Sans', Arial, sans-serif; color: var(--ink); background: var(--bg); }
ul, li { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: 'Roboto', 'Open Sans', sans-serif; margin: 0; }

.kicker { display: inline-block; color: var(--brand-dark); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.time { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* Header */
.top-strip { height: 4px; background: linear-gradient(90deg, #f7931e, #f5b942, #e14b2e); }
.masthead { background: var(--dark); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.brand-text { font-size: 30px; font-weight: 900; color: var(--brand); letter-spacing: -1px; text-transform: uppercase; }
.masthead-tagline { font-size: 12px; color: #bbb; font-weight: 600; letter-spacing: .5px; }

.nav-main { background: #fff; border-bottom: 2px solid var(--brand); }
.nav-inner { display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.header-menu-btn { display: none; background: var(--brand); color: #fff; border: none; width: 38px; height: 38px; font-size: 17px; cursor: pointer; }
.header-nav-links { display: flex; flex-wrap: wrap; }
.header-nav-links li a { display: block; padding: 13px 14px; font-size: 13px; font-weight: 700; color: #333; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.header-nav-links li a:hover, .header-nav-links li a.active { color: var(--brand-dark); border-bottom-color: var(--brand); }
.nav-search { margin-left: auto; color: #555; font-size: 17px; cursor: pointer; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; padding: 18px 0; }
.hero-lead { display: block; background: #fff; border-radius: 6px; overflow: hidden; }
.hero-media img { width: 100%; height: 340px; object-fit: cover; }
.hero-copy { padding: 14px; }
.hero-copy h1 { font-size: 30px; line-height: 1.2; color: #111; margin-bottom: 10px; }
.hero-lead:hover .hero-copy h1 { color: var(--brand-dark); }
.hero-resumo { font-size: 14px; color: #444; line-height: 1.5; margin: 0 0 4px; }
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.hero-mini { display: flex; gap: 12px; background: #fff; border-radius: 6px; overflow: hidden; padding: 10px; align-items: center; }
.hero-mini-media { flex: 0 0 100px; border-radius: 4px; overflow: hidden; }
.hero-mini-media img { width: 100px; height: 70px; object-fit: cover; }
.hero-mini-copy h2 { font-size: 14px; line-height: 1.3; color: #111; font-weight: 700; }
.hero-mini:hover .hero-mini-copy h2 { color: var(--brand-dark); }

/* Sections */
.section { padding: 14px 0 24px; }
.section-head { background: #fff; border-left: 5px solid var(--brand); padding: 12px 14px; margin-bottom: 16px; border-radius: 0 4px 4px 0; }
.section-head h2 { font-size: 18px; font-weight: 700; color: #111; text-transform: uppercase; letter-spacing: .3px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 6px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 6px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.card a { display: flex; flex-direction: column; height: 100%; }
.card-media img { width: 100%; height: 150px; object-fit: cover; }
.card-body { padding: 12px; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { font-size: 15px; line-height: 1.4; color: #111; margin-bottom: 6px; }
.card:hover .card-body h3 { color: var(--brand-dark); }
.card-resumo { font-size: 13px; color: #555; line-height: 1.45; margin: 0 0 8px; }
.card-body .time { margin-top: auto; }

/* Article */
.single-article { max-width: 760px; margin: 0 auto; padding: 24px 0; }
.article-header { background: #fff; border-radius: 6px; padding: 24px; border-top: 4px solid var(--brand); margin-bottom: 20px; }
.article-title { font-size: 40px; line-height: 1.12; color: #111; margin: 8px 0 14px; }
.article-resumo { font-size: 17px; color: #444; line-height: 1.5; margin: 0 0 16px; }
.article-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.byline { color: var(--brand-dark); font-weight: 700; }
.article-main-image { margin: 0 0 24px; }
.article-main-image img { width: 100%; border-radius: 6px; }
.article-main-image figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.article-body { background: #fff; border-radius: 6px; padding: 24px; font-size: 17px; line-height: 1.7; color: #222; }
.article-body p { margin: 0 0 18px; }
.article-body h2, .article-body h3 { margin: 28px 0 12px; color: #111; }
.article-body a { color: var(--brand-dark); text-decoration: underline; }
.article-body img { border-radius: 6px; margin: 8px 0; }
.related { border-top: 4px solid var(--brand); margin-top: 20px; padding-top: 4px; }

/* Footer */
.site-footer { background: var(--dark); color: #ccc; margin-top: 30px; border-top: 4px solid var(--brand); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 28px 16px; }
.footer-brand-text { font-size: 24px; font-weight: 900; color: var(--brand); text-transform: uppercase; }
.footer-brand p { font-size: 12px; margin: 6px 0 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links li a { font-size: 12px; color: #ccc; }
.footer-links li a:hover { color: var(--brand); }
.footer-social { display: flex; gap: 10px; margin-left: auto; }
.footer-social li a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #555; border-radius: 4px; color: #ccc; font-size: 15px; transition: all .2s; }
.footer-social li a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .article-title { font-size: 28px; }
}
@media (max-width: 640px) {
  .header-menu-btn { display: flex; align-items: center; justify-content: center; }
  .header-nav-links { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; display: none; z-index: 100; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
  .header-nav-links.nav-active { display: flex; }
  .header-nav-links li a { border-bottom: 1px solid var(--line); }
  .nav-main { position: relative; }
  .hero-media img { height: 220px; }
  .grid { grid-template-columns: 1fr; }
  .footer-social { margin-left: 0; }
}