/**
 * Taxonomy Sintoma - Single symptom term page
 * Layout ultra profissional, otimizado e completo
 */

.tax-sintoma-single {
	--tax-sintoma-primary: #f59e0b;
	--tax-sintoma-primary-dark: #d97706;
	--tax-sintoma-hero-start: #f59e0b;
	--tax-sintoma-hero-mid: #f97316;
	--tax-sintoma-hero-end: #ef4444;
}

/* Breadcrumb */
.tax-sintoma-breadcrumb-bar {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.tax-sintoma-breadcrumb-bar .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.tax-sintoma-breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: #334155;
	padding: 0.75rem 0;
	flex-wrap: wrap;
}

.tax-sintoma-breadcrumb a {
	color: #475569;
	text-decoration: none;
	transition: color 0.2s;
}

.tax-sintoma-breadcrumb a:hover {
	color: var(--tax-sintoma-primary);
}

.tax-sintoma-breadcrumb-current {
	color: #0f172a;
	font-weight: 600;
}

.tax-sintoma-breadcrumb svg {
	width: 0.875rem;
	height: 0.875rem;
	flex-shrink: 0;
	color: #94a3b8;
}

/* Hero */
.tax-sintoma-hero {
	position: relative;
	padding: 2.5rem 0 3.5rem;
	overflow: hidden;
}

.tax-sintoma-hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--tax-sintoma-hero-start) 0%, var(--tax-sintoma-hero-mid) 50%, var(--tax-sintoma-hero-end) 100%);
	opacity: 0.92;
}

.tax-sintoma-hero-pattern {
	position: absolute;
	inset: 0;
	opacity: 0.08;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z' fill='%23ffffff' fill-opacity='1'/%3E%3C/svg%3E");
}

.tax-sintoma-hero .container {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.tax-sintoma-hero-content {
	max-width: 48rem;
}

.tax-sintoma-hero-badges {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.tax-sintoma-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.875rem;
	border-radius: 9999px;
	font-size: 0.8125rem;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	backdrop-filter: blur(4px);
}

.tax-sintoma-badge svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.tax-sintoma-badge-region {
	background: rgba(255, 255, 255, 0.25);
}

.tax-sintoma-badge-urgency {
	background: rgba(0, 0, 0, 0.2);
}

.tax-sintoma-badge-outline {
	background: rgba(255, 255, 255, 0.2);
}

.tax-sintoma-hero-title {
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
	.tax-sintoma-hero-title { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
	.tax-sintoma-hero-title { font-size: 3rem; }
}

.tax-sintoma-hero-summary {
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.7;
	margin: 0 0 1.5rem;
}

.tax-sintoma-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.tax-sintoma-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	border-radius: 0.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.tax-sintoma-hero-btn svg {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.tax-sintoma-hero-btn-primary {
	background: #fff;
	color: var(--tax-sintoma-primary-dark);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.tax-sintoma-hero-btn-primary:hover {
	background: #fefce8;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.tax-sintoma-hero-btn-secondary {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.5);
}

.tax-sintoma-hero-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: #fff;
}

.tax-sintoma-hero-btn-count {
	background: var(--tax-sintoma-primary);
	color: #fff;
	padding: 0.15rem 0.5rem;
	border-radius: 9999px;
	font-size: 0.75rem;
}

/* Main layout */
.tax-sintoma-main-with-sidebar {
	display: grid;
	grid-template-columns: 1fr;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.5rem 3rem;
	gap: 0;
}

@media (min-width: 1024px) {
	.tax-sintoma-main-with-sidebar {
		grid-template-columns: 1fr 300px;
		gap: 3rem;
		align-items: start;
	}
}

.tax-sintoma-content-wrapper {
	min-width: 0;
}

.tax-sintoma-content-inner {
	max-width: 720px;
}

/* Section headers (usa doencas_section_header do single-doenca) */
.tax-sintoma-section {
	margin-bottom: 2.5rem;
	scroll-margin-top: 7rem;
}

.tax-sintoma-section .doenca-section-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.tax-sintoma-section .doenca-section-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: rgba(245, 158, 11, 0.12);
	border-radius: 0.5rem;
	color: var(--tax-sintoma-primary);
	flex-shrink: 0;
}

.tax-sintoma-section .doenca-section-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

@media (min-width: 768px) {
	.tax-sintoma-section .doenca-section-title { font-size: 1.375rem; }
}

/* Cards */
.tax-sintoma-health-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tax-sintoma-card-padding {
	padding: 1.5rem;
}

@media (min-width: 640px) {
	.tax-sintoma-card-padding { padding: 1.75rem; }
}

.tax-sintoma-content-prose {
	font-size: 1rem;
	line-height: 1.75;
	color: #334155;
}

.tax-sintoma-content-prose p {
	margin: 0 0 1rem;
}

.tax-sintoma-content-prose p:last-child {
	margin-bottom: 0;
}

.tax-sintoma-card-desc {
	font-size: 1rem;
	color: #64748b;
	line-height: 1.6;
	margin: 0;
}

/* Causas grid */
.tax-sintoma-causas-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.tax-sintoma-causa-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1 1 200px;
	max-width: 280px;
}

.tax-sintoma-causa-icon {
	color: var(--tax-sintoma-primary);
	flex-shrink: 0;
}

/* Tags */
.tax-sintoma-tags-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tax-sintoma-tag {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	background: rgba(245, 158, 11, 0.12);
	color: #b45309;
	border: 1px solid rgba(245, 158, 11, 0.3);
	border-radius: 0.5rem;
}

.tax-sintoma-tag-outline {
	background: #f8fafc;
	color: #475569;
	border-color: #e2e8f0;
}

.tax-sintoma-tags-muted .tax-sintoma-tag {
	background: #f1f5f9;
	color: #475569;
	border-color: #e2e8f0;
}

/* Help list */
.tax-sintoma-help-card {
	border-left: 4px solid #f59e0b;
}

.tax-sintoma-help-intro {
	font-size: 0.9375rem;
	font-weight: 500;
	color: #334155;
	margin: 0 0 1rem;
}

.tax-sintoma-help-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tax-sintoma-help-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.5rem 0;
	font-size: 0.9375rem;
	color: #475569;
	line-height: 1.5;
	border-bottom: 1px solid #f1f5f9;
}

.tax-sintoma-help-list li:last-child {
	border-bottom: none;
}

.tax-sintoma-help-list svg {
	color: #f59e0b;
	flex-shrink: 0;
	margin-top: 0.2rem;
}

/* Grid 2 col */
.tax-sintoma-grid-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.tax-sintoma-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.tax-sintoma-card-flex {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.tax-sintoma-prevention-icon {
	color: var(--tax-sintoma-primary);
	flex-shrink: 0;
}

.tax-sintoma-legal-note {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
	padding: 1rem;
	background: #fefce8;
	border: 1px solid #fef08a;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	color: #854d0e;
}

.tax-sintoma-legal-note svg {
	flex-shrink: 0;
	color: #ca8a04;
}

/* Doenças grid */
.tax-sintoma-doencas-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.tax-sintoma-doencas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.tax-sintoma-doencas-grid { grid-template-columns: repeat(3, 1fr); }
}

.tax-sintoma-doenca-card {
	display: block;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	overflow: hidden;
	transition: all 0.2s ease;
}

.tax-sintoma-doenca-card:hover {
	border-color: var(--tax-sintoma-primary);
	box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.15);
}

.tax-sintoma-doenca-card-inner {
	padding: 1.25rem;
}

.tax-sintoma-doenca-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: rgba(245, 158, 11, 0.12);
	border-radius: 0.5rem;
	color: var(--tax-sintoma-primary);
	margin-bottom: 0.75rem;
}

.tax-sintoma-doenca-card-icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.tax-sintoma-doenca-card-badge {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	border-radius: 0.375rem;
	margin-bottom: 0.5rem;
}

.tax-sintoma-doenca-card-title {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.tax-sintoma-doenca-card-title:hover {
	color: var(--tax-sintoma-primary);
}

.tax-sintoma-doenca-card-excerpt {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0 0 0.75rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tax-sintoma-doenca-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--tax-sintoma-primary);
}

.tax-sintoma-section-footer {
	margin-top: 1rem;
	text-align: center;
}

.tax-sintoma-browse-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	background: var(--tax-sintoma-primary);
	border: 2px solid var(--tax-sintoma-primary);
	border-radius: 0.5rem;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(245, 158, 11, 0.3);
	transition: all 0.2s ease;
}

.tax-sintoma-browse-link:hover {
	background: var(--tax-sintoma-primary-dark);
	border-color: var(--tax-sintoma-primary-dark);
	color: #fff;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
	transform: translateY(-1px);
}

.tax-sintoma-browse-link svg {
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

/* Legal notice */
.tax-sintoma-legal-notice {
	display: flex;
	gap: 1rem;
	padding: 1.25rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	margin-top: 2rem;
	font-size: 0.875rem;
	color: #475569;
	line-height: 1.6;
}

.tax-sintoma-legal-notice svg {
	flex-shrink: 0;
	color: #64748b;
}

.tax-sintoma-legal-notice strong {
	color: #334155;
}

/* Sidebar */
.tax-sintoma-sidebar {
	display: none;
}

@media (min-width: 1024px) {
	.tax-sintoma-sidebar {
		display: block;
		position: sticky;
		top: 6rem;
	}
}

.tax-sintoma-sidebar-inner {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	padding: 1.25rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tax-sintoma-sidebar-toc-title {
	font-size: 0.875rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.75rem;
}

.tax-sintoma-sidebar-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tax-sintoma-sidebar-toc-item {
	margin: 0;
}

.tax-sintoma-sidebar-toc-link {
	display: block;
	padding: 0.4rem 0;
	font-size: 0.8125rem;
	color: #475569;
	text-decoration: none;
	border-bottom: 1px solid #f1f5f9;
	transition: color 0.2s;
}

.tax-sintoma-sidebar-toc-link:hover {
	color: var(--tax-sintoma-primary);
}

.tax-sintoma-sidebar-actions {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tax-sintoma-sidebar-back-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--tax-sintoma-primary);
	text-decoration: none;
}

.tax-sintoma-sidebar-back-link:hover {
	text-decoration: underline;
}

.tax-sintoma-sidebar-back-link svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

/* Related section */
.tax-sintoma-related-section {
	background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
	border-top: 1px solid #fef3c7;
	padding: 3rem 0 4rem;
}

.tax-sintoma-related-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.tax-sintoma-related-header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.tax-sintoma-related-header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	background: rgba(245, 158, 11, 0.15);
	border-radius: 0.75rem;
	color: var(--tax-sintoma-primary);
	flex-shrink: 0;
}

.tax-sintoma-related-header-icon svg {
	width: 1.5rem;
	height: 1.5rem;
}

.tax-sintoma-related-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.25rem;
}

.tax-sintoma-related-subtitle {
	font-size: 0.9375rem;
	color: #64748b;
	margin: 0;
}

.tax-sintoma-related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.tax-sintoma-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.tax-sintoma-related-grid { grid-template-columns: repeat(3, 1fr); }
}

.tax-sintoma-related-card {
	display: block;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	overflow: hidden;
	transition: all 0.2s ease;
}

.tax-sintoma-related-card:hover {
	border-color: var(--tax-sintoma-primary);
	box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.12);
}

.tax-sintoma-related-card-inner {
	padding: 1.25rem;
}

.tax-sintoma-related-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: #f8fafc;
	border-radius: 0.5rem;
	color: var(--tax-sintoma-primary);
	margin-bottom: 0.75rem;
}

.tax-sintoma-related-card-icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.tax-sintoma-related-card-badge {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	border-radius: 0.375rem;
	margin-bottom: 0.5rem;
}

.tax-sintoma-related-card-title {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.tax-sintoma-related-card:hover .tax-sintoma-related-card-title {
	color: var(--tax-sintoma-primary);
}

.tax-sintoma-related-card-excerpt {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0 0 0.75rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tax-sintoma-related-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--tax-sintoma-primary);
}

.tax-sintoma-related-footer {
	margin-top: 1.5rem;
	text-align: center;
}

.tax-sintoma-related-browse-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--tax-sintoma-primary);
	text-decoration: none;
}

.tax-sintoma-related-browse-link:hover {
	text-decoration: underline;
}

/* CTA section */
.tax-sintoma-cta-section {
	padding: 2rem 0 3rem;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

.tax-sintoma-cta-section .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.tax-sintoma-cta-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.tax-sintoma-cta-grid { grid-template-columns: repeat(3, 1fr); }
}

.tax-sintoma-cta-card {
	display: block;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	padding: 1.5rem;
	transition: all 0.2s ease;
}

.tax-sintoma-cta-card:hover {
	border-color: var(--tax-sintoma-primary);
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.tax-sintoma-cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: rgba(245, 158, 11, 0.12);
	border-radius: 0.5rem;
	color: var(--tax-sintoma-primary);
	margin-bottom: 0.75rem;
}

.tax-sintoma-cta-icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.tax-sintoma-cta-card h3 {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.5rem;
}

.tax-sintoma-cta-card p {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0;
}

/* Scroll to top */
.tax-sintoma-scroll-top-btn {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 50;
	width: 2.75rem;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tax-sintoma-primary);
	color: #fff;
	border: none;
	border-radius: 9999px;
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
	cursor: pointer;
	transition: all 0.2s ease;
}

.tax-sintoma-scroll-top-btn:hover {
	background: var(--tax-sintoma-primary-dark);
	transform: scale(1.08);
	box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}
