/* =========================================================
   JOB'Z — Design system v2
   Palette d'origine conservée : #0D1B2A / #1B263B / #415A77 / #778DA9 / #E0E1DD
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette de marque (inchangée) */
  --navy-900: #0D1B2A;
  --navy-800: #1B263B;
  --blue-600: #415A77;
  --steel-400: #778DA9;
  --mist-200: #E0E1DD;

  /* Teintes dérivées de la palette (mêmes teintes, luminosités différentes) */
  --navy-700: #24344D;
  --blue-700: #354B66;
  --steel-500: #5E7491;
  --steel-100: #E8EDF3;
  --steel-50: #F3F6F9;

  /* Sémantique (uniquement pour le feedback) */
  --success: #276B4E;
  --success-bg: #E7F3ED;
  --danger: #B42318;
  --danger-bg: #FDECEA;

  /* Rôles — thème clair */
  --bg: #F6F8FA;
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: var(--steel-50);
  --text: var(--navy-900);
  --text-2: var(--blue-600);
  --text-3: var(--steel-500);
  --line: #DCE3EB;
  --line-strong: #C3CDD9;
  --primary: var(--navy-900);
  --primary-hover: var(--navy-700);
  --on-primary: #FFFFFF;
  --accent: var(--blue-600);
  --focus: #415A77;
  --inverse-bg: var(--navy-900);
  --inverse-text: #F3F6F9;
  --inverse-muted: #A9B8CB;

  /* Typographie */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .875rem;    /* 14 */
  --fs-base: 1rem;     /* 16 */
  --fs-md: 1.125rem;   /* 18 */
  --fs-lg: 1.25rem;    /* 20 */
  --fs-xl: 1.5rem;     /* 24 */
  --fs-2xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  --lh-tight: 1.12;
  --lh-snug: 1.3;
  --lh-body: 1.65;

  /* Espacements (base 4px) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.25rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem;
  --s-20: 5rem; --s-24: 6rem;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --gutter: clamp(1.25rem, .8rem + 2vw, 2rem);
  --container: 72rem;

  /* Formes */
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06);
  --shadow-md: 0 1px 2px rgba(13, 27, 42, .05), 0 8px 24px -8px rgba(13, 27, 42, .14);
  --shadow-lg: 0 2px 4px rgba(13, 27, 42, .04), 0 24px 48px -16px rgba(13, 27, 42, .28);

  /* Mouvement */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 140ms;
  --t-med: 240ms;

  --header-h: 68px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0B1622; --bg-alt: #0D1B2A; --surface: #13233A; --surface-2: #1B263B;
  --text: #EEF2F6; --text-2: #B9C6D6; --text-3: #93A4BA;
  --line: #24344D; --line-strong: #34486A;
  --primary: #E0E1DD; --primary-hover: #FFFFFF; --on-primary: #0D1B2A;
  --accent: #9FB2CB; --focus: #9FB2CB; --inverse-bg: #1B263B;
  --success-bg: #12352A; --success: #6CC69F; --danger-bg: #3A1716; --danger: #F2938A;
  --steel-100: #1B263B; --steel-50: #13233A;
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
:root {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-tight); letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--steel-400); color: #fff; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--primary); color: var(--on-primary); padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm); text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + var(--s-3)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section--tight { padding-block: var(--s-12); }

.section-head { max-width: 40rem; margin-bottom: var(--s-12); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { margin-top: var(--s-4); color: var(--text-2); font-size: var(--fs-md); }
.kicker { display: inline-block; font-size: var(--fs-sm); font-weight: 500; color: var(--accent); margin-bottom: var(--s-3); }

.lede { font-size: var(--fs-md); color: var(--text-2); max-width: 34rem; }
.muted { color: var(--text-3); }

/* ---------- 4. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  margin-top: calc(-1 * env(safe-area-inset-top, 0px));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s-8); }

.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; }
.brand__tile {
  width: 36px; height: 36px; flex: none; display: block;
  background: url("../images/logo-jobz.png") center / cover no-repeat;
  border-radius: 9px; /* le logo porte déjà ses coins arrondis */
  filter: drop-shadow(0 1px 1.5px rgba(13,27,42,.18));
}
.brand__tile--sm { width: 30px; height: 30px; }
.brand:hover .brand__tile { filter: drop-shadow(0 2px 4px rgba(13,27,42,.22)); }

.nav { display: flex; gap: var(--s-1); margin-left: auto; }
.nav a {
  white-space: nowrap; text-decoration: none; font-size: var(--fs-sm); font-weight: 500; color: var(--text-2);
  padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--text); }
.nav a[aria-current="page"]::after, .nav a.is-active::after {
  content: ""; display: block; height: 2px; margin-top: 2px; border-radius: 2px; background: var(--accent);
}
.header__actions { display: flex; align-items: center; gap: var(--s-2); }

.header .burger { display: none; }

@media (max-width: 900px) {
  .nav, .header__actions .btn--ghost, .header__actions .theme-btn { display: none; }
  .header__actions { margin-left: auto; }
  .header .burger { display: inline-flex; }
}

/* Bouton jour / nuit */
.theme-btn { position: relative; overflow: hidden; }
.theme-btn svg { position: absolute; transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease); }
.theme-btn .i-moon { transform: none; opacity: 1; }
.theme-btn .i-sun { transform: translateY(120%) rotate(-90deg); opacity: 0; }
:root[data-theme="dark"] .theme-btn .i-moon { transform: translateY(-120%) rotate(90deg); opacity: 0; }
:root[data-theme="dark"] .theme-btn .i-sun { transform: none; opacity: 1; }
.drawer__theme { display: flex; align-items: center; justify-content: space-between; padding: var(--s-4) 0; font-size: var(--fs-md); font-weight: 500; }
.drawer__theme .segmented { width: 13rem; }
html.theme-anim, html.theme-anim * { transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), color var(--t-med) var(--ease) !important; }

/* Menu mobile */
.drawer {
  position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto;
  background: var(--bg); padding: calc(env(safe-area-inset-top, 0px)) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + var(--s-6));
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.drawer.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.drawer__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.drawer nav { display: flex; flex-direction: column; padding-top: var(--s-6); }
.drawer nav a {
  text-decoration: none; font-size: var(--fs-xl); font-weight: 500; padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
}
.drawer nav a[aria-current="page"] { color: var(--accent); }
.drawer__cta { display: grid; gap: var(--s-3); }

/* ---------- 5. Boutons ---------- */
.btn {
  --btn-h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--btn-h); padding: 0 var(--s-5); border-radius: var(--r-pill);
  border: 1px solid transparent; font-weight: 500; font-size: var(--fs-sm); line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap; user-select: none;
  transition: background var(--t-fast) var(--ease), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn--lg { --btn-h: 52px; padding: 0 var(--s-6); font-size: var(--fs-base); }
.btn--sm { --btn-h: 36px; padding: 0 var(--s-4); }
.btn--block { width: 100%; }

.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--text-3); background: var(--surface-2); }
.btn--ghost { background: transparent; color: var(--text-2); }
.btn--ghost:hover { color: var(--text); background: var(--surface-2); }
.btn--inverse { background: var(--mist-200); color: var(--navy-900); }
.btn--inverse:hover { background: #fff; }
.btn--inverse-outline { background: transparent; color: var(--inverse-text); border-color: rgba(224,225,221,.3); }
.btn--inverse-outline:hover { border-color: rgba(224,225,221,.7); }
.btn--icon { --btn-h: 44px; width: var(--btn-h); padding: 0; border-radius: var(--r-pill); }

.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn.is-loading { color: transparent !important; position: relative; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--on-primary); border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Boutons store */
.store {
  display: inline-flex; align-items: center; gap: var(--s-3); min-height: 52px; padding: var(--s-2) var(--s-5) var(--s-2) var(--s-4);
  border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  text-decoration: none; cursor: pointer; text-align: left; transition: border-color var(--t-fast), background var(--t-fast);
}
.store:hover { border-color: var(--text-3); }
.store svg { width: 22px; height: 22px; }
.store small { display: block; font-size: 11px; color: var(--text-3); line-height: 1.2; }
.store span { display: block; font-weight: 600; font-size: var(--fs-sm); line-height: 1.25; }
.store--inverse { background: transparent; border-color: rgba(224,225,221,.28); color: var(--inverse-text); }
.store--inverse small { color: var(--inverse-muted); }
.store--inverse:hover { border-color: rgba(224,225,221,.6); }

/* ---------- 6. Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--s-2); padding: 4px 10px;
  border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 500; line-height: 1.4;
  background: var(--steel-100); color: var(--text-2); border: 1px solid transparent;
}
.badge--outline { background: transparent; border-color: var(--line-strong); }
.badge--dark { background: var(--navy-900); color: #fff; }
.badge--success { background: var(--success-bg); color: var(--success); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge__dot--pulse { box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); } 70%,100% { box-shadow: 0 0 0 7px transparent; } }

/* ---------- 7. Formulaires ---------- */
.field { display: grid; gap: 6px; }
.field__label { font-size: var(--fs-sm); font-weight: 500; color: var(--text); }
.field__label .opt { color: var(--text-3); font-weight: 400; }
.field__hint { font-size: var(--fs-xs); color: var(--text-3); }
.field__error { font-size: var(--fs-xs); color: var(--danger); display: none; align-items: center; gap: 6px; }
.field.is-invalid .field__error { display: flex; }

.input, .select {
  width: 100%; min-height: 48px; padding: 0 var(--s-4); border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast); font-size: var(--fs-base);
}
.input::placeholder { color: var(--text-3); opacity: 1; }
.input:hover, .select:hover { border-color: var(--text-3); }
.input:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--danger); }
.field.is-invalid .input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 18%, transparent); }
.field.is-valid .input { border-color: color-mix(in srgb, var(--success) 60%, var(--line-strong)); }
.select {
  appearance: none; padding-right: var(--s-10); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23778DA9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

.check { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; cursor: pointer; font-size: var(--fs-sm); color: var(--text-2); }
.check input {
  appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--line-strong);
  background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast);
}
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-primary); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform var(--t-fast) var(--ease); }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check strong { color: var(--text); font-weight: 500; }
.field.is-invalid .check input { border-color: var(--danger); }

/* Segmented control */
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span {
  display: flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 40px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-2); transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.segmented span svg { width: 16px; height: 16px; }
.segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.segmented input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- 8. Alertes & toasts ---------- */
.alert { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); font-size: var(--fs-sm); border: 1px solid; }
.alert svg { width: 20px; height: 20px; margin-top: 1px; }
.alert--danger { background: var(--danger-bg); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 25%, transparent); }
.alert--info { background: var(--surface-2); color: var(--text-2); border-color: var(--line); }
.alert strong { font-weight: 600; display: block; }

.toasts { position: fixed; z-index: 90; right: var(--s-4); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--s-4)); display: grid; gap: var(--s-2); width: min(380px, calc(100% - 2rem)); }
.toast {
  display: grid; grid-template-columns: 20px 1fr auto; gap: var(--s-3); align-items: start;
  padding: var(--s-4); border-radius: var(--r-md); background: var(--navy-900); color: #F3F6F9;
  box-shadow: var(--shadow-lg); font-size: var(--fs-sm); animation: toast-in var(--t-med) var(--ease);
}
.toast svg { width: 20px; height: 20px; }
.toast button { background: none; border: 0; color: #A9B8CB; cursor: pointer; padding: 0 2px; font-size: var(--fs-sm); font-weight: 500; }
.toast button:hover { color: #fff; }
.toast.is-leaving { animation: toast-out var(--t-med) var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
@media (max-width: 640px) { .toasts { left: 50%; right: auto; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); } }

/* ---------- 9. Modale ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--s-4); visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(13,27,42,.55); opacity: 0; transition: opacity var(--t-med) var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(520px, 100%); max-height: calc(100dvh - 2rem); overflow: auto;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: var(--s-8);
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: var(--s-4); right: var(--s-4); }
.modal h2 { font-size: var(--fs-xl); margin-bottom: var(--s-2); padding-right: var(--s-10); }
@media (max-width: 640px) {
  .modal { place-items: end center; padding: 0; }
  .modal__panel { border-radius: var(--r-lg) var(--r-lg) 0 0; padding: var(--s-6) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + var(--s-6)); transform: translateY(24px); }
}

/* ---------- 10. Hero (candidats) ---------- */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) var(--section-y); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--fs-3xl); font-weight: 600; letter-spacing: -.035em; margin-block: var(--s-5) var(--s-5); text-wrap: balance; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.hero__reassure { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--text-3); }
.hero__reassure li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__reassure svg { width: 16px; height: 16px; color: var(--success); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__copy .lede { margin-inline: auto; }
  .hero__ctas, .hero__reassure { justify-content: center; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { width: 100%; }
}

/* Entrée de page : un seul moment orchestré */
.reveal > * { animation: rise .7s var(--ease) both; }
.reveal > *:nth-child(2) { animation-delay: 60ms; }
.reveal > *:nth-child(3) { animation-delay: 120ms; }
.reveal > *:nth-child(4) { animation-delay: 180ms; }
.reveal > *:nth-child(5) { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- 11. Démo swipe : fidèle à l'application iOS ---------- */
.phone {
  position: relative; width: min(340px, 100%); margin-inline: auto; aspect-ratio: 9 / 19.5;
  border-radius: 50px; padding: 11px; background: #0D1B2A;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone__island { position: absolute; z-index: 6; top: 22px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; }
.phone__screen {
  position: relative; height: 100%; border-radius: 40px; overflow: hidden;
  background: #F6F8FA; color: #0D1B2A; color-scheme: light;
  display: grid; grid-template-rows: auto auto 1fr auto auto;
}
.app-status { display: flex; justify-content: space-between; align-items: center; padding: 17px 26px 0 30px; height: 44px; font-size: 14px; font-weight: 600; }
.app-status__icons { display: flex; gap: 5px; align-items: center; }
.app-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px 12px; }
.app-head strong { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.app-head__right { display: flex; align-items: center; gap: 10px; }
.app-counter { font-size: 12px; font-weight: 600; color: #415A77; background: #E0E1DD; padding: 4px 11px; border-radius: 999px; min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; }
.app-heart { font-size: 19px; line-height: 1; }

.deck { position: relative; margin: 0 15px; touch-action: pan-y; min-height: 0; }
.card {
  position: absolute; inset: 0; border-radius: 26px; overflow: hidden; color: #fff; background: #0D1B2A;
  box-shadow: 0 18px 30px -18px rgba(13,27,42,.55);
  cursor: grab; user-select: none; -webkit-user-select: none;
  transition: transform .35s var(--ease), opacity .35s var(--ease); will-change: transform;
}
.card.is-dragging { transition: none; cursor: grabbing; }
.card:not(.is-top) { pointer-events: none; }
.card[data-depth="1"] { transform: translateY(8px) scale(.96); }
.card[data-depth="2"] { transform: translateY(16px) scale(.92); opacity: 0; }
.card__photo { position: absolute; inset: 0; background-image: var(--photo); background-repeat: no-repeat; }
.card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,42,0) 30%, rgba(13,27,42,.55) 55%, #111D2E 78%); }
.card__match {
  position: absolute; top: 14px; right: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.card__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 18px 22px; display: grid; gap: 7px; }
.card__company { font-size: 13px; color: rgba(255,255,255,.82); }
.card__title { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.card__tags span { font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 9px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); }
.card__salary { font-size: 15px; font-weight: 600; margin-top: 4px; }
.card__desc { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.82); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s var(--ease), opacity .3s var(--ease), margin .3s; }
.card.is-detail .card__desc { max-height: 120px; opacity: 1; margin-top: 4px; }
.card.is-detail .card__photo::after { background: linear-gradient(180deg, rgba(13,27,42,.1) 10%, rgba(13,27,42,.75) 40%, #111D2E 62%); }

.card__stamp {
  position: absolute; z-index: 2; top: 60px; padding: 4px 10px; border-radius: 8px; border: 2px solid; font-weight: 700; font-size: 14px;
  letter-spacing: .02em; opacity: 0; background: rgba(255,255,255,.95); pointer-events: none;
}
.card__stamp--yes { left: 16px; color: #2E7D5B; transform: rotate(-10deg); }
.card__stamp--no { right: 16px; color: #D92D3A; transform: rotate(10deg); }

.deck__empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 20px; color: #415A77; font-size: 13px; border-radius: 26px; border: 1px dashed #C3CDD9; }
.deck__empty strong { color: #0D1B2A; font-size: 15px; }
.deck__empty button { justify-self: center; }

.phone__actions { display: flex; justify-content: center; align-items: center; gap: 22px; padding: 14px 0 12px; }
.swipe-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; border: 2px solid #F4C7CB; color: #D92D3A;
  box-shadow: 0 8px 18px -10px rgba(13,27,42,.35);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), background var(--t-fast);
}
.swipe-btn svg { width: 22px; height: 22px; }
.swipe-btn:hover { transform: translateY(-2px); }
.swipe-btn:active { transform: scale(.9); }
.swipe-btn--no svg { stroke-width: 2; }
.swipe-btn--info { width: 46px; height: 46px; border-color: #E6EAEF; color: #415A77; }
.swipe-btn--info svg { width: 22px; height: 22px; }
.swipe-btn--info[aria-pressed="true"] { background: #0D1B2A; border-color: #0D1B2A; color: #fff; }
.swipe-btn--yes svg { width: 24px; height: 24px; }

.app-tabs { display: flex; justify-content: space-around; align-items: center; padding: 8px 14px 22px; background: #fff; border-top: 1px solid #E6EAEF; }
.app-tab { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #5E7491; }
.app-tab svg { width: 20px; height: 20px; }
.app-tab.is-active { background: #0D1B2A; color: #fff; box-shadow: 0 8px 16px -8px rgba(13,27,42,.6); }

.match-overlay {
  position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; text-align: center; gap: 6px;
  background: rgba(13,27,42,.92); color: #fff; opacity: 0; pointer-events: none; transition: opacity var(--t-med) var(--ease);
  padding: 24px;
}
.match-overlay.is-on { opacity: 1; pointer-events: auto; }
.match-overlay strong { font-size: 26px; letter-spacing: -.02em; }
.match-overlay p { font-size: 13px; color: #A9B8CB; }
.match-overlay .btn { margin-top: 10px; justify-self: center; }

.demo-caption { margin-top: var(--s-5); text-align: center; font-size: var(--fs-sm); color: var(--text-3); }
.demo-caption kbd { font-family: inherit; font-size: 12px; padding: 1px 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--surface); color: var(--text-2); }

/* ---------- 12. Bande de faits produit ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fact { padding: var(--s-8) var(--s-6) var(--s-8) 0; display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); }
.fact + .fact { padding-left: var(--s-6); border-left: 1px solid var(--line); }
.fact h3 { font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; }
.fact p { font-size: var(--fs-sm); color: var(--text-2); margin-top: 2px; }
.icon-tile { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--steel-100); color: var(--accent); }
.icon-tile svg { width: 20px; height: 20px; }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: var(--s-5) 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* ---------- 13. Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); counter-reset: step; position: relative; }
.step { position: relative; padding-top: var(--s-12); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: var(--fs-sm);
  background: var(--primary); color: var(--on-primary);
}
.step::after { content: ""; position: absolute; top: 18px; left: 48px; right: -12px; height: 1px; background: var(--line-strong); }
.step:last-child::after { display: none; }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.step p { color: var(--text-2); }
.step__meta { display: inline-block; margin-top: var(--s-4); font-size: var(--fs-xs); font-weight: 500; color: var(--text-3); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 var(--s-8) var(--s-16); }
  .step::after { top: 44px; bottom: 8px; left: 18px; right: auto; width: 1px; height: auto; display: block; }
  .step:last-child { padding-bottom: 0; }
}

/* ---------- 14. Liste de fonctionnalités (split) ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + var(--s-8)); }
.split__aside .section-head { margin-bottom: var(--s-8); }
.feature-list { border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-5); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.feature h3 { font-size: var(--fs-md); margin-bottom: var(--s-1); }
.feature p { color: var(--text-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__aside { position: static; } }

/* Grille de fonctionnalités (entreprises) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.feature-grid .feature { grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-8); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.feature-grid .feature:nth-child(3n) { border-right: 0; }
.feature-grid .feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature h3 .badge { margin-left: var(--s-2); vertical-align: 2px; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature-grid .feature:nth-child(2n) { border-right: 0; }
  .feature-grid .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature-grid .feature:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .feature { border-right: 0 !important; padding: var(--s-6); }
  .feature-grid .feature:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid .feature:last-child { border-bottom: 0; }
}

/* ---------- 15. Avant / Après ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.compare__col { border-radius: var(--r-lg); padding: var(--s-8); border: 1px solid var(--line); background: var(--surface); }
.compare__col--jobz { background: var(--inverse-bg); color: var(--inverse-text); border-color: transparent; }
.compare__col h3 { font-size: var(--fs-lg); margin-bottom: var(--s-6); display: flex; align-items: center; gap: var(--s-3); }
.compare__col li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); color: var(--text-2); }
.compare__col--jobz li { border-top-color: rgba(224,225,221,.14); color: var(--inverse-text); }
.compare__col li svg { width: 20px; height: 20px; margin-top: 2px; }
.compare__col li .x { color: var(--text-3); }
.compare__col--jobz li svg { color: #C9D6E6; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare__col { padding: var(--s-6); } }

/* ---------- 16. FAQ (accordéon) ---------- */
.faq { max-width: 48rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0; font-weight: 500; font-size: var(--fs-md); border-radius: var(--r-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform var(--t-med) var(--ease), background var(--t-fast); }
.faq__icon svg { width: 14px; height: 14px; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--surface-2); }
.faq__body { padding: 0 var(--s-12) var(--s-6) 0; color: var(--text-2); }
.faq__body a { color: var(--accent); }
.faq details[open] .faq__body { animation: fade-down var(--t-med) var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- 17. Bandeau CTA ---------- */
.cta-band { background: var(--navy-900); color: var(--inverse-text); border-radius: var(--r-xl); padding: clamp(2rem, 1rem + 5vw, 4.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-8); align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(224,225,221,.08); box-shadow: 0 0 0 60px rgba(224,225,221,.025), 0 0 0 120px rgba(224,225,221,.02); }
.cta-band h2 { font-size: var(--fs-2xl); color: #fff; }
.cta-band p { color: var(--inverse-muted); margin-top: var(--s-4); max-width: 30rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: flex-end; position: relative; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* ---------- 18. Footer ---------- */
.footer { padding-block: var(--s-16) calc(var(--s-8) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg-alt); margin-top: var(--section-y); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-8); }
.footer__about p { color: var(--text-2); font-size: var(--fs-sm); margin-top: var(--s-4); max-width: 22rem; }
.footer h4 { font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s-4); }
.footer li + li { margin-top: var(--s-2); }
.footer li a { text-decoration: none; color: var(--text-2); font-size: var(--fs-sm); transition: color var(--t-fast); }
.footer li a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-3); }
.footer__bottom a { color: var(--text-3); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* Barre CTA mobile */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: var(--s-2);
  padding: var(--s-3) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + var(--s-3));
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); transform: translateY(100%); transition: transform var(--t-med) var(--ease);
}
.mobile-cta.is-visible { transform: none; }
@media (max-width: 640px) { .mobile-cta { display: flex; } .mobile-cta .btn { flex: 1; } }

/* ---------- 19. Entreprises : hero + dashboard ---------- */
.hero--b2b .hero__grid { grid-template-columns: 1fr 1.1fr; }
@media (max-width: 960px) { .hero--b2b .hero__grid { grid-template-columns: 1fr; } }
.dash { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.dash__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.dash__head strong { font-size: var(--fs-sm); font-weight: 600; }
.dash__head span { font-size: var(--fs-xs); color: var(--text-3); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.dash__kpi { padding: var(--s-4) var(--s-5); }
.dash__kpi + .dash__kpi { border-left: 1px solid var(--line); }
.dash__kpi small { display: block; font-size: var(--fs-xs); color: var(--text-3); }
.dash__kpi b { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.02em; }
.dash__note { padding: var(--s-3) var(--s-5); font-size: 11px; color: var(--text-3); border-top: 1px solid var(--line); background: var(--surface-2); }

/* Tableau */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th { text-align: left; font-weight: 500; font-size: var(--fs-xs); color: var(--text-3); padding: var(--s-3) var(--s-5); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: var(--surface-2); }
.table tbody tr:last-child td { border-bottom: 0; }
.person { display: flex; align-items: center; gap: var(--s-3); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--steel-100); color: var(--accent); flex: none; }
.person small { display: block; font-size: var(--fs-xs); color: var(--text-3); }
.meter { display: flex; align-items: center; gap: var(--s-2); }
.meter__bar { width: 64px; height: 6px; border-radius: 3px; background: var(--steel-100); overflow: hidden; }
.meter__bar i { display: block; height: 100%; background: var(--blue-600); border-radius: 3px; }

/* ---------- 20. Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: var(--s-8); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan--featured { background: var(--navy-900); color: var(--inverse-text); border-color: var(--navy-900); box-shadow: var(--shadow-lg); position: relative; }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 28px; }
.plan h3 { font-size: var(--fs-lg); }
.plan__desc { font-size: var(--fs-sm); color: var(--text-2); margin-top: var(--s-2); min-height: 2.6em; }
.plan--featured .plan__desc { color: var(--inverse-muted); }
.plan__price { margin-block: var(--s-6); display: flex; align-items: baseline; gap: var(--s-1); }
.plan__price b { font-size: 2.5rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.plan__price span { font-size: var(--fs-sm); color: var(--text-3); }
.plan--featured .plan__price span { color: var(--inverse-muted); }
.plan__price--quote b { font-size: 2rem; }
.plan__list { display: grid; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--line); font-size: var(--fs-sm); flex: 1; align-content: start; }
.plan--featured .plan__list { border-top-color: rgba(224,225,221,.14); }
.plan__list li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s-3); }
.plan__list svg { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.plan--featured .plan__list svg { color: #C9D6E6; }
.plan__list .lead { grid-template-columns: 1fr; font-weight: 500; color: var(--text-3); font-size: var(--fs-xs); }
.plan--featured .plan__list .lead { color: var(--inverse-muted); }
.plan .btn { margin-top: var(--s-8); }
.pricing-note { margin-top: var(--s-6); text-align: center; font-size: var(--fs-sm); color: var(--text-3); }
.pricing-more { display: flex; justify-content: center; margin-top: var(--s-6); }
@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .plan--featured { order: -1; }
  .plan__desc { min-height: 0; }
}

.compare-table { margin-top: var(--s-8); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.compare-table[hidden] { display: none; }
.compare-table .table td:not(:first-child), .compare-table .table th:not(:first-child) { text-align: center; }
.compare-table .table td:first-child { white-space: normal; min-width: 12rem; }
.compare-table svg { width: 18px; height: 18px; display: inline-block; color: var(--success); }
.compare-table .dash-none { color: var(--text-3); }
.compare-table th.is-featured, .compare-table td.is-featured { background: color-mix(in srgb, var(--steel-100) 60%, transparent); }

/* Tarifs v2 : arguments marketing */
.plan__for { font-size: var(--fs-sm); color: var(--text-2); margin-top: var(--s-2); min-height: 4.2em; }
.plan--featured .plan__for { color: var(--inverse-muted); }
.plan__price { margin-block: var(--s-5) 0; }
.plan__perday { font-size: var(--fs-xs); color: var(--text-3); margin: var(--s-1) 0 var(--s-6); min-height: 1.4em; }
.plan--featured .plan__perday { color: #C9D6E6; }
.plan__list strong { font-weight: 600; }
.plan--featured { padding-top: calc(var(--s-8) + 30px); overflow: hidden; }
.plan__ribbon { position: absolute; top: 0; left: 0; right: 0; text-align: center; padding: 7px; font-size: var(--fs-xs); font-weight: 600; background: var(--mist-200); color: var(--navy-900); }
.plan__highlight { margin-top: var(--s-6); display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); background: rgba(224,225,221,.07); border: 1px solid rgba(224,225,221,.14); font-size: var(--fs-sm); color: var(--inverse-muted); }
.plan__highlight svg { width: 20px; height: 20px; color: var(--mist-200); margin-top: 2px; }
.plan__highlight strong { color: #fff; font-weight: 600; }
@media (min-width: 961px) { .plan--featured { transform: translateY(-12px); } }

.assurances { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-top: var(--s-10); }
.assurances li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-3); align-items: center; }
.assurances strong { display: block; font-size: var(--fs-sm); font-weight: 600; }
.assurances span:not(.icon-tile) { font-size: var(--fs-xs); color: var(--text-3); }
@media (max-width: 960px) { .assurances { grid-template-columns: 1fr 1fr; max-width: 34rem; margin-inline: auto; } }
@media (max-width: 480px) { .assurances { grid-template-columns: 1fr; } }

.calc { margin-top: var(--s-10); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.calc h3 { font-size: var(--fs-xl); }
.calc__intro > p { color: var(--text-2); margin-top: var(--s-2); }
.calc__label { display: block; margin-top: var(--s-6); font-weight: 500; }
.calc__label output { font-weight: 700; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; }
.calc__scale { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--text-3); margin-top: 4px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin-top: var(--s-3); cursor: pointer; --p: 10%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), var(--steel-100) var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--steel-100); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--primary); box-shadow: var(--shadow-md); transition: transform var(--t-fast); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--primary); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.calc__results { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-content: center; }
.calc__res { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.calc__res--pro { background: var(--navy-900); color: var(--inverse-text); border-color: var(--navy-900); }
.calc__res small { display: block; font-size: var(--fs-xs); color: var(--text-3); }
.calc__res--pro small, .calc__res--pro span { color: var(--inverse-muted); }
.calc__res b { display: block; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; letter-spacing: -.03em; margin-top: var(--s-2); font-variant-numeric: tabular-nums; }
.calc__res span { font-size: var(--fs-xs); color: var(--text-3); }
.calc__note { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--text-3); }
.calc__note a { color: var(--accent); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .plan__for { min-height: 0; } }
@media (max-width: 400px) { .calc__results { grid-template-columns: 1fr; } }

/* ---------- 21. Pré-inscription ---------- */
.signup { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) var(--s-8); }
.signup__aside h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-block: var(--s-4); letter-spacing: -.03em; }
.perks { margin-top: var(--s-8); display: grid; gap: var(--s-5); }
.perks li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); }
.perks strong { display: block; font-weight: 600; }
.perks span { font-size: var(--fs-sm); color: var(--text-2); }
.trust { margin-top: var(--s-10); padding: var(--s-5); border-radius: var(--r-md); border: 1px dashed var(--line-strong); display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); font-size: var(--fs-sm); color: var(--text-2); }
.trust svg { width: 20px; height: 20px; color: var(--accent); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-md); position: sticky; top: calc(var(--header-h) + var(--s-6)); }
.form-card__head h2 { font-size: var(--fs-xl); }
.form-card__head p { font-size: var(--fs-sm); color: var(--text-3); margin-top: var(--s-1); }
.form { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form__extra { display: grid; gap: var(--s-5); }
.form__extra[hidden] { display: none; }
.form__legal { font-size: var(--fs-xs); color: var(--text-3); text-align: center; }
.form__legal a { color: var(--text-2); }
.progress { display: flex; gap: 6px; margin-top: var(--s-5); }
.progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--steel-100); transition: background var(--t-med) var(--ease); }
.progress i.is-on { background: var(--blue-600); }
@media (max-width: 960px) { .signup { grid-template-columns: 1fr; } .form-card { position: static; } .signup__aside .perks { display: none; } .signup__aside .trust { display: none; } .signup__aside { text-align: center; } .signup__aside .lede { margin-inline: auto; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } .form-card { border-radius: var(--r-lg); } }

.success { text-align: center; padding-block: var(--s-6); }
.success__icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto var(--s-6); display: grid; place-items: center; background: var(--success-bg); color: var(--success); animation: pop .5s var(--ease); }
.success__icon svg { width: 30px; height: 30px; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); } }
.success h2 { font-size: var(--fs-xl); }
.success p { color: var(--text-2); margin-top: var(--s-3); }
.next-steps { text-align: left; margin-top: var(--s-8); border-top: 1px solid var(--line); counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-2); }
.next-steps li::before { counter-increment: ns; content: counter(ns); width: 24px; height: 24px; border-radius: 50%; background: var(--steel-100); color: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.next-steps strong { color: var(--text); font-weight: 500; }

/* ---------- 22. Pages texte & états ---------- */
.doc { display: grid; grid-template-columns: 14rem 1fr; gap: var(--s-12); padding-block: var(--s-12); }
.doc__toc { position: sticky; top: calc(var(--header-h) + var(--s-8)); align-self: start; font-size: var(--fs-sm); }
.doc__toc p { font-weight: 600; margin-bottom: var(--s-3); }
.doc__toc a { display: block; text-decoration: none; color: var(--text-2); padding: 6px 0 6px var(--s-3); border-left: 2px solid var(--line); }
.doc__toc a:hover { color: var(--text); border-left-color: var(--accent); }
.doc__body { max-width: 44rem; }
.doc__body h1 { font-size: var(--fs-2xl); margin-bottom: var(--s-2); }
.doc__body h2 { font-size: var(--fs-lg); margin: var(--s-10) 0 var(--s-3); }
.doc__body p { color: var(--text-2); margin-bottom: var(--s-4); }
@media (max-width: 820px) { .doc { grid-template-columns: 1fr; gap: var(--s-6); } .doc__toc { position: static; } }

.empty { text-align: center; padding-block: var(--s-24); max-width: 30rem; margin-inline: auto; }
.empty__icon { width: 72px; height: 72px; margin: 0 auto var(--s-6); border-radius: var(--r-lg); display: grid; place-items: center; background: var(--steel-100); color: var(--accent); }
.empty__icon svg { width: 32px; height: 32px; }
.empty h1 { font-size: var(--fs-2xl); }
.empty p { color: var(--text-2); margin-top: var(--s-3); }
.empty .hero__ctas { justify-content: center; }

.breadcrumb { display: flex; gap: var(--s-2); font-size: var(--fs-sm); color: var(--text-3); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Skeleton (chargement des pages) */
.skeleton { display: grid; gap: var(--s-4); padding-block: var(--s-16); }
.skeleton i { display: block; height: 16px; border-radius: 6px; background: linear-gradient(90deg, var(--steel-100) 25%, var(--surface-2) 50%, var(--steel-100) 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Pastille "prévisualisation" */

[hidden] { display: none !important; }

/* ---------- 23. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

/* Mode nuit : le téléphone garde son contour sur fond sombre */
:root[data-theme="dark"] .phone { background: #1B263B; box-shadow: 0 0 0 1px #34486A, 0 24px 60px -20px rgba(0,0,0,.7); }


/* Photo des offres de la démo (même visuel que l'application) */
.deck { --photo: url("../images/demo-offres.jpg"); }


/* ---------- 24. Pages texte : contenu juridique repris de la v6 ---------- */
.doc__body h3 { font-size: var(--fs-md); margin: var(--s-6) 0 var(--s-2); }
.doc__body ul { list-style: disc; padding-left: var(--s-6); margin-bottom: var(--s-4); color: var(--text-2); }
.doc__body li { margin-bottom: var(--s-2); }
.doc__body a { color: var(--accent); text-underline-offset: 2px; }
.doc__body .doc__block { padding-left: var(--s-4); border-left: 2px solid var(--line); }
.doc__body .doc__meta { font-size: var(--fs-sm); color: var(--text-3); }
.doc__body .doc__note { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); margin: var(--s-5) 0; }
.doc__body .doc__note p { margin-bottom: 0; }
.doc__body .table-wrap { margin-bottom: var(--s-5); }
.doc__body .breadcrumb a { color: var(--text-2); text-decoration: none; }
.doc__body .faq { margin-top: var(--s-4); }
.doc__body .support-list { list-style: none; padding: 0; margin: var(--s-6) 0 0; color: inherit; }
.doc__body .support-list a { font-weight: 500; display: inline-block; margin-top: var(--s-2); }
.doc__toc a[aria-current="page"] { color: var(--text); border-left-color: var(--accent); }

/* Pages d'offres publiques (/offre/<id>) */
.offer-text { line-height: 1.7; color: var(--text-2); overflow-wrap: anywhere; }
.offer-text p { margin: 0 0 var(--s-3); }
.offer-skills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s-3) 0 0; }
.offer-skills li { padding: 4px 12px; border-radius: 999px; background: var(--steel-100); color: var(--text-2); font-size: 14px; }

/* Offre de lancement */
.offer-bar { background: var(--success-bg); color: var(--text); text-align: center; padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); line-height: 1.5; overflow-wrap: anywhere; }
.offer-bar p { margin: 0; }
.offer-bar a { color: var(--success); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.offer-bar__count { font-weight: 600; color: var(--success); }
.plan__price--offer { flex-wrap: wrap; row-gap: var(--s-1); }
.plan__old { font-size: var(--fs-lg); font-weight: 400; color: var(--text-3); text-decoration: line-through; margin-right: var(--s-2); }
.plan--featured .plan__old { color: var(--inverse-muted); }
.plan__offer { font-size: var(--fs-xs); font-weight: 500; color: var(--accent); margin: var(--s-1) 0 var(--s-6); }
.plan--featured .plan__offer { color: var(--inverse-text); }
.plan-pick__old { font-size: var(--fs-sm); font-weight: 400; color: var(--text-3); text-decoration: line-through; margin-right: var(--s-1); }
.founder__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.founder__mail { text-align: center; margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--text-3); }

/* Paiement à la semaine */
.billing { border: 0; padding: 0; margin: 0 0 var(--s-5); min-width: 0; }
.billing legend { padding: 0; margin-bottom: var(--s-2); }

/* Interrupteur Au mois | À la semaine */
.billing-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); min-width: 18rem; max-width: 100%; }
.billing-switch label { position: relative; z-index: 1; }
.billing-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.billing-switch span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 var(--s-4); font-size: var(--fs-sm); font-weight: 500; color: var(--text-2); transition: color var(--t-fast); border-radius: var(--r-pill); }
.billing-switch input:checked + span { color: var(--text); }
.billing-switch input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.billing-switch__save { font-style: normal; font-size: var(--fs-xs); font-weight: 600; margin-left: var(--s-2); padding: 2px 6px; border-radius: var(--r-pill); background: var(--steel-100); color: var(--accent); }
.billing-switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); transition: transform var(--t-fast) var(--ease); z-index: 0; }
.billing-switch:has(input[value="week"]:checked) .billing-switch__thumb { transform: translateX(100%); }
@media (prefers-reduced-motion: reduce) { .billing-switch__thumb { transition: none; } }
/* Prix selon la périodicité choisie (data-billing sur le conteneur) */
[data-billing="week"] .b-month { display: none !important; }
[data-billing="month"] .b-week { display: none !important; }
[data-billing="week"] .plan-pick--month-only { display: none; }
.billing-bar { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-6); text-align: center; }
.billing-bar__hint { font-size: var(--fs-xs); color: var(--text-3); margin: 0; }

/* Secteurs */
.sectors { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; } }
.sector { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--s-4); padding: var(--s-6) var(--s-6) var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease); }
@media (min-width: 720px) { .sector { margin-bottom: var(--s-5); } }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 720px) { .sector { grid-row: span 5; grid-template-rows: subgrid; } }
}
.sector:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .sector, .sector__link svg { transition: none; } .sector:hover { transform: none; } }
.sector__head { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.sector__head h3 { margin: 0; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; color: var(--text-3); }
.sector__case { margin: 0; font-size: var(--fs-lg, 1.25rem); font-weight: 600; line-height: 1.25; color: var(--text); text-wrap: balance; }
.sector__roles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); align-content: start; }
.sector__roles li { white-space: nowrap; font-size: var(--fs-xs); line-height: 1; padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); }
.sector__plus { margin: 0; align-self: stretch; display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: start; padding: var(--s-4); border-radius: var(--r-md); background: var(--surface-2); font-size: var(--fs-sm); line-height: 1.5; color: var(--text-2); }
.sector__plus svg { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.sector__link { justify-self: start; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; white-space: nowrap; font-size: var(--fs-sm); font-weight: 600; color: var(--text); text-decoration: none; }
.sector__link svg { width: 16px; height: 16px; flex: none; transition: transform var(--t-fast) var(--ease); }
.sector__link:hover { color: var(--accent); }
.sector__link:hover svg { transform: translateX(3px); }
.sector__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sectors__more { margin: var(--s-6) 0 0; font-size: var(--fs-sm); color: var(--text-2); }
.sectors__more a { color: var(--accent); font-weight: 500; }
@media (max-width: 719px) { .sector { padding: var(--s-5); } .sector__link { white-space: normal; } }

/* Tarifs : ajustements */
@media (min-width: 961px) { .pricing--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.plan--featured .btn--inverse { background: #FFFFFF; color: var(--navy-900); font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.plan--featured .btn--inverse:hover { background: var(--mist-200); }
.plan__ribbon { background: var(--blue-600); color: #FFFFFF; letter-spacing: .01em; }
.plan__save { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; background: var(--steel-100); color: var(--accent); }
.plan--featured .plan__save { background: rgba(255,255,255,.12); color: #FFFFFF; border: 1px solid rgba(255,255,255,.22); }
@media (min-width: 961px) { .pricing { align-items: start; } }
.plan__list { flex: none; }
.assurances li { align-items: start; }
.assurances li > div { padding-top: 2px; }
