/* Textes longs (bloc bruno/corps) et FAQ — sobres, sans arrondi. Couleurs et polices du thème. */
.bruno-corps, .bruno-faq, .bruno-accueil-form, .bruno-urgences {
	--bp-encre: var(--wp--preset--color--encre, #1f1d1a);
	--bp-douce: var(--wp--preset--color--encre-douce, #5e584f);
	--bp-filet: var(--wp--preset--color--filets, #cfc7b8);
	--bp-appel: var(--wp--preset--color--appel, #1d2b4f);
	--bp-sur-appel: var(--wp--preset--color--sur-appel, #fff);
	--bp-papier: var(--wp--preset--color--papier, #f7f4ee);
	--bp-titres: var(--wp--preset--font-family--titres, inherit);
	overflow-wrap: anywhere;
}
.bruno-corps > * + * { margin-top: 1.1em; }
.bruno-corps h2, .bruno-corps h3, .bruno-faq__titre {
	font-family: var(--bp-titres);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--bp-encre);
}
.bruno-corps h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 2.2em; padding-top: 22px; border-top: 1px solid var(--bp-filet); }
.bruno-corps h3 { font-size: 21px; margin-top: 1.8em; }
.bruno-corps > h2:first-child { margin-top: 0; }
.bruno-num {
	display: block;
	font-size: 15px;
	letter-spacing: 0;
	color: var(--bp-appel);
	margin-bottom: 10px;
}

/* Listes */
.bruno-corps ul, .bruno-corps ol { padding-left: 0; list-style: none; }
.bruno-liste-num { counter-reset: bnum; border-bottom: 1px solid var(--bp-filet); }
.bruno-liste-num > li {
	counter-increment: bnum;
	position: relative;
	padding: 12px 0 12px 56px;
	border-top: 1px solid var(--bp-filet);
}
/* 0.3.0 : numéro positionné (et non une grille) : texte et gras mêlés dans un même élément restent sur une seule colonne. */
.bruno-liste-num > li::before {
	content: counter(bnum, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 14px;
	font-family: var(--bp-titres);
	color: var(--bp-appel);
	font-size: 15px;
	line-height: 1.4;
}
.bruno-liste-coches > li { position: relative; padding: 4px 0 4px 30px; }
.bruno-liste-coches > li::before {
	content: "";
	position: absolute; left: 2px; top: .62em;
	width: 12px; height: 6px;
	border-left: 1.8px solid var(--bp-appel);
	border-bottom: 1.8px solid var(--bp-appel);
	transform: rotate(-45deg);
}
.bruno-liste-sous { margin: 8px 0 0; }
.bruno-liste-sous > li { position: relative; padding: 2px 0 2px 20px; color: var(--bp-douce); }
.bruno-liste-sous > li::before { content: "–"; position: absolute; left: 0; color: var(--bp-appel); }

/* Tableaux */
.bruno-tableau { overflow-x: auto; max-width: 100%; margin-left: 0; margin-right: 0; -webkit-overflow-scrolling: touch; }
.bruno-tableau table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.bruno-tableau th, .bruno-tableau td { text-align: left; padding: 11px 14px 11px 0; border: 0; border-bottom: 1px solid var(--bp-filet); vertical-align: top; }
.bruno-tableau thead th, .bruno-tableau thead td { font-weight: 600; border-bottom: 1px solid var(--bp-encre); }
.bruno-tableau figcaption, .bruno-corps figcaption { font-size: 14px; color: var(--bp-douce); margin-top: 8px; }

/* Images et citations */
.bruno-corps img { max-width: 100%; height: auto; border-radius: 0; }
.bruno-corps figure { margin-left: 0; margin-right: 0; }
.bruno-corps blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--bp-appel); font-family: var(--bp-titres); font-size: 20px; }

/* Encart d'appel */
.bruno-encart-appel {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
	background: var(--bp-papier);
	border-top: 1px solid var(--bp-filet);
	border-bottom: 1px solid var(--bp-filet);
	padding: 18px 20px;
}
.bruno-encart-appel > p { margin: 0; flex: 1 1 260px; }
.bruno-encart-appel__bouton {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
	background: var(--bp-appel); color: var(--bp-sur-appel) !important; text-decoration: none; font-weight: 600;
}

/* FAQ */
.bruno-faq { margin-top: 2.4em; }
.bruno-faq__titre { font-size: clamp(26px, 3vw, 32px); margin: 0 0 18px; }
.bruno-faq__item { border-top: 1px solid var(--bp-filet); }
.bruno-faq__item:last-child { border-bottom: 1px solid var(--bp-filet); }
.bruno-faq__item > summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; position: relative; font-weight: 500; }
.bruno-faq__item > summary::-webkit-details-marker { display: none; }
.bruno-faq__item > summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 20px; color: var(--bp-appel); }
.bruno-faq__item[open] > summary::after { content: "–"; }
.bruno-faq__reponse { padding: 0 0 16px; color: var(--bp-douce); }
.bruno-faq__reponse p { margin: 0 0 .7em; }

/* Bloc légal */
.bruno-legal { display: grid; grid-template-columns: minmax(140px, 240px) 1fr; margin: 0; }
.bruno-legal dt, .bruno-legal dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--wp--preset--color--filets, #cfc7b8); }
.bruno-legal dt { color: var(--wp--preset--color--encre-douce, #5e584f); padding-right: 16px; }
@media (max-width: 600px) {
	.bruno-legal { grid-template-columns: 1fr; }
	.bruno-legal dd { border-top: 0; padding-top: 0; }
}

/* 0.2.0 : aucune italique ; la mise en valeur passe par la couleur. */
.bruno-corps em, .bruno-corps i, .bruno-corps cite, .bruno-corps blockquote, .bruno-corps q, .bruno-corps address, .bruno-corps dfn, .bruno-corps var,
.bruno-faq em, .bruno-faq i, .bruno-faq cite { font-style: normal; font-synthesis: none; }
.bruno-corps em, .bruno-corps i, .bruno-faq em, .bruno-faq i { color: var(--bp-appel); }
.bruno-corps cite { color: var(--bp-douce); }
.bruno-h1-accent { color: var(--wp--preset--color--appel, #14284f); font-style: normal; }

/* 0.3.1 : champ d'identité manquant ([bruno_tel], [bruno_adresse], [bruno_nap]) : visible des seuls administrateurs. */
.bruno-a-completer { background: #fff1b8; color: #5a4300; padding: 0 .25em; font-style: normal; }

/* 0.3.2 : [bruno_editeur] et formulaires du socle. */
.bruno-editeur { margin: 0 0 1em; }
.bruno-formulaire { max-width: 40rem; margin: 1.5em 0; }
.bruno-formulaire__form { display: grid; gap: .9em; }
.bruno-formulaire__champ { display: grid; gap: .3em; margin: 0; }
.bruno-formulaire__champ label { font-weight: 600; }
.bruno-formulaire__champ input, .bruno-formulaire__champ textarea { width: 100%; box-sizing: border-box; padding: .65em .75em; font: inherit; border: 1px solid currentColor; border-radius: 0; background: #fff; color: inherit; }
.bruno-formulaire__rgpd, .bruno-formulaire__aide { font-size: .9em; margin: 0; }
.bruno-formulaire__bouton { font: inherit; font-weight: 700; padding: .8em 1.4em; border: 0; border-radius: 0; cursor: pointer; background: var(--wp--preset--color--appel, #14284f); color: #fff; }
.bruno-formulaire__message { padding: .75em 1em; border-left: 4px solid currentColor; }
.bruno-formulaire__message--erreur { background: #fff1f0; }
.bruno-formulaire__message--ok { background: #eef7ee; }

/* 0.3.10 : photo jointe au formulaire. */
.bruno-formulaire__facultatif { font-weight: 400; opacity: .7; }
.bruno-formulaire__photo { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1.5px dashed var(--bp-filet, #cfc7b8); border-radius: var(--bs-rayon-petit, 8px); transition: border-color .15s, background .15s; }
.bruno-formulaire__photo:hover, .bruno-formulaire__photo:focus-within { border-color: var(--bs-accent, var(--bp-appel, currentColor)); }
.bruno-formulaire__photo input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0 !important; border: 0 !important; }
.bruno-formulaire__photo-bouton { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 14px; font-weight: 600; line-height: 1.2; }
.bruno-formulaire__photo-bouton::before { content: ""; width: 16px; height: 13px; border: 2px solid currentColor; border-radius: 3px; box-sizing: border-box; background: radial-gradient(circle, currentColor 0 2.5px, transparent 3px); }
.bruno-formulaire__photo-nom { flex: 1 1 140px; font-size: 13.5px; line-height: 1.35; opacity: .8; overflow-wrap: anywhere; }
.bruno-formulaire__photo--ok { border-style: solid; border-color: var(--bs-accent, var(--bp-appel, currentColor)); background: var(--bs-teinte, transparent); }
.bruno-formulaire__photo--ok .bruno-formulaire__photo-nom { opacity: 1; font-weight: 600; }
