/* Le site sur téléphone (2026-11-13). Une feuille à part, chargée après toutes les autres et écrite
   à la main : le portage de la maquette ne la touche pas. Tout y vit sous 640 px ; au-delà, aucune
   règle ne s'applique et les pages restent celles de site.css, au pixel près.

   Le parti pris, arrêté par Hugues le 13-11 sur son iPhone après trois essais (« trop remplie »,
   « deux boutons énormes », « trop de texte », « pas fluide ») : le téléphone a son propre contenu,
   plus court que celui de l'ordinateur. Une phrase par idée, une figure par idée, chaque chose dite
   une seule fois ; une figure d'ordinateur ne se reporte pas, elle se redessine, et tient en un
   demi-écran ; 96 px de blanc entre deux sections ; aucune figure collée au défilement ni panneau
   sombre avant le bloc final ; pas de bouton dans l'ouverture, l'action du téléphone est la barre
   « Prendre rendez-vous », présente dès le premier écran.

   L'accueil et la page Analyse suivent ce parti pris (sections 3 à 5). Les autres pages (tarifs,
   équipe, rendez-vous, formulaire, mentions) gardent leur mise en page de la première passe, que
   Hugues n'a pas remise en cause. */

@media (max-width: 640px) {

/* ---------- 1 · Socle : encres, gouttière, blancs, échelle ---------- */
:root {
  --ink-3: #5b6270;     /* le gris des légendes, assombri : 5,6 pour 1 sur les fonds teintés */
  --g: 24px;            /* gouttière */
  --tel-haut: 56px;     /* barre du haut */
  --tel-bas: 64px;      /* barre de rendez-vous ; --bas tout court est la base des barres du pont */
  --sec: 96px;          /* blanc entre deux sections */
  --fig: 36px;          /* blanc entre un texte et sa figure */
  --scene: 288px;   /* accueil : la figure de l'ouverture. Hauteur fixe : plus basse, la carte rétrécit et ses noms passent sous 13 px */
  /* Sept corps, et pas un de plus : la page, la section, le bloc, le chapeau, le texte, le second
     plan, la légende. Les commandes (onglets) restent à 14 px, les tampons à 12,5. */
  --c-page: clamp(31px, 10vw, 40px);
  --c-section: 27px;
  --c-bloc: 19px;
  --c-chapeau: 17px;
  --c-texte: 16px;
  --c-second: 15px;
  --c-legende: 13.5px;
}
html { scroll-padding-top: calc(var(--tel-haut) + 16px); }
.wrap { padding: 0 var(--g); }
h1, .o-pas-1 h1 { font-size: var(--c-page); line-height: 1.04; letter-spacing: -0.038em; }
h2 { font-size: var(--c-section); line-height: 1.12; letter-spacing: -0.03em; }
.sous { margin-top: 18px; font-size: var(--c-chapeau); line-height: 1.55; max-width: none; }
.o-pas-1 .sous { max-width: none; }
.exemple { font-size: var(--c-legende); }

/* ---------- 2 · Les deux barres ---------- */
.nav { min-height: var(--tel-haut); padding: 0 var(--g); }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding-right: 10px; }
.burger { margin-right: -11px; }
.menu { inset: var(--tel-haut) 0 0 0; top: var(--tel-haut); padding: 8px var(--g) 40px; }
.menu-services span { font-size: var(--c-second); line-height: 1.45; }

/* Le rendez-vous : une barre basse, de bord à bord, qui dit ce qu'elle fait. Elle réserve sa place
   (le pied garde sa hauteur en marge) et ne recouvre jamais un prix ni un titre. */
.rdv {
  left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: var(--tel-bas); padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom, 0px));
  border-radius: 0; border-top: 1px solid var(--line); background: var(--blanc); color: var(--ink-2);
  box-shadow: 0 -12px 28px -22px rgba(22, 24, 29, 0.35);
  font-size: var(--c-second); line-height: 1.3;
  transition: transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}
.rdv:hover { transform: none; }
.rdv:active { background: var(--fond); }
.rdv .rdv-ic { width: 42px; height: 42px; border-radius: 9px; background: var(--ink); }
.rdv .rdv-ic svg { width: 20px; height: 20px; }
.rdv .rdv-ic + span { display: block; color: var(--ink-2); }
.rdv b { display: block; font-size: var(--c-texte); font-weight: 620; letter-spacing: -0.015em; color: var(--ink); }
.rdv::after { content: ""; width: 9px; height: 9px; margin-right: 6px; border: solid var(--ink); border-width: 1.8px 1.8px 0 0; transform: rotate(45deg); }
.menu-ouvert .rdv { visibility: hidden; }

/* ---------- 3 · L'ouverture : le titre, une phrase, la figure ---------- */
/* Les deux pages qui s'ouvrent sur une figure, l'accueil et la page Analyse, suivent la forme que
   Hugues a retenue le 13-11 : le titre, une phrase courte (p.tel-sous), puis la figure, dans le fil
   de la page. Elle montre d'abord l'ensemble (la France en points, la data room en pièces), zoome
   seule vers son premier état, passe à celui qui illustre la fin du titre et se pose
   (telephone.js pose data-tel et choisit l'état). Pas de bouton, rien de collé au défilement : la
   phrase longue, les deux boutons, les trois apports et les signaux datés restent à l'ordinateur. */
.ouverture { border-bottom: 0; }
.o-grille { display: flex; flex-direction: column; padding: 0 var(--g); }
.o-pas-1 { display: contents; }
.o-pas-1 h1 { order: 1; margin-top: 30px; }
.o-pas-2, .o-pas-1 .actions, .o-pas-1 .sous:not(.tel-sous), .o-collant .signaux { display: none; }
.tel-sous[hidden] { display: block !important; }
.tel-sous { order: 2; margin: 16px 0 0; font-size: var(--c-chapeau); line-height: 1.5; color: var(--ink-2); }
.o-delai { order: 6; margin-top: 26px; font-size: var(--c-second); }
.o-clients { order: 7; gap: 6px 18px; max-width: none; margin-top: 14px; padding-top: 0; border-top: 0; }
.o-clients-titre { font-family: var(--font); font-size: var(--c-second); letter-spacing: 0; text-transform: none; }
.o-clients a { padding: 9px 0; }
.o-clients img { height: 26px; }

/* La case de la figure : l'ensemble, puis la carte, l'un sur l'autre */
.o-collant { order: 4; position: relative; top: auto; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: stretch; height: var(--scene); margin-top: 30px; }
.o-collant > * { grid-area: 1 / 1; min-width: 0; min-height: 0; }
.o-collant .hero-carte, .o-collant .hero-carte.dr-hero { position: relative; width: 100%; max-width: none; height: 100%; margin: 0; aspect-ratio: auto; overflow: hidden; }
.o-collant .trame { -webkit-mask-image: none; mask-image: none; }
/* Accueil : la France, à la hauteur de la case */
.hero-carte:not(.dr-hero) .trame { position: absolute; inset: 0 auto 0 50%; width: auto; height: 100%; aspect-ratio: 1; margin: 0; overflow: visible; transform: translateX(-50%); }
.tp { fill: #8f96a4; }
/* Analyse : la data room en pièces ; les noms des classes seuls, à un corps lisible */
.o-collant .dr-hero { display: flex; flex-direction: column; justify-content: center; }
.dr-hero .trame { position: relative; flex: none; width: 78%; margin: 0 auto; aspect-ratio: 520 / 372; overflow: visible; }
.dp-lab { font-size: 25px; }
.dp-nb { display: none; }

/* Le passage : l'ensemble grossit autour de son centre et s'efface, la carte naît de ce point */
.o-collant .trame-zoom { transition: transform 720ms var(--ease), opacity 360ms ease; }
.o-collant .zoom { transform-origin: var(--tel-ox, 50%) var(--tel-oy, 45%); transition: opacity 420ms ease 120ms, transform 720ms var(--ease), visibility 0s; }
/* Sans le script, rien ne pose data-tel : la carte se montre seule après trois secondes */
html:not(.tel-js) .o-collant .zoom { opacity: 0; animation: tel-secours 1ms linear 3000ms forwards; }
@keyframes tel-secours { to { opacity: 1; } }
.tel-js .o-collant:not([data-tel="carte"]) .zoom { opacity: 0; transform: scale(0.2); visibility: hidden; pointer-events: none; transition: opacity 240ms ease, transform 520ms var(--ease), visibility 0s linear 520ms; }
.tel-js .o-collant[data-tel="carte"] .trame-zoom { transform: scale(2.6); opacity: 0; }
.tel-js .o-collant[data-tel="carte"] .dr-hero .trame-zoom { transform: scale(1.5); }

/* La carte : son compte, la figure, sa légende. Hauteurs fixes : changer d'état ne déplace rien. */
.o-collant .zoom { position: relative; display: flex; flex-direction: column; order: 0; width: 100%; max-width: none; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--blanc); box-shadow: none; }
.z-tete { flex: none; flex-direction: row; align-items: flex-start; gap: 12px; }
.z-compte { min-height: 22px; font-size: var(--c-second); font-weight: 560; text-wrap: balance; }
.z-these { display: none; }
/* Les noms de la carte sont dans le repère du dessin (428 unités de large) : 16,5 unités donnent
   13 px sur 393 px d'écran ; les écrans plus étroits relèvent ce corps plus bas dans la feuille */
.z-lab { font-size: 16.5px; }
.zoom:not(.dr-zoom) .exemple { position: absolute; z-index: 1; right: 8px; bottom: 60px; background: rgba(255, 255, 255, 0.92); }
.z-carte { flex: 1 1 0; width: 100%; height: auto; min-height: 0; aspect-ratio: auto; margin-top: 10px; border-radius: 12px; }
.z-legende { flex: none; align-content: flex-start; min-height: 44px; margin-top: 8px; font-size: var(--c-legende); gap: 4px 16px; }

/* En anglais le titre de l'accueil tient sur trois lignes : les blancs de l'ouverture se resserrent
   d'autant, la figure garde sa taille */
:lang(en) .page-accueil .o-pas-1 h1 { margin-top: 20px; }
:lang(en) .page-accueil .tel-sous { margin-top: 12px; }
:lang(en) .page-accueil .o-collant { margin-top: 22px; }

/* Analyse : les deux états de la figure, chacun ramené à l'essentiel */
/* Sa case prend la hauteur du plus haut de ses deux états, posés l'un sur l'autre : passer de l'un
   à l'autre ne déplace rien, et rien n'est rogné sur un écran étroit, où le compte passe sur deux
   lignes. L'état « chiffres » ne s'affiche pas ici : le pont de l'EBE a sa section plus bas. */
.page-analyse .o-collant { height: auto; min-height: 244px; }
.o-collant .dr-zoom { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; height: auto; }
.dr-zoom .z-tete { min-height: 44px; }
.o-collant .dr-zoom .dz-corps { grid-area: 2 / 1; min-height: 0; margin-top: 12px; }
.o-collant .dr-zoom .dz-corps[hidden] { display: block; visibility: hidden; }
.o-collant .dr-zoom .dz-corps[data-pour="chiffres"] { display: none; }
/* Sans le script de la page, aucun état n'est caché : seul le premier se montre, celui que son
   compte annonce */
html:not(.tel-js) .o-collant .dr-zoom .dz-corps:not([data-pour="pieces"]) { display: none; }
/* Les pièces : six classes sur deux colonnes ; seules les manquantes disent leur état */
.dz-classes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 22px; border-top: 0; }
.dz-classes li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--c-second); }
.dz-classes em { display: none; }
.dz-classes em.dz-manque { display: block; grid-column: 1 / -1; margin-top: 0; font-size: var(--c-legende); font-weight: 500; }
.dz-pied { display: none; }
/* La décision : le verdict, l'écart de prix, un point */
.dz-verdict span { min-height: 44px; font-size: var(--c-second); }
.dz-ech-l { font-size: var(--c-legende); }
.dz-points { margin-top: 12px; }
.dz-points li { display: block; padding: 10px 0; font-size: var(--c-second); line-height: 1.45; }
.dz-points li:nth-child(n+2) { display: none; }
.dz-points b { display: block; margin-bottom: 2px; font-size: 13px; }

/* ---------- 3 bis · L'accueil : trois preuves, une par écran ---------- */
/* Après l'ouverture viennent trois preuves, chacune avec son titre, une phrase et une figure
   redessinée pour 345 px : l'extrait de la pièce et la ligne que le client en reçoit, le début de la
   lettre, le suivi en cinq lignes. Les sections de l'ordinateur qu'elles remplacent (les pièces en
   onglets, la lettre et son enveloppe, le tableau du suivi, la note de recherche) ne s'affichent
   pas ici ; ce que la page ajoute pour le téléphone porte l'attribut hidden, levé plus bas. Les
   trois figures suivent la scène du pays, comme la carte : telephone.js les remplit depuis
   window.SCENE. */
.page-accueil #actes, .page-accueil #lettre, .page-accueil #approches, .page-accueil .recherche { display: none; }

/* Les trois preuves */
.tel-recit[hidden] { display: block !important; }
.tel-recit { padding: 0 var(--g); }
.tel-bloc { padding-top: var(--sec); }
.tel-ligne { margin-top: 12px; max-width: 33ch; font-size: var(--c-chapeau); line-height: 1.5; color: var(--ink-2); }
.tf { position: relative; width: 100%; margin: 34px 0 0; }
.tf figcaption { margin-top: 12px; font-size: var(--c-legende); color: var(--ink-3); }
.tf-piece figcaption { margin-top: 36px; }

/* La pièce : l'extrait surligné, et la ligne que le client en reçoit, posée dessus. Le tampon tombe
   sur le coin bas de cette ligne : à cheval sur le papier, il couvrait le texte surligné dès que la
   dernière ligne de l'extrait était longue (écrans larges, scènes étrangères). */
.tf-piece { padding-top: 10px; }
.tf-papier {
  position: relative; margin: 0 20px 0 0; padding: 16px 18px 34px; border-radius: 2px; color: #2b2a27;
  font-family: "PT Serif Diligeo", Georgia, serif; font-size: 14px; line-height: 1.55; letter-spacing: 0;
  background: #fbfaf5; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 14px 26px -16px rgba(0, 0, 0, 0.35); transform: rotate(-0.6deg);
}
.tf-p-titre { margin-bottom: 8px; overflow: hidden; font-size: var(--c-legende); font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.tf-papier p + p { margin-top: 6px; }
.tf-papier table { width: 100%; border-collapse: collapse; }
.tf-papier td { padding: 4px 0; }
.tf-papier td:last-child { padding-left: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.tf-papier mark { color: inherit; padding: 0 1px; background: linear-gradient(180deg, transparent 6%, #fde68a 6%, #fde68a 94%, transparent 94%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Sans le script, chaque figure montre son état final ; avec lui, elle part de son état de départ
   et se joue quand elle paraît (classe vu) */
.tel-js .tf:not(.vu) .tf-papier mark { background-size: 0% 100%; }
.tel-js .tf.vu .tf-papier mark { transition: background-size 560ms var(--ease) 250ms; }
.tel-js .tf.vu .tf-papier mark ~ mark { transition-delay: 640ms; }
.tel-js .tf.vu .tf-papier p + p mark, .tel-js .tf.vu .tf-papier tr + tr mark { transition-delay: 1030ms; }
.tf-fiche {
  position: relative; margin: -20px 0 0 22px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  box-shadow: 0 18px 32px -24px rgba(17, 19, 23, 0.5);
}
.tel-js .tf:not(.vu) .tf-fiche { opacity: 0; transform: translateY(10px); }
.tel-js .tf.vu .tf-fiche { transition: opacity 420ms ease 1600ms, transform 620ms var(--ease) 1600ms; }
.tf-tampon {
  position: absolute; z-index: 1; right: 14px; bottom: -24px; padding: 5px 9px 4px; border: 2px solid var(--ink); border-radius: 6px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.25; text-align: center; color: var(--ink);
  background: #fff; box-shadow: inset 0 0 0 1.5px #fff, inset 0 0 0 3px rgba(22, 24, 29, 0.35);
  transform: rotate(-7deg); opacity: 0.9;
}
.tel-js .tf:not(.vu) .tf-tampon { opacity: 0; }
.tel-js .tf.vu .tf-tampon { animation: tf-tampon 420ms cubic-bezier(0.34, 1.56, 0.64, 1) 2050ms both; }
@keyframes tf-tampon { from { transform: rotate(-7deg) scale(1.6); opacity: 0; } to { transform: rotate(-7deg) scale(1); opacity: 0.9; } }
.tf-nom { font-size: var(--c-texte); font-weight: 620; letter-spacing: -0.015em; }
.tf-ville { font-size: var(--c-legende); color: var(--ink-3); }
.tf-fait { margin-top: 6px; font-size: var(--c-second); line-height: 1.4; }
/* La ligne de source laisse au tampon le coin où il tombe */
.tf-src { margin-top: 7px; padding-right: 136px; font-size: var(--c-legende); line-height: 1.4; color: var(--ink-3); }

/* La lettre : son début, écrit à la main ; le bas de la feuille s'efface */
.tf-cadre { height: 248px; overflow: hidden; padding: 8px 8px 0 4px; -webkit-mask-image: linear-gradient(#000 74%, transparent 98%); mask-image: linear-gradient(#000 74%, transparent 98%); }
.tf-lettre .feuille { width: 100%; padding: 22px 18px 40px 24px; font-size: 17.5px; line-height: 1.72; transform: rotate(-1deg); box-shadow: 0 1px 3px rgba(40, 30, 20, 0.22), 0 18px 32px -20px rgba(0, 0, 0, 0.4); }
.tf-lettre figcaption { margin-top: 2px; }

/* Le suivi : une ligne par société, dont l'étape change sous les yeux */
.tf-suivi ul { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.tf-suivi li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); transition: background-color 600ms ease; }
.tf-suivi li:last-child { border-bottom: 0; }
.tf-suivi b { overflow: hidden; font-size: var(--c-second); font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; text-overflow: ellipsis; }
.tf-suivi li span { padding: 4px 9px; border-radius: 5px; background: #eef0f4; font-size: var(--c-legende); font-weight: 540; line-height: 1.3; white-space: nowrap; color: var(--ink); }
.tf-suivi li[data-e="a"] span { background: none; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.tf-suivi li[data-e="r"] span { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tf-suivi li[data-e="v"] span { background: var(--ink); color: #fff; }
.tf-suivi li.bouge { background: var(--fond); }
.tf-suivi li.bouge span { animation: tf-pop 460ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes tf-pop { from { transform: scale(0.82); opacity: 0.2; } to { transform: none; opacity: 1; } }

/* ---------- 4 · Les ponts de l'EBE, redessinés en lignes ---------- */
/* Six colonnes de 50 px ne se lisent pas : chaque étape devient une ligne, son libellé entier à
   gauche, son montant à droite, sa barre dessous sur un rail à l'échelle commune (0 à 900 k€). */
.dz-pont, .pont { grid-template-columns: minmax(0, 1fr); gap: 0; height: auto; }
.dz-pont { margin: 0 0 4px; }
.pont { margin: 4px 16px 6px; }
.dz-b, .pb { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lib val" "barre barre"; gap: 4px 12px; align-items: baseline; padding: 6px 0 8px; border-top: 1px solid var(--line); background: linear-gradient(#eef0f3, #eef0f3) left 0 bottom 8px / 100% 6px no-repeat; }
.dz-b:first-child, .pb:first-child { border-top: 0; }
.dz-pont .dz-b::before, .pont .pb::before { content: none; }
.dz-b em, .pb em { grid-area: lib; position: static; margin: 0; text-align: left; font-size: var(--c-second); line-height: 1.3; color: var(--ink); }
.pb em::after { content: none; }
.dz-b > span, .pb > span { grid-area: val; position: static; text-align: right; font-size: var(--c-second); font-weight: 560; }
.dz-b i, .pb i { grid-area: barre; position: static; display: block; height: 6px; min-width: 10px; width: calc(var(--h) / 900 * 100%); margin-left: calc(var(--bas) / 900 * 100%); border-radius: 2px; transform-origin: left center; }
.dz-total em, .pb-total em, .dz-total > span, .pb-total > span { font-weight: 640; }
.pb i { transform: scaleX(0); }
.vu .pb i { transform: none; transition: transform 520ms var(--ease); }
.vu .dz-b i { animation-name: tel-barre; }
@keyframes tel-barre { from { transform: scaleX(0); } to { transform: none; } }
.pb:nth-child(2) i, .pb:nth-child(2) > span { transition-delay: 90ms !important; }
.pb:nth-child(3) i, .pb:nth-child(3) > span { transition-delay: 180ms !important; }
.pb:nth-child(4) i, .pb:nth-child(4) > span { transition-delay: 270ms !important; }
.pb:nth-child(5) i, .pb:nth-child(5) > span { transition-delay: 360ms !important; }
.pb:nth-child(6) i, .pb:nth-child(6) > span { transition-delay: 480ms !important; }
.dr-leg { padding: 12px 16px 14px; font-size: var(--c-legende); }

/* ---------- 5 · Page Analyse : les preuves, une par écran ---------- */
/* Même forme que sur l'accueil : un titre, une phrase (p.tel-ligne, la phrase longue reste à
   l'ordinateur), une figure, sans panneau sombre. La pièce reprend le dessin de l'accueil ; le
   pont de l'EBE et la dette tiennent en deux cartes ; la couverture de la dette est une carte
   claire ; les livrables sont trois lignes de texte. */
.rang, .dr-chiffres, .dr-livrables { padding: var(--sec) 0 0; }
.rang-grille, .rang-inverse .rang-grille { gap: 0; }
.appr-tete { display: block; }
.appr-tete h2 { max-width: none; }
.page-analyse .ligne, .page-analyse .ligne-2, .page-analyse .liv-c p:not(.tel-ligne) { display: none; }
.tel-ligne[hidden] { display: block !important; }
.eq-contact .ligne { margin-top: 16px; font-size: var(--c-chapeau); line-height: 1.55; max-width: none; }
.rang .panneau { margin: 34px 0 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.dr-deux { display: block; margin-top: 34px; }

/* La pièce : l'extrait surligné sur son papier, la ligne du rapport posée dessus. Le tampon tombe
   sur le coin bas de cette ligne : à cheval sur le papier, il couvrait le montant surligné. Une
   seule pièce, la première : les deux autres restent à l'ordinateur. */
.actes { border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.a-onglets { display: none; }
.a-piece { display: block; padding-top: 10px; }
.papier { position: relative; margin: 0 20px 0 0; padding: 16px 18px 34px; border-radius: 2px; font-size: 14px; line-height: 1.55; background: #fbfaf5; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 14px 26px -16px rgba(0, 0, 0, 0.35); transform: rotate(-0.6deg); }
.p-entete { max-height: 1.55em; margin-bottom: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: var(--c-legende); }
.papier .p-titre, .papier .p-pied { display: none; }
.papier p:not(.p-entete):not(:has(mark)) { display: none; }
.papier table { margin-top: 0; font-size: 14px; }
.papier td { padding: 4px 0; }
.papier tr:not(:has(mark)):not(:first-child) { display: none; }
.papier td:last-child, .papier td:last-child mark { white-space: nowrap; }
/* Sous 382 px, deux cellules insécables côte à côte poussaient la page de côté */
#pieces .papier td:first-child { white-space: normal; }
.a-fiche, #pieces .a-fiche {
  position: relative; display: block; margin: -20px 0 0 22px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; box-shadow: 0 18px 32px -24px rgba(17, 19, 23, 0.5);
}
.a-dans { font-size: var(--c-legende); font-weight: 450; color: var(--ink-3); }
.fm-nom { margin-top: 1px; font-size: var(--c-texte); font-weight: 620; }
.fm-ville, .fm-these { display: none; }
#pieces .a-fait { margin-top: 6px; font-size: var(--c-second); font-weight: 450; letter-spacing: 0; line-height: 1.4; }
.a-src { margin-top: 7px; padding-right: 136px; font-size: var(--c-legende); line-height: 1.4; }
.fm-tampon { position: absolute; z-index: 1; right: 14px; top: auto; bottom: -12px; margin: 0; font-size: 13px; background: #fff; }
.a-piece.vu .a-fait { transition-delay: 350ms; }
.a-piece.vu .fm-tampon { animation-delay: 750ms; }
.actes-note { margin-top: 20px; font-size: var(--c-legende); color: var(--ink-3); }

/* Ce qu'elle gagne, ce qu'elle doit : le pont en lignes, et dessous la dette nette en une ligne */
.dr-carte .t-haut { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
.t-haut .t-titre { font-size: var(--c-second); line-height: 1.3; }
.dr-leg { display: none; }
.dr-deux .dr-carte + .dr-carte { margin-top: 10px; }
.dr-deux .dr-carte + .dr-carte .t-haut, .dette tr:not(.tot), .dette-plus { display: none; }
.dette { font-size: var(--c-second); }
.dette .tot th, .dette .tot td { padding: 12px 14px; font-size: var(--c-texte); background: #fff; }
.dette .tot th span { font-size: var(--c-legende); }
.dette .tot td::after, .dette .tot th span::after { content: "\202F k€"; }
/* En anglais la page écrit ses montants « €698k » : la dette nette suit, et la ligne du cédant reste
   telle qu'à l'ordinateur */
:lang(en) .dette .tot td::before { content: "€"; }
:lang(en) .dette .tot td::after { content: "k"; }
:lang(en) .dette .tot th span::after { content: none; }

/* La couverture de la dette : mêmes courbes, graduations et repères à un corps lisible. Le tableau
   réservé aux lecteurs d'écran poussait la page de côté sous 382 px : sa carte le borne. */
.dscr { position: relative; }
.dscr-zone { padding: 18px 36px 0 8px; }
.ds-axe, .ds-lab { font-size: 25px; }
.ds-axe[text-anchor="middle"] { font-family: var(--font); }
.ds-ligne { stroke-width: 3; }
.ds-pt { r: 6px; stroke-width: 2.5; }
.ds-cible { pointer-events: none; }
.dscr-leg { display: grid; gap: 6px; padding: 12px 16px 16px; font-size: var(--c-legende); }

/* Ce que vous recevez : trois livrables, un titre et une ligne chacun. Leurs miniatures répétaient
   le pont de l'EBE et le verdict : elles restent à l'ordinateur. */
.liv { display: grid; gap: 26px; margin-top: 30px; border-top: 0; }
.liv-c, .liv-c + .liv-c { padding: 0; border: 0; }
.liv-doc { display: none; }
.liv-c h3 { margin-top: 0; font-size: var(--c-bloc); }
.liv-c .tel-ligne { margin-top: 6px; max-width: none; font-size: var(--c-texte); }

/* ---------- 6 · Les sélecteurs à trois choix : trois lignes par choix ---------- */
/* « Selon votre façon de reprendre » sur l'accueil, « Selon où en est votre reprise » sur la page
   Analyse : le choix, puis ce que Diligeo apporte, en trois lignes. Le volet de gauche de
   l'ordinateur (« D'habitude », « Vos pièces ») ne s'affiche pas. */
.profils2 { margin-top: var(--sec); padding: 0; border: 0; background: none; }
.p-onglets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; width: 100%; margin-top: 28px; padding: 3px; }
.p-onglets button { min-height: 58px; padding: 6px 6px; font-size: 14px; line-height: 1.22; text-wrap: balance; }
.p-panneau { margin-top: 28px; border: 0; border-radius: 0; background: none; overflow: visible; }
.p-avant, .p-l { display: none; }
.p-apres { padding: 0; }
.p-apres ul { gap: 16px; }
.p-lien { justify-content: center; width: auto; min-height: 48px; margin-top: 24px; padding: 0 20px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: var(--c-texte); text-decoration: none; }

/* ---------- 7 · La fin, les questions ---------- */
.fin { padding: var(--sec) 0 0; }
.panneau-fin { padding: 48px 22px 44px; border-radius: 16px; }
.panneau-fin h2 { margin-bottom: 14px; }
.fin-delai { margin: 0 auto 28px; max-width: 30ch; font-size: var(--c-texte); }
.panneau-fin .btn { min-height: 52px; padding: 0 30px; font-size: var(--c-texte); }
.faq { padding: var(--sec) 0 0; }
.faq-grille { gap: 16px; }
.faq summary { padding: 20px 40px 20px 0; }
.faq details p { font-size: var(--c-texte); line-height: 1.6; }

/* ---------- 8 · Tarifs ---------- */
.tf-haut { padding: 36px 0 28px; }
.tf-haut .sous { margin-top: 18px; }
.tf-grille { padding: 12px 0 0; }
.page-tarifs h2 { font-size: var(--c-bloc); }
.page-tarifs .tf-bloc h2 { font-size: var(--c-section); }
.tf-tarifs { gap: 22px; }
.tf-pts { min-width: 0; }
.tf-ligne { font-size: var(--c-chapeau); }
.tf-aide, .tarifs-note { font-size: var(--c-second); }
.tarifs-note { margin-top: 28px; }
.tf-prix small { font-size: var(--c-legende); }
.tf-bloc { padding: var(--sec) 0 0; }
.page-tarifs .tf-bloc:last-child { padding-bottom: 0; }
.tf-liste li { padding: 22px 0; }
.tf-liste h3 { font-size: var(--c-chapeau); }
.tf-liste p { margin-top: 8px; font-size: var(--c-texte); }
.tf-liste p a { display: flex; align-items: center; min-height: 44px; margin-top: 2px; }
/* L'action de fin de page, que la barre du haut ne porte plus sur téléphone. L'attribut hidden la
   tient hors de l'ordinateur sans une règle de plus ; formulaire.css verrouille hidden par
   !important, d'où ceux de cette feuille. */
.tel-action[hidden] { display: block !important; padding: 40px 0 0; }
.tel-action .btn { width: 100%; min-height: 54px; font-size: var(--c-texte); }

/* ---------- 9 · Équipe ---------- */
.eq-haut { padding: 36px 0 28px; }
.eq-fondateur { padding: 0; }
.eq-fiche { grid-template-columns: 92px minmax(0, 1fr); gap: 4px 16px; padding: 20px; align-items: center; }
.eq-corps { display: contents; }
.eq-portrait { grid-row: 1 / span 2; width: 92px; height: 92px; }
.eq-corps h2 { align-self: end; font-size: var(--c-section); }
.eq-role { align-self: start; margin: 0; font-size: var(--c-texte); }
.eq-registre { grid-column: 1 / -1; margin: 16px 0 0; padding: 0; background: none; font-family: var(--font); font-size: var(--c-second); letter-spacing: -0.011em; }
.eq-corps p.eq-citation:not(.eq-role):not(.eq-registre) { grid-column: 1 / -1; margin-top: 10px; font-size: var(--c-texte); }
.eq-cercle { padding: var(--sec) 0 0; }
.eq-trois { margin-top: 24px; }
.eq-trois li, .eq-trois li + li { padding: 22px 0 18px; }
.eq-trois h3 { font-size: var(--c-bloc); }
.eq-trois p { font-size: var(--c-texte); }
.eq-trois li:last-child { border-bottom: 0; }
.eq-engagements { padding: var(--sec) 0 0; }
/* Panneau de texte : sans les courbes de niveau, qui passeraient sous les lignes */
.eq-panneau { padding: 34px 22px 14px; border-radius: 16px; background-image: none; }
.eq-dl { margin-top: 22px; gap: 0; border-radius: 0; background: none; }
.eq-dl > div { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); background: transparent; }
.eq-dl dt { font-size: var(--c-chapeau); }
.eq-dl dd { margin-top: 6px; font-size: var(--c-second); line-height: 1.55; }
.eq-contact { padding: var(--sec) 0 0; }
.eq-contact-grille { gap: 28px; }
.eq-moyens { justify-items: stretch; width: 100%; }
.eq-moyens p a { display: flex; justify-content: center; min-height: 52px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: var(--c-chapeau); text-decoration: none; }

/* ---------- 10 · Rendez-vous, formulaire, mentions ---------- */
.rv { padding: 36px 0 24px; }
.rv-feuille { margin-top: 32px; }
.rv-contact { padding-top: 40px; }
.rv-contact-titre, .rv-repli { font-size: var(--c-second); }
.rv-contact-titre { margin-bottom: 12px; }
.rv-contact p:not(.rv-contact-titre):not(.rv-repli) a { display: flex; justify-content: center; align-items: center; min-height: 52px; padding: 0; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: var(--c-chapeau); font-weight: 560; }
.rv-contact p:not(.rv-contact-titre):not(.rv-repli) + p:not(.rv-repli) { margin-top: 10px; }
.rv-repli { margin-top: 22px; }
.df-onboarding { padding: 20px 16px 8px; }
.df-onboarding h1, .df-appel .df-appel-titre, .step h2 { font-size: var(--c-section); }
.lede, .df-appel .df-appel-texte { font-size: var(--c-chapeau); }
.d-engagements { font-size: var(--c-second); line-height: 1.75; }
.d-engagements a { padding: 12px 0; color: var(--ink); text-decoration-color: currentColor; }
/* La page d'entrée anglaise (en/get-started) : ses deux liens seuls prennent la hauteur d'un doigt */
.gs-lien { display: inline-flex; align-items: center; min-height: 44px; }
.legal { padding-top: 36px; padding-bottom: 0; }
.legal h1 { font-size: var(--c-page); }
.legal h2 { margin-top: 56px; font-size: var(--c-section); }
.legal h3 { font-size: var(--c-bloc); }
/* Sur 345 px de large, le texte justifié ouvre des blancs entre les mots : au fer à gauche ici */
.legal p, .legal li { text-align: left; -webkit-hyphens: manual; hyphens: manual; }

/* ---------- 11 · Le pied : une zone à part ---------- */
/* Retour de Hugues du 13-11 : écrit au même corps que les questions fréquentes et séparé par les
   mêmes filets, le pied se lisait comme leur suite. C'est une zone teintée, la marque en tête, des
   liens en petit corps sur deux colonnes, sans filet : rien qui ressemble à une question. Chaque
   lien garde 44 px de haut. */
.pied { margin-top: var(--sec); padding: 26px 0 calc(var(--tel-bas) + 26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--fond); font-size: var(--c-legende); line-height: 1.55; }
.page-rdv + .pied, .df-onboarding ~ .pied { margin-top: 40px; padding-bottom: 26px; }
.pied-tel[hidden] { display: block !important; margin-bottom: 10px; }
.pied-marque { margin-bottom: 6px; font-size: 18px; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); }
.pied-tel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.pied-tel li:last-child { grid-column: 1 / -1; }
.pied-tel li a { display: flex; align-items: center; min-height: 44px; font-size: var(--c-second); color: var(--ink-2); text-decoration: none; }
.pied-tel ul + p { display: flex; flex-wrap: wrap; gap: 0 24px; }
.pied-tel ul + p a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--c-second); color: var(--ink-2); text-underline-offset: 4px; }
/* Les pages du rendez-vous et de l'équipe se terminent déjà sur l'adresse et le téléphone : elles ne
   les répètent pas au pied. Les pages du formulaire les gardent : celle de la confirmation n'a
   pas d'autre moyen de contact. */
.page-rdv + .pied .pied-tel ul + p, .page-equipe + .pied .pied-tel ul + p { display: none; }
/* Le lien de rendez-vous du pied ne paraît que là où la barre n'existe pas */
.pied-tel .pied-rdv { display: none; }
.df-onboarding ~ .pied .pied-tel .pied-rdv { display: block; }
.pied-o { display: none; }

/* Écrans étroits. En fin de feuille : ces règles doivent passer après celles qu'elles corrigent.
   Sous 390 px, les noms de la carte et les graduations de la couverture de la dette, écrits dans le
   repère de leur dessin, se relèvent pour rester à 13 px à l'écran. */
@media (max-width: 389px) {
  .z-lab { font-size: 18.5px; }
  .ds-axe, .ds-lab { font-size: 28px; }
}

/* Sous 360 px de large (petits Android, anciens iPhone) */
@media (max-width: 359px) {
  .z-lab { font-size: 21px; }
  .ds-axe, .ds-lab { font-size: 32.5px; }
  .tf-fiche { margin-left: 12px; }
  .tf-papier { margin-right: 10px; }
  /* Les deux tampons quittent leur coin : sur l'accueil il ouvre la ligne reçue, sur la page Analyse
     il la ferme, et la ligne de source reprend toute la largeur */
  .tf-tampon { position: static; display: inline-block; margin: 0 0 10px; }
  .tf-src, .a-src { padding-right: 0; }
  .tf-piece figcaption { margin-top: 12px; }
  .fm-tampon { position: static; display: inline-block; margin: 12px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rdv { transition: none; }
  .o-collant .zoom, .o-collant .trame-zoom { transition: none !important; }
  .tf-fiche, .tf-papier mark, .tf-suivi li { transition: none !important; }
  .tf-tampon, .tf-suivi li.bouge span { animation: none !important; }
  .vu .pb i, .feuille.anim.ecrit .l { transition: none !important; }
}

}
