/* Mapa do site (parts/page-sitemap.php). Mesma paleta do tema: fundo
   #001317, verde #2EFF00, cinza #7C898C, cards #00252E com borda #14363E. */

.sitemap-page {
	--sitemap-offset: 0px;
	padding-bottom: 80px;
}
.sitemap-page h1,
.sitemap-page h2 {
	margin-top: 0;
}

/* ------------------------------------------------------------- topo */
.sitemap-hero {
	padding: 8px 0 36px;
}
.sitemap-hero h1 {
	font-size: 3rem;
	line-height: 1.1;
	margin-bottom: 14px;
}
.sitemap-subtitle {
	max-width: 640px;
	margin: 0 0 32px;
	color: #dddddd;
	font-size: 1.0625rem;
	line-height: 1.6;
}
.sitemap-content {
	margin-bottom: 32px;
}
@media (max-width: 639px) {
	.sitemap-hero h1 { font-size: 2.25rem; }
}

/* busca + total + outros idiomas */
.sitemap-toolbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 24px;
}
.sitemap-search {
	position: relative;
	flex: 0 1 560px;
	margin: 0;
	color: #7C898C;
}
.sitemap-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.sitemap-search svg {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}
.sitemap-search input[type="search"] {
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 56px 0 52px;
	border: 1px solid #14363E;
	border-radius: 56px;
	background: #00252E;
	color: #ffffff;
	font-size: 16px;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.sitemap-search input[type="search"]::placeholder {
	color: #7C898C;
}
.sitemap-search input[type="search"]:focus {
	outline: none;
	border-color: #2EFF00;
	box-shadow: 0 0 0 4px rgba(46, 255, 0, .12);
}
.sitemap-search kbd {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	min-width: 24px;
	padding: 2px 6px;
	border: 1px solid #14363E;
	border-radius: 6px;
	background: #001317;
	color: #7C898C;
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	font-family: inherit;
	text-align: center;
	pointer-events: none;
	transition: opacity .2s;
}
.sitemap-search input:focus ~ kbd,
.sitemap-search input:not(:placeholder-shown) ~ kbd {
	opacity: 0;
}
@media (max-width: 639px) {
	.sitemap-search { flex-basis: 100%; }
	.sitemap-search kbd { display: none; }
}
.sitemap-total {
	margin: 0;
	margin-bottom: 0 !important;
	color: #7C898C;
	font-size: 15px;
}
.sitemap-total strong {
	color: #2EFF00;
	font-size: 1.25rem;
	font-weight: 700;
	margin-right: 4px;
}
.sitemap-langs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
	color: #7C898C;
	font-size: 14px;
}
.sitemap-langs a {
	padding: 6px 14px;
	border: 1px solid #14363E;
	border-radius: 30px;
	color: #dddddd;
	transition: border-color .2s, color .2s;
}
.sitemap-langs a:hover,
.sitemap-langs a:focus {
	border-color: #2EFF00;
	color: #2EFF00;
}
@media (max-width: 639px) {
	.sitemap-langs { margin-left: 0; }
}

/* ---------------------------------------- barra de seções (fixa) */
.sitemap-nav {
	position: sticky;
	top: var(--sitemap-offset);
	z-index: 4; /* abaixo do cabeçalho fixo (5): os submenus dele abrem por cima desta barra */
	background: rgba(0, 19, 23, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-top: 1px solid #0f272d;
	border-bottom: 1px solid #0f272d;
}
.sitemap-nav-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 .9375rem;
}
.sitemap-chips {
	display: flex;
	gap: 8px;
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.sitemap-chips::-webkit-scrollbar {
	display: none;
}
.sitemap-chips li {
	flex: none;
}
.sitemap-chips a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border: 1px solid #14363E;
	border-radius: 30px;
	color: #dddddd;
	font-size: 14px;
	white-space: nowrap;
	transition: border-color .2s, color .2s, background .2s;
}
.sitemap-chips a:hover,
.sitemap-chips a:focus {
	border-color: #2EFF00;
	color: #ffffff;
}
.sitemap-chips a.is-active {
	border-color: #2EFF00;
	background: #2EFF00;
	color: #001317;
	font-weight: 700;
}

/* ------------------------------------------------------- seções */
.sitemap-body {
	padding-top: 0;
}
.sitemap-section:first-of-type {
	margin-top: 40px;
}
.sitemap-section {
	padding: 0 .9375rem;
	margin-top: 56px;
	scroll-margin-top: calc(var(--sitemap-offset) + 80px);
}
.sitemap-section-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid #14363E;
}
.sitemap-section-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(46, 255, 0, .1);
	color: #2EFF00;
}
.sitemap-section-head h2 {
	margin: 0;
	font-size: 1.75rem;
	line-height: 1.2;
	font-weight: 500;
}
.sitemap-hub {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	color: #2EFF00;
	font-size: 15px;
	font-weight: 700;
}
.sitemap-hub svg {
	transition: transform .2s;
}
.sitemap-hub:hover,
.sitemap-hub:focus {
	color: #2EFF00;
}
.sitemap-hub:hover svg,
.sitemap-hub:focus svg {
	transform: translateX(3px);
}

/* listas de links */
.sitemap-links {
	list-style: none;
	margin: 0;
}
.sitemap-links-cols {
	columns: 3 220px;
	column-gap: 40px;
}
.sitemap-links li {
	break-inside: avoid;
}
.sitemap-links a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
	color: #dddddd;
	font-size: 1rem;
	line-height: 1.4;
	transition: color .15s;
}
.sitemap-links a svg {
	flex: none;
	margin-top: 5px;
	color: #2EFF00;
	transition: transform .15s;
}
.sitemap-links a:hover,
.sitemap-links a:focus {
	color: #2EFF00;
}
.sitemap-links a:hover svg,
.sitemap-links a:focus svg {
	transform: translateX(2px);
}
.sitemap-links mark {
	padding: 0 1px;
	border-radius: 3px;
	background: rgba(46, 255, 0, .25);
	color: #ffffff;
}

/* grupos (categorias / músculos) que abrem e fecham */
.sitemap-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	align-items: start;
}
@media (max-width: 1023px) {
	.sitemap-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
	.sitemap-groups { grid-template-columns: minmax(0, 1fr); }
}
.sitemap-group {
	/* zera o details/summary global do tema (style-app.css) */
	padding: 0;
	margin: 0;
	border: 1px solid #14363E;
	border-radius: 14px;
	background: #00252E;
	transition: border-color .2s;
}
.sitemap-group[open],
.sitemap-group:hover {
	border-color: #1f4f5a;
}
.sitemap-group summary {
	font-family: inherit;
	text-transform: none;
	font-size: inherit;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 18px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.sitemap-group summary::-webkit-details-marker {
	display: none;
}
.sitemap-group summary::after,
.sitemap-group[open] summary::after {
	content: none;
}
.sitemap-group summary:focus-visible {
	outline: 2px solid #2EFF00;
	outline-offset: 2px;
	border-radius: 14px;
}
.sitemap-group-title {
	flex: 1;
	min-width: 0;
	color: #ffffff;
	font-size: 1.0625rem;
	font-weight: 500;
}
.sitemap-chevron {
	flex: none;
	color: #7C898C;
	transition: transform .2s, color .2s;
}
.sitemap-group[open] .sitemap-chevron {
	transform: rotate(180deg);
	color: #2EFF00;
}
.sitemap-group .sitemap-links {
	padding: 4px 18px 14px;
	border-top: 1px solid #14363E;
	max-height: 560px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #14363E transparent;
}
.sitemap-group[open] .sitemap-links {
	animation: sitemap-open .2s ease;
}
@keyframes sitemap-open {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.sitemap-group[open] .sitemap-links { animation: none; }
}
.sitemap-links .sitemap-group-hub a {
	color: #ffffff;
	font-weight: 700;
}

/* busca sem resultado */
.sitemap-empty {
	margin: 56px 0 0;
	padding: 40px 20px;
	border: 1px dashed #14363E;
	border-radius: 14px;
	color: #7C898C;
	text-align: center;
}

/* voltar ao topo */
.sitemap-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #2EFF00;
	color: #001317;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
	transition: transform .2s;
}
.sitemap-top[hidden] {
	display: none;
}
.sitemap-top:hover,
.sitemap-top:focus {
	color: #001317;
	transform: translateY(-3px);
}
