/*
Theme Name: OPS42 Child — Formations
Theme URI: https://www.ops42.fr/
Description: Child theme pour OPS42 — ajoute les pages catalogue de formations, fiches formation, espace stagiaire et personnalisations liées au plugin "OPS42 Formations".
Author: C2 Projet Web
Author URI: https://www.c2projetweb.fr/
Template: twentytwentyfive
Version: 1.0.0
Text Domain: ops42-child
*/

/* ====================================================================
   ATTENTION : remplacer "twentytwentyfour" ci-dessus par le slug exact
   du thème parent installé sur ops42.fr (à vérifier dans WP-Admin →
   Apparence → Thèmes, ou dans le dossier wp-content/themes/).
   En local on garde twentytwentyfour pour les tests.
   ==================================================================== */

/* ====================================================================
   0. RESET & OVERRIDE THÈME PARENT (largeur, typographie, header)
   ==================================================================== */

/* Cache l'entête fallback générée par les thèmes block (ex: TwentyTwentyFour) quand on
   appelle get_header() depuis une template PHP. Cible les IDs legacy #header / #headerimg.
   Sur prod ops42.fr (thème classique avec son vrai header.php), ces sélecteurs ne matchent
   pas et n'auront aucun effet — donc safe à laisser. */
body.single-ops42_formation #header,
body.single-ops42_formation #headerimg,
body.post-type-archive-ops42_formation #header,
body.post-type-archive-ops42_formation #headerimg,
body.single-ops42_formation .wp-block-template-part:first-of-type,
body.post-type-archive-ops42_formation .wp-block-template-part:first-of-type,
body.single-ops42_formation .wp-block-site-title,
body.post-type-archive-ops42_formation .wp-block-site-title {
	display: none !important;
}

/* Reset du wrapper #page legacy sur nos pages */
body.single-ops42_formation #page,
body.post-type-archive-ops42_formation #page {
	margin: 0 !important;
	padding: 0 !important;
}

/* Bandeau fin OPS42 visible en haut de nos pages, en remplacement du site title */
.ops42-page-banner {
	background: var(--ops42-dark);
	color: #fff;
	padding: .8rem 1.5rem;
	margin-bottom: 0;
	font-size: .9rem;
}

.ops42-page-banner__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.ops42-page-banner__brand {
	font-weight: 700;
	letter-spacing: .04em;
	color: #fff;
	text-decoration: none;
	display: inline-block;
}

.ops42-page-banner__brand strong {
	color: var(--ops42-red);
	margin-right: .1em;
}

.ops42-page-banner__logo {
	display: block;
	max-height: 38px;
	width: auto;
	filter: brightness(1.15) contrast(1.05);
}

.ops42-page-banner__contact {
	font-size: .85rem;
	color: #ccc;
}

.ops42-page-banner__contact a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px dotted rgba(255,255,255,.4);
}

/* Fil d'Ariane */
.ops42-breadcrumb {
	font-size: .85rem;
	color: var(--ops42-gray);
	margin: 1.2rem 0 1.5rem;
	padding-bottom: .8rem;
	border-bottom: 1px solid var(--ops42-border);
}

.ops42-breadcrumb a {
	color: var(--ops42-gray);
	text-decoration: none;
}

.ops42-breadcrumb a:hover {
	color: var(--ops42-red);
	text-decoration: underline;
}

.ops42-breadcrumb__sep {
	margin: 0 .4em;
	color: #aaa;
}

/* Force largeur large et typographie moderne sur nos pages OPS42, peu importe le thème parent */

/* Force largeur large et typographie moderne sur nos pages OPS42, peu importe le thème parent */

.ops42-single-formation,
.ops42-archive-formations,
.ops42-my-formations,
.ops42-my-documents,
.post-type-archive-ops42_formation .wp-site-blocks,
.single-ops42_formation .wp-site-blocks,
body.single-ops42_formation .entry-content,
body.post-type-archive-ops42_formation .entry-content {
	max-width: 100% !important;
	font-family: var(--ops42-font);
}

.ops42-single-formation,
.ops42-archive-formations {
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 2rem 1.5rem !important;
	font-family: var(--ops42-font);
	color: var(--ops42-dark);
	line-height: 1.6;
}

/* La V3 utilise des sections pleine largeur, pas de constraint sur le main */
.ops42-single-formation--v3 {
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* TwentyTwentyFour & block themes : élargir le wrapper qui contraint à ~650px */
.single-ops42_formation .wp-site-blocks .wp-block-group.is-layout-constrained,
.post-type-archive-ops42_formation .wp-site-blocks .wp-block-group.is-layout-constrained,
.single-ops42_formation main.wp-block-group,
.post-type-archive-ops42_formation main.wp-block-group {
	max-width: 1240px !important;
}

/* V3 single formation : full width (les sections gèrent leur padding) */
.single-ops42_formation .wp-site-blocks > .ops42-hero-v3,
.single-ops42_formation .wp-site-blocks > .ops42-stats-bar,
.single-ops42_formation .wp-site-blocks > .ops42-page-banner,
body.single-ops42_formation .wp-block-group.is-layout-constrained:has(> .ops42-single-formation--v3) {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Force typographie sans-serif sur nos pages */
.ops42-single-formation,
.ops42-single-formation h1,
.ops42-single-formation h2,
.ops42-single-formation h3,
.ops42-single-formation p,
.ops42-archive-formations,
.ops42-archive-formations h1,
.ops42-archive-formations h2,
.ops42-archive-formations p,
.ops42-formation-card,
.ops42-formation-card h2,
.ops42-formation-card h3,
.ops42-formation-card p {
	font-family: var(--ops42-font) !important;
}

/* ====================================================================
   FOOTER OPS42 V1 — simple et classe
   ==================================================================== */

.ops42-footer {
	background: var(--ops42-dark);
	color: rgba(255, 255, 255, .85);
	margin-top: 4rem;
	font-family: var(--ops42-font);
	border-top: 4px solid var(--ops42-red);
}

.ops42-footer a {
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
	transition: color .15s ease;
}
.ops42-footer a:hover { color: var(--ops42-orange); }

.ops42-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 2rem 2rem;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 2.5rem;
}

.ops42-footer__brand {
	max-width: 320px;
}

.ops42-footer__logo {
	display: block;
	max-width: 130px;
	height: auto;
	margin-bottom: 1rem;
	filter: brightness(1.15) contrast(1.05);
}

.ops42-footer__tagline {
	color: rgba(255, 255, 255, .65);
	font-size: .92rem;
	line-height: 1.55;
	margin: 0;
}

.ops42-footer__col h4 {
	color: #fff;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.ops42-footer__col p {
	font-size: .92rem;
	line-height: 1.8;
	margin: 0;
	color: rgba(255, 255, 255, .75);
}

.ops42-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding: 1.2rem 2rem;
}

.ops42-footer__bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: .82rem;
	color: rgba(255, 255, 255, .55);
}

.ops42-footer__credits a {
	color: var(--ops42-orange) !important;
	font-weight: 600;
	border-bottom: 1px dotted rgba(245, 130, 31, .35);
}
.ops42-footer__credits a:hover {
	border-color: var(--ops42-orange);
}

@media (max-width: 768px) {
	.ops42-footer__inner {
		grid-template-columns: 1fr;
		padding: 2rem 1.5rem 1.5rem;
	}
	.ops42-footer__bottom-inner { flex-direction: column; }
}

/* ====================================================================
   1. CHARTE OPS42 — variables CSS
   ==================================================================== */

:root {
	/* Charte chromatique chaleureuse */
	--ops42-red:        #d40000;
	--ops42-red-dark:   #a30000;
	--ops42-red-soft:   #ffe5e5;
	--ops42-orange:     #f5821f;     /* accent secondaire chaleureux */
	--ops42-orange-soft:#fff4e6;
	--ops42-cream:      #fdfaf6;     /* fond chaud principal (au lieu de blanc cru) */
	--ops42-cream-2:    #f7f3ec;     /* fond chaud sections alternées */
	--ops42-dark:       #2a1f1a;     /* dark warm (au lieu de noir froid) */
	--ops42-gray:       #6b5e54;     /* gris chaud (taupe doux) */
	--ops42-light-bg:   #faf6f0;
	--ops42-border:     #ece4d8;
	--ops42-warning:    #fff7e6;
	--ops42-warning-bd: #ffa940;
	--ops42-success:    #e6f7ed;
	--ops42-success-bd: #38b25b;

	/* Radius plus généreux + ombres plus douces et chaudes */
	--ops42-radius:     12px;
	--ops42-radius-lg:  18px;
	--ops42-shadow:     0 6px 18px rgba(75, 50, 30, .08);
	--ops42-shadow-lg:  0 16px 40px rgba(75, 50, 30, .14);
	--ops42-shadow-warm:0 8px 24px rgba(212, 0, 0, .12);

	--ops42-font:       'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Fond chaud + motif "rayures sécurité" très subtiles (identité OPS42 = sécurité incendie) */
body.single-ops42_formation,
body.post-type-archive-ops42_formation {
	background: var(--ops42-cream) !important;
	background-image:
		repeating-linear-gradient(
			135deg,
			transparent 0,
			transparent 60px,
			rgba(212, 0, 0, .025) 60px,
			rgba(212, 0, 0, .025) 61px,
			transparent 61px,
			transparent 120px
		),
		radial-gradient(ellipse 800px 400px at 50% 0%, rgba(212, 0, 0, .06) 0%, transparent 70%) !important;
	background-attachment: fixed !important;
}

/* ====================================================================
   HERO V3 — image plein écran + titre overlay (style landing page)
   Volontairement DIFFÉRENT de Global Formation : pas de carte centrale
   ==================================================================== */

.ops42-hero-v3 {
	position: relative;
	min-height: 540px;
	display: flex;
	align-items: center;
	background-color: var(--ops42-dark);
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
	padding: 4rem 2rem;
}

.ops42-hero-v3__inner {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.ops42-hero-v3__decoration {
	position: absolute;
	top: 0; right: 0;
	width: 35%;
	height: 100%;
	background: repeating-linear-gradient(
		135deg,
		transparent 0,
		transparent 20px,
		rgba(255, 255, 255, .04) 20px,
		rgba(255, 255, 255, .04) 21px
	);
	pointer-events: none;
}

.ops42-hero-v3__badge {
	display: inline-block;
	background: #fff;
	color: var(--ops42-red);
	padding: .4rem 1rem;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .75rem;
	font-weight: 800;
	margin-bottom: 1.4rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.ops42-hero-v3__title {
	font-size: clamp(2.4rem, 6.5vw, 5.2rem) !important;
	font-weight: 900 !important;
	color: #fff !important;
	line-height: 1 !important;
	margin: 0 0 1.5rem !important;
	letter-spacing: -.025em !important;
	max-width: 900px;
	font-family: var(--ops42-font) !important;
	font-style: normal !important;
	text-transform: none !important;
}

.ops42-block__title,
.ops42-timeline__title,
.ops42-info-card h3,
.ops42-session-card__period {
	font-family: var(--ops42-font) !important;
	font-style: normal !important;
}

.ops42-hero-v3__lead {
	font-size: 1.2rem;
	max-width: 720px;
	margin: 0 0 2rem;
	color: rgba(255, 255, 255, .92);
	line-height: 1.5;
}

.ops42-hero-v3__quick-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2.4rem;
}

.ops42-hero-v3__quick-meta-item {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: rgba(255, 255, 255, .12);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .15);
	padding: .55rem 1.1rem;
	border-radius: 50px;
	font-size: .92rem;
	font-weight: 600;
}

.ops42-hero-v3__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.ops42-btn-ghost-light {
	display: inline-block;
	padding: 1rem 1.6rem;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, .35);
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: .9rem;
	letter-spacing: .04em;
	transition: background .2s ease, border-color .2s ease;
}

.ops42-btn-ghost-light:hover {
	background: rgba(255, 255, 255, .12);
	border-color: #fff;
}

.ops42-breadcrumb--on-dark {
	color: rgba(255, 255, 255, .65);
	border: none;
	padding: 0;
	margin-bottom: 1.5rem;
}

.ops42-breadcrumb--on-dark a { color: rgba(255, 255, 255, .8); }
.ops42-breadcrumb--on-dark a:hover { color: #fff; }
.ops42-breadcrumb--on-dark .ops42-breadcrumb__sep { color: rgba(255, 255, 255, .4); }

@media (max-width: 768px) {
	.ops42-hero-v3 { min-height: 480px; padding: 2.5rem 1.5rem; }
	.ops42-hero-v3__title { font-size: clamp(2rem, 9vw, 3.4rem); }
}

/* ====================================================================
   STATS BAR
   ==================================================================== */

.ops42-stats-bar {
	background: var(--ops42-dark);
	color: #fff;
	border-bottom: 4px solid var(--ops42-red);
	padding: 1.6rem 2rem;
}

.ops42-stats-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	text-align: center;
}

.ops42-stat {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	position: relative;
}

.ops42-stat:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0; top: 15%;
	height: 70%;
	width: 1px;
	background: rgba(255, 255, 255, .15);
}

.ops42-stat__value {
	font-size: clamp(1.8rem, 3.5vw, 2.4rem);
	font-weight: 900;
	color: var(--ops42-orange);
	letter-spacing: -.02em;
	line-height: 1;
}

.ops42-stat__value sup {
	font-size: .55em;
	font-weight: 700;
	margin-left: .1em;
	color: rgba(255, 255, 255, .8);
}

.ops42-stat__label {
	font-size: .82rem;
	color: rgba(255, 255, 255, .75);
	letter-spacing: .03em;
	font-weight: 500;
}

@media (max-width: 700px) {
	.ops42-stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
	.ops42-stat:nth-child(2)::after { display: none; }
}

/* ====================================================================
   BLOCS pleine largeur alternés crème/blanc
   ==================================================================== */

.ops42-block { padding: 4rem 2rem; }
.ops42-block--white { background: #fff; }
.ops42-block--cream { background: var(--ops42-cream); }
.ops42-block__inner { max-width: 1200px; margin: 0 auto; }
.ops42-block__inner--narrow { max-width: 800px; }
.ops42-block__header { margin-bottom: 2.5rem; }
.ops42-block__header--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.ops42-block__kicker {
	display: inline-block;
	color: var(--ops42-red);
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: .8rem;
	padding: .3rem .9rem;
	background: var(--ops42-red-soft);
	border-radius: 4px;
}

.ops42-block__title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 800;
	color: var(--ops42-dark);
	margin: 0 0 .8rem;
	line-height: 1.1;
	letter-spacing: -.02em;
	border: none !important;
	padding: 0 !important;
}

.ops42-block__subtitle {
	color: var(--ops42-gray);
	font-size: 1.05rem;
	max-width: 640px;
	margin: 0;
}

.ops42-block__header--center .ops42-block__subtitle { margin-left: auto; margin-right: auto; }

/* ====================================================================
   BLOC RÉSERVATION pleine largeur
   ==================================================================== */

.ops42-reservation-block {
	background: linear-gradient(135deg, var(--ops42-dark) 0%, var(--ops42-red-dark) 60%, var(--ops42-red) 100%);
	color: #fff;
	padding: 4rem 2rem;
	position: relative;
	overflow: hidden;
}

.ops42-reservation-block::before {
	content: '';
	position: absolute;
	top: -50%; right: -10%;
	width: 600px; height: 600px;
	background: radial-gradient(circle, rgba(245, 130, 31, .25) 0%, transparent 70%);
	pointer-events: none;
}

.ops42-reservation-block__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

.ops42-reservation-block__kicker {
	display: inline-block;
	color: var(--ops42-orange);
	font-weight: 700;
	font-size: .85rem;
	letter-spacing: .1em;
	margin-bottom: 1rem;
}

.ops42-reservation-block h2 {
	color: #fff !important;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin: 0 0 1rem;
	font-weight: 800;
	border: none !important;
	padding: 0 !important;
}

.ops42-reservation-block p {
	color: rgba(255, 255, 255, .92);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.ops42-reservation-block__benefits {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .6rem 1.5rem;
}

.ops42-reservation-block__benefits li {
	padding-left: 1.8rem;
	position: relative;
	color: rgba(255, 255, 255, .92);
	font-size: .95rem;
}

.ops42-reservation-block__benefits li::before {
	content: '✓';
	position: absolute;
	left: 0; top: 0;
	width: 22px; height: 22px;
	background: var(--ops42-orange);
	color: var(--ops42-dark);
	font-weight: 800;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .8rem;
}

.ops42-reservation-block__right {
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: var(--ops42-radius-lg);
	padding: 2.5rem;
	text-align: center;
}

.ops42-reservation-block__price-label {
	display: block;
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
	margin-bottom: .4rem;
}

.ops42-reservation-block__price-value {
	display: block;
	font-size: clamp(3rem, 8vw, 5rem);
	font-weight: 900;
	color: #fff;
	line-height: 1;
	letter-spacing: -.04em;
}

.ops42-reservation-block__price-sub {
	display: block;
	font-size: .9rem;
	color: rgba(255, 255, 255, .8);
	margin-top: .4rem;
	margin-bottom: 1.8rem;
}

.ops42-btn-primary--large {
	padding: 1.3rem 2.5rem;
	font-size: 1rem;
}

.ops42-btn-primary--full {
	display: block;
	width: 100%;
	text-align: center;
}

@media (max-width: 768px) {
	.ops42-reservation-block__inner { grid-template-columns: 1fr; }
	.ops42-reservation-block__benefits { grid-template-columns: 1fr; }
}

/* ====================================================================
   TIMELINE — programme en étapes numérotées
   ==================================================================== */

.ops42-timeline {
	position: relative;
	padding-left: 70px;
	max-width: 900px;
	margin: 0 auto;
}

.ops42-timeline::before {
	content: '';
	position: absolute;
	top: 30px; bottom: 30px;
	left: 25px;
	width: 2px;
	background: linear-gradient(180deg, var(--ops42-red) 0%, var(--ops42-orange) 50%, var(--ops42-red) 100%);
}

.ops42-timeline__item {
	position: relative;
	padding: 0 0 2.5rem 1rem;
}

.ops42-timeline__item:last-child { padding-bottom: 0; }

.ops42-timeline__num {
	position: absolute;
	left: -70px; top: 0;
	width: 50px; height: 50px;
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 1.05rem;
	box-shadow: 0 4px 12px rgba(212, 0, 0, .35);
	border: 4px solid var(--ops42-cream);
}

.ops42-timeline__title {
	color: var(--ops42-dark);
	font-size: 1.25rem;
	font-weight: 800;
	margin: 0 0 .6rem;
}

.ops42-timeline__content {
	color: var(--ops42-gray);
	line-height: 1.7;
}

@media (max-width: 600px) {
	.ops42-timeline { padding-left: 50px; }
	.ops42-timeline__num { left: -50px; width: 40px; height: 40px; font-size: .85rem; }
	.ops42-timeline::before { left: 20px; }
}

/* ====================================================================
   SESSIONS EN GRILLE 3 CARDS
   ==================================================================== */

.ops42-session-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.ops42-session-card {
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
	position: relative;
}

.ops42-session-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ops42-shadow-lg);
	border-color: var(--ops42-red);
}

.ops42-session-card--featured {
	border-color: var(--ops42-red);
	box-shadow: var(--ops42-shadow-warm);
}

.ops42-session-card--featured::before {
	content: '⭐ Prochaine session';
	position: absolute;
	top: 1rem; right: 1rem;
	background: var(--ops42-red);
	color: #fff;
	padding: .25rem .7rem;
	border-radius: 12px;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .04em;
	z-index: 2;
}

.ops42-session-card__header {
	padding: 1.5rem;
	background: linear-gradient(135deg, var(--ops42-cream) 0%, #fff 100%);
	border-bottom: 1px solid var(--ops42-border);
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.ops42-session-card__date-block {
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%);
	color: #fff;
	border-radius: 10px;
	padding: .8rem 1rem;
	text-align: center;
	min-width: 78px;
	box-shadow: 0 4px 12px rgba(212, 0, 0, .25);
}

.ops42-session-card__day {
	display: block;
	font-size: 1.8rem;
	font-weight: 900;
	line-height: 1;
}

.ops42-session-card__month {
	display: block;
	font-size: .72rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin-top: .15rem;
	opacity: .9;
	font-weight: 700;
}

.ops42-session-card__body {
	padding: 1.4rem 1.5rem;
	flex: 1;
}

.ops42-session-card__period {
	color: var(--ops42-dark);
	font-weight: 700;
	font-size: 1.05rem;
	margin: 0 0 1rem;
}

.ops42-session-card__details {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: .55rem;
}

.ops42-session-card__details li {
	display: flex;
	align-items: center;
	gap: .6rem;
	color: var(--ops42-gray);
	font-size: .92rem;
}

.ops42-session-card__icon { font-size: 1rem; }

.ops42-session-card__footer { padding: 0 1.5rem 1.5rem; }

.ops42-sessions-empty--big {
	text-align: center;
	padding: 4rem 2rem;
	background: var(--ops42-warning);
	border-radius: var(--ops42-radius-lg);
	border-left: none;
}

.ops42-sessions-empty--big .ops42-sessions-empty__icon {
	display: block;
	font-size: 4rem;
	margin-bottom: 1rem;
}

.ops42-sessions-empty--big h3 {
	color: var(--ops42-dark);
	margin: 0 0 .8rem;
	font-size: 1.4rem;
}

/* ====================================================================
   INFO CARDS (4 cards "infos pratiques")
   ==================================================================== */

.ops42-info-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

.ops42-info-card {
	background: #fff;
	border-radius: var(--ops42-radius);
	padding: 1.8rem;
	border-top: 4px solid var(--ops42-red);
	box-shadow: var(--ops42-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ops42-info-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--ops42-shadow-lg);
}

.ops42-info-card:nth-child(2n) { border-top-color: var(--ops42-orange); }

.ops42-info-card__icon {
	width: 56px; height: 56px;
	border-radius: 14px;
	background: var(--ops42-red-soft);
	color: var(--ops42-red);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	margin-bottom: 1.2rem;
}

.ops42-info-card:nth-child(2n) .ops42-info-card__icon {
	background: var(--ops42-orange-soft);
	color: var(--ops42-orange);
}

.ops42-info-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ops42-dark);
	margin: 0 0 .8rem;
}

.ops42-info-card p {
	color: var(--ops42-gray);
	line-height: 1.6;
	margin: 0;
	font-size: .95rem;
}

/* ====================================================================
   HERO V2 — inspiré global-formation
   ==================================================================== */

.ops42-hero-v2 {
	position: relative;
	padding: 2rem 0 0;
	margin: 0 auto 6rem;
	text-align: center;
}

/* Accent OPS42 : "scan line" rouge avec dégradé flamme — pas 3 bandes ressemblant à global-formation */
.ops42-hero-v2__bands {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.ops42-hero-v2__band {
	height: 4px;
	width: 80px;
	border-radius: 2px;
}

.ops42-hero-v2__band--green  { background: var(--ops42-red); width: 60px; }
.ops42-hero-v2__band--orange { background: var(--ops42-red); width: 200px; margin: 0 .4rem; }
.ops42-hero-v2__band--dark   { background: var(--ops42-orange); width: 40px; }

.ops42-hero-v2__title {
	font-size: clamp(2.2rem, 6vw, 4.2rem);
	font-weight: 900;
	color: var(--ops42-dark);
	margin: 0 0 2.5rem;
	letter-spacing: -.02em;
	line-height: 1;
	text-transform: uppercase;
}

/* CARTE D'INSCRIPTION centrale (style global-formation) */

.ops42-inscription-card {
	background: #fff;
	border-radius: var(--ops42-radius-lg);
	padding: 2rem;
	max-width: 1000px;
	margin: 0 auto;
	box-shadow: var(--ops42-shadow-lg);
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 2.5rem;
	align-items: center;
	position: relative;
}

.ops42-inscription-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 8px; height: 100%;
	background: linear-gradient(180deg, var(--ops42-red) 0%, var(--ops42-red-dark) 50%, var(--ops42-red) 100%);
	border-radius: var(--ops42-radius-lg) 0 0 var(--ops42-radius-lg);
	box-shadow: 0 0 12px rgba(212, 0, 0, .4);
}

/* Motif "flamme" en haut à droite de la carte (identité OPS42) */
.ops42-inscription-card::after {
	content: '🔥';
	position: absolute;
	top: -18px;
	right: 24px;
	font-size: 36px;
	filter: drop-shadow(0 4px 8px rgba(212, 0, 0, .3));
	pointer-events: none;
}

.ops42-inscription-card__price {
	text-align: center;
	padding: 0 1rem;
	border-right: 1px solid var(--ops42-border);
}

.ops42-inscription-card__price-value {
	font-size: 4.5rem;
	font-weight: 900;
	background: linear-gradient(180deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--ops42-red);
	line-height: .9;
	letter-spacing: -.04em;
}

.ops42-inscription-card__price-value sup {
	font-size: 1.8rem;
	vertical-align: top;
	margin-left: .1em;
}

.ops42-inscription-card__price-label {
	font-size: .72rem;
	font-weight: 700;
	color: var(--ops42-gray);
	letter-spacing: .12em;
	margin-top: .4rem;
}

.ops42-inscription-card__pills {
	display: flex;
	gap: .5rem;
	margin-bottom: 1rem;
}

.ops42-pill {
	display: inline-block;
	padding: .5rem 1.1rem;
	border-radius: 20px;
	font-size: .85rem;
	font-weight: 600;
	color: #fff;
}

.ops42-pill--dark   { background: var(--ops42-dark); }
.ops42-pill--orange { background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%); }
.ops42-pill--green  { background: var(--ops42-orange); }

.ops42-inscription-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.4rem;
	margin: 1rem 0;
	font-weight: 600;
	color: var(--ops42-dark);
}

.ops42-inscription-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.ops42-icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	font-size: .9rem;
}

.ops42-icon-circle--orange { background: var(--ops42-orange-soft); color: var(--ops42-orange); }
.ops42-icon-circle--red    { background: var(--ops42-red-soft); color: var(--ops42-red); }
.ops42-icon-circle--green  { background: #d6f5e7; color: #2db58e; }

.ops42-inscription-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-top: .8rem;
}

.ops42-badge {
	display: inline-block;
	padding: .35rem .8rem;
	border-radius: 20px;
	font-size: .78rem;
	font-weight: 600;
}

.ops42-badge--red    { background: var(--ops42-red-soft); color: var(--ops42-red); }
.ops42-badge--green  { background: #d6f5e7; color: #1a8654; }
.ops42-badge--orange { background: var(--ops42-orange-soft); color: var(--ops42-orange); }

.ops42-inscription-card__cta {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
}

.ops42-btn-primary {
	display: inline-block;
	padding: 1.1rem 2rem;
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%);
	color: #fff !important;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 800;
	font-size: .95rem;
	letter-spacing: .04em;
	box-shadow: 0 8px 24px rgba(212, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
	transition: transform .2s ease, box-shadow .2s ease;
	white-space: nowrap;
	position: relative;
}

.ops42-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(212, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.ops42-btn-secondary {
	display: inline-block;
	padding: .65rem 1.2rem;
	background: var(--ops42-red);
	color: #fff !important;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 700;
	font-size: .85rem;
	transition: background .2s ease;
	white-space: nowrap;
}

.ops42-btn-secondary:hover {
	background: var(--ops42-red-dark);
}

.ops42-rating {
	font-size: .85rem;
	color: var(--ops42-gray);
}

.ops42-rating strong {
	color: var(--ops42-dark);
}

@media (max-width: 900px) {
	.ops42-inscription-card {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.ops42-inscription-card__price {
		border-right: none;
		border-bottom: 1px solid var(--ops42-border);
		padding-bottom: 1.5rem;
	}
	.ops42-inscription-card__pills,
	.ops42-inscription-card__meta,
	.ops42-inscription-card__badges {
		justify-content: center;
	}
}

/* ====================================================================
   GRID 2 colonnes : sidebar (cards) + main (programme)
   ==================================================================== */

.ops42-grid-2 {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 2rem;
	margin: 3rem 0;
}

@media (max-width: 900px) {
	.ops42-grid-2 {
		grid-template-columns: 1fr;
	}
}

.ops42-grid-2__sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.ops42-grid-2__main > * + * {
	margin-top: 1.5rem;
}

/* ====================================================================
   CARDS GÉNÉRIQUES — fond crème, ombre douce, coin orange à gauche
   ==================================================================== */

.ops42-card {
	background: #fff;
	border-radius: var(--ops42-radius);
	padding: 1.6rem;
	box-shadow: var(--ops42-shadow);
	position: relative;
	border-left: 4px solid var(--ops42-red);
}

.ops42-card--highlight {
	border-left: 4px solid var(--ops42-orange);
	background: linear-gradient(135deg, #fff 0%, #fdfaf6 100%);
}

.ops42-card--visual {
	padding: 0;
	overflow: hidden;
	border-left: none;
	position: relative;
}

.ops42-card--visual img {
	width: 100%;
	height: auto;
	display: block;
}

.ops42-card--visual__overlay {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 100%);
	color: #fff;
	padding: 2rem 1.2rem 1.2rem;
}

.ops42-card--visual__overlay strong {
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: .85rem;
}

.ops42-card__title {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: 1.1rem;
	margin: 0 0 1rem;
	color: var(--ops42-dark);
	font-weight: 700;
}

.ops42-card__title-icon {
	width: 36px;
	height: 36px;
	background: var(--ops42-red-soft);
	color: var(--ops42-red);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}

.ops42-bullet-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ops42-bullet-list li {
	padding-left: 1.4rem;
	position: relative;
	margin-bottom: .6rem;
	line-height: 1.5;
	color: var(--ops42-dark);
}

.ops42-bullet-list li::before {
	content: '›';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--ops42-orange);
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.3;
}

/* Section title commun */

.ops42-section-title {
	display: flex;
	align-items: center;
	gap: .8rem;
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--ops42-dark);
	margin: 0 0 1.2rem;
	border: none !important;
	padding: 0 !important;
}

.ops42-section-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px; height: 50px;
	background: var(--ops42-red-soft);
	color: var(--ops42-red);
	border-radius: 14px;
	font-size: 1.4rem;
}

.ops42-section-title-icon--orange {
	background: var(--ops42-orange-soft);
	color: var(--ops42-orange);
}

.ops42-programme-content h3,
.ops42-programme-content h4 {
	color: var(--ops42-dark);
	margin: 1.5em 0 .5em;
	font-weight: 700;
}

.ops42-programme-content p {
	line-height: 1.7;
}

/* ====================================================================
   SECTION SESSIONS — block visuel avec photo
   ==================================================================== */

.ops42-sessions-block {
	background: linear-gradient(135deg, #fff 0%, var(--ops42-cream-2) 100%);
	border-radius: var(--ops42-radius-lg);
	padding: 2.5rem;
	margin: 3rem 0;
	box-shadow: var(--ops42-shadow);
}

.ops42-sessions-block__header p {
	color: var(--ops42-gray);
	margin: 0 0 2rem;
	max-width: 600px;
}

.ops42-sessions-block__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: stretch;
}

@media (max-width: 900px) {
	.ops42-sessions-block__grid {
		grid-template-columns: 1fr;
	}
}

.ops42-sessions-block__list {
	display: flex;
	flex-direction: column;
	gap: .8rem;
}

.ops42-session-row {
	display: grid;
	grid-template-columns: 60px 1fr auto auto;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: #fff;
	border-radius: var(--ops42-radius);
	border: 1px solid var(--ops42-border);
	transition: border-color .2s ease, transform .2s ease;
}

.ops42-session-row:hover {
	border-color: var(--ops42-red);
	transform: translateX(2px);
}

.ops42-session-row__date {
	background: var(--ops42-red);
	color: #fff;
	border-radius: 8px;
	padding: .5rem;
	text-align: center;
	min-width: 60px;
}

.ops42-session-row__date strong {
	display: block;
	font-size: .9rem;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.1;
}

.ops42-session-row__date small {
	font-size: .65rem;
	opacity: .85;
}

.ops42-session-row__info strong {
	display: block;
	color: var(--ops42-dark);
	font-size: .95rem;
}

.ops42-session-row__info small {
	display: block;
	color: var(--ops42-gray);
	font-size: .82rem;
	margin-top: .2rem;
}

.ops42-status-badge {
	display: inline-block;
	padding: .3rem .7rem;
	border-radius: 14px;
	font-size: .75rem;
	font-weight: 700;
	white-space: nowrap;
}

.ops42-status-badge--green  { background: #d6f5e7; color: #1a8654; }
.ops42-status-badge--orange { background: var(--ops42-orange-soft); color: var(--ops42-orange); }
.ops42-status-badge--red    { background: var(--ops42-red-soft); color: var(--ops42-red); }

.ops42-sessions-block__visual {
	border-radius: var(--ops42-radius);
	overflow: hidden;
	min-height: 300px;
	position: relative;
}

.ops42-sessions-block__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 600px) {
	.ops42-session-row {
		grid-template-columns: 60px 1fr;
		gap: .8rem;
	}
	.ops42-session-row__status,
	.ops42-session-row__cta {
		grid-column: 2 / -1;
	}
}

/* ====================================================================
   FLOATING ACTION BUTTONS (FAB) à droite
   ==================================================================== */

.ops42-fab-stack {
	position: fixed;
	right: 1.2rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: .6rem;
	z-index: 99;
}

.ops42-fab {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ops42-dark);
	color: #fff !important;
	text-decoration: none;
	font-size: 1.2rem;
	box-shadow: var(--ops42-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
	border: 2px solid transparent;
}

.ops42-fab:hover {
	transform: scale(1.08);
	box-shadow: var(--ops42-shadow-lg);
	border-color: var(--ops42-red);
}

/* Identité OPS42 : tous les FAB en rouge OPS42 ou dark warm, pas multicolore */
.ops42-fab--orange { background: var(--ops42-red); }
.ops42-fab--green  { background: var(--ops42-dark); }
.ops42-fab--red    { background: var(--ops42-red); }

@media (max-width: 768px) {
	.ops42-fab-stack {
		right: .8rem;
		top: auto;
		bottom: 1rem;
		transform: none;
		flex-direction: row;
	}
	.ops42-fab {
		width: 42px;
		height: 42px;
		font-size: 1rem;
	}
}

/* ====================================================================
   2. CATALOGUE (archive ops42_formation)
   ==================================================================== */

.ops42-archive-formations .page-header {
	margin-bottom: 2.5rem;
	text-align: center;
}

.ops42-archive-formations .page-title {
	color: var(--ops42-dark);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin-bottom: .6rem;
}

.ops42-archive-formations .page-description {
	color: var(--ops42-gray);
	font-size: 1.1rem;
	max-width: 720px;
	margin: 0 auto;
}

.ops42-catalogue {
	display: grid;
	/* Cards compactes : max 340px, multi-colonnes même avec 1 seule formation */
	grid-template-columns: repeat(auto-fill, minmax(290px, 360px));
	gap: 1.6rem;
	margin: 2rem 0;
	justify-content: center;
}

.ops42-formation-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius-lg);
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
	position: relative;
}

.ops42-formation-card:hover {
	box-shadow: var(--ops42-shadow-lg);
	transform: translateY(-4px);
	border-color: var(--ops42-red);
}

.ops42-formation-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--ops42-cream-2) center / cover no-repeat;
	position: relative;
	max-height: 200px;
}

.ops42-formation-card__image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(20, 0, 0, .55) 100%);
	transition: opacity .25s ease;
}

.ops42-formation-card:hover .ops42-formation-card__image::after {
	background: linear-gradient(180deg, rgba(212,0,0,.15) 0%, rgba(20,0,0,.65) 100%);
}

/* Badge "Mention spéciale" (HABILITATION INRS, etc.) sur l'image */
.ops42-formation-card__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--ops42-red);
	color: #fff;
	padding: .3rem .7rem;
	border-radius: 4px;
	font-size: .68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .1em;
	box-shadow: 0 4px 12px rgba(212, 0, 0, .35);
	z-index: 2;
}

.ops42-formation-card__body {
	padding: 1.3rem 1.4rem 1.4rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ops42-formation-card__title {
	margin: 0 0 .8rem;
	font-size: 1.1rem;
	line-height: 1.3;
	font-weight: 800;
}

.ops42-formation-card__title a {
	color: var(--ops42-dark);
	text-decoration: none;
}

.ops42-formation-card__title a:hover {
	color: var(--ops42-red);
}

/* Meta en pills compactes — plus dense, plus pro */
.ops42-formation-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin-bottom: 1rem;
}

.ops42-formation-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	background: var(--ops42-cream);
	color: var(--ops42-dark);
	font-size: .78rem;
	font-weight: 600;
	padding: .3rem .65rem;
	border-radius: 14px;
	white-space: nowrap;
}

.ops42-formation-card__meta span:nth-child(1) {
	background: var(--ops42-cream-2);
}

.ops42-formation-card__meta span:nth-child(2) {
	background: var(--ops42-red-soft);
	color: var(--ops42-red);
}

.ops42-formation-card__meta span:nth-child(3) {
	background: var(--ops42-orange-soft);
	color: var(--ops42-orange);
}

.ops42-formation-card__excerpt {
	font-size: .92rem;
	color: var(--ops42-gray);
	margin-bottom: 1.2rem;
	flex: 1;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ops42-formation-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	margin-top: auto;
	padding: .75rem 1.2rem;
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%);
	color: #fff !important;
	text-decoration: none;
	border-radius: 8px;
	text-align: center;
	font-weight: 700;
	font-size: .92rem;
	letter-spacing: .01em;
	transition: transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 4px 12px rgba(212, 0, 0, .25);
}

.ops42-formation-card__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(212, 0, 0, .35);
	color: #fff !important;
}

.ops42-formation-card__cta::after {
	content: '→';
	transition: transform .2s ease;
}

.ops42-formation-card__cta:hover::after {
	transform: translateX(3px);
}

/* ====================================================================
   3. PAGE FORMATION (single ops42_formation)
   ==================================================================== */

.ops42-formation-hero {
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%);
	color: #fff;
	padding: 3rem 2rem;
	border-radius: var(--ops42-radius);
	margin-bottom: 2rem;
	box-shadow: var(--ops42-shadow);
	position: relative;
	overflow: hidden;
}

.ops42-formation-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 400px;
	height: 400px;
	background: rgba(255, 255, 255, .05);
	border-radius: 50%;
	pointer-events: none;
}

.ops42-formation-hero h1 {
	color: #fff !important;
	margin: 0 0 1rem;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1.2;
	font-weight: 800;
}

.ops42-formation-hero__badge {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: .07em;
	font-size: .82rem;
	font-weight: 700;
	background: rgba(255, 255, 255, .15);
	padding: .35rem .8rem;
	border-radius: 30px;
	margin: 0 0 1rem;
	backdrop-filter: blur(4px);
}

.ops42-formation-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.8rem;
	margin-top: 1.2rem;
	position: relative;
}

.ops42-formation-hero__meta div {
	display: flex;
	flex-direction: column;
}

.ops42-formation-hero__meta > div {
	background: rgba(255, 255, 255, .12);
	padding: .8rem 1.2rem;
	border-radius: 10px;
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, .18);
	min-width: 140px;
}

.ops42-formation-hero__meta strong {
	font-size: 1.25rem;
	font-weight: 700;
	display: block;
}

.ops42-formation-hero__meta small {
	opacity: .9;
	text-transform: uppercase;
	letter-spacing: .07em;
	font-size: .72rem;
	margin-bottom: .25rem;
	display: block;
}

.ops42-formation-hero__meta-icon {
	display: inline-block;
	margin-right: .3em;
	font-size: 1em;
}

/* ====================================================================
   3.5 BANDEAU DE RÉASSURANCE (trust strip)
   ==================================================================== */

.ops42-trust-strip {
	background: #fff;
	border-radius: var(--ops42-radius);
	padding: 1.4rem 1.8rem;
	margin: -1.5rem auto 2.5rem;
	box-shadow: var(--ops42-shadow);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
	position: relative;
	z-index: 2;
	max-width: 1100px;
}

.ops42-trust-item {
	display: flex;
	align-items: center;
	gap: .8rem;
}

.ops42-trust-item__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ops42-red-soft);
	color: var(--ops42-red);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	flex-shrink: 0;
}

.ops42-trust-item__text strong {
	display: block;
	font-size: .95rem;
	color: var(--ops42-dark);
	line-height: 1.2;
}

.ops42-trust-item__text small {
	font-size: .8rem;
	color: var(--ops42-gray);
	display: block;
	margin-top: .2rem;
}

/* ====================================================================
   3.6 BÉNÉFICES / OBJECTIFS PÉDAGOGIQUES
   ==================================================================== */

.ops42-benefits {
	background: linear-gradient(135deg, var(--ops42-cream-2) 0%, var(--ops42-orange-soft) 100%);
	padding: 2rem;
	border-radius: var(--ops42-radius-lg);
	margin: 2.5rem 0;
}

.ops42-benefits h2 {
	border: none !important;
	margin-top: 0 !important;
	padding-bottom: 0 !important;
}

.ops42-benefits ul {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: .8rem 1.5rem;
}

.ops42-benefits ul li {
	padding-left: 2rem;
	position: relative;
	color: var(--ops42-dark);
	line-height: 1.5;
}

.ops42-benefits ul li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ops42-red);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .85rem;
	font-weight: 700;
}

/* ====================================================================
   3.7 CARD CTA "Une question ?"
   ==================================================================== */

.ops42-cta-card {
	background: linear-gradient(135deg, var(--ops42-dark) 0%, #4a342a 100%);
	color: #fff;
	border-radius: var(--ops42-radius-lg);
	padding: 2.2rem;
	margin: 3rem 0;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2rem;
	align-items: center;
	box-shadow: var(--ops42-shadow-warm);
	position: relative;
	overflow: hidden;
}

.ops42-cta-card::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -10%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(212, 0, 0, .25) 0%, transparent 70%);
	pointer-events: none;
}

.ops42-cta-card h3 {
	color: #fff;
	margin: 0 0 .5rem;
	font-size: 1.4rem;
}

.ops42-cta-card p {
	margin: 0;
	color: #ddd;
	line-height: 1.5;
}

.ops42-cta-card__action {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	z-index: 1;
}

.ops42-cta-card__btn {
	display: inline-block;
	padding: .9rem 1.6rem;
	background: var(--ops42-red);
	color: #fff !important;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 700;
	text-align: center;
	transition: background .2s ease, transform .2s ease;
}

.ops42-cta-card__btn:hover {
	background: var(--ops42-red-dark);
	transform: translateY(-1px);
}

.ops42-cta-card__btn--ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .3);
}

.ops42-cta-card__btn--ghost:hover {
	background: rgba(255, 255, 255, .1);
}

@media (max-width: 720px) {
	.ops42-cta-card {
		grid-template-columns: 1fr;
	}
}

.ops42-formation-section {
	margin: 2.5rem 0;
}

.ops42-formation-section h2 {
	color: var(--ops42-dark);
	border-bottom: 3px solid var(--ops42-red);
	padding-bottom: .5rem;
	margin-bottom: 1.2rem;
	font-size: 1.5rem;
}

.ops42-formation-section h3 {
	color: var(--ops42-red);
	margin-top: 0;
	margin-bottom: .6rem;
	font-size: 1.15rem;
}

/* Table des sessions */

.ops42-sessions-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
	background: #fff;
	border-radius: var(--ops42-radius);
	overflow: hidden;
	box-shadow: var(--ops42-shadow);
}

.ops42-sessions-table th,
.ops42-sessions-table td {
	padding: 1rem .8rem;
	text-align: left;
	border-bottom: 1px solid var(--ops42-border);
}

.ops42-sessions-table th {
	background: var(--ops42-light-bg);
	font-weight: 600;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--ops42-gray);
}

.ops42-sessions-table tr:last-child td {
	border-bottom: none;
}

.ops42-sessions-table tr:hover {
	background: rgba(212, 0, 0, .02);
}

.ops42-sessions-table .ops42-session-cta {
	display: inline-block;
	padding: .5rem 1rem;
	background: var(--ops42-red);
	color: #fff !important;
	text-decoration: none;
	border-radius: 4px;
	font-size: .9rem;
	font-weight: 600;
	transition: background .2s ease;
}

.ops42-sessions-table .ops42-session-cta:hover {
	background: var(--ops42-red-dark);
}

.ops42-sessions-empty {
	padding: 1.5rem;
	background: var(--ops42-warning);
	border-left: 4px solid var(--ops42-warning-bd);
	border-radius: 4px;
}

/* ====================================================================
   4. PAVÉ HOME : Formation et recyclage SST
   ==================================================================== */

.ops42-home-sst-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	background: var(--ops42-light-bg);
	padding: 2.5rem;
	border-radius: var(--ops42-radius);
	margin: 3rem 0;
	position: relative;
	overflow: hidden;
}

.ops42-home-sst-block::before {
	content: 'SST';
	position: absolute;
	top: -30px;
	right: -20px;
	font-size: 12rem;
	font-weight: 900;
	color: rgba(212, 0, 0, .04);
	pointer-events: none;
	line-height: 1;
}

.ops42-home-sst-block h2 {
	color: var(--ops42-red);
	margin-top: 0;
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.ops42-home-sst-block__poster {
	position: relative;
	overflow: hidden;
	border-radius: var(--ops42-radius);
	animation: ops42-pulse 3s ease-in-out infinite;
}

.ops42-home-sst-block__poster img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform .4s ease;
}

.ops42-home-sst-block__poster:hover img {
	transform: scale(1.04);
}

@keyframes ops42-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(212, 0, 0, .4); }
	50%      { box-shadow: 0 0 0 16px rgba(212, 0, 0, 0); }
}

/* ====================================================================
   5. ESPACE STAGIAIRE (/mon-compte/) — layout autoporté OPS42
   Le template plugin/templates/myaccount-layout.php remplace get_header
   /get_footer et fournit son propre header + footer.
   ==================================================================== */

/* Body de la page : fond crème chaud, marges propres, font cohérente */
body.ops42-stagiaire-layout,
body.woocommerce-account {
	background: var(--ops42-cream) !important;
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	color: var(--ops42-dark);
}

/* ---- Header dédié espace stagiaire ---- */
.ops42-stagiaire-header {
	background: #fff;
	border-bottom: 1px solid var(--ops42-border);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
	position: sticky;
	top: 0;
	z-index: 100;
}
.ops42-stagiaire-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: .9rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.ops42-stagiaire-header__brand {
	display: flex;
	align-items: center;
	gap: .8rem;
	text-decoration: none;
	color: var(--ops42-dark);
}
.ops42-stagiaire-header__logo {
	max-height: 42px;
	width: auto;
	display: block;
}
.ops42-stagiaire-header__tag {
	font-size: .7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .18em;
	color: var(--ops42-red);
	padding: .25rem .55rem;
	background: rgba(212, 0, 0, .08);
	border-radius: 4px;
	border-left: 3px solid var(--ops42-red);
}
.ops42-stagiaire-header__nav {
	display: flex;
	align-items: center;
	gap: 1.2rem;
}
.ops42-stagiaire-header__link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--ops42-dark);
	text-decoration: none;
	font-weight: 600;
	font-size: .92rem;
	transition: color .15s ease;
}
.ops42-stagiaire-header__link:hover {
	color: var(--ops42-red);
}
.ops42-stagiaire-header__link-icon {
	font-size: 1rem;
}
.ops42-stagiaire-header__link--account {
	background: rgba(212, 0, 0, .06);
	padding: .45rem .85rem;
	border-radius: 6px;
	border: 1px solid rgba(212, 0, 0, .15);
}
.ops42-stagiaire-header__link--account:hover {
	background: rgba(212, 0, 0, .12);
	border-color: var(--ops42-red);
	color: var(--ops42-red);
}
.ops42-stagiaire-header__link--cart {
	position: relative;
}
.ops42-stagiaire-header__user {
	font-size: .92rem;
	color: var(--ops42-gray);
	padding: 0 .8rem;
	border-left: 1px solid var(--ops42-border);
	border-right: 1px solid var(--ops42-border);
}
.ops42-stagiaire-header__logout {
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	font-size: .85rem;
	padding: .55rem 1rem;
	border-radius: 6px;
	box-shadow: 0 4px 10px rgba(212, 0, 0, .25);
	transition: transform .15s ease, box-shadow .15s ease;
}
.ops42-stagiaire-header__logout:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(212, 0, 0, .35);
}

/* ---- Main : wrapper du contenu my-account ---- */
.ops42-stagiaire-main {
	padding: 2.5rem 0;
	/* Pas de min-height : laisse le footer remonter naturellement quand le contenu
	   est court (panier, mon-compte vide, etc.) — sinon gros espace blanc disgracieux. */
}
.ops42-stagiaire-main__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Footer : on utilise les styles partagés .ops42-footer (section 1.5).
   Ces classes sont rendues identiques entre catalog/single (footer.php du thème)
   et shop-layout (panier/checkout/mon-compte) via ops42_render_site_footer(). */

/* Wrapper du contenu WC (sidebar nav + content) */
body.woocommerce-account .woocommerce {
	display: block;
}

/* Hide les titres auto qui pourraient subsister */
body.ops42-stagiaire-layout .entry-title,
body.ops42-stagiaire-layout .wp-block-post-title,
body.ops42-stagiaire-layout h1.page-title {
	display: none !important;
}

/* Layout : sidebar + content */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	box-sizing: border-box;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
	float: left;
	width: 280px;
	margin-right: 2rem;
	background: #fff;
	border-radius: var(--ops42-radius);
	padding: 1rem;
	box-shadow: var(--ops42-shadow);
	border: 1px solid var(--ops42-border);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: .25rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: .75em 1em;
	color: var(--ops42-dark);
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: .92rem;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--ops42-cream);
	color: var(--ops42-red);
	transform: translateX(2px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%) !important;
	color: #fff !important;
	font-weight: 700 !important;
	box-shadow: 0 6px 16px rgba(212, 0, 0, .25);
	transform: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
	overflow: hidden;
	background: #fff;
	border-radius: var(--ops42-radius);
	padding: 2rem;
	box-shadow: var(--ops42-shadow);
	border: 1px solid var(--ops42-border);
}

/* ====================================================================
   DASHBOARD STAGIAIRE — refonte hub : hero + stats + sessions + booking
   ==================================================================== */

/* Hero salutation */
.ops42-dashboard-hero {
	background: linear-gradient(135deg, var(--ops42-dark) 0%, var(--ops42-red-dark) 60%, var(--ops42-red) 100%);
	color: #fff;
	border-radius: var(--ops42-radius);
	padding: 2rem 2.2rem;
	margin-bottom: 1.8rem;
	position: relative;
	overflow: hidden;
}
.ops42-dashboard-hero::before {
	content: '🔥';
	position: absolute;
	bottom: -40px;
	right: -20px;
	font-size: 220px;
	opacity: .06;
	transform: rotate(-12deg);
	pointer-events: none;
}
.ops42-dashboard-hero__greet h2 {
	margin: 0 0 .4rem;
	font-size: 1.8rem;
	font-weight: 800;
	letter-spacing: -.02em;
}
.ops42-dashboard-hero__greet p {
	margin: 0;
	color: rgba(255, 255, 255, .85);
	font-size: 1rem;
}
.ops42-dashboard-hero__greet p strong {
	color: var(--ops42-orange);
	font-weight: 700;
}
.ops42-dashboard-hero__wave {
	font-size: 1.4rem;
	display: inline-block;
	margin-right: .3rem;
	vertical-align: middle;
}

/* Stats row */
.ops42-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: .8rem;
	margin-bottom: 2rem;
}
.ops42-dashboard-stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	padding: 1rem 1.2rem;
	text-decoration: none !important;
	color: var(--ops42-dark) !important;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ops42-dashboard-stat:hover {
	transform: translateY(-2px);
	box-shadow: var(--ops42-shadow-lg);
	border-color: var(--ops42-red);
}
.ops42-dashboard-stat__icon {
	font-size: 1.4rem;
	line-height: 1;
	margin-bottom: .4rem;
}
.ops42-dashboard-stat strong {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--ops42-red);
	line-height: 1;
}
.ops42-dashboard-stat small {
	color: var(--ops42-gray);
	font-size: .78rem;
	margin-top: .3rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 700;
}
.ops42-dashboard-stat--warn strong {
	color: var(--ops42-orange);
}

/* Sections génériques (sessions / booking) */
.ops42-dashboard-section {
	margin-top: 2.2rem;
}
.ops42-dashboard-section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.2rem;
	flex-wrap: wrap;
}
.ops42-dashboard-section__header h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--ops42-dark);
	border-left: 4px solid var(--ops42-red);
	padding-left: .7em;
	letter-spacing: -.01em;
}
.ops42-dashboard-section__lead {
	margin: 0;
	color: var(--ops42-gray);
	font-size: .92rem;
	flex-basis: 100%;
}
.ops42-dashboard-section__link {
	color: var(--ops42-red);
	text-decoration: none;
	font-weight: 700;
	font-size: .88rem;
}
.ops42-dashboard-section__link:hover {
	text-decoration: underline;
}

/* Sessions à venir : cards */
.ops42-upcoming-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}
.ops42-upcoming-card {
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-left: 4px solid var(--ops42-red);
	border-radius: var(--ops42-radius);
	padding: 1.2rem;
	display: flex;
	flex-direction: column;
	gap: .6rem;
	transition: box-shadow .15s ease, transform .15s ease;
}
.ops42-upcoming-card:hover {
	box-shadow: var(--ops42-shadow-lg);
	transform: translateY(-2px);
}
.ops42-upcoming-card__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.3;
}
.ops42-upcoming-card__title a {
	color: var(--ops42-dark);
	text-decoration: none;
}
.ops42-upcoming-card__title a:hover {
	color: var(--ops42-red);
}
.ops42-upcoming-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .3rem;
	font-size: .88rem;
	color: var(--ops42-gray);
}
.ops42-upcoming-card__status {
	display: inline-block;
	width: fit-content;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-weight: 800;
	padding: .25rem .55rem;
	border-radius: 4px;
	background: var(--ops42-cream);
	color: var(--ops42-gray);
}
.ops42-upcoming-card__status--on-hold {
	background: #fff5e0;
	color: #7a4a00;
}
.ops42-upcoming-card__status--processing,
.ops42-upcoming-card__status--completed {
	background: #e8f6e8;
	color: #1f5e1f;
}
.ops42-upcoming-card__link {
	color: var(--ops42-red);
	text-decoration: none;
	font-weight: 700;
	font-size: .85rem;
	margin-top: auto;
}
.ops42-upcoming-card__link:hover {
	text-decoration: underline;
}

/* Booking : process complet d'inscription (expand on click) */
.ops42-dashboard-section--booking {
	background: var(--ops42-cream);
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	padding: 1.5rem;
	margin-top: 2.5rem;
}
.ops42-booking-list {
	display: flex;
	flex-direction: column;
	gap: .8rem;
}

/* Ligne formation compacte */
.ops42-booking-row {
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	overflow: hidden;
	transition: box-shadow .15s ease, border-color .15s ease;
}
.ops42-booking-row.is-open {
	border-color: var(--ops42-red);
	box-shadow: var(--ops42-shadow-lg);
}
.ops42-booking-row__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .8rem 1rem;
}
.ops42-booking-row__thumb {
	width: 80px;
	height: 60px;
	background-size: cover;
	background-position: center;
	border-radius: 6px;
	flex-shrink: 0;
	border: 1px solid var(--ops42-border);
}
.ops42-booking-row__info {
	flex: 1;
	min-width: 0;
}
.ops42-booking-row__title {
	margin: 0 0 .3rem;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.3;
}
.ops42-booking-row__title a {
	color: var(--ops42-dark);
	text-decoration: none;
}
.ops42-booking-row__title a:hover {
	color: var(--ops42-red);
}
.ops42-booking-row__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .3rem .8rem;
	font-size: .82rem;
	color: var(--ops42-gray);
}
.ops42-booking-row__toggle {
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: .65rem 1.2rem;
	font-weight: 700;
	font-size: .88rem;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(212, 0, 0, .2);
	transition: transform .15s ease, box-shadow .15s ease;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-family: inherit;
	white-space: nowrap;
}
.ops42-booking-row__toggle:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(212, 0, 0, .35);
}
.ops42-booking-row__arrow {
	display: inline-block;
	transition: transform .2s ease;
}
.ops42-booking-row.is-open .ops42-booking-row__arrow {
	transform: rotate(180deg);
}

/* Formulaire d'inscription complet */
.ops42-booking-row__form {
	border-top: 1px solid var(--ops42-border);
	background: var(--ops42-cream);
	padding: 1.5rem;
}

/* Bloc inscription sur la fiche formation publique */
.ops42-inscription-block {
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
	max-width: 760px;
	margin: 0 auto;
}

/* Wrapper commun (utilisé par le helper) */
.ops42-inscription-wrap { display: block; }

.ops42-inscription-banner {
	background: linear-gradient(135deg, var(--ops42-dark) 0%, var(--ops42-red-dark) 100%);
	color: #fff;
	padding: .9rem 1.3rem;
	border-radius: 6px;
	margin-bottom: 1.2rem;
}
.ops42-inscription-banner strong {
	font-size: 1.05rem;
}
.ops42-inscription-legal {
	background: var(--ops42-cream);
	border: 1px solid var(--ops42-border);
	border-radius: 6px;
	padding: 1rem 1.2rem;
	font-size: .88rem;
	color: var(--ops42-dark);
	line-height: 1.55;
	margin: 0 0 1.4rem;
}
.ops42-inscription-legal a {
	color: var(--ops42-red);
	font-weight: 600;
	text-decoration: none;
}
.ops42-inscription-legal a:hover { text-decoration: underline; }
.ops42-inscription-legal small {
	color: var(--ops42-gray);
	font-size: .8rem;
}

.ops42-session-pick.is-disabled {
	cursor: not-allowed;
	opacity: .55;
}
.ops42-session-pick.is-disabled:hover .ops42-session-pick__inner {
	transform: none;
	box-shadow: none;
	border-color: var(--ops42-border);
}

/* Champs du formulaire */
.ops42-inscription-form .req {
	color: var(--ops42-red);
}
.ops42-inscription-field {
	margin-bottom: 1.4rem;
}
.ops42-inscription-field > label {
	display: block;
	font-weight: 700;
	font-size: .92rem;
	color: var(--ops42-dark);
	margin-bottom: .6rem;
}

/* Cards radio "Comment souhaitez-vous procéder ?" */
.ops42-situation-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: .7rem;
}
.ops42-situation-card {
	cursor: pointer;
	display: block;
	position: relative;
}
.ops42-situation-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.ops42-situation-card__inner {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	background: #fff;
	border: 2px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	padding: 1rem 1.1rem;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
	height: 100%;
}
.ops42-situation-card:hover .ops42-situation-card__inner {
	border-color: var(--ops42-red);
	transform: translateY(-2px);
	box-shadow: var(--ops42-shadow-lg);
}
.ops42-situation-card input[type="radio"]:checked + .ops42-situation-card__inner {
	border-color: var(--ops42-red);
	background: linear-gradient(135deg, rgba(212, 0, 0, .04) 0%, rgba(212, 0, 0, .08) 100%);
	box-shadow: 0 0 0 3px rgba(212, 0, 0, .15);
}
.ops42-situation-card__icon {
	font-size: 1.6rem;
	line-height: 1;
	margin-bottom: .2rem;
}
.ops42-situation-card strong {
	font-size: .98rem;
	color: var(--ops42-dark);
	line-height: 1.3;
}
.ops42-situation-card small {
	color: var(--ops42-gray);
	font-size: .82rem;
	line-height: 1.4;
	font-style: normal;
}
.ops42-situation-card__hint {
	display: block;
	margin-top: .5rem;
	padding-top: .5rem;
	border-top: 1px dashed var(--ops42-border);
	color: var(--ops42-red);
	font-size: .78rem;
	font-weight: 700;
	font-style: normal;
	letter-spacing: .01em;
}
.ops42-situation-card input[type="radio"]:checked + .ops42-situation-card__inner .ops42-situation-card__hint {
	color: var(--ops42-red-dark);
}

/* Champs conditionnels (ex: nb participants pour employeur) */
.ops42-inscription-extra {
	margin: 0 0 1.4rem;
}
.ops42-inscription-extra__inner {
	background: linear-gradient(135deg, #fff5e0 0%, #fff 100%);
	border: 1px solid var(--ops42-orange);
	border-left: 4px solid var(--ops42-orange);
	border-radius: 6px;
	padding: 1rem 1.2rem;
}
.ops42-inscription-field--inline {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: .8rem;
}
.ops42-inscription-field--inline > label {
	flex: 1;
	margin: 0;
	font-size: .92rem;
	color: var(--ops42-dark);
}
.ops42-inscription-field--inline input[type="number"] {
	width: 90px;
	padding: .6rem .8rem;
	border: 1px solid var(--ops42-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	background: #fff;
}
.ops42-inscription-field--inline input[type="number"]:focus {
	outline: none;
	border-color: var(--ops42-red);
	box-shadow: 0 0 0 3px rgba(212, 0, 0, .1);
}
.ops42-inscription-extra__hint {
	margin: 0;
	font-size: .85rem;
	line-height: 1.5;
	color: #7a4a00;
}
.ops42-inscription-extra__hint small {
	color: var(--ops42-gray);
	font-size: .8rem;
}

/* Sessions cards radio */
.ops42-inscription-sessions {
	border: none;
	padding: 0;
	margin: 0 0 1.2rem;
}
.ops42-inscription-sessions legend {
	font-weight: 700;
	font-size: .9rem;
	color: var(--ops42-dark);
	padding: 0;
	margin-bottom: .6rem;
}
.ops42-inscription-sessions__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: .7rem;
}
.ops42-session-pick {
	cursor: pointer;
	position: relative;
	display: block;
}
.ops42-session-pick input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.ops42-session-pick__inner {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	background: #fff;
	border: 2px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	padding: .9rem 1rem;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
	height: 100%;
}
.ops42-session-pick:hover .ops42-session-pick__inner {
	border-color: var(--ops42-red);
	transform: translateY(-2px);
	box-shadow: var(--ops42-shadow-lg);
}
.ops42-session-pick input[type="radio"]:checked + .ops42-session-pick__inner {
	border-color: var(--ops42-red);
	background: linear-gradient(135deg, rgba(212, 0, 0, .04) 0%, rgba(212, 0, 0, .08) 100%);
	box-shadow: 0 0 0 3px rgba(212, 0, 0, .15);
}
.ops42-session-pick__date {
	font-size: .92rem;
	font-weight: 800;
	color: var(--ops42-dark);
	line-height: 1.3;
}
.ops42-session-pick__lieu,
.ops42-session-pick__price {
	font-size: .82rem;
	color: var(--ops42-gray);
}
.ops42-session-pick__price {
	color: var(--ops42-red);
	font-weight: 700;
}
.ops42-session-pick__places {
	display: inline-block;
	background: #e8f6e8;
	color: #1f5e1f;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 800;
	padding: .25rem .55rem;
	border-radius: 4px;
	margin-top: .3rem;
	width: fit-content;
}
.ops42-session-pick__places.is-low {
	background: #ffe5e5;
	color: var(--ops42-red-dark);
}

/* CGV */
.ops42-inscription-cgv {
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: 6px;
	padding: .85rem 1rem;
	margin-bottom: 1.2rem;
}
.ops42-inscription-cgv label {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .9rem;
	color: var(--ops42-dark);
	cursor: pointer;
	margin: 0;
}
.ops42-inscription-cgv input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	accent-color: var(--ops42-red);
}
.ops42-inscription-cgv a {
	color: var(--ops42-red);
	font-weight: 600;
}

/* Bouton de validation */
.ops42-inscription-submit {
	display: block;
	width: 100%;
	background: linear-gradient(135deg, #2d8a2d 0%, #1f5e1f 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 1rem;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: .02em;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(45, 138, 45, .25);
	transition: transform .15s ease, box-shadow .15s ease;
	font-family: inherit;
}
.ops42-inscription-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(45, 138, 45, .4);
}

@media (max-width: 700px) {
	.ops42-dashboard-hero {
		padding: 1.5rem 1.3rem;
	}
	.ops42-dashboard-hero__greet h2 {
		font-size: 1.4rem;
	}
	.ops42-booking-row__head {
		flex-wrap: wrap;
	}
	.ops42-booking-row__toggle {
		width: 100%;
		justify-content: center;
	}
	.ops42-booking-row__form {
		padding: 1rem;
	}
	.ops42-inscription-sessions__grid {
		grid-template-columns: 1fr;
	}
}

/* Tables des onglets Mes formations / Mes documents */
.ops42-my-formations h3,
.ops42-my-documents h3 {
	color: var(--ops42-dark);
	margin: 1.8em 0 .8em;
	font-size: 1.1rem;
	font-weight: 700;
	border-left: 4px solid var(--ops42-red);
	padding-left: .8em;
}

.ops42-my-formations-table,
.ops42-my-documents-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
	background: #fff;
	border-radius: var(--ops42-radius);
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0,0,0,.04);
	border: 1px solid var(--ops42-border);
}

.ops42-my-formations-table th,
.ops42-my-documents-table th {
	background: var(--ops42-cream) !important;
	font-size: .72rem !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--ops42-gray) !important;
	font-weight: 800 !important;
}

.ops42-my-formations-table tr:hover,
.ops42-my-documents-table tr:hover {
	background: var(--ops42-cream);
}

/* Boutons WC dans /mon-compte/ */
body.woocommerce-account .button,
body.woocommerce-account .woocommerce-button {
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: .65rem 1.2rem !important;
	font-weight: 700 !important;
	box-shadow: 0 4px 12px rgba(212, 0, 0, .2);
	transition: transform .15s ease, box-shadow .15s ease;
}

body.woocommerce-account .button:hover,
body.woocommerce-account .woocommerce-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(212, 0, 0, .35);
}

/* Responsive mobile */
@media (max-width: 900px) {
	.ops42-stagiaire-header__inner {
		flex-wrap: wrap;
		gap: .8rem;
		padding: .7rem 1rem;
	}
	.ops42-stagiaire-header__nav {
		gap: .8rem;
		flex-wrap: wrap;
		justify-content: flex-end;
	}
	.ops42-stagiaire-header__user {
		display: none;
	}
	.ops42-stagiaire-header__link span:not(.ops42-stagiaire-header__link-icon) {
		display: none;
	}
	.ops42-stagiaire-main {
		padding: 1.5rem 0;
	}
	.ops42-stagiaire-main__inner {
		padding: 0 1rem;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation {
		float: none;
		width: 100%;
		margin-right: 0;
		margin-bottom: 1.5rem;
	}
	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 1.5rem;
	}
}

/* ====================================================================
   5b. PANIER & CHECKOUT — habillage OPS42 dans le layout autoporté
   ==================================================================== */

/* Reset wrapper : 1 colonne centrée pour le panier (plus équilibré que 2 colonnes
   car la colonne items est toujours bien plus longue que la colonne totaux). */
body.ops42-shop-cart .woocommerce {
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
	border: none !important;
	display: block;
	max-width: 820px;
	margin: 0 auto;
}
body.ops42-shop-cart .woocommerce > * {
	min-width: 0;
	max-width: 100%;
}
body.ops42-shop-cart form.woocommerce-cart-form {
	margin: 0 0 1.5rem !important;
	width: 100% !important;
	display: block;
	float: none !important;
}
body.ops42-shop-cart .cart-collaterals {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	display: block;
}
body.ops42-shop-cart .cart-collaterals .cart_totals,
body.ops42-shop-cart .cart_totals {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

/* Tableau panier en card blanche */
body.ops42-shop-cart .shop_table.cart {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	overflow: hidden;
	box-shadow: var(--ops42-shadow);
	background: #fff;
}
body.ops42-shop-cart .shop_table.cart thead th {
	background: var(--ops42-cream);
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--ops42-gray);
	font-weight: 800;
	padding: .9rem 1.1rem;
	text-align: left;
	border-bottom: 1px solid var(--ops42-border);
}
body.ops42-shop-cart .shop_table.cart thead th.product-quantity,
body.ops42-shop-cart .shop_table.cart thead th.product-subtotal,
body.ops42-shop-cart .shop_table.cart thead th.product-price {
	text-align: right;
}
body.ops42-shop-cart .shop_table.cart tbody td {
	padding: 1.2rem 1.1rem;
	border-bottom: 1px solid var(--ops42-border);
	vertical-align: middle;
	font-size: .92rem;
}
body.ops42-shop-cart .shop_table.cart tbody td.product-price,
body.ops42-shop-cart .shop_table.cart tbody td.product-quantity,
body.ops42-shop-cart .shop_table.cart tbody td.product-subtotal {
	text-align: right;
}
body.ops42-shop-cart .shop_table.cart tr:last-child td {
	border-bottom: none;
}
/* On reprend le contrôle total de la ligne en passant header + cart_item en FLEX.
   Comme ça : pas de colonne fantôme qui prend de la place, et on peut placer la
   croix où on veut. (Les <tr> classiques ne le supportent pas en table-layout.) */

/* Header en flex */
body.ops42-shop-cart .shop_table.cart thead tr {
	display: flex !important;
	align-items: center;
}
body.ops42-shop-cart .shop_table.cart thead th {
	padding: .9rem 1.1rem !important;
}
body.ops42-shop-cart .shop_table.cart thead th.product-remove,
body.ops42-shop-cart .shop_table.cart thead th.product-thumbnail {
	display: none !important;
}
body.ops42-shop-cart .shop_table.cart thead th.product-name     { flex: 1 1 50%; }
body.ops42-shop-cart .shop_table.cart thead th.product-price    { flex: 0 0 110px; text-align: right; }
body.ops42-shop-cart .shop_table.cart thead th.product-quantity { flex: 0 0 90px;  text-align: center; }
body.ops42-shop-cart .shop_table.cart thead th.product-subtotal { flex: 0 0 140px; text-align: right; padding-right: 3.2rem !important; }

/* Lignes panier en flex, croix positionnée absolue à droite */
body.ops42-shop-cart .shop_table.cart tr.cart_item {
	display: flex !important;
	align-items: center;
	position: relative;
}
body.ops42-shop-cart .shop_table.cart tr.cart_item td {
	padding: 1.2rem 1.1rem !important;
}
body.ops42-shop-cart .shop_table.cart tr.cart_item td.product-thumbnail {
	display: none !important;
}
body.ops42-shop-cart .shop_table.cart tr.cart_item td.product-name     { flex: 1 1 50%; }
body.ops42-shop-cart .shop_table.cart tr.cart_item td.product-price    { flex: 0 0 110px; text-align: right; }
body.ops42-shop-cart .shop_table.cart tr.cart_item td.product-quantity { flex: 0 0 90px;  text-align: center; padding-left: .5rem !important; padding-right: .5rem !important; }
body.ops42-shop-cart .shop_table.cart tr.cart_item td.product-subtotal { flex: 0 0 140px; text-align: right; padding-right: 3.2rem !important; }

/* La cellule .product-remove est sortie du flow et la croix est positionnée à droite */
body.ops42-shop-cart .shop_table.cart tr.cart_item td.product-remove {
	position: absolute !important;
	top: 50%;
	right: 1.1rem;
	transform: translateY(-50%);
	width: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	z-index: 5;
}
/* La croix elle-même reste stylée comme avant (pastille rouge clair) */
body.ops42-shop-cart .product-remove .remove {
	position: static !important;
	transform: none !important;
}
body.ops42-shop-cart .product-name {
	font-size: 1rem;
}
body.ops42-shop-cart .product-name a {
	color: var(--ops42-dark);
	font-weight: 800;
	text-decoration: none;
	font-size: 1rem;
}
body.ops42-shop-cart .product-name a:hover {
	color: var(--ops42-red);
}
body.ops42-shop-cart .product-name dl.variation,
body.ops42-shop-cart .product-name .wc-item-meta {
	margin: .35rem 0 0;
	font-size: .82rem;
	color: var(--ops42-gray);
	font-weight: 400;
}
body.ops42-shop-cart .product-name dl.variation dt,
body.ops42-shop-cart .product-name .wc-item-meta strong {
	font-weight: 700;
	color: var(--ops42-dark);
	display: inline;
}
body.ops42-shop-cart .product-name dl.variation dd {
	margin-left: .3rem;
	display: inline;
}
body.ops42-shop-cart .product-price,
body.ops42-shop-cart .product-subtotal {
	font-weight: 800;
	color: var(--ops42-red);
	font-size: 1rem;
}

/* Bouton remove (croix) */
body.ops42-shop-cart .product-remove {
	width: 50px;
}
body.ops42-shop-cart .product-remove .remove {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(212, 0, 0, .08) !important;
	color: var(--ops42-red) !important;
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: background .15s ease, transform .15s ease;
}
body.ops42-shop-cart .product-remove .remove:hover {
	background: var(--ops42-red) !important;
	color: #fff !important;
	transform: scale(1.1) rotate(90deg);
}

/* Quantité */
body.ops42-shop-cart .quantity input.qty {
	width: 70px;
	padding: .55rem;
	border: 1px solid var(--ops42-border);
	border-radius: 6px;
	text-align: center;
	font-weight: 800;
	font-size: 1rem;
	background: #fff;
}
body.ops42-shop-cart .quantity input.qty:focus {
	outline: none;
	border-color: var(--ops42-red);
	box-shadow: 0 0 0 3px rgba(212, 0, 0, .12);
}

/* Ligne actions (coupon + maj panier) en flex propre */
body.ops42-shop-cart .actions {
	padding: 1rem 1.1rem !important;
	background: var(--ops42-cream);
	border-top: 1px solid var(--ops42-border);
	display: flex !important;
	gap: .8rem;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
}
body.ops42-shop-cart .actions .coupon {
	display: flex !important;
	gap: .5rem;
	align-items: center;
	flex-wrap: wrap;
	flex: 1;
	min-width: 280px;
	float: none !important;
}
body.ops42-shop-cart .actions .coupon input.input-text {
	flex: 1;
	min-width: 160px;
	padding: .65rem .85rem;
	border: 1px solid var(--ops42-border);
	border-radius: 6px;
	background: #fff;
	font-size: .9rem;
}
body.ops42-shop-cart .actions .coupon input.input-text:focus {
	outline: none;
	border-color: var(--ops42-red);
	box-shadow: 0 0 0 3px rgba(212, 0, 0, .12);
}
body.ops42-shop-cart [name="update_cart"] {
	flex-shrink: 0;
}

/* Boutons rouges génériques (cart + checkout) */
body.ops42-shop-cart .button,
body.ops42-shop-cart button.button,
body.ops42-shop-cart input[type="submit"]:not(#place_order),
body.ops42-shop-checkout .button:not(#place_order),
body.ops42-shop-checkout button.button:not(#place_order) {
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	padding: .65rem 1.2rem !important;
	font-weight: 700 !important;
	font-size: .9rem !important;
	box-shadow: 0 4px 12px rgba(212, 0, 0, .2);
	transition: transform .15s ease, box-shadow .15s ease;
	cursor: pointer;
	letter-spacing: .01em;
	font-family: inherit;
}
body.ops42-shop-cart .button:hover,
body.ops42-shop-cart button.button:hover,
body.ops42-shop-cart input[type="submit"]:not(#place_order):hover,
body.ops42-shop-checkout .button:not(#place_order):hover,
body.ops42-shop-checkout button.button:not(#place_order):hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(212, 0, 0, .35);
}

/* Bouton "Mettre à jour le panier" reste secondaire (ne pas hériter du gradient rouge) */
body.ops42-shop-cart [name="update_cart"] {
	background: #fff !important;
	color: var(--ops42-dark) !important;
	border: 1px solid var(--ops42-border) !important;
	box-shadow: none !important;
}
body.ops42-shop-cart [name="update_cart"]:hover {
	border-color: var(--ops42-red) !important;
	color: var(--ops42-red) !important;
	transform: none !important;
	box-shadow: none !important;
}

/* Bloc Totaux : carte mise en avant sous les items */
body.ops42-shop-cart .cart_totals {
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	padding: 0;
	box-shadow: var(--ops42-shadow);
	overflow: hidden;
}
body.ops42-shop-cart .cart_totals h2 {
	display: block;
	background: linear-gradient(135deg, var(--ops42-dark) 0%, var(--ops42-red-dark) 100%);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	padding: 1rem 1.4rem;
	margin: 0;
	letter-spacing: -.01em;
	border-left: none;
	padding-left: 1.4rem;
}
body.ops42-shop-cart .cart_totals h2::before {
	content: '🧾 ';
}
body.ops42-shop-cart .cart_totals table.shop_table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 0;
}
body.ops42-shop-cart .cart_totals table.shop_table th,
body.ops42-shop-cart .cart_totals table.shop_table td {
	padding: .85rem 1.4rem;
	border-bottom: 1px solid var(--ops42-border);
	font-size: .9rem;
	text-align: left;
}
body.ops42-shop-cart .cart_totals table.shop_table th {
	color: var(--ops42-gray);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: .78rem;
	width: 40%;
}
body.ops42-shop-cart .cart_totals table.shop_table td {
	color: var(--ops42-dark);
	text-align: right;
	font-weight: 700;
}
body.ops42-shop-cart .cart_totals .cart-subtotal td .amount,
body.ops42-shop-cart .cart_totals .order-total td .amount {
	font-weight: 800;
}
body.ops42-shop-cart .cart_totals .order-total th {
	font-size: .92rem;
	color: var(--ops42-dark);
	text-transform: none;
	letter-spacing: 0;
}
body.ops42-shop-cart .cart_totals .order-total td .amount {
	font-size: 1.6rem !important;
	color: var(--ops42-red) !important;
	font-weight: 800 !important;
}
body.ops42-shop-cart .wc-proceed-to-checkout {
	padding: 1.2rem 1.4rem;
	background: var(--ops42-cream);
	border-top: 1px solid var(--ops42-border);
	margin: 0;
}
body.ops42-shop-cart .wc-proceed-to-checkout .checkout-button {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	padding: 1em !important;
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	background: linear-gradient(135deg, #2d8a2d 0%, #1f5e1f 100%) !important;
	box-shadow: 0 6px 18px rgba(45, 138, 45, .25) !important;
}
body.ops42-shop-cart .wc-proceed-to-checkout .checkout-button:hover {
	box-shadow: 0 8px 22px rgba(45, 138, 45, .4) !important;
}
body.ops42-shop-cart .cross-sells {
	display: none; /* On ne cross-sell pas de formations */
}

/* Belt-and-suspenders : si situation employeur, cache le bouton WC par défaut
   au cas où le remove_action n'aurait pas fonctionné (cache, plugin tiers, etc.) */
body.ops42-employer-cart .wc-proceed-to-checkout > .checkout-button,
body.ops42-employer-cart .wc-proceed-to-checkout > a.button.alt {
	display: none !important;
}

/* ----- Choix employeur (CB / Devis) sur le panier ----- */
.ops42-employer-choice {
	padding: 1.2rem 1.4rem;
	background: var(--ops42-cream);
	border-top: 1px solid var(--ops42-border);
}
.ops42-employer-choice__hint {
	margin: 0 0 .9rem;
	font-size: .88rem;
	color: var(--ops42-dark);
	font-weight: 600;
	line-height: 1.4;
}
.ops42-employer-choice__buttons {
	display: flex;
	flex-direction: column;
	gap: .6rem;
}
.ops42-employer-choice__btn {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	background: #fff;
	border: 2px solid var(--ops42-border);
	border-radius: 8px;
	padding: .9rem 1rem;
	text-decoration: none !important;
	color: var(--ops42-dark) !important;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
	text-align: left;
}
.ops42-employer-choice__btn:hover {
	transform: translateY(-2px);
	border-color: var(--ops42-red);
	box-shadow: var(--ops42-shadow-lg);
}
.ops42-employer-choice__btn-icon {
	font-size: 1.5rem;
	line-height: 1;
	margin-bottom: .25rem;
}
.ops42-employer-choice__btn strong {
	font-size: 1rem;
	font-weight: 800;
	color: var(--ops42-dark);
	line-height: 1.3;
}
.ops42-employer-choice__btn small {
	font-size: .8rem;
	color: var(--ops42-gray);
	line-height: 1.4;
}
.ops42-employer-choice__btn--cb {
	background: linear-gradient(135deg, #2d8a2d 0%, #1f5e1f 100%);
	border-color: #1f5e1f;
	color: #fff !important;
}
.ops42-employer-choice__btn--cb strong { color: #fff; }
.ops42-employer-choice__btn--cb small { color: rgba(255, 255, 255, .85); }
.ops42-employer-choice__btn--cb:hover {
	border-color: var(--ops42-orange);
	box-shadow: 0 8px 22px rgba(45, 138, 45, .35);
}
.ops42-employer-choice__btn--devis {
	background: #fff5e0;
	border-color: var(--ops42-orange);
}
.ops42-employer-choice__btn--devis:hover {
	border-color: var(--ops42-red);
}

/* Empty cart */
body.ops42-shop-cart .cart-empty {
	text-align: center;
	padding: 3rem 2rem;
	font-size: 1.1rem;
	color: var(--ops42-gray);
}
body.ops42-shop-cart .cart-empty + .return-to-shop {
	text-align: center;
	margin-top: 1rem;
}

/* ====================================================================
   CHECKOUT (validation de commande) — refonte 2 colonnes sticky
   ==================================================================== */

/* Reset wrapper : on prend en charge le layout nous-mêmes */
body.ops42-shop-checkout .woocommerce {
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
	border: none !important;
}
body.ops42-shop-checkout form.checkout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 1.8rem;
	align-items: start;
}

/* ----- Colonne gauche : infos client + paiement ----- */
body.ops42-shop-checkout #customer_details {
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	padding: 1.8rem;
	box-shadow: var(--ops42-shadow);
}
body.ops42-shop-checkout #customer_details .col2-set {
	display: block !important;
}
body.ops42-shop-checkout #customer_details .col-1,
body.ops42-shop-checkout #customer_details .col-2 {
	width: 100% !important;
	float: none !important;
	max-width: none !important;
	padding: 0 !important;
}
body.ops42-shop-checkout #customer_details h3 {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--ops42-dark);
	border-left: 4px solid var(--ops42-red);
	padding-left: .7em;
	margin: 0 0 1.2rem;
	letter-spacing: -.01em;
}
body.ops42-shop-checkout #customer_details h3#ship-to-different-address {
	font-size: 1rem;
	border-left: none;
	padding-left: 0;
	font-weight: 600;
}

/* Form fields */
body.ops42-shop-checkout .form-row {
	margin-bottom: 1rem;
	padding: 0;
}
body.ops42-shop-checkout .form-row.form-row-first {
	float: left;
	width: 48.5%;
}
body.ops42-shop-checkout .form-row.form-row-last {
	float: right;
	width: 48.5%;
}
body.ops42-shop-checkout .form-row.form-row-wide {
	float: none;
	clear: both;
	width: 100%;
}
body.ops42-shop-checkout #customer_details .col-1::after,
body.ops42-shop-checkout #customer_details .col-2::after,
body.ops42-shop-checkout .woocommerce-billing-fields::after,
body.ops42-shop-checkout .woocommerce-additional-fields::after {
	content: '';
	display: block;
	clear: both;
}

body.ops42-shop-checkout .form-row label {
	display: block;
	font-weight: 700;
	font-size: .82rem;
	margin-bottom: .35rem;
	color: var(--ops42-dark);
	text-transform: uppercase;
	letter-spacing: .04em;
}
body.ops42-shop-checkout .form-row label .required {
	color: var(--ops42-red);
	text-decoration: none;
	margin-left: .15rem;
}
body.ops42-shop-checkout .form-row label .optional {
	color: var(--ops42-gray);
	font-weight: 400;
	font-size: .75rem;
	margin-left: .3rem;
}
body.ops42-shop-checkout .form-row input.input-text,
body.ops42-shop-checkout .form-row textarea,
body.ops42-shop-checkout .form-row select,
body.ops42-shop-checkout .select2-selection {
	width: 100% !important;
	padding: .75rem .95rem !important;
	border: 1px solid var(--ops42-border) !important;
	border-radius: 6px !important;
	font-family: inherit;
	font-size: .95rem;
	background: #fff;
	min-height: 44px !important;
	color: var(--ops42-dark);
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.ops42-shop-checkout .form-row textarea {
	min-height: 90px !important;
	resize: vertical;
}
body.ops42-shop-checkout .form-row input.input-text:focus,
body.ops42-shop-checkout .form-row textarea:focus,
body.ops42-shop-checkout .form-row select:focus {
	outline: none;
	border-color: var(--ops42-red) !important;
	box-shadow: 0 0 0 3px rgba(212, 0, 0, .12) !important;
}
body.ops42-shop-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 28px !important;
	padding-left: 0;
}
body.ops42-shop-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 42px !important;
}

/* Pré-réservation gateway fields : encadré orangé pour distinguer du formulaire principal */
body.ops42-shop-checkout .ops42-prereservation-fields,
body.ops42-shop-checkout .payment_method_ops42_prereservation > div {
	background: #fff5e0;
	border: 1px solid var(--ops42-orange);
	border-radius: 6px;
	padding: 1rem 1.2rem !important;
	margin-top: .8rem;
}
body.ops42-shop-checkout .ops42-prereservation-fields .form-row {
	margin-bottom: .8rem;
}

/* ----- Colonne droite : récap commande sticky ----- */
body.ops42-shop-checkout #order_review_heading,
body.ops42-shop-checkout h3#order_review_heading {
	display: none; /* Le titre est dans la card #order_review */
}
body.ops42-shop-checkout #order_review {
	position: sticky;
	top: 90px;
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	padding: 0;
	box-shadow: var(--ops42-shadow);
	overflow: hidden;
}
body.ops42-shop-checkout #order_review::before {
	content: '🧾 Récap de votre commande';
	display: block;
	background: linear-gradient(135deg, var(--ops42-dark) 0%, var(--ops42-red-dark) 100%);
	color: #fff;
	font-weight: 800;
	font-size: 1rem;
	padding: 1rem 1.4rem;
	letter-spacing: -.01em;
}
body.ops42-shop-checkout #order_review .shop_table {
	width: 100%;
	border-collapse: collapse;
	background: transparent;
	margin: 0;
}
body.ops42-shop-checkout #order_review .shop_table thead {
	display: none; /* Headers redondants */
}
body.ops42-shop-checkout #order_review .shop_table th,
body.ops42-shop-checkout #order_review .shop_table td {
	padding: .85rem 1.4rem;
	border-bottom: 1px solid var(--ops42-border);
	text-align: left;
	font-size: .9rem;
}
body.ops42-shop-checkout #order_review .shop_table .product-name {
	color: var(--ops42-dark);
	font-weight: 700;
}
body.ops42-shop-checkout #order_review .shop_table .product-name dl.variation,
body.ops42-shop-checkout #order_review .shop_table .product-name .wc-item-meta {
	margin-top: .3rem;
	font-size: .8rem;
	color: var(--ops42-gray);
	font-weight: 400;
}
body.ops42-shop-checkout #order_review .shop_table .product-total {
	text-align: right;
	color: var(--ops42-red);
	font-weight: 700;
	white-space: nowrap;
}
body.ops42-shop-checkout #order_review .shop_table tfoot th {
	font-size: .82rem;
	color: var(--ops42-gray);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
}
body.ops42-shop-checkout #order_review .shop_table tfoot td {
	text-align: right;
}
body.ops42-shop-checkout #order_review .shop_table tfoot .order-total th {
	font-size: 1rem;
	color: var(--ops42-dark);
	text-transform: none;
	letter-spacing: 0;
}
body.ops42-shop-checkout #order_review .order-total .amount {
	font-size: 1.5rem !important;
	color: var(--ops42-red) !important;
	font-weight: 800 !important;
}

/* ----- Paiement (cartes radio + bouton final) ----- */
body.ops42-shop-checkout #payment {
	background: var(--ops42-cream);
	border-top: 1px solid var(--ops42-border);
	padding: 1.2rem 1.4rem;
	margin: 0;
	border-radius: 0;
}
body.ops42-shop-checkout #payment ul.payment_methods {
	list-style: none;
	padding: 0 !important;
	margin: 0 0 1rem !important;
	background: transparent !important;
	border: none !important;
}
body.ops42-shop-checkout #payment ul.payment_methods li {
	background: #fff;
	border: 2px solid var(--ops42-border);
	border-radius: 8px;
	padding: .95rem 1.1rem;
	margin-bottom: .6rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.ops42-shop-checkout #payment ul.payment_methods li:has(input:checked) {
	border-color: var(--ops42-red);
	box-shadow: 0 4px 14px rgba(212, 0, 0, .15);
}
body.ops42-shop-checkout #payment ul.payment_methods li > input[type="radio"] {
	margin-right: .5rem;
	accent-color: var(--ops42-red);
}
body.ops42-shop-checkout #payment ul.payment_methods label {
	font-weight: 700;
	color: var(--ops42-dark);
	cursor: pointer;
	display: inline;
	font-size: .95rem;
}
body.ops42-shop-checkout #payment ul.payment_methods .payment_box {
	background: var(--ops42-cream) !important;
	color: var(--ops42-dark) !important;
	font-size: .85rem;
	line-height: 1.5;
	padding: .85rem 1rem !important;
	margin-top: .8rem !important;
	border-radius: 6px;
	border: 1px solid var(--ops42-border);
}
body.ops42-shop-checkout #payment ul.payment_methods .payment_box::before {
	display: none !important;
}
body.ops42-shop-checkout #payment .form-row.place-order {
	padding: 0 !important;
	margin: 0 !important;
}
body.ops42-shop-checkout #place_order {
	display: block;
	width: 100%;
	padding: 1em 1.4em !important;
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	letter-spacing: .02em;
	margin-top: 1rem !important;
	background: linear-gradient(135deg, #2d8a2d 0%, #1f5e1f 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(45, 138, 45, .25) !important;
	transition: transform .15s ease, box-shadow .15s ease;
}
body.ops42-shop-checkout #place_order:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(45, 138, 45, .4) !important;
}

/* CGV consent box */
body.ops42-shop-checkout .woocommerce-terms-and-conditions-wrapper {
	padding: 0;
	margin-top: .8rem;
}
body.ops42-shop-checkout .woocommerce-terms-and-conditions-checkbox-text {
	font-size: .85rem;
	color: var(--ops42-dark);
}
body.ops42-shop-checkout .woocommerce-form__input-checkbox {
	accent-color: var(--ops42-red);
	margin-right: .4rem;
}

/* Login & coupon panels at top of checkout */
body.ops42-shop-checkout .woocommerce-form-login-toggle,
body.ops42-shop-checkout .woocommerce-form-coupon-toggle {
	margin-bottom: 1rem;
}
body.ops42-shop-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.ops42-shop-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	background: var(--ops42-cream);
	border-left-color: var(--ops42-orange);
	color: var(--ops42-dark);
}

/* ----- Section employeur (au-dessus du choix de gateway dans #order_review) ----- */
.ops42-employer-fields {
	background: linear-gradient(135deg, #fff5e0 0%, #fff 100%);
	border: 1px solid var(--ops42-orange);
	border-left: 4px solid var(--ops42-orange);
	border-radius: 8px;
	margin: 0 1.4rem 1rem;
	padding: 1.2rem 1.3rem;
}
.ops42-employer-fields__head {
	margin: 0 0 1rem;
	padding-bottom: .8rem;
	border-bottom: 1px dashed var(--ops42-orange);
}
.ops42-employer-fields__head h3 {
	margin: 0 0 .25rem;
	font-size: 1rem;
	font-weight: 800;
	color: #7a4a00;
	border-left: none;
	padding-left: 0;
}
.ops42-employer-fields__head p {
	margin: 0;
	font-size: .82rem;
	color: var(--ops42-gray);
}
.ops42-employer-fields__row {
	margin-bottom: .8rem;
}
.ops42-employer-fields__row::after {
	content: '';
	display: block;
	clear: both;
}
.ops42-employer-fields .form-row {
	margin-bottom: .8rem;
}
.ops42-employer-fields .form-row.form-row-first {
	float: left;
	width: 48.5%;
}
.ops42-employer-fields .form-row.form-row-last {
	float: right;
	width: 48.5%;
}
.ops42-employer-fields .form-row.form-row-wide {
	float: none;
	clear: both;
	width: 100%;
}
.ops42-employer-fields label {
	display: block;
	font-weight: 700;
	font-size: .8rem;
	margin-bottom: .35rem;
	color: var(--ops42-dark);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.ops42-employer-fields label .required {
	color: var(--ops42-red);
	text-decoration: none;
	margin-left: .15rem;
}
.ops42-employer-fields label .optional {
	color: var(--ops42-gray);
	font-weight: 400;
	font-size: .75rem;
	margin-left: .3rem;
	text-transform: none;
}
.ops42-employer-fields input.input-text,
.ops42-employer-fields textarea {
	width: 100%;
	padding: .7rem .9rem;
	border: 1px solid var(--ops42-border);
	border-radius: 6px;
	background: #fff;
	font-family: inherit;
	font-size: .92rem;
	color: var(--ops42-dark);
	min-height: 42px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ops42-employer-fields textarea {
	min-height: 100px;
	resize: vertical;
}
.ops42-employer-fields input:focus,
.ops42-employer-fields textarea:focus {
	outline: none;
	border-color: var(--ops42-red);
	box-shadow: 0 0 0 3px rgba(212, 0, 0, .12);
}
.ops42-employer-fields__hint {
	display: block;
	font-size: .78rem;
	color: var(--ops42-gray);
	margin: -.2rem 0 .35rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}
.ops42-employer-fields__notice {
	margin-top: 1rem;
	padding-top: .9rem;
	border-top: 1px dashed var(--ops42-orange);
	font-size: .85rem;
	color: #7a4a00;
	font-weight: 600;
}
.ops42-employer-fields__notice small {
	color: var(--ops42-gray);
	font-weight: 400;
	font-size: .8rem;
}
@media (max-width: 600px) {
	.ops42-employer-fields .form-row.form-row-first,
	.ops42-employer-fields .form-row.form-row-last {
		float: none;
		width: 100%;
	}
}

/* Messages WC (success / error / info) */
body.ops42-stagiaire-layout .woocommerce-message,
body.ops42-stagiaire-layout .woocommerce-info,
body.ops42-stagiaire-layout .woocommerce-error {
	padding: 1rem 1.2rem;
	border-radius: var(--ops42-radius);
	margin-bottom: 1.5rem;
	border-left: 4px solid;
}
body.ops42-stagiaire-layout .woocommerce-message {
	background: #e8f6e8;
	border-color: #2d8a2d;
	color: #1f5e1f;
}
body.ops42-stagiaire-layout .woocommerce-info {
	background: #e8f0fa;
	border-color: #2a6cb0;
	color: #1c4570;
}
body.ops42-stagiaire-layout .woocommerce-error {
	background: #ffe5e5;
	border-color: var(--ops42-red);
	color: var(--ops42-red-dark);
	list-style: none;
	padding: 1rem 1.2rem;
}

/* Mobile checkout (cart est déjà 1 colonne par défaut) */
@media (max-width: 900px) {
	body.ops42-shop-checkout form.checkout {
		grid-template-columns: 1fr;
	}
	body.ops42-shop-checkout #order_review {
		position: static;
	}
}

@media (max-width: 768px) {
	body.ops42-shop-cart .woocommerce {
		padding: 1.2rem;
	}
	body.ops42-shop-cart .shop_table.cart thead {
		display: none;
	}
	body.ops42-shop-cart .shop_table.cart tbody td {
		display: block;
		width: 100%;
		text-align: right;
		padding: .6em 1em;
	}
	body.ops42-shop-cart .shop_table.cart tbody td::before {
		content: attr(data-title);
		float: left;
		font-weight: 700;
		text-transform: uppercase;
		font-size: .75rem;
		color: var(--ops42-gray);
	}
	body.ops42-shop-cart .product-thumbnail {
		text-align: center !important;
	}
	body.ops42-shop-cart .product-thumbnail::before {
		display: none !important;
	}
	body.ops42-shop-cart .cart_totals {
		max-width: 100%;
		margin-left: 0;
	}
	body.ops42-shop-checkout #customer_details {
		padding: 1.3rem;
	}
	body.ops42-shop-checkout .form-row.form-row-first,
	body.ops42-shop-checkout .form-row.form-row-last {
		float: none;
		width: 100%;
	}
}

/* ====================================================================
   6. CHECKOUT : passerelle pré-réservation customisée
   ==================================================================== */

.payment_method_ops42_prereservation .ops42-prereservation-fields {
	background: var(--ops42-warning);
	border: 1px solid var(--ops42-warning-bd);
	padding: 1.2em;
	border-radius: var(--ops42-radius);
	margin-top: .6em;
}

.payment_method_ops42_prereservation .ops42-prereservation-fields label {
	font-weight: 600;
	color: var(--ops42-dark);
}

.payment_method_ops42_prereservation .ops42-prereservation-fields select,
.payment_method_ops42_prereservation .ops42-prereservation-fields input,
.payment_method_ops42_prereservation .ops42-prereservation-fields textarea {
	width: 100%;
	padding: .6em;
	border: 1px solid var(--ops42-border);
	border-radius: 4px;
	font-family: inherit;
}

.ops42-thankyou-instructions {
	background: var(--ops42-light-bg);
	padding: 1.5em;
	border-left: 4px solid var(--ops42-red);
	border-radius: var(--ops42-radius);
	margin: 1.5em 0;
}

/* ====================================================================
   7. RESPONSIVE
   ==================================================================== */

@media (max-width: 768px) {
	.ops42-home-sst-block {
		grid-template-columns: 1fr;
		padding: 1.8rem;
	}
	.ops42-formation-hero {
		padding: 2rem 1.5rem;
	}
	.ops42-sessions-table th,
	.ops42-sessions-table td,
	.ops42-my-formations-table th,
	.ops42-my-formations-table td,
	.ops42-my-documents-table th,
	.ops42-my-documents-table td {
		padding: .6rem .4rem;
		font-size: .9rem;
	}
}

@media (max-width: 480px) {
	.ops42-formation-hero__meta {
		gap: 1rem;
	}
	.ops42-sessions-table th:nth-child(4),
	.ops42-sessions-table td:nth-child(4) {
		display: none;
	}
}
/* ====================================================================
   MOBILE POLISH — refonte complète responsive (≤ 768px et ≤ 480px)
   Bloc unique en fin de feuille pour overrider proprement tout le reste.
   ==================================================================== */

@media (max-width: 768px) {

	/* -------- Header sticky compact -------- */
	.ops42-stagiaire-header {
		position: sticky;
		top: 0;
	}
	.ops42-stagiaire-header__inner {
		padding: .55rem .8rem !important;
		gap: .5rem !important;
		flex-wrap: nowrap;
	}
	.ops42-stagiaire-header__brand {
		gap: .5rem;
		flex-shrink: 0;
	}
	.ops42-stagiaire-header__logo {
		max-height: 32px !important;
	}
	.ops42-stagiaire-header__tag {
		display: none; /* Le badge contextuel prend trop de place sur mobile */
	}
	.ops42-stagiaire-header__nav {
		gap: .35rem !important;
		flex-wrap: nowrap;
		justify-content: flex-end;
	}
	.ops42-stagiaire-header__link {
		padding: .4rem !important;
	}
	.ops42-stagiaire-header__link span:not(.ops42-stagiaire-header__link-icon) {
		display: none !important;
	}
	.ops42-stagiaire-header__link-icon {
		font-size: 1.15rem !important;
	}
	.ops42-stagiaire-header__link--account {
		background: transparent !important;
		border: none !important;
		padding: .4rem !important;
	}
	.ops42-stagiaire-header__user {
		display: none !important;
	}
	.ops42-stagiaire-header__logout {
		padding: .4rem .65rem !important;
		font-size: .75rem !important;
		flex-shrink: 0;
	}

	/* -------- Main : padding aéré -------- */
	.ops42-stagiaire-main {
		padding: 1.5rem 0 !important;
	}
	.ops42-stagiaire-main__inner {
		padding: 0 1rem !important;
	}

	/* -------- Block headers : aération généreuse entre les sections -------- */
	.ops42-block { padding: 3.5rem 0 !important; }
	.ops42-block + .ops42-block { padding-top: 0 !important; }
	.ops42-block__inner { padding: 0 1.2rem !important; }
	.ops42-block__header { margin-bottom: 2.2rem !important; }
	.ops42-block__title {
		font-size: 1.5rem !important;
		line-height: 1.25 !important;
	}
	.ops42-block__subtitle {
		font-size: .95rem !important;
		margin-top: .8rem !important;
	}
	.ops42-block__kicker {
		font-size: .7rem !important;
		margin-bottom: .7rem !important;
	}

	/* -------- Single formation : hero compact -------- */
	.ops42-formation-hero {
		min-height: 320px !important;
		padding: 2rem 1rem !important;
	}
	.ops42-formation-hero__title {
		font-size: 1.7rem !important;
		line-height: 1.15 !important;
	}
	.ops42-formation-hero__meta {
		gap: .8rem !important;
		font-size: .85rem !important;
	}
	.ops42-stats-bar {
		padding: 1rem !important;
	}
	.ops42-stats-bar__inner {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: .8rem !important;
	}
	.ops42-stats-bar__value {
		font-size: 1.1rem !important;
	}
	.ops42-stats-bar__label {
		font-size: .7rem !important;
	}

	/* -------- Cards sessions / formations / booking : 1 colonne, gros espace entre cards -------- */
	.ops42-session-cards,
	.ops42-catalogue,
	.ops42-formation-card-list,
	.ops42-info-cards,
	.ops42-booking-grid,
	.ops42-upcoming-grid {
		grid-template-columns: 1fr !important;
		gap: 1.5rem !important;
	}
	.ops42-dashboard-stats {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: .9rem !important;
	}
	.ops42-formation-card,
	.ops42-session-card,
	.ops42-info-card,
	.ops42-booking-card,
	.ops42-upcoming-card {
		max-width: 100% !important;
	}

	/* -------- Inscription form : tout en 1 colonne, aéré, gros tap targets -------- */
	.ops42-inscription-block {
		padding: 1.5rem 1.2rem !important;
		border-radius: 10px !important;
	}
	.ops42-situation-cards,
	.ops42-inscription-sessions__grid {
		grid-template-columns: 1fr !important;
		gap: .9rem !important;
	}
	.ops42-situation-card__inner {
		padding: 1.1rem 1.2rem !important;
	}
	.ops42-situation-card strong { font-size: .95rem !important; }
	.ops42-session-pick__inner {
		padding: 1rem 1.1rem !important;
	}
	.ops42-inscription-banner {
		padding: 1rem 1.2rem !important;
		margin-bottom: 1.2rem !important;
	}
	.ops42-inscription-banner strong {
		font-size: .95rem !important;
	}
	.ops42-inscription-legal {
		padding: 1rem 1.2rem !important;
		font-size: .85rem !important;
		margin-bottom: 1.4rem !important;
	}
	.ops42-inscription-field {
		margin-bottom: 1.4rem !important;
	}
	.ops42-inscription-sessions {
		margin-bottom: 1.4rem !important;
	}
	.ops42-inscription-submit {
		padding: 1rem !important;
		font-size: 1rem !important;
		margin-top: .4rem !important;
	}
	.ops42-inscription-cgv {
		padding: 1rem !important;
		margin-bottom: 1.2rem !important;
	}
	.ops42-inscription-cgv label {
		font-size: .88rem !important;
		line-height: 1.5;
	}
	.ops42-inscription-extra__inner {
		padding: 1.1rem 1.2rem !important;
	}

	/* -------- Dashboard : aéré sur mobile -------- */
	.ops42-dashboard-hero {
		padding: 1.6rem 1.3rem !important;
		margin-bottom: 1.5rem !important;
	}
	.ops42-dashboard-hero__greet h2 {
		font-size: 1.35rem !important;
		margin-bottom: .5rem !important;
	}
	.ops42-dashboard-hero__greet p {
		font-size: .92rem !important;
	}
	.ops42-dashboard-stats {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: .8rem !important;
		margin-bottom: 2rem !important;
	}
	.ops42-dashboard-stat {
		padding: 1rem 1.1rem !important;
	}
	.ops42-dashboard-stat strong {
		font-size: 1.4rem !important;
	}
	.ops42-dashboard-stat small {
		font-size: .72rem !important;
	}
	.ops42-dashboard-section {
		margin-top: 2.2rem !important;
	}
	.ops42-dashboard-section__header {
		margin-bottom: 1.3rem !important;
	}
	.ops42-dashboard-section--booking {
		padding: 1.3rem 1.1rem !important;
		margin-top: 2.5rem !important;
	}
	.ops42-booking-list {
		gap: 1.1rem !important;
	}
	.ops42-booking-row__head {
		flex-wrap: wrap !important;
		padding: 1rem 1.1rem !important;
		gap: .9rem !important;
	}
	.ops42-booking-row__thumb {
		width: 56px !important;
		height: 42px !important;
	}
	.ops42-booking-row__title {
		font-size: .95rem !important;
		margin-bottom: .4rem !important;
	}
	.ops42-booking-row__toggle {
		width: 100% !important;
		margin-top: .6rem !important;
		justify-content: center !important;
		padding: .8rem 1.2rem !important;
	}
	.ops42-booking-row__form {
		padding: 1.3rem 1.1rem !important;
	}

	/* -------- /mon-compte/ sidebar : passe en haut, aéré -------- */
	body.woocommerce-account .woocommerce-MyAccount-navigation {
		float: none !important;
		width: 100% !important;
		margin: 0 0 1.5rem !important;
		padding: .8rem !important;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		gap: .35rem !important;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 1 1 auto;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		padding: .65em .8em !important;
		font-size: .82rem !important;
		text-align: center;
	}
	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 1.5rem 1.2rem !important;
	}

	/* -------- Cart aéré mobile -------- */
	body.ops42-shop-cart form.woocommerce-cart-form {
		margin-bottom: 1.8rem !important;
	}
	body.ops42-shop-cart .shop_table.cart {
		font-size: .92rem;
	}
	body.ops42-shop-cart .shop_table.cart tbody td {
		padding: 1rem !important;
	}
	body.ops42-shop-cart .actions {
		padding: 1.2rem !important;
		flex-direction: column !important;
		gap: .8rem !important;
	}
	body.ops42-shop-cart .actions .coupon {
		float: none !important;
		width: 100%;
		min-width: 0;
	}
	body.ops42-shop-cart .actions .coupon button.button {
		width: 100% !important;
		padding: .8rem 1.2rem !important;
	}
	body.ops42-shop-cart [name="update_cart"] {
		float: none !important;
		width: 100% !important;
		margin-top: 0 !important;
		padding: .8rem 1.2rem !important;
	}
	body.ops42-shop-cart .cart_totals h2 {
		padding: 1rem 1.2rem !important;
	}
	body.ops42-shop-cart .cart_totals table.shop_table th,
	body.ops42-shop-cart .cart_totals table.shop_table td {
		padding: .9rem 1.2rem !important;
		font-size: .9rem !important;
	}
	body.ops42-shop-cart .cart_totals .order-total td .amount {
		font-size: 1.5rem !important;
	}
	body.ops42-shop-cart .wc-proceed-to-checkout {
		padding: 1.2rem !important;
	}
	body.ops42-shop-cart .wc-proceed-to-checkout .checkout-button {
		padding: 1.1em 1em !important;
	}
	/* Choix employeur sur le panier : aération aussi */
	.ops42-employer-choice {
		padding: 1.4rem 1.2rem !important;
	}
	.ops42-employer-choice__buttons {
		gap: .9rem !important;
	}
	.ops42-employer-choice__btn {
		padding: 1.1rem 1.2rem !important;
	}

	/* -------- Checkout aéré mobile -------- */
	body.ops42-shop-checkout form.checkout {
		gap: 2rem !important;
	}
	body.ops42-shop-checkout #customer_details {
		padding: 1.5rem 1.3rem !important;
	}
	body.ops42-shop-checkout #order_review::before {
		padding: 1rem 1.2rem !important;
	}
	body.ops42-shop-checkout #order_review .shop_table th,
	body.ops42-shop-checkout #order_review .shop_table td {
		padding: 1rem 1.2rem !important;
	}
	body.ops42-shop-checkout #payment {
		padding: 1.4rem 1.2rem !important;
	}
	.ops42-employer-fields {
		margin: 0 1.2rem 1.2rem !important;
		padding: 1.3rem 1.2rem !important;
	}

	/* -------- Checkout fields plus respirants -------- */
	body.ops42-shop-checkout #customer_details {
		padding: 1.2rem !important;
	}
	body.ops42-shop-checkout #customer_details h3 {
		font-size: 1.05rem !important;
	}
	.ops42-employer-fields {
		margin: 0 1rem 1rem !important;
		padding: 1rem !important;
	}
	body.ops42-shop-checkout #order_review::before {
		padding: .8rem 1.1rem !important;
	}

	/* -------- Footer : aéré sur mobile -------- */
	.ops42-footer__inner {
		padding: 2.5rem 1.2rem 2rem !important;
		gap: 2rem !important;
	}
	.ops42-footer__brand,
	.ops42-footer__col {
		max-width: 100% !important;
	}
	.ops42-footer__bottom {
		padding: 1.2rem !important;
	}
	.ops42-footer__bottom-inner {
		flex-direction: column !important;
		text-align: center !important;
		gap: .5rem;
	}

	/* -------- Tap targets : tous les boutons OPS42 mini-44px -------- */
	.ops42-btn-primary,
	.ops42-btn-secondary,
	.ops42-btn,
	.button {
		min-height: 44px !important;
	}

	/* -------- Page banner (catalog) compact -------- */
	.ops42-page-banner__inner {
		padding: .6rem 1rem !important;
		flex-direction: column !important;
		gap: .4rem !important;
		align-items: flex-start !important;
	}
	.ops42-page-banner__contact {
		font-size: .8rem !important;
	}
}

/* -------- Très petits écrans (≤ 480px) : on serre encore -------- */
@media (max-width: 480px) {
	.ops42-stagiaire-header__link--phone {
		display: none !important; /* Le numéro de téléphone caché : on a déjà le clic logo */
	}
	.ops42-block__title {
		font-size: 1.3rem !important;
	}
	.ops42-formation-hero__title {
		font-size: 1.4rem !important;
	}
	.ops42-stats-bar__inner {
		grid-template-columns: 1fr 1fr !important;
	}
	.ops42-dashboard-stats {
		grid-template-columns: 1fr 1fr !important;
	}
	.ops42-dashboard-hero__greet h2 {
		font-size: 1.15rem !important;
	}
	.ops42-page-banner__contact {
		display: block !important;
	}
}


/* ====================================================================
   PAGE 404 — Oops, page non trouvée
   ==================================================================== */

.ops42-404 {
	background: var(--ops42-cream);
	min-height: 70vh;
	padding: 4rem 1.5rem 5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ops42-404__inner {
	max-width: 920px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

/* Le gros 404 + flamme */
.ops42-404__visual {
	position: relative;
	display: inline-block;
	margin-bottom: 1.8rem;
	line-height: 1;
}
.ops42-404__big {
	display: block;
	font-size: clamp(7rem, 18vw, 12rem);
	font-weight: 900;
	letter-spacing: -.04em;
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 50%, var(--ops42-dark) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: .9;
}
.ops42-404__flame {
	position: absolute;
	bottom: -10px;
	right: -50px;
	font-size: clamp(3rem, 8vw, 5rem);
	transform: rotate(-15deg);
	filter: drop-shadow(0 4px 12px rgba(212, 0, 0, .35));
}

/* Header */
.ops42-404__header h1 {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	color: var(--ops42-dark);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 .8rem;
	line-height: 1.15;
}
.ops42-404__header p {
	font-size: 1.05rem;
	color: var(--ops42-gray);
	max-width: 560px;
	margin: 0 auto 2.5rem;
	line-height: 1.55;
}

/* Boutons CTA */
.ops42-404__actions {
	display: flex;
	gap: .8rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 3.5rem;
}
.ops42-404__btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .95rem 1.6rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
	min-height: 48px;
}
.ops42-404__btn--primary {
	background: linear-gradient(135deg, var(--ops42-red) 0%, var(--ops42-red-dark) 100%);
	color: #fff;
	box-shadow: 0 8px 20px rgba(212, 0, 0, .3);
}
.ops42-404__btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(212, 0, 0, .4);
	color: #fff;
}
.ops42-404__btn--secondary {
	background: #fff;
	color: var(--ops42-dark);
	border: 1px solid var(--ops42-border);
}
.ops42-404__btn--secondary:hover {
	border-color: var(--ops42-red);
	color: var(--ops42-red);
	transform: translateY(-2px);
}

/* Section suggestions */
.ops42-404__suggestions {
	margin: 0 0 2.5rem;
	padding: 2rem 0 0;
	border-top: 1px solid var(--ops42-border);
}
.ops42-404__suggestions h2 {
	font-size: 1.1rem;
	color: var(--ops42-dark);
	font-weight: 800;
	margin: 0 0 1.5rem;
	letter-spacing: -.01em;
}
.ops42-404__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	max-width: 800px;
	margin: 0 auto;
}
.ops42-404__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ops42-border);
	border-radius: var(--ops42-radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--ops42-dark);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
	text-align: left;
}
.ops42-404__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ops42-shadow-lg);
	border-color: var(--ops42-red);
	color: var(--ops42-dark);
}
.ops42-404__card-img {
	display: block;
	height: 100px;
	background-size: cover;
	background-position: center;
	background-color: var(--ops42-cream);
}
.ops42-404__card-body {
	padding: .9rem 1rem;
	display: flex;
	flex-direction: column;
	gap: .35rem;
}
.ops42-404__card-body strong {
	font-size: .92rem;
	line-height: 1.3;
	font-weight: 800;
}
.ops42-404__card-body small {
	color: var(--ops42-gray);
	font-size: .8rem;
}

/* Contact */
.ops42-404__contact {
	margin: 0;
	font-size: .92rem;
	color: var(--ops42-gray);
}
.ops42-404__contact a {
	color: var(--ops42-red);
	font-weight: 700;
	text-decoration: none;
	margin: 0 .3rem;
}
.ops42-404__contact a:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.ops42-404 { padding: 2.5rem 1rem 3rem; }
	.ops42-404__flame { right: -25px; }
	.ops42-404__actions { flex-direction: column; align-items: stretch; }
	.ops42-404__btn { justify-content: center; }
}
