/* =====================================================================
   La Croche Chœur — feuille de style principale
   ---------------------------------------------------------------------
   Toutes les tailles sont en rem : la base (125 % = 20 px) respecte la
   taille de texte réglée dans le navigateur du visiteur, et les boutons
   A / A+ / A++ agrandissent toute la page d'un coup.
   Les couleurs sont des variables : la palette « noir » ne change que
   ces variables (Apparence > Personnaliser > Couleur du site).
   ===================================================================== */

/* Polices hébergées avec le thème (licence SIL OFL, voir assets/fonts) */
@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* ---------------------------------------------------------------------
   Couleurs
   Contrastes vérifiés : texte courant ≥ 7:1, texte secondaire ≥ 7:1,
   surtitre doré sur beige ≥ 5:1.
   ------------------------------------------------------------------ */
:root,
.palette-beige {
	--ink: #33261A;        /* titres, boutons, liens */
	--text: #2B2118;       /* texte courant */
	--muted: #5E4E3B;      /* texte secondaire */
	--soft: #F8F1E4;       /* fonds clairs (menu, sections alternées) */
	--line: #E7DCCB;       /* bordures */
	--field: #9C8A72;      /* bordures des champs et cadres pointillés */
	--deep: #2A1F14;       /* pied de page */
	--on-deep: #EADBC2;
	--deep-line: #4A3A28;
	--hero: #E4CC9C;       /* bandeaux de l'accueil (beige doré) */
	--hero-text: #2B2118;
	--hero-muted: #4D3B26;
	--hero-line: #33261A;
	--kicker: #6E4710;
	--cta-bg: #33261A;
	--cta-fg: #FFFFFF;
	--disc: #FFF8EC;       /* disque crème derrière le logo doré */
	--medaillon: #FFF8EC;  /* médaillon du logo posé sur la photo de l'accueil */
	--bar: #B07A1E;        /* soulignement de la page active */
	--gold-text: #8A5A12;
	--chip-bg: #F6EEDD;
	--chip-fg: #6E4710;
	--focus: #8A5A12;

	--f-texte: "Atkinson Hyperlegible", Verdana, sans-serif;
	--f-titres: "Fraunces", Georgia, serif;
	--rayon: 0.8rem;
}

.palette-noir {
	--ink: #161616;
	--text: #1C1B19;
	--muted: #55524C;
	--soft: #F5F4F1;
	--line: #E2DFD8;
	--field: #8C877E;
	--deep: #0B0B0B;
	--on-deep: #D8D4CC;
	--deep-line: #2C2B29;
	--hero: #161616;
	--hero-text: #FFFFFF;
	--hero-muted: #E9E6E0;
	--hero-line: #FFFFFF;
	--kicker: #E9C27A;
	--cta-bg: #E2B566;
	--cta-fg: #161616;
	--disc: transparent;
	--medaillon: #161616;
	--bar: #B07A1E;
	--gold-text: #8A5A12;
	--chip-bg: #F6EEDD;
	--chip-fg: #6E4710;
	--focus: #8A5A12;
}

/* ---------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */
html {
	font-size: 125%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}
html[data-taille="grand"] { font-size: 143.75%; }
html[data-taille="tres-grand"] { font-size: 162.5%; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--f-texte);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text);
	background: #FFFFFF;
	overflow-wrap: break-word;
}

img,
svg,
video { max-width: 100%; height: auto; }

a {
	color: var(--ink);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}
a:hover { color: var(--gold-text); }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px #FFFFFF;
}

h1, h2, h3, h4 {
	color: var(--ink);
	line-height: 1.2;
	margin: 0;
}

p { margin: 0; }

.icone {
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
}

.conteneur {
	max-width: 72rem;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.visuellement-cache,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lien-evitement {
	position: absolute;
	left: 1rem;
	top: -10rem;
	z-index: 100;
	padding: 0.8rem 1.2rem;
	background: var(--ink);
	color: #FFFFFF;
	font-weight: 700;
	border-radius: 0.5rem;
}
.lien-evitement:focus { top: 1rem; color: #FFFFFF; }

.contenu:focus { outline: none; }

.texte-discret { color: var(--muted); }

/* ---------------------------------------------------------------------
   Boutons (zones cliquables d'au moins 2,6 rem = 52 px)
   ------------------------------------------------------------------ */
.bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 2.8rem;
	padding: 0.4rem 1.3rem;
	border-radius: 0.5rem;
	border: 2px solid transparent;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.bouton--plein { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.bouton--plein:hover { color: #FFFFFF; filter: brightness(1.25); }
.bouton--contour { background: #FFFFFF; border-color: var(--ink); color: var(--ink); }
.bouton--contour:hover { background: var(--soft); color: var(--ink); }
.bouton--cta { background: var(--cta-bg); border-color: var(--cta-bg); color: var(--cta-fg); }
.bouton--cta:hover { color: var(--cta-fg); filter: brightness(1.15); }
.bouton--contour-bandeau { background: transparent; border-color: var(--hero-line); color: var(--hero-text); }
.bouton--contour-bandeau:hover { color: var(--hero-text); background: rgba(255, 255, 255, 0.18); }
.bouton--grand { font-size: 1.2rem; min-height: 3rem; }

.boutons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.6rem;
}

/* Pastilles (sous-menus, liens d'ancre) */
.pastille {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-height: 2.6rem;
	padding: 0.3rem 1.2rem;
	border-radius: 999px;
	border: 2px solid var(--ink);
	background: #FFFFFF;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}
.pastille:hover { background: var(--soft); color: var(--ink); }
.pastille--active,
.pastille--active:hover { background: var(--ink); color: #FFFFFF; }

.etiquette {
	align-self: flex-start;
	display: inline-block;
	padding: 0.2rem 0.9rem;
	border-radius: 999px;
	background: var(--chip-bg);
	color: var(--chip-fg);
	font-weight: 700;
}

.surtitre {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--kicker);
}
.surtitre--or {
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	color: var(--gold-text);
}

/* ---------------------------------------------------------------------
   En-tête
   ------------------------------------------------------------------ */
.entete {
	background: #FFFFFF;
	border-bottom: 1px solid var(--line);
}
.entete__haut {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1rem;
}
.entete__logo {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	text-decoration: none;
}
.entete__picto { width: 3.2rem; }
.entete__nom { width: 14rem; max-width: 52vw; }

.entete__outils {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.6rem;
}

.taille-texte {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
.taille-texte[hidden] { display: none; }
.taille-texte__libelle {
	font-size: 0.85rem;
	color: var(--muted);
	margin-right: 0.3rem;
}
.taille-texte button {
	min-width: 2.6rem;
	height: 2.6rem;
	padding: 0 0.5rem;
	border-radius: 0.5rem;
	border: 2px solid var(--ink);
	background: #FFFFFF;
	color: var(--ink);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}
.taille-texte button[aria-pressed="true"] {
	background: var(--ink);
	color: #FFFFFF;
}

.menu-principal {
	background: var(--soft);
	border-top: 1px solid var(--line);
}
.menu-principal__liste {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0 2.2rem;
}
.menu-principal__liste a {
	display: block;
	padding: 0.75rem 0 0.55rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 0.22rem solid transparent;
}
.menu-principal__liste a:hover { border-bottom-color: var(--line); color: var(--ink); }
.menu-principal__liste .current-menu-item > a,
.menu-principal__liste .current-menu-ancestor > a,
.menu-principal__liste .current-page-ancestor > a,
.menu-principal__liste .current_page_item > a,
.menu-principal__liste .current_page_ancestor > a {
	border-bottom-color: var(--bar);
}

/* ---------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------ */
.section { padding-block: 4.5rem; }
.section--serree { padding-block: 3rem 4rem; }
.section--douce { background: var(--soft); }
.section--blanche { background: #FFFFFF; }

.section__titre {
	font-family: var(--f-titres);
	font-weight: 600;
	font-size: 2rem;
	margin: 0 0 0.3rem;
}
.section__chapo {
	margin: 0 0 1.8rem;
	font-size: 1.1rem;
	color: var(--muted);
}

/* Bandeaux beige (accueil, « Envie de chanter avec nous ? ») */
.bandeau {
	background: var(--hero);
	color: var(--hero-text);
}
.bandeau__grille {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem 3rem;
	padding-block: 4.5rem;
}
.bandeau__texte {
	flex: 999 1 24rem;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}
.bandeau__titre {
	font-family: var(--f-titres);
	font-weight: 600;
	font-size: clamp(1.9rem, 4.4vw, 2.9rem);
	line-height: 1.12;
	color: var(--hero-text);
}
.bandeau__titre--section { font-size: 2rem; }
.bandeau__intro,
.bandeau__intro p {
	font-size: 1.15rem;
	max-width: 32rem;
	color: var(--hero-muted);
}
.bandeau__intro p + p { margin-top: 0.6em; }
.bandeau__visuel {
	flex: 1 1 13rem;
	display: flex;
	justify-content: center;
}
.bandeau__actions {
	flex: 1 1 16rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}
.bandeau a:not(.bouton) { color: var(--hero-text); }

.disque {
	width: 16rem;
	max-width: 70vw;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--disc);
	display: flex;
	align-items: center;
	justify-content: center;
}
.disque img { width: 66%; }
.disque--petit { width: 7rem; flex: 0 0 auto; }
.disque--petit img { width: 70%; }

/* Photo de l'accueil (image mise en avant de la page d'accueil), avec le
   logo en médaillon dans le coin : la photo montre la chorale, le
   médaillon garde l'identité visuelle du disque qu'elle remplace. */
.bandeau__visuel--photo {
	flex: 1 1 28rem;
	min-width: 0;
	display: block;
}
.photo-accueil {
	position: relative;
	padding: 0 0 2.4rem 2.4rem;
}
.photo-accueil__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 1.2rem;
}
.photo-accueil__medaillon {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 7.5rem;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--medaillon);
	box-shadow: 0 0 0 0.4rem var(--hero);
	display: flex;
	align-items: center;
	justify-content: center;
}
.photo-accueil__medaillon img { width: 62%; }

/* Cartes « infos pratiques » */
.cartes {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}
.carte {
	flex: 1 1 18rem;
	padding: 1.6rem;
	border: 1px solid var(--line);
	border-radius: var(--rayon);
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	font-size: 1.1rem;
}
.carte--blanche { background: #FFFFFF; font-size: 1rem; }
.carte__titre { font-size: 1.3rem; }
.pastille-icone {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--chip-bg);
	color: var(--gold-text);
	display: flex;
	align-items: center;
	justify-content: center;
}
.pastille-icone .icone { width: 1.5rem; height: 1.5rem; }

/* ---------------------------------------------------------------------
   Concerts
   ------------------------------------------------------------------ */
.concerts-accueil {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1.5rem;
}
.concerts-accueil__principal { flex: 999 1 30rem; min-width: 0; display: flex; }
.concerts-accueil__principal > .concert { flex: 1 1 auto; }
.concerts-accueil__autres { flex: 1 1 20rem; min-width: 0; }
.concerts-accueil__lien { margin-top: auto; padding-top: 0.6rem; font-weight: 700; }

.liste-cartes {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.concert {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem 1.8rem;
	padding: 1.6rem;
	background: #FFFFFF;
	border: 1px solid var(--line);
	border-radius: var(--rayon);
}
.concert--vide {
	flex-direction: column;
	gap: 0.8rem;
}
.concert__affiche { flex: 0 0 12rem; max-width: 100%; }
.concert__agrandir {
	display: block;
	position: relative;
	text-decoration: none;
	cursor: zoom-in;
}
.concert__agrandir img {
	display: block;
	width: 100%;
	border-radius: 0.5rem;
	box-shadow: 0 0.2rem 0.8rem rgba(43, 33, 24, 0.18);
}
.concert__loupe {
	display: flex;
	align-items: center;
	gap: 0.4em;
	margin-top: 0.6rem;
	font-weight: 700;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}
.affiche-vide {
	aspect-ratio: 3 / 4;
	border: 2px dashed var(--field);
	border-radius: 0.6rem;
	background: var(--soft);
	color: var(--muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-align: center;
	padding: 0.8rem;
	font-size: 0.9rem;
}
.affiche-vide .icone { width: 2.2rem; height: 2.2rem; }

.concert__infos {
	flex: 1 1 16rem;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}
.concert__titre {
	font-family: var(--f-titres);
	font-weight: 600;
	font-size: 1.6rem;
}
.concert__titre a { text-decoration: none; }
.concert__titre a:hover { text-decoration: underline; }
.concert__details {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	font-size: 1.05rem;
}
.concert__details li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}
.concert__details .icone { color: var(--gold-text); margin-top: 0.2em; }
.concert__texte { color: var(--muted); }
.concert__bouton { margin-top: 0.4rem; }
.concert-texte { margin-top: 2rem; }

.titre-avec-picto {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.3rem;
}
.titre-avec-picto img { width: 2.4rem; }
.titre-avec-picto .section__titre { margin: 0; }

/* Lignes « autres concerts » */
.liste-concerts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.ligne-concert {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.4rem;
	padding: 1.1rem 1.3rem;
	background: #FFFFFF;
	border: 1px solid var(--line);
	border-radius: var(--rayon);
}
.ligne-concert__texte { flex: 999 1 14rem; min-width: 0; }
.ligne-concert__titre { font-size: 1.2rem; }
.ligne-concert__details { color: var(--muted); }

.liste-concerts--compacte { gap: 0; margin-top: 0.4rem; }
.ligne-concert--compacte {
	padding: 0.8rem 0;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
	flex-wrap: nowrap;
}
.ligne-concert--compacte .ligne-concert__titre { font-size: 1rem; }
.ligne-concert--compacte .ligne-concert__details { font-size: 0.95rem; }

.date-bloc {
	flex: 0 0 auto;
	width: 4rem;
	height: 4rem;
	border-radius: 0.6rem;
	background: var(--soft);
	color: var(--ink);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.15;
}
.date-bloc__jour { font-weight: 700; font-size: 1.2rem; }
.date-bloc__mois { font-size: 0.8rem; }
.carte--blanche .date-bloc { background: var(--soft); }

.lien-retour { margin-top: 2rem; }
.lien-retour a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 700;
	font-size: 1.05rem;
}

/* Affiche en grand (fenêtre native <dialog>) */
.affiche-agrandie {
	border: 0;
	padding: 1rem;
	max-width: min(42rem, 94vw);
	max-height: 94vh;
	border-radius: var(--rayon);
	background: #FFFFFF;
}
.affiche-agrandie::backdrop { background: rgba(20, 15, 10, 0.82); }
.affiche-agrandie__fermer { margin-bottom: 0.8rem; }
.affiche-agrandie__image img {
	display: block;
	width: 100%;
	max-height: calc(94vh - 6rem);
	object-fit: contain;
}
/* Même fenêtre pour les photos de l'accueil : plus large (photos en
   paysage), avec la légende dessous. */
.affiche-agrandie--photo { max-width: min(64rem, 94vw); }
.affiche-agrandie--photo .affiche-agrandie__image img { max-height: calc(94vh - 8.5rem); }
.affiche-agrandie__legende { margin-top: 0.6rem; font-weight: 700; color: var(--ink); }

/* ---------------------------------------------------------------------
   Répertoire (accueil)
   ------------------------------------------------------------------ */
.repertoire-accueil {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	align-items: flex-start;
}
.repertoire-accueil__texte {
	flex: 1 1 20rem;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	font-size: 1.1rem;
}
.repertoire-accueil__texte .section__titre { margin: 0; }
.repertoire-accueil__texte a { font-weight: 700; font-size: 1.05rem; }
.repertoire-accueil__titres {
	flex: 999 1 28rem;
	min-width: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}
.repertoire-accueil__titres li {
	padding: 0.6rem 1.1rem;
	border-radius: 0.6rem;
	background: var(--soft);
	border: 1px solid var(--line);
}
.repertoire-accueil__titres span { color: var(--muted); }

/* ---------------------------------------------------------------------
   Partenaires
   ------------------------------------------------------------------ */
.soutiens__grille {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 3rem;
}
.soutiens { padding-block: 3.5rem; border-top: 1px solid var(--line); }
.soutiens__texte {
	flex: 1 1 14rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.soutiens__titre {
	font-family: var(--f-titres);
	font-weight: 600;
	font-size: 1.5rem;
}
.soutiens__texte a { font-weight: 700; }
.soutiens__logos {
	flex: 999 1 30rem;
	min-width: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 2.5rem;
}
.soutiens__logos li {
	flex: 1 1 8rem;
	height: 6.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.soutiens__logos img {
	max-height: 100%;
	width: auto;
	object-fit: contain;
}
.soutiens__nom { font-weight: 700; color: var(--muted); }

.mur-logos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}
.mur-logos__carte {
	flex: 1 1 16rem;
	padding: 1.4rem;
	border: 1px solid var(--line);
	border-radius: var(--rayon);
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}
.mur-logos__logo {
	height: 9rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mur-logos__logo img { max-height: 100%; width: auto; object-fit: contain; }
.mur-logos__nom { font-size: 1.2rem; }
.mur-logos__carte a { font-weight: 700; }

.encart {
	margin-top: 2.5rem;
	padding: 1.6rem 1.8rem;
	border-radius: var(--rayon);
	background: var(--chip-bg);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
}
.encart__titre { font-size: 1.3rem; }
.encart p { color: var(--chip-fg); }

/* ---------------------------------------------------------------------
   Bandeau de titre des pages intérieures
   ------------------------------------------------------------------ */
.entete-page {
	background: var(--soft);
	border-bottom: 1px solid var(--line);
}
.entete-page__interieur {
	padding-block: 2.2rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}
.entete-page__titre {
	font-family: var(--f-titres);
	font-weight: 600;
	font-size: 2.6rem;
	line-height: 1.1;
}
.entete-page__chapo { font-size: 1.15rem; max-width: 36rem; }
.entete-page__texte {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

/* Avec une image mise en avant : la photo à droite du titre. */
.entete-page--photo .entete-page__interieur {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.6rem 3.5rem;
	padding-block: 2.4rem;
}
.entete-page--photo .entete-page__texte { flex: 999 1 24rem; }
.entete-page__photo { flex: 1 1 22rem; min-width: 0; }
.entete-page__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 1rem;
}

.ariane ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem;
	font-size: 0.95rem;
	color: var(--muted);
}
.ariane li + li::before {
	content: "›";
	margin: 0 0.4rem 0 0.2rem;
}

.sous-menu ul,
.ancres {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

/* ---------------------------------------------------------------------
   Contenu saisi dans l'éditeur de blocs
   ------------------------------------------------------------------ */
.texte-riche {
	max-width: 46rem;
	margin-inline: auto;
	padding-block: 3rem 4.5rem;
	font-size: 1.1rem;
}
.texte-riche--gauche { margin-inline: 0; padding-block: 0 2rem; }
.texte-riche > * + * { margin-top: 1.1em; }
.texte-riche > :first-child { margin-top: 0; } /* pas de grand blanc sous l'en-tête si la page commence par un titre */
.texte-riche > .alignwide {
	width: min(69rem, calc(100vw - 3rem));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}
.texte-riche h2 {
	font-family: var(--f-titres);
	font-weight: 600;
	font-size: 1.8rem;
	margin-top: 2em;
}
.texte-riche h3 { font-size: 1.35rem; margin-top: 1.6em; }
.texte-riche ul,
.texte-riche ol { padding-left: 1.4em; }
.texte-riche li + li { margin-top: 0.4em; }
.texte-riche blockquote {
	margin-inline: 0;
	padding: 0.4rem 0 0.4rem 1.4rem;
	border-left: 4px solid var(--bar);
	font-style: italic;
}
.texte-riche figure { margin-inline: 0; }
.texte-riche figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; }
.texte-riche img { border-radius: 0.5rem; }
.texte-riche hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin-block: 2.5rem;
}
.texte-riche table { width: 100%; border-collapse: collapse; }
.texte-riche th,
.texte-riche td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); text-align: left; }

/* Boutons de l'éditeur */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.8rem;
	padding: 0.4rem 1.3rem;
	border-radius: 0.5rem;
	background: var(--ink);
	color: #FFFFFF;
	font-weight: 700;
	text-decoration: none;
}
.wp-block-button__link:hover { color: #FFFFFF; filter: brightness(1.25); }
.is-style-outline > .wp-block-button__link {
	background: #FFFFFF;
	color: var(--ink);
	border: 2px solid var(--ink);
}

/* Bloc « Fichier » (statuts en PDF, etc.) : grande zone cliquable */
.wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem 1.4rem;
	padding: 1rem 1.3rem;
	border: 1px solid var(--line);
	border-radius: var(--rayon);
	background: var(--soft);
}
.wp-block-file > a:not(.wp-block-file__button) { font-weight: 700; }
.wp-block-file .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	min-height: 2.6rem;
	padding: 0.3rem 1.2rem;
	border-radius: 0.5rem;
	background: var(--ink);
	color: #FFFFFF;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
}
.wp-block-file__embed { display: none; } /* aperçu PDF intégré : trop petit pour être utile */

/* « La chorale en images » (accueil) : la première galerie de la page
   d'accueil. Titre et bouton côte à côte, les photos dessous ; sur
   téléphone, le bouton passe après les photos. */
.images-accueil {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "texte lien" "photos photos";
	align-items: end;
	column-gap: 2rem;
}
.images-accueil__texte { grid-area: texte; }
.images-accueil__lien { grid-area: lien; margin-bottom: 1.8rem; }
.images-accueil__photos {
	grid-area: photos;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 1.2rem;
}
.images-accueil__photos figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.images-accueil__photos a {
	display: block;
	overflow: hidden;
	border-radius: 0.8rem;
}
.images-accueil__photos img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.25s ease;
}
.images-accueil__photos a:hover img { transform: scale(1.03); }
.images-accueil__photos figcaption {
	font-weight: 700;
	line-height: 1.35;
	color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
	.images-accueil__photos img { transition: none; }
	.images-accueil__photos a:hover img { transform: none; }
}

/* Galeries et vidéos */
.wp-block-gallery { gap: 0.8rem; }
/* Dernière ligne incomplète : les photos gardent la taille des autres
   (WordPress les étire sinon sur toute la largeur : une 5e photo dans
   une galerie de 4 colonnes deviendrait immense). */
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-grow: 0; }

/* Section « Photos » créée par Outils > Ancien site : consigne et
   raccourcis vers chaque saison (même style que les pastilles du thème). */
.texte-riche .lcc-consigne { color: var(--muted); }
.texte-riche .lcc-pastilles {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.texte-riche .lcc-pastilles a {
	display: inline-flex;
	align-items: center;
	min-height: 2.6rem;
	padding: 0.3rem 1.1rem;
	border-radius: 999px;
	border: 2px solid var(--ink);
	background: #FFFFFF;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}
.texte-riche .lcc-pastilles a:hover { background: var(--soft); }

/* Bloc « Détails » (« Voir les autres photos ») : un vrai bouton, avec
   une flèche qui se retourne quand le contenu est ouvert. */
.wp-block-details > summary {
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
	min-height: 2.8rem;
	padding: 0.4rem 1.3rem;
	border: 2px solid var(--ink);
	border-radius: 0.5rem;
	background: #FFFFFF;
	color: var(--ink);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::after {
	content: "";
	width: 0.5em;
	height: 0.5em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-25%) rotate(45deg);
}
.wp-block-details[open] > summary::after { transform: translateY(25%) rotate(-135deg); }
.wp-block-details > summary:hover { background: var(--soft); }
.wp-block-details[open] > summary { margin-bottom: 1rem; }

/* Vidéos par rangées de trois (bloc Colonnes) */
.texte-riche .wp-block-columns { gap: 1.5rem; }
.texte-riche .wp-block-column > .wp-block-embed { margin: 0; }
.texte-riche .wp-block-column > p { margin-top: 0.6rem; line-height: 1.4; }
.wp-block-embed { margin-inline: 0; }

/* Tailles de texte proposées dans l'éditeur (theme.json) */
.has-normal-font-size { font-size: 1rem; }
.has-grand-font-size { font-size: 1.25rem; }
.has-tres-grand-font-size { font-size: 1.6rem; }

/* Listes simples (gabarit de secours) */
.liste-simple { padding-left: 1.2em; font-size: 1.1rem; }

/* ---------------------------------------------------------------------
   Pied de page
   ------------------------------------------------------------------ */
.pied {
	background: var(--deep);
	color: var(--on-deep);
}
.pied a { color: var(--on-deep); }
.pied a:hover { color: #FFFFFF; }
.pied :focus-visible { outline-color: #FFFFFF; box-shadow: none; }
.pied__grille {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem 3rem;
	padding-block: 3.5rem 2.2rem;
}
.pied__marque {
	flex: 1.3 1 16rem;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}
.pied__marque img { width: 14rem; }
.pied__reseaux { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.pied__bloc {
	flex: 1 1 13rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.pied__bloc address { font-style: normal; }
.pied__titre { font-size: 1.05rem; color: #FFFFFF; }
.pied__tel {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #FFFFFF !important;
	font-size: 1.2rem;
	font-weight: 700;
	text-decoration: none;
}
.pied__email { display: inline-flex; align-items: center; gap: 0.5rem; }
.pied__bas {
	padding-block: 1.2rem 2rem;
	border-top: 1px solid var(--deep-line);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.8rem 2rem;
	font-size: 0.9rem;
}
.pied__liens {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
}

/* Un numéro de téléphone ne se coupe jamais en deux lignes */
a[href^="tel:"] { white-space: nowrap; }

/* ---------------------------------------------------------------------
   Petits écrans
   ------------------------------------------------------------------ */
@media (max-width: 40rem) {
	.conteneur { padding-inline: 1rem; }
	.section { padding-block: 3rem; }
	.bandeau__grille { padding-block: 3rem; gap: 1.5rem; }
	/* Le logo est déjà dans l'en-tête : sur téléphone, on va droit au texte.
	   Une photo, elle, reste (sous le texte et les boutons). */
	.bandeau--accueil .bandeau__visuel--disque { display: none; }
	.photo-accueil { padding: 0 0 1.8rem 1.8rem; }
	.photo-accueil__medaillon { width: 5.2rem; box-shadow: 0 0 0 0.3rem var(--hero); }
	.entete-page__photo img { aspect-ratio: 2 / 1; }
	.texte-riche > .alignwide { width: calc(100vw - 2rem); } /* mêmes marges que le reste de la page */
	.images-accueil {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "texte" "photos" "lien";
	}
	.images-accueil__lien { margin: 1.4rem 0 0; }
	.images-accueil__lien .bouton { width: 100%; }
	.images-accueil__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
	.images-accueil__photos figcaption { font-size: 0.95rem; }
	.entete-page__titre { font-size: 2rem; }
	.section__titre { font-size: 1.7rem; }
	.menu-principal__liste { gap: 0 1.4rem; }
	.concert { padding: 1.1rem; }
	.concert__affiche { flex-basis: 100%; }
	.concert__agrandir img { max-width: 14rem; }
	.taille-texte__libelle { display: none; }
	.soutiens__logos { gap: 1rem 1.5rem; }
	.soutiens__logos li { flex: 1 1 5.5rem; height: 4.5rem; }
}
