/* =========================================================
   PRODUTIZANDO · Portal de notícias
   Layout espelhado na página de Notícias da Mídia NINJA
   (medidas tiradas em 1366px). Ajustes de marca virão depois.
   ========================================================= */

:root {
  --bg: #F5F5F5;          /* fundo da página e do cabeçalho */
  --texto: #333333;
  --titulo: #2B1B33;      /* lilás da LOGO 1: cor dos textos em negrito */
  --cinza: #848484;       /* datas, linha do cabeçalho */
  --cinza-claro: #CCCCCC;
  --branco: #FFFFFF;
  --rodape: #111111;
  --paginacao: #FBF36E;   /* página atual */
  --overlay: linear-gradient(0deg, rgba(38, 38, 38, .64) 49.5%, rgba(38, 38, 38, 0));

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-tag: "Archivo", "Manrope", sans-serif;   /* Archivo largo = "Archivo Expanded" */
  --container: 1170px;
  --header-h: 133px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--texto);
  font-family: var(--font); font-size: 16px; line-height: 1.428571;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--titulo); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--titulo); color: var(--branco); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }

/* ---------- Cabeçalho (fixo) ---------- */
.main-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--bg); border-bottom: .8px solid var(--cinza);
  padding-top: 20px;
}
.header-top { display: flex; align-items: center; justify-content: space-between; height: 63px; }
.header-top > * { flex: 1; }
.social-menu { display: flex; align-items: center; }
.social-menu a { display: grid; place-items: center; width: 34px; height: 34px; padding: 5px; margin: 3px; color: var(--titulo); }
.social-menu svg { width: 20px; height: 20px; }
.social-menu a:hover { opacity: .6; }
.logo { display: flex; justify-content: center; }
.logo a { display: block; }
.logo img { width: auto; height: 32px; }   /* 30% menor que os 46px anteriores */
.header-buttons { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.header-buttons button { background: none; border: 0; padding: 4px; color: var(--titulo); display: grid; place-items: center; }
.header-buttons svg { width: 25px; height: 25px; }
.burger { display: grid; gap: 4px; width: 25px; }
.burger span { display: block; height: 2.5px; background: var(--titulo); border-radius: 2px; }

.menus { display: flex; justify-content: center; height: 49px; }
.primary-menu > ul { display: flex; margin: 8px 0; }
.primary-menu > ul > li { position: relative; margin-right: 32px; line-height: 41px; }
.primary-menu > ul > li:last-child { margin-right: 0; }
.primary-menu > ul > li > a {
  font-size: 16px; font-weight: 800; color: var(--titulo);
  letter-spacing: -.48px; line-height: 24px; display: inline-block;
}
.primary-menu > ul > li > a:hover { opacity: .6; }
.sub-menu {
  position: absolute; top: 100%; left: -16px; min-width: 220px; z-index: 5;
  background: var(--branco); border-radius: 8px; padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 6px 16px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--titulo); }
.sub-menu a:hover { background: var(--bg); }
.destaques.destaques--um { grid-template-columns: minmax(0, 1fr); }
.destaques__lado.destaques__lado--um { grid-template-rows: 1fr; }
.vazio-lateral { color: var(--cinza); font-size: 14px; padding-bottom: 12px; }
.apoie-pix { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--branco); border: 1.6px solid rgba(204, 204, 204, .6); border-radius: 12px; padding: 16px 18px; margin: 8px 0 24px; }
.apoie-pix span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #9C5CA8; }
.apoie-pix strong { font-size: 18px; color: var(--titulo); word-break: break-all; }
.apoie-pix button { margin-left: auto; border: 0; border-radius: 6px; background: var(--titulo); color: #FAF0DC; font-weight: 700; font-size: 13px; padding: 8px 14px; }

/* Lateral Opiniões */
.mais-lidas h2 a:hover { opacity: .7; }
.op-autor { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #9C5CA8; margin-top: 7px; }
.slide .op-autor + .post-title { margin-top: 2px; font-weight: 700; color: var(--titulo); }

/* Diálogos */
.dlg-sec {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 40px; align-items: center;
  background: #2B1B33; color: #FAF0DC; border-radius: 12px; padding: 40px; margin-bottom: 56px;
}
.dlg-sec__info h2 img { width: 240px; height: auto; }
.dlg-sec__info p { margin: 20px 0 24px; font-size: 18px; font-weight: 500; line-height: 1.45; }
.dlg-btn { display: inline-block; background: #FFC61A; color: #2B1B33; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; padding: 12px 20px; border-radius: 8px; }
.dlg-btn:hover { background: #FFD95C; }
.dlg-btn--escuro { background: #2B1B33; color: #FAF0DC; }
.dlg-btn--escuro:hover { background: #4A2757; }
.dlg-slogan { font-weight: 700 !important; font-size: 20px !important; }
.dlg-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.dlg-btn--breve, .dlg-btn--breve:hover { cursor: default; background: transparent; color: #FFC61A; box-shadow: inset 0 0 0 2px #FFC61A; }
.dlg-btn--breve.dlg-btn--escuro, .dlg-btn--breve.dlg-btn--escuro:hover { background: transparent; color: #2B1B33; box-shadow: inset 0 0 0 2px #2B1B33; }
.dlg-inscreva { font-weight: 800; font-size: 14px; color: #FAF0DC; text-decoration: underline; text-underline-offset: 4px; }
.dlg-inscreva:hover { color: #FFC61A; }
.dlg-inscreva--escuro { color: #2B1B33; }
.dlg-inscreva--escuro:hover { color: #9C5CA8; }
.dlg-player { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #1F1426; }
.dlg-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dlg-player--vazio { display: grid; place-items: center; text-align: center; color: #FAF0DC; padding: 20px; border: 2px dashed rgba(250, 240, 220, .3); }
.dlg-player--vazio p { font-weight: 700; margin-top: 14px; }
.dlg-player--vazio small { opacity: .6; }
.dlg-play { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #FFC61A; color: #2B1B33; }
.dlg-play svg { width: 30px; }
.dlg-title img { height: 72px; width: auto; margin-bottom: 16px; }
.dlg-mais { margin-top: 24px; }

/* Painel do hambúrguer */
.menu-panel { position: fixed; inset: 0; z-index: 100; }
.menu-panel__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.menu-panel__box {
  position: absolute; top: 12px; right: 12px; width: min(400px, calc(100vw - 24px)); max-height: calc(100vh - 24px);
  overflow-y: auto; background: rgba(51, 51, 51, .92); color: var(--branco);
  border-radius: 5px; padding: 30px; backdrop-filter: blur(6px);
}
.menu-panel__close { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: var(--branco); font-size: 22px; }
.menu-panel form { display: flex; margin: 8px 0 24px; }
.menu-panel input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 0; border-radius: 6px 0 0 6px; }
.menu-panel form button { border: 0; background: var(--titulo); color: var(--branco); padding: 0 14px; border-radius: 0 6px 6px 0; }
.menu-panel h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; opacity: .7; margin: 18px 0 6px; }
.menu-panel li a { display: block; padding: 5px 0; font-size: 18px; font-weight: 700; }
.menu-panel li a:hover { opacity: .7; }
.menu-panel .social-menu a { color: var(--branco); }

/* ---------- Conteúdo ---------- */
#app { padding-top: 170px; }

/* Destaques: 1 grande + 2 laterais */
.destaques { display: grid; grid-template-columns: minmax(0, 831fr) minmax(0, 277fr); gap: 32px; margin-bottom: 56px; }
.destaques__lado { display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.hl { position: relative; border-radius: 8px; overflow: hidden; background: #8B8B8B; }
.hl .thumb { position: absolute; inset: 0; }
.hl .thumb .art { width: 100%; height: 100%; }
.hl--grande { height: 506px; }
.hl--pequeno { min-height: 246px; }
.hl .entry-wrapper {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--overlay); color: var(--bg);
}
.hl--grande .entry-wrapper { padding: 15px 80px 44px 60px; }
.hl--pequeno .entry-wrapper { padding: 16px 16px 9px; }
.hl .entry-title { font-weight: 800; letter-spacing: -.64px; padding-bottom: 5px; }
.hl--grande .entry-title { font-size: 32px; line-height: 38.4px; color: var(--branco); }
.hl--pequeno .entry-title { font-size: 16px; font-weight: 700; line-height: 22.4px; }
.hl .entry-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hl p { font-size: 16px; font-weight: 500; line-height: 22.4px; color: var(--branco); }

.cat-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.cat {
  display: block; font-family: var(--font-tag); font-stretch: 125%;
  font-size: 13px; font-weight: 800; text-transform: uppercase; line-height: 18.57px;
  color: #FAF0DC; background: var(--titulo); border-radius: 4px; padding: 2px 5px 0;
}

/* Lista + lateral */
.row { display: grid; grid-template-columns: minmax(0, 75fr) minmax(0, 25fr); gap: 0; align-items: start; margin: 0 -15px; }
.content { padding: 0 32px 0 15px; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.post-card--thumb a { display: block; border-radius: 9px; overflow: hidden; aspect-ratio: 399 / 209; background: #8B8B8B; }
.post-card--thumb .art { width: 100%; height: 100%; transition: transform .4s; }
.post-card:hover .art { transform: scale(1.03); }
.post-card .entry-title { font-size: 24px; font-weight: 800; line-height: 30px; color: var(--titulo); margin: 16px 0 8px; letter-spacing: -.64px; }
.post-card a:hover .entry-title { text-decoration: underline; text-underline-offset: 3px; }
.entry-date { font-size: 13px; font-weight: 700; line-height: 18.85px; color: var(--cinza); }

/* Paginação */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 48px 0 64px; }
.page-numbers {
  display: grid; place-items: center; min-width: 32px; height: 32px; padding: 4px;
  border-radius: 8px; font-size: 14px; line-height: 24px; color: var(--cinza); background: none; border: 0;
}
.page-numbers:hover { color: var(--titulo); }
.page-numbers.current { background: var(--paginacao); color: var(--titulo); font-weight: 700; }
.page-numbers.next { border: 1.5px solid var(--texto); border-radius: 50%; width: 24px; min-width: 24px; height: 24px; padding: 0; color: var(--texto); margin-left: 6px; }

/* Mais lidas */
.sidebar {
  background: var(--branco); border-radius: 12px; border: 1.6px solid rgba(204, 204, 204, .6);
  padding: 0 15px; margin-bottom: 48px;
}
.mais-lidas { padding: 15px 0; }
.mais-lidas h2 { font-size: 32px; font-weight: 800; text-transform: uppercase; line-height: 38.4px; letter-spacing: -.64px; color: var(--titulo); margin: 20px 0 25px; }
.slides { overflow: hidden; }
.slides__track { display: flex; transition: transform .35s ease; }
.slide { flex: 0 0 100%; }
.slide a { display: block; margin-bottom: 15px; }
.slide .post-title { font-size: 16px; font-weight: 500; line-height: 22.4px; color: var(--texto); margin-top: 7px; }
.slide a:hover .post-title { text-decoration: underline; text-underline-offset: 3px; }
.post-meta--date { display: flex; flex-wrap: wrap; gap: 4px; font-size: 10px; text-transform: uppercase; line-height: 21px; color: var(--texto); margin: 3px 0 7px; }
.post-meta--date .tax { color: #DB565E; font-weight: 700; }
.slides__footer { position: relative; display: flex; justify-content: center; align-items: center; padding: 15px 0; }
.slides__dots { display: flex; gap: 8px; }
.slides__dots button { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: var(--cinza-claro); }
.slides__dots button[aria-current="true"] { background: var(--cinza); }
.slides__arrows { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.slides__arrows button { pointer-events: auto; width: 30px; height: 30px; border-radius: 30px; border: 0; background: var(--cinza-claro); color: var(--texto); display: grid; place-items: center; font-size: 14px; }
.slides__arrows button:disabled { background: #DDD; opacity: .6; cursor: default; }

/* ---------- Rodapé ---------- */
.main-footer { background: var(--rodape); color: var(--branco); }
.footer-logo { display: flex; flex-direction: column; align-items: center; }
.footer-logo img { width: auto; height: 50px; margin: 56px 0 28px; }   /* 30% menor que os 72px anteriores */
.footer-logo .social-menu a { color: var(--branco); }
.footer-menu-wrap { margin: 56px 0 72px; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 20px; margin: 16px 0; }
.footer-menu li { display: flex; align-items: center; }
.footer-menu li + li::before { content: ""; width: 1px; height: 14px; background: var(--branco); margin: 0 16px; }
.footer-menu a { font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: -.48px; line-height: 16px; }
.footer-menu a:hover { opacity: .7; }
.footer-credit { display: flex; justify-content: center; text-align: center; padding-bottom: 24px; font-size: 12px; opacity: .7; }

/* ---------- Página de editoria ---------- */
.archive-title { font-size: 64px; font-weight: 800; text-transform: uppercase; letter-spacing: -1.44px; line-height: 1.15; color: var(--titulo); padding: 0 0 30px; }
.archive-sub { margin: -22px 0 32px; color: var(--cinza); font-weight: 700; font-size: 14px; }
.vazio { color: var(--cinza); padding: 20px 0 60px; }

/* ---------- Matéria ---------- */
.single { max-width: 831px; }
.single .cat-links { margin-bottom: 16px; }
.single h1 { font-size: 48px; font-weight: 800; line-height: 1.1; letter-spacing: -1.2px; color: var(--titulo); }
.single .linha-fina { font-size: 20px; font-weight: 500; line-height: 1.45; margin-top: 16px; color: var(--texto); }
.single .meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 24px 0; padding: 14px 0; border-top: 1px solid var(--cinza-claro); border-bottom: 1px solid var(--cinza-claro); font-size: 13px; color: var(--cinza); font-weight: 700; }
.single .meta strong { color: var(--titulo); }
.share { display: flex; gap: 8px; }
.share a, .share button { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 6px; background: var(--titulo); color: var(--branco); border: 0; }
.share a:hover, .share button:hover { opacity: .75; }
.single figure { border-radius: 9px; overflow: hidden; }
.single figure .art { aspect-ratio: 16 / 9; width: 100%; height: auto; }
.single figcaption { font-size: 13px; color: var(--cinza); margin: 8px 0 0; }
.single .entry-content { font-size: 18px; line-height: 1.7; color: var(--texto); margin-top: 32px; }
.single .entry-content p { margin-bottom: 1.2em; }
.single .entry-content h2 { font-size: 26px; font-weight: 800; color: var(--titulo); margin: 1.6em 0 .6em; letter-spacing: -.5px; }
.single .entry-content blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 4px solid var(--titulo); font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--titulo); }
.single .entry-content cite { display: block; font-style: normal; font-size: 13px; color: var(--cinza); margin-top: 6px; }
img.art { object-fit: cover; }
.single figure img.art { aspect-ratio: 16 / 9; }
.single .entry-content img { max-width: 100%; height: auto; border-radius: 9px; margin: 1em 0; }
.single .entry-content a { color: #9C5CA8; text-decoration: underline; text-underline-offset: 3px; }
.single .entry-content ul, .single .entry-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.single .entry-content ul { list-style: disc; }
.single .entry-content ol { list-style: decimal; }
.single .entry-content h3 { font-size: 21px; font-weight: 800; color: var(--titulo); margin: 1.4em 0 .5em; }
.demo { background: var(--paginacao); padding: 10px 14px; font-size: 14px; font-weight: 700; border-radius: 6px; }
.relacionadas { margin: 64px 0 0; }
.relacionadas > h2 { font-size: 32px; font-weight: 800; text-transform: uppercase; letter-spacing: -.64px; color: var(--titulo); margin-bottom: 24px; }
.posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Responsivo ---------- */
@media (max-width: 1199px) {
  :root { --container: 970px; }
  .hl--grande { height: 440px; }
}
@media (max-width: 991px) {
  :root { --container: 750px; }
  .destaques { grid-template-columns: 1fr; }
  .destaques__lado { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .dlg-sec { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .row { grid-template-columns: minmax(0, 1fr); margin: 0; }
  .content { padding: 0; }
  .posts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .primary-menu > ul > li { margin-right: 18px; }
  .primary-menu > ul > li > a { font-size: 15px; }
}
@media (max-width: 767px) {
  :root { --container: 100%; }
  .main-header { padding-top: 12px; }
  .header-top { height: 52px; }
  .header-top .social-menu { visibility: hidden; }
  .logo img { height: 27px; }
  .menus { justify-content: flex-start; }
  .primary-menu > ul { margin: 4px 0 6px; }
  .primary-menu > ul > li { margin-right: 18px; }
  .primary-menu > ul > li > a { font-size: 19px; }
  .sub-menu { display: none; }
  #app { padding-top: 140px; }
  .destaques { gap: 20px; margin-bottom: 32px; }
  .destaques__lado { grid-template-columns: 1fr; gap: 20px; }
  .hl--grande { height: 420px; }
  .hl--pequeno { min-height: 356px; }
  .hl--grande .entry-wrapper { padding: 15px 20px 24px; }
  .hl--grande .entry-title { font-size: 24px; line-height: 30px; }
  .hl--pequeno .entry-wrapper { padding: 16px 20px 20px; }
  .hl--pequeno .entry-title { font-size: 18px; line-height: 24px; }
  .posts, .posts--3 { grid-template-columns: 1fr; }
  .dlg-sec { padding: 22px; margin-bottom: 32px; }
  .dlg-sec__info h2 img { width: 180px; }
  .dlg-title img { height: 52px; }
  .archive-title { font-size: 40px; }
  .single h1 { font-size: 32px; }
  .footer-logo img { height: 42px; margin: 40px 0 20px; }
  .footer-menu li + li::before { margin: 0 10px; }
  .footer-menu a { font-size: 14px; }
  .footer-credit { justify-content: center; }
}
