/*
Theme Name:        Vue Blocks
Theme URI:         https://example.com/vue-blocks
Description:       Tema WordPress clássico construído em PHP seguindo a hierarquia de templates oficial, com Vue.js 3 cuidando de toda a interação de frontend (busca ao vivo, carregamento de posts, menu mobile e modo escuro) através da REST API do WordPress.
Version:           1.0.0
Author:            Nicolás Romero
Author URI:        https://example.com
Tags:              blog, custom-menu, featured-images, threaded-comments, translation-ready
Text Domain:       vue-blocks
Domain Path:       /languages
Tested up to:      6.7
Requires at least: 6.0
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================
   1. RESET & VARIÁVEIS
   ========================================================= */
:root {
	--vb-bg: #ffffff;
	--vb-bg-alt: #f5f6f8;
	--vb-text: #1c1d21;
	--vb-text-muted: #6b7280;
	--vb-primary: #4f46e5;
	--vb-primary-hover: #4338ca;
	--vb-border: #e5e7eb;
	--vb-radius: 10px;
	--vb-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
	--vb-max-width: 1180px;
	--vb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--vb-transition: 0.2s ease;

	/* Safe Mídia palette (canonical: see DESIGN.md + contracts/design-tokens.schema.md) */
	--navy:       #0B1E3D;
	--blue:       #1E50D4;
	--blue-hover: #1A46C0;
	--gold:       #F5C418;
	--gold-dark:  #DFB000;
	--forest:     #0D3B27;
	--forest-mid: #0F4C35;
	--sm-white:    #FFFFFF;
	--off-white:  #F4F6FB;
	--gray-100:   #EDF0F8;
	--gray-200:   #DDE2EF;
	--gray-text:  #5C6E8A;
	--dark:       #0F1C30;

	--font-serif: 'Merriweather', Georgia, serif;
	--font-sans:  'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--space-section: 36px;
	--space-row:     16px;

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;

	--shadow-card:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
	--shadow-navbar: 0 2px 16px rgba(11,30,61,.07);

	/* Segurado section tokens */
	--vb-segurado-bg: #ffffff;
	--vb-segurado-border: #e5e7eb;
	--vb-segurado-radius: 10px;
	--vb-segurado-spacing: 16px;
	--vb-segurado-label: #6b7280;
	--vb-segurado-value: #1c1d21;
	--vb-segurado-error: #dc2626;
	--vb-segurado-success: #16a34a;
}

[data-theme="dark"] {
	--vb-bg: #14151a;
	--vb-bg-alt: #1d1f26;
	--vb-text: #e9eaee;
	--vb-text-muted: #9aa0ab;
	--vb-primary: #818cf8;
	--vb-primary-hover: #a5b4fc;
	--vb-border: #2b2d36;
	--vb-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--vb-font);
	background: var(--vb-bg);
	color: var(--vb-text);
	line-height: 1.65;
	transition: background var(--vb-transition), color var(--vb-transition);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: var(--vb-radius);
}

a {
	color: var(--vb-primary);
	text-decoration: none;
}

a:hover {
	color: var(--vb-primary-hover);
}

/* Esconde o markup com sintaxe {{ }} até o Vue terminar de compilar/montar */
[v-cloak] {
	visibility: hidden;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* =========================================================
   2. LAYOUT
   ========================================================= */
.vb-container {
	max-width: var(--vb-max-width);
	margin: 0 auto;
	padding: 0 20px;
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1 0 auto;
	padding: 40px 0 60px;
}

.vb-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	/* Same container as the navbar/footer (.nav-inner): centered 1280px + gutters. */
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 28px;
}

@media (max-width: 1024px) {
	.vb-layout {
		grid-template-columns: minmax(0, 1fr) 260px;
		gap: 28px;
	}
}

@media (max-width: 860px) {
	.vb-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

@media (max-width: 768px) {
	.vb-layout {
		padding: 0 16px;
	}
}

/* =========================================================
   3. HEADER
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--vb-bg);
	border-bottom: 1px solid var(--vb-border);
	backdrop-filter: saturate(180%) blur(8px);
}

.site-header .vb-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.site-branding .site-title {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.site-branding .site-title a {
	color: var(--vb-text);
}

.site-branding .site-description {
	margin: 2px 0 0;
	font-size: 0.85rem;
	color: var(--vb-text-muted);
}

.main-navigation {
	display: flex;
	align-items: center;
	gap: 24px;
}

.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	color: var(--vb-text);
	font-weight: 600;
	font-size: 0.95rem;
}

.main-navigation a:hover {
	color: var(--vb-primary);
}

.menu-toggle {
	display: none;
}

.nav-wrapper {
	display: flex;
}

@media (max-width: 780px) {
	.menu-toggle {
		display: inline-flex;
	}

	.nav-wrapper {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--vb-bg);
		border-bottom: 1px solid var(--vb-border);
		max-height: 0;
		overflow: hidden;
		transition: max-height var(--vb-transition);
		display: block;
	}

	.nav-wrapper.is-open {
		max-height: 320px;
	}

	.nav-wrapper #primary-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 12px 20px 18px;
	}

	.main-navigation {
		position: relative;
		flex: 1;
		justify-content: flex-end;
	}
}

/* =========================================================
   4. VUE APP – utilitários genéricos usados pelos componentes
   ========================================================= */
.vb-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--vb-primary);
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background var(--vb-transition), transform var(--vb-transition);
}

.vb-btn:hover {
	background: var(--vb-primary-hover);
	color: #fff;
}

.vb-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.vb-btn--ghost {
	background: transparent;
	color: var(--vb-text);
	border: 1px solid var(--vb-border);
}

.vb-icon-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--vb-border);
	background: var(--vb-bg-alt);
	color: var(--vb-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.1rem;
	transition: transform var(--vb-transition);
}

.vb-icon-btn:hover {
	transform: scale(1.06);
}

.vb-search {
	position: relative;
	max-width: 420px;
	margin: 0 auto 32px;
}

.vb-search input {
	width: 100%;
	padding: 12px 16px 12px 42px;
	border-radius: 999px;
	border: 1px solid var(--vb-border);
	background: var(--vb-bg-alt);
	color: var(--vb-text);
	font-size: 0.95rem;
}

.vb-search input:focus {
	outline: 2px solid var(--vb-primary);
	outline-offset: 1px;
}

.vb-search .vb-search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--vb-text-muted);
}

.vb-search-results {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	background: var(--vb-bg);
	border: 1px solid var(--vb-border);
	border-radius: var(--vb-radius);
	box-shadow: var(--vb-shadow);
	max-height: 320px;
	overflow-y: auto;
	z-index: 40;
	text-align: left;
}

.vb-search-results a {
	display: block;
	padding: 10px 14px;
	color: var(--vb-text);
	font-size: 0.9rem;
	border-bottom: 1px solid var(--vb-border);
}

.vb-search-results a:last-child {
	border-bottom: none;
}

.vb-search-results a:hover {
	background: var(--vb-bg-alt);
}

.vb-search-empty,
.vb-search-loading {
	padding: 12px 14px;
	font-size: 0.85rem;
	color: var(--vb-text-muted);
}

/* Grid de posts renderizado pelo Vue */
.vb-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.vb-post-card {
	background: var(--vb-bg-alt);
	border: 1px solid var(--vb-border);
	border-radius: var(--vb-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--vb-transition), box-shadow var(--vb-transition);
}

.vb-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--vb-shadow);
}

.vb-post-card__thumb {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
	border-radius: 0;
	background: var(--vb-border);
}

.vb-post-card__body {
	padding: 16px 18px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.vb-post-card__meta {
	font-size: 0.75rem;
	color: var(--vb-text-muted);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.vb-post-card__title {
	font-size: 1.05rem;
	margin: 0 0 8px;
	line-height: 1.35;
}

.vb-post-card__title a {
	color: var(--vb-text);
}

.vb-post-card__excerpt {
	font-size: 0.88rem;
	color: var(--vb-text-muted);
	margin: 0 0 14px;
	flex: 1;
}

.vb-load-more {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

.vb-skeleton {
	background: linear-gradient(90deg, var(--vb-border) 25%, var(--vb-bg-alt) 37%, var(--vb-border) 63%);
	background-size: 400% 100%;
	animation: vb-shimmer 1.4s ease infinite;
	border-radius: var(--vb-radius);
	height: 220px;
}

@keyframes vb-shimmer {
	0% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0 50%;
	}
}

/* =========================================================
   5. CONTEÚDO / ARTIGO
   ========================================================= */
.entry-header {
	margin-bottom: 24px;
}

.entry-title {
	font-size: 2rem;
	line-height: 1.2;
	margin: 0 0 10px;
}

.entry-meta {
	color: var(--vb-text-muted);
	font-size: 0.85rem;
}

.entry-content h2 {
	margin-top: 2em;
}

.entry-content blockquote {
	margin: 0;
	padding: 12px 20px;
	border-left: 4px solid var(--vb-primary);
	background: var(--vb-bg-alt);
	border-radius: 0 var(--vb-radius) var(--vb-radius) 0;
}

.entry-content pre {
	background: var(--vb-bg-alt);
	padding: 16px;
	border-radius: var(--vb-radius);
	overflow-x: auto;
}

.entry-footer {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--vb-border);
	font-size: 0.85rem;
	color: var(--vb-text-muted);
}

/* =========================================================
   6. SIDEBAR / WIDGETS
   ========================================================= */
.widget {
	background: var(--vb-bg-alt);
	border: 1px solid var(--vb-border);
	border-radius: var(--vb-radius);
	padding: 20px;
	margin-bottom: 24px;
}

.widget-title {
	margin: 0 0 14px;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	padding: 6px 0;
	border-bottom: 1px solid var(--vb-border);
}

.widget li:last-child {
	border-bottom: none;
}

/* =========================================================
   7. FOOTER
   ========================================================= */
.site-footer {
	border-top: 1px solid var(--vb-border);
	background: var(--vb-bg-alt);
	padding: 30px 0;
	font-size: 0.85rem;
	color: var(--vb-text-muted);
}

.site-footer .vb-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

/* =========================================================
   8. HERO (front-page)
   ========================================================= */
.vb-hero {
	text-align: center;
	padding: 60px 0 40px;
}

.vb-hero h1 {
	font-size: 2.4rem;
	margin: 0 0 12px;
	letter-spacing: -0.02em;
}

.vb-hero p {
	color: var(--vb-text-muted);
	max-width: 560px;
	margin: 0 auto 28px;
}

/* Comments */
.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .comment-body {
	background: var(--vb-bg-alt);
	border: 1px solid var(--vb-border);
	border-radius: var(--vb-radius);
	padding: 16px 18px;
	margin-bottom: 16px;
}

.comment-list .children {
	list-style: none;
	margin-left: 24px;
	padding: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid var(--vb-border);
	background: var(--vb-bg);
	color: var(--vb-text);
	margin-bottom: 14px;
	font-family: inherit;
}


/* =========================================================
   SAFE MIDIA HOME PAGE — Safe Mídia design system (v1 deliverable).
   See ../DESIGN.md and contracts/design-tokens.schema.md.
   The four core sections (navbar, hero, news-card, site-footer)
   share the Safe Mídia tokens declared above.
   ========================================================= */

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy:       #0B1E3D;
    --blue:       #1E50D4;
    --blue-hover: #1A46C0;
    --gold:       #F5C418;
    --gold-dark:  #DFB000;
    --forest:     #0D3B27;
    --forest-mid: #0F4C35;
    --white:      #FFFFFF;
    --off-white:  #F4F6FB;
    --gray-100:   #EDF0F8;
    --gray-200:   #DDE2EF;
    --gray-text:  #5C6E8A;
    --dark:       #0F1C30;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--dark);
    font-size: 15px;
    line-height: 1.6;
  }

  img { display: block; width: 100%; object-fit: cover; }
  a { text-decoration: none; color: inherit; }

  /* ─── NAVBAR ──────────────────────────────────── */
  .navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 16px rgba(11,30,61,0.07);
  }

  .nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    height: 66px;
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    text-decoration: none;
  }

  .logo-shield {
    width: 34px;
    height: 34px;
    background: var(--blue);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-text {
    font-family: 'Merriweather', serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.4px;
  }

  .logo-text span { color: var(--blue); }

  .nav-sep {
    width: 1px;
    height: 26px;
    background: var(--gray-200);
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
  }

  .nav-links a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gray-text);
    padding: 7px 13px;
    border-radius: 7px;
    white-space: nowrap;
    transition: color .18s, background .18s;
  }

  .nav-links a:hover { color: var(--blue); background: rgba(30,80,212,.07); }
  .nav-links a.active { color: var(--blue); font-weight: 600; background: rgba(30,80,212,.08); }

  .nav-socials {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .soc {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    transition: border-color .18s, color .18s;
  }

  .soc:hover { border-color: var(--blue); color: var(--blue); }

  .btn-sub {
    background: var(--gold);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 20px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background .18s, transform .15s;
  }

  .btn-sub:hover { background: var(--gold-dark); transform: translateY(-1px); }

  /* ─── HERO ────────────────────────────────────── */
  .hero {
    max-width: 1280px;
    margin: 36px auto 0;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: stretch;
  }

  .hero-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
  }

  .hero-main img {
    height: 500px;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
  }

  .hero-main:hover img { transform: scale(1.035); }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
      rgba(7,15,32,.93) 35%,
      rgba(7,15,32,.25) 70%,
      transparent 100%);
    pointer-events: none;
  }

  .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 32px;
  }

  .hero-meta-bar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 5px;
    margin-bottom: 14px;
  }

  .hero-meta-bar .hero-cat {
    color: var(--blue);
    font-weight: 700;
  }

  .hero-title-wrap { display: block; }

  .hero-title {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.52;
    letter-spacing: -.3px;
    display: inline;
    background: var(--blue);
    padding: 3px 10px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  /* Sidebar */
  .hero > aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .spost {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: opacity .18s;
  }

  .spost:first-child { padding-top: 0; }
  .spost:last-child { border-bottom: none; padding-bottom: 0; }
  .spost:hover { opacity: .78; }
  .spost:hover .spost-title { color: var(--blue); }

  .spost-thumb {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2.5px solid var(--gray-100);
  }

  .spost-thumb img { width: 100%; height: 100%; object-fit: cover; }

  .spost-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 5px;
  }

  .spost-title {
    font-family: 'Merriweather', serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--dark);
    transition: color .18s;
  }

  /* ─── AD BANNER ───────────────────────────────── */
  .ad-wrap {
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 0 28px;
  }

  .ad-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-text);
    margin-bottom: 7px;
    opacity: .7;
  }

  .ad-h {
    width: 100%;
    height: 90px;
    background: var(--gray-100);
    border-radius: 10px;
    border: 1.5px dashed var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray-text);
    font-size: 13px;
    font-weight: 500;
  }

  .ad-v {
    width: 100%;
    flex: 1;
    background: var(--gray-100);
    border-radius: 10px;
    border: 1.5px dashed var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-text);
    font-size: 13px;
    font-weight: 500;
  }

  .ad-v span:last-child { font-size: 11px; opacity: .6; }

  /* ─── SECTION HEADER ──────────────────────────── */
  .sec-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
  }

  .sec-title {
    font-family: 'Merriweather', serif;
    font-size: 23px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
  }

  .sec-line {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
  }

  /* ─── NEWS GRID ───────────────────────────────── */
  .news-section {
    max-width: 1280px;
    margin: 36px auto 0;
    padding: 0 28px;
  }

  .news-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
  }

  .news-pub-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-text);
    opacity: .7;
    width: 260px;
    flex-shrink: 0;
    text-align: center;
    margin-left: 16px;
  }

  .news-col {
    display: flex;
    flex-direction: column;
  }

  .news-see-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
  }

  .news-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 30px;
    align-items: stretch;
  }

  .news-layout > aside {
    display: flex;
    flex-direction: column;
  }

  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .ncard {
    cursor: pointer;
  }

  .ncard-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 13px;
  }

  .ncard-img img {
    height: 195px;
    object-fit: cover;
    transition: transform .4s ease;
  }

  .ncard:hover .ncard-img img { transform: scale(1.05); }

  .ncard-cat {
    position: absolute;
    top: 11px;
    left: 11px;
    background: var(--blue);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .9px;
    padding: 3px 9px;
    border-radius: 4px;
  }

  .ncard-title {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--dark);
    transition: color .18s;
  }

  .ncard:hover .ncard-title { color: var(--blue); }

  /* ─── PARA O SEGURADO ─────────────────────────── */
  .segurado-section {
    margin: 72px 0 0;
    padding: 0 28px;
  }

  .segurado-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  .segurado-block {
    background: var(--white);
    border-top: 4px solid var(--blue);
    border-bottom: 4px solid var(--blue);
    border-radius: 20px;
    padding: 32px 36px 36px;
  }

  .segurado-hd {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
  }

  .segurado-title {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
  }

  .segurado-sub {
    font-size: 13px;
    color: var(--gray-text);
    flex: 1 1 auto;
    min-width: 0;
  }

  .segurado-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .segurado-btn-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    transition: background .2s, color .2s;
  }

  .segurado-btn-all:hover {
    background: var(--blue);
    color: var(--white);
  }

  /* card: image fills full height, text overlaid */
  .scard {
    border-radius: 13px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform .22s;
  }

  .scard:hover { transform: translateY(-5px); }

  .scard-wrap {
    position: relative;
    height: 410px;
  }

  .scard-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
  }

  .scard:hover .scard-wrap img { transform: scale(1.06); }

  .scard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
      rgba(5,12,30,.88) 40%,
      rgba(5,12,30,.2) 75%,
      transparent 100%);
  }

  .scard-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 15px;
  }

  .scard-meta {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: rgba(255,255,255,.62);
    margin-bottom: 6px;
  }

  .scard-title {
    font-family: 'Merriweather', serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.42;
    color: var(--white);
  }

  /* ─── NEWSLETTER ──────────────────────────────── */
  .nl-section {
    max-width: 1280px;
    margin: 44px auto 64px;
    padding: 0 28px;
  }

  .nl-block {
    background: var(--navy);
    border-radius: 20px;
    padding: 52px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .nl-block::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(30,80,212,.14);
    right: -60px;
    top: -110px;
    pointer-events: none;
  }

  .nl-block::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(30,80,212,.09);
    right: 120px;
    bottom: -70px;
    pointer-events: none;
  }

  .nl-left { position: relative; z-index: 1; }

  .nl-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 15px;
  }

  .nl-headline {
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -.4px;
    margin-bottom: 14px;
  }

  .nl-desc {
    color: rgba(255,255,255,.5);
    font-size: 14.5px;
    line-height: 1.65;
  }

  .nl-right {
    position: relative;
    z-index: 1;
  }

  .nl-perks {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 26px;
  }

  .perk {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255,255,255,.78);
    font-size: 14px;
  }

  .perk-dot {
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
    font-size: 10px;
    font-weight: 800;
  }

  .nl-form {
    display: flex;
    background: rgba(255,255,255,.1);
    border-radius: 100px;
    padding: 5px 5px 5px 20px;
    border: 1px solid rgba(255,255,255,.14);
    gap: 4px;
  }

  .nl-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    min-width: 0;
  }

  .nl-input::placeholder { color: rgba(255,255,255,.38); }

  .nl-btn {
    background: var(--gold);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    border: none;
    border-radius: 100px;
    padding: 11px 22px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s;
    flex-shrink: 0;
  }

  .nl-btn:hover { background: var(--gold-dark); }

  .nl-note {
    font-size: 11.5px;
    color: rgba(255,255,255,.3);
    margin-top: 11px;
    padding-left: 2px;
  }

  /* ─── VER MAIS ───────────────────────────────── */
  .see-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .btn-see-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s, color .2s;
  }

  .btn-see-more:hover { background: var(--blue); color: var(--white); }

  /* ─── NEWSLETTER COMPACTA ─────────────────────── */
  .nl-compact-section {
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 0 28px;
  }

  .nl-compact-block {
    background: var(--navy);
    border-radius: 14px;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .nl-compact-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
  }

  .nl-compact-icon {
    width: 42px;
    height: 42px;
    background: rgba(245,196,24,.14);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
  }

  .nl-compact-title {
    font-family: 'Merriweather', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
  }

  .nl-compact-sub {
    font-size: 13px;
    color: rgba(255,255,255,.48);
  }

  .nl-compact-form {
    display: flex;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 100px;
    padding: 5px 5px 5px 20px;
    min-width: 360px;
  }

  .nl-compact-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
  }

  .nl-compact-input::placeholder { color: rgba(255,255,255,.35); }

  .nl-compact-btn {
    background: var(--gold);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 100px;
    padding: 10px 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s;
  }

  .nl-compact-btn:hover { background: var(--gold-dark); }

  /* ─── ANÁLISE DE MERCADO ──────────────────────── */
  .analise-section {
    max-width: 1280px;
    margin: 44px auto 56px;
    padding: 0 28px;
  }

  .analise-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 30px;
    align-items: start;
  }

  .analise-main {
    position: relative;
    border-radius: 13px;
    overflow: hidden;
    cursor: pointer;
  }

  .analise-main img {
    height: 430px;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
  }

  .analise-main:hover img { transform: scale(1.03); }

  .analise-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,12,30,.92) 40%, rgba(5,12,30,.15) 100%);
  }

  .analise-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 26px;
  }

  .analise-main-meta {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: rgba(255,255,255,.58);
    margin-bottom: 10px;
  }

  .analise-main-title {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
  }

  .analise-list {
    display: flex;
    flex-direction: column;
  }

  .aitem {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid var(--gray-200);
    cursor: pointer;
    text-decoration: none;
    transition: opacity .18s;
  }

  .aitem:first-child { padding-top: 0; }
  .aitem:last-child { border-bottom: none; }
  .aitem:hover { opacity: .72; }
  .aitem:hover .aitem-title { color: var(--blue); }

  .aitem-img {
    width: 88px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .aitem-img img { width: 100%; height: 100%; object-fit: cover; }

  .aitem-meta {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--blue);
    margin-bottom: 6px;
  }

  .aitem-title {
    font-family: 'Merriweather', serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    transition: color .18s;
  }

  /* ─── NOTÍCIAS POR CATEGORIA (ABAS) ─────────── */
  .tabs-section {
    max-width: 1280px;
    margin: 56px auto 0;
    padding: 0 28px;
  }

  .tabs-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .tab-btn {
    padding: 9px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-text);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: color .18s, border-color .18s;
  }

  .tab-btn:hover { color: var(--blue); }

  .tab-btn.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
  }

  .tabs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .tab-card {
    border-radius: 10px;
    overflow: hidden;
    border: 0.5px solid var(--gray-200);
    text-decoration: none;
    display: block;
    transition: box-shadow .2s;
  }

  .tab-card:hover { box-shadow: 0 4px 18px rgba(11,30,61,.08); }
  .tab-card:hover .tab-card-title { color: var(--blue); }

  .tab-card-img {
    height: 150px;
    object-fit: cover;
    display: block;
    width: 100%;
    transition: transform .4s ease;
  }

  .tab-card:hover .tab-card-img { transform: scale(1.04); }

  .tab-card-img-wrap {
    overflow: hidden;
    height: 150px;
  }

  .tab-card-body { padding: 14px; }

  .tab-card-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--blue);
    margin-bottom: 6px;
  }

  .tab-card-title {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.42;
    margin-bottom: 8px;
    transition: color .18s;
  }

  .tab-card-time {
    font-size: 11px;
    color: var(--gray-text);
  }

  /* ─── ANALISE SECTION ─────────────────────────── */
  .analise-strip {
    background: #F4F6FB;
    border-radius: 12px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: row;
  }

  .astrip-item {
    padding: 0 24px;
    border-right: 1px solid #DDE2EF;
    text-decoration: none;
    display: block;
    transition: opacity .18s;
  }

  .astrip-item:nth-child(1) { padding-left: 0; }
  .astrip-item:nth-child(4) { border-right: none; padding-right: 0; }
  .astrip-item:nth-child(10) { border-right: none; padding-right: 0; }
  .astrip-item:hover { opacity: .72; }
  .astrip-item:hover .astrip-title { color: var(--blue); }

  .astrip-sep {
    border-top: 1px solid #DDE2EF;
    padding-top: 20px;
    margin-top: 20px;
  }

  .astrip-ad {
    grid-column: 4;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    border-right: none;
    padding-right: 0;
    border-top: 1px solid #DDE2EF;
    padding-top: 20px;
    margin-top: 20px;
    cursor: default;
  }

  .astrip-ad:hover { opacity: 1; }

  .astrip-ad-box {
    flex: 1;
    background: var(--gray-100);
    border: 1.5px dashed var(--gray-200);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--gray-text);
    font-size: 12px;
    font-weight: 500;
  }

  .astrip-ad-size {
    font-size: 11px;
    opacity: .6;
    font-weight: 400;
  }

  .astrip-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--blue);
    margin-bottom: 8px;
  }

  .astrip-title {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.45;
    margin-bottom: 10px;
    transition: color .18s;
  }

  .astrip-time {
    font-size: 11.5px;
    color: var(--gray-text);
  }

  /* ─── MAIS LIDAS ─────────────────────────────── */
  .maislist-section {
    max-width: 1280px;
    margin: 56px auto 0;
    padding: 0 28px;
  }

  .mais-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .mais-col { display: flex; flex-direction: column; }

  .mais-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    text-decoration: none;
    transition: opacity .18s;
  }

  .mais-item:first-child { padding-top: 0; }
  .mais-item:last-child { border-bottom: none; }
  .mais-item:hover { opacity: .72; }
  .mais-item:hover .mais-title { color: var(--blue); }

  .mais-num {
    font-size: 30px;
    font-weight: 700;
    color: var(--gray-200);
    min-width: 38px;
    line-height: 1;
    flex-shrink: 0;
  }

  .mais-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--blue);
    margin-bottom: 5px;
  }

  .mais-title {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.42;
    transition: color .18s;
  }

  .mais-thumb {
    width: 68px;
    height: 54px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: auto;
  }

  .mais-thumb img { width: 100%; height: 100%; object-fit: cover; }

  /* ─── BOLETIM REGULATÓRIO ────────────────────── */
  .boletim-section {
    max-width: 1280px;
    margin: 56px auto 0;
    padding: 0 28px;
  }

  .boletim-block {
    border: 0.5px solid var(--gray-200);
    border-left: 4px solid var(--blue);
    border-radius: 0 12px 12px 0;
    overflow: hidden;
  }

  .boletim-header {
    background: #EEF3FF;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .boletim-header-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .9px;
  }

  .boletim-header-period {
    font-size: 11.5px;
    color: var(--gray-text);
  }

  .boletim-item {
    display: flex;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 0.5px solid var(--gray-100);
    align-items: flex-start;
    text-decoration: none;
    transition: background .18s;
  }

  .boletim-item:last-child { border-bottom: none; }
  .boletim-item:hover { background: #F9FAFE; }

  .boletim-tipo {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 3px 9px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 3px;
  }

  .boletim-tipo.circular  { background: #E8F5EE; color: #0F6E56; }
  .boletim-tipo.resolucao { background: #EEF3FF; color: #1E50D4; }
  .boletim-tipo.consulta  { background: #FAEEDA; color: #854F0B; }
  .boletim-tipo.portaria  { background: #FBEAF0; color: #993556; }

  .boletim-text {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.45;
    margin-bottom: 4px;
  }

  .boletim-num { font-size: 11px; color: var(--gray-text); }

  /* ─── COLUNISTAS ─────────────────────────────── */
  .colunistas-section {
    max-width: 1280px;
    margin: 56px auto 0;
    padding: 0 28px;
  }

  .col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .col-card {
    border: 0.5px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow .22s;
    display: flex;
    flex-direction: column;
  }

  .col-card:hover { box-shadow: 0 6px 24px rgba(11,30,61,0.09); }
  .col-card:hover .col-article-title { color: var(--blue); }

  .col-card-top {
    padding: 20px 20px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-bottom: 0.5px solid var(--gray-100);
  }

  .col-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--gray-100);
  }

  .col-avatar img { width: 100%; height: 100%; object-fit: cover; }

  .col-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
  }

  .col-role {
    font-size: 11.5px;
    color: var(--gray-text);
    line-height: 1.4;
  }

  .col-card-body { padding: 16px 20px 20px; flex: 1; display: flex; flex-direction: column; }

  .col-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--blue);
    margin-bottom: 8px;
  }

  .col-article-title {
    font-family: 'Merriweather', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.45;
    margin-bottom: 16px;
    flex: 1;
    transition: color .18s;
  }

  .col-read {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--blue);
  }

  /* ─── FOOTER ──────────────────────────────────── */
  .site-footer {
    background: var(--navy);
    margin-top: 60px;
  }

  /* ─── SEGURADO SECTION ────────────────────────── */
  .vb-segurado-section {
    background: var(--vb-segurado-bg);
    border: 1px solid var(--vb-segurado-border);
    border-radius: var(--vb-segurado-radius);
    padding: 24px;
    margin: 24px 0;
  }

  .vb-segurado-title {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 16px;
  }

  .vb-segurado-list {
    margin: 0;
    padding: 0;
  }

  .vb-segurado-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .vb-segurado-item:last-child {
    border-bottom: none;
  }

  .vb-segurado-term {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--vb-segurado-label);
    min-width: 140px;
    flex-shrink: 0;
  }

  .vb-segurado-definition {
    margin: 0;
    font-size: 14px;
    color: var(--vb-segurado-value);
  }

  .vb-segurado-definition[contenteditable="true"] {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    padding: 2px 4px;
    border-radius: 4px;
  }

  .vb-segurado-definition.vb-segurado-editing {
    background: var(--gray-100);
  }

  .vb-segurado-success {
    color: var(--vb-segurado-success);
    font-size: 12px;
    margin-left: 8px;
  }

  .vb-segurado-error {
    color: var(--vb-segurado-error);
    font-size: 12px;
    margin-left: 8px;
  }

  .vb-segurado-form {
    margin-top: 16px;
  }

  .vb-segurado-form .vb-segurado-field {
    margin-bottom: 12px;
  }

  .vb-segurado-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--vb-segurado-label);
    margin-bottom: 4px;
  }

  .vb-segurado-form input,
  .vb-segurado-form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--vb-segurado-border);
    border-radius: var(--vb-segurado-radius);
    background: var(--vb-segurado-bg);
    color: var(--vb-segurado-value);
    font-size: 14px;
  }

  .vb-segurado-form input:focus,
  .vb-segurado-form select:focus {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
  }

  .vb-segurado-form .vb-segurado-field-error {
    color: var(--vb-segurado-error);
    font-size: 12px;
    margin-top: 4px;
  }

  .vb-segurado-form .vb-segurado-form-success {
    color: var(--vb-segurado-success);
    font-size: 14px;
    margin-top: 8px;
  }

  .vb-segurado-form .vb-segurado-form-error {
    color: var(--vb-segurado-error);
    font-size: 14px;
    margin-top: 8px;
  }

  .vb-segurado-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    cursor: pointer;
    margin-top: 12px;
    transition: background .2s, color .2s;
  }

  .vb-segurado-edit-btn:hover {
    background: var(--blue);
    color: var(--white);
  }

  .vb-segurado-edit-btn:focus {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

  /* RTL support for segurado section */
  [dir="rtl"] .vb-segurado-term {
    margin-left: 0;
    margin-right: 0;
  }

  [dir="rtl"] .vb-segurado-item {
    flex-direction: row-reverse;
  }

  [dir="rtl"] .vb-segurado-term {
    text-align: right;
  }

  /* Keyboard navigation focus states */
  .vb-segurado-form input:focus-visible,
  .vb-segurado-form select:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

  .vb-segurado-definition:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

  .footer-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 28px 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr;
    gap: 48px;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    margin-bottom: 16px;
  }

  .footer-logo .logo-shield {
    background: var(--blue);
  }

  .footer-logo-text {
    font-family: 'Merriweather', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.3px;
  }

  .footer-logo-text span { color: var(--gold); }

  .footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .footer-socials {
    display: flex;
    gap: 10px;
  }

  .footer-soc {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: border-color .18s, color .18s;
  }

  .footer-soc:hover {
    border-color: rgba(255,255,255,.5);
    color: var(--white);
  }

  .footer-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,.35);
    margin-bottom: 18px;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    font-size: 13.5px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .18s;
  }

  .footer-links a:hover { color: var(--white); }

  .footer-nl-sub {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .footer-nl-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer-nl-input {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color .18s;
  }

  .footer-nl-input::placeholder { color: rgba(255,255,255,.3); }
  .footer-nl-input:focus { border-color: rgba(255,255,255,.35); }

  .footer-nl-btn {
    background: var(--gold);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: background .18s;
  }

  .footer-nl-btn:hover { background: var(--gold-dark); }

  .footer-contact-block {
    margin-bottom: 20px;
  }

  .footer-contact-label {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    margin-bottom: 5px;
    font-weight: 500;
  }

  .footer-contact-email {
    font-size: 13.5px;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .18s;
    word-break: break-all;
  }

  .footer-contact-email:hover { color: var(--white); }

  .footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 28px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: rgba(255,255,255,.3);
  }

  /* ─── SEGURADO FOOTER ─────────────────────────── */
  .segurado-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
  }

  /* ─── HAMBURGER ──────────────────────────────── */
  .nav-hamburger {
    display: none;
    background: none;
    border: 1.5px solid var(--gray-200);
    cursor: pointer;
    color: var(--navy);
    padding: 7px 9px;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .18s, border-color .18s;
  }

  .nav-hamburger:hover { background: var(--gray-100); }

  /* ─── MOBILE MENU DRAWER ─────────────────────── */
  .mobile-menu {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 32px rgba(11,30,61,.12);
    z-index: 199;
    padding: 8px 16px 16px;
    flex-direction: column;
    gap: 2px;
    display: none;
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-text);
    padding: 11px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: color .18s, background .18s;
  }

  .mobile-menu a:hover,
  .mobile-menu a.active { color: var(--blue); background: rgba(30,80,212,.06); font-weight: 600; }

  /* ─── AD SIZE TEXT ───────────────────────────── */
  .ad-text-mobile { display: none; }

  /* ══════════════════════════════════════════════
     RESPONSIVE
  ══════════════════════════════════════════════ */

  /* ─── TABLET (≤1024px) ─────────────────────── */
  @media (max-width: 1024px) {

    .nav-links { display: none; }
    .nav-sep:last-of-type { display: none; }

    .hero { grid-template-columns: 1fr; gap: 0; }
    .hero-main img { height: 420px; }
    .hero > aside {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 0;
      margin-top: 4px;
    }
    .spost {
      width: 50%;
      padding: 14px 12px 14px 0;
      border-bottom: 1px solid var(--gray-100);
    }
    .spost:nth-child(odd) { border-right: 1px solid var(--gray-100); padding-right: 16px; }
    .spost:nth-child(even) { padding-left: 16px; }
    .spost:last-child,
    .spost:nth-last-child(2):nth-child(odd) { border-bottom: none; }

    .news-layout { grid-template-columns: 1fr; }
    .news-layout > aside { display: none; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }

    .segurado-grid { grid-template-columns: repeat(2, 1fr); }

    .nl-compact-block { gap: 18px; }
    .nl-compact-form { min-width: 280px; }

    .analise-layout { grid-template-columns: 1fr; }
    .analise-main img { height: 340px; }
  }

  /* ─── MOBILE (≤768px) ──────────────────────── */
  @media (max-width: 768px) {

    /* Navbar */
    .nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 58px; position: relative; gap: 0; }
    .nav-sep { display: none; }
    .nav-links { display: none; }
    .nav-socials { display: none; }
    .nav-logo { position: absolute; left: 50%; transform: translateX(-50%); background: var(--white); padding: 0 4px; z-index: 1; }
    .logo-text { font-size: 15px; }
    .nav-hamburger { display: flex; }
    .btn-sub { font-size: 10.5px; padding: 7px 10px; gap: 0; white-space: nowrap; }
    .btn-sub svg { display: none; }

    /* Hero */
    .hero { padding: 0 16px; margin-top: 20px; }
    .hero-main img { height: 375px; }
    .hero-content { padding: 20px; }
    .hero-title { font-size: 20px; line-height: 1.5; }
    .hero-meta-bar { font-size: 11px; padding: 4px 10px; margin-bottom: 10px; }
    .hero > aside { flex-direction: column; margin-top: 0; }
    .spost { width: 100%; border-right: none !important; padding: 13px 0 !important; }
    .spost:last-child { border-bottom: none; }
    .spost-thumb { width: 58px; height: 58px; }
    .spost-title { font-size: 13.5px; }

    /* Ad banner */
    .ad-wrap { padding: 0 16px; margin-top: 20px; }
    .ad-h { min-height: 200px; font-size: 11px; }

    /* News section */
    .news-section { padding: 0 16px; margin-top: 28px; }
    .sec-title { font-size: 19px; }
    .btn-see-more { font-size: 11.5px; padding: 6px 13px; }
    .news-layout { grid-template-columns: 1fr; }
    .news-layout > aside { display: none; }
    .news-grid { grid-template-columns: 1fr; gap: 20px; }
    .ncard-img img { height: 210px; }
    .news-pub-label { display: none; }

    /* Newsletter compacta */
    .nl-compact-section { padding: 0 16px; margin-top: 24px; }
    .nl-compact-block { flex-direction: column; align-items: flex-start; padding: 18px 20px; gap: 14px; }
    .nl-compact-form { min-width: unset; width: 100%; }
    .nl-compact-title { font-size: 14px; }

    /* Para o Segurado */
    .segurado-section { padding: 0 16px; margin-top: 28px; }
    .segurado-block { padding: 24px 20px 28px; border-radius: 14px; }
    .segurado-hd { flex-direction: column; align-items: flex-start; gap: 6px; }
    .segurado-hd .sec-line { display: none; }
    .segurado-title { font-size: 19px; }
    .segurado-sub { font-size: 12.5px; white-space: normal; }
    .segurado-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .scard-wrap { height: 240px; }
    .scard-title { font-size: 13px; }
    .segurado-btn-all { font-size: 13px; padding: 10px 20px; }
    .segurado-footer { justify-content: center; }

    /* Ad size text: swap para mobile */
    .ad-text-desktop { display: none; }
    .ad-text-mobile { display: inline; }

    /* Por Categoria (Tabs) */
    .tabs-section { padding: 0 16px; margin-top: 28px; }
    .tabs-nav { gap: 2px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .tabs-nav::-webkit-scrollbar { display: none; }
    .tab-btn { padding: 7px 12px; font-size: 12px; flex-shrink: 0; }
    .tabs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .tab-card-img-wrap { height: 120px; }
    .tab-card-img { height: 120px; }
    .tab-card-body { padding: 11px 12px 13px; }
    .tab-card-title { font-size: 13px; }

    /* Outras Notícias (analise-strip) */
    .analise-section { padding: 0 16px; margin-top: 28px; margin-bottom: 36px; }
    .analise-strip {
      grid-template-columns: 1fr;
      padding: 16px 18px;
      gap: 0;
    }
    .astrip-item {
      padding: 14px 0 !important;
      border-right: none !important;
      border-bottom: 1px solid #DDE2EF;
    }
    .astrip-item:last-child { border-bottom: none; }
    .astrip-item.astrip-sep {
      border-top: none;
      margin-top: 0;
      padding-top: 14px !important;
    }
    .astrip-ad {
      grid-column: auto;
      grid-row: auto;
      border-top: none;
      margin-top: 0;
      padding-top: 14px !important;
      min-height: 200px;
    }
    .astrip-ad-box { min-height: 200px; }

    /* Análise de Mercado principal (layout com imagem grande) */
    .analise-layout { grid-template-columns: 1fr; gap: 0; }
    .analise-main img { height: 240px; }
    .analise-main-title { font-size: 17px; }
    .analise-main { border-radius: 10px; }
    .aitem { padding: 14px 0; gap: 12px; }
    .aitem-img { width: 72px; height: 58px; border-radius: 6px; }
    .aitem-title { font-size: 13.5px; }

    /* Mais Lidas da Semana */
    .maislist-section { padding: 0 16px; margin-top: 28px; }
    .mais-layout { grid-template-columns: 1fr; gap: 0; }
    .mais-num { font-size: 24px; min-width: 30px; }
    .mais-thumb { width: 58px; height: 46px; }
    .mais-title { font-size: 13px; }
    .mais-cat { font-size: 9.5px; }

    /* Boletim Regulatório */
    .boletim-section { padding: 0 16px; margin-top: 28px; }
    .boletim-header { flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 16px; }
    .boletim-header-title { font-size: 11px; }
    .boletim-header-period { font-size: 11px; }
    .boletim-item { padding: 12px 14px; gap: 10px; }
    .boletim-text { font-size: 12.5px; }
    .boletim-num { font-size: 10.5px; }

    /* Newsletter grande */
    .nl-section { padding: 0 16px; margin-top: 28px; margin-bottom: 36px; }
    .nl-block { grid-template-columns: 1fr; padding: 30px 22px; gap: 24px; }
    .nl-headline { font-size: 26px; }
    .nl-desc { font-size: 13.5px; }
    .nl-form { flex-direction: column; border-radius: 12px; padding: 12px; gap: 8px; }
    .nl-input { padding: 4px 0; font-size: 14px; }
    .nl-btn { border-radius: 8px; padding: 12px; text-align: center; }

    /* Colunistas & Opinião */
    .colunistas-section { padding: 0 16px; margin-top: 28px; }
    .col-grid { grid-template-columns: 1fr; gap: 16px; }
    .col-card-top { padding: 16px 16px 12px; }
    .col-card-body { padding: 12px 16px 16px; }
    .col-article-title { font-size: 14px; }

    /* Footer */
    .site-footer { margin-top: 40px; }
    .footer-main {
      grid-template-columns: 1fr;
      padding: 36px 16px 28px;
      gap: 32px;
    }
    .footer-bottom {
      flex-direction: column;
      text-align: center;
      padding: 16px;
      gap: 8px;
      font-size: 11px;
    }
    .footer-nl-form { flex-direction: column; }
    .footer-nl-btn { width: 100%; padding: 11px; }
  }

  /* ─── SMALL MOBILE (≤420px) ────────────────── */
  @media (max-width: 420px) {
    .hero-main img { height: 315px; }
    .hero-title { font-size: 18px; }
    .segurado-grid { grid-template-columns: 1fr; }
    .scard-wrap { height: 200px; }
    .news-grid { grid-template-columns: 1fr; }
    .tabs-grid { grid-template-columns: 1fr; }
    .nl-compact-input { font-size: 12.5px; }
    .nl-compact-btn { font-size: 12px; padding: 9px 14px; }
    .mais-layout { gap: 0; }
    .mais-thumb { display: none; }
  }


/* ============================================================
   RESPONSIVE POLISH (feature 006) — three breakpoints
   ≤1024 / ≤768 / ≤420 per Safe Mídia reference.
   Existing design tokens at :root are NOT modified (FR-013).
   ============================================================ */

/* Long-title truncation helper (used by all cards / lists) */
.ncard-title,
.analise-main-title,
.scard-title,
.col-article-title,
.tab-card-title,
.boletim-text,
.aitem-title,
.related-card-title,
.nl-block h1 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- ≤1024px (tablet) ---------- */
@media (max-width: 1024px) {
  /* Navbar: nav-links hidden, hamburger visible */
  .nav-inner { gap: 18px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero: single-column */
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-main img { height: 420px; }
  .hero > aside {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }
  .spost { width: 50%; padding: 14px 12px 14px 0; }

  /* News grid 3-col → 2-col */
  .news-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mais Lidas 2-col */
  .mais-layout { grid-template-columns: repeat(2, 1fr); gap: 0; }

  /* Para o Segurado 4-col → 2-col */
  .segurado-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Colunistas 3-col */
  .col-grid { grid-template-columns: repeat(3, 1fr); }

  /* Newsletter compact form stacked */
  .nl-compact-block { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Footer columns stack */
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- ≤768px (mobile) ---------- */
@media (max-width: 768px) {
  /* Navbar: logo centered + hamburger */
  .nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 58px; gap: 0; }
  .nav-sep { display: none; }
  .nav-links { display: none; }
  .nav-socials { display: none; }
  .nav-logo { position: absolute; left: 50%; transform: translateX(-50%); background: var(--sm-white); padding: 0 4px; z-index: 1; }
  .logo-text { font-size: 15px; }
  .nav-hamburger { display: flex; }
  .btn-sub { font-size: 10.5px; padding: 7px 10px; }

  /* Hero: vertical sidebar */
  .hero > aside { flex-direction: column; margin-top: 0; }
  .spost { width: 100%; border-right: none !important; padding: 13px 0 !important; }

  /* News grid 2-col */
  .news-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Newsletter compact: stack */
  .nl-compact-form { width: 100%; }

  /* Newsletter grande: 1-col stacked */
  .nl-block { grid-template-columns: 1fr; padding: 30px 22px; gap: 24px; }
  .nl-form { flex-direction: column; }

  /* Para o Segurado 2-col */
  .segurado-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Análise: 1-col */
  .analise-layout { grid-template-columns: 1fr; gap: 0; }

  /* Boletim: chip stays inline, content reflows */
  .boletim-item { gap: 10px; padding: 12px 14px; flex-wrap: wrap; }
  .boletim-tipo { margin-top: 0; }

  /* Colunistas: 1-col */
  .col-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Category tabs: horizontally scrollable */
  .tabs-nav { gap: 2px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs-nav::-webkit-scrollbar { display: none; }
  .tab-btn { padding: 7px 12px; font-size: 12px; flex-shrink: 0; }

  /* Footer columns stack */
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 36px 16px 28px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 16px; gap: 8px; font-size: 11px; }
}

/* ---------- ≤420px (small mobile) ---------- */
@media (max-width: 420px) {
  .hero-main img { height: 315px; }
  .hero-title { font-size: 18px; }

  .segurado-grid { grid-template-columns: 1fr; }
  .scard-wrap { height: 200px; }

  .news-grid { grid-template-columns: 1fr; }

  .tabs-grid { grid-template-columns: 1fr; }

  .nl-compact-input { font-size: 12.5px; }
  .nl-compact-btn { font-size: 12px; padding: 9px 14px; }

  .mais-layout { gap: 0; }
  .mais-thumb { display: none; }
}

/* ---------- Home page: single-column (no sidebar) ---------- */
.home .vb-layout {
  display: block;
  grid-template-columns: none;
  max-width: none;
  padding: 0;
}
.home .vb-container {
  max-width: var(--vb-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Navbar ≤1024px: logo left, CTA + hamburger on the right ---------- */
@media (max-width: 1024px) {
  .nav-sep { display: none; }
  /* Same compact CTA as mobile (no arrow). */
  .btn-sub { margin-left: auto; font-size: 10.5px; padding: 7px 10px; gap: 0; }
  .btn-sub svg { display: none; }
  .nav-hamburger { order: 10; margin-left: 10px; }
}

@media (max-width: 768px) {
  .nav-logo { position: static; transform: none; padding: 0; }
}

@media (max-width: 360px) {
  .nav-logo { gap: 6px; }
  .logo-shield { transform: scale(.85); }
  .nav-hamburger { margin-left: 6px; }
}

/* ---------- Para o Segurado header: title + "Ver todos" on top, subtitle below ---------- */
@media (max-width: 1024px) {
  .segurado-hd {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 16px;
  }
  .segurado-title { grid-column: 1; grid-row: 1; white-space: normal; }
  .segurado-btn-all { grid-column: 2; grid-row: 1; margin-left: 0; }
  .segurado-sub { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
}

@media (max-width: 480px) {
  .segurado-hd { grid-template-columns: minmax(0, 1fr); }
  .segurado-btn-all { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 6px; }
}

/* ---------- Section headers: let long titles wrap so "Ver todos" stays on screen ---------- */
.nl-compact-input { min-width: 0; }

@media (max-width: 480px) {
  .sec-head { gap: 10px; }
  .sec-title { white-space: normal; min-width: 0; flex: 1 1 auto; }
  .sec-line { display: none; }
  .btn-see-more { margin-left: auto; }
}

/* ---------- Navbar 1025–1200px: tighter links so the CTA fits ---------- */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-inner { gap: 16px; }
  .nav-links a { padding: 7px 8px; }
  .btn-sub { padding: 10px 16px; }
}
