/* ==========================================================
   Refonte "One-thumb" — Phase 1 visuelle (2026-08, migration 0009)
   Feuille dédiée aux 8 écrans anti-abandon (P101..P108), au pivot
   (PPivot) et à l'écran multi-métiers (PMultiJobOrder). Chargée EN PLUS
   de tokens.css + pro.css (réutilise les variables --forest/--honey/...
   déjà définies là-bas) — ne redéfinit ici que ce qui est spécifique au
   nouveau design system "one-thumb" du handoff (ot_shared.jsx /
   ot_antichurn.jsx). Ancien parcours (.screen/.opt-card/.chip de pro.css)
   inchangé, toujours utilisé par jobsQuick/convient/renderStep legacy.
   ========================================================== */

/* ---------- Écran plein (remplace .screen historique le temps
   d'afficher un P1) : padding-bottom réduit car .ot-thumb gère déjà son
   propre espace, pas de .bottom-bar séparée pour ces écrans. ---------- */
.ot-screen {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 130px);
  min-height: calc(100dvh - 130px);
}

/* ---------- P1Header : badge "Essentiel" + barre d'étapes 1..8 ---------- */
.ot-p1header {
  padding: 10px 20px 6px;
  flex-shrink: 0;
}
.ot-p1header .ot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill, 999px);
  background: var(--honey-pale);
  color: var(--terracotta-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ot-p1header .ot-badge svg { width: 10px; height: 10px; }
.ot-p1header .ot-steps {
  display: flex;
  gap: 4px;
  align-items: center;
}
.ot-p1header .ot-steps .seg {
  flex: 1;
  height: 4px;
  border-radius: 100px;
  background: rgba(31,58,46,0.12);
}
.ot-p1header .ot-steps .seg.done { background: var(--honey); }
.ot-p1header .ot-steps .count {
  font-size: 11px;
  color: var(--forest);
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
}

/* ---------- OTTopNav : bouton retour + statut "Enregistré"/"Passer" ---------- */
.ot-topnav {
  padding: 4px 16px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.ot-topnav .ot-back {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(31,58,46,0.06);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.ot-topnav .ot-back:active { background: rgba(31,58,46,0.12); }
.ot-topnav .ot-saved {
  font-size: 11px; color: var(--forest); opacity: 0.75;
  display: inline-flex; align-items: center; gap: 5px;
  letter-spacing: 0.03em;
}
.ot-topnav .ot-saved .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.ot-topnav .ot-skip {
  font-size: 13px; color: var(--forest); opacity: 0.75;
  padding: 8px 12px; letter-spacing: 0.02em;
  cursor: pointer;
}

/* ---------- OTQuestion : titre Fraunces + em + sub + MG facultative ---------- */
.ot-question { padding: 4px 22px 0; }
.ot-question h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--forest-900);
  margin: 0;
}
.ot-question h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}
.ot-question .ot-mg {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--forest-600);
  margin-top: 4px;
}
.ot-question .ot-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.5;
}

/* ---------- OTThumb : CTA pilule dorée en zone de pouce ---------- */
.ot-thumb-zone { padding: 10px 16px 16px; flex-shrink: 0; margin-top: auto; }
.ot-thumb {
  padding: 18px 22px;
  border-radius: var(--r-pill, 999px);
  background: var(--honey);
  color: var(--forest-900);
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 8px 24px -8px rgba(212,162,74,0.6);
  width: 100%;
  border: none;
  font-family: var(--font-sans);
}
.ot-thumb[disabled] {
  background: var(--ivory-deep);
  color: var(--ink-faint);
  box-shadow: none;
  cursor: not-allowed;
}
.ot-thumb.invert {
  background: #fff;
  color: var(--forest);
  border: 1.5px solid var(--forest);
  box-shadow: none;
}
.ot-thumb .label { font-size: 16px; font-weight: 700; letter-spacing: -0.005em; text-align: left; }
.ot-thumb .sub { font-size: 12px; opacity: 0.7; margin-top: 2px; font-weight: 500; }
.ot-thumb .arrow-dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--forest); color: var(--honey);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ot-thumb[disabled] .arrow-dot { background: transparent; color: var(--ink-faint); }
/* PROFIL-01C1 (Section 4, option B, 2026-08) — région de statut persistante
   (role="status" aria-live="polite" aria-atomic="true", cf. thumb() dans
   pro-render-onethumb.ts) associée au CTA .ot-thumb : visuellement masquée
   (technique "clip", standard d'accessibilité — pas display:none, qui
   empêcherait certains lecteurs d'écran de l'annoncer) car le retour visuel
   équivalent existe déjà via le changement de libellé du bouton lui-même
   (setThumbBusy() dans pro.js) : pas de duplication visuelle du texte,
   uniquement une annonce sonore/braille pour les utilisatrices de lecteur
   d'écran. Présente VIDE dans le DOM dès le rendu initial (texte injecté
   uniquement par setThumbBusy() au clic), jamais affichée en clair. */
.ot-status-live {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ot-thumb-alt {
  text-align: center; margin-top: 10px; font-size: 12.5px;
  color: var(--ink-soft); text-decoration: underline;
  cursor: pointer; background: none; border: none; width: 100%;
}
.ot-thumb-outline {
  padding: 15px 20px; border-radius: var(--r-pill, 999px);
  background: #fff; border: 1.5px solid var(--forest);
  color: var(--forest); text-align: center; font-size: 14.5px; font-weight: 600;
  width: 100%;
}

/* ---------- OTTile : grille 2x2 (P101 métiers) ---------- */
.ot-tile-grid {
  padding: 18px 22px 0; flex: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.ot-tile {
  padding: 16px 14px 14px;
  border-radius: 20px;
  background: #fff;
  color: var(--forest);
  border: 1.5px solid var(--sage-pale);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  min-height: 130px;
  text-align: left;
  width: 100%;
}
.ot-tile.on {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.ot-tile .ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--sage-pale); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.ot-tile.on .ico { background: rgba(212,162,74,0.25); color: var(--honey); }
.ot-tile .label { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2; margin-top: 10px; }
.ot-tile .checkmark {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--honey); color: var(--forest);
  display: none; align-items: center; justify-content: center;
}
.ot-tile.on .checkmark { display: flex; }

/* ---------- Rows sélectionnables (P103 quartiers, P106 missions,
   P107 sous-listes) ---------- */
.ot-row-list { padding: 16px 22px 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ot-row {
  padding: 13px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--forest);
  border: 1.5px solid var(--sage-pale);
  display: flex; align-items: center; gap: 10px;
  text-align: left;
  width: 100%;
}
.ot-row.on { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.ot-row .row-ico { flex-shrink: 0; display: flex; }
.ot-row .row-body { flex: 1; min-width: 0; }
.ot-row .row-title { font-size: 13.5px; font-weight: 600; }
.ot-row .row-sub { font-size: 11px; opacity: 0.65; margin-top: 1px; }
.ot-row .row-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: transparent; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ot-row.on .row-check { background: var(--honey); color: var(--forest); }

/* Row avec icône dans un badge carré (P106 missions) */
.ot-row.with-badge { padding: 14px 14px; gap: 12px; }
.ot-row .badge-ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--sage-pale); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ot-row.on .badge-ico { background: rgba(212,162,74,0.2); color: var(--honey); }

/* Documents administratifs (Itération C, 2026-08, écran I2 identité) —
   variante de .ot-row.with-badge : DIV statique (pas de bouton/.on, cf.
   pro-render-identite.ts renderIdentiteI2Documents) avec badge de statut
   coloré (pending/verified/rejected, mêmes teintes que status-dot dans
   tokens.css) + bouton d'upload à droite (label+input file caché, même
   principe que .photo-upload input[type=file] dans pro.css). */
.doc-row.doc-pending .badge-ico { background: var(--warning-pale); color: var(--warning); }
.doc-row.doc-verified .badge-ico { background: var(--success-pale); color: var(--success); }
.doc-row.doc-rejected .badge-ico { background: var(--danger-pale); color: var(--danger); }
.doc-row .doc-status { opacity: 1; }
.doc-row.doc-pending .doc-status { color: var(--warning); font-weight: 600; }
.doc-row.doc-verified .doc-status { color: var(--success); font-weight: 600; }
.doc-row.doc-rejected .doc-status { color: var(--danger); font-weight: 600; }
.doc-row .doc-reject-note { color: var(--danger); opacity: 0.85; }
.doc-upload-btn {
  position: relative;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.doc-upload-btn input[type=file] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}

/* ---------- Chip de confirmation (P102 : rappelle les métiers cochés
   à P101) + carte de saisie native (P102 prénom / P104 téléphone) : bordure
   sage-pale, label majuscule, gros input Fraunces (remplace LatinKeyboard/
   NumPad illustratifs du handoff par un <input> natif réel — décision
   actée dès le plan initial : accessibilité, autocomplete, clavier OS). ---------- */
.ot-chip-confirm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill, 999px);
  background: var(--sage-pale); color: var(--forest-600);
  font-size: 12px; font-weight: 600; margin: 14px 22px 0;
  align-self: flex-start;
}
.ot-input-card {
  margin: 16px 22px 0; padding: 16px 18px;
  border-radius: 16px; background: #fff; border: 1.5px solid var(--sage-pale);
}
.ot-input-card .label-mg {
  display: block;
  font-style: italic;
  color: var(--forest-600, #4a7c59);
  font-size: 0.85em;
  margin-top: -2px;
  margin-bottom: 6px;
}

.ot-input-card .label {
  font-size: 11px; color: var(--forest-600); letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 8px;
}
.ot-input-card .value-row { display: flex; align-items: center; gap: 10px; }
.ot-input-card .prefix-chip {
  flex-shrink: 0; padding: 8px 10px; border-radius: 10px;
  background: var(--sage-pale); color: var(--forest);
  font-family: var(--font-serif); font-size: 20px; font-weight: 500;
}
.ot-input-card input {
  flex: 1; min-width: 0; border: none; background: transparent;
  font-family: var(--font-serif); font-size: 26px; font-weight: 400;
  color: var(--forest-900); letter-spacing: -0.01em; padding: 4px 0;
}
.ot-input-card input:focus { outline: none; }
.ot-input-card input::placeholder { color: var(--ink-faint); opacity: 0.6; }

/* ---------- SubHeader (P107 sections) ---------- */
.ot-subheader {
  font-size: 11px; color: var(--forest-600); letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600; margin: 0 0 6px;
}
.ot-subheader .req {
  font-weight: 500; text-transform: none; letter-spacing: 0; opacity: 0.6;
  margin-left: 4px;
}
.ot-section { margin-bottom: 16px; }
.ot-section:last-child { margin-bottom: 0; }

/* ---------- Grilles 3 colonnes / 7 colonnes (démarrage, préavis, jours) ---------- */
.ot-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ot-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ot-grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ot-cell {
  padding: 11px 8px; border-radius: 10px; text-align: center;
  background: #fff; color: var(--forest);
  border: 1.5px solid var(--sage-pale);
  font-size: 12px; font-weight: 600;
  width: 100%;
}
.ot-cell.on { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.ot-cell.day {
  font-family: var(--font-serif); font-weight: 700; padding: 11px 0;
}
.ot-cell.day.off { color: var(--ink-faint); }
.ot-hint {
  font-size: 11.5px; color: var(--ink-soft); margin-bottom: 16px;
  font-style: italic; font-family: var(--font-serif);
}

/* ---------- Stepper numérique (âge / expérience) — input natif réel
   (pas de clavier custom, décision produit actée), stylé pour ressembler
   au gros chiffre Fraunces de la maquette. Les boutons +/- (task #9,
   pro.js) incrémentent/décrémentent directement .value de cet input. ---------- */
.ot-stepper-wrap {
  padding: 24px 22px 0; flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
}
.ot-stepper-num { text-align: center; }
.ot-stepper-num .num,
.ot-stepper-input {
  font-family: var(--font-serif); font-size: 68px; font-weight: 400;
  color: var(--forest-900); letter-spacing: -0.04em; line-height: 0.95;
}
.ot-stepper-input {
  width: 3.2em; border: none; background: transparent; text-align: center;
  -moz-appearance: textfield; padding: 0; margin: 0 auto; display: block;
}
.ot-stepper-input::-webkit-outer-spin-button,
.ot-stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ot-stepper-input:focus { outline: none; }
.ot-stepper-num .unit {
  font-size: 13px; color: var(--forest-600); margin-top: 4px;
  font-family: var(--font-serif); font-style: italic;
}
.ot-stepper-btns { display: flex; gap: 16px; }
.ot-stepper-btn {
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 300; font-family: var(--font-serif);
  border: none;
}
.ot-stepper-btn.minus { background: #fff; color: var(--forest); border: 1.5px solid var(--forest); }
.ot-stepper-btn.plus {
  background: var(--forest); color: var(--honey);
  box-shadow: 0 8px 20px -8px rgba(31,58,46,0.3);
}
.ot-stepper-btn[disabled] { opacity: 0.4; }
.ot-stepper-hint {
  font-size: 11.5px; color: var(--forest-600); text-align: center;
  font-family: var(--font-serif); font-style: italic; max-width: 28ch;
}

/* ---------- Écran simple (PMultiJobOrder, PPublishFaster) : header
   Serena discret + badge + contenu défilant + CTA "plus tard" ---------- */
.ot-simple-header { padding: 18px 20px 12px; flex-shrink: 0; }
.ot-simple-header .logo {
  font-family: var(--font-serif); font-size: 20px; font-weight: 500;
  color: var(--forest); letter-spacing: -0.01em;
}
.ot-simple-header .logo .dot { color: var(--terracotta); }
.ot-simple-body { flex: 1; padding: 10px 22px 0; }
.ot-simple-body h2 {
  font-family: var(--font-serif); font-size: 26px; font-weight: 400;
  line-height: 1.05; letter-spacing: -0.025em; color: var(--forest-900);
  margin: 0;
}
.ot-simple-body h2 em { font-style: italic; color: var(--terracotta); }
.ot-simple-body .sub { font-size: 13px; color: var(--ink-muted); margin-top: 10px; line-height: 1.55; }

.ot-module-list { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.ot-module-card {
  padding: 14px 14px; border-radius: 14px;
  background: #fff; border: 1.5px solid var(--sage-pale);
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
}
.ot-module-card.reco { border-color: var(--honey); }
.ot-module-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage-pale); color: var(--forest);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ot-module-card .body { flex: 1; min-width: 0; }
.ot-module-card .title-row { font-size: 15px; font-weight: 600; color: var(--forest); display: flex; gap: 6px; align-items: center; }
.ot-module-card .reco-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 4px;
  background: var(--honey-pale); color: var(--terracotta-dark);
}
.ot-module-card .meta { font-size: 11.5px; color: var(--ink-soft); margin-top: 3px; }
.ot-module-card .arrow { color: var(--forest); flex-shrink: 0; }

.ot-info-box {
  margin-top: 18px; padding: 12px 14px; border-radius: 10px;
  background: var(--sage-pale); display: flex; gap: 8px; align-items: flex-start;
}
.ot-info-box svg { flex-shrink: 0; color: var(--forest-600); }
.ot-info-box .txt { font-size: 11.5px; color: var(--forest-600); line-height: 1.5; }

.ot-simple-footer { padding: 12px 14px 14px; flex-shrink: 0; }
.ot-simple-footer .link {
  text-align: center; font-size: 12.5px; color: var(--ink-soft);
  text-decoration: underline; background: none; border: none; width: 100%;
}

/* ---------- Lot Références (2026-08, ITÉRATION 3) : entrée répétable
   (0-2), habillage one-thumb de l'ancien .entry/.rm-btn/.add-more-btn
   (pro.css) — DOM identique (#ref-list/.ot-ref-entry/data-ref-index/
   data-ref-field), seul le style change. ---------- */
.ot-ref-entry {
  position: relative; margin: 0 22px 14px; padding: 14px 14px 4px;
  border-radius: 16px; background: var(--sage-pale); border: 1.5px solid var(--sage-pale);
}
.ot-ref-entry-title {
  font-size: 11px; color: var(--forest-600); letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600; margin: 2px 34px 10px 4px;
}
.ot-ref-rm-btn {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent; color: var(--ink-faint);
  display: flex; align-items: center; justify-content: center;
}
.ot-ref-rm-btn:hover { background: var(--terracotta-pale); color: var(--terracotta-dark); }
.ot-ref-entry .ot-input-card { border: 1.5px solid rgba(255,255,255,0.6); }
.ot-ref-add-btn {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  width: calc(100% - 44px); margin: 0 22px 14px; padding: 14px 16px;
  background: transparent; border: 1.5px dashed var(--ink-faint); border-radius: 14px;
  color: var(--ink-muted); font-size: 13.5px; font-weight: 600; min-height: 52px;
}
.ot-ref-add-btn:hover { border-color: var(--forest); color: var(--forest); }

/* ---------- Pivot (fond forêt sombre, glow, gauge, double CTA) ---------- */
.ot-pivot {
  background: var(--forest); color: var(--cream);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  min-height: calc(100vh - 0px);
  min-height: calc(100dvh - 0px);
  margin: -1px -1px 0; /* efface la bordure/marge de .app pour couvrir tout l'écran */
}
.ot-pivot .glow {
  position: absolute; top: 15%; left: 50%;
  transform: translate(-50%, -50%);
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,162,74,0.33) 0%, transparent 65%);
  filter: blur(30px);
}
.ot-pivot .content { padding: 24px 24px 10px; text-align: center; position: relative; z-index: 2; }
.ot-pivot .check-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--honey); color: var(--forest);
  margin: 10px auto 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px rgba(212,162,74,0.18);
}
.ot-pivot h2 {
  font-family: var(--font-serif); font-size: 32px; font-weight: 400;
  line-height: 1.02; letter-spacing: -0.025em; color: var(--cream);
  margin: 0;
}
.ot-pivot h2 em { font-style: italic; color: var(--honey); }
.ot-pivot .subtitle { font-size: 13.5px; color: rgba(245,239,228,0.7); margin-top: 8px; }
.ot-pivot .gauge-wrap { padding: 10px 22px 0; position: relative; z-index: 2; }
.ot-pivot .gauge-card {
  background: rgba(245,239,228,0.06); border-radius: 14px;
  border: 1px solid rgba(245,239,228,0.12); padding: 14px 16px;
}
.ot-pivot .gauge-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.ot-pivot .gauge-label {
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(245,239,228,0.7); font-weight: 700;
}
.ot-pivot .gauge-pct { font-size: 13px; color: var(--honey); font-weight: 700; font-family: var(--font-serif); }
.ot-pivot .gauge-track { height: 6px; background: rgba(245,239,228,0.1); border-radius: 100px; overflow: hidden; }
.ot-pivot .gauge-fill { height: 100%; background: var(--honey); border-radius: 100px; }
.ot-pivot .encouragement { font-size: 12px; color: rgba(245,239,228,0.75); margin-top: 10px; line-height: 1.5; }
.ot-pivot .spacer { flex: 1; }
.ot-pivot .cta-zone { padding: 10px 14px 14px; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.ot-pivot .cta-honey {
  padding: 17px 22px; border-radius: 100px;
  background: var(--honey); color: var(--forest-900);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(212,162,74,0.6);
  border: none; width: 100%; text-align: left;
}
.ot-pivot .cta-honey .sub { font-size: 11px; opacity: 0.65; margin-top: 2px; font-weight: 500; }
.ot-pivot .cta-honey .arrow-dot {
  width: 40px; height: 40px; border-radius: 50%; background: var(--forest);
  color: var(--honey); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ot-pivot .cta-outline {
  padding: 13px 20px; border-radius: 100px;
  background: transparent; color: rgba(245,239,228,0.85);
  border: 1.5px solid rgba(245,239,228,0.25);
  text-align: center; font-size: 13.5px; font-weight: 500; width: 100%;
}

/* ---------- Lot Accueil (2026-08, ITÉRATION 3) : liste de valeurs,
   sur l'écran d'accueil renderWelcomeOT. Aucun équivalent dans le
   handoff (pas de template Welcome) — composée à partir des tokens
   --forest/--honey/--sage-pale déjà utilisés ailleurs, même esprit
   visuel que .ot-input-card/.ot-info-box.
   PROFIL-01A3.3 (2026-08) : la carte "compteur fondatrice" qui
   figurait ici (.ot-founder-card) a été supprimée avec le concept
   Fondatrice ; voir .ot-founder-card dans pro.css pour l'historique. ---------- */
.ot-value-list { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; padding-bottom: 6px; }
.ot-value-item { display: flex; align-items: flex-start; gap: 12px; }
.ot-value-item .ico {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  background: var(--sage-pale); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.ot-value-item h4 { font-size: 13.5px; font-weight: 700; color: var(--forest); margin: 0; }
.ot-value-item p { font-size: 12px; color: var(--ink-soft); margin: 3px 0 0; line-height: 1.45; }

/* ---------- Lot Succès (2026-08, ITÉRATION 3) : variante claire de
   .ot-pivot pour l'écran de fin de parcours (renderSuccessOT) — même
   structure (glow/check-circle/gauge-card) mais fond clair (pas de
   .ot-pivot ici, cet écran s'affiche APRÈS un parcours qui peut être
   entré par n'importe quelle porte, pas seulement le pivot P1) +
   liste "reste à compléter" (réutilise .ot-module-card) + bloc
   "prochaines étapes" numéroté. ---------- */
.ot-success-hero {
  padding: 28px 24px 6px; text-align: center;
}
.ot-success-hero .check-circle {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--sage-pale); color: var(--forest);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.ot-success-hero h2 {
  font-family: var(--font-serif); font-size: 28px; font-weight: 400;
  line-height: 1.08; letter-spacing: -0.02em; color: var(--forest-900); margin: 0;
}
.ot-success-hero .lead { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; }
.ot-success-gauge {
  margin: 18px 22px 0; padding: 16px 18px; border-radius: 16px;
  background: #fff; border: 1.5px solid var(--sage-pale);
}
.ot-success-gauge .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ot-success-gauge .tier-badge {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; background: var(--sage-pale); color: var(--forest);
}
.ot-success-gauge .pct { font-size: 30px; font-family: var(--font-serif); color: var(--forest-900); white-space: nowrap; }
.ot-success-gauge .bar-track { height: 6px; border-radius: 100px; background: var(--sage-pale); overflow: hidden; margin-top: 12px; }
.ot-success-gauge .bar-fill { height: 100%; background: linear-gradient(90deg, var(--forest), var(--forest-600)); border-radius: 100px; }
.ot-success-gauge .missing-intro { margin-top: 12px; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.ot-success-missing { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.ot-success-missing button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 10px 12px; background: var(--sand-50, #faf6f1); border: 1px solid var(--sand-200, #ece2d6);
  border-radius: 10px; font-size: 12.5px; color: var(--ink); font-weight: 500;
}
.ot-success-missing button .go { color: var(--forest); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.ot-success-complete {
  margin-top: 10px; display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--forest); font-weight: 600;
}
.ot-success-next { margin: 22px 22px 0; }
.ot-success-next h4 {
  font-family: var(--font-serif); font-size: 15px; font-weight: 500; color: var(--forest-900); margin: 0 0 12px;
}
.ot-success-next .step { display: flex; gap: 12px; margin-bottom: 14px; }
.ot-success-next .n {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--forest); color: var(--honey); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.ot-success-next .body h5 { font-size: 13px; font-weight: 700; color: var(--forest); margin: 0; }
.ot-success-next .body p { font-size: 11.5px; color: var(--ink-soft); margin: 2px 0 0; line-height: 1.4; }
.ot-success-contact {
  margin: 16px 22px 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 100px; background: var(--sage-pale); color: var(--forest);
  font-size: 13.5px; font-weight: 600;
}

/* ---------- Lot Expériences (2026-08, ITÉRATION 3) : liste répétable
   0-3 entrées (renderExperiencesOT), même pattern que .ot-ref-entry
   (Lot Références) mais avec un champ description en textarea. DOM
   identique (#exp-list/data-exp-index/data-exp-field/add-exp/remove-exp/
   submit-step5) — seul l'habillage change. ---------- */
.ot-exp-entry {
  position: relative; margin: 0 22px 14px; padding: 14px 14px 4px;
  border-radius: 16px; background: var(--sage-pale); border: 1.5px solid var(--sage-pale);
}
.ot-exp-entry-title {
  font-size: 11px; color: var(--forest-600); letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600; margin: 2px 34px 10px 4px;
}
.ot-exp-rm-btn {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent; color: var(--ink-faint);
  display: flex; align-items: center; justify-content: center;
}
.ot-exp-rm-btn:hover { background: var(--terracotta-pale); color: var(--terracotta-dark); }
.ot-exp-entry .ot-input-card { border: 1.5px solid rgba(255,255,255,0.6); }
.ot-exp-entry textarea {
  width: 100%; border: none; background: transparent; resize: vertical;
  font-family: var(--font-sans); font-size: 14px; color: var(--forest-900);
  min-height: 60px; padding: 4px 0;
}
.ot-exp-entry textarea:focus { outline: none; }
.ot-exp-add-btn {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  width: calc(100% - 44px); margin: 0 22px 14px; padding: 14px 16px;
  background: transparent; border: 1.5px dashed var(--ink-faint); border-radius: 14px;
  color: var(--ink-muted); font-size: 13.5px; font-weight: 600; min-height: 52px;
}
.ot-exp-add-btn:hover { border-color: var(--forest); color: var(--forest); }

/* ==========================================================
   Refonte "One-thumb" — Phase 2 (2026-08) — module transverse "Ce
   qui vous convient" (V1-V5) + éléments génériques réutilisables par
   les futurs modules Phase 2 (Trunk T2·1-3, modules métier, fin
   partagée F·1-5). Complète (ne remplace pas) le bloc Phase 1
   ci-dessus : réutilise les mêmes variables --forest/--honey/etc.
   ========================================================== */

/* ---------- OTProgress générique (barre à N segments, tous modules
   Phase 2) — distincte de .ot-p1header .ot-steps (Phase 1 uniquement,
   avec badge "Essentiel"). ---------- */
.ot-progress {
  padding: 10px 16px 4px;
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.ot-progress .seg {
  flex: 1;
  height: 3px;
  border-radius: 100px;
  background: rgba(31,58,46,0.12);
  overflow: hidden;
  position: relative;
}
.ot-progress .seg::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--forest);
  border-radius: 100px;
  width: 0%;
  transition: width 0.4s;
}
.ot-progress .seg.done::after { width: 100%; }
.ot-progress .seg.current::after { width: 55%; }

/* ---------- Bandeau "Recommandé" (ConvientBanner du handoff) — pilule
   terracotta-pâle distincte du badge honey de p1Header, avec pastille
   d'info + compteur i/n + libellé "Recommandé" en majuscules. ---------- */
.ot-banner-reco {
  padding: 10px 22px 0;
  flex-shrink: 0;
}
.ot-banner-reco .inner {
  padding: 9px 12px;
  border-radius: var(--r-pill, 999px);
  background: var(--terracotta-pale);
  border: 1px solid rgba(200,115,90,0.27);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ot-banner-reco .ico {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--terracotta); color: #fff;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ot-banner-reco .label {
  font-size: 11.5px; color: var(--forest); font-weight: 600; letter-spacing: 0.02em;
}
.ot-banner-reco .label .count { opacity: 0.55; }
.ot-banner-reco .tag {
  margin-left: auto;
  font-size: 10px; color: var(--terracotta-dark);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Encart pédagogique ("Pourquoi c'est important") — sous le
   bandeau Recommandé, une seule fois en tête de section (V1 uniquement),
   fond sage-pâle cohérent avec .ot-info-box mais icône/teinte dédiées. ---------- */
.ot-why-box {
  margin: 10px 22px 0; padding: 12px 14px; border-radius: 12px;
  background: var(--sage-pale);
  display: flex; gap: 9px; align-items: flex-start;
}
.ot-why-box .ico {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--forest); color: var(--honey);
  display: flex; align-items: center; justify-content: center;
}
.ot-why-box .txt { font-size: 11.5px; color: var(--forest-600); line-height: 1.5; }
.ot-why-box .txt b { color: var(--forest-900); font-weight: 700; }

/* ---------- Liste de rows sélectionnables générique (V1/V2/V3/V5) —
   même visuel que OTRow du handoff : fond blanc/forêt selon état "on",
   pastille check honey à droite. Distincte de .ot-row-list (Phase 1, déjà
   définie plus haut) : gap légèrement supérieur, pas de scroll forcé ici
   car chaque écran V1-V5 tient sur un seul écran (4-5 options max). ---------- */
.ot-convient-list {
  padding: 14px 22px 0; flex: 1; overflow: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.ot-convient-row {
  padding: 12px 14px; border-radius: 12px;
  background: #fff; color: var(--forest);
  border: 1.5px solid var(--sage-pale);
  display: flex; align-items: center; gap: 10px;
  text-align: left; width: 100%;
}
.ot-convient-row.on { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.ot-convient-row .row-body { flex: 1; min-width: 0; }
.ot-convient-row .row-title { font-size: 14px; font-weight: 600; }
.ot-convient-row .row-sub { font-size: 11px; opacity: 0.65; margin-top: 1px; }
.ot-convient-row .row-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: transparent; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink-line);
}
.ot-convient-row.on .row-check { background: var(--honey); border: none; color: var(--forest); }

/* ---------- Variante compacte (V4 ambiance : deux sous-listes fumeurs/
   veillées, plus denses, pas de sous-titre affiché). ---------- */
.ot-convient-compact-row {
  padding: 11px 14px; border-radius: 12px;
  background: #fff; color: var(--forest);
  border: 1.5px solid var(--sage-pale);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; font-weight: 600;
  width: 100%; text-align: left;
}
.ot-convient-compact-row.on { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.ot-convient-compact-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.ot-convient-compact-list:last-child { margin-bottom: 0; }

/* ==========================================================
   Tronc commun Phase 2, ITÉRATION 2B (2026-08, migration 0010) — 3
   écrans communs T2·1 Zone étendue / T2·2 Langues+niveaux / T2·3
   Salaire, portés depuis ot_trunk.jsx (T07Zone/T08Languages) +
   ot_flow.jsx (O11Salary). Réutilise .ot-cell/.ot-grid3/.ot-subheader/
   .ot-section déjà définis plus haut ; classes `.ot-trunk-*` ci-dessous
   pour les 5 composants sans équivalent identifié dans ce fichier :
   grille 4 colonnes (rayon), pill-row (transport), carte quartier
   +"Changer" (zone), carte langue expansible (niveaux), gros stepper
   salaire avec boutons ronds 72px + chiffre géant Fraunces.
   ========================================================== */

/* ---------- Grille 4 colonnes (distance de déplacement, T2·1) ---------- */
.ot-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }

/* ---------- Carte "Quartier principal" + lien Changer (T2·1) ---------- */
.ot-trunk-quartier-card {
  padding: 13px 14px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--forest);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.ot-trunk-quartier-card .ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--forest); color: var(--honey);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ot-trunk-quartier-card .name { font-size: 14px; font-weight: 600; color: var(--forest); flex: 1; min-width: 0; }
.ot-trunk-quartier-card .change {
  margin-left: auto; font-size: 11.5px; color: var(--terracotta);
  text-decoration: underline; background: none; border: none; padding: 0;
  flex-shrink: 0;
}

/* ---------- Pill-row (transport multi-select, T2·1) — distinct des
   .ot-cell (grille rectangulaire) : forme pilule, largeur au contenu,
   disposition en flex-wrap plutôt qu'en grille fixe. ---------- */
.ot-trunk-pillrow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ot-trunk-pill {
  padding: 10px 14px; border-radius: 100px;
  background: #fff; color: var(--forest);
  border: 1.5px solid var(--sage-pale);
  font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px;
}
.ot-trunk-pill.on { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* ---------- Carte langue expansible (T2·2) — toggle "on" affiche la
   grille de niveaux (masquée par défaut en CSS ; le HTML n'est PAS
   supprimé/recréé au clic, cf. pro.js toggle-trunk-langue qui bascule
   uniquement la classe .on sur la carte parente). ---------- */
.ot-trunk-lang-list { display: flex; flex-direction: column; gap: 12px; }
.ot-trunk-lang-card {
  padding: 12px 14px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--sage-pale);
}
.ot-trunk-lang-card.on { background: var(--cream); border-color: var(--forest); }
.ot-trunk-lang-card .head {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: none; padding: 0; text-align: left;
}
.ot-trunk-lang-card .dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: var(--forest);
  border: 1.5px solid var(--ink-line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ot-trunk-lang-card.on .dot { background: var(--honey); border: none; }
.ot-trunk-lang-card .label { font-size: 14px; font-weight: 600; color: var(--forest); flex: 1; min-width: 0; }
.ot-trunk-lang-card .levels { margin-top: 10px; display: none; }
.ot-trunk-lang-card.on .levels { display: grid; }
.ot-trunk-lang-card .levels .ot-cell { padding: 7px 0; font-size: 10.5px; border-width: 1px; }

/* ---------- Stepper salaire géant (T2·3) — visuellement distinct du
   petit .ot-stepper-btn (âge/expérience, 68px, sans accélération) : gros
   boutons ronds 72px, chiffre central beaucoup plus grand, indicateur
   "marché" en petites capitales terracotta. ---------- */
/* Bug corrigé (2026-08, détecté par le test E2E ITÉRATION 2B) : les
   tailles d'origine (boutons 72px, input 5.5em à 60px, gap 24px, padding
   22px) dépassaient largement les 375px de large de la cible mobile de
   référence (cf. viewport des scripts scripts/tests/e2e-pro-*.mjs) —
   ~566px de contenu au total, poussant le bouton "+" hors écran (jamais
   cliquable au doigt). Tailles resserrées ci-dessous (~348px max, valeur
   la plus large "5 000 000" à 7 chiffres) pour tenir sur 375px. */
.ot-trunk-salary-wrap {
  padding: 16px 16px 0; flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.ot-trunk-salary-btn {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 300; font-family: var(--font-serif);
  border: none; flex-shrink: 0;
}
.ot-trunk-salary-btn.minus { background: #fff; color: var(--forest); border: 1.5px solid var(--forest); }
.ot-trunk-salary-btn.plus {
  background: var(--forest); color: var(--honey);
  box-shadow: 0 8px 20px -8px rgba(31,58,46,0.3);
}
.ot-trunk-salary-num { text-align: center; }
.ot-trunk-salary-input {
  font-family: var(--font-serif); font-size: 40px; font-weight: 400;
  color: var(--forest-900); letter-spacing: -0.04em; line-height: 0.95;
  width: 4.2em; border: none; background: transparent; text-align: center;
  -moz-appearance: textfield; padding: 0; margin: 0 auto; display: block;
}
.ot-trunk-salary-input::-webkit-outer-spin-button,
.ot-trunk-salary-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ot-trunk-salary-input:focus { outline: none; }
.ot-trunk-salary-num .unit {
  font-size: 13px; color: var(--forest-600); margin-top: 4px;
  font-family: var(--font-serif); font-style: italic;
}
.ot-trunk-salary-num .market {
  margin-top: 12px; font-size: 10.5px; color: var(--terracotta-dark);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}
.ot-trunk-salary-hint {
  padding: 10px 22px 8px; text-align: center;
  font-size: 11.5px; color: var(--forest-600);
  font-family: var(--font-serif); font-style: italic;
}

/* ==========================================================
   Modules métier Phase 2, ITÉRATION 2 (2026-08, migration 0011) — 13
   écrans des 4 modules métier-spécifiques (N1..N3 Nounou, M1..M3 Ménage,
   C1..C3 Cuisinière, G1..G4 Gouvernante), portés depuis ot_modules.jsx.
   Réutilise très largement l'existant (.ot-row/.ot-row.with-badge/
   .badge-ico, .ot-cell/.ot-grid2/.ot-grid3/.ot-grid4, .ot-subheader/
   .ot-section, .ot-trunk-pillrow/.ot-trunk-pill, .ot-trunk-lang-card/
   .levels, .ot-info-box) — seule classe réellement nouvelle : le bandeau
   ModuleBanner (aucun équivalent existant, vérifié par grep avant cette
   itération), qui affiche "Module <métier> · i/n" en pilule honey-pâle
   avec icône ronde honey, en tête de chacun des 13 écrans. ---------- */
.ot-module-banner { padding: 10px 22px 0; flex-shrink: 0; }
.ot-module-banner .inner {
  padding: 9px 12px; border-radius: var(--r-pill, 999px);
  background: var(--honey-pale); border: 1px solid rgba(212,162,74,0.27);
  display: flex; align-items: center; gap: 8px;
}
.ot-module-banner .ico {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--honey); color: var(--forest);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.ot-module-banner .label {
  font-size: 11.5px; color: var(--forest); font-weight: 600; letter-spacing: 0.02em;
}
.ot-module-banner .label .count { opacity: 0.55; }

/* ---------- Écran "Mon profil complet" (renderProfileFull, ITÉRATION 3,
   2026-08) : portage du composant W4Review du handoff (ot_modules.jsx) —
   liste de cartes groupées par section, chaque carte = titre + statut +
   lignes clé/valeur + bouton(s) "Modifier". Remplace .profile-section/
   .sec-head/.sec-body/.sec-foot (pro.css, conservées pour compat visuelle
   d'autres écrans le temps de leur propre migration — cf. commentaire en
   tête de pro.css). Vocabulaire visuel repris de .ot-module-card (carte
   blanche, bordure sage-pale, radius 14) plutôt que du fond doré du
   composant original (peu lisible pour une longue liste de champs). ---------- */
.ot-review-card {
  margin: 0 20px 12px;
  background: #fff; border: 1.5px solid var(--sage-pale);
  border-radius: 14px; overflow: hidden;
}
.ot-review-head {
  padding: 13px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--sage-pale);
}
.ot-review-head h4 { font-size: 14.5px; font-weight: 600; color: var(--forest); flex: 1; margin: 0; }
.ot-review-head .badge {
  padding: 3px 9px; border-radius: var(--r-pill, 999px);
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  flex-shrink: 0;
}
.ot-review-head .badge.done { background: var(--success-pale); color: var(--success); }
.ot-review-head .badge.todo { background: var(--honey-pale); color: var(--terracotta-dark); }
.ot-review-body { display: flex; flex-direction: column; }
.ot-review-row {
  padding: 9px 16px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-bottom: 1px solid rgba(31,58,46,0.05);
}
.ot-review-row:last-child { border-bottom: none; }
.ot-review-row .k { font-size: 12px; color: var(--ink-soft); flex-shrink: 0; }
.ot-review-row .v { font-size: 12.5px; color: var(--forest); font-weight: 500; text-align: right; min-width: 0; overflow-wrap: break-word; }
.ot-review-foot {
  padding: 10px 16px;
  border-top: 1px solid var(--sage-pale);
  display: flex; justify-content: flex-end; gap: 14px; flex-wrap: wrap;
}
.ot-review-foot button {
  font-size: 12px; font-weight: 700; color: var(--forest);
  display: inline-flex; align-items: center; gap: 4px;
}
.ot-review-list-title {
  padding: 4px 20px 10px; margin-top: 4px;
  font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--forest-600); font-weight: 700;
}
/* Bas de page (compte) — repris tel quel visuellement de l'ancien
   renderProfileFull, seul le conteneur devient .ot-review-account. */
.ot-review-account {
  padding: 22px 20px 20px; text-align: center;
  display: flex; flex-direction: column; gap: 14px;
  border-top: 1px solid var(--sage-pale); margin-top: 8px;
}
.ot-review-account button {
  font-size: 13px; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
}
