/* Site public du recrutement : même thème et mêmes effets que le relookage de secusconsulting.org
   (bleu marine #0a2a66 + or #d4a537, Plus Jakarta Sans / Inter). Chargé après style.css, pages publiques seulement. */
:root {
  --sx-navy: #0a2a66; --sx-navy-2: #123a80; --sx-night: #071c46;
  --sx-gold: #d4a537; --sx-gold-2: #ecc76a; --sx-gold-3: #a77c1c; --sx-gold-soft: #fbf6e8;
  --sx-ink: #1b2233; --sx-text: #4a5263; --sx-muted: #6b7385; --sx-line: #e6e9ef; --sx-grey: #f5f6f8;
  --sx-r: 14px; --sx-r-sm: 8px;
  --sx-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sx-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* on aligne les variables de style.css sur la nouvelle palette */
  --navy: var(--sx-navy); --navy-3: var(--sx-navy-2); --gold: var(--sx-gold); --gold-2: var(--sx-gold-2);
  --gold-dark: var(--sx-gold-3); --gold-soft: var(--sx-gold-soft); --text: var(--sx-ink); --muted: var(--sx-muted); --border: var(--sx-line);
}
body { background: #fff; font-family: var(--sx-body); color: var(--sx-ink); }
h1, h2, h3 { font-family: var(--sx-head); color: var(--sx-ink); }
.sx-wrap { width: min(1240px, 92vw); margin: 0 auto; }
@media (min-width: 1200px) { .sx-wrap { width: min(1320px, 94vw); } }

/* ---------- En-tête ---------- */
.sx-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sx-line); transition: box-shadow .3s; }
.sx-scrolled .sx-header { box-shadow: 0 8px 30px rgba(20,28,45,.10); }
.sx-header .sx-wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; transition: min-height .3s; }
.sx-scrolled .sx-header .sx-wrap { min-height: 64px; }
.sx-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.sx-logo img { height: 52px; width: auto; display: block; transition: height .3s; }
.sx-scrolled .sx-logo img { height: 44px; }
.sx-logo span { display: flex; flex-direction: column; line-height: 1.15; padding-left: 12px; border-left: 1px solid var(--sx-line);
  font: 700 15px var(--sx-head); color: var(--sx-navy); }
.sx-logo small { font: 600 10.5px var(--sx-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sx-gold-3); margin-top: 2px; }
.sx-nav { display: flex; align-items: center; gap: 6px; }
.sx-nav a { color: var(--sx-ink); text-decoration: none; font: 500 14.5px var(--sx-body); padding: 8px 12px; border-radius: 6px; position: relative; }
.sx-nav a:not(.sx-btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--sx-gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.sx-nav a:not(.sx-btn):hover::after { transform: scaleX(1); }
.sx-nav .sx-btn { margin-left: 8px; padding: 10px 18px; font-size: 14px; }
@media (max-width: 860px) {
  .sx-nav a:not(.sx-btn) { display: none; }
  .sx-logo img { height: 42px; } .sx-scrolled .sx-logo img { height: 38px; }
  .sx-logo span { font-size: 13px; padding-left: 10px; }
  .sx-header .sx-wrap { min-height: 64px; gap: 10px; }
}
@media (max-width: 420px) { .sx-logo span { display: none; } }

/* Barre de progression de lecture */
.sx-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 40; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--sx-gold-3), var(--sx-gold), var(--sx-gold-2)); pointer-events: none; }

/* ---------- Boutons ---------- */
.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: var(--sx-r-sm);
  font: 600 15px var(--sx-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.sx-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-120%) skewX(-20deg); }
.sx-btn:hover::after { animation: sx-brille .8s ease; }
.sx-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(10,42,102,.55); }
.sx-btn-navy { background: var(--sx-navy); color: #fff; }
.sx-btn-navy:hover { background: var(--sx-gold); color: var(--sx-night); }
.sx-btn-gold { background: var(--sx-gold); color: var(--sx-night); }
.sx-btn-gold:hover { background: #fff; color: var(--sx-navy); }
.sx-btn-line { background: transparent; color: var(--sx-navy); border-color: rgba(10,42,102,.25); }
.sx-btn-line:hover { border-color: var(--sx-navy); background: #fff; }
.sx-btn-line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.sx-btn-line-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.sx-btn i { font-size: .9em; }

/* ---------- Petits titres ---------- */
.sx-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px var(--sx-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--sx-gold-3); margin-bottom: 14px; }
.sx-kicker::before { content: ""; width: 28px; height: 2px; background: var(--sx-gold); }
.sx-kicker::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sx-gold); margin-left: 4px; animation: sx-pouls 2.2s ease-out infinite; }
.sx-kicker.sx-light { color: var(--sx-gold-2); }
.sx-h2 { font: 300 clamp(28px, 3vw, 40px)/1.15 var(--sx-head); letter-spacing: -.02em; margin: 0 0 12px; color: var(--sx-ink); }
.sx-h2 strong { font-weight: 700; color: var(--sx-navy); }
.sx-lead { color: var(--sx-text); font-size: 16.5px; line-height: 1.7; margin: 0; max-width: 640px; }
.sx-section { padding: 56px 0; }
.sx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }

/* ---------- Héros ---------- */
.sx-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--sx-grey) 100%); }
.sx-hero .sx-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 40px 0 48px; }
.sx-hero h1 { font: 300 clamp(34px, 4vw, 54px)/1.12 var(--sx-head); letter-spacing: -.025em; margin: 0 0 18px; color: var(--sx-ink); }
.sx-hero h1 strong { font-weight: 700; color: var(--sx-navy); position: relative; white-space: nowrap; }
.sx-hero h1 strong::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em; background: var(--sx-gold); opacity: .55;
  transform-origin: left; animation: sx-tracer .9s .6s cubic-bezier(.2,.7,.2,1) backwards; z-index: -1; }
.sx-hero p.sx-lead { margin-bottom: 26px; }
.sx-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sx-values-inline { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; color: var(--sx-text); font: 500 14px var(--sx-body); }
.sx-values-inline i { color: var(--sx-gold); margin-right: 7px; }

/* Panneau visuel en diagonale : mosaïque des métiers */
.sx-hero-visual { position: relative; min-height: 440px; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); background: var(--sx-navy);
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; animation: sx-monter .9s .2s cubic-bezier(.2,.7,.2,1) backwards; }
.sx-hero-visual .sx-tile { position: relative; overflow: hidden; }
.sx-hero-visual .sx-tile:only-child { grid-column: 1 / -1; grid-row: 1 / -1; }
.sx-hero-visual .sx-tile:first-child:nth-last-child(2), .sx-hero-visual .sx-tile:first-child:nth-last-child(2) ~ .sx-tile { grid-row: 1 / -1; }
.sx-hero-visual .sx-tile:first-child:nth-last-child(3) { grid-row: 1 / -1; }
.sx-hero-visual .sx-tile .sx-media { position: absolute; inset: 0; animation: sx-respire 9s ease-out both; }
.sx-hero-visual .sx-tile-label { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; font: 600 13px var(--sx-body);
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; background: rgba(7,28,70,.55); backdrop-filter: blur(4px); }
.sx-hero-visual .sx-tile-label i { color: var(--sx-gold-2); }
.sx-hero-visual .sx-tile:first-child .sx-tile-label { left: 22%; }
.sx-hero-card { position: absolute; right: 18px; top: 18px; z-index: 3; background: #fff; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 18px 40px -16px rgba(7,28,70,.55); display: flex; gap: 12px; align-items: center; animation: sx-flotte 5s ease-in-out infinite; }
.sx-hero-card b { display: block; font: 700 22px/1 var(--sx-head); color: var(--sx-navy); }
.sx-hero-card span { font: 500 12.5px var(--sx-body); color: var(--sx-muted); }
.sx-hero-card .sx-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--sx-gold-soft); color: var(--sx-gold-3); }

/* ---------- Visuel d'un métier : photo, ou à défaut un visuel graphique avec l'icône ---------- */
.sx-media { position: relative; background-size: cover; background-position: center 35%; background-color: var(--sx-navy); }
.sx-media.sx-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,28,70,0) 50%, rgba(7,28,70,.55) 100%); }
.sx-media.sx-vide { background: radial-gradient(120% 90% at 85% 10%, rgba(212,165,55,.28), transparent 55%),
  linear-gradient(var(--sx-angle, 150deg), var(--sx-navy) 0%, var(--sx-night) 100%); display: grid; place-items: center; overflow: hidden; }
.sx-media.sx-vide::before { content: ""; position: absolute; inset: 0; opacity: .09;
  background-image: linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 34px 34px; }
.sx-media.sx-vide .sx-big-ic { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  font-size: 36px; color: var(--sx-gold-2); border: 1.5px solid rgba(236,199,106,.45); background: rgba(255,255,255,.04);
  box-shadow: 0 0 0 14px rgba(236,199,106,.06), 0 0 0 30px rgba(236,199,106,.035); }
.sx-media.sx-vide .sx-ghost-ic { position: absolute; right: -6%; bottom: -14%; font-size: 170px; color: rgba(255,255,255,.045); transform: rotate(-12deg); }
.sx-v1 { --sx-angle: 150deg; } .sx-v2 { --sx-angle: 200deg; } .sx-v3 { --sx-angle: 115deg; } .sx-v4 { --sx-angle: 240deg; }

/* ---------- Chiffres ---------- */
.sx-stats { background: #fff; border-top: 1px solid var(--sx-line); border-bottom: 1px solid var(--sx-line); }
.sx-stats .sx-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.sx-stat { padding: 24px 20px; border-left: 1px solid var(--sx-line); }
.sx-stat:first-child { border-left: 0; padding-left: 0; }
.sx-stat b { display: block; font: 300 34px/1.1 var(--sx-head); color: var(--sx-navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sx-stat b em { font-style: normal; color: var(--sx-gold); }
.sx-stat span { display: block; margin-top: 6px; font: 500 13.5px var(--sx-body); color: var(--sx-muted); }

/* ---------- Bandeau défilant ---------- */
.sx-marquee { background: var(--sx-navy); color: #fff; overflow: hidden; padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sx-marquee-track { display: flex; width: max-content; animation: sx-defile 38s linear infinite; }
.sx-marquee:hover .sx-marquee-track { animation-play-state: paused; }
.sx-marquee span { display: inline-flex; align-items: center; gap: 12px; padding: 0 26px; font: 600 14px var(--sx-body); letter-spacing: .04em; white-space: nowrap; color: #e8edf7; }
.sx-marquee span i { color: var(--sx-gold-2); font-size: 13px; }

/* ---------- Cartes métiers ---------- */
.sx-jobs { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sx-job { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sx-line); border-radius: var(--sx-r); overflow: hidden;
  text-decoration: none; color: inherit; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.sx-job:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(10,42,102,.45); border-color: rgba(212,165,55,.55); }
.sx-job-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.sx-job-img .sx-media { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sx-job:hover .sx-job-img .sx-media { transform: scale(1.06); }
.sx-job-badge { position: absolute; left: 18px; bottom: -22px; z-index: 2; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sx-gold); color: var(--sx-night); font-size: 19px; box-shadow: 0 10px 22px -10px rgba(7,28,70,.6); transition: transform .3s; }
.sx-job:hover .sx-job-badge { transform: rotate(-6deg) scale(1.06); }
.sx-job-num { position: absolute; right: 14px; top: 12px; z-index: 2; font: 600 12px var(--sx-body); letter-spacing: .12em; color: rgba(255,255,255,.85); }
.sx-job-body { padding: 34px 22px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sx-job h3 { margin: 0; font: 700 19px/1.25 var(--sx-head); color: var(--sx-navy); }
.sx-job p { margin: 0; color: var(--sx-text); font-size: 14.5px; line-height: 1.6; flex: 1; }
.sx-job-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--sx-line); }
.sx-job-foot small { color: var(--sx-muted); font-size: 12.5px; display: inline-flex; gap: 6px; align-items: center; }
.sx-job-foot small i { color: var(--sx-gold); }
.sx-job-go { font: 600 14px var(--sx-body); color: var(--sx-navy); display: inline-flex; gap: 8px; align-items: center; }
.sx-job-go i { transition: transform .25s; }
.sx-job:hover .sx-job-go { color: var(--sx-gold-3); }
.sx-job:hover .sx-job-go i { transform: translateX(4px); }
.sx-empty { text-align: center; padding: 48px 20px; border: 1.5px dashed var(--sx-line); border-radius: var(--sx-r); color: var(--sx-muted); }
.sx-empty i { display: block; font-size: 28px; color: var(--sx-gold); margin-bottom: 10px; }

/* ---------- Étapes ---------- */
.sx-grey { background: var(--sx-grey); }
.sx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: etape; }
.sx-step { position: relative; background: #fff; border-radius: var(--sx-r); padding: 26px 24px 24px; border: 1px solid var(--sx-line); overflow: hidden; }
.sx-step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--sx-gold), var(--sx-gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform .9s .25s cubic-bezier(.2,.7,.2,1); }
.sx-step.sx-visible::before { transform: scaleX(1); }
.sx-step-n { font: 300 44px/1 var(--sx-head); color: var(--sx-gold); letter-spacing: -.03em; display: block; margin-bottom: 14px; }
.sx-step h3 { font: 700 18px var(--sx-head); color: var(--sx-navy); margin: 0 0 6px; }
.sx-step p { margin: 0; color: var(--sx-text); font-size: 14.5px; line-height: 1.65; }
.sx-step i.sx-step-ic { position: absolute; right: 20px; top: 24px; font-size: 22px; color: rgba(10,42,102,.14); }

/* ---------- Bande d'appel ---------- */
.sx-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--sx-navy) 0%, var(--sx-night) 100%); color: #fff; border-radius: var(--sx-r);
  padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.sx-cta::before { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,55,.35), transparent 65%); }
.sx-cta > * { position: relative; }
.sx-cta h2 { font: 300 clamp(24px, 2.6vw, 32px)/1.2 var(--sx-head); color: #fff; margin: 0 0 6px; letter-spacing: -.02em; }
.sx-cta h2 strong { font-weight: 700; color: var(--sx-gold-2); }
.sx-cta p { margin: 0; color: #c9d3e5; max-width: 560px; }

/* ---------- Pied de page ---------- */
.sx-footer { background: var(--sx-night); color: #aab6cc; font-size: 14px; margin-top: 0; }
.sx-footer .sx-wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 26px 0; }
.sx-footer a { color: #d9e1f0; text-decoration: none; }
.sx-footer a:hover { color: var(--sx-gold-2); }
.sx-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.sx-footer .sx-foot-brand { display: flex; align-items: center; gap: 12px; }
.sx-footer .sx-foot-brand img { height: 40px; background: #fff; border-radius: 8px; padding: 4px 8px; }

/* ---------- Page « Postuler » ---------- */
.sx-hero.sx-compact .sx-wrap { grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 26px 0 34px; }
.sx-hero.sx-compact h1 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 12px; }
.sx-hero.sx-compact .sx-hero-visual { min-height: 320px; display: block; }
.sx-hero.sx-compact .sx-hero-visual .sx-media { position: absolute; inset: 0; animation: sx-respire 9s ease-out both; }
.sx-back { display: inline-flex; gap: 8px; align-items: center; color: var(--sx-text); text-decoration: none; font: 500 14px var(--sx-body); margin-bottom: 18px; }
.sx-back:hover { color: var(--sx-navy); }
.sx-back i { transition: transform .2s; }
.sx-back:hover i { transform: translateX(-3px); }
.sx-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.sx-meta span { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--sx-line); border-radius: 999px; padding: 7px 14px;
  font: 500 13.5px var(--sx-body); color: var(--sx-ink); }
.sx-meta i { color: var(--sx-gold); }
.sx-form-wrap { width: min(860px, 92vw); margin: 0 auto; padding: 34px 0 60px; }
.progress { top: 76px; height: 4px; background: rgba(10,42,102,.08); }
.sx-scrolled .progress { top: 64px; }
@media (max-width: 860px) { .progress, .sx-scrolled .progress { top: 64px; } }
.progress > div { background: linear-gradient(90deg, var(--sx-gold-3), var(--sx-gold), var(--sx-gold-2)); }

/* Formulaire : sections en cartes, numéros or */
.form-section { border-radius: var(--sx-r); box-shadow: none; border: 1px solid var(--sx-line); padding: 26px 26px; margin-bottom: 20px; position: relative; overflow: hidden; }
.form-section::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sx-gold); transform: scaleY(0);
  transform-origin: top; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.form-section:focus-within::before { transform: scaleY(1); }
.form-section-head h2 { font: 700 19px var(--sx-head); color: var(--sx-navy); }
.num { background: var(--sx-gold-soft); color: var(--sx-gold-3); font-family: var(--sx-head); border: 1px solid rgba(212,165,55,.4); }
input:focus, select:focus, textarea:focus { border-color: var(--sx-gold); box-shadow: 0 0 0 4px rgba(212,165,55,.18); }
.btn { font-family: var(--sx-body); }
.btn.block { background: var(--sx-navy); color: #fff; position: relative; overflow: hidden; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.btn.block:hover { background: var(--sx-gold); color: var(--sx-night); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(10,42,102,.55); }
.btn.block::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-120%) skewX(-20deg); }
.btn.block:hover::after { animation: sx-brille .8s ease; }

/* Pages simples (merci, erreur, confidentialité) */
main.plain { background: var(--sx-grey); padding: 40px 0 60px; min-height: 52vh; }
main.plain .card { border-radius: var(--sx-r); box-shadow: 0 24px 50px -30px rgba(10,42,102,.35); border-color: var(--sx-line); }
main.plain h1 { font: 300 clamp(26px, 3vw, 34px)/1.2 var(--sx-head); letter-spacing: -.02em; }
.prose h3 { font: 700 17px var(--sx-head); color: var(--sx-navy); }
.btn.secondary { border-color: rgba(10,42,102,.25); }
main.plain .btn:not(.secondary) { background: var(--sx-navy); color: #fff; }
main.plain .btn:not(.secondary):hover { background: var(--sx-gold); color: var(--sx-night); }

/* ---------- Apparitions au défilement ---------- */
[data-sx] { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--sx-d, 0ms); }
[data-sx="gauche"] { transform: translateX(-34px); }
[data-sx="droite"] { transform: translateX(34px); }
[data-sx="zoom"] { transform: scale(.94); }
[data-sx].sx-visible { opacity: 1; transform: none; }
.no-js [data-sx] { opacity: 1; transform: none; }

@keyframes sx-monter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes sx-pouls { 0% { box-shadow: 0 0 0 0 rgba(212,165,55,.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(212,165,55,0); } }
@keyframes sx-respire { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes sx-tracer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sx-defile { to { transform: translateX(-50%); } }
@keyframes sx-brille { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }
@keyframes sx-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Tablette / mobile ---------- */
@media (max-width: 960px) {
  .sx-hero .sx-wrap, .sx-hero.sx-compact .sx-wrap { grid-template-columns: 1fr; gap: 26px; padding: 20px 0 30px; }
  .sx-hero-visual { clip-path: none; border-radius: var(--sx-r); min-height: 300px; }
  .sx-hero-visual .sx-tile:first-child .sx-tile-label { left: 14px; }
  .sx-hero.sx-compact .sx-hero-visual { min-height: 220px; }
  .sx-steps { grid-template-columns: 1fr; }
  .sx-stats .sx-wrap { grid-template-columns: 1fr 1fr; }
  .sx-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .sx-stat:nth-child(n+3) { border-top: 1px solid var(--sx-line); }
  .sx-section { padding: 40px 0; }
  .sx-cta { padding: 30px 24px; }
}
@media (max-width: 560px) {
  .sx-wrap, .sx-form-wrap { width: auto; margin-left: 16px; margin-right: 16px; }
  .sx-hero h1 strong { white-space: normal; }
  .sx-stat { padding: 16px 12px; } .sx-stat b { font-size: 28px; }
  .sx-marquee span { padding: 0 18px; font-size: 13px; }
  .sx-actions .sx-btn { flex: 1; }
  .form-section { padding: 20px 16px; }
  .sx-hero-card { right: 10px; top: 10px; padding: 9px 12px; }
  .sx-hero-card b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-marquee-track, .sx-kicker::after, .sx-hero-visual, .sx-hero-visual .sx-media, .sx-hero-card, .sx-hero h1 strong::after { animation: none !important; }
  [data-sx] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sx-progress { display: none; }
}
main { padding-bottom: 0; }
main.sx-form-main { background: var(--sx-grey); }
main.public > .container { margin-top: 24px; }
.sx-stat b span { display: inline; font: inherit; color: inherit; margin: 0; }
.sx-nav a.sx-btn-navy { color: #fff; }
.sx-nav a.sx-btn-navy:hover { color: var(--sx-night); }
.sx-job-img { overflow: visible; }
.sx-job-clip { position: absolute; inset: 0; overflow: hidden; }

/* ---------- En-tête bleu marine (même bleu que le bandeau défilant) ---------- */
.sx-header { background: rgba(10,42,102,.98); border-bottom-color: rgba(255,255,255,.08); }
.sx-scrolled .sx-header { box-shadow: 0 8px 30px rgba(7,28,70,.35); }
.sx-logo img { background: #fff; border-radius: 10px; padding: 4px 9px; height: 50px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.45); }
.sx-scrolled .sx-logo img { height: 44px; }
.sx-logo span { color: #fff; border-left-color: rgba(255,255,255,.18); }
.sx-logo small { color: var(--sx-gold-2); }
.sx-nav a { color: #e8edf7; }
.sx-nav a:not(.sx-btn):hover { color: #fff; }
.sx-nav a.sx-btn-navy { background: var(--sx-gold); color: var(--sx-night); }
.sx-nav a.sx-btn-navy:hover { background: #fff; color: var(--sx-navy); }
@media (max-width: 860px) { .sx-logo img { height: 42px; } }

/* ---------- Arrière-plan tamisé et animé du héros ---------- */
.sx-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, #f3f5f9 0%, #eceff6 100%); }
.sx-hero-bg::before { content: ""; position: absolute; inset: -60px; opacity: .55;
  background-image: linear-gradient(rgba(10,42,102,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(10,42,102,.07) 1px, transparent 1px);
  background-size: 56px 56px; animation: sx-grille 40s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%); }
.sx-hero-bg::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 120px, rgba(255,255,255,.35) 120px 122px, transparent 122px 260px); opacity: .6; }
.sx-hero-bg span { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.sx-hero-bg span:nth-child(1) { width: 520px; height: 520px; left: -140px; top: -180px; background: rgba(212,165,55,.26); animation: sx-derive-a 22s ease-in-out infinite alternate; }
.sx-hero-bg span:nth-child(2) { width: 620px; height: 620px; left: 30%; bottom: -380px; background: rgba(10,42,102,.16); animation: sx-derive-b 26s ease-in-out infinite alternate; }
.sx-hero-bg span:nth-child(3) { width: 380px; height: 380px; left: 42%; top: -120px; background: rgba(88,140,230,.18); animation: sx-derive-c 18s ease-in-out infinite alternate; }
@keyframes sx-grille { to { transform: translate(56px, 56px); } }
@keyframes sx-derive-a { to { transform: translate(140px, 90px) scale(1.12); } }
@keyframes sx-derive-b { to { transform: translate(-160px, -60px) scale(.92); } }
@keyframes sx-derive-c { to { transform: translate(90px, 120px) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .sx-hero-bg::before, .sx-hero-bg span { animation: none !important; } }

/* Logo version « fond foncé » (bleu marine et noir passés en blanc, or conservé) : sans pastille */
.sx-logo img, .sx-footer .sx-foot-brand img { background: transparent; padding: 0; border-radius: 0; box-shadow: none; }
.sx-logo img { height: 56px; }
.sx-scrolled .sx-logo img { height: 46px; }
@media (max-width: 860px) { .sx-logo img, .sx-scrolled .sx-logo img { height: 44px; } }
