body.theme-nexus {

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    margin: 0;

    background: #01040e;

    color: #f8fafc;

}



html { scroll-behavior: smooth; }



section { scroll-margin-top: 100px; }



.hp-field { display: none !important; }



/* --- Wave text --- */

@keyframes waveFlow {

    0% { background-position: 0% center; }

    100% { background-position: 200% center; }

}



.nexus-wave {

    background: linear-gradient(90deg, #6366f1, #22d3ee, #34d399, #6366f1);

    background-size: 200% auto;

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    color: transparent;

    display: inline-block;

    animation: waveFlow 3s linear infinite;

    transition: transform 0.3s ease;

}



.nexus-wave:hover {

    animation-play-state: paused;

    transform: scale(1.03);

}



@media (prefers-reduced-motion: reduce) {

    .nexus-wave { animation: none; }

}



/* --- Page shell --- */

.nexus-page {

    position: relative;

    overflow-x: hidden;

    min-height: 100vh;

    padding-bottom: 5rem;

}



.nexus-page__bg {

    position: fixed;

    inset: 0;

    z-index: 0;

    pointer-events: none;

}



.nexus-page__bg-glow {

    position: absolute;

    inset: 0;

    background: radial-gradient(circle at 50% 50%, #0a1628 0%, #020617 45%, #01040e 100%);

    opacity: 1;

}



#nexus-network-canvas {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    opacity: 1;

}



.nexus-network--static {

    display: none;

}



.nexus-page__grid-static {

    display: none;

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    opacity: 0.08;

}



@media (prefers-reduced-motion: reduce) {

    .nexus-page__grid-static {

        display: block;

        opacity: 0.15;

    }

}



.nexus-page__content {

    position: relative;

    z-index: 10;

}



/* --- Nav --- */

.nexus-nav {

    position: fixed;

    top: 1.5rem;

    left: 50%;

    z-index: 100;

    display: flex;

    align-items: center;

    gap: 1.25rem;

    padding: 1rem 1.5rem;

    background: rgba(15, 23, 42, 0.65);

    backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);

    transform: translate(-50%, -120%);

    opacity: 0;

    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;

}



.nexus-nav--visible {

    transform: translate(-50%, 0);

    opacity: 1;

}



.nexus-nav__logo {

    display: flex;

    align-items: center;

    line-height: 0;

    text-decoration: none;

    transition: opacity 0.2s ease;

}



.nexus-nav__logo:hover { opacity: 0.85; }



.nexus-nav__logo-img {

    display: block;

    width: 2rem;

    height: 2rem;

    object-fit: contain;

}



.nexus-nav__links {

    display: none;

    gap: 1.5rem;

    list-style: none;

    margin: 0;

    padding: 0;

}



@media (min-width: 768px) {

    .nexus-nav__links { display: flex; }

}



.nexus-nav__links a {

    font-size: 0.65rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.15em;

    color: #94a3b8;

    text-decoration: none;

    transition: color 0.2s;

}



.nexus-nav__links a:hover { color: #818cf8; }



.nexus-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    text-decoration: none;

    border: none;

    cursor: pointer;

    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.22s ease-out;

    will-change: transform;

}



.nexus-btn--nav {

    font-size: 0.65rem;

    padding: 0.5rem 1.25rem;

    background: #4f46e5;

    color: #fff;

    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));

    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);

}



.nexus-btn--nav:hover {

    background: #6366f1;

    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);

}



.nexus-btn--primary {

    font-size: 1.1rem;

    padding: 1.1rem 2.75rem;

    background: #fff;

    color: #020617;

    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);

    border: 2px solid transparent;

}



.nexus-btn--primary:hover {

    background: #6366f1;

    color: #fff;

    border-color: #818cf8;

    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.4);

}



/* --- Reveal on load --- */

.nexus-reveal {

    opacity: 0;

    transform: translateY(18px);

    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);

}



.nexus-reveal--visible {

    opacity: 1;

    transform: translateY(0);

}



/* --- Hero --- */

.nexus-hero {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 6rem 1.5rem 4rem;

    text-align: center;

}



.nexus-hero__badge {

    display: inline-block;

    padding: 0.5rem 1.25rem;

    margin-bottom: 2rem;

    font-size: 0.65rem;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.2em;

    color: #818cf8;

    border: 1px solid rgba(99, 102, 241, 0.35);

    background: rgba(30, 27, 75, 0.55);

    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));

}



.nexus-hero__title {

    font-size: clamp(3rem, 12vw, 7rem);

    font-weight: 900;

    line-height: 0.95;

    letter-spacing: -0.04em;

    margin: 0 0 1.5rem;

}



.nexus-hero__subtitle {

    font-size: clamp(1.05rem, 2.5vw, 1.75rem);

    font-weight: 300;

    line-height: 1.65;

    color: #94a3b8;

    max-width: 52rem;

    margin: 0 auto 2.5rem;

}



.nexus-hero__subtitle strong {

    color: #f8fafc;

    font-weight: 700;

}



.nexus-stats {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 0.75rem;

    max-width: 44rem;

}



.nexus-stat {

    flex: 1 1 140px;

    max-width: 160px;

    padding: 1rem 0.75rem;

    background: rgba(15, 23, 42, 0.75);

    border: 1px solid #334155;

    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));

    transition: border-color 0.2s;

}



.nexus-stat:hover {

    border-color: rgba(99, 102, 241, 0.5);

}



.nexus-stat__value {

    display: block;

    font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace;

    font-size: 1.65rem;

    font-weight: 800;

    color: #34d399;

    line-height: 1.2;

}



.nexus-stat__label {

    display: block;

    margin-top: 0.35rem;

    font-size: 0.6rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    color: #64748b;

}



/* --- Sections --- */

.nexus-section {

    padding: 6rem 1.5rem;

    max-width: 72rem;

    margin: 0 auto;

}



.nexus-section__title {

    font-size: clamp(1.75rem, 4vw, 2.75rem);

    font-weight: 900;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: -0.02em;

    margin: 0 0 4rem;

}



.nexus-section__title-accent {

    color: #6366f1;

    font-style: italic;

    text-transform: lowercase;

    font-family: Georgia, 'Times New Roman', serif;

    font-weight: 400;

}



/* --- Spotlight cards --- */

.nexus-cards {

    display: grid;

    gap: 1.5rem;

}



@media (min-width: 1024px) {

    .nexus-cards { grid-template-columns: repeat(3, 1fr); }

}



.nexus-card {

    position: relative;

    padding: 2rem;

    background: rgba(15, 23, 42, 0.85);

    border: 1px solid #1e293b;

    overflow: hidden;

    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));

    transition: border-color 0.25s ease;

}



.nexus-card--spotlight::before {

    content: '';

    position: absolute;

    inset: 0;

    opacity: 0;

    background: radial-gradient(

        circle 180px at var(--mouse-x, 50%) var(--mouse-y, 50%),

        rgba(99, 102, 241, 0.18) 0%,

        transparent 70%

    );

    transition: opacity 0.25s ease;

    pointer-events: none;

}



.nexus-card--spotlight:hover::before {

    opacity: 1;

}



.nexus-card--spotlight:hover {

    border-color: rgba(99, 102, 241, 0.45);

}



.nexus-card--indigo:hover { border-color: rgba(99, 102, 241, 0.55); }

.nexus-card--cyan:hover { border-color: rgba(34, 211, 238, 0.55); }

.nexus-card--emerald:hover { border-color: rgba(52, 211, 153, 0.55); }



.nexus-card__icon {

    width: 3.5rem;

    height: 3.5rem;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 1.25rem;

    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));

}



.nexus-card--indigo .nexus-card__icon { background: rgba(99, 102, 241, 0.12); color: #818cf8; }

.nexus-card--cyan .nexus-card__icon { background: rgba(34, 211, 238, 0.12); color: #22d3ee; }

.nexus-card--emerald .nexus-card__icon { background: rgba(52, 211, 153, 0.12); color: #34d399; }



.nexus-card__icon svg {

    width: 1.75rem;

    height: 1.75rem;

}



.nexus-card__title {

    font-size: 1.35rem;

    font-weight: 800;

    margin: 0 0 0.75rem;

}



.nexus-card__desc {

    margin: 0;

    font-size: 1.05rem;

    line-height: 1.65;

    color: #94a3b8;

}



/* --- Programme block --- */

.nexus-programme {

    padding: 6rem 1.5rem;

}



.nexus-programme__inner {

    max-width: 56rem;

    margin: 0 auto;

    padding: 3rem 1.5rem;

    text-align: center;

    background: linear-gradient(135deg, #4f46e5 0%, #312e81 100%);

    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));

    box-shadow: 0 24px 60px rgba(49, 46, 129, 0.45);

}



@media (min-width: 768px) {

    .nexus-programme__inner { padding: 5rem 3rem; }

}



.nexus-programme__title {

    font-size: clamp(1.75rem, 4vw, 3rem);

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: -0.03em;

    margin: 0 0 2rem;

    line-height: 1.1;

}



.nexus-programme__quote {

    font-size: clamp(1.15rem, 2.5vw, 1.75rem);

    font-style: italic;

    font-weight: 300;

    line-height: 1.45;

    color: #e0e7ff;

    margin: 0 0 2rem;

}



.nexus-programme__quote strong {

    color: #fff;

    font-weight: 800;

    font-style: normal;

}



.nexus-programme__tagline {

    font-size: clamp(1.15rem, 2.5vw, 1.75rem);

    font-weight: 800;

    font-style: normal;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    color: #fff;

    margin: 0;

    line-height: 1.45;

}



/* --- Comparatif table --- */

.nexus-comparatif {

    padding: 6rem 1.5rem;

    max-width: 64rem;

    margin: 0 auto;

}



.nexus-comparatif__title {

    font-size: clamp(1.5rem, 3vw, 2.25rem);

    font-weight: 900;

    text-align: center;

    font-style: italic;

    text-transform: uppercase;

    letter-spacing: -0.03em;

    color: #475569;

    margin: 0 0 3rem;

}



.nexus-table-wrap {

    border: 1px solid #1e293b;

    background: rgba(15, 23, 42, 0.55);

    backdrop-filter: blur(8px);

    overflow: hidden;

    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

}



.nexus-table {

    width: 100%;

    border-collapse: collapse;

    text-align: left;

}



.nexus-table thead tr {

    background: rgba(30, 41, 59, 0.85);

    color: #94a3b8;

}



.nexus-table th,

.nexus-table td {

    padding: 1.25rem 1rem;

    vertical-align: top;

}



@media (min-width: 768px) {

    .nexus-table th,

    .nexus-table td { padding: 1.75rem 2rem; }

}



.nexus-table th {

    font-size: 0.7rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;

}



.nexus-table th:last-child {

    color: #818cf8;

    font-size: 1rem;

    letter-spacing: 0;

    text-transform: none;

}



.nexus-table tbody tr {

    border-top: 1px solid #1e293b;

    transition: background 0.15s ease;

}



.nexus-table tbody tr:hover {

    background: rgba(99, 102, 241, 0.06);

}



.nexus-table td:first-child {

    font-weight: 700;

    color: #cbd5e1;

}



.nexus-table td:nth-child(2) {

    color: #94a3b8;

    font-style: normal;

    font-weight: 400;

}



.nexus-table td:last-child,
.nexus-table td:last-child strong {

    color: #f8fafc;

    font-weight: 800;

    font-size: 1.05rem;

}



/* --- CTA --- */

.nexus-cta {

    padding: 8rem 1.5rem 10rem;

    text-align: center;

}



.nexus-cta__title {

    font-size: clamp(2.5rem, 8vw, 5rem);

    font-weight: 900;

    font-style: italic;

    letter-spacing: -0.04em;

    line-height: 1.05;

    margin: 0 0 2rem;

}



.nexus-cta__text {

    font-size: 1.15rem;

    font-weight: 300;

    color: #94a3b8;

    max-width: 36rem;

    margin: 0 auto 3rem;

    line-height: 1.65;

}



/* --- Footer --- */

.nexus-footer {

    padding: 3rem 1.5rem;

    border-top: 1px solid #0f172a;

    text-align: center;

    font-size: 0.65rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.45em;

    color: #475569;

}



/* --- Contact form (existing) --- */

.nexus-form__input {

    width: 100%;

    padding: 0.875rem 1rem;

    border-radius: 0;

    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));

    border: 1px solid #334155;

    background: #0f172a;

    color: #f8fafc;

    font-size: 0.95rem;

}



.nexus-form__input:focus {

    outline: none;

    border-color: #6366f1;

    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35);

}



.nexus-form__submit {

    background: #fff;

    color: #000;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    padding: 1rem 1.5rem;

    border: 2px solid transparent;

    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));

    cursor: pointer;

    transition: background 0.15s, color 0.15s, border-color 0.15s;

    width: 100%;

}



.nexus-form__submit:hover {

    background: #6366f1;

    color: #fff;

    border-color: #818cf8;

}



.nexus-form__alert {

    padding: 2rem;

    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));

    text-align: center;

    font-weight: 700;

}



.nexus-form__alert--success {

    background: rgba(99, 102, 241, 0.15);

    border: 1px solid #6366f1;

    color: #a5b4fc;

}



.nexus-form__alert--error {

    background: rgba(239, 68, 68, 0.1);

    border: 1px solid #ef4444;

    color: #fca5a5;

}



.nexus-form__alert a { color: #c7d2fe; }



/* --- Contact page (layout type gaming) --- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nexus-nav--contact {
    gap: 1rem;
}

.nexus-nav__back {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.nexus-nav__back:hover { color: #fff; }

.nexus-contact-section {
    padding: 7rem 1.5rem 4rem;
    min-height: calc(100vh - 8rem);
}

.nexus-contact-container {
    max-width: 72rem;
    margin: 0 auto;
}

.nexus-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.nexus-contact-info__badge {
    display: inline-block;
    margin: 0 0 1rem;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #818cf8;
}

.nexus-contact-info__title {
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.nexus-contact-info__accent {
    color: #6366f1;
    font-style: italic;
    text-transform: lowercase;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
}

.nexus-contact-info__lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 2.5rem;
    max-width: 34rem;
}

.nexus-contact-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nexus-contact-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.nexus-contact-pillar__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #334155;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    color: #94a3b8;
}

.nexus-contact-pillar__icon svg {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
}

.nexus-contact-pillar--indigo .nexus-contact-pillar__icon {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.35);
}

.nexus-contact-pillar--cyan .nexus-contact-pillar__icon {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.35);
}

.nexus-contact-pillar--emerald .nexus-contact-pillar__icon {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.35);
}

.nexus-contact-pillar__title {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f8fafc;
    margin-bottom: 0.35rem;
}

.nexus-contact-pillar__text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #94a3b8;
    margin: 0;
}

.nexus-contact-form-wrap {
    width: 100%;
}

.nexus-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nexus-contact-form__input {
    width: 100%;
    padding: 1rem;
    background: #0f172a;
    border: 1px solid #334155;
    color: #f8fafc;
    font-size: 0.95rem;
    font-family: inherit;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: border-color 0.2s, box-shadow 0.2s;
}

.nexus-contact-form__input::placeholder {
    color: #64748b;
}

.nexus-contact-form__input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35);
}

.nexus-contact-form__submit {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-top: 0.25rem;
    background: #6366f1;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid transparent;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.nexus-contact-form__submit:hover {
    background: #4f46e5;
    border-color: #818cf8;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.nexus-contact-alert {
    padding: 2rem;
    text-align: center;
    font-weight: 700;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.nexus-contact-alert--success {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid #6366f1;
    color: #a5b4fc;
}

.nexus-contact-alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.nexus-contact-alert a { color: #c7d2fe; }

.nexus-footer__legal {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #818cf8;
    text-decoration: none;
}

.nexus-footer__legal:hover { color: #fff; }

@media (max-width: 900px) {
    .nexus-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .nexus-contact-info__lead { max-width: none; }
}



@media (prefers-reduced-motion: reduce) {

    .nexus-reveal,

    .nexus-nav {

        opacity: 1;

        transform: none;

        transition: none;

    }



    .nexus-nav {

        transform: translate(-50%, 0);

    }



    .nexus-btn,

    .nexus-card,

    .nexus-table tbody tr {

        transition: none;

    }

}

