/**
 * MUNDOSEG Hub — estilos institucionais e slots de mídia.
 */

:root {
	--mundoseg-placeholder-border: #cbd5e1;
	--mundoseg-placeholder-bg: #f1f5f9;
	--mundoseg-placeholder-text: #64748b;
}

/* Slots de imagem / logo — substituir mídia real depois */
.mundoseg-logo-slot img,
.mundoseg-image-slot img {
	display: block;
	max-width: 100%;
	height: auto;
}

.mundoseg-image-slot {
	margin: 0;
}

.mundoseg-image-slot img {
	border: 2px dashed var(--mundoseg-placeholder-border);
	border-radius: 8px;
	background: var(--mundoseg-placeholder-bg);
}

.mundoseg-logo-slot img {
	border: 2px dashed rgba(37, 99, 235, 0.35);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
}

.mundoseg-footer .mundoseg-logo-slot img {
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
}

.mundoseg-placeholder-label {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--mundoseg-placeholder-bg);
	color: var(--mundoseg-placeholder-text);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* Seções */
.mundoseg-section {
	padding-top: var(--wp--preset--spacing--70, 4rem);
	padding-bottom: var(--wp--preset--spacing--70, 4rem);
}

.mundoseg-section--hero {
	padding-top: var(--wp--preset--spacing--80, 5rem);
	padding-bottom: var(--wp--preset--spacing--80, 5rem);
}

.mundoseg-section--cta {
	border-radius: 12px;
}

.mundoseg-card {
	border: 1px solid var(--wp--preset--color--surface-dark, #e2e8f0);
	border-radius: 10px;
	padding: var(--wp--preset--spacing--50, 2rem);
	background: var(--wp--preset--color--white, #fff);
	height: 100%;
}

.mundoseg-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: var(--wp--preset--color--secondary, #2563eb);
	color: #fff;
	font-weight: 700;
	margin-bottom: 1rem;
}

/* Formulário placeholder */
.mundoseg-form-slot {
	border: 2px dashed var(--mundoseg-placeholder-border);
	border-radius: 10px;
	padding: 2rem;
	background: var(--mundoseg-placeholder-bg);
}

.mundoseg-form-slot__field {
	height: 44px;
	border: 1px solid #dbeafe;
	border-radius: 6px;
	background: #fff;
	margin-bottom: 1rem;
}

.mundoseg-form-slot__textarea {
	height: 120px;
}

.mundoseg-form-slot__note {
	margin: 0;
	color: var(--mundoseg-placeholder-text);
	font-size: 0.875rem;
}

/* Header sticky leve */
.mundoseg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 rgba(15, 39, 68, 0.08);
}

.mundoseg-footer h4 {
	margin-bottom: 1rem;
}

.mundoseg-footer .wp-block-navigation .wp-block-navigation-item__content {
	color: rgba(255, 255, 255, 0.92);
}

.mundoseg-footer .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: #fff;
}

/* Canais / marketplaces */
.mundoseg-channels-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	max-width: 960px;
	margin: 2rem auto 0;
}

.mundoseg-channel-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 148px;
	padding: 1.25rem 1rem;
	border: 1px solid var(--wp--preset--color--surface-dark, #e2e8f0);
	border-radius: 10px;
	background: var(--wp--preset--color--white, #fff);
	text-align: center;
}

.mundoseg-channel-card--more {
	border-style: dashed;
	background: var(--mundoseg-placeholder-bg);
}

.mundoseg-channel-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 120px;
	min-height: 48px;
	margin-bottom: 0.25rem;
}

.mundoseg-channel-card__logo img {
	border-radius: 6px;
}

.mundoseg-channel-card__logo--icon {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--wp--preset--color--secondary, #2563eb);
	border: 2px dashed var(--mundoseg-placeholder-border);
	border-radius: 8px;
	width: 64px;
	height: 48px;
}

.mundoseg-channel-card__name {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--primary, #0f2744);
	line-height: 1.3;
}

.mundoseg-channel-card__status {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--mundoseg-placeholder-text);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.mundoseg-section--channels {
	border-top: 1px solid var(--wp--preset--color--surface-dark, #e2e8f0);
	border-bottom: 1px solid var(--wp--preset--color--surface-dark, #e2e8f0);
}

@media (max-width: 781px) {
	.mundoseg-section {
		padding-top: var(--wp--preset--spacing--60, 3rem);
		padding-bottom: var(--wp--preset--spacing--60, 3rem);
	}
}
