/*
Theme Name: Pink It Black
Description: Thème en blocs de la fanfare Pink It Black : ciel étoilé fixe sous tout le site, rose et noir.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: pinkitblack
*/

/* ---------- Ciel étoilé fixe sous tout le site (y compris sous le menu) ---------- */
body {
	position: relative;
	min-height: 100vh;
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(13, 7, 16, .35) 0%, rgba(13, 7, 16, .15) 40%, rgba(13, 7, 16, .55) 100%),
		url("assets/images/fond.jpg") center center / cover no-repeat;
}
.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.wp-site-blocks > main { flex: 1 0 auto; }

/* ---------- En-tête ---------- */
.pib-header {
	padding-top: 14px;
	padding-bottom: 14px;
	background: transparent;
}
.pib-header .wp-block-site-logo img {
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5));
}
.pib-nav {
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: .9rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.pib-nav .wp-block-navigation-item__content {
	color: #fff;
	padding: 6px 2px;
	border-bottom: 2px solid transparent;
	transition: color .2s, border-color .2s;
}
.pib-nav .wp-block-navigation-item__content:hover,
.pib-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--rose-pale);
	border-bottom-color: var(--wp--preset--color--rose);
}
.pib-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: linear-gradient(160deg, #1c0b26 0%, #0d0710 100%) !important;
	color: #fff !important;
}
.pib-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.4rem;
}

/* ---------- Panneau de contenu (pages intérieures) ---------- */
.pib-panel {
	background: rgba(13, 7, 16, .74);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 179, 217, .12);
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
	padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 48px) !important;
	margin-top: clamp(8px, 2vw, 24px);
	margin-bottom: clamp(32px, 5vw, 64px);
}
.pib-panel .wp-block-post-title {
	text-align: center;
	margin-top: 0;
	background: linear-gradient(90deg, #ffb3d9, #ff2d95);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.pib-panel img { border-radius: 10px; }

/* ---------- Accueil ---------- */
.pib-hero {
	padding-top: clamp(16px, 4vw, 40px);
	padding-bottom: clamp(32px, 6vw, 72px);
	text-align: center;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.pib-hero h1 { margin-bottom: .1em; }
.pib-hero .pib-baseline {
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: 0;
}
.pib-hero .wp-block-embed iframe {
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

/* ---------- Notre histoire ---------- */
.pib-histoire .wp-block-columns { margin-bottom: clamp(24px, 4vw, 48px); }
.pib-histoire .wp-block-image img { width: 100%; height: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }

/* ---------- Tracks ---------- */
.pib-track {
	background: linear-gradient(90deg, rgba(255, 45, 149, .18), rgba(13, 7, 16, .2));
	border-left: 3px solid var(--wp--preset--color--rose);
	border-radius: 10px;
	padding: 10px 16px;
	gap: 16px;
}
.pib-track p { margin: 0; font-weight: 600; font-family: var(--wp--preset--font-family--space-grotesk); }
.pib-track .wp-block-audio { margin: 0; flex: 0 1 340px; }
.pib-track audio { width: 100%; }
@media (max-width: 600px) {
	.pib-track { flex-direction: column; align-items: stretch !important; }
	.pib-track .wp-block-audio { flex-basis: auto; }
}

/* ---------- Article (prestation) ---------- */
.pib-date-badge {
	display: inline-block;
	background: var(--wp--preset--gradient--rose-noir);
	border: 1px solid rgba(255, 179, 217, .35);
	border-radius: 999px;
	padding: 4px 16px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	font-size: .85rem;
}

/* ---------- Pied de page ---------- */
.pib-footer {
	background: rgba(13, 7, 16, .82);
	border-top: 1px solid rgba(255, 45, 149, .35);
	padding-top: 20px;
	padding-bottom: 20px;
	margin-top: 0;
}
.pib-footer p { margin: 0; opacity: .8; }
