/* ── Global: prevent any element from causing horizontal scroll ── */
html {
	overflow-x: clip;
}

/* ── Grid ──────────────────────────────────────────────────────── */
.scg-gerentes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	width: 100%;
	box-sizing: border-box;
}

/* ── Card (V2 — sem retrato, borda turquesa) ───────────────────── */
.scg-gerentes-card {
	background: #fff;
	border: 1px solid #24bece;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
}

.scg-card-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.scg-card-nome {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.3;
	color: #b73297;
	margin: 0;
}

.scg-card-cargo {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	color: #757575;
	margin: 0;
}

.scg-card-btn {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 8px 24px;
	border: 2px solid #b73297;
	border-radius: 48px;
	background: transparent;
	color: #b73297;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.5;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.scg-card-btn:hover,
.scg-card-btn:focus-visible {
	background: #b73297;
	color: #fff;
	outline: none;
}

/* ── Modal overlay ─────────────────────────────────────────────── */
.scg-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(84, 11, 66, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.scg-modal-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* ── Modal wrapper (sizing + close button anchor) ──────────────── */
.scg-modal-wrapper {
	position: relative;
	width: 560px;
	max-width: calc(100vw - 48px);
}

/* ── Modal card ────────────────────────────────────────────────── */
.scg-modal-card {
	background: #fff;
	border-radius: 24px;
	padding: 40px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	gap: 24px;
	box-shadow: 0 16px 20px rgba(0, 0, 0, 0.2);
	overflow-y: auto;
}

/* ── Modal identity ────────────────────────────────────────────── */
.scg-modal-identity {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.scg-modal-nome {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.3;
	color: #b73297;
	margin: 0;
}

.scg-modal-cargo {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	color: #757575;
	margin: 0;
}

.scg-modal-wrapper .scg-modal-close {
	position: absolute;
	top: -20px;
	right: 0;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background: #f4f9fc;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	z-index: 1;
	color: inherit;
	box-shadow: none;
}

.scg-modal-wrapper .scg-modal-close:hover,
.scg-modal-wrapper .scg-modal-close:focus-visible {
	background: #e2eef5;
	outline: none;
}

/* ── Divider ───────────────────────────────────────────────────── */
.scg-modal-divider {
	border: none;
	border-top: 1px solid #e6e6e6;
	margin: 0;
}

/* ── Channels list ─────────────────────────────────────────────── */
.scg-modal-channels {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.scg-channel-row {
	display: flex;
	align-items: center;
	gap: 16px;
}

.scg-channel-icon {
	width: 36px;
	height: 36px;
	border-radius: 18px;
	background: #f4f9fc;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.scg-channel-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.scg-channel-label {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	color: #757575;
	margin: 0;
}

.scg-channel-value {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	color: #b73297;
	margin: 0;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
}

a.scg-channel-value:hover {
	text-decoration: underline;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.scg-gerentes-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.scg-gerentes-grid {
		grid-template-columns: 1fr;
	}

	.scg-modal-card {
		padding: 32px 24px;
	}
}
