/**
 * Studio Tabs - pages editoriales et legales.
 *
 * Ces pages ne passent pas par le constructeur : ce sont des pages de texte, et
 * du texte se compose mieux avec une feuille de style qu'avec des colonnes.
 * La largeur de lecture est bornee a 68 caracteres environ, au-dela l'oeil perd
 * la ligne suivante.
 */

.st-page {
	padding-top: var(--st-space-md);
	max-width: 44rem;
	margin: 0 auto var(--st-space-lg);
	color: var(--st-ink, #3d1e14);
}

.st-page--wide {
	max-width: var(--st-container, 1140px);
}

/* Le titre vit dans la colonne de texte, pas dans un bandeau pleine largeur :
   il s'aligne ainsi sur le premier paragraphe qu'il annonce. */
.st-page__title {
	margin: 0 0 var(--st-space-sm);
	font-family: var(--st-font, "Cabin", sans-serif);
	font-size: clamp(2rem, 1.4rem + 2.2vw, 2.75rem) !important;
	line-height: 1.1 !important;
	font-weight: 500;
	color: var(--st-ink, #3d1e14);
}

.st-page__title + .st-page__updated {
	margin-top: calc(var(--st-space-sm) * -1 + 4px);
}

.st-page__lead {
	margin: 0 0 var(--st-space-md);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--st-ink, #3d1e14);
}

/* En pleine largeur, seuls les blocs qui s'en servent vraiment occupent la
   largeur du conteneur : le texte courant reste à une longueur de ligne lisible,
   sinon l'oeil perd la ligne suivante. */
.st-page--wide > p,
.st-page--wide > h2,
.st-page--wide > h3,
.st-page--wide > ul,
.st-page--wide > ol {
	max-width: 44rem;
}

.st-page p {
	margin: 0 0 1em;
	line-height: 1.7;
}

.st-page h2 {
	margin: var(--st-space-md) 0 var(--st-space-xs);
	font-family: var(--st-font, "Cabin", sans-serif);
	font-size: 1.625rem !important;
	line-height: 1.25 !important;
	color: var(--st-ink, #3d1e14);
}

.st-page h3 {
	margin: var(--st-space-sm) 0 6px;
	font-family: var(--st-font, "Cabin", sans-serif);
	font-size: 1.125rem !important;
	line-height: 1.3 !important;
	color: var(--st-ink, #3d1e14);
}

.st-page ul,
.st-page ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
	line-height: 1.7;
}

.st-page li {
	margin-bottom: 6px;
}

.st-page a {
	color: var(--st-accent, #a3280a);
	text-decoration: underline;
}

.st-page strong {
	font-weight: 600;
}

/* Date de mise a jour, en tete des pages legales. */
.st-page__updated {
	margin: 0 0 var(--st-space-md);
	color: var(--st-muted, #7a6a5f);
	font-family: var(--st-font-ui, "Figtree", sans-serif);
	font-size: 0.8125rem;
}

/* Sommaire des pages longues : sur un texte de dix sections, sauter au bon
   paragraphe evite un defilement a l'aveugle sur telephone. */
.st-toc {
	margin: 0 0 var(--st-space-md);
	padding: var(--st-space-sm);
	background-color: var(--st-surface, #f6f6f6);
	border-radius: 0 0 0 var(--st-radius-md, 15px);
}

.st-toc p {
	margin: 0 0 8px;
	font-family: var(--st-font-ui, "Figtree", sans-serif);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--st-muted, #7a6a5f);
}

.st-toc ol {
	margin: 0;
	padding-left: 1.1em;
	font-size: 0.9375rem;
}

/* Bloc de coordonnees ou de faits, en plusieurs colonnes quand la place le
   permet. */
.st-facts {
	display: grid;
	gap: var(--st-space-sm);
	margin: 0 0 var(--st-space-md);
}

@media (min-width: 768px) {
	.st-facts--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.st-facts--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.st-fact {
	padding: var(--st-space-sm);
	background-color: var(--st-surface, #f6f6f6);
	border-radius: 0 0 0 var(--st-radius-md, 15px);
}

.st-fact h3 {
	margin: 0 0 6px;
	font-size: 1rem !important;
}

.st-fact p {
	margin: 0;
	color: var(--st-muted, #7a6a5f);
	font-size: 0.9375rem;
}

.st-fact a {
	color: var(--st-ink, #3d1e14);
}

/**
 * FAQ.
 *
 * Elements natifs details et summary : le navigateur gere l'ouverture, le
 * clavier et les lecteurs d'ecran sans une ligne de JavaScript.
 */
.st-faq {
	border-top: 1px solid var(--st-line, #e4ded9);
}

.st-faq details {
	border-bottom: 1px solid var(--st-line, #e4ded9);
}

.st-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--st-space-sm);
	padding: 18px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--st-font, "Cabin", sans-serif);
	font-size: 1.0625rem;
	line-height: 1.35;
	color: var(--st-ink, #3d1e14);
}

.st-faq summary::-webkit-details-marker {
	display: none;
}

.st-faq summary::after {
	content: "";
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 4l5 5 5-5' fill='none' stroke='%233d1e14' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.2s ease;
}

.st-faq details[open] summary::after {
	transform: rotate(180deg);
}

.st-faq details > *:not(summary) {
	margin-bottom: 1em;
	color: var(--st-muted, #7a6a5f);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.st-faq h2 {
	margin-top: var(--st-space-md);
}

/* Rappel d'action en fin de page. */
.st-page__cta {
	margin-top: var(--st-space-md);
	padding: var(--st-space-md) var(--st-space-sm);
	background-color: var(--st-surface, #f6f6f6);
	border-radius: 0 0 0 var(--st-radius-md, 15px);
	text-align: center;
}

.st-page__cta h2 {
	margin-top: 0;
}

.st-page__cta p {
	max-width: 40ch;
	margin-inline: auto;
	color: var(--st-muted, #7a6a5f);
}

/* Dans une page de texte, un bouton se dimensionne sur son libelle. */
.st-page .st-btn-solid,
.st-page .st-btn-outline {
	width: auto;
}