/* Gênesis Inox – páginas de SEO (/informacoes/) */
:root {
	--gi-navy: #2B4867;
	--gi-navy-dark: #1B3047;
	--gi-green: #A4B342;
	--gi-green-dark: #7f8c2a;
	--gi-gray: #919CAA;
	--gi-bg: #F3F5F8;
	--gi-line: #E3E8EE;
	--gi-text: #2f3a47;
}

body.single-conteudo_seo,
body.post-type-archive-conteudo_seo {
	background: var(--gi-bg);
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Layout ---------- */
.single-conteudo_seo .ast-container,
.post-type-archive-conteudo_seo .ast-container {
	max-width: 1240px;
	align-items: flex-start;
}
.single-conteudo_seo #primary,
.post-type-archive-conteudo_seo #primary { margin: 48px 0; }
.single-conteudo_seo #secondary,
.post-type-archive-conteudo_seo #secondary { margin: 48px 0; }
@media (min-width: 922px) {
	.single-conteudo_seo #primary,
	.post-type-archive-conteudo_seo #primary { width: 71%; padding-right: 32px; }
	.single-conteudo_seo #secondary,
	.post-type-archive-conteudo_seo #secondary { width: 29%; padding-left: 0; position: sticky; top: 24px; }
}

/* ---------- Cartão do artigo ---------- */
.single-conteudo_seo .ast-article-single,
.single-conteudo_seo.ast-separate-container .ast-article-single {
	padding: 0 !important;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(27, 48, 71, .08);
	border: 0;
}

/* ---------- Cabeçalho (hero) ---------- */
.single-conteudo_seo .entry-header {
	position: relative;
	margin: 0 !important;
	padding: 56px 56px 44px;
	background:
		radial-gradient(circle at 90% -20%, rgba(164, 179, 66, .35), transparent 45%),
		linear-gradient(135deg, var(--gi-navy) 0%, var(--gi-navy-dark) 100%);
	color: #fff;
}
.single-conteudo_seo .entry-header::before {
	content: "Informações técnicas";
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(164, 179, 66, .18);
	border: 1px solid rgba(164, 179, 66, .55);
	color: #dfe8a0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.single-conteudo_seo .entry-title {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -.01em;
}
.single-conteudo_seo .entry-meta,
.single-conteudo_seo .entry-meta a,
.single-conteudo_seo .entry-meta span {
	color: rgba(255, 255, 255, .78);
	font-size: 13.5px;
	text-decoration: none;
}
.single-conteudo_seo .entry-header::after {
	content: "";
	position: absolute;
	left: 56px; bottom: 0;
	width: 84px; height: 5px;
	background: var(--gi-green);
	border-radius: 5px 5px 0 0;
}

/* ---------- Corpo do texto ---------- */
.single-conteudo_seo .entry-content {
	padding: 44px 56px 56px;
	color: var(--gi-text);
	font-size: 17px;
	line-height: 1.85;
}
.single-conteudo_seo .entry-content > p.gi-readtime,
.gi-readtime {
	margin: 0 0 1.4em !important;
	padding: 0 !important;
	color: var(--gi-gray) !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.single-conteudo_seo .entry-content > p { margin: 0 0 1.25em; }
.single-conteudo_seo .entry-content > p.gi-readtime + p,
.single-conteudo_seo .entry-content > p:first-child:not(.gi-readtime) {
	font-size: 19.5px;
	line-height: 1.75;
	color: var(--gi-navy-dark);
	font-weight: 500;
}
.single-conteudo_seo .entry-content strong { color: var(--gi-navy); font-weight: 700; }
.single-conteudo_seo .entry-content a {
	color: var(--gi-navy);
	text-decoration: underline;
	text-decoration-color: var(--gi-green);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.single-conteudo_seo .entry-content a:hover { color: var(--gi-green-dark); }

.single-conteudo_seo .entry-content h2 {
	position: relative;
	margin: 2.3em 0 .7em;
	padding-left: 18px;
	color: var(--gi-navy);
	font-size: clamp(22px, 2.6vw, 28px);
	line-height: 1.3;
	font-weight: 700;
	scroll-margin-top: 90px;
}
.single-conteudo_seo .entry-content h2::before {
	content: "";
	position: absolute;
	left: 0; top: .12em; bottom: .12em;
	width: 5px;
	border-radius: 5px;
	background: var(--gi-green);
}
.single-conteudo_seo .entry-content h3 {
	margin: 1.8em 0 .5em;
	color: var(--gi-navy-dark);
	font-size: 20px;
	font-weight: 700;
}

/* ---------- Listas com ícone de check ---------- */
.single-conteudo_seo .entry-content ul {
	list-style: none;
	margin: 1.4em 0 1.8em;
	padding: 0;
	display: grid;
	gap: 10px;
}
.single-conteudo_seo .entry-content ul li {
	position: relative;
	margin: 0;
	padding: 14px 18px 14px 56px;
	background: var(--gi-bg);
	border: 1px solid var(--gi-line);
	border-radius: 12px;
	line-height: 1.6;
	transition: border-color .2s, transform .2s;
}
.single-conteudo_seo .entry-content ul li:hover { border-color: var(--gi-green); transform: translateX(3px); }
.single-conteudo_seo .entry-content ul li::before {
	content: "";
	position: absolute;
	left: 16px; top: 50%;
	width: 26px; height: 26px;
	margin-top: -13px;
	border-radius: 50%;
	background: var(--gi-green)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
		center / 15px no-repeat;
}
.single-conteudo_seo .entry-content ol { margin: 1.2em 0 1.8em 1.3em; }
.single-conteudo_seo .entry-content ol li { margin-bottom: .5em; padding-left: .3em; }

/* ---------- Sumário ---------- */
.gi-toc {
	margin: 2em 0 .5em;
	padding: 22px 26px;
	background: #fff;
	border: 1px solid var(--gi-line);
	border-left: 5px solid var(--gi-green);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(27, 48, 71, .05);
}
.gi-toc-title {
	margin: 0 0 10px !important;
	color: var(--gi-navy);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}
.single-conteudo_seo .entry-content .gi-toc ol {
	margin: 0; padding: 0;
	list-style: none;
	counter-reset: toc;
	columns: 2 260px;
	column-gap: 28px;
}
.single-conteudo_seo .entry-content .gi-toc li {
	counter-increment: toc;
	margin: 0 0 8px; padding: 0 0 0 30px;
	position: relative;
	break-inside: avoid;
	font-size: 15px; line-height: 1.45;
}
.single-conteudo_seo .entry-content .gi-toc li::before {
	content: counter(toc);
	position: absolute; left: 0; top: 0;
	width: 22px; height: 22px;
	border-radius: 6px;
	background: var(--gi-navy); color: #fff;
	font-size: 12px; font-weight: 700; line-height: 22px; text-align: center;
}
.single-conteudo_seo .entry-content .gi-toc a { text-decoration: none; color: var(--gi-text); }
.single-conteudo_seo .entry-content .gi-toc a:hover { color: var(--gi-navy); text-decoration: underline; }
html { scroll-behavior: smooth; }

/* ---------- FAQ em acordeão ---------- */
.gi-faq { margin-top: 1.2em; display: grid; gap: 12px; }
.gi-faq-item {
	background: #fff;
	border: 1px solid var(--gi-line);
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow .2s, border-color .2s;
}
.gi-faq-item[open] { border-color: var(--gi-green); box-shadow: 0 6px 20px rgba(27, 48, 71, .08); }
.gi-faq-item summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 18px 56px 18px 22px;
	color: var(--gi-navy);
	font-weight: 700;
	font-size: 16.5px;
	line-height: 1.45;
}
.gi-faq-item summary::-webkit-details-marker { display: none; }
.gi-faq-item summary::after {
	content: "+";
	position: absolute;
	right: 18px; top: 50%;
	width: 28px; height: 28px; margin-top: -14px;
	border-radius: 50%;
	background: var(--gi-bg);
	color: var(--gi-navy);
	font-size: 20px; font-weight: 600; line-height: 28px; text-align: center;
	transition: transform .2s, background .2s;
}
.gi-faq-item[open] summary::after { content: "–"; background: var(--gi-green); color: #fff; }
.gi-faq-answer { padding: 0 22px 8px; border-top: 1px dashed var(--gi-line); }
.gi-faq-answer p { margin: 16px 0 !important; }

/* ---------- Caixa de destaque (opcional nos textos) ---------- */
.single-conteudo_seo .entry-content .gi-callout {
	margin: 1.8em 0;
	padding: 20px 24px;
	background: #f6f8e6;
	border-left: 5px solid var(--gi-green);
	border-radius: 0 12px 12px 0;
}
.single-conteudo_seo .entry-content .gi-callout p:last-child { margin-bottom: 0; }

/* ---------- Tabela ---------- */
.single-conteudo_seo .entry-content table {
	width: 100%;
	margin: 1.6em 0;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--gi-line);
	border-radius: 12px;
	overflow: hidden;
	font-size: 15px;
}
.single-conteudo_seo .entry-content th {
	background: var(--gi-navy); color: #fff;
	padding: 12px 16px; text-align: left; font-weight: 600;
}
.single-conteudo_seo .entry-content td { padding: 12px 16px; border-top: 1px solid var(--gi-line); }
.single-conteudo_seo .entry-content tr:nth-child(even) td { background: var(--gi-bg); }

/* ---------- CTA final ---------- */
.gi-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	margin: 3em 0 0;
	padding: 30px 34px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--gi-navy) 0%, var(--gi-navy-dark) 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.gi-cta::before {
	content: "";
	position: absolute; right: -60px; top: -60px;
	width: 200px; height: 200px; border-radius: 50%;
	background: rgba(164, 179, 66, .22);
}
.gi-cta-text { position: relative; flex: 1 1 320px; display: grid; gap: 6px; }
.gi-cta-text strong { color: #fff !important; font-size: 21px; line-height: 1.3; }
.gi-cta-text span { color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.5; }
.gi-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.single-conteudo_seo .entry-content a.gi-btn {
	display: inline-block;
	padding: 13px 22px;
	border-radius: 10px;
	font-size: 14.5px; font-weight: 700; line-height: 1.2;
	text-decoration: none;
	transition: transform .15s, background .2s, color .2s;
}
.single-conteudo_seo .entry-content a.gi-btn:hover { transform: translateY(-2px); }
.single-conteudo_seo .entry-content a.gi-btn-primary { background: var(--gi-green); color: var(--gi-navy-dark); }
.single-conteudo_seo .entry-content a.gi-btn-primary:hover { background: #b6c653; color: var(--gi-navy-dark); }
.single-conteudo_seo .entry-content a.gi-btn-ghost { border: 2px solid rgba(255, 255, 255, .55); color: #fff; }
.single-conteudo_seo .entry-content a.gi-btn-ghost:hover { background: #fff; color: var(--gi-navy); }

/* ---------- Barra lateral: últimos conteúdos ---------- */
.single-conteudo_seo #secondary .widget,
.post-type-archive-conteudo_seo #secondary .widget {
	margin: 0;
	padding: 26px 24px 22px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(27, 48, 71, .08);
	border: 0;
}
.gi-side-title {
	margin: 0 0 16px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--gi-navy);
}
.gi-side-title span {
	display: inline-block;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--gi-green);
}
.gi-side-list { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - 300px); min-height: 280px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--gi-green) transparent; }
.gi-side-list li { margin: 0; border-bottom: 1px solid var(--gi-line); }
.gi-side-list li:last-child { border-bottom: 0; }
.gi-side-list a {
	display: block;
	padding: 14px 0 14px 14px;
	position: relative;
	text-decoration: none;
	transition: padding .2s;
}
.gi-side-list a::before {
	content: "";
	position: absolute; left: 0; top: 16px; bottom: 16px;
	width: 3px; border-radius: 3px;
	background: var(--gi-line);
	transition: background .2s;
}
.gi-side-list a:hover { padding-left: 20px; }
.gi-side-list a:hover::before,
.gi-side-list .is-current a::before { background: var(--gi-green); }
.gi-side-date { display: block; margin-bottom: 3px; color: var(--gi-gray); font-size: 12px; font-weight: 600; }
.gi-side-name { display: block; color: var(--gi-navy); font-size: 15px; font-weight: 600; line-height: 1.4; }
.gi-side-list a:hover .gi-side-name,
.gi-side-list .is-current .gi-side-name { color: var(--gi-green-dark); }
.gi-side-all {
	display: block;
	margin-top: 14px; padding: 12px 14px;
	border-radius: 10px;
	background: var(--gi-bg);
	color: var(--gi-navy) !important;
	font-size: 14px; font-weight: 700; text-align: center; text-decoration: none;
}
.gi-side-all:hover { background: var(--gi-navy); color: #fff !important; }

/* ---------- Arquivo /informacoes/ (cartões) ---------- */
.post-type-archive-conteudo_seo .ast-archive-description { display: none; }
.post-type-archive-conteudo_seo #main { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-type-archive-conteudo_seo #main > .ast-archive-description,
.post-type-archive-conteudo_seo #main > .ast-pagination { grid-column: 1 / -1; }
.post-type-archive-conteudo_seo article.ast-article-post,
.post-type-archive-conteudo_seo.ast-separate-container .ast-article-post {
	margin: 0 !important;
	padding: 0 !important;
	background: #fff;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(27, 48, 71, .07);
	transition: transform .2s, box-shadow .2s;
}
.post-type-archive-conteudo_seo article.ast-article-post:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(27, 48, 71, .13); }
.post-type-archive-conteudo_seo .entry-header { padding: 28px 26px 0; border-top: 5px solid var(--gi-green); }
.post-type-archive-conteudo_seo .entry-title { font-size: 21px; line-height: 1.3; font-weight: 700; }
.post-type-archive-conteudo_seo .entry-title a { color: var(--gi-navy); }
.post-type-archive-conteudo_seo .entry-title a:hover { color: var(--gi-green-dark); }
.post-type-archive-conteudo_seo .entry-meta { font-size: 13px; color: var(--gi-gray); }
.post-type-archive-conteudo_seo .ast-excerpt-container { padding: 0 26px 26px; color: var(--gi-text); font-size: 15px; line-height: 1.7; }

/* ---------- Responsivo ---------- */
@media (max-width: 921px) {
	.single-conteudo_seo #primary,
	.post-type-archive-conteudo_seo #primary { margin: 24px 0 0; padding: 0; }
	.single-conteudo_seo #secondary,
	.post-type-archive-conteudo_seo #secondary { margin: 24px 0 40px; padding: 0; position: static; }
}
@media (max-width: 640px) {
	.single-conteudo_seo .entry-header { padding: 36px 22px 32px; }
	.single-conteudo_seo .entry-header::after { left: 22px; }
	.single-conteudo_seo .entry-content { padding: 28px 22px 36px; font-size: 16px; }
	.single-conteudo_seo .entry-content > p.gi-readtime + p,
	.single-conteudo_seo .entry-content > p:first-child:not(.gi-readtime) { font-size: 17.5px; }
	.single-conteudo_seo .entry-content ul li { padding: 12px 14px 12px 50px; }
	.gi-cta { padding: 24px 22px; }
	.gi-cta-actions, .gi-cta-actions .gi-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
