/* ==========================================================================
   Blocs visuels des pages « vitrine » (compositions du dossier patterns/).
   Chargé seulement sur les pages qui utilisent ces blocs (functions.php).
   Couleurs et polices : variables de style.css.
   ========================================================================== */

/* Icônes des quatre zones, dessinées en SVG et teintées par la couleur du texte. */
:root {
	--de-ico-visage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='9' cy='10' r='0.7'/%3E%3Ccircle cx='15' cy='10' r='0.7'/%3E%3Cpath d='M8.5 14.5c2 2 5 2 7 0'/%3E%3C/svg%3E");
	--de-ico-cerveau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='M12 5c-1-1.5-4-1.5-5 .5C5 6 4 8 5 9.5 3.5 10.5 3.5 13 5 14c-.5 2 1 4 3 4 1 1.5 3 1.5 4 1'/%3E%3Cpath d='M12 5c1-1.5 4-1.5 5 .5 2 .5 3 2.5 2 4 1.5 1 1.5 3.5 0 4.5.5 2-1 4-3 4-1 1.5-3 1.5-4 1'/%3E%3C/svg%3E");
	--de-ico-poumons: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v7M12 9c-1 1-2 1.5-3 1.5M12 9c1 1 2 1.5 3 1.5'/%3E%3Cpath d='M9 7.5C6 8 4 12 4.5 17c.2 2 2 2.5 3.5 1.5L10 17V9.5M15 7.5c3 .5 5 4.5 4.5 9.5-.2 2-2 2.5-3.5 1.5L14 17V9.5'/%3E%3C/svg%3E");
	--de-ico-estomac: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3v4c0 1.5 1 2 2.5 2C17 9 20 11.5 20 15c0 3.5-3 6-7 6-3.5 0-6-2-6-4.5 0-1.8 1.4-3 3-3'/%3E%3C/svg%3E");
	--de-ico-immunitaire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.5-7 10-4-1.5-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Mise en page générale : la page n'est plus une carte blanche,
   chaque partie gère sa largeur.
   -------------------------------------------------------------------------- */

.de-page-vitrine .inside-article {
	background-color: transparent;
	border: 0;
	border-radius: 0;
}

.de-page-vitrine .entry-content {
	margin-top: 0;
}

/* La zone de contenu prend toute la largeur. Les bandes « pleine largeur »
   n'ont donc pas besoin du calcul de GeneratePress (marges négatives en 100vw),
   qui les décale quand la barre de défilement est visible. */
.de-page-vitrine #primary {
	float: none;
	width: 100%;
}

body.de-page-vitrine .entry-content > .alignfull {
	width: auto;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

/* GeneratePress enveloppe le contenu de chaque groupe dans une boîte
   .wp-block-group__inner-container. Cette boîte ne compte pas dans la mise
   en page : ses enfants deviennent les cases des grilles des blocs. */
.wp-block-group[class*="de-"] > .wp-block-group__inner-container {
	display: contents;
}

/* Les blocs à l'intérieur des grilles ne gardent pas les marges par défaut. */
.de-hero-int > *,
.de-cartes > *,
.de-zones > *,
.de-ord-ligne > *,
.de-chiffre > *,
.de-hero-int > .wp-block-group__inner-container > *,
.de-cartes > .wp-block-group__inner-container > *,
.de-zones > .wp-block-group__inner-container > *,
.de-ord-ligne > .wp-block-group__inner-container > *,
.de-chiffre > .wp-block-group__inner-container > * {
	margin: 0;
}

.de-section {
	max-width: 760px;
	margin: 0 auto;
	padding: 56px 16px 0;
}

.de-section > *:last-child,
.de-section > .wp-block-group__inner-container > *:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Haut de page
   -------------------------------------------------------------------------- */

.de-hero {
	padding: 56px 16px 64px;
	background:
		radial-gradient(520px 340px at 92% 8%, rgba(138, 217, 79, 0.32), transparent 70%),
		radial-gradient(620px 420px at 0% 100%, rgba(62, 193, 243, 0.3), transparent 70%),
		linear-gradient(160deg, var(--de-ciel-clair), var(--de-menthe));
}

.de-hero-int {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 44px;
	align-items: center;
	max-width: 1080px;
	margin: 0 auto;
}

/* Pages organes : haut de page sur une seule colonne, sans carte à droite. */
.de-hero-int--seul {
	grid-template-columns: minmax(0, 1fr);
	max-width: 728px; /* largeur du texte des sections : 760 moins 2 × 16 */
}

/* Page À propos : logo complet à droite du titre principal. */
.de-hero-int--logo {
	grid-template-columns: minmax(0, 1fr) 150px;
	gap: 32px;
}

/* Pages organes : dessin de l'organe dans une pastille, à droite du titre
   (ajouté par docessyo_enfant_dessin_organe, caché sur téléphone). */
.de-hero-int--organe {
	grid-template-columns: minmax(0, 1fr) 180px;
	gap: 40px;
}

.de-hero-organe {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	aspect-ratio: 1;
	background: var(--de-blanc);
	border: 5px solid var(--de-bordure);
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(18, 168, 230, 0.15);
}

.de-hero-organe svg {
	width: 66%;
	height: auto;
}

.de-hero-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.de-hero h1 {
	margin: 0 0 20px;
	font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.4rem);
}

.de-hero-int--logo h1 {
	font-size: clamp(2.1rem, 1.4rem + 2vw, 2.7rem);
}

.de-chapo {
	font-size: 1.15rem;
	line-height: 1.6;
}

/* Pastilles d'information au-dessus du H1. */
ul.de-puces {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.de-puces li {
	margin: 0;
	padding: 4px 12px;
	background-color: var(--de-blanc);
	border: 1px solid var(--de-bordure);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
}

.de-puces li::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 7px;
	border-radius: 50%;
	background-color: var(--de-pousse);
	vertical-align: 1px;
}

.de-hero .wp-block-buttons {
	gap: 12px;
	margin-top: 26px;
}

/* Accueil et anatomie : les boutons viennent juste après la grande phrase (ou le H1), avant le chapô,
   pour rester visibles sans faire défiler, sur téléphone comme sur ordinateur. */
.de-grande-phrase + .wp-block-buttons,
.de-hero h1 + .wp-block-buttons {
	margin-top: 20px;
	margin-bottom: 22px;
}

/* Carte « Votre site, version anatomie ». */
.de-corps {
	padding: 26px;
	background-color: var(--de-blanc);
	border: 1px solid var(--de-bordure);
	border-radius: 28px;
	box-shadow: 0 18px 50px -24px rgba(18, 168, 230, 0.55);
}

.de-corps p {
	margin: 0;
}

.de-corps-titre {
	font-family: var(--de-police-titres);
	font-size: 1.3rem;
	font-weight: 700;
}

.de-corps-sous {
	margin-bottom: 16px !important;
	font-size: 0.9375rem;
	color: var(--de-texte-doux);
}

ul.de-organes {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.de-organes li {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	column-gap: 12px;
	align-items: center;
	margin: 0;
	padding: 10px 12px;
	background-color: var(--de-fond);
	border-radius: 14px;
	font-size: 0.9375rem;
	color: var(--de-texte-doux);
}

.de-organes li strong {
	display: block;
	grid-column: 2;
	font-family: var(--de-police-titres);
	color: var(--de-texte);
}

/* Icône de chaque zone : une pastille colorée (::after, derrière)
   et le pictogramme teinté couleur texte (::before, devant). */
.de-organes li,
.de-zone {
	position: relative;
}

.de-organes li::before,
.de-zone::before {
	content: "";
	position: relative;
	z-index: 1;
	width: 44px;
	height: 44px;
	background-color: var(--de-texte);
	-webkit-mask: var(--de-ico) center / 26px 26px no-repeat;
	mask: var(--de-ico) center / 26px 26px no-repeat;
}

.de-organes li::after,
.de-zone::after {
	content: "";
	position: absolute;
	z-index: 0;
	border-radius: 12px;
	background-color: var(--de-pastille, var(--de-ciel-clair));
}

.de-organes li::before {
	grid-row: 1 / span 2;
}

.de-organes li::after {
	top: 50%;
	left: 12px;
	width: 44px;
	height: 44px;
	transform: translateY(-50%);
}

/* Le texte passe devant la pastille. */
.de-organes li > *,
.de-zone > *,
.de-zone > .wp-block-group__inner-container > * {
	position: relative;
	z-index: 1;
}

.de-organes li:nth-child(1),
.de-zone--visage {
	--de-ico: var(--de-ico-visage);
	--de-pastille: var(--de-ciel-clair);
}

.de-zone--cerveau {
	--de-ico: var(--de-ico-cerveau);
	--de-pastille: #e6f6ec;
}

.de-organes li:nth-child(2),
.de-zone--poumons {
	--de-ico: var(--de-ico-poumons);
	--de-pastille: #dcf7f3;
}

/* Version anglaise : le cerveau (mots-clés) remplace les poumons. */
.de-organes--en li:nth-child(2) {
	--de-ico: var(--de-ico-cerveau);
	--de-pastille: #e6f6ec;
}

.de-organes li:nth-child(3),
.de-zone--estomac {
	--de-ico: var(--de-ico-estomac);
	--de-pastille: var(--de-menthe);
}

.de-organes li:nth-child(4),
.de-zone--immunitaire {
	--de-ico: var(--de-ico-immunitaire);
	--de-pastille: #e8f3ff;
}

/* --------------------------------------------------------------------------
   Cartes « deux entrées »
   -------------------------------------------------------------------------- */

.de-cartes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 8px 0 28px;
}

.de-carte {
	display: grid;
	gap: 10px;
	align-content: start;
	padding: 22px;
	background-color: var(--de-blanc);
	border: 1px solid var(--de-bordure);
	border-radius: var(--de-rayon);
}

.de-carte > *,
.de-carte > .wp-block-group__inner-container > * {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Bande des quatre zones
   -------------------------------------------------------------------------- */

.de-bande {
	margin-top: 64px;
	padding: 64px 16px;
	background: linear-gradient(180deg, var(--de-fond), var(--de-ciel-clair) 30%, var(--de-menthe));
}

.de-bande-tete {
	max-width: 720px;
	margin: 0 auto 28px;
}

.de-zones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	max-width: 1080px;
	margin: 0 auto;
}

.de-zone {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	column-gap: 14px;
	row-gap: 8px;
	align-content: start;
	padding: 24px;
	background-color: var(--de-blanc);
	border: 1px solid var(--de-bordure);
	border-radius: 22px;
}

.de-zone::before {
	grid-row: 1 / span 2;
	width: 52px;
	height: 52px;
	-webkit-mask-size: 30px 30px;
	mask-size: 30px 30px;
}

.de-zone::after {
	top: 24px;
	left: 24px;
	width: 52px;
	height: 52px;
	border-radius: 16px;
}

.de-zone > *,
.de-zone > .wp-block-group__inner-container > * {
	margin: 0;
	grid-column: 2;
}

.de-zone > p:last-child,
.de-zone > .wp-block-group__inner-container > p:last-child {
	grid-column: 1 / -1;
	margin-top: 4px;
}

.de-zone-lieu {
	align-self: end;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--de-texte-doux);
}

.de-zone h3 {
	align-self: start;
	font-size: 1.3rem;
}

/* Anatomie : cartes plus longues. L'icône et le titre sur la première ligne,
   le texte sur toute la largeur de la carte en dessous. */
.de-zones--detail .de-zone::before {
	grid-row: 1;
}

.de-zones--detail .de-zone h3 {
	align-self: center;
}

.de-zones--detail .de-zone > *:not(h3),
.de-zones--detail .de-zone > .wp-block-group__inner-container > *:not(h3) {
	grid-column: 1 / -1;
}

.de-zones--detail .de-zone ul {
	margin-left: 1.25em;
}

/* Lien vers la page de l'organe, en bas de chaque carte. */
.de-zone-lien {
	align-self: end;
	font-weight: 700;
}

.de-zone-lien a::after {
	content: " \2192";
}

/* --------------------------------------------------------------------------
   États du résultat et exemple d'ordonnance
   -------------------------------------------------------------------------- */

ul.de-etats {
	display: grid;
	gap: 8px;
	margin-left: 0;
	padding: 0;
	list-style: none;
}

.de-etats li {
	margin: 0;
}

.de-etats li strong,
.de-etiquette {
	display: inline-block;
	min-width: 112px;
	padding: 3px 10px;
	border: 1.5px solid;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	text-align: center;
}

.de-etats li:nth-child(1) strong,
.de-etiquette--ras {
	background-color: var(--de-menthe);
	border-color: var(--de-pousse);
}

.de-etats li:nth-child(2) strong,
.de-etiquette--surv {
	background-color: var(--de-jaune);
	border-color: var(--de-jaune-bord);
}

.de-etats li:nth-child(3) strong,
.de-etiquette--prio {
	background-color: var(--de-corail);
	border-color: var(--de-corail-bord);
}

.de-etats li:nth-child(4) strong,
.de-etiquette--verif {
	background-color: var(--de-ciel-clair);
	border-color: var(--de-ciel);
}

.de-ordonnance {
	margin-bottom: 1.5em;
	overflow: hidden;
	background-color: var(--de-blanc);
	border: 1px solid var(--de-bordure);
	border-radius: 22px;
	box-shadow: 0 16px 40px -28px rgba(15, 43, 59, 0.45);
}

.de-ord-tete {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 6px 16px;
	padding: 18px 22px;
	background: repeating-linear-gradient(90deg, var(--de-ciel-clair) 0 14px, var(--de-blanc) 14px 28px);
	border-bottom: 2px dashed var(--de-bordure);
}

.de-ord-tete p {
	margin: 0;
}

.de-ord-tete strong {
	font-family: var(--de-police-titres);
	font-size: 1.3rem;
}

.de-ord-note {
	font-size: 0.8125rem;
	font-style: italic;
	color: var(--de-texte-doux);
}

.de-ord-ligne {
	display: grid;
	grid-template-columns: 170px 112px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 14px 22px;
	border-bottom: 1px solid var(--de-ciel-clair);
	font-size: 0.9375rem;
}

.de-ord-ligne:last-child {
	border-bottom: 0;
}

.de-ord-zone {
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Encadrés : Limite, chiffre clé, aparté, auteur
   -------------------------------------------------------------------------- */

.de-limite,
.de-auteur {
	margin-bottom: 1.5em;
	padding: 18px 20px;
	border-radius: var(--de-rayon);
}

.de-limite {
	background-color: var(--de-menthe);
	border: 1px solid #c7eebc;
}

.de-auteur {
	background-color: var(--de-ciel-clair);
}

.de-limite p,
.de-auteur p {
	margin: 0 0 6px;
}

.de-limite p:last-child,
.de-auteur p:last-child {
	margin-bottom: 0;
}

.de-limite-titre,
.de-auteur-titre {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.de-auteur-nom {
	font-family: var(--de-police-titres);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.2;
}

.de-chiffre {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 18px;
	align-items: center;
	margin-bottom: 1.5em;
	padding: 18px 22px;
	background-color: var(--de-blanc);
	border: 1px solid var(--de-bordure);
	border-radius: var(--de-rayon);
}

.de-chiffre-avant {
	grid-column: 1;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--de-texte-doux);
}

.de-chiffre-nombre {
	grid-column: 1;
	font-family: var(--de-police-titres);
	font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem);
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	background: linear-gradient(120deg, var(--de-ciel-vif), var(--de-lagon));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.de-chiffre-texte {
	grid-column: 2;
	grid-row: 1 / span 2;
	font-size: 0.9375rem;
}

.de-aparte {
	padding-left: 14px;
	border-left: 3px solid var(--de-pousse);
	font-size: 0.9375rem;
	color: var(--de-texte-doux);
}

/* --------------------------------------------------------------------------
   Appel à l'action final
   -------------------------------------------------------------------------- */

.de-final {
	margin-top: 64px;
	padding: 56px 16px;
	background:
		radial-gradient(500px 260px at 85% 30%, rgba(138, 217, 79, 0.35), transparent 70%),
		linear-gradient(120deg, var(--de-ciel-clair), var(--de-menthe));
}

.de-final-int {
	max-width: 720px;
	margin: 0 auto;
}

.de-final-titre {
	margin-bottom: 18px;
	font-family: var(--de-police-titres);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem);
	font-weight: 800;
	line-height: 1.15;
	text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Tableaux et « Les preuves du Doc »
   -------------------------------------------------------------------------- */

.de-comparatif table {
	min-width: 560px;
}

.de-preuves table {
	min-width: 720px;
	font-size: 0.8125rem;
}

.de-preuves-titre {
	display: flex;
	align-items: center;
	gap: 10px;
}

.de-preuves-titre::before {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	background-color: var(--de-pousse);
	transform: rotate(45deg);
}

.de-section:last-child {
	padding-bottom: 56px;
}

/* --------------------------------------------------------------------------
   Page d'accueil
   -------------------------------------------------------------------------- */

/* Grande phrase sous le H1 : un bloc visuel, pas un titre. */
.de-grande-phrase {
	margin: 0 0 16px;
	font-family: var(--de-police-titres);
	font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem);
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}

/* Trois preuves dans la carte du haut de page. */
ul.de-atouts {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.de-atouts li {
	margin: 0;
	padding: 14px 16px;
	background-color: var(--de-fond);
	border-left: 4px solid var(--de-ciel);
	border-radius: 14px;
	font-size: 0.9375rem;
	color: var(--de-texte-doux);
}

.de-atouts li:nth-child(2) {
	border-left-color: var(--de-lagon);
}

.de-atouts li:nth-child(3) {
	border-left-color: var(--de-pousse);
}

.de-atouts strong {
	display: block;
	font-family: var(--de-police-titres);
	font-size: 1.2rem;
	line-height: 1.25;
	color: var(--de-texte);
}

/* Bande des organes juste sous le haut de page. */
.de-bande--haut {
	margin-top: 0;
}

.de-bande-pied {
	max-width: 1080px;
	margin: 28px auto 0;
}

/* Encadré mis en avant (réduction de l'audit). */
.de-encadre {
	margin: 24px 0;
	padding: 20px 22px;
	background-color: var(--de-menthe);
	border-left: 5px solid var(--de-pousse);
	border-radius: var(--de-rayon);
}

.de-encadre > *,
.de-encadre > .wp-block-group__inner-container > * {
	margin: 0;
}

/* Frise des quatre étapes : le numéro vient de la liste numérotée. */
ol.de-frise {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 8px 0 28px;
	padding: 0;
	list-style: none;
	counter-reset: de-etape;
}

.de-frise li {
	counter-increment: de-etape;
	margin: 0;
	padding: 18px 20px;
	background-color: var(--de-blanc);
	border: 1px solid var(--de-bordure);
	border-radius: var(--de-rayon);
	font-size: 0.9375rem;
}

.de-frise li::before {
	content: counter(de-etape);
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 10px;
	background-color: var(--de-ciel-clair);
	border: 2px solid var(--de-ciel);
	border-radius: 50%;
	font-family: var(--de-police-titres);
	font-weight: 800;
}

.de-frise strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--de-police-titres);
	font-size: 1.1rem;
}

/* Trois cartes côte à côte. */
.de-cartes--trois {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Titres plus petits : « WooCommerce » doit tenir dans une carte étroite. */
.de-cartes--trois h3 {
	font-size: 1.2rem;
	overflow-wrap: anywhere;
}

/* Cartes de l'équipe (externalisation du service client) : photo réduite. */
.de-cartes--equipe .de-portrait-photo {
	width: 140px;
}

.de-cartes--equipe .de-portrait-photo img {
	aspect-ratio: 1;
	object-fit: cover;
	object-position: center 30%;
}

/* Questions : un filet au-dessus de chaque question. */
.de-faq h3 {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--de-bordure);
	font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   Portrait de l'auteur (accueil, encadré « Qui étudie votre site »)
   -------------------------------------------------------------------------- */

.de-portrait {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	margin-bottom: 1.5em;
}

.de-portrait > p,
.de-portrait > .wp-block-group__inner-container > p {
	margin: 0;
}

.de-portrait-photo {
	margin: 0;
}

.de-portrait-photo img {
	display: block;
	width: 100%;
	height: auto;
	border: 3px solid var(--de-blanc);
	border-radius: 20px;
	box-shadow: 0 12px 30px -18px rgba(15, 43, 59, 0.5);
}

/* Mention « Photo retouchée avec l'IA ». */
.de-portrait-photo figcaption {
	margin: 6px 0 0;
	font-size: 0.75rem;
	text-align: center;
	color: var(--de-texte-doux);
}

.de-auteur:has(.de-portrait-photo) {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
}

.de-auteur .de-portrait-photo {
	grid-row: 1 / span 3;
}

.de-auteur .de-portrait-photo img {
	border-radius: 14px;
}

/* --------------------------------------------------------------------------
   Téléphone et tablette
   -------------------------------------------------------------------------- */

@media (max-width: 820px) {
	.de-hero {
		padding: 36px 16px 44px;
	}

	.de-hero-int,
	.de-cartes,
	.de-cartes--trois,
	.de-zones,
	ol.de-frise {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Pages organes : le dessin n'apporte rien sur téléphone et repousserait
	   le texte ; le bouton du check-up reste visible sans défiler. */
	.de-hero-organe {
		display: none;
	}

	/* Le titre est trop long pour partager la ligne : le logo passe dessous. */
	.de-hero-logo {
		justify-self: center;
		width: 120px;
	}

	.de-ord-ligne {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.de-ord-texte {
		grid-column: 1 / -1;
	}

	.de-section {
		padding-top: 44px;
	}

	.de-portrait {
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 16px;
		align-items: start;
	}

	.de-bande {
		padding-block: 48px;
	}
}

/* --------------------------------------------------------------------------
   Captures d'écran et extrait de code dans une section (page ADN).
   Le code défile dans son cadre sur mobile : la page ne défile jamais
   horizontalement.
   -------------------------------------------------------------------------- */

.de-capture img {
	border: 1px solid var(--de-bordure);
	border-radius: 12px;
}

.de-capture figcaption {
	margin: 6px 0 0;
	font-size: 0.85rem;
	color: var(--de-texte-doux);
}

.de-section .wp-block-code {
	max-width: 100%;
	overflow-x: auto;
	padding: 16px 18px;
	background-color: var(--de-ciel-clair);
	border: 1px solid var(--de-bordure);
	border-radius: 12px;
	color: var(--de-texte);
	font-size: 0.85rem;
	line-height: 1.5;
}

.de-section .wp-block-code code {
	white-space: pre;
}
