/* ==========================================================================
   Developers.Institute Cameroun — design system
   Branding Developers.Institute : Poppins · noir · rouge #E52821 · blanc
   ========================================================================== */

:root {
	--red: #E52821;
	--red-d: #C21D17;
	--red-l: #FDEEED;
	--ink: #0B0B0C;
	--ink-2: #1F2124;
	--ink-3: #2A2C30;
	--text: #2B2B2E;
	--muted: #676770;
	--line: #E7E7EA;
	--line-2: #D9D9DE;
	--soft: #F6F6F7;
	--white: #fff;
	--green: #16A34A;

	--font: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 9vw, 128px);
	--radius: 16px;
	--radius-sm: 10px;
	--radius-xs: 6px;
	--shadow-sm: 0 1px 2px rgba(11, 11, 12, .06), 0 1px 1px rgba(11, 11, 12, .04);
	--shadow: 0 10px 30px -12px rgba(11, 11, 12, .18), 0 4px 10px -6px rgba(11, 11, 12, .08);
	--shadow-lg: 0 30px 60px -20px rgba(11, 11, 12, .28);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(229, 40, 33, .45); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); letter-spacing: -.03em; line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-xs); }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.has-di-red-color { color: var(--red) !important; }
mark.has-inline-color { background: transparent !important; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Eyebrow / chips ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ink); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229, 40, 33, .15); }
.eyebrow--light, .is-dark .eyebrow { color: #fff; }
.chip {
	display: inline-flex; align-items: center; gap: .45em; white-space: nowrap;
	font-size: .75rem; font-weight: 600; line-height: 1; padding: .5em .8em; border-radius: 999px;
	background: var(--soft); color: var(--ink); border: 1px solid var(--line);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); animation: pulse 2s infinite; }
.chip--live { background: #ECFDF3; border-color: #CDEFD9; color: #0F6B33; }
.chip--soon { background: #FFF6E5; border-color: #FBE3B5; color: #8A5A00; }
.chip--full { background: var(--soft); color: var(--muted); }
.chip--red { background: var(--red); border-color: var(--red); color: #fff; }
.chip--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.chip--outline { background: transparent; border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .85); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); } 50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); } }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link {
	--bg: var(--red); --fg: #fff; --bd: var(--red);
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em;
	padding: 15px 26px; border-radius: 6px; border: 1.5px solid var(--bd);
	background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
	transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
	white-space: nowrap;
}
.btn:hover, .wp-block-button__link:hover { color: var(--fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover, .wp-block-button__link:hover { --bg: var(--red-d); --bd: var(--red-d); box-shadow: 0 12px 24px -10px rgba(229, 40, 33, .55); }
.btn__icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .btn__icon.icon--arrow-right { transform: translateX(3px); }
.btn--dark { --bg: var(--ink); --bd: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: var(--ink-3); --bd: var(--ink-3); }
.btn--ghost { --bg: transparent; --bd: var(--line-2); --fg: var(--ink); }
.btn--ghost:hover { --bd: var(--ink); --fg: var(--ink); }
.btn--light { --bg: #fff; --bd: #fff; --fg: var(--ink); }
.btn--light:hover { --fg: var(--red); }
.btn--outline-light { --bg: transparent; --bd: rgba(255, 255, 255, .35); --fg: #fff; }
.btn--outline-light:hover { --bd: #fff; --fg: #fff; background: rgba(255, 255, 255, .06); }
.btn--link-light { --bg: transparent; --bd: transparent; --fg: #fff; padding-inline: 8px; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.is-style-outline .wp-block-button__link { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button { margin: 0; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: .2s; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn[data-prev] .icon { transform: rotate(180deg); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: rgba(255, 255, 255, .86); font-size: .84rem; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-block: 6px; text-align: center; }
.announce p { margin: 0; }
.announce a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.announce a:hover { color: var(--red); }
.announce a .icon { width: 1em; }
.announce__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
html, body { overflow-x: clip; }
@media (max-width: 640px) {
	.announce__inner { gap: 8px; }
	.announce p { font-size: .76rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
	.announce a { display: none; }
	.announce__dot { align-self: center; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
/* Logo officiel Developers.Institute (bulle + « Developers.Institute » + signature) avec pastille du drapeau camerounais. */
.brand__mark { display: grid; color: #111; }
.brand__mark svg { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 500; font-size: 1.32rem; letter-spacing: -.015em; color: #1c1c1e; }
.brand__name i { font-style: normal; font-weight: 700; color: var(--red); }
.brand__name b { font-weight: 400; color: #6e6e73; }
.brand__tag { align-self: flex-end; font-size: .6rem; font-weight: 500; color: #1c1c1e; letter-spacing: .01em; margin-top: 4px; white-space: nowrap; }
.brand--light, .brand--light .brand__mark { color: #fff; }
.brand--light { --brand-glyph: var(--ink); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name b { color: rgba(255, 255, 255, .62); }
.brand--light .brand__tag { color: rgba(255, 255, 255, .75); }
@media (max-width: 420px) { .brand__mark svg { width: 38px; height: 38px; } .brand__name { font-size: 1.12rem; } .brand__tag { font-size: .52rem; } }
.brand__img { max-height: 46px; width: auto; }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list > li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--red); margin-inline: 3px 1px; opacity: .9; }
.nav__list a { display: block; text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--ink); padding: 10px 7px; border-radius: 8px; white-space: nowrap; }
.nav__list > li > a:hover, .nav__list > .current-menu-item > a, .nav__list > .current-menu-ancestor > a, .nav__list > .current-page-ancestor > a { color: var(--red); }
.submenu-toggle { display: none; }
.nav__list .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 50%; min-width: 260px; list-style: none; margin: 0; padding: 10px;
	background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .2s var(--ease);
}
.nav__list .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__list .sub-menu a { padding: 10px 14px; font-size: .92rem; border-radius: 8px; }
.nav__list .sub-menu a:hover { background: var(--soft); color: var(--red); }
.nav__list > .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 8px; }
.nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: .76rem; font-weight: 600; text-decoration: none; color: var(--muted); padding: 5px 10px; border-radius: 999px; line-height: 1; }
.lang-switch a.is-active { background: var(--ink); color: #fff; }
.lang-switch a:not(.is-active):hover { color: var(--ink); }
.lang-switch--light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.lang-switch--light a { color: rgba(255, 255, 255, .7); }
.lang-switch--light a.is-active { background: #fff; color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
	.nav__list > li + li::before { display: none; }
	.nav__list a { padding-inline: 6px; font-size: .9rem; }
	.site-header__inner { gap: 16px; }
}
@media (max-width: 1180px) {
	:root { --header-h: 68px; }
	.burger { display: flex; }
	.header-apply { display: none; }
	.site-header__actions .lang-switch { display: none; }
	.site-header__actions { margin-left: auto; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; background: #fff; margin: 0; padding: 12px var(--gutter) 32px;
		overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; z-index: 99;
		display: flex; flex-direction: column;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav-open .nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__list > li > a { flex: 1; font-size: 1.08rem; font-weight: 600; padding: 16px 0; }
	.nav__list > .menu-item-has-children > a::after { display: none; }
	.submenu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 10px; cursor: pointer; color: var(--ink); }
	.submenu-toggle .icon { transition: transform .25s; }
	.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
	.nav__list .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px 8px; min-width: 0; width: 100%; display: none; }
	.nav__list .sub-menu::before { display: none; }
	.nav__list li.is-open > .sub-menu { display: block; }
	.nav__list li:hover > .sub-menu { transform: none; }
	.nav__mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
	.nav__mobile-extra .lang-switch { justify-self: start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 88px 0 28px; font-size: .94rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -260px; background: radial-gradient(circle, rgba(229, 40, 33, .22), transparent 65%); pointer-events: none; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; position: relative; }
.footer-brand p { margin: 20px 0; max-width: 360px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--red); margin-top: 3px; width: 1.1em; }
.footer-col__title { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin: 8px 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { display: inline-flex; align-items: center; gap: 4px; }
.footer-col a .icon { width: .9em; opacity: .6; }
.footer-col--learn p { font-size: .88rem; margin: 0 0 12px; }
.footer-network { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); position: relative; }
.footer-network__label { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .86rem; }
.footer-network__label .icon { color: var(--red); }
.footer-network ul { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: .84rem; }
.footer-network li.is-home { color: #fff; font-weight: 600; }
.footer-network li.is-home::before { content: "● "; color: var(--red); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .84rem; position: relative; }
.footer-bottom p { margin: 0; }
.footer-bottom p a { text-decoration: underline; text-underline-offset: 2px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); transition: .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials--light a { border-color: rgba(255, 255, 255, .16); color: #fff; }
@media (max-width: 1060px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }
.mobile-cta { display: none; }
@media (max-width: 760px) {
	.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
	.mobile-cta.is-visible { transform: none; }
	.mobile-cta .btn { padding: 12px 10px; font-size: .92rem; }
	.mobile-cta .btn .icon { display: none; }
	.wa-float { bottom: 86px; }
	.site-footer { padding-bottom: 96px; }
}

/* ==========================================================================
   Sections (blocs de l'éditeur)
   ========================================================================== */
.entry > * { margin-block: 0; }
.entry > :where(:not(.di-section):not(.alignfull)) { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.entry > :where(p, ul, ol, h2, h3, h4, table, figure, .wp-block-image, .wp-block-table) { margin-bottom: 1.1em; }
.entry > :where(h2, h3):not(:first-child) { margin-top: 1.8em; }
.entry--article { padding-block: 56px 96px; }
.entry--article > * { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.entry__cover img { border-radius: var(--radius); margin-bottom: 32px; }

.di-section { position: relative; padding-block: var(--section); }
.di-section.is-soft { background: var(--soft); }
.di-section.is-dark { background: var(--ink); color: rgba(255, 255, 255, .74); overflow: hidden; }
.di-section.is-dark :where(h1, h2, h3, h4) { color: #fff; }
.di-section.is-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); pointer-events: none; }
.di-section.is-dark::after { content: ""; position: absolute; width: 640px; height: 640px; left: 50%; top: -380px; transform: translateX(-50%); background: radial-gradient(circle, rgba(229, 40, 33, .28), transparent 62%); pointer-events: none; }
.di-section.is-tight { padding-block: calc(var(--section) * .55); }
.di-section.is-flush-top { padding-top: 0; }
.di-section.is-bordered { border-top: 1px solid var(--line); }
.di-wrap { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.di-wrap > * + * { margin-top: 0; }

.di-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.di-head.is-center { margin-inline: auto; text-align: center; }
.di-head.is-center .eyebrow { justify-content: center; }
.di-head > :last-child { margin-bottom: 0; }
.di-head.is-split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.di-head.is-split > .eyebrow { grid-column: 1 / -1; margin-bottom: -8px; }
.di-head.is-split .di-lead { margin: 0; }
@media (max-width: 860px) { .di-head.is-split { grid-template-columns: 1fr; } }
.di-title { margin-bottom: .45em; }
.di-lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: var(--muted); max-width: 680px; }
.is-dark .di-lead { color: rgba(255, 255, 255, .7); }
.di-head.is-center .di-lead { margin-inline: auto; }
.di-note { font-size: .86rem; color: var(--muted); }
.is-dark .di-note { color: rgba(255, 255, 255, .55); }
.di-actions { margin-top: 36px; }
.di-actions, .di-actions > .wp-block-shortcode { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.di-actions.is-center { justify-content: center; }
.di-hero .di-actions { margin-top: 0; }
.di-hero .di-note { margin-top: 18px; }
.is-dark .is-style-outline .wp-block-button__link { --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.is-dark .is-style-outline .wp-block-button__link:hover { --bd: #fff; }
.wp-block-columns { margin-bottom: 0; }
.di-block-gap > * + * { margin-top: 40px; }
.di-mt { margin-top: clamp(40px, 5vw, 64px) !important; }
.di-sub { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 24px; }
.di-center { text-align: center; }

/* Colonnes génériques */
.wp-block-columns { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-columns.are-vertically-aligned-center, .is-vertically-aligned-center { align-items: center; }
.wp-block-column.is-vertically-aligned-center { align-self: center; }
@media (max-width: 860px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }

/* Cartes */
.di-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.di-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.di-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.di-card > :last-child { margin-bottom: 0; }
.di-card h3 { margin-bottom: .5em; }
.di-card p { color: var(--muted); font-size: .96rem; }
.is-dark .di-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.is-dark .di-card p { color: rgba(255, 255, 255, .65); }

/* Liste à puces cochées */
.di-check { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.di-check li { position: relative; padding-left: 34px; }
.di-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--red-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E52821' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.is-dark .di-check li::before { background-color: rgba(229, 40, 33, .18); }
.di-check.is-cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Chips de métiers */
.di-jobs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.di-jobs li { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .92rem; color: var(--ink); }
.di-jobs li::before { content: "</> "; color: var(--red); font-family: var(--mono); font-size: .82em; font-weight: 700; }

/* Image arrondie */
.di-rounded img, .wp-block-image.di-rounded img { border-radius: var(--radius); }
.wp-block-image { margin: 0; }
.wp-block-image figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }

/* Séparateur */
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* Citation */
.wp-block-quote { border-left: 3px solid var(--red); margin: 0 0 1.5em; padding: 4px 0 4px 24px; font-size: 1.1rem; color: var(--ink); }
.wp-block-quote cite { display: block; font-size: .86rem; color: var(--muted); font-style: normal; margin-top: 8px; }

/* Tableaux */
.wp-block-table { overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wp-block-table th, .wp-block-table td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.wp-block-table th { background: var(--soft); font-weight: 600; color: var(--ink); }

/* ==========================================================================
   Accueil — hero
   ========================================================================== */
.di-hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 80px); overflow: hidden; }
.di-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; background-image: radial-gradient(rgba(11, 11, 12, .09) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 70% 45%, #000 15%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 15%, transparent 65%); pointer-events: none; }
.di-hero .wp-block-columns { align-items: center; }
.di-hero h1 { margin-bottom: .35em; }
.di-hero .di-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-bottom: 30px; }
.di-hero .wp-block-buttons { gap: 14px; }
.di-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.di-hero-badges li { font-size: .8rem; font-weight: 600; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.di-hero-badges li::before { content: "●"; color: var(--red); margin-right: 6px; font-size: .7em; vertical-align: 1px; }

.hero-visual { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.hero-visual__ring { position: absolute; inset: -4%; border-radius: 50%; border: 1.5px dashed rgba(229, 40, 33, .45); animation: spin 60s linear infinite; }
.hero-visual__ring::after { content: ""; position: absolute; top: 12%; right: 8%; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(229, 40, 33, .15); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual__circle { position: absolute; inset: 4%; border-radius: 50%; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.hero-visual__circle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-visual__circle.is-mono img { filter: grayscale(1) contrast(1.08) brightness(1.02); }
.hero-visual__circle.is-mono::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(229, 40, 33, .35)); mix-blend-mode: multiply; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: 1.3rem; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.float-card small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.float-card__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.float-card__icon--red { background: var(--red); }
.float-card--a { left: -6%; top: 16%; }
.float-card--b { right: -8%; bottom: 20%; animation-delay: -3s; }
.float-card--code { left: 4%; bottom: 4%; background: var(--ink); border-color: var(--ink); color: #fff; padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 8px; animation-delay: -1.5s; }
.float-card--code code { font-family: var(--mono); font-size: .8rem; color: #EDEDED; white-space: nowrap; }
.c-k { color: #FF6B64; } .c-s { color: #9BE39F; }
.code-dots { display: flex; gap: 5px; }
.code-dots i { width: 8px; height: 8px; border-radius: 50%; background: #FF5F57; }
.code-dots i:nth-child(2) { background: #FEBC2E; } .code-dots i:nth-child(3) { background: #28C840; }
.hero-visual__pin { position: absolute; right: 2%; top: 2%; display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: .78rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; box-shadow: 0 10px 20px -8px rgba(229, 40, 33, .6); }
.hero-visual__pin .icon { width: 1em; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float-card, .hero-visual__ring, .chip i, .announce__dot { animation: none; } }
@media (max-width: 860px) { .hero-visual { width: min(88%, 420px); margin-top: 24px; } .float-card--a { left: -4%; } .float-card--b { right: -4%; } }

.trust { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item img { width: 44px; flex: none; }
.trust__item strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.trust__item span { font-size: .8rem; color: var(--muted); }
.trust__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-l); color: var(--red); flex: none; }
@media (max-width: 960px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }

/* ==========================================================================
   Composants
   ========================================================================== */

/* Objectifs */
.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.goal { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: .3s var(--ease); overflow: hidden; }
.goal::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.goal:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.goal:hover::after { transform: scaleX(1); }
.goal__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 22px; transition: background .3s; }
.goal:hover .goal__icon { background: var(--red); }
.goal p { color: var(--muted); flex: 1; }
.goal__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.goal__cta .icon { color: var(--red); transition: transform .2s; }
.goal:hover .goal__cta .icon { transform: translateX(4px); }
@media (max-width: 900px) { .goals { grid-template-columns: 1fr; } }

/* Programmes */
.program-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.program-grid--3 { grid-template-columns: repeat(3, 1fr); }
.program-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .program-grid { grid-template-columns: 1fr; } }
.program-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .3s var(--ease); overflow: hidden; }
.program-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--ink); transition: background .3s; }
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-card:hover::before { background: var(--red); }
.program-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.program-card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--ink); border: 1px solid var(--line); transition: .3s; }
.program-card__icon .icon { width: 26px; height: 26px; }
.program-card:hover .program-card__icon { background: var(--ink); color: #fff; border-color: var(--ink); }
.program-card__title { font-size: 1.28rem; margin-bottom: 10px; }
.program-card__title a { text-decoration: none; color: var(--ink); }
.program-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.program-card__desc { color: var(--muted); font-size: .94rem; flex: 1; }
.program-card__meta { list-style: none; padding: 16px 0 0; margin: 0 0 20px; border-top: 1px dashed var(--line-2); display: grid; gap: 8px; font-size: .86rem; color: var(--ink-2); }
.program-card__meta li { display: flex; gap: 8px; align-items: flex-start; }
.program-card__meta .icon { color: var(--red); width: 1.05em; margin-top: 3px; }
.program-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.program-card__cta .icon { color: var(--red); transition: transform .2s; }
.program-card:hover .program-card__cta .icon { transform: translateX(4px); }
.is-dark .program-card { border-color: transparent; }

/* Rentrées */
.session-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.session-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.session-card__head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 16px; }
.session-card__program { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.session-card__title { font-size: 1.2rem; }
.session-card__list { list-style: none; padding: 0; margin: 4px 0 20px; display: grid; gap: 9px; font-size: .9rem; flex: 1; }
.session-card__list li { display: flex; gap: 10px; }
.session-card__list .icon { color: var(--red); width: 1.05em; margin-top: 3px; }
.session-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.session-card__price { display: block; font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.session-card__foot small { color: var(--muted); font-size: .76rem; }
.session-empty { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.session-empty__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--red); color: #fff; display: grid; place-items: center; }
.session-empty__icon .icon { width: 30px; height: 30px; }
.session-empty h3 { margin-bottom: 8px; }
.session-empty p { margin: 0; color: var(--muted); font-size: .95rem; }
.session-empty__actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 960px) { .session-empty { grid-template-columns: 1fr; } .session-empty__actions { flex-direction: row; flex-wrap: wrap; } }

/* Formules */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.format-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; transition: .3s var(--ease); }
.format-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.format-card:nth-child(2) { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .72); }
.format-card:nth-child(2) h3, .format-card:nth-child(2) .format-card__price strong { color: #fff; }
.format-card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--red-l); color: var(--red); margin-bottom: 20px; }
.format-card:nth-child(2) .format-card__icon { background: var(--red); color: #fff; }
.format-card h3 { margin-bottom: 4px; }
.format-card__duration { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: var(--red); margin-bottom: 14px; line-height: 1.1; }
.format-card p { font-size: .94rem; }
.format-card__ideal { display: flex; gap: 8px; font-weight: 500; color: var(--ink); flex: 1; }
.format-card:nth-child(2) .format-card__ideal { color: #fff; }
.format-card__ideal .icon { color: var(--red); margin-top: 3px; width: 1.1em; }
.format-card__price { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; margin-top: 8px; border-top: 1px dashed var(--line-2); }
.format-card:nth-child(2) .format-card__price { border-color: rgba(255, 255, 255, .18); }
.format-card__price span { font-size: .8rem; color: var(--muted); }
.format-card:nth-child(2) .format-card__price span { color: rgba(255, 255, 255, .55); }
.format-card__price strong { font-size: 1.2rem; color: var(--ink); }
.format-card__modes { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; padding: 0; margin: 16px 0 0; }
.format-card__modes li { font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.format-card:nth-child(2) .format-card__modes li { background: rgba(255, 255, 255, .08); color: #fff; }
.formats__note { text-align: center; margin: 24px auto 0; font-size: .88rem; color: var(--muted); max-width: 720px; }
@media (max-width: 960px) { .formats { grid-template-columns: 1fr; } }

/* Inclus */
.included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.included li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.included .icon { color: var(--red); width: 1.4em; height: 1.4em; margin-top: 1px; }
.is-dark .included li { color: #fff; }
@media (max-width: 700px) { .included { grid-template-columns: 1fr; } }

/* Financement */
.finance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.finance-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.finance-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 18px; }
.finance-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.finance-card--cta { background: var(--red); border-color: var(--red); color: rgba(255, 255, 255, .9); display: flex; flex-direction: column; align-items: flex-start; }
.finance-card--cta h3 { color: #fff; }
.finance-card--cta p { color: rgba(255, 255, 255, .88); margin-bottom: 20px; flex: 1; }
@media (max-width: 960px) { .finance-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .finance-grid { grid-template-columns: 1fr; } }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; border-top: 2px dashed var(--line-2); }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.is-soft .step { border-color: transparent; }
.step__num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; margin-bottom: 18px; box-shadow: 0 0 0 8px #fff; position: relative; }
.step__kicker { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 600; margin-bottom: 6px; }
.step p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }
.is-dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.is-dark .step__num { box-shadow: 0 0 0 8px var(--ink); }
.is-dark .step p:last-child { color: rgba(255, 255, 255, .65); }
.steps__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 36px; }
.steps__cta > span { color: var(--muted); font-size: .88rem; }
.is-dark .steps__cta > span { color: rgba(255, 255, 255, .6); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .3s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.pillar__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; }
.pillar__num { font-weight: 700; font-size: 2rem; color: var(--line-2); letter-spacing: -.04em; }
.pillar p { color: var(--muted); font-size: .94rem; margin: 0; }
.is-dark .pillar { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.is-dark .pillar p { color: rgba(255, 255, 255, .65); }
.is-dark .pillar__num { color: rgba(255, 255, 255, .15); }
@media (max-width: 1060px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 30px 26px; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; margin-bottom: 10px; }
.stat > span { display: block; font-size: .9rem; }
.stat strong span { font-size: inherit; }
.stats--dark { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.stats--dark .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .1); }
.stats--dark .stat strong { color: #fff; background: linear-gradient(180deg, #fff 35%, #ffb3b0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats--light { background: #fff; border: 1px solid var(--line); }
.stats--light .stat + .stat { border-left: 1px solid var(--line); }
.stats--light .stat strong { color: var(--ink); }
.stats--light .stat strong::first-letter { color: var(--red); }
.stats--light .stat span { color: var(--muted); }
.stats__note { font-size: .78rem; margin: 14px 0 0; opacity: .7; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stats .stat:nth-child(3) { border-left: 0 !important; } .stats .stat:nth-child(n+3) { border-top: 1px solid rgba(127, 127, 127, .18); } }

/* Réseau international */
.network { margin: 0; position: relative; border-radius: calc(var(--radius) + 4px); background: linear-gradient(180deg, #111113, #0B0B0C); border: 1px solid rgba(255, 255, 255, .08); padding: clamp(12px, 3vw, 32px); overflow: hidden; }
.network__map { width: 100%; height: auto; display: block; overflow: visible; }
.network__dot { fill: rgba(255, 255, 255, .22); }
.di-section:not(.is-dark) .network__dot { fill: rgba(255, 255, 255, .24); }
.network__arc { fill: none; stroke: rgba(229, 40, 33, .75); stroke-width: 1.3; stroke-dasharray: 5 5; stroke-linecap: round; opacity: 0; }
.network.is-visible .network__arc { animation: arcIn 1.2s var(--ease) forwards, dash 18s linear infinite; animation-delay: var(--d), var(--d); }
@keyframes arcIn { to { opacity: 1; } }
@keyframes dash { to { stroke-dashoffset: -200; } }
.network__point { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.network__node.is-home .network__point { fill: var(--red); stroke: #fff; stroke-width: 2.5; }
.network__pulse { fill: rgba(229, 40, 33, .35); animation: netPulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes netPulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.network__label { fill: rgba(255, 255, 255, .72); font-family: var(--font); font-size: 12px; font-weight: 500; paint-order: stroke; stroke: #0B0B0C; stroke-width: 4px; stroke-linejoin: round; }
.network__node.is-home .network__label { fill: #fff; font-weight: 700; font-size: 15px; }
.network__legend { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; padding: 10px 0 4px; font-size: .82rem; color: rgba(255, 255, 255, .7); }
.network__legend span { display: inline-flex; align-items: center; gap: 8px; }
.network__legend .icon { color: var(--red); width: 1.1em; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; display: inline-block; }
.legend-dot--home { background: var(--red); box-shadow: 0 0 0 3px rgba(229, 40, 33, .3); }
@media (max-width: 640px) { .network__label { font-size: 17px; } .network__node:not(.is-home) .network__label { display: none; } .network__node.is-home .network__label { font-size: 22px; } }
.campus-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.campus-list li { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.is-dark .campus-list li { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.campus-list li.is-home { border-color: var(--red); background: var(--red); }
.campus-list__country { font-weight: 600; color: var(--ink); font-size: .92rem; }
.is-dark .campus-list__country, .campus-list li.is-home .campus-list__country { color: #fff; }
.campus-list__city { font-size: .8rem; color: var(--muted); }
.is-dark .campus-list__city { color: rgba(255, 255, 255, .55); }
.campus-list li.is-home .campus-list__city { color: rgba(255, 255, 255, .85); }

/* Entreprises (marquee) */
.marquee { position: relative; display: flex; overflow: hidden; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; flex: none; gap: 0; list-style: none; margin: 0; padding: 0; animation: marquee 40s linear infinite; }
.marquee__track li { padding: 10px 34px; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink); opacity: .64; white-space: nowrap; transition: opacity .2s; }
.marquee__track li:hover { opacity: 1; }
.is-dark .marquee__track li { color: #fff; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; } .marquee__track[aria-hidden] { display: none; } }

/* Marché de l'IA */
.market { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.market__item { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.market__item strong { display: block; font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -.04em; color: var(--red); line-height: 1; margin-bottom: 12px; }
.market__item p { color: var(--ink); font-weight: 500; margin-bottom: 12px; }
.market__item small { color: var(--muted); font-size: .76rem; }
.is-dark .market__item { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.is-dark .market__item p { color: #fff; }
@media (max-width: 860px) { .market { grid-template-columns: 1fr; } }

/* Témoignages */
.testimonials { position: relative; }
.testimonials__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.testimonials__track::-webkit-scrollbar { display: none; }
@media (max-width: 1000px) { .testimonials__track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .testimonials__track { grid-auto-columns: 88%; } }
.testimonial { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.testimonial--local { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-l); }
.testimonial__mark { color: var(--red); display: block; margin-bottom: 12px; }
.testimonial__mark .icon { width: 36px; height: 36px; }
.testimonial .chip { position: absolute; top: 26px; right: 26px; }
.testimonial blockquote { margin: 0 0 22px; flex: 1; color: var(--ink-2); font-size: .98rem; }
.testimonial blockquote p { margin: 0 0 .7em; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial figcaption strong { display: block; color: var(--ink); }
.testimonial figcaption span { font-size: .82rem; color: var(--muted); }
.testimonial figcaption .testimonial__avatar { font-size: .9rem; color: #fff; }
.testimonial__photo, .testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.testimonial__avatar { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; }
.testimonials__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.is-dark .testimonial { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.is-dark .testimonial blockquote { color: rgba(255, 255, 255, .82); }
.is-dark .testimonial figcaption { border-color: rgba(255, 255, 255, .1); }
.is-dark .testimonial figcaption strong { color: #fff; }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.team-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 22px; text-align: center; }
.team-card__photo { aspect-ratio: 4 / 4.2; border-radius: 12px; overflow: hidden; background: linear-gradient(145deg, var(--ink), #2b2d31); display: grid; place-items: center; margin-bottom: 18px; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initials { font-size: 2.6rem; font-weight: 700; color: #fff; letter-spacing: -.02em; position: relative; }
.team-card__initials::after { content: ""; position: absolute; right: -14px; bottom: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.team-card h3 { margin-bottom: 4px; font-size: 1.08rem; }
.team-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.team-card__li { position: absolute; top: 24px; right: 24px; width: 34px; height: 34px; border-radius: 8px; background: #fff; display: grid; place-items: center; color: var(--ink); }

/* Fondateur */
.founder { margin: 0; display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder__photo { border-radius: var(--radius); overflow: hidden; position: relative; }
.founder__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.founder__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--red); }
.founder__mark { color: var(--red); }
.founder__mark .icon { width: 44px; height: 44px; }
.founder blockquote { margin: 10px 0 24px; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.is-dark .founder blockquote { color: #fff; }
.founder figcaption strong { display: block; color: var(--ink); font-size: 1.05rem; }
.is-dark .founder figcaption strong { color: #fff; }
.founder figcaption span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder__photo { max-width: 320px; } }

/* Plateforme */
.platform { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.platform__screen { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.browser__dots i:nth-child(2) { background: #FEBC2E; } .browser__dots i:nth-child(3) { background: #28C840; }
.browser__url { font-size: .76rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px; }
.platform__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.platform__points li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.platform__points li > span { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--red-l); color: var(--red); flex: none; }
@media (max-width: 900px) { .platform { grid-template-columns: 1fr; } }

/* AWS */
.aws-card { display: flex; gap: 28px; align-items: center; padding: 30px; border-radius: var(--radius); background: linear-gradient(120deg, #fff, var(--soft)); border: 1px solid var(--line); }
.aws-card img { width: 110px; flex: none; }
.aws-card h3 { margin-bottom: 8px; }
.aws-card p:not(.eyebrow) { color: var(--muted); margin-bottom: 6px; }
.aws-card small { font-size: .78rem; color: var(--muted); }
.aws-card .eyebrow { margin-bottom: 8px; }
@media (max-width: 640px) { .aws-card { flex-direction: column; align-items: flex-start; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: .3s var(--ease); }
.service:hover { border-color: var(--ink); }
.service__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid var(--ink); color: var(--ink); margin-bottom: 18px; transition: .3s; }
.service:hover .service__icon { background: var(--red); border-color: var(--red); color: #fff; }
.service p { color: var(--muted); font-size: .94rem; margin: 0; }
.is-dark .service { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.is-dark .service__icon { border-color: rgba(255, 255, 255, .5); color: #fff; }
.is-dark .service p { color: rgba(255, 255, 255, .65); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* Outils */
.tools { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tools li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); transition: .2s; }
.tools li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.tools li:hover { border-color: var(--ink); transform: translateY(-2px); }
.is-dark .tools li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #fff; }

/* Bandeau CTA */
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: calc(var(--radius) + 8px); background: var(--ink); color: rgba(255, 255, 255, .75); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.2px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent 35%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000); }
.cta-band__glow { position: absolute; width: 520px; height: 520px; right: -140px; bottom: -300px; background: radial-gradient(circle, rgba(229, 40, 33, .55), transparent 62%); }
.cta-band__text, .cta-band__actions { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p:last-child { margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; } }

/* Contact */
.contact-card { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.contact-card li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.contact-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.contact-card small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-card p { margin: 0; color: var(--ink); font-weight: 500; }
.contact-card a { text-decoration: none; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
.map__link { position: absolute; left: 16px; bottom: 16px; display: inline-flex; gap: 6px; align-items: center; background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.map__link:hover { color: #fff; background: var(--red); }

/* Formulaires */
.lead-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.lead-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: .96rem; color: var(--ink); width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 11, 12, .08); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .94rem; }
.alert p { margin: 4px 0 0; }
.alert--success { background: #ECFDF3; color: #0F5132; border: 1px solid #CDEFD9; }
.alert--success .icon { color: var(--green); width: 26px; height: 26px; }
.alert--error { background: var(--red-l); color: #8C1B16; border: 1px solid #F8CFCC; }
.tf-embed { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 200px; }
.tf-embed iframe { display: block; }

/* Accordéons : cursus & FAQ */
.wp-block-details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0 0 12px; transition: border-color .2s, box-shadow .2s; }
.wp-block-details[open] { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.wp-block-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease), background-color .25s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); background-color: var(--red-l); }
.wp-block-details > :not(summary) { padding-inline: 22px; margin-top: 0; }
.wp-block-details > :last-child { padding-bottom: 20px; margin-bottom: 0; }
.wp-block-details p, .wp-block-details li { color: var(--muted); font-size: .96rem; }
.wp-block-details ul { padding-left: 40px; margin-bottom: 1em; }
.wp-block-details li { margin-bottom: 6px; }
.wp-block-details li::marker { color: var(--red); }
.di-curriculum { counter-reset: mod; }
.di-curriculum.is-from-zero { counter-reset: mod -1; }
.di-module summary::before { counter-increment: mod; content: counter(mod, decimal-leading-zero); flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 700; transition: background .25s; }
.di-module[open] summary::before { background: var(--red); }
.di-module .di-tools-line { font-size: .86rem !important; color: var(--ink) !important; font-weight: 600; padding-top: 12px; border-top: 1px dashed var(--line-2); margin-top: 6px; }
.di-module .di-tools-line::before { content: "</> "; color: var(--red); font-family: var(--mono); }
.di-module .di-tag-line { display: inline-block; font-size: .78rem !important; font-weight: 700; color: var(--red) !important; background: var(--red-l); padding: 4px 10px; border-radius: 999px; margin-top: 4px; }
.di-curriculum-tools { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.di-curriculum-tools button { font: inherit; font-size: .86rem; font-weight: 600; background: none; border: 0; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.di-faq .wp-block-details summary { font-size: 1rem; }
.is-dark .wp-block-details { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.is-dark .wp-block-details summary { color: #fff; }
.is-dark .wp-block-details p { color: rgba(255, 255, 255, .7); }

/* Split (texte + visuel) */
.di-split .wp-block-column { display: flex; flex-direction: column; justify-content: center; }
.di-visual { position: relative; }
.di-visual img { border-radius: var(--radius); width: 100%; }
.di-visual.is-mono img { filter: grayscale(1) contrast(1.05); }
.di-visual::after { content: ""; position: absolute; width: 90px; height: 90px; right: -18px; bottom: -18px; border-radius: 18px; background: var(--red); z-index: -1; }

/* Encadré prix */
.price-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 32px; border-radius: var(--radius); background: var(--ink); color: rgba(255, 255, 255, .75); }
.price-box strong { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; display: block; line-height: 1.1; }

/* ==========================================================================
   En-têtes de page
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; background: var(--soft); padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 11, 12, .1) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 85% 30%, #000, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 85% 30%, #000, transparent 60%); }
.page-hero__bg::after { content: ""; position: absolute; right: 8%; top: 50%; width: 180px; height: 180px; border-radius: 50%; border: 1.5px dashed rgba(229, 40, 33, .5); transform: translateY(-50%); }
.page-hero__inner { position: relative; }
.page-hero__title { max-width: 860px; margin-bottom: .3em; }
.page-hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 720px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 500; }
.breadcrumb--light { color: rgba(255, 255, 255, .55); }
.breadcrumb--light a:hover { color: #fff; }
.breadcrumb--light span[aria-current] { color: rgba(255, 255, 255, .9); }

/* Programme */
.p-hero { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .74); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.p-hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 20% 0%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000 10%, transparent 70%); }
.p-hero::after { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(229, 40, 33, .33), transparent 62%); pointer-events: none; }
.p-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.p-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.p-hero__title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); }
.cursor { color: var(--red); animation: blink 1.1s steps(1) infinite; margin-left: 4px; }
.p-hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 620px; margin-bottom: 32px; }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.p-hero__card { background: #fff; color: var(--text); border-radius: calc(var(--radius) + 4px); padding: 10px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.p-hero__img { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8.5; background: #1a1a1c; }
.p-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.05); }
.facts { list-style: none; margin: 0; padding: 12px 16px; display: grid; }
.facts li { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--red); flex: none; }
.facts__icon .icon { width: 1.15em; height: 1.15em; }
.facts small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts strong { color: var(--ink); font-weight: 600; font-size: .94rem; line-height: 1.35; display: block; }
.p-hero__price { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 12px; padding: 16px 18px; }
.p-hero__price small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .6); }
.p-hero__price strong { font-size: 1.45rem; letter-spacing: -.02em; }
.p-hero__price span { font-size: .78rem; font-weight: 600; background: var(--red); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 960px) { .p-hero__inner { grid-template-columns: 1fr; } }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .subnav { top: calc(var(--header-h) + 32px); }
.subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a { display: block; padding: 18px 14px; font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav ul a:hover, .subnav ul a.is-active { color: var(--ink); border-bottom-color: var(--red); }
.subnav .btn { flex: none; }
@media (max-width: 760px) { .subnav .btn { display: none; } }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card__body { padding: 22px; }
.post-card time { font-size: .8rem; color: var(--muted); }
.post-card h2 { font-size: 1.2rem; margin: 6px 0 10px; }
.post-card h2 a { text-decoration: none; }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound__code { font-family: var(--mono); font-size: clamp(3rem, 10vw, 7rem); font-weight: 700; color: var(--red); margin: 0 0 12px; line-height: 1; }
.notfound__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Pages légales */
.di-legal { padding-block: 64px 96px; }
.di-legal h2 { font-size: 1.4rem; margin-top: 2em; }
.di-legal .di-fill { background: #FFF6E5; padding: 0 4px; border-radius: 4px; }

/* ==========================================================================
   Animations d'apparition
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .network[data-reveal] { transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

@media print {
	.site-header, .announce, .site-footer, .mobile-cta, .wa-float, .subnav { display: none !important; }
}
