/* Madusa Agency — cabeçalho transparente e banner principal (ARTISTS BEYOND BORDERS).
   Carregado pelo plugin Madusa Site. */

/* Instagram em branco, sem cor da marca nem fundo */
.madusa-header .wp-block-social-links .wp-social-link {
	color: #fff;
	background: transparent;
}

/* Nas páginas internas o cabeçalho mantém o fundo roxo original */
body:not(.home):not(.madusa-dark) .madusa-header {
	background-color: #21132f !important;
}

/* Na página inicial o cabeçalho flutua sobre o banner */
body.home header.wp-block-template-part:has(.madusa-header) {
	position: absolute;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 20;
}

body.home .madusa-header a,
body.home .madusa-header .wp-block-navigation-item__content {
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Reserva o espaço do cabeçalho para o menu não cobrir o conteúdo */
.madusa-hero {
	position: relative;
	padding-top: 150px;
	padding-bottom: 120px;
}

/* Transição suave da foto para o fundo preto/serpentes abaixo */
.madusa-hero::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	height: 220px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 60%, #000 100%);
	pointer-events: none;
}

.madusa-hero .wp-block-cover__inner-container {
	z-index: 2;
}

/* Título: ARTISTS / BEYOND / BORDERS em Michroma 400 */
.madusa-hero .madusa-hero__title {
	margin: 0;
	color: #fff;
	font-family: "Michroma", sans-serif;
	font-size: clamp(38px, 5.6vw, 88px);
	font-weight: 400;
	font-synthesis: none;
	letter-spacing: 0.01em;
	line-height: 1.02;
	text-transform: uppercase;
	overflow-wrap: normal;
	word-break: keep-all;
}

.madusa-hero .madusa-hero__title mark {
	background: transparent;
	color: #a83eff;
}

.madusa-hero .madusa-hero__text {
	max-width: 26em;
	margin: 28px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-family: "Montserrat", sans-serif;
	font-size: clamp(16px, 1.25vw, 19px);
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.6;
}

/* EXPLORE OUR ARTISTS: cápsula transparente, contorno e texto roxos, seta à direita */
.madusa-hero .madusa-hero__content > .wp-block-buttons {
	margin-top: 36px;
}

.madusa-hero .madusa-hero__cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 15px 30px;
	border: 1.5px solid #a83eff;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: #c27dff;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.madusa-hero .madusa-hero__cta .wp-block-button__link::after {
	content: "";
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c27dff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* !important vence o hover/foco preto que o tema força em todos os botões */
.madusa-hero .madusa-hero__cta .wp-block-button__link:hover,
.madusa-hero .madusa-hero__cta .wp-block-button__link:focus {
	border-color: #a83eff !important;
	background-color: rgba(168, 62, 255, 0.16) !important;
	color: #fff;
}

.madusa-hero .madusa-hero__cta .wp-block-button__link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* Larguras menores: mesma margem lateral das outras seções (34px) */
@media (max-width: 1279px) {
	.madusa-hero {
		padding-right: 34px;
		padding-left: 34px;
	}
}

/* Celular: DJ visível no alto, texto embaixo sobre área escura */
@media (max-width: 781px) {
	.madusa-hero {
		align-items: flex-end;
		padding-top: 130px;
		padding-right: 20px;
		padding-bottom: 72px;
		padding-left: 20px;
	}

	.madusa-hero::after {
		height: 120px;
	}

	.madusa-hero .wp-block-cover__image-background {
		object-position: 92% 40% !important;
	}

	.madusa-hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(12, 5, 20, 0.7) 0%, rgba(12, 5, 20, 0) 18%, rgba(12, 5, 20, 0) 36%, rgba(12, 5, 20, 0.85) 60%, rgba(12, 5, 20, 0.95) 100%) !important;
	}

	.madusa-hero .madusa-hero__content {
		--wp--style--block-gap: 20px;
	}

	/* BORDERS (7 letras) precisa caber na largura sem quebrar a palavra */
	.madusa-hero .madusa-hero__title {
		font-size: clamp(30px, 10.5vw, 52px);
	}

	.madusa-hero .madusa-hero__text {
		margin-top: 18px;
		font-size: 15px;
	}

	.madusa-hero .madusa-hero__content > .wp-block-buttons {
		margin-top: 24px;
	}

	.madusa-hero .madusa-hero__cta .wp-block-button__link {
		padding: 13px 24px;
		font-size: 13px;
	}
}

/* Marca no cabeçalho: símbolo + nome lado a lado, ambos com link para a home.
   A coluna da marca tem largura explícita (símbolo + espaço + nome); com "auto" o
   grupo flex ocupava a linha inteira e espremia o menu. */
.madusa-header .wp-block-columns > .wp-block-column:first-child {
	flex: 0 0 250px !important;
}

.madusa-header .wp-block-columns > .wp-block-column:last-child {
	flex: 1 1 auto !important;
	min-width: 0;
}

.madusa-header .madusa-brand {
	align-items: center;
	flex-wrap: nowrap;
}

.madusa-header .madusa-brand .wp-block-image {
	margin: 0;
	line-height: 0;
}

.madusa-header .madusa-brand a {
	display: block;
	border-radius: 4px;
}

.madusa-header .madusa-brand a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

/* Proporções preservadas: só a largura é definida, a altura acompanha */
.madusa-header .madusa-brand img {
	display: block;
	height: auto !important;
}

@media (min-width: 782px) and (max-width: 1099px) {
	.madusa-header .wp-block-columns > .wp-block-column:first-child {
		flex-basis: 190px !important;
	}

	.madusa-header .madusa-brand {
		gap: 10px;
	}

	.madusa-header .madusa-brand__symbol img {
		width: 46px !important;
	}

	.madusa-header .madusa-brand__name img {
		width: 132px !important;
	}
}

@media (max-width: 781px) {
	.madusa-header .wp-block-columns > .wp-block-column:first-child {
		flex-basis: 164px !important;
	}

	.madusa-header .madusa-brand {
		gap: 9px;
	}

	.madusa-header .madusa-brand__symbol img {
		width: 40px !important;
	}

	.madusa-header .madusa-brand__name img {
		width: 112px !important;
	}
}
