/* ===== Taboão Agora — tema responsivo ===== */
:root {
  --lime: #a4d926;
  --lime-dark: #8bbd14;
  --dark: #101312;
  --dark2: #1b1f1d;
  --bg: #f5f5f2;
  --card: #ffffff;
  --text: #16181a;
  --muted: #6b7170;
  --line: #e6e6e0;
  --blue: #1a56d6;
  --red: #e04a3a;
  --green: #2f9e44;
  --purple: #7a3fd6;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(16, 19, 18, .07);
  --container: 1400px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ===== Layout geral: sidebar escura + conteúdo ===== */
.layout { display: grid; grid-template-columns: 230px 1fr; }
.content { min-width: 0; }

/* ===== Sidenav escura ===== */
.sidenav {
  background: var(--dark); color: #fff; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; padding: 26px 20px 20px; overflow-y: auto;
}
.sidenav-brand { display: flex; flex-direction: column; gap: 10px; margin-bottom: 34px; }
.sidenav-logo { width: 86px; height: 86px; }
.sidenav-name { font-size: 1.25rem; font-weight: 800; letter-spacing: .5px; line-height: 1.15; }
.sidenav-name strong { color: var(--lime); }
.sidenav-menu { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidenav-menu a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px;
  color: #e8ebe8; font-size: .95rem; font-weight: 600; transition: .15s;
}
.sidenav-menu a svg { opacity: .75; }
.sidenav-menu a:hover { background: var(--dark2); color: #fff; }
.sidenav-menu a.active { background: var(--dark2); color: var(--lime); box-shadow: inset 3px 0 0 var(--lime); }
.sidenav-slogan { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.sidenav-slogan p { font-size: .88rem; color: #c8ccc8; margin-bottom: 10px; }
.sidenav-line { display: block; width: 46px; height: 3px; background: var(--lime); border-radius: 2px; }
.sidenav-assinatura { margin-top: 30px; font-family: "Segoe Script", "Brush Script MT", cursive; line-height: 1.1; }
.sidenav-assinatura .aqui { color: #fff; font-size: 1.15rem; display: block; }
.sidenav-assinatura .taboao { color: var(--lime); font-size: 1.7rem; font-weight: 700; display: block; }

/* ===== Header mobile ===== */
.mobile-header {
  display: none; position: sticky; top: 0; z-index: 60;
  background: var(--dark); color: #fff; padding: 10px 16px;
  align-items: center; justify-content: space-between; box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.mobile-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .4px; }
.mobile-brand img { width: 42px; height: 42px; }
.mobile-brand strong { color: var(--lime); }
.nav-toggle { background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.6px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; list-style: none; background: var(--dark); box-shadow: 0 10px 20px rgba(0,0,0,.35); }
.nav-menu.open { display: block; }
.nav-menu a { display: flex; align-items: center; gap: 12px; padding: 13px 18px; color: #e8ebe8; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-menu a.active { color: var(--lime); }

/* ===== Masthead ===== */
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 22px; }
.masthead-title { font-size: clamp(1.9rem, 4.5vw, 3.3rem); font-weight: 900; letter-spacing: -1px; color: var(--dark); line-height: 1.05; }
.masthead-title .pop { color: var(--red); font-size: .55em; vertical-align: super; letter-spacing: 0; }
.masthead-tagline { font-size: clamp(.95rem, 2vw, 1.25rem); color: var(--text); margin-top: 10px; display: flex; align-items: center; gap: 16px; }
.tagline-line { flex: 1; height: 2px; background: var(--dark); opacity: .8; min-width: 60px; }
.masthead-slogan { font-family: "Segoe Script", "Brush Script MT", cursive; color: var(--dark); text-align: right; font-size: 1.05rem; line-height: 1.35; white-space: nowrap; }
.masthead-slogan .sub { color: var(--red); font-weight: 700; }

/* ===== Home ===== */
main.container { padding-top: 22px; padding-bottom: 40px; }
.home-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: start; }
.home-main { min-width: 0; }

/* Destaques */
.destaque-grid { display: grid; grid-template-columns: 1.9fr 1.05fr .8fr; gap: 14px; margin-bottom: 30px; }
.hero-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; min-height: 420px; display: grid; box-shadow: var(--shadow); }
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card a { display: block; height: 100%; position: relative; z-index: 2; }
.hero-overlay { padding: 24px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(transparent 20%, rgba(10, 12, 11, .9) 78%); }
.hero-overlay h2 { color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.7rem); line-height: 1.22; margin: 10px 0 8px; max-width: 92%; }
.hero-overlay p { color: #dfe3df; font-size: .92rem; max-width: 90%; }

.ultimas-card { background: var(--lime); color: var(--dark); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.ultimas-label { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding-bottom: 14px; border-bottom: 2px solid var(--dark); }
.ultimas-link { margin-top: 16px; }
.ultimas-link h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 900; line-height: 1.18; letter-spacing: -.4px; }
.ultimas-link:hover h3 { text-decoration: underline; }
.ultimas-card .arrow-btn { margin-top: auto; align-self: flex-end; }

.arrow-btn {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center; transition: .15s; flex-shrink: 0;
}
.arrow-btn:hover { background: var(--dark); color: var(--lime); }

.mini-list { display: flex; flex-direction: column; gap: 12px; }
.mini-item { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); flex: 1; }
.mini-item a { display: flex; gap: 10px; padding: 10px; height: 100%; }
.mini-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.mini-item h4 { font-size: .88rem; line-height: 1.3; margin-top: 5px; }
.mini-item:hover h4 { color: var(--blue); }
.mini-item time { font-size: .72rem; color: var(--muted); }

/* Badges por editoria */
.badge {
  display: inline-block; color: #fff; font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .6px; padding: 4px 10px; border-radius: 4px; width: fit-content;
}
.badge-cidade { background: var(--red); }
.badge-bairros { background: var(--purple); }
.badge-mobilidade { background: var(--blue); }
.badge-cultura { background: #2563c9; }
.badge-esportes { background: var(--green); }
.badge-opiniao { background: #454b49; }

/* Radar dos bairros */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 900; color: var(--dark); letter-spacing: -.3px; }
.section-title .lime { color: var(--lime-dark); }
.ver-mais { font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ver-mais:hover { color: var(--blue); }
.radar { margin-bottom: 30px; }
.radar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.radar-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.radar-card:hover { transform: translateY(-3px); }
.radar-img { position: relative; aspect-ratio: 32/10; overflow: hidden; }
.radar-img img { width: 100%; height: 100%; object-fit: cover; }
.radar-badge { position: absolute; top: 10px; left: 10px; color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 5px; }
.radar-card p { padding: 12px 14px 14px; font-size: .86rem; line-height: 1.35; }
.radar-card a:hover p { color: var(--blue); }

/* O que movimenta */
.movimenta { background: var(--dark); border-radius: 16px; padding: 22px; margin-bottom: 30px; }
.section-head-dark { margin-bottom: 18px; }
.section-head-dark .section-title { color: #fff; }
.section-head-dark .ver-mais { color: #b9beb9; }
.mov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mov-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 230px; display: grid; background: var(--dark2); }
.mov-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.mov-card a { display: block; height: 100%; position: relative; z-index: 2; }
.mov-overlay { height: 100%; padding: 18px; display: flex; flex-direction: column; background: linear-gradient(transparent 15%, rgba(10,12,11,.92) 75%); }
.mov-overlay h3 { color: #fff; font-size: .98rem; font-weight: 700; line-height: 1.3; margin-top: 8px; }
.mov-card .arrow-btn { position: absolute; right: 16px; bottom: 16px; width: 38px; height: 38px; background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.mov-card .arrow-btn:hover { background: var(--lime); border-color: var(--lime); color: var(--dark); }
.mov-card:hover h3 { text-decoration: underline; }

/* Grid de notícias */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(16,19,18,.12); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: #e2e5e0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.card-body h3 { font-size: 1rem; line-height: 1.35; }
.card-body p { font-size: .84rem; color: var(--muted); }
.card-body time { font-size: .75rem; color: var(--muted); margin-top: auto; }

/* ===== Coluna direita ===== */
.widget { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.widget-title { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; font-weight: 800; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; letter-spacing: -.2px; }
.weather-main { display: flex; align-items: center; gap: 12px; }
.weather-icon { font-size: 2.2rem; }
.weather-temp { font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; }
.weather-desc { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.weather-maxmin { margin-top: 8px; font-size: .85rem; color: var(--muted); }

.transito ul { list-style: none; }
.transito li { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: .88rem; border-bottom: 1px solid var(--line); }
.transito li:last-child { border-bottom: 0; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-normal { background: var(--green); }
.dot-lento { background: #e6a817; }
.dot-congestionado { background: var(--red); }
.via-nome { flex: 1; min-width: 0; }
.via-status { font-weight: 700; font-size: .82rem; }
.st-normal { color: var(--green); }
.st-lento { color: #b47c00; }
.st-congestionado { color: var(--red); }

.newsletter p { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.news-field { display: flex; gap: 8px; }
.news-field input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fbfbfa; }
.news-field input:focus { outline: 2px solid var(--lime); border-color: transparent; }
.news-field button { background: var(--blue); color: #fff; border: 0; border-radius: 8px; width: 44px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.news-field button:hover { background: #1444ad; }
.news-ok { margin-top: 10px; font-size: .85rem; color: var(--green); font-weight: 600; }
.rightbar-frase { font-size: .8rem; letter-spacing: 1.6px; color: var(--muted); text-align: center; margin-top: 24px; line-height: 1.9; }

/* ===== Paginação ===== */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 28px 0 8px; }
.page-btn {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border-radius: 8px; background: #fff; border: 1.5px solid var(--line);
  font-weight: 700; transition: .15s;
}
.page-btn:hover { border-color: var(--dark); }
.page-btn.current { background: var(--lime); border-color: var(--lime); color: var(--dark); }
.page-ellipsis { align-self: end; padding: 6px; color: var(--muted); }

/* ===== Post / páginas ===== */
.post, .static-page { max-width: 820px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px clamp(18px, 4vw, 44px); }
.post-header { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 20px; }
.post-header h1 { font-size: clamp(1.4rem, 3.2vw, 2.1rem); font-weight: 900; letter-spacing: -.5px; line-height: 1.22; margin-top: 10px; }
.post-meta { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.post-image { margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; }
.post-content { font-size: 1.02rem; }
.post-content p { margin-bottom: 1em; }
.post-content h2, .post-content h3 { margin: 1.2em 0 .5em; letter-spacing: -.3px; }
.post-content ul, .post-content ol { margin: 0 0 1em 1.4em; }
.post-content blockquote { border-left: 4px solid var(--lime); background: #f6f9ee; padding: 12px 18px; border-radius: 0 8px 8px 0; margin-bottom: 1em; }
.post-share { display: flex; gap: 12px; align-items: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; }
.post-share span { font-weight: 700; color: var(--muted); }
.post-share a { background: var(--bg); padding: 7px 14px; border-radius: 20px; font-weight: 600; }
.post-share a:hover { background: var(--lime); color: var(--dark); }
.related { max-width: 1200px; margin: 30px auto 0; }
.related h2 { margin-bottom: 14px; font-weight: 900; }

.static-page h1 { font-weight: 900; margin-bottom: 16px; letter-spacing: -.4px; }
.page-404 { text-align: center; padding: 60px 0; }
.page-404 h1 { font-size: 4rem; color: var(--lime-dark); }
.btn { display: inline-block; background: var(--lime); color: var(--dark) !important; font-weight: 800; padding: 11px 26px; border-radius: 8px; border: 0; cursor: pointer; margin-top: 16px; }
.btn:hover { background: var(--lime-dark); }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 5px; }
.form-field input, .form-field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fbfbfa; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--lime); border-color: transparent; }

/* ===== Rodapé ===== */
.site-footer { background: var(--dark); color: #c8ccc8; margin-top: 34px; }
.footer-inner { display: flex; gap: 30px; align-items: center; padding: 30px 22px 18px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 46px; height: 46px; }
.footer-brand strong { color: var(--lime); letter-spacing: .4px; }
.footer-brand p { font-size: .82rem; opacity: .8; }
.footer-nav { display: flex; gap: 6px 20px; flex-wrap: wrap; flex: 1; }
.footer-nav a { font-size: .88rem; color: #e8ebe8; }
.footer-nav a:hover { color: var(--lime); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { font-size: .85rem; font-weight: 700; color: #fff; }
.footer-social a:hover { color: var(--lime); }
.footer-copy { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 22px; font-size: .75rem; opacity: .65; }

/* ===== Busca ===== */
.busca-box { display: flex; gap: 10px; max-width: 560px; margin: 0 auto 24px; }
.busca-box input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }

/* ===== Responsivo ===== */
@media (max-width: 1280px) {
  .layout { grid-template-columns: 200px 1fr; }
  .home-wrap { grid-template-columns: 1fr 280px; }
  .destaque-grid { grid-template-columns: 1.6fr 1fr .7fr; }
}
@media (max-width: 1080px) {
  .home-wrap { grid-template-columns: 1fr; }
  .rightbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .rightbar .widget { margin-bottom: 0; }
  .rightbar-frase { grid-column: 1 / -1; }
  .destaque-grid { grid-template-columns: 1.7fr 1fr; }
  .mini-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .radar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  /* Sidebar vira header mobile */
  .layout { grid-template-columns: 1fr; }
  .sidenav { display: none; }
  .mobile-header { display: flex; }
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 18px; }
  .masthead-slogan { text-align: left; }
  .destaque-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 320px; }
  .mini-list { grid-template-columns: 1fr; }
  .mov-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .rightbar { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .news-grid, .radar-grid { grid-template-columns: 1fr; }
  .masthead-tagline .tagline-line { min-width: 30px; }
  .movimenta { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
