*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: oklch(43% 0.13 148);
  --green-deep: oklch(32% 0.13 150);
  --green-light: oklch(96% 0.04 145);
  --green-mid: oklch(58% 0.13 145);
  --green-soft: oklch(92% 0.05 145);
  --orange: oklch(64% 0.18 55);
  --orange-light: oklch(96% 0.05 55);
  --orange-soft: oklch(92% 0.07 55);
  --orange-deep: oklch(50% 0.18 50);
  --cream: oklch(98% 0.008 80);
  --bg: oklch(99% 0.005 100);
  --surface: #ffffff;
  --dark: oklch(18% 0.01 145);
  --mid: oklch(42% 0.01 145);
  --muted: oklch(64% 0.01 145);
  --soft: oklch(78% 0.008 145);
  --border: oklch(93% 0.005 145);
  --border-strong: oklch(88% 0.01 145);
  --shadow-xs: 0 1px 2px oklch(0% 0 0 / 0.04);
  --shadow-sm: 0 2px 6px oklch(0% 0 0 / 0.05);
  --shadow: 0 6px 20px oklch(0% 0 0 / 0.06);
  --shadow-lg: 0 16px 40px oklch(0% 0 0 / 0.10);
  --shadow-xl: 0 28px 64px oklch(0% 0 0 / 0.14);
  --sidebar-w: 268px;
  --sidebar-w-collapsed: 76px;
  --sidebar-trans: width .28s cubic-bezier(.32,.72,.0,1);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
}
html, body { height: 100%; font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--dark); -webkit-font-smoothing: antialiased; }
#root { min-height: 100%; display: flex; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
a { color: inherit; }

/* ── SCROLLBAR ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: oklch(85% 0.01 145); border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: oklch(72% 0.02 145); }

/* ── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 oklch(64% 0.18 55 / 0.5); } 70% { box-shadow: 0 0 0 14px oklch(64% 0.18 55 / 0); } 100% { box-shadow: 0 0 0 0 oklch(64% 0.18 55 / 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.anim-fade-up { animation: fadeUp .55s cubic-bezier(.22,.61,.36,1) both; }
.anim-fade-in { animation: fadeIn .4s ease both; }
.anim-scale-in { animation: scaleIn .35s cubic-bezier(.34,1.56,.64,1) both; }
.stagger > * { animation: fadeUp .5s cubic-bezier(.22,.61,.36,1) both; }
.stagger > *:nth-child(1) { animation-delay: .04s; }
.stagger > *:nth-child(2) { animation-delay: .10s; }
.stagger > *:nth-child(3) { animation-delay: .16s; }
.stagger > *:nth-child(4) { animation-delay: .22s; }
.stagger > *:nth-child(5) { animation-delay: .28s; }
.stagger > *:nth-child(6) { animation-delay: .34s; }
.stagger > *:nth-child(7) { animation-delay: .40s; }
.stagger > *:nth-child(8) { animation-delay: .46s; }
.stagger > *:nth-child(9) { animation-delay: .52s; }

/* ── SIDEBAR ───────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: linear-gradient(180deg, var(--green-deep) 0%, var(--green) 100%);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  z-index: 100;
  overflow: hidden;
  transition: var(--sidebar-trans), transform .3s ease;
  color: white;
}
.sidebar.collapsed { width: var(--sidebar-w-collapsed); }
.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar-inner::-webkit-scrollbar-thumb { background: oklch(60% 0.1 145); border-color: transparent; }
.sidebar-logo {
  padding: 22px 22px 18px;
  border-bottom: 1px solid oklch(50% 0.08 148 / 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
}
.sidebar-logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px oklch(64% 0.18 55 / 0.3);
}
.sidebar-logo-text { overflow: hidden; }
.sidebar-logo h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.sidebar-logo p {
  font-size: 9.5px;
  color: oklch(78% 0.06 145);
  margin-top: 3px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 600;
}
.sidebar.collapsed .sidebar-logo-text { display: none; }
.sidebar.collapsed .sidebar-logo { justify-content: center; padding: 22px 0 18px; }
.sidebar-progress {
  padding: 16px 22px 18px;
  border-bottom: 1px solid oklch(50% 0.08 148 / 0.4);
}
.sidebar.collapsed .sidebar-progress { padding: 14px 12px; text-align: center; }
.sidebar-progress label {
  font-size: 10px;
  color: oklch(78% 0.06 145);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.sidebar.collapsed .sidebar-progress label { display: none; }
.progress-bar {
  height: 6px;
  background: oklch(50% 0.08 148 / 0.5);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), oklch(70% 0.18 60));
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(.22,.61,.36,1);
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.4s infinite;
}
.progress-pct {
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.progress-pct .num { font-family: 'DM Serif Display', serif; font-size: 22px; line-height: 1; }
.progress-pct .lab { font-size: 11px; color: oklch(78% 0.06 145); text-transform: uppercase; letter-spacing: 1px; }
.sidebar.collapsed .progress-pct { font-size: 11px; flex-direction: column; gap: 0; align-items: center; }
.sidebar.collapsed .progress-pct .num { font-size: 14px; }
.sidebar.collapsed .progress-pct .lab { display: none; }
.sidebar-nav { flex: 1; padding: 12px 0; }
.nav-section-label {
  font-size: 9.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: oklch(70% 0.06 145);
  padding: 14px 22px 6px;
  font-weight: 700;
}
.sidebar.collapsed .nav-section-label {
  padding: 14px 12px 4px;
  text-align: center;
  font-size: 8px;
  letter-spacing: 1px;
}
.sidebar.collapsed .nav-section-label::before {
  content: '';
  display: block;
  height: 1px;
  margin: 0 auto 8px;
  background: oklch(55% 0.08 145 / 0.5);
  width: 32px;
}
.sidebar.collapsed .nav-section-label-text { display: none; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9.5px 22px;
  border-radius: 0;
  transition: background .15s, color .15s;
  color: oklch(86% 0.04 145);
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.nav-item:hover { background: oklch(48% 0.11 148); color: white; }
.nav-item.active {
  background: oklch(38% 0.12 148);
  color: white;
  font-weight: 600;
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
}
.nav-icon { flex-shrink: 0; width: 18px; display: flex; align-items: center; justify-content: center; color: inherit; }
.nav-label { overflow: hidden; flex: 1; }
.nav-badge {
  margin-left: auto;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 7px;
  min-width: 20px;
  text-align: center;
}
.sidebar.collapsed .nav-item { justify-content: center; padding: 12px 0; }
.sidebar.collapsed .nav-label { display: none; }
.sidebar.collapsed .nav-badge {
  position: absolute;
  top: 6px; right: 14px;
  margin-left: 0;
  padding: 0 5px;
  min-width: 16px;
  font-size: 9px;
}
.sidebar-footer {
  padding: 16px 22px;
  border-top: 1px solid oklch(50% 0.08 148 / 0.4);
}
.sidebar.collapsed .sidebar-footer { padding: 14px 8px; text-align: center; }
.sidebar.collapsed .sidebar-footer-content { display: none; }
.sidebar-footer p { font-size: 11px; color: oklch(72% 0.06 145); line-height: 1.5; }
.sidebar-footer a { color: oklch(82% 0.08 145); text-decoration: none; font-weight: 600; }
.sidebar-footer a:hover { color: white; }
.sidebar-collapse-btn {
  position: absolute;
  bottom: 80px;
  right: -14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 102;
  transition: transform .2s, color .15s;
}
.sidebar-collapse-btn:hover { color: var(--green); transform: scale(1.08); }
.sidebar.collapsed .sidebar-collapse-btn svg { transform: rotate(180deg); }
.sidebar-close {
  display: none;
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  color: oklch(82% 0.06 145);
  z-index: 10;
  padding: 6px;
  border-radius: 6px;
}
.sidebar-close:hover { background: oklch(50% 0.1 148); color: white; }

/* ── MAIN ──────────────────────────────────────────────── */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  transition: margin-left .28s cubic-bezier(.32,.72,.0,1);
}
.main.sidebar-collapsed { margin-left: var(--sidebar-w-collapsed); }
.page { padding: 44px 56px 80px; width: 100%; }
.page-header { margin-bottom: 36px; }
.page-eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page-eyebrow::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--orange);
}
.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.8px;
}
.page-subtitle {
  font-size: 16px;
  color: var(--mid);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 720px;
}

/* ── CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.card-elevated { box-shadow: var(--shadow-sm); border-color: var(--border); }
.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.1px;
}
.card-title-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-title-icon.orange { background: var(--orange-light); color: var(--orange); }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  transition: all .15s;
  background: white;
  color: var(--dark);
  text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 6px 16px oklch(43% 0.13 148 / 0.25); }
.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: 0 6px 16px oklch(64% 0.18 55 / 0.3); }
.btn-ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--mid); }
.btn-ghost:hover { background: var(--green-light); color: var(--green); border-color: var(--green-soft); }

/* ── AVATAR ────────────────────────────────────────────── */
.avatar {
  border-radius: 50%;
  background: var(--green-light);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: var(--shadow-xs);
}
.avatar img { width: 100%; height: 100%; display: block; }

/* ── MOBILE HEADER ─────────────────────────────────────── */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--green-deep);
  z-index: 90;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  color: white;
  box-shadow: var(--shadow);
}
.mobile-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  line-height: 1.2;
  flex: 1;
}
.hamburger {
  background: none;
  border: none;
  color: white;
  padding: 8px;
  border-radius: 8px;
  display: flex;
}
.hamburger:hover { background: oklch(45% 0.12 148); }
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: oklch(0% 0 0 / 0.5);
  z-index: 99;
  backdrop-filter: blur(2px);
  animation: fadeIn .2s ease;
}
.sidebar-overlay.open { display: block; }

/* ── MODAL (generic) ───────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: oklch(20% 0.02 145 / 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}
.modal {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  animation: scaleIn .25s cubic-bezier(.34,1.56,.64,1);
}
.modal-header {
  padding: 22px 24px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--dark);
  line-height: 1.2;
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: none;
  background: var(--green-light);
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--green-soft); color: var(--green); }
.modal-body { padding: 22px 24px; }
.modal-footer {
  padding: 16px 24px 22px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ── EMAIL MODAL (Gmail-like) ──────────────────────────── */
.email-compose {
  position: fixed;
  bottom: 0;
  right: 28px;
  width: 540px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 80px);
  background: white;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -8px 32px oklch(0% 0 0 / 0.18);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  animation: emailSlideUp .3s cubic-bezier(.22,.61,.36,1);
}
@keyframes emailSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.email-compose-header {
  background: oklch(28% 0.02 145);
  color: white;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px 14px 0 0;
  font-size: 13px;
  font-weight: 600;
}
.email-compose-actions { display: flex; gap: 4px; }
.email-compose-actions button {
  background: transparent;
  border: none;
  color: oklch(85% 0.01 145);
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.email-compose-actions button:hover { background: oklch(40% 0.02 145); color: white; }
.email-compose-field {
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.email-compose-field-label {
  color: var(--muted);
  font-size: 12px;
  width: 36px;
  flex-shrink: 0;
}
.email-compose-field-value {
  color: var(--dark);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.email-compose-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  background: var(--green-light);
  border-radius: 14px;
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}
.email-compose-pill .avatar { width: 22px; height: 22px; border: none; box-shadow: none; }
.email-compose-subject {
  padding: 12px 18px;
  border: none;
  border-bottom: 1px solid var(--border);
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  outline: none;
}
.email-compose-subject::placeholder { color: var(--soft); font-weight: 400; }
.email-compose-body {
  flex: 1;
  border: none;
  padding: 16px 18px;
  width: 100%;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  resize: none;
  line-height: 1.6;
}
.email-compose-body::placeholder { color: var(--soft); }
.email-compose-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.email-compose-send {
  background: var(--green);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .15s;
}
.email-compose-send:hover { background: var(--green-deep); box-shadow: 0 4px 12px oklch(43% 0.13 148 / 0.3); }
.email-compose-sent {
  margin-left: auto;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: fadeIn .25s ease;
}
.email-context-banner {
  margin: 12px 18px 0;
  padding: 10px 14px;
  background: var(--orange-light);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--orange-deep);
  line-height: 1.5;
}
.email-context-banner strong { color: var(--orange); }

/* ── HELPER MODAL ──────────────────────────────────────── */
.helper-modal-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  padding: 24px 24px 60px;
  color: white;
  position: relative;
}
.helper-modal-hero h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  margin-bottom: 6px;
}
.helper-modal-hero p { font-size: 13px; opacity: 0.85; max-width: 320px; line-height: 1.5; }
.helper-modal-avatar-wrap {
  position: absolute;
  bottom: -36px;
  left: 24px;
}
.helper-modal-avatar { width: 72px; height: 72px; border: 4px solid white; }
.helper-modal-content { padding: 48px 24px 22px; }
.helper-modal-content h4 {
  font-size: 17px;
  color: var(--dark);
  font-weight: 700;
}
.helper-modal-content .role { font-size: 13px; color: var(--muted); margin-top: 2px; margin-bottom: 14px; }
.helper-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.helper-modal-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 12px;
  font-weight: 600;
}
.helper-modal-quote {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 10px;
  border-left: 3px solid var(--orange);
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.55;
  font-style: italic;
}

/* ── TOAST ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 12px 20px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: scaleIn .3s cubic-bezier(.34,1.56,.64,1);
}
.toast .check {
  width: 18px; height: 18px;
  background: var(--green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── WELCOME PAGE ──────────────────────────────────────── */
.welcome-hero {
  background: linear-gradient(120deg, var(--green-deep) 0%, var(--green) 60%, oklch(50% 0.13 155) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  color: white;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.welcome-hero::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  right: -180px; top: -180px;
  background: radial-gradient(circle, oklch(70% 0.18 60 / 0.20) 0%, transparent 70%);
  border-radius: 50%;
}
.welcome-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    radial-gradient(circle at 20% 30%, white 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, white 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
}
.welcome-hero-content { position: relative; z-index: 1; }
.welcome-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: oklch(100% 0 0 / 0.12);
  border: 1px solid oklch(100% 0 0 / 0.18);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.welcome-hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: oklch(75% 0.18 130);
  animation: blink 1.6s ease-in-out infinite;
}
.welcome-hero h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 640px;
}
.welcome-hero h2 .highlight {
  background: linear-gradient(135deg, oklch(82% 0.12 70), oklch(75% 0.18 60));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.welcome-hero p { font-size: 16px; opacity: 0.92; line-height: 1.65; max-width: 580px; margin-top: 16px; }
.welcome-hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.welcome-hero-meta-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.welcome-hero-meta-item svg { opacity: 0.7; }
.welcome-hero-meta-item strong { font-weight: 600; }

/* JOURNEY (parcours d'intégration) */
.journey-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.journey-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 0%, var(--green-light) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}
.journey-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  position: relative;
  flex-wrap: wrap;
  gap: 16px;
}
.journey-header-text { position: relative; }
.journey-eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 6px;
}
.journey-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.journey-subtitle { font-size: 14px; color: var(--muted); margin-top: 6px; }
.journey-progress-meter {
  background: var(--green-light);
  border-radius: 100px;
  padding: 6px 14px 6px 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}
.journey-progress-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: white;
  color: var(--green);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'DM Serif Display', serif;
}
.journey-track { position: relative; margin: 12px 0 0; }
.journey-line {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.journey-line-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-mid) 50%, var(--orange) 100%);
  border-radius: 2px;
  transition: width 1s cubic-bezier(.22,.61,.36,1);
}
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 8px;
}
.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  cursor: pointer;
}
.journey-step-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  font-family: 'DM Serif Display', serif;
  margin-bottom: 14px;
  transition: all .25s;
  position: relative;
  z-index: 1;
  background-clip: padding-box;
}
.journey-step.done .journey-step-dot {
  background: var(--green);
  border-color: var(--green);
  color: white;
  box-shadow: 0 4px 14px oklch(43% 0.13 148 / 0.3);
}
.journey-step.current .journey-step-dot {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  box-shadow: 0 4px 14px oklch(64% 0.18 55 / 0.4);
  animation: pulseRing 2s infinite;
}
.journey-step.future .journey-step-dot {
  background: white;
  border-color: var(--border-strong);
  color: var(--muted);
}
.journey-step:hover .journey-step-dot { transform: translateY(-3px) scale(1.05); }
.journey-step-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.journey-step.done .journey-step-label { color: var(--green); }
.journey-step.current .journey-step-label { color: var(--orange); }
.journey-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: -0.1px;
}
.journey-step-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.journey-step-checks {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.journey-step.done .journey-step-checks { color: var(--green); font-weight: 600; }

.quick-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.quick-chip {
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px 8px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  transition: all .15s;
  cursor: pointer;
}
.quick-chip:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.quick-chip-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MOT DE L'EQUIPE */
.team-message {
  background: linear-gradient(135deg, var(--orange-light) 0%, oklch(98% 0.04 80) 100%);
  border: 1px solid var(--orange-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.team-message-quote-mark {
  position: absolute;
  top: 18px; right: 22px;
  color: var(--orange);
  opacity: 0.16;
}
.team-message-text {
  font-size: 17px;
  color: var(--dark);
  line-height: 1.65;
  font-style: italic;
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.team-message-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.team-message-avatars { display: flex; align-items: center; }
.team-message-avatars .avatar {
  width: 44px;
  height: 44px;
  margin-left: -10px;
  border: 3px solid white;
}
.team-message-avatars .avatar:first-child { margin-left: 0; }
.team-message-signers {
  font-size: 13px;
  color: var(--orange-deep);
  font-weight: 700;
}
.team-message-signers .roles { font-size: 11.5px; color: var(--mid); font-weight: 500; margin-top: 2px; letter-spacing: 0; }

/* ── ENTREPRISE PAGE ─────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.stat-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: all .2s;
}
.stat-box:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.stat-box-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.stat-box-icon.orange { background: var(--orange-light); color: var(--orange); }
.stat-box-num {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -1px;
  display: block;
}
.stat-box-label {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.vision-card {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.vision-card::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, oklch(75% 0.18 60 / 0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.vision-quote-mark {
  position: absolute;
  top: 24px; left: 28px;
  color: var(--orange);
  opacity: 0.4;
}
.vision-text {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.45;
  position: relative;
  z-index: 1;
  margin-top: 8px;
  max-width: 720px;
  letter-spacing: -0.3px;
}
.vision-author {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.vision-author .avatar { width: 48px; height: 48px; border: 3px solid oklch(100% 0 0 / 0.18); }
.vision-author-name { font-weight: 700; font-size: 14px; }
.vision-author-role { font-size: 12px; opacity: 0.75; margin-top: 1px; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.program-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-mid));
}
.program-card.aura::before { background: linear-gradient(90deg, oklch(55% 0.14 240), oklch(70% 0.12 230)); }
.program-card.bzh::before { background: linear-gradient(90deg, oklch(50% 0.14 220), oklch(65% 0.12 210)); }
.program-card.occ::before { background: linear-gradient(90deg, var(--orange-deep), var(--orange)); }
.program-card.nat::before { background: linear-gradient(90deg, var(--green-deep), var(--green)); }
.program-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.program-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.program-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-card.aura .program-card-icon { background: oklch(94% 0.04 240); color: oklch(45% 0.14 240); }
.program-card.bzh .program-card-icon { background: oklch(94% 0.04 220); color: oklch(40% 0.14 220); }
.program-card.occ .program-card-icon { background: var(--orange-light); color: var(--orange); }
.program-card-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.program-card h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; letter-spacing: -0.2px; }
.program-card p { font-size: 13px; color: var(--mid); line-height: 1.55; }

/* TIMELINE (frise chronologique) */
.timeline-frieze {
  position: relative;
  padding: 24px 0 12px;
  margin-top: 16px;
}
.timeline-frieze::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--green) 8%, var(--green) 92%, transparent 100%);
}
.timeline-frieze-item {
  position: relative;
  padding-left: 64px;
  padding-bottom: 28px;
}
.timeline-frieze-item:last-child { padding-bottom: 8px; }
.timeline-frieze-marker {
  position: absolute;
  left: 13px;
  top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--green);
  box-shadow: 0 0 0 4px var(--bg);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-frieze-marker.major {
  width: 28px; height: 28px;
  left: 9px;
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}
.timeline-frieze-marker.major svg { width: 14px; height: 14px; }
.timeline-frieze-year {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.3px;
}
.timeline-frieze-item.major .timeline-frieze-year { color: var(--orange); }
.timeline-frieze-content {
  margin-top: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  transition: all .2s;
}
.timeline-frieze-content:hover {
  border-color: var(--green-soft);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.timeline-frieze-item.major .timeline-frieze-content {
  background: linear-gradient(135deg, var(--orange-light) 0%, white 100%);
  border-color: var(--orange-soft);
}
.timeline-frieze-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: -0.1px;
}
.timeline-frieze-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
}
.timeline-frieze-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  background: var(--green-light);
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.timeline-frieze-item.major .timeline-frieze-tag { background: var(--orange); color: white; }

.contact-banner {
  background: linear-gradient(135deg, var(--green-light) 0%, white 100%);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-banner-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.contact-banner-item:hover { color: var(--green-deep); }
.contact-banner-divider { width: 1px; height: 18px; background: var(--green-soft); }

/* ── ORGANIGRAMME ──────────────────────────────────────── */
.org-context {
  background: linear-gradient(135deg, var(--orange-light) 0%, white 100%);
  border: 1px solid var(--orange-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--orange-deep);
  line-height: 1.55;
}
.org-context-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.org-context strong { color: var(--orange); }

.org-chart {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.org-section-label {
  text-align: center;
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.org-section-label::before, .org-section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 90px);
  height: 1px;
  background: var(--border);
}
.org-section-label::before { left: 0; }
.org-section-label::after { right: 0; }

.org-level {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 36px;
}
.org-level:last-child { margin-bottom: 0; }

.org-svg-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.org-svg-layer path {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.org-content { position: relative; z-index: 1; }

/* FLIP CARDS */
.flip-card {
  perspective: 1000px;
  width: 200px;
  height: 110px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.flip-card-front {
  background: white;
  border: 1.5px solid var(--border-strong);
}
.flip-card-front .role-badge {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.flip-card-front .name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 4px;
}
.flip-card-front .role {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  flex: 1;
}
.flip-card-front-avatar {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px; height: 28px;
}
.flip-card-front-hint {
  font-size: 9.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.flip-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: white;
  padding: 12px 14px;
  justify-content: center;
}
.flip-card-back .mission-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: oklch(85% 0.06 80);
  margin-bottom: 8px;
}
.flip-card-back ul { list-style: none; font-size: 11.5px; line-height: 1.5; }
.flip-card-back li {
  padding-left: 12px;
  position: relative;
  margin-bottom: 4px;
}
.flip-card-back li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.flip-card.cad { width: 240px; }
.flip-card.cad .flip-card-front { background: linear-gradient(135deg, white 0%, var(--green-light) 100%); border-color: var(--green-soft); }
.flip-card.dg .flip-card-front { background: linear-gradient(135deg, white 0%, oklch(95% 0.04 240) 100%); border-color: oklch(85% 0.06 240); }

/* "Toi" dans l'arbre */
.org-you-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org-you-connector {
  display: flex;
  justify-content: center;
}
.you-card {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: white;
  border-radius: 12px;
  padding: 14px 16px;
  width: 200px;
  text-align: center;
  box-shadow: 0 6px 24px oklch(64% 0.18 55 / 0.35);
  animation: pulseRing 2.5s ease-in-out infinite;
  position: relative;
}
.you-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: oklch(100% 0 0 / 0.20);
  border: 1px solid oklch(100% 0 0 / 0.30);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.you-card-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.you-card-avatar .avatar {
  border: 3px solid oklch(100% 0 0 / 0.4);
  width: 36px;
  height: 36px;
}
.you-card-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}
.you-card-role {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 3px;
}

/* "C'est ton poste" callout */
.org-your-role-callout {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: white;
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 24px oklch(64% 0.18 55 / 0.25);
  position: relative;
  overflow: hidden;
}
.org-your-role-callout::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  right: -60px; top: -100px;
  background: radial-gradient(circle, oklch(80% 0.18 70 / 0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.org-your-role-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: oklch(100% 0 0 / 0.18);
  border: 1px solid oklch(100% 0 0 / 0.25);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.org-your-role-content { z-index: 1; flex: 1; }
.org-your-role-eyebrow {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 4px;
}
.org-your-role-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.org-your-role-desc {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 4px;
  line-height: 1.5;
  max-width: 480px;
}
.org-your-role-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: white;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: transform .2s;
  cursor: pointer;
  border: none;
}
.org-your-role-arrow:hover { transform: translateX(4px); }

/* ── POSTE PAGE ────────────────────────────────────────── */
.poste-hero {
  background: linear-gradient(135deg, oklch(96% 0.04 145) 0%, white 100%);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  display: flex;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.poste-hero::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  right: -80px; bottom: -80px;
  background: radial-gradient(circle, oklch(70% 0.18 60 / 0.10) 0%, transparent 70%);
  border-radius: 50%;
}
.poste-hero-badge {
  width: 88px; height: 88px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 28px oklch(43% 0.13 148 / 0.25);
  position: relative;
  z-index: 1;
}
.poste-hero-content { flex: 1; position: relative; z-index: 1; }
.poste-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.poste-hero-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.poste-hero-tag svg { color: var(--green); }

.missions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mission-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.mission-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--green-soft);
}
.mission-card:hover .mission-card-num { background: var(--green); color: white; transform: scale(1.05); }
.mission-card-num {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  flex-shrink: 0;
  transition: all .2s;
}
.mission-card-text { font-size: 13.5px; color: var(--mid); line-height: 1.55; flex: 1; }
.mission-card-text strong { color: var(--dark); font-weight: 600; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.skill-pill {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--mid);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .15s;
}
.skill-pill:hover { border-color: var(--green-soft); background: var(--green-light); color: var(--green); }
.skill-pill-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s;
}
.skill-pill:hover .skill-pill-icon { background: white; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.kpi-card {
  background: linear-gradient(135deg, white 0%, var(--orange-light) 100%);
  border: 1px solid var(--orange-soft);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kpi-card-icon {
  position: absolute;
  top: 12px; right: 14px;
  color: var(--orange);
  opacity: 0.4;
}
.kpi-card-value {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--orange-deep);
  line-height: 1;
  letter-spacing: -1px;
  display: block;
}
.kpi-card-label {
  font-size: 12px;
  color: var(--mid);
  margin-top: 8px;
  line-height: 1.4;
  font-weight: 500;
}

/* FUTURES FORMATIONS */
.formations-list { display: flex; flex-direction: column; gap: 10px; }
.formation-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.formation-item:hover { border-color: var(--green-soft); box-shadow: var(--shadow-sm); }
.formation-item-date {
  width: 60px;
  text-align: center;
  flex-shrink: 0;
  background: var(--green-light);
  border-radius: 10px;
  padding: 8px 4px;
  color: var(--green);
}
.formation-item-date .month {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.formation-item-date .day {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  line-height: 1;
  margin-top: 2px;
}
.formation-item-content { flex: 1; }
.formation-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.formation-item-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.formation-item-meta span { display: inline-flex; align-items: center; gap: 4px; }
.formation-item-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.formation-item-tag.required { background: var(--orange-light); color: var(--orange); }
.formation-item-tag.optional { background: var(--green-light); color: var(--green); }

/* CAREER PATH */
.career-path {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
.career-path::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  right: -120px; top: -120px;
  background: radial-gradient(circle, oklch(75% 0.18 60 / 0.20) 0%, transparent 70%);
  border-radius: 50%;
}
.career-path-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: oklch(82% 0.12 80);
  margin-bottom: 6px;
}
.career-path h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.career-path-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}
.career-path-step {
  background: oklch(100% 0 0 / 0.08);
  border: 1px solid oklch(100% 0 0 / 0.14);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(4px);
  transition: all .2s;
  position: relative;
}
.career-path-step:hover { background: oklch(100% 0 0 / 0.14); transform: translateY(-3px); }
.career-path-step.current {
  background: oklch(100% 0 0 / 0.14);
  border-color: var(--orange);
}
.career-path-step-num {
  font-size: 10.5px;
  font-weight: 700;
  color: oklch(82% 0.12 80);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.career-path-step.current .career-path-step-num {
  background: var(--orange);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
}
.career-path-step-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}
.career-path-step-desc {
  font-size: 11.5px;
  opacity: 0.78;
  line-height: 1.45;
}

/* ── PLANNING PAGE ─────────────────────────────────────── */
.planning-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.view-toggle {
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  display: inline-flex;
  gap: 2px;
}
.view-toggle button {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.view-toggle button:hover { color: var(--green); }
.view-toggle button.active {
  background: var(--green);
  color: white;
  box-shadow: 0 2px 6px oklch(43% 0.13 148 / 0.25);
}
.period-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
}
.period-nav button {
  background: transparent;
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.period-nav button:hover:not(:disabled) { background: var(--green-light); color: var(--green); }
.period-nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.period-nav-label {
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  min-width: 130px;
  text-align: center;
}

/* WEEKLY GRID */
.weekly-wrapper {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  animation: fadeIn .3s ease;
}
.weekly-header {
  display: grid;
  grid-template-columns: 80px repeat(5, 1fr);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.weekly-header > div {
  padding: 14px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  border-right: 1px solid var(--border);
}
.weekly-header > div:last-child { border-right: none; }
.weekly-header > div:first-child { background: white; }
.weekly-header-day-name {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 2px;
  font-weight: 700;
}
.weekly-header-day-num {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--dark);
}
.weekly-header-day.today .weekly-header-day-num { color: var(--orange); }
.weekly-header-day.today { background: linear-gradient(180deg, var(--orange-light), white); }

.weekly-body {
  display: grid;
  grid-template-columns: 80px repeat(5, 1fr);
}
.weekly-time-slot {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  background: var(--cream);
  min-height: 60px;
}
.weekly-cell {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4px;
  min-height: 60px;
  position: relative;
}
.weekly-cell:last-child { border-right: none; }
.weekly-block {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  padding: 6px 8px;
  height: 100%;
  cursor: pointer;
  transition: all .15s;
  overflow: hidden;
  animation: fadeIn .35s ease both;
}
.weekly-block:hover { transform: translateY(-1px) scale(1.02); box-shadow: var(--shadow-sm); z-index: 2; position: relative; }
.weekly-block-time {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.weekly-block-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}
.weekly-block.tag-formation { background: var(--orange-light); border-left-color: var(--orange); }
.weekly-block.tag-formation .weekly-block-title { color: var(--orange-deep); }
.weekly-block.tag-terrain { background: oklch(94% 0.04 230); border-left-color: oklch(48% 0.14 230); }
.weekly-block.tag-terrain .weekly-block-title { color: oklch(34% 0.14 230); }
.weekly-block.tag-admin { background: oklch(94% 0.03 290); border-left-color: oklch(48% 0.12 300); }
.weekly-block.tag-admin .weekly-block-title { color: oklch(34% 0.12 300); }
.weekly-block.tag-meeting { background: oklch(94% 0.03 320); border-left-color: oklch(50% 0.14 330); }
.weekly-block.tag-meeting .weekly-block-title { color: oklch(36% 0.14 330); }

.weekly-legend {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.weekly-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--mid);
  font-weight: 500;
}
.weekly-legend-dot {
  width: 10px; height: 10px;
  border-radius: 3px;
}

/* MONTHLY GRID */
.monthly-wrapper {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  animation: fadeIn .3s ease;
}
.monthly-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.monthly-header > div {
  padding: 12px 8px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  border-right: 1px solid var(--border);
}
.monthly-header > div:last-child { border-right: none; }
.monthly-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.monthly-cell {
  aspect-ratio: 1.1;
  padding: 8px 10px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background .15s;
  cursor: pointer;
}
.monthly-cell:nth-child(7n) { border-right: none; }
.monthly-cell:hover { background: var(--cream); }
.monthly-cell.dim { background: oklch(98% 0.005 100); }
.monthly-cell.dim .monthly-cell-num { color: var(--soft); }
.monthly-cell.today { background: var(--orange-light); }
.monthly-cell-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.monthly-cell.today .monthly-cell-num { color: var(--orange); }
.monthly-cell-events { display: flex; flex-direction: column; gap: 3px; }
.monthly-event {
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-left: 2px solid var(--green);
}
.monthly-event.tag-formation { background: var(--orange-light); color: var(--orange-deep); border-left-color: var(--orange); }
.monthly-event.tag-terrain { background: oklch(94% 0.04 230); color: oklch(36% 0.14 230); border-left-color: oklch(48% 0.14 230); }
.monthly-event.tag-admin { background: oklch(94% 0.03 290); color: oklch(34% 0.12 300); border-left-color: oklch(48% 0.12 300); }
.monthly-event.tag-meeting { background: oklch(94% 0.03 320); color: oklch(34% 0.14 330); border-left-color: oklch(50% 0.14 330); }

/* PLANNING DETAIL POPOVER */
.planning-detail-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--green-light);
  color: var(--green);
  margin-bottom: 10px;
}
.planning-detail-tag.tag-formation { background: var(--orange-light); color: var(--orange-deep); }
.planning-detail-tag.tag-terrain { background: oklch(94% 0.04 230); color: oklch(34% 0.14 230); }
.planning-detail-tag.tag-admin { background: oklch(94% 0.03 290); color: oklch(34% 0.12 300); }
.planning-detail-tag.tag-meeting { background: oklch(94% 0.03 320); color: oklch(34% 0.14 330); }
.planning-detail-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 8px;
}
.planning-detail-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.planning-detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.planning-detail-desc {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.6;
}

/* ── CONTACTS PAGE ─────────────────────────────────────── */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(135deg, var(--green-light) 0%, transparent 100%);
  opacity: 0.6;
  z-index: 0;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.contact-card-top { display: flex; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.contact-card .avatar { width: 56px; height: 56px; }
.contact-card-info { flex: 1; }
.contact-card-name { font-size: 16px; font-weight: 700; color: var(--dark); letter-spacing: -0.2px; }
.contact-card-role { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.contact-card-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-direction { background: oklch(94% 0.04 230); color: oklch(36% 0.14 230); }
.tag-rh { background: oklch(94% 0.03 290); color: oklch(36% 0.12 300); }
.tag-referent { background: var(--green-light); color: var(--green); }
.tag-equipe { background: var(--orange-light); color: var(--orange-deep); }

.contact-card-context {
  font-size: 12.5px;
  color: var(--mid);
  line-height: 1.55;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 10px;
  border-left: 3px solid var(--green);
}
.contact-card-context strong { color: var(--green); font-weight: 700; }
.contact-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.contact-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--mid);
  font-weight: 600;
  transition: all .15s;
  cursor: pointer;
  text-decoration: none;
}
.contact-card-action:hover { background: var(--green-light); color: var(--green); border-color: var(--green-soft); }
.contact-card-action.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.contact-card-action.primary:hover { background: var(--green-deep); border-color: var(--green-deep); }

.urgence-banner {
  background: linear-gradient(135deg, var(--orange-light) 0%, white 100%);
  border: 1px solid var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.urgence-banner-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.urgence-banner-content { flex: 1; }
.urgence-banner-title { font-size: 14px; font-weight: 700; color: var(--orange-deep); margin-bottom: 4px; }
.urgence-banner-desc { font-size: 13px; color: var(--mid); line-height: 1.55; }

/* ── OUTILS PAGE ───────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.tool-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all .2s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.tool-card-top { display: flex; gap: 14px; align-items: flex-start; }
.tool-icon-box {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tool-icon-box.orange { background: var(--orange-light); color: var(--orange); }
.tool-icon-box.purple { background: oklch(94% 0.04 290); color: oklch(46% 0.14 295); }
.tool-icon-box.blue { background: oklch(94% 0.04 240); color: oklch(46% 0.14 240); }
.tool-icon-box.yellow { background: oklch(94% 0.06 90); color: oklch(46% 0.14 80); }
.tool-card-info { flex: 1; }
.tool-name { font-size: 14.5px; font-weight: 700; color: var(--dark); margin-bottom: 4px; letter-spacing: -0.1px; }
.tool-desc { font-size: 12.5px; color: var(--mid); line-height: 1.55; }
.tool-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  align-self: flex-start;
}
.tool-badge.indispensable { background: var(--orange-light); color: var(--orange); }
.tool-badge.utile { background: var(--green-light); color: var(--green); }

.tool-helper {
  background: var(--cream);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all .15s;
  border: 1px solid transparent;
}
.tool-helper:hover { background: var(--green-light); border-color: var(--green-soft); }
.tool-helper .avatar { width: 32px; height: 32px; }
.tool-helper-text { flex: 1; font-size: 12px; color: var(--mid); line-height: 1.4; }
.tool-helper-text strong { color: var(--dark); font-weight: 700; }
.tool-helper-arrow { color: var(--muted); flex-shrink: 0; transition: transform .15s; }
.tool-helper:hover .tool-helper-arrow { transform: translateX(2px); color: var(--green); }

.security-banner {
  background: linear-gradient(135deg, oklch(94% 0.04 240) 0%, white 100%);
  border: 1px solid oklch(85% 0.06 240);
  border-left: 4px solid oklch(48% 0.14 240);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.security-banner-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: oklch(48% 0.14 240);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.security-banner-content { flex: 1; }
.security-banner-title { font-size: 14px; font-weight: 700; color: oklch(38% 0.14 240); margin-bottom: 4px; }
.security-banner-desc { font-size: 13px; color: var(--mid); line-height: 1.55; }

/* ── CHECKLIST PAGE ────────────────────────────────────── */
.checklist-progress {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.checklist-progress::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  right: -100px; top: -100px;
  background: radial-gradient(circle, oklch(75% 0.18 60 / 0.20) 0%, transparent 70%);
  border-radius: 50%;
}
.checklist-circle {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: oklch(100% 0 0 / 0.16);
  border: 4px solid white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  z-index: 1;
}
.checklist-circle .num {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: white;
  line-height: 1;
}
.checklist-circle .denom { font-size: 11px; color: oklch(85% 0.06 80); font-weight: 600; }
.checklist-meta { flex: 1; z-index: 1; }
.checklist-meta h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  margin-bottom: 4px;
  letter-spacing: -0.4px;
}
.checklist-meta p { font-size: 14px; opacity: 0.85; }
.checklist-meta-bar {
  margin-top: 14px;
  height: 6px;
  background: oklch(100% 0 0 / 0.16);
  border-radius: 3px;
  overflow: hidden;
}
.checklist-meta-bar-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(.22,.61,.36,1);
  position: relative;
}
.checklist-meta-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.4s infinite;
}

.checklist-section { margin-bottom: 22px; }
.checklist-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.checklist-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--dark);
}
.checklist-section-count {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s;
  margin-bottom: 4px;
}
.check-item:hover { background: var(--cream); }
.check-item.checked { opacity: 0.55; }
.check-box {
  width: 22px; height: 22px;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  background: white;
}
.check-item.checked .check-box {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.05);
}
.check-label {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.4;
  flex: 1;
}
.check-item.checked .check-label {
  text-decoration: line-through;
  color: var(--muted);
}
.check-required {
  font-size: 10px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  background: var(--orange-light);
  padding: 3px 8px;
  border-radius: 100px;
}

/* ── GLOSSAIRE PAGE ────────────────────────────────────── */
.glossary-search {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 6px 6px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  transition: all .15s;
}
.glossary-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-light);
}
.glossary-search-icon { color: var(--muted); flex-shrink: 0; }
.glossary-search input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14.5px;
  background: transparent;
  color: var(--dark);
  padding: 12px 0;
}
.glossary-search input::placeholder { color: var(--soft); }
.glossary-search-clear {
  background: var(--cream);
  color: var(--muted);
  border: none;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glossary-search-clear:hover { background: var(--orange-light); color: var(--orange); }
.glossary-count {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.glossary-grid { display: flex; flex-direction: column; }
.glossary-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 8px;
  transition: all .15s;
  animation: fadeUp .35s ease both;
}
.glossary-item:hover { border-color: var(--green-soft); transform: translateX(2px); box-shadow: var(--shadow-xs); }
.glossary-term {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.glossary-term-tag {
  font-size: 9.5px;
  padding: 2px 7px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.glossary-def { font-size: 13.5px; color: var(--mid); line-height: 1.65; }
.glossary-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.glossary-empty-icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft);
}
.glossary-empty p { font-size: 14px; }
.glossary-empty .btn { margin-top: 16px; }
mark.glossary-mark {
  background: var(--orange-light);
  color: var(--orange-deep);
  padding: 1px 3px;
  border-radius: 3px;
  font-weight: 600;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
/* Wide screens — use more space */
@media (min-width: 1400px) {
  .contacts-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid    { grid-template-columns: repeat(3, 1fr); }
  .programs-grid { grid-template-columns: repeat(4, 1fr); }
  .missions-grid { grid-template-columns: repeat(3, 1fr); }
  .skills-grid   { grid-template-columns: repeat(3, 1fr); }
  .kpi-row       { grid-template-columns: repeat(3, 1fr); }
  .welcome-hero h2 { font-size: 56px; }
  .page-title    { font-size: 50px; }
}

@media (max-width: 1100px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .career-path-track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  .page { padding: 32px 28px 60px; }
  .programs-grid, .contacts-grid, .tools-grid, .skills-grid, .missions-grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; gap: 16px; }
  .journey-line { display: none; }
  .journey-step { flex-direction: row; text-align: left; align-items: flex-start; }
  .journey-step-dot { margin-bottom: 0; margin-right: 16px; }
  .journey-step-info { flex: 1; }
  .welcome-hero h2 { font-size: 36px; }
  .page-title { font-size: 32px; }
  .org-level { gap: 8px; }
  .flip-card { width: 170px; }
  .kpi-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mobile-header { display: flex; }
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    transition: transform .3s ease;
  }
  .sidebar.mobile-open { transform: translateX(0); }
  .sidebar-collapse-btn { display: none; }
  .sidebar-close { display: flex; }
  .main { margin-left: 0; padding-top: 56px; }
  .main.sidebar-collapsed { margin-left: 0; }
  .page { padding: 24px 16px 60px; }
  .page-title { font-size: 26px; }
  .page-subtitle { font-size: 14px; }
  .welcome-hero { padding: 28px 22px; }
  .welcome-hero h2 { font-size: 28px; }
  .welcome-hero p { font-size: 14px; }
  .welcome-hero-meta { gap: 16px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-box { padding: 16px 14px; }
  .stat-box-num { font-size: 24px; }
  .vision-card { padding: 24px 22px; }
  .vision-text { font-size: 17px; }
  .career-path-track { grid-template-columns: 1fr; }
  .org-chart { padding: 22px 14px; }
  .org-level { gap: 6px; }
  .flip-card { width: calc(50% - 4px); height: 100px; }
  .flip-card.cad, .flip-card.dg { width: 100%; }
  .org-your-role-callout { padding: 18px 20px; gap: 14px; flex-wrap: wrap; }
  .org-your-role-arrow { display: none; }
  .checklist-progress { flex-direction: column; text-align: center; padding: 22px; gap: 14px; }
  .planning-toolbar { gap: 10px; }
  .view-toggle button { padding: 7px 12px; font-size: 12px; }
  .period-nav-label { min-width: 90px; font-size: 12px; }
  .weekly-wrapper { overflow-x: auto; }
  .weekly-header, .weekly-body { min-width: 640px; }
  .monthly-cell { padding: 6px 6px; }
  .monthly-event { font-size: 9.5px; padding: 1px 4px; }
  .email-compose { right: 0; left: 0; width: 100%; max-width: 100%; border-radius: 14px 14px 0 0; height: 100vh; max-height: 100vh; }
  .team-message { padding: 22px; }
  .team-message-text { font-size: 15px; }
  .poste-hero { flex-direction: column; padding: 24px; align-items: flex-start; gap: 18px; }
  .timeline-frieze::before { left: 12px; }
  .timeline-frieze-item { padding-left: 44px; }
  .timeline-frieze-marker { left: 3px; }
  .timeline-frieze-marker.major { left: -1px; }
}
@media (max-width: 420px) {
  .stat-row { grid-template-columns: 1fr; }
  .welcome-hero h2 { font-size: 24px; }
  .page-title { font-size: 22px; }
}
