/* Páginas Downloads */

.downloads-page .info-page-intro {
	font-size: 1.02rem;
	line-height: 1.65;
	color: #5a6573;
	margin-bottom: 1.5rem;
	max-width: 52rem;
}

/* —— Index: cartões de navegação —— */
.downloads-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
	.downloads-card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.downloads-card-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.downloads-card-grid {
		grid-template-columns: 1fr;
	}
}

.downloads-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	padding: 1.1rem 1.05rem 1rem;
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	background: linear-gradient(155deg, #fff 0%, #f6f9fc 100%);
	border: 1px solid rgba(78, 172, 255, 0.22);
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
	overflow: hidden;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.downloads-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--dl-accent, #4eacff), var(--dl-accent-deep, #6366f1));
	opacity: 0.85;
}

.downloads-card:hover,
.downloads-card:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(78, 172, 255, 0.38);
	box-shadow: 0 12px 28px rgba(78, 172, 255, 0.14);
	color: inherit;
	text-decoration: none;
}

.downloads-card[data-accent="cyan"] {
	--dl-accent: #4eacff;
	--dl-accent-deep: #2b8ae8;
}

.downloads-card[data-accent="emerald"] {
	--dl-accent: #34d399;
	--dl-accent-deep: #059669;
}

.downloads-card[data-accent="amber"] {
	--dl-accent: #fbbf24;
	--dl-accent-deep: #d97706;
}

.downloads-card[data-accent="violet"] {
	--dl-accent: #a78bfa;
	--dl-accent-deep: #7c3aed;
}

.downloads-card[data-accent="rose"] {
	--dl-accent: #fb7185;
	--dl-accent-deep: #e11d48;
}

.downloads-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 12px;
	font-size: 1rem;
	color: var(--dl-accent-deep, #2b8ae8);
	background: rgba(78, 172, 255, 0.12);
	border: 1px solid rgba(78, 172, 255, 0.22);
}

.downloads-card__title {
	margin: 0;
	font-family: "Roboto Condensed", "Open Sans", sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: #2c3544;
	line-height: 1.3;
}

.downloads-card__text {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #6b7788;
	flex: 1 1 auto;
}

.downloads-card__cta {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--dl-accent-deep, #2b8ae8);
}

/* —— Bloco de download (cliente / patch) —— */
.downloads-action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.15rem 1.35rem;
	padding: 1.35rem 1.4rem;
	margin-bottom: 1.5rem;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(78, 172, 255, 0.1) 0%, #fff 55%, #f8fbff 100%);
	border: 1px solid rgba(78, 172, 255, 0.28);
	box-shadow: 0 8px 28px rgba(78, 172, 255, 0.1);
}

.downloads-action__icon {
	flex-shrink: 0;
	width: 3.25rem;
	height: 3.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	font-size: 1.25rem;
	color: #fff;
	background: linear-gradient(135deg, #4eacff 0%, #6366f1 100%);
	box-shadow: 0 6px 20px rgba(78, 172, 255, 0.35);
}

.downloads-action__content {
	flex: 1 1 14rem;
	min-width: 0;
}

.downloads-action__title {
	margin: 0 0 0.35rem;
	font-family: "Roboto Condensed", "Open Sans", sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #2c3544;
}

.downloads-action__text {
	margin: 0 0 0.85rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #6b7788;
}

.downloads-action__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 1.25rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff !important;
	background: linear-gradient(135deg, #4eacff 0%, #6366f1 100%) !important;
	border: none !important;
	box-shadow: 0 6px 20px rgba(78, 172, 255, 0.32);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.downloads-action__btn:hover,
.downloads-action__btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 26px rgba(78, 172, 255, 0.42);
	color: #fff !important;
}

.downloads-action__btn--outline {
	color: #2b8ae8 !important;
	background: #fff !important;
	border: 1px solid rgba(78, 172, 255, 0.45) !important;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.downloads-action__btn--outline:hover,
.downloads-action__btn--outline:focus-visible {
	color: #1d4ed8 !important;
	background: rgba(78, 172, 255, 0.08) !important;
}

/* —— Passos de instalação —— */
.downloads-steps {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	counter-reset: dl-step;
}

.downloads-steps li {
	position: relative;
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	padding: 0.85rem 1rem;
	margin-bottom: 0.5rem;
	border-radius: 12px;
	border: 1px solid rgba(78, 172, 255, 0.14);
	background: rgba(248, 250, 252, 0.75);
	line-height: 1.55;
	font-size: 0.875rem;
	color: #3d4856;
}

.downloads-steps li:last-child {
	margin-bottom: 0;
}

.downloads-steps li::before {
	counter-increment: dl-step;
	content: counter(dl-step);
	flex-shrink: 0;
	width: 1.65rem;
	height: 1.65rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, #4eacff, #6366f1);
}

/* —— Tabelas requisitos —— */
.downloads-page .info-table-wrap th[scope="row"] {
	width: 32%;
	min-width: 7rem;
	font-weight: 600;
}

.downloads-page .info-table-wrap tbody td {
	line-height: 1.55;
	vertical-align: middle;
}

.downloads-page .info-table-wrap tbody tr:hover td,
.downloads-page .info-table-wrap tbody tr:hover th {
	background: rgba(78, 172, 255, 0.04);
}

/* —— Dicas de segurança —— */
.downloads-tip-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	margin-bottom: 0;
}

@media (max-width: 767.98px) {
	.downloads-tip-grid {
		grid-template-columns: 1fr;
	}
}

.downloads-tip {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1rem 1.05rem;
	border-radius: 12px;
	border: 1px solid rgba(78, 172, 255, 0.18);
	background: linear-gradient(155deg, #fff 0%, #f8fbff 100%);
}

.downloads-tip__icon {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 0.85rem;
	color: #2b8ae8;
	background: rgba(78, 172, 255, 0.12);
}

.downloads-tip__title {
	margin: 0 0 0.25rem;
	font-family: "Roboto Condensed", "Open Sans", sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
	color: #2c3544;
}

.downloads-tip__text {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #6b7788;
}

.downloads-info-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.9rem 1.05rem;
	margin-top: 1.5rem;
	border-radius: 12px;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #1e40af;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border: 1px solid rgba(78, 172, 255, 0.28);
}

.downloads-action + .downloads-info-notice {
	margin-top: 0;
	margin-bottom: 0.25rem;
}

.downloads-info-notice__icon {
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 0.85rem;
	color: #1d4ed8;
	background: rgba(78, 172, 255, 0.15);
}

/* —— Print Auto Patch Odin (GRF Custom) —— */
.downloads-shot {
	margin: 0 0 0.25rem;
	padding: 0.85rem;
	border-radius: 14px;
	background: linear-gradient(155deg, #fff 0%, #f6f9fc 100%);
	border: 1px solid rgba(78, 172, 255, 0.22);
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
	text-align: center;
}

.downloads-shot img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 420px;
	margin: 0 auto;
	border-radius: 10px;
	object-fit: contain;
	background: #1a1d24;
}

.downloads-shot figcaption {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #5a6573;
}

.downloads-page .downloads-info-notice + .info-section-title {
	margin-top: 1.5rem;
}

@media (max-width: 767.98px) {
	.downloads-shot img {
		max-height: 280px;
	}
}
