
.complx-landing { background: #F5F7FA; color: #101828; font-family: "Satoshi","Inter",system-ui,sans-serif; }
html.dark .complx-landing, .dark .complx-landing { background: #0A152E; color: #E8EEFB; }
.complx-landing .complx-logo-img { display:block; height:2.5rem; width:auto; max-width:220px; }
@media (min-width:640px){ .complx-landing .complx-logo-img { height:2.75rem; max-width:240px; } }
.complx-landing #site-header .complx-logo-img {
	height: 3.15rem;
	max-width: 280px;
}
@media (min-width:640px) {
	.complx-landing #site-header .complx-logo-img {
		height: 3.5rem;
		max-width: 300px;
	}
}
.complx-landing #apropos .complx-logo-img,
.complx-landing [data-testid="site-footer"] .complx-logo-img {
	height: 3.15rem;
	max-width: 280px;
}
@media (min-width:640px) {
	.complx-landing #apropos .complx-logo-img,
	.complx-landing [data-testid="site-footer"] .complx-logo-img {
		height: 3.5rem;
		max-width: 300px;
	}
}
.complx-landing #pourquoi .premium-card:not(.value-card--navy) h3 { color:#101828 !important; }
html.dark .complx-landing #pourquoi .premium-card:not(.value-card--navy) h3,
.dark .complx-landing #pourquoi .premium-card:not(.value-card--navy) h3 { color:#fff !important; }
.complx-landing #pourquoi .value-card--navy {
	background: #073B66 !important;
	color: #ffffff !important;
	border-color: #073B66 !important;
}
.complx-landing #pourquoi .value-card--navy h3 {
	color: #ffffff !important;
}
.complx-landing #pourquoi .value-card--navy p {
	color: rgba(255, 255, 255, 0.78) !important;
}
.complx-landing #theme-toggle,
.complx-landing #theme-toggle-mobile {
	background: #ffffff !important;
	border: 1px solid #D9E0E7 !important;
	color: #073B66 !important;
	box-shadow: none !important;
}
html.dark .complx-landing #theme-toggle,
html.dark .complx-landing #theme-toggle-mobile,
.dark .complx-landing #theme-toggle,
.dark .complx-landing #theme-toggle-mobile {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(255, 255, 255, 0.18) !important;
	color: #ffffff !important;
}
.complx-landing #theme-toggle .theme-icon,
.complx-landing #theme-toggle-mobile .theme-icon,
.complx-landing #theme-toggle .theme-icon svg,
.complx-landing #theme-toggle-mobile .theme-icon svg {
	color: inherit !important;
	stroke: currentColor !important;
}
.complx-landing #theme-toggle .theme-moon,
.complx-landing #theme-toggle-mobile .theme-moon {
	color: #073B66 !important;
	stroke: #073B66 !important;
}
html.dark .complx-landing #theme-toggle .theme-sun,
html.dark .complx-landing #theme-toggle-mobile .theme-sun,
.dark .complx-landing #theme-toggle .theme-sun,
.dark .complx-landing #theme-toggle-mobile .theme-sun {
	color: #ffffff !important;
	stroke: #ffffff !important;
}
.complx-landing #certifications h2 { color:#fff !important; }
.complx-landing .complx-header-inner {
	width: 100%;
	max-width: 100rem; /* ~1600px — plus large que max-w-7xl pour le menu */
}
.complx-landing .complx-header-nav,
.complx-landing .complx-header-nav-mobile {
	list-style: none;
	margin: 0;
	padding: 0;
}
.complx-landing .complx-header-nav {
	flex-wrap: nowrap;
}
.complx-landing .complx-header-nav > li,
.complx-landing .complx-header-nav-mobile > li {
	margin: 0;
	padding: 0;
	list-style: none;
	flex-shrink: 0;
}
.complx-landing .complx-header-nav > li {
	position: relative;
}
.complx-landing .complx-header-nav > li > a,
.complx-landing .complx-header-nav-mobile > li > a {
	text-decoration: none;
	white-space: nowrap;
}
.complx-landing .complx-header-nav > li.has-children > a,
.complx-landing .complx-header-nav > li.menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}
.complx-landing .complx-header-nav > li.has-children > a::after,
.complx-landing .complx-header-nav > li.menu-item-has-children > a::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.65;
	margin-top: 1px;
}
.complx-landing .complx-submenu,
.complx-landing .complx-header-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
/* Desktop dropdown */
.complx-landing .complx-submenu--desktop,
.complx-landing .complx-header-nav > li > .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	min-width: 220px;
	padding: 0.45rem 0;
	background: #fff;
	border: 1px solid #D9E0E7;
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
	z-index: 70;
}
.complx-landing .complx-submenu--desktop::before,
.complx-landing .complx-header-nav > li > .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -14px;
	height: 14px;
}
.complx-landing .complx-header-nav > li:hover > .sub-menu,
.complx-landing .complx-header-nav > li:focus-within > .sub-menu,
.complx-landing .complx-header-nav > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
.complx-landing .complx-submenu--desktop li,
.complx-landing .complx-header-nav > li > .sub-menu > li {
	margin: 0;
	padding: 0;
	display: block;
	flex-shrink: 1;
}
.complx-landing .complx-submenu--desktop a,
.complx-landing .complx-header-nav > li > .sub-menu a {
	text-decoration: none;
}
html.dark .complx-landing .complx-submenu--desktop,
html.dark .complx-landing .complx-header-nav > li > .sub-menu,
.dark .complx-landing .complx-submenu--desktop,
.dark .complx-landing .complx-header-nav > li > .sub-menu {
	background: #15264A;
	border-color: rgba(255, 255, 255, 0.14);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
/* Mobile nested */
.complx-landing .complx-submenu--mobile,
.complx-landing .complx-header-nav-mobile .sub-menu {
	display: none;
	padding: 0.15rem 0 0.65rem;
	margin: 0;
	border-bottom: 1px solid rgba(217, 224, 231, 0.7);
}
html.dark .complx-landing .complx-submenu--mobile,
html.dark .complx-landing .complx-header-nav-mobile .sub-menu,
.dark .complx-landing .complx-submenu--mobile,
.dark .complx-landing .complx-header-nav-mobile .sub-menu {
	border-bottom-color: rgba(255, 255, 255, 0.1);
}
.complx-landing .complx-header-nav-mobile > li.has-children > a,
.complx-landing .complx-header-nav-mobile > li.menu-item-has-children > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	border-bottom: 0;
}
.complx-landing .complx-header-nav-mobile > li.has-children > a::after,
.complx-landing .complx-header-nav-mobile > li.menu-item-has-children > a::after {
	content: "+";
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1;
	opacity: 0.7;
}
.complx-landing .complx-header-nav-mobile > li.is-open > a::after {
	content: "−";
}
.complx-landing .complx-header-nav-mobile > li.is-open > .sub-menu,
.complx-landing .complx-header-nav-mobile > li.is-open > .complx-submenu {
	display: block;
}
.complx-landing #commencer [data-testid="final-cta-headline"] { color:#fff !important; }
.complx-landing #apropos h3,
.complx-landing [data-testid="site-footer"] h3 {
	color: #ffffff !important;
}
.complx-landing #newsletter-form [data-testid="newsletter-input"],
.complx-landing #newsletter-input {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: 9999px !important;
	box-shadow: none !important;
}
.complx-landing #newsletter-form [data-testid="newsletter-input"]::placeholder,
.complx-landing #newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.45) !important;
}
.complx-landing #newsletter-form [data-testid="newsletter-submit"],
.complx-landing #newsletter-form button[type="submit"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	background: #ffffff !important;
	color: #073B66 !important;
	border: none !important;
	border-radius: 9999px !important;
	padding: 0.875rem 1.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
	cursor: pointer !important;
	transition: background-color 200ms ease, color 200ms ease, transform 200ms ease !important;
}
.complx-landing #newsletter-form [data-testid="newsletter-submit"]:hover,
.complx-landing #newsletter-form button[type="submit"]:hover {
	background: #f4f1ea !important;
	color: #073B66 !important;
}
.complx-landing #newsletter-form [data-testid="newsletter-submit"] svg,
.complx-landing #newsletter-form button[type="submit"] svg {
	color: inherit !important;
	stroke: currentColor !important;
}
.complx-landing .complx-event-poster {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	isolation: isolate;
}
.complx-landing .complx-event-poster__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.complx-landing .complx-event-poster:hover .complx-event-poster__img {
	transform: scale(1.035);
}
.complx-landing .complx-event-poster__cta {
	z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
	.complx-landing .complx-event-poster__img,
	.complx-landing .complx-event-poster {
		transition: none !important;
	}
}
.complx-landing .complx-cert-img { display:block; width:100%; height:auto; max-width:100%; }
.complx-landing .complx-platform-img { display:block; width:100%; height:auto; max-width:100%; }
.complx-landing .complx-platform-frame {
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 36px 90px rgba(7, 59, 102, 0.16);
	transition: box-shadow 450ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}
.complx-landing .complx-platform-float {
	transform: rotate(1deg);
	transform-origin: center center;
	will-change: transform;
}
.complx-landing .complx-platform-float.reveal {
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.complx-landing .complx-platform-float.reveal:not(.is-visible) {
	opacity: 0;
	transform: rotate(1deg) translateY(22px);
}
.complx-landing .complx-platform-float.is-visible {
	opacity: 1;
	animation: complxPlatformFloat 6.5s ease-in-out infinite;
}
.complx-landing .complx-platform-float:hover .complx-platform-frame {
	transform: translateY(-4px) scale(1.015);
	box-shadow: 0 48px 110px rgba(7, 59, 102, 0.22);
}
@keyframes complxPlatformFloat {
	0%, 100% { transform: rotate(1deg) translateY(0); }
	50% { transform: rotate(1deg) translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
	.complx-landing .complx-platform-float.is-visible { animation: none; }
	.complx-landing .complx-platform-float:hover .complx-platform-frame {
		transform: none;
	}
}
.complx-landing .complx-cert-frame {
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 36px 90px rgba(0, 0, 0, 0.32);
	transition: box-shadow 450ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}
.complx-landing .complx-cert-float {
	transform: rotate(-1.2deg);
	transform-origin: center center;
	will-change: transform;
}
.complx-landing .complx-cert-float.reveal {
	/* keep fade-in; float handles transform once visible */
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.complx-landing .complx-cert-float.reveal:not(.is-visible) {
	opacity: 0;
	transform: rotate(-1.2deg) translateY(22px);
}
.complx-landing .complx-cert-float.is-visible {
	opacity: 1;
	animation: complxCertFloat 6.5s ease-in-out infinite;
}
.complx-landing .complx-cert-float:hover .complx-cert-frame {
	transform: translateY(-4px) scale(1.015);
	box-shadow: 0 48px 110px rgba(0, 0, 0, 0.4);
}
@keyframes complxCertFloat {
	0%, 100% { transform: rotate(-1.2deg) translateY(0); }
	50% { transform: rotate(-1.2deg) translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
	.complx-landing .complx-cert-float.is-visible { animation: none; }
	.complx-landing .complx-cert-float:hover .complx-cert-frame {
		transform: none;
	}
}
.complx-landing .complx-cert-badges {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0.5rem;
	width: 100%;
}
.complx-landing .complx-cert-badge {
	flex: 1 1 0;
	min-width: 0;
	padding: 0.55rem 0.5rem;
	text-align: center;
	border-radius: 0.85rem;
}
.complx-landing .complx-cert-badge .font-display {
	font-size: clamp(0.62rem, 1.35vw, 0.95rem);
	line-height: 1.25;
}
@media (min-width: 640px) {
	.complx-landing .complx-cert-badges { gap: 0.75rem; }
	.complx-landing .complx-cert-badge { padding: 0.75rem 0.85rem; }
}
.complx-landing .hero-media { width:100%; max-width:480px; margin-left:auto; margin-right:auto; }
.complx-landing .hero-portrait-img {
  display:block!important; width:100%!important; height:480px!important; min-height:480px!important;
  object-fit:cover!important; object-position:center top!important; aspect-ratio:auto!important;
}
@media (min-width:640px){
  .complx-landing .hero-portrait-img { height:520px!important; min-height:520px!important; }
}
@media (min-width:1024px){
  .complx-landing .hero-media { max-width:100%; margin-right:0; margin-left:auto; }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Satoshi", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #F5F7FA;
    color: #101828;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.dark body {
    background: #0A152E;
    color: #E8EEFB;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "General Sans", "Satoshi", "Inter", sans-serif;
    letter-spacing: -0.015em;
}

.font-display { font-family: "General Sans", "Satoshi", "Inter", sans-serif; }

.premium-card {
    background: #FFFFFF;
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 400ms ease,
        background-color 400ms ease;
}
.premium-card:hover {
    transform: translateY(-4px);
    border-color: rgba(7, 59, 102, 0.15);
    box-shadow: 0 24px 50px rgba(7, 59, 102, 0.10);
}
.dark .premium-card {
    background: rgba(21, 40, 83, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.dark .premium-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.25rem;
}

.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-glow::before,
.hero-glow::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    animation: glowDrift 14s ease-in-out infinite;
}
.hero-glow::before {
    width: 540px;
    height: 540px;
    top: -140px;
    right: -80px;
    background: radial-gradient(circle, rgba(7, 59, 102, 0.22), transparent 70%);
}
.hero-glow::after {
    width: 500px;
    height: 500px;
    bottom: -160px;
    left: -80px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.25), transparent 70%);
    animation-delay: -7s;
}
.dark .hero-glow::before {
    background: radial-gradient(circle, rgba(99, 139, 220, 0.35), transparent 70%);
    opacity: 0.85;
}
.dark .hero-glow::after {
    background: radial-gradient(circle, rgba(244, 162, 97, 0.22), transparent 70%);
    opacity: 0.6;
}

@keyframes glowDrift {
    0%, 100%   { transform: translate3d(0, 0, 0) scale(1); }
    33%        { transform: translate3d(40px, -30px, 0) scale(1.1); }
    66%        { transform: translate3d(-30px, 20px, 0) scale(0.95); }
}

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.orbit-border {
    position: relative;
    border-radius: 28px;
    padding: 2px;
    background:
        conic-gradient(
            from var(--ang),
            transparent 0deg,
            transparent 260deg,
            rgba(7, 59, 102, 0.0) 270deg,
            #F4A261 285deg,
            #FFD687 295deg,
            transparent 320deg,
            transparent 360deg
        );
    animation: spinBorder 6s linear infinite;
}
.dark .orbit-border {
    background:
        conic-gradient(
            from var(--ang),
            transparent 0deg,
            transparent 260deg,
            #F4A261 285deg,
            #7FC6D9 300deg,
            #86C06C 315deg,
            transparent 340deg,
            transparent 360deg
        );
}
@keyframes spinBorder {
    to { --ang: 360deg; }
}
@supports not (background: conic-gradient(from 0deg, red, blue)) {
    .orbit-border { background: linear-gradient(135deg, #073B66, #F4A261); }
}

.orbit-border-inner {
    border-radius: 26px;
    overflow: hidden;
    background: #FFFFFF;
    position: relative;
}
.dark .orbit-border-inner { background: #0F1E40; }

.noise-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes softFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.float-y { animation: softFloat 7s ease-in-out infinite; }

@keyframes shadowBreathe {
    0%, 100% { box-shadow: 0 30px 80px rgba(7, 59, 102, 0.22); }
    50%      { box-shadow: 0 40px 110px rgba(7, 59, 102, 0.35); }
}
.breathe-shadow { animation: shadowBreathe 6s ease-in-out infinite; }
.dark .breathe-shadow { animation-name: shadowBreatheDark; }
@keyframes shadowBreatheDark {
    0%, 100% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
    50%      { box-shadow: 0 40px 110px rgba(47, 79, 158, 0.45); }
}

@keyframes marqueeX {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.marquee-track { animation: marqueeX 36s linear infinite; }
.mask-fade {
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.link-sweep { position: relative; display: inline-block; }
.link-sweep::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 1.5px;
    width: 0;
    background-color: currentColor;
    transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.link-sweep:hover::after { width: 100%; }

::selection { background: #073B66; color: #FFFFFF; }
.dark ::selection { background: #F4A261; color: #0A152E; }

.divider-dashed {
    background-image: linear-gradient(to right, #C9C2B4 50%, transparent 0%);
    background-position: top;
    background-size: 10px 1px;
    background-repeat: repeat-x;
    height: 1px;
}

.theme-icon { transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease; }
.theme-sun { opacity: 0; transform: scale(0.5) rotate(90deg); pointer-events: none; }
.theme-moon { opacity: 1; transform: scale(1) rotate(0deg); }
html.dark .theme-sun, .dark .theme-sun { opacity: 1; transform: scale(1) rotate(0deg); pointer-events: auto; }
html.dark .theme-moon, .dark .theme-moon { opacity: 0; transform: scale(0.5) rotate(-90deg); pointer-events: none; }

#site-header { top: 0; }
body.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar #site-header { top: 46px; }
}
#site-header.header-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.dark #site-header.header-scrolled {
    background: rgba(10, 21, 46, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#mobile-menu { display: none; }
#mobile-menu.is-open { display: block; }

/* Hero — same as WP landing */
.hero-media { width:100%; max-width:480px; margin-left:auto; margin-right:auto; }
.hero-portrait-img {
  display:block!important; width:100%!important; height:480px!important; min-height:480px!important;
  object-fit:cover!important; object-position:center top!important; aspect-ratio:auto!important;
}
@media (min-width:640px){
  .hero-portrait-img { height:520px!important; min-height:520px!important; }
}
@media (min-width:1024px){
  .hero-media { max-width:100%; margin-right:0; margin-left:auto; }
}
