/* Planétarium de Mailly-le-Château : style C « Cosmos en famille ».
   Jetons dans tokens.css. Cartes et panneaux à angles droits, boutons et étiquettes en pilule. */

/* ---------- Polices (auto-hébergées, licence SIL OFL) ---------- */
@font-face {
	font-family: "Fredoka";
	src: url("../fonts/fredoka-latin-wght.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Nunito";
	src: url("../fonts/nunito-latin-wght.woff2") format("woff2");
	font-weight: 200 1000;
	font-style: normal;
	font-display: swap;
}

/* ---------- Base ---------- */
:root {
	--pmc-ink-soft: #2E4A66;
	--pmc-night-2: #13365A;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--pmc-bg);
	color: var(--pmc-night);
	font-family: var(--pmc-font-body);
	font-size: var(--pmc-text-lg);
	line-height: 1.55;
}
img, svg { max-width: 100%; }
/* A text wraps only at the edge of its block; the browser avoids a last line of one lonely word when it can. */
p, li, dd, summary, figcaption, label { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
img { height: auto; }
a { color: var(--pmc-night); text-underline-offset: 0.18em; }
a:hover { color: var(--pmc-logo-blue); }
h1, h2, h3 { font-family: var(--pmc-font-display); line-height: 1.1; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--pmc-logo-blue); outline-offset: 3px; }
.pmc-hero :focus-visible, .pmc-banner :focus-visible, .pmc-block--night :focus-visible,
.pmc-footer :focus-visible, .pmc-course :focus-visible { outline-color: var(--pmc-yellow); }
[id] { scroll-margin-top: 24px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.pmc-skip {
	position: absolute; left: 16px; top: -80px; z-index: 100;
	padding: 12px 20px; border-radius: var(--pmc-radius-pill);
	background: var(--pmc-yellow); color: var(--pmc-night); font-weight: 700;
}
.pmc-skip:focus { top: 12px; }

.pmc-wrap { max-width: var(--pmc-container); margin: 0 auto; padding: 0 24px; }
.pmc-section { padding-top: 64px; }
.pmc-section--tight { padding-top: 24px; }
.pmc-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pmc-title { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: var(--pmc-h2); }
.pmc-title--sm { font-size: clamp(28px, 3.2vw, 40px); }
.pmc-star { flex: 0 0 auto; }
.pmc-more { font-weight: 700; }
.pmc-more--light { color: var(--pmc-white); }
.pmc-more--light:hover { color: var(--pmc-yellow); }
.pmc-note { margin-top: 12px; font-size: var(--pmc-text-sm); font-weight: 600; color: var(--pmc-muted); }
.pmc-todo { background: var(--pmc-tint-yellow); color: var(--pmc-night); font-weight: 700; padding: 1px 6px; }

/* ---------- Étoiles scintillantes ---------- */
.pmc-sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pmc-twinkle { animation: pmc-twinkle 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pmc-twinkle--b { animation-delay: 1.2s; }
.pmc-twinkle--c { animation-delay: 2.4s; }
@keyframes pmc-twinkle {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.35; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) {
	.pmc-twinkle { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Boutons, étiquettes ---------- */
.pmc-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: var(--pmc-touch); padding: 0 20px;
	border: 2px solid transparent; border-radius: var(--pmc-radius-pill);
	font-family: var(--pmc-font-display); font-weight: 600; font-size: 16px; line-height: 1.2;
	text-decoration: none; cursor: pointer; text-align: center;
}
.pmc-btn--primary { background: var(--pmc-coral); color: var(--pmc-night); }
.pmc-btn--primary:hover { background: var(--pmc-yellow); color: var(--pmc-night); }
.pmc-btn--night { background: var(--pmc-night); color: var(--pmc-white); }
.pmc-btn--night:hover { background: var(--pmc-logo-blue); color: var(--pmc-white); }
.pmc-btn--ghost { border-color: var(--pmc-white); color: var(--pmc-white); }
.pmc-btn--ghost:hover { background: var(--pmc-white); color: var(--pmc-night); }
.pmc-btn--lg { min-height: 52px; padding: 0 28px; font-size: 18px; }
.pmc-btn--xl { min-height: 56px; padding: 0 30px; font-size: 19px; }

.pmc-tag {
	display: inline-block; align-self: flex-start; padding: 4px 14px;
	border-radius: var(--pmc-radius-pill); color: var(--pmc-night);
	font-size: 14px; font-weight: 700; line-height: 1.5;
}
/* The label that opens a section of a page (cards keep the small one). */
p.pmc-tag { padding: 6px 18px; font-size: 17px; }
.pmc-tag--yellow { background: var(--pmc-yellow); }
.pmc-tag--white { background: var(--pmc-white); }
.pmc-tag--tint-mint { background: var(--pmc-tint-mint); }

/* ---------- En-tête ---------- */
.pmc-header-wrap { padding-top: 20px; position: relative; z-index: 20; }
.pmc-header {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
	padding: 20px 16px 20px 26px; background: var(--pmc-white); border-radius: var(--pmc-radius-pill);
}
.pmc-header__logo { display: flex; align-items: center; }
/* The word « PLANÉTARIUM » of the logo sits on the line of the menu: the arc rises above it, the small line hangs below. */
.pmc-header__logo img { display: block; height: 62px; width: auto; transform: translateY(-22%); }
.pmc-nav { display: flex; align-items: center; gap: 6px 22px; font-weight: 700; font-size: 15px; }
.pmc-menu { display: flex; align-items: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.pmc-menu a { display: inline-flex; align-items: center; min-height: var(--pmc-touch); text-decoration: none; white-space: nowrap; }
.pmc-menu .current-menu-item > a, .pmc-menu .current-page-ancestor > a { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--pmc-coral); text-underline-offset: 6px; }
.pmc-nav__cta { min-height: 48px; padding: 0 24px; font-size: 17px; }
.pmc-burger {
	display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px;
	border: 2px solid var(--pmc-night); border-radius: var(--pmc-radius-pill);
	background: var(--pmc-white); color: var(--pmc-night);
	font-family: var(--pmc-font-display); font-weight: 600; font-size: 16px; cursor: pointer;
}
.pmc-burger__bars, .pmc-burger__bars::before, .pmc-burger__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; content: ""; position: relative;
}
.pmc-burger__bars::before { position: absolute; top: -6px; }
.pmc-burger__bars::after { position: absolute; top: 6px; }

/* Wide screens: the links of the menu sit in the middle of the room left between the logo and « Réserver ». */
@media (min-width: 1101px) {
	.pmc-nav { flex: 1 1 auto; }
	.pmc-menu { flex: 1 1 auto; justify-content: center; }
}


@media (max-width: 1100px) {
	.pmc-burger { display: inline-flex; }
	.pmc-nav {
		display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
		flex-direction: column; align-items: stretch; gap: 4px; padding: 16px;
		background: var(--pmc-white); border: 2px solid var(--pmc-night); font-size: 17px;
	}
	.pmc-nav.is-open { display: flex; }
	.pmc-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.pmc-menu a { display: flex; min-height: 48px; padding: 0 8px; border-bottom: 1px solid var(--pmc-border); }
	.pmc-nav__cta { margin-top: 12px; }
}

/* ---------- Bandeau d'accueil ---------- */
.pmc-hero-wrap, .pmc-banner-wrap { margin-top: 20px; }
.pmc-hero {
	position: relative; overflow: hidden; border-radius: 40px;
	background: var(--pmc-night); color: var(--pmc-white);
	padding: clamp(28px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.pmc-hero__text { position: relative; flex: 1 1 520px; min-width: 0; }
.pmc-hero__text .pmc-tag { margin-bottom: 18px; padding: 6px 14px; }
.pmc-hero h1 { font-weight: 700; font-size: clamp(40px, 6vw, 80px); line-height: 1.02; }
/* The white logo heads the block, centred; it takes the whole first line and the row gap is tightened under it. */
.pmc-hero__logo { position: relative; flex: 0 0 100%; display: flex; justify-content: center; margin: -34px 0 -4px; }
.pmc-hero__logo img { display: block; height: 118px; width: auto; }
.pmc-hero__lead { margin-top: 24px; font-size: 19px; color: var(--pmc-light-on-night); }
.pmc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pmc-chips { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pmc-chip { padding: 8px 16px; border-radius: var(--pmc-radius-pill); color: var(--pmc-night); font-weight: 700; }
.pmc-chip--yellow { background: var(--pmc-yellow); }
.pmc-chip--mint { background: var(--pmc-mint); }
.pmc-chip--coral { background: var(--pmc-coral); }
.pmc-chip--white { background: var(--pmc-white); }
.pmc-hero__art { position: relative; flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.pmc-hero__scene { position: relative; width: 100%; max-width: 440px; }
.pmc-planet { display: block; width: 100%; height: auto; }
.pmc-hero__major { position: absolute; left: -10px; bottom: -36px; height: 52%; width: auto; }
.pmc-hero__ursa { position: absolute; right: -6px; bottom: -36px; height: 46%; width: auto; }

/* ---------- Bandeau des pages ---------- */
.pmc-banner {
	position: relative; overflow: hidden; background: var(--pmc-night); color: var(--pmc-white);
	padding: clamp(28px, 4.5vw, 56px); padding-right: clamp(28px, 22vw, 300px); min-height: 220px;
	display: flex; align-items: center;
}
.pmc-banner__text { position: relative; min-width: 0; }
.pmc-banner__text .pmc-tag { margin-bottom: 14px; }
.pmc-banner h1 { font-weight: 700; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; }
.pmc-banner__lead { margin-top: 18px; font-size: 19px; color: var(--pmc-light-on-night); }
.pmc-banner__back { margin-bottom: 14px; font-weight: 700; font-size: 15px; }
.pmc-banner__back a { color: var(--pmc-light-on-night); display: inline-flex; align-items: center; min-height: var(--pmc-touch); gap: 6px; }
.pmc-banner__back a:hover { color: var(--pmc-yellow); }
.pmc-banner__planet { position: absolute; right: 12px; top: 50%; width: clamp(120px, 20vw, 260px); transform: translateY(-50%); }
.pmc-banner__mascot { position: absolute; right: clamp(8px, 4vw, 60px); bottom: -16px; height: clamp(110px, 16vw, 190px); width: auto; }

/* ---------- Séances ---------- */
.pmc-sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 32px; }
.pmc-session { display: flex; flex-direction: column; background: var(--pmc-white); }
.pmc-session__band { height: 12px; }
.pmc-session__body { display: flex; gap: 16px; padding: 22px; }
.pmc-session__date {
	flex: 0 0 68px; height: 72px; background: var(--pmc-bg);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pmc-session__day { font-family: var(--pmc-font-display); font-weight: 700; font-size: 26px; line-height: 1; }
.pmc-session__month { font-size: 13px; font-weight: 700; color: var(--pmc-muted); }
.pmc-session__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
/* With a poster, the text wraps around it. */
.pmc-session__text--poster { display: block; }
.pmc-session__text--poster > * + * { margin-top: 6px; }
.pmc-session__poster { float: right; width: auto; height: 96px; margin: 0 0 8px 12px; }
.pmc-session__text--poster .pmc-btn { clear: none; margin-top: 10px; }
@media (max-width: 700px) { .pmc-session__poster { width: auto; height: 84px; margin-left: 8px; } .pmc-session__text--poster h3 { font-size: 19px; } }
.pmc-session h3 { font-weight: 600; font-size: 21px; line-height: 1.2; }
.pmc-session p { font-size: 15px; color: var(--pmc-muted); }
.pmc-session .pmc-btn { margin-top: 8px; }
/* « Réserver » sits at the bottom of every card, so the buttons of a row line up whatever the length of the titles. */
.pmc-session__body { flex: 1 1 auto; }
.pmc-session__text { position: relative; padding-bottom: 62px; }
.pmc-session__text > .pmc-btn { position: absolute; left: 0; bottom: 0; margin: 0; }

/* ---------- Tarifs, bon à savoir, bon cadeau ---------- */
.pmc-duo { display: flex; flex-wrap: wrap; gap: 20px; }
.pmc-duo__main { flex: 2 1 560px; min-width: 0; }
.pmc-duo__side { flex: 1 1 300px; min-width: 0; }
.pmc-panel { padding: 28px; background: var(--pmc-white); border-top: var(--pmc-band) solid var(--pmc-coral); }
.pmc-panel--mint { border-top-color: var(--pmc-mint); }
.pmc-panel--yellow { border-top-color: var(--pmc-logo-blue); }
.pmc-panel--blue { border-top-color: var(--pmc-logo-blue); }
.pmc-panel h2 { margin-bottom: 18px; font-weight: 700; font-size: 30px; }
.pmc-panel__foot { margin-top: 18px; font-weight: 600; color: var(--pmc-muted); }
.pmc-panel__foot a { font-weight: 700; }
.pmc-prices { display: flex; flex-wrap: wrap; gap: 14px; }
.pmc-price-group + .pmc-price-group { margin-top: 22px; }
.pmc-price-group__title { margin-bottom: 10px; font-size: 20px; }
/* The amount sits at the bottom of its card: in a row the prices line up, however long the names are. */
.pmc-price { flex: 1 1 150px; padding: 18px; display: flex; flex-direction: column; }
.pmc-price--yellow { background: var(--pmc-tint-yellow); }
.pmc-price--mint { background: var(--pmc-tint-mint); }
.pmc-price--night { background: var(--pmc-night); color: var(--pmc-white); }
.pmc-price__who { font-weight: 700; }
.pmc-price--night .pmc-price__who { color: var(--pmc-light-on-night); }
.pmc-price__amount { margin-top: auto; padding-top: 4px; font-family: var(--pmc-font-display); font-weight: 700; font-size: 42px; line-height: 1.1; }
.pmc-price--night .pmc-price__amount { color: var(--pmc-yellow); }
.pmc-list { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.pmc-gift {
	position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 20px; margin-top: 20px; padding: 26px 200px 26px 30px; background: var(--pmc-yellow);
}
.pmc-gift__title { font-family: var(--pmc-font-display); font-weight: 700; font-size: 30px; line-height: 1.2; }
.pmc-gift__text { margin-top: 4px; font-weight: 700; }
.pmc-gift__ursa { position: absolute; right: 30px; bottom: -14px; height: 150px; width: auto; }

/* ---------- Blocs pleine largeur (le lieu, planétarium mobile) ---------- */
.pmc-block { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 44px; align-items: center; padding: clamp(28px, 5vw, 64px); }
.pmc-block--night { background: var(--pmc-night); color: var(--pmc-white); }
.pmc-block--coral { background: var(--pmc-coral); color: var(--pmc-night); }
.pmc-block__stars { position: absolute; right: 0; top: 0; }
.pmc-block__text { position: relative; flex: 1 1 460px; min-width: 0; }
.pmc-block__text .pmc-tag { margin-bottom: 14px; }
.pmc-block h2 { font-weight: 700; font-size: clamp(30px, 4vw, 48px); }
.pmc-block__lead { margin-top: 18px; font-size: 18px; font-weight: 600; }
.pmc-block--night .pmc-block__lead { color: var(--pmc-light-on-night); font-weight: 400; }
.pmc-block .pmc-btn { margin-top: 24px; }
.pmc-block__more { margin-top: 24px; }
.pmc-block__media { position: relative; flex: 1 1 400px; min-width: 0; }
.pmc-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.pmc-figures--side { flex: 1 1 340px; min-width: 0; margin-top: 0; gap: 12px; }
.pmc-figure { padding: 16px; color: var(--pmc-night); font-weight: 700; }
.pmc-figure--coral { background: var(--pmc-coral); }
.pmc-figure--yellow { background: var(--pmc-yellow); }
.pmc-figure--mint { background: var(--pmc-mint); }
.pmc-figure--white { background: var(--pmc-white); }
.pmc-figure__value { font-family: var(--pmc-font-display); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1; margin-bottom: 6px; }

.pmc-photo { display: block; width: 100%; height: auto; }
.pmc-photo--cover { height: 100%; object-fit: cover; }
.pmc-block__media { aspect-ratio: 4 / 3; }
.pmc-history__media { margin-top: 24px; aspect-ratio: 16 / 9; }
.pmc-figure-photo { margin: 8px 0 28px; }

.pmc-placeholder {
	display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
	aspect-ratio: 4 / 3; border: 2px dashed var(--pmc-border-field); background: var(--pmc-white);
	font-weight: 700; color: var(--pmc-muted);
}
.pmc-placeholder--wide { aspect-ratio: 16 / 9; margin-top: 24px; }
.pmc-placeholder--map { aspect-ratio: 16 / 10; }
.pmc-map__frame { display: block; width: 100%; aspect-ratio: 16 / 10; min-height: 260px; border: 0; background: var(--pmc-white); }
.pmc-map__frame { z-index: 0; font: inherit; min-height: 300px; }
.pmc-map__wait { padding: 18px; font-weight: 700; }
.pmc-map__pin { background: none; border: 0; }
.pmc-map .leaflet-popup-content-wrapper { border-radius: 0; box-shadow: 0 6px 18px rgba(14, 42, 71, 0.25); }
.pmc-map .leaflet-popup-content { margin: 14px 18px; font-family: var(--pmc-font-body, inherit); font-size: 15px; line-height: 1.4; color: var(--pmc-night); }
.pmc-map .leaflet-popup-content p { margin: 0 0 6px; white-space: nowrap; }
.pmc-map .leaflet-popup-content p:last-child { margin-bottom: 0; }
.pmc-map .leaflet-popup-content a { color: var(--pmc-night); font-weight: 700; }
.pmc-map__name { font-family: var(--pmc-font-display); font-weight: 700; font-size: 17px; }
.pmc-map__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; font-weight: 700; }
.pmc-content .pmc-map { margin-top: 8px; margin-bottom: 28px; }
.pmc-placeholder--night { border-color: rgba(255, 255, 255, 0.4); background: var(--pmc-night-2); color: var(--pmc-light-on-night); }

/* ---------- Cartes ---------- */
.pmc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; margin-top: 28px; }
.pmc-card { display: flex; flex-direction: column; background: var(--pmc-white); }
.pmc-card__band { height: 10px; }
.pmc-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px; }
.pmc-card .pmc-tag { padding: 3px 12px; font-size: 13px; }
.pmc-card h3 { margin: 12px 0; font-weight: 600; font-size: 23px; line-height: 1.2; }
.pmc-card ul, .pmc-card p { flex: 1 1 auto; margin: 0 0 20px; font-size: 15px; font-weight: 600; color: var(--pmc-ink-soft); }
.pmc-card ul { padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Formations ---------- */
#formations .pmc-tag { margin-bottom: 10px; }
.pmc-courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 28px; }
.pmc-course {
	display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 24px;
	background: var(--pmc-night); color: var(--pmc-white); border-top: 10px solid var(--pmc-coral);
}
.pmc-course__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; align-self: stretch; }
.pmc-course .pmc-tag { margin: 0; padding: 3px 12px; font-size: 13px; }
.pmc-course__price { font-family: var(--pmc-font-display); font-weight: 700; font-size: 28px; color: var(--pmc-yellow); }
.pmc-course__price .pmc-todo { font-family: var(--pmc-font-body); font-size: 13px; }
.pmc-course h3 { font-weight: 600; font-size: 24px; line-height: 1.2; }
.pmc-course__text { flex: 1 1 auto; color: var(--pmc-light-on-night); font-weight: 600; }
.pmc-course__format { font-size: 14px; font-weight: 700; }

/* ---------- Histoire ---------- */
.pmc-history { display: flex; flex-wrap: wrap; gap: 40px; }
.pmc-history__text { flex: 1 1 420px; min-width: 0; }
.pmc-history__text .pmc-tag { margin-bottom: 10px; }
.pmc-history__lead { margin: 20px 0 14px; font-weight: 600; color: var(--pmc-ink-soft); }
.pmc-timeline { flex: 1 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pmc-timeline li { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: var(--pmc-white); font-weight: 600; }
.pmc-timeline__year { flex: 0 0 auto; min-width: 96px; padding: 4px 10px; font-family: var(--pmc-font-display); font-weight: 700; font-size: 17px; text-align: center; }

/* ---------- Avis ---------- */
.pmc-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; margin-top: 24px; }
.pmc-review { margin: 0; padding: 20px; background: var(--pmc-white); border-top: var(--pmc-band) solid var(--pmc-coral); display: flex; flex-direction: column; gap: 10px; }
.pmc-rating { display: inline-flex; gap: 2px; }
.pmc-review blockquote { margin: 0; flex: 1 1 auto; font-weight: 600; }
.pmc-review figcaption { font-size: 14px; }
.pmc-review figcaption span { color: var(--pmc-muted); font-weight: 600; }

/* ---------- Presse et partenaires ---------- */
.pmc-press { display: flex; flex-wrap: wrap; gap: 24px 56px; padding-top: 48px; }
.pmc-press__media { flex: 1 1 340px; min-width: 0; }
.pmc-press__partners { flex: 2 1 520px; min-width: 0; }
.pmc-press__label { margin-bottom: 10px; font-weight: 700; color: var(--pmc-muted); }
.pmc-press__names { margin-bottom: 8px; font-family: var(--pmc-font-display); font-weight: 600; font-size: 19px; }
.pmc-partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pmc-partners a, .pmc-partners span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 120px; min-height: 64px; padding: 8px 16px;
	border: 2px solid var(--pmc-border-field); background: var(--pmc-white); font-weight: 700; color: var(--pmc-muted); text-decoration: none;
}
.pmc-partners img { display: block; height: 44px; width: auto; }
.pmc-partners li { display: flex; flex-direction: column; align-items: center; width: 178px; }
.pmc-partners li > a, .pmc-partners li > span { width: 100%; justify-content: center; }
.pmc-partners img { max-width: 100%; object-fit: contain; }
.pmc-partners__name { margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; color: var(--pmc-muted); }
.pmc-partners .screen-reader-text { border: 0; }
.pmc-partners a:hover { border-color: var(--pmc-night); color: var(--pmc-night); }

/* ---------- FAQ et infos pratiques ---------- */
.pmc-bottom { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 72px; }
.pmc-bottom__faq { flex: 3 1 520px; min-width: 0; }
.pmc-bottom__faq .pmc-title { margin-bottom: 20px; }
.pmc-bottom__infos { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pmc-bottom__infos > * { align-self: stretch; }
.pmc-bottom__infos > .pmc-btn { align-self: flex-start; }
.pmc-faq, .pmc-content .wp-block-group.pmc-faq { display: flex; flex-direction: column; gap: 8px; }
.pmc-faq details, .pmc-content details { background: var(--pmc-white); margin: 0; }
.pmc-faq summary, .pmc-content summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 60px; padding: 14px 18px; cursor: pointer; list-style: none;
	font-family: var(--pmc-font-display); font-size: 18px; font-weight: 600;
}
.pmc-faq summary::-webkit-details-marker, .pmc-content summary::-webkit-details-marker { display: none; }
.pmc-faq summary::after, .pmc-content summary::after {
	content: "+"; flex: 0 0 34px; height: 34px; border-radius: var(--pmc-radius-pill); background: var(--pmc-bg);
	display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.pmc-faq details[open] summary::after, .pmc-content details[open] summary::after { content: "−"; background: var(--pmc-yellow); }
.pmc-faq details p, .pmc-content details p { margin: 0; padding: 0 60px 18px 18px; font-weight: 600; color: var(--pmc-ink-soft); }
.pmc-infos { padding: 18px; background: var(--pmc-white); display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.pmc-infos a { font-weight: 700; overflow-wrap: anywhere; }
/* The e-mail address is never cut: on a narrow screen it shrinks to stay on its line. */
.pmc-infos a[href^="mailto:"] { white-space: nowrap; font-size: min(1em, 3.9vw); }

/* ---------- Pages de contenu ---------- */
.pmc-page { padding-top: 40px; padding-bottom: 72px; }
/* Text takes the whole width of the page: a sentence that fits on one line stays on one line. */
.pmc-content > * { margin-top: 0; margin-bottom: 18px; }
.pmc-content > .pmc-cards, .pmc-content > .pmc-press-list { max-width: none; }
.pmc-content > details { margin-bottom: 8px; }
.pmc-content > details + .wp-block-buttons { margin-top: 28px; }
.pmc-content > h2 { margin-top: 44px; margin-bottom: 16px; font-weight: 700; font-size: clamp(26px, 3vw, 34px); }
.pmc-content > h2:first-child { margin-top: 0; }
.pmc-content > h3 { margin-top: 28px; margin-bottom: 10px; font-weight: 600; font-size: 22px; }
.pmc-content > p, .pmc-content > ul, .pmc-content > ol { font-weight: 600; color: var(--pmc-ink-soft); }
.pmc-content > ul, .pmc-content > ol { padding-left: 22px; }
.pmc-content li + li { margin-top: 6px; }
.pmc-content a { font-weight: 700; }
.pmc-content .pmc-cards, .pmc-content .pmc-prices, .pmc-content .pmc-infos, .pmc-content .pmc-placeholder { margin-top: 8px; margin-bottom: 28px; }
.pmc-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pmc-content .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px;
	border-radius: var(--pmc-radius-pill); background: var(--pmc-coral); color: var(--pmc-night);
	font-family: var(--pmc-font-display); font-weight: 600; font-size: 18px; text-decoration: none;
}
.pmc-content .wp-block-button__link:hover { background: var(--pmc-yellow); }
.pmc-content .is-style-outline .wp-block-button__link { background: var(--pmc-white); border: 2px solid var(--pmc-night); }
.pmc-content .is-style-outline .wp-block-button__link:hover { background: var(--pmc-night); color: var(--pmc-white); }
.pmc-content .pmc-box { padding: 22px 24px; background: var(--pmc-white); border-top: var(--pmc-band) solid var(--pmc-mint); }
.pmc-content .pmc-box--yellow { border-top-color: var(--pmc-logo-blue); }
.pmc-content .pmc-box--coral { border-top-color: var(--pmc-coral); }
.pmc-content .pmc-box > :last-child { margin-bottom: 0; }
.pmc-notice { padding: 18px 20px; background: var(--pmc-white); border: 2px dashed var(--pmc-border-field); font-weight: 600; }
.pmc-press-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; max-width: none; }
.pmc-press-list li { margin: 0 !important; padding: 18px; background: var(--pmc-white); border-top: var(--pmc-band) solid var(--pmc-logo-blue); display: flex; flex-direction: column; gap: 6px; }
.pmc-press-list strong { font-family: var(--pmc-font-display); font-size: 19px; font-weight: 600; color: var(--pmc-night); }

/* ---------- Formulaire ---------- */
.pmc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 24px; background: var(--pmc-white); border-top: var(--pmc-band) solid var(--pmc-coral); }
.pmc-field { display: flex; flex-direction: column; gap: 6px; }
.pmc-field--wide { grid-column: 1 / -1; }
.pmc-field label { font-weight: 700; color: var(--pmc-night); }
.pmc-optional { font-weight: 600; color: var(--pmc-muted); }
.pmc-field input, .pmc-field textarea, .pmc-field select {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--pmc-border-field); border-radius: 0;
	background: var(--pmc-white); color: var(--pmc-night); font: inherit; font-weight: 600;
}
.pmc-field.is-off { visibility: hidden; }
@media (max-width: 700px) { .pmc-field.is-off { display: none; } }
.pmc-field select { height: 52px; }
.pmc-field input:focus, .pmc-field textarea:focus, .pmc-field select:focus { border-color: var(--pmc-night); }
.pmc-field .pmc-btn { align-self: flex-start; min-height: 52px; padding: 0 30px; font-size: 18px; }
.pmc-form__trap { position: absolute; left: -9999px; }
.pmc-alert { margin-bottom: 16px; padding: 14px 18px; font-weight: 700; }
.pmc-alert--ok { background: var(--pmc-tint-mint); color: var(--pmc-success-text); }
.pmc-alert--error { background: var(--pmc-tint-coral); color: var(--pmc-danger-text); }

/* ---------- Pied de page ---------- */
.pmc-footer { position: relative; overflow: hidden; padding: 48px 0 32px; background: var(--pmc-night); color: var(--pmc-light-on-night); }
.pmc-footer a { color: var(--pmc-light-on-night); }
.pmc-footer a:hover { color: var(--pmc-yellow); }
.pmc-footer__stars { position: absolute; left: 40%; top: 0; }
.pmc-footer__main { position: relative; display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; }
.pmc-footer__about { flex: 1 1 280px; }
.pmc-footer__about img { display: block; height: 56px; width: auto; }
.pmc-footer__about p { margin-top: 14px; font-weight: 600; }
.pmc-footer__nav { flex: 2 1 480px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; font-weight: 600; }
.pmc-footer__nav > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pmc-footer__nav a { display: inline-flex; align-items: center; min-height: 32px; }
.pmc-footer__title { color: var(--pmc-yellow); font-weight: 700; margin-bottom: 4px; }
.pmc-footer__note { position: relative; margin-top: 32px; font-weight: 600; }
.pmc-footer__note + .pmc-footer__legal { margin-top: 18px; }
.pmc-footer__legal {
	position: relative; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.15);
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; font-size: 14px;
}
.pmc-footer__team {
	display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--pmc-radius-pill);
	font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap;
}
.pmc-footer__team:hover { border-color: var(--pmc-yellow); }

/* ---------- Téléphone ---------- */
@media (max-width: 700px) {
	body { font-size: 16px; }
	.pmc-wrap { padding: 0 16px; }
	.pmc-header-wrap { padding-top: 12px; }
	.pmc-header { padding: 12px 8px 12px 16px; }
	.pmc-header__logo img { height: 46px; transform: translateY(-14%); }
	.pmc-hero-wrap, .pmc-banner-wrap { margin-top: 12px; }
	.pmc-hero { border-radius: 28px; gap: 24px; }
	/* On a phone the sky is scaled up and its yellow star would reach the logo: a small one keeps the corner. */
	.pmc-hero .pmc-sky path:first-child { display: none; }
	.pmc-hero::before { content: "✦"; position: absolute; left: 14px; top: 10px; color: var(--pmc-yellow); font-size: 24px; line-height: 1; }
	.pmc-hero__logo { margin: -8px 0 8px; }
	.pmc-hero__logo img { height: 88px; }
	.pmc-hero__lead, .pmc-banner__lead { font-size: 17px; }
	.pmc-hero__actions .pmc-btn { flex: 1 1 100%; }
	.pmc-hero__scene { max-width: 300px; margin-bottom: 24px; }
	.pmc-section { padding-top: 48px; }
	.pmc-section--tight { padding-top: 20px; }
	.pmc-banner { padding-right: 28px; padding-bottom: 96px; min-height: 0; }
	.pmc-banner__planet { top: auto; bottom: -28px; right: 8px; width: 120px; transform: none; }
	.pmc-banner__mascot { height: 100px; }
	.pmc-panel { padding: 22px 18px; }
	.pmc-gift { padding: 22px 18px 120px; }
	.pmc-gift__ursa { right: 12px; height: 120px; }
	.pmc-timeline li { flex-direction: column; gap: 8px; }
	.pmc-timeline__year { min-width: 0; }
	.pmc-faq details p, .pmc-content details p { padding-right: 18px; }
	.pmc-form { grid-template-columns: minmax(0, 1fr); padding: 18px; }
	.pmc-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmc-bottom { padding-bottom: 56px; }
	.pmc-page { padding-top: 28px; padding-bottom: 56px; }
}

/* A sentence goes to the next line as a whole when it does not fit at the end of the line (see the script). */
@media (min-width: 900px) { .pmc-phrase { display: inline-block; max-width: 100%; vertical-align: top; } }

/* Pills and tags never break in two lines. */
.pmc-tag, .pmc-chip { white-space: nowrap; }

/* Poster opened larger (see the script). */
[data-pmc-zoom] { cursor: zoom-in; }
.pmc-zoom { max-width: min(92vw, 760px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.pmc-zoom::backdrop { background: rgba(14, 42, 71, 0.82); }
.pmc-zoom img { display: block; max-width: min(92vw, 760px); max-height: 92vh; width: auto; height: auto; background: #fff; }
.pmc-zoom__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; color: #0E2A47; font-size: 28px; line-height: 1; font-weight: 700; cursor: pointer; }
@media (max-width: 700px) { .pmc-zoom__close { top: 8px; right: 8px; } }

/* A button that ends with an arrow: a little air before it. */
.pmc-btn { gap: 8px; }

/* « NOUVEAU »: white bold on bright red, on the corner of the poster of a new show. */
.pmc-new { display: inline-block; padding: 3px 8px; background: #D9261C; color: #fff; font-family: "Nunito", Arial, sans-serif; font-weight: 800; font-size: 12px; line-height: 1.3; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
.pmc-newwrap { position: relative; display: block; line-height: 0; }
.pmc-newwrap > .pmc-new { position: absolute; top: -8px; right: -8px; }
.pmc-new--inline { vertical-align: middle; margin-right: 4px; }
.pmc-newwrap--card { float: right; margin: 0 0 8px 12px; }
.pmc-newwrap--card .pmc-session__poster { float: none; margin: 0; display: block; }
