/* ==========================================================================
   Ksari — accueil. Sections construites dans Divi (classes ks- dans Avancé → Classe CSS)
   et modules interactifs rendus par les shortcodes du thème.
   ========================================================================== */

/* Divi ajoute une marge sous chaque module : nos sections gèrent leurs espacements. */
.ks-home-section .et_pb_module { margin-bottom: 0 !important; }
.ks-home-section .et_pb_text_inner > :is(p, h1, h2, h3, ul, dl):last-child { padding-bottom: 0; margin-bottom: 0; }

/* Apparitions au défilement --------------------------------------------- */
.ks-reveal.is-armed { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.ks-reveal.is-armed.is-in { opacity: 1; transform: none; }
.ks-reveal--d1 { transition-delay: .12s !important; }
.ks-reveal--d2 { transition-delay: .24s !important; }
.ks-reveal--d3 { transition-delay: .36s !important; }
.ks-reveal--d4 { transition-delay: .48s !important; }

/* Boutons grand format ------------------------------------------------------ */
.ks-btn--lg { height: 58px; padding: 0 28px; font-size: 15px; gap: 14px; }
.ks-btn--sm { height: 42px; font-size: 13.5px; padding: 0 16px; }
.ks-btn--primary.ks-btn--lg { box-shadow: 0 10px 24px rgba(47, 85, 196, 0.28); transition: background-color .2s, transform .2s; }
.ks-btn--primary.ks-btn--lg:hover { transform: translateY(-2px); }

/* 1 · Ouverture ------------------------------------------------------------- */
.et_pb_section.ks-hero { position: relative; overflow: hidden; padding: 0 var(--ks-gutter); background: var(--ks-white); }
.ks-hero .et_pb_row.ks-hero__row {
	position: static;
	width: 100%;
	max-width: var(--ks-max);
	margin: 0 auto;
	padding: 72px 0 96px;
	min-height: 780px;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 32px;
	align-items: center;
}
.ks-hero .ks-hero__row::after { display: none; }
.ks-hero .ks-hero__row > .et_pb_column { width: auto !important; margin: 0 !important; float: none; position: static; }
.ks-hero .ks-hero__text { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; }
.ks-hero .ks-hero__side { grid-column: 7 / span 6; }

.ks-hero__badge .et_pb_text_inner {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	background: var(--ks-blue-tint);
	color: var(--ks-blue);
	font-family: var(--ks-font-mono);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.4;
}
.ks-hero__badge .et_pb_text_inner::before { content: ''; width: 8px; height: 8px; background: var(--ks-blue); flex: none; }

.ks-hero__title { margin-top: 30px !important; }
.ks-hero__title h1 {
	padding: 0;
	font-weight: 800;
	font-size: clamp(42px, 4.4vw, 66px);
	line-height: 1.03;
	letter-spacing: -0.035em;
	text-wrap: balance;
}
.ks-accent { color: var(--ks-blue); }

.ks-hero__lead { margin-top: 28px !important; max-width: 540px; }
.ks-hero__lead p { font-size: 19px; line-height: 1.55; color: var(--ks-ink-soft); text-wrap: pretty; }

.ks-hero__ctas { margin-top: 38px !important; }
.ks-hero__ctas .et_pb_text_inner { display: flex; flex-wrap: wrap; gap: 14px; }

.ks-hero__call { margin-top: 26px !important; }
.ks-hero__call p { font-size: 15px; color: var(--ks-ink-soft); }
.ks-phone { font-family: var(--ks-font-title); font-weight: 700; color: var(--ks-ink); text-decoration: none; margin-left: 6px; white-space: nowrap; }
a.ks-phone:hover { color: var(--ks-blue); }

/* Photo : bande de droite sur toute la hauteur de la section (module Image de Divi). */
.ks-hero .et_pb_image.ks-hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; margin: 0 !important; z-index: 0; }
.ks-hero__photo .et_pb_image_wrap { display: block; width: 100%; height: 100%; }
.ks-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 25%; }

/* Vérification express ------------------------------------------------------ */
.ks-verif {
	width: 100%;
	max-width: 400px;
	background: var(--ks-white);
	border-top: 6px solid var(--ks-blue);
	box-shadow: 0 30px 70px rgba(20, 32, 80, 0.24), 0 2px 6px rgba(20, 32, 80, 0.08);
	color: var(--ks-ink);
}
.ks-verif__head { padding: 18px 22px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ks-verif__titles { display: flex; flex-direction: column; gap: 6px; }
.ks-verif__eyebrow { font-family: var(--ks-font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); }
.ks-verif__title { font-family: var(--ks-font-title); font-weight: 700; font-size: 16px; line-height: 1.25; }
.ks-verif__step { font-family: var(--ks-font-mono); font-size: 11.5px; color: var(--ks-ink-soft); white-space: nowrap; padding-top: 2px; }
.ks-verif__bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 14px 22px 0; }
.ks-verif__bars span { height: 4px; background: var(--ks-line-soft); transition: background-color .4s; }
.ks-verif__bars span.is-current { background: var(--ks-blue-soft); }
.ks-verif__bars span.is-done { background: var(--ks-blue); }
.ks-verif__body { padding: 18px 22px 22px; min-height: 352px; display: flex; flex-direction: column; }

.ks-verif__pane { display: flex; flex-direction: column; gap: 14px; }
.ks-verif__pane--grow { flex: 1; gap: 12px; }
.ks-verif__q { margin: 0; padding: 0; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
.ks-verif__sub { margin: 4px 0 0; padding: 0; font-size: 14px; color: var(--ks-ink-soft); }
.ks-verif__note { margin: 2px 0 0; padding: 0; font-family: var(--ks-font-mono); font-size: 11.5px; color: var(--ks-ink-soft); }
.ks-verif__list { display: flex; flex-direction: column; gap: 8px; }
.ks-verif__back { padding: 0; border: 0; background: none; color: var(--ks-blue); font-family: var(--ks-font-body); font-weight: 600; font-size: 14px; cursor: pointer; align-self: flex-start; }
.ks-verif__back + .ks-verif__q { margin-top: 10px; }

.ks-choice {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px 14px;
	text-align: left;
	border: 1.5px solid var(--ks-line);
	border-radius: var(--ks-radius);
	background: var(--ks-white);
	color: var(--ks-ink);
	font-family: var(--ks-font-body);
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.ks-choice:hover, .ks-choice.is-on { border-color: var(--ks-blue); background: var(--ks-blue-wash); }
.ks-choice__n { font-family: var(--ks-font-title); font-weight: 800; font-size: 19px; color: var(--ks-blue); }
.ks-choice__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ks-choice__name { font-weight: 600; font-size: 15px; }
.ks-choice__codes { font-family: var(--ks-font-mono); font-size: 11.5px; color: var(--ks-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-choice__arrow { color: var(--ks-blue); font-size: 18px; }
.ks-choice--mode { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.ks-choice__row { display: flex; justify-content: space-between; gap: 12px; }

.ks-frise { display: flex; gap: 3px; height: 8px; }
.ks-frise span { background: #D5D9DF; }
.ks-frise span.is-mine { background: var(--ks-blue); }

.ks-verif__group { display: flex; flex-direction: column; gap: 8px; }
.ks-verif__glabel { font-family: var(--ks-font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-ink-soft); }
.ks-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ks-chip {
	font-family: var(--ks-font-mono);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	padding: 7px 9px;
	border: 1.5px solid #A9B0B9;
	border-radius: var(--ks-radius);
	background: var(--ks-white);
	color: var(--ks-ink);
	cursor: pointer;
	white-space: nowrap;
	text-align: left;
	max-width: 100%;
	transition: background-color .2s, color .2s, border-color .2s;
}
.ks-chip--long { font-size: 12.5px; white-space: normal; }
.ks-chip:hover { border-color: var(--ks-blue); }
.ks-chip.is-on { background: var(--ks-blue); border-color: var(--ks-blue); color: var(--ks-white); }

.ks-def { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: var(--ks-bg-panel); min-height: 56px; }
.ks-def__code { font-family: var(--ks-font-mono); font-size: 12.5px; font-weight: 600; color: var(--ks-blue); white-space: nowrap; padding-top: 1px; }
.ks-def__text { font-size: 13px; line-height: 1.45; color: var(--ks-ink); }

.ks-verif__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ks-verif__count { font-family: var(--ks-font-mono); font-size: 12px; color: var(--ks-ink-soft); }

.ks-verif__ok { display: flex; align-items: center; gap: 14px; }
.ks-verif__tick { width: 38px; height: 38px; flex: none; background: var(--ks-blue); color: var(--ks-white); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.ks-verif__ok .ks-verif__q { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.ks-recap { margin-top: 2px; }
.ks-recap__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--ks-line-soft); }
.ks-recap__row:last-child { border-bottom: 1px solid var(--ks-line-soft); }
.ks-recap__k { font-family: var(--ks-font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ks-ink-soft); padding-top: 2px; }
.ks-recap__v { font-size: 14px; font-weight: 600; }
.ks-recap__v--mono { font-family: var(--ks-font-mono); font-size: 13.5px; color: var(--ks-blue); }
.ks-verif__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ks-verif__actions .ks-btn { height: 46px; font-size: 13px; padding: 0 12px; white-space: normal; text-align: center; line-height: 1.2; }

/* Tablette et mobile -------------------------------------------------------- */
@media (max-width: 980px) {
	.ks-hero .et_pb_row.ks-hero__row { display: block; min-height: 0; padding: 48px 0 0; }
	.ks-hero .ks-hero__side { margin-top: 48px !important; position: relative; }
	.ks-hero .et_pb_image.ks-hero__photo { position: relative; width: auto; height: 340px; margin: 0 calc(-1 * var(--ks-gutter)) !important; }
	.ks-verif { max-width: none; }
}
@media (max-width: 600px) {
	.ks-hero__lead p { font-size: 17px; }
	.ks-hero__ctas .ks-btn { width: 100%; }
	.ks-verif__head, .ks-verif__bars { padding-left: 20px; padding-right: 20px; }
	.ks-verif__body { padding: 20px; min-height: 0; }
	.ks-verif__actions { grid-template-columns: 1fr; }
	.ks-recap__row { grid-template-columns: 96px minmax(0, 1fr); }
	.ks-hero .et_pb_image.ks-hero__photo { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
	.ks-reveal.is-armed { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Sections 2 à 9 — structure commune
   ========================================================================== */

.et_pb_section.ks-sec { padding: 120px var(--ks-gutter); }
.ks-sec--grey.et_pb_section { background: var(--ks-bg-alt); }
.ks-sec--white.et_pb_section { background: var(--ks-white); }
.ks-sec--dark.et_pb_section { background: var(--ks-ink); color: var(--ks-white); }
.ks-sec--blue.et_pb_section { background: var(--ks-blue); color: var(--ks-white); }
.ks-sec .et_pb_row { width: 100%; max-width: var(--ks-max); margin: 0 auto; padding: 0; }
.ks-sec .et_pb_row + .et_pb_row { margin-top: 40px; }
.ks-sec .et_pb_row.ks-row-cards { margin-top: 56px; }
.ks-sec--dark h2, .ks-sec--dark h3, .ks-sec--blue h2, .ks-sec--blue h3 { color: var(--ks-white); }

/* Rangées en grille de 12 colonnes (Divi garde ses colonnes, on remplace seulement le flottement). */
.ks-grid.et_pb_row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.ks-grid.et_pb_row::after { display: none; }
.ks-grid.et_pb_row > .et_pb_column { width: auto !important; margin: 0 !important; float: none; }
.ks-row-head.et_pb_row { align-items: end; }
.ks-row-head > .et_pb_column:nth-child(1) { grid-column: 1 / span 7; }
.ks-row-head > .et_pb_column:nth-child(2) { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* Intitulé numéroté de section : « 01 Domaines ———— ». */
.ks-sec-kicker .et_pb_text_inner { display: flex; align-items: center; gap: 14px; font-family: var(--ks-font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-ink-soft); line-height: 1; }
.ks-sec-kicker .et_pb_text_inner::after { content: ''; flex: 1; height: 1px; background: var(--ks-line); }
.ks-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--ks-blue); color: var(--ks-white); font-weight: 600; letter-spacing: 0; }
.ks-sec--dark .ks-sec-kicker .et_pb_text_inner { color: var(--ks-muted); }
.ks-sec--dark .ks-sec-kicker .et_pb_text_inner::after { background: rgba(255, 255, 255, 0.16); }
.ks-sec--blue .ks-sec-kicker .et_pb_text_inner { color: #E3E9FB; }
.ks-sec--blue .ks-sec-kicker .et_pb_text_inner::after { background: rgba(255, 255, 255, 0.3); }
.ks-sec--blue .ks-num { background: var(--ks-white); color: var(--ks-blue); }

.ks-sec-title h2 { padding: 0; font-weight: 800; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.ks-sec-title--xl h2 { font-size: clamp(44px, 5vw, 76px); line-height: 1; letter-spacing: -0.04em; }
.ks-sec-title--lg h2 { font-size: clamp(38px, 3.8vw, 56px); line-height: 1.03; letter-spacing: -0.035em; }
.ks-sec--dark .ks-accent { color: var(--ks-blue-soft); }
.ks-sec-intro p { font-size: 17px; line-height: 1.6; color: var(--ks-ink-soft); text-wrap: pretty; }
.ks-sec--dark .ks-sec-intro p { color: #C9CDD3; font-size: 17.5px; }
.ks-sec--blue .ks-sec-intro p { color: #E3E9FB; }
.ks-hint .et_pb_text_inner { display: flex; gap: 10px; align-items: center; font-family: var(--ks-font-mono); font-size: 12.5px; font-weight: 600; color: var(--ks-blue); line-height: 1.4; }
.ks-hint .et_pb_text_inner::before { content: ''; width: 8px; height: 8px; background: var(--ks-blue); flex: none; }

.ks-btn--dark { background: var(--ks-ink); border-color: var(--ks-ink); color: var(--ks-white); height: 52px; padding: 0 22px; font-size: 14.5px; gap: 14px; }
.ks-btn--dark:hover { background: var(--ks-blue); border-color: var(--ks-blue); color: var(--ks-white); }
.ks-btn--outline-blue { background: transparent; border-color: var(--ks-blue); color: var(--ks-blue); height: 52px; padding: 0 22px; font-size: 14.5px; }
.ks-btn--outline-blue:hover { background: var(--ks-blue); color: var(--ks-white); }
.ks-sec--dark .ks-btn--primary:hover { background: var(--ks-blue-on-dark); border-color: var(--ks-blue-on-dark); }

/* Tracés dessinés à l'apparition (frises, lignes). */
.ks-draw.is-armed .ks-mode__bars span.is-mine,
.ks-draw.is-armed.ks-steps::after,
.ks-draw.is-armed .ks-timeline__progress { transform: scaleX(0); }
.ks-draw.is-armed.is-in .ks-mode__bars span.is-mine,
.ks-draw.is-armed.is-in.ks-steps::after,
.ks-draw.is-armed.is-in .ks-timeline__progress { transform: scaleX(1); }

/* Chiffres clés (bande bleue sous l'ouverture) --------------------------------------------- */
.et_pb_section.ks-stats { padding: 0 var(--ks-gutter); background: var(--ks-blue); color: var(--ks-white); }
.ks-stats .et_pb_row { width: 100%; max-width: var(--ks-max); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ks-stats .et_pb_row::after { display: none; }
.ks-stats .et_pb_column { width: auto !important; margin: 0 !important; float: none; padding: 44px 28px; border-left: 1px solid rgba(255, 255, 255, 0.28); }
.ks-stats .et_pb_column:first-child { padding-left: 0; border-left: 0; }
.ks-stats .et_pb_column:last-child { padding-right: 0; }
.ks-stat__big { display: flex; align-items: baseline; gap: 8px; font-family: var(--ks-font-title); font-weight: 800; font-size: clamp(30px, 2.7vw, 42px); line-height: 1; letter-spacing: -0.03em; color: var(--ks-white); white-space: nowrap; }
.ks-stat__big small { font-size: 20px; font-weight: 600; letter-spacing: 0; }
.ks-stat__big--text { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.1; white-space: nowrap; }
.ks-stat__label { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: #E3E9FB; }

/* 2 · Domaines : grille 2 × 2, une carte par domaine ------------------------------------------ */
.ks-domains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ks-domain { background: var(--ks-white); border: 1px solid var(--ks-line); border-top: 4px solid var(--ks-blue); display: flex; flex-direction: column; scroll-margin-top: 140px; transition: box-shadow .3s, border-color .3s; }
.ks-domain:hover { box-shadow: 0 24px 48px rgba(43, 46, 51, 0.10); }
.ks-domain__head { padding: 28px 32px 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.ks-domain__n { font-family: var(--ks-font-title); font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -0.03em; color: var(--ks-blue); }
.ks-domain__name { margin: 0; padding: 0; font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.ks-domain__desc { margin: 6px 0 0; padding: 0; font-size: 15.5px; line-height: 1.5; color: var(--ks-ink-soft); }
.ks-domain__groups { padding: 22px 32px 28px 104px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ks-domain__group { display: flex; flex-direction: column; gap: 8px; }
.ks-domain__glabel { font-family: var(--ks-font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-ink-soft); }
.ks-domain .ks-chips { gap: 8px; }
.ks-domain .ks-chip { position: relative; font-size: 14.5px; padding: 8px 12px; border-color: var(--ks-line); }
.ks-domain .ks-chip:hover, .ks-domain .ks-chip:focus-visible { border-color: var(--ks-blue); }
.ks-domain .ks-chip.is-on { border-color: var(--ks-blue); }
/* Infobulle de définition du sigle. */
.ks-domain .ks-chip[data-tip]::after {
	content: attr(data-tip);
	position: absolute;
	left: 0;
	bottom: calc(100% + 10px);
	z-index: 5;
	width: max-content;
	max-width: 260px;
	padding: 10px 12px;
	background: var(--ks-ink);
	color: var(--ks-white);
	font-family: var(--ks-font-body);
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.45;
	white-space: normal;
	text-align: left;
	box-shadow: 0 10px 24px rgba(20, 32, 80, 0.2);
	opacity: 0;
	transform: translateY(4px);
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.ks-domain .ks-chip[data-tip]:hover::after, .ks-domain .ks-chip[data-tip]:focus-visible::after { opacity: 1; transform: none; }
.ks-domain__link { margin: 0 32px; padding: 16px 0 20px 72px; border-top: 1px solid var(--ks-line-soft); display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ks-blue); text-decoration: none; }
.ks-domain__link:hover { color: var(--ks-blue-hover); text-decoration: underline; }

/* 3 · Modes d'intervention ------------------------------------------------------------------ */
.ks-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ks-mode { display: flex; flex-direction: column; padding: 32px; border: 1.5px solid var(--ks-line); background: var(--ks-white); color: var(--ks-ink); transition: background-color .4s, color .4s, border-color .4s, box-shadow .3s; }
.ks-mode:hover { box-shadow: 0 24px 48px rgba(43, 46, 51, 0.10); }
.ks-mode__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ks-mode__n { font-family: var(--ks-font-title); font-weight: 800; font-size: 44px; line-height: 0.9; letter-spacing: -0.04em; color: var(--ks-blue); transition: color .4s; }
.ks-mode__state { font-family: var(--ks-font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-align: right; }
.ks-mode__frise { margin-top: 28px; }
.ks-mode__bars { display: flex; gap: 3px; height: 12px; }
.ks-mode__bars span { background: #D5D9DF; transform-origin: left center; transition: background-color .4s, transform 1.1s cubic-bezier(.2,.7,.2,1) .3s; }
.ks-mode__bars span.is-mine { background: var(--ks-blue); }
.ks-mode__labels { display: flex; gap: 3px; margin-top: 8px; }
.ks-mode__labels span { min-width: 0; font-family: var(--ks-font-mono); font-size: 10.5px; letter-spacing: 0.02em; line-height: 1.3; text-transform: uppercase; color: var(--ks-ink-soft); overflow-wrap: anywhere; }
.ks-mode__labels span.is-mine { color: var(--ks-blue); }
.ks-mode__title { margin: 28px 0 0; padding: 0; font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; color: inherit; }
.ks-mode__text { margin: 10px 0 0; padding: 0; font-size: 16px; line-height: 1.6; color: var(--ks-ink-soft); text-wrap: pretty; flex: 1; }
.ks-mode__btn { margin-top: 24px; height: 50px; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border: 1.5px solid var(--ks-blue); background: transparent; color: var(--ks-blue); font-family: var(--ks-font-title); font-weight: 600; font-size: 14.5px; cursor: pointer; border-radius: var(--ks-radius); transition: background-color .2s, color .2s; }
.ks-mode__btn span:last-child { font-size: 18px; }
.ks-mode__btn:hover { background: var(--ks-blue); color: var(--ks-white); }
.ks-mode.is-on { background: var(--ks-blue); border-color: var(--ks-blue); color: var(--ks-white); }
.ks-mode.is-on .ks-mode__n, .ks-mode.is-on .ks-mode__labels span.is-mine { color: var(--ks-white); }
.ks-mode.is-on .ks-mode__text, .ks-mode.is-on .ks-mode__labels span { color: #E3E9FB; }
.ks-mode.is-on .ks-mode__bars span { background: rgba(255, 255, 255, 0.3); }
.ks-mode.is-on .ks-mode__bars span.is-mine { background: var(--ks-white); }
.ks-mode.is-on .ks-mode__btn { background: var(--ks-white); border-color: var(--ks-white); color: var(--ks-blue); }

/* Bandeau d'information (programmes et supports, formation de formateurs). */
.ks-note .et_pb_text_inner { background: var(--ks-blue-tint); padding: 30px 32px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.ks-note__k { grid-column: 1 / span 3; font-family: var(--ks-font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); padding-top: 4px; }
.ks-note .et_pb_text_inner p { grid-column: 4 / span 9; margin: 0; padding: 0; font-size: 18.5px; line-height: 1.55; font-weight: 500; color: var(--ks-ink); text-wrap: pretty; }
.ks-sec .et_pb_row.ks-row-note { margin-top: 28px; }

/* 4 · Dossier formateur --------------------------------------------------------------------- */
.ks-row-dossier.et_pb_row { align-items: start; margin-top: 48px !important; }
.ks-row-dossier > .et_pb_column:nth-child(1) { grid-column: 1 / span 5; }
.ks-row-dossier > .et_pb_column:nth-child(2) { grid-column: 7 / span 6; display: grid !important; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; align-items: start; }
.ks-frame { margin-top: 34px !important; }
.ks-frame .et_pb_text_inner { border: 1px solid rgba(255, 255, 255, 0.28); padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.ks-frame__k { font-family: var(--ks-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue-soft); }
.ks-frame p { margin: 0; padding: 0; font-size: 17.5px; line-height: 1.5; font-weight: 500; color: var(--ks-white); }
.ks-sec .ks-cta-line { margin-top: 34px !important; }
.ks-sec-intro { margin-top: 24px !important; }
.ks-row-head .ks-sec-intro { margin-top: 0 !important; }

.ks-ring { position: relative; width: 180px; height: 180px; }
.ks-ring svg { display: block; transform: rotate(-90deg); }
.ks-ring__track { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 10; }
.ks-ring__bar { fill: none; stroke: var(--ks-blue); stroke-width: 10; stroke-dasharray: 502.65; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1) .2s; }
.ks-ring.is-armed .ks-ring__bar { stroke-dashoffset: 502.65; }
.ks-ring.is-armed.is-in .ks-ring__bar { stroke-dashoffset: 0; }
.ks-ring__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ks-ring__big { font-family: var(--ks-font-title); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; color: var(--ks-white); }
.ks-ring__small { font-family: var(--ks-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue-soft); }

.ks-checklist ul { list-style: none; margin: 0; padding: 0; }
.ks-checklist li { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.ks-checklist li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.ks-checklist li::before { content: '✓'; width: 34px; height: 34px; background: var(--ks-blue); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--ks-white); }
.ks-checklist strong { display: block; font-family: var(--ks-font-title); font-weight: 600; font-size: 18px; color: var(--ks-white); }
.ks-checklist li span { display: block; margin-top: 3px; font-size: 14px; color: var(--ks-muted); }
.ks-checklist p { margin: 16px 0 0; padding: 0; font-family: var(--ks-font-mono); font-size: 12.5px; color: var(--ks-muted); }

/* 5 · Déroulement --------------------------------------------------------------------------- */
.ks-row-split.et_pb_row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.ks-row-split.et_pb_row::after { display: none; }
.ks-row-split > .et_pb_column { width: auto !important; margin: 0 !important; float: none; }
.ks-steps.et_pb_row { position: relative; margin-top: 64px !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ks-steps.et_pb_row::before, .ks-steps.et_pb_row::after { content: ''; position: absolute; top: 31px; left: 0; right: 0; height: 2px; background: var(--ks-line); }
.ks-steps.et_pb_row::after { background: var(--ks-blue); transform-origin: left center; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.ks-steps > .et_pb_column { position: relative; z-index: 1; width: auto !important; margin: 0 !important; float: none; display: flex; flex-direction: column; }
.ks-steps .et_pb_module, .ks-steps .et_pb_text_inner { height: 100%; }
.ks-steps .et_pb_text_inner { display: flex; flex-direction: column; }
.ks-step__num { width: 64px; height: 64px; background: var(--ks-blue); color: var(--ks-white); display: flex; align-items: center; justify-content: center; font-family: var(--ks-font-title); font-weight: 800; font-size: 24px; box-shadow: 0 0 0 8px var(--ks-bg-alt); }
.ks-step--dark .ks-step__num { background: var(--ks-ink); }
.ks-step__card { margin-top: 28px; background: var(--ks-white); border: 1px solid var(--ks-line); padding: 28px 28px 30px; flex: 1; }
.ks-step__who { font-family: var(--ks-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); font-weight: 600; }
.ks-step__card h3 { margin: 10px 0 0; padding: 0; font-weight: 700; font-size: 21px; line-height: 1.3; }
.ks-step__card p { margin: 12px 0 0; padding: 0; font-size: 16px; line-height: 1.6; color: var(--ks-ink-soft); }

/* 6 · Expertise & ingénierie : panneaux qui s'ouvrent au survol (CSS seul) ------------------- */
.ks-exp.et_pb_row { display: flex; gap: 12px; height: 460px; margin-top: 56px !important; }
.ks-exp.et_pb_row::after { display: none; }
.ks-exp > .et_pb_column { position: relative; width: auto !important; margin: 0 !important; float: none; flex: 1 1 0%; min-width: 170px; overflow: hidden; padding: 28px; background: var(--ks-bg-panel); border: 1px solid var(--ks-line-soft); color: var(--ks-ink); cursor: default; transition: flex-grow .6s cubic-bezier(.2,.7,.2,1), background-color .45s, color .45s, border-color .45s, padding .45s; }
.ks-exp > .et_pb_column:first-child,
.ks-exp:hover > .et_pb_column:hover { flex-grow: 2.3; padding: 40px; background: var(--ks-blue); border-color: var(--ks-blue); color: var(--ks-white); }
.ks-exp:hover > .et_pb_column:first-child:not(:hover) { flex-grow: 1; padding: 28px; background: var(--ks-bg-panel); border-color: var(--ks-line-soft); color: var(--ks-ink); }
.ks-exp .et_pb_module, .ks-exp .et_pb_text_inner { height: 100%; }
.ks-exp .et_pb_text_inner { display: flex; flex-direction: column; }
.ks-exp__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ks-exp__n { font-family: var(--ks-font-title); font-weight: 800; font-size: 64px; line-height: 0.9; letter-spacing: -0.04em; color: var(--ks-blue); transition: color .45s; }
.ks-exp__arrow { font-size: 22px; color: var(--ks-blue); opacity: .45; transition: opacity .3s, color .45s; }
.ks-exp h3 { margin: auto 0 0; padding: 0; width: 400px; max-width: 100%; font-weight: 700; font-size: 19px; line-height: 1.22; letter-spacing: -0.015em; text-wrap: balance; color: inherit; transition: font-size .45s; hyphens: auto; }
.ks-exp p { margin: 0; padding: 0; width: 420px; max-width: 100%; font-size: 16px; line-height: 1.6; color: var(--ks-ink-soft); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s cubic-bezier(.2,.7,.2,1), opacity .45s, margin .45s; }
.ks-exp > .et_pb_column:first-child h3, .ks-exp:hover > .et_pb_column:hover h3 { font-size: 24px; }
.ks-exp > .et_pb_column:first-child p, .ks-exp:hover > .et_pb_column:hover p { max-height: 220px; opacity: 1; margin-top: 14px; color: #E3E9FB; }
.ks-exp > .et_pb_column:first-child .ks-exp__n, .ks-exp:hover > .et_pb_column:hover .ks-exp__n,
.ks-exp > .et_pb_column:first-child .ks-exp__arrow, .ks-exp:hover > .et_pb_column:hover .ks-exp__arrow { color: var(--ks-white); opacity: 1; }
.ks-exp:hover > .et_pb_column:first-child:not(:hover) h3 { font-size: 19px; }
.ks-exp:hover > .et_pb_column:first-child:not(:hover) p { max-height: 0; opacity: 0; margin-top: 0; }
.ks-exp:hover > .et_pb_column:first-child:not(:hover) .ks-exp__n { color: var(--ks-blue); }
.ks-exp:hover > .et_pb_column:first-child:not(:hover) .ks-exp__arrow { color: var(--ks-blue); opacity: .45; }

/* 7 · Zone d'intervention ------------------------------------------------------------------- */
.ks-zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: stretch; }
.ks-zone__pick { grid-column: 1 / span 8; }
.ks-zone__q { font-family: var(--ks-font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); }
.ks-zone__regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ks-region { padding: 13px 16px; border: 1.5px solid var(--ks-line); border-radius: var(--ks-radius); background: var(--ks-white); color: var(--ks-ink); font-family: var(--ks-font-title); font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.ks-region:hover { border-color: var(--ks-blue); }
.ks-region.is-on { background: var(--ks-blue); border-color: var(--ks-blue); color: var(--ks-white); }
.ks-zone__answer { grid-column: 9 / span 4; background: var(--ks-white); color: var(--ks-ink); border: 1.5px solid var(--ks-line); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 280px; transition: background-color .45s, color .45s, border-color .45s; }
.ks-zone__k { font-family: var(--ks-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-ink-soft); }
.ks-zone__title { font-family: var(--ks-font-title); font-weight: 800; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.ks-zone__text { margin: 12px 0 0; padding: 0; font-size: 15.5px; line-height: 1.55; color: var(--ks-ink-soft); }
.ks-zone__answer.is-on { background: var(--ks-blue); border-color: var(--ks-blue); color: var(--ks-white); }
.ks-zone__answer.is-on .ks-zone__k, .ks-zone__answer.is-on .ks-zone__text { color: #E3E9FB; }
.ks-sec .et_pb_row.ks-row-zone { margin-top: 48px; }

/* 8 · À propos ------------------------------------------------------------------------------ */
.et_pb_section.ks-sec--about { padding-bottom: 136px; }
.ks-row-about.et_pb_row { align-items: start; margin-top: 56px !important; }
.ks-row-about > .et_pb_column:nth-child(1) { grid-column: 1 / span 4; }
.ks-row-about > .et_pb_column:nth-child(2) { grid-column: 6 / span 7; }
.ks-portrait.et_pb_image { position: relative; }
.ks-portrait::before { content: ''; position: absolute; top: 32px; left: 32px; right: -32px; bottom: -32px; background: var(--ks-blue); }
.ks-portrait .et_pb_image_wrap { position: relative; display: block; aspect-ratio: 4 / 5; border: 1px solid #D5D9DF; }
.ks-portrait img { width: 100%; height: 100%; object-fit: cover; }
.ks-about-name .et_pb_text_inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--ks-font-mono); font-size: 13.5px; color: var(--ks-ink-soft); }
.ks-about-name strong { color: var(--ks-ink); font-weight: 600; }
.ks-row-about .ks-sec-title { margin-top: 20px !important; }
.ks-about-text { margin-top: 24px !important; max-width: 640px; }
.ks-about-text p { font-size: 17.5px; line-height: 1.65; color: var(--ks-ink-soft); text-wrap: pretty; }
.ks-timeline { margin-top: 36px !important; max-width: 860px; }
.ks-timeline .et_pb_text_inner { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid #D5D9DF; }
.ks-timeline__progress { position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: var(--ks-blue); transform-origin: left center; transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .3s; }
.ks-timeline__step { padding: 18px 20px 0; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid #D5D9DF; }
.ks-timeline__step:nth-child(2) { padding-left: 0; border-left: 0; }
.ks-timeline__step:last-child { padding-right: 0; }
.ks-timeline__k { font-family: var(--ks-font-mono); font-size: 12px; color: var(--ks-ink-soft); }
.ks-timeline__step.is-now .ks-timeline__k { color: var(--ks-blue); font-weight: 600; }
.ks-timeline__v { font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--ks-ink); }
.ks-note--small { margin-top: 36px !important; max-width: 720px; }
.ks-note--small .et_pb_text_inner { padding: 24px 28px; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }
.ks-note--small .ks-note__k { grid-column: auto; }
.ks-note--small .et_pb_text_inner p { grid-column: auto; font-family: var(--ks-font-title); font-weight: 600; font-size: 20px; line-height: 1.45; }
.ks-more { margin-top: 30px !important; }
.ks-more a { display: inline-flex; gap: 10px; font-weight: 600; font-size: 15.5px; color: var(--ks-blue); text-decoration: none; }
.ks-more a:hover { text-decoration: underline; }

/* 9 · Contact ------------------------------------------------------------------------------- */
.ks-row-contact.et_pb_row { align-items: start; margin-top: 48px !important; }
.ks-row-contact > .et_pb_column:nth-child(1) { grid-column: 1 / span 4; }
.ks-row-contact > .et_pb_column:nth-child(2) { grid-column: 6 / span 7; }
.ks-sec--blue .ks-sec-title--lg h2 { font-size: clamp(36px, 3.6vw, 54px); }
.ks-coords { margin-top: 40px !important; }
.ks-coords dl { margin: 0; }
.ks-coords dl > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.ks-coords dl > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.ks-coords dt { font-family: var(--ks-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #E3E9FB; }
.ks-coords dd { margin: 0; font-family: var(--ks-font-title); font-weight: 600; font-size: 19px; color: var(--ks-white); }
.ks-coords dd a, .ks-coords .ks-phone { color: var(--ks-white); margin: 0; text-decoration: none; }
.ks-coords dd.ks-coords__phone { font-size: 26px; font-weight: 700; }
.ks-coords a:hover { text-decoration: underline; color: var(--ks-white); }

.ks-contact { background: var(--ks-white); color: var(--ks-ink); box-shadow: 0 32px 64px rgba(20, 32, 80, 0.3); }
.ks-contact__recap { padding: 24px 40px; background: var(--ks-blue-wash); border-bottom: 1px solid #DCE4FA; }
.ks-contact__recap-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ks-contact__recap-title { font-family: var(--ks-font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); }
.ks-contact__count { font-family: var(--ks-font-mono); font-size: 12px; color: var(--ks-ink-soft); }
.ks-contact__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-contact__chips:not(:empty) { margin-top: 14px; }
.ks-contact__chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--ks-blue); color: var(--ks-white); border: 0; border-radius: var(--ks-radius); font-family: var(--ks-font-mono); font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.ks-contact__chip span { opacity: .8; }
.ks-contact__chip:hover { background: var(--ks-blue-hover); }
.ks-contact__empty { margin: 10px 0 0; padding: 0; font-size: 14.5px; line-height: 1.5; color: var(--ks-ink-soft); }
.ks-contact__empty a { color: var(--ks-blue); font-weight: 600; }

.ks-form { padding: 32px 40px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 24px; }
.ks-form[hidden], .ks-contact [hidden] { display: none !important; }
.ks-form label { min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ks-ink); }
.ks-form input:not([type="checkbox"]), .ks-form select, .ks-form textarea { width: 100%; min-width: 0; height: 52px; padding: 0 14px; border: 1px solid #A9B0B9; border-radius: var(--ks-radius); font-family: var(--ks-font-body); font-size: 16px; font-weight: 400; color: var(--ks-ink); background: var(--ks-white); outline: none; transition: border-color .2s, box-shadow .2s; }
.ks-form textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.ks-form input:focus, .ks-form select:focus, .ks-form textarea:focus { border-color: var(--ks-blue); box-shadow: 0 0 0 3px rgba(47, 85, 196, 0.2); }
.ks-form__select { position: relative; display: flex; }
.ks-form__select select { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.ks-form__select::after { content: '▼'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 13px; color: var(--ks-blue); }
.ks-form__wide { grid-column: 1 / span 2; }
.ks-form label.ks-form__check { flex-direction: row; align-items: center; gap: 12px; font-size: 15px; font-weight: 400; cursor: pointer; }
.ks-form__check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ks-blue); }
.ks-form__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ks-form__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-top: 22px; border-top: 1px solid var(--ks-line-soft); }
.ks-form__legal { font-size: 13.5px; line-height: 1.5; color: var(--ks-ink-soft); max-width: 330px; }
.ks-form__legal a { color: var(--ks-blue); text-decoration: underline; }
.ks-form button[disabled] { opacity: .6; cursor: wait; }
.ks-form__error { margin: 0; padding: 12px 14px; background: #FDECEC; color: #9B1C1C; font-size: 14.5px; }

.ks-contact__sent { padding: 64px 48px; display: flex; flex-direction: column; align-items: flex-start; min-height: 620px; }
.ks-contact__tick { width: 64px; height: 64px; background: var(--ks-blue); color: var(--ks-white); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.ks-contact__sent h3 { margin: 28px 0 0; padding: 0; font-weight: 800; font-size: 32px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ks-ink); }
.ks-contact__sent p { margin: 14px 0 0; padding: 0; font-size: 17px; line-height: 1.6; color: var(--ks-ink-soft); max-width: 480px; }
.ks-contact__sent .ks-phone { margin: 0; }
.ks-contact__summary { margin-top: 24px; padding: 16px 18px; background: var(--ks-blue-wash); font-family: var(--ks-font-mono); font-size: 13.5px; line-height: 1.6; color: var(--ks-ink); max-width: 520px; }
.ks-contact__sent .ks-btn { margin-top: 32px; }

/* Sections 2 à 9 : tablette et mobile -------------------------------------------------------- */
@media (max-width: 980px) {
	.et_pb_section.ks-sec { padding: 88px var(--ks-gutter); }
	.ks-grid.et_pb_row { display: block; }
	.ks-grid.et_pb_row > .et_pb_column + .et_pb_column { margin-top: 32px !important; }
	.ks-row-head > .et_pb_column:nth-child(2) { margin-top: 20px !important; }
	.ks-stats .et_pb_row { grid-template-columns: 1fr 1fr; }
	.ks-stats .et_pb_column { padding: 32px 20px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }
	.ks-stats .et_pb_column:nth-child(-n+2) { border-top: 0; }
	.ks-stats .et_pb_column:nth-child(odd) { padding-left: 0; }
	.ks-domains, .ks-modes { grid-template-columns: 1fr; }
	.ks-domain__groups { padding-left: 32px; }
	.ks-domain__link { padding-left: 0; }
	.ks-note .et_pb_text_inner, .ks-note--small .et_pb_text_inner { display: block; }
	.ks-note .et_pb_text_inner p { margin-top: 10px; }
	.ks-row-dossier > .et_pb_column:nth-child(2) { grid-template-columns: 1fr; gap: 28px; }
	.ks-steps.et_pb_row { grid-template-columns: 1fr; gap: 32px; }
	.ks-steps.et_pb_row::before, .ks-steps.et_pb_row::after { display: none; }
	.ks-exp.et_pb_row { flex-direction: column; height: auto; }
	.ks-exp > .et_pb_column, .ks-exp:hover > .et_pb_column:first-child:not(:hover) { flex: none; padding: 28px; background: var(--ks-blue); border-color: var(--ks-blue); color: var(--ks-white); }
	.ks-exp h3, .ks-exp:hover > .et_pb_column:first-child:not(:hover) h3 { margin-top: 28px; font-size: 22px; }
	.ks-exp p, .ks-exp:hover > .et_pb_column:first-child:not(:hover) p { max-height: none; opacity: 1; margin-top: 12px; color: #E3E9FB; }
	.ks-exp .ks-exp__n, .ks-exp .ks-exp__arrow, .ks-exp:hover > .et_pb_column:first-child:not(:hover) .ks-exp__n { color: var(--ks-white); opacity: 1; }
	.ks-exp__n { font-size: 48px; }
	.ks-zone { display: block; }
	.ks-zone__answer { margin-top: 24px; min-height: 0; }
	.ks-portrait { max-width: 360px; margin-right: 32px !important; }
	.ks-row-about > .et_pb_column + .et_pb_column { margin-top: 64px !important; }
}
@media (max-width: 600px) {
	.et_pb_section.ks-sec { padding: 72px var(--ks-gutter); }
	.ks-stats .et_pb_row { grid-template-columns: 1fr; }
	.ks-stats .et_pb_column { padding: 24px 0 !important; border-top: 1px solid rgba(255, 255, 255, 0.28) !important; }
	.ks-stats .et_pb_column:first-child { border-top: 0 !important; }
	.ks-stat__big--text { white-space: normal; }
	.ks-domain__head, .ks-domain__groups { padding-left: 22px; padding-right: 22px; }
	.ks-domain__head { grid-template-columns: 44px minmax(0, 1fr); }
	.ks-domain__link { margin: 0 22px; }
	.ks-domain .ks-chip[data-tip]::after { max-width: 220px; }
	.ks-mode { padding: 24px; }
	.ks-timeline .et_pb_text_inner { grid-template-columns: 1fr; }
	.ks-timeline__step, .ks-timeline__step:nth-child(2) { padding: 14px 0; border-left: 0; border-bottom: 1px solid #D5D9DF; }
	.ks-contact__recap { padding: 20px; }
	.ks-form { padding: 24px 20px 28px; grid-template-columns: 1fr; }
	.ks-form__wide { grid-column: auto; }
	.ks-form__foot .ks-btn { width: 100%; }
	.ks-contact__sent { padding: 40px 24px; min-height: 0; }
	.ks-region { font-size: 14.5px; padding: 11px 13px; }
}

/* ==========================================================================
   Pages domaines (Habilitation, EEB, IRVE, SST)
   ========================================================================== */

/* En-tête de page : même construction que l'ouverture de l'accueil, en plus compact. */
.ks-hero--page .et_pb_row.ks-hero__row { min-height: 600px; padding: 64px 0 80px; }
.ks-hero--page .ks-hero__title h1 { font-size: clamp(40px, 4.2vw, 62px); }
.ks-hero__kicker .et_pb_text_inner { display: flex; align-items: center; gap: 12px; font-family: var(--ks-font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-ink-soft); }
.ks-hero__kicker a { color: var(--ks-blue); text-decoration: none; }
.ks-hero__kicker a:hover { text-decoration: underline; }

/* Niveaux : une carte par niveau, ajout à la demande. */
.ks-levels__group { margin: 0 0 16px; padding: 0; font-family: var(--ks-font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-ink-soft); }
.ks-levels__grid + .ks-levels__group { margin-top: 40px; }
.ks-levels__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ks-level { display: flex; flex-direction: column; padding: 24px 24px 20px; background: var(--ks-white); border: 1px solid var(--ks-line); border-top: 4px solid var(--ks-blue); transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.ks-level:hover { box-shadow: 0 20px 40px rgba(43, 46, 51, 0.08); }
.ks-level__code { font-family: var(--ks-font-title); font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ks-blue); }
.ks-level__def { margin: 10px 0 0; padding: 0; font-size: 15.5px; line-height: 1.55; color: var(--ks-ink-soft); flex: 1; }
.ks-level__btn { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; border: 0; background: none; font-family: var(--ks-font-title); font-weight: 600; font-size: 14px; color: var(--ks-blue); cursor: pointer; }
.ks-level__btn span:last-child { width: 28px; height: 28px; display: grid; place-items: center; border: 1.5px solid var(--ks-blue); font-size: 15px; transition: background-color .2s, color .2s; }
.ks-level__btn:hover span:last-child { background: var(--ks-blue); color: var(--ks-white); }
.ks-level.is-on { background: var(--ks-blue); border-color: var(--ks-blue); }
.ks-level.is-on .ks-level__code, .ks-level.is-on .ks-level__btn { color: var(--ks-white); }
.ks-level.is-on .ks-level__def { color: #E3E9FB; }
.ks-level.is-on .ks-level__btn span:last-child { background: var(--ks-white); border-color: var(--ks-white); color: var(--ks-blue); }

/* Modalités : quatre repères courts. */
.ks-facts.et_pb_row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px !important; }
.ks-facts.et_pb_row::after { display: none; }
.ks-facts > .et_pb_column { width: auto !important; margin: 0 !important; float: none; }
.ks-fact .et_pb_text_inner { height: 100%; padding: 26px 24px; background: var(--ks-white); border: 1px solid var(--ks-line); }
.ks-fact__k { font-family: var(--ks-font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); }
.ks-fact h3 { margin: 12px 0 0; padding: 0; font-weight: 700; font-size: 19px; line-height: 1.3; }
.ks-fact p { margin: 8px 0 0; padding: 0; font-size: 15px; line-height: 1.55; color: var(--ks-ink-soft); }
.ks-facts .et_pb_module, .ks-facts .et_pb_text_inner { height: 100%; }

@media (max-width: 980px) {
	.ks-hero--page .et_pb_row.ks-hero__row { padding: 40px 0 0; }
	.ks-levels__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ks-facts.et_pb_row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.ks-levels__grid, .ks-facts.et_pb_row { grid-template-columns: 1fr; }
}

/* Pictogrammes au trait (pages de formation) ----------------------------------------------- */
.ks-licon { display: block; flex: none; }
.ks-level__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ks-level__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ks-blue-tint); color: var(--ks-blue); transition: background-color .3s, color .3s; }
.ks-level__tag { font-family: var(--ks-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ks-ink-soft); padding: 4px 7px; border: 1px solid var(--ks-line); white-space: nowrap; }
.ks-level.is-on .ks-level__icon { background: rgba(255, 255, 255, 0.16); color: var(--ks-white); }
.ks-level.is-on .ks-level__tag { color: #E3E9FB; border-color: rgba(255, 255, 255, 0.35); }

.ks-fact__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; background: var(--ks-blue-tint); color: var(--ks-blue); }
.ks-fact__k { display: block; }

.ks-step__card { position: relative; }
.ks-step__icon { position: absolute; top: 24px; right: 24px; color: var(--ks-blue); opacity: .9; }
.ks-step--dark .ks-step__icon { color: var(--ks-ink); }

/* Schéma « Comment lire un niveau ? » ------------------------------------------------------- */
.ks-sec .et_pb_row.ks-row-decode { margin-top: 48px; }
.ks-row-decode + .ks-row-cards { margin-top: 40px !important; }
.ks-decode { background: var(--ks-white); border: 1px solid var(--ks-line); padding: 28px 32px 32px; }
.ks-decode__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--ks-line-soft); }
.ks-decode__title { font-family: var(--ks-font-title); font-weight: 700; font-size: 20px; color: var(--ks-ink); }
.ks-decode__ex { font-family: var(--ks-font-mono); font-size: 13px; color: var(--ks-ink-soft); }
.ks-decode__ex b { color: var(--ks-blue); font-size: 15px; letter-spacing: 0.12em; }
.ks-decode__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
.ks-decode__part { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; align-items: start; }
.ks-decode__char { grid-column: 1; grid-row: 1 / 3; width: 64px; height: 64px; display: grid; place-items: center; background: var(--ks-blue); color: var(--ks-white); font-family: var(--ks-font-title); font-weight: 800; font-size: 32px; line-height: 1; }
.ks-decode__k { font-family: var(--ks-font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); padding-top: 2px; }
.ks-decode ul { grid-column: 2; grid-row: 2; list-style: none; margin: 8px 0 0; padding: 0; }
.ks-decode__k { grid-column: 2; grid-row: 1; }
.ks-decode__part > br, .ks-decode__part > p:empty { display: none; }
.ks-decode li { font-size: 14.5px; line-height: 1.5; color: var(--ks-ink-soft); padding: 2px 0; }
.ks-decode li b { font-family: var(--ks-font-mono); color: var(--ks-ink); margin-right: 6px; }

@media (max-width: 980px) {
	.ks-decode__grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
	.ks-decode { padding: 22px 20px 24px; }
	.ks-decode__part { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; }
	.ks-decode__char { width: 52px; height: 52px; font-size: 26px; }
	.ks-step__icon { top: 20px; right: 20px; }
}

/* Consignation animée (page Habilitation) ---------------------------------------------------- */
.ks-sec .et_pb_row.ks-row-consig { margin-top: 64px; }
.ks-consig { position: relative; }
.ks-consig__track { position: absolute; z-index: 0; background: rgba(255, 255, 255, 0.16); }
.ks-consig__fill { position: absolute; left: 0; top: 0; background: var(--ks-blue-on-dark); box-shadow: 0 0 12px rgba(61, 99, 211, 0.8); }
.ks-consig__lock { position: absolute; left: -22px; top: -22px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ks-white); color: var(--ks-blue); box-shadow: 0 0 0 6px rgba(61, 99, 211, 0.35), 0 10px 24px rgba(0, 0, 0, 0.35); will-change: transform; }
.ks-consig.is-static .ks-consig__track { display: none; }
.ks-consig__steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.ks-consig__step { display: flex; flex-direction: column; align-items: center; text-align: center; opacity: .4; transition: opacity .5s; }
.ks-consig__step.is-on, .ks-consig.is-static .ks-consig__step { opacity: 1; }
.ks-consig__node { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #3A3E45; border: 2px solid rgba(255, 255, 255, 0.2); font-family: var(--ks-font-mono); font-weight: 600; font-size: 15px; color: var(--ks-muted); transition: background-color .4s, border-color .4s, color .4s; }
.ks-consig__step.is-on .ks-consig__node, .ks-consig.is-static .ks-consig__node { background: var(--ks-blue); border-color: var(--ks-blue); color: var(--ks-white); }
.ks-consig__icon { margin-top: 26px; width: 60px; height: 60px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: var(--ks-blue-soft); transition: background-color .4s, color .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
.ks-consig__step.is-on .ks-consig__icon, .ks-consig.is-static .ks-consig__icon { background: var(--ks-blue); color: var(--ks-white); }
.ks-consig.is-moving .ks-consig__lock { transition: transform .95s cubic-bezier(.45,0,.55,1); }
.ks-consig.is-moving .ks-consig__fill { transition: width .95s cubic-bezier(.45,0,.55,1), height .95s cubic-bezier(.45,0,.55,1); }
.ks-consig__step.is-on:not(:has(~ .is-on)) .ks-consig__icon { transform: scale(1.08); }
.ks-consig__title { margin: 18px 0 0; padding: 0; font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--ks-white); }
.ks-consig__text { margin: 8px 0 0; padding: 0; font-size: 14.5px; line-height: 1.55; color: var(--ks-muted); }
.ks-consig__foot { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.ks-consig__note { font-family: var(--ks-font-mono); font-size: 12px; color: var(--ks-muted); }
.ks-consig__replay { padding: 10px 16px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: var(--ks-radius); background: transparent; color: var(--ks-white); font-family: var(--ks-font-title); font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s; }
.ks-consig__replay:hover { background: var(--ks-white); color: var(--ks-ink); }

@media (max-width: 980px) {
	.ks-consig__steps { grid-template-columns: 1fr; gap: 32px; }
	.ks-consig__step { display: grid; grid-template-columns: 44px 52px minmax(0, 1fr); column-gap: 16px; align-items: start; text-align: left; }
	.ks-consig__node { grid-row: 1 / span 2; }
	.ks-consig__icon { grid-row: 1 / span 2; margin-top: 0; width: 52px; height: 52px; }
	.ks-consig__title { grid-column: 3; margin-top: 2px; }
	.ks-consig__text { grid-column: 3; }
}

/* Accueil · circuit « Comment ça se passe » ---------------------------------------------------- */
.ks-sec .et_pb_row.ks-row-flux { margin-top: 48px; }
.ks-flux {
	position: relative;
	padding: 44px 40px 36px;
	background-color: var(--ks-ink);
	background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 32px 32px;
	box-shadow: 0 30px 60px -30px rgba(20, 32, 80, 0.45);
}
.ks-flux__stage { position: relative; }
.ks-flux__svg { display: block; width: 100%; height: auto; overflow: visible; }
.ks-flux__wire { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.ks-flux__dots { fill: none; stroke: rgba(157, 177, 238, 0.45); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.ks-flux__live { fill: none; stroke: #4F74E0; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(79, 116, 224, 0.9)); }
.ks-flux.is-static .ks-flux__live { stroke-dashoffset: 0; }
.ks-flux__pulse { fill: #fff; }
.ks-flux.is-static .ks-flux__pulse { display: none; }

.ks-flux__source circle { fill: #33373E; stroke: var(--ks-blue-soft); stroke-width: 2; }
.ks-flux__source path { fill: none; stroke: var(--ks-blue-soft); stroke-width: 2.2; stroke-linecap: round; }
.ks-flux__node > rect:first-child { fill: #33373E; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.ks-flux__sym, .ks-flux__blade, .ks-flux__coil, .ks-flux__bulb { fill: none; stroke: #B4BAC3; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, fill .4s; }
.ks-flux__term { fill: #B4BAC3; transition: fill .4s; }
.ks-flux__blade { transform-box: fill-box; transform-origin: 0% 50%; transform: rotate(-34deg); transition: transform .45s cubic-bezier(.3,1.4,.5,1), stroke .4s; }
.ks-flux__brk { fill: #5B616B; transition: fill .3s; }
.ks-flux__halo { fill: rgba(255, 255, 255, 0); transform-box: fill-box; transform-origin: center; transform: scale(.6); transition: fill .5s, transform .6s cubic-bezier(.2,.7,.2,1); }

.ks-flux__node.is-on > rect:first-child, .ks-flux.is-static .ks-flux__node > rect:first-child { fill: #26315A; stroke: #4F74E0; }
.ks-flux__node.is-on .ks-flux__sym, .ks-flux__node.is-on .ks-flux__blade, .ks-flux__node.is-on .ks-flux__coil, .ks-flux__node.is-on .ks-flux__bulb,
.ks-flux.is-static .ks-flux__sym, .ks-flux.is-static .ks-flux__blade, .ks-flux.is-static .ks-flux__coil, .ks-flux.is-static .ks-flux__bulb { stroke: #fff; }
.ks-flux__node.is-on .ks-flux__term, .ks-flux.is-static .ks-flux__term { fill: #fff; }
.ks-flux__node.is-on .ks-flux__blade, .ks-flux.is-static .ks-flux__blade { transform: rotate(0deg); }
.ks-flux__node.is-on .ks-flux__coil, .ks-flux.is-static .ks-flux__coil { fill: rgba(79, 116, 224, 0.45); }
.ks-flux__node.is-on .ks-flux__brk, .ks-flux.is-static .ks-flux__brk { fill: #4F74E0; }
.ks-flux__node.is-on .ks-flux__brk:nth-of-type(4) { transition-delay: .12s; }
.ks-flux__node.is-on .ks-flux__brk:nth-of-type(5) { transition-delay: .24s; }
.ks-flux__node--lamp.is-on .ks-flux__bulb, .ks-flux.is-static .ks-flux__bulb { fill: #fff; stroke: #fff; }
.ks-flux__node--lamp.is-on .ks-flux__sym, .ks-flux.is-static .ks-flux__node--lamp .ks-flux__sym { stroke: var(--ks-ink); }
.ks-flux__node--lamp.is-on .ks-flux__halo, .ks-flux.is-static .ks-flux__halo { fill: rgba(157, 177, 238, 0.28); transform: scale(1.25); }

/* Étiquettes des étapes, posées sur le schéma (ordinateur) ou listées dessous (mobile). */
.ks-flux__steps { list-style: none; margin: 0; padding: 0; }
.ks-flux__step { position: absolute; left: var(--x); width: 17%; transform: translateX(-50%); text-align: center; display: flex; flex-direction: column; gap: 4px; opacity: .35; transition: opacity .5s; }
.ks-flux__step--down { top: calc(var(--y) + 15%); }
.ks-flux__step--up { top: calc(var(--y) - 17.5%); transform: translate(-50%, -100%); }
.ks-flux__step:last-child { left: calc(var(--x) + 3.4%); transform: translateX(-100%); text-align: right; }
.ks-flux__step.is-on, .ks-flux.is-static .ks-flux__step { opacity: 1; }
.ks-flux__n { font-family: var(--ks-font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--ks-blue-soft); }
.ks-flux__title { font-family: var(--ks-font-title); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ks-white); }
.ks-flux__text { font-size: 13.5px; line-height: 1.5; color: var(--ks-muted); }

@media (max-width: 1100px) {
	.ks-flux__title { font-size: 14.5px; }
	.ks-flux__text { display: none; }
}
@media (max-width: 760px) {
	.ks-flux { padding: 28px 20px 24px; }
	.ks-flux__steps { margin-top: 24px; display: grid; gap: 14px; }
	.ks-flux__step, .ks-flux__step--down, .ks-flux__step--up, .ks-flux__step:last-child { position: static; width: auto; transform: none; text-align: left; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; }
	.ks-flux__n { grid-row: span 2; padding-top: 2px; }
	.ks-flux__text { display: block; }
}

/* Pages domaines : FAQ (modules Bascule de Divi, lus aussi pour les données structurées FAQPage).
   Ouverture gérée par ksari-home.js : on ne dépend pas des styles et scripts du module Bascule de Divi. */
.ks-faq-list.et_pb_row { margin-top: 40px !important; }
.ks-faq .et_pb_toggle { margin: 0 0 12px !important; padding: 0 !important; background: var(--ks-white) !important; border: 1px solid var(--ks-line); transition: border-color .25s; }
.ks-faq .et_pb_toggle_title { position: relative; margin: 0; padding: 20px 64px 20px 24px !important; font-family: var(--ks-font-title); font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--ks-ink) !important; cursor: pointer; }
.ks-faq .et_pb_toggle_title::before { content: '+' !important; position: absolute; right: 24px; left: auto !important; top: 50%; margin-top: -15px; width: 30px; height: 30px; display: grid !important; place-items: center; font-family: var(--ks-font-title) !important; font-size: 22px; line-height: 1; color: var(--ks-blue); border: 1px solid var(--ks-line); }
.ks-faq .et_pb_toggle_open .et_pb_toggle_title::before { content: '–' !important; color: var(--ks-white); background: var(--ks-blue); border-color: var(--ks-blue); }
.ks-faq .et_pb_toggle_title:focus-visible { outline: 2px solid var(--ks-blue); outline-offset: -2px; }
.ks-faq .et_pb_toggle_content { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--ks-ink-soft); }
.ks-faq .et_pb_toggle_close .et_pb_toggle_content { display: none !important; }
.ks-faq .et_pb_toggle_content p { padding: 0; }
.ks-faq .et_pb_toggle_open { border-color: var(--ks-blue); }

/* Pages domaines : les autres formations. */
.ks-others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.ks-other { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 22px; background: var(--ks-white); border: 1px solid var(--ks-line); border-top: 4px solid var(--ks-blue); color: var(--ks-ink); text-decoration: none; transition: box-shadow .3s, border-color .3s; }
.ks-other:hover, .ks-other:focus-visible { box-shadow: 0 24px 48px rgba(43, 46, 51, 0.10); }
.ks-other__n { font-family: var(--ks-font-title); font-weight: 800; font-size: 26px; line-height: 1; color: var(--ks-blue); }
.ks-other__name { font-family: var(--ks-font-title); font-weight: 700; font-size: 19px; line-height: 1.3; }
.ks-other__desc { flex: 1; font-size: 15px; line-height: 1.55; color: var(--ks-ink-soft); }
.ks-other__go { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--ks-line-soft); font-weight: 600; font-size: 15px; color: var(--ks-blue); }
.ks-other:hover .ks-other__go { color: var(--ks-blue-hover); text-decoration: underline; }
@media (max-width: 980px) { .ks-others { grid-template-columns: 1fr; } }

/* ==========================================================================
   Habilitation : page propre (en-tête photo plein cadre, choix par métier,
   zones de voisinage, étapes en photos, cycle de recyclage)
   ========================================================================== */

/* En-tête : photo de l'atelier sur toute la largeur, texte clair sur un voile sombre. */
.et_pb_section.ks-hero--full { background: var(--ks-ink); }
.ks-hero--full .ks-hero__photo .et_pb_image_wrap { position: relative; }
.ks-hero--full .ks-hero__photo .et_pb_image_wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 26, 34, 0.94) 0%, rgba(22, 26, 34, 0.82) 40%, rgba(22, 26, 34, 0.30) 72%, rgba(22, 26, 34, 0.12) 100%); pointer-events: none; }
.ks-hero--full .et_pb_image.ks-hero__photo { left: 0; width: 100%; }
.ks-hero--full .ks-hero__photo img { object-position: 60% 45%; }
.ks-hero--full .et_pb_row.ks-hero__row { min-height: 560px; padding: 72px 0 40px; }
.ks-hero.ks-hero--full .ks-hero__row > .et_pb_column.ks-hero__text { position: relative; z-index: 3; }
.ks-hero.ks-hero--full .et_pb_image.ks-hero__photo { z-index: 0 !important; }
.ks-hero--full .ks-hero__text { grid-column: 1 / span 7; }
.ks-hero--full .ks-hero__title h1 { color: var(--ks-white); }
.ks-hero--full .ks-accent { color: #8FA8EC; }
.ks-hero--full .ks-hero__lead p { color: #D9DEE7; }
.ks-hero--full .ks-hero__kicker .et_pb_text_inner { color: #B9C2D0; }
.ks-hero--full .ks-hero__kicker a { color: #8FA8EC; }
.ks-hero--full .ks-btn--outline { border-color: rgba(255, 255, 255, 0.7); color: var(--ks-white); }
.ks-hero--full .ks-btn--outline:hover { background: var(--ks-white); border-color: var(--ks-white); color: var(--ks-ink); }

/* « En bref » : les 4 infos que cherche un acheteur, lisibles en 3 secondes. */
.ks-hero--full .et_pb_row.ks-bref-row { position: relative; z-index: 3; width: 100%; max-width: var(--ks-max); margin: 0 auto; padding: 0 0 56px; }
.ks-bref { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ks-bref > div { padding: 18px 20px 20px; background: rgba(255, 255, 255, 0.08); border-top: 3px solid #8FA8EC; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ks-bref dt { font-family: var(--ks-font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #B9C2D0; }
.ks-bref dd { margin: 8px 0 0; font-family: var(--ks-font-title); font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--ks-white); }

/* Choisir par métier : une carte = un métier, le niveau à demander, un clic pour l'ajouter. */
.ks-metiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.ks-metier.ks-level { padding: 26px 24px 20px; }
.ks-metier__art { width: 68px; height: 68px; display: grid; place-items: center; background: var(--ks-blue-tint); color: var(--ks-blue); transition: background-color .3s, color .3s; }
.ks-metier__art svg { width: 40px; height: 40px; }
.ks-metier__name { margin: 20px 0 0; padding: 0; font-family: var(--ks-font-title); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ks-ink); }
.ks-metier__task { margin: 8px 0 0; padding: 0; flex: 1; font-size: 15px; line-height: 1.55; color: var(--ks-ink-soft); }
.ks-metier__result { margin: 18px 0 0; padding: 12px 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; background: var(--ks-bg-alt); }
.ks-metier__result span { font-family: var(--ks-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ks-ink-soft); }
.ks-metier__result strong { font-family: var(--ks-font-title); font-weight: 800; font-size: 19px; line-height: 1.2; color: var(--ks-blue); text-align: right; }
.ks-metier.is-on .ks-metier__art { background: rgba(255, 255, 255, 0.16); color: var(--ks-white); }
.ks-metier.is-on .ks-metier__name { color: var(--ks-white); }
.ks-metier.is-on .ks-metier__task, .ks-metier.is-on .ks-metier__result span { color: #E3E9FB; }
.ks-metier.is-on .ks-metier__result { background: rgba(255, 255, 255, 0.12); }
.ks-metier.is-on .ks-metier__result strong { color: var(--ks-white); }

/* Zones de voisinage : le support KSARI en grand, puis les distances à retenir. */
.ks-zones-img.et_pb_image { margin-top: 48px !important; }
.ks-zones-img .et_pb_image_wrap { display: block; border: 1px solid rgba(255, 255, 255, 0.14); }
.ks-zones-img img { width: 100%; display: block; }
.ks-dists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.ks-dist { padding: 22px 22px 20px; background: rgba(255, 255, 255, 0.05); border-top: 4px solid var(--ks-zc, #8FA8EC); }
.ks-dist--4 { --ks-zc: #E5484D; } .ks-dist--1 { --ks-zc: #2FA36B; } .ks-dist--0 { --ks-zc: #3D7BE0; }
.ks-dist__d { font-family: var(--ks-font-title); font-weight: 800; font-size: 34px; line-height: 1; color: var(--ks-white); }
.ks-dist__n { display: block; margin-top: 10px; font-family: var(--ks-font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #B9C2D0; }
.ks-dist p { margin: 10px 0 0; padding: 0; font-size: 15px; line-height: 1.55; color: #D9DEE7; }
.ks-dist p b { color: var(--ks-white); }

/* Étapes en photos. */
.ks-psteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.ks-pstep { display: flex; flex-direction: column; background: var(--ks-white); border: 1px solid var(--ks-line); }
.ks-pstep__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ks-bg-alt); }
.ks-pstep__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.ks-pstep:hover .ks-pstep__img img { transform: scale(1.04); }
.ks-pstep__n { position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; background: var(--ks-blue); color: var(--ks-white); font-family: var(--ks-font-title); font-weight: 800; font-size: 20px; }
.ks-pstep:last-child .ks-pstep__n { background: var(--ks-ink); }
.ks-pstep__body { padding: 22px 24px 24px; }
.ks-pstep__who { font-family: var(--ks-font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); }
.ks-pstep h3 { margin: 10px 0 0; padding: 0; font-weight: 700; font-size: 19px; line-height: 1.3; }
.ks-pstep p { margin: 8px 0 0; padding: 0; font-size: 15px; line-height: 1.55; color: var(--ks-ink-soft); }

/* Recyclage : une frise simple. */
.ks-cycle { list-style: none !important; margin: 40px 0 0; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.ks-cycle::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--ks-line); }
.ks-cycle li { position: relative; padding: 36px 24px 0 0 !important; margin: 0; list-style: none !important; }
.ks-cycle li::marker { content: ''; }
.ks-cycle li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--ks-white); border: 3px solid var(--ks-blue); border-radius: 50%; }
.ks-cycle li:first-child::before { background: var(--ks-blue); }
.ks-cycle b { display: block; font-family: var(--ks-font-title); font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--ks-ink); }
.ks-cycle span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ks-ink-soft); }

@media (max-width: 980px) {
	.ks-hero--full .ks-hero__photo .et_pb_image_wrap::after { background: linear-gradient(180deg, rgba(22, 26, 34, 0.86) 0%, rgba(22, 26, 34, 0.90) 100%); }
	.ks-hero--full .et_pb_image.ks-hero__photo { position: absolute; inset: 0; width: 100%; height: auto; margin: 0 !important; }
	.ks-hero--full .et_pb_row.ks-hero__row { padding: 48px 0 32px; min-height: 0; }
	.ks-hero--full .ks-hero__side { position: static; margin: 0 !important; }
	.ks-bref { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ks-metiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ks-dists, .ks-psteps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.ks-bref, .ks-metiers { grid-template-columns: 1fr; }
	.ks-cycle { grid-template-columns: 1fr; gap: 20px; }
	.ks-cycle::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.ks-cycle li { padding: 0 0 0 36px !important; }
}

/* Habilitation : « Vous êtes… » (organisme de formation ou CFA / entreprise). */
.ks-public { margin-top: 40px; }
.ks-public__tabs { display: inline-flex; gap: 0; padding: 4px; background: var(--ks-white); border: 1px solid var(--ks-line); }
.ks-public__tabs button { padding: 14px 22px; border: 0; background: transparent; font-family: var(--ks-font-title); font-weight: 700; font-size: 15.5px; color: var(--ks-ink-soft); cursor: pointer; transition: background-color .2s, color .2s; }
.ks-public__tabs button:hover { color: var(--ks-ink); }
.ks-public__tabs button.is-on { background: var(--ks-blue); color: var(--ks-white); }
.ks-public__tabs button:focus-visible { outline: 2px solid var(--ks-blue); outline-offset: 2px; }
.ks-public__panel { margin-top: 28px; }
.ks-public__lead { margin: 0; padding: 0; font-size: 17px; line-height: 1.55; color: var(--ks-ink-soft); max-width: 640px; }
.ks-public__of { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.ks-public__note { margin: auto 0 0; padding: 22px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ks-ink-soft); }
.ks-public__groups { display: flex; flex-direction: column; padding: 30px 32px; background: var(--ks-white); border: 1px solid var(--ks-line); border-top: 4px solid var(--ks-blue); }
.ks-public__group { margin-top: 26px; }
.ks-public__group h3, .ks-public__prise h3 { margin: 0 0 12px; padding: 0; font-family: var(--ks-font-mono); font-weight: 600; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); }
.ks-public__group .ks-chips { gap: 10px; }
.ks-public__group .ks-chip { font-size: 16px; padding: 11px 16px; border-color: var(--ks-line); }
.ks-public__group .ks-chip:hover, .ks-public__group .ks-chip:focus-visible { border-color: var(--ks-blue); }
.ks-public__prise { display: flex; flex-direction: column; padding: 30px 32px; background: var(--ks-ink); color: var(--ks-white); }
.ks-public__prise h3 { color: #8FA8EC; }
.ks-public__prise ul { list-style: none !important; margin: 4px 0 0; padding: 0 !important; display: grid; gap: 16px; flex: 1; }
.ks-public__prise li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 0 !important; font-size: 15.5px; line-height: 1.5; color: #D9DEE7; }
.ks-public__prise li::marker { content: ''; }
.ks-public__ico { width: 36px; height: 36px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #8FA8EC; }
.ks-public__prise .ks-btn { margin-top: 26px; align-self: flex-start; }
#ks-panel-ent .ks-metiers { margin-top: 28px; }
@media (max-width: 980px) {
	.ks-public__of { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.ks-public__tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
	.ks-public__tabs button { padding: 12px 10px; font-size: 14px; }
	.ks-public__groups, .ks-public__prise { padding: 24px 20px; }
	.ks-public__prise .ks-btn { width: 100%; }
}

/* IRVE : cartes « chantiers » sur 3 colonnes, niveaux en boutons larges dans l'onglet Organisme de formation. */
.ks-metiers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ks-public__lvls { display: grid; gap: 10px; }
.ks-public__lvl.ks-chip { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; padding: 14px 16px; text-align: left; white-space: normal; }
.ks-public__lvl b { font-family: var(--ks-font-title); font-weight: 800; font-size: 22px; line-height: 1; color: var(--ks-blue); }
.ks-public__lvl span { font-family: var(--ks-font-body); font-weight: 400; font-size: 15px; line-height: 1.45; color: var(--ks-ink-soft); }
.ks-public__lvl.ks-chip[aria-pressed="true"] b, .ks-public__lvl.ks-chip[aria-pressed="true"] span { color: var(--ks-white); }

/* IRVE : l'échelle de puissance (section sombre). Axe horizontal, vertical sur mobile. */
.ks-puiss { position: relative; margin-top: 48px; padding: 36px 40px 30px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); }
.ks-puiss__zones { position: relative; height: 34px; }
.ks-puiss__zone { position: absolute; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); top: 0; padding: 8px 12px; font-family: var(--ks-font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #B9C2D0; border-left: 2px solid #8FA8EC; background: linear-gradient(90deg, rgba(143, 168, 236, 0.16), rgba(143, 168, 236, 0)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-puiss__zone--dc { border-left-color: #F2B33D; background: linear-gradient(90deg, rgba(242, 179, 61, 0.16), rgba(242, 179, 61, 0)); }
.ks-puiss__axis { position: relative; height: 190px; margin-top: 18px; }
.ks-puiss__track { position: absolute; left: 0; right: 0; top: 74px; height: 8px; background: rgba(255, 255, 255, 0.10); overflow: hidden; }
.ks-puiss__fill { position: absolute; inset: 0; background: linear-gradient(90deg, #8FA8EC 0%, #3D63D3 40%, #F2B33D 100%); transform-origin: left center; transform: scaleX(1); }
.ks-puiss__ticks { list-style: none !important; margin: 0; padding: 0 !important; }
.ks-puiss__tick { position: absolute; left: calc(var(--p) * 1%); top: 0; width: 150px; margin-left: -75px; padding: 0 !important; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ks-puiss__tick::marker { content: ''; }
.ks-puiss__ico { width: 44px; height: 44px; display: grid; place-items: center; color: #8FA8EC; background: rgba(255, 255, 255, 0.06); }
.ks-puiss__dot { width: 20px; height: 20px; margin-top: 10px; border-radius: 50%; background: var(--ks-ink); border: 4px solid #8FA8EC; box-shadow: 0 0 0 4px rgba(143, 168, 236, 0.18); }
.ks-puiss__tick:nth-child(n+4) .ks-puiss__ico { color: #F2B33D; }
.ks-puiss__tick:nth-child(n+4) .ks-puiss__dot { border-color: #F2B33D; box-shadow: 0 0 0 4px rgba(242, 179, 61, 0.18); }
.ks-puiss__kw { margin-top: 12px; font-family: var(--ks-font-title); font-weight: 800; font-size: 20px; line-height: 1.1; color: var(--ks-white); }
.ks-puiss__where { margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: #C9CDD3; }
.ks-puiss__levels { list-style: none !important; position: relative; margin: 26px 0 0; padding: 0 !important; display: grid; gap: 10px; }
.ks-puiss__lvl { position: relative; margin: 0 0 0 calc(var(--a) * 1%) !important; width: calc((var(--b) - var(--a)) * 1%); padding: 12px 16px !important; display: flex; align-items: baseline; gap: 14px; background: rgba(61, 99, 211, 0.22); border-left: 4px solid #8FA8EC; }
.ks-puiss__lvl::marker { content: ''; }
.ks-puiss__lvl--p2 { background: rgba(61, 99, 211, 0.34); border-left-color: #3D63D3; }
.ks-puiss__lvl--p3 { background: rgba(242, 179, 61, 0.18); border-left-color: #F2B33D; }
.ks-puiss__lvl b { font-family: var(--ks-font-title); font-weight: 800; font-size: 22px; line-height: 1; color: var(--ks-white); }
.ks-puiss__lvl span { font-size: 14.5px; line-height: 1.45; color: #D9DEE7; }
.ks-puiss__lvl strong { color: var(--ks-white); font-weight: 600; }
.ks-puiss__law { margin: 22px 0 0; padding: 0; font-size: 14.5px; line-height: 1.5; color: #C9CDD3; }
.ks-puiss__law span { color: #F2B33D; margin-right: 6px; }

/* Animation à l'arrivée : la jauge se remplit, puis les repères et les niveaux apparaissent. */
@media (prefers-reduced-motion: no-preference) {
	.ks-puiss.is-armed:not(.is-in) .ks-puiss__fill { transform: scaleX(0); }
	.ks-puiss.is-armed:not(.is-in) .ks-puiss__tick, .ks-puiss.is-armed:not(.is-in) .ks-puiss__lvl { opacity: 0; transform: translateY(10px); }
	.ks-puiss__fill { transition: transform 1.6s cubic-bezier(.4, 0, .2, 1) .2s; }
	.ks-puiss__tick { transition: opacity .5s ease, transform .5s ease; transition-delay: calc(.35s + var(--i) * .28s); }
	.ks-puiss__lvl { transition: opacity .5s ease, transform .5s ease; transition-delay: calc(1.7s + var(--i) * .18s); }
}

@media (max-width: 980px) {
	.ks-metiers--3 { grid-template-columns: 1fr; }
	.ks-puiss { padding: 28px 22px 24px; }
	.ks-puiss__zones { display: none; }
	.ks-puiss__axis { height: auto; margin-top: 0; }
	.ks-puiss__track { left: 21px; right: auto; top: 22px; bottom: 22px; width: 6px; height: auto; }
	.ks-puiss__fill { background: linear-gradient(180deg, #8FA8EC 0%, #3D63D3 40%, #F2B33D 100%); transform-origin: center top; }
	.ks-puiss.is-armed:not(.is-in) .ks-puiss__fill { transform: scaleY(0); }
	.ks-puiss__ticks { display: grid; gap: 18px; }
	.ks-puiss__tick { position: relative; left: auto; width: auto; margin: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: center; text-align: left; }
	.ks-puiss__ico { grid-row: 1 / span 2; position: relative; z-index: 1; background: var(--ks-ink); border: 1px solid rgba(255, 255, 255, 0.14); }
	.ks-puiss__dot { display: none; }
	.ks-puiss__kw { margin: 0; font-size: 18px; }
	.ks-puiss__where { margin: 2px 0 0; }
	.ks-puiss__lvl { margin: 0 !important; width: auto; flex-direction: column; gap: 4px; }
}

/* EEB : la maison en coupe (section sombre). Points cliquables posés sur le dessin, carte de la compétence à droite. */
.ks-public__lvls--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ks-public__lvls--2 .ks-public__lvl.ks-chip { grid-template-columns: minmax(0, 1fr); gap: 6px; align-items: start; }
.ks-public__lvls--2 .ks-public__lvl b { font-size: 17px; }
.ks-bat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: center; margin-top: 48px; }
.ks-bat__stage { position: relative; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); }
.ks-bat__svg { display: block; width: 100%; height: auto; }
.ks-bat__house path, .ks-bat__house rect { fill: none; stroke: rgba(255, 255, 255, 0.42); stroke-width: 2; stroke-linejoin: round; }
.ks-bat__house rect { stroke: rgba(255, 255, 255, 0.22); }
.ks-bat__ground { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 2; }
.ks-bat__wires path { fill: none; stroke: #3D63D3; stroke-width: 2.5; stroke-dasharray: 0.018 0.012; }
.ks-bat__dev path, .ks-bat__dev rect, .ks-bat__dev circle { fill: none; stroke: #8FA8EC; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ks-bat__dev .ks-bat__red { fill: #E5484D; stroke: #E5484D; }
.ks-bat__spot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ks-white); background: var(--ks-blue); color: var(--ks-white); font-family: var(--ks-font-title); font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 0 0 6px rgba(61, 99, 211, 0.28); transition: background-color .2s, color .2s, box-shadow .2s; }
.ks-bat__spot:hover { background: var(--ks-blue-on-dark); }
.ks-bat__spot.is-active { background: #F2B33D; color: var(--ks-ink); box-shadow: 0 0 0 8px rgba(242, 179, 61, 0.30); }
.ks-bat__spot:focus-visible { outline: 3px solid var(--ks-white); outline-offset: 4px; }
.ks-bat__panel { display: flex; flex-direction: column; gap: 14px; }
.ks-bat__hint { margin: 0; padding: 0; font-family: var(--ks-font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #C9CDD3; }
.ks-bat__card .ks-level__tag { white-space: normal; }
.ks-bat.is-static .ks-bat__spot { pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
	.ks-bat__wires path { animation: ks-bat-flow 4s linear infinite; }
	.ks-bat__spot:not(.is-active)::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(143, 168, 236, 0.7); animation: ks-bat-pulse 2.4s ease-out infinite; }
}
@keyframes ks-bat-flow { to { stroke-dashoffset: -0.3; } }
@keyframes ks-bat-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 980px) {
	.ks-bat { grid-template-columns: 1fr; gap: 20px; }
	.ks-bat__spot { width: 32px; height: 32px; font-size: 13px; }
}
@media (max-width: 600px) {
	.ks-public__lvls--2 { grid-template-columns: 1fr; }
	.ks-bat__spot { width: 28px; height: 28px; font-size: 12px; box-shadow: 0 0 0 4px rgba(61, 99, 211, 0.28); }
}
.ks-bat__card[hidden] { display: none !important; }

/* SST : 2 cartes par ligne pour les formats, et les 4 gestes du sauveteur (section sombre). */
.ks-metiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.ks-gestes { margin-top: 48px; }
.ks-gestes__list { list-style: none !important; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: none; }
.ks-gestes__list::before { content: ''; position: absolute; left: 6%; right: 6%; top: 58px; height: 3px; background: linear-gradient(90deg, #8FA8EC, #3D63D3 50%, #E5484D); opacity: .55; }
.ks-gestes__item { position: relative; padding: 0 !important; margin: 0; list-style: none !important; }
.ks-gestes__item::marker { content: ''; }
.ks-gestes__btn { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 0 18px; border: 0; background: transparent; color: var(--ks-white); text-align: center; cursor: pointer; }
.ks-gestes__n { font-family: var(--ks-font-mono); font-size: 12px; letter-spacing: 0.08em; color: #B9C2D0; }
.ks-gestes__ico { position: relative; z-index: 1; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--ks-ink); border: 3px solid rgba(143, 168, 236, 0.55); color: #8FA8EC; transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.ks-gestes__item:last-child .ks-gestes__ico { border-color: rgba(229, 72, 77, 0.6); color: #F08A8D; }
.ks-gestes__t { margin-top: 8px; font-family: var(--ks-font-title); font-weight: 800; font-size: 21px; line-height: 1.2; }
.ks-gestes__s { font-family: var(--ks-font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #B9C2D0; }
.ks-gestes__p { margin: 0; padding: 16px 18px !important; font-size: 15px; line-height: 1.55; color: #D9DEE7; background: rgba(255, 255, 255, 0.05); border-top: 3px solid rgba(143, 168, 236, 0.4); transition: background-color .3s, border-color .3s, opacity .3s; }
.ks-gestes__item.is-active .ks-gestes__ico { background: var(--ks-blue); border-color: var(--ks-white); color: var(--ks-white); box-shadow: 0 0 0 8px rgba(61, 99, 211, 0.3); }
.ks-gestes__item.is-active:last-child .ks-gestes__ico { background: #C9363B; box-shadow: 0 0 0 8px rgba(229, 72, 77, 0.3); }
.ks-gestes__item.is-active .ks-gestes__p { background: rgba(255, 255, 255, 0.10); border-top-color: var(--ks-white); color: var(--ks-white); }
.ks-gestes__btn:focus-visible .ks-gestes__ico { outline: 3px solid var(--ks-white); outline-offset: 4px; }
.ks-gestes__prev { margin: 28px 0 0; padding: 16px 20px; display: flex; gap: 14px; align-items: center; font-size: 15.5px; line-height: 1.5; color: #D9DEE7; border: 1px solid rgba(255, 255, 255, 0.14); }
.ks-gestes__prev svg { flex: none; color: #8FA8EC; }
.ks-gestes__prev b { color: var(--ks-white); }
@media (prefers-reduced-motion: no-preference) {
	.ks-gestes.is-armed:not(.is-in) .ks-gestes__item { opacity: .2; transform: translateY(12px); }
	.ks-gestes__item { transition: opacity .6s ease, transform .6s ease; transition-delay: calc(.2s + var(--i) * .45s); }
}
@media (max-width: 980px) {
	.ks-metiers--2 { grid-template-columns: 1fr; }
	.ks-gestes__list { grid-template-columns: 1fr; gap: 12px; }
	.ks-gestes__list::before { left: 41px; right: auto; top: 30px; bottom: 30px; width: 3px; height: auto; background: linear-gradient(180deg, #8FA8EC, #3D63D3 50%, #E5484D); }
	.ks-gestes__btn { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; align-items: center; text-align: left; padding: 0; }
	.ks-gestes__ico { grid-row: 1 / span 3; grid-column: 1; }
	.ks-gestes__n, .ks-gestes__t, .ks-gestes__s { grid-column: 2; margin: 0; }
	.ks-gestes__p { margin: 10px 0 6px 100px; }
	.ks-gestes:not(.is-static) .ks-gestes__item:not(.is-active) .ks-gestes__p { display: none; }
}

/* À propos : en-tête avec portrait, « En bref » clair, parcours en ligne verticale, savoir-faire, signature. */
.ks-hero--about .ks-about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; box-shadow: 18px 18px 0 var(--ks-blue); }
.ks-bref--light { margin-top: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.ks-bref--light > div { background: var(--ks-white); border: 1px solid var(--ks-line); border-top: 3px solid var(--ks-blue); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ks-bref--light dt { color: var(--ks-blue); }
.ks-bref--light dd { color: var(--ks-ink); font-size: 16px; }
.ks-path { position: relative; margin-top: 48px; max-width: 820px; }
.ks-path__line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(180deg, #8FA8EC, var(--ks-blue)); transform-origin: center top; }
.ks-path ol { list-style: none !important; margin: 0; padding: 0 !important; display: grid; gap: 34px; }
.ks-path__step { position: relative; padding: 0 0 0 52px !important; margin: 0; list-style: none !important; }
.ks-path__step::marker { content: ''; }
.ks-path__dot { position: absolute; left: 0; top: 2px; width: 25px; height: 25px; border-radius: 50%; background: var(--ks-white); border: 4px solid var(--ks-blue); }
.ks-path__step.is-now .ks-path__dot { background: var(--ks-blue); box-shadow: 0 0 0 6px rgba(47, 85, 196, 0.18); }
.ks-path__k { font-family: var(--ks-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ks-blue); }
.ks-path__step h3 { margin: 6px 0 0; padding: 0; font-weight: 800; font-size: 22px; line-height: 1.25; }
.ks-path__step p { margin: 6px 0 0; padding: 0; font-size: 16px; line-height: 1.6; color: var(--ks-ink-soft); max-width: 620px; }
@media (prefers-reduced-motion: no-preference) {
	.ks-path.is-armed .ks-path__line { transform: scaleY(0); transition: transform 1.8s cubic-bezier(.4, 0, .2, 1) .2s; }
	.ks-path.is-armed.is-in .ks-path__line { transform: scaleY(1); }
	.ks-path.is-armed .ks-path__step { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
	.ks-path.is-armed.is-in .ks-path__step { opacity: 1; transform: none; }
	.ks-path.is-armed.is-in .ks-path__step:nth-child(2) { transition-delay: .55s; }
	.ks-path.is-armed.is-in .ks-path__step:nth-child(3) { transition-delay: 1s; }
	.ks-path.is-armed.is-in .ks-path__step:nth-child(4) { transition-delay: 1.45s; }
}
.ks-skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.ks-skill { display: flex; flex-direction: column; padding: 26px 24px 22px; background: var(--ks-white); border: 1px solid var(--ks-line); border-top: 4px solid var(--ks-blue); color: var(--ks-ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.ks-skill:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(43, 46, 51, 0.35); color: var(--ks-ink); }
.ks-skill__ico { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ks-blue-tint); color: var(--ks-blue); }
.ks-skill h3 { margin: 18px 0 0; padding: 0; font-weight: 800; font-size: 19px; line-height: 1.3; }
.ks-skill p { margin: 8px 0 0; padding: 0; flex: 1; font-size: 15px; line-height: 1.55; color: var(--ks-ink-soft); }
.ks-skill__go { margin-top: 18px; font-family: var(--ks-font-title); font-weight: 700; font-size: 14.5px; color: var(--ks-blue); }
.ks-skill--dark { background: var(--ks-ink); border-color: var(--ks-ink); color: var(--ks-white); }
.ks-skill--dark:hover { color: var(--ks-white); }
.ks-skill--dark h3 { color: var(--ks-white); }
.ks-skill--dark p { color: #C9CDD3; }
.ks-skill--dark .ks-skill__ico { background: rgba(255, 255, 255, 0.08); color: #8FA8EC; }
.ks-skill--dark .ks-skill__go { color: #8FA8EC; }
.ks-signature { margin: 48px 0 0; padding: 0; font-family: var(--ks-font-title); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; color: var(--ks-blue); text-align: center; }
@media (max-width: 980px) {
	.ks-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ks-hero--about .ks-about-portrait img { box-shadow: 10px 10px 0 var(--ks-blue); }
}
@media (max-width: 600px) {
	.ks-skills, .ks-bref--light { grid-template-columns: 1fr; }
}
/* Cartes savoir-faire : toute la carte est cliquable grâce au lien du titre étendu. */
.ks-skill { position: relative; cursor: pointer; }
.ks-skill h3 a.ks-skill__link { color: inherit; text-decoration: none; }
.ks-skill h3 a.ks-skill__link::after { content: ''; position: absolute; inset: 0; }
.ks-skill:focus-within { outline: 2px solid var(--ks-blue); outline-offset: 3px; }
.ks-skill--dark:hover h3, .ks-skill--dark h3 a.ks-skill__link { color: var(--ks-white); }

/* ============ EXPERTISE & INGÉNIERIE ============ */
/* En-tête technique : fond sombre quadrillé, oscilloscope triphasé à droite. */
.ks-hero--tech.et_pb_section { background-color: var(--ks-ink) !important; background-image: linear-gradient(rgba(143, 168, 236, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 168, 236, 0.07) 1px, transparent 1px); background-size: 32px 32px; color: var(--ks-white); }
.ks-hero--tech .ks-hero__title h1 { color: var(--ks-white); }
.ks-hero--tech .ks-accent { color: #8FA8EC; }
.ks-hero--tech .ks-hero__lead p { color: #D9DEE7; }
.ks-hero--tech .ks-hero__kicker, .ks-hero--tech .ks-hero__kicker span { color: #B9C2D0; }
.ks-hero--tech .ks-hero__kicker a { color: #8FA8EC; }
.ks-hero--tech .ks-btn--outline { border-color: rgba(255, 255, 255, 0.7); color: var(--ks-white); }
.ks-hero--tech .ks-btn--outline:hover { background: var(--ks-white); color: var(--ks-ink); }
.ks-hero--tech .ks-hero__side { display: flex; align-items: center; }
.ks-hero--tech .et_pb_row.ks-bref-row { width: 100%; max-width: var(--ks-max); margin: 0 auto; padding: 0 0 64px; }
.ks-scope { width: 100%; padding: 18px; background: #1B1F27; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.ks-scope__screen { position: relative; background: #0E1117; border: 1px solid rgba(143, 168, 236, 0.25); overflow: hidden; }
.ks-scope__svg { display: block; width: 100%; height: auto; aspect-ratio: 400 / 240; }
.ks-scope__wave { fill: none; stroke-width: 2.6; }
.ks-scope__wave--1 { stroke: #8FA8EC; }
.ks-scope__wave--2 { stroke: #F2B33D; }
.ks-scope__wave--3 { stroke: #E5484D; }
.ks-scope__read { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; gap: 18px; font-family: var(--ks-font-mono); font-size: 12px; color: #B9C2D0; }
.ks-scope__read b { font-size: 15px; color: var(--ks-white); }
.ks-scope__ph { margin-left: auto; display: flex; gap: 10px; }
.ks-scope__ph i { font-style: normal; font-weight: 600; }
.ks-scope__ph .p1 { color: #8FA8EC; }
.ks-scope__ph .p2 { color: #F2B33D; }
.ks-scope__ph .p3 { color: #E5484D; }
.ks-scope__knobs { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.ks-scope__knobs span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); background: radial-gradient(circle at 35% 35%, #3A404C, #20242C); }
.ks-scope__knobs em { margin-left: auto; font-style: normal; font-family: var(--ks-font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8C95A3; }
@media (prefers-reduced-motion: no-preference) {
	.ks-scope__waves { animation: ks-scope-run 2.2s linear infinite; }
}
@keyframes ks-scope-run { to { transform: translateX(-200px); } }

/* Récit au défilement : plan fixe à gauche, scènes qui défilent à droite. */
.ks-plat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; margin-top: 40px; }
.ks-plat__stage { position: sticky; top: 110px; align-self: start; height: min(calc(100vh - 150px), 760px); min-height: 440px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ks-plat__svg { display: block; width: 100%; height: auto; max-height: 100%; background: #1B1F27; border: 1px solid rgba(143, 168, 236, 0.22); }
.ks-plat__dots { list-style: none !important; margin: 0; padding: 0 !important; display: flex; gap: 8px; justify-content: center; }
.ks-plat__dots li { width: 28px; height: 4px; padding: 0 !important; background: rgba(255, 255, 255, 0.18); transition: background-color .3s; }
.ks-plat__dots li::marker { content: ''; }
.ks-plat__dots li.is-on { background: #8FA8EC; }
.ks-plat__scenes { display: flex; flex-direction: column; }
.ks-plat__scene { min-height: 78vh; display: flex; align-items: center; padding: 40px 0; }
.ks-plat__card { padding: 30px 30px 28px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-left: 4px solid #8FA8EC; transition: background-color .4s, border-color .4s; }
.ks-plat__scene.is-on .ks-plat__card { background: rgba(61, 99, 211, 0.16); border-left-color: var(--ks-white); }
.ks-plat__k { font-family: var(--ks-font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8FA8EC; }
.ks-plat__t { margin: 10px 0 0; padding: 0; font-family: var(--ks-font-title); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; color: var(--ks-white); }
.ks-plat__p { margin: 12px 0 0; padding: 0; font-size: 16px; line-height: 1.6; color: #D9DEE7; }
.ks-plat__rk { margin: 20px 0 8px; padding: 0; font-family: var(--ks-font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #B9C2D0; }
.ks-plat__list { list-style: none !important; margin: 0; padding: 0 !important; display: grid; gap: 8px; }
.ks-plat__list li { position: relative; padding: 0 0 0 24px !important; font-size: 15.5px; line-height: 1.45; color: var(--ks-white); }
.ks-plat__list li::marker { content: ''; }
.ks-plat__list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: #8FA8EC; }
.ks-plat__steps { list-style: none !important; margin: 18px 0 22px; padding: 0 !important; display: grid; gap: 10px; }
.ks-plat__steps li { padding: 12px 14px !important; background: rgba(255, 255, 255, 0.06); border-left: 3px solid #F2B33D; }
.ks-plat__steps li::marker { content: ''; }
.ks-plat__steps b { display: block; font-family: var(--ks-font-title); font-size: 16px; color: var(--ks-white); }
.ks-plat__steps span { display: block; margin-top: 2px; font-size: 14.5px; color: #D9DEE7; }

/* Le plan SVG. */
.ks-plat__ln { fill: none; stroke: #8FA8EC; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1); }
.ks-plat__ln--wall { stroke: rgba(255, 255, 255, 0.45); stroke-width: 3; }
.ks-plat__ln--thin { stroke-width: 1.6; stroke: rgba(143, 168, 236, 0.75); }
.ks-plat__lbl { font-family: var(--ks-font-mono); font-size: 13px; letter-spacing: .08em; fill: #B9C2D0; transition: opacity .6s .9s; }
.ks-plat__cabfill { fill: rgba(61, 99, 211, 0); transition: fill .5s; }
.ks-plat__net { fill: none; stroke: rgba(143, 168, 236, 0.4); stroke-width: 2; stroke-dasharray: 0.012 0.008; transition: opacity .6s 1.2s; }
.ks-plat.is-armed:not(.is-drawn) .ks-plat__ln { stroke-dashoffset: 1; }
.ks-plat.is-armed:not(.is-drawn) .ks-plat__lbl, .ks-plat.is-armed:not(.is-drawn) .ks-plat__net { opacity: 0; }
.ks-plat__g { opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.ks-plat[data-scene="1"] .ks-plat__g--1, .ks-plat[data-scene="2"] .ks-plat__g--2, .ks-plat[data-scene="3"] .ks-plat__g--3, .ks-plat[data-scene="4"] .ks-plat__g--4 { opacity: 1; }
.ks-plat[data-scene="1"] .ks-plat__cabfill { fill: rgba(61, 99, 211, 0.12); }
.ks-plat[data-scene="4"] .ks-plat__cabfill { fill: rgba(242, 179, 61, 0.12); }
/* Scène 1. */
.ks-plat__prog-bg { stroke: rgba(255, 255, 255, 0.12); stroke-width: 6; }
.ks-plat__prog { stroke: #8FA8EC; stroke-width: 6; transform-box: fill-box; transform-origin: left center; }
.ks-plat__seq { transform-box: fill-box; transform-origin: center; }
.ks-plat__seq circle { fill: var(--ks-blue); stroke: var(--ks-white); stroke-width: 2.5; }
.ks-plat__seq text { font-family: var(--ks-font-title); font-weight: 800; font-size: 13px; fill: var(--ks-white); }
.ks-plat__docs rect { fill: #232833; stroke: #8FA8EC; stroke-width: 1.6; }
.ks-plat__docs path { stroke: #8FA8EC; stroke-width: 1.6; }
/* Scène 2. */
.ks-plat__route { fill: none; stroke: rgba(242, 179, 61, 0.35); stroke-width: 2; stroke-dasharray: 6 6; }
.ks-plat__ripple { fill: none; stroke: #F2B33D; stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.ks-plat__trainer circle { fill: #F2B33D; stroke: var(--ks-white); stroke-width: 3; }
.ks-plat__trainer .ks-plat__trainer-in { fill: var(--ks-ink); stroke: none; }
/* Scène 3. */
.ks-plat__chk { transform-box: fill-box; transform-origin: center; }
.ks-plat__chk circle { fill: #2FA36B; stroke: var(--ks-white); stroke-width: 2; }
.ks-plat__chk path { fill: none; stroke: var(--ks-white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ks-plat__warn path { fill: #F2B33D; stroke: var(--ks-ink); stroke-width: 1.5; }
.ks-plat__warn .ks-plat__warn-i { fill: none; stroke: var(--ks-ink); stroke-width: 2.5; stroke-linecap: round; }
/* Scène 4. */
.ks-plat__live { fill: none; stroke: #F2B33D; stroke-width: 3.2; stroke-dasharray: 0.03 0.02; }
.ks-plat__lamp { fill: #F2B33D; opacity: 0.85; }

@media (prefers-reduced-motion: no-preference) {
	.ks-plat[data-scene="1"] .ks-plat__prog { animation: ks-plat-grow 2.4s cubic-bezier(.4, 0, .2, 1) both; }
	.ks-plat[data-scene="1"] .ks-plat__seq { animation: ks-plat-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(.3s + var(--i) * .45s); }
	.ks-plat[data-scene="1"] .ks-plat__docs { animation: ks-plat-up .6s ease both .4s; }
	.ks-plat[data-scene="2"] .ks-plat__ripple { animation: ks-plat-ripple 2.75s ease-out infinite; animation-delay: calc(var(--i) * .69s + 1.2s); }
	.ks-plat[data-scene="3"] .ks-plat__scan { animation: ks-plat-scan 2.6s cubic-bezier(.4, 0, .6, 1) infinite; }
	.ks-plat[data-scene="3"] .ks-plat__chk { animation: ks-plat-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
	.ks-plat[data-scene="3"] .ks-plat__chk.d0 { animation-delay: .3s; }
	.ks-plat[data-scene="3"] .ks-plat__chk.d1 { animation-delay: .6s; }
	.ks-plat[data-scene="3"] .ks-plat__chk.d2 { animation-delay: .9s; }
	.ks-plat[data-scene="3"] .ks-plat__chk.d4 { animation-delay: 1.2s; }
	.ks-plat[data-scene="3"] .ks-plat__chk.d5 { animation-delay: 1.5s; }
	.ks-plat[data-scene="3"] .ks-plat__warn { animation: ks-plat-warn 2.4s ease both; }
	.ks-plat[data-scene="3"] .ks-plat__chk--late { animation: ks-plat-pop .45s cubic-bezier(.3, 1.6, .5, 1) both 2.3s; }
	.ks-plat[data-scene="4"] .ks-plat__live { animation: ks-plat-flow 2.5s linear infinite; }
	.ks-plat[data-scene="4"] .ks-plat__lamp { animation: ks-plat-lamp 2s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
	.ks-plat__warn { opacity: 0; }
	.ks-plat__ripple { opacity: .6; }
}
@keyframes ks-plat-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ks-plat-pop { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
@keyframes ks-plat-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ks-plat-ripple { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes ks-plat-scan { 0% { transform: translateY(0); } 100% { transform: translateY(530px); } }
@keyframes ks-plat-warn { 0%, 70% { opacity: 1; } 85%, 100% { opacity: 0; } }
@keyframes ks-plat-flow { to { stroke-dashoffset: -0.25; } }
@keyframes ks-plat-lamp { from { opacity: .45; } to { opacity: 1; } }

@media (max-width: 980px) {
	.ks-plat { grid-template-columns: 1fr; gap: 0; }
	.ks-plat__stage { top: 64px; z-index: 2; height: auto; min-height: 0; padding: 10px 0 12px; background: var(--ks-ink); }
	.ks-plat__svg { max-height: 40vh; }
	.ks-plat__scene { min-height: 70vh; padding: 24px 0; }
	.ks-plat__card { padding: 22px 20px; }
	.ks-scope__read { font-size: 11px; gap: 10px; }
}

/* ============ CONTACT ============ */
/* En-tête : tuiles de contact sur fond sombre quadrillé (ks-hero--tech). */
.ks-ctiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; max-width: 980px; }
.ks-ctile { padding: 20px 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-top: 3px solid #8FA8EC; }
.ks-ctile__k { display: block; font-family: var(--ks-font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #B9C2D0; }
.ks-ctile__v { display: block; margin-top: 8px; font-family: var(--ks-font-title); font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--ks-white); }
.ks-ctile__v a { color: var(--ks-white); text-decoration: none; border-bottom: 2px solid rgba(143, 168, 236, 0.6); }
.ks-ctile__v a:hover { color: #8FA8EC; }
.ks-hero--contact .et_pb_row.ks-hero__row { min-height: 0; padding: 72px 0 72px; }
.ks-hero--contact .ks-hero__row > .et_pb_column { grid-column: 1 / -1; }
.ks-hero--contact .ks-hero__title h1 { max-width: 900px; }
.ks-hero--contact .ks-hero__lead p { max-width: 680px; }
/* Votre demande : l'aide à gauche, le formulaire à droite. */
.ks-aide { padding: 28px 28px 26px; background: var(--ks-white); border: 1px solid var(--ks-line); border-top: 4px solid var(--ks-blue); }
.ks-aide h3 { margin: 0; padding: 0; font-family: var(--ks-font-mono); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ks-blue); }
.ks-aide ul { list-style: none !important; margin: 16px 0 0; padding: 0 !important; display: grid; gap: 12px; }
.ks-aide li { position: relative; padding: 0 0 0 30px !important; font-size: 16px; line-height: 1.5; color: var(--ks-ink); }
.ks-aide li::marker { content: ''; }
.ks-aide li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border: 2px solid var(--ks-blue); background: var(--ks-blue-tint); }
.ks-aide li::after { content: ''; position: absolute; left: 5px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--ks-blue); border-bottom: 2px solid var(--ks-blue); transform: rotate(-45deg); }
.ks-aide .ks-btn { margin-top: 22px; }
/* Carte : France, Belgique, Luxembourg. */
.ks-carte { position: relative; margin: 40px auto 0; max-width: 760px; }
.ks-carte__svg { display: block; width: 100%; height: auto; }
.ks-carte__land path { fill: url(#ks-carte-dots); stroke: rgba(143, 168, 236, 0.75); stroke-width: 1.6; stroke-linejoin: round; }
.ks-carte__land .ks-carte__be { stroke: #F2B33D; fill: rgba(242, 179, 61, 0.10); }
.ks-carte__land .ks-carte__lu { stroke: #E5484D; fill: rgba(229, 72, 77, 0.14); }
.ks-carte__route { fill: none; stroke: #8FA8EC; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .9; }
.ks-carte__city circle { fill: var(--ks-ink); stroke: #8FA8EC; stroke-width: 2.5; }
.ks-carte__city text { font-family: var(--ks-font-mono); font-size: 14px; letter-spacing: .04em; fill: #D9DEE7; }
.ks-carte__dot { fill: #F2B33D; stroke: var(--ks-white); stroke-width: 3; }
.ks-carte__pulse { fill: none; stroke: #F2B33D; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ks-carte__baselbl { font-family: var(--ks-font-title); font-weight: 800; font-size: 16px; fill: var(--ks-white); }
.ks-carte__legend { list-style: none !important; margin: 14px 0 0; padding: 0 !important; display: flex; justify-content: center; gap: 22px; }
.ks-carte__legend li { display: flex; align-items: center; gap: 8px; padding: 0 !important; font-family: var(--ks-font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #C9CDD3; }
.ks-carte__legend li::marker { content: ''; }
.ks-carte__key { width: 14px; height: 14px; border: 2px solid; }
.ks-carte__key--fr { border-color: #8FA8EC; background: rgba(143, 168, 236, 0.25); }
.ks-carte__key--be { border-color: #F2B33D; background: rgba(242, 179, 61, 0.2); }
.ks-carte__key--lu { border-color: #E5484D; background: rgba(229, 72, 77, 0.2); }
@media (prefers-reduced-motion: no-preference) {
	.ks-carte.is-armed .ks-carte__route { stroke-dashoffset: 1; }
	.ks-carte.is-armed .ks-carte__city { opacity: 0; }
	.ks-carte.is-armed.is-in .ks-carte__route { stroke-dashoffset: 0; transition: stroke-dashoffset 1s cubic-bezier(.4, 0, .2, 1); transition-delay: calc(.4s + var(--i) * .22s); }
	.ks-carte.is-armed.is-in .ks-carte__city { opacity: 1; transition: opacity .4s ease; transition-delay: calc(1.2s + var(--i) * .22s); }
	.ks-carte__pulse { animation: ks-carte-pulse 2.6s ease-out infinite; }
	.ks-carte__pulse--2 { animation-delay: 1.3s; }
}
@keyframes ks-carte-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4); } }
@media (max-width: 980px) {
	.ks-ctiles { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.ks-carte__city text { font-size: 17px; }
	.ks-carte__baselbl { font-size: 20px; }
}
