/* Natacha — pensé pour le pouce d'abord. Une colonne, une action à la fois. */
:root {
  --vert: #1f6b3a;
  --vert-clair: #eaf3ec;
  --vert-trait: #96ca80;
  --fond: #f7f7f5;
  --carte: #ffffff;
  --texte: #1a1a1a;
  --gris: #6b6b66;
  --trait: #e4e4de;
  --alerte: #b0272d;
  --rayon: 14px;
  --marge: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--fond); color: var(--texte);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.5;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
.page { max-width: 560px; margin: 0 auto; padding: var(--marge); }

/* ---- en-tête ---- */
.entete { display: flex; align-items: center; gap: 12px; padding: 14px var(--marge) 4px; 
          max-width: 560px; margin: 0 auto; }
.entete img { width: 34px; height: 34px; border-radius: 9px; }
.entete .titre { font-weight: 700; letter-spacing: -0.01em; }
.entete .droite { margin-left: auto; }
.lien-discret { color: var(--gris); font-size: 13px; text-decoration: none; }
.lien-discret:active { color: var(--vert); }

h1 { font-size: 26px; line-height: 1.2; margin: 6px 0 4px; letter-spacing: -0.02em; }
h2 { font-size: 15px; margin: 26px 0 10px; color: var(--gris); font-weight: 600;
     text-transform: uppercase; letter-spacing: 0.04em; }
p.intro { color: var(--gris); margin: 0 0 20px; }

/* ---- boutons ---- */
button, .bouton {
  font: inherit; border: 0; border-radius: var(--rayon); padding: 15px 18px;
  background: var(--vert); color: #fff; font-weight: 600; width: 100%;
  cursor: pointer; display: block; text-align: center; text-decoration: none;
  min-height: 52px;
}
button:active, .bouton:active { opacity: 0.86; }
button[disabled] { opacity: 0.45; cursor: default; }
button.secondaire { background: var(--carte); color: var(--vert); border: 1px solid var(--trait); }
button.discret { background: none; color: var(--gris); font-weight: 500; min-height: 40px;
                 padding: 8px; }

/* ---- barre d'action fixe, à portée de pouce ---- */
.barre {
  position: fixed; left: 0; right: 0; bottom: 0; background: rgba(247,247,245,0.94);
  backdrop-filter: blur(10px); border-top: 1px solid var(--trait);
  padding: 12px var(--marge) calc(12px + env(safe-area-inset-bottom));
}
.barre .dedans { max-width: 560px; margin: 0 auto; }

/* ---- cartes ---- */
.carte {
  background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 16px; margin-bottom: 12px; display: block; text-decoration: none; color: inherit;
  width: 100%; text-align: left;
}
.carte .nom { font-weight: 650; }
.carte .detail { color: var(--gris); font-size: 14px; margin-top: 2px; }
.etiquette { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px;
             border-radius: 999px; background: var(--vert-clair); color: var(--vert); }
.etiquette.attente { background: #fdf3e3; color: #9a6a12; }

/* ---- dictée ---- */
.micro {
  background: var(--vert); border-radius: 20px; padding: 30px 20px; text-align: center;
  color: #fff; margin-bottom: 14px;
  /* c'est un vrai bouton : il reprend la main sur la regle generale */
  width: 100%; border: 0; font: inherit; cursor: pointer; display: block;
}
.micro .rond {
  width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  font-size: 38px;
}
.micro.ecoute .rond { background: #fff; animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.micro .quoi { font-weight: 600; font-size: 17px; }
.micro .aide { opacity: 0.8; font-size: 14px; margin-top: 4px; }

textarea {
  width: 100%; min-height: 160px; border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 14px; font: inherit; background: var(--carte); resize: vertical;
}
input[type=text], input[type=email], input[type=password] {
  width: 100%; border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 15px 14px; font: inherit; background: var(--carte); min-height: 52px;
}
label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 15px; }

/* ---- question ---- */
.question { background: var(--vert-clair); border-radius: var(--rayon); padding: 18px;
            margin-bottom: 14px; }
.question .texte { font-weight: 650; font-size: 18px; }
.question .exemple { color: var(--vert); opacity: 0.8; font-size: 14px; margin-top: 3px; }

/* ---- résumé ---- */
.ligne { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--trait); }
.ligne:last-child { border-bottom: 0; }
.ligne .cle { color: var(--gris); font-size: 14px; width: 40%; flex: none; }
.ligne .val { font-weight: 550; flex: 1; }
.ligne .source { font-size: 11px; color: var(--gris); }
.a-confirmer .val { color: #9a6a12; }

.avis { background: #fdf3e3; border-radius: var(--rayon); padding: 14px; font-size: 14px;
        color: #7a5410; margin-bottom: 12px; }
.avis.rouge { background: #fdeaea; color: var(--alerte); }
.pied { color: var(--gris); font-size: 12px; text-align: center; padding: 22px 0 10px; }
.chargement { text-align: center; color: var(--gris); padding: 40px 0; }

/* Aide à la dictée : discrète mais toujours visible sous le champ. */
.aide-dictee { background: var(--vert-clair); color: #17512c; border-radius: var(--rayon);
               padding: 14px; font-size: 14px; line-height: 1.5; margin-top: 12px; }
.aide-dictee strong { font-weight: 700; }
.aide-dictee em { color: #7a5410; }
textarea { min-height: 200px; font-size: 17px; }

/* ---- écran de vérification : tout se corrige sur place ---- */
.champ { margin-bottom: 14px; }
.champ label { display: flex; align-items: baseline; gap: 8px; margin: 0 0 5px;
               font-weight: 600; font-size: 14px; }
.champ .marque { font-weight: 600; font-size: 11px; text-transform: uppercase;
                 letter-spacing: 0.04em; color: #9a6a12; background: #fdf3e3;
                 padding: 2px 7px; border-radius: 999px; }
.champ.alerte input, .champ.alerte select { border-color: #e0b368; background: #fffdf7; }
.champ .sous-aide { color: var(--gris); font-size: 13px; margin-top: 4px; }
.champ .sous-erreur { color: var(--alerte); font-size: 13px; margin-top: 4px; }
select { width: 100%; border: 1px solid var(--trait); border-radius: var(--rayon);
         padding: 14px; font: inherit; background: var(--carte); min-height: 52px;
         appearance: none;
         background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236b6b66' stroke-width='1.6'/></svg>");
         background-repeat: no-repeat; background-position: right 16px center; }
.avis ul { margin: 8px 0 0; padding-left: 20px; }
.avis li { margin-bottom: 4px; }
.apercu-pdf { width: 100%; height: 62vh; border: 1px solid var(--trait);
              border-radius: var(--rayon); background: #fff; margin-bottom: 12px; }

/* Un lien qui fait office de bouton doit aussi pouvoir être secondaire. */
.bouton.secondaire { background: var(--carte); color: var(--vert);
                     border: 1px solid var(--trait); }

/* La fiche client retenue, dans l'aperçu avant écriture. */
.carte.choisi { border-color: var(--vert); background: var(--vert-clair); }

/* ---- cases à cocher ---- */
.coche { display: flex; align-items: center; gap: 10px; padding: 12px 2px;
         font-size: 15px; cursor: pointer; }
.coche input { width: 22px; height: 22px; accent-color: var(--vert); margin: 0; }
.coche .source { margin: 0; }

/* ---- fiche avec ses trois points ---- */
.carte.avec-menu { display: flex; align-items: stretch; gap: 0; padding: 0;
                   overflow: hidden; }
.carte.avec-menu .dedans { flex: 1; background: none; color: inherit; text-align: left;
                           font-weight: 400; padding: 14px 4px 14px 16px; min-height: 0;
                           border-radius: 0; }
.carte.avec-menu .points { width: 52px; flex: 0 0 52px; background: none; color: var(--gris);
                           font-size: 22px; line-height: 1; border-radius: 0;
                           border-left: 1px solid var(--trait); min-height: 0; }
.carte.avec-menu .points:active { background: var(--fond); }

/* ---- barre a plusieurs boutons : ils se serrent sans deborder ---- */
.barre button + button { margin-top: 8px; }
.barre button.discret { min-height: 34px; padding: 6px; font-size: 14px; }

/* =====================================================================
   L'ACCUEIL « CE MATIN » (essai A retenu le 22/09/2026)
   Tout ce qui suit est porté par .page.accueil ou par .departs : aucun autre
   écran de Natacha ne peut être touché par ces règles.
   ===================================================================== */

/* Les teintes qui manquaient au jeu de départ : l'ambre du « tiède » et le
   rouge clair de l'urgent. Elles ne remplacent rien, elles complètent. */
:root {
  --vert-fonce: #17512c;
  --alerte-clair: #fdeaea;
  --ambre: #9a6a12;
  --ambre-fonce: #7a5410;
  --ambre-clair: #fdf3e3;
}

.page.accueil h1 { font-size: 30px; line-height: 1.15; letter-spacing: -0.025em;
                   margin: 10px 0 6px; font-weight: 700; }
.page.accueil .dit { font-size: 18px; line-height: 1.45; color: var(--texte);
                     margin: 0 0 20px; max-width: 34em; }
.page.accueil .dit .rien { color: var(--vert-fonce); }
.page.accueil .rouge { color: var(--alerte); }

/* L'intertitre porte à sa droite le lien écrit vers le suivi : « Mes offres »
   est une consultation, pas un départ, et sa place est au-dessus de la liste
   qu'elle prolonge. */
.page.accueil h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em;
                   color: var(--gris); font-weight: 700; margin: 26px 0 12px;
                   display: flex; align-items: baseline; gap: 10px; }
.page.accueil h2 a { margin-left: auto; text-transform: none; letter-spacing: 0;
                     font-size: 13px; font-weight: 600; color: var(--vert);
                     text-decoration: none; white-space: nowrap; }

/* ---- LA FILE DES GESTES.
       Pas des cartes : une liste, comme une feuille de route. Le filet de
       gauche double un mot écrit, jamais l'inverse : qui ne distingue pas les
       teintes lit quand même « Préparer la relance ». ---- */
.page.accueil ol.faire { list-style: none; margin: 0; padding: 0; counter-reset: pas; }
.page.accueil ol.faire li { counter-increment: pas; background: var(--carte);
  border: 1px solid var(--trait); border-left: 4px solid var(--trait);
  border-radius: var(--rayon); padding: 15px 16px; margin-bottom: 10px;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; }
.page.accueil ol.faire li.urgent { border-left-color: var(--alerte); }
.page.accueil ol.faire li.tiede { border-left-color: var(--ambre); }
.page.accueil ol.faire li::before { content: counter(pas); grid-row: 1 / 3;
  width: 28px; height: 28px; border-radius: 50%; background: var(--fond);
  color: var(--gris); font-size: 13px; font-weight: 700; display: flex;
  align-items: center; justify-content: center; margin-top: 2px; }
.page.accueil ol.faire li.urgent::before { background: var(--alerte-clair); color: var(--alerte); }
.page.accueil ol.faire li.tiede::before { background: var(--ambre-clair); color: var(--ambre); }
.page.accueil .verbe { font-size: 18px; font-weight: 650; letter-spacing: -0.01em;
                       line-height: 1.3; }
.page.accueil .verbe .qui { color: var(--vert-fonce); }
.page.accueil .pourquoi { color: var(--gris); font-size: 14px; overflow-wrap: anywhere; }
.page.accueil .pourquoi b { color: var(--texte); font-weight: 650; }

/* Les suites possibles d'une ligne. Un lien vers Gmail est une adresse ; une
   suite qui reste dans Natacha est un bouton. Les deux se ressemblent parce
   qu'ils font la même promesse à l'œil. */
.page.accueil .liens { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px;
                       margin-top: 8px; align-items: center; }
.page.accueil .liens a,
.page.accueil .liens button.lien { flex: 0 1 auto; width: auto; text-align: center;
  background: var(--carte); color: var(--vert); border: 1px solid var(--trait);
  border-radius: 10px; padding: 9px 14px; text-decoration: none; font-size: 14px;
  font-weight: 600; min-height: 0; display: inline-block; cursor: pointer; }
.page.accueil .liens a.premier,
.page.accueil .liens button.lien.premier { background: var(--vert);
  border-color: var(--vert); color: #fff; }
.page.accueil .liens a:active,
.page.accueil .liens button.lien:active { opacity: 0.85; }
@media (max-width: 430px) {
  .page.accueil .liens a,
  .page.accueil .liens button.lien { flex: 1 1 auto; }
}

/* Dupliquer et effacer, pour qui les cherche : discret, mais nommé pour qui
   écoute la page. */
.page.accueil .points { flex: 0 0 auto; width: 40px; min-height: 36px; padding: 0;
  background: none; color: var(--gris); border: 1px solid var(--trait);
  border-radius: 10px; font-size: 18px; line-height: 1; cursor: pointer; }
.page.accueil .points:active { background: var(--fond); }

.page.accueil .patiente { color: var(--gris); font-size: 14px; padding: 10px 0; }

/* ---- LE REPLI : ce qui n'attend rien de personne aujourd'hui. Replié, jamais
       supprimé : une offre partie doit pouvoir se vérifier. ---- */
.page.accueil details { border-top: 1px solid var(--trait); margin-top: 26px;
                        padding-top: 6px; }
.page.accueil summary { cursor: pointer; padding: 12px 0; font-weight: 600;
  color: var(--gris); font-size: 15px; list-style: none; display: flex;
  align-items: center; gap: 8px; }
.page.accueil summary::-webkit-details-marker { display: none; }
.page.accueil summary::after { content: "afficher"; margin-left: auto;
                               font-weight: 500; font-size: 13px; }
.page.accueil details[open] summary::after { content: "masquer"; }
.page.accueil .calme { display: flex; align-items: center; gap: 10px; padding: 6px 0;
                       border-bottom: 1px solid var(--trait); font-size: 15px; }
.page.accueil .calme:last-child { border-bottom: 0; }
.page.accueil .calme .g { min-width: 0; flex: 1; background: none; border: 0;
  padding: 6px 0; text-align: left; color: inherit; font: inherit; font-weight: 400;
  min-height: 0; border-radius: 0; cursor: pointer; display: block; }
.page.accueil .calme .nom { font-weight: 600; display: block; }
.page.accueil .calme .sous { color: var(--gris); font-size: 13.5px; display: block;
                             overflow-wrap: anywhere; }
.page.accueil .calme .d { color: var(--gris); font-size: 13.5px; text-align: right;
                          flex: 0 0 auto; white-space: nowrap; }

.page.accueil .pied { text-align: left; border-top: 1px solid var(--trait);
                      margin-top: 26px; padding: 18px 0 0; line-height: 1.6; }
.page.accueil .pied a { color: var(--gris); }

/* La cale : sa hauteur est posée en JavaScript, et elle vaut la barre des
   départs. Sans elle, le pied de page finirait caché dessous. */
.cale-departs { height: 0; }

/* =====================================================================
   LES QUATRE DÉPARTS, ancrés au bas de l'écran.
   Ils ne descendent pas avec la page : quel que soit le nombre de dossiers en
   attente, les quatre métiers restent sous le pouce. La hiérarchie de lecture,
   elle, ne change pas : la file des gestes occupe toujours le haut.
   ===================================================================== */
.departs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(247, 247, 245, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--trait);
  padding: 9px var(--marge) calc(9px + env(safe-area-inset-bottom));
  display: grid; gap: 7px; grid-template-columns: 1fr 1fr;
  max-width: 756px; margin: 0 auto; }

/* La tuile est une grille : le glyphe et l'intitulé côte à côte, la phrase
   d'explication sur toute la largeur en dessous. Rangée sous le seul intitulé,
   elle aurait pris six lignes au lieu de quatre, et la barre dépliée n'aurait
   plus tenu sur l'écran d'un téléphone. */
.depart { display: grid; grid-template-columns: auto 1fr; column-gap: 10px;
  align-items: center; align-content: center;
  background: var(--vert); border: 1px solid var(--vert); border-radius: var(--rayon);
  color: #fff; text-decoration: none; padding: 8px 10px; min-height: 0;
  width: auto; text-align: left; font: inherit; cursor: pointer; }
.depart:active { background: var(--vert-fonce); border-color: var(--vert-fonce);
                 opacity: 1; }
.depart .glyphe { grid-column: 1; grid-row: 1; width: 30px; height: 30px;
  border-radius: 9px; background: rgba(255, 255, 255, 0.17); display: flex;
  align-items: center; justify-content: center; }
.depart .glyphe svg { width: 18px; height: 18px; }
.depart .t { grid-column: 2; grid-row: 1; min-width: 0;
             display: block; font-size: 14.5px; font-weight: 700;
             letter-spacing: -0.01em; line-height: 1.2; }
.depart .s { grid-column: 1 / -1; display: block; font-size: 11px;
             line-height: 1.28; margin-top: 5px;
             color: rgba(255, 255, 255, 0.86); }
/* Le départ qui mène ailleurs. Le domaine est ÉCRIT, et il ne se replie
   jamais : une flèche seule, ou une nuance de vert, ne dirait rien à qui ne la
   voit pas. */
.depart .ou { grid-column: 1 / -1; display: flex; align-items: center; gap: 4px;
              margin-top: 4px; font-size: 11px; color: rgba(255, 255, 255, 0.78); }
.depart .ou svg { flex: 0 0 auto; }

/* Serrée : on défile, donc on lit la liste. Les phrases d'explication se
   replient pour rendre de la hauteur, les quatre intitulés restent. Ce sont
   eux, les départs : ils ne disparaissent à aucun moment. */
.departs.serree .depart .s { display: none; }

/* Le nom du domaine ne doit jamais déborder de sa tuile : il se coupe plutôt
   que de sortir du vert. */
.depart .ou { min-width: 0; overflow-wrap: anywhere; }

/* Les tres petits telephones (iPhone SE, 320 px) : on resserre la barre pour
   que « scriba.antilla.fr » tienne en entier dans sa tuile. */
@media (max-width: 359px) {
  .departs { padding-left: 12px; padding-right: 12px; gap: 6px; }
  .depart { padding: 8px 8px; gap: 7px; }
  .depart .glyphe { width: 24px; height: 24px; border-radius: 7px; }
  .depart .glyphe svg { width: 15px; height: 15px; }
  .depart .t { font-size: 14px; }
  /* « scriba.antilla.fr » doit tenir sur une ligne : un domaine coupé en deux
     ne se lit plus comme un domaine. */
  .depart .ou { font-size: 10.5px; gap: 3px; }
}

@media (min-width: 620px) {
  .departs { grid-template-columns: repeat(4, 1fr); padding-left: 24px;
             padding-right: 24px; }
}

/* ==========================================================================
   LE CHEMIN DE FER — l'accueil retenu par Philippe le 22/09/2026.

   PARTI PRIS ASSUMÉ : une seule ambiance, la nuit. Les quatre couleurs des
   métiers ne sont jamais aussi franches que sur un fond profond.

   TOUT EST ENFERMÉ DANS « .chemin » ET PRÉFIXÉ « cf- ». Les autres écrans de
   Natacha vivent en clair, avec leurs propres classes (.page, .carte,
   .departs, .etiquette…) : aucune règle d'ici ne doit pouvoir les atteindre,
   et aucun nom n'est partagé. C'est pourquoi les boutons et les liens sont
   d'abord remis à zéro : la feuille générale leur donne 52 px de haut, du
   vert et toute la largeur, ce qui n'a pas de sens sur une voie ferrée.
   ========================================================================== */

/* Le fond de nuit déborde de #ecran : l'en-tête de Natacha est au-dessus. On
   le teint donc à partir du corps, mais SEULEMENT quand le chemin de fer est
   à l'écran. Si :has() manque, .chemin garde son propre fond et seule la
   bande de l'en-tête reste claire : la page reste lisible. */
body:has(.chemin) { background: #090c12; }
body:has(.chemin) .entete .titre { color: #eef2f7; }
body:has(.chemin) .lien-discret { color: #63728a; }

.chemin {
  --cf-nuit: #090c12;
  --cf-nuit-2: #111722;
  --cf-nuit-3: #18202d;
  --cf-rail: #232d3d;
  --cf-blanc: #eef2f7;
  --cf-gris: #98a6bb;
  --cf-gris-2: #63728a;
  --cf-offre: #1ad18a;
  --cf-courrier: #6d8dff;
  --cf-itw: #ffa53d;
  --cf-article: #f776d6;
  --cf-retard: #ff6b6b;

  background: var(--cf-nuit);
  color: var(--cf-blanc);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 78vh;
}

/* remise à zéro : la feuille générale ne commande rien ici */
.chemin button, .chemin a {
  font: inherit; width: auto; min-height: 0; padding: 0; margin: 0;
  background: none; border: 0; border-radius: 0; color: inherit;
  text-align: left; display: inline; text-decoration: none; cursor: pointer;
}
.chemin h1, .chemin h2, .chemin h3, .chemin p, .chemin ul { margin: 0; }
.chemin ul { list-style: none; padding: 0; }

.cf-cadre { max-width: 820px; margin: 0 auto;
            padding: 20px 18px calc(48px + env(safe-area-inset-bottom, 0px)); }
.cf-bonjour { font-family: "Bricolage Grotesque", "Public Sans", sans-serif;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em;
  margin: 0 0 20px !important; color: var(--cf-blanc); }

/* ===== LES QUATRE RONDS, LUMINEUX SUR LA NUIT =====
   Le rond crée. La pastille, posée à côté, montre ce qui est arrivé. */
/* « .chemin ul { margin: 0 } » plus haut l'emporterait sur « .cf-gares »
   (deux selecteurs contre un) : la barre des ronds se collait au titre des
   trois jours. On nomme donc le cadre ici aussi. */
.chemin .cf-gares { display: flex; gap: clamp(10px, 5vw, 44px);
  justify-content: center; align-items: flex-start; margin: 0 0 42px; }
.cf-depart { position: relative; display: flex; flex-direction: column;
             align-items: center; gap: 11px; }
.chemin .cf-rond {
  --t: var(--cf-offre);
  width: clamp(54px, 14.5vw, 72px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: var(--cf-nuit);
  background: radial-gradient(circle at 34% 28%,
              color-mix(in srgb, var(--t) 100%, white 28%) 0%, var(--t) 66%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 45%, transparent),
              0 8px 28px -6px color-mix(in srgb, var(--t) 65%, transparent),
              0 0 46px -12px color-mix(in srgb, var(--t) 80%, transparent);
  transition: transform .18s cubic-bezier(.34,1.3,.64,1), box-shadow .18s ease;
}
.chemin .cf-rond:hover, .chemin .cf-rond:focus-visible {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 60%, transparent),
              0 14px 38px -8px color-mix(in srgb, var(--t) 80%, transparent),
              0 0 62px -10px color-mix(in srgb, var(--t) 90%, transparent);
}
.chemin .cf-rond:focus-visible { outline: 2px solid var(--cf-blanc); outline-offset: 5px; }
.cf-g-offre .cf-rond    { --t: var(--cf-offre); }
.cf-g-courrier .cf-rond { --t: var(--cf-courrier); }
.cf-g-itw .cf-rond      { --t: var(--cf-itw); }
.cf-g-article .cf-rond  { --t: var(--cf-article); }
.cf-rond svg { width: 45%; height: 45%; }
.cf-etiquette { font-family: "JetBrains Mono", monospace; font-size: .66rem;
  letter-spacing: .05em; text-transform: uppercase; text-align: center;
  color: var(--cf-gris); max-width: 11ch; line-height: 1.3; }

.chemin .cf-pastille {
  position: absolute; top: -6px; right: -8px; z-index: 2;
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px;
  background: var(--cf-retard); color: var(--cf-nuit);
  border: 2.5px solid var(--cf-nuit);
  font-family: "JetBrains Mono", monospace; font-size: .73rem; font-weight: 700;
  display: grid; place-items: center; transition: transform .14s ease;
  box-shadow: 0 0 18px -3px color-mix(in srgb, var(--cf-retard) 80%, transparent);
}
.chemin .cf-pastille.cf-bonne { background: var(--cf-offre);
  box-shadow: 0 0 18px -3px color-mix(in srgb, var(--cf-offre) 80%, transparent); }
.chemin .cf-pastille:hover, .chemin .cf-pastille:focus-visible { transform: scale(1.14); }
.chemin .cf-pastille:focus-visible { outline: 2px solid var(--cf-blanc); outline-offset: 3px; }

/* ===== AVIS ===== */
.cf-avis { background: var(--cf-nuit-2); border: 1px solid var(--cf-rail);
  border-radius: 9px; padding: 11px 13px; margin: 0 0 12px !important;
  font-size: .83rem; color: var(--cf-gris); }
.cf-avis.cf-mauvais { border-color: color-mix(in srgb, var(--cf-retard) 50%, var(--cf-rail));
  color: var(--cf-blanc); }
.chemin .cf-avis a { color: var(--cf-offre); text-decoration: underline; }

/* ===== NAVIGATION DES TROIS JOURS ===== */
.cf-nav { display: flex; align-items: center; justify-content: center;
          gap: 12px; margin-bottom: 24px; }
.chemin .cf-nav h1 { font-family: "Bricolage Grotesque", "Public Sans", sans-serif;
  font-weight: 800; font-size: clamp(.92rem, 3.2vw, 1.24rem); letter-spacing: -.02em;
  text-wrap: balance; text-align: center; color: var(--cf-blanc); }
.chemin .cf-fleche { width: 36px; height: 36px; border-radius: 50%;
  background: var(--cf-nuit-2); border: 1px solid var(--cf-rail);
  color: var(--cf-gris); display: grid; place-items: center;
  transition: .14s ease; flex: 0 0 auto; }
.chemin .cf-fleche:hover { border-color: var(--cf-gris); color: var(--cf-blanc); }
.chemin .cf-fleche:focus-visible { outline: 2px solid var(--cf-blanc); outline-offset: 2px; }

/* ===== LA VOIE : une seule ligne, le temps descend ===== */
.cf-voie { position: relative; padding-left: 78px; }
.cf-voie::before { content: ""; position: absolute; left: 34px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, transparent, var(--cf-rail) 6%,
                                          var(--cf-rail) 94%, transparent); }

.cf-jalon { position: relative; padding: 18px 0 4px; }
.chemin .cf-titre { font-family: "Bricolage Grotesque", "Public Sans", sans-serif;
  font-weight: 800; font-size: .96rem; letter-spacing: -.01em; }
.chemin .cf-sous { font-family: "JetBrains Mono", monospace; font-size: .68rem;
  color: var(--cf-gris-2); letter-spacing: .06em; text-transform: uppercase;
  margin-top: 1px !important; }
.cf-jalon::before { content: ""; position: absolute; left: -52px; top: 24px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cf-nuit); border: 2px solid var(--cf-rail); }
.cf-jalon.cf-ici .cf-titre { color: var(--cf-offre); }
.cf-jalon.cf-ici::before { border-color: var(--cf-offre); background: var(--cf-offre);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--cf-offre) 18%, transparent),
              0 0 22px -2px var(--cf-offre); }
.cf-jalon.cf-ici::after { content: ""; position: absolute; left: -46px; right: 0;
  top: 29px; height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--cf-offre) 60%, transparent),
                              transparent 82%); }

.cf-arret { position: relative; margin: 12px 0; }
.cf-arret::before { content: ""; position: absolute; left: -49px; top: 17px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cf-offre); box-shadow: 0 0 12px -1px var(--cf-offre); }
.cf-arret.cf-rouge::before { background: var(--cf-retard);
  box-shadow: 0 0 12px -1px var(--cf-retard); }
.cf-arret::after { content: ""; position: absolute; left: -42px; top: 20px;
  width: 34px; height: 1px; background: var(--cf-rail); }
.cf-boite { background: var(--cf-nuit-2); border: 1px solid var(--cf-rail);
  border-radius: 9px; padding: 13px 15px; transition: border-color .15s ease; }
.cf-arret:hover .cf-boite { border-color: color-mix(in srgb, var(--cf-offre) 45%, var(--cf-rail)); }
.cf-arret.cf-rouge:hover .cf-boite { border-color: color-mix(in srgb, var(--cf-retard) 45%, var(--cf-rail)); }
.cf-haut { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.chemin .cf-qui { font-weight: 700; font-size: .92rem; line-height: 1.2;
  color: var(--cf-blanc); text-align: left; }
.chemin button.cf-qui:hover { color: var(--cf-offre); }
.chemin button.cf-qui:focus-visible { outline: 2px solid var(--cf-blanc); outline-offset: 2px; }
.cf-heure { font-family: "JetBrains Mono", monospace; font-size: .69rem;
  color: var(--cf-gris-2); white-space: nowrap; }
.chemin .cf-quoi { font-size: .83rem; color: var(--cf-gris); margin-top: 3px !important; }
.cf-ld { font-family: "JetBrains Mono", monospace; font-size: .71rem;
  color: var(--cf-gris-2); display: flex; justify-content: space-between;
  gap: 12px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--cf-nuit-3); }
.cf-ld span { min-width: 0; overflow-wrap: anywhere; }
.cf-ld b { color: var(--cf-blanc); font-weight: 500; white-space: nowrap; }
.cf-jauge { margin-top: 10px; }
.cf-jauge .cf-r { height: 3px; border-radius: 2px; background: var(--cf-nuit-3); overflow: hidden; }
.cf-jauge .cf-p { height: 100%; background: var(--cf-offre);
                  box-shadow: 0 0 10px -1px var(--cf-offre); }
.cf-jauge .cf-t { font-family: "JetBrains Mono", monospace; font-size: .65rem;
  color: var(--cf-gris-2); margin-top: 5px; display: block; }
.chemin .cf-note { font-size: .73rem; color: var(--cf-retard); margin-top: 8px !important; }
.chemin .cf-acte { display: inline-block; margin-top: 11px; padding: 8px 14px;
  border-radius: 6px; font-size: .79rem; font-weight: 700;
  background: var(--cf-offre); color: var(--cf-nuit);
  box-shadow: 0 0 22px -6px var(--cf-offre); }
.chemin .cf-rouge .cf-acte { background: var(--cf-retard);
  box-shadow: 0 0 22px -6px var(--cf-retard); }
.chemin .cf-acte:hover { filter: brightness(1.1); }
.chemin .cf-acte:focus-visible { outline: 2px solid var(--cf-blanc); outline-offset: 2px; }
.cf-numero { font-family: "JetBrains Mono", monospace; font-size: .69rem;
  color: var(--cf-gris-2); margin-left: 10px; white-space: nowrap; }
.chemin .cf-vide { font-size: .78rem; color: var(--cf-gris-2);
  font-style: italic; margin: 12px 0 !important; }

/* ===== INTERVIEWS, EN DEUX COLONNES ===== */
.chemin .cf-itw-titre { font-family: "Bricolage Grotesque", "Public Sans", sans-serif;
  font-weight: 800; font-size: 1.06rem; margin: 44px 0 0; letter-spacing: -.02em;
  padding-bottom: 14px; border-bottom: 1px solid var(--cf-rail);
  color: var(--cf-blanc); text-transform: none; }
.cf-deux { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .cf-deux { grid-template-columns: 1fr 1fr; }
  .cf-colonne:first-child { padding-right: 22px; }
  .cf-colonne + .cf-colonne { border-left: 1px solid var(--cf-rail); padding-left: 22px; }
}
@media (max-width: 699px) { .cf-colonne + .cf-colonne { border-top: 1px solid var(--cf-rail); } }
.cf-colonne { padding-top: 17px; min-width: 0; }
.cf-col-tete { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.cf-puce { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.cf-col-ok .cf-puce { background: var(--cf-offre); box-shadow: 0 0 12px -1px var(--cf-offre); }
.cf-col-retard .cf-puce { background: var(--cf-retard); box-shadow: 0 0 12px -1px var(--cf-retard); }
.chemin .cf-col-tete h3 { font-family: "JetBrains Mono", monospace; font-size: .7rem;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.cf-col-ok h3 { color: var(--cf-offre); }
.cf-col-retard h3 { color: var(--cf-retard); }
.cf-col-tete .cf-nb { margin-left: auto; font-family: "JetBrains Mono", monospace;
  font-size: 1.4rem; font-weight: 700; }
.cf-col-ok .cf-nb { color: var(--cf-offre); }
.cf-col-retard .cf-nb { color: var(--cf-retard); }
.cf-gens li { padding: 11px 0; border-top: 1px solid var(--cf-nuit-3);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cf-gens li:first-child { border-top: none; }
.cf-nom { font-weight: 600; font-size: .85rem; line-height: 1.25; min-width: 0;
          overflow-wrap: anywhere; }
.cf-sujet { display: block; font-weight: 400; font-size: .75rem;
            color: var(--cf-gris-2); margin-top: 2px; }
.cf-depuis { font-family: "JetBrains Mono", monospace; font-size: .73rem;
  white-space: nowrap; color: var(--cf-gris-2); }
.cf-col-retard .cf-depuis { color: var(--cf-retard); font-weight: 700; }
.chemin .cf-apres { font-size: .77rem; color: var(--cf-gris-2);
  margin-top: 13px !important; font-style: italic; }

/* ===== PIED ===== */
.cf-pied { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--cf-rail);
  font-size: .78rem; color: var(--cf-gris-2); line-height: 1.9; }
.chemin .cf-pied a { color: var(--cf-gris); text-decoration: underline; }
.chemin .cf-pied a:hover { color: var(--cf-blanc); }

/* ===== LE TÉLÉPHONE. Philippe travaille souvent dessus : rien ne déborde. */
@media (max-width: 520px) {
  .cf-cadre { padding-inline: 14px; }
  .cf-voie { padding-left: 52px; }
  .cf-voie::before { left: 20px; }
  .cf-jalon::before { left: -38px; }
  .cf-jalon.cf-ici::after { left: -32px; }
  .cf-arret::before { left: -35px; }
  .cf-arret::after { left: -28px; width: 24px; }
}
@media (prefers-reduced-motion: reduce) { .chemin * { transition: none !important; } }

/* ==========================================================================
   L'ACCUEIL MARINE ET OR — retenu par Philippe le 25/09/2026, à la place du
   fond de nuit (« je n'aime pas la couleur noire »). On ne touche qu'aux
   variables de .chemin : les quatre ronds gardent leurs couleurs.
   Et le suivi en trois colonnes (.cf3), qui remplace la frise des trois jours.
   ========================================================================== */
body:has(.chemin) { background: #f4f6fa; }
body:has(.chemin) .entete .titre { color: #16324f; }
body:has(.chemin) .lien-discret { color: #566074; }
.chemin {
  --cf-nuit: #f4f6fa; --cf-nuit-2: #ffffff; --cf-nuit-3: #e6eaf2; --cf-rail: #dfe4ee;
  --cf-blanc: #141a26; --cf-gris: #566074; --cf-gris-2: #6b7383;
  --cf-retard: #b3261e;
  background: #f4f6fa; color: #141a26;
}
.chemin .cf-rond { color: #ffffff; }
.chemin .cf-cadre { max-width: 1180px; }

.cf3 { margin-top: 26px; }
.cf3-titre { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cf3-titre h1 { font-size: 1.55rem; font-weight: 700; color: #16324f; }
.cf3-titre span { font-size: .85rem; color: #566074; }
.cf3-colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 900px) { .cf3-colonnes { grid-template-columns: 1fr; } }
.cf3-col { background: #ffffff; border: 1px solid #dfe4ee; border-radius: 16px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; }
.cf3-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cf3-tete h2 { font-size: 1rem; font-weight: 700; }
.cf3-rouge .cf3-tete h2 { color: #b3261e; } .cf3-rouge .cf3-nb { background: #fbe9e7; color: #b3261e; }
.cf3-bleu .cf3-tete h2 { color: #1e6fc4; }  .cf3-bleu .cf3-nb { background: #e6f0fb; color: #1e6fc4; }
.cf3-or .cf3-tete h2 { color: #6b5300; }    .cf3-or .cf3-nb { background: #faf3dc; color: #6b5300; }
.cf3-nb { font-size: .8rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.cf3-droite { display: flex; align-items: center; gap: 8px; }
.chemin .cf3-plus { font-size: .8rem; font-weight: 700; color: #16324f; border: 1px solid #c9d1df;
  border-radius: 999px; padding: 3px 10px; background: #ffffff; }
.cf3-fiche { background: #f6f8fc; border: 1px solid #e6eaf2; border-radius: 12px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.cf3-fiche:hover { border-color: #b9c6dc; }
.cf3-haut { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cf3-nom { font-size: .95rem; font-weight: 700; color: #141a26; overflow-wrap: anywhere; }
.cf3-montant, .cf3-sous { font-size: .8rem; color: #566074; }
.cf3-quoi { font-size: .87rem; color: #7a5a00; }
.cf3-jauge { height: 5px; background: #e6eaf2; border-radius: 999px; overflow: hidden; }
.cf3-jauge span { display: block; height: 5px; background: #1e6fc4; border-radius: 999px; }
.cf3-bas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; }
.chemin .cf3-acte { font-size: .8rem; font-weight: 700; background: #16324f; color: #ffffff;
  padding: 7px 12px; border-radius: 10px; display: inline-block; }
.cf3-issues { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.chemin .cf3-issues button { font-size: .75rem; font-weight: 600; background: #ffffff;
  border: 1px solid #d5dae3; color: #566074; padding: 4px 9px; border-radius: 8px; }
.chemin .cf3-issues .cf3-gagne { color: #2e7d32; border-color: #b9dcbc; }
.chemin .cf3-issues button:disabled { opacity: .45; }
.cf3-gagnee { background: #eef7ee; border-color: #cfe6d0; }
.cf3-gagnee .cf3-verdict { color: #2e7d32; font-weight: 700; font-size: .8rem; }
.cf3-perdue { background: repeating-linear-gradient(135deg, #f3f4f7 0, #f3f4f7 8px, #e9ebf0 8px, #e9ebf0 16px);
  border-color: #dfe2e8; }
.cf3-perdue .cf3-nom, .cf3-perdue .cf3-sous { color: #6b7280; text-decoration: line-through; }
.cf3-perdue .cf3-verdict { color: #6b7280; font-weight: 700; font-size: .8rem; }
.chemin .cf3-annuler { align-self: flex-end; font-size: .72rem; color: #566074; text-decoration: underline; }
.cf3-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid #dfe4ee;
  display: flex; flex-direction: column; gap: 2px; font-size: .8rem; color: #566074; }
.cf3-total strong { font-size: 1.3rem; color: #16324f; }
.cf3-vide { font-size: .85rem; color: #6b7383; }
.cf3-itw { margin-top: 18px; display: flex; gap: 12px; align-items: center; background: #ffffff;
  border: 1px solid #dfe4ee; border-radius: 14px; padding: 12px 16px; flex-wrap: wrap; }
.cf3-itw-titre { font-weight: 700; color: #16324f; white-space: nowrap; }
.cf3-itw-gens { display: flex; gap: 8px; flex: 1 1 400px; min-width: 0; }
.cf3-itw-puce { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .8rem; background: #f6f8fc; border: 1px solid #e6eaf2; border-radius: 999px; padding: 5px 11px; }
.chemin .cf3-itw-lien, .chemin .cf3-itw-rep { font-size: .85rem; font-weight: 700; color: #16324f; white-space: nowrap; }
.chemin .cf3-itw-rep { color: #2e7d32; }

/* Interviews : une ligne par interview (25/09/2026) */
.cf3-itw { display: block; }
.cf3-itw-tete { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.cf3-itw-tete .cf3-itw-lien { margin-left: auto; }
.cf3-itw-liste { list-style: none; margin: 0; padding: 0; }
.cf3-itw-ligne { display: grid; grid-template-columns: minmax(160px, 1.1fr) 2fr auto auto; gap: 14px;
  align-items: baseline; padding: 7px 0; border-top: 1px solid #edf0f6; font-size: .88rem; }
.cf3-itw-qui { font-weight: 700; color: #16324f; }
.cf3-itw-sujet { color: #3b4658; }
.cf3-itw-jours { color: #6b7383; font-size: .8rem; white-space: nowrap; }
.cf3-itw-etat { font-size: .75rem; font-weight: 700; color: #6b5300; white-space: nowrap; }
.cf3-itw-relance { color: #b3261e; }
@media (max-width: 700px) { .cf3-itw-ligne { grid-template-columns: 1fr auto; } .cf3-itw-sujet { grid-column: 1 / -1; } }

/* Tout sur un écran, colonnes de même hauteur qui défilent (25/09/2026) */
.chemin { min-height: 0; }
.chemin .cf-cadre { padding-top: 8px; padding-bottom: 10px; }
.chemin .cf-bonjour { margin: 0 0 4px !important; }
.chemin .cf-gares { margin: 0; }
.chemin .cf-rond { width: 56px; }
.chemin #cf-seo { padding: 3px 12px !important; }
.cf3 { margin-top: 8px; }
.cf3-titre { margin-bottom: 8px; }
.cf3-titre h1 { font-size: 1.25rem; }
.cf3-colonnes { align-items: stretch; }
.cf3-col { height: var(--cf3-h, auto); min-height: 0; }
.cf3-defile { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column;
  gap: 10px; padding-right: 4px; }
.cf3-itw { margin-top: 12px; padding: 8px 16px; }
.cf3-itw-tete { margin-bottom: 2px; }
.cf3-itw-liste { max-height: 128px; overflow-y: auto; }
.cf3-itw-ligne { padding: 5px 0; }
.chemin .cf-pied { margin-top: 14px; padding-top: 8px; }
@media (max-width: 900px) { .cf3-col { height: auto; } }

/* ==========================================================================
   BANDEAU MARINE (V3, retenue le 25/09/2026) : Natacha à gauche, quatre
   carrés + SEO, plus de « Bonjour ». L'en-tête général est masqué sur l'accueil.
   ========================================================================== */
body:has(.chemin) .entete { display: none; }
.cf-bandeau { background: #16324f; }
.cf-bandeau-in { max-width: 1180px; margin: 0 auto; padding: 12px 18px;
  display: flex; align-items: center; gap: 30px; }
.chemin .cf-marque { display: flex; align-items: center; gap: 12px; color: #ffffff; }
.cf-marque img { width: 62px; height: 62px; border-radius: 14px; display: block; }
.cf-marque span { font-family: "Bricolage Grotesque", "Public Sans", sans-serif; font-weight: 800;
  font-size: 1.2rem; color: #ffffff; }
.chemin .cf-bandeau .cf-gares { display: flex; gap: 12px; margin: 0; align-items: center; }
.cf-bandeau .cf-depart { position: relative; display: block; }
.chemin .cf-carre { width: 62px; height: 62px; border-radius: 14px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: var(--t); color: #ffffff; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease; }
.chemin .cf-carre:hover, .chemin .cf-carre:focus-visible { transform: translateY(-2px);
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.5); }
.chemin .cf-carre:focus-visible { outline: 2px solid #e6c55a; outline-offset: 3px; }
.cf-carre svg { width: 21px; height: 21px; }
.cf-carre span { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cf-g-offre .cf-carre { --t: #34b36b; } .cf-g-courrier .cf-carre { --t: #5b77e8; }
.cf-g-itw .cf-carre { --t: #ee9433; }  .cf-g-article .cf-carre { --t: #d45cc0; }
.chemin .cf-carre.cf-seo { background: transparent; border: 1.5px solid #c9a227; color: #e6c55a;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.chemin .cf-bandeau .cf-pastille { border-color: #16324f; color: #ffffff; top: -7px; right: -7px; }
.chemin .cf-quitter { margin-left: auto; font-size: .85rem; color: #c8d2e2; }
.chemin .cf-quitter:hover { color: #ffffff; text-decoration: underline; }
.chemin .cf-cadre { padding-top: 14px; }

/* Barres de défilement toujours visibles (le Mac les cache sinon) */
.cf3-defile::-webkit-scrollbar, .cf3-itw-liste::-webkit-scrollbar { width: 8px; }
.cf3-defile::-webkit-scrollbar-thumb, .cf3-itw-liste::-webkit-scrollbar-thumb { background: #c9d1df; border-radius: 8px; }
.cf3-defile::-webkit-scrollbar-track, .cf3-itw-liste::-webkit-scrollbar-track { background: #f1f3f8; border-radius: 8px; }
.cf3-itw-liste { max-height: 136px; padding-right: 6px; }
.cf3-itw-defiler { font-size: .78rem; color: #6b5300; font-weight: 600; }

/* ===== MOBILE ===== */
@media (max-width: 700px) {
  .cf-bandeau-in { flex-wrap: wrap; gap: 10px 12px; padding: 10px 14px 12px; }
  .cf-marque img { width: 40px; height: 40px; border-radius: 10px; }
  .chemin .cf-quitter { order: 2; }
  .chemin .cf-bandeau .cf-gares { order: 3; width: 100%; display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .chemin .cf-carre { width: 100%; height: auto; aspect-ratio: 1; max-width: 72px; margin: 0 auto; }
  .cf-carre span { font-size: 8px; }
  .cf3-titre h1 { font-size: 1.1rem; }
  .cf3-colonnes { gap: 12px; }
  .cf3-col { height: auto; }
  .cf3-defile { max-height: 380px; overflow-y: auto; }
  .cf3-issues { margin-left: 0; }
  .cf3-itw-tete .cf3-itw-lien { margin-left: 0; }
  .cf3-itw-liste { max-height: 260px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .cf3-defile { max-height: 420px; overflow-y: auto; }
}
/* Chrome ignore les ::-webkit-scrollbar dès que scrollbar-width est posé */
.cf3-defile, .cf3-itw-liste { scrollbar-width: auto; scrollbar-color: auto; }
@supports not selector(::-webkit-scrollbar) {
  .cf3-defile, .cf3-itw-liste { scrollbar-width: thin; scrollbar-color: #c9d1df #f1f3f8; }
}
@media (max-width: 700px) {
  .cf3-itw-ligne { gap: 1px 10px; padding: 7px 0; }
  .cf3-itw-sujet { font-size: .84rem; }
  .cf3-itw-tete { gap: 2px 12px; }
}

/* Le carré « Parler » (26/09/2026) : dicter n'importe quelle demande à Natacha */
.cf-g-voix .cf-carre { --t: #1b8a8f; }
@media (max-width: 700px) {
  .chemin .cf-bandeau .cf-gares { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .cf-carre span { font-size: 7.5px; }
}

/* ===== Accueil v4 (27/09/2026) : fiches sur trois lignes, devis au choix, retour ===== */
.cf3-fiche { padding: 7px 11px; gap: 2px; border-radius: 10px; }
.cf3-nom { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cf3-haut .cf3-montant { font-weight: 700; color: #16324f; white-space: nowrap; }
.cf3-sous { font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf3-sous .cf3-quoi { font-size: .76rem; }
.cf3-jauge, .cf3-jauge span { height: 2px; }
.cf3-bas { justify-content: flex-end; gap: 5px; margin-top: 1px; }
.chemin .cf3-acte { font-size: .72rem; padding: 3px 9px; border-radius: 7px; }
.chemin .cf3-issues button { font-size: .7rem; padding: 2px 7px; border-radius: 7px; }
.chemin .cf3-annuler { align-self: center; font-size: .68rem; }
.cf3-montants { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.chemin .cf3-devis { font-size: .74rem; color: #566074; background: #ffffff; border: 1px dashed #b9c6dc;
  border-radius: 6px; padding: 1px 6px; cursor: pointer; }
.chemin .cf3-devis.cf3-retenu { color: #16324f; font-weight: 700; border: 1px solid #16324f; background: #e8eef7; }
.cf3-ou { font-size: .7rem; color: #8a93a3; }
.cf3-incertain { font-size: .72rem; font-weight: 700; color: #7a5a00; background: #fff3cc;
  border-radius: 999px; padding: 0 6px; }
.chemin .cf3-mini { font-size: .7rem; font-weight: 600; background: #ffffff; border: 1px solid #b9dcbc;
  color: #2e7d32; padding: 2px 8px; border-radius: 7px; text-decoration: none; }
.chemin .cf3-mini.cf3-grise { color: #9aa2b1; border-color: #e0e4ea; cursor: default; }
.cf3-demande { color: #2e7d32; }
.cf3-parpub { display: flex; flex-direction: column; gap: 1px; margin-top: 4px; }
.cf3-parpub span { display: flex; justify-content: space-between; gap: 10px; }
.cf3-parpub b { color: #16324f; font-weight: 700; }
#retour-global { font-size: .85rem; font-weight: 600; color: #16324f; background: #ffffff;
  border: 1px solid #c9d1df; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
#retour-global[hidden] { display: none; }
@media (max-width: 700px) {
  .cf3-issues { margin-left: auto; }
}

/* ===== Accueil v5 (27/09/2026) : bandeau sobre (maquette ChatGPT), recherche,
   publications, interviews à gauche, « Validée », menu « À facturer » ===== */
.cf-sobre.cf-bandeau { background: #16324f; border-bottom: 1px solid rgba(255,255,255,.06); }
.cf-sobre .cf-bandeau-in { max-width: 1400px; gap: 26px; padding: 10px 22px; }
.cf-sobre .cf-marque img { width: 52px; height: 52px; border-radius: 12px; }
.cf-marque-txt { display: flex; flex-direction: column; line-height: 1.1; }
.cf-marque-txt small { font-family: "Public Sans", sans-serif; font-size: .64rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: #9fb0c6; margin-top: 3px; }
.chemin .cf-sobre .cf-carre { width: 58px; height: 58px; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); color: #ffffff; }
.chemin .cf-sobre .cf-carre:hover, .chemin .cf-sobre .cf-carre:focus-visible {
  background: #c9a55c; border-color: #c9a55c; color: #16324f; transform: none; box-shadow: none; }
.cf-sobre .cf-carre svg { width: 19px; height: 19px; }
.cf-sobre .cf-carre span { font-size: 8.5px; letter-spacing: .05em; }
.cf-sobre .cf-g-facturer { margin-left: 14px; }
.chemin .cf-sobre .cf-g-facturer .cf-carre { border-color: rgba(201,165,92,.55); color: #e6c98f; }
.chemin .cf-sobre .cf-pastille { background: #34b36b; border: 2px solid #16324f; color: #fff; }
.chemin .cf-sobre .cf-pastille.cf-or { background: #c9a55c; color: #16324f; }
.chemin .cf-sobre .cf-quitter { display: inline-flex; align-items: center; gap: 7px; color: #c8d2e2; }
.cf-sobre .cf-quitter svg { width: 17px; height: 17px; }
.cf-sobre + .cf-cadre, .chemin .cf-cadre { max-width: 1400px; }

.cf3-titre { display: none; }
.cf3-outils { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 2px 0 12px; }
.cf3-cherche { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d7dde8;
  border-radius: 10px; padding: 0 12px; height: 38px; flex: 0 1 300px; color: #7a8497; }
.cf3-cherche svg { width: 16px; height: 16px; flex: none; }
.cf3-cherche input { border: 0; outline: 0; background: transparent; font: inherit; font-size: .88rem;
  width: 100%; height: 36px; padding: 0; margin: 0; box-shadow: none; }
.cf3-cherche:focus-within { border-color: #16324f; }
.cf3-pubs { display: flex; gap: 6px; flex-wrap: wrap; }
.chemin .cf3-pub { font-size: .78rem; font-weight: 600; color: #3b4658; background: #fff;
  border: 1px solid #d7dde8; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.chemin .cf3-pub:hover { border-color: #16324f; }
.chemin .cf3-pub.cf3-pub-on { background: #16324f; border-color: #16324f; color: #fff; }

.cf3-colonnes.cf3-quatre { grid-template-columns: minmax(170px, .72fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1.35fr); gap: 14px; }
.cf3-gris .cf3-tete h2 { color: #16324f; } .cf3-gris .cf3-nb { background: #eef1f6; color: #16324f; }
.cf3-itw-noms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.chemin .cf3-itw-nom { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px;
  font-size: .86rem; font-weight: 600; color: #16324f; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chemin .cf3-itw-nom:hover { background: #f1f4f9; }
.cf3-point { width: 8px; height: 8px; border-radius: 50%; background: #c3cad6; flex: none; display: inline-block; }
.cf3-rep .cf3-point, .cf3-p-rep { background: #2e9d52; }
.cf3-relancer .cf3-point, .cf3-p-rel { background: #c8423b; }
.cf3-itw-pied { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .7rem; color: #6b7383;
  border-top: 1px solid #e6eaf2; padding-top: 7px; margin-top: 4px; }
.cf3-itw-pied span { display: inline-flex; align-items: center; gap: 4px; }
.chemin .cf3-itw-pied a { margin-left: auto; color: #16324f; font-weight: 700; }

.chemin .cf3-mini.cf3-facturer { color: #6b5300; border-color: #e3cf96; background: #fffaf0; }
.chemin .cf3-mini.cf3-effacer { color: #6b7280; border-color: #dfe3ea; }
.chemin .cf3-mini.cf3-confirme { color: #fff; background: #c8423b; border-color: #c8423b; }

.cf3-onglets { display: none; }
@media (max-width: 900px) {
  .cf3-colonnes.cf3-quatre { grid-template-columns: 1fr; }
  .cf3-onglets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #e9edf3;
    border-radius: 10px; padding: 4px; margin-bottom: 10px; }
  .chemin .cf3-onglet { font-size: .76rem; font-weight: 700; color: #3b4658; background: transparent;
    border: 0; border-radius: 8px; padding: 8px 2px; cursor: pointer; }
  .cf3-onglet span { font-weight: 600; color: #7a8497; }
  .chemin .cf3-onglet.cf3-on { background: #fff; color: #16324f; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
  .cf3-quatre .cf3-col { display: none; }
  .cf3-quatre .cf3-col.cf3-actif { display: flex; }
  .cf3-quatre .cf3-defile { max-height: none; }
  .cf3-cherche { flex: 1 1 100%; }
  .cf3-pubs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; }
  .chemin .cf3-pub { white-space: nowrap; }
}
@media (max-width: 700px) {
  .cf-sobre .cf-marque img { width: 40px; height: 40px; }
  .cf-sobre .cf-g-facturer { margin-left: 0; }
  .chemin .cf-sobre .cf-bandeau .cf-gares, .chemin .cf-bandeau.cf-sobre .cf-gares { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
  .cf-sobre .cf-carre span { font-size: 6.8px; }
}

/* Le menu « À facturer » */
.af { max-width: 1100px; }
.af-tableau { overflow-x: auto; background: #fff; border: 1px solid #dfe4ee; border-radius: 12px; margin: 12px 0; }
.af table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.af th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #6b7383;
  padding: 10px 12px; border-bottom: 1px solid #e6eaf2; }
.af td { padding: 10px 12px; border-bottom: 1px solid #eef1f6; vertical-align: top; }
.af td small { color: #6b7383; }
.af-num { white-space: nowrap; font-weight: 700; color: #16324f; }
.af-actes { white-space: nowrap; text-align: right; }
.af-actes button { font-size: .78rem; font-weight: 600; border-radius: 8px; padding: 5px 10px; cursor: pointer;
  margin-left: 4px; width: auto; }
.af-fait { background: #16324f; color: #fff; border: 1px solid #16324f; }
.af-remettre { background: #fff; color: #3b4658; border: 1px solid #d7dde8; }
.af-faites summary { cursor: pointer; font-weight: 600; color: #3b4658; margin-top: 10px; }
.af-faites td { color: #6b7383; }
.chemin .cf-sobre .cf-g-facturer .cf-carre { width: auto; min-width: 58px; padding: 0 10px; }
.cf-sobre .cf-g-facturer .cf-carre span { white-space: nowrap; }
.chemin .cf3-annuler.cf3-annuler-haut { font-size: .68rem; margin-left: 6px; background: none; border: 0; padding: 0; cursor: pointer; }
.chemin .cf3-itw-nom { white-space: normal; align-items: flex-start; line-height: 1.25; }
.cf3-itw-nom .cf3-point { margin-top: 5px; }

/* Téléphone, corrigé après essai le 27/09/2026 : sept carrés sans chevauchement,
   cartes « Validée » sans débordement */
@media (max-width: 700px) {
  .chemin .cf-bandeau.cf-sobre .cf-gares { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; width: 100%; }
  .chemin .cf-sobre .cf-carre, .chemin .cf-sobre .cf-g-facturer .cf-carre { width: 100%; min-width: 0; max-width: none;
    height: auto; aspect-ratio: 1 / 1.05; padding: 0 1px; border-radius: 10px; }
  .cf-sobre .cf-carre svg { width: 17px; height: 17px; }
  .cf-sobre .cf-carre span, .cf-sobre .cf-g-facturer .cf-carre span { font-size: 6.4px; white-space: normal; line-height: 1.1; letter-spacing: .02em; }
  .cf3-quatre .cf3-col { min-width: 0; }
  .cf3-quatre .cf3-bas { flex-wrap: wrap; justify-content: flex-start; }
  .cf3-quatre .cf3-sous { white-space: normal; }
  .cf3-quatre .cf3-haut { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .chemin .cf3-plus { white-space: nowrap; }
  .cf3-quatre .cf3-tete h2 { font-size: .92rem; }
}

/* 27/09/2026 : le « Retour » reste visible quand on descend dans une fiche,
   et un grand bouton ramène à l'accueil en bas de la fiche */
body:not(:has(.chemin)) .entete { position: sticky; top: 0; z-index: 30; background: var(--fond, #f6f6f3);
  box-shadow: 0 1px 0 rgba(0,0,0,.06); }
#retour-global { font-size: .9rem; padding: 6px 14px; }
.vers-accueil { display: block; width: 100%; margin: 22px 0 10px; padding: 12px; font-size: .95rem; font-weight: 700;
  color: #16324f; background: #ffffff; border: 1px solid #c9d1df; border-radius: 10px; cursor: pointer; }
.vers-accueil:hover { border-color: #16324f; }
.chemin .cf3-mini.cf3-appel { color: #16324f; border-color: #c9d1df; }

/* 27/09/2026 : chaque ligne d'une carte tient sur UNE ligne, libellés courts */
.cf3-quatre .cf3-bas { flex-wrap: nowrap; gap: 4px; }
.cf3-quatre .cf3-issues { flex-wrap: nowrap; gap: 4px; margin-left: auto; }
.cf3-quatre .cf3-bas > *, .cf3-quatre .cf3-issues > * { white-space: nowrap; flex: none; }
.cf3-quatre .cf3-sous, .cf3-quatre .cf3-haut { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-wrap: nowrap; }
.cf3-quatre .cf3-haut .cf3-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) {
  .cf3-quatre .cf3-bas { flex-wrap: nowrap; }
  .cf3-quatre .cf3-sous { white-space: nowrap; }
  .cf3-quatre .cf3-haut { flex-wrap: nowrap; }
}
.cf3-quatre .cf3-bas { justify-content: flex-start; }
.chemin .cf3-quatre .cf3-issues button, .chemin .cf3-quatre .cf3-mini, .chemin .cf3-quatre .cf3-acte { padding: 2px 6px; font-size: .68rem; }
.cf3-due { border-color: #f0c9c4; background: #fff7f6; }
.cf3-alerte { color: #b3261e; font-weight: 600; }
.chemin .cf3-acte.cf3-acte-clair { background: #ffffff; color: #16324f; border: 1px solid #c9d1df; }

/* 27/09/2026 : la colonne « À faire » porte maintenant cinq boutons (Lire,
   Tél., Gagné, Perdu, Abando.) ; resserrés pour tenir dans la carte. */
.chemin .cf3-quatre .cf3-rouge .cf3-bas, .chemin .cf3-quatre .cf3-rouge .cf3-issues { gap: 3px; }
.chemin .cf3-quatre .cf3-rouge .cf3-bas > *, .chemin .cf3-quatre .cf3-rouge .cf3-issues > * { padding: 2px 4px; font-size: .64rem; }


/* 28/09/2026 : suivi post-vente des visuels Bâtisseurs. */
.cf3-prod { font-size: .72rem; margin-top: 3px; color: #16324f; }
.cf3-prod-etat { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: .66rem;
  padding: 1px 6px; border-radius: 5px; background: #eef1f6; }
.cf3-prod-visuel_a_demander .cf3-prod-etat { background: #fdeaea; color: #a3262c; }
.cf3-prod-visuel_demande .cf3-prod-etat { background: #fdf3e3; color: #7a5410; }
.cf3-prod-visuel_recu .cf3-prod-etat { background: #e8f0fb; color: #1e4f8c; }
.cf3-prod-visuel_non_conforme .cf3-prod-etat { background: #a3262c; color: #fff; }
.cf3-prod-visuel_conforme .cf3-prod-etat, .cf3-prod-pret_maquette .cf3-prod-etat { background: #2e7d32; color: #fff; }
.cf3-prod-constat { color: #6b6b66; font-size: .68rem; margin-top: 2px; }
.cf3-visuels { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .7rem; color: #16324f;
  background: #f5f7fb; border: 1px solid #dfe4ee; border-radius: 8px; padding: 6px 8px; margin: 0 0 8px; }
.cf3-visuels strong { width: 100%; text-transform: uppercase; font-size: .66rem; letter-spacing: .04em; }
.cf3-visuels span b { margin-left: 4px; }
.cf3-visuels .cf3-zero { color: #9aa3b2; }
.cf3-fiche-prod .cf3-prod-etat { background: #fdf3e3; color: #7a5410; }
.chemin .cf3-fiche-prod .cf3-sous, .cf3-fiche-prod .cf3-sous { white-space: normal; overflow: visible; text-overflow: clip; }


/* 29/09/2026 : l'historique d'une offre. */
.hist { list-style: none; margin: 8px 0 0; padding: 0 0 0 18px; border-left: 2px solid #dfe4ee; }
.hist-ligne { position: relative; padding: 0 0 16px 10px; }
.hist-point { position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 0 0 1px #dfe4ee; }
.hist-quand { font-size: .78rem; color: #6b6b66; }
.hist-quoi { font-weight: 600; color: #16324f; }
.hist-detail { font-size: .85rem; color: #444; margin-top: 2px; overflow-wrap: anywhere; }
.hist-lien { font-size: .8rem; }
.hist-avenir { opacity: .6; }
.hist-avenir .hist-quoi { font-style: italic; }
.hist-offre { background: #f5f7fb; border: 1px solid #dfe4ee; border-radius: 8px; padding: 8px 12px;
  margin: 6px 0; font-size: .9rem; }
.hist-etat { margin-left: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  background: #16324f; color: #fff; border-radius: 5px; padding: 1px 6px; }
