/* =============================================================
   SOLLUS Blog — folha de estilo principal
   1. Tokens
   2. Reset e base
   3. Utilitários
   4. Header
   5. Hero
   6. Seções
   7. Navegue por tema
   8. Grid de posts
   9. Single / conteúdo
   10. Paginação, comentários, formulários
   11. Footer
   12. Responsivo
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
	--sol-yellow: #f5c518;
	--sol-yellow-dark: #ddae08;
	--sol-green: #7ba05b;
	--sol-green-dark: #5f8244;

	--sol-ink: #1c1d1f;
	--sol-ink-soft: #3c3f44;
	--sol-muted: #6e7278;
	--sol-line: #e4e5e3;

	--sol-bg: #ffffff;
	--sol-bg-alt: #f7f7f4;
	--sol-dark: #1a1c1e;

	--sol-container: 1200px;
	--sol-radius: 4px;
	--sol-shadow: 0 1px 2px rgba(28, 29, 31, .06);
	--sol-shadow-lg: 0 12px 32px rgba(28, 29, 31, .12);

	--sol-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--sol-header-h: 72px;
}

/* -------------------------------------------------------------
   2. Reset e base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sol-header-h) + 16px); }

body {
	margin: 0;
	font-family: var(--sol-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--sol-ink-soft);
	background: var(--sol-bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sol-ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sol-yellow-dark); }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--sol-ink);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

:focus-visible {
	outline: 2px solid var(--sol-yellow);
	outline-offset: 3px;
}

/* -------------------------------------------------------------
   3. Utilitários
   ------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--sol-container);
	margin-inline: auto;
	padding-inline: 24px;
}
.container--narrow { max-width: 760px; }

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

.skip-link:focus {
	position: fixed;
	top: 12px; left: 12px;
	z-index: 999;
	width: auto; height: auto;
	clip: auto;
	padding: 10px 18px;
	background: var(--sol-yellow);
	color: var(--sol-ink);
	font-weight: 600;
	border-radius: var(--sol-radius);
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: var(--sol-radius);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary { background: var(--sol-yellow); color: var(--sol-ink); }
.btn--primary:hover { background: var(--sol-yellow-dark); color: var(--sol-ink); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; color: var(--sol-ink); }

.btn--outline { background: transparent; color: var(--sol-ink); border-color: var(--sol-line); }
.btn--outline:hover { border-color: var(--sol-yellow); background: var(--sol-yellow); color: var(--sol-ink); }

.btn--sm { padding: 10px 18px; font-size: 13px; }

.empty-state {
	padding: 48px 0;
	color: var(--sol-muted);
	text-align: center;
}

/* -------------------------------------------------------------
   4. Header
   ------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--sol-line);
	transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

/* Sobreposto à hero na home. */
.site-header--overlay {
	position: fixed;
	inset: 0 0 auto;
	background: transparent;
	border-bottom-color: transparent;
}
.site-header--overlay .site-brand__text strong,
.site-header--overlay .site-nav__list > li > a,
.site-header--overlay .icon-btn { color: #fff; }
.site-header--overlay .site-brand__text em { color: rgba(255, 255, 255, .7); }
.site-header--overlay .nav-toggle span { background: #fff; }

/* Estado após rolar. */
.site-header.is-stuck {
	position: fixed;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--sol-line);
	box-shadow: var(--sol-shadow);
}
.site-header.is-stuck .site-brand__text strong,
.site-header.is-stuck .site-nav__list > li > a,
.site-header.is-stuck .icon-btn { color: var(--sol-ink); }
.site-header.is-stuck .site-brand__text em { color: var(--sol-muted); }
.site-header.is-stuck .nav-toggle span { background: var(--sol-ink); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: var(--sol-header-h);
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}
.site-brand__logo { width: 40px; height: 40px; object-fit: contain; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand__text strong {
	color: var(--sol-ink);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .04em;
}
.site-brand__text em {
	color: var(--sol-muted);
	font-size: 9px;
	font-style: normal;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.site-nav { margin-left: auto; }
.site-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
	position: relative;
	display: block;
	padding: 6px 0;
	color: var(--sol-ink);
	font-size: 15px;
	font-weight: 500;
}
.site-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 0; height: 2px;
	background: var(--sol-yellow);
	transition: width .25s ease;
}
.site-nav__list > li > a:hover::after,
.site-nav__list > li.current-menu-item > a::after,
.site-nav__list > li.current_page_item > a::after,
.site-nav__list > li.current-menu-parent > a::after { width: 100%; }

/* Submenu */
.site-nav__list .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 210px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	box-shadow: var(--sol-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.site-nav__list > li:hover .sub-menu,
.site-nav__list > li:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.site-nav__list .sub-menu a {
	display: block;
	padding: 8px 18px;
	color: var(--sol-ink-soft);
	font-size: 14px;
}
.site-nav__list .sub-menu a:hover { background: var(--sol-bg-alt); color: var(--sol-ink); }

.site-nav__hint { display: none; }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
}

.icon-btn {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	padding: 0;
	color: var(--sol-ink);
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color .2s ease;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: rgba(128, 128, 128, .16); }

.header-newsletter { flex: none; white-space: nowrap; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px; height: 38px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 22px; height: 2px;
	margin-inline: auto;
	background: var(--sol-ink);
	border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-panel {
	padding: 20px 0;
	background: #fff;
	border-top: 1px solid var(--sol-line);
	box-shadow: var(--sol-shadow);
}

/* -------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 620px;
	padding: calc(var(--sol-header-h) + 72px) 0 88px;
	background-color: #10161a;
	background-image: var(--hero-image);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 15, 18, .88) 0%, rgba(10, 15, 18, .62) 45%, rgba(10, 15, 18, .18) 100%),
		linear-gradient(180deg, rgba(10, 15, 18, .55) 0%, rgba(10, 15, 18, 0) 40%);
}

/* O inner mantém a largura do container para alinhar o texto à esquerda,
   na mesma coluna do logo do header. */
.hero__inner { position: relative; }
.hero__content { max-width: 620px; }

.hero__title {
	margin: 0 0 22px;
	color: #fff;
	font-size: clamp(2.1rem, 4.4vw, 3.3rem);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -.02em;
	text-wrap: balance;
}

.hero__subtitle {
	margin: 0 0 34px;
	max-width: 500px;
	color: rgba(255, 255, 255, .82);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------------
   6. Seções
   ------------------------------------------------------------- */
.section { padding: 76px 0; }
.section--temas { background: var(--sol-bg-alt); }

.section__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.section__rule {
	display: block;
	width: 56px;
	height: 3px;
	margin: 14px 0 36px;
	background: var(--sol-yellow);
	border-radius: 2px;
}

.section--temas .section__title,
.section--temas .section__rule,
.section--center .section__title,
.section--center .section__rule { margin-inline: auto; }
.section--temas .section__title,
.section--center .section__title { text-align: center; }

.section__more { margin-top: 44px; text-align: center; }

.page-head {
	padding: calc(var(--sol-header-h) + 48px) 0 0;
	background: var(--sol-bg-alt);
	padding-bottom: 44px;
}
body:not(.has-hero) .page-head { padding-top: 56px; }

.page-head__eyebrow {
	margin: 0 0 6px;
	color: var(--sol-yellow-dark);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.page-head__title {
	margin: 0;
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}
.page-head__desc { max-width: 680px; color: var(--sol-muted); }

/* -------------------------------------------------------------
   7. Navegue por tema
   ------------------------------------------------------------- */
.temas { position: relative; }

.temas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
}

/* Modo carrossel: trilha rolável com scroll-snap. */
.temas--carousel { display: flex; align-items: center; gap: 12px; }
.temas--carousel .temas-grid {
	display: flex;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.temas--carousel .temas-grid::-webkit-scrollbar { display: none; }
.temas--carousel .theme-card {
	flex: 0 0 calc((100% - 3 * 20px) / 4);
	scroll-snap-align: start;
}

.temas__arrow {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px; height: 40px;
	padding: 0;
	color: var(--sol-ink);
	background: #fff;
	border: 1px solid var(--sol-line);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.temas__arrow svg { width: 20px; height: 20px; }
.temas__arrow:hover { background: var(--sol-yellow); border-color: var(--sol-yellow); }
.temas__arrow[disabled] { opacity: .35; cursor: default; }
.temas__arrow[disabled]:hover { background: #fff; border-color: var(--sol-line); }

.theme-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px 18px 26px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.theme-card:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: var(--sol-shadow-lg);
}

.theme-card__icon {
	display: block;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	color: var(--sol-yellow);
	transition: color .22s ease, transform .22s ease;
}
.theme-card__icon svg { width: 100%; height: 100%; stroke-width: 1.4; }
.theme-card:hover .theme-card__icon { color: var(--sol-yellow-dark); transform: translateY(-2px); }

.theme-card__title {
	margin: 0 0 8px;
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.35;
}

.theme-card__desc {
	margin: 0 0 12px;
	color: var(--sol-muted);
	font-size: .8125rem;
	line-height: 1.5;
}

.theme-card__count {
	padding-top: 6px;
	color: var(--sol-muted);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .04em;
}

/* -------------------------------------------------------------
   8. Grid de posts
   ------------------------------------------------------------- */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.post-card:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: var(--sol-shadow-lg);
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--sol-bg-alt);
	overflow: hidden;
}
.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}
.post-card:hover .post-card__media img { transform: scale(1.05); }

.post-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%; height: 100%;
	color: #c9cdc4;
	background: linear-gradient(135deg, #eef0ea, #e2e6db);
}
.post-card__placeholder svg { width: 48px; height: 48px; }

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 22px 24px;
}

/* O link do título cobre o card inteiro; a categoria fica acima dele. */
.post-card__overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.post-card__cat {
	position: relative;
	z-index: 2;
	align-self: flex-start;
	margin-bottom: 12px;
	padding: 4px 10px;
	color: var(--sol-green-dark);
	background: rgba(123, 160, 91, .12);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.post-card__cat:hover { background: rgba(123, 160, 91, .22); color: var(--sol-green-dark); }

.post-card__title {
	margin: 0 0 10px;
	font-size: 1.0625rem;
	line-height: 1.35;
}
.post-card__title a { color: var(--sol-ink); }
.post-card__title a:hover { color: var(--sol-yellow-dark); }

.post-card__excerpt {
	margin: 0 0 16px;
	color: var(--sol-muted);
	font-size: .9rem;
	line-height: 1.6;
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	color: var(--sol-muted);
	font-size: .78rem;
}

.post-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--sol-ink);
	font-size: .875rem;
	font-weight: 600;
}
.post-card__link svg { width: 15px; height: 15px; transition: transform .22s ease; }
.post-card:hover .post-card__link { color: var(--sol-yellow-dark); }
.post-card:hover .post-card__link svg { transform: translateX(4px); }

/* -------------------------------------------------------------
   9. Single / conteúdo
   ------------------------------------------------------------- */
.single__head {
	/* O padding inferior maior abre espaço para a imagem subir sobre o amarelo. */
	padding: calc(var(--sol-header-h) + 48px) 0 100px;
	background: var(--sol-yellow);
}
.single__head .post-card__cat {
	color: var(--sol-ink);
	background: rgba(28, 29, 31, .1);
}
.single__head .post-card__cat:hover { background: rgba(28, 29, 31, .18); color: var(--sol-ink); }
.single__head .single__meta { color: var(--sol-ink-soft); }
body:not(.has-hero) .single__head { padding-top: 56px; }
.single--no-thumb .single__head { padding-bottom: 40px; }

.single__title {
	margin: 6px 0 14px;
	max-width: 880px;
	font-size: clamp(1.8rem, 3.8vw, 2.6rem);
	line-height: 1.2;
	text-wrap: balance;
}

.single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--sol-muted);
	font-size: .875rem;
}

/* Sobe sobre a faixa amarela. */
.single__thumb {
	position: relative;
	z-index: 1;
	margin: -64px 0 40px;
}
.single__thumb img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: var(--sol-radius);
	box-shadow: var(--sol-shadow-lg);
}

.entry-content { padding: 8px 0 24px; font-size: 1.0625rem; }
.entry-content > * { margin-bottom: 1.25em; }
.entry-content h2 { margin-top: 1.8em; font-size: 1.55rem; }
.entry-content h3 { margin-top: 1.6em; font-size: 1.25rem; }
.entry-content a { color: var(--sol-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--sol-yellow-dark); }
.entry-content img, .entry-content figure img { border-radius: var(--sol-radius); }
.entry-content figcaption { color: var(--sol-muted); font-size: .85rem; text-align: center; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--sol-yellow);
	color: var(--sol-ink);
	font-size: 1.15rem;
	font-style: italic;
}
.entry-content pre {
	padding: 18px;
	background: var(--sol-dark);
	color: #f2f3ef;
	border-radius: var(--sol-radius);
	overflow-x: auto;
	font-size: .9rem;
}
.entry-content code { font-size: .92em; }
.entry-content :not(pre) > code {
	padding: 2px 6px;
	background: var(--sol-bg-alt);
	border-radius: 3px;
}
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--sol-line); text-align: left; }
.entry-content th { background: var(--sol-bg-alt); }

.single__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 20px 0;
	border-top: 1px solid var(--sol-line);
	font-size: .85rem;
	color: var(--sol-muted);
}
.single__tags a {
	padding: 4px 12px;
	background: var(--sol-bg-alt);
	border-radius: 999px;
	color: var(--sol-ink-soft);
}
.single__tags a:hover { background: var(--sol-yellow); color: var(--sol-ink); }

.single__nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 26px 0 12px;
	border-top: 1px solid var(--sol-line);
	font-size: .92rem;
	font-weight: 500;
}
.single__nav-item--next { margin-left: auto; text-align: right; }

/* -------------------------------------------------------------
   10. Paginação, comentários, formulários
   ------------------------------------------------------------- */
.pagination { margin-top: 48px; }
.pagination .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	font-size: .9rem;
	font-weight: 500;
	color: var(--sol-ink-soft);
}
.pagination .page-numbers:hover { border-color: var(--sol-yellow); color: var(--sol-ink); }
.pagination .page-numbers.current {
	background: var(--sol-yellow);
	border-color: var(--sol-yellow);
	color: var(--sol-ink);
	font-weight: 700;
}

.search-form { display: flex; gap: 10px; }
.search-form__field {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	font: inherit;
	font-size: 15px;
	color: var(--sol-ink);
	background: #fff;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
}
.search-form__field:focus { outline: none; border-color: var(--sol-yellow); }
.search-form__submit {
	padding: 12px 22px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--sol-ink);
	background: var(--sol-yellow);
	border: 0;
	border-radius: var(--sol-radius);
	cursor: pointer;
}
.search-form__submit:hover { background: var(--sol-yellow-dark); }
.search-again { max-width: 480px; margin: 24px auto 0; }

.comments { padding: 36px 0 60px; border-top: 1px solid var(--sol-line); }
.comments__title { font-size: 1.25rem; }
.comment-list, .comment-list .children { list-style: none; padding-left: 0; }
.comment-list .children { padding-left: 28px; }
.comment-list li { margin-bottom: 24px; }
.comment-body { padding: 18px; background: var(--sol-bg-alt); border-radius: var(--sol-radius); }
.comment-author img { display: inline-block; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-metadata { font-size: .8rem; color: var(--sol-muted); }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: 15px;
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	background: #fff;
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 500; }
.comment-form .form-submit input[type="submit"] {
	padding: 13px 26px;
	font: inherit;
	font-weight: 600;
	color: var(--sol-ink);
	background: var(--sol-yellow);
	border: 0;
	border-radius: var(--sol-radius);
	cursor: pointer;
}

/* -------------------------------------------------------------
   10b. Seções temáticas da home
   ------------------------------------------------------------- */

/* Três pilares --------------------------------------------------- */
.section--pilares { padding: 52px 0; background: var(--sol-bg-alt); }
.section--pilares .section__rule { margin-bottom: 30px; }

.pilares {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.pilar {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 6px 36px;
}
.pilar + .pilar { border-left: 1px solid var(--sol-line); }

.pilar__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	color: var(--sol-yellow);
}
.pilar__icon svg { width: 100%; height: 100%; stroke-width: 1.4; }

.pilar__title {
	margin: 2px 0 8px;
	font-size: .95rem;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.pilar__desc { margin: 0; font-size: .85rem; line-height: 1.55; color: var(--sol-muted); }

/* Grid comum das faixas de 4 cards ------------------------------- */
.cards-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

/* O link do título cobre o card inteiro. */
.mini-card__overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.mini-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--sol-muted);
	background: var(--sol-bg-alt);
}
.mini-card__placeholder svg { width: 40px; height: 40px; }

/* O que estamos analisando agora --------------------------------- */
.section--analises { padding-top: 64px; }

.mini-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--sol-bg);
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mini-card:hover {
	border-color: rgba(245, 197, 24, .55);
	box-shadow: var(--sol-shadow-lg);
	transform: translateY(-3px);
}

.mini-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--sol-bg-alt); }
.mini-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mini-card:hover .mini-card__media img { transform: scale(1.05); }

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

.mini-card__title { margin: 0 0 8px; font-size: 1rem; line-height: 1.35; }
.mini-card__title a { color: var(--sol-ink); }
.mini-card:hover .mini-card__title a { color: var(--sol-yellow-dark); }

.mini-card__excerpt {
	margin: 0 0 16px;
	font-size: .85rem;
	line-height: 1.55;
	color: var(--sol-muted);
}

.mini-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	font-size: .8rem;
	font-weight: 600;
	color: var(--sol-green-dark);
}
.mini-card__link svg { width: 14px; height: 14px; transition: transform .22s ease; }
.mini-card:hover .mini-card__link { color: var(--sol-yellow-dark); }
.mini-card:hover .mini-card__link svg { transform: translateX(4px); }

/* Estudos e reflexões -------------------------------------------- */
.section--estudos { background: var(--sol-bg-alt); }

.study-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--sol-bg);
	border: 1px solid var(--sol-line);
	border-radius: var(--sol-radius);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.study-card:hover { box-shadow: var(--sol-shadow-lg); transform: translateY(-3px); }

.study-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sol-bg-alt); }
.study-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.study-card:hover .study-card__media img { transform: scale(1.05); }

.study-card__body { padding: 16px 18px 18px; }
.study-card__title { margin: 0 0 6px; font-size: 1rem; line-height: 1.35; }
.study-card__title a { color: var(--sol-ink); }
.study-card:hover .study-card__title a { color: var(--sol-yellow-dark); }
.study-card__meta { font-size: .8rem; color: var(--sol-muted); }

/* Casos aplicados ------------------------------------------------ */

.case-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 4 / 3.4;
	border-radius: var(--sol-radius);
	overflow: hidden;
	background: var(--sol-dark);
}

.case-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.case-card:hover .case-card__img { transform: scale(1.06); }

.case-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	color: var(--sol-yellow);
	background: rgba(15, 16, 17, .62);
	border-radius: 50%;
}
.case-card__badge svg { width: 16px; height: 16px; stroke-width: 2; }

.case-card__body {
	position: relative;
	width: 100%;
	padding: 44px 18px 18px;
	color: #fff;
	background: linear-gradient(to top, rgba(15, 16, 17, .92) 30%, rgba(15, 16, 17, 0));
}

/* O body é posicionado (fica acima da imagem), então o link precisa "estourar"
   o body para cobrir o card inteiro. */
.case-card .mini-card__overlay::after { inset: -100vh 0 0; }

.case-card__title { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.3; }
.case-card__title a { color: #fff; }
.case-card:hover .case-card__title a { color: var(--sol-yellow); }

.case-card__excerpt {
	margin: 0;
	font-size: .82rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, .78);
}

/* Quem produz conhecimento --------------------------------------- */
.section--autores { background: var(--sol-bg-alt); }

.autores {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px 24px;
	text-align: center;
}

.autor__avatar {
	width: 96px;
	height: 96px;
	margin: 0 auto 14px;
	border-radius: 50%;
	object-fit: cover;
}
.autor__avatar--empty {
	display: grid;
	place-items: center;
	color: var(--sol-muted);
	background: var(--sol-line);
}
.autor__avatar--empty svg { width: 44px; height: 44px; stroke-width: 1.4; }

.autor__name { margin: 0 0 8px; font-size: .95rem; }
.autor--lead .autor__name { color: var(--sol-yellow-dark); }
.autor__role { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--sol-muted); }

/* -------------------------------------------------------------
   10c. Newsletter (Mailchimp) — faixa acima do rodapé
   ------------------------------------------------------------- */
.newsletter {
	padding: 36px 0 40px;
	background: #353535;
	color: #fff;
}

.newsletter__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.2;
}
.newsletter__title svg { width: 28px; height: 28px; flex: none; }

.newsletter__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	gap: 16px;
	align-items: end;
}

.newsletter__field { display: flex; flex-direction: column; gap: 6px; }

.newsletter__field label {
	color: #fff;
	font-size: .85rem;
	font-weight: 400;
}
.newsletter__req { color: rgba(255, 255, 255, .55); }

.newsletter__field input {
	width: 100%;
	padding: 8px 12px;
	font: inherit;
	font-size: .95rem;
	color: var(--sol-ink);
	background: #fff;
	border: 1px solid transparent;
	border-radius: 4px;
}
.newsletter__field input:focus { outline: none; border-color: var(--sol-yellow); }

.newsletter__submit {
	padding: 9px 22px;
	font: inherit;
	font-size: .95rem;
	color: #fff;
	background: rgba(0, 0, 0, .4);
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.newsletter__submit:hover { background: var(--sol-yellow); color: var(--sol-ink); }

/* Honeypot do Mailchimp: precisa existir no DOM, mas nunca ser visto. */
.newsletter__bot {
	position: absolute;
	left: -5000px;
}

/* -------------------------------------------------------------
   11. Footer
   ------------------------------------------------------------- */
.site-footer {
	margin-top: 0;
	background: #3a3a3a;
	color: #c9c9c9;
	font-size: .84rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 56px;
	padding-block: 54px 40px;
}

/* Título com traço curto sob a palavra e filete fino na coluna. */
.footer-col__title {
	position: relative;
	margin: 0 0 22px;
	padding-bottom: 12px;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: .01em;
	border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.footer-col__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 2.6em;
	height: 3px;
	background: #fff;
}

.footer-about {
	max-width: none;
	margin: 0;
	line-height: 1.75;
	text-align: justify;
	color: #c9c9c9;
}

.footer-menu, .footer-contact, .footer-social {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-menu li, .footer-contact li { margin-bottom: 6px; }
.footer-menu a, .footer-contact a { color: #c9c9c9; }
.footer-menu a:hover, .footer-contact a:hover { color: var(--sol-yellow); }

.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a {
	display: grid;
	place-items: center;
	width: 32px; height: 32px;
	color: #fff;
	background: #f0a13c;
	border-radius: 50%;
	transition: background-color .2s ease, transform .2s ease;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--sol-yellow); color: var(--sol-ink); transform: translateY(-2px); }

.footer-widget { margin-top: 24px; }

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .16);
	padding-block: 16px 20px;
	font-size: .8rem;
	color: #b5b5b5;
	text-align: center;
}
.site-footer__bottom p { margin: 0; }

/* -------------------------------------------------------------
   12. Responsivo
   ------------------------------------------------------------- */
@media (max-width: 1080px) {
	.temas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.temas--carousel .theme-card { flex-basis: calc((100% - 2 * 20px) / 3); }
}

@media (max-width: 900px) {
	.posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pilares { grid-template-columns: 1fr; gap: 22px; }
	.pilar { padding: 0; }
	.pilar + .pilar { border-left: 0; }
	.autores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
	.newsletter__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsletter__action { grid-column: 1 / -1; }
	.newsletter__submit { width: 100%; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	/* Compensa a admin bar fixa no mobile. */
	.admin-bar .site-header,
	.admin-bar .site-header--overlay { top: 0; }
}

@media (max-width: 768px) {
	.nav-toggle { display: flex; }
	.header-newsletter { display: none; }

	/* Com a nav fora do fluxo (fixed), o auto é o que joga busca + menu à direita. */
	.site-header__actions { margin-left: auto; }

	.site-nav {
		position: fixed;
		inset: var(--sol-header-h) 0 auto;
		display: none;
		padding: 16px 24px 24px;
		background: #fff;
		border-bottom: 1px solid var(--sol-line);
		box-shadow: var(--sol-shadow-lg);
		max-height: calc(100vh - var(--sol-header-h));
		overflow-y: auto;
	}
	.site-nav.is-open { display: block; }

	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list > li { border-bottom: 1px solid var(--sol-line); }
	.site-nav__list > li:last-child { border-bottom: 0; }
	.site-header--overlay .site-nav__list > li > a,
	.site-nav__list > li > a { padding: 13px 0; color: var(--sol-ink); }
	.site-nav__list > li > a::after { display: none; }

	.site-nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 8px 12px;
	}
	.site-nav__hint {
		display: block;
		margin: 14px 0 0;
		color: var(--sol-muted);
		font-size: .8rem;
	}

	.hero { min-height: 520px; padding-block: calc(var(--sol-header-h) + 56px) 64px; }
	.section { padding: 56px 0; }
	.temas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.temas--carousel .theme-card { flex-basis: calc((100% - 14px) / 2); }
	.temas--carousel .temas-grid { gap: 14px; }
	.temas__arrow { display: none; }
	.single__head { padding-bottom: 68px; }
	.single--no-thumb .single__head { padding-bottom: 34px; }
	.single__thumb { margin-top: -40px; }
	.single__nav { flex-direction: column; }
	.single__nav-item--next { margin-left: 0; text-align: left; }
}

@media (max-width: 520px) {
	.posts-grid { grid-template-columns: 1fr; }
	.cards-4 { grid-template-columns: 1fr; }
	.autores { grid-template-columns: 1fr; }
	.newsletter__grid { grid-template-columns: 1fr; }
	.newsletter__title { font-size: 1.3rem; }
	.temas--carousel .theme-card { flex-basis: 78%; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.hero__actions .btn { flex: 1 1 100%; justify-content: center; }
	.site-brand__text strong { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}
