/* ==========================================================================
   Usamed Blog — estilos
   Tokens iguais ao design.pen (Identidade/design.pen) e ao design system.
   ========================================================================== */

:root {
	--navy: #1D1F3D;
	--navy-2: #2B2E6B;
	--lime: #C0D121;
	--lime-soft: #F1F6D6;
	--lime-ink: #5E6A0A;
	--bg: #F6F7FB;
	--surface: #FFFFFF;
	--secondary: #ECEDF4;
	--muted: #5B5F7A;
	--body: #2D3050;
	--border: #E2E4EC;
	--on-navy: #C9CBE0;
	--on-navy-2: #9A9DB8;
	--success: #2E9660;
	--danger: #D63236;
	--whatsapp: #25D366;

	--font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-sm: 8px;
	--r-field: 12px;
	--r-md: 16px;
	--r-lg: 20px;
	--r-card: 24px;
	--r-xl: 28px;

	--container: 1280px;
	--gutter: 80px;
	--header-h: 81px;
	--shadow: 0 8px 24px rgba(29, 31, 61, .08);
	--shadow-lg: 0 20px 48px rgba(29, 31, 61, .14);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------ */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--navy);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--navy); margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	top: 12px; left: 12px; padding: 12px 18px; background: var(--navy); color: #fff; border-radius: var(--r-field);
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }

.icon { flex-shrink: 0; }
.icon--lime { color: var(--lime); }

.eyebrow {
	font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* Botões ---------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 12px 20px; border: 0; border-radius: var(--r-field);
	font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1.2;
	transition: transform .15s var(--ease), background-color .15s, box-shadow .15s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { background: #CDDC3A; color: var(--navy); box-shadow: 0 8px 20px rgba(192, 209, 33, .35); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1FBE5B; color: #fff; }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.btn--lg { min-height: 52px; font-size: 16px; }
.btn--block { width: 100%; }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 0; border-radius: var(--r-field); background: var(--secondary); color: var(--navy);
	transition: background-color .15s;
}
.icon-btn:hover { background: #E1E3EE; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link-arrow .icon { transition: transform .15s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.chip {
	display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
	padding: 6px 12px; border-radius: 999px; background: var(--secondary);
	font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--navy);
	transition: background-color .15s;
}
a.chip:hover { background: #E1E3EE; }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

.pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-field);
	background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; font-weight: 600;
}
a.pill:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.pill--lime { background: var(--lime); box-shadow: none; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }

/* Avatar ---------------------------------------------------------------- */

.avatar {
	--size: 36px;
	position: relative; display: inline-grid; place-items: center; flex-shrink: 0;
	width: var(--size); height: var(--size); border-radius: 50%; overflow: hidden;
	background: var(--lime-soft); color: var(--navy);
	font-family: var(--font-head); font-weight: 800; font-size: calc(var(--size) * .36);
}
.avatar .avatar__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: transparent; box-shadow: none; }
.avatar--xl { background: var(--lime); box-shadow: 0 0 0 6px #fff; }

/* Header ---------------------------------------------------------------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--border);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__img { width: auto; height: 26px; }
.logo__tag {
	padding: 4px 10px; border-radius: 999px; background: var(--lime);
	font-family: var(--font-head); font-size: 12px; font-weight: 700; line-height: 1.2;
}

.nav__list { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__list a { font-size: 15px; font-weight: 500; color: var(--muted); padding: 8px 0; position: relative; transition: color .15s; }
.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__list .current-category-ancestor > a,
.nav__list .current-post-ancestor > a { color: var(--navy); font-weight: 600; }
.nav__list .current-menu-item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--lime); }
.nav__cta-mobile { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__burger { display: none; }
.site-header__burger .icon-close { display: none; }
.menu-open .site-header__burger .icon-open { display: none; }
.menu-open .site-header__burger .icon-close { display: block; }

.header-search { border-top: 1px solid var(--border); padding: 16px 0; background: #fff; }
.header-search .search-form { max-width: 640px; margin: 0 auto; }

.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--lime); transition: width .1s linear; }

/* Busca ----------------------------------------------------------------- */

.search-form {
	display: flex; align-items: center; gap: 10px; width: 100%;
	height: 56px; padding: 0 8px 0 18px; border-radius: var(--r-md);
	background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
	transition: box-shadow .15s;
}
.search-form:focus-within { box-shadow: inset 0 0 0 2px var(--navy); }
.search-form__icon { color: var(--muted); }
.search-form__input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 15px; outline: none; }
.search-form__input::placeholder { color: #8A8DA6; }
.search-form__input::-webkit-search-cancel-button { display: none; }

/* Hero da home ---------------------------------------------------------- */

.hero { padding: 64px 0 56px; background: linear-gradient(180deg, #FFFFFF 0%, #EEF5CF 100%); }
.hero__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: 40px; }
.hero__text { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.hero__title { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -.027em; }
.hero__subtitle { font-size: 19px; line-height: 1.55; color: var(--muted); }
.hero__head .search-form { max-width: 400px; flex-shrink: 0; }

.featured {
	display: grid; grid-template-columns: minmax(0, 700fr) minmax(0, 580fr); min-height: 440px;
	background: var(--surface); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden;
}
.featured__media { position: relative; display: block; background: var(--secondary); overflow: hidden; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.featured:hover .featured__media img { transform: scale(1.03); }
.featured__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 48px; }
.featured__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.featured__title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.18; letter-spacing: -.018em; }
.featured__title a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.featured__excerpt { font-size: 17px; line-height: 1.6; color: var(--muted); }

/* Seções ---------------------------------------------------------------- */

.section { padding: 64px 0; }
.section--tight { padding-top: 0; padding-bottom: 0; }
.section--bottom { padding-bottom: 80px; }
.section--related { padding-top: 0; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section__title { font-size: 30px; font-weight: 800; letter-spacing: -.017em; }
.section > .container > .section__title { margin-bottom: 28px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
	padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
	font-size: 14px; font-weight: 600; line-height: 1.2; transition: box-shadow .15s, background-color .15s;
}
.filter:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; box-shadow: none; }

.empty { padding: 48px 0; color: var(--muted); text-align: center; }
.empty__title { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }

/* Grade e card ---------------------------------------------------------- */

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid + .grid { margin-top: 24px; }
.grid-ad { margin: 24px 0; }

.card {
	display: flex; flex-direction: column; background: var(--surface);
	border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden;
	transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { box-shadow: inset 0 0 0 1px var(--border), var(--shadow-lg); transform: translateY(-3px); }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--secondary); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--lime-soft), var(--secondary)); }
.card__placeholder img { width: 40%; height: auto; opacity: .35; }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.card__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.card__title a { background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 3px no-repeat; transition: background-size .3s var(--ease); }
.card:hover .card__title a { background-size: 100% 3px; }
.card__excerpt { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card .post-meta { margin-top: auto; padding-top: 8px; }

.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; line-height: 1.4; }
.post-meta__author { font-weight: 600; }
.post-meta__info { color: var(--muted); }

/* Paginação ------------------------------------------------------------- */

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: var(--r-field); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
	font-size: 14px; font-weight: 600;
}
.pagination a.page-numbers:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.pagination .current { background: var(--navy); color: #fff; box-shadow: none; }
.pagination .dots { background: transparent; box-shadow: none; }

/* Mais lidos ------------------------------------------------------------ */

.popular { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.popular__list ol { list-style: none; }
.popular__item { position: relative; display: flex; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.popular__num { width: 64px; flex-shrink: 0; font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; color: var(--lime); }
.popular__text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.popular__cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.popular__text h3 { font-size: 20px; font-weight: 700; line-height: 1.35; }
.popular__text a::after { content: ""; position: absolute; inset: 0; }
.popular__item .icon { transition: transform .2s var(--ease); }
.popular__item:hover .icon { transform: translate(3px, -3px); }
.popular__item:hover h3 { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.popular__ad { position: sticky; top: calc(var(--header-h) + 24px); }

/* Hero de páginas internas --------------------------------------------- */

.page-hero { padding: 56px 0; background: linear-gradient(120deg, var(--navy-2), var(--navy)); color: #fff; }
.page-hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.page-hero__text { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.page-hero__title { display: flex; align-items: center; gap: 14px; font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.023em; color: #fff; line-height: 1.1; }
.page-hero__dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.page-hero__desc, .page-hero__desc p { font-size: 19px; line-height: 1.55; color: var(--on-navy); }
.page-hero__count {
	display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
	padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 15px; font-weight: 600;
}
.page-hero__count .icon { color: var(--lime); }
.page-hero__search { max-width: 560px; margin-top: 12px; }
.page-hero--light { background: linear-gradient(180deg, #FFFFFF 0%, #EEF5CF 100%); color: var(--navy); }
.page-hero--light .page-hero__title { color: var(--navy); }
.page-hero--light .page-hero__desc { color: var(--muted); }
.page-hero--light .container { display: flex; flex-direction: column; gap: 14px; }
.page-hero--center .container { align-items: center; text-align: center; }

/* Breadcrumb ------------------------------------------------------------ */

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; font-size: 14px; font-weight: 500; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--navy); }
.breadcrumb--light ol { color: var(--on-navy-2); }
.breadcrumb--light a:hover, .breadcrumb--light [aria-current] { color: #fff; }

/* Autor ----------------------------------------------------------------- */

.author-hero { padding: 64px 0; background: linear-gradient(180deg, #FFFFFF 0%, #EEF5CF 100%); }
.author-hero__inner { display: flex; align-items: center; gap: 40px; }
.author-hero__text { display: flex; flex-direction: column; gap: 12px; }
.author-hero__name { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.author-hero__bio { max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.author-hero__links { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Artigo ---------------------------------------------------------------- */

.article__header { background: var(--surface); padding: 40px 0 48px; }
.article__header .container { display: flex; flex-direction: column; gap: 20px; }
.article__title { max-width: 960px; font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.article__lead { max-width: 860px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.article__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 12px; }
.article__author { display: flex; align-items: center; gap: 12px; }
.article__author-name { font-size: 15px; font-weight: 700; }
.article__author-name:hover { text-decoration: underline; }
.article__dates { font-size: 14px; color: var(--muted); }

.share { display: flex; align-items: center; gap: 8px; }
.share__label { font-size: 14px; font-weight: 500; color: var(--muted); margin-right: 4px; }
.share__btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-field);
	background: var(--secondary); color: var(--navy); transition: background-color .15s, color .15s;
}
.share__btn:hover { background: var(--navy); color: #fff; }
.share__btn.is-copied { background: var(--lime); color: var(--navy); }

.article__cover { background: linear-gradient(180deg, var(--surface) 50%, var(--bg) 50%); }
.article__cover figure { margin: 0; }
.article__cover img { width: 100%; aspect-ratio: 1280 / 520; object-fit: cover; border-radius: var(--r-xl); background: var(--secondary); }
.article__cover figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }

.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding-top: 56px; padding-bottom: 64px; }
.article__main { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.article__aside { min-width: 0; }
.article__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }

.toc { padding: 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.toc .eyebrow { font-size: 12px; margin-bottom: 8px; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; max-height: 46vh; overflow: auto; }
.toc a {
	display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px;
	font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--muted); transition: background-color .15s, color .15s;
}
.toc a::before { content: ""; width: 3px; height: 18px; border-radius: 2px; background: var(--border); flex-shrink: 0; transition: background-color .15s; }
.toc a:hover { color: var(--navy); background: var(--bg); }
.toc a.is-active { color: var(--navy); font-weight: 700; background: var(--lime-soft); }
.toc a.is-active::before { background: var(--navy); }
.toc__item--h3 a { padding-left: 26px; font-size: 13px; }
.toc__progress { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.toc__progress [data-progress-label] { font-weight: 700; color: var(--navy); }
.toc__track { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: var(--secondary); overflow: hidden; }
.toc__track span { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--lime); transition: width .1s linear; }

.article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.article__tags span { font-size: 14px; font-weight: 600; color: var(--muted); }
.article__tags a { padding: 6px 12px; border-radius: var(--r-sm); background: var(--secondary); font-size: 13px; font-weight: 500; }
.article__tags a:hover { background: var(--navy); color: #fff; }

.author-box { display: flex; gap: 20px; padding: 28px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.author-box__text { display: flex; flex-direction: column; gap: 8px; }
.author-box .eyebrow { font-size: 12px; }
.author-box__name { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.author-box__role { font-size: 14px; font-weight: 600; color: var(--lime-ink); }
.author-box__bio { font-size: 15px; line-height: 1.6; color: var(--muted); }
.author-box .link-arrow { font-size: 14px; }

/* Conteúdo do artigo ---------------------------------------------------- */

.entry-content { font-size: 18px; line-height: 1.75; color: var(--body); }
.entry-content > * + * { margin-top: 22px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { font-size: 28px; font-weight: 800; line-height: 1.25; letter-spacing: -.014em; margin-top: 48px; }
.entry-content h3 { font-size: 22px; font-weight: 700; line-height: 1.3; margin-top: 36px; }
.entry-content h4 { font-size: 18px; font-weight: 700; margin-top: 28px; }
.entry-content h2 + *, .entry-content h3 + * { margin-top: 14px; }
.entry-content a:not(.btn):not(.ad__link) { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:not(.btn):not(.ad__link):hover { background: var(--lime-soft); }
.entry-content strong { color: var(--navy); font-weight: 700; }
.entry-content ul, .entry-content ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.entry-content ul > li { position: relative; padding-left: 36px; }
.entry-content ul > li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
	background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0D121' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.entry-content ol { counter-reset: li; }
.entry-content ol > li { position: relative; padding-left: 40px; counter-increment: li; }
.entry-content ol > li::before {
	content: counter(li); position: absolute; left: 0; top: .15em; display: grid; place-items: center;
	width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--navy);
	font-family: var(--font-head); font-size: 13px; font-weight: 800; line-height: 1;
}
.entry-content blockquote, .entry-content .wp-block-quote {
	margin: 32px 0; padding: 8px 0 8px 28px; border-left: 4px solid var(--lime);
	font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--navy);
}
.entry-content blockquote p + p { margin-top: 12px; }
.entry-content blockquote cite, .entry-content .wp-block-quote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 14px; font-weight: 500; font-style: normal; color: var(--muted); }
.entry-content .wp-block-pullquote { border: 0; padding: 32px; border-radius: var(--r-card); background: var(--lime-soft); text-align: left; }
.entry-content img { border-radius: var(--r-lg); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.entry-content hr { border: 0; height: 1px; background: var(--border); margin: 40px 0; }
.entry-content code { padding: 2px 6px; border-radius: 6px; background: var(--secondary); font-size: .88em; }
.entry-content pre { padding: 20px; border-radius: var(--r-md); background: var(--navy); color: #fff; overflow: auto; font-size: 15px; }
.entry-content pre code { background: none; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.entry-content th { font-family: var(--font-head); color: var(--navy); background: var(--secondary); }
.entry-content .wp-block-button__link { display: inline-flex; padding: 14px 22px; border-radius: var(--r-field); background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.entry-content .wp-block-embed iframe, .entry-content iframe { width: 100%; border-radius: var(--r-lg); }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .alignwide, .entry-content .alignfull { margin-left: 0; margin-right: 0; }
.entry-content > .ad, .entry-content > .lead { margin: 40px 0; }

.page-links { display: flex; gap: 8px; font-weight: 600; }

/* Anúncios -------------------------------------------------------------- */

.ad { position: relative; display: flex; overflow: hidden; isolation: isolate; font-family: var(--font-body); line-height: 1.5; }
.ad p { margin: 0; }
.ad__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; flex: 1; min-width: 0; }
.ad__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ad__title { font-family: var(--font-head); font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.ad__text { font-size: 15px; line-height: 1.55; }
.ad .btn { margin-top: 4px; }
.ad__media { position: relative; flex-shrink: 0; pointer-events: none; }
.ad__device { position: absolute; max-width: none; height: auto; filter: drop-shadow(0 18px 30px rgba(10, 12, 40, .25)); transition: transform .6s var(--ease); }
.ad:hover .ad__device { transform: translateY(-8px); }
.ad:hover .ad__device--tilt { transform: rotate(10deg) translateY(-8px); }

/* A · banner */
.ad--banner { min-height: 300px; border-radius: var(--r-xl); background: linear-gradient(120deg, var(--navy-2), var(--navy)); color: #fff; }
.ad--banner .ad__body { padding: 36px 0 36px 40px; }
.ad--banner .ad__eyebrow { color: var(--lime); }
.ad--banner .ad__title { color: #fff; }
.ad--banner .ad__text { color: var(--on-navy); }
.ad--banner .ad__media { width: 260px; }
.ad--banner .ad__glow { position: absolute; left: -10px; top: 40px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 209, 33, .33), rgba(192, 209, 33, 0) 70%); }
.ad--banner .ad__device { left: 12px; top: 36px; width: 220px; }

/* B · limão */
.ad--checklist { min-height: 300px; border-radius: var(--r-xl); background: var(--lime-soft); box-shadow: inset 0 0 0 1px #DCE6A4; color: var(--navy); }
.ad--checklist .ad__body { padding: 36px 0 36px 40px; }
.ad--checklist .ad__eyebrow { color: var(--lime-ink); }
.ad--checklist .ad__title { font-size: 22px; line-height: 1.3; }
.ad--checklist .ad__text { color: var(--muted); }
.ad--checklist .ad__media { width: 270px; }
.ad--checklist .ad__device { left: 52px; top: 44px; width: 200px; transform: rotate(10deg); }

/* C · notebook */
.ad--notebook { min-height: 260px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--navy); }
.ad--notebook .ad__body { flex: 0 1 360px; gap: 10px; padding: 28px 8px 28px 32px; }
.ad--notebook .ad__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-field); background: var(--navy); color: var(--lime); }
.ad--notebook .ad__eyebrow { color: var(--muted); }
.ad--notebook .ad__title { font-size: 19px; line-height: 1.3; }
.ad--notebook .ad__text { font-size: 14px; color: var(--muted); }
.ad__link { display: inline-flex; align-items: center; gap: 6px; padding-top: 4px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ad__link .icon { transition: transform .15s var(--ease); }
.ad__link:hover .icon { transform: translateX(3px); }
.ad--notebook .ad__media { flex: 1; min-width: 200px; background: linear-gradient(90deg, #FFFFFF, #EEF5CF); }
.ad--notebook .ad__device { left: 24px; top: 30px; width: 440px; }

/* D · WhatsApp */
.ad--whatsapp { min-height: 340px; border-radius: var(--r-xl); background: var(--navy); color: #fff; }
.ad--whatsapp .ad__body { gap: 16px; padding: 36px 0 36px 40px; }
.ad__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 600; }
.ad__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: usamed-pulse 2s infinite; }
@keyframes usamed-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.ad--whatsapp .ad__title { color: #fff; }
.ad--whatsapp .ad__text { color: var(--on-navy); }
.ad--whatsapp .ad__media { width: 300px; }
.ad--whatsapp .ad__device--back { left: 110px; top: 20px; width: 180px; opacity: .9; }
.ad--whatsapp .ad__device--front { left: 10px; top: 70px; width: 190px; }

/* Lateral */
.ad--sidebar { flex-direction: column; gap: 16px; padding: 28px 28px 0; border-radius: var(--r-card); background: var(--navy); color: #fff; }
.ad--sidebar .ad__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-field); background: var(--lime); color: var(--navy); }
.ad--sidebar .ad__eyebrow { color: var(--lime); }
.ad--sidebar .ad__title { font-size: 22px; color: #fff; }
.ad--sidebar .ad__text { font-size: 14px; color: var(--on-navy); }
.ad--sidebar .ad__media { height: 200px; margin: 0 -28px; }
.ad--sidebar .ad__device { left: 50%; top: 16px; width: 180px; margin-left: -90px; }
.ad--sidebar:hover .ad__device { transform: translateY(-8px); }

/* Newsletter / lead ----------------------------------------------------- */

.lead {
	display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: center;
	padding: 56px; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--navy-2), var(--navy) 70%); color: #fff;
	position: relative; overflow: hidden;
}
.lead::after {
	content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
	border: 80px solid rgba(255,255,255,.035); pointer-events: none;
}
.lead__text { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.lead__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.lead__title { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; color: #fff; letter-spacing: -.015em; }
.lead__desc { font-size: 16px; line-height: 1.6; color: var(--on-navy); }
.lead__benefits { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; padding-top: 8px; }
.lead__benefits li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.lead__benefits .icon { color: var(--lime); }

.lead__form { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-card); background: var(--surface); color: var(--navy); position: relative; z-index: 1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select {
	width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: var(--r-field);
	background: var(--bg); box-shadow: inset 0 0 0 1px var(--border); font-size: 15px; outline: none;
	transition: box-shadow .15s, background-color .15s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B5F7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input::placeholder { color: #8A8DA6; }
.field input:focus, .field select:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.lead__privacy { font-size: 12px; color: var(--muted); text-align: center; }
.lead__privacy a { text-decoration: underline; }
.lead__status { font-size: 14px; font-weight: 600; text-align: center; color: var(--success); }
.lead__status:empty { display: none; }
.lead__status.is-error { color: var(--danger); }
.lead__form.is-done .field, .lead__form.is-done button, .lead__form.is-done .lead__privacy { display: none; }
.lead__form.is-done .lead__status { padding: 32px 8px; font-size: 17px; color: var(--navy); }
.lead__form.is-done .lead__status::before {
	content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
	background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1F3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead--compact { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
.lead--compact .lead__title { font-size: 24px; }
.lead--compact::after { display: none; }

/* Footer ---------------------------------------------------------------- */

.site-footer { background: var(--navy); color: #fff; padding: 64px 0 32px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 48px; }
.site-footer__brand { max-width: 340px; display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand .logo__img { height: 28px; }
.site-footer__brand p { font-size: 15px; line-height: 1.6; color: var(--on-navy); }
.site-footer__cols { display: flex; gap: 80px; }
.site-footer__col h2 { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.site-footer__col a { font-size: 15px; transition: color .15s; }
.site-footer__col a:hover { color: var(--lime); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: var(--on-navy-2); }
.site-footer__bottom a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; transition: background-color .15s, color .15s; }
.social a:hover { background: var(--lime); color: var(--navy); }

/* WhatsApp flutuante ---------------------------------------------------- */

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 10px; }
.wa-float__btn {
	display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
	background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
	transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-float:hover .wa-float__btn { transform: scale(1.06); box-shadow: 0 14px 30px rgba(37, 211, 102, .5); }
.wa-float__tip {
	padding: 10px 14px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), 0 8px 24px rgba(29, 31, 61, .13);
	font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap;
	opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s var(--ease);
}
.wa-float.show-tip .wa-float__tip, .wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* Comentários ----------------------------------------------------------- */

.comments { display: flex; flex-direction: column; gap: 24px; }
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.comment-list .children { list-style: none; margin-top: 16px; padding-left: 32px; }
.comment-body { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.comment-form { display: flex; flex-direction: column; gap: 12px; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 0; border-radius: var(--r-field); background: #fff; box-shadow: inset 0 0 0 1px var(--border);
}
.comment-reply-title { font-size: 22px; font-weight: 800; }

/* Widgets --------------------------------------------------------------- */

.widget { padding: 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.widget__title { font-size: 16px; font-weight: 800; margin-bottom: 12px; }

/* Responsivo ------------------------------------------------------------ */

@media (max-width: 1280px) {
	:root { --gutter: 48px; }
	.nav__list { gap: 24px; }
}

@media (max-width: 1080px) {
	:root { --gutter: 32px; }
	.site-header__burger { display: inline-grid; }
	.site-header__cta { display: none; }
	.nav {
		position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
		display: flex; flex-direction: column; gap: 24px; padding: 24px var(--gutter) 40px;
		background: #fff; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 32px); }
	.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
	.menu-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list a { display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--border); }
	.nav__list .current-menu-item > a::after { display: none; }
	.nav__cta-mobile { display: inline-flex; }

	.hero__head { flex-direction: column; align-items: stretch; gap: 28px; }
	.hero__head .search-form { max-width: none; }
	.featured { grid-template-columns: 1fr; }
	.featured__media { aspect-ratio: 16 / 9; }
	.featured__body { padding: 32px; }

	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.popular { grid-template-columns: 1fr; }
	.popular__ad { position: static; max-width: 420px; }

	.article__layout { grid-template-columns: 1fr; gap: 40px; }
	.article__aside { order: 2; }
	.article__sticky { position: static; }
	.toc { display: none; }
	.article__aside .ad--sidebar { max-width: 420px; }

	.lead { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
	.site-footer__top { flex-direction: column; }
	.site-footer__cols { gap: 48px; flex-wrap: wrap; }
	.page-hero__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 760px) {
	.ad { flex-direction: column; min-height: 0; }
	.ad .ad__body { padding: 28px 24px 0; flex: none; }
	.ad--notebook .ad__body { padding: 24px 24px 0; }
	.ad .ad__media { width: 100%; height: 220px; margin-top: 24px; }
	.ad .btn { width: 100%; }
	.ad--banner .ad__device { left: 50%; top: 10px; margin-left: -110px; }
	.ad--banner .ad__glow { left: 50%; margin-left: -130px; top: 0; }
	.ad--checklist .ad__device { left: 50%; top: 24px; margin-left: -100px; }
	.ad--notebook .ad__media { height: 200px; }
	.ad--notebook .ad__device { left: 24px; top: 24px; width: 420px; }
	.ad--whatsapp .ad__device--back { left: 50%; margin-left: -20px; top: 10px; width: 160px; }
	.ad--whatsapp .ad__device--front { left: 50%; margin-left: -150px; top: 40px; width: 170px; }
	.ad--sidebar { padding: 28px 24px 0; }
	.ad--sidebar .ad__media { width: auto; margin: 0 -24px; }
}

@media (max-width: 680px) {
	:root { --gutter: 16px; --header-h: 73px; }
	body { font-size: 16px; }
	.site-header__inner { min-height: 72px; gap: 12px; }
	.logo { gap: 8px; }
	.logo__img { height: 21px; }
	.logo__tag { font-size: 11px; padding: 3px 8px; }
	.site-header__actions { gap: 8px; }

	.hero { padding: 36px 0 32px; }
	.hero__head { margin-bottom: 28px; }
	.hero__subtitle { font-size: 17px; }
	.featured__body { padding: 24px; gap: 14px; }
	.featured__excerpt { font-size: 16px; }

	.section { padding: 44px 0; }
	.section--bottom { padding-bottom: 56px; }
	.section__title { font-size: 24px; }
	.section__head { margin-bottom: 24px; }
	.filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filter { white-space: nowrap; }

	.grid { grid-template-columns: 1fr; gap: 16px; }
	.card__body { padding: 20px; }
	.card__title { font-size: 18px; }

	.popular__num { width: 44px; font-size: 30px; }
	.popular__item { gap: 16px; padding: 20px 0; }
	.popular__text h3 { font-size: 17px; }
	.popular__item > .icon { display: none; }

	.page-hero, .author-hero { padding: 36px 0; }
	.page-hero__desc, .page-hero__desc p { font-size: 17px; }
	.author-hero__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
	.avatar--xl { --size: 96px !important; }

	.article__header { padding: 24px 0 28px; }
	.article__header .container { gap: 14px; }
	.article__lead { font-size: 17px; }
	.article__meta { flex-direction: column; align-items: flex-start; }
	.article__cover img { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
	.article__layout { padding-top: 28px; padding-bottom: 44px; }
	.entry-content { font-size: 17px; line-height: 1.7; }
	.entry-content h2 { font-size: 23px; margin-top: 36px; }
	.entry-content h3 { font-size: 19px; }
	.entry-content blockquote { font-size: 19px; padding-left: 20px; }
	.entry-content > .ad, .entry-content > .lead { margin: 32px 0; }
	.author-box { flex-direction: column; padding: 22px; }

	.lead { padding: 28px 20px; border-radius: var(--r-card); }
	.lead__form { padding: 20px; }
	.lead__benefits { flex-direction: column; }

	.site-footer { padding: 48px 0 28px; }
	.site-footer__cols { flex-direction: column; gap: 32px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }

	.wa-float { right: 16px; bottom: 16px; }
	.wa-float__btn { width: 56px; height: 56px; }
	.wa-float__tip { display: none; }

	.share__label { display: none; }
}

@media print {
	.site-header, .site-footer, .wa-float, .ad, .lead, .article__aside, .share, .section--related { display: none !important; }
	.article__layout { display: block; }
	body { background: #fff; }
}
