/* Bonjour Prénom — Onboarding interne
   Design repris de la page manifeste publique (Poppins/Caveat, palette bleu/terracotta) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Caveat:wght@500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  --cream: #F7F7F5;
  --ink: #121212;
  --blue: #3646E4;
  --blue-dark: #2A36B8;
  --blue-soft: #E3E6FB;
  --slate: #A3A19C;
  --slate-dark: #3A3936;
  --line: #E2E0DC;
  --green: #15803D;
  --amber-bg: #FEF6E7;
  --amber-line: #F1D7A0;
  --amber-ink: #92600B;
  --terra: #C05B4D;
  --dark: #141414;
  --dark-line: #2C2C2C;
  --dark-text: #C9C7C3;
}

body {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

.ob-h1, .ob-sec-title, .ob-card-title, .ob-tile h3, .ob-person-rowhead h3,
.ob-brand, .ob-quote p, .ob-pullquote, .ob-stage .t {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px 90px; }

/* Nav */
.ob-nav {
  max-width: 980px; margin: 0 auto; padding: 28px 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.ob-brand { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.ob-brand span { color: var(--blue); }
.ob-links { display: flex; gap: 4px; flex-wrap: wrap; }
.ob-links a {
  font-size: 13px; font-weight: 500; color: var(--slate-dark); text-decoration: none;
  padding: 7px 12px; border-radius: 8px; transition: background .18s, color .18s;
}
.ob-links a:hover { background: #fff; color: var(--blue); }
.ob-links a.current { background: #fff; color: var(--blue); border: 1px solid var(--line); }

.ob-back {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: var(--slate); text-decoration: none; margin: 40px 0 18px;
}
.ob-back:hover { color: var(--blue); }
.ob-back svg { width: 13px; height: 13px; }

/* Header block */
header.ob-head { padding: 26px 0 8px; }
.ob-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500;
  color: var(--slate); padding: 6px 13px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; margin-bottom: 22px;
}
.ob-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.ob-h1 { font-size: clamp(32px, 5.4vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; margin: 0 0 12px; }
.ob-h1 .accent { color: var(--blue); }
.ob-sub { font-size: 16px; color: var(--slate-dark); margin: 0 0 30px; line-height: 1.6; max-width: 620px; }

/* Note / brique en construction */
.ob-note {
  background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-ink);
  border-radius: 12px; padding: 13px 16px; font-size: 13.5px; line-height: 1.55; margin: 0 0 30px;
}
.ob-note strong { font-weight: 700; }

/* Hub grid */
.ob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .ob-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ob-grid { grid-template-columns: 1fr; } }

.ob-card {
  position: relative; display: flex; flex-direction: column; min-height: 172px; padding: 22px;
  background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 20px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s, border-color .22s;
}
.ob-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(15,23,42,0.26), 0 4px 10px rgba(15,23,42,0.05); border-color: var(--line); }
.ob-ic { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; margin-bottom: 15px; background: #F6F8FF; border: 1px solid #EDF1FF; color: var(--blue); }
.ob-ic svg { width: 22px; height: 22px; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ob-card-title { font-size: 17.5px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 5px; }
.ob-card-desc { font-size: 13.5px; color: var(--slate); line-height: 1.5; margin: 0; }
.ob-badge { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #94A3B8; padding-top: 14px; }
.ob-badge .sdot { width: 7px; height: 7px; border-radius: 50%; background: #CBD5E1; }
.ob-badge.warn { color: #B45309; }
.ob-badge.warn .sdot { background: #D97706; }
.ob-corner { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--slate); background: #fff; transition: all .22s; }
.ob-corner svg { width: 14px; height: 14px; }
.ob-card:hover .ob-corner { color: #fff; background: var(--blue); border-color: var(--blue); }

/* Section blocks (subpages) */
.ob-section { margin-bottom: 44px; }
.ob-sec-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.ob-sec-sub { font-size: 14.5px; color: var(--slate); margin: 0 0 18px; max-width: 640px; }

/* Hero line (grande accroche au-dessus d'une section) */
.ob-hero-line { font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.28; color: var(--ink); margin: 4px 0 40px; max-width: 780px; }
.ob-hero-line .accent { color: var(--blue); }

/* Manifeste : colonne de lecture resserrée, lettrine, citation extraite */
.ob-manifesto { max-width: 660px; margin: 0 auto; padding: 40px 44px; font-size: 16px; line-height: 1.8; color: var(--slate-dark); }
.ob-manifesto p { margin: 0 0 22px; }
.ob-manifesto p:last-child { margin-bottom: 0; }
.ob-manifesto p:first-of-type::first-letter { float: left; font-size: 60px; line-height: .82; font-weight: 700; color: var(--blue); padding: 4px 8px 0 0; }
.ob-pullquote { font-size: clamp(28px, 5vw, 46px) !important; font-weight: 700; color: var(--ink); text-align: left; line-height: 1.15; letter-spacing: -0.02em; margin: 40px 0 !important; }
.ob-pullquote .accent { color: var(--blue); }
.ob-lead { color: var(--ink); font-weight: 700; }

/* Badge pastille (ex: "Manifeste et engagements") */
.ob-pill-badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft); padding: 5px 11px; border-radius: 4px;
}

/* Signatures (manifeste) */
.ob-signatures { display: flex; gap: 40px; margin-top: 8px; }
.ob-sig { display: flex; flex-direction: column; }
.ob-sig-name { font-family: 'Caveat', cursive; font-size: 34px; line-height: 1; color: var(--ink); transform: rotate(-3deg); }
.ob-sig-role { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }

/* Bande sombre plein écran (engagements) */
.ob-dark-band { background: var(--dark); color: var(--dark-text); padding: 64px 0; }
.ob-dark-band .ob-sec-title { color: #fff; font-size: clamp(26px, 4.5vw, 38px); margin-bottom: 36px; }
.ob-engagements { display: flex; flex-direction: column; }
.ob-engagement { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid var(--dark-line); }
.ob-engagement:last-child { padding-bottom: 0; }
.ob-engagement-n { color: var(--terra); font-weight: 700; font-size: 20px; line-height: 1.3; }
.ob-engagement h3 { color: #fff; font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.ob-engagement .v { font-size: 14.5px; line-height: 1.6; color: var(--dark-text); }
.ob-engagement-cost { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--terra); }
.ob-engagement-cost-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--terra); margin-bottom: 4px; }
.ob-engagement-cost p { font-size: 13.5px; color: #A6A4A0; line-height: 1.5; margin: 0; }
@media (max-width: 640px) { .ob-engagement { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 600px) { .ob-manifesto { padding: 28px 24px; } }

/* Person / offer / value cards */
.ob-cardgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 700px) { .ob-cardgrid { grid-template-columns: 1fr; } }
.ob-tile { background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 18px; padding: 22px; }
.ob-tile h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }
.ob-field { margin-bottom: 12px; }
.ob-field:last-child { margin-bottom: 0; }
.ob-field .l { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 4px; }
.ob-field .v { font-size: 13.5px; color: var(--slate-dark); line-height: 1.5; }

/* Person row (une personne par ligne, pleine largeur) */
.ob-person-row { display: flex; gap: 24px; background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 20px; padding: 28px 30px; margin-bottom: 16px; }
.ob-avatar-lg { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.ob-person-body { flex: 1; min-width: 0; }
.ob-person-rowhead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ob-person-rowhead h3 { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.ob-person-row .ob-field { display: grid; grid-template-columns: 200px 1fr; gap: 20px; margin-bottom: 14px; align-items: baseline; }
.ob-person-row .ob-field .l { margin-bottom: 0; }
@media (max-width: 700px) {
  .ob-person-row { flex-direction: column; gap: 14px; padding: 22px; }
  .ob-person-row .ob-field { grid-template-columns: 1fr; gap: 4px; }
}
.ob-person-empty { justify-content: center; align-items: center; color: #94A3B8; font-size: 13.5px; text-align: center; border-style: dashed; }

/* Explainer box (comment lire cette page) */
.ob-explainer { margin-bottom: 24px; }
.ob-explainer h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; }
.ob-explainer p { font-size: 14px; line-height: 1.65; color: var(--slate-dark); margin: 0; }

/* Need cards (scorecards) */
.ob-who-link { font-weight: 700; color: var(--blue); text-decoration: none; font-size: 14px; }
.ob-who-link:hover { color: var(--blue-dark); }
.ob-respond-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ob-respond-list a { color: var(--blue); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.ob-respond-list a:hover { color: var(--blue-dark); }

/* Generic empty/placeholder card */
.ob-empty-card { border: 1px dashed rgba(15,23,42,0.15); border-radius: 20px; padding: 26px; display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 13.5px; text-align: center; }

/* Objectifs chiffrés (dans une card besoin) */
.ob-objectif { display: flex; flex-direction: column; gap: 5px; }
.ob-objectif-indicateur { font-size: 13px; color: var(--slate-dark); }
.ob-objectif-placeholder { display: inline-block; width: fit-content; font-size: 12px; font-style: italic; color: #94A3B8; border: 1px dashed rgba(15,23,42,0.18); border-radius: 8px; padding: 4px 10px; }
.ob-objectif-valeur { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.ob-objectif-periode { font-size: 12px; font-weight: 500; color: var(--slate); }

/* Ligne discrète de rappel (garde-fou) */
.ob-fineprint { font-size: 12.5px; color: var(--slate); margin: 14px 0 0; }

/* Card besoin orpheline (sans responsable) */
.ob-need-card-orphan { border-style: dashed; border-color: rgba(15,23,42,0.18); background: transparent; }
.ob-need-card-orphan h3 { color: var(--slate-dark); }

/* Bloc dépliable : la scorecard, le principe complet */
.ob-scorecard-details { background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 18px; margin-bottom: 20px; overflow: hidden; }
.ob-scorecard-details summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15px; color: var(--ink); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.ob-scorecard-details summary::-webkit-details-marker { display: none; }
.ob-scorecard-details summary::after { content: '+'; color: var(--blue); font-size: 18px; font-weight: 700; }
.ob-scorecard-details[open] summary::after { content: '−'; }
.ob-scorecard-body { padding: 0 22px 22px; font-size: 14px; line-height: 1.65; color: var(--slate-dark); }
.ob-scorecard-body p { margin: 0 0 14px; }
.ob-scorecard-body p:last-child { margin-bottom: 0; }
.ob-scorecard-list { margin: 0 0 14px; padding: 0; }
.ob-scorecard-item { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.ob-scorecard-item dt { font-weight: 700; color: var(--ink); flex-shrink: 0; }
.ob-scorecard-item dd { margin: 0; }

/* Need cards : vrai look de carte à jouer, fond teinté = personne responsable */
.ob-need-card { position: relative; border-radius: 20px; border-width: 1.5px; box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 10px 24px -16px rgba(15,23,42,0.14); transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s; overflow: hidden; }
.ob-need-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 22px 38px -18px rgba(15,23,42,0.26), 0 4px 10px rgba(15,23,42,0.07); }
.ob-need-card .l { color: rgba(11,18,32,0.55); }
.ob-need-kicker { display: flex; align-items: center; justify-content: space-between; font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: rgba(11,18,32,0.5); padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid rgba(11,18,32,0.14); }
.ob-need-spark { position: absolute; bottom: 18px; right: 18px; width: 22px; height: 22px; opacity: .5; }
.ob-need-spark svg { width: 100%; height: 100%; }
.ob-need-card-orphan { border-width: 1px; border-style: dashed; border-color: rgba(15,23,42,0.18); background: transparent; box-shadow: none; }
.ob-need-card-orphan:hover { transform: none; box-shadow: none; }
.ob-need-card-orphan .ob-need-kicker { color: rgba(11,18,32,0.35); border-bottom-color: rgba(11,18,32,0.1); }

/* Quote block (intro à deux voix) */
.ob-quote { background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 18px; padding: 26px 28px; margin-bottom: 20px; }
.ob-quote p { font-size: 17px; line-height: 1.55; color: var(--ink); margin: 0 0 12px; font-weight: 500; letter-spacing: -0.01em; }
.ob-quote-attr { font-size: 13px; color: var(--slate); font-weight: 600; }

/* Numbered value cards */
.ob-value { position: relative; }
.ob-value-n { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .06em; margin-bottom: 8px; }
.ob-value .v { font-size: 13.5px; color: var(--slate-dark); line-height: 1.55; }
.ob-value-sub { font-size: 12.5px; color: var(--slate); font-style: italic; margin: -6px 0 10px; }

/* Person header: avatar + name + LinkedIn */
.ob-person-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ob-avatar { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.ob-person-meta { display: flex; flex-direction: column; }
.ob-person-meta h3 { margin: 0; }
.ob-linkedin { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--blue); text-decoration: none; margin-top: 2px; }
.ob-linkedin:hover { color: var(--blue-dark); }
.ob-linkedin svg { width: 13px; height: 13px; }

/* Two-column layout (objectifs) */
.ob-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .ob-cols { grid-template-columns: 1fr; } }

/* Stage row (AARRR) */
.ob-stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 900px) { .ob-stages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ob-stages { grid-template-columns: 1fr; } }
.ob-stage { background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 16px; padding: 16px; }
.ob-stage .n { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.ob-stage .t { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.ob-stage .d { font-size: 12.5px; color: var(--slate); line-height: 1.5; }

/* Table (clients) */
.ob-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 18px; overflow: hidden; }
.ob-table th { text-align: left; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); background: #FAFAF8; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ob-table td { padding: 13px 16px; font-size: 13.5px; color: var(--slate-dark); border-bottom: 1px solid #F1EFE9; }
.ob-table tr:last-child td { border-bottom: none; }
.ob-table td.muted { color: #94A3B8; font-style: italic; }

/* Footer */
.ob-foot { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--slate); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ob-foot b { color: var(--slate-dark); font-weight: 600; }

/* Apparition douce au scroll. .ob-reveal-armed n'est ajouté que par le JS (progressive enhancement) :
   si le script ne charge pas, le contenu reste visible par défaut. */
.ob-reveal.ob-reveal-armed { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1); }
.ob-reveal.ob-reveal-armed.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .ob-reveal.ob-reveal-armed { opacity: 1; transform: none; transition: none; }
}
.ob-grid > .ob-reveal:nth-child(2), .ob-cardgrid > .ob-reveal:nth-child(2), .ob-stages > .ob-reveal:nth-child(2) { transition-delay: .06s; }
.ob-grid > .ob-reveal:nth-child(3), .ob-cardgrid > .ob-reveal:nth-child(3), .ob-stages > .ob-reveal:nth-child(3) { transition-delay: .12s; }
.ob-grid > .ob-reveal:nth-child(4), .ob-cardgrid > .ob-reveal:nth-child(4), .ob-stages > .ob-reveal:nth-child(4) { transition-delay: .18s; }
.ob-grid > .ob-reveal:nth-child(5), .ob-cardgrid > .ob-reveal:nth-child(5), .ob-stages > .ob-reveal:nth-child(5) { transition-delay: .24s; }
.ob-grid > .ob-reveal:nth-child(n+6), .ob-cardgrid > .ob-reveal:nth-child(n+6), .ob-stages > .ob-reveal:nth-child(n+6) { transition-delay: .3s; }
