/* ============================================================
   SUPRA. — MÓDULO DE INTEGRAÇÕES DINÂMICAS (ABAS & LOGOS)
   Estilização refinada com padrão Supra Design System
   ============================================================ */

.supra-integracoes-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* ------------------------------------------------------------
   NAVEGAÇÃO DAS ABAS (CATEGORIAS)
   ------------------------------------------------------------ */
.supra-integracoes-wrapper .supra-tabs-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	padding-bottom: 0;
	position: relative;
}

.supra-integracoes-wrapper .supra-tab-btn {
	background: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--venera, 'Venera', 'Inter', sans-serif);
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--cinza-claro, #a8a8ac);
	padding: 0.75rem 1.5rem 1rem;
	position: relative;
	transition: color 250ms ease;
	margin-bottom: -1px;
}

.supra-integracoes-wrapper .supra-tab-btn:hover {
	color: var(--wp--preset--color--base, #ffffff);
}

.supra-integracoes-wrapper .supra-tab-btn.active {
	color: var(--wp--preset--color--base, #ffffff);
	font-weight: 700;
}

/* Barra indicadora vermelha com expansão suave */
.supra-integracoes-wrapper .supra-tab-btn::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--wp--preset--color--vermelho, #ed1c24);
	box-shadow: 0 0 12px rgba(237, 28, 36, 0.6);
	border-radius: 2px;
	opacity: 0;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
}

.supra-integracoes-wrapper .supra-tab-btn.active::after {
	opacity: 1;
	transform: scaleX(1);
}

/* ------------------------------------------------------------
   CONTAINER DO CARD DINÂMICO (SUPRA-CARD BACKGROUND BRANCO)
   ------------------------------------------------------------ */
.supra-integracoes-wrapper .supra-tabs-content-container {
	background: #ffffff !important;
	border-radius: var(--wp--custom--radius--lg, 8px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	position: relative;
	height: auto;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* ------------------------------------------------------------
   GRID/FLEX DE LOGOS (CENTRALIZADO HORIZONTALMENTE / 0 GAP / DISSOLVE)
   ------------------------------------------------------------ */
.supra-integracoes-wrapper .supra-logos-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #ffffff !important;
	opacity: 1;
	transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity;
}

/* Estado de Dissolve suave ao trocar de aba */
.supra-integracoes-wrapper .supra-logos-grid.is-dissolving {
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease-out;
}

/* ------------------------------------------------------------
   ITEM DE LOGO (SEM PADDING / PROPORÇÃO 1:1 / MÍNIMO 120x120px)
   ------------------------------------------------------------ */
.supra-integracoes-wrapper .supra-logo-item {
	flex: 0 0 25%;
	width: 25%;
	min-width: 120px;
	min-height: 120px;
	aspect-ratio: 1 / 1;
	background: #ffffff !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 !important; /* Zero padding conforme solicitado */
	margin: 0 !important;
	box-sizing: border-box;
	position: relative;
	cursor: pointer;
}

.supra-integracoes-wrapper .supra-logo-item.hide {
	display: none !important;
}

/* Efeito P&B Default -> Cor Original no Hover */
.supra-integracoes-wrapper .supra-logo-item img {
	max-width: 75%;
	max-height: 65%;
	width: auto;
	height: auto;
	min-width: 80px;
	object-fit: contain;
	display: block;
	filter: grayscale(100%);
	opacity: 0.65;
	transition: filter 300ms ease, opacity 300ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.supra-integracoes-wrapper .supra-logo-item:hover img {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.08);
}

.supra-integracoes-wrapper .supra-no-logos {
	text-align: center;
	color: #606163;
	font-family: var(--wp--preset--font-family--inter, sans-serif);
	font-size: 0.9375rem;
	font-style: italic;
	padding: 3.5rem 2rem;
	margin: 0;
	width: 100%;
}

/* ------------------------------------------------------------
   RESPONSIVIDADE (TABLET & MOBILE)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
	.supra-integracoes-wrapper .supra-logo-item {
		flex: 0 0 33.333%;
		width: 33.333%;
		min-width: 120px;
		min-height: 120px;
	}
}

@media (max-width: 768px) {
	.supra-integracoes-wrapper .supra-tabs-nav {
		gap: 1rem;
		margin-bottom: 1.75rem;
		flex-wrap: wrap;
	}

	.supra-integracoes-wrapper .supra-tab-btn {
		font-size: 13px;
		padding: 0.5rem 1rem 0.75rem;
	}

	.supra-integracoes-wrapper .supra-logo-item {
		flex: 0 0 50%;
		width: 50%;
		min-width: 120px;
		min-height: 120px;
	}
}