/* ============================================================
   WORK.PLACE2CARE.BE — Design System
   Rebranding complet — 2026
   Palette Violet, Bleus, Lavande & Design System Global
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   1. CSS VARIABLES — WORK.PLACE2CARE.BE
   ============================================================ */
:root {
  /* Core Brand Palette */
  --work-navy: #0F1B3D;
  --work-navy-soft: #17265A;
  
  --work-purple: #6542C7;
  --work-purple-dark: #5134A8;
  --work-purple-bright: #8A6BDA;
  
  --work-magenta: #6542C7;
  
  --work-lavender: #EAE5F8;
  --work-lavender-soft: #F4F1FB;
  --work-lavender-bg: #F6F8FC;
  
  --work-text: #0F1B3D;
  --work-text-secondary: #59647A;
  --work-text-muted: #8991A4;
  
  --work-border: #E5E3EE;
  --work-white: #FFFFFF;

  /* Functional Mappings */
  --c-primary:        var(--work-purple);
  --c-primary-hover:  var(--work-purple-dark);
  --c-primary-light:  var(--work-purple-bright);
  --c-primary-pale:   var(--work-lavender-soft);
  --c-primary-subtle: #F4F1FB;

  --c-accent:         var(--work-purple);
  --c-accent-hover:   var(--work-purple-dark);
  --c-accent-light:   var(--work-purple-bright);
  --c-accent-pale:    var(--work-lavender);

  /* UI Neutrals */
  --c-bg:             var(--work-lavender-bg);
  --c-surface:        #ffffff;
  --c-surface-2:      var(--work-lavender-soft);
  --c-border:         var(--work-border);
  --c-border-strong:  #D0CCE2;

  /* Text Colors */
  --c-text:           var(--work-text);
  --c-text-secondary: var(--work-text-secondary);
  --c-text-muted:     var(--work-text-muted);
  --c-text-on-dark:   #ffffff;

  /* Semantic Colors */
  --c-success:        #10B981;
  --c-success-pale:   #ECFDF5;
  --c-warning:        #F59E0B;
  --c-info:           #3B82F6;
  --c-info-pale:      #EFF6FF;

  /* Typography */
  --font:             'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:          0.75rem;
  --text-sm:          0.875rem;
  --text-base:        1rem;
  --text-lg:          1.125rem;
  --text-xl:          1.25rem;
  --text-2xl:         1.5rem;
  --text-3xl:         1.875rem;
  --text-4xl:         2.25rem;
  --text-5xl:         3rem;
  --text-6xl:         3.75rem;

  --fw-normal:        400;
  --fw-medium:        500;
  --fw-semibold:      600;
  --fw-bold:          700;
  --fw-extrabold:     800;
  --fw-black:         900;

  --leading-tight:    1.2;
  --leading-snug:     1.35;
  --leading-base:     1.6;
  --leading-relaxed:  1.75;

  /* Spacing */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Border radius */
  --r-sm:   0.5rem;
  --r-md:   0.75rem;
  --r-lg:   1rem;
  --r-xl:   1.25rem;
  --r-2xl:  1.5rem;
  --r-3xl:  2rem;
  --r-full: 9999px;

  /* Signature Gradients */
  --gradient-work: linear-gradient(90deg, #0F1B3D 0%, #5134A8 50%, #6542C7 100%);
  --gradient-purple: linear-gradient(135deg, #6542C7 0%, #8A6BDA 100%);
  --gradient-hero: linear-gradient(120deg, #F6F8FC 0%, #F4F1FB 45%, #FFFFFF 100%);

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(15, 27, 61, 0.04);
  --shadow-sm:  0 2px 8px rgba(15, 27, 61, 0.05);
  --shadow-md:  0 6px 18px rgba(15, 27, 61, 0.06);
  --shadow-lg:  0 12px 32px rgba(15, 27, 61, 0.08);
  --shadow-xl:  0 18px 45px rgba(15, 27, 61, 0.10), 0 4px 12px rgba(15, 27, 61, 0.04);
  --shadow-card: 0 2px 10px rgba(15, 27, 61, 0.04);
  --shadow-floating: 0 20px 50px rgba(15, 27, 61, 0.12);

  /* Transitions */
  --t-fast:   120ms ease;
  --t-base:   200ms ease;
  --t-slow:   350ms ease;
  --t-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container:    1200px;
  --container-sm: 840px;
  --container-xs: 640px;
  --gutter:       1.5rem;

  /* Header */
  --header-h: 72px;
  --header-h-mobile: 60px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--fw-normal);
  line-height: var(--leading-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

img, video { display: block; max-width: 100%; }
svg { display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: var(--leading-tight); font-weight: var(--fw-bold); }

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--sm { max-width: var(--container-sm); }
.container--xs { max-width: var(--container-xs); }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }

.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
.display { font-size: clamp(2rem, 5vw, var(--text-5xl)); font-weight: var(--fw-extrabold); line-height: var(--leading-tight); letter-spacing: -0.02em; }
.heading-1 { font-size: clamp(1.75rem, 4vw, var(--text-4xl)); font-weight: var(--fw-bold); line-height: var(--leading-tight); letter-spacing: -0.01em; }
.heading-2 { font-size: clamp(1.375rem, 3vw, var(--text-3xl)); font-weight: var(--fw-bold); }
.heading-3 { font-size: var(--text-xl); font-weight: var(--fw-semibold); }
.salary-display { font-size: clamp(2.25rem, 7vw, 3.75rem); font-weight: var(--fw-extrabold); line-height: 1; letter-spacing: -0.03em; color: var(--c-accent); }
.label { font-size: var(--text-xs); font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-muted); }

/* ============================================================
   5. BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  white-space: nowrap;
  justify-content: center;
  text-align: center;
}
.badge--primary   { background: var(--c-primary-pale); color: var(--c-primary); }
.badge--accent    { background: var(--c-accent-pale);  color: var(--c-accent-hover); }
.badge--success   { background: var(--c-success-pale); color: var(--c-success); }
.badge--info      { background: var(--c-info-pale);    color: var(--c-info); }
.badge--neutral   { background: var(--c-border);       color: var(--c-text-secondary); }
.badge--outline   { background: transparent; border: 1.5px solid var(--c-border-strong); color: var(--c-text-secondary); }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-lg);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: #6542C7;
  color: var(--c-text-on-dark);
  border-color: #6542C7;
}
.btn--primary:hover {
  background: #5134A8;
  border-color: #5134A8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(101, 66, 199, 0.35);
}

.btn--accent {
  background: #6542C7;
  color: var(--c-text-on-dark);
  border-color: #6542C7;
}
.btn--accent:hover {
  background: #5134A8;
  border-color: #5134A8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(101, 66, 199, 0.35);
}

.btn--outline {
  background: transparent;
  color: #6542C7;
  border-color: #6542C7;
}
.btn--outline:hover {
  background: var(--c-primary-pale);
  color: #6542C7;
}

.btn--net-secondary {
  background: #ffffff;
  color: var(--work-navy, #0F1B3D);
  border: 1.5px solid rgba(101, 66, 199, 0.22);
  border-radius: var(--r-xl);
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  box-shadow: 0 1px 3px rgba(15, 27, 61, 0.04);
  transition: all var(--t-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn--net-secondary:hover {
  background: rgba(101, 66, 199, 0.05);
  border-color: rgba(101, 66, 199, 0.45);
  color: var(--work-navy, #0F1B3D);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(101, 66, 199, 0.1);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text-secondary);
  border-color: transparent;
}
.btn--ghost:hover {
  background: var(--c-border);
  color: var(--c-text);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  border-radius: var(--r-xl);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.btn--full { width: 100%; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   7. CARDS
   ============================================================ */
.card {
  background: var(--c-surface);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.card--padding { padding: var(--sp-6); }
.card--hover {
  transition: transform var(--t-base), box-shadow var(--t-base);
  cursor: pointer;
}
.card--hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   8. FORM ELEMENTS
   ============================================================ */
.input-wrap { position: relative; }

.input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.input:focus {
  border-color: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(101, 66, 199, 0.12);
}
.input::placeholder { color: var(--c-text-muted); }

.input--search {
  padding-left: 2.75rem;
}

.input-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-muted);
  pointer-events: none;
  width: 1.125rem;
  height: 1.125rem;
}

/* Autocomplete dropdown */
.autocomplete-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--c-surface);
  border: 2px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-height: 45vh; /* Fallback for older browsers */
  max-height: min(45dvh, 320px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .autocomplete-list {
    max-height: 220px;
  }
}
.autocomplete-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background var(--t-fast);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.autocomplete-item:hover,
.autocomplete-item.is-highlighted { background: var(--c-primary-subtle); }
.autocomplete-item:not(:last-child) { border-bottom: 1px solid var(--c-border); }
.autocomplete-item__name { font-weight: var(--fw-medium); color: var(--c-text); }
.autocomplete-item .badge--success {
  background: #ECFDF5;
  color: #047857;
}
.autocomplete-empty {
  padding: 1rem;
  text-align: center;
  color: var(--c-text-muted);
  font-size: var(--text-sm);
}

/* Slider */
.slider-wrap { padding: var(--sp-4) 0; }

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--r-full);
  background: linear-gradient(to right, var(--c-primary) var(--slider-pct, 0%), var(--c-border) var(--slider-pct, 0%));
  outline: none;
  cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid var(--c-surface);
  box-shadow: 0 0 0 2px var(--c-primary), 0 2px 6px rgba(101, 66, 199, 0.30);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
  cursor: grab;
}
.slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid var(--c-surface);
  box-shadow: 0 0 0 2px var(--c-primary), 0 2px 6px rgba(101, 66, 199, 0.30);
  cursor: grab;
}

.slider-value {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
}
.slider-number {
  font-size: var(--text-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-primary);
  line-height: 1;
}
.slider-unit {
  font-size: var(--text-lg);
  color: var(--c-text-secondary);
  font-weight: var(--fw-medium);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}

/* ============================================================
   9. HEADER — WORK.PLACE2CARE.BE
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--work-border);
  box-shadow: 0 2px 12px rgba(16, 25, 54, 0.03);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--r-lg);
  object-fit: contain;
  aspect-ratio: 1 / 1;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(6, 41, 84, 0.25);
}
.logo-text {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--work-navy);
  letter-spacing: -0.01em;
}
.logo-text .brand-purple { color: var(--work-purple); }
.logo-text .brand-navy { color: var(--work-navy); }
.logo-sub {
  font-size: 0.72rem;
  color: var(--work-text-muted);
  font-weight: var(--fw-medium);
  margin-top: 2px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.site-header .site-nav.is-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--work-white);
  box-shadow: 0 10px 30px rgba(15, 27, 61, 0.12);
  padding: var(--sp-4);
  gap: var(--sp-2);
  z-index: 999;
  border-bottom: 1px solid var(--work-border);
}
.site-nav a {
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.925rem;
  font-weight: var(--fw-medium);
  color: var(--work-text-secondary);
  transition: all var(--t-fast);
  text-align: center;
}
.site-nav a:hover {
  color: var(--work-purple);
  background: var(--work-lavender-soft);
}
.site-nav a.active {
  color: var(--work-purple);
  background: var(--work-lavender-soft);
  font-weight: var(--fw-semibold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}



.btn-p2c {
  background: #6542C7;
  color: white !important;
  border-radius: var(--r-full);
  padding: 0.55rem 1.3rem;
  font-weight: var(--fw-semibold);
  font-size: 0.875rem;
  box-shadow: 0 4px 14px rgba(101, 66, 199, 0.28);
  transition: all var(--t-base);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.btn-p2c:hover {
  background: #5134A8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(101, 66, 199, 0.38);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border: none;
  background: none;
  cursor: pointer;
  z-index: 101;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--work-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.mobile-menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Signature Text Gradient */
.gradient-text {
  background: var(--gradient-work);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* ============================================================
   10. HERO SECTION — WORK.PLACE2CARE.BE (STRUCTURE 2 NIVEAUX)
   ============================================================ */
.hero {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(135deg, #F6F8FC 0%, #F4F1FB 40%, #FFFFFF 100%);
  position: relative;
  z-index: 10;
  max-width: 100%;
  overflow-x: clip;
}
.hero-shapes {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero .container {
  max-width: var(--container);
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}

/* Formes géométriques lavande abstraites */
.hero-shape-1 {
  position: absolute;
  top: 8%;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(244, 241, 251, 0.7) 0%, rgba(218, 206, 255, 0.25) 100%);
  transform: rotate(18deg);
  pointer-events: none;
  z-index: 1;
}
.hero-shape-2 {
  position: absolute;
  bottom: 5%;
  left: 38%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 66, 199, 0.05) 0%, rgba(244, 241, 251, 0.4) 60%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}
.hero-shape-3 {
  position: absolute;
  bottom: -30px;
  right: 2%;
  width: 240px;
  height: 240px;
  border-radius: 48px;
  background: linear-gradient(135deg, rgba(244, 241, 251, 0.5) 0%, rgba(246, 248, 252, 0.2) 100%);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 1;
}

/* ── BLOC 1 : INTRODUCTION ── */
.hero-intro {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: 0.85rem;
}
.badge--primary {
  background: var(--work-lavender-soft);
  color: var(--work-purple);
  border: 1px solid rgba(101, 66, 199, 0.15);
  font-weight: var(--fw-semibold);
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
}

.hero-title {
  display: block;
  text-align: center;
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--work-navy);
  margin: 0 auto 0.9rem;
  max-width: 820px;
}
.hero-title-br-desktop {
  display: block;
}
@media (max-width: 640px) {
  .hero-title-br-desktop {
    display: inline;
  }
}
.hero-title-purple {
  color: var(--work-purple);
  display: inline;
}

.hero-subtitle {
  font-size: clamp(0.925rem, 1.35vw, 1.05rem);
  color: var(--work-text-secondary);
  font-weight: var(--fw-normal, 400);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.hero-sub-purple {
  color: var(--work-purple);
}
.hero-sub-br {
  display: block;
}
.hero-sub-br-desktop {
  display: none;
}
@media (min-width: 768px) {
  .hero-sub-br-desktop {
    display: block;
  }
}
.hero-sub-br-mobile {
  display: none;
}
@media (max-width: 640px) {
  .hero-sub-br-mobile {
    display: inline-block;
  }
}

/* 3 AVANTAGES */
.hero-benefits {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 0.5rem;
}
.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}
.hero-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--work-lavender-soft);
  color: var(--work-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(101, 66, 199, 0.12);
}
.hero-benefit-icon svg,
.hero-benefit-icon img,
.hero-benefit-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}
.hero-benefit-text {
  display: flex;
  flex-direction: column;
}
.hero-benefit-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--work-navy);
  line-height: 1.25;
  white-space: nowrap;
}
.hero-benefit-desc {
  font-size: 0.825rem;
  color: var(--work-text-muted);
  white-space: nowrap;
}

/* ── BLOC 2 : COMPOSITION SIGNATURE DEUX UNIVERS + SIMULATEUR ── */
.hero-stage {
  max-width: 1040px;
  margin: 2.25rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

/* Conteneur Duo Stage */
/* ============================================================
   HERO DUO : COMPOSITION ORGANIQUE SIGNATURE
   ============================================================ */
.hero-duo-container {
  flex: 0 0 530px;
  width: 530px;
  max-width: 100%;
  position: relative;
  z-index: 1;
  margin: 0;
  user-select: none;
  overflow: visible; /* Les formes organiques débordent librement */
}

.hero-duo-stage {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border: none;
  cursor: ew-resize;
  touch-action: pan-y;
  z-index: 2;
}

/* Zone technique des photos avec silhouette organique externe */
.hero-duo-photo-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: url(#heroDuoOuterClip);
  -webkit-clip-path: url(#heroDuoOuterClip);
  overflow: hidden;
  will-change: clip-path;
  filter: drop-shadow(0 16px 36px rgba(15, 27, 61, 0.10));
}

/* Panneaux des deux univers */
.hero-duo-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-duo-panel--family {
  z-index: 1;
}

.hero-duo-panel--work {
  z-index: 2;
  clip-path: url(#heroDuoInnerClip);
  -webkit-clip-path: url(#heroDuoInnerClip);
  will-change: clip-path;
}

/* Couches de parallaxe multi-plans */
.hero-layer {
  position: absolute;
  inset: -6% -6%;
  width: 112%;
  height: 112%;
  will-change: transform;
  pointer-events: none;
}

.hero-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-layer--work-bg img {
  object-position: 28% center;
}

.hero-layer--family-bg img {
  object-position: 72% center;
}

.hero-layer--work-fg img {
  object-position: 25% center;
  object-fit: contain;
}

.hero-layer--family-fg img {
  object-position: 75% center;
  object-fit: contain;
}

/* ── TEXTES INTÉGRÉS AUX UNIVERS PHOTO (HERO DUO) ── */
.hero-duo-caption {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  opacity: 0;
  will-change: opacity, transform;
}

.hero-duo-caption--work {
  top: clamp(22px, 7%, 30px);
  left: clamp(24px, 7%, 32px);
  max-width: 195px;
  text-align: left;
}

.hero-duo-caption--family {
  top: clamp(22px, 7%, 30px);
  right: clamp(24px, 7%, 32px);
  max-width: 195px;
  text-align: right;
  align-items: flex-end;
}

.hero-duo-caption-text {
  font-family: var(--font-main, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  display: inline-block;
}

.hero-duo-caption--work .hero-duo-caption-text {
  color: var(--work-purple, #6542C7);
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(255, 255, 255, 0.85),
    0 0 12px rgba(255, 255, 255, 0.70);
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.40));
}

.hero-duo-caption--family .hero-duo-caption-text {
  color: var(--work-navy, #0F1B3D);
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(255, 255, 255, 0.85),
    0 0 12px rgba(255, 255, 255, 0.70);
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.40));
}

@media (max-width: 767px) {
  .hero-duo-caption--work {
    top: 14px;
    left: 14px;
    max-width: 135px;
  }
  .hero-duo-caption--family {
    top: 14px;
    right: 14px;
    max-width: 135px;
  }
  .hero-duo-caption-text {
    font-size: clamp(0.85rem, 3.4vw, 0.975rem);
    line-height: 1.15;
    text-shadow:
      0 1px 2px rgba(255, 255, 255, 0.95),
      0 2px 6px rgba(255, 255, 255, 0.80);
  }
}

/* Séparateur organique SVG subtil */
.hero-duo-separator-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.hero-duo-separator-line {
  fill: none;
  stroke: rgba(234, 229, 248, 0.70);
  stroke-width: 1.25px;
  filter: drop-shadow(0 0 5px rgba(101, 66, 199, 0.25));
}

/* ── FORMES ORGANIQUES MULTI-PLANS ── */
.hero-duo-shapes-back,
.hero-duo-shapes-mid,
.hero-duo-shapes-front {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  will-change: transform;
}

.hero-duo-shapes-back {
  z-index: 1;
}

.hero-duo-shapes-mid {
  z-index: 3;
}

.hero-duo-shapes-front {
  z-index: 4;
}

.hero-shape {
  position: absolute;
  pointer-events: none;
  display: block;
  will-change: transform;
}

/* Forme 1 : Grande masse souple lavande arrière-plan (haut-gauche) */
.hero-shape--wave {
  top: -16%;
  left: -14%;
  width: 340px;
  height: 270px;
  animation: heroFloat1 19s ease-in-out infinite;
}

/* Forme 2 : Grande masse étirée lavande douce arrière-plan (bas-droite) */
.hero-shape--stretched {
  bottom: -18%;
  right: -12%;
  width: 360px;
  height: 240px;
  animation: heroFloat2 23s ease-in-out infinite -6s;
}

/* Forme 3 : Galet asymétrique violet lumineux plan intermédiaire (gauche) */
.hero-shape--pebble {
  bottom: 8%;
  left: -10%;
  width: 115px;
  height: 100px;
  animation: heroFloat3 17s ease-in-out infinite -3s;
}

/* Forme 4 : Capsule organique souple violette plan intermédiaire (droite) */
.hero-shape--capsule {
  top: 20%;
  right: -8%;
  width: 135px;
  height: 80px;
  animation: heroFloat4 21s ease-in-out infinite -12s;
}

/* Forme 5 : Petit galet arrondi violet premier plan (bas) */
.hero-shape--pebble-sm {
  bottom: -5%;
  left: 28%;
  width: 44px;
  height: 40px;
  animation: heroFloat5 14s ease-in-out infinite -2s;
  filter: drop-shadow(0 4px 10px rgba(101, 66, 199, 0.20));
}

/* Forme 6 : Micro-galet flottant premier plan (haut-droite) */
.hero-shape--accent {
  top: 2%;
  right: -2%;
  width: 32px;
  height: 32px;
  animation: heroFloat6 15s ease-in-out infinite -7s;
}

/* ── KEYFRAMES MOUVEMENT AMBIANT FLUIDE ET INDÉPENDANT ── */
@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(4px, -5px) rotate(1.4deg) scale(1.015); }
  66% { transform: translate(-3px, 3px) rotate(-1deg) scale(0.99); }
}

@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  40% { transform: translate(-5px, 4px) rotate(-1.5deg) scale(1.015); }
  75% { transform: translate(4px, -3px) rotate(1deg) scale(0.985); }
}

@keyframes heroFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  35% { transform: translate(-4px, -3px) rotate(1.6deg) scale(1.02); }
  70% { transform: translate(5px, 3px) rotate(-1deg) scale(0.98); }
}

@keyframes heroFloat4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  45% { transform: translate(4px, -5px) rotate(-1.8deg) scale(1.02); }
}

@keyframes heroFloat5 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(-3px, 3px) rotate(1.5deg) scale(1.03); }
}

@keyframes heroFloat6 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  35% { transform: translate(3px, -2px) rotate(-1.5deg) scale(1.03); }
  75% { transform: translate(-2px, 2px) rotate(1deg) scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shape {
    animation: none !important;
  }
}

.hero-sim-wrap {
  flex: 0 0 430px;
  width: 430px;
  max-width: 100%;
  position: relative;
  z-index: 5;
  margin: 0;
}

.hero-photo-wrap {
  flex: 0 0 510px;
  width: 510px;
  max-width: 100%;
  position: relative;
  z-index: 1;
  margin: 0;
  display: block;
}

.hero-photo-wrap picture {
  display: block;
  width: 100%;
  height: auto;
}

.hero-photo-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

/* ============================================================
   11. SIMULATOR CARD
   ============================================================ */
.simulator-card {
  background: var(--c-surface);
  border-radius: var(--r-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--c-border);
  padding: var(--sp-6);
  position: relative;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}
.sim-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
}

.sim-progress {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.sim-progress-step {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: var(--c-border);
  transition: background var(--t-base), width var(--t-base);
}
.sim-progress-step.active {
  background: var(--c-primary);
  width: 24px;
}
.sim-progress-step.done { background: var(--c-success); }

.sim-step { display: none; }
.sim-step.is-active { display: block; animation: fadeSlideIn 0.25s ease both; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sim-step-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-2);
}
.sim-step-question {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-4);
  line-height: var(--leading-snug);
}

.sim-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: var(--sp-4) 0;
  color: var(--c-text-muted);
  font-size: var(--text-sm);
}
.sim-divider::before, .sim-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.cat-btn {
  padding: var(--sp-2) var(--sp-1);
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  background: var(--c-surface);
  cursor: pointer;
  text-align: center;
  transition: all var(--t-fast);
}
.cat-btn:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-pale); }
.cat-btn.is-selected { border-color: var(--c-primary); color: var(--c-text-on-dark); background: var(--c-primary); }
.cat-btn--rw { font-size: var(--text-xs); }

/* Multi-category choice step */
.job-cat-choice-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.job-cat-choice-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border: 2px solid var(--c-border);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  color: var(--c-text);
  cursor: pointer;
  text-align: left;
  transition: all var(--t-fast);
  width: 100%;
}
.job-cat-choice-btn:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-pale);
  transform: translateY(-1px);
}
.job-cat-choice-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.job-cat-choice-title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--c-text);
}
.job-cat-choice-sub {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}
.job-cat-choice-arrow {
  font-size: var(--text-lg);
  color: var(--c-primary);
  font-weight: var(--fw-bold);
  transition: transform var(--t-fast);
}
.job-cat-choice-btn:hover .job-cat-choice-arrow {
  transform: translateX(4px);
}

/* Job page category selector pills */
.cat-selector-wrap {
  margin-bottom: var(--sp-4);
}
.cat-selector-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-2);
}
.cat-selector-pills {
  display: flex;
  gap: var(--sp-2);
}
.cat-pill {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text-secondary);
  background: var(--c-surface);
  cursor: pointer;
  text-align: center;
  transition: all var(--t-fast);
}
.cat-pill:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-primary-pale);
}
.cat-pill.is-selected {
  border-color: var(--c-primary);
  color: var(--c-text-on-dark);
  background: var(--c-primary);
  box-shadow: var(--shadow-sm);
}

/* Result */
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.result-metier {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  line-height: 1.25;
}
.result-anc {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}

.result-salary-block {
  background: linear-gradient(135deg, var(--c-primary-subtle) 0%, var(--c-accent-pale) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 0.85rem 1rem;
  margin-bottom: var(--sp-4);
  text-align: center;
}
.result-salary-label {
  font-size: 0.725rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}
.result-salary-amount {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: var(--fw-black);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-accent-hover);
  margin-bottom: 4px;
}
.result-salary-sub {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.result-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  padding: 0.6rem 0;
  border-top: 1px solid rgba(101, 66, 199, 0.1);
  border-bottom: 1px solid rgba(101, 66, 199, 0.1);
}
.result-meta-item {
  text-align: center;
}
.result-meta-label {
  font-size: 0.725rem;
  color: var(--c-text-muted);
  font-weight: var(--fw-medium);
  margin-bottom: 3px;
}
.result-meta-value {
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
}

.result-disclaimer {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0.65rem 0.85rem;
  font-size: var(--text-xs);
  color: var(--c-text-secondary);
  line-height: 1.45;
  margin-bottom: var(--sp-4);
}
.result-disclaimer::before {
  content: 'ℹ️ ';
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.result-actions .btn--primary {
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  font-size: var(--text-sm);
}
.result-actions .btn--ghost {
  padding: 0.4rem 0.75rem;
  font-size: var(--text-xs);
}

/* No data state */
.no-data-block {
  text-align: center;
  padding: var(--sp-4) 0;
}
.no-data-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-3);
}
.no-data-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}
.no-data-text {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-5);
  max-width: 400px;
  margin-inline: auto;
}

/* Selected job indicator */
.selected-job-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--c-primary-pale);
  border: 1.5px solid var(--c-primary-light);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
}
.selected-job-tag button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-primary);
  font-weight: bold;
}

/* ============================================================
   INFO STRIP — BANDEAU D'INFORMATION WORK.PLACE2CARE.BE
   ============================================================ */
.info-strip {
  background: var(--work-lavender-soft);
  border: 1px solid var(--work-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-6) var(--sp-8);
  margin-top: var(--sp-8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.info-strip-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  position: relative;
}
.info-strip-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: var(--work-border);
}
.info-strip-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--work-purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(101, 52, 232, 0.25);
}
.info-strip-text {
  display: flex;
  flex-direction: column;
}
.info-strip-title {
  font-weight: var(--fw-bold);
  font-size: 0.9rem;
  color: var(--work-navy);
  line-height: 1.2;
}
.info-strip-desc {
  font-size: 0.775rem;
  color: var(--work-text-secondary);
  line-height: 1.35;
  margin-top: 2px;
}
.info-strip-icon svg {
  width: 22px;
  height: 22px;
}
.selected-job-tag button:hover { color: var(--c-primary); }

/* ============================================================
   12. CHART SECTION
   ============================================================ */
.chart-section {
  padding: var(--sp-12) 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.chart-inner {
  max-width: 900px;
  margin: 0 auto;
}
.chart-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}
.chart-title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
}
.chart-subtitle {
  color: var(--c-text-muted);
  font-size: var(--text-sm);
}
.chart-canvas-wrap {
  position: relative;
  height: 320px;
  margin-bottom: var(--sp-8);
}

.milestones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.milestone {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--sp-1);
}
.milestone-label {
  font-size: var(--text-xs);
  color: var(--c-text-secondary);
  line-height: 1.2;
}
.milestone-value {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--c-text);
}
.milestone.is-current {
  background: var(--c-primary-pale);
  border-color: var(--c-primary-light);
}
.milestone.is-current .milestone-label,
.milestone.is-current .milestone-value { color: var(--c-primary); }

/* ============================================================
   13. POPULAR JOBS SECTION & SECTION LAYOUT
   ============================================================ */
.section {
  padding: 3rem 0;
}
.section--alt {
  background: var(--c-surface);
  border-top: 1px solid var(--work-border);
  border-bottom: 1px solid var(--work-border);
}

section[aria-labelledby="featuredTitle"] {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

section[aria-labelledby="validJobsTitle"] {
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}

.section-header {
  margin-bottom: 1.75rem;
}
.section-header.centered { text-align: center; }
.section-header--with-control {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, var(--text-3xl));
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--c-text-muted);
  font-size: var(--text-base);
  max-width: 520px;
}
.section-header.centered .section-subtitle { margin-inline: auto; }

/* ── Contrôle de tri des métiers ── */
.jobs-sort-control {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.jobs-sort-label {
  font-size: var(--text-sm);
  color: var(--work-text-secondary);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}
.jobs-sort-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.jobs-sort-select {
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--work-navy);
  background-color: var(--c-surface);
  border: 1.5px solid var(--work-border);
  border-radius: var(--r-lg);
  padding: 0.45rem 2.2rem 0.45rem 0.85rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236542C7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 13px 13px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  line-height: 1.4;
}
.jobs-sort-select:hover {
  border-color: var(--work-purple-bright);
}
.jobs-sort-select:focus {
  border-color: var(--work-purple);
  box-shadow: 0 0 0 3px rgba(101, 66, 199, 0.15);
}

.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.job-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 1rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.job-card:hover {
  border-color: #6542C7;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.job-card__icon {
  width: 50px;
  height: 50px;
  background: var(--c-primary-pale);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  padding: 5px;
  overflow: hidden;
  box-sizing: border-box;
}
.job-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  display: block;
  opacity: 0.85;
}
.job-card__body { flex: 1; min-width: 0; }
.job-card__name {
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  font-size: var(--text-base);
  line-height: 1.25;
  margin-bottom: var(--sp-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-card__meta {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}
.job-card__arrow {
  color: var(--c-text-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.job-card:hover .job-card__arrow {
  transform: translateX(3px);
  color: var(--c-primary);
}

/* ============================================================
   14. HOW IT WORKS
   ============================================================ */
.section--how {
  padding: 3rem 0;
}
.container--steps {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.section--how .section-header {
  margin-bottom: 1.75rem;
}
.section--how .section-title {
  margin-bottom: 0.5rem;
}
.section--tight-top {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.steps-grid {
  display: grid;
  gap: var(--sp-6);
}
.step-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--c-primary);
  color: white;
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.step-num--gold {
  background: linear-gradient(135deg, #D6A93B 0%, #F0C75E 100%) !important;
  box-shadow: 0 4px 12px rgba(214, 169, 59, 0.22);
  color: #ffffff;
}
.step-num::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: var(--sp-6);
  background: linear-gradient(to bottom, var(--c-border-strong), transparent);
}
.step-item:last-child .step-num::after { display: none; }

.step-body {}
.step-label {
  font-weight: var(--fw-bold);
  font-size: var(--text-base);
  color: var(--c-text);
  margin-bottom: var(--sp-1);
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
}

.step-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: var(--c-primary-light);
  padding: var(--sp-2) 0;
}

/* ============================================================
   15. RESOURCES SECTION
   ============================================================ */
.resources-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
.resource-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  text-decoration: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  display: block;
}
.resource-card:hover {
  border-color: var(--c-primary-light);
  box-shadow: var(--shadow-sm);
}
.resource-icon {
  font-size: 1.75rem;
  margin-bottom: var(--sp-3);
}
.resource-title {
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  color: var(--c-text);
  margin-bottom: var(--sp-1);
}
.resource-desc {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   16. BRUT→NET TEASER
   ============================================================ */
.brut-net-banner {
  background: linear-gradient(
    120deg,
    #0F1B3D 0%,
    #17265A 48%,
    #5134A8 100%
  );
  border-radius: var(--r-3xl);
  padding: var(--sp-10) var(--sp-6);
  color: white;
  position: relative;
  overflow: hidden;
}
.brut-net-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.brut-net-banner-content { position: relative; }
.brut-net-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--sp-3);
  line-height: var(--leading-tight);
}
.brut-net-text {
  font-size: var(--text-base);
  opacity: 0.85;
  margin-bottom: var(--sp-6);
  max-width: 480px;
  line-height: var(--leading-relaxed);
}
.btn--white {
  background: white;
  color: #5134A8;
  border-color: white;
  font-weight: var(--fw-bold);
}
.btn--white:hover {
  background: var(--c-primary-pale);
  color: #5134A8;
  border-color: var(--c-primary-pale);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-text);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-12) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}
.footer-brand .logo-text { color: white; }
.footer-brand .logo-text strong { color: var(--c-accent-light); }
.footer-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-top: var(--sp-3);
  max-width: 300px;
}
.footer-cp {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  font-size: var(--text-xs);
  background: rgba(255,255,255,0.08);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  color: rgba(255,255,255,0.6);
}
.footer-heading {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-disclaimer {
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  opacity: 0.5;
  max-width: 700px;
}
.footer-copy {
  font-size: var(--text-xs);
  opacity: 0.4;
}

/* ============================================================
   18. JOB PAGE SPECIFICS
   ============================================================ */
.job-page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--sp-10) 0 var(--sp-8);
  background: linear-gradient(160deg, var(--c-primary-subtle) 0%, var(--c-bg) 70%);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: var(--c-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: 0.4; }

.direct-answer {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(101, 66, 199, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 27, 61, 0.04), 0 2px 6px rgba(15, 27, 61, 0.02);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0;
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
}

.salary-table-wrap { overflow-x: auto; }
.salary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.salary-table th {
  background: var(--c-primary);
  color: white;
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-weight: var(--fw-semibold);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.salary-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.salary-table tr:hover td { background: var(--c-primary-subtle); }
.salary-table td:last-child { font-weight: var(--fw-bold); color: var(--c-accent-hover); }

.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  color: var(--c-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--sp-4);
  transition: background var(--t-fast);
}
.faq-question:hover { background: var(--c-primary-subtle); }
.faq-chevron { flex-shrink: 0; transition: transform var(--t-base); font-size: 1.1rem; color: var(--c-text-muted); }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 var(--sp-5) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
  display: none;
}
.faq-item.is-open .faq-answer { display: block; animation: fadeSlideIn 0.2s ease both; }

/* Related jobs */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.related-link {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.related-link:hover { border-color: var(--c-primary); background: var(--c-primary-pale); }

/* ============================================================
   19. CONTENT PAGES (IFIC, SOURCES)
   ============================================================ */
.content-hero {
  background: linear-gradient(160deg, var(--c-primary-subtle) 0%, var(--c-bg) 80%);
  padding: var(--sp-12) 0;
  border-bottom: 1px solid var(--c-border);
}
.prose { max-width: 680px; }
.prose h2 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}
.prose p {
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-4);
}
.prose ul {
  list-style: disc;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-4);
}
.prose ul li {
  color: var(--c-text-secondary);
  margin-bottom: var(--sp-2);
  line-height: var(--leading-relaxed);
}

.info-box {
  background: var(--c-info-pale);
  border: 1.5px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0;
}
.info-box-title {
  font-weight: var(--fw-semibold);
  color: var(--c-info);
  margin-bottom: var(--sp-2);
  font-size: var(--text-sm);
}
.info-box-text {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   20. BRUT-NET PAGE
   ============================================================ */
.coming-soon-card {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-3xl);
  max-width: 560px;
  margin: 0 auto;
}
.coming-soon-icon { font-size: 4rem; margin-bottom: var(--sp-4); }
.coming-soon-title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-3);
}
.coming-soon-text {
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-2);
}
.coming-soon-detail {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-6);
  padding: var(--sp-4);
  background: var(--c-surface-2);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
}

/* ============================================================
   21. LOADING STATE
   ============================================================ */
.loading-spinner {
  display: inline-block;
  width: 24px; height: 24px;
  border: 3px solid var(--c-border);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   22. SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   23a. RESPONSIVE — TRÈS PETIT SMARTPHONE (< 360px)
   ============================================================ */
@media (max-width: 359px) {
  .site-header .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .logo {
    gap: 0.35rem;
  }
  .logo-img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }
  .logo-text {
    font-size: 0.88rem;
  }
  .btn-p2c {
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
  }
  .hero-title {
    font-size: 1.65rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }
  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }
  .simulator-card {
    padding: 1rem;
    border-radius: 16px;
  }
  .hero-benefits {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
  }
  .hero-benefit-item {
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  .hero-benefit-desc {
    display: block !important;
    font-size: 0.68rem !important;
  }
}

/* ============================================================
   23b. RESPONSIVE — SMARTPHONE (< 480px)
   ============================================================ */
@media (max-width: 479px) {
  :root {
    --header-h: var(--header-h-mobile);
    --gutter: 0.875rem;
  }

  /* ── HEADER MOBILE COMPACT ── */
  .site-header {
    height: var(--header-h-mobile);
  }
  .site-header .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  /* Masquer sous-titre logo, nav desktop, recherche header */
  .logo-sub { display: none !important; }
  .site-nav { display: none !important; }

  .header-actions {
    gap: 0.35rem;
    align-items: center;
  }
  /* Bouton Place2Care compact */
  .btn-p2c {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  /* Logo réduit */
  .logo-img { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
  .logo-text { font-size: 0.95rem; }
  .mobile-menu-btn { padding: 0.25rem; flex-shrink: 0; margin-left: 0.1rem; }

  /* ── HERO MOBILE (Restauré à l'identique de l'état d'origine de 7f82027) ── */
  .hero {
    padding: 1.25rem 0 1.5rem;
    overflow: visible;
  }
  .hero .container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }
  .hero-intro {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .hero-eyebrow {
    margin-bottom: 0.65rem;
  }

  /* ── H1 MOBILE ── */
  .hero-title {
    font-size: clamp(1.95rem, 8.25vw, 2.3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
    display: block;
  }
  .hero-title br {
    display: none;
  }
  .hero-title-br-desktop {
    display: inline;
  }

  /* ── DESCRIPTION MOBILE ── */
  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.55;
    max-width: none;
    margin-bottom: 0.25rem;
    color: var(--work-text-secondary);
    text-align: center;
  }
  .hero-sub-br-desktop {
    display: none;
  }

  /* Bénéfices mobile */
  .hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    margin-top: 0.25rem;
    padding-top: 0;
    border-top: none;
  }
  .hero-benefit-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    min-width: 0;
  }
  .hero-benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }
  .hero-benefit-icon svg,
  .hero-benefit-icon img,
  .hero-benefit-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }
  .hero-benefit-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
  }
  .hero-benefit-desc {
    font-size: 0.65rem;
    display: none;
  }

  /* ── STAGE & CALCULATEUR MOBILE : CALCULATEUR EN PREMIER, PHOTO EN DESSOUS ── */
  .hero-stage {
    flex-direction: column;
    margin-top: 1.25rem;
    gap: 1.25rem;
    width: 100%;
  }
  .hero-sim-wrap {
    order: 1 !important;
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
  }
  .hero-photo-wrap {
    order: 2 !important;
    flex: 1 1 auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    display: block;
  }
  .hero-photo-wrap picture {
    display: block;
    width: 100%;
    height: auto;
  }
  .hero-photo-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0;
    box-shadow: none;
    filter: none;
  }
  .hero-duo-container {
    display: none !important;
  }

  /* ── CALCULATEUR MOBILE ── */
  .simulator-card {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
    border-radius: 20px;
    padding: 1.15rem;
    box-shadow: 0 4px 20px rgba(28, 24, 70, 0.10);
  }
  /* Inputs et boutons tactiles */
  .input {
    min-height: 48px;
    font-size: 1rem;
    width: 100%;
  }
  .input--search {
    min-height: 48px;
    font-size: 1rem;
    padding: 0.6rem 0.85rem 0.6rem 2.4rem;
  }
  .input:focus,
  .input--search:focus,
  #searchInput:focus {
    font-size: 16px;
  }
  .btn--full {
    min-height: 46px;
    width: 100%;
  }
  .slider::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
  }

  /* ── SECTION MÉTIERS MOBILE ── */
  .section {
    padding: 2rem 0;
  }
  .section-title {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
    margin-bottom: 0.35rem;
  }
  .section-header {
    margin-bottom: 1.25rem;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  /* Cartes métiers mobile */
  .jobs-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .resources-grid { grid-template-columns: 1fr; }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .result-meta { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Info strip mobile */
  .info-strip {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    padding: var(--sp-4);
  }
}

/* ============================================================
   23c. GRAND SMARTPHONE (480px – 767px)
   ============================================================ */
@media (min-width: 480px) and (max-width: 767px) {
  :root {
    --header-h: var(--header-h-mobile);
    --gutter: 1.25rem;
  }

  /* ── HEADER ── */
  .site-header { height: var(--header-h-mobile); }
  .logo-sub { display: none !important; }
  .site-nav { display: none !important; }

  .mobile-menu-btn { display: flex; }
  .btn-p2c {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* ── HERO ── */
  .hero {
    padding: 1.5rem 0 2rem;
    overflow: visible;
  }
  .hero .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero-intro {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.35rem);
    line-height: 1.08;
    margin-bottom: 0.875rem;
    text-align: center;
    display: block;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.57;
    max-width: none;
    margin-bottom: 1rem;
    text-align: center;
  }

  /* Calculateur */
  .simulator-card {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(28, 24, 70, 0.10);
  }
  .input { min-height: 48px; width: 100%; }
  .btn--full { min-height: 46px; width: 100%; }

  /* Bénéfices à 3 colonnes compactes */
  .hero-benefits {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(101, 66, 199, 0.10);
  }
  .hero-benefit-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }
  .hero-benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .hero-benefit-img { width: 28px; height: 28px; object-fit: contain; }
  .hero-benefit-title { font-size: 0.75rem; }
  .hero-benefit-desc { font-size: 0.65rem; display: block; }

  .hero-stage {
    flex-direction: column;
    margin-top: 1.25rem;
    gap: 1.25rem;
    width: 100%;
  }
  .hero-sim-wrap {
    order: 1 !important;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
  }
  .hero-photo-wrap {
    order: 2 !important;
    flex: 0 0 auto;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: block;
  }
  .hero-photo-wrap picture {
    display: block;
    width: 100%;
  }
  .hero-photo-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  .hero-duo-container {
    display: none !important;
  }

  /* Grilles */
  .jobs-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .milestones { grid-template-columns: repeat(3, 1fr); }
  .result-meta { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .info-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-5);
  }

  .section {
    padding: 2rem 0;
  }
  .section-header {
    margin-bottom: 1.25rem;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
}

/* ============================================================
   23d. TABLETTE (768px – 1023px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --gutter: 2rem; }

  /* Header : masquer nav desktop pour tenir sur 1 ligne */
  .site-nav { display: none !important; }

  .logo-sub { display: none !important; }
  .mobile-menu-btn { display: flex; }
  .btn-p2c { padding: 0.45rem 1rem; font-size: 0.85rem; }

  /* ── HERO TABLETTE ── */
  .hero {
    padding: 2rem 0 2.5rem;
    overflow: visible;
  }
  .hero .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .hero-intro {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(2.1rem, 4.2vw, 2.6rem);
    line-height: 1.1;
    text-align: center;
  }
  .hero-title br {
    display: block;
  }
  .hero-subtitle {
    font-size: 0.975rem;
    max-width: 720px;
    margin: 0 auto 1.25rem;
    text-align: center;
  }
  .hero-benefits {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem 1.75rem;
    flex-wrap: wrap;
  }
  .hero-benefit-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .hero-stage {
    max-width: 920px;
    margin: 2rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }
  @media (max-width: 899px) {
    .hero-stage {
      flex-direction: column;
      align-items: center;
    }
    .hero-sim-wrap {
      order: 1;
      width: 100%;
      max-width: 440px;
    }
    .hero-photo-wrap,
    .hero-duo-container {
      order: 2;
      width: 100%;
      max-width: 480px;
      margin-right: 0;
    }
  }
  @media (min-width: 900px) {
    .hero-stage {
      flex-direction: row;
      gap: 2.5rem;
    }
    .hero-photo-wrap,
    .hero-duo-container {
      order: unset;
      flex: 0 0 490px;
      width: 490px;
      margin-right: 0;
    }
    .hero-sim-wrap {
      order: unset;
      flex: 0 0 390px;
      width: 390px;
    }
  }

  /* Calculateur tablette */
  .simulator-card {
    margin: 0;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 6px 28px rgba(28, 24, 70, 0.10);
  }

  /* Grilles tablette */
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .milestones { grid-template-columns: repeat(3, 1fr); }
  .result-meta { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-item { flex-direction: column; text-align: center; align-items: center; }
  .step-num::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 1.5rem; }
}

/* ============================================================
   24. RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  :root { --gutter: 2.5rem; }

  .site-nav, .site-nav.is-open { 
    display: flex !important; 
    position: static;
    flex-direction: row;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
  }
  .site-nav a { width: auto; }
  .mobile-menu-btn { display: none !important; }
  .logo-sub { display: block !important; }

  /* ── HERO DESKTOP ── */
  .hero {
    padding: 2.25rem 0 4.5rem;
    overflow: visible;
    position: relative;
  }
  .hero .container {
    max-width: var(--container);
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-intro {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
  }

  /* Titre et description desktop : EXACTEMENT 2 LIGNES SUR DESKTOP */
  .hero-title {
    font-size: clamp(2.3rem, 3.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    text-align: center;
  }
  .hero-title br {
    display: block;
  }
  .hero-subtitle {
    font-size: 1.05rem;
    font-weight: var(--fw-normal, 400);
    max-width: 800px;
    line-height: 1.45;
    margin: 0 auto 1.5rem;
    text-align: center;
  }

  /* 3 AVANTAGES DESKTOP : EXACTEMENT SUR UNE SEULE LIGNE */
  .hero-benefits {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    margin-top: 0.5rem;
    padding-top: 0;
    border-top: none;
    width: 100%;
  }
  .hero-benefit-item {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.75rem;
  }
  .hero-benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    flex-shrink: 0;
  }
  .hero-benefit-icon svg,
  .hero-benefit-icon img,
  .hero-benefit-img { width: 42px; height: 42px; object-fit: contain; }
  .hero-benefit-title { font-size: 0.95rem; white-space: nowrap; }
  .hero-benefit-desc { display: block; font-size: 0.825rem; white-space: nowrap; }

  /* DEUXIÈME BLOC DESKTOP : ILLUSTRATION (GAUCHE) + CALCULATEUR (DROITE) */
  .hero-stage {
    max-width: 1040px;
    margin: 2.25rem auto 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
    position: relative;
    z-index: 2;
  }

  .hero-photo-wrap {
    order: unset;
    flex: 0 0 510px;
    width: 510px;
    max-width: 100%;
    position: relative;
    z-index: 1;
    margin: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }
  .hero-photo-wrap picture {
    display: block;
    width: 100%;
    height: auto;
  }
  .hero-photo-wrap img {
    border-radius: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    box-shadow: none;
    filter: none;
  }

  .hero-sim-wrap {
    order: unset;
    flex: 0 0 430px;
    width: 430px;
    max-width: 100%;
    position: relative;
    z-index: 5;
    margin: 0;
  }

  .simulator-card {
    position: relative;
    z-index: 5;
    margin: 0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 48px rgba(28, 24, 70, 0.14), 0 2px 10px rgba(28, 24, 70, 0.05);
    padding: 1.4rem 1.35rem;
  }

  .jobs-grid { grid-template-columns: repeat(4, 1fr); }
  .resources-grid { grid-template-columns: repeat(4, 1fr); }
  .milestones { grid-template-columns: repeat(6, 1fr); }

  .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .step-item { flex-direction: column; text-align: center; align-items: center; }
  .step-num::after { display: none; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }

  .result-meta { grid-template-columns: 1fr 1fr 1fr; }

  .brut-net-banner { padding: 2rem 2.5rem; }
  .brut-net-banner-content { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); }
  .brut-net-banner-text { flex: 1; }
  .brut-net-title { margin-bottom: var(--sp-3); }

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

  .info-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   24b. DESKTOP LARGE (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
  .hero-intro {
    max-width: 980px;
  }
  .hero-subtitle {
    max-width: 820px;
  }
  .hero-stage {
    max-width: 1060px;
    margin-top: 2.5rem;
    gap: 80px;
  }
  .hero-photo-wrap {
    flex: 0 0 520px;
    width: 520px;
    margin: 0;
  }
  .hero-sim-wrap {
    flex: 0 0 440px;
    width: 440px;
  }
}

/* ============================================================
   26. CALCULATEUR BRUT → NET — Design premium v2
   ============================================================ */

/* Variantes hero */
.hero--compact { padding: var(--sp-8) 0 var(--sp-6); }
.hero-grid--centered {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  align-items: center;
}
.hero-grid--centered .hero-content {
  order: 1;
  margin-bottom: 0;
}
.hero-grid--centered .bn-card {
  order: 2;
}
.hero-content--centered {
  max-width: 620px;
  width: 100%;
  text-align: center;
}
.hero-content--centered .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ── Carte principale ── */
.bn-card {
  background: var(--c-surface);
  border-radius: var(--r-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--c-border);
  padding: var(--sp-6);
  position: relative;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  order: 2;
}

/* Neutraliser max-width: 100% sur tous les SVG — ils ne doivent pas exploser */
/* On supprime uniquement le max-width problématique ; les tailles
   explicites (attributs HTML width/height ou classes CSS) restent prioritaires. */
.bn-card svg {
  max-width: none;
  flex-shrink: 0;
}
/* SVG sans taille explicite dans le HTML → on impose 24×24 par défaut */
.bn-card svg:not([width]):not([height]) {
  width: 24px;
  height: 24px;
}

/* ── Référence salaire ── */
.bn2-ref {
  margin-bottom: var(--sp-5);
}
.bn2-ref-inner {
  display: flex;
  align-items: flex-start; /* Align to start in case of wrapping */
  justify-content: space-between;
  gap: var(--sp-3);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  border-radius: var(--r-2xl);
  padding: var(--sp-4) var(--sp-5);
  color: white;
}
.bn2-ref-left {
  min-width: 0;
  flex: 1;
}
.bn2-ref-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: var(--sp-1);
}
.bn2-ref-amount {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  letter-spacing: -0.025em;
}
.bn2-ref-meta {
  font-size: var(--text-xs);
  opacity: 0.7;
  margin-top: var(--sp-1);
}
.bn2-ref-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r-full);
  padding: var(--sp-1) var(--sp-3);
  text-decoration: none;
  transition: all var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.bn2-ref-link:hover { color: white; background: rgba(255,255,255,0.15); }
.bn2-ref-link svg { width: 12px; height: 12px; }

/* Manuel */
.bn2-manual {
  margin-bottom: var(--sp-5);
}
.bn2-input-unit {
  position: absolute;
  right: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-muted);
  font-size: var(--text-sm);
  pointer-events: none;
}

/* ── Cartes situation familiale ── */
.bn2-sf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.bn2-sf-card {
  display: block;
  cursor: pointer;
}
.bn2-sf-card input[type="radio"] {
  /* Caché visuellement mais accessible */
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.bn2-sf-content {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--c-border);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  position: relative;
  height: 100%;
  min-height: 0;
}
.bn2-sf-card:hover .bn2-sf-content {
  border-color: var(--c-primary-light);
  background: var(--c-primary-subtle);
}
.bn2-sf-card input[type="radio"]:checked + .bn2-sf-content {
  border-color: var(--c-primary);
  background: var(--c-primary-pale);
  box-shadow: 0 0 0 3px rgba(101, 66, 199, 0.12);
}
.bn2-sf-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: var(--r-lg);
  background: var(--c-primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
/* Taille explicite des SVG icônes — jamais géants */
.bn2-sf-icon svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
  color: var(--c-primary);
}
.bn2-sf-card input:checked + .bn2-sf-content .bn2-sf-icon {
  background: var(--c-primary-pale);
}
.bn2-sf-text { flex: 1; min-width: 0; }
.bn2-sf-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  line-height: 1.3;
}
.bn2-sf-desc {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  margin-top: 2px;
}
.bn2-sf-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: var(--fw-bold);
  padding: 2px 6px;
  border-radius: 4px;
  margin: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bn2-sf-badge--sans {
  background: var(--c-success-pale);
  color: var(--c-success);
}
.bn2-sf-badge--avec {
  background: var(--c-info-pale);
  color: var(--c-info);
}
.bn2-sf-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border-radius: var(--r-full);
  border: 2px solid var(--c-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  transition: all var(--t-fast);
}
.bn2-sf-card input:checked + .bn2-sf-content .bn2-sf-check {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: white;
}
.bn2-sf-check svg {
  width: 12px;
  height: 12px;
  max-width: 12px;
  max-height: 12px;
  flex-shrink: 0;
}

/* Bloc conjoint */
.bn2-conjoint {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
  animation: fadeSlideIn 0.2s ease both;
}

/* ── Boutons compteur enfants ── */
.bn2-hint {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
  line-height: var(--leading-relaxed);
}

.bn2-count-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.bn2-count-btn {
  width: 52px; height: 52px;
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--c-text-secondary);
  background: var(--c-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.bn2-count-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-primary-pale);
}
.bn2-count-btn.is-selected {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(101, 66, 199, 0.30);
}

/* ── Boutons segmentés temps partiel ── */
.bn2-seg {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}
.bn2-seg-btn {
  padding: var(--sp-2) var(--sp-3);
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  background: var(--c-surface);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.bn2-seg-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-primary-pale);
}
.bn2-seg-btn.is-selected {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(101, 66, 199, 0.25);
}

/* ── Navigation wizard ── */
.bn2-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}

/* ── Récapitulatif ── */
.bn2-recap {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.bn2-recap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-border);
  gap: var(--sp-3);
}
.bn2-recap-key {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
}
.bn2-recap-val {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  text-align: right;
}

/* ════════════════════════════
   RÉSULTAT
════════════════════════════ */

/* Bloc héros net */
.bn2-result-hero {
  background: linear-gradient(135deg, hsl(203, 60%, 97%) 0%, hsl(145, 50%, 96%) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-6);
  text-align: center;
  margin-bottom: var(--sp-4);
}
.bn2-result-hero-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-success);
  margin-bottom: var(--sp-3);
}
.bn2-result-hero-amount {
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--c-success);
  margin-bottom: var(--sp-1);
}
.bn2-result-hero-ratio {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-5);
}

/* Barre visuelle */
.bn2-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  text-align: left;
}
.bn2-bar-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.bn2-bar-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-text-muted);
  width: 28px;
  flex-shrink: 0;
}
.bn2-bar {
  flex: 1;
  height: 10px;
  background: var(--c-border);
  border-radius: var(--r-full);
  overflow: hidden;
}
.bn2-bar-fill {
  height: 100%;
  background: var(--c-primary-light);
  border-radius: var(--r-full);
  transition: width 0.7s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.bn2-bar-fill--net {
  background: var(--c-success);
}
.bn2-bar-val {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  width: 70px;
  text-align: right;
  flex-shrink: 0;
}
.bn2-bar-val--net { color: var(--c-success); }

/* Détail décomposition */
.bn2-detail {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-4);
}
.bn2-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  gap: var(--sp-3);
}
.bn2-detail-row span:first-child {
  flex: 1;
  min-width: 0;
}
.bn2-detail-row span:last-child {
  font-weight: var(--fw-semibold);
  text-align: right;
  white-space: nowrap;
}
.bn2-detail-row--head span:first-child  { font-weight: var(--fw-medium); color: var(--c-text); flex: 1; min-width: 0; }
.bn2-detail-row--head span:last-child   { color: var(--c-text); font-size: var(--text-base); }
.bn2-detail-row--deduct span:first-child { color: var(--c-text-secondary); }
.bn2-detail-row--deduct span:last-child  { color: hsl(0, 55%, 45%); }
.bn2-detail-row--plus span:last-child    { color: var(--c-success); }
.bn2-detail-row--neutral span:first-child { color: var(--c-text-secondary); }
.bn2-detail-row--neutral span:last-child  { color: var(--c-text); }
.bn2-detail-row--net span:first-child  {
  font-weight: var(--fw-bold);
  color: var(--c-text);
  font-size: var(--text-base);
}
.bn2-detail-row--net span:last-child {
  color: var(--c-success);
  font-size: var(--text-base);
}
.bn2-detail-sep {
  height: 1px;
  background: var(--c-border);
  margin: 0 var(--sp-5);
}
.bn2-detail-sep--strong {
  height: 2px;
  background: var(--c-border-strong);
  margin: 0;
}

/* Disclaimer */
.bn2-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-4);
}

/* Actions résultat */
.bn2-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

/* ── FAQ Explications (vrais accordéons modernes) ── */
.bn2-faq {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.bn2-faq-item {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.bn2-faq-item.is-open {
  border-color: var(--c-primary-light);
  box-shadow: 0 2px 8px rgba(101, 66, 199, 0.08);
}

.bn2-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-surface);
  border: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  text-align: left;
  transition: background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.bn2-faq-btn:hover { background: var(--c-primary-subtle); }

/* Icône flèche — taille explicitement contrainte */
.bn2-faq-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  color: var(--c-text-muted);
  transition: transform var(--t-base);
  display: block;
}
.bn2-faq-item.is-open .bn2-faq-arrow { transform: rotate(180deg); }

/* Corps accordéon */
.bn2-faq-body {
  display: none;
  padding: 0 var(--sp-5) var(--sp-5);
  padding-top: var(--sp-1);
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}
.bn2-faq-item.is-open .bn2-faq-body {
  display: block;
  animation: fadeSlideIn 0.2s ease both;
}

/* ── Sources ── */
.bn2-sources {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-6);
}
.bn2-sources-title {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
}
.bn2-sources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.bn2-source-item {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
}
.bn2-source-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  margin-bottom: 2px;
}
.bn2-source-val {
  font-size: var(--text-xs);
  color: var(--c-text-secondary);
}
.bn2-sources-link {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--c-primary);
  font-weight: var(--fw-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}
.bn2-sources-link:hover { color: var(--c-primary-hover); }

/* ════════════════════════════
   RESPONSIVE — Brut-net
════════════════════════════ */

@media (min-width: 560px) {
  /* Grille 3 colonnes pour les cartes de situation familiale */
  .bn2-sf-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2);
  }
  .bn2-sf-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
    padding: var(--sp-3);
  }
  .bn2-sf-check {
    position: absolute;
    top: var(--sp-2);
    right: var(--sp-2);
  }
}

@media (min-width: 680px) {
  /* Le hero reste centré en colonne unique — pas de split 2 colonnes */
  .hero-grid--centered {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .bn-card { margin: 0 auto; }
  .bn2-count-row { flex-wrap: nowrap; }
  .bn2-sources-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Horaire contractuel — boutons presets ── */
.bn2-horaire-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.bn2-horaire-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--sp-2) var(--sp-3);
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
  min-width: 72px;
}
.bn2-horaire-btn:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-pale);
}
.bn2-horaire-btn.is-selected {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(14,74,110,0.25);
}
.bn2-horaire-h {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}
.bn2-horaire-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-normal);
  opacity: 0.7;
  line-height: 1.2;
  white-space: nowrap;
}
.bn2-horaire-btn.is-selected .bn2-horaire-label { opacity: 0.85; }

/* ── Autre horaire — champs heures + minutes ── */
.bn2-autre-horaire-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.bn2-autre-h-wrap {
  width: 92px;
  flex-shrink: 0;
}
.bn2-autre-m-wrap {
  width: 104px;
  flex-shrink: 0;
}
.bn2-autre-input {
  padding-right: 1.85rem !important;
  text-align: right;
  font-size: 16px;
}
.bn2-autre-input--min {
  padding-right: 2.85rem !important;
  text-align: right;
  font-size: 16px;
}
.bn2-autre-unit {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  white-space: nowrap;
}

/* ── Prestations irrégulières ── */
.bn2-presta-list {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.bn2-presta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}
.bn2-presta-row:last-child { border-bottom: none; }
.bn2-presta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.bn2-presta-type {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
}
.bn2-presta-taux {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  font-weight: var(--fw-medium);
}
.bn2-presta-input-wrap,
.bn2-presta-time-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}
.bn2-presta-time-field {
  display: flex;
  align-items: center;
  gap: 4px;
}
.bn2-presta-input,
.bn2-presta-time-input {
  width: 60px !important;
  min-height: 40px;
  padding: 0.35rem 4px !important;
  text-align: center;
  font-weight: var(--fw-semibold);
  font-size: 16px !important;
}
.bn2-presta-input:focus,
.bn2-presta-time-input:focus {
  font-size: 16px !important;
}
.bn2-presta-unit,
.bn2-presta-time-unit {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  white-space: nowrap;
}
.bn2-presta-example {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-3);
  padding: var(--sp-3);
  background: var(--c-surface);
  border-left: 3px solid var(--c-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--text-xs);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
}
.bn2-horaire-brut-badge {
  margin-top: var(--sp-3);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
}

/* ── Accordéon Plusieurs employeurs ── */
.bn2-multi-empl-details {
  margin-top: var(--sp-4);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}
.bn2-multi-empl-details summary {
  cursor: pointer;
  color: var(--c-text-secondary);
  font-weight: var(--fw-medium);
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bn2-multi-empl-details summary::-webkit-details-marker {
  display: none;
}
.bn2-multi-empl-details-body {
  margin-top: var(--sp-2);
  padding: var(--sp-3);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  line-height: var(--leading-relaxed);
  color: var(--c-text-secondary);
}

/* ── Récap — ligne sursalaire ── */
.bn2-recap-row--presta span:last-child { color: var(--c-success); }
.bn2-recap-row--total {
  background: var(--c-primary-subtle);
}
.bn2-recap-row--total span:first-child { font-weight: var(--fw-bold); color: var(--c-text); }
.bn2-recap-row--total span:last-child  { font-weight: var(--fw-extrabold); color: var(--c-primary); font-size: var(--text-base); }

/* ── Plusieurs employeurs — notice ── */
.bn2-info-notice {
  background: var(--c-info-pale);
  border: 1.5px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--r-xl);
  padding: var(--sp-4) var(--sp-5);
}
.bn2-info-notice-title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--c-info);
  margin-bottom: var(--sp-3);
}
.bn2-info-notice-title svg {
  flex-shrink: 0;
  color: var(--c-info);
}
.bn2-info-notice-text {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-3);
}
.bn2-checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  cursor: pointer;
  user-select: none;
}
.bn2-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--c-primary);
  cursor: pointer;
}
.bn2-info-notice-warning {
  margin-top: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(101, 66, 199, 0.07);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  color: var(--c-primary);
  line-height: var(--leading-relaxed);
  font-style: italic;
}

/* ============================================================
   25. PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .result-actions, .chart-section, .bn2-actions { display: none; }
  .result-salary-block { border: 2px solid #000; background: none; }
}


/* ============================================================
   26. CALCULATEUR BRUT → NET
   ============================================================ */

/* Layout 2 colonnes */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}

/* Carte de référence salaire */
.bn-ref-card {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: white;
  border-radius: var(--r-2xl);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-5);
}
.bn-ref-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: var(--sp-2);
}
.bn-ref-amount {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-2);
}
.bn-ref-meta {
  font-size: var(--text-sm);
  opacity: 0.75;
  margin-bottom: var(--sp-3);
}
.bn-ref-change {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}
.bn-ref-change:hover { color: white; }

/* Progression dots */
.bn-steps-progress {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.bn-step-dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: var(--c-border);
  transition: background var(--t-base), width var(--t-base);
}
.bn-step-dot.active { background: var(--c-primary); width: 24px; }
.bn-step-dot.done   { background: var(--c-success); }

/* Étapes formulaire */
.bn-step {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  animation: fadeSlideIn 0.22s ease both;
}

.bn-step-header {
  margin-bottom: var(--sp-5);
}
.bn-step-num {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-1);
}
.bn-step-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  line-height: var(--leading-snug);
}

/* Radio cards pour situation familiale */
.bn-field-group { margin-bottom: var(--sp-4); }
.bn-field-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}
.bn-field-desc {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-2);
}

.bn-radio-card {
  display: block;
  margin-bottom: var(--sp-2);
  cursor: pointer;
}
.bn-radio-card input[type="radio"] { display: none; }
.bn-radio-content {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: all var(--t-fast);
  background: var(--c-surface);
}
.bn-radio-card:hover .bn-radio-content {
  border-color: var(--c-primary);
  background: var(--c-primary-subtle);
}
.bn-radio-card input[type="radio"]:checked + .bn-radio-content {
  border-color: var(--c-primary);
  background: var(--c-primary-pale);
  box-shadow: 0 0 0 3px rgba(101, 66, 199, 0.10);
}
.bn-radio-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.bn-radio-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
}
.bn-radio-desc {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}

/* Bloc conditionnel (revenu conjoint) */
.bn-conditional {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
}

/* Boutons compteur (enfants) */
.bn-count-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}
.bn-count-btn {
  padding: var(--sp-3) var(--sp-2);
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  background: var(--c-surface);
  cursor: pointer;
  text-align: center;
  transition: all var(--t-fast);
}
.bn-count-btn:hover  { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-pale); }
.bn-count-btn.is-selected { border-color: var(--c-primary); background: var(--c-primary); color: white; }

/* Boutons temps partiel */
.bn-pct-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}
.bn-pct-btn {
  padding: var(--sp-2) var(--sp-1);
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  background: var(--c-surface);
  cursor: pointer;
  text-align: center;
  transition: all var(--t-fast);
}
.bn-pct-btn:hover     { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-pale); }
.bn-pct-btn.is-selected { border-color: var(--c-primary); background: var(--c-primary); color: white; }

/* Récapitulatif étape 3 */
.bn-recap {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.bn-recap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--c-border);
}
.bn-recap-row:last-child { border-bottom: none; }
.bn-recap-label { color: var(--c-text-secondary); }
.bn-recap-value { font-weight: var(--fw-semibold); color: var(--c-text); }

/* Colonne résultat */
.bn-result-placeholder {
  background: var(--c-surface);
  border: 2px dashed var(--c-border-strong);
  border-radius: var(--r-2xl);
  padding: var(--sp-12) var(--sp-6);
  text-align: center;
}
.bn-placeholder-icon { font-size: 3rem; margin-bottom: var(--sp-3); opacity: 0.6; }
.bn-placeholder-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  margin-bottom: var(--sp-2);
}
.bn-placeholder-text {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: var(--leading-relaxed);
}

/* Carte résultat */
.bn-result {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeSlideIn 0.3s ease both;
}

.bn-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-6);
  background: var(--c-primary-subtle);
  border-bottom: 1px solid var(--c-border);
}
.bn-result-header-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* Tableau décomposition */
.bn-breakdown {
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--c-border);
}
.bn-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-2) 0;
}
.bn-breakdown-label {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
}
.bn-breakdown-value {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
}
.bn-breakdown-neg   { color: hsl(0, 65%, 45%); }
.bn-breakdown-pos   { color: var(--c-success); }
.bn-breakdown-neutral { color: var(--c-text); }
.bn-breakdown-brut .bn-breakdown-label { font-weight: var(--fw-semibold); color: var(--c-text); }
.bn-breakdown-brut .bn-breakdown-value { color: var(--c-text); font-size: var(--text-base); }
.bn-breakdown-sep {
  height: 1px;
  background: var(--c-border);
  margin: var(--sp-2) 0;
}

/* Salaire net */
.bn-result-net {
  padding: var(--sp-6);
  text-align: center;
  background: linear-gradient(135deg, hsl(145, 62%, 97%), hsl(145, 55%, 94%));
  border-bottom: 1px solid var(--c-border);
}
.bn-result-net-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-success);
  margin-bottom: var(--sp-2);
}
.bn-result-net-amount {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-success);
  margin-bottom: var(--sp-1);
}
.bn-result-net-sub {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}

/* Disclaimer */
.bn-disclaimer {
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  line-height: var(--leading-relaxed);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
}

/* Actions résultat */
.bn-result-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
}

/* Explications */
.bn-explications {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.bn-expl-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}
.bn-expl-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.bn-expl-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-1);
}
.bn-expl-text {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
}

/* Info box */
.info-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
}
.info-box-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.info-box-text {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
}
.info-box-text ul li { margin-bottom: var(--sp-2); }
.info-box-text a { color: var(--c-primary); text-decoration: underline; }
.info-box-text a:hover { color: var(--c-primary-hover); }

/* Content hero (pages internes) */
.content-hero {
  padding: var(--sp-10) 0 var(--sp-8);
  background: linear-gradient(160deg, var(--c-primary-subtle) 0%, var(--c-bg) 60%);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb-sep { color: var(--c-border-strong); }

/* ── Responsive brut-net ── */
@media (min-width: 900px) {
  .calc-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .calc-result-col {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-6));
  }
  .bn-count-grid { grid-template-columns: repeat(9, 1fr); }
}

.hero-title em {
  color: var(--work-purple);
  font-style: italic;
}

/* ═════════════════════════════════════════════════════════
   JOB HERO PAGE
   ═════════════════════════════════════════════════════════ */
.job-hero-grid {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

@media (min-width: 992px) {
  .job-hero-grid {
    grid-template-columns: 53% 47%;
    gap: var(--sp-4);
  }
  .job-hero-content {
    width: 120%;
  }
  .job-hero-content .direct-answer {
    max-width: 95%;
  }
}

.job-hero-content {
  position: relative;
  z-index: 2;
}

.job-page-hero .hero-title,
.job-hero-content .hero-title {
  text-align: left;
}

.job-hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

.job-hero-media::before {
  content: "";
  position: absolute;
  top: -28%;
  bottom: -28%;
  left: -50%;
  right: -25%;
  background: 
    radial-gradient(ellipse 65% 60% at 55% 45%, rgba(186, 165, 248, 0.55) 0%, rgba(205, 190, 252, 0.35) 40%, rgba(234, 229, 248, 0.15) 65%, transparent 80%),
    radial-gradient(ellipse 55% 50% at 20% 50%, rgba(186, 165, 248, 0.45) 0%, rgba(215, 203, 252, 0.25) 45%, transparent 75%),
    radial-gradient(ellipse 50% 45% at 75% 40%, rgba(205, 190, 252, 0.40) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(45px);
  border-radius: 40%;
}

.job-hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

@media (max-width: 991px) {
  .job-hero-media {
    order: -1;
    margin-bottom: var(--sp-2);
  }
  .job-hero-media::before {
    top: -15%;
    bottom: -15%;
    left: -20%;
    right: -20%;
    filter: blur(25px);
  }
  .job-hero-img {
    max-height: 350px;
  }
}

/* ════════════════════════════
   RESPONSIVE — Brut-net Mobile Fixes
════════════════════════════ */
@media (max-width: 559px) {
  /* Fix global card overflow */
  .bn-card {
    padding: var(--sp-4);
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Fix reference block */
  .bn2-ref-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
  .bn2-ref-link {
    width: 100%;
    justify-content: center;
  }

  /* Fix horaire grid */
  .bn2-horaire-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2);
  }
  .bn2-horaire-btn {
    width: 100%;
    min-width: 0;
  }
  .bn2-horaire-btn[data-h="autre"] {
    grid-column: 1 / -1;
  }

  /* Fix presta rows */
  .bn2-presta-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-2);
  }
  .bn2-presta-time-wrap {
    width: 100%;
    justify-content: flex-end;
  }
  .bn2-presta-input-wrap {
    width: 100%;
  }
  .bn2-presta-input-wrap .input,
  .bn2-presta-time-input,
  .bn2-presta-input,
  .bn2-autre-input,
  .bn2-autre-input--min {
    font-size: 16px !important;
  }
  .bn2-presta-input-wrap .input:focus,
  .bn2-presta-time-input:focus,
  .bn2-presta-input:focus,
  .bn2-autre-input:focus,
  .bn2-autre-input--min:focus {
    font-size: 16px !important;
  }

  /* Fix navigation */
  .bn2-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .bn2-nav .btn {
    width: 100%;
    justify-content: center;
  }

  /* Recap items wrapping */
  .bn2-recap-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-1);
    padding-block: var(--sp-3);
  }
  .bn2-recap-row span:last-child {
    align-self: flex-start;
  }
  .bn2-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-1);
  }
  .bn2-detail-row span:last-child {
    align-self: flex-start;
  }
}

/* ============================================================
   12. SPONSOR CARD
   ============================================================ */
.sponsor-card {
  background: var(--c-primary-subtle);
  border: 1px solid var(--c-primary-pale);
  border-radius: var(--r-2xl);
  padding: var(--sp-5);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--c-primary-light);
  border-top-left-radius: var(--r-2xl);
  border-bottom-left-radius: var(--r-2xl);
}

.sponsor-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
}

.sponsor-content {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  justify-content: space-between;
}

.sponsor-main {
  flex: 1;
}

.sponsor-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.sponsor-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.sponsor-text {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-4);
}

.sponsor-logo {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--r-sm);
  padding: var(--sp-1);
  border: 1px solid var(--c-border);
}

.sponsor-disclaimer {
  font-size: 0.65rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .sponsor-content {
    flex-direction: column-reverse;
  }
  .sponsor-aside {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-3);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--c-border);
  }
  .sponsor-title {
    font-size: var(--text-base);
  }
  .sponsor-cta {
    width: 100%;
    justify-content: center;
  }
  .job-card {
    padding: var(--sp-4);
    gap: var(--sp-3);
  }
  .job-card__icon {
    width: 48px;
    height: 48px;
    padding: 5px;
    border-radius: var(--r-lg);
  }
}

.all-jobs-action {
  text-align: center;
  margin-top: 3rem;
}


.job-highlight {
  background-color: var(--c-primary-pale);
  padding: 0 0.15em;
  border-radius: 6px;
  color: var(--c-text);
}

/* ═════════════════════════════════════════════════════════
   HEADERS ÉDITORIAUX DES PAGES INTERNES (HARMONISATION H1)
   ═════════════════════════════════════════════════════════ */
.internal-page-header {
  text-align: center;
}

.internal-page-header .hero-title,
.internal-page-header h1 {
  display: block !important;
  text-align: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.internal-page-header .hero-title br {
  display: inline;
}

.internal-page-header .hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.internal-page-header .hero-eyebrow {
  justify-content: center;
}

.internal-page-header .breadcrumb {
  justify-content: center;
}

.internal-page-header .direct-answer {
  text-align: left;
}

/* ── BOUTON VOIR TOUS LES MÉTIERS (MOBILE ONLY) ── */
.featured-jobs-mobile-action {
  display: none;
}

@media (max-width: 767px) {
  .btn-featured-desktop {
    display: none !important;
  }
  .featured-jobs-mobile-action {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
  }
}



