/* =====================================================================
   NEOSYS | Carrières — charte alignée sur le site corporate 2026
   Fond noir, bleu marine, typographie Plus Jakarta Sans, angles droits.
   ===================================================================== */

:root {
    --nx-bg: #000000;
    --nx-surface: #0a0a0c;
    --nx-bar: #141416;
    --nx-card: #050b1f;
    --nx-card-hover: #081232;
    --nx-border: #13296b;
    --nx-line: rgba(255, 255, 255, 0.12);
    --nx-primary: #0b2a7a;
    --nx-primary-hover: #1239a3;
    --nx-accent: #3d7bff;
    --nx-text: #ffffff;
    --nx-text-soft: #c9cbd3;
    --nx-muted: #8d909c;
    --nx-danger: #ff6b6b;
    --nx-success: #37d67a;
    --nx-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --nx-container: 1320px;
    --nx-gutter: 24px;
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }

body.nx-body {
    margin: 0;
    background: var(--nx-bg);
    color: var(--nx-text);
    font-family: var(--nx-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.nx-body h1, .nx-body h2, .nx-body h3, .nx-body h4, .nx-body h5 {
    font-family: var(--nx-font);
    color: var(--nx-text);
    margin: 0;
}

.nx-body a { color: inherit; }
.nx-body a:hover { text-decoration: none; }
.nx-body img { max-width: 100%; }

.nx-container {
    width: 100%;
    max-width: var(--nx-container);
    margin: 0 auto;
    padding: 0 var(--nx-gutter);
}

.nx-section { padding: 110px 0; }
.nx-section--tight { padding: 72px 0; }

.nx-eyebrow {
    display: inline-block;
    color: var(--nx-accent);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.nx-title {
    font-size: clamp(34px, 4.4vw, 60px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.nx-title--md { font-size: clamp(28px, 3.2vw, 44px); }

.nx-lead {
    color: var(--nx-text-soft);
    font-size: 17px;
    line-height: 1.9;
    margin: 0;
}

/* Titre à gauche, texte séparé par un filet vertical — comme le site corporate */
.nx-split-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.nx-split-head__aside {
    border-left: 2px solid var(--nx-line);
    padding-left: 38px;
}

/* ---------- Boutons ---------- */

.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--nx-font);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.nx-btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.nx-btn:hover svg { transform: translate(2px, -2px); }
.nx-btn--arrow-right:hover svg { transform: translateX(3px); }

.nx-btn--primary { background: var(--nx-primary); color: #fff !important; }
.nx-btn--primary:hover, .nx-btn--primary:focus { background: var(--nx-primary-hover); color: #fff !important; }

.nx-btn--light { background: #fff; color: #0a0a0c !important; }
.nx-btn--light:hover, .nx-btn--light:focus { background: #e6e8ee; color: #0a0a0c !important; }

.nx-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.nx-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.nx-btn--block { width: 100%; }
.nx-btn--lg { padding: 18px 34px; font-size: 17px; }

.nx-btn:disabled, .nx-btn[disabled] { opacity: .6; cursor: not-allowed; }

.nx-body .btn:focus, .nx-btn:focus-visible {
    outline: 2px solid var(--nx-accent);
    outline-offset: 2px;
    box-shadow: none;
}

/* ---------- En-tête ---------- */

.nx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background-color .25s ease;
}

.nx-header.is-scrolled { background: rgba(0, 0, 0, .88); backdrop-filter: blur(8px); }

.nx-navbar {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--nx-bar);
    padding: 14px 14px 14px 26px;
}

.nx-navbar__brand {
    display: flex;
    align-items: center;
    padding-right: 28px;
    border-right: 1px solid var(--nx-line);
}

.nx-navbar__brand img { height: 42px; width: auto; display: block; }

.nx-navbar__menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nx-navbar__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nx-navbar__link svg { width: 13px; height: 13px; opacity: .75; }

.nx-navbar__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.nx-navbar__link:hover::after, .nx-navbar__link.is-active::after { transform: scaleX(1); }

.nx-navbar__actions { display: flex; align-items: center; gap: 22px; }

.nx-navbar__social { display: inline-flex; color: #fff; opacity: .85; transition: opacity .2s ease; }
.nx-navbar__social:hover { opacity: 1; }
.nx-navbar__social svg { width: 24px; height: 24px; }

.nx-navbar__toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--nx-line);
    color: #fff;
    cursor: pointer;
}

.nx-navbar__toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */

.nx-hero { padding: 60px 0 100px; }

.nx-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.nx-hero__title {
    font-size: clamp(40px, 5.2vw, 76px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.045em;
    margin-bottom: 34px;
}

.nx-hero__text {
    border-left: 2px solid var(--nx-line);
    padding-left: 38px;
    margin-bottom: 44px;
}

.nx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-left: 40px; }

.nx-hero__media {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Duotone bleu, identique aux cartes « Portails dédiés » du site corporate */
.nx-hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11, 42, 122, .55) 0%, rgba(5, 11, 31, .85) 100%);
    mix-blend-mode: multiply;
}

.nx-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 55%);
}

.nx-hero__badge {
    position: absolute;
    z-index: 1;
    left: 32px;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}

.nx-stat__value { display: block; font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.nx-stat__label { color: var(--nx-text-soft); font-size: 14px; }

/* ---------- Cartes « valeurs » ---------- */

.nx-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nx-card {
    display: flex;
    flex-direction: column;
    background: var(--nx-card);
    border: 1px solid var(--nx-border);
    padding: 52px 48px 48px;
    transition: background-color .2s ease, transform .2s ease;
}

.nx-card:hover { background: var(--nx-card-hover); transform: translateY(-3px); }

.nx-card__icon { width: 64px; height: 64px; color: #fff; margin-bottom: 40px; }
.nx-card__icon svg { width: 100%; height: 100%; }

.nx-card__title { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px !important; }

.nx-card__text { color: var(--nx-text-soft); font-size: 16px; line-height: 1.85; margin: 0; }

/* ---------- Bloc « À propos » ---------- */

.nx-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.nx-about__media { position: relative; min-height: 460px; background-size: cover; background-position: center; }

.nx-about__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11, 42, 122, .45), rgba(5, 11, 31, .7));
    mix-blend-mode: multiply;
}

.nx-about__body p { color: var(--nx-text-soft); font-size: 17px; line-height: 1.9; margin: 0 0 18px; }
.nx-about__body p:last-child { margin-bottom: 0; }
.nx-about__body strong { color: #fff; font-weight: 700; }

.nx-countries { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }

/* ---------- Offres ---------- */

.nx-offers__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.nx-offers__count { color: var(--nx-muted); font-size: 15px; }
.nx-offers__count strong { color: #fff; }

.nx-search { position: relative; width: 100%; max-width: 420px; }

.nx-search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--nx-muted);
    pointer-events: none;
}

.nx-body .nx-search .form-control { padding-left: 50px; }

.nx-jobs { display: grid; gap: 18px; }

.nx-job {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    background: var(--nx-card);
    border: 1px solid var(--nx-border);
    padding: 34px 40px;
    transition: background-color .2s ease, border-color .2s ease;
}

.nx-job:hover { background: var(--nx-card-hover); border-color: #1d3d96; }

.nx-job__title { font-size: 23px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; margin-bottom: 10px !important; }
.nx-job__title a { color: #fff !important; }
.nx-job__title a:hover { color: var(--nx-text-soft) !important; }

.nx-job__preview { color: var(--nx-text-soft); font-size: 15px; line-height: 1.75; margin: 0 0 20px; }

.nx-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }

.nx-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--nx-line);
    color: var(--nx-text-soft);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.nx-chip svg { width: 15px; height: 15px; color: var(--nx-accent); flex: none; }
.nx-chip--accent { border-color: var(--nx-border); background: rgba(11, 42, 122, .35); color: #fff; }

.nx-empty {
    border: 1px dashed var(--nx-border);
    padding: 64px 32px;
    text-align: center;
    color: var(--nx-text-soft);
}

.nx-empty svg { width: 48px; height: 48px; color: var(--nx-accent); margin-bottom: 18px; }
.nx-empty__title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px !important; }

.nx-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 40px;
    color: var(--nx-text-soft);
    font-size: 15px;
}

/* ---------- Fil d'Ariane & page offre ---------- */

.nx-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    color: var(--nx-muted);
    font-size: 14px;
}

.nx-breadcrumb a { color: var(--nx-text-soft) !important; }
.nx-breadcrumb a:hover { color: #fff !important; }
.nx-breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--nx-muted); }
.nx-breadcrumb [aria-current] { color: #fff; }

.nx-offer-hero { padding: 48px 0 64px; border-bottom: 1px solid var(--nx-line); }

.nx-offer-hero__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
}

.nx-offer-hero__title { font-size: clamp(34px, 4.2vw, 58px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 26px !important; }

.nx-offer { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }

.nx-offer__section + .nx-offer__section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--nx-line); }

.nx-offer__heading { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 22px !important; }

.nx-offer__heading::before { content: ""; width: 28px; height: 2px; background: var(--nx-accent); }

.nx-sidebar { position: sticky; top: 130px; }

.nx-panel { background: var(--nx-card); border: 1px solid var(--nx-border); padding: 34px; }
.nx-panel + .nx-panel { margin-top: 20px; }
.nx-panel__title { font-size: 18px; font-weight: 700; margin-bottom: 20px !important; }

.nx-facts { margin: 0 0 28px; padding: 0; list-style: none; }

.nx-facts li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--nx-line);
    font-size: 15px;
}

.nx-facts li:first-child { padding-top: 0; }
.nx-facts span { color: var(--nx-muted); }
.nx-facts strong { color: #fff; font-weight: 600; text-align: right; }

.nx-share { display: flex; gap: 10px; }

.nx-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--nx-line);
    color: #fff !important;
    transition: background-color .2s ease, border-color .2s ease;
}

.nx-share a:hover { background: var(--nx-primary); border-color: var(--nx-primary); }
.nx-share svg { width: 18px; height: 18px; }

/* Contenu HTML saisi dans le BOARD : on neutralise les styles inline (polices, couleurs noires). */
.nx-richtext, .nx-richtext * {
    font-family: var(--nx-font) !important;
    color: var(--nx-text-soft) !important;
    background: transparent !important;
    letter-spacing: normal !important;
}

.nx-richtext { font-size: 16px; line-height: 1.9; }
.nx-richtext * { font-size: 16px !important; line-height: 1.9 !important; }
.nx-richtext p { margin: 0 0 14px !important; }
.nx-richtext p:last-child { margin-bottom: 0 !important; }
.nx-richtext ul, .nx-richtext ol { margin: 0 0 14px !important; padding-left: 22px !important; }
.nx-richtext li { margin-bottom: 8px !important; }
.nx-richtext li::marker { color: var(--nx-accent); }
.nx-richtext strong, .nx-richtext b { color: #fff !important; font-weight: 700 !important; }
.nx-richtext a { color: var(--nx-accent) !important; text-decoration: underline !important; }
.nx-richtext h1, .nx-richtext h2, .nx-richtext h3, .nx-richtext h4, .nx-richtext h5, .nx-richtext h6 {
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    margin: 24px 0 12px !important;
}

/* ---------- Formulaire de candidature ---------- */

.nx-form { max-width: 1080px; }

.nx-form__step {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    padding: 48px 0;
    border-top: 1px solid var(--nx-line);
}

.nx-form__step:first-of-type { border-top: 0; padding-top: 0; }

.nx-form__step-num { display: block; color: var(--nx-accent); font-size: 14px; font-weight: 700; letter-spacing: .12em; margin-bottom: 10px; }
.nx-form__step-title { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px !important; }
.nx-form__step-title label { margin: 0; font: inherit; }
.nx-form__step-text { color: var(--nx-muted); font-size: 15px; margin: 0; }

.nx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.nx-form__grid .nx-field--full { grid-column: 1 / -1; }

.nx-body .nx-field { margin: 0; }

.nx-body .nx-field label,
.nx-body .nx-field .control-label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.nx-body .nx-field label.required::after { content: " *"; color: var(--nx-accent); }

.nx-body .form-control,
.nx-body .input-group-text {
    height: 54px;
    background: var(--nx-surface);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 0;
    color: #fff;
    font-family: var(--nx-font);
    font-size: 16px;
    padding: 0 18px;
    box-shadow: none;
    transition: border-color .2s ease, background-color .2s ease;
}

.nx-body .form-control::placeholder { color: #6d717d; }

.nx-body .form-control:focus {
    background: #0e0e12;
    border-color: var(--nx-accent);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(61, 123, 255, .18);
}

.nx-body select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9cbd3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 46px;
}

.nx-body select.form-control option { background: #0a0a0c; color: #fff; }

.nx-body .input-group-text { color: var(--nx-text-soft); border-right: 0; padding: 0 14px; }
.nx-body .input-group .form-control { flex: 1 1 auto; min-width: 0; }

.nx-body .field-validation-error,
.nx-body .text-danger,
.nx-body span[data-valmsg-for] { display: block; margin-top: 6px; color: var(--nx-danger) !important; font-size: 13px; }

.nx-body .form-control.input-validation-error { border-color: var(--nx-danger); }

/* Zone de dépôt du CV */
.nx-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 44px 24px;
    border: 1px dashed var(--nx-border);
    background: var(--nx-card);
    text-align: center;
}

.nx-dropzone > svg { width: 42px; height: 42px; color: var(--nx-accent); }
.nx-dropzone__hint { color: var(--nx-muted); font-size: 14px; margin: 0; }
.nx-dropzone .hidden-field { display: none; }

.nx-body .file-preview {
    display: none;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid var(--nx-line);
    background: var(--nx-surface);
    text-align: left;
}

.nx-body .file-preview[style*="block"] { display: flex !important; }

.nx-body .file-preview .img-container {
    flex: none;
    width: 46px;
    height: 46px;
    background: var(--nx-primary) center / cover no-repeat;
}

.nx-body .file-preview .footer { flex: 1; min-width: 0; color: #fff; font-weight: 600; word-break: break-all; }

.nx-body .file-preview .file-type {
    flex: none;
    padding: 4px 10px;
    border: 1px solid var(--nx-border);
    color: var(--nx-accent);
    font-size: 12px;
    font-weight: 700;
}

.nx-body .file-preview .delete-btn {
    flex: none;
    background: transparent;
    border: 1px solid rgba(255, 107, 107, .5);
    border-radius: 0;
    color: var(--nx-danger);
    font-weight: 600;
    padding: 8px 14px;
}

.nx-body .file-preview .delete-btn:hover { background: rgba(255, 107, 107, .12); }

.nx-form__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid var(--nx-line);
}

.nx-form__legal { color: var(--nx-muted); font-size: 13px; max-width: 560px; margin: 0; }

.nx-body .alert { border-radius: 0; font-size: 15px; }
.nx-body .alert-danger { background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .45); color: #ffc4c4; }
.nx-body .application-form-error-summary:empty { display: none; }
.nx-body .application-form-error-summary ul { margin: 0; padding-left: 18px; color: #ffc4c4; }

/* Overlay pendant l'envoi (piloté par bizOpportunity.js via .active) */
#submission-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(4px);
}

#submission-loader-overlay.active { display: flex; }

#submission-loader-overlay .loader-card {
    max-width: 380px;
    margin: 0 20px;
    padding: 40px 36px;
    background: var(--nx-card);
    border: 1px solid var(--nx-border);
    text-align: center;
}

#submission-loader-overlay .loader-spinner {
    width: 46px;
    height: 46px;
    margin: 0 auto 22px;
    border: 3px solid rgba(255, 255, 255, .15);
    border-top-color: var(--nx-accent);
    border-radius: 50%;
    animation: nx-spin .9s linear infinite;
}

#submission-loader-overlay .loader-title { font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 8px; }
#submission-loader-overlay .loader-subtitle { color: var(--nx-text-soft); font-size: 15px; margin: 0; }

@keyframes nx-spin { to { transform: rotate(360deg); } }

/* Confirmation / erreur de candidature */
.nx-result {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 48px;
    background: var(--nx-card);
    border: 1px solid var(--nx-border);
    text-align: center;
}

.nx-result__icon { width: 72px; height: 72px; margin: 0 auto 28px; }
.nx-result__icon--ok { color: var(--nx-success); }
.nx-result__icon--ko { color: var(--nx-danger); }
.nx-result__title { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px !important; }
.nx-result__text { color: var(--nx-text-soft); font-size: 17px; margin: 0 0 8px; }
.nx-result__text a { color: #fff !important; font-weight: 700; text-decoration: underline !important; }
.nx-result__error { color: #ffc4c4; margin: 12px 0 0; }
.nx-result__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Bandeau contact ---------- */

.nx-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 64px;
    background: linear-gradient(120deg, var(--nx-primary) 0%, #06164a 100%);
}

.nx-cta__title { font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 12px !important; }
.nx-cta__text { color: #d5ddf5; font-size: 17px; margin: 0; }
.nx-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Pied de page ---------- */

.nx-footer { background: var(--nx-surface); border-top: 1px solid var(--nx-line); }

.nx-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 56px 0 50px;
    border-bottom: 1px solid var(--nx-line);
}

.nx-footer__top img { height: 76px; width: auto; }

.nx-footer__cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 56px;
    padding: 64px 0;
    border-bottom: 1px solid var(--nx-line);
}

.nx-footer__title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 24px !important; }
.nx-footer__about { color: var(--nx-text-soft); font-size: 16px; line-height: 2; max-width: 620px; margin: 0; }

.nx-footer__links { margin: 0; padding: 0; list-style: none; }
.nx-footer__links li + li { margin-top: 18px; }

.nx-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--nx-text-soft) !important;
    font-size: 16px;
    transition: color .2s ease;
}

.nx-footer__links a:hover { color: #fff !important; }
.nx-footer__links svg { width: 13px; height: 13px; }

.nx-footer__offices li { color: var(--nx-text-soft); font-size: 15px; line-height: 1.6; }
.nx-footer__offices strong { display: block; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .06em; }

.nx-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 34px 0;
    color: var(--nx-text-soft);
    font-size: 15px;
}

.nx-footer__bottom a { color: var(--nx-text-soft) !important; font-weight: 600; }
.nx-footer__bottom a:hover { color: #fff !important; }

.nx-to-top {
    position: fixed;
    left: 32px;
    bottom: 32px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #0a0a0c;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.nx-to-top.is-visible { opacity: 1; visibility: visible; }
.nx-to-top svg { width: 22px; height: 22px; }

/* ---------- Toastr (notifications) ---------- */

#toast-container > div { border-radius: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); opacity: 1; font-family: var(--nx-font); }

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
    .nx-navbar__menu { gap: 24px; }
    .nx-offer { grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; }
    .nx-cards { gap: 24px; }
    .nx-card { padding: 40px 32px; }
}

@media (max-width: 991px) {
    .nx-section { padding: 80px 0; }
    .nx-navbar { flex-wrap: wrap; gap: 0; padding: 12px 12px 12px 20px; }
    .nx-navbar__brand { border-right: 0; padding-right: 0; }
    .nx-navbar__toggle { display: inline-flex; }
    .nx-navbar__menu, .nx-navbar__actions { display: none; width: 100%; }
    .nx-navbar.is-open .nx-navbar__menu { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 0 8px; margin-top: 12px; border-top: 1px solid var(--nx-line); }
    .nx-navbar.is-open .nx-navbar__actions { display: flex; justify-content: space-between; padding: 12px 0 6px; }
    .nx-navbar__link { padding: 10px 0; }

    .nx-hero__grid, .nx-split-head, .nx-about, .nx-offer, .nx-offer-hero__grid, .nx-cta { grid-template-columns: 1fr; }
    .nx-hero__media { min-height: 360px; }
    .nx-cards { grid-template-columns: 1fr; }
    .nx-about__media { min-height: 320px; }
    .nx-sidebar { position: static; }
    .nx-form__step { grid-template-columns: 1fr; gap: 24px; }
    .nx-footer__cols { grid-template-columns: 1fr 1fr; }
    .nx-footer__cols > :first-child { grid-column: 1 / -1; }
    .nx-cta { padding: 44px 32px; }
}

@media (max-width: 640px) {
    :root { --nx-gutter: 16px; }
    .nx-section { padding: 64px 0; }
    .nx-header { padding: 10px 0; }
    .nx-navbar__brand img { height: 34px; }
    .nx-hero { padding: 32px 0 64px; }
    .nx-hero__text, .nx-split-head__aside { padding-left: 22px; }
    .nx-hero__actions { padding-left: 0; }
    .nx-hero__actions .nx-btn { width: 100%; }
    .nx-hero__badge { gap: 22px; left: 22px; right: 22px; bottom: 22px; }
    .nx-stat__value { font-size: 30px; }
    .nx-job { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; }
    .nx-job .nx-btn { width: 100%; }
    .nx-form__grid { grid-template-columns: 1fr; }
    .nx-form__footer .nx-btn { width: 100%; }
    .nx-result { padding: 44px 22px; }
    .nx-footer__cols { grid-template-columns: 1fr; gap: 40px; }
    .nx-footer__top img { height: 56px; }
    .nx-to-top { left: 16px; bottom: 16px; width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
