/*
 * Secureland (secureland.fr) : composants « Nuit certifiée ».
 * Même design system que Secureland Académie (edu.secureland.fr).
 *
 * Les couleurs, polices et tailles viennent de theme.json (variables --wp--preset--*).
 * Ce fichier ne contient que les composants, préfixés « sl- ».
 *
 * Sommaire
 *  1. Jetons et base
 *  2. Boutons, liens
 *  3. En-tête, menu déroulant, menu mobile
 *  4. Accueil : hero, bouclier, métiers
 *  5. Sections : à propos, académie, chiffres, services, appel, veille, partenaires
 *  6. Pages intérieures : bandeau, fiche formation, onglets, programme, articles
 *  7. Formulaires (contact, inscription)
 *  8. Pied de page, 404
 *  9. Responsive et mouvement réduit
 */

/* 1. Jetons et base ------------------------------------------------ */
:root {
	--sl-bg: var(--wp--preset--color--nuit, #040B18);
	--sl-bg-2: var(--wp--preset--color--nuit-2, #071428);
	--sl-surface: var(--wp--preset--color--surface, #0B1A33);
	--sl-ink: var(--wp--preset--color--texte, #EAF0F7);
	--sl-muted: var(--wp--preset--color--texte-doux, #A3B2C7);
	--sl-dim: #8394AC;
	--sl-line: var(--wp--preset--color--filet, #1D3354);
	--sl-line-2: #2A4468;
	--sl-brand: var(--wp--preset--color--turquoise, #11C9AC);
	--sl-brand-2: var(--wp--preset--color--turquoise-clair, #5FE6CF);
	--sl-brand-ink: var(--wp--preset--color--encre-turquoise, #022720);
	--sl-steel: var(--wp--preset--color--acier, #8DB4E2);
	--sl-field-bg: #0E1F3B;
	--sl-field: #4B6488;
	--sl-display: var(--wp--preset--font-family--display, "Newsreader", Georgia, serif);
	--sl-text: var(--wp--preset--font-family--texte, "Public Sans", system-ui, sans-serif);
	--sl-mono: var(--wp--preset--font-family--mono, "IBM Plex Mono", ui-monospace, monospace);
	--sl-radius: 3px;
	--sl-glow: 0 0 0 1px rgba(17, 201, 172, .35), 0 30px 80px -30px rgba(17, 201, 172, .45);
	--sl-max: 1200px;
	--sl-pad: clamp(16px, 4vw, 40px);
	color-scheme: dark;
}

html { scroll-padding-top: 90px; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; background: var(--sl-bg); color: var(--sl-ink); }
:focus-visible { outline: 3px solid var(--sl-brand-2); outline-offset: 2px; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; }
::selection { background: var(--sl-brand); color: var(--sl-brand-ink); }

.wp-site-blocks > *, .sl-stack > *, .sl-stack > .wp-block-post-content > * { margin-block: 0; }
.wp-site-blocks { padding: 0; }
main { display: block; }

.sl-in { max-width: var(--sl-max); margin-inline: auto; padding-inline: var(--sl-pad); width: 100%; box-sizing: border-box; }
.sl-in.is-narrow { max-width: 860px; }
.sl-eyebrow { font-family: var(--sl-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sl-brand); font-weight: 500; margin: 0; }
.sl-lead { color: var(--sl-muted); font-size: 18px; max-width: 58ch; }
.sl-muted { color: var(--sl-muted); }
.sl-small { font-size: 14px; }
.sl-center { text-align: center; }
.sl-glow { color: var(--sl-brand-2); font-style: italic; text-shadow: 0 0 30px rgba(17, 201, 172, .45); }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.sl-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sl-brand); color: var(--sl-brand-ink); padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: var(--sl-radius); }
.sl-skip:focus { top: 12px; }
.sl-ico { width: 24px; height: 24px; display: block; }
.sl-ico-wrap { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--sl-brand-2); background: linear-gradient(150deg, rgba(17, 201, 172, .18), rgba(17, 201, 172, .04)); border: 1px solid rgba(17, 201, 172, .35); flex: none; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .35s; }
.sl-card:hover .sl-ico-wrap { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 10px 30px -10px rgba(17, 201, 172, .7); }

/* 2. Boutons, liens -------------------------------------------------- */
.sl-btn, .wp-block-button__link, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: var(--sl-radius);
	font-family: var(--sl-text); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none;
	border: 1px solid transparent; cursor: pointer; position: relative; box-sizing: border-box; max-width: 100%;
	transition: background .2s, color .2s, border-color .2s, box-shadow .3s, transform .2s;
}
.sl-btn-primary, .wp-block-button:not(.is-style-lien):not(.is-style-fantome) .wp-block-button__link {
	background: var(--sl-brand); color: var(--sl-brand-ink); box-shadow: 0 10px 30px -10px rgba(17, 201, 172, .7);
}
.sl-btn-primary:hover, .wp-block-button:not(.is-style-lien):not(.is-style-fantome) .wp-block-button__link:hover {
	background: var(--sl-brand-2); color: var(--sl-brand-ink); box-shadow: 0 14px 40px -10px rgba(17, 201, 172, .9); transform: translateY(-1px);
}
.sl-btn-ghost, .is-style-fantome .wp-block-button__link { background: rgba(255, 255, 255, .02); border-color: var(--sl-line-2); color: var(--sl-ink); box-shadow: none; }
.sl-btn-ghost:hover, .is-style-fantome .wp-block-button__link:hover { border-color: var(--sl-brand); color: var(--sl-brand-2); }
.sl-btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.sl-btn .arr, .wp-block-button__link .arr, .sl-more .arr { display: inline-block; transition: transform .2s; }
.sl-btn:hover .arr, .wp-block-button__link:hover .arr, .sl-card:hover .sl-more .arr { transform: translateX(4px); }

.sl-link, .is-style-lien .wp-block-button__link {
	font-weight: 600; text-decoration: none; border: 0; border-bottom: 1px solid rgba(234, 240, 247, .4);
	padding: 0 0 2px; min-height: 0; border-radius: 0; background: none; color: var(--sl-ink); font-size: 15px; box-shadow: none;
	transition: color .2s, border-color .2s;
}
.sl-link:hover, .is-style-lien .wp-block-button__link:hover { color: var(--sl-brand-2); border-color: var(--sl-brand-2); background: none; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.wp-block-buttons > .wp-block-button { margin: 0; }

/* 3. En-tête -------------------------------------------------------- */
.sl-site-header { display: contents; }
.sl-hdr { position: sticky; top: 0; z-index: 50; background: rgba(4, 11, 24, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--sl-line); }
.admin-bar .sl-hdr { top: var(--wp-admin--admin-bar--height, 32px); }
.sl-hdr > .sl-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.sl-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sl-ink); }
.sl-brand:hover { color: var(--sl-ink); }
.sl-brand svg { width: 30px; height: 34px; flex: none; filter: drop-shadow(0 0 10px rgba(17, 201, 172, .35)); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.sl-brand:hover svg { transform: rotate(-8deg) scale(1.06); }
.sl-brand .wm { display: flex; flex-direction: column; line-height: 1; }
.sl-brand .wm b { font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.sl-brand .wm span { font-family: var(--sl-display); font-style: italic; font-size: 14px; color: var(--sl-steel); margin-top: 4px; white-space: nowrap; }

.sl-mainnav { margin-left: auto; display: flex; align-self: stretch; }
.sl-mainnav > ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; align-items: stretch; }
.sl-mainnav > ul > li { display: flex; align-items: center; position: relative; }
.sl-mainnav a, .sl-dd-btn { text-decoration: none; color: var(--sl-muted); padding-block: 6px; border: 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; display: inline-flex; align-items: center; gap: 7px; background: none; font: inherit; cursor: pointer; }
.sl-mainnav > ul > li > a:hover, .sl-mainnav a[aria-current], .sl-dd-btn:hover, .sl-dd.is-open .sl-dd-btn { color: var(--sl-ink); border-bottom-color: var(--sl-brand); }
.sl-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.sl-dd.is-open .sl-caret { transform: rotate(-135deg) translate(-2px, 0); }
.sl-dd-panel { position: absolute; top: calc(100% - 6px); left: -18px; min-width: 330px; padding: 10px; background: rgba(7, 20, 40, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--sl-line-2); border-radius: 12px; box-shadow: 0 40px 60px -30px #000, 0 0 0 1px rgba(17, 201, 172, .08); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s cubic-bezier(.2, .7, .2, 1), visibility 0s .25s; }
.sl-dd.is-open .sl-dd-panel, .sl-dd:not(.js):hover .sl-dd-panel, .sl-dd:focus-within .sl-dd-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sl-dd-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sl-dd-panel a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 8px; color: var(--sl-ink); border: 0; }
.sl-dd-panel a:hover { background: rgba(17, 201, 172, .08); color: var(--sl-ink); }
.sl-dd-panel .t { font-weight: 600; }
.sl-dd-panel small { color: var(--sl-muted); font-size: 13px; }
.sl-acts { display: flex; align-items: center; gap: 14px; }
.sl-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--sl-line-2); background: none; border-radius: var(--sl-radius); cursor: pointer; place-items: center; color: var(--sl-ink); }
.sl-burger i { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; transition: box-shadow .2s, transform .2s; }
.sl-burger[aria-expanded="true"] i { box-shadow: none; transform: rotate(45deg); }
.sl-burger[aria-expanded="true"] i::after { content: ""; display: block; width: 18px; height: 2px; background: currentColor; transform: rotate(90deg); }
.sl-mobnav { border-top: 1px solid var(--sl-line); background: var(--sl-bg-2); }
.sl-mobnav ul { list-style: none; margin: 0; padding: 8px var(--sl-pad) 20px; }
.sl-mobnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--sl-line); text-decoration: none; color: var(--sl-ink); font-size: 17px; }
.sl-mobnav .sub a { padding-left: 16px; font-size: 15px; color: var(--sl-muted); }
.sl-mobnav .grp { display: block; padding: 18px 0 6px; font-family: var(--sl-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sl-dim); }

/* 4. Accueil : hero -------------------------------------------------- */
.sl-hero { position: relative; overflow: hidden; isolation: isolate; }
.sl-hero canvas.sl-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.sl-hero::before { content: ""; position: absolute; left: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(17, 201, 172, .16), transparent); z-index: -1; }
.sl-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, transparent 60%, var(--sl-bg)), radial-gradient(80% 70% at 85% 40%, rgba(14, 37, 71, .9), transparent 70%); }
.sl-hero > .sl-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: 88px 150px; }
.sl-hero h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; margin: 18px 0 22px; font-weight: 400; letter-spacing: -.025em; }
.sl-hero .wp-block-buttons { margin-top: 34px; }
.sl-rotate { display: inline-block; position: relative; white-space: nowrap; }
.sl-rotate em { display: inline-block; }

.sl-shield { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.sl-shield svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 60px rgba(17, 201, 172, .18)); }
.sl-shield .ring { transform-origin: 200px 200px; transform-box: view-box; }
.sl-shield .tag { position: absolute; font-family: var(--sl-mono); font-size: 11px; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; background: rgba(11, 26, 51, .85); border: 1px solid var(--sl-line-2); color: var(--sl-brand-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.sl-shield .t1 { left: 0; top: 22%; }
.sl-shield .t2 { right: 2%; top: 12%; }
.sl-shield .t3 { right: 6%; bottom: 16%; }

/* Les trois métiers, posés à cheval sur le bas du hero */
.sl-pillars { position: relative; z-index: 2; margin-top: -96px; }
.sl-pillars ul { list-style: none; margin: 0 auto; padding-block: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sl-pillars .sl-card { min-height: 0; }
.sl-pillars h2 { font-family: var(--sl-display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 18px 0 8px; letter-spacing: -.01em; }
.sl-pillars p { margin: 0; color: var(--sl-muted); font-size: 15px; }

/* Cartes génériques */
.sl-card { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--sl-surface), var(--sl-bg-2)); border: 1px solid var(--sl-line-2); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; text-decoration: none; color: inherit; }
.sl-card:hover { color: inherit; transform: translateY(-4px); border-color: rgba(95, 230, 207, .5); box-shadow: var(--sl-glow); }
.sl-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(17, 201, 172, .28), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.sl-card:hover::after { opacity: 1; }
.sl-more { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 14px; color: var(--sl-brand-2); }

/* 5. Sections -------------------------------------------------------- */
.sl-sec { padding-block: clamp(72px, 9vw, 120px); position: relative; }
.sl-sec.is-alt { background: var(--sl-bg-2); border-block: 1px solid var(--sl-line); }
.sl-sec-head { max-width: 760px; margin-bottom: 48px; }
.sl-sec-head.is-center { text-align: center; margin-inline: auto; }
.sl-sec-head.is-center .sl-lead { margin-inline: auto; }
.sl-sec-head > * { margin-block: 0; }
.sl-sec-head .sl-lead { margin-top: 16px; }
.sl-h2 { font-family: var(--sl-display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.02em; margin: 12px 0 18px; line-height: 1.05; }

/* À propos */
.sl-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sl-about-media { position: relative; padding-bottom: 60px; }
.sl-about figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.4; border: 1px solid var(--sl-line-2); }
.sl-about figure img { width: 100%; height: 100%; object-fit: cover; }
.sl-about figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 11, 24, .6), transparent 50%); }
.sl-listen { position: absolute; right: -24px; bottom: 0; width: min(330px, 80%); padding: 24px; border-radius: 14px; background: rgba(11, 26, 51, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(95, 230, 207, .35); box-shadow: var(--sl-glow); }
.sl-listen h3 { font-family: var(--sl-display); font-weight: 400; font-size: 24px; line-height: 1.1; margin: 0 0 8px; }
.sl-listen p { margin: 0; color: var(--sl-muted); font-size: 15px; }
.sl-about .sl-muted { margin: 0 0 14px; }
.sl-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 34px; }
.sl-principles .sl-card { padding: 22px; }
.sl-principles h3 { font-family: var(--sl-text); font-size: 17px; font-weight: 700; margin: 10px 0 0; letter-spacing: 0; }
.sl-principles p { margin: 0; color: var(--sl-muted); font-size: 14px; }

/* Bande académie (photo) */
.sl-band { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid var(--sl-line); }
.sl-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sl-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 11, 24, .97) 0%, rgba(4, 11, 24, .88) 45%, rgba(4, 11, 24, .4) 100%); z-index: -1; }
.sl-band .sl-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.sl-band .sl-muted { max-width: 52ch; margin: 0 0 30px; }
.sl-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sl-band li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 20px; background: rgba(11, 26, 51, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--sl-line-2); border-radius: 10px; transition: border-color .3s, transform .3s; }
.sl-band li:hover { border-color: rgba(95, 230, 207, .5); transform: translateX(-4px); }
.sl-band li .i { font-family: var(--sl-mono); font-size: 13px; color: var(--sl-brand); padding-top: 2px; }
.sl-band li b { display: block; }
.sl-band li span { color: var(--sl-muted); font-size: 14px; }

/* Chiffres */
.sl-stats { border-bottom: 1px solid var(--sl-line); background: radial-gradient(60% 120% at 50% 0%, rgba(17, 201, 172, .08), transparent 70%); }
.sl-stats ul { list-style: none; margin: 0 auto; padding-block: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sl-stats li { padding: 8px 28px; border-left: 1px solid var(--sl-line); display: flex; flex-direction: column; gap: 10px; }
.sl-stats li:first-child { border-left: 0; padding-left: 0; }
.sl-stats .sl-ico-wrap { width: 40px; height: 40px; border-radius: 10px; }
.sl-stats .sl-ico { width: 20px; height: 20px; }
.sl-stats .n { margin: 6px 0 0; display: flex; align-items: baseline; gap: 6px; line-height: 1; white-space: nowrap; }
.sl-stats .n b { font-family: var(--sl-display); font-weight: 400; font-size: clamp(44px, 4.6vw, 64px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--sl-ink); }
.sl-stats .u { font-family: var(--sl-mono); font-size: 16px; color: var(--sl-brand-2); }
.sl-stats .t { margin: 0; color: var(--sl-muted); font-size: 14px; max-width: 30ch; }

/* Services */
.sl-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sl-services > li { display: flex; }
.sl-svc { width: 100%; min-height: 280px; }
.sl-svc .num { position: absolute; right: 24px; top: 22px; font-family: var(--sl-mono); font-size: 12px; color: var(--sl-dim); }
.sl-svc .h { font-family: var(--sl-display); font-size: 28px; line-height: 1.1; margin-top: 14px; letter-spacing: -.01em; }
.sl-svc .d { color: var(--sl-muted); font-size: 15px; }
.sl-svc .sl-more { opacity: .75; transition: opacity .3s; }
.sl-svc:hover .sl-more { opacity: 1; }

/* Appel final */
.sl-cta-end { overflow: hidden; isolation: isolate; border-top: 1px solid var(--sl-line); background: linear-gradient(120deg, #06122A, var(--sl-bg) 60%); }
.sl-cta-end::before { content: ""; position: absolute; right: -10%; top: -60%; width: 70%; height: 220%; background: radial-gradient(closest-side, rgba(17, 201, 172, .22), transparent); pointer-events: none; z-index: -1; }
.sl-cta-end canvas.sl-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; pointer-events: none; }
.sl-cta-end .sl-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; position: relative; }
.sl-cta-end .sl-h2 { max-width: 22ch; }
.sl-cta-end .sl-lead { margin: 0; }

/* Veille (accueil et page) */
.sl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sl-post { min-height: 260px; padding: 0 0 26px; gap: 12px; }
.sl-post > :not(.sl-post-img) { padding-inline: 26px; }
.sl-post > :nth-child(1):not(.sl-post-img) { padding-top: 26px; }
.sl-post-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--sl-line); }
.sl-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sl-post:hover .sl-post-img img { transform: scale(1.05); }
.sl-post-meta { font-family: var(--sl-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--sl-brand); }
.sl-post-t, .sl-post .wp-block-post-title { font-family: var(--sl-display); font-size: 24px; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.sl-post .wp-block-post-title a { text-decoration: none; }
.sl-sec#veille .sl-center { margin: 36px 0 0; }
.sl-empty-veille { padding: 48px; border: 1px dashed var(--sl-line-2); border-radius: 14px; text-align: center; }
.sl-empty-veille .big { font-family: var(--sl-display); font-size: 30px; margin: 10px 0; }

/* Partenaires */
.sl-partners { padding-bottom: 0; }
.sl-partners .sl-sec-head { margin-bottom: 40px; }
.sl-refs { border-block: 1px solid var(--sl-line); background: var(--sl-bg-2); }
.sl-refs .sl-in { display: flex; align-items: center; gap: 18px 44px; padding-block: 30px; }
.sl-refs p { margin: 0; flex: none; }
.sl-pecb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sl-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sl-brand-2); border: 1px solid rgba(17, 201, 172, .4); background: rgba(17, 201, 172, .08); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.sl-pecb::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sl-brand); box-shadow: 0 0 0 3px rgba(17, 201, 172, .2); }
.sl-refs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; }
.sl-refs img { height: 34px; width: auto; max-width: none; opacity: .7; transition: opacity .25s, filter .25s; filter: grayscale(1) brightness(1.6) contrast(.9); }
.sl-refs li:hover img { opacity: 1; filter: none; }

/* 6. Pages intérieures -------------------------------------------- */
.sl-pagehead { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--sl-line); }
.sl-pagehead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .5; }
.sl-pagehead > canvas.sl-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .6; }
.sl-pagehead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sl-bg) 20%, rgba(4, 11, 24, .72) 70%, rgba(4, 11, 24, .5)), linear-gradient(0deg, var(--sl-bg), transparent 60%); z-index: -2; }
.sl-pagehead .sl-in { padding-block: 64px 60px; }
.sl-pagehead h1 { font-family: var(--sl-display); font-weight: 400; font-size: clamp(38px, 5vw, 68px); letter-spacing: -.02em; margin: 12px 0 14px; line-height: 1.02; max-width: 20ch; }
.sl-pagehead .sl-eyebrow { margin-top: 26px; }
.sl-pagehead .sl-lead { margin: 0; }
.sl-crumbs ol { list-style: none; row-gap: 4px; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--sl-mono); font-size: 13px; color: var(--sl-muted); }
.sl-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sl-dim); }
.sl-crumbs a { text-decoration: none; }
.sl-crumbs a:hover { color: var(--sl-brand-2); }

.sl-page-body { padding-block: 56px 104px; }
.sl-page-body > .wp-block-post-content > * + * { margin-block-start: 1.1em; }
.sl-page-body h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.8em; }
.sl-page-body a:not(.wp-element-button):not(.sl-btn):not(.sl-card):not(.sl-link) { color: var(--sl-brand-2); }

/* Fiche formation */
.sl-prod { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 56px 104px; }
.sl-prod-body > * { margin-block: 0; }
.sl-prod-body h2 { font-family: var(--sl-display); font-weight: 400; font-size: 34px; letter-spacing: -.01em; margin: 52px 0 18px; }
.sl-prod-body > p { color: var(--sl-muted); margin-bottom: 14px; }
.sl-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--sl-line-2); border-radius: 12px; overflow: hidden; margin: 0; background: var(--sl-bg-2); }
.sl-facts div { padding: 18px; border-left: 1px solid var(--sl-line); }
.sl-facts div:first-child { border-left: 0; }
.sl-facts dt { font-family: var(--sl-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sl-dim); }
.sl-facts dd { margin: 6px 0 0; font-family: var(--sl-display); font-size: 26px; line-height: 1.1; }
ul.sl-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--sl-muted); }
ul.sl-check li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
ul.sl-check li::before { content: ""; width: 16px; height: 16px; margin-top: 5px; border: 1.5px solid var(--sl-brand); border-radius: 50%; background: radial-gradient(circle, var(--sl-brand) 0 3px, transparent 3.5px); box-sizing: border-box; }

/* Onglets */
.sl-tabs { margin-top: 44px; border: 1px solid var(--sl-line-2); border-radius: 14px; background: linear-gradient(160deg, var(--sl-surface), var(--sl-bg-2)); overflow: hidden; }
.sl-tablist { position: relative; display: flex; overflow-x: auto; border-bottom: 1px solid var(--sl-line-2); scrollbar-width: none; }
.sl-tablist button { flex: 1 0 auto; background: none; border: 0; color: var(--sl-muted); font: inherit; font-weight: 600; font-size: 15px; padding: 18px 20px; cursor: pointer; transition: color .2s; white-space: nowrap; }
.sl-tablist button:hover, .sl-tablist button[aria-selected="true"] { color: var(--sl-ink); }
.sl-tab-ind { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--sl-brand), var(--sl-brand-2)); box-shadow: 0 0 14px rgba(17, 201, 172, .7); transition: transform .45s cubic-bezier(.3, 1.2, .4, 1), width .45s cubic-bezier(.3, 1.2, .4, 1); }
.sl-tabpanel { padding: 28px; }
.sl-tab-h { display: none; }
/* Sans script : tous les panneaux visibles, titrés */
.sl-tabs:not(.is-ready) .sl-tablist { display: none; }
.sl-tabs:not(.is-ready) .sl-tabpanel[hidden] { display: block; }
.sl-tabs:not(.is-ready) .sl-tab-h { display: block; font-family: var(--sl-text); font-size: 15px; font-weight: 700; margin: 0 0 12px; }

/* Programme (accordéon) */
.sl-faq { border-top: 1px solid var(--sl-line-2); }
.sl-faq details { border-bottom: 1px solid var(--sl-line); }
.sl-faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 84px 1fr 28px; gap: 16px; align-items: center; padding: 22px 0; font-weight: 600; font-size: 17px; transition: color .2s; }
.sl-faq summary:hover { color: var(--sl-brand-2); }
.sl-faq summary::-webkit-details-marker { display: none; }
.sl-faq summary::after { content: "+"; font-family: var(--sl-display); font-size: 30px; line-height: 1; color: var(--sl-brand); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); justify-self: end; }
.sl-faq details[open] summary::after { transform: rotate(45deg); }
.sl-faq summary .d { font-family: var(--sl-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sl-brand); font-weight: 500; }
.sl-faq details > ul { padding: 0 0 24px 100px; }
.sl-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s cubic-bezier(.2, .7, .2, 1), content-visibility .4s allow-discrete; }
.sl-faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* Encadré d'inscription */
.sl-buy-card { position: sticky; top: 104px; padding: 28px; border-radius: 16px; border: 1px solid rgba(95, 230, 207, .4); background: linear-gradient(150deg, rgba(18, 40, 74, .96), rgba(6, 16, 34, .98)); box-shadow: var(--sl-glow); display: grid; gap: 18px; }
.sl-buy-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(300px circle at 100% 0%, rgba(17, 201, 172, .2), transparent 60%); }
.sl-buy-card > * { margin: 0; position: relative; }
.sl-buy-card .price { font-family: var(--sl-display); font-size: 20px; color: var(--sl-muted); }
.sl-buy-card .price b { font-weight: 400; font-size: 52px; color: var(--sl-ink); letter-spacing: -.02em; }
.sl-kv { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--sl-line-2); }
.sl-kv li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--sl-line); }
.sl-kv span { font-family: var(--sl-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sl-dim); }
.sl-kv b { font-weight: 600; font-size: 15px; }
.sl-buy-card .sl-btn { width: 100%; }

/* Articles */
.sl-article { font-size: 17px; line-height: 1.7; }
.sl-article .wp-block-post-content > * + * { margin-block-start: 1.1em; }
.sl-article h2 { font-family: var(--sl-display); font-weight: 400; font-size: clamp(26px, 3vw, 32px); margin-top: 1.8em; }
.sl-article h3 { font-family: var(--sl-text); font-size: 15px; font-weight: 700; letter-spacing: .02em; margin-top: 2.4em; }
.sl-article ul:not(.sl-sources) { padding-left: 1.2em; }
.sl-article li { margin-bottom: .5em; }
.sl-article li::marker { color: var(--sl-brand); }
.sl-article strong { color: var(--sl-ink); }
.sl-article .wp-block-post-content p, .sl-article .wp-block-post-content li { color: #C7D2E1; }
.sl-article-meta { gap: 6px 18px; font-family: var(--sl-mono); font-size: 13px; color: var(--sl-brand); text-transform: uppercase; letter-spacing: .06em; }
.sl-article-meta a { text-decoration: none; color: var(--sl-muted) !important; }
.sl-article > .sl-lead { font-size: 20px; color: var(--sl-ink); border-left: 2px solid var(--sl-brand); padding-left: 18px; margin: 18px 0 8px; max-width: none; }
.sl-sources { list-style: none; padding: 16px 20px !important; border: 1px solid var(--sl-line-2); border-radius: 10px; font-size: 14px; background: var(--sl-bg-2); }
.sl-sources li { margin: 4px 0; }
.sl-article-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--sl-line); font-size: 15px; }
.sl-article-foot a { text-decoration: none; }
.sl-article-foot .post-navigation-link-next { text-align: right; }

/* 7. Formulaires ---------------------------------------------------- */
.sl-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.sl-contact-form form { padding: 32px; border: 1px solid var(--sl-line-2); border-radius: 14px; background: linear-gradient(160deg, var(--sl-surface), var(--sl-bg-2)); }
.sl-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.sl-fgrid p { margin: 0 0 18px; }
.sl-fgrid .full { grid-column: 1 / -1; }
.sl-contact label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.sl-contact .sl-opt { font-weight: 400; color: var(--sl-dim); }
.sl-contact input[type="text"], .sl-contact input[type="email"], .sl-contact input[type="tel"], .sl-contact select, .sl-contact textarea { width: 100%; min-height: 48px; border: 1px solid var(--sl-field); border-radius: var(--sl-radius); padding: 0 14px; font: inherit; font-size: 16px; background: var(--sl-field-bg); color: var(--sl-ink); box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.sl-contact textarea { padding: 12px 14px; min-height: 160px; resize: vertical; }
.sl-contact input:focus, .sl-contact select:focus, .sl-contact textarea:focus { outline: none; border-color: var(--sl-brand); box-shadow: 0 0 0 3px rgba(17, 201, 172, .25); }
.sl-contact .is-invalid { border-color: #FF7A7A !important; }
.sl-contact .sl-rgpd label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--sl-muted); margin: 4px 0 22px; }
.sl-contact .sl-rgpd input { margin-top: 3px; flex: none; accent-color: var(--sl-brand); }
.sl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sl-alert { padding: 14px 18px; border-radius: var(--sl-radius); border: 1px solid rgba(255, 128, 128, .5); background: rgba(120, 20, 30, .25); color: #FFD7D7; margin: 0 0 18px; }
.sl-contact-side { display: grid; gap: 26px; padding-top: 8px; }
.sl-contact-side p { margin: 0; color: var(--sl-muted); }
.sl-contact-side a { color: var(--sl-ink); text-decoration: none; }
.sl-contact-side .sl-eyebrow { margin-bottom: 6px; color: var(--sl-brand); }
.sl-map { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--sl-line-2); aspect-ratio: 4 / 3; }
.sl-map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9); }
.sl-thanks { padding: 34px; border-radius: 14px; border: 1px solid rgba(95, 230, 207, .35); background: linear-gradient(150deg, rgba(18, 40, 74, .92), rgba(6, 16, 34, .94)); box-shadow: var(--sl-glow); }
.sl-thanks p { margin: 0; }
.sl-thanks .k { font-family: var(--sl-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sl-brand); }
.sl-thanks .big { font-family: var(--sl-display); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin: 12px 0; }

/* 8. Pied de page ---------------------------------------------------- */
.sl-ftr { background: #020711; color: var(--sl-dim); font-size: 14px; padding-block: 56px 28px; border-top: 1px solid var(--sl-line); }
.sl-ftr .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.sl-ftr .sl-brand .wm span { color: var(--sl-dim); }
.sl-ftr p { margin: 0; }
.sl-ftr .about { margin-top: 16px; max-width: 36ch; color: var(--sl-muted); }
.sl-ftr h2 { color: var(--sl-ink); font-family: var(--sl-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; font-weight: 500; }
.sl-ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--sl-muted); }
.sl-ftr a { text-decoration: none; color: var(--sl-muted); }
.sl-ftr a:hover { color: var(--sl-ink); }
.sl-ftr .bot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--sl-line); font-size: 13px; }

.sl-404 .sl-big { font-family: var(--sl-display); font-size: clamp(90px, 16vw, 200px); line-height: .9; color: var(--sl-brand-2); text-shadow: 0 0 60px rgba(17, 201, 172, .45); margin: 0; }

/* 9. Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
	.sl-mainnav { display: none; }
	.sl-burger { display: grid; }
	.sl-acts { margin-left: auto; }
	.sl-hdr.is-open .sl-mobnav { display: block; }
	.sl-hero > .sl-in, .sl-band .sl-in, .sl-about, .sl-prod, .sl-contact, .sl-cta-end .sl-in { grid-template-columns: minmax(0, 1fr); }
	.sl-hero > .sl-in { padding-block: 64px 140px; }
	.sl-shield { max-width: 340px; order: -1; }
	.sl-band::before { background: linear-gradient(0deg, rgba(4, 11, 24, .97) 30%, rgba(4, 11, 24, .8)); }
	.sl-services, .sl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sl-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.sl-stats li:nth-child(3) { border-left: 0; padding-left: 0; }
	.sl-ftr .top { grid-template-columns: 1fr 1fr; }
	.sl-buy-card { position: relative; top: 0; }
	.sl-listen { right: 16px; }
}
@media (max-width: 760px) {
	.sl-pillars ul, .sl-services, .sl-cards, .sl-principles, .sl-fgrid { grid-template-columns: minmax(0, 1fr); }
	.sl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sl-facts div:nth-child(3) { border-left: 0; }
	.sl-facts div:nth-child(n+3) { border-top: 1px solid var(--sl-line); }
	.sl-refs .sl-in { flex-direction: column; align-items: flex-start; }
	.sl-faq summary { grid-template-columns: 1fr 28px; }
	.sl-faq summary .d { grid-column: 1 / -1; }
	.sl-faq details > ul { padding-left: 0; }
	.sl-about-media { padding-bottom: 0; }
	.sl-listen { position: relative; right: auto; width: auto; margin: -40px 16px 0; }
	.sl-article-foot { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.sl-hdr > .sl-in { min-height: 64px; gap: 12px; }
	.sl-brand .wm b { font-size: 13px; }
	.sl-brand .wm span { font-size: 12px; }
	.sl-hdr-cta { display: none; }
	.sl-hero > .sl-in { padding-block: 40px 120px; gap: 24px; }
	.sl-shield { max-width: 240px; }
	.sl-shield .tag { font-size: 10px; }
	.sl-hero .wp-block-button, .sl-hero .wp-block-button__link { width: 100%; }
	.sl-stats ul { grid-template-columns: minmax(0, 1fr); }
	.sl-stats li { border-left: 0; padding-left: 0; border-top: 1px solid var(--sl-line); padding-top: 24px; }
	.sl-stats li:first-child { border-top: 0; padding-top: 0; }
	.sl-ftr .top { grid-template-columns: 1fr; }
	.sl-refs img { height: 26px; }
	.sl-contact-form form, .sl-buy-card, .sl-tabpanel { padding: 20px; }
	.sl-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Page Veille : deux colonnes, le premier article en grand */
.sl-page-body > .sl-cards, .sl-page-body .wp-block-group > .sl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sl-page-body .sl-cards > .sl-post:first-child { grid-column: 1 / -1; min-height: 0; }
.sl-page-body .sl-cards > .sl-post:first-child .sl-post-t { font-size: clamp(28px, 3vw, 38px); max-width: 28ch; }
@media (max-width: 760px) { .sl-page-body > .sl-cards, .sl-page-body .wp-block-group > .sl-cards { grid-template-columns: minmax(0, 1fr); } }
.single-post .sl-pagehead h1 { font-size: clamp(32px, 4vw, 54px); max-width: 26ch; }
.single-post .sl-crumbs li:last-child { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
