/* PrimeBuffet — appli « Mon PrimeBuffet ». Charte du site (palette du logo), mode jour uniquement. */
@font-face { font-family: "Bricolage Grotesque"; src: url("polices/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("polices/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --fond: #F6F5FC; --surface: #FFFFFF; --surface-2: #ECEAF8; --encre: #12123A; --doux: #5B5A80; --trait: #DAD7EF;
  --indigo: #5046C8; --indigo-fonce: #3A31A8; --lilas: #C9C5EE; --orange: #FF7019; --nuit: #0A0C33;
  --plateau: linear-gradient(90deg, #5046C8 0%, #C862D0 50%, #FF7019 100%);
  /* états de la pastille : contour, fond, texte */
  --encours-t: #5046C8; --encours-f: #F0EFFC; --encours-e: #3A31A8;
  --bientot-t: #FF7019; --bientot-f: #FFF1E6; --bientot-e: #8A4500;
  --retard-t: #C92A62;  --retard-f: #FCE8EF;  --retard-e: #A81E50;
  --fait-t: #0E8A60;    --fait-f: #E3F6EE;    --fait-e: #0A6B4A;
  --titre: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --texte: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bas: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 16px; line-height: 1.45;
  -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--titre); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: 30px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; font-weight: 800; }
a { color: var(--indigo); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; }
.chiffres { font-variant-numeric: tabular-nums; }
.doux { color: var(--doux); }
.petit { font-size: 13px; }
.sans-js { padding: 40px 20px; text-align: center; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; border-radius: 6px; }

#appli { max-width: 520px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
#vue { flex: 1; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px calc(96px + var(--bas)); display: flex; flex-direction: column; gap: 16px; outline: none; }

/* ---------- En-tête ---------- */
.entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.marque { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--encre); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.marque img { width: 34px; height: 26px; }
.marque .p { color: var(--indigo); }
.marque .b { background: linear-gradient(90deg, #7A3FB8, #E0522A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jour { font-size: 13px; font-weight: 700; color: var(--doux); }
.retour { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin-left: -6px; text-decoration: none; font-weight: 700; font-size: 15px; background: none; border: none; color: var(--indigo); padding: 0 6px 0 0; }
.titre-page { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.titre-page p { margin-top: 4px; font-size: 14px; color: var(--doux); }

/* ---------- L'addition : le résumé du jour ---------- */
.addition { background: var(--nuit); color: #F1EFFF; border-radius: 20px; padding: 16px 18px 0; overflow: hidden; }
.addition .haut { display: flex; align-items: center; gap: 14px; }
.addition .nombre { font-family: var(--titre); font-weight: 800; font-size: 56px; line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.addition .quoi { font-weight: 700; font-size: 17px; line-height: 1.2; }
.addition .suite { margin-top: 3px; font-size: 14px; color: #B7B4DA; font-weight: 500; }
.addition .alerte { color: #FFB27D; font-weight: 700; }
.addition .plateau { height: 6px; margin: 16px -18px 0; background: var(--plateau); }

/* ---------- Cartes ---------- */
.carte { background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.carte.serree { gap: 0; padding: 4px 14px; }
.compte-tete { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); min-height: 44px; }
.logo { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--surface-2); display: flex; align-items: center; justify-content: center; }
.logo img { max-width: 24px; max-height: 24px; }
.logo.grand { width: 54px; height: 54px; border-radius: 16px; }
.logo.grand img { max-width: 32px; max-height: 32px; }
.logo.mini { width: 28px; height: 28px; border-radius: 8px; }
.logo.mini img { max-width: 17px; max-height: 17px; }
.compte-tete .noms { flex: 1; min-width: 0; }
.compte-tete .nom { font-weight: 800; font-size: 17px; line-height: 1.2; }
.compte-tete .formule { font-size: 14px; color: var(--doux); }
.chevron { flex: none; color: var(--doux); }

/* Une échéance : un titre, une pastille, des boutons */
.echeance { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--surface-2); padding-top: 12px; }
.carte > .echeance:first-child { border-top: none; padding-top: 0; }
.echeance .quoi { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; line-height: 1.3; }
.echeance .pour { font-weight: 600; color: var(--doux); font-size: 14px; flex-basis: 100%; }
.echeance .rang { display: flex; align-items: stretch; gap: 8px; }
.phase { font-size: 12px; font-weight: 700; color: var(--indigo-fonce); background: var(--surface-2); border-radius: 6px; padding: 1px 7px; }
.phase.conseil { background: #FFF1E6; color: #8A4500; }

.pastille { flex: 1; min-width: 0; min-height: 46px; display: flex; align-items: center; gap: 8px; border: 2px solid var(--encours-t); background: var(--encours-f); color: var(--encours-e); border-radius: 13px; padding: 6px 12px; }
.pastille svg { flex: none; }
.pastille .compte { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pastille .quand { font-size: 13px; font-weight: 600; line-height: 1.2; min-width: 0; }
.pastille .etat { margin-left: auto; font-size: 12px; font-weight: 800; white-space: nowrap; }
.pastille.bientot { border-color: var(--bientot-t); background: var(--bientot-f); color: var(--bientot-e); }
.pastille.retard { border-color: var(--retard-t); background: var(--retard-f); color: var(--retard-e); }
.pastille.fait { border-color: var(--fait-t); background: var(--fait-f); color: var(--fait-e); }
.pastille.attente, .pastille.avenir, .pastille.passe { border-color: var(--lilas); border-style: dashed; background: var(--surface); color: var(--doux); }
.pastille.mini { min-height: 0; padding: 2px 8px; border-radius: 8px; border-width: 1.5px; display: inline-flex; flex: none; gap: 5px; font-size: 12px; font-weight: 800; }

.pas { flex: none; width: 46px; min-height: 46px; border-radius: 13px; border: 1px solid var(--trait); background: var(--surface); color: var(--encre); font-weight: 800; font-size: 20px; padding: 0; display: flex; align-items: center; justify-content: center; }
.pas.plus { width: 56px; border: none; background: var(--indigo); color: #fff; font-size: 16px; }
.pas:disabled { cursor: not-allowed; color: #B9B7D3; background: var(--surface); }
.pas.plus:disabled { background: var(--lilas); color: #fff; }
.pas:active:not(:disabled) { transform: scale(0.96); }
.note-echeance { font-size: 13px; color: var(--doux); line-height: 1.4; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; border: none; background: var(--indigo); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; text-align: center; }
.btn.large { width: 100%; min-height: 52px; }
.btn.second { background: var(--surface); color: var(--indigo); border: 1.5px solid var(--indigo); }
.btn.discret { background: var(--surface); color: var(--encre); border: 1px solid var(--trait); font-weight: 700; }
.btn.danger { background: var(--surface); color: var(--retard-e); border: 1px solid #F3C3D4; font-weight: 700; }
.btn.petit { min-height: 40px; padding: 0 12px; border-radius: 11px; font-size: 14px; }
.btn:active { transform: scale(0.98); }
.lien-btn { background: none; border: none; padding: 0; color: var(--indigo); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; min-height: 44px; }
.ajout { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 2px dashed var(--lilas); border-radius: 16px; background: transparent; color: var(--indigo); font-weight: 800; font-size: 15px; width: 100%; text-decoration: none; }
.flottant { position: fixed; right: max(16px, calc(50vw - 244px)); bottom: calc(78px + var(--bas)); z-index: 5; min-height: 52px; padding: 0 18px 0 14px; border-radius: 18px; border: none; background: var(--indigo); color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 6px; box-shadow: 0 6px 18px rgba(58, 49, 168, 0.35); }

/* ---------- Onglets du bas ---------- */
#onglets { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--trait); padding-bottom: var(--bas); }
#onglets .rail { max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
#onglets a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; text-decoration: none; color: var(--doux); font-size: 11px; font-weight: 600; }
#onglets a[aria-current="page"] { color: var(--indigo); font-weight: 800; }
#onglets a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; border-radius: 0 0 3px 3px; background: var(--plateau); }
#onglets .bulle { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--orange); color: var(--nuit); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 5px; }

/* ---------- Listes ---------- */
.liste { display: flex; flex-direction: column; }
.ligne { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; border-bottom: 1px solid var(--surface-2); text-decoration: none; color: var(--encre); background: none; border-left: none; border-right: none; border-top: none; width: 100%; text-align: left; }
.liste > :last-child { border-bottom: none; }
.ligne .corps { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ligne .t { font-weight: 700; font-size: 15px; line-height: 1.3; }
.ligne .s { font-size: 13px; color: var(--doux); line-height: 1.35; }
.ligne .montant { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.icone-rond { width: 36px; height: 36px; flex: none; border-radius: 11px; background: var(--surface-2); color: var(--indigo-fonce); display: flex; align-items: center; justify-content: center; }
.croix { flex: none; width: 40px; height: 40px; border-radius: 10px; border: none; background: transparent; color: var(--doux); display: flex; align-items: center; justify-content: center; }
.section { display: flex; flex-direction: column; gap: 8px; }
.section > .tete { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.etiquette { display: inline-flex; align-items: center; border-radius: 8px; padding: 2px 8px; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--indigo-fonce); white-space: nowrap; }
.etiquette.vert { background: var(--fait-f); color: var(--fait-e); }
.etiquette.orange { background: var(--bientot-f); color: var(--bientot-e); }
.etiquette.rouge { background: var(--retard-f); color: var(--retard-e); }
.etiquette.gris { background: #F1F0F6; color: var(--doux); }
.encart { border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.45; background: var(--encours-f); color: var(--indigo-fonce); }
.encart.orange { background: var(--bientot-f); color: var(--bientot-e); }
.encart strong { font-weight: 800; }

/* État vide */
.vide { text-align: center; padding: 28px 12px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vide img { width: 96px; height: 73px; }
.vide p { color: var(--doux); max-width: 34ch; }

/* ---------- Frise des phases ---------- */
.frise { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.frise li { display: flex; flex-direction: column; gap: 4px; }
.frise .barre { height: 6px; border-radius: 3px; background: var(--trait); }
.frise .fait .barre { background: var(--fait-t); }
.frise .encours .barre { background: var(--indigo); }
.frise .nom { font-size: 13px; font-weight: 800; }
.frise .fait .nom { color: var(--fait-e); }
.frise .encours .nom { color: var(--indigo-fonce); }
.frise .avenir .nom { color: var(--doux); }
.frise .dates { font-size: 12px; color: var(--doux); line-height: 1.3; }

/* ---------- Calendrier ---------- */
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--trait); background: var(--surface); display: flex; align-items: center; justify-content: center; }
.cal { background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; padding: 10px 6px 6px; }
.cal .semaine, .cal .grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal .semaine { text-align: center; font-size: 12px; font-weight: 700; color: var(--doux); padding-bottom: 4px; }
.cal .grille button { height: 50px; border: none; border-radius: 10px; background: transparent; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.cal .grille button[aria-pressed="true"] { background: var(--surface-2); }
.cal .num { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.cal .hors .num { color: #9A98BC; }
.cal .auj .num { background: var(--nuit); color: #fff; font-weight: 800; }
.cal .num.encours { border-color: var(--encours-t); font-weight: 800; }
.cal .num.bientot { border-color: var(--bientot-t); font-weight: 800; }
.cal .num.retard { border-color: var(--retard-t); font-weight: 800; }
.cal .num.fait { border-color: var(--fait-t); font-weight: 800; }
.cal .num.avenir { border-color: var(--lilas); font-weight: 800; }
.cal .points { display: flex; gap: 3px; height: 6px; }
.cal .points i { width: 6px; height: 6px; border-radius: 50%; background: var(--encre); }
.cal .points i.prevu { background: transparent; border: 1.5px solid var(--encre); }
.legende { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--doux); font-weight: 600; }
.legende span { display: inline-flex; align-items: center; gap: 6px; }
.legende i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--bientot-t); }
.legende i.plein { width: 7px; height: 7px; border: none; background: var(--encre); }
.legende i.creux { width: 7px; height: 7px; border: 1.5px solid var(--encre); }

/* ---------- Parrainages ---------- */
.compteurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.compteur { background: var(--surface); border: 1px solid var(--trait); border-radius: 14px; padding: 10px 12px; }
.compteur .v { font-family: var(--titre); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.compteur .l { font-size: 13px; color: var(--doux); font-weight: 600; line-height: 1.3; }
.plafonds { display: flex; flex-wrap: wrap; gap: 6px; }
.filleul { text-align: left; width: 100%; }
.filleul .haut { display: flex; align-items: center; gap: 10px; }
.filleul .qui { flex: 1; min-width: 0; font-weight: 800; font-size: 16px; }
.filleul .sommes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.filleul .somme { background: var(--fond); border-radius: 10px; padding: 6px 10px; }
.filleul .somme b { display: block; font-size: 17px; font-variant-numeric: tabular-nums; }
.filleul .somme span { font-size: 12px; color: var(--doux); font-weight: 600; }
.filleul .actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Formulaires (feuille du bas) ---------- */
dialog#feuille { width: 100%; max-width: 520px; max-height: 92dvh; margin: auto auto 0; padding: 0; border: none; border-radius: 22px 22px 0 0; background: var(--surface); color: var(--encre); overflow: hidden; }
dialog#feuille::backdrop { background: rgba(10, 12, 51, 0.55); }
dialog#feuille[open] { display: flex; flex-direction: column; animation: monter 0.22s ease-out; }
@keyframes monter { from { transform: translateY(24px); opacity: 0; } }
.feuille-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 6px; }
.feuille-corps { overflow-y: auto; padding: 8px 18px calc(18px + var(--bas)); display: flex; flex-direction: column; gap: 14px; }
.feuille-corps form { display: flex; flex-direction: column; gap: 14px; }
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ > span, .groupe > legend { font-size: 13px; font-weight: 700; color: var(--doux); padding: 0; }
.champ small { font-size: 12px; color: var(--doux); line-height: 1.35; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--trait); background: var(--surface); padding: 0 12px; font-size: 16px; min-width: 0; }
.champ textarea { padding: 10px 12px; min-height: 76px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--indigo); outline-offset: 0; border-color: var(--indigo); }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: end; }
.deux .champ small { min-height: 0; }
.groupe { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--trait); background: var(--surface); font-weight: 700; font-size: 14px; cursor: pointer; }
.choix label:has(input:checked) { border-color: var(--indigo); background: var(--encours-f); color: var(--indigo-fonce); }
.choix label:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 2px; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix.banques { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choix.banques label { flex-direction: column; justify-content: center; gap: 5px; padding: 8px 2px; min-height: 66px; font-size: 12px; text-align: center; }
.choix.banques img { width: 24px; height: 24px; object-fit: contain; }
.bascule { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.bascule .corps { flex: 1; min-width: 0; }
.bascule .t { font-weight: 700; font-size: 15px; }
.bascule .s { font-size: 13px; color: var(--doux); line-height: 1.35; }
.bascule input { appearance: none; -webkit-appearance: none; flex: none; width: 52px; height: 32px; border-radius: 16px; background: var(--lilas); position: relative; margin: 0; cursor: pointer; transition: background 0.15s; }
.bascule input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.bascule input:checked { background: var(--indigo); }
.bascule input:checked::after { transform: translateX(20px); }
.totaux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.totaux div { border: 2px solid var(--indigo); background: var(--encours-f); color: var(--indigo-fonce); border-radius: 12px; padding: 8px 12px; }
.totaux b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.totaux span { display: block; font-size: 12px; font-weight: 700; line-height: 1.3; }

/* ---------- Message en bas d'écran ---------- */
#annonce { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(144px + var(--bas)); z-index: 20; width: max-content; max-width: min(92vw, 480px); pointer-events: none; }
#annonce .bulle { pointer-events: auto; display: flex; align-items: center; gap: 14px; background: var(--nuit); color: #fff; border-radius: 14px; padding: 10px 14px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(10, 12, 51, 0.3); }
#annonce button { background: none; border: none; color: #FFB27D; font-weight: 800; padding: 6px 0; min-height: 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Mes notes (fiche d'un compte) ---------- */
.ligne.note { align-items: flex-start; }
.ligne.note > .corps { background: none; border: none; padding: 4px 0; text-align: left; min-height: 40px; justify-content: center; cursor: pointer; }
.ligne.note .t { font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.ligne.note.faite .t { color: var(--doux); text-decoration: line-through; }
.ligne.note .s.alerte { color: var(--retard-e); font-weight: 700; }
.ligne.note .icone-rond { margin-top: 2px; }
.case { flex: none; width: 44px; height: 44px; margin: 0 -8px 0 -8px; border: none; background: none; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; }
.case::before { content: ""; position: absolute; width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--indigo); background: var(--surface); }
.case { position: relative; }
.case svg { position: relative; }
.case.cochee::before { background: var(--fait-t); border-color: var(--fait-t); }
.case:focus-visible { outline: 2px solid var(--indigo); outline-offset: -6px; border-radius: 12px; }

/* ---------- Vote pour une banque à venir ---------- */
.vote { display: flex; gap: 6px; flex: none; }
.pouce { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--trait); background: var(--surface); color: var(--indigo); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pouce:active { background: var(--surface-2); }
.pouce:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

/* ---------- Partage après une prime validée ---------- */
.carte.succes { border-color: var(--fait-t); background: var(--fait-f); }
.carte.succes h3 { color: var(--fait-e); }

/* ---------- Lien vers l'offre PrimeBuffet (ajout d'un compte) ---------- */
.lien-offre { margin: -4px 0 0; color: var(--doux); }
.lien-offre a { color: var(--indigo); font-weight: 700; }

/* ---------- Parcours d'ouverture (Fortuneo : code parrain ou en direct) ---------- */
.choix.parcours { flex-direction: column; flex-wrap: nowrap; }
.choix.parcours label { display: flex; align-items: flex-start; padding: 12px 14px; min-height: 0; font-weight: 400; }
.choix.parcours .corps { display: grid; gap: 3px; }
.choix.parcours .t { font-weight: 700; font-size: 15px; }
.choix.parcours .s { font-size: 13px; line-height: 1.4; color: var(--doux); }
.choix.parcours label:has(input:checked) .s { color: var(--encre); }
.parcours-suivi { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; font-size: 14px; color: var(--doux); }
.parcours-suivi strong { color: var(--encre); }
.parcours-question { display: grid; gap: 10px; margin: 4px 0 16px; }
.parcours-question p { margin: 0; }
.parcours-question .btn { flex-direction: column; align-items: flex-start; gap: 2px; height: auto; padding: 12px 16px; text-align: left; white-space: normal; }
.parcours-question .btn small { font-weight: 400; font-size: 13px; line-height: 1.35; opacity: .9; }
