/* ============================================================
   SUBPAGE — le socle partagé par les sous-pages v2 (/formations,
   /livre-blanc), au-dessus du chrome `pricing-page-*` de v2.css.

   Pourquoi ce fichier existe (#1653, commencé ici) : la deuxième sous-page à
   vouloir une bande claire, un titre de section, une pastille d'icône et une
   rangée de boutons a recopié la première. La troisième n'aura pas à le faire.
   Ce qui reste dans `formations.css` / `livre-blanc.css`, ce sont les blocs
   que la page est SEULE à porter.

   Rien ici ne redéfinit une primitive de marque : ni bouton, ni `eyebrow`, ni
   `price-kicker`, ni `faq-*`. Tokens de v2.css uniquement.
   ============================================================ */

/* ---------- Bandes ---------- */
.sub-section { padding: clamp(56px, 8vw, 96px) 0; background: #fff; }
.sub-section--alt { background: #f7f6fa; }
.sub-title {
	margin-top: 8px;
	max-width: 22ch;
	color: var(--brand-navy);
	font-size: clamp(25px, 2.9vw, 38px);
	line-height: 1.15;
	text-wrap: balance;
}
.sub-head {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: end;
	gap: clamp(20px, 4vw, 64px);
}
.sub-head .sub-title { max-width: 18ch; }
.sub-head-lead { color: var(--muted-d); font-size: 15.5px; line-height: 1.7; }

/* ---------- Rangée d'actions ----------
   Sur le bandeau marine, `.btn-ghost` tomberait sur la recette CLAIRE de
   v2.css : une plaque opaque qui se lit comme un bouton désactivé. Même
   correctif que `.presse-contact-actions`. */
.sub-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pricing-page-hero .sub-actions { margin-top: 30px; }
.pricing-page-cta .sub-actions { flex: 0 0 auto; }
.pricing-page-cta .sub-actions .btn-ghost {
	border-color: rgba(255, 255, 255, .32);
	color: #fff;
	background: transparent;
}
.pricing-page-cta .sub-actions .btn-ghost:hover {
	border-color: rgba(255, 255, 255, .6);
	background: rgba(255, 255, 255, .08);
}

/* ---------- Ligne de repères sous un hero ---------- */
.sub-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin-top: 26px;
	padding: 0;
	color: var(--muted-d);
	font-size: 13.5px;
	list-style: none;
}
.sub-meta li { display: inline-flex; align-items: center; gap: 8px; }
.sub-meta svg { width: 16px; height: 16px; color: var(--brand-violet); }

/* ---------- Pastille d'icône (une recette, deux tailles) ---------- */
.sub-tile {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(176, 137, 242, .16);
	color: var(--brand-violet);
}
.sub-tile svg { width: 20px; height: 20px; }
.sub-tile--lg { width: 44px; height: 44px; border-radius: 13px; }
.sub-tile--lg svg { width: 21px; height: 21px; }
/* Sur un fond lavande, la pastille passe au blanc pour rester lisible. */
.sub-tile--onTint { background: #fff; }

/* ---------- Grille de cartes courtes ---------- */
.sub-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 32px;
}
.sub-card {
	padding: 24px 22px;
	border: 1px solid var(--line-d);
	border-radius: 18px;
	background: #fff;
}
.sub-card b { display: block; margin-top: 16px; color: var(--brand-navy); font-size: 15.5px; font-weight: 600; }
.sub-card p { margin-top: 7px; color: var(--muted-d); font-size: 14px; line-height: 1.6; }
.sub-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- Adaptatif ---------- */
@media (max-width: 1020px) {
	.sub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.sub-head { grid-template-columns: 1fr; align-items: start; }
	.sub-head .sub-title { max-width: none; }
	.sub-title { max-width: none; }
}
@media (max-width: 760px) {
	.pricing-page-cta .sub-actions { width: 100%; }
	.pricing-page-cta .sub-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 560px) {
	.sub-cards { grid-template-columns: 1fr; }
	.pricing-page-hero .sub-actions .btn { width: 100%; justify-content: center; }
}
