/**
 * Dossier de presse — une page de papier.
 *
 * Fond clair, encre presque noire, une seule couleur : l'accent du groupe.
 * Une grande typographie serrée pour le nom, du blanc autour de tout le
 * reste. Le poids des sélecteurs (.epk-body devant) protège la page des
 * feuilles du thème que wp_head() pourrait charger.
 */

.epk-body {
	--ink: #111214;
	--ink-2: #4a4c52;
	--ink-3: #8a8c92;
	--paper: #fbfaf7;
	--card: #ffffff;
	--rule: #e8e5de;
	--accent: var(--epk-accent, #e4573d);
	--r: 14px;
	--w: 72rem;
	--sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.epk-body *, .epk-body *::before, .epk-body *::after { box-sizing: border-box; }
.epk-body h1, .epk-body h2, .epk-body p, .epk-body ul, .epk-body figure, .epk-body blockquote { margin: 0; padding: 0; }
.epk-body ul { list-style: none; }
.epk-body a { color: inherit; }
.epk-body img { display: block; max-width: 100%; }
.epk-body :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.epk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.epk-eyebrow {
	color: var(--accent);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.epk-label {
	color: var(--ink-3);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: .4rem !important;
}

/* ---------- boutons ---------- */

.epk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 44px;
	padding: .6rem 1.2rem;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: var(--card);
	color: var(--ink) !important;
	font: inherit;
	font-size: .92rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.epk-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.epk-btn:active { transform: translateY(0) scale(.98); }
.epk-btn--main { background: var(--ink); border-color: var(--ink); color: var(--paper) !important; }
.epk-btn--main:hover { box-shadow: 0 8px 24px -10px rgba(17, 18, 20, .5); }
.epk-btn--sm { min-height: 36px; padding: .4rem .95rem; font-size: .84rem; }
.epk-btn--lg { min-height: 54px; padding: .8rem 1.6rem; font-size: 1.02rem; }

/* ---------- barre ---------- */

.epk-top {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 2rem;
	max-width: calc(var(--w) + 3rem);
	margin: 0 auto;
	padding: .9rem 1.5rem;
	background: color-mix(in srgb, var(--paper) 86%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.epk-top__brand { font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-decoration: none; }
.epk-top__nav { display: flex; gap: 1.5rem; margin-right: auto; }
.epk-top__nav a { color: var(--ink-2); font-size: .88rem; text-decoration: none; transition: color .15s ease; }
.epk-top__nav a:hover { color: var(--ink); }

/* ---------- ouverture ---------- */

.epk { max-width: calc(var(--w) + 3rem); margin: 0 auto; padding: 0 1.5rem; }

.epk-hero {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.epk-hero--plain { grid-template-columns: 1fr; max-width: 46rem; }

.epk-hero__media {
	aspect-ratio: 4 / 5;
	border-radius: var(--r);
	overflow: hidden;
	background: var(--rule);
	box-shadow: 0 30px 60px -30px rgba(17, 18, 20, .35);
}

.epk-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.epk-hero__logo { max-height: 4.5rem; width: auto; margin-bottom: 1.75rem; }

.epk-hero__name {
	margin: .5rem 0 .75rem !important;
	font-size: clamp(2.8rem, 7vw, 5.6rem);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: .92;
	overflow-wrap: anywhere;
}

.epk-hero__meta { color: var(--ink-2); font-size: 1rem; }

.epk-hero__pitch {
	margin-top: 1.5rem !important;
	font-size: clamp(1.15rem, 1.8vw, 1.4rem);
	line-height: 1.45;
	letter-spacing: -.01em;
	max-width: 32ch;
	text-wrap: pretty;
}

.epk-hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }

.epk-socials { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.75rem !important; }
.epk-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); transition: background-color .15s ease, color .15s ease; }
.epk-socials a:hover { background: var(--card); color: var(--ink); }
.epk-socials svg, .epk-pill svg { width: 18px; height: 18px; }

/* ---------- actualité ---------- */

.epk-news {
	display: flex;
	gap: 1rem;
	align-items: baseline;
	margin-bottom: clamp(3rem, 7vw, 5rem);
	padding: 1.1rem 1.4rem;
	border-radius: var(--r);
	background: color-mix(in srgb, var(--accent) 9%, var(--card));
}

.epk-news__tag {
	flex: none;
	padding: .15rem .6rem;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* ---------- sections ---------- */

.epk-section {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
	border-top: 1px solid var(--rule);
	scroll-margin-top: 4rem;
}

.epk-h2 {
	margin-bottom: 1.5rem !important;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 750;
	letter-spacing: -.03em;
	line-height: 1.1;
}

.epk-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.epk-note { color: var(--ink-3); font-size: .86rem; margin-bottom: 1.5rem !important; }
.epk-caption { margin-top: .8rem !important; color: var(--ink-2); font-size: .92rem; }

/* Lecteurs : AAP_Embed pose .aap-media ; on lui donne sa forme ici. */
.epk-body .aap-media { position: relative; width: 100%; height: var(--aap-h, 400px); border-radius: var(--r); overflow: hidden; background: var(--rule); }
.epk-body .aap-media--ratio { height: auto; aspect-ratio: var(--aap-ratio, 16 / 9); }
.epk-body .aap-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.epk-body .aap-media-link { display: inline-flex; gap: .6rem; padding: 1rem 1.3rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--rule); text-decoration: none; }
.epk-body .aap-media-link__provider { font-weight: 700; }

.epk-player .aap-media:not(.aap-media--ratio) { max-height: 420px; }
.epk-video { max-width: 60rem; }

.epk-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem !important; }
.epk-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .15s ease; }
.epk-pill:hover { border-color: var(--ink); }

.epk-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: 1.25rem !important; }
.epk-links a { color: var(--ink-2); font-size: .92rem; text-underline-offset: 3px; }

/* ---------- bio ---------- */

.epk-section--bio { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }

.epk-bio__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }

.epk-copy {
	padding: .3rem .8rem;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: transparent;
	color: var(--ink-2);
	font: inherit;
	font-size: .78rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}

.epk-copy:hover { border-color: var(--ink); color: var(--ink); }
.epk-copy.is-done { border-color: var(--accent); color: var(--accent); }

.epk-prose { max-width: 62ch; font-size: 1.06rem; line-height: 1.7; color: #26282c; }
.epk-prose p + p { margin-top: 1em !important; }
.epk-prose--sm { font-size: .96rem; }

.epk-more { margin-top: 1.5rem; }
.epk-more summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .94rem; list-style: none; }
.epk-more summary::-webkit-details-marker { display: none; }
.epk-more summary::after { content: " ↓"; }
.epk-more[open] summary::after { content: " ↑"; }
.epk-more .epk-prose { margin-top: 1.25rem; }

.epk-short { margin-top: 2rem; padding: 1.25rem 1.4rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--rule); }
.epk-short p:last-child { color: var(--ink-2); font-size: .96rem; }

.epk-facts { display: grid; gap: 1.75rem; align-content: start; padding-top: .4rem; }
.epk-facts p { color: var(--ink-2); font-size: .96rem; }

/* ---------- line-up ---------- */

.epk-lineup { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .75rem; }
.epk-lineup li { display: grid; gap: .15rem; padding: 1.2rem 1.3rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.epk-lineup__name { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.epk-lineup__role { color: var(--ink-3); font-size: .92rem; }

/* ---------- discographie ---------- */

.epk-disco { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.75rem 1.25rem; }
.epk-release { display: grid; gap: .15rem; text-decoration: none; }
.epk-release__cover { display: block; aspect-ratio: 1; margin-bottom: .7rem; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--rule), color-mix(in srgb, var(--accent) 25%, var(--rule))); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease; }
.epk-release__cover img { width: 100%; height: 100%; object-fit: cover; }
a.epk-release:hover .epk-release__cover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(17, 18, 20, .45); }
.epk-release__title { font-weight: 700; line-height: 1.3; }
.epk-release__meta { color: var(--ink-3); font-size: .86rem; }

/* ---------- scène, presse ---------- */

.epk-section--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: clamp(2rem, 6vw, 5rem); }
.epk-section--split .epk-h2 + ul + .epk-h2 { margin-top: 2.5rem !important; }

.epk-dates li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.epk-dates time { font-weight: 700; font-variant-numeric: tabular-nums; }
.epk-dates span { color: var(--ink-2); }

.epk-highlights li { position: relative; padding: .55rem 0 .55rem 1.25rem; color: var(--ink-2); }
.epk-highlights li::before { content: ""; position: absolute; left: 0; top: 1.2em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.epk-quote { padding: 0 0 1.75rem; }
.epk-quote + .epk-quote { padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.epk-quote p { font-size: 1.25rem; line-height: 1.45; letter-spacing: -.01em; text-wrap: pretty; }
.epk-quote p::before { content: "« "; color: var(--accent); }
.epk-quote p::after { content: " »"; color: var(--accent); }
.epk-quote cite { display: block; margin-top: .6rem; color: var(--ink-3); font-style: normal; font-size: .88rem; font-weight: 600; }

/* ---------- photos ---------- */

.epk-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.epk-photo { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--rule); }
.epk-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.epk-photo:hover img { transform: scale(1.03); }
.epk-photo__dl { position: absolute; right: .7rem; bottom: .7rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(17, 18, 20, .78); color: #fff; font-size: .74rem; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.epk-photo:hover .epk-photo__dl, .epk-photo:focus-visible .epk-photo__dl { opacity: 1; transform: translateY(0); }
.epk-photo__credit { display: block; margin-top: .45rem; color: var(--ink-3); font-size: .8rem; }

/* ---------- documents ---------- */

.epk-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: .75rem; }
.epk-doc { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.epk-doc:hover { border-color: var(--ink); transform: translateY(-1px); }
.epk-doc__ext { flex: none; padding: .2rem .45rem; border-radius: 5px; background: var(--ink); color: var(--paper); font-size: .66rem; font-weight: 800; letter-spacing: .04em; }
.epk-doc__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.epk-doc__name { font-weight: 600; }
.epk-doc__note { color: var(--ink-3); font-size: .82rem; line-height: 1.35; }
.epk-doc__size { margin-left: auto; color: var(--ink-3); font-size: .82rem; white-space: nowrap; }
.epk-doc__dl { color: var(--accent); font-weight: 700; }
.epk-lede { margin: -.4rem 0 1.2rem; color: var(--ink-3); max-width: 40rem; }

.epk-inquiries {
	margin-top: 3rem;
	padding: 2.5rem 0 1rem;
	border-top: 1px solid var(--rule);
}
.epk-inquiries .epk-h2 { margin-bottom: 1.25rem; }
.epk-inquiries__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1.25rem;
}
.epk-inquiry {
	padding: 1.1rem 1.15rem;
	border: 1px solid var(--rule);
	border-radius: var(--r);
	background: var(--card);
}
.epk-inquiry__label {
	margin: 0 0 .45rem;
	color: var(--accent);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.epk-inquiry__who { margin: 0 0 .55rem; font-size: .92rem; line-height: 1.4; color: var(--ink-2); }
.epk-inquiry__mail,
.epk-inquiry__tel {
	display: block;
	margin-top: .25rem;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	word-break: break-all;
}
.epk-inquiry__mail:hover,
.epk-inquiry__tel:hover { color: var(--accent); }

/* ---------- contact ---------- */

.epk-contact {
	margin: clamp(1rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
	padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
	border-radius: calc(var(--r) * 1.6);
	background: var(--ink);
	color: var(--paper);
	scroll-margin-top: 4rem;
}

.epk-contact__title { margin: .6rem 0 .4rem !important; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.epk-contact__who { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.epk-contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.epk-contact .epk-btn { background: transparent; border-color: color-mix(in srgb, var(--paper) 30%, transparent); color: var(--paper) !important; }
.epk-contact .epk-btn:hover { border-color: var(--paper); }
.epk-contact .epk-btn--main { background: var(--accent); border-color: var(--accent); color: #fff !important; }

.epk-foot { display: flex; justify-content: center; gap: .6rem; padding: 0 1.5rem 3rem; color: var(--ink-3); font-size: .84rem; }
.epk-foot a { text-decoration: none; }
.epk-foot a:hover { color: var(--ink); }

/* ---------- accès protégé ---------- */

.epk-gate { display: grid; place-items: center; min-height: 100dvh; padding: 1.5rem; }
.epk-gate__card { width: 100%; max-width: 26rem; padding: 2.5rem 2rem; border-radius: calc(var(--r) * 1.4); background: var(--card); border: 1px solid var(--rule); box-shadow: 0 30px 60px -40px rgba(17, 18, 20, .4); }
.epk-gate__title { margin: .5rem 0 .6rem !important; font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.epk-gate__lede { color: var(--ink-2); font-size: .95rem; }
.epk-gate__error { margin-top: 1rem !important; color: #b3261e; font-size: .9rem; font-weight: 600; }
.epk-gate__row { display: flex; gap: .5rem; margin-top: 1.5rem; }
.epk-gate__row input { flex: 1; min-width: 0; min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.epk-gate__row input:focus { outline: none; border-color: var(--ink); }

/* ---------- petits écrans ---------- */

@media (max-width: 800px) {
	.epk-body { font-size: 16px; }
	.epk-top { gap: 1rem; padding: .75rem 1rem; }
	.epk-top__nav { display: none; }
	.epk-top .epk-btn { margin-left: auto; }
	.epk { padding: 0 1rem; }
	.epk-hero { grid-template-columns: 1fr; padding-top: .5rem; }
	.epk-hero__media { aspect-ratio: 4 / 3; }
	.epk-section--bio { grid-template-columns: 1fr; }
	.epk-news { flex-direction: column; gap: .6rem; }
	.epk-dates li { grid-template-columns: 6.5rem 1fr; }
	.epk-disco { grid-template-columns: repeat(2, 1fr); }
	.epk-contact__actions .epk-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.epk-body * { transition: none !important; }
}
