/* === MENFIRST BLOG — Brand System (clonado do guia.propelo.com.br, estrutura/CSS
   idênticos — só os tokens de cor abaixo mudam. Identidade real da Menfirst (confirmada
   no logo, header e configs do tema): monocromática, preto/branco/cinza, sem cor de
   destaque colorida — decisão explícita do usuário de não inventar uma cor nova.
   Cromo e destaque diferenciam por VALOR (preto puro vs cinza-escuro), não por matiz. === */
:root {
  --brand:    #1a1a1a;
  --brand-dk: #000000;
  --brand-lt: #ececec;
  --chrome:    #111111;
  --chrome-dk: #000000;
  --chrome-lt: #555555;
  --dark:     #111111;
  --dark-mid: #2a2a2a;
  --white:    #FFFFFF;
  --off-white:#F6F6F6;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-400: #9CA3AF;
  --gray-600: #555555;
  --text:     #1a1a1a;
  --serif:    'Roboto', 'Roboto', sans-serif;
  --sans:     'Roboto', 'Roboto', sans-serif;
  --display:  'Fraunces', 'Roboto', serif;
  --radius:   8px;
  --shadow:   0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--serif); color: var(--dark); line-height: 1.25; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

/* === HEADER === */
.site-header { background: var(--chrome); color: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.25); border-bottom: 3px solid var(--chrome-dk); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.site-logo { flex-shrink: 0; display: flex; align-items: center; gap: 10px; max-width: 200px; }
.site-logo img { max-width: 160px; width: auto; height: auto; max-height: 44px; }
.logo-fallback { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { color: rgba(255,255,255,.85); font-size: .875rem; font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: all .15s; }
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.site-nav .btn-header { background: var(--white); color: var(--brand); padding: 7px 16px; font-weight: 700; }
.site-nav .btn-header:hover { background: var(--brand-lt); color: var(--brand-dk); }
.header-search { display: flex; align-items: center; gap: 0; background: rgba(255,255,255,.12); border-radius: 24px; overflow: hidden; padding: 0 12px 0 16px; }
.header-search input { background: none; border: none; color: var(--white); font-size: .875rem; padding: 8px 8px 8px 0; outline: none; width: 180px; }
.header-search input::placeholder { color: rgba(255,255,255,.5); }
.header-search button { background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer; padding: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; }

/* === HERO === */
.hero-section { background: var(--off-white); padding: 64px 0; border-bottom: 1px solid var(--gray-200); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-image-link { display: block; border-radius: 12px; overflow: hidden; }
.hero-image { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; }
.hero-content { }
.hero-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 12px 0 16px; }
.hero-title a:hover { color: var(--brand); }
.hero-excerpt { color: var(--gray-600); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 20px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 24px; color: var(--gray-600); font-size: .8125rem; }
.meta-item { display: flex; align-items: center; gap: 5px; }
.btn-primary { display: inline-flex; align-items: center; background: var(--brand); color: var(--white); font-weight: 600; font-size: .875rem; padding: 11px 22px; border-radius: 8px; transition: background .15s; }
.btn-primary:hover { background: var(--brand-dk); }
.btn-secondary { display: inline-flex; align-items: center; background: var(--gray-100); color: var(--dark); font-weight: 600; font-size: .875rem; padding: 11px 22px; border-radius: 8px; border: 1px solid var(--gray-200); transition: background .15s; }
.btn-secondary:hover { background: var(--gray-200); }

/* === SECTION HEADERS === */
.section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.section-header h2 { font-size: 1.5rem; white-space: nowrap; }
.section-line { flex: 1; height: 2px; background: linear-gradient(to right, var(--brand), transparent); }

/* === POSTS SECTION === */
.posts-section { padding: 64px 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.posts-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* === POST CARD === */
.post-card { background: var(--white); border-radius: 12px; border: 1px solid var(--gray-200); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-image-link { display: block; overflow: hidden; aspect-ratio: 16/10; }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .card-image { transform: scale(1.04); }
.card-image-placeholder { aspect-ratio: 16/10; background: var(--gray-100); display: flex; align-items: center; justify-content: center; }
.no-image-icon { color: var(--gray-400); }
.card-body { padding: 18px 20px 20px; }
.card-title { font-size: 1.0625rem; margin: 8px 0 8px; }
.card-title a:hover { color: var(--brand); }
.card-excerpt { color: var(--gray-600); font-size: .875rem; line-height: 1.6; margin-bottom: 12px; }
.meta-small { font-size: .75rem; color: var(--gray-400); display: flex; gap: 12px; }
.tag-pill { display: inline-block; background: var(--brand); color: var(--white); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: .03em; text-transform: uppercase; transition: background .15s; }
.tag-pill:hover { background: var(--brand-dk); }
.tag-small { font-size: .7rem; }

/* === CATEGORIES SECTION === */
.categories-section { padding: 48px 0 60px; background: var(--brand-lt); border-top: 1px solid rgba(255,114,1,.15); border-bottom: 1px solid rgba(255,114,1,.15); }
.categories-section .section-header h2 { color: var(--dark); }
.categories-section .section-line { background: linear-gradient(to right, var(--brand), transparent); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.category-card { display: flex; flex-direction: column; gap: 4px; background: var(--white); color: var(--dark); padding: 20px 18px; border-radius: 10px; border: 2px solid var(--gray-200); transition: all .2s; }
.category-card:hover { border-color: var(--brand); background: var(--white); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(255,114,1,.15); }
.cat-name { font-weight: 700; font-size: .9375rem; font-family: var(--serif); color: var(--dark); }
.cat-count { font-size: .75rem; color: var(--brand); font-weight: 600; }

/* === PAGE HERO === */
.page-hero { background: var(--brand); color: var(--white); padding: 48px 0 40px; border-bottom: 4px solid var(--brand-dk); }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); margin: 8px 0 12px; }
.page-desc { color: rgba(255,255,255,.75); font-size: 1rem; max-width: 600px; }
.tag-count { display: inline-block; background: var(--white); color: var(--brand); font-size: .8125rem; padding: 4px 12px; border-radius: 20px; margin-top: 12px; font-weight: 600; }
.page-hero-small { padding: 36px 0 28px; }

/* === BREADCRUMBS === */
.breadcrumbs-bar { background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.breadcrumbs { display: flex; align-items: center; gap: 6px; padding: 10px 0; font-size: .8125rem; color: var(--gray-600); flex-wrap: wrap; }
.breadcrumbs a { color: var(--dark); }
.breadcrumbs a:hover { color: var(--brand); }
.bc-sep { color: var(--gray-400); }
.breadcrumbs [aria-current="page"] { color: var(--gray-600); }

/* === SINGLE POST === */
.post-header { padding: 48px 0 32px; }
.post-title { font-size: clamp(1.75rem, 4vw, 2.75rem); margin: 12px 0 16px; }
.post-lead { font-size: 1.125rem; color: var(--gray-600); line-height: 1.7; border-left: 3px solid var(--brand); padding-left: 16px; margin-bottom: 20px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--gray-600); font-size: .8125rem; }
.post-featured-image { margin-bottom: 40px; }
.featured-img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; }
.post-body { padding-bottom: 40px; }
.post-content { font-size: 1.0625rem; line-height: 1.8; }
.post-content h2 { font-size: 1.625rem; margin: 2.5em 0 .75em; color: var(--dark); border-bottom: 2px solid var(--gray-200); padding-bottom: 8px; }
.post-content h3 { font-size: 1.3125rem; margin: 2em 0 .6em; color: var(--dark); }
.post-content h4 { font-size: 1.1rem; margin: 1.5em 0 .5em; }
.post-content p { margin-bottom: 1.4em; }
.post-content ul, .post-content ol { margin: 1em 0 1.4em 1.5em; }
.post-content li { margin-bottom: .4em; }
.post-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--brand-dk); }
.post-content img { border-radius: 8px; margin: 1.5em 0; max-width: 100%; }
.post-content blockquote { border-left: 4px solid var(--brand); margin: 1.5em 0; padding: 1em 1.5em; background: var(--off-white); border-radius: 0 8px 8px 0; font-style: italic; color: var(--gray-600); }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .9375rem; overflow-x: auto; display: block; }
.post-content th { background: var(--brand); color: var(--white); padding: 10px 14px; text-align: left; font-weight: 600; }
.post-content td { padding: 9px 14px; border-bottom: 1px solid var(--gray-200); }
.post-content tr:hover td { background: var(--gray-100); }

/* Products Section */
.products-section { margin: 40px 0; padding: 24px; background: var(--off-white); border-radius: 12px; border: 1px solid var(--gray-200); }
.products-title { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; color: var(--dark); margin-bottom: 18px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; background: var(--white); border-radius: 10px; border: 1px solid var(--gray-200); overflow: hidden; transition: box-shadow .2s; text-decoration: none; }
.product-card:hover { box-shadow: var(--shadow); border-color: var(--brand); }
.product-thumb { width: 100%; aspect-ratio: 1; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-thumb-empty { display: flex; align-items: center; justify-content: center; background: var(--gray-100); color: var(--gray-400); }
.product-info { padding: 12px 14px 14px; }
.product-name { display: block; font-weight: 600; font-size: .875rem; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.product-link-label { display: inline-block; background: var(--brand); color: var(--white); font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 6px; }
.product-card:hover .product-link-label { background: var(--brand-dk); }

/* Share */
.share-section { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--gray-200); margin-top: 40px; }
.share-label { font-weight: 600; font-size: .875rem; color: var(--gray-600); }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 8px; font-size: .8125rem; font-weight: 600; cursor: pointer; border: none; transition: background .15s; }
.share-fb { background: #1877F2; color: #fff; } .share-fb:hover { background: #1464D0; }
.share-wa { background: #25D366; color: #fff; } .share-wa:hover { background: #1BAC55; }
.share-copy { background: var(--gray-100); color: var(--dark); border: 1px solid var(--gray-200); } .share-copy:hover { background: var(--gray-200); }

/* Post Tags */
.post-tags { padding: 12px 0 32px; }
.post-tags a { margin: 0 4px 6px 0; display: inline-block; }

/* Related */
.related-section { padding: 48px 0 64px; background: var(--off-white); }

/* Search */
.search-form-big { display: flex; gap: 10px; margin-bottom: 36px; }
.search-input-big { flex: 1; padding: 12px 18px; border: 2px solid var(--gray-200); border-radius: 8px; font-size: 1rem; font-family: var(--sans); outline: none; transition: border-color .15s; }
.search-input-big:focus { border-color: var(--dark); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 48px; }
.page-btn { display: inline-flex; align-items: center; padding: 9px 18px; background: var(--brand); color: var(--white); border-radius: 8px; font-size: .875rem; font-weight: 600; transition: background .15s; }
.page-btn:hover { background: var(--brand-dk); }
.page-info { color: var(--gray-600); font-size: .875rem; }

/* Empty State */
.empty-state { padding: 60px 0; text-align: center; color: var(--gray-600); grid-column: 1/-1; }

/* 404 / Error */
.error-page { padding: 80px 24px; text-align: center; }
.error-code { font-size: 6rem; color: var(--brand); font-family: var(--serif); line-height: 1; margin-bottom: 16px; }
.error-page h2 { font-size: 1.75rem; margin-bottom: 12px; }
.error-page p { color: var(--gray-600); margin-bottom: 32px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
.site-footer { background: var(--chrome); color: var(--white); padding: 56px 0 0; margin-top: auto; border-top: 4px solid var(--chrome-dk); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand img { max-width: 150px; width: auto; height: auto; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .9rem; margin: 12px 0 18px; line-height: 1.7; }
.btn-footer { display: inline-block; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.9); padding: 9px 18px; border-radius: 8px; font-size: .875rem; transition: all .15s; }
.btn-footer:hover { background: rgba(255,255,255,.1); }
.footer-links h4 { color: rgba(255,255,255,.5); font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--sans); font-weight: 700; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .9rem; transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--white); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { height: 280px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--chrome-dk); padding: 12px 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 24px; border-radius: 0; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-search { display: none; }
  .post-meta { gap: 12px; }
}

/* === PORTAL v2: TEXTURE (dot-grid, reused on dark/colored surfaces) === */
.texture-dots { position: relative; }
.texture-dots::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: radial-gradient(circle, currentColor 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.texture-dots > * { position: relative; z-index: 1; }

/* === PORTAL v2: CINEMATIC HERO (home) === */
.hero-cinema { position: relative; height: min(76vh, 620px); min-height: 440px; overflow: hidden; background: var(--dark); }
.hero-cinema-image-link { position: absolute; inset: 0; display: block; }
.hero-cinema-image { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero-cinema-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,.15) 0%, rgba(10,8,6,.1) 30%, rgba(12,9,6,.78) 72%, rgba(10,8,6,.94) 100%),
              linear-gradient(90deg, rgba(10,8,6,.55) 0%, rgba(10,8,6,0) 55%);
}
.hero-cinema-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 46px; }
.hero-cinema-content .tag-pill { background: var(--brand); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.hero-cinema-title {
  font-family: var(--display); font-weight: 600; color: var(--white);
  font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.04; letter-spacing: -.02em;
  margin: 18px 0 16px; max-width: 17ch; text-wrap: balance;
}
.hero-cinema-title a:hover { color: var(--brand-lt); }
.hero-cinema-excerpt { color: rgba(255,255,255,.82); font-size: 1.0625rem; line-height: 1.65; max-width: 54ch; margin-bottom: 22px; }
.hero-cinema .meta-row { color: rgba(255,255,255,.68); margin-bottom: 0; }
.hero-cinema .meta-row svg { opacity: .8; }

/* also-new ribbon, fused directly under the cinema hero */
.hero-ribbon { background: var(--dark); border-top: 1px solid rgba(255,255,255,.08); }
.hero-ribbon-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.ribbon-item { display: flex; gap: 14px; align-items: center; padding: 18px 24px; border-left: 1px solid rgba(255,255,255,.08); transition: background .15s; }
.hero-ribbon-inner .ribbon-item:first-child { border-left: none; }
.ribbon-item:hover { background: rgba(255,255,255,.045); }
.ribbon-thumb { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.ribbon-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ribbon-item:hover .ribbon-thumb img { transform: scale(1.06); }
.ribbon-thumb-placeholder { width: 60px; height: 60px; border-radius: 10px; flex-shrink: 0; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); }
.ribbon-num { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.1rem; color: var(--brand); flex-shrink: 0; }
.ribbon-body { min-width: 0; }
.ribbon-cat { display: block; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 4px; }
.ribbon-title { font-family: var(--sans); font-size: .9375rem; font-weight: 700; line-height: 1.35; color: rgba(255,255,255,.94); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ribbon-title a:hover { color: var(--brand-lt); }

/* === PORTAL v2.1: MAIS ARTIGOS — cluster estilo G1/NYT (1 grande + rail de pequenas) === */
.mag-cluster { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; margin-bottom: 8px; }
.mag-cluster-main { }
.mag-cluster-main .card-image-link { aspect-ratio: 16/10; border-radius: 14px; }
.mag-cluster-main .card-image { border-radius: 14px; }
.mag-cluster-main-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; margin: 16px 0 10px; }
.mag-cluster-main-title a:hover { color: var(--brand); }
.mag-cluster-main-excerpt { color: var(--gray-600); font-size: 1rem; line-height: 1.6; margin-bottom: 14px; }
.mag-rail { display: flex; flex-direction: column; }
.mag-rail-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.mag-rail-item:first-child { padding-top: 0; }
.mag-rail-item:last-child { border-bottom: none; padding-bottom: 0; }
.mag-rail-thumb { width: 100px; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.mag-rail-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mag-rail-item:hover .mag-rail-thumb img { transform: scale(1.05); }
.mag-rail-thumb-placeholder { width: 100px; aspect-ratio: 4/3; border-radius: 10px; flex-shrink: 0; background: var(--gray-100); display: flex; align-items: center; justify-content: center; color: var(--gray-400); }
.mag-rail-body { min-width: 0; }
.mag-rail-cat { display: block; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); margin-bottom: 4px; }
.mag-rail-title { font-family: var(--sans); font-weight: 700; font-size: .9375rem; line-height: 1.35; color: var(--dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mag-rail-title a:hover { color: var(--brand); }

/* === PORTAL v2.1: COLUNAS POR CATEGORIA (portal, 2 colunas com thumbs) === */
.cat-cols-section { padding: 56px 0 8px; }
.cat-cols-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cat-col-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; padding-bottom: 14px; border-bottom: 2px solid var(--dark); }
.cat-col-head h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.cat-col-see-all { font-size: .75rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.cat-col-see-all:hover { color: var(--brand-dk); }
.cat-col .mag-rail-item:first-child { padding-top: 18px; }

/* === PORTAL v2: CATEGORY TILES (bold, replaces chip strip) === */
.cat-tiles-section { padding: 60px 0 8px; }
.cat-tiles-section .section-header h2 { font-family: var(--display); font-weight: 600; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.category-card { display: flex; align-items: center; gap: 14px; background: var(--off-white); border: 1.5px solid transparent; border-radius: 14px; padding: 20px; transition: all .2s; }
.category-card:hover { background: var(--white); border-color: var(--brand); box-shadow: 0 12px 28px rgba(0,0,0,.16); transform: translateY(-3px); }
.category-card .cat-icon-wrap { width: 46px; height: 46px; border-radius: 12px; background: var(--white); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: background .15s, color .15s; }
.category-card:hover .cat-icon-wrap { background: var(--brand); color: var(--white); }
.category-card .cat-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.category-card .cat-name { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.category-card .cat-count { font-size: .78125rem; color: var(--gray-600); font-weight: 500; }

/* === PORTAL v2: MAGAZINE FEATURE BANNER (top of "Mais Artigos") === */
.mag-feature { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow); margin-bottom: 32px; }
.mag-feature-image-link { display: block; overflow: hidden; min-height: 260px; }
.mag-feature-image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mag-feature:hover .mag-feature-image { transform: scale(1.03); }
.mag-feature-image-placeholder { background: var(--gray-100); display: flex; align-items: center; justify-content: center; min-height: 260px; color: var(--gray-400); }
.mag-feature-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.mag-feature-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.375rem, 2.3vw, 1.875rem); line-height: 1.2; margin: 14px 0 12px; }
.mag-feature-title a:hover { color: var(--brand); }
.mag-feature-excerpt { color: var(--gray-600); font-size: 1rem; line-height: 1.65; margin-bottom: 18px; }

/* === PORTAL v2: TRENDING BAND ("Mais Lidos" — ghost-numeral ranking) === */
.trending-band { background: var(--dark); padding: 76px 0; }
.trending-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.trending-eyebrow { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.0625rem; color: var(--brand); }
.trending-head h2 { font-family: var(--display); font-weight: 600; color: var(--white); font-size: clamp(1.5rem, 3vw, 2.125rem); }
.trending-list { display: flex; flex-direction: column; }
.trending-item { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.1); transition: padding-left .2s; }
.trending-item:first-child { padding-top: 0; }
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { padding-left: 10px; }
.trending-rank { font-family: var(--display); font-weight: 700; font-size: 2.75rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28); text-stroke: 1.5px rgba(255,255,255,.28); transition: -webkit-text-stroke-color .2s; }
.trending-item:hover .trending-rank { -webkit-text-stroke-color: var(--brand); }
.trending-info { min-width: 0; }
.trending-cat { display: block; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 6px; }
.trending-title { font-family: var(--sans); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; color: var(--white); }
.trending-title a:hover { color: var(--brand-lt); }
.trending-views { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.5); font-size: .8125rem; white-space: nowrap; }

/* === PORTAL v2: CTA BAND (loja) — textured === */
.cta-band { background: var(--chrome); background-image: linear-gradient(135deg, var(--chrome), var(--chrome-dk)); padding: 48px 0; color: var(--white); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band-text h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }
.cta-band-text p { color: rgba(255,255,255,.82); font-size: .9375rem; }
.cta-band .btn-primary { background: var(--white); color: var(--brand-dk); flex-shrink: 0; }
.cta-band .btn-primary:hover { background: var(--brand-lt); }

/* === PORTAL v2: PAGE HERO (categoria) — textured gradient band === */
.cat-page-hero { background: var(--chrome); background-image: linear-gradient(135deg, var(--chrome), var(--chrome-dk)); color: var(--white); padding: 52px 0 46px; }
.cat-page-hero .breadcrumbs a { color: rgba(255,255,255,.7); }
.cat-page-hero .breadcrumbs a:hover { color: var(--white); }
.cat-page-hero .bc-sep { color: rgba(255,255,255,.4); }
.cat-page-hero .breadcrumbs [aria-current="page"] { color: rgba(255,255,255,.85); }
.cat-hero-top { display: flex; align-items: center; gap: 18px; margin: 16px 0 10px; }
.cat-hero-icon { width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.16); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-hero-icon .cat-icon { width: 30px; height: 30px; }
.cat-page-hero .page-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.875rem, 4vw, 2.75rem); margin: 0; }
.cat-page-hero .tag-count { background: rgba(255,255,255,.18); color: var(--white); }

/* === PORTAL v2: POST CARD polish (views) === */
.post-card { position: relative; }
.card-meta-views { display: inline-flex; align-items: center; gap: 4px; }

/* === PORTAL v2: "OUTRAS CATEGORIAS" (rodapé de categoria) — reuses category-card tiles === */
.other-cats-section { padding: 56px 0 64px; background: var(--off-white); border-top: 1px solid var(--gray-200); }

/* === PORTAL v2: RESPONSIVE === */
@media (max-width: 900px) {
  .hero-cinema { height: min(66vh, 520px); }
  .hero-ribbon-inner { grid-template-columns: 1fr; }
  .ribbon-item { border-left: none !important; border-top: 1px solid rgba(255,255,255,.08); }
  .hero-ribbon-inner .ribbon-item:first-child { border-top: none; }
  .mag-feature { grid-template-columns: 1fr; }
  .mag-feature-image-link, .mag-feature-image-placeholder { min-height: 220px; }
  .mag-cluster { grid-template-columns: 1fr; gap: 28px; }
  .cat-cols-grid { grid-template-columns: 1fr; gap: 32px; }
  .trending-item { grid-template-columns: 56px 1fr; }
  .trending-views { grid-column: 2; }
  .trending-rank { font-size: 2rem; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .hero-cinema { height: min(56vh, 440px); min-height: 380px; }
  .hero-cinema-title { font-size: clamp(1.625rem, 7vw, 2.2rem); }
  .mag-feature-body { padding: 26px 22px; }
  .trending-band { padding: 52px 0; }
  .cat-hero-icon { width: 46px; height: 46px; }
  .cat-hero-icon .cat-icon { width: 24px; height: 24px; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
