/**
 * Pages Accompagnement (enfants, adolescents, parents…) — système éditorial premium
 *
 * @package Morgane_Del_Medico
 */

/* ── Page & fond ───────────────────────────────────────────────────────────── */

.page-template-page-accompagnement-enfants-php .site-main,
.page-template-page-accompagnement-adolescents-php .site-main,
.page-template-page-accompagnement-parents-php .site-main,
.page-template-page-motifs-consultation-php .site-main,
.page-template-page-mes-seances-php .site-main,
.site-main:has(.aen-page--editorial) {
	background: var(--color-linen);
}

.page-template-page-accompagnement-enfants-php .site-main::before,
.page-template-page-accompagnement-enfants-php .site-main::after,
.page-template-page-accompagnement-adolescents-php .site-main::before,
.page-template-page-accompagnement-adolescents-php .site-main::after,
.page-template-page-accompagnement-parents-php .site-main::before,
.page-template-page-accompagnement-parents-php .site-main::after,
.page-template-page-motifs-consultation-php .site-main::before,
.page-template-page-motifs-consultation-php .site-main::after,
.page-template-page-mes-seances-php .site-main::before,
.page-template-page-mes-seances-php .site-main::after,
.site-main:has(.aen-page--editorial)::before,
.site-main:has(.aen-page--editorial)::after {
	display: none;
}

.aen-page--editorial {
	--aen-container-max: 68.75rem;
	--aen-block-max: clamp(53.125rem, 88vw, 59.375rem);
	--aen-read-max: 53.125rem;
	--aen-list-max: 56.25rem;
	--aen-narrow-max: 42rem;
	--aen-section-space: clamp(5.625rem, 6.5vw, 7.5rem);
	--aen-shift-max: clamp(5rem, 7vw, 8.75rem);
	--aen-shift-soft: clamp(2.5rem, 4vw, 4.375rem);
	--aen-title-text-gap: clamp(1.25rem, 2vw, 1.875rem);
	--aen-subtitle-gap: clamp(1.5rem, 2.5vw, 2rem);
	--aen-paragraph-gap: clamp(1.125rem, 1.5vw, 1.5rem);
	--aen-list-gap: clamp(1.125rem, 1.6vw, 1.375rem);
	--aen-text-cta-gap: clamp(1.5rem, 2vw, 1.875rem);
	position: relative;
	overflow-x: clip;
	background-color: var(--color-linen);
	background-image:
		radial-gradient(ellipse 110% 42% at 50% -2%, rgba(255, 253, 250, 0.48) 0%, transparent 58%),
		radial-gradient(ellipse 72% 30% at 10% 32%, rgba(168, 184, 165, 0.04) 0%, transparent 52%),
		radial-gradient(ellipse 68% 28% at 90% 55%, rgba(255, 253, 250, 0.3) 0%, transparent 55%),
		radial-gradient(ellipse 80% 34% at 38% 82%, rgba(168, 184, 165, 0.032) 0%, transparent 52%);
}

.aen-page--editorial::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--svg-grain);
	background-size: 220px 220px;
	opacity: 0.016;
	pointer-events: none;
	z-index: 0;
}

.aen-page--editorial > *:not(.aen-page__atmosphere) {
	position: relative;
	z-index: 1;
}

.aen-page__atmosphere {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.aen-page__leaf {
	position: absolute;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.04;
	filter: blur(var(--deco-blur-far));
	pointer-events: none;
}

.aen-page__leaf--1 {
	width: clamp(380px, 46vw, 620px);
	height: clamp(440px, 52vw, 700px);
	top: 4%;
	right: -8%;
	background-image: var(--svg-leaf-eucalyptus);
	transform: rotate(-8deg);
	opacity: 0.032;
}

.aen-page__leaf--2 {
	width: clamp(340px, 40vw, 540px);
	height: clamp(540px, 64vw, 860px);
	top: 44%;
	left: -12%;
	background-image: var(--svg-leaf-monumental);
	opacity: 0.028;
	filter: blur(var(--deco-blur-mid));
	transform: rotate(-16deg);
}

.aen-page__leaf--3 {
	width: clamp(280px, 34vw, 440px);
	height: clamp(150px, 18vw, 230px);
	bottom: 10%;
	right: 3%;
	background-image: var(--svg-branch-fine);
	transform: rotate(4deg);
	opacity: 0.03;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */

.aen-page--editorial .aen-container {
	max-width: var(--aen-container-max);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.aen-section {
	padding-block: var(--aen-section-space);
	background: transparent;
}

.aen-section--intro {
	padding-block: clamp(2.5rem, 5vw, 2.5rem) var(--aen-section-space);
}

.aen-section--echange {
	padding-block: var(--aen-section-space) clamp(4.5rem, 7vw, 5.5rem);
}

/* ── Chapitres ─────────────────────────────────────────────────────────────── */

.aen-chapter {
	position: relative;
	max-width: var(--aen-block-max);
}

.aen-chapter--wide {
	max-width: var(--aen-block-max);
}

.aen-chapter--narrow {
	max-width: var(--aen-narrow-max);
}

.aen-chapter--center {
	max-width: 42rem;
	margin-inline: auto;
	text-align: center;
}

.aen-chapter__deco {
	position: absolute;
	top: 0;
	right: clamp(0.25rem, 1vw, 1rem);
	width: clamp(52px, 7vw, 76px);
	height: clamp(88px, 11vw, 120px);
	background-image: var(--svg-leaf);
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.035;
	pointer-events: none;
	transform: rotate(10deg);
}

/* ── Typographie ───────────────────────────────────────────────────────────── */

.aen-chapter__title--h1 {
	margin: 2.5rem 0 1.5rem;
	font-family: var(--font-heading);
	font-size: clamp(3rem, 4vw, 3.5rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--color-sage-title);
}

.aen-chapter__subtitle {
	margin: 0 0 var(--aen-subtitle-gap);
	max-width: 56.25rem;
	font-family: var(--font-heading);
	font-size: clamp(1.625rem, 2.8vw, 2rem);
	font-weight: 400;
	line-height: 1.3;
	color: var(--color-text);
}

.aen-chapter__title {
	margin: 2.5rem 0 0;
	font-family: var(--font-heading);
	font-size: clamp(1.875rem, 3vw, 2.125rem);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--color-sage-title);
}

.aen-prose {
	display: flex;
	flex-direction: column;
	gap: var(--aen-paragraph-gap);
	margin-top: var(--aen-title-text-gap);
	max-width: var(--aen-read-max);
}

.aen-section--intro .aen-prose {
	margin-top: 0;
}

.aen-prose p {
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text);
}

.aen-prose__lead-in {
	margin: var(--aen-title-text-gap) 0 clamp(1.25rem, 2vw, 1.25rem);
	max-width: var(--aen-read-max);
	font-family: var(--font-body);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.6;
	color: var(--color-text);
}

.aen-prose__opening {
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 1.8vw, 1.375rem);
	font-weight: 400;
	line-height: 1.45;
	color: var(--color-text);
}

.aen-prose__break {
	margin-top: clamp(0.5rem, 1vw, 0.75rem) !important;
	padding-top: clamp(0.75rem, 1.5vw, 1rem);
	border-top: 1px solid rgba(127, 146, 124, 0.12);
}

.aen-prose__closing {
	margin-top: clamp(0.75rem, 1.5vw, 1rem) !important;
	padding-top: clamp(0.875rem, 1.5vw, 1.125rem);
	border-top: 1px solid rgba(127, 146, 124, 0.14);
	font-family: var(--font-heading);
	font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
	line-height: 1.45;
	color: var(--color-sage-action);
}

.aen-prose__closing--duo p {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
	line-height: 1.45;
	color: var(--color-sage-action);
}

.aen-prose__closing--duo p + p {
	margin-top: clamp(1.125rem, 1.5vw, 1.5rem);
}

.aen-prose--center {
	margin-inline: auto;
}

.aen-chapter--center .aen-prose--center {
	text-align: center;
}

/* ── Listes ────────────────────────────────────────────────────────────────── */

.aen-leaf-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--aen-list-gap) clamp(1.5rem, 3vw, 2.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: var(--aen-list-max);
}

.aen-leaf-list li {
	position: relative;
	margin: 0;
	padding-left: 1.5rem;
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--color-text);
}

.aen-leaf-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 14px;
	height: 14px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.5 18 2c1 2 2 4.5 2 8 0 5.5-4.8 10-9 10Z' stroke='%23A8B8A5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.aen-leaf-list--five li:last-child {
	grid-column: 1 / -1;
	max-width: min(100%, 28rem);
}

.aen-leaf-list--seven li:last-child {
	grid-column: 1 / -1;
	max-width: min(100%, 36rem);
}

.aen-leaf-list--stacked {
	grid-template-columns: 1fr;
}

.aen-leaf-list + .aen-prose__closing {
	margin-top: clamp(1.5rem, 2.5vw, 2rem) !important;
	max-width: var(--aen-read-max);
}

/* ── CTA texte & bouton ────────────────────────────────────────────────────── */

.aen-section__cta {
	margin: var(--aen-text-cta-gap) 0 0;
}

.aen-link-cta {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.4rem;
	max-width: var(--aen-read-max);
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--color-sage-action);
	text-decoration: none;
	transition: color 0.22s ease;
}

.aen-link-cta::after {
	content: "→";
	flex-shrink: 0;
	font-weight: 400;
	transition: transform 0.22s ease;
}

.aen-link-cta:hover,
.aen-link-cta:focus-visible {
	color: var(--color-sage-action);
	text-decoration: none;
}

.aen-link-cta:hover::after,
.aen-link-cta:focus-visible::after {
	transform: translateX(3px);
}

.aen-link-cta:focus-visible {
	outline: 2px solid var(--color-sage-dark);
	outline-offset: 3px;
	border-radius: 2px;
}

.aen-chapter__cta {
	margin: var(--aen-text-cta-gap) 0 0;
}

.aen-section--echange .scn-cta-actions,
.qsm-section--cta .scn-cta-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--aen-paragraph-gap, var(--qsm-paragraph-gap));
	margin-top: var(--aen-text-cta-gap, var(--qsm-text-cta-gap));
}

/* .aen-btn-cta — alias primary : voir main.css (.btn-primary, .aen-btn-cta) */

/* ── Composition éditoriale — alternance desktop ───────────────────────────── */

@media (min-width: 1024px) {
	.aen-chapter--intro {
		margin-left: var(--aen-shift-soft);
		margin-right: auto;
	}

	.aen-chapter--shift-left {
		margin-left: var(--aen-shift-max);
		margin-right: auto;
	}

	.aen-chapter--shift-right {
		margin-left: auto;
		margin-right: var(--aen-shift-max);
	}

	.aen-chapter--center {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.aen-page--editorial {
		--aen-shift-max: clamp(2.5rem, 5vw, 4rem);
		--aen-shift-soft: clamp(1.25rem, 3vw, 2rem);
	}
}

@media (max-width: 1023px) {
	.aen-chapter:not(.aen-chapter--center) {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 767px) {
	.aen-leaf-list {
		grid-template-columns: 1fr;
	}

	.aen-leaf-list--five li:last-child {
		max-width: none;
	}

	.aen-leaf-list--seven li:last-child {
		max-width: none;
	}

	.aen-chapter__title--h1 {
		margin-top: clamp(1.5rem, 4vw, 2rem);
		font-size: clamp(2.5rem, 10vw, 2.75rem);
	}

	.aen-chapter__subtitle {
		font-size: clamp(1.625rem, 5.5vw, 1.875rem);
	}

	.aen-chapter__title {
		font-size: clamp(1.625rem, 5vw, 1.875rem);
	}

	.aen-prose p,
	.aen-prose__lead-in,
	.aen-link-cta,
	.aen-leaf-list li {
		font-size: clamp(1.0625rem, 4.2vw, 1.125rem);
	}

	.aen-prose__opening {
		font-size: clamp(1.0625rem, 4.2vw, 1.125rem);
	}
}

@media (min-width: 1700px) {
	.aen-prose p,
	.aen-prose__lead-in {
		font-size: 1.25rem;
	}
}

/* ── VISUEL-007 — Pages accompagnement / séances (scope ciblé) ─────────────── */

.aen-page--accompagnement {
	--aen-section-space: clamp(4.25rem, 5.25vw, 5.5rem);
	--aen-title-text-gap: clamp(1.125rem, 1.75vw, 1.625rem);
	--aen-subtitle-gap: clamp(1.25rem, 2vw, 1.625rem);
}

.aen-page--accompagnement .aen-section--intro {
	padding-block: clamp(1.75rem, 4vw, 2.25rem) clamp(3.25rem, 5vw, 4.25rem);
	scroll-margin-top: var(--header-height);
}

.aen-page--accompagnement .aen-section--echange {
	padding-block: var(--aen-section-space) clamp(3.75rem, 6vw, 4.75rem);
}

.aen-page--accompagnement .aen-chapter__title--h1 {
	margin: clamp(0.5rem, 1.5vw, 0.875rem) 0 clamp(1rem, 1.75vw, 1.25rem);
	font-size: clamp(2.35rem, 4.5vw, 3.25rem);
	line-height: 1.12;
}

.aen-page--accompagnement .aen-chapter__subtitle {
	font-size: clamp(1.5rem, 2.6vw, 1.875rem);
	line-height: 1.32;
}

.aen-page--accompagnement .aen-chapter__title {
	margin-top: clamp(0.375rem, 1.2vw, 0.75rem);
	font-size: clamp(1.75rem, 2.8vw, 2rem);
	line-height: 1.28;
}

.aen-page--accompagnement .aen-section + .aen-section {
	padding-top: 0;
}

.aen-page--accompagnement .aen-chapter__deco {
	opacity: 0.028;
}

@media (max-width: 767px) {
	.aen-page--accompagnement .aen-chapter__title--h1 {
		margin-top: clamp(0.375rem, 2vw, 0.625rem);
		font-size: clamp(2.125rem, 9.5vw, 2.5rem);
	}

	.aen-page--accompagnement .aen-chapter__subtitle {
		font-size: clamp(1.375rem, 5vw, 1.625rem);
	}

	.aen-page--accompagnement .aen-chapter__title {
		font-size: clamp(1.5rem, 4.8vw, 1.75rem);
	}

	.aen-page--accompagnement .aen-section--intro {
		padding-block: clamp(1.25rem, 4vw, 1.75rem) clamp(2.75rem, 6vw, 3.5rem);
	}

	.aen-page--accompagnement .aen-page__leaf--1 {
		width: min(72vw, 320px);
		right: -18%;
		opacity: 0.022;
	}

	.aen-page--accompagnement .aen-page__leaf--2 {
		width: min(68vw, 280px);
		left: -20%;
		opacity: 0.02;
	}

	.aen-page--accompagnement .aen-page__leaf--3 {
		display: none;
	}
}

@media (max-width: 390px) {
	.aen-page--accompagnement .aen-container {
		padding-inline: clamp(1rem, 4vw, 1.25rem);
	}

	.aen-page--accompagnement .aen-chapter__title--h1 {
		font-size: clamp(1.9375rem, 9vw, 2.25rem);
	}

	.aen-page--accompagnement .aen-link-cta {
		font-size: clamp(1rem, 4vw, 1.0625rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.aen-page--accompagnement .aen-link-cta,
	.aen-page--accompagnement .aen-link-cta::after {
		transition: none;
	}
}

/* ── Page Enfants — axe commun et compositions photo ──────────────────────── */

.page-template-page-accompagnement-enfants-php .aen-section--vivent .aen-chapter,
.page-template-page-accompagnement-enfants-php .aen-section--propose .aen-chapter,
.page-template-page-accompagnement-enfants-php .aen-section--parent .aen-chapter,
.page-template-page-accompagnement-enfants-php .aen-section--faq .aen-chapter,
.page-template-page-accompagnement-enfants-php .aen-section--echange .aen-chapter {
	margin-left: 0;
	margin-right: auto;
	max-width: 38rem;
	text-align: left;
}

.page-template-page-accompagnement-enfants-php .aen-section--echange .scn-cta-actions {
	align-items: flex-start;
}

.page-template-page-accompagnement-enfants-php .aen-contact-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.25rem clamp(1rem, 2.5vw, 1.75rem);
	margin-top: var(--aen-text-cta-gap);
}

.page-template-page-accompagnement-enfants-php .aen-contact-links .aen-link-cta {
	min-height: 2.75rem;
	align-items: center;
}

.page-template-page-accompagnement-enfants-php .aen-split {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: clamp(1.5rem, 3vw, 2.25rem);
	max-width: 100%;
}

.page-template-page-accompagnement-enfants-php .aen-split__content,
.page-template-page-accompagnement-enfants-php .aen-split__media {
	min-width: 0;
	max-width: 100%;
}

.page-template-page-accompagnement-enfants-php .aen-split__media {
	width: min(100%, 24rem);
	margin: 0 auto;
}

.page-template-page-accompagnement-enfants-php .aen-split__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	border-radius: 0.625rem;
}

@media (min-width: 1024px) {
	.page-template-page-accompagnement-enfants-php .aen-split--text-photo,
	.page-template-page-accompagnement-enfants-php .aen-split--photo-text {
		display: grid;
		align-items: center;
		justify-content: center;
		column-gap: clamp(2.5rem, 3.2vw, 3rem);
		row-gap: 0;
	}

	.page-template-page-accompagnement-enfants-php .aen-split__media {
		margin: 0;
		align-self: center;
	}

	.page-template-page-accompagnement-enfants-php .aen-split--text-photo {
		grid-template-columns: minmax(0, 38rem) min(100%, 24rem);
	}

	.page-template-page-accompagnement-enfants-php .aen-split--photo-text {
		grid-template-columns: min(100%, 24rem) minmax(0, 38rem);
	}

	.page-template-page-accompagnement-enfants-php .aen-split--photo-text .aen-split__content {
		grid-column: 2;
		grid-row: 1;
	}

	.page-template-page-accompagnement-enfants-php .aen-split--photo-text .aen-split__media {
		grid-column: 1;
		grid-row: 1;
	}
}

/* ── Page Enfants — questions fréquentes ──────────────────────────────────── */

.page-template-page-accompagnement-enfants-php .aen-faq {
	margin-top: var(--aen-title-text-gap);
	border-top: 1px solid rgba(127, 146, 124, 0.16);
}

.page-template-page-accompagnement-enfants-php .aen-faq__item {
	margin: 0;
	border-bottom: 1px solid rgba(127, 146, 124, 0.16);
}

.page-template-page-accompagnement-enfants-php .aen-faq__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.75rem;
	padding: 0.9rem 0.15rem;
	list-style: none;
	cursor: pointer;
}

.page-template-page-accompagnement-enfants-php .aen-faq__summary::-webkit-details-marker {
	display: none;
}

.page-template-page-accompagnement-enfants-php .aen-faq__summary::marker {
	content: "";
}

.page-template-page-accompagnement-enfants-php .aen-faq__question {
	margin: 0;
	min-width: 0;
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--color-text);
	overflow-wrap: break-word;
}

.page-template-page-accompagnement-enfants-php .aen-faq__summary::after {
	content: "";
	flex-shrink: 0;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: -0.15rem;
	border-right: 1.5px solid var(--color-sage-action);
	border-bottom: 1.5px solid var(--color-sage-action);
	transform: rotate(45deg);
	transition: transform 0.22s ease;
}

.page-template-page-accompagnement-enfants-php .aen-faq__item[open] .aen-faq__summary::after {
	margin-top: 0.15rem;
	transform: rotate(-135deg);
}

.page-template-page-accompagnement-enfants-php .aen-faq__summary:focus-visible {
	outline: 2px solid var(--color-sage-action);
	outline-offset: 3px;
	border-radius: 2px;
}

.page-template-page-accompagnement-enfants-php .aen-faq__answer {
	padding: 0 0.15rem 1.15rem;
}

.page-template-page-accompagnement-enfants-php .aen-faq__answer p {
	margin: 0;
	max-width: 38rem;
	font-family: var(--font-body);
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
	.page-template-page-accompagnement-enfants-php .aen-faq__summary::after {
		transition: none;
	}
}

/* ── Page Adolescents — axe commun et compositions photo ──────────────────── */

.page-template-page-accompagnement-adolescents-php .aen-section--motifs .aen-chapter,
.page-template-page-accompagnement-adolescents-php .aen-section--propose .aen-chapter,
.page-template-page-accompagnement-adolescents-php .aen-section--parent .aen-chapter,
.page-template-page-accompagnement-adolescents-php .aen-section--faq .aen-chapter,
.page-template-page-accompagnement-adolescents-php .aen-section--echange .aen-chapter {
	margin-left: 0;
	margin-right: auto;
	max-width: 38rem;
	text-align: left;
}

.page-template-page-accompagnement-adolescents-php .aen-section--echange .scn-cta-actions {
	align-items: flex-start;
}

.page-template-page-accompagnement-adolescents-php .aen-contact-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.25rem clamp(1rem, 2.5vw, 1.75rem);
	margin-top: var(--aen-text-cta-gap);
}

.page-template-page-accompagnement-adolescents-php .aen-contact-links .aen-link-cta {
	min-height: 2.75rem;
	align-items: center;
}

.page-template-page-accompagnement-adolescents-php .aen-split {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: clamp(1.5rem, 3vw, 2.25rem);
	max-width: 100%;
}

.page-template-page-accompagnement-adolescents-php .aen-split__content,
.page-template-page-accompagnement-adolescents-php .aen-split__media {
	min-width: 0;
	max-width: 100%;
}

.page-template-page-accompagnement-adolescents-php .aen-split__media {
	width: min(100%, 24rem);
	margin: 0 auto;
}

.page-template-page-accompagnement-adolescents-php .aen-split__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	border-radius: 0.625rem;
}

@media (min-width: 1024px) {
	.page-template-page-accompagnement-adolescents-php .aen-split--text-photo,
	.page-template-page-accompagnement-adolescents-php .aen-split--photo-text {
		display: grid;
		align-items: center;
		justify-content: center;
		column-gap: clamp(2.5rem, 3.2vw, 3rem);
		row-gap: 0;
	}

	.page-template-page-accompagnement-adolescents-php .aen-split__media {
		margin: 0;
		align-self: center;
	}

	.page-template-page-accompagnement-adolescents-php .aen-split--text-photo {
		grid-template-columns: minmax(0, 38rem) min(100%, 24rem);
	}

	.page-template-page-accompagnement-adolescents-php .aen-split--photo-text {
		grid-template-columns: min(100%, 24rem) minmax(0, 38rem);
	}

	.page-template-page-accompagnement-adolescents-php .aen-split--photo-text .aen-split__content {
		grid-column: 2;
		grid-row: 1;
	}

	.page-template-page-accompagnement-adolescents-php .aen-split--photo-text .aen-split__media {
		grid-column: 1;
		grid-row: 1;
	}
}

/* ── Page Adolescents — questions fréquentes ──────────────────────────────── */

.page-template-page-accompagnement-adolescents-php .aen-faq {
	margin-top: var(--aen-title-text-gap);
	border-top: 1px solid rgba(127, 146, 124, 0.16);
}

.page-template-page-accompagnement-adolescents-php .aen-faq__item {
	margin: 0;
	border-bottom: 1px solid rgba(127, 146, 124, 0.16);
}

.page-template-page-accompagnement-adolescents-php .aen-faq__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.75rem;
	padding: 0.9rem 0.15rem;
	list-style: none;
	cursor: pointer;
}

.page-template-page-accompagnement-adolescents-php .aen-faq__summary::-webkit-details-marker {
	display: none;
}

.page-template-page-accompagnement-adolescents-php .aen-faq__summary::marker {
	content: "";
}

.page-template-page-accompagnement-adolescents-php .aen-faq__question {
	margin: 0;
	min-width: 0;
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--color-text);
	overflow-wrap: break-word;
}

.page-template-page-accompagnement-adolescents-php .aen-faq__summary::after {
	content: "";
	flex-shrink: 0;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: -0.15rem;
	border-right: 1.5px solid var(--color-sage-action);
	border-bottom: 1.5px solid var(--color-sage-action);
	transform: rotate(45deg);
	transition: transform 0.22s ease;
}

.page-template-page-accompagnement-adolescents-php .aen-faq__item[open] .aen-faq__summary::after {
	margin-top: 0.15rem;
	transform: rotate(-135deg);
}

.page-template-page-accompagnement-adolescents-php .aen-faq__summary:focus-visible {
	outline: 2px solid var(--color-sage-action);
	outline-offset: 3px;
	border-radius: 2px;
}

.page-template-page-accompagnement-adolescents-php .aen-faq__answer {
	padding: 0 0.15rem 1.15rem;
}

.page-template-page-accompagnement-adolescents-php .aen-faq__answer p {
	margin: 0;
	max-width: 38rem;
	font-family: var(--font-body);
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
	.page-template-page-accompagnement-adolescents-php .aen-faq__summary::after {
		transition: none;
	}
}

/* ── Page Parents — axe commun et compositions photo ──────────────────────── */

.page-template-page-accompagnement-parents-php .aen-section--motifs .aen-chapter,
.page-template-page-accompagnement-parents-php .aen-section--propose .aen-chapter,
.page-template-page-accompagnement-parents-php .aen-section--faq .aen-chapter,
.page-template-page-accompagnement-parents-php .aen-section--echange .aen-chapter {
	margin-left: 0;
	margin-right: auto;
	max-width: 38rem;
	text-align: left;
}

.page-template-page-accompagnement-parents-php .aen-section--echange .scn-cta-actions {
	align-items: flex-start;
}

.page-template-page-accompagnement-parents-php .aen-contact-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.25rem clamp(1rem, 2.5vw, 1.75rem);
	margin-top: var(--aen-text-cta-gap);
}

.page-template-page-accompagnement-parents-php .aen-contact-links .aen-link-cta {
	min-height: 2.75rem;
	align-items: center;
}

.page-template-page-accompagnement-parents-php .aen-split {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: clamp(1.5rem, 3vw, 2.25rem);
	max-width: 100%;
}

.page-template-page-accompagnement-parents-php .aen-split__content,
.page-template-page-accompagnement-parents-php .aen-split__media {
	min-width: 0;
	max-width: 100%;
}

.page-template-page-accompagnement-parents-php .aen-split__media {
	width: min(100%, 24rem);
	margin: 0 auto;
}

.page-template-page-accompagnement-parents-php .aen-split__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	border: 0;
	border-radius: 0.625rem;
	box-shadow: none;
}

@media (min-width: 1024px) {
	.page-template-page-accompagnement-parents-php .aen-split--text-photo,
	.page-template-page-accompagnement-parents-php .aen-split--photo-text {
		display: grid;
		align-items: center;
		justify-content: center;
		column-gap: clamp(2.5rem, 3.2vw, 3rem);
		row-gap: 0;
	}

	.page-template-page-accompagnement-parents-php .aen-split__media {
		margin: 0;
		align-self: center;
	}

	.page-template-page-accompagnement-parents-php .aen-split--text-photo {
		grid-template-columns: minmax(0, 38rem) min(100%, 24rem);
	}

	.page-template-page-accompagnement-parents-php .aen-split--photo-text {
		grid-template-columns: min(100%, 24rem) minmax(0, 38rem);
	}

	.page-template-page-accompagnement-parents-php .aen-split--photo-text .aen-split__content {
		grid-column: 2;
		grid-row: 1;
	}

	.page-template-page-accompagnement-parents-php .aen-split--photo-text .aen-split__media {
		grid-column: 1;
		grid-row: 1;
	}
}

/* ── Page Parents — questions fréquentes ──────────────────────────────────── */

.page-template-page-accompagnement-parents-php .aen-faq {
	margin-top: var(--aen-title-text-gap);
	border-top: 1px solid rgba(127, 146, 124, 0.16);
}

.page-template-page-accompagnement-parents-php .aen-faq__item {
	margin: 0;
	border-bottom: 1px solid rgba(127, 146, 124, 0.16);
}

.page-template-page-accompagnement-parents-php .aen-faq__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.75rem;
	padding: 0.9rem 0.15rem;
	list-style: none;
	cursor: pointer;
}

.page-template-page-accompagnement-parents-php .aen-faq__summary::-webkit-details-marker {
	display: none;
}

.page-template-page-accompagnement-parents-php .aen-faq__summary::marker {
	content: "";
}

.page-template-page-accompagnement-parents-php .aen-faq__question {
	margin: 0;
	min-width: 0;
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--color-text);
	overflow-wrap: break-word;
}

.page-template-page-accompagnement-parents-php .aen-faq__summary::after {
	content: "";
	flex-shrink: 0;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: -0.15rem;
	border-right: 1.5px solid var(--color-sage-action);
	border-bottom: 1.5px solid var(--color-sage-action);
	transform: rotate(45deg);
	transition: transform 0.22s ease;
}

.page-template-page-accompagnement-parents-php .aen-faq__item[open] .aen-faq__summary::after {
	margin-top: 0.15rem;
	transform: rotate(-135deg);
}

.page-template-page-accompagnement-parents-php .aen-faq__summary:focus-visible {
	outline: 2px solid var(--color-sage-action);
	outline-offset: 3px;
	border-radius: 2px;
}

.page-template-page-accompagnement-parents-php .aen-faq__answer {
	padding: 0 0.15rem 1.15rem;
}

.page-template-page-accompagnement-parents-php .aen-faq__answer p {
	margin: 0;
	max-width: 38rem;
	font-family: var(--font-body);
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
	.page-template-page-accompagnement-parents-php .aen-faq__summary::after {
		transition: none;
	}
}

/* ── Motifs intégrés aux pages d’accompagnement ───────────────────────────── */

.aen-motifs {
	margin-top: var(--aen-title-text-gap);
	min-width: 0;
}

.aen-motifs--rows .aen-motifs__group {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.4rem;
	align-items: start;
	min-width: 0;
	margin: 0;
	padding: 0.8rem 0;
	border-top: 1px solid var(--color-sage-title);
}

.aen-motifs--rows .aen-motifs__group:first-child {
	padding-top: 0;
	border-top: 0;
}

.aen-motifs--rows .aen-motifs__group:last-child {
	padding-bottom: 0;
}

.aen-motifs__title {
	margin: 0;
	min-width: 0;
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.3;
	overflow-wrap: break-word;
	color: var(--color-sage-action);
}

.aen-motifs .aen-leaf-list {
	grid-template-columns: minmax(0, 1fr);
	gap: 0.28rem;
	max-width: none;
}

.aen-motifs .aen-leaf-list li {
	min-width: 0;
	padding-left: 1.35rem;
	font-size: 1.0625rem;
	line-height: 1.4;
	overflow-wrap: break-word;
}

.aen-motifs--items {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.28rem;
	align-items: start;
}

@media (min-width: 768px) {
	.aen-motifs--rows .aen-motifs__group {
		grid-template-columns: 10.5rem minmax(0, 1fr);
		column-gap: 1.25rem;
		padding: 0.7rem 0;
	}

	.aen-motifs--items {
		grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
		column-gap: 1.5rem;
	}
}
