/* ==========================================================
   Perfect Soft & Training — design system du site public
   ========================================================== */
:root {
  --pst-brand: #2a93cf;
  --pst-brand-dark: #1a6fa8;
  --pst-navy: #0b1d33;
  --pst-ink: #0f172a;
  --pst-body: #475569;
  --pst-muted: #64748b;
  --pst-line: #e2e8f0;
  --pst-soft: #f6f9fc;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 29, 51, .35);
}

body { font-family: 'Inter', system-ui, sans-serif; color: var(--pst-body); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--pst-ink); letter-spacing: -.02em; }
.font-display { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; letter-spacing: -.02em; }
img { max-width: 100%; }

/* ---------- Layout ---------- */
.container-site { max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container-site { padding-inline: 2rem; } }
.section { padding-block: 5rem; }
@media (min-width: 1024px) { .section { padding-block: 6.5rem; } }
.section-soft { background: var(--pst-soft); }
.section-dark { background: var(--pst-navy); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ---------- Typographie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pst-brand-text, var(--pst-brand)); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.center::after { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.h-section { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.15; font-weight: 800; margin-top: .9rem; }
.lead { font-size: 1.1rem; line-height: 1.75; color: var(--pst-body); }
.section-dark .lead { color: #94a3b8; }
.text-gradient { background: linear-gradient(90deg, #7cc8f0, var(--pst-brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.5rem; border-radius: 12px; font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.btn-primary { background: var(--pst-btn, var(--pst-brand)); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--pst-brand) 80%, transparent); }
.btn-primary:hover { background: var(--pst-btn-hover, var(--pst-brand-dark)); transform: translateY(-2px); color: #fff; }
.btn-light { background: #fff; color: var(--pst-ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-outline { border: 1.5px solid var(--pst-line); color: var(--pst-ink); background: #fff; }
.btn-outline:hover { border-color: var(--pst-brand); color: var(--pst-brand-text, var(--pst-brand)); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--pst-brand-text, var(--pst-brand)); text-decoration: none; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--pst-navy); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,19,31,.94) 0%, rgba(11,29,51,.85) 42%, rgba(11,29,51,.35) 75%, rgba(11,29,51,.2) 100%); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; font-weight: 800; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem .45rem .5rem; border-radius: 999px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); font-size: .85rem; color: #e2e8f0; backdrop-filter: blur(6px); }
.hero-badge span { background: var(--pst-btn, var(--pst-brand)); color: #fff; border-radius: 999px; padding: .15rem .6rem; font-weight: 600; font-size: .75rem; }

/* ---------- Hero pages internes ---------- */
.page-hero { position: relative; color: #fff; background: var(--pst-navy); overflow: hidden; padding: 5.5rem 0 4.5rem; }
@media (min-width: 1024px) { .page-hero { padding: 7rem 0 6rem; } }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,19,31,.93) 0%, rgba(11,29,51,.8) 55%, rgba(11,29,51,.45) 100%); }
.page-hero > .container-site { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.1; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #94a3b8; margin-bottom: 1.25rem; }
.breadcrumb a { color: #cbd5e1; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cartes ---------- */
.card { background: #fff; border: 1px solid var(--pst-line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-media { position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 10; background: #e2e8f0; }
.card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-hover:hover .card-media > img { transform: scale(1.06); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem;
  background: color-mix(in srgb, var(--pst-brand) 12%, #fff); color: var(--pst-brand); }
.tag { display: inline-flex; align-items: center; padding: .28rem .65rem; border-radius: 8px; font-size: .75rem; font-weight: 600; background: #f1f5f9; color: #334155; }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }

/* ---------- Image cadrée ---------- */
.img-frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #e2e8f0; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-accent { position: absolute; z-index: -1; border-radius: 24px; background: color-mix(in srgb, var(--pst-brand) 14%, transparent); }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 1rem 1.15rem; display: flex; align-items: center; gap: .85rem; }

/* ---------- Chiffres ---------- */
.stat-value { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1; color: var(--pst-ink); letter-spacing: -.03em; }
.section-dark .stat-value { color: #fff; }

/* ---------- Logos clients ---------- */
.logo-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.25rem 3rem; }
.logo-strip img { height: 56px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Étapes ---------- */
.step-num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--pst-navy); color: #fff; flex-shrink: 0; }

/* ---------- Filtres ---------- */
.filter-btn { padding: .6rem 1.1rem; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--pst-body); background: #fff; border: 1px solid var(--pst-line); transition: all .2s; cursor: pointer; }
.filter-btn:hover { border-color: var(--pst-brand); color: var(--pst-brand-text, var(--pst-brand)); }
.filter-btn.is-active { background: var(--pst-navy); border-color: var(--pst-navy); color: #fff; }

/* ---------- Formulaires ---------- */
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--pst-ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: .95rem; color: var(--pst-ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pst-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pst-brand) 15%, transparent); }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; color: #fff; background: var(--pst-navy); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11,29,51,.97) 30%, color-mix(in srgb, var(--pst-brand) 55%, transparent)); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }

/* ---------- Divers ---------- */
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .7rem; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; margin-top: .15rem; background: color-mix(in srgb, var(--pst-brand) 14%, #fff); color: var(--pst-brand); }
.section-dark .check-list li::before { background: rgba(255,255,255,.1); color: #7cc8f0; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--pst-brand), var(--pst-navy)); flex-shrink: 0; }
.quote-mark { font-family: Georgia, serif; font-size: 4rem; line-height: 1; color: color-mix(in srgb, var(--pst-brand) 35%, transparent); }
.is-hidden { display: none !important; }

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

/* Le bloc décoratif reste visible quelle que soit la couleur de fond */
.relative:has(> .img-accent) { isolation: isolate; }

/* FAQ : masque le marqueur natif de <summary> */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }

/* ==========================================================
   Impression / « Télécharger la fiche » (Ctrl+P → Enregistrer en PDF)
   ========================================================== */
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  body { background: #fff !important; color: #111 !important; font-size: 11pt; }
  .pst-topbar, .pst-header, .pst-drawer, .pst-wa, .pst-announce, .pst-footer, .no-print,
  .pst-burger, [data-aos-delay] .btn { display: none !important; }
  .print-only { display: block !important; }
  .print-header { display: flex !important; align-items: center; gap: 12px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid #0b1d33; font-size: 9.5pt; color: #333; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .page-hero { background: #fff !important; color: #111 !important; padding: 0 0 12px !important; }
  .page-hero::after { display: none !important; }
  .page-hero h1 { color: #0b1d33 !important; font-size: 20pt !important; }
  .page-hero p, .page-hero .eyebrow { color: #333 !important; }
  .print-static { margin-top: 0 !important; }
  .section { padding: 10px 0 !important; }
  .container-site { max-width: none !important; padding: 0 !important; }
  .card { box-shadow: none !important; border: 1px solid #ccc !important; break-inside: avoid; }
  .avoid-break, .card section, h2, h3 { break-inside: avoid; page-break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .lg\:grid-cols-\[1\.65fr_1fr\] { grid-template-columns: 1fr !important; }
  a { color: #111 !important; text-decoration: none !important; }
  .icon-tile, .step-num { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Pages légales ---------- */
.legal-content h2 { font-size: 1.35rem; font-weight: 800; margin: 2.5rem 0 .75rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { line-height: 1.75; }
.legal-content p + p { margin-top: .75rem; }
.legal-content ul { list-style: disc; padding-left: 1.25rem; margin: .75rem 0; display: grid; gap: .4rem; }
.legal-content a { color: var(--pst-brand-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Fenêtre de téléchargement du catalogue */
dialog[open] { animation: pst-dialog-in .2s ease-out; }
@keyframes pst-dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


/* ==========================================================
   En-tête, menu mobile et pied de page (déplacés depuis header.php / footer.php)
   ========================================================== */

/* --- header.php --- */
  :root {
    --pst-ink: #0f172a;
    --pst-body: #334155;
    --pst-muted: #64748b;
    --pst-line: #e2e8f0;
  }
  html { scroll-behavior: smooth; scroll-padding-top: 88px; }
  ::selection { background: color-mix(in srgb, var(--pst-brand) 25%, transparent); }
  :focus-visible { outline: 3px solid var(--pst-brand-text, var(--pst-brand)); outline-offset: 2px; }

  .pst-announce { background: var(--pst-ink); color: #e2e8f0; font-size: .85rem; }
  .pst-announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

  .pst-topbar { display: none; background: #0b1d33; color: #94a3b8; font-size: .8rem; }
  .pst-topbar-inner { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; height: 40px; display: flex; align-items: center; justify-content: space-between; }
  .pst-topbar-group { display: flex; align-items: center; gap: 1.5rem; }
  .pst-topbar a, .pst-topbar span { color: #cbd5e1; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
  .pst-topbar a:hover { color: #fff; }
  .pst-topbar i { color: var(--pst-brand); font-size: .75rem; }
  .pst-topbar-group:last-child i { color: inherit; font-size: .8rem; }
  @media (min-width: 900px) { .pst-topbar { display: block; } }
  @media (max-width: 1100px) { .pst-topbar-hours { display: none !important; } }
  .pst-brand-name { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }
  .pst-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s; }
  .pst-header.is-scrolled { background: rgba(255,255,255,.95); border-color: var(--pst-line); box-shadow: 0 6px 24px -12px rgba(15,23,42,.18); }
  .pst-header-inner { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; height: 76px; display: flex; align-items: center; gap: 1.5rem; }

  .pst-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--pst-ink); flex-shrink: 0; }
  .pst-brand img { width: 46px; height: 46px; object-fit: contain; transition: transform .3s; }
  .pst-brand:hover img { transform: rotate(-6deg) scale(1.05); }
  .pst-brand-name { font-weight: 700; font-size: 1.05rem; line-height: 1.15; letter-spacing: -.01em; }
  .pst-brand-name span { color: var(--pst-brand-text, var(--pst-brand)); }
  .pst-brand-tag { font-size: .72rem; color: var(--pst-muted); letter-spacing: .02em; }

  .pst-nav { display: none; margin-left: auto; align-items: center; gap: .25rem; }
  .pst-nav a { position: relative; padding: .55rem .85rem; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--pst-body); text-decoration: none; transition: color .2s, background .2s; }
  .pst-nav a:hover { color: var(--pst-brand-text, var(--pst-brand)); background: color-mix(in srgb, var(--pst-brand) 8%, transparent); }
  .pst-nav a.is-active { color: var(--pst-brand-text, var(--pst-brand)); font-weight: 600; }
  .pst-nav a.is-active::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--pst-brand); }

  .pst-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
  .pst-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 12px;
    font-weight: 600; font-size: .875rem; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
  .pst-btn-primary { background: var(--pst-btn, var(--pst-brand)); color: #fff;
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--pst-brand) 70%, transparent); }
  .pst-btn-primary:hover { background: var(--pst-btn-hover, var(--pst-brand-dark)); transform: translateY(-2px); box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--pst-brand) 80%, transparent); color: #fff; }
  .pst-btn-outline { border: 1.5px solid var(--pst-line); color: var(--pst-ink); background: #fff; }
  .pst-btn-outline:hover { border-color: var(--pst-brand); color: var(--pst-brand-text, var(--pst-brand)); }
  .pst-hide-sm { display: none; }

  .pst-burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--pst-line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--pst-ink); }

  /* Menu mobile : hauteur = écran réellement visible (100dvh), seule la liste des liens défile,
     l'en-tête et les boutons restent toujours visibles. */
  .pst-drawer { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: 60; visibility: hidden; }
  .pst-drawer.is-open { visibility: visible; }
  .pst-drawer-bg { position: absolute; inset: 0; background: rgba(15,23,42,.5); opacity: 0; transition: opacity .3s; }
  .pst-drawer.is-open .pst-drawer-bg { opacity: 1; }
  .pst-drawer-panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(340px, 88vw); background: #fff; display: flex; flex-direction: column; overflow: hidden;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 40px -20px rgba(0,0,0,.3); }
  .pst-drawer.is-open .pst-drawer-panel { transform: none; }
  .pst-drawer-head { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.25rem; border-bottom: 1px solid var(--pst-line); }
  .pst-drawer nav { flex: 1 1 auto; min-height: 0; padding: .75rem 1rem; display: flex; flex-direction: column; gap: .15rem; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .pst-drawer nav a { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 12px; color: var(--pst-body); font-weight: 500; text-decoration: none; }
  .pst-drawer nav a i { width: 20px; text-align: center; color: var(--pst-muted); }
  .pst-drawer nav a:hover, .pst-drawer nav a.is-active { background: color-mix(in srgb, var(--pst-brand) 9%, transparent); color: var(--pst-brand-text, var(--pst-brand)); }
  .pst-drawer nav a.is-active i, .pst-drawer nav a:hover i { color: var(--pst-brand); }
  .pst-drawer-foot { flex-shrink: 0; padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--pst-line); display: grid; gap: .6rem; background: #fff; box-shadow: 0 -10px 24px -18px rgba(15,23,42,.35); }
  .pst-drawer-contact { font-size: .85rem; color: var(--pst-muted); display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin-top: .35rem; }
  @media (max-height: 640px) {
    .pst-drawer nav a { padding: .6rem 1rem; }
    .pst-drawer-contact { display: none; }
  }
  .pst-drawer-contact a { color: var(--pst-body); text-decoration: none; }

  .pst-wa { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #1da851; color: #fff;
    display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 25px -8px rgba(37,211,102,.7); transition: transform .2s; text-decoration: none; }
  .pst-wa:hover { transform: scale(1.08); color: #fff; }

  @media (min-width: 640px) { .pst-hide-sm { display: inline-flex; } }
  @media (min-width: 1024px) {
    .pst-nav { display: flex; gap: 0; }
    .pst-nav a { white-space: nowrap; padding: .55rem .45rem; font-size: .875rem; }
    .pst-nav a.is-active::after { left: .45rem; right: .45rem; }
    .pst-header-inner { gap: 1rem; }
    .pst-actions { margin-left: 0; }
    .pst-burger { display: none; }
    /* Boutons « Espace candidat » et « Pré-inscription » plus compacts pour tenir avec les 7 liens */
    .pst-actions { gap: .5rem; }
    .pst-actions .pst-btn { padding: .6rem .9rem; font-size: .8125rem; gap: .4rem; }
  }
  /* Ordinateurs à écran étroit : logo seul, sans le nom, pour laisser la place au menu et aux 2 boutons */
  @media (min-width: 1024px) and (max-width: 1279px) {
    .pst-header .pst-brand > div { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* --- footer.php --- */
  .pst-footer { background: #0b1220; color: #cbd5e1; position: relative; overflow: hidden; }
  .pst-footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--pst-brand, #2a93cf), transparent); }
  .pst-footer::after { content: ''; position: absolute; width: 520px; height: 520px; right: -180px; top: -260px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--pst-brand, #2a93cf) 22%, transparent), transparent 70%); pointer-events: none; }
  .pst-footer a { color: inherit; text-decoration: none; }
  .pst-footer-inner { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; position: relative; z-index: 1; }

  .pst-footer-cta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 2.5rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .pst-footer-cta h3 { color: #fff; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .25rem; }
  .pst-footer-cta p { margin: 0; color: #94a3b8; }

  .pst-footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; grid-template-columns: 1fr; }
  @media (min-width: 640px) { .pst-footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1024px) { .pst-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }

  .pst-footer h4 { color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1.25rem; }
  .pst-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
  .pst-footer-links a { color: #94a3b8; transition: color .2s, padding .2s; font-size: .925rem; }
  .pst-footer-links a:hover { color: #fff; padding-left: 4px; }

  .pst-footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
  .pst-footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08); transition: background .2s, transform .2s, border-color .2s; }
  .pst-footer-social a:hover { background: var(--pst-brand, #2a93cf); border-color: transparent; transform: translateY(-3px); color: #fff; }

  .pst-footer-contact { display: grid; gap: 1rem; font-size: .925rem; }
  .pst-footer-contact > * { display: flex; gap: .85rem; align-items: flex-start; }
  .pst-footer-contact i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--pst-brand, #2a93cf); font-size: .85rem; }
  .pst-footer-contact small { display: block; color: #64748b; font-size: .75rem; margin-bottom: 1px; }
  .pst-footer-contact a:hover span { color: #fff; }

  .pst-footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #64748b; }
  .pst-footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
  .pst-footer-bottom a:hover { color: #fff; }

/* ---------- Accessibilité ---------- */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--pst-navy); color: #fff; padding: .75rem 1.1rem; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
/* Apparition au défilement (remplace AOS) — uniquement si JavaScript est actif, jamais dans les en-têtes de page */
.js [data-aos]:not(.hero [data-aos]):not(.page-hero [data-aos]) { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js [data-aos="zoom-in"]:not(.hero [data-aos]):not(.page-hero [data-aos]) { transform: scale(.97); }
.js [data-aos].is-visible { opacity: 1 !important; transform: none !important; }
@media print { .js [data-aos] { opacity: 1 !important; transform: none !important; } }
/* Bandeau cookies */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70; max-width: 40rem; margin-inline: auto; background: #fff; color: var(--pst-body); border: 1px solid var(--pst-line); border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(11,29,51,.45); padding: 1.1rem 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 18rem; margin: 0; font-size: .9rem; line-height: 1.55; }
.cookie-banner a { color: var(--pst-brand-text); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
/* Champs de formulaire : empêche une option longue d'élargir la mise en page (débordement tablette) */
.field { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
/* Titres du pied de page (balises h2 pour une hiérarchie correcte, même apparence) */
.pst-footer .pst-footer-heading { color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1.25rem; font-family: 'Plus Jakarta Sans', Inter, sans-serif; }

/* En-tête 640–767 px : « Espace candidat » reste dans le menu mobile pour éviter le débordement */
@media (max-width: 767px) { .pst-hide-below-md { display: none !important; } }

/* Menu ordinateur (8 entrées) : icônes des 2 boutons masquées sous 1440 px pour tout faire tenir sur une ligne */
@media (min-width: 1024px) and (max-width: 1439px) { .pst-actions .pst-btn i { display: none; } }
