/* IMONAH Estimation — feuille de style de la plateforme (refonte du 13/10/2026).
   Interface standard pour tous les comptes : la marque du client n'habille que le rapport et son aperçu.
   Langage visuel : fond clair, cartes blanches à bords doux, ombres profondes et diffuses, typographie large
   et serrée, vert IMONAH pour les commandes, or en touche. Police : Fraunces (SIL OFL) partout depuis le
   13/10/2026 (nuit) ; voir le bloc « finition épurée » en fin de feuille. */
@font-face { font-family: "Fraunces"; font-weight: 300; src: url("/polices/fraunces-latin-300-normal.woff2"); }

:root {
  --encre: #121417; --texte: #2B2F34; --gris: #6B7076; --gris-clair: #9DA2A8;
  --filet: rgba(18, 20, 23, .08); --filet-fort: rgba(18, 20, 23, .14); --fond: #FAFAF8; --blanc: #FFFFFF;
  --surface: #F3F4F1; --surface-2: #EBEDE8;
  --vert: #2E4940; --vert-fonce: #22372F; --vert-doux: #E6EEE9; --vert-texte: #22372F; --vert-lueur: rgba(46, 73, 64, .18);
  --or: #C9A24B; --or-doux: #FBF4E3; --rouge: #B3412E; --rouge-doux: #FBEDEA; --ok: #2F7D4F; --ok-doux: #E6F3EB;
  --r-s: 10px; --r-m: 14px; --r-l: 20px; --r-xl: 28px;
  --ombre-1: 0 1px 2px rgba(18, 20, 23, .05), 0 1px 1px rgba(18, 20, 23, .03);
  --ombre-2: 0 2px 4px rgba(18, 20, 23, .04), 0 16px 40px -20px rgba(18, 20, 23, .25);
  --ombre-3: 0 4px 10px rgba(18, 20, 23, .05), 0 32px 64px -28px rgba(18, 20, 23, .35);
  --anneau: 0 0 0 4px var(--vert-lueur);
  --marque: var(--vert);              /* couleur du client : seulement l'aperçu de page de garde */
  --ressort: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--serif); font-size: 15.5px; line-height: 1.6; color: var(--texte);
  background: var(--fond); -webkit-font-smoothing: antialiased; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 12% -10%, rgba(46, 73, 64, .10), transparent 60%),
              radial-gradient(700px 420px at 95% 0%, rgba(201, 162, 75, .12), transparent 60%); }
a { color: var(--vert); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--encre); font-weight: 700; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.8rem); letter-spacing: -0.025em; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.25; }
p { margin: 0 0 1em; }
.muet { color: var(--gris); }
.petit { font-size: .875rem; }
.sur { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); font-weight: 600; margin: 0 0 .7rem; }
.sur .pastille { margin-left: 8px; vertical-align: middle; }
strong { color: var(--encre); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--filet); margin: 32px 0; }
::selection { background: var(--vert-doux); }

/* ----------------------------------------------------------------------- structure */
.barre { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 28px; height: 64px; background: rgba(250, 250, 248, .78); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--filet); }
.barre .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); }
.barre .logo img, .barre .logo svg { height: 26px; display: block; }
.barre .logo span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); font-weight: 600; padding-left: 10px; border-left: 1px solid var(--filet-fort); line-height: 1; }
.barre nav { display: flex; gap: 4px; align-items: center; font-size: .9rem; }
.barre nav a, .barre nav button.lien { text-decoration: none; color: var(--texte); padding: 8px 14px; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 500; transition: background .15s, color .15s; }
.barre nav a:hover, .barre nav button.lien:hover { background: var(--surface-2); color: var(--encre); }
.barre nav a.actif { background: var(--encre); color: #fff; }
.barre form { margin: 0; }
.barre button.lien { background: none; border: 0; cursor: pointer; color: var(--gris); }
.barre nav .bouton { margin-left: 8px; }
.barre .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--vert-doux); color: var(--vert-texte); display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; margin-left: 10px; letter-spacing: .02em; }
main { max-width: 720px; margin: 0 auto; padding: 48px 24px 120px; }
main.large { max-width: 1120px; }
main.etroit { max-width: 520px; }
.pied { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; text-align: center; color: var(--gris); font-size: .8rem; padding: 28px 20px; border-top: 1px solid var(--filet); }
.pied a { color: var(--gris); }
.tete-page { margin-bottom: 34px; }
.tete-page h1 { margin-bottom: .25em; }
.tete-page .sous { color: var(--gris); font-size: 1.06rem; max-width: 46em; line-height: 1.55; }
.tete-page .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--gris); font-size: .9rem; margin-top: 10px; }
.tete-page.avec-action { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tete-page.avec-action > div:first-child { max-width: 60ch; }

/* ----------------------------------------------------------------------- boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px;
  border: 1px solid var(--vert-fonce); background: linear-gradient(180deg, #3A5A4F, var(--vert)); color: #fff; font: inherit; font-size: .95rem; font-weight: 600;
  cursor: pointer; text-decoration: none; min-height: 46px; white-space: nowrap; transition: transform .15s var(--ressort), box-shadow .15s, filter .15s;
  box-shadow: 0 1px 1px rgba(18,20,23,.1), inset 0 1px 0 rgba(255,255,255,.12); }
.bouton:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(46,73,64,.6), inset 0 1px 0 rgba(255,255,255,.12); }
.bouton:active { transform: translateY(0); }
.bouton:focus-visible { outline: none; box-shadow: var(--anneau); }
.bouton.second { background: var(--blanc); color: var(--encre); border-color: var(--filet-fort); box-shadow: var(--ombre-1); }
.bouton.second:hover { background: var(--blanc); border-color: var(--gris-clair); box-shadow: var(--ombre-2); }
.bouton.discret { background: transparent; border-color: transparent; color: var(--gris); box-shadow: none; }
.bouton.discret:hover { background: var(--surface-2); color: var(--encre); transform: none; box-shadow: none; }
.bouton.sombre { background: var(--encre); border-color: var(--encre); }
.bouton.large { width: 100%; }
.bouton.grand { padding: 15px 28px; min-height: 54px; font-size: 1.02rem; border-radius: 14px; }
.bouton.compact { padding: 8px 14px; min-height: 38px; font-size: .875rem; border-radius: 10px; }
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.bouton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.lien-retour { display: inline-flex; align-items: center; gap: 6px; color: var(--gris); text-decoration: none; font-size: .9rem; margin-bottom: 16px; }
.lien-retour:hover { color: var(--encre); }
.lien-retour svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ----------------------------------------------------------------------- formulaires */
label { display: block; font-weight: 600; color: var(--encre); margin: 20px 0 7px; font-size: .95rem; }
label .aide { display: block; font-weight: 400; color: var(--gris); font-size: .85rem; margin-top: 2px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=url], textarea, select {
  width: 100%; padding: 13px 15px; font: inherit; border: 1px solid var(--filet-fort); border-radius: var(--r-s); background: var(--blanc);
  color: var(--encre); transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: var(--gris-clair); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--vert); box-shadow: var(--anneau); }
textarea { min-height: 190px; resize: vertical; line-height: 1.6; }
input[type=file] { width: 100%; padding: 12px; border: 1px dashed var(--filet-fort); border-radius: var(--r-s); background: var(--surface); font: inherit; font-size: .9rem; color: var(--gris); }
input[type=color] { width: 100%; height: 48px; border: 1px solid var(--filet-fort); border-radius: var(--r-s); background: var(--blanc); padding: 4px; }
.erreur { background: var(--rouge-doux); color: var(--rouge); padding: 12px 16px; border-radius: var(--r-s); margin: 0 0 18px; font-size: .95rem; }
.ok { background: var(--ok-doux); color: var(--ok); padding: 12px 16px; border-radius: var(--r-s); margin: 0 0 18px; font-size: .95rem; }
.ok a { color: inherit; }
.ligne { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .ligne { grid-template-columns: 1fr; } }
.case { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 20px; font-size: .9rem; color: var(--texte); }
.case input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--vert); }
/* 23/10/2026 (retour de Guillaume) : le texte d'une case est UN bloc (sinon chaque lien devient une colonne) ;
   une case par ligne, case alignée sur la première ligne du texte */
.case input { flex: none; margin-top: 2px; }
.case > span { flex: 1 1 auto; min-width: 0; line-height: 1.5; }
.case > span a { color: var(--vert); text-underline-offset: 3px; }
.cases { margin-top: 18px; display: grid; gap: 10px; }
.cases .case { margin-top: 0; }
.ou { display: flex; align-items: center; gap: 12px; color: var(--gris-clair); font-size: .72rem; margin: 22px 0 8px; text-transform: uppercase; letter-spacing: .2em; }
.ou::before, .ou::after { content: ""; flex: 1; height: 1px; background: var(--filet); }
.attente { display: none; margin-top: 12px; color: var(--gris); font-size: .9rem; }
form.en-cours .attente { display: block; }
form.en-cours .bouton { opacity: .6; pointer-events: none; }
.micro.actif { color: var(--rouge); border-color: var(--rouge); }

/* ----------------------------------------------------------------------- cartes, encadrés, pastilles */
.carte { display: block; padding: 26px 28px; border: 1px solid var(--filet); border-radius: var(--r-l); background: var(--blanc);
  box-shadow: var(--ombre-2); text-decoration: none; color: inherit; }
.carte.douce { background: var(--surface); box-shadow: none; }
.carte h3 { margin-bottom: 6px; }
.cartes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
a.carte, button.carte { transition: transform .2s var(--ressort), box-shadow .2s, border-color .2s; }
a.carte:hover, button.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-3); border-color: var(--filet-fort); }
.carte.choix-carte { text-align: left; cursor: pointer; font: inherit; position: relative; padding: 30px 30px 28px; }
.carte.choix-carte .fleche { position: absolute; right: 24px; top: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--encre); transition: background .2s, transform .2s; }
.carte.choix-carte:hover .fleche { background: var(--vert); color: #fff; transform: translateX(3px); }
.carte.choix-carte .fleche svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carte.choix-carte p { margin: 0; color: var(--gris); font-size: .95rem; line-height: 1.55; }
.carte.choix-carte h3 { font-size: 1.3rem; margin: 18px 0 8px; }
.carte.choix-carte .ico.grand { width: 52px; height: 52px; border-radius: 16px; }
.carte.choix-carte .ico.grand svg { width: 24px; height: 24px; }
.carte.choix-carte .duree { display: inline-block; margin-top: 16px; font-size: .78rem; color: var(--gris); background: var(--surface); padding: 4px 10px; border-radius: 999px; }
.encadre { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-m); background: var(--surface); border: 1px solid transparent; font-size: .9rem; color: var(--texte); margin: 20px 0; }
.encadre p { margin: 0; }
.encadre p + p { margin-top: 6px; }
.encadre strong { display: block; font-size: .92rem; margin-bottom: 2px; }
.encadre .ico { flex: 0 0 28px; height: 28px; border-radius: 8px; background: var(--blanc); color: var(--vert); display: flex; align-items: center; justify-content: center; box-shadow: var(--ombre-1); }
.encadre.conseil { background: var(--or-doux); }
.encadre.conseil .ico { color: #8C6A1F; }
.encadre.alerte { background: var(--rouge-doux); }
.encadre.alerte .ico { color: var(--rouge); }
.ico svg, .g-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.grand { width: 44px; height: 44px; border-radius: 14px; background: var(--vert-doux); color: var(--vert); display: inline-flex; align-items: center; justify-content: center; }
.ico.grand svg { width: 20px; height: 20px; }
.ico.or { background: var(--or-doux); color: #8C6A1F; }
.pastille { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--texte); white-space: nowrap; }
.pastille::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; }
.pastille.brouillon { background: var(--or-doux); color: #8C6A1F; }
.pastille.a_valider { background: #EAF0FA; color: #2F4F86; }
.pastille.valide, .pastille.ok, .pastille.pdf_final { background: var(--ok-doux); color: var(--ok); }
.pastille.archive { background: var(--surface-2); color: var(--gris); }
.pastille.neutre::before { display: none; }

/* ----------------------------------------------------------------------- fil d'étapes, progression */
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: fil; }
.fil li { display: flex; align-items: center; gap: 8px; color: var(--gris-clair); font-size: .82rem; font-weight: 500; white-space: nowrap; }
.fil li::before { counter-increment: fil; content: counter(fil); display: inline-flex; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--filet-fort);
  align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: var(--gris); background: var(--blanc); }
.fil li:not(:last-child) { padding-right: 24px; position: relative; }
.fil li:not(:last-child)::after { content: ""; position: absolute; right: 7px; top: 50%; width: 10px; height: 1.5px; background: var(--filet-fort); }
.fil li.fait { color: var(--gris); }
.fil li.fait::before { content: "✓"; background: var(--vert); border-color: var(--vert); color: #fff; }
.fil li.actif { color: var(--encre); font-weight: 600; }
.fil li.actif::before { border-color: var(--vert); color: var(--vert); box-shadow: var(--anneau); }
.progression { height: 6px; background: var(--surface-2); border-radius: 3px; margin: 0 0 10px; overflow: hidden; }
.progression i { display: block; height: 100%; background: linear-gradient(90deg, var(--vert), #4C7A69); border-radius: 3px; }
.compteur { font-size: .8rem; color: var(--gris); margin: 0 0 28px; display: flex; justify-content: space-between; }

/* ----------------------------------------------------------------------- questions */
.question-carte { padding: 34px 34px 30px; border-radius: var(--r-xl); }
.question-carte h2 { font-size: 1.6rem; line-height: 1.2; }
.choix { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 18px 0 0; }
.choix button { padding: 15px 14px; border-radius: var(--r-m); border: 1px solid var(--filet-fort); background: var(--blanc); font: inherit; font-weight: 500;
  cursor: pointer; color: var(--encre); text-align: center; min-height: 54px; transition: border-color .12s, background .12s, box-shadow .12s, transform .12s var(--ressort); }
.choix button:hover { border-color: var(--vert); background: var(--vert-doux); color: var(--vert-texte); transform: translateY(-1px); }
.choix button:focus-visible { outline: none; box-shadow: var(--anneau); }
.choix button kbd { display: inline-flex; width: 18px; height: 18px; border-radius: 5px; background: var(--surface-2); color: var(--gris); font: 600 .7rem/1 var(--serif); align-items: center; justify-content: center; margin-right: 8px; vertical-align: middle; }
.choix button:hover kbd { background: var(--blanc); color: var(--vert); }
.choix button.choisi { background: var(--vert); color: #fff; border-color: var(--vert); }
kbd.touche { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.18); font: 600 .75rem/1.4 var(--serif); }
.bouton.second kbd.touche { background: var(--surface-2); color: var(--gris); }
.champ-grand { position: relative; margin-top: 6px; }
.champ-grand input { font-size: 1.3rem; padding: 15px 18px; border-radius: var(--r-m); }
.champ-grand.unite input { padding-right: 84px; text-align: right; font-variant-numeric: tabular-nums; }
.champ-grand .suffixe { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gris); font-weight: 500; }
.boussole { position: relative; width: 240px; height: 240px; margin: 18px auto 8px; border-radius: 50%; border: 1px solid var(--filet); background: radial-gradient(circle, var(--blanc) 0, var(--surface) 72%); box-shadow: inset 0 0 0 36px rgba(255,255,255,.4); }
.boussole .dir { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--filet-fort); background: var(--blanc); font: 600 .85rem/1 var(--serif); color: var(--encre); cursor: pointer; transform: translate(-50%, -50%); transition: background .12s, color .12s, transform .15s var(--ressort); box-shadow: var(--ombre-1); }
.boussole .dir:hover { background: var(--vert); color: #fff; transform: translate(-50%, -50%) scale(1.1); box-shadow: var(--ombre-2); }
.boussole .dir-nord { left: 50%; top: 12%; } .boussole .dir-sud { left: 50%; top: 88%; } .boussole .dir-est { left: 88%; top: 50%; } .boussole .dir-ouest { left: 12%; top: 50%; }
.boussole .dir-nordest { left: 77%; top: 23%; } .boussole .dir-sudest { left: 77%; top: 77%; } .boussole .dir-sudouest { left: 23%; top: 77%; } .boussole .dir-nordouest { left: 23%; top: 23%; }
.boussole .centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--or); }
.boussole .centre svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.dpe-chips { display: flex; gap: 6px; margin: 16px 0 10px; }
.dpe-chips button { flex: 1; padding: 13px 0; border: 0; border-radius: var(--r-s); font: 700 1rem/1 var(--serif); color: #fff; cursor: pointer; transition: transform .12s var(--ressort), filter .12s; }
.dpe-chips button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.dpe-A { background: #2E8B57; } .dpe-B { background: #58A846; } .dpe-C { background: #9CC43C; } .dpe-D { background: #E4C72E; color: #3a3a00 !important; } .dpe-E { background: #EFA030; } .dpe-F { background: #E8702A; } .dpe-G { background: #D83A2B; }
.question-carte form.envoi .bouton { opacity: .6; pointer-events: none; }
.candidats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.candidats button { width: 100%; text-align: left; padding: 15px 18px; border-radius: var(--r-m); border: 1px solid var(--filet-fort); background: var(--blanc); font: inherit; cursor: pointer; transition: border-color .12s, background .12s, transform .12s var(--ressort); }
.candidats button:hover { border-color: var(--vert); background: var(--vert-doux); transform: translateY(-1px); }
.candidats small { display: block; color: var(--gris); margin-top: 2px; }
dl.fiche { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; font-size: .95rem; }
dl.fiche dt { color: var(--gris); }
dl.fiche dd { margin: 0; color: var(--encre); }
.galerie { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 18px 0; }
.galerie figure { margin: 0; position: relative; }
.galerie img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-m); display: block; border: 1px solid var(--filet); }
.galerie figcaption { display: flex; gap: 8px; justify-content: space-between; margin-top: 6px; font-size: .8rem; }
.galerie figcaption form { margin: 0; }
.galerie figcaption button { background: none; border: 0; color: var(--vert); cursor: pointer; font: inherit; font-size: .8rem; padding: 0; }
.galerie .couv { position: absolute; top: 8px; left: 8px; background: var(--or); color: #fff; font-size: .66rem; letter-spacing: .1em; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; font-weight: 600; }
.zone-depot { display: block; padding: 34px 26px; border: 1.5px dashed var(--filet-fort); border-radius: var(--r-l); background: var(--blanc); text-align: center; cursor: pointer; color: var(--gris); font-size: .92rem; transition: border-color .12s, background .12s; }
.zone-depot:hover, .zone-depot.survol { border-color: var(--vert); background: var(--vert-doux); color: var(--vert-texte); }
.zone-depot input { display: none; }
.zone-depot strong { display: block; color: var(--encre); margin-bottom: 4px; font-size: 1.05rem; }
.zone-depot .ico.grand { margin-bottom: 12px; }
.zone-depot.envoi { opacity: .6; }
.reperes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.reperes span { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--filet); color: var(--gris-clair); background: var(--blanc); transition: all .2s; }
.reperes span svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
.reperes span.vu { color: var(--vert-texte); border-color: var(--vert-doux); background: var(--vert-doux); }
.reperes span.vu svg { opacity: 1; }
.provisoire { color: var(--gris-clair); font-style: italic; margin: 6px 2px 0; min-height: 1.4em; }
.pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--rouge); margin-right: 8px; animation: pulse 1.1s ease-in-out infinite; vertical-align: middle; }
@keyframes pulse { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.15); opacity: 1; } }
.progression i.indetermine { width: 40%; animation: indetermine 1.4s ease-in-out infinite; }
@keyframes indetermine { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.attente-etapes p { margin: 10px 0 0; }
.attente-etapes span { font-weight: 600; color: var(--encre); }

/* ----------------------------------------------------------------------- tableau de bord */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0 0 30px; }
.stats div { padding: 18px 20px; border-radius: var(--r-m); background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre-1); }
.stats span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.stats strong { display: block; font-size: 1.8rem; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.grille-dossiers { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.dossier-carte { display: flex; flex-direction: column; border: 1px solid var(--filet); border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-2); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s var(--ressort), box-shadow .2s; }
.dossier-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-3); }
.dossier-carte .visuel { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #EEF2EE, #E1E8E2); position: relative; display: flex; align-items: center; justify-content: center; color: var(--vert); }
.dossier-carte .visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dossier-carte .visuel svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.dossier-carte .visuel .pastille { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); }
.dossier-carte .corps { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dossier-carte .titre { font-weight: 600; color: var(--encre); font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.01em; }
.dossier-carte .meta { font-size: .82rem; color: var(--gris); }
.dossier-carte .avance { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--gris); margin-top: auto; padding-top: 6px; }
.dossier-carte .avance .progression { flex: 1; margin: 0; height: 5px; }
.dossier-carte .reprise { color: var(--vert-texte); font-weight: 600; }
.dossier-carte .cta { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: .9rem; font-weight: 600; color: var(--vert-texte); }
.dossier-carte .cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.dossier-carte:hover .cta svg { transform: translateX(3px); }
.carte-nouveau { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 240px; border: 1.5px dashed var(--filet-fort); border-radius: var(--r-l); background: transparent; text-decoration: none; color: var(--encre); font-weight: 600; transition: border-color .2s, background .2s, transform .2s var(--ressort); }
.carte-nouveau:hover { border-color: var(--vert); background: var(--vert-doux); transform: translateY(-3px); }
.carte-nouveau .plus { width: 52px; height: 52px; border-radius: 50%; background: var(--encre); color: #fff; display: flex; align-items: center; justify-content: center; }
.carte-nouveau .plus svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.carte-nouveau small { color: var(--gris); font-weight: 400; }
.vide { padding: 56px 24px; text-align: center; border: 1.5px dashed var(--filet-fort); border-radius: var(--r-l); color: var(--gris); }
.vide .ico.grand { margin-bottom: 14px; }

/* ----------------------------------------------------------------------- atelier */
main.atelier { max-width: 1180px; }
.atelier-grille { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.atelier-cote { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; }
.cote-valeur { padding: 22px 24px; border-radius: var(--r-l); background: var(--encre); color: #fff; box-shadow: var(--ombre-3); }
.cote-valeur .sur { color: rgba(255,255,255,.55); margin-bottom: 6px; }
.cote-valeur .chiffre { font-size: 2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cote-valeur .ligne-cote { display: flex; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 10px; }
.cote-valeur .ligne-cote b { color: #fff; font-weight: 600; }
.cote-verif { padding: 18px 20px; border-radius: var(--r-l); background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre-1); }
.cote-verif .sur { margin-bottom: 10px; }
.cote-verif .verif { margin: 0; gap: 6px; }
.cote-verif .verif li { padding: 9px 10px; border: 0; background: transparent; font-size: .88rem; border-radius: 8px; }
.cote-verif .verif li.fait { color: var(--gris); }
.cote-verif .bouton { width: 100%; margin-top: 12px; }
.sommaire-atelier { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; position: sticky; top: 64px; background: rgba(250,250,248,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 12px 0; z-index: 5; }
.sommaire-atelier a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: .84rem; font-weight: 500; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--filet); color: var(--texte); background: var(--blanc); transition: border-color .12s, transform .12s var(--ressort); }
.sommaire-atelier a:hover { border-color: var(--gris-clair); transform: translateY(-1px); }
.sommaire-atelier a i { width: 7px; height: 7px; border-radius: 50%; background: var(--filet-fort); }
.sommaire-atelier a.fait i { background: var(--ok); }
.sommaire-atelier a.a-faire i { background: var(--or); }
.sommaire-atelier a.courant { border-color: var(--encre); color: var(--encre); }
main.atelier.sync .sommaire-atelier::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--vert), var(--or)); background-size: 200% 100%; animation: sync 1s linear infinite; }
@keyframes sync { from { background-position: 200% 0; } to { background-position: 0 0; } }
.bloc { padding: 36px 0 34px; border-top: 1px solid var(--filet); }
.bloc:first-of-type { border-top: 0; padding-top: 10px; }
.bloc-tete { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.bloc-tete .num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--encre); color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.bloc-tete h2 { margin: 0; font-size: 1.45rem; }
.bloc-tete .sous { color: var(--gris); margin: 4px 0 0; font-size: .95rem; line-height: 1.5; max-width: 60ch; }
.bloc-tete .etat { margin-left: auto; }
.resume-chiffres { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 16px 0; }
.resume-chiffres div { padding: 16px 18px; border: 1px solid var(--filet); border-radius: var(--r-m); background: var(--blanc); box-shadow: var(--ombre-1); }
.resume-chiffres span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.resume-chiffres strong { display: block; font-size: 1.35rem; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.resume-chiffres small { font-size: .8rem; font-weight: 500; color: var(--gris); }
.nuage { margin: 6px 0 2px; }
.nuage svg { width: 100%; height: auto; max-height: 90px; display: block; }
details.repli { border: 1px solid var(--filet); border-radius: var(--r-m); background: var(--blanc); margin: 14px 0; overflow: hidden; box-shadow: var(--ombre-1); }
details.repli > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; font-weight: 600; color: var(--encre); }
details.repli > summary::-webkit-details-marker { display: none; }
details.repli > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--gris); border-bottom: 2px solid var(--gris); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
details.repli[open] > summary::after { transform: rotate(-135deg); }
details.repli > summary:hover { background: var(--surface); }
details.repli > .contenu { padding: 0 20px 18px; border-top: 1px solid var(--filet); }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 6px; }
.filtres form { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.filtres select { width: auto; padding: 7px 10px; font-size: .85rem; border-radius: 9px; }
.filtres .libelle { font-size: .85rem; color: var(--gris); margin-right: 4px; }
table.ventes { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 12px; }
table.ventes th { text-align: left; font-weight: 600; color: var(--gris); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 8px 8px; border-bottom: 1px solid var(--filet-fort); }
table.ventes td { padding: 12px 8px; border-bottom: 1px solid var(--filet); vertical-align: middle; }
table.ventes tr:last-child td { border-bottom: 0; }
table.ventes .d { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.ventes tr.exclue td { color: var(--gris-clair); }
table.ventes tr.exclue td.libelle { text-decoration: line-through; }
table.ventes td.motif { font-size: .78rem; color: var(--gris); max-width: 260px; }
table.ventes form { margin: 0; }
.bascule { width: 40px; height: 24px; border-radius: 999px; border: 0; background: var(--filet-fort); position: relative; cursor: pointer; padding: 0; transition: background .18s; vertical-align: middle; }
.bascule i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .18s var(--ressort); }
.bascule.on { background: var(--vert); }
.bascule.on i { transform: translateX(16px); }
.bascule:focus-visible { outline: none; box-shadow: var(--anneau); }
.methodes { display: grid; gap: 12px; }
.methode { padding: 18px 20px; border: 1px solid var(--filet); border-radius: var(--r-m); background: var(--blanc); margin: 0; box-shadow: var(--ombre-1); }
.m-tete { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.m-nom { font-weight: 600; color: var(--encre); }
.m-val { font-weight: 700; color: var(--encre); white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.poids-ligne { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.segments { display: inline-flex; border: 1px solid var(--filet-fort); border-radius: 10px; overflow: hidden; background: var(--blanc); }
.segments button { border: 0; background: transparent; padding: 8px 13px; min-width: 42px; font: inherit; font-size: .88rem; font-weight: 500; color: var(--gris); cursor: pointer; border-right: 1px solid var(--filet); transition: background .12s, color .12s; }
.segments button:last-child { border-right: 0; }
.segments button:hover { background: var(--surface); color: var(--encre); }
.segments button.on { background: var(--vert); color: #fff; }
.segments button:first-child { font-size: .78rem; letter-spacing: .02em; }
.proposee { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 18px 0 8px; padding: 18px 20px; border-radius: var(--r-m); background: var(--vert-doux); color: var(--vert-texte); }
.proposee strong { font-size: 1.6rem; letter-spacing: -0.03em; color: var(--vert-texte); font-variant-numeric: tabular-nums; }
.ligne-params { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; }
.ligne-params .actions { margin: 0; }
.ligne-hon { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.valeur-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.valeur-affiche { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.045em; color: var(--encre); line-height: 1.1; font-variant-numeric: tabular-nums; }
.champ-euros { display: inline-flex; align-items: center; gap: 8px; }
.champ-euros input { width: 170px; font-weight: 600; font-size: 1.05rem; padding: 10px 12px; }
.champ-euros select { width: auto; padding: 10px 10px; }
.curseur-x { padding: 18px 0 6px; position: relative; }
.curseur-x .piste { position: relative; height: 8px; border-radius: 999px; background: var(--surface-2); margin: 0 14px; cursor: pointer; }
.curseur-x .plage { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px; background: var(--vert); opacity: .9; }
.curseur-x:not(.double) .plage { opacity: .35; }
.curseur-x .repere { position: absolute; top: -6px; width: 2px; height: 20px; margin-left: -1px; background: var(--or); border-radius: 1px; }
.curseur-x .repere::after { content: "proposée"; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: .66rem; color: #8C6A1F; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.curseur-x.double .repere::after { content: "valeur"; }
.curseur-x .pouce { position: absolute; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--vert); box-shadow: var(--ombre-2); cursor: grab; touch-action: none; }
.curseur-x .pouce:active, .curseur-x .pouce.saisi { cursor: grabbing; }
.curseur-x .pouce:focus-visible { outline: none; box-shadow: var(--anneau), var(--ombre-2); }
.curseur-x .pouce .bulle { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); background: var(--encre); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 8px; border-radius: 7px; white-space: nowrap; opacity: 0; transition: opacity .15s; pointer-events: none; }
.curseur-x .pouce.saisi .bulle, .curseur-x .pouce:hover .bulle, .curseur-x .pouce:focus-visible .bulle { opacity: 1; }
.curseur-x.double .bulle { opacity: 1; background: var(--surface-2); color: var(--encre); }
.curseur-x .bornes { display: flex; justify-content: space-between; font-size: .74rem; color: var(--gris-clair); margin: 10px 14px 0; }
.curseur-x.double { padding-top: 26px; }
.ajustes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.sous-bloc { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--filet); }
.sous-bloc-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.texte-bloc { padding: 20px 22px; border: 1px solid var(--filet); border-radius: var(--r-m); background: var(--blanc); margin: 12px 0; box-shadow: var(--ombre-1); }
.texte-bloc textarea { min-height: 96px; margin-top: 10px; }
.texte-bloc textarea[readonly], .texte-bloc.valide textarea { background: var(--surface); color: var(--texte); border-color: var(--filet); }
.texte-bloc .actions { margin-top: 10px; }
.reformuler { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.reformuler input { flex: 1; min-width: 220px; }
.verif { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.verif li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-s); border: 1px solid var(--filet); background: var(--blanc); font-size: .95rem; }
.verif li .ico { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--surface-2); color: var(--gris); display: flex; align-items: center; justify-content: center; }
.verif li.fait .ico { background: var(--ok-doux); color: var(--ok); }
.verif li a { margin-left: auto; font-size: .88rem; white-space: nowrap; }
.verif li a[hidden] { display: none; }
.bloc.final { border-top: 2px solid var(--encre); }
.barre-action { position: sticky; bottom: 0; z-index: 6; margin: 30px -24px -120px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); background: rgba(250,250,248,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--filet); display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.barre-action .resume { font-size: .9rem; color: var(--gris); }
.barre-action .resume strong { font-size: 1.05rem; }
.barre-action .si-prete { display: none; }
.barre-action.prete .si-prete { display: block; }
.barre-action.prete .si-pas-prete { display: none; }
/* 27/10/2026 : centré sans translateX (Motion réécrit transform), largeur du texte, plusieurs lignes lisibles */
.toast { position: fixed; left: 16px; right: 16px; margin: 0 auto; width: fit-content; bottom: 84px; transform: translateY(12px); z-index: 50; background: var(--encre); color: #fff; padding: 11px 18px; border-radius: 16px; font-size: .9rem; font-weight: 500; line-height: 1.4; text-align: center; box-shadow: var(--ombre-3); opacity: 0; pointer-events: none; max-width: min(520px, calc(100vw - 32px)); }
.toast.erreur { background: var(--rouge); }

/* ----------------------------------------------------------------------- résultat, aperçu de marque */
.carte.resultat { text-align: center; padding: 44px 28px; border-radius: var(--r-xl); }
.carte.resultat .actions { justify-content: center; }
.valeur-grande { font-size: 3rem; font-weight: 700; letter-spacing: -0.045em; margin: 8px 0 2px; color: var(--encre); font-variant-numeric: tabular-nums; }
.apercu-garde { border: 1px solid var(--filet); border-radius: var(--r-l); padding: 26px; background: #FCFBF8; position: sticky; top: 84px; box-shadow: var(--ombre-2); }
.apercu-garde .logo-m { height: 36px; margin-bottom: 36px; display: flex; align-items: center; }
.apercu-garde .logo-m img { height: 36px; }
.apercu-garde .t { font-family: "Fraunces", serif; font-weight: 300; font-size: 1.7rem; line-height: 1.1; margin-bottom: 8px; color: var(--encre); }
.apercu-garde .filet { width: 28px; height: 2px; background: var(--marque); margin: 14px 0; }
.apercu-garde .sur { color: var(--marque); }
.deux { display: grid; gap: 30px; grid-template-columns: 1fr 320px; align-items: start; }

/* ----------------------------------------------------------------------- vitrine */
.hero { padding: 56px 0 24px; max-width: 820px; position: relative; }
.hero .sur { color: var(--vert); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.045em; margin-bottom: .35em; line-height: 1.02; }
.hero h1 .accent { color: var(--vert); }
.hero p.grand { font-size: 1.2rem; max-width: 38em; color: var(--gris); line-height: 1.6; }
.hero h1 .mot { white-space: pre; }
.offre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin: 30px 0 12px; padding: 26px 30px; border: 1px solid var(--filet); border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-3); }
.offre > div:first-child { display: flex; align-items: center; gap: 18px; }
.offre .actions { margin: 0; }
.prix { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--encre); font-variant-numeric: tabular-nums; }
.prix-detail { color: var(--gris); font-size: .92rem; line-height: 1.35; }
.bento { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); margin: 48px 0; }
.bento > div { grid-column: span 6; padding: 28px 30px; border: 1px solid var(--filet); border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-1); position: relative; overflow: hidden; }
.bento > div.large { grid-column: span 8; }
.bento > div.petit { grid-column: span 4; }
.bento > div.sombre { background: var(--encre); color: #fff; border-color: var(--encre); }
.bento > div.sombre h3, .bento > div.sombre p { color: #fff; }
.bento > div.sombre p { opacity: .78; }
.bento > div.vert { background: var(--vert); color: #fff; border-color: var(--vert); }
.bento > div.vert h3, .bento > div.vert p { color: #fff; }
.bento > div.vert p { opacity: .82; }
.bento h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.bento p { margin: 0; font-size: .95rem; line-height: 1.55; }
.bento .chiffre { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.bento .ico.grand { background: var(--surface); }
.bento .sombre .ico.grand, .bento .vert .ico.grand { background: rgba(255,255,255,.12); color: #fff; }
.bento .sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.bento .sources span { font-size: .74rem; padding: 4px 9px; border-radius: 999px; background: var(--surface); color: var(--texte); font-weight: 500; }
.etapes { margin: 24px 0 48px; }
.etapes ol { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: e; }
.etapes li { counter-increment: e; padding: 22px 24px; border: 1px solid var(--filet); border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre-1); }
.etapes li::before { content: "0" counter(e); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--or); margin-bottom: 12px; }
.etapes li strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.etapes li span { color: var(--gris); font-size: .93rem; line-height: 1.5; }
.bandeau-appli { display: flex; gap: 32px; align-items: center; margin: 36px 0; padding: 30px 34px; border-radius: var(--r-xl); background: linear-gradient(135deg, #1B2320, #2E4940); color: #fff; box-shadow: var(--ombre-3); }
.bandeau-appli h3 { color: #fff; margin-bottom: 6px; font-size: 1.3rem; }
.bandeau-appli .muet { color: rgba(255,255,255,.72); }
.bandeau-appli .bouton.second { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; margin-top: 8px; box-shadow: none; }
.bandeau-appli .bouton.second:hover { background: rgba(255,255,255,.18); }
.icones { display: flex; gap: 10px; flex: 0 0 auto; }
.icones .ico { width: 56px; height: 56px; border-radius: 18px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; }
.icones .ico svg { width: 26px; height: 26px; stroke-width: 1.8; }
.guide { margin-top: 30px; }
.guide-etapes { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.guide-etapes li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--filet); border-radius: var(--r-m); background: var(--blanc); }
.guide-etapes strong { display: block; color: var(--encre); }
.guide-etapes span:not(.g-ico) { color: var(--gris); font-size: .92rem; }
.g-ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--vert-doux); color: var(--vert); display: flex; align-items: center; justify-content: center; }
.g-ico svg { width: 22px; height: 22px; stroke-width: 1.8; }
.barre nav a.tel { display: none; }
@media (min-width: 700px) { .barre nav a.tel { display: inline; } }

/* ----------------------------------------------------------------------- mouvement */
::view-transition-old(root) { animation: 160ms ease-out both sortie; }
::view-transition-new(root) { animation: 240ms var(--ressort) both entree; }
@keyframes sortie { to { opacity: 0; transform: translateY(-6px); } }
@keyframes entree { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
.bouton, .choix button, .candidats button, .bascule { will-change: transform; }

/* ----------------------------------------------------------------------- écrans étroits */
@media (min-width: 981px) { .barre-action { display: none; } }
@media (max-width: 980px) { .atelier-grille { grid-template-columns: 1fr; } .atelier-cote { position: static; } .cote-valeur { display: none; } }
@media (max-width: 820px) { .deux { grid-template-columns: 1fr; } .apercu-garde { position: static; } .bento > div, .bento > div.large, .bento > div.petit { grid-column: span 12; } }
@media (max-width: 640px) {
  main { padding: 28px 18px 120px; }
  .barre { padding: 0 18px; height: 60px; }
  .barre nav a:not(.bouton) { display: none; }
  .barre nav button.lien { display: inline; }
  .barre .logo span { display: none; }
  .fil li:not(.actif) span { display: none; }
  .fil li:not(:last-child) { padding-right: 16px; }
  .fil li:not(:last-child)::after { right: 4px; width: 6px; }
  .question-carte { padding: 24px 20px 22px; border-radius: var(--r-l); }
  .bloc { padding: 28px 0 24px; }
  table.ventes td.motif { display: none; }
  .barre-action { margin: 30px -18px -120px; padding-left: 18px; padding-right: 18px; }
  .valeur-affiche { font-size: 2rem; } .champ-euros input { width: 130px; } .segments button { min-width: 34px; padding: 8px 8px; }
  .boussole { width: 210px; height: 210px; }
  .bandeau-appli { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
  .offre { padding: 22px; }
  .carte { padding: 22px 20px; }
}

/* ----------------------------------------------------------------------- parcours guidé (13/10/2026) : un écran, une question */
body.parcours { background: var(--blanc); }
body.parcours::before { background: radial-gradient(700px 420px at 50% -12%, rgba(46, 73, 64, .08), transparent 65%); }
/* 22/10/2026 (demande de Guillaume) : barre du parcours plus sobre — fond ivoire, filet discret, fil de progression fin
   (vert, repère bronze à son extrémité), phase en petites capitales bronze. */
.barre-parcours { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 18px; padding: 12px 22px;
  background: rgba(247,245,240,.86); border-bottom: 1px solid rgba(27,31,29,.06); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.barre-parcours .logo-mini img { width: 34px; height: 34px; border-radius: 10px; display: block; }
.avance-parcours { display: flex; flex-direction: column; gap: 8px; max-width: 420px; width: 100%; justify-self: center; }
.avance-parcours .phase { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #7C5A22; font-weight: 600; text-align: center; }
.avance-parcours .progression { height: 2px; margin: 0; background: rgba(27,31,29,.10); border-radius: 1px; overflow: visible; }
.avance-parcours .progression i { position: relative; height: 2px; border-radius: 1px; background: #22372F; transition: width .8s var(--ressort); }
.avance-parcours .progression i::after { content: ""; position: absolute; right: -3.5px; top: -2.5px; width: 7px; height: 7px; border-radius: 50%; background: #9A7330;
  box-shadow: 0 0 0 3px rgba(154,115,48,.16); }
.barre-parcours .quitter { font-size: .86rem; color: var(--gris); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.barre-parcours .quitter:hover { background: var(--surface-2); color: var(--encre); }
main.parcours-main { max-width: 600px; padding: 40px 22px 80px; min-height: calc(100vh - 70px); }
.ecran { position: relative; will-change: transform, opacity; }
.ecran .precedent { display: inline-flex; align-items: center; gap: 6px; color: var(--gris); text-decoration: none; font-size: .88rem; margin: 0 0 22px -6px; padding: 6px 8px; border-radius: 8px; }
.ecran .precedent:hover { background: var(--surface-2); color: var(--encre); }
.ecran .precedent svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ecran > .sur { color: var(--vert); margin-bottom: 12px; }
.ecran h1 { font-size: clamp(1.9rem, 5.2vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 14px; }
.ecran .lead { font-size: 1.08rem; color: var(--gris); line-height: 1.55; margin-bottom: 26px; }
.ecran .note { font-size: .86rem; color: var(--gris-clair); margin: 22px 0 0; line-height: 1.5; }
.pied-ecran { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.pied-ecran form { margin: 0; }
.pied-ecran .bouton.grand { min-height: 58px; font-size: 1.05rem; border-radius: 16px; }
.duo-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duo-boutons .bouton { min-height: 50px; border-radius: 14px; }
.chiffre-cle { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-l); background: var(--surface); margin: 6px 0 4px; }
.chiffre-cle span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.chiffre-cle strong { font-size: 2.6rem; letter-spacing: -0.045em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.chiffre-cle em { font-style: normal; color: var(--gris); font-size: .9rem; }
#nuage-marche { width: 100%; height: auto; display: block; margin: 6px 0; }
.liste-ventes { margin-top: 14px; border-top: 1px solid var(--filet); }
.liste-ventes summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--vert-texte); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.liste-ventes summary::-webkit-details-marker { display: none; }
.liste-ventes summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.liste-ventes[open] summary::after { transform: rotate(-135deg); }
.liste-ventes ul { list-style: none; margin: 0; padding: 0; }
.liste-ventes li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--filet); }
.liste-ventes li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.liste-ventes li strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.liste-ventes li strong small { font-size: .78rem; color: var(--gris); font-weight: 500; }
.liste-ventes li span { font-size: .84rem; color: var(--gris); }
.liste-ventes li em { font-size: .78rem; color: var(--gris-clair); font-style: normal; }
.liste-ventes li.exclue strong { color: var(--gris-clair); text-decoration: line-through; }
.liste-ventes form { margin: 0; }
.approches { display: grid; gap: 8px; margin: 4px 0 22px; }
.approches > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 14px 18px; border-radius: var(--r-m); background: var(--surface); }
.approches span { color: var(--texte); font-weight: 500; }
.approches strong { font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.approches em { flex-basis: 100%; font-style: normal; font-size: .82rem; color: var(--gris-clair); }
.approches .off span, .approches .off strong { color: var(--gris-clair); }
.reglages { display: grid; gap: 12px; margin: 0; }
.reglage { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "titre valeur" "aide valeur" "tag tag"; gap: 4px 18px; align-items: center; text-align: left; padding: 20px 22px; border-radius: var(--r-l); border: 1.5px solid var(--filet-fort); background: var(--blanc); font: inherit; cursor: pointer; color: var(--texte); transition: border-color .15s, box-shadow .15s, transform .15s var(--ressort); }
.reglage:hover { border-color: var(--vert); box-shadow: var(--ombre-2); transform: translateY(-2px); }
.reglage.actuel { border-color: var(--vert); background: var(--vert-doux); }
.reglage .r-titre { grid-area: titre; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.06rem; color: var(--encre); }
.reglage .r-titre i { font-style: normal; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; background: var(--vert); color: #fff; padding: 2px 8px; border-radius: 999px; }
.reglage .r-titre .ico.grand { width: 40px; height: 40px; border-radius: 12px; }
.reglage .r-aide { grid-area: aide; font-size: .9rem; color: var(--gris); line-height: 1.45; }
.reglage .r-valeur { grid-area: valeur; font-size: 1.35rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--encre); }
.reglage .r-tag { grid-area: tag; justify-self: start; margin-top: 8px; font-size: .76rem; color: var(--gris); background: var(--surface); padding: 4px 10px; border-radius: 999px; }
.valeur-geante { font-size: clamp(3rem, 11vw, 4.4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; text-align: center; color: var(--encre); font-variant-numeric: tabular-nums; margin: 10px 0 8px; }
.ecran .curseur-x { padding: 28px 0 4px; }
.ecran .curseur-x .piste { height: 10px; }
.ecran .curseur-x .pouce { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-width: 2.5px; }
.ecran .curseur-x .bulle { display: none; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 0; }
.pastille-btn { border: 1px solid var(--filet-fort); background: var(--blanc); color: var(--encre); font: inherit; font-size: .9rem; font-weight: 500; padding: 9px 15px; border-radius: 999px; cursor: pointer; transition: background .12s, border-color .12s, transform .12s var(--ressort); font-variant-numeric: tabular-nums; }
.pastille-btn:hover { border-color: var(--gris-clair); transform: translateY(-1px); }
.pastille-btn.on { background: var(--encre); border-color: var(--encre); color: #fff; }
.pastille-btn.or { background: var(--or-doux); border-color: #EBDDB8; color: #7A5B17; }
.saisie-libre { margin-top: 20px; text-align: center; }
.saisie-libre summary { cursor: pointer; color: var(--gris); font-size: .9rem; list-style: none; }
.saisie-libre summary::-webkit-details-marker { display: none; }
.saisie-libre input { margin-top: 10px; text-align: center; font-size: 1.1rem; }
.duo, .trio { display: grid; gap: 10px; margin: 6px 0; }
.duo { grid-template-columns: 1fr 1fr; }
.trio { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.duo > div, .trio > div { padding: 16px 18px; border-radius: var(--r-m); background: var(--surface); }
.duo span, .trio span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.duo strong { display: block; font-size: 1.7rem; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.trio strong { display: block; font-size: 1.15rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.segmente { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); margin-bottom: 14px; }
.segmente button { border: 0; background: transparent; font: inherit; font-size: .9rem; font-weight: 500; padding: 8px 16px; border-radius: 9px; cursor: pointer; color: var(--gris); }
.segmente button.on { background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-1); }
.champ-geant { position: relative; }
.champ-geant input { font-size: 1.6rem; font-weight: 600; padding: 18px 20px; border-radius: var(--r-l); text-align: left; letter-spacing: -0.02em; }
.champ-geant.unite input, #f-honoraires-p .champ-geant input { padding-right: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.champ-geant .suffixe, .champ-geant .unite-hon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gris); font-weight: 500; font-size: 1.1rem; }
.texte-lu { padding: 24px 26px; border-radius: var(--r-l); background: var(--surface); font-size: 1.02rem; line-height: 1.7; color: var(--texte); }
.texte-lu p { margin: 0 0 .9em; } .texte-lu p:last-child { margin: 0; }
.texte-lu ul { margin: 0; padding-left: 1.1em; } .texte-lu li { margin: .35em 0; }
.volet { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.volet[hidden] { display: none; }
.recap { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: var(--r-l); background: var(--surface); }
.recap img { width: 112px; height: 112px; object-fit: cover; border-radius: var(--r-m); flex: 0 0 auto; }
.recap > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.recap .r-adresse { font-size: .9rem; color: var(--gris); }
.recap .r-valeur { font-size: 2.2rem; letter-spacing: -0.045em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.recap .r-fourchette { font-weight: 600; color: var(--texte); }
.recap .r-hon { font-size: .86rem; color: var(--gris); }
.attente-ecran { margin-top: 18px; }
.ecran .choix { margin-top: 6px; }
.ecran .choix button { min-height: 58px; border-radius: 16px; font-size: 1rem; }
.ecran .candidats button { padding: 18px 20px; border-radius: 16px; font-size: 1rem; }
.ecran .candidats button.autre { color: var(--gris); }
.ecran textarea { min-height: 220px; border-radius: var(--r-l); padding: 18px 20px; font-size: 1.02rem; }
@media (max-width: 640px) {
  .barre-parcours { padding: 10px 14px; gap: 12px; grid-template-columns: 34px 1fr auto; }
  .barre-parcours .quitter { font-size: .8rem; padding: 6px 8px; }
  main.parcours-main { padding: 26px 18px 60px; }
  .reglage { grid-template-areas: "titre titre" "aide aide" "valeur tag"; }
  .trio { grid-template-columns: 1fr; }
  .recap { flex-direction: column; align-items: flex-start; } .recap img { width: 100%; height: 160px; }
}
.reglages-atelier { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 6px; }
.reglages-atelier .reglage { grid-template-columns: 1fr; grid-template-areas: "titre" "aide" "valeur"; height: 100%; width: 100%; }
.reglages-atelier .reglage .r-valeur { margin-top: 10px; }

/* ======================================================================= page du dossier (13/10/2026)
   D'abord ce qui manque, puis tout le dossier en rubriques ; chaque ligne s'ouvre et se modifie sur place. */
main.atelier.dossier-v { max-width: 920px; }
main.atelier.sync::before { content: ""; position: fixed; top: 64px; left: 0; right: 0; height: 2px; z-index: 30; background: linear-gradient(90deg, var(--vert), var(--or), var(--vert)); background-size: 200% 100%; animation: sync 1s linear infinite; }
.d-tete { display: grid; grid-template-columns: 132px 1fr auto; gap: 24px; align-items: center; margin: 4px 0 28px; }
.d-photo { position: relative; display: block; width: 132px; height: 132px; border-radius: var(--r-l); overflow: hidden; background: var(--surface); box-shadow: var(--ombre-2); }
.d-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ressort); }
.d-photo:hover img { transform: scale(1.04); }
.d-photo-vide { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; color: var(--gris); font-size: .75rem; text-align: center; padding: 10px; }
.d-photo-vide svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.d-photo-n { position: absolute; right: 8px; bottom: 8px; background: rgba(18,20,23,.66); color: #fff; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; backdrop-filter: blur(6px); }
.d-id h1 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); margin: 0 0 6px; }
.d-id .sur { margin-bottom: 8px; }
.d-adresse { margin: 0; color: var(--texte); font-size: 1.02rem; }
.d-meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--gris); font-size: .88rem; }
.d-meta span + span::before { content: "·"; margin-right: 14px; color: var(--gris-clair); }
.d-valeur { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 18px 22px; border-radius: var(--r-l); background: var(--encre); color: rgba(255,255,255,.72); min-width: 220px; box-shadow: var(--ombre-3); }
.d-valeur .sur { color: rgba(255,255,255,.55); margin: 0 0 2px; }
.d-valeur strong { color: #fff; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.d-valeur .d-v-ligne { font-size: .82rem; font-variant-numeric: tabular-nums; }
.d-valeur b { color: #fff; font-weight: 600; }

.etat-carte { border-radius: var(--r-xl); padding: 26px 28px; margin: 0 0 18px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre-2); }
.etat-carte h2 { font-size: 1.4rem; margin: 0 0 4px; }
.etat-carte p { margin: 0; }
.mq-tete { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.mq-anneau { --p: 0; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--vert) calc(var(--p) * 1%), var(--surface-2) 0); transition: background .6s var(--ressort); }
.mq-anneau span { width: 50px; height: 50px; border-radius: 50%; background: var(--blanc); display: grid; place-items: center; font-weight: 700; color: var(--encre); font-size: 1rem; font-variant-numeric: tabular-nums; }
.mq-anneau small { font-size: .65rem; font-weight: 600; color: var(--gris); margin-left: 1px; }
.mq-liste { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--filet); }
.mq-liste li a { display: grid; grid-template-columns: 14px 1fr auto 18px; gap: 12px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--filet); text-decoration: none; color: var(--encre); transition: background .12s, padding .2s var(--ressort); border-radius: 10px; }
.mq-liste li a:hover { background: var(--surface); padding-left: 10px; }
.mq-liste i { width: 10px; height: 10px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px var(--or-doux); }
.mq-liste li.facultatif i { background: transparent; border: 1.5px solid var(--gris-clair); box-shadow: none; }
.mq-liste li.a_confirmer i { background: var(--vert); box-shadow: 0 0 0 4px var(--vert-doux); }
.mq-lib { font-weight: 500; }
.mq-detail { font-size: .82rem; color: var(--gris); white-space: nowrap; }
.mq-liste li.facultatif .mq-lib { color: var(--texte); font-weight: 400; }
.mq-liste svg { width: 16px; height: 16px; fill: none; stroke: var(--gris-clair); stroke-width: 2; stroke-linecap: round; }
.mq-ou { text-align: center; margin: 8px 0 0; }
.etat-carte.pret { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--ok-doux), var(--blanc) 70%); border-color: rgba(47,125,79,.18); }
.pret-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.pret-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.etat-carte.pret form { margin: 0; }
.etat-carte.attente { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--or-doux); border-color: #EBDDB8; }

.dossier-complet { margin-top: 10px; }
.dossier-complet > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 18px 22px; border-radius: var(--r-l); background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre-1); transition: box-shadow .2s, border-color .2s; }
.dossier-complet > summary::-webkit-details-marker { display: none; }
.dossier-complet > summary:hover { box-shadow: var(--ombre-2); border-color: var(--filet-fort); }
.dc-titre { font-weight: 700; color: var(--encre); font-size: 1.08rem; letter-spacing: -0.01em; }
.dc-sous { grid-column: 1; font-size: .85rem; color: var(--gris); }
.dc-chevron { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); position: relative; transition: transform .3s var(--ressort), background .2s; }
.dc-chevron::after { content: ""; position: absolute; left: 12px; top: 10px; width: 9px; height: 9px; border-right: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: rotate(45deg); }
.dossier-complet[open] > summary .dc-chevron { transform: rotate(180deg); }
.dossier-complet[open] > summary { border-bottom-left-radius: var(--r-l); }
.d-nav { position: sticky; top: 64px; z-index: 8; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 12px 2px; margin: 8px 0 4px; background: linear-gradient(var(--fond) 70%, rgba(250,250,248,0)); }
.d-nav::-webkit-scrollbar { display: none; }
.d-nav a { flex: 0 0 auto; text-decoration: none; color: var(--texte); font-size: .85rem; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--filet); }
.d-nav a:hover { border-color: var(--filet-fort); color: var(--encre); }

.rubrique { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--r-l); padding: 20px 22px; margin: 12px 0; box-shadow: var(--ombre-1); scroll-margin-top: 120px; }
.rubrique > h3, .r-tete h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); font-weight: 700; margin: 0 0 6px; }
.r-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.r-tete h3 { margin: 0; }
.r-confirmer { margin: 16px 0 0; }
.champs { display: flex; flex-direction: column; }
.champ { border-bottom: 1px solid var(--filet); scroll-margin-top: 120px; }
.champ:last-child { border-bottom: 0; }
.champ > summary, a.champ { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(120px, 38%) 1fr 28px; gap: 12px; align-items: center; padding: 11px 6px; border-radius: 10px; text-decoration: none; color: inherit; transition: background .12s; }
.champ > summary::-webkit-details-marker { display: none; }
.champ > summary:hover, a.champ:hover { background: var(--surface); }
.c-lib { color: var(--gris); font-size: .9rem; }
.c-val { color: var(--encre); font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.c-val em { color: var(--gris-clair); font-weight: 400; font-style: normal; }
.c-val small { font-size: .68rem; font-weight: 600; color: var(--gris); background: var(--surface); padding: 1px 6px; border-radius: 999px; margin-left: 4px; vertical-align: middle; }
.c-ico { justify-self: end; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--gris-clair); transition: background .15s, color .15s; }
.c-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.champ > summary:hover .c-ico, a.champ:hover .c-ico { color: var(--vert); background: var(--vert-doux); }
.champ.etat-manquant .c-val { color: var(--or); }
.champ[open] { background: var(--surface); border-radius: 12px; border-bottom-color: transparent; margin: 4px 0; }
.champ[open] > summary .c-ico { color: #fff; background: var(--vert); }
.c-edit { padding: 2px 8px 14px; }
.c-edit .pastilles { justify-content: flex-start; margin: 4px 0 0; }
.pastille-btn.discret { border-style: dashed; color: var(--gris); background: transparent; }
.c-saisie { display: flex; align-items: center; gap: 8px; }
.c-saisie input, .c-saisie textarea { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid var(--filet-fort); border-radius: var(--r-s); background: var(--blanc); color: var(--encre); }
.c-saisie input:focus, .c-saisie textarea:focus { outline: none; border-color: var(--vert); box-shadow: var(--anneau); }
.c-saisie textarea { resize: vertical; min-height: 84px; }
.c-unite { color: var(--gris); font-size: .85rem; white-space: nowrap; }
.c-aide { margin: 8px 0 0; font-size: .8rem; color: var(--gris); }
.dpe-chips.petits { margin: 4px 0 0; flex-wrap: wrap; align-items: center; }
.dpe-chips.petits button[class^="dpe-"] { flex: 0 0 38px; height: 38px; padding: 0; font-size: .9rem; }
.dpe-chips.petits button.on { box-shadow: 0 0 0 3px var(--blanc), 0 0 0 5px var(--encre); }

/* boussole compacte (exposition) : 3 × 3, traversant à côté */
.ligne-boussole { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ligne-boussole.question { justify-content: center; margin: 22px 0 6px; }
.boussole-mini { display: grid; grid-template-columns: repeat(3, 42px); grid-template-rows: repeat(3, 42px); gap: 6px; padding: 8px; border-radius: 22px; background: radial-gradient(circle, var(--blanc) 0, var(--surface) 80%); border: 1px solid var(--filet); }
.ligne-boussole.question .boussole-mini { grid-template-columns: repeat(3, 52px); grid-template-rows: repeat(3, 52px); gap: 8px; padding: 10px; border-radius: 26px; }
.boussole-mini button { border: 1px solid var(--filet-fort); background: var(--blanc); border-radius: 50%; font: 600 .8rem/1 var(--serif); color: var(--encre); cursor: pointer; transition: background .12s, color .12s, transform .15s var(--ressort); }
.boussole-mini button:hover { background: var(--vert-doux); transform: scale(1.08); }
.boussole-mini button.on { background: var(--vert); color: #fff; border-color: var(--vert); }
.boussole-mini .rose { position: relative; }
.boussole-mini .rose::before { content: ""; position: absolute; inset: 30%; border-radius: 50%; border: 2px solid var(--or); }
.boussole-mini .rose::after { content: ""; position: absolute; left: 50%; top: 12%; bottom: 12%; width: 2px; margin-left: -1px; background: linear-gradient(var(--rouge) 50%, var(--gris-clair) 50%); border-radius: 2px; opacity: .6; }
.pastille-btn.traversant { align-self: center; }

/* graphique du marché */
.marche-graphe { position: relative; margin: 18px 0 6px; min-height: 120px; }
.marche-graphe svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--serif); }
.m-bande { fill: var(--vert-doux); opacity: .7; }
.m-legende { font-size: 10.5px; fill: var(--gris); font-weight: 600; }
.m-axe { stroke: var(--filet-fort); stroke-width: 1; }
.m-tic { stroke: var(--filet-fort); }
.m-tic-txt { font-size: 11px; fill: var(--gris); font-variant-numeric: tabular-nums; }
.m-unite { font-size: 10.5px; fill: var(--gris-clair); }
.m-mediane { stroke: var(--vert); stroke-width: 1.5; }
.m-mediane-txt { font-size: 12px; font-weight: 700; fill: var(--vert-fonce); }
.m-bien-ligne { stroke: var(--or); stroke-width: 1.5; stroke-dasharray: 3 3; }
.m-bien { fill: var(--or); stroke: var(--blanc); stroke-width: 2; }
.m-bien-txt { font-size: 12px; font-weight: 700; fill: #7A5B17; }
.m-pt { cursor: pointer; outline: none; }
.m-cible { fill: transparent; }
.m-rond { fill: var(--vert); stroke: var(--blanc); stroke-width: 2; transition: r .15s; }
.m-pt.exclue .m-rond { fill: var(--blanc); stroke: #A9AEA8; stroke-width: 1.6; }
.m-pt:hover .m-rond, .m-pt:focus .m-rond, .m-pt.actif .m-rond { stroke: var(--or); stroke-width: 3; }
.marche-bulle { position: absolute; z-index: 5; display: flex; flex-direction: column; gap: 2px; width: max-content; max-width: 260px; padding: 10px 12px; background: var(--blanc); border-radius: 12px; box-shadow: var(--ombre-3); border: 1px solid var(--filet); font-size: .82rem; color: var(--texte); pointer-events: auto; }
.marche-bulle strong { font-size: 1.02rem; }
.marche-bulle small { font-weight: 500; color: var(--gris); }
.marche-bulle em { color: var(--rouge); font-style: normal; font-size: .78rem; }
.marche-bulle .bouton { margin-top: 8px; }
.marche-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: var(--texte); margin: 0 0 14px; align-items: center; }
.marche-legende i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.marche-legende .l-ret { background: var(--vert); }
.marche-legende .l-exc { border: 1.6px solid #A9AEA8; }
.marche-legende .l-med { width: 2px; height: 12px; border-radius: 1px; background: var(--vert); }
.marche-legende .l-bien { width: 9px; height: 9px; border-radius: 1px; background: var(--or); transform: rotate(45deg); }
.marche-legende .muet { margin-left: auto; }

@media (max-width: 760px) {
  .d-tete { grid-template-columns: 88px 1fr; gap: 14px 16px; }
  .d-photo { width: 88px; height: 88px; border-radius: var(--r-m); }
  .d-valeur { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; min-width: 0; padding: 14px 18px; }
  .d-valeur .sur { width: 100%; }
  .d-valeur strong { font-size: 1.6rem; }
  .etat-carte { padding: 20px 18px; border-radius: var(--r-l); }
  .etat-carte.pret { grid-template-columns: auto 1fr; }
  .etat-carte.pret form { grid-column: 1 / -1; }
  .etat-carte.pret .bouton { width: 100%; justify-content: center; }
  .rubrique { padding: 16px 14px; }
  .champ > summary, a.champ { grid-template-columns: 1fr auto; grid-template-rows: auto auto; row-gap: 0; padding: 10px 6px; }
  .champ > summary .c-lib, a.champ .c-lib { grid-column: 1; font-size: .8rem; }
  .champ > summary .c-val, a.champ .c-val { grid-column: 1; grid-row: 2; }
  .champ > summary .c-ico, a.champ .c-ico { grid-column: 2; grid-row: 1 / span 2; }
  .marche-legende .muet { margin-left: 0; width: 100%; }
  .mq-detail { font-size: .76rem; }
}
[hidden] { display: none !important; }
.mq-anneau span { display: flex; align-items: baseline; justify-content: center; }
.pied-ecran .bouton { white-space: normal; text-align: center; }

/* tableau de bord : onglets-compteurs (13/10/2026) */
.onglets-dossiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; max-width: 620px; }
.onglets-dossiers a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 16px 18px; border-radius: var(--r-l); background: var(--blanc); border: 1px solid var(--filet); text-decoration: none; color: var(--texte); box-shadow: var(--ombre-1); transition: border-color .15s, box-shadow .2s, transform .2s var(--ressort); }
.onglets-dossiers a:hover { border-color: var(--filet-fort); box-shadow: var(--ombre-2); transform: translateY(-1px); }
.onglets-dossiers span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gris); }
.onglets-dossiers strong { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 2rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.onglets-dossiers small { font-size: .8rem; color: var(--gris); }
.onglets-dossiers a.actif { background: var(--encre); border-color: var(--encre); color: #fff; box-shadow: var(--ombre-3); }
.onglets-dossiers a.actif span, .onglets-dossiers a.actif small { color: rgba(255,255,255,.66); }
.onglets-dossiers a.actif strong { color: #fff; }
.etat-ligne { display: flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 500; margin-top: 10px; }
.etat-ligne svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.etat-ligne.produit { color: var(--ok); }
.etat-ligne.valide { color: var(--vert); }
.etat-ligne.attente { color: #8A6A1E; }
.vide-onglet { text-align: center; padding: 56px 24px; border-radius: var(--r-xl); background: var(--blanc); border: 1px dashed var(--filet-fort); max-width: 620px; }
.vide-onglet h2 { margin: 14px 0 6px; font-size: 1.4rem; }
.vide-onglet .bouton { margin-top: 14px; }
@media (max-width: 560px) { .onglets-dossiers { grid-template-columns: 1fr 1fr; gap: 8px; } .onglets-dossiers a { padding: 12px 14px; } .onglets-dossiers strong { font-size: 1.5rem; } }

/* description du bien : grand micro (13/10/2026) */
.dictee { display: flex; flex-direction: column; align-items: center; margin: 26px 0 18px; }
.micro-rond { position: relative; width: 104px; height: 104px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(160deg, #3A5A4F, var(--vert-fonce)); color: #fff; box-shadow: 0 18px 40px -16px rgba(34,55,47,.6), inset 0 1px 0 rgba(255,255,255,.18); transition: transform .2s var(--ressort), background .3s; }
.micro-rond:hover { transform: scale(1.04); }
.micro-rond:active { transform: scale(.96); }
.micro-rond svg { position: relative; z-index: 2; width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.micro-rond .onde { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--vert); opacity: 0; }
.micro-rond.actif { background: linear-gradient(160deg, #C24A33, var(--rouge)); }
.micro-rond.actif .onde { animation: onde 1.8s ease-out infinite; border-color: var(--rouge); }
.micro-rond.actif .onde.deux { animation-delay: .9s; }
@keyframes onde { from { transform: scale(1); opacity: .55; } to { transform: scale(1.7); opacity: 0; } }
.micro-etat { margin: 14px 0 0; font-weight: 600; color: var(--encre); font-size: .95rem; }
.micro-absent { margin: 0; font-size: .88rem; color: var(--gris); text-align: center; }
.zone-texte { position: relative; }
.zone-texte textarea { width: 100%; min-height: 180px; font: inherit; font-size: 1.05rem; line-height: 1.6; padding: 18px 18px 30px; border-radius: var(--r-l); border: 1px solid var(--filet-fort); background: var(--blanc); color: var(--encre); resize: none; box-shadow: var(--ombre-1); transition: border-color .15s, box-shadow .15s; }
.zone-texte textarea:focus { outline: none; border-color: var(--vert); box-shadow: var(--anneau); }
.zone-texte .provisoire { margin: 6px 4px 0; color: var(--gris); font-style: italic; }
.compte-mots { position: absolute; right: 14px; bottom: 10px; font-size: .75rem; color: var(--gris-clair); }
.reperes-titre { width: 100%; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); font-weight: 700; margin-bottom: 2px; }
.pitch-ecran .reperes { margin-top: 16px; }
#analyser:disabled { opacity: .45; cursor: not-allowed; }
.mq-liste li.conseille i { background: transparent; border: 2px solid var(--vert); box-shadow: none; }
.mq-liste li.conseille .mq-lib { font-weight: 400; }
.mq-actions { display: grid; gap: 10px; }
.mq-actions form { margin: 0; }

/* molette : − valeur + (13/10/2026) */
.molette { display: inline-flex; align-items: center; gap: 0; margin: 18px auto 0; border-radius: 999px; background: var(--blanc); border: 1px solid var(--filet-fort); box-shadow: var(--ombre-1); overflow: hidden; }
.ecran .molette { display: flex; width: max-content; }
.molette button { width: 64px; height: 64px; border: 0; background: transparent; font: 500 1.8rem/1 var(--serif); color: var(--vert); cursor: pointer; transition: background .12s; }
.molette button:hover { background: var(--vert-doux); }
.molette input { width: 90px; height: 64px; border: 0; text-align: center; font: 700 2rem/1 var(--serif); color: var(--encre); background: transparent; -moz-appearance: textfield; }
.molette input::-webkit-outer-spin-button, .molette input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.molette input:focus { outline: none; }
.molette.petite { margin: 0; }
.molette.petite button { width: 42px; height: 42px; font-size: 1.3rem; }
.molette.petite input { width: 56px; height: 42px; font-size: 1.15rem; }
.pastilles.grandes { gap: 10px; margin-top: 22px; }
.pastilles.grandes .pastille-btn { min-width: 58px; padding: 14px 18px; font-size: 1.05rem; font-weight: 600; }
.reperes span.reperes-titre { border: 0; background: none; padding: 0 0 2px; color: var(--gris); font-size: .72rem; }
.molette input[type="number"] { border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0; border-radius: 0; }
.mq-anneau.complet { background: conic-gradient(var(--ok) 100%, var(--surface-2) 0); }
.mq-anneau.complet span svg { width: 22px; height: 22px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.choix-profil { grid-template-columns: 1fr; gap: 12px; }
.choix-profil .reglage { text-decoration: none; color: inherit; }
.r-tag small, .prix small { font-size: .7em; font-weight: 600; color: var(--gris); margin-left: 2px; }
.suite-chiffres { margin-top: 10px; }
.pastille-btn.plus-de { font-weight: 500; }
.dictee-bilan { text-align: center; margin: 0 0 10px; color: var(--gris); font-size: .95rem; min-height: 1.4em; }
.dictee-bilan strong { color: var(--encre); }
details.zone-texte { margin: 4px 0 6px; }
details.zone-texte > summary { list-style: none; cursor: pointer; text-align: center; color: var(--gris); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
details.zone-texte > summary::-webkit-details-marker { display: none; }
details.zone-texte[open] > summary { margin-bottom: 8px; }
.mq-prix { text-align: center; margin: 0; }
.mq-facultatifs { margin: -6px 0 18px; }
.mq-facultatifs > summary { cursor: pointer; list-style: none; color: var(--gris); font-size: .88rem; padding: 8px 4px; }
.mq-facultatifs > summary::-webkit-details-marker { display: none; }
.mq-facultatifs > summary::before { content: "+ "; font-weight: 700; color: var(--vert); }
.mq-facultatifs[open] > summary::before { content: "− "; }
.mq-facultatifs .mq-liste { margin-bottom: 0; }

/* ---------------------------------------------------------------- 13/10/2026 : particulier, administration */
.chiffre-cle strong.masquee, .d-valeur strong.masquee { font-size: 1.35rem; letter-spacing: -0.02em; }
.chiffre-cle strong:not(:only-of-type) { overflow-wrap: anywhere; }
.estimation-imonah .ei-ligne { margin: 0 0 14px; }
.estimation-imonah .ei-valeur { display: flex; flex-direction: column; padding: 18px 20px; border-radius: var(--r-m); background: var(--surface); }
.estimation-imonah .ei-valeur span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.estimation-imonah .ei-valeur strong { font-size: 1.9rem; letter-spacing: -0.035em; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--encre); }
.estimation-imonah .ei-valeur em { font-style: normal; color: var(--gris); font-size: .9rem; }
.siren-etat { margin: 6px 0 0; display: flex; gap: 6px; align-items: center; color: var(--gris); }
.siren-etat.verifie { color: var(--ok); }
.siren-etat.introuvable, .siren-etat.cessee { color: var(--rouge); }
.siren-etat svg { width: 16px; height: 16px; flex: none; }
.adm-kpi { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 18px 0 10px; }
.adm-kpi div { padding: 16px 18px; border: 1px solid var(--filet); border-radius: var(--r-m); background: var(--blanc); box-shadow: var(--ombre-1); min-width: 0; }
.adm-kpi span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.adm-kpi strong { display: block; font-size: 1.45rem; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; color: var(--encre); }
.adm-kpi small { display: block; font-size: .8rem; color: var(--gris); }
.adm-kpi .marge { background: var(--vert-doux); border-color: transparent; }
.adm-filtres { margin-top: 22px; }
.adm-filtres a { padding: 10px 16px; }
.adm-table { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--filet); border-radius: var(--r-m); background: var(--blanc); margin: 12px 0; }
.adm-table table { min-width: 720px; }
.adm-journal { list-style: none; margin: 0; padding: 0; }
.adm-journal li { padding: 8px 0; border-top: 1px solid var(--filet); font-size: .9rem; }
/* boutons pleine largeur : le libellé passe à la ligne plutôt que de déborder sur téléphone (13/10/2026) */
.bouton.large { max-width: 100%; white-space: normal; text-align: center; }
.estimation-imonah .ei-valeur strong.masquee, .ei-valeur .masquee { font-size: 1.3rem; letter-spacing: -0.02em; }
.chiffre-cle strong.masquee { font-size: 1.5rem; }
.adm-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .adm-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .adm-kpi strong { font-size: 1.2rem; } }
.onglets-dossiers.adm-filtres { display: flex; flex-wrap: wrap; gap: 8px; grid-template-columns: none; }
.onglets-dossiers.adm-filtres a { flex: 0 0 auto; min-height: 0; padding: 9px 16px; }

/* ---------------------------------------------------------------- 13/10/2026 (soir) : saisies guidées de la fiche */
.decennies { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.decennies .pastille-btn { padding: 6px 12px; font-size: .82rem; }
.roue-annees { display: block; width: 100%; position: relative; height: 220px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain;
  background: transparent; padding: 88px 0; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent); }
.roue-annees::-webkit-scrollbar { display: none; }
.roue-cadre { position: relative; border-radius: var(--r-m); background: var(--surface); }
.roue-cadre::before { content: ""; position: absolute; left: 12px; right: 12px; top: 88px; height: 44px; border-radius: 12px;
  background: var(--blanc); box-shadow: var(--ombre-1), inset 0 0 0 1px var(--filet); pointer-events: none; }
.roue-annees button { position: relative; z-index: 1; display: block; width: 100%; height: 44px; border: 0; background: none; scroll-snap-align: center;
  font: inherit; font-size: 1.05rem; color: var(--gris-clair); font-variant-numeric: tabular-nums; cursor: pointer; transition: color .15s, transform .2s var(--ressort); }
.roue-annees button.centre { color: var(--encre); font-weight: 700; font-size: 1.3rem; }
.roue-annees button.on { color: var(--vert); }
.roue-annees:focus-visible { outline: none; box-shadow: var(--anneau); }
details.autre-choix { margin-top: 10px; }
details.autre-choix > summary { cursor: pointer; color: var(--gris); font-size: .9rem; list-style: none; }
details.autre-choix > summary::-webkit-details-marker { display: none; }
details.autre-choix > summary::before { content: "+ "; }
.cases-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 10px; }
.case-choix { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; font-weight: 500; color: var(--encre); border: 1px solid var(--filet-fort); border-radius: 12px;
  background: var(--blanc); cursor: pointer; font-size: .92rem; transition: border-color .15s, background .15s; user-select: none; }
.case-choix input { appearance: none; width: 20px; height: 20px; flex: none; border: 1.5px solid var(--gris-clair); border-radius: 6px; margin: 0;
  display: grid; place-content: center; transition: background .15s, border-color .15s; }
.case-choix input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .18s var(--ressort); }
.case-choix input:checked { background: var(--vert); border-color: var(--vert); }
.case-choix input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.case-choix:has(input:checked) { border-color: var(--vert); background: var(--vert-doux); }
.c-saisie input[type="date"] { min-height: 44px; font: inherit; }

/* ================================================================= 13/10/2026 (soir) : vitrine animée */
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: italic; src: url("/polices/fraunces-latin-400-italic.woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 300; font-style: italic; src: url("/polices/fraunces-latin-300-italic.woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400; src: url("/polices/fraunces-latin-400-normal.woff2"); }
.barre nav a.bouton { color: #fff; }
.barre nav a.bouton:hover { color: #fff; background: var(--vert-fonce); }
html, body { overflow-x: clip; }
main.accueil { position: relative; }
.aurore { position: absolute; inset: -120px -10vw auto; height: 820px; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .9; }
.aurore i { position: absolute; display: block; border-radius: 50%; will-change: transform; animation: aurore 22s ease-in-out infinite alternate; }
.aurore i:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: 52%; top: 0; background: radial-gradient(circle, rgba(239,193,81,.30), transparent 65%); }
.aurore i:nth-child(2) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; left: 8%; top: 120px; background: radial-gradient(circle, rgba(46,73,64,.20), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurore i:nth-child(3) { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: 70%; top: 380px; background: radial-gradient(circle, rgba(46,73,64,.16), transparent 65%); animation-duration: 34s; animation-delay: -12s; }
@keyframes aurore { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-6%, 4%, 0) scale(1.08); } 100% { transform: translate3d(5%, -3%, 0) scale(.96); } }

.hero2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 6vw, 72px) 0 40px; }
.hero2 h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 22px; }
.hero2 h1 .ligne { display: block; overflow: hidden; padding-bottom: .06em; }
.hero2 h1 .ligne > span { display: inline-block; }
.hero2 h1 em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--vert);
  background: linear-gradient(100deg, var(--vert) 20%, #8a6a1f 50%, var(--vert) 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: reflet 7s ease-in-out infinite; }
@keyframes reflet { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero2 .grand { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--gris); max-width: 36em; }
.deux-offres { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 16px; }
.offre-carte { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 18px; border-radius: var(--r-l); text-decoration: none; color: var(--encre);
  background: rgba(255,255,255,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--filet); box-shadow: var(--ombre-2);
  transition: transform .35s var(--ressort), box-shadow .35s var(--ressort), border-color .2s; overflow: hidden; isolation: isolate; }
.offre-carte::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(239,193,81,.18), transparent 45%); }
.offre-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-3); border-color: var(--filet-fort); }
.offre-carte:hover::before { opacity: 1; }
.offre-carte.pro { background: linear-gradient(160deg, #2E4940, #1d302a); color: #fff; border-color: transparent; }
.offre-carte.pro .o-detail, .offre-carte.pro .o-sur { color: rgba(255,255,255,.72); }
.o-sur { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gris); }
.o-prix { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-top: 6px; }
.o-prix small { font-size: .9rem; font-weight: 600; margin-left: 3px; letter-spacing: 0; opacity: .7; }
.o-detail { font-size: .86rem; color: var(--gris); line-height: 1.4; }
.o-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; font-size: .92rem; }
.o-cta svg { width: 16px; height: 16px; transition: transform .3s var(--ressort); }
.offre-carte:hover .o-cta svg { transform: translateX(4px); }
.offre-carte.part .o-cta { color: var(--vert); }

/* la scène */
.scene { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: center; width: 100%; perspective: 1400px; }
.scene-plan { position: absolute; inset: 6% 12% 4% 8%; transform-style: preserve-3d; will-change: transform; }
.scene .couv { position: absolute; inset: 0; border-radius: 22px; background: #FBFAF6; box-shadow: 0 50px 90px -40px rgba(18,20,23,.45), 0 12px 30px -12px rgba(18,20,23,.18), inset 0 0 0 1px rgba(18,20,23,.06);
  display: flex; flex-direction: column; overflow: hidden; }
.couv-haut { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.couv-logo { padding: 6px 10px; border: 1px dashed var(--gris-clair); border-radius: 8px; letter-spacing: .06em; text-transform: none; }
.couv-photo { margin: 0 22px; border-radius: 14px; overflow: hidden; flex: 1 1 auto; min-height: 0; }
.couv-photo svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.couv-titre { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.couv-ville { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #8a6a1f; font-weight: 600; }
.couv-titre strong { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.02em; color: var(--encre); line-height: 1.1; }
.couv-ligne { width: 46px; height: 2px; background: var(--or); margin: 10px 0 6px; transform-origin: left; }
.couv-pour { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: .82rem; color: var(--gris); }
.flottant { position: absolute; z-index: 2; background: rgba(255,255,255,.86); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.7); border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(18,20,23,.35), 0 2px 6px rgba(18,20,23,.06); will-change: transform; }
.f-sur { display: block; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.valeur-f { right: 0; bottom: 14%; padding: 16px 18px; width: 54%; min-width: 200px; }
.valeur-f strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin: 2px 0 10px; color: var(--encre); }
.f-barre { position: relative; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.f-barre i { position: absolute; inset: 0 22% 0 18%; border-radius: 99px; background: linear-gradient(90deg, var(--vert), #4d7a6a); transform-origin: left; }
.f-bornes { display: flex; justify-content: space-between; margin-top: 6px; font-size: .72rem; color: var(--gris); font-variant-numeric: tabular-nums; }
.ventes-f { left: 0; top: 8%; padding: 12px 14px 8px; width: 52%; min-width: 190px; }
.nuage-points { width: 100%; height: auto; display: block; margin-top: 4px; }
.nuage-points circle { fill: var(--vert); opacity: .85; }
.nuage-points .axe { stroke: var(--filet-fort); stroke-width: 1; }
.nuage-points .mediane { stroke: var(--or); stroke-width: 2; stroke-dasharray: 3 3; }
.soleil-f { right: 4%; top: 2%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.soleil-f svg { width: 52px; height: 34px; }
.soleil-f .arc { fill: none; stroke: var(--or); stroke-width: 2.5; stroke-dasharray: 4 4; }
.soleil-f .astre { fill: #EFC151; }
.soleil-f strong { display: block; font-size: .86rem; color: var(--encre); } .soleil-f small { font-size: .72rem; color: var(--gris); }
.dictee-f { left: 4%; bottom: 4%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.dictee-f .micro { width: 34px; height: 34px; border-radius: 50%; background: var(--vert); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(46,73,64,.35); animation: pouls 2.4s ease-out infinite; }
.dictee-f .micro svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(46,73,64,.35); } 100% { box-shadow: 0 0 0 14px rgba(46,73,64,0); } }
.dictee-f .onde { display: flex; align-items: center; gap: 3px; height: 28px; }
.dictee-f .onde i { width: 3px; border-radius: 3px; background: var(--vert); height: 30%; animation: barres-onde 1.2s ease-in-out infinite; }
.dictee-f .onde i:nth-child(3n) { animation-delay: -.3s; } .dictee-f .onde i:nth-child(3n+1) { animation-delay: -.7s; } .dictee-f .onde i:nth-child(4n) { animation-delay: -.5s; }
@keyframes barres-onde { 0%, 100% { height: 22%; } 50% { height: 100%; } }

/* défilement des sources */
.defile { margin: 26px -24px 8px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defile-piste { display: flex; gap: 12px; width: max-content; animation: defile 38s linear infinite; padding: 6px 0; }
.defile-piste span { white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--filet); background: rgba(255,255,255,.7); font-size: .84rem; font-weight: 500; color: var(--texte); }
.defile:hover .defile-piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }

/* étapes */
.etapes2 { padding: clamp(48px, 8vw, 96px) 0 24px; }
.etapes2 h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 18em; margin-bottom: 36px; }
.etapes2-grille { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.etapes-fil { position: absolute; left: 6%; right: 6%; top: 22px; height: 2px; background: var(--filet); border-radius: 2px; }
.etapes-fil i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--vert), var(--or)); transform-origin: left; transform: scaleX(var(--p, 0)); border-radius: 2px; }
.etape2 { position: relative; padding: 0 4px; }
.etape2 .n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--encre); color: #fff; font-weight: 700; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--fond); }
.etape2 .illu { height: 92px; border-radius: var(--r-l); background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre-1); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 4px; overflow: hidden; }
.onde-illu i { width: 4px; border-radius: 4px; background: var(--vert); height: 24%; animation: barres-onde 1.4s ease-in-out infinite; }
.onde-illu i:nth-child(2n) { animation-delay: -.4s; } .onde-illu i:nth-child(3n) { animation-delay: -.9s; } .onde-illu i:nth-child(5n) { animation-delay: -.2s; }
.curseur-illu { flex-direction: column; gap: 20px; }
.curseur-illu .piste { position: relative; width: 72%; height: 8px; border-radius: 9px; background: var(--surface-2); }
.curseur-illu .plage { position: absolute; left: 20%; right: 30%; top: 0; bottom: 0; border-radius: 9px; background: var(--vert-doux); }
.curseur-illu .pouce { position: absolute; top: 50%; left: 48%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--blanc); box-shadow: 0 2px 8px rgba(18,20,23,.25), inset 0 0 0 2px var(--vert); animation: glisse 4s var(--ressort) infinite; }
@keyframes glisse { 0%, 100% { left: 38%; } 50% { left: 62%; } }
.curseur-illu .lbl { font-size: .74rem; color: var(--gris); letter-spacing: .08em; text-transform: uppercase; }
.doc-illu { position: relative; }
.doc-illu .feuille { width: 64px; height: 72px; border-radius: 8px; background: #FBFAF6; box-shadow: var(--ombre-2); padding: 12px 10px; display: flex; flex-direction: column; gap: 7px; }
.doc-illu .feuille i { display: block; height: 4px; border-radius: 4px; background: var(--surface-2); } .doc-illu .feuille i:first-child { width: 60%; background: var(--or); }
.doc-illu .sceau { position: absolute; left: calc(50% + 18px); top: calc(50% + 6px); width: 30px; height: 30px; border-radius: 50%; background: var(--vert); display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(46,73,64,.6); }
.doc-illu .sceau svg { width: 16px; height: 16px; stroke: #fff; }
.etape2 h3 { font-size: 1.15rem; margin-bottom: 6px; }
.etape2 p { color: var(--gris); font-size: .95rem; }

/* bento à lueur */
.bento2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 40px 0; }
.tuile { position: relative; padding: 26px; border-radius: var(--r-xl); background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre-1); overflow: hidden; isolation: isolate; }
.tuile.large { grid-column: span 2; }
.tuile.sombre { background: var(--encre); color: #fff; border-color: transparent; } .tuile.sombre h3 { color: #fff; } .tuile.sombre p { color: rgba(255,255,255,.7); }
.tuile.vert { background: linear-gradient(160deg, #2E4940, #22372F); color: #fff; border-color: transparent; } .tuile.vert h3 { color: #fff; } .tuile.vert p { color: rgba(255,255,255,.75); }
.tuile.or { background: linear-gradient(160deg, #FFFDF7, var(--or-doux)); }
.tuile .chiffre { display: block; font-size: 3.4rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; }
.tuile p { color: var(--gris); margin: 0; }
.lueur::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(239,193,81,.16), transparent 60%); }
.lueur:hover::after { opacity: 1; }

.final-cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(48px, 8vw, 88px) 24px; margin: 24px 0 8px; border-radius: var(--r-xl);
  background: linear-gradient(150deg, #22372F, #121417); color: #fff; }
.final-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 16em; margin: 0 auto 24px; }
.final-cta .actions { justify-content: center; }
.aurore.douce { inset: 0; height: auto; filter: blur(60px); opacity: .7; }
.bouton.clair { background: #fff; color: var(--encre); border-color: #fff; } .bouton.clair:hover { background: #fff; }
.bouton.discret.clair { background: transparent; color: rgba(255,255,255,.8); border-color: transparent; } .bouton.discret.clair:hover { color: #fff; background: rgba(255,255,255,.08); }

@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; padding-top: 18px; }
  .scene { max-width: 460px; margin-top: 8px; }
  .etapes2-grille { grid-template-columns: 1fr; gap: 28px; }
  .etapes-fil { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .etapes-fil i { transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(180deg, var(--vert), var(--or)); }
  .etape2 { padding-left: 64px; } .etape2 .n { position: absolute; left: 0; top: 0; }
  .bento2 { grid-template-columns: 1fr; } .tuile.large { grid-column: auto; }
}
@media (max-width: 560px) {
  .deux-offres { grid-template-columns: 1fr; }
  .defile { margin-left: -16px; margin-right: -16px; }
  .valeur-f { width: 62%; min-width: 0; } .ventes-f { width: 60%; min-width: 0; }
  .soleil-f small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aurore i, .defile-piste, .onde i, .onde-illu i, .curseur-illu .pouce, .micro, .hero2 h1 em { animation: none !important; }
}

.o-cta svg, .offre-carte svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .hero2 { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero2-texte { display: contents; }
  .hero2 .sur { order: 1; } .hero2 h1 { order: 2; } .hero2 .grand { order: 3; }
  .hero2 .scene { order: 4; margin: 6px auto 4px; max-width: 420px; }
  .hero2 .deux-offres { order: 5; } .hero2 .petit { order: 6; }
}
@media (max-width: 560px) {
  .offre-carte { padding: 16px 18px; } .o-prix { font-size: 1.9rem; margin-top: 2px; }
  .deux-offres { gap: 10px; margin-top: 14px; }
}

/* ---------------------------------------------------------------- 13/10/2026 (soir) : la révélation du résultat */
.revelation { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px) clamp(28px, 5vw, 44px);
  border-radius: var(--r-xl); background: radial-gradient(120% 90% at 50% 0%, #34564b 0%, #22372F 45%, #141c19 100%); color: #fff;
  box-shadow: 0 40px 80px -40px rgba(18,20,23,.6); margin: 8px 0 28px; }
.revelation .sur { color: rgba(255,255,255,.7); }
.rayons { position: absolute; left: 50%; top: 42%; width: 0; height: 0; z-index: -1; animation: tourne 60s linear infinite; }
.rayons i { position: absolute; left: -1px; top: 0; width: 2px; height: 46vmax; max-height: 520px; transform-origin: 50% 0; transform: rotate(var(--a));
  background: linear-gradient(180deg, rgba(239,193,81,.28), transparent 70%); }
@keyframes tourne { to { transform: rotate(360deg); } }
.valeur-revelee { font-size: clamp(2.8rem, 9vw, 5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin: 6px 0 22px; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #F3DFA6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.echelle { max-width: 420px; margin: 0 auto 14px; }
.echelle-piste { position: relative; height: 10px; border-radius: 99px; background: rgba(255,255,255,.12); }
.echelle-plage { position: absolute; inset: 0; border-radius: 99px; background: linear-gradient(90deg, rgba(239,193,81,.45), #EFC151, rgba(239,193,81,.45)); transform-origin: left; }
.echelle-repere { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(239,193,81,.35), 0 6px 16px rgba(0,0,0,.35); }
.echelle-bornes { display: flex; justify-content: space-between; margin-top: 10px; font-size: .86rem; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.revelation-methode { font-family: "Fraunces", Georgia, serif; font-style: italic; color: #F3DFA6; margin: 0 0 22px; }
.revelation .actions { justify-content: center; }
.revelation .petit { color: rgba(255,255,255,.6); margin: 14px 0 0; }
@media (prefers-reduced-motion: reduce) { .rayons { animation: none; } }

/* ---------------------------------------------------------------- 13/10/2026 (soir) : l'atelier au travail */
.attente-ecran.ouvert { position: fixed; inset: 0; z-index: 90; display: grid !important; place-items: center; margin: 0; padding: 20px;
  background: radial-gradient(120% 80% at 50% 30%, rgba(250,250,248,.92), rgba(243,244,241,.97)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: ia-entree .45s cubic-bezier(.16,1,.3,1) both; }
@keyframes ia-entree { from { opacity: 0; } to { opacity: 1; } }
.ia-carte { width: min(440px, 100%); text-align: center; animation: ia-monte .6s cubic-bezier(.16,1,.3,1) both .05s; }
@keyframes ia-monte { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
/* 22/10/2026 (demande de Guillaume) : le dossier qui se compose (couverture ivoire, colonne verte, lignes, pages dessous).
   Les états finaux sont les valeurs par défaut : sans animation (prefers-reduced-motion), l'image est fixe et complète. */
.ia-dossier { width: 230px; max-width: 100%; margin: 0 auto 16px; }
.ia-dossier-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ia-dossier-svg * { transform-box: fill-box; }
.ia-ombre { fill: rgba(27, 31, 29, .10); transform-origin: center; animation: ia-ombre .8s cubic-bezier(.16,1,.3,1) both 2.5s; }
@keyframes ia-ombre { from { transform: scaleX(.6); opacity: 0; } }
.ia-page rect:first-child { fill: #FFFFFF; stroke: rgba(27, 31, 29, .14); stroke-width: .7; filter: drop-shadow(0 4px 6px rgba(27, 31, 29, .10)); }
.ia-page-ligne { fill: rgba(27, 31, 29, .16); }
.ia-page { transform-origin: 50% 90%; }
.ia-page.p1 { transform: translate(13px, 7px) rotate(5deg); animation: ia-p1 .9s cubic-bezier(.16,1,.3,1) both 2.5s; }
.ia-page.p2 { transform: translate(-13px, 5px) rotate(-5deg); animation: ia-p2 .9s cubic-bezier(.16,1,.3,1) both 2.7s; }
@keyframes ia-p1 { from { transform: translate(0, 0) rotate(0); opacity: 0; } 30% { opacity: 1; } }
@keyframes ia-p2 { from { transform: translate(0, 0) rotate(0); opacity: 0; } 30% { opacity: 1; } }
.ia-couverture { transform-origin: center; animation: ia-couv .8s cubic-bezier(.16,1,.3,1) both .1s; }
@keyframes ia-couv { from { transform: translateY(16px) scale(.96); opacity: 0; } }
.ia-couv-fond { fill: #F7F5F0; stroke: rgba(27, 31, 29, .12); stroke-width: .6; filter: drop-shadow(0 10px 14px rgba(27, 31, 29, .18)); }
.ia-colonne { fill: #22372F; transform-origin: top; animation: ia-colonne .8s cubic-bezier(.16,1,.3,1) both .7s; }
@keyframes ia-colonne { from { transform: scaleY(0); } }
.ia-cartouche { animation: ia-fondu .5s ease-out both 1.4s; }
@keyframes ia-fondu { from { opacity: 0; } }
.ia-lignes .l { transform-origin: left; animation: ia-ligne .55s cubic-bezier(.16,1,.3,1) both; }
.ia-lignes .l0 { fill: #9A7330; animation-delay: 1.5s; }
.ia-lignes .l1 { fill: #1B1F1D; animation-delay: 1.75s; }
.ia-lignes .l2 { fill: #1B1F1D; animation-delay: 2s; }
.ia-lignes .l3 { fill: rgba(27, 31, 29, .45); animation-delay: 2.25s; }
@keyframes ia-ligne { from { transform: scaleX(0); } }
.ia-reflet { transform: translateX(200px) skewX(-18deg); animation: ia-reflet 4.2s ease-in-out infinite 3.6s; }
@keyframes ia-reflet { 0% { transform: translateX(-50px) skewX(-18deg); } 45%, 100% { transform: translateX(200px) skewX(-18deg); } }
.ia-carte h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); margin-bottom: 18px; }
.ia-etapes { list-style: none; padding: 0; margin: 0 auto 16px; text-align: left; display: grid; gap: 10px; max-width: 380px; }
.ia-etapes li { display: flex; align-items: center; gap: 12px; color: var(--gris-clair); transition: color .3s; font-size: .96rem; }
.ia-etapes li i { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--filet-fort); position: relative; transition: background .3s, border-color .3s; }
.ia-etapes li.en-cours { color: var(--encre); font-weight: 600; }
.ia-etapes li.en-cours i { border-color: var(--vert); border-top-color: transparent; animation: tourne .9s linear infinite; }
.ia-etapes li.fait { color: var(--texte); }
.ia-etapes li.fait i { background: var(--vert); border-color: var(--vert); }
.ia-etapes li.fait i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ia-duree { color: var(--gris); font-size: .86rem; }
@media (prefers-reduced-motion: reduce) { .ia-dossier-svg *, .ia-etapes li.en-cours i { animation: none !important; } }

/* ---------------------------------------------------------------- 13/10/2026 (soir) : menu du compte (téléphone compris) */
.menu-compte { position: relative; margin-left: 6px; }
.menu-compte > summary { list-style: none; cursor: pointer; }
.menu-compte > summary::-webkit-details-marker { display: none; }
.menu-compte[open] > summary { box-shadow: var(--anneau); }
.menu-volet { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 230px; padding: 8px; border-radius: 16px; background: var(--blanc);
  border: 1px solid var(--filet); box-shadow: var(--ombre-3); display: flex; flex-direction: column; animation: ia-monte .25s cubic-bezier(.16,1,.3,1) both; }
.menu-volet .menu-email { padding: 8px 12px 10px; font-size: .78rem; color: var(--gris); border-bottom: 1px solid var(--filet); margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; }
.barre nav .menu-volet a, .menu-volet button { display: block !important; text-align: left; padding: 10px 12px; border-radius: 10px; color: var(--texte); text-decoration: none; font: inherit; font-size: .92rem; background: none; border: 0; width: 100%; cursor: pointer; }
.barre nav .menu-volet a:hover, .menu-volet button:hover { background: var(--surface); color: var(--encre); }
.menu-volet form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--filet); }

/* ================================================================= 13/10/2026 (nuit) : Fraunces 600 (SemiBold)
   Demande de Guillaume : titres et grands chiffres en Fraunces 600, droit (plus d'italique), sur tout le site — la même
   famille que le rapport. Fraunces : SIL Open Font License. (Texte courant : voir le bloc suivant.) */
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("/polices/fraunces-latin-600-normal.woff2"); }
:root { --titre: "Fraunces", Georgia, "Times New Roman", serif; }
h1, h2, h3, h4,
.hero h1, .hero2 h1, .ecran h1, .d-id h1, .etapes2 h2, .final-cta h2 {
  font-family: var(--titre); font-weight: 600; letter-spacing: -0.018em; font-feature-settings: "lnum";
}
h1 { line-height: 1.06; }
h3, h4 { letter-spacing: -0.008em; }
.hero2 h1 { letter-spacing: -0.022em; line-height: 1.04; }
.hero2 h1 em { font-family: var(--titre); font-style: normal; font-weight: 600; letter-spacing: -0.022em; }
.valeur-revelee, .valeur-grande, .valeur-geante, .valeur-affiche, .o-prix, .prix, .tuile .chiffre, .bento .chiffre,
.valeur-f strong, .d-valeur strong, .chiffre-cle strong, .recap .r-valeur, .stats strong, .onglets-dossiers strong,
.cote-valeur .chiffre, .proposee strong, .duo strong, .estimation-imonah .ei-valeur strong, .reglage .r-valeur,
.couv-titre strong, .apercu-garde .t {
  font-family: var(--titre); font-weight: 600; letter-spacing: -0.015em; font-feature-settings: "lnum", "tnum";
}
.couv-pour, .revelation-methode { font-family: var(--titre); font-style: normal; font-weight: 600; letter-spacing: 0; }
.revelation-methode { font-size: .95rem; }
.o-prix small, .prix small { font-family: var(--serif); font-weight: 600; letter-spacing: .02em; }

/* ================================================================= 13/10/2026 (nuit) : finition épurée
   Demande de Guillaume : Fraunces sur TOUT le texte, et une interface « plus classe, plus épurée, plus intuitive,
   plus Apple ». Principes : une seule famille (Fraunces variable, taille optique automatique), couleurs neutres
   et sobres, aplats sans dégradés, boutons en pilule, champs remplis sans bordure, cartes à filet très léger et
   ombre douce à deux couches, étiquettes en minuscules (plus de capitales espacées), mouvements courts.
   Tout est ici, en fin de feuille : retirer ce bloc rend l'apparence précédente. */
@font-face { font-family: "IMONAH Serif"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/polices/fraunces-variable-latin-opsz-wght.woff2") format("woff2-variations"),
       url("/polices/fraunces-variable-latin-opsz-wght.woff2") format("woff2"); }
:root {
  --serif: "IMONAH Serif", "Fraunces", Georgia, "Times New Roman", serif;
  --titre: var(--serif);
  --encre: #1C1D1F; --texte: #2C2D30; --gris: #6E6E73; --gris-clair: #A1A1A6;
  --fond: #FAFAF8; --blanc: #FFFFFF; --surface: #F2F2EF; --surface-2: #E9E9E5;
  --filet: rgba(28, 29, 31, .07); --filet-fort: rgba(28, 29, 31, .12);
  --ombre-1: 0 0 0 1px rgba(28, 29, 31, .05), 0 1px 2px rgba(28, 29, 31, .04);
  --ombre-2: 0 0 0 1px rgba(28, 29, 31, .05), 0 2px 6px rgba(28, 29, 31, .04), 0 12px 32px -16px rgba(28, 29, 31, .16);
  --ombre-3: 0 0 0 1px rgba(28, 29, 31, .05), 0 4px 12px rgba(28, 29, 31, .05), 0 28px 60px -28px rgba(28, 29, 31, .24);
  --anneau: 0 0 0 4px rgba(46, 73, 64, .16);
  --r-s: 12px; --r-m: 16px; --r-l: 22px; --r-xl: 30px;
}
html { text-rendering: optimizeLegibility; font-optical-sizing: auto; }
body { font-family: var(--serif); font-size: 16.5px; font-weight: 400; line-height: 1.55; letter-spacing: 0;
  font-optical-sizing: auto; color: var(--texte); -moz-osx-font-smoothing: grayscale; }
body::before { opacity: .55; }
button, input, select, textarea { font-family: var(--serif); }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--encre); letter-spacing: -0.012em; text-wrap: balance; }
h1 { line-height: 1.06; }
p, li { text-wrap: pretty; }

/* étiquettes : minuscules, sobres (plus de capitales espacées) */
.sur, .barre .logo span, .ou, .pastille, .stats span, .resume-chiffres span, table.ventes th, .avance-parcours .phase,
.chiffre-cle span, .reglage .r-titre i, .duo span, .trio span, .rubrique > h3, .r-tete h3, .onglets-dossiers span,
.reperes-titre, .estimation-imonah .ei-valeur span, .adm-kpi span, .o-sur, .curseur-illu .lbl, .d-valeur .sur {
  text-transform: none; letter-spacing: 0; font-family: var(--serif);
}
.sur { font-size: .9rem; font-weight: 600; color: var(--vert); margin-bottom: .5rem; }
.ecran > .sur { color: var(--vert); }
.ou { font-size: .82rem; }
.pastille { font-size: .78rem; font-weight: 600; letter-spacing: 0; padding: 4px 10px; }
.barre .logo span { font-size: .9rem; font-weight: 500; color: var(--gris); }

/* barre du haut : verre dépoli, plus fine */
.barre { height: 58px; background: rgba(250, 250, 248, .72); border-bottom: 1px solid var(--filet); }
.barre nav a, .barre nav button.lien { font-weight: 500; font-size: .95rem; }
.barre nav a.actif { background: var(--surface-2); color: var(--encre); }

/* boutons : aplats, pilules, retour au toucher net */
.bouton { border-radius: 999px; background: var(--vert); border-color: transparent; font-weight: 600; font-size: 1rem;
  letter-spacing: 0; box-shadow: none; padding: 12px 24px; min-height: 48px;
  transition: background-color .18s ease, transform .18s var(--ressort), box-shadow .18s ease; touch-action: manipulation; }
.bouton:hover { filter: none; background: var(--vert-fonce); transform: none; box-shadow: 0 8px 22px -12px rgba(34, 55, 47, .55); }
.bouton:active { transform: scale(.98); }
.bouton.second { background: var(--surface); color: var(--encre); border-color: transparent; box-shadow: none; }
.bouton.second:hover { background: var(--surface-2); box-shadow: none; }
.bouton.discret:hover { background: var(--surface); }
.bouton.sombre { background: var(--encre); }
.bouton.grand { min-height: 54px; border-radius: 999px; font-size: 1.05rem; padding: 14px 30px; }
.bouton.compact { border-radius: 999px; min-height: 38px; padding: 8px 16px; font-size: .92rem; }

/* champs : remplis, sans bordure, anneau au focus */
label { font-weight: 600; font-size: .98rem; }
label .aide { font-size: .9rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=url],
input[type=date], textarea, select {
  background: var(--surface); border: 1px solid transparent; border-radius: var(--r-s); padding: 14px 16px;
  font-size: 1.02rem; color: var(--encre); transition: background-color .15s ease, box-shadow .15s ease, border-color .15s ease; }
input:hover, textarea:hover, select:hover { background: var(--surface-2); }
input:focus, textarea:focus, select:focus { background: var(--blanc); border-color: rgba(46, 73, 64, .45); box-shadow: var(--anneau); }
input::placeholder, textarea::placeholder { color: var(--gris-clair); }

/* cartes : filet très léger, ombre douce */
.carte { border: 0; box-shadow: var(--ombre-2); border-radius: var(--r-l); }
a.carte:hover, button.carte:hover { transform: translateY(-2px); box-shadow: var(--ombre-3); }
.carte.douce { box-shadow: none; background: var(--surface); }
.encadre { background: var(--surface); border-radius: var(--r-m); }

/* choix : contrôles segmentés à la manière d'iOS */
.pastille-btn { background: var(--surface); border: 1px solid transparent; font-weight: 500; font-size: .98rem; padding: 10px 16px;
  min-height: 42px; transition: background-color .15s ease, color .15s ease, transform .15s var(--ressort); touch-action: manipulation; }
.pastille-btn:hover { background: var(--surface-2); border-color: transparent; transform: none; }
.pastille-btn.on { background: var(--encre); color: #fff; }
.pastille-btn.discret { background: transparent; border: 1px dashed var(--filet-fort); color: var(--gris); }
.choix button { border: 0; background: var(--surface); box-shadow: none; font-weight: 500; }
.choix button:hover { background: var(--vert-doux); transform: none; }
.choix button kbd { font-family: var(--serif); background: var(--blanc); }
.case-choix { border: 0; background: var(--surface); }
.case-choix:has(input:checked) { background: var(--vert-doux); box-shadow: inset 0 0 0 1px rgba(46, 73, 64, .35); }

/* progression : plus discrète */
.progression { height: 4px; background: var(--surface-2); }
.progression i { background: var(--vert); }

/* écrans guidés : plus d'air */
.ecran h1 { letter-spacing: -0.015em; }
.ecran .lead { font-size: 1.12rem; }

/* grands chiffres et valeur retenue */
.d-valeur { box-shadow: var(--ombre-2); }
.valeur-revelee, .valeur-grande, .valeur-geante, .valeur-affiche, .prix, .o-prix { letter-spacing: -0.02em; }

/* pied de page */
.pied { font-size: .88rem; border-top: 1px solid var(--filet); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .barre { padding: 0 16px; }
}
.galerie .couv, .curseur-x .repere::after { text-transform: none; letter-spacing: 0; font-family: var(--serif); }
html body * { font-style: normal !important; }     /* jamais d'italique (13/10/2026) */

/* 14/10/2026 (2) — Accueil, retours de Guillaume : l'italique ne lui plaît pas ; « À votre marque. » revient en Fraunces
   600 droit, d'une autre couleur que le noir (bronze IMONAH, uni) ; titre un peu moins grand ; moins d'air au-dessus
   pour que les deux offres se voient sans défiler ; accroche courte. */
main.accueil { padding-top: 8px; }
.hero2 { padding: clamp(12px, 2.5vw, 28px) 0 32px; align-items: start; }
html body .hero2 h1 { font-size: clamp(2.1rem, 4.1vw, 3.35rem); line-height: 1.06; margin-bottom: 18px; }
html body .hero2 h1 em {
  font-family: var(--serif); font-style: normal !important; font-weight: 600; letter-spacing: -0.022em;
  color: #9A7330; background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor; animation: none;
}
.hero2 .grand { color: #4A4B4F; max-width: 31em; font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.5; margin-bottom: 22px; }
.hero2 .grand strong { display: block; color: var(--encre); font-weight: 600; font-size: 1.08em; margin-bottom: 4px; }
.hero2 .scene { margin-top: 8px; }
/* 14/10/2026 : fourchette seule (particulier) — deux montants, donc un corps un peu plus petit */
.valeur-revelee.fourchette-seule { font-size: clamp(1.9rem, 6.4vw, 3.2rem); white-space: normal; }
#cote-valeur.fourchette-seule { font-size: 1.3rem; }
/* 14/10/2026 : factures */
.liste-factures { display: grid; gap: 12px; }
.facture-ligne { display: grid; grid-template-columns: 1fr auto 36px; align-items: center; gap: 16px; padding: 18px 22px; }
.facture-ligne .f-num { font-weight: 600; color: var(--encre); display: flex; flex-direction: column; }
.facture-ligne small { font-weight: 400; color: var(--gris); font-size: .86rem; }
.facture-ligne .f-montant { text-align: right; font-weight: 600; color: var(--encre); display: flex; flex-direction: column; }
.facture-ligne .f-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.facture-ligne .f-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.code-acces { margin-top: 40px; }
/* 23/10/2026 : bloc « Code d'accès » de la page du compte (Ma marque) */
.code-acces.carte { margin-top: 28px; max-width: 560px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ligne-code { display: flex; gap: 10px; align-items: center; }
.ligne-code input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.adm-code-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end; margin-bottom: 18px; }
.adm-code-form label { margin-top: 0; }
.adm-code-btn { display: flex; }
.adm-table code { font-family: var(--serif); font-size: .85rem; word-break: break-all; }

/* ---- Conditions générales (14/10/2026) : page de lecture longue, sommaire, articles aérés ---- */
main.cgu-page { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.cgu-tete { margin-bottom: 28px; }
.cgu-tete .sur { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--gris); margin: 0 0 8px; }
.cgu-tete h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; }
.cgu-sommaire { background: var(--blanc); border: 1px solid var(--filet); border-radius: 16px; padding: 20px 24px; margin-bottom: 36px; }
.cgu-sommaire ol { margin: 0; padding-left: 1.4em; columns: 2 240px; column-gap: 32px; }
.cgu-sommaire li { margin: 0 0 6px; break-inside: avoid; font-size: .93rem; }
.cgu-sommaire a { text-decoration: none; color: var(--texte); }
.cgu-sommaire a:hover { color: var(--vert); text-decoration: underline; }
.cgu-article { padding: 26px 0; border-top: 1px solid var(--filet); scroll-margin-top: 90px; }
.cgu-article h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: .7em; }
.cgu-article p, .cgu-article li { line-height: 1.65; overflow-wrap: anywhere; }
.cgu-article ul, .cgu-article ol { padding-left: 1.3em; }
.cgu-article li { margin-bottom: 6px; }
.cgu-definitions { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 10px 20px; margin: 0; }
.cgu-definitions dt { font-weight: 600; color: var(--encre); }
.cgu-definitions dd { margin: 0; line-height: 1.6; }
@media (max-width: 560px) { .cgu-definitions { grid-template-columns: 1fr; gap: 2px; } .cgu-definitions dd { margin-bottom: 10px; } }
.a-completer { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #FBF1DE; color: #7A5A1E; font-size: .85em; }

/* ---- Diagnostiqueurs proposés au particulier (14/10/2026) ---- */
.diags { margin: 40px 0 8px; }
.diags h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 600; margin-bottom: .35em; }
.diags-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 20px 0 14px; }
.diag-carte { background: var(--blanc); border: 1px solid var(--filet); border-radius: 18px; padding: 20px; display: flex;
  flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(18, 20, 23, .04); min-width: 0; }
.diag-tete { display: flex; gap: 12px; align-items: center; min-width: 0; }
.diag-tete > div { min-width: 0; }
.diag-mono { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--vert-doux); color: var(--vert-texte);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; letter-spacing: .02em; }
.diag-nom { margin: 0; font-weight: 600; color: var(--encre); line-height: 1.25; overflow-wrap: anywhere; }
.diag-personne, .diag-lieu { margin: 0; color: var(--gris); font-size: .92rem; }
.diag-tel { justify-content: center; text-align: center; white-space: normal; }
.diag-certifs { margin: 0; color: var(--gris-clair); font-size: .8rem; line-height: 1.45; overflow-wrap: anywhere; }
.diags-source { max-width: 720px; }

/* ---- Parcours par type (19/10/2026) : choix du type, réponse déjà donnée, destinataire ---- */
.choix-types button { text-align: left; }
.choix-types button span { display: flex; flex-direction: column; gap: 2px; }
.choix-types button small { color: var(--gris); font-size: .82rem; font-weight: 400; }
.deja { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--vert-doux); color: var(--vert-texte); }
.formulaire-destinataire { display: grid; gap: 18px; max-width: 640px; margin: 0 auto; }
.dest-civilites { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dest-civ input { position: absolute; opacity: 0; pointer-events: none; }
.dest-civ span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--filet-fort); cursor: pointer; }
.dest-civ input:checked + span { background: var(--encre); color: #fff; border-color: var(--encre); }
.dest-civ input:focus-visible + span { box-shadow: var(--anneau); }
.dest-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .dest-ligne { grid-template-columns: 1fr; } }
.dest-champ { display: grid; gap: 6px; text-align: left; }
.dest-champ span { font-size: .85rem; color: var(--gris); }
.dest-champ input { font: inherit; font-size: 1.05rem; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--filet-fort); background: var(--blanc); }
.dest-champ input:focus { outline: none; box-shadow: var(--anneau); }
.hon-curseurs { display: grid; gap: 18px; max-width: 640px; margin: 0 auto; }
.hon-ligne { display: grid; grid-template-columns: 140px 1fr 110px; align-items: center; gap: 14px; }
.hon-ligne input[type=range] { width: 100%; accent-color: var(--vert); }
.hon-ligne strong { text-align: right; font-variant-numeric: tabular-nums; }
.hon-lib { color: var(--gris); font-size: .9rem; }
@media (max-width: 560px) { .hon-ligne { grid-template-columns: 1fr auto; } .hon-ligne input[type=range] { grid-column: 1 / -1; } }

/* 20/10/2026 : choix discret « continuer sans photo » */
.lien-discret { display: block; margin: 14px auto 0; background: none; border: 0; padding: 6px 4px; cursor: pointer;
  font: inherit; font-size: 0.92rem; color: var(--texte-doux, #5d6b64); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lien-discret:hover { color: var(--vert, #22372f); }

/* 20/10/2026 : résumé du bien et précision sur place (écran « ce que nous avons compris ») */
.resume-bien p:last-child { font-size: 1.06rem; line-height: 1.6; margin: 0; }
.precision { width: 100%; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--filet, #e4ded2);
  display: grid; gap: 12px; text-align: left; }
.precision-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.precision .puce { border: 1px solid var(--filet, #e4ded2); background: transparent; border-radius: 999px;
  padding: 6px 14px; font: inherit; font-size: 0.9rem; cursor: pointer; }
.precision .puce:hover { border-color: var(--or, #9A7330); color: var(--or, #9A7330); }
.precision textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--filet, #e4ded2); resize: vertical; }
/* 20/10/2026 : textes lus en entier, modifiables sur place */
textarea.auto-hauteur { overflow: hidden; resize: none; min-height: 6em; line-height: 1.6; }
.volet.sur-place { margin-top: 0; }
.texte-confirme p { margin: 0 0 0.7em; line-height: 1.6; }
.texte-confirme p:last-child { margin-bottom: 0; }

/* 20/10/2026 : installer l'application — trois gestes, l'appareil détecté, le bouton dessiné.
   22/10/2026 (demande de Guillaume) : quatre onglets (iPhone · Chrome d'abord), chaque premier geste montre un petit
   écran avec l'endroit du bouton ; tout tient sans défiler sur un iPhone pour l'onglet choisi. */
main.inst-main { padding-top: 28px; }
.inst { max-width: 560px; margin: 0 auto; text-align: center; }
.inst h1 { margin: 4px 0 0; font-size: clamp(26px, 7vw, 36px); }
.inst-lead { color: var(--gris); font-size: .95rem; line-height: 1.4; margin: 6px auto 14px; max-width: 420px; }
.inst-direct { margin: 0 0 18px; display: grid; gap: 8px; justify-items: center; }
.inst-appareils { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 22px;
  background: var(--surface-2); margin-bottom: 14px; }
.inst-appareils button { border: 0; background: transparent; font: inherit; padding: 6px 6px 5px; min-height: 46px; border-radius: 18px;
  color: var(--texte); cursor: pointer; display: grid; gap: 1px; justify-items: center; line-height: 1.15; }
.inst-appareils button span { font-size: .92rem; font-weight: 600; white-space: nowrap; }
.inst-appareils button small { font-size: .72rem; color: var(--gris); white-space: nowrap; }
.inst-appareils button[aria-selected="true"] { background: var(--blanc); box-shadow: var(--ombre-1); color: var(--vert-fonce); }
.inst-appareils button[aria-selected="true"] small { color: var(--or); font-weight: 600; }
.inst-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.inst-etapes li { display: grid; grid-template-columns: 22px 92px 1fr; gap: 12px; align-items: center; padding: 9px 14px;
  border-radius: var(--r-l); background: var(--blanc); border: 1px solid var(--filet); }
.inst-n { font-family: var(--titre); font-weight: 600; font-size: 1.15rem; color: var(--or); text-align: center; }
.inst-touche { width: 92px; height: 60px; border-radius: 14px; background: var(--surface); display: flex; align-items: center;
  justify-content: center; color: #0A60D6; }
.inst-touche svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.inst-touche svg circle { fill: currentColor; stroke: none; }
.inst-touche.inst-texte { font-weight: 600; font-size: .95rem; }
/* le petit écran « où est le bouton » */
.inst-touche.inst-ou { background: var(--surface); }
.inst-touche svg.inst-ou-svg { width: 92px; height: 60px; stroke: none; }
.ou-ecran { fill: var(--blanc); stroke: rgba(18, 20, 23, .14); stroke-width: 1; }
.ou-outils { fill: var(--surface-2); }
.ou-barre { fill: var(--surface-2); }
.ou-mot { fill: rgba(18, 20, 23, .22); }
.ou-ligne { fill: rgba(18, 20, 23, .1); }
.ou-gris { fill: none; stroke: rgba(18, 20, 23, .32); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.inst-touche svg circle.ou-halo { fill: rgba(10, 96, 214, .13); stroke: none; }
.ou-cible { fill: none; stroke: #0A60D6; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.inst-touche svg .ou-cible circle { fill: #0A60D6; stroke: none; }
.inst-etapes strong { display: block; font-size: 1rem; line-height: 1.25; color: var(--encre); }
.inst-etapes li > div > span { display: block; color: var(--gris); font-size: .88rem; line-height: 1.35; margin-top: 3px; }
.inst-note { margin: 8px 0 0; font-size: .84rem; line-height: 1.38; color: var(--gris); text-align: left; padding: 0 4px; }
.inst-note.inst-deja { margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-m); background: var(--or-doux); color: var(--encre); text-align: center; }
.inst-vers { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--vert-fonce); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; }
.inst-fin { display: flex; gap: 12px; align-items: center; text-align: left; margin-top: 12px; padding: 10px 14px;
  border-radius: var(--r-l); background: var(--vert-doux); }
.inst-fin p { margin: 0; font-size: .88rem; line-height: 1.35; }
.inst-icone img { border-radius: 11px; display: block; }
@media (max-width: 420px) {
  .inst-appareils { grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; }
  .inst-appareils button { padding: 6px 2px 5px; min-height: 44px; }
  .inst-appareils button span { font-size: .84rem; }
  .inst-appareils button small { font-size: .66rem; }
  main.inst-main { padding-top: 20px; }
  .inst-etapes li { grid-template-columns: 18px 78px 1fr; gap: 10px; padding: 8px 12px; }
  .inst-touche { width: 78px; height: 52px; border-radius: 12px; }
  .inst-touche svg.inst-ou-svg { width: 78px; height: 52px; }
  .inst-touche svg { width: 26px; height: 26px; }
  .inst-touche.inst-texte { font-size: .88rem; }
}

/* ----------------------------------------------------------------------- accueil professionnel (20/10/2026) */
/* 21/10/2026 (Guillaume) : l'accueil tient dans l'écran, sans bandeau ni pied ; logo IMONAH en haut à gauche ; le titre
   au-dessus du film, l'offre et les boutons en dessous, chacun à cheval sur ses bords fondus. */
.deux-offres:has(> :only-child) { grid-template-columns: 1fr; max-width: 420px; }
main.bienvenue { max-width: none; padding: 0; margin: 0; }
.bienvenue-pro { position: relative; height: 100vh; height: 100dvh; min-height: 520px; overflow: hidden; color: #F7F5F0;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 80% at 50% 30%, #2E4940 0%, #22372F 55%, #18261F 100%);
  padding: max(16px, env(safe-area-inset-top)) 0 max(14px, env(safe-area-inset-bottom)); }
.bp-logo { position: relative; z-index: 2; align-self: flex-start; margin: 2px 0 0 20px; display: block; line-height: 0; }
.bp-logo img { height: 30px; width: auto; }
.bp-haut, .bp-bas { position: relative; z-index: 2; padding: 0 24px; text-align: center; }
.bp-haut { margin-top: clamp(8px, 2.5dvh, 28px); }
.bp-sur { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: #E9D9B4; margin: 0 0 8px; }
.bienvenue-pro h1 { color: #F7F5F0; font-size: clamp(30px, 8.6vw, 52px); line-height: 1.03; letter-spacing: -0.03em; font-weight: 600;
  margin: 0; text-shadow: 0 2px 24px rgba(16, 26, 21, .55); }
.bp-scene { position: relative; z-index: 1; flex: 1 1 auto; min-height: 160px; margin: -46px 0 -60px; }
.bp-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  background: transparent; opacity: 0; transition: opacity 1.2s var(--ressort);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 72%, transparent 100%); }
.bp-film.prete { opacity: 1; }
/* 06/11/2026 (Guillaume) : plus de signe de lecture ; lecture auto refusée → image animée à la place de la vidéo, même cadre */
.bp-scene img.bp-film { display: block; width: 100%; height: 100%; object-fit: cover; }
.bp-bas { max-width: 560px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.bp-prix { margin: 0; font-size: 16.5px; color: #E9D9B4; text-shadow: 0 1px 14px rgba(16, 26, 21, .6); }
.bp-aide { margin: 8px auto 0; max-width: 40ch; font-size: 14px; line-height: 1.5; color: rgba(247, 245, 240, .74); }
.bp-actions { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.bp-actions .bouton.clair { background: #F7F5F0; color: #22372F; border-radius: 999px; justify-content: center; }
/* 22/10/2026 (demande de Guillaume) : « J'ai déjà un compte » en bouton de contour ivoire, même forme que le premier ;
   sur téléphone les deux boutons sont un peu moins hauts pour que le premier écran tienne sans défiler. */
.bp-actions .bouton.contour-clair { background: transparent; color: #F7F5F0; border: 1.5px solid rgba(247, 245, 240, .72);
  border-radius: 999px; justify-content: center; box-shadow: none; }
.bp-actions .bouton.contour-clair:hover { background: rgba(247, 245, 240, .1); border-color: #F7F5F0; box-shadow: none; }
.bp-actions .bouton.grand { min-height: 48px; padding: 11px 24px; font-size: 1rem; }
.bp-lien { color: #E9D9B4; font-size: 14.5px; white-space: nowrap; text-underline-offset: 4px; padding: 6px; }
.bp-sources { margin: 10px 0 0; font-size: 10.5px; letter-spacing: .18em; color: rgba(247, 245, 240, .45); }
.bp-mentions { margin: 6px 0 0; font-size: 11px; color: rgba(247, 245, 240, .45); }
.bp-mentions a { color: inherit; text-decoration: none; }
/* 21/10/2026 : au pied du premier écran, l'invitation à découvrir le fonctionnement (la page défile ensuite) */
.bp-decouvrir { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(233, 217, 180, .8); text-decoration: none; }
.bp-decouvrir span { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); animation: bp-descend 2.2s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes bp-descend { 0%, 100% { transform: translateY(-2px) rotate(45deg); opacity: .5; } 50% { transform: translateY(4px) rotate(45deg); opacity: 1; } }
/* petits écrans : on garde l'essentiel dans la hauteur visible */
@media (max-height: 760px) { .bp-aide { display: none; } }
@media (max-height: 640px) { .bp-sources { display: none; } .bienvenue-pro h1 { font-size: clamp(26px, 7.6vw, 40px); } }
@media (min-width: 900px) {
  .bienvenue-pro { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto 1fr auto 1fr;
    padding: 0; min-height: 600px; }
  .bp-logo { position: absolute; top: 28px; left: 40px; margin: 0; }
  .bp-logo img { height: 34px; }
  .bp-haut { grid-column: 1; grid-row: 2; align-self: end; text-align: left; padding: 0 0 0 8vw; margin: 0; }
  .bp-bas { grid-column: 1; grid-row: 3; text-align: left; padding: 0 0 0 8vw; margin: 0; max-width: none; }
  .bp-bas > * { max-width: 520px; }
  .bp-prix { margin-top: 14px; }
  .bp-aide { margin-left: 0; }
  .bp-actions { flex-direction: row; align-items: center; gap: 10px; }
  .bp-actions .bouton.grand { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
  .bp-scene { grid-column: 1 / -1; grid-row: 1 / -1; margin: 0 0 0 34%; }      /* presque carré : le livre entier */
  .bp-film {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0, #000 30%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0, #000 30%, #000 94%, transparent 100%);
    mask-composite: intersect; }
}

/* tableaux de la politique de confidentialité (20/10/2026) */
.cgu-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 12px 0; }
.cgu-table th, .cgu-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--filet); }
.cgu-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); font-weight: 600; }
@media (max-width: 640px) { .cgu-table, .cgu-table tbody, .cgu-table tr, .cgu-table td { display: block; width: 100%; }
  .cgu-table thead { display: none; } .cgu-table tr { border-bottom: 1px solid var(--filet-fort); padding: 8px 0; } .cgu-table td { border: 0; padding: 4px 0; } }

/* ------------------------------------------------------------------ accueil : comment ça marche (21/10/2026)
   Suite du premier écran, même fond vert : les vrais écrans de l'application (données fictives) dans un téléphone,
   révélés au défilement ; puis les pages du rapport en éventail, les atouts et l'inscription. */
.tuto, .tuto-atouts, .tuto-fin { position: relative; color: #F7F5F0; background: #18261F; }
.tuto { background: linear-gradient(180deg, #18261F 0%, #1C2D26 40%, #1F322A 100%); padding: 72px 0 24px; overflow: hidden; }
.tuto-tete { text-align: center; padding: 0 24px; max-width: 760px; margin: 0 auto 8px; }
.tuto h2, .tuto-fin h2 { color: #F7F5F0; font-size: clamp(30px, 8vw, 54px); line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 600; margin: 0; }
.tuto-chapo { margin: 14px auto 0; max-width: 42ch; font-size: 15px; line-height: 1.55; color: rgba(247, 245, 240, .66); }
/* 22/10/2026 (demande de Guillaume) : téléphones nettement plus petits (≈ 190 px), texte et téléphone rapprochés,
   chaque étape plus dense ; cadre, îlot et lueur à l'échelle. */
.tuto-etape { position: relative; display: grid; gap: 22px; justify-items: center; padding: 48px 24px 16px; max-width: 1120px; margin: 0 auto; }
.tuto-texte { text-align: center; max-width: 400px; }
.tuto-n { display: block; font-size: 46px; line-height: 1; font-weight: 600; color: transparent;
  -webkit-text-stroke: 1px rgba(233, 217, 180, .55); letter-spacing: -0.02em; margin-bottom: 10px; }
.tuto-texte h3 { color: #F7F5F0; font-size: clamp(23px, 6vw, 32px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.tuto-texte p { margin: 12px 0 0; font-size: 15px; line-height: 1.58; color: rgba(247, 245, 240, .72); }
.tuto-tel { position: relative; width: min(47vw, 190px); }
/* 23/10/2026 (demande de Guillaume) : téléphone nettement moins allongé (390 / 700, proche de 9:16) ; les clips sont
   filmés dans ce même rapport (scripts/film_accueil/tuto/enregistrer.py, 390 × 700), rien d'essentiel n'est rogné. */
.tel-cadre { position: relative; z-index: 1; aspect-ratio: 390 / 700; border-radius: 28px; padding: 6px; background: #0B1310;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 34px 60px -28px rgba(0, 0, 0, .85), 0 20px 40px -20px rgba(10, 20, 15, .9); }
.tel-ecran { position: relative; height: 100%; border-radius: 22px; overflow: hidden; background: #F7F5F0;
  padding-top: 7.5%; box-sizing: border-box; container-type: inline-size; }   /* la barre d'état du téléphone, au-dessus de l'écran filmé */
.tel-ecran video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; background: #F7F5F0; }
/* 01/11/2026 : plus d'annotation (.tel-note) par-dessus les clips : le texte au centre masquait les sujets cochés. */
.tel-ilot { position: absolute; z-index: 2; top: 10px; left: 50%; width: 30%; height: 12px; transform: translateX(-50%);
  border-radius: 8px; background: #0B1310; }
.tel-lueur { position: absolute; inset: 12% -30% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201, 162, 75, .22), transparent 70%); filter: blur(8px); }
.tuto-fil { display: none; }
/* le rapport : les vraies pages en éventail */
.tuto-pages { position: relative; width: min(72vw, 400px); aspect-ratio: 1.15; }   /* 22/10/2026 : éventail plus contenu */
.tuto-pages img { position: absolute; left: 50%; top: 50%; width: 46%; height: auto; border-radius: 3px;
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(0, 0, 0, .08);
  transform: translate(-50%, -50%) rotate(0deg); transition: transform 1.3s cubic-bezier(.2, .75, .15, 1);
  transition-delay: calc(var(--i) * 70ms); }
.tuto-pages.ouvert img { transform: translate(calc(-50% + (var(--i) - 2) * var(--ecart, 24%)), calc(-50% + (var(--i) - 2) * (var(--i) - 2) * 2.5%))
  rotate(calc((var(--i) - 2) * 7deg)); }
.tuto-pages img:nth-child(3) { z-index: 3; } .tuto-pages img:nth-child(2), .tuto-pages img:nth-child(4) { z-index: 2; }
/* atouts et inscription */
.tuto-atouts { display: grid; gap: 14px; padding: 24px max(24px, calc((100% - 1120px) / 2)) 8px; background: #1F322A; }
.atout { border-top: 1px solid rgba(201, 162, 75, .45); padding: 16px 2px 6px; }
.atout strong { display: block; font-size: 17px; font-weight: 600; color: #F7F5F0; }
.atout span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: rgba(247, 245, 240, .65); }
.tuto-fin { text-align: center; padding: 72px 24px max(28px, env(safe-area-inset-bottom));
  background: radial-gradient(120% 90% at 50% 100%, #2E4940 0%, #22372F 45%, #1F322A 100%); }
.tuto-fin .bp-actions { max-width: 420px; margin: 26px auto 0; }
.tuto-fin .bp-mentions { margin-top: 30px; }
/* révélation au défilement */
.revele-t { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.revele-t.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .revele-t { opacity: 1; transform: none; transition: none; }
  .tuto-pages img { transition: none; }
  .bp-decouvrir span { animation: none; }
}
@media (min-width: 900px) {
  .tuto { padding-top: 110px; }
  .tuto-fil { display: block; position: absolute; left: 50%; top: 300px; bottom: 120px; width: 1px; background: rgba(233, 217, 180, .12); }
  .tuto-fil i { position: absolute; left: 0; top: 0; width: 1px; height: calc(var(--p, 0) * 100%); background: linear-gradient(#C9A24B, rgba(201, 162, 75, .2)); }
  .tuto-etape { grid-template-columns: 1fr 1fr; align-items: center; gap: 0 6vw; padding: 64px 48px 24px; }   /* 22/10/2026 : plus dense */
  .tuto-etape .tuto-texte { text-align: left; justify-self: end; }
  .tuto-etape .tuto-tel { justify-self: start; width: 190px; }
  .tuto-etape.inverse .tuto-texte { order: 2; justify-self: start; }
  .tuto-etape.inverse .tuto-tel { order: 1; justify-self: end; }
  .tuto-etape.rapport { grid-template-columns: 0.9fr 1.1fr; }
  .tuto-etape.rapport .tuto-pages { width: 420px; justify-self: start; --ecart: 34%; }
  .tuto-atouts { grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 60px max(48px, calc((100% - 1120px) / 2)) 20px; }
  .tuto-fin { padding-top: 110px; }
  .tuto-fin .bp-actions { flex-direction: row; justify-content: center; max-width: none; }
}

/* ================================================================= 22/10/2026 (demande de Guillaume) : page du dossier
   En-tête sans la référence en gros, client modifiable sur place ; marché (état à gauche, réinitialisation à droite,
   chiffres centrés, paramètres de la recherche) ; approches avec leurs réglages et paramètres visibles ; valeur réduite
   au minimum (curseur à trois pouces, trois champs, honoraires) ; textes lus en paragraphes ; suppression discrète. */
.d-etat { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.d-ref { color: var(--gris-clair); font-size: .8rem; }
.d-meta .d-ref::before { content: "·"; margin-right: 14px; color: var(--gris-clair); }
.d-meta .d-ref:first-child::before { content: none; margin: 0; }
.d-tete .d-client { grid-column: 2; grid-row: 2; margin: -10px 0 0; border: 0; align-self: start; justify-self: start; max-width: 100%; min-width: min(100%, 420px); }
.d-tete .d-valeur { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.d-tete .d-photo { grid-row: 1 / span 2; align-self: start; }
.d-client > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) 28px; grid-template-rows: auto auto; column-gap: 10px; row-gap: 0; align-items: center; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; }
.d-client > summary .dc-pour { grid-column: 1; grid-row: 1; color: var(--gris); font-size: .88rem; }
.d-client > summary .dc-nom { grid-column: 2; grid-row: 1; font-weight: 600; color: var(--encre); overflow-wrap: anywhere; }
.d-client > summary .dc-contact { grid-column: 2; grid-row: 2; font-size: .84rem; color: var(--gris); overflow-wrap: anywhere; }
.d-client > summary .c-ico { grid-column: 3; grid-row: 1 / span 2; }
.d-client.etat-manquant .dc-nom { color: var(--or); }
.d-client[open] { background: var(--surface); border-radius: 14px; margin: 10px -10px 0; padding: 0 10px 4px; }
.d-client[open] > summary { margin: 0 -10px; }
.dc-form { padding: 6px 0 10px; }
.dc-civ { justify-content: flex-start; margin: 0 0 10px; }
.dc-civ .dest-civ span { padding: 7px 13px; font-size: .9rem; border-color: var(--filet-fort); }
.dc-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dc-grille .dest-champ input { padding: 10px 12px; font-size: 1rem; }
.d-valeur #cote-prop b { color: #E9D9B4; }

.r-tete { align-items: flex-start; }
/* 23/10/2026 (retour de Guillaume) : la pastille d'état sur la même ligne de base que le titre de la section */
.r-tete .r-titre { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.r-tete .r-titre h3 { margin: 0; line-height: 1.3; }
.r-tete .r-titre .pastille { padding: 3px 9px; line-height: 1.3; }
.r-menu { position: relative; margin: -6px 0 0; }
.r-menu > summary { list-style: none; cursor: pointer; display: inline-flex; }
.r-menu > summary::-webkit-details-marker { display: none; }
.r-menu-panneau { position: absolute; right: 0; top: calc(100% + 8px); z-index: 9; width: min(360px, 86vw); padding: 16px 18px; border-radius: var(--r-m);
  background: var(--blanc); box-shadow: var(--ombre-3); border: 1px solid var(--filet); }
.r-menu-panneau p { margin: 0 0 12px; color: var(--texte); }
.r-menu-panneau form { margin: 0; }
.resume-chiffres.centres { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.resume-chiffres.centres div { text-align: center; padding: 16px 10px 14px; border: 0; background: var(--surface); box-shadow: none; border-radius: var(--r-m); }
.resume-chiffres.centres span { font-size: .8rem; font-weight: 500; color: var(--gris); }
.resume-chiffres.centres strong { font-size: 1.45rem; margin-top: 4px; color: var(--encre); }
.params-recherche { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin-top: 14px; }
.params-recherche label { display: grid; gap: 4px; font-weight: 500; font-size: .85rem; color: var(--gris); }
.params-recherche select { width: 100%; padding: 10px 12px; font-size: .95rem; }
.params-recherche .bouton { white-space: nowrap; }

.sous-titre { font-size: .98rem; font-weight: 600; color: var(--encre); margin: 20px 0 10px; }
.methode .poids-ligne { margin: 12px 0 0; }
.m-motif { font-weight: 400; font-size: .92rem; white-space: normal; }
.m-detail { margin: 8px 0 0; }
.m-params { margin: 14px -20px -18px; padding: 14px 20px 16px; border-top: 1px solid var(--filet); background: var(--surface); border-radius: 0 0 var(--r-m) var(--r-m);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; align-items: start; }
.m-params:has(.m-param:only-of-type) { grid-template-columns: 1fr; }
.m-param { display: grid; gap: 6px; min-width: 0; }
.m-param > label { font-size: .86rem; font-weight: 500; color: var(--gris); margin: 0; }
.m-param .c-saisie input { background: var(--blanc); font-weight: 600; max-width: 180px; }
.m-param .c-saisie input[type=number] { -moz-appearance: textfield; }
.m-param .c-saisie input::-webkit-outer-spin-button, .m-param .c-saisie input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.m-fixe { font-weight: 600; color: var(--encre); padding: 10px 0; }
.m-taux-note { margin: 2px 0 0; line-height: 1.5; }
.m-taux-note strong { color: var(--encre); }
.lien-discret.en-ligne { display: inline; margin: 0; padding: 0; font-size: inherit; color: var(--vert); }
.m-actions { grid-column: 1 / -1; margin: 2px 0 0; }
.js .m-params .m-actions { display: none; }                      /* avec JavaScript, un champ quitté s'applique tout seul */

.valeur-carte { padding: 26px 28px 24px; }
/* 23/10/2026 : « valeur-bloc » (ex-« valeur-grande », que animations.js comptait comme un chiffre) */
.valeur-bloc { text-align: center; margin-bottom: 6px; }
.valeur-bloc .sur { display: block; margin: 0 0 2px; color: var(--gris); font-weight: 500; }
.valeur-bloc .valeur-affiche { display: block; font-size: clamp(2.3rem, 7vw, 3.1rem); font-weight: 600; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.valeur-bloc #vf-sous { margin: 6px 0 0; line-height: 1.5; }
.valeur-bloc #vf-sous b { color: var(--encre); font-weight: 600; }
.valeur-bloc #vf-sous a { color: var(--vert); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.curseur-x.trois { padding: 30px 0 4px; }
.curseur-x.trois .plage { background: #E6D7B3; opacity: 1; }
.curseur-x.trois .pouce.borne { width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid #9A7330; background: var(--blanc); }
.curseur-x.trois .pouce.principal { width: 32px; height: 32px; margin: -16px 0 0 -16px; background: var(--vert); border-color: var(--blanc); box-shadow: 0 0 0 1px rgba(28,29,31,.08), var(--ombre-2); z-index: 2; }
.curseur-x.trois .pouce.borne .bulle { display: none; }           /* basse et haute se lisent dans leurs champs */
.curseur-x.trois .pouce.principal .bulle { bottom: 40px; }
.curseur-x.trois .repere { top: -4px; height: 16px; background: var(--gris-clair); }
.curseur-x.trois .repere::after { content: "proposée"; top: 18px; color: var(--gris); }
.curseur-x.trois .bornes { color: var(--gris); margin-top: 8px; }
.trio-champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.trio-champs label { display: grid; gap: 4px; margin: 0; text-align: center; font-size: .8rem; font-weight: 500; color: var(--gris); }
.trio-champs .champ-euros { display: flex; align-items: center; justify-content: center; gap: 0; background: var(--surface); border-radius: var(--r-s); padding: 0; }
.trio-champs .champ-euros input { width: 100%; min-width: 0; background: transparent; text-align: center; font-weight: 600; font-size: 1.02rem; padding: 12px 6px; border: 0; -moz-appearance: textfield; }
.trio-champs .champ-euros input::-webkit-outer-spin-button, .trio-champs .champ-euros input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.trio-champs .champ-euros input:focus { box-shadow: none; background: transparent; }
.trio-champs .champ-euros:focus-within { box-shadow: var(--anneau); background: var(--blanc); }
.trio-champs label.centre .champ-euros { background: var(--vert-doux); }
.trio-champs label.centre .champ-euros input { color: var(--vert-texte); }
.hon-bloc { margin-top: 22px; padding-top: 18px; }
.hon-ligne-atelier { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hon-ligne-atelier .champ-euros input { width: 110px; text-align: right; }
.hon-ligne-atelier .champ-euros select { flex: 0 0 auto; width: auto; padding: 10px 32px 10px 12px; }
.hon-net { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--surface); font-size: .92rem; color: var(--texte); }
.hon-net b { color: var(--encre); }
.hon-net .net { font-weight: 600; color: var(--vert-texte); }
.hon-net .net b { color: var(--vert-texte); font-size: 1.05rem; }
.valeur-carte > .actions { justify-content: center; margin-top: 18px; }

.texte-lu { margin: 10px 0 0; line-height: 1.65; color: var(--texte); max-width: 68ch; }   /* 23/10/2026 : lignes courtes */
.texte-lu p { margin: 0 0 1em; }
.texte-bloc textarea.auto-hauteur { line-height: 1.6; min-height: 9em; max-width: 72ch; }
.texte-lu p:last-child { margin-bottom: 0; }
.texte-lu ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.texte-lu li { position: relative; padding-left: 18px; }
.texte-lu li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--vert); opacity: .8; }
.texte-bloc .f-texte { margin: 0; }
.texte-bloc .f-texte > .actions { margin-top: 12px; }
.texte-panneau { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--filet); }
.js .texte-panneau:not(.ouvert) { display: none; }
html:not(.js) [data-modifier], html:not(.js) [data-annuler] { display: none; }
.texte-bloc textarea { margin-top: 0; }

.d-supprimer { margin: 18px 0 0; text-align: right; }
.d-supprimer > summary { list-style: none; cursor: pointer; display: inline-block; color: var(--gris-clair); font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; }
.d-supprimer > summary::-webkit-details-marker { display: none; }
.d-supprimer > summary:hover { color: var(--rouge); }
.d-supprimer-panneau { display: flex; gap: 14px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; padding: 14px 18px; border-radius: var(--r-m); background: var(--surface); text-align: left; }
.d-supprimer-panneau p { margin: 0; max-width: 46ch; }
.d-supprimer-panneau form { margin: 0; }

.c-surface { flex-wrap: wrap; }
.c-surface .molette.petite { margin: 0; background: var(--blanc); }
.c-surface .molette.petite input { width: 74px; }
.barre-action .resume { flex: 1 1 140px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .86rem; }
.barre-action .resume strong { font-weight: 600; font-size: .92rem; }
.barre-action { flex-wrap: nowrap; }

@media (max-width: 760px) {
  .d-tete .d-client { grid-column: 1 / -1; grid-row: auto; margin: 0; justify-self: stretch; min-width: 0; }
  .d-tete .d-valeur { grid-column: 1 / -1; grid-row: auto; }
  .d-tete .d-photo { grid-row: auto; align-self: center; }
  .d-client > summary { margin: 0 -6px; padding: 8px 6px; }
  .d-client[open] { margin: 0 -6px; padding: 0 6px 4px; }
  .dc-grille { grid-template-columns: 1fr; }
  .r-tete { flex-wrap: wrap; }
  .resume-chiffres.centres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resume-chiffres.centres strong { font-size: 1.25rem; }
  .params-recherche { grid-template-columns: 1fr 1fr; }
  .params-recherche .bouton { grid-column: 1 / -1; }
  .m-params { grid-template-columns: 1fr; margin: 14px -14px -16px; padding: 12px 14px 14px; }
  .methode { padding: 16px 14px; }
  .valeur-carte { padding: 20px 16px 18px; }
  .trio-champs { gap: 6px; }
  .trio-champs .champ-euros input { font-size: .95rem; padding: 11px 2px 11px 8px; }
  .hon-ligne-atelier .champ-euros { width: 100%; display: flex; }
  .hon-ligne-atelier .champ-euros input { flex: 1 1 60px; width: 0; min-width: 0; }
}
/* 23/10/2026 (retour de Guillaume) : résultat sobre — titre = bien + adresse, encart sans rayons, numéro discret en bas */
main.resultat-v { max-width: 720px; }
.resultat-tete { margin-bottom: 22px; }
.resultat-tete .sur { margin-bottom: 6px; }
.resultat-tete h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; margin: 0; }
.revelation.sobre { padding: clamp(30px, 5vw, 48px) clamp(20px, 5vw, 48px) clamp(24px, 4vw, 36px); margin: 0 0 24px;
  background: var(--encre); box-shadow: var(--ombre-3); }
.revelation.sobre .sur { margin-bottom: 8px; }
.revelation.sobre .valeur-revelee { font-size: clamp(2.4rem, 8vw, 3.8rem); margin: 0 0 8px; background: none; -webkit-text-fill-color: #fff; color: #fff; }
.revelation.sobre .revelation-methode { color: rgba(255,255,255,.72); font-weight: 400; margin: 0 0 22px; font-variant-numeric: tabular-nums; }
.revelation.sobre .actions { margin: 0; }
.revelation.sobre .petit { margin-top: 12px; }
.resultat-corriger { padding: 22px 24px; border-radius: var(--r-l); background: var(--blanc); border: 1px solid var(--filet); }
.resultat-corriger h3 { margin: 0 0 6px; font-size: 1.05rem; }
.resultat-corriger .muet { margin: 0 0 14px; max-width: 60ch; line-height: 1.5; }
.resultat-corriger .actions { margin: 0; }
.resultat-ref { margin: 18px 0 0; font-size: .8rem; color: var(--gris-clair); }
.sans-cesure { white-space: nowrap; }
@media (max-width: 560px) { .resultat-corriger { padding: 18px 16px; } }
/* 22/10/2026 : résultat — bouton unique « Télécharger le PDF » ; le paiement se montre au clic */
.telecharger-paiement { display: flex; flex-direction: column; align-items: center; gap: 0; }
.telecharger-paiement > summary { list-style: none; cursor: pointer; display: inline-flex; }
.telecharger-paiement > summary::-webkit-details-marker { display: none; }
.paiement-volet { margin-top: 14px; padding: 16px 20px; border-radius: var(--r-m); background: rgba(255,255,255,.1); display: grid; gap: 10px; justify-items: center; }
.paiement-volet .petit { margin: 0; color: rgba(255,255,255,.8); }
/* 22/10/2026 : confirmation — carte récapitulative */
.recap-carte { display: grid; grid-template-columns: 148px 1fr; gap: 20px; align-items: stretch; text-align: left; padding: 18px; border-radius: var(--r-l);
  background: var(--blanc); box-shadow: var(--ombre-2); margin: 18px 0 14px; }
.recap-visuel { border-radius: var(--r-m); overflow: hidden; background: var(--surface); min-height: 148px; display: grid; place-items: center; color: var(--gris-clair); }
.recap-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recap-sans-photo svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; }
/* 01/11/2026 (Guillaume, iPhone) : la case photo de la confirmation mène aux photos (« Ajouter une photo » sans couverture) */
a.recap-visuel { text-decoration: none; -webkit-tap-highlight-color: transparent; }
.recap-sans-photo { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; text-align: center; color: var(--gris); }
.recap-sans-photo span { font-size: .85rem; font-weight: 600; color: var(--vert); }
a.recap-visuel:hover .recap-sans-photo span, a.recap-visuel:focus-visible .recap-sans-photo span { text-decoration: underline; text-underline-offset: 3px; }
/* 01/11/2026 : encart « rien modifié depuis la réouverture » — la classe venait de l'interface v2 et n'était pas stylée
   ici : l'icône SVG s'affichait à pleine largeur (un disque noir). */
.encart-bronze { margin: 14px 0 0; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-m);
  background: var(--or-doux); color: #8C6A1F; text-align: left; }
.encart-bronze svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.encart-bronze p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--texte); }
.recap-corps { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.recap-titre { margin: 0; font-size: 1.3rem; font-weight: 600; color: var(--encre); line-height: 1.2; }
.recap-adresse { margin: 0; color: var(--gris); font-size: .95rem; }
.recap-valeur { margin: 12px 0 10px; padding: 12px 16px; border-radius: var(--r-m); background: var(--vert-doux); display: grid; gap: 1px; }
.recap-valeur span { font-size: .8rem; color: var(--vert-texte); font-weight: 500; }
.recap-valeur strong { font-size: 1.7rem; letter-spacing: -0.02em; color: var(--vert-texte); line-height: 1.1; font-variant-numeric: tabular-nums; }
.recap-valeur small { font-size: .84rem; color: var(--vert-texte); opacity: .85; white-space: nowrap; }
.recap-lignes { margin: 0; display: grid; gap: 6px; }
.recap-lignes div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; border-top: 1px solid var(--filet); padding-top: 6px; }
.recap-lignes dt { color: var(--gris); }
.recap-lignes dd { margin: 0; font-weight: 600; color: var(--encre); text-align: right; }
.recap-description { text-align: left; margin: 0 0 18px; }
.recap-description .contenu { padding-top: 14px; }
.confirmation .pied-ecran { display: grid; gap: 10px; }
@media (max-width: 560px) { .recap-carte { grid-template-columns: 1fr; gap: 12px; padding: 14px; } .recap-visuel { min-height: 0; height: 150px; } }
/* 22/10/2026 : « Mes dossiers » — suppression discrète par dossier */
.dossier-cellule { position: relative; display: flex; flex-direction: column; }
.dossier-cellule > .dossier-carte { flex: 1; }
.dossier-supprimer { position: absolute; top: 10px; right: 10px; z-index: 3; }
.dossier-supprimer > summary { list-style: none; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); display: grid; place-items: center; color: var(--gris); box-shadow: var(--ombre-1); transition: color .15s, background .15s; }
.dossier-supprimer > summary::-webkit-details-marker { display: none; }
.dossier-supprimer > summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transform: rotate(45deg); }
.dossier-supprimer > summary:hover { color: var(--rouge); background: #fff; }
.dossier-supprimer-volet { position: absolute; right: 0; top: 36px; width: min(300px, 80vw); padding: 14px 16px; border-radius: var(--r-m); background: var(--blanc); box-shadow: var(--ombre-3); border: 1px solid var(--filet); display: grid; gap: 10px; }
.dossier-supprimer-volet p { margin: 0; color: var(--texte); }
.dossier-supprimer-volet form { margin: 0; }
/* 22/10/2026 : page « il reste à compléter », compacte */
main.dossier-compact { max-width: 560px; }
.dossier-reprise { padding: 22px 22px 20px; display: grid; gap: 16px; }
.dr-tete { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.dr-tete h1 { font-size: 1.3rem; margin: 0 0 4px; line-height: 1.2; }
.dr-photo { width: 84px; height: 84px; border-radius: var(--r-m); object-fit: cover; background: var(--surface); display: grid; place-items: center; color: var(--gris-clair); }
.dr-photo.vide svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.dr-resume { margin: 0; color: var(--gris); font-size: .9rem; }
.dr-manque { padding: 14px 16px; border-radius: var(--r-m); background: var(--or-doux); }
.dr-manque ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.dr-manque li { position: relative; padding-left: 16px; color: var(--encre); font-weight: 500; }
.dr-manque li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--or); }
.dr-note { margin: 0; text-align: center; }

/* ------------------------------------------------------------------ avancement du dossier (22/10/2026, demande de Guillaume)
   Remplace l'anneau et la liste à ronds : six chapitres sur une ligne (filet qui se remplit), l'étape suivante en titre,
   ce qui manque en pastilles. */
.avance { border-radius: var(--r-xl); padding: 22px 24px 20px; margin: 0 0 18px; background: var(--blanc); border: 1px solid var(--filet); }
.av-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.av-tete .sur { margin: 0 0 4px; }
.av-tete h2 { font-size: 1.3rem; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
.av-tete .bouton { white-space: nowrap; flex: none; }
/* 28/10/2026 (retour de Guillaume : grille des chapitres « moche ») : chaque chapitre est une ligne — une marque ronde
   (coche pleine si complet ; chiffre cerclé de bronze pour le chapitre en cours, de gris pour les suivants) puis le nom
   et l'état. Six colonnes sur grand écran, trois sur tablette, deux sur téléphone ; 44 px de haut au moins. */
.av-chapitres { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 30px; }
.av-chapitres li > a, .av-chapitres li > .av-ch { display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; text-decoration: none; color: inherit; border-radius: 12px; }
.av-marque { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--gris); box-shadow: inset 0 0 0 1.5px rgba(28, 29, 31, .18); }
.av-marque svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.av-chapitres li.fait .av-marque { background: var(--vert); box-shadow: none; }
.av-chapitres li.encours .av-marque { color: #7C5A22; box-shadow: inset 0 0 0 2px #9A7330; background: #FBF4E3; }
.av-texte { display: grid; min-width: 0; line-height: 1.25; }
.av-nom { font-size: .9rem; font-weight: 600; color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-etat { font-size: .78rem; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-chapitres li.encours .av-etat { color: #7C5A22; font-weight: 600; }
.av-chapitres li.a_faire .av-nom { color: var(--gris); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .av-chapitres li > a:hover .av-nom { text-decoration: underline; text-underline-offset: 3px; } }
.av-manques { display: flex; flex-wrap: wrap; gap: 8px; }
.av-puce { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--filet); text-decoration: none; color: var(--texte); font-size: .86rem; transition: background .15s, border-color .15s; }
.av-puce:hover { background: var(--blanc); border-color: var(--vert); }
.av-puce .mq-lib { font-weight: 500; }
.av-puce .mq-detail { font-size: .76rem; color: #9A7330; }
.av-puce.a_confirmer .mq-detail, .av-puce.conseille .mq-detail, .av-puce.facultatif .mq-detail { color: var(--gris); }
.avance .mq-facultatifs { margin: 12px 0 0; }
.avance .mq-facultatifs .av-manques { margin-top: 10px; }
.avance .mq-actions { margin-top: 18px; }
.lien-centre { display: block; text-align: center; font-size: .86rem; color: var(--gris); text-underline-offset: 4px; }
@media (max-width: 720px) {
  .avance { padding: 18px 16px 16px; border-radius: var(--r-l); }
  .av-tete { flex-direction: column; align-items: stretch; gap: 12px; }
  .av-tete .bouton { width: 100%; justify-content: center; }
  .av-chapitres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
  .av-tete h2 { font-size: 1.18rem; }
}

/* 27/10/2026 (retours de Guillaume, iPhone) : marché — « Tout réintégrer » près des chiffres, relance confirmée en page ;
   valeur — montants au-dessus, curseur dessous, aucun texte sélectionné quand on fait glisser un pouce */
.tout-reintegrer { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: -4px 0 14px; text-align: center; }
.tout-reintegrer[hidden] { display: none; }
.tout-reintegrer .lien-discret.en-ligne { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(34, 55, 47, .35); }
.relance { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--filet); }
.relance > p { margin: 0 0 12px; color: var(--texte); }
.relance-confirmer { display: none; gap: 10px; flex-wrap: wrap; margin: 0; }
.relance.ouvert .relance-confirmer { display: flex; }
html:not(.js) .relance-confirmer { display: flex; }
html:not(.js) #relance-ouvrir, html:not(.js) #relance-annuler { display: none; }
.relance #relance-ouvrir[hidden] { display: none; }
.valeur-carte .trio-champs { margin: 16px 0 4px; }
.valeur-carte .curseur-x.trois { padding: 34px 0 2px; }
.curseur-x, .curseur-x .piste, .curseur-x .pouce, .curseur-x .bornes { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.curseur-x .piste, .curseur-x .pouce { touch-action: none; }
.valeur-carte .curseur-x.trois .pouce.principal .bulle { display: none; }   /* la valeur se lit dans le champ juste au-dessus */
@media (max-width: 720px) {
  .relance-confirmer .bouton { flex: 1 1 0; justify-content: center; }
  .relance #relance-ouvrir { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------------ audit du 27/10/2026 (contraste, téléphone)
   Gris clair porté à 4,5:1 sur le blanc et le fond (il servait aussi au texte : références, « non renseigné »,
   années non choisies…), gris d'un cran plus sombre pour garder deux niveaux ; vert des confirmations assombri ;
   mentions de l'accueil lisibles sur le vert ; champs à 16 px au moins sur téléphone (zoom automatique d'iOS). */
:root { --gris: #5E5E63; --gris-clair: #6E6E73; --ok: #2A7048; }
.bp-sources, .bp-mentions { color: rgba(247, 245, 240, .74); }
.inst-n, .inst-appareils button[aria-selected="true"] small { color: #7C5A22; }
@media (pointer: coarse), (max-width: 640px) {
  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]), textarea, select { font-size: max(16px, 1em); }
}
@media (pointer: coarse), (max-width: 640px) {
  /* liens de navigation du téléphone : 44 px de haut au moins */
  .lien-retour, .lien-centre, a.logo { display: inline-flex; align-items: center; min-height: 44px; }
}
/* bronze des petites mentions (« 1 à faire », « à fixer ») : bronze foncé, 5,8:1 au lieu de 3,9:1 */
.av-puce .mq-detail { color: #7C5A22; }
.av-puce.a_confirmer .mq-detail, .av-puce.conseille .mq-detail, .av-puce.facultatif .mq-detail { color: var(--gris); }
/* barre basse de la page du dossier : « Il manque : … » sur deux lignes au plus, au lieu d'une seule coupée */
.barre-action .resume { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
@media (pointer: coarse), (max-width: 640px) { .params-recherche select, .params-recherche input { font-size: 16px; } }
/* page du dossier sur téléphone : le tableau des ventes défile dans son cadre (prix, €/m² et distance étaient coupés) */
#ventes-detail > .contenu { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }

/* ------------------------------------------------------------------ page de lecture du PDF (27/10/2026)
   Application installée sur iPhone : le PDF seul n'avait ni retour ni fermeture. Barre fixe en haut (zones sûres),
   PDF sur toute la hauteur restante (dvh), repli « Ouvrir le PDF seul » en bas. */
main.lecture-pdf { position: fixed; inset: 0; max-width: none; margin: 0; padding: 0; display: flex; flex-direction: column;
  height: 100vh; height: 100dvh; background: #E7E5DF; }
.lp-barre { flex: 0 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 8px max(10px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--filet); position: relative; z-index: 2; }
.lp-retour, .lp-partager { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color .15s ease, transform .15s var(--ressort); -webkit-tap-highlight-color: transparent; }
.lp-retour { color: var(--vert); margin-left: -4px; }
.lp-retour svg, .lp-partager svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lp-partager { color: #F7F5F0; background: var(--vert); }
.lp-retour:active, .lp-partager:active { transform: scale(.97); }
@media (hover: hover) { .lp-retour:hover { background: var(--vert-doux); } .lp-partager:hover { background: var(--vert-fonce); } }
.lp-titre { margin: 0; min-width: 0; text-align: center; font-size: 14px; line-height: 1.2; font-weight: 600; color: var(--encre);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow-wrap: anywhere; letter-spacing: -0.01em; }
/* le cadre défile (iOS ne fait pas défiler un iframe de PDF par lui-même) */
.lp-cadre { flex: 1 1 auto; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
.lp-cadre iframe { display: block; width: 100%; height: 100%; border: 0; background: #E7E5DF; }
.lp-repli { flex: 0 0 auto; margin: 0; text-align: center; font-size: 13px; background: rgba(255, 255, 255, .94);
  border-top: 1px solid var(--filet); padding: 0 16px max(0px, env(safe-area-inset-bottom)); }
.lp-repli a { display: inline-flex; align-items: center; min-height: 40px; color: var(--gris); text-underline-offset: 3px; }
/* 01/11/2026 : pages en images, à la largeur de l'écran, feuilletées en défilant ; le pincement zoome (iOS) */
.lp-pages { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  overscroll-behavior: contain; }
.lp-pages img { display: block; width: 100%; max-width: 820px; height: auto; background: #FCFBF8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 10px 28px -16px rgba(20, 30, 25, .35); }
.lp-pages .lp-repli { background: transparent; padding-top: 6px; }
@media (max-width: 430px) { .lp-retour, .lp-partager { padding: 0 10px; font-size: 14.5px; gap: 5px; } .lp-barre { gap: 4px; } }
@media (max-width: 340px) { .lp-retour span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lp-retour { padding: 0 10px; } }

/* 27/10/2026 (retour de Guillaume : le logo ne remplace jamais la photo) : aperçu de la page de garde dans « Ma marque »,
   colonne claire à gauche (logo en tête), photo du bien à droite, comme la couverture du rapport. */
.apercu-garde.avec-photo { display: grid; grid-template-columns: 1fr 42%; padding: 0; overflow: hidden; }
.apercu-garde.avec-photo .ag-col { padding: 22px 18px 24px; min-width: 0; }
.apercu-garde.avec-photo .logo-m { margin-bottom: 14px; }
.apercu-garde.avec-photo .logo-m img { height: auto; max-height: 32px; max-width: 100%; object-fit: contain; }
.apercu-garde.avec-photo .t { font-size: 1.35rem; margin-top: 26px; }
.apercu-garde .ag-photo { position: relative; min-height: 100%; background: var(--filet); }
.apercu-garde .ag-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.apercu-garde .ag-legende { grid-column: 1 / -1; margin: 0; padding: 10px 18px 14px; border-top: 1px solid var(--filet); }

/* ==========================================================================================================
   28/10/2026 — retours de Guillaume sur iPhone (agent U) : rubriques repliables, ventes en cartes, bulle du
   graphique refermable, encart « Votre valeur » atteignable, réglage borne par borne. Fraunces, jamais d'italique.
   ========================================================================================================== */
html { -webkit-tap-highlight-color: transparent; }

/* pastilles du haut : état ouvert lisible ; sur téléphone, toutes visibles (grille 3 colonnes, plus de rangée qui
   cache « Valeur » et « Textes » hors de l'écran) */
.d-nav a { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s cubic-bezier(.23, 1, .32, 1);
  touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.d-nav a.ouverte { background: var(--vert-doux); border-color: rgba(46, 73, 64, .28); color: var(--vert-texte); font-weight: 600; }
.d-nav a:active { transform: scale(.97); }
.d-nav a:focus-visible { outline: none; box-shadow: var(--anneau); }
@media (max-width: 560px) {
  .d-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 10px 0 12px; }
  .d-nav a { min-height: 40px; padding: 6px 8px; font-size: .84rem; text-align: center; line-height: 1.15; }
}

/* rubriques repliables : l'en-tête entier est le bouton (au moins 56 px de haut), titre + état + aperçu */
.rubrique.repliable { padding: 0; overflow: clip; scroll-margin-top: 170px; }
.rubrique.repliable > .r-tete { margin: 0; display: block; }
.rubrique.repliable .r-h { margin: 0; font: inherit; line-height: inherit; color: inherit; letter-spacing: 0; text-transform: none; }
.r-bascule { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "titre chevron" "apercu chevron";
  align-items: center; column-gap: 14px; row-gap: 3px; width: 100%; min-height: 60px; margin: 0; padding: 16px 20px;
  border: 0; border-radius: inherit; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: background-color .15s ease; }
.r-bascule:focus-visible { outline: none; box-shadow: inset 0 0 0 3px rgba(46, 73, 64, .22); }
.r-bascule:active { background: var(--surface); }
@media (hover: hover) and (pointer: fine) { .r-bascule:hover { background: rgba(242, 242, 239, .6); } }
.r-bascule .r-titre { grid-area: titre; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.r-bascule .r-nom { font-size: 1.08rem; font-weight: 600; color: var(--encre); letter-spacing: -0.01em; }
.r-bascule .pastille { padding: 3px 9px; line-height: 1.3; }
.r-bascule .r-apercu { grid-area: apercu; font-size: .88rem; color: var(--gris); font-variant-numeric: tabular-nums; min-width: 0; }
.r-bascule .r-chevron { grid-area: chevron; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); position: relative; flex: none; }
.r-bascule .r-chevron::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px;
  border-right: 2px solid var(--vert); border-bottom: 2px solid var(--vert); transform: rotate(45deg);
  transition: transform .22s cubic-bezier(.23, 1, .32, 1), margin .22s cubic-bezier(.23, 1, .32, 1); }
.rubrique.repliable:not(.replie) .r-chevron::after { transform: rotate(-135deg); margin-top: -2px; }
.rubrique.repliable > .r-corps { padding: 2px 22px 20px; }
.js .rubrique.repliable.replie > .r-corps { display: none; }
.rubrique.repliable:not(.replie) > .r-tete .r-bascule { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 760px) {
  .r-bascule { padding: 14px 14px 14px 16px; }
  .rubrique.repliable > .r-corps { padding: 2px 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { .r-bascule .r-chevron::after { transition: none; } }

/* « Valeur proposée » des approches : mène à « Votre valeur » */
a.proposee.vers-valeur { text-decoration: none; position: relative; cursor: pointer; transition: box-shadow .15s ease, transform .15s cubic-bezier(.23, 1, .32, 1); }
a.proposee.vers-valeur:active { transform: scale(.985); }
a.proposee.vers-valeur:focus-visible { outline: none; box-shadow: var(--anneau); }
@media (hover: hover) and (pointer: fine) { a.proposee.vers-valeur:hover { box-shadow: 0 0 0 1px rgba(46, 73, 64, .25); } }
.proposee .vv-action { flex-basis: 100%; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .92rem; font-weight: 600; color: var(--vert-texte); }
.proposee .vv-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ba-vers-valeur { color: inherit; text-decoration: none; }
.ba-vers-valeur strong { text-decoration: underline; text-decoration-color: rgba(46, 73, 64, .35); text-underline-offset: 3px; }

/* « Les N ventes une par une » : une carte par vente sur téléphone, des lignes alignées sur grand écran ; aucun
   défilement horizontal */
.vl-aide { margin: 14px 0 0; }
.vl-confirmer { margin: 12px 0 4px; }
.ventes-liste { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.vente-l { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "rue bascule" "date bascule" "chiffres chiffres" "motif motif";
  column-gap: 12px; row-gap: 2px; padding: 14px 14px 14px 16px; border: 1px solid var(--filet); border-radius: var(--r-m); background: var(--blanc);
  transition: background-color .2s ease, border-color .2s ease; }
.vente-l .vl-bascule { grid-area: bascule; margin: 0; align-self: start; }
.vente-l .vl-rue { grid-area: rue; font-weight: 600; color: var(--encre); font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.vente-l .vl-date { grid-area: date; font-size: .86rem; color: var(--gris); }
.vente-l .vl-chiffres { grid-area: chiffres; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 10px 0 0; }
.vente-l .vl-chiffres > div { min-width: 0; }
.vente-l dt { font-size: .74rem; color: var(--gris); margin: 0; }
.vente-l dd { margin: 0; font-weight: 600; color: var(--encre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vente-l .vl-prix dd { font-size: 1.06rem; }
.vente-l .vl-prix { order: 1; } .vente-l .vl-m2 { order: 2; } .vente-l .vl-surface { order: 3; } .vente-l .vl-distance { order: 4; }   /* téléphone : le prix d'abord */
.vente-l .vl-motif { grid-area: motif; margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--rouge-doux); color: var(--rouge); font-size: .84rem; line-height: 1.4; }
.vente-l.exclue { background: var(--surface); border-color: transparent; }
.vente-l.exclue .vl-rue { text-decoration: line-through; text-decoration-color: rgba(28, 29, 31, .35); color: var(--gris); }
.vente-l.exclue dd { color: var(--gris); }
/* interrupteur : 52 × 32, zone tactile de 48 px au moins */
.vente-l .bascule { width: 52px; height: 32px; position: relative; touch-action: manipulation; }
.vente-l .bascule::before { content: ""; position: absolute; inset: -8px -6px; }
.vente-l .bascule i { top: 4px; left: 4px; width: 24px; height: 24px; }
.vente-l .bascule.on i { transform: translateX(20px); }
.vente-l .bascule:active i { width: 28px; }
.vente-l .bascule.on:active i { transform: translateX(16px); }
.vl-entete { display: none; }
@media (min-width: 761px) {
  .vl-entete, .vente-l { grid-template-columns: 56px minmax(0, 1.6fr) 104px repeat(4, minmax(64px, 1fr)); grid-template-areas: none; align-items: center; column-gap: 12px; }
  .vl-entete { display: grid; padding: 0 12px; margin: 14px 0 0; font-size: .76rem; color: var(--gris); font-weight: 600; }
  .vl-entete .d { text-align: right; }
  .ventes-liste { gap: 0; margin-top: 6px; }
  .vente-l { grid-template-areas: none; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--filet); border-radius: 0; background: none; }
  .vente-l.exclue { background: none; }
  .vente-l .vl-bascule, .vente-l .vl-rue, .vente-l .vl-date, .vente-l .vl-motif { grid-area: auto; }
  .vente-l .vl-bascule { grid-column: 1; align-self: center; }
  .vente-l .vl-chiffres { display: contents; }
  .vente-l .vl-chiffres > div { order: 0; }
  .vente-l .vl-chiffres dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vente-l .vl-chiffres dd { text-align: right; }
  .vente-l .vl-prix dd { font-size: inherit; }
  .vente-l .vl-motif { grid-column: 2 / -1; margin: 2px 0 4px; }
}

/* bulle d'une vente du graphique : croix de fermeture (44 px) */
.marche-bulle.epinglee { padding-right: 46px; }
.marche-bulle-fermer { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: none; color: var(--gris); cursor: pointer; touch-action: manipulation; }
.marche-bulle-fermer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.marche-bulle-fermer:active { background: var(--surface); transform: scale(.94); }
.marche-bulle-fermer:focus-visible { outline: none; box-shadow: var(--anneau); }
.marche-bulle a[x-apple-data-detectors], .marche-bulle a[href^="tel"] { color: inherit !important; text-decoration: none !important; }

/* « Votre valeur » : onglets Basse / Valeur / Haute (voir le bloc du 28/10/2026 soir), un seul pouce saisissable */
.borne-reglage { display: none; }
.js .borne-reglage { display: block; margin: 16px 0 0; }
.js .valeur-carte .trio-champs { display: none; }
/* le curseur : seul le pouce de la borne choisie se saisit (zone tactile 48 px) ; les autres sont des repères */
.curseur-x.trois .pouce.inactif { pointer-events: none; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-width: 2px; box-shadow: none; z-index: 1; }
.curseur-x.trois .pouce.principal.inactif { background: var(--vert); border-color: var(--blanc); }
.curseur-x.trois .pouce.borne.inactif { background: var(--blanc); border-color: #9A7330; }
.curseur-x.trois .pouce.actif { z-index: 3; width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.curseur-x.trois .pouce.borne.actif { background: #9A7330; border-color: var(--blanc); box-shadow: 0 0 0 1px rgba(28, 29, 31, .08), var(--ombre-2); }
.curseur-x.trois .pouce.actif::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.valeur-carte .curseur-x.trois .piste { height: 10px; }
.valeur-carte .curseur-x.trois { padding: 26px 0 2px; }

/* 28/10/2026 : travaux avant location — durée du bail en champ court à côté du montant */
.m-param .c-saisie.c-court { max-width: 11rem; margin-top: 8px; }

/* 28/10/2026 : écran unique DPE + GES (page classique) */
.diag-bloc { border: 0; padding: 0; margin: 0 0 22px; }
.diag-bloc legend { font-weight: 600; margin-bottom: 10px; }
.diag-radios label { position: relative; cursor: pointer; flex: 1; border-radius: var(--r-s); color: #fff; font-family: var(--serif); }
.diag-radios input { position: absolute; opacity: 0; inset: 0; }
.diag-radios { gap: 5px; }
.diag-radios label { min-width: 0; }
.diag-radios label span { display: grid; place-items: center; min-height: 44px; border-radius: 10px; font-weight: 600; }
.diag-bloc .champ-geant input { padding-right: 8.5rem; }
.diag-bloc .champ-geant .suffixe { font-size: .95rem; }
.diag-radios input:checked + span { outline: 3px solid var(--encre, #1B1F1D); outline-offset: 2px; }
.diag-radios input:focus-visible + span { outline: 3px solid var(--bronze, #9A7330); outline-offset: 2px; }
.diag-ges .dpe-A { background: #E8E0F5; color: #1B1F1D; } .diag-ges .dpe-B { background: #D2C3EA; color: #1B1F1D; }
.diag-ges .dpe-C { background: #BBA5DE; color: #1B1F1D; } .diag-ges .dpe-D { background: #A487D1; color: #1B1F1D !important; }
.diag-ges .dpe-E { background: #8C69C3; } .diag-ges .dpe-F { background: #7148AD; } .diag-ges .dpe-G { background: #552B93; }
.diag-bloc .dpe-chips { margin-top: 4px; }

/* ================================================================= 28/10/2026 (soir) : retours de Guillaume sur iPhone
   1. Carte du dossier « Prêt à générer » : l'action principale juste sous le titre ; les chapitres en récapitulatif
      coché ; ce qui reste en bloc facultatif, à part, en lignes discrètes (ton plus sombre, pas de bouton). */
.avance.complet { padding: 26px 28px 22px; }
.av-pret { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 18px 32px; align-items: center; }
.av-pret-tete { display: flex; align-items: center; gap: 16px; min-width: 0; }
.av-pret-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--vert); }
.av-pret-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.av-pret h2 { font-size: 1.55rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.av-pret .av-sous { margin: 4px 0 0; color: var(--gris); font-size: .95rem; line-height: 1.4; text-wrap: pretty; }
.av-pret-action form { margin: 0; }
.av-pret-action .bouton { width: 100%; }
.av-pret-action .mq-prix { margin: 8px 0 0; text-align: center; }
.av-chapitres.av-recap { margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--filet); }
.av-chapitres.av-recap .av-nom { font-weight: 500; color: var(--texte); }
.av-chapitres.av-recap li.fait .av-etat { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.av-chapitres.av-recap li:not(.fait) .av-marque { box-shadow: inset 0 0 0 2px #9A7330; }
.av-plus { margin: 16px 0 0; padding: 4px 18px 6px; border-radius: 18px; background: var(--surface); }
.av-plus-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 12px 0 10px; }
.av-plus-tete h3 { font-size: .98rem; font-weight: 600; margin: 0; letter-spacing: 0; }
.av-plus-tete p { margin: 0; font-size: .88rem; color: var(--gris); }
.av-plus-liste { list-style: none; margin: 0; padding: 0; }
.av-plus-liste a { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 12px; min-height: 48px;
  border-top: 1px solid rgba(28, 29, 31, .08); text-decoration: none; color: var(--texte); transition: color .15s ease; }
.av-plus-liste .mq-lib { font-weight: 500; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-plus-liste .mq-detail { font-size: .82rem; color: var(--gris); white-space: nowrap; }
.av-plus-liste svg { width: 16px; height: 16px; fill: none; stroke: var(--gris); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s cubic-bezier(.23, 1, .32, 1); }
.av-plus-liste a:active { color: var(--vert); }
@media (hover: hover) and (pointer: fine) {
  .av-plus-liste a:hover { color: var(--vert); }
  .av-plus-liste a:hover svg { transform: translateX(3px); stroke: var(--vert); }
}
@media (max-width: 720px) {
  .avance.complet { padding: 20px 16px 16px; }
  .av-pret { grid-template-columns: 1fr; gap: 18px; }
  .av-pret h2 { font-size: 1.4rem; }
  .av-pret-ico { width: 40px; height: 40px; }
  .av-plus { padding: 2px 14px 4px; margin-top: 14px; }
  .av-plus-liste .mq-detail { display: none; }
}

/* 4. « Votre valeur » : l'onglet choisi est vert et plus grand (sa colonne s'élargit), il porte un crayon : un second
      toucher rend son montant saisissable. Plus de − / + ni d'aide entre les onglets et le curseur. */
.bornes-onglets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); gap: 6px; padding: 5px; border-radius: 20px; background: var(--surface);
  transition: grid-template-columns .26s cubic-bezier(.23, 1, .32, 1); }
.bornes-onglets[data-actif="0"] { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); }
.bornes-onglets[data-actif="2"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr); }
.bo-cellule { position: relative; min-width: 0; font-size: 1.1rem; }   /* taille du champ de saisie (règle anti-zoom : 1em) */
.bo-onglet { width: 100%; height: 100%; min-height: 64px; display: grid; align-content: center; justify-items: center; gap: 1px; padding: 8px 4px;
  border: 0; border-radius: 15px; background: transparent; color: var(--gris); font: inherit; cursor: pointer; touch-action: manipulation;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .14s cubic-bezier(.23, 1, .32, 1); }
.bo-lib { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 500; line-height: 1.2; }
.bo-montant { display: block; max-width: 100%; }
.bo-montant strong { font-size: .96rem; font-weight: 600; color: var(--encre); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
  letter-spacing: -0.01em; transition: font-size .18s ease, color .18s ease; }
.bo-crayon { display: none; flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.bo-onglet[aria-selected="true"] { background: var(--vert); color: rgba(255, 255, 255, .82);
  box-shadow: 0 1px 1px rgba(28, 29, 31, .12), 0 10px 22px -12px rgba(34, 55, 47, .75); }
.bo-onglet[aria-selected="true"] strong { color: #fff; font-size: 1.16rem; }
.bo-onglet[aria-selected="true"] .bo-crayon { display: block; }
.bo-onglet:active { transform: scale(.97); }
.bo-onglet:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--blanc), 0 0 0 5px var(--vert); }
.bo-saisie { position: absolute; left: 7px; right: 7px; bottom: 8px; width: auto; min-width: 0; height: 32px; padding: 0 4px; border: 0; border-radius: 10px;
  background: var(--blanc); color: var(--vert-texte); text-align: center; font: 600 1.1rem/1 var(--serif); font-variant-numeric: tabular-nums; box-shadow: none; }
.bornes-onglets input.bo-saisie, .bornes-onglets input.bo-saisie:focus, .bornes-onglets input.bo-saisie:hover { width: auto; padding: 0 4px; font-size: 1em; border-radius: 10px; border: 0; outline: none; background: var(--blanc); box-shadow: 0 1px 2px rgba(18, 20, 23, .18); }
.bo-cellule.edition .bo-montant, .bo-cellule.edition .bo-crayon { visibility: hidden; }
.borne-aide { margin: 8px 0 0; min-height: 0; text-align: center; font-size: .86rem; }
.borne-aide:empty { display: none; }
.borne-aide.alerte-douce { color: var(--rouge); }
@media (hover: hover) and (pointer: fine) {
  .bo-onglet[aria-selected="false"]:hover { background: rgba(255, 255, 255, .7); color: var(--encre); }
}
@media (min-width: 761px) { .bornes-onglets { max-width: 560px; margin: 0 auto; } }
@media (max-width: 380px) { .bo-onglet[aria-selected="true"] strong { font-size: 1.04rem; } .bo-montant strong { font-size: .86rem; } }
@media (prefers-reduced-motion: reduce) { .bornes-onglets, .bo-onglet, .bo-montant strong { transition: none; } }

/* 2. Travaux avant location : deux grandes cartes de choix ; la seconde ouvre un grand montant centré et sa répartition
      sur la durée du bail. Le volet s'ouvre en hauteur (grille 0fr → 1fr), sans JavaScript grâce à :has(). */
.travaux { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; display: grid; gap: 12px; }
.tr-option { border-radius: 22px; background: var(--blanc); box-shadow: 0 0 0 1px rgba(28, 29, 31, .09), 0 1px 2px rgba(28, 29, 31, .04);
  transition: box-shadow .2s ease, scale .14s cubic-bezier(.23, 1, .32, 1); }
.tr-carte { position: relative; display: flex; align-items: center; gap: 16px; min-height: 78px; padding: 18px 20px; margin: 0; cursor: pointer;
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; border-radius: 22px; }
.tr-carte input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tr-texte { flex: 1; display: grid; gap: 2px; min-width: 0; }
.tr-texte strong { font-size: 1.1rem; font-weight: 600; color: var(--encre); letter-spacing: -0.01em; }
.tr-texte small { font-size: .92rem; color: var(--gris); }
.tr-radio { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(28, 29, 31, .28);
  transition: background-color .18s ease, box-shadow .18s ease; }
.tr-radio::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; opacity: 0; transform: scale(.4);
  transition: opacity .15s ease, transform .22s cubic-bezier(.23, 1, .32, 1); }
.tr-option:has(input[type="radio"]:checked) { box-shadow: 0 0 0 2px var(--vert), 0 14px 30px -20px rgba(34, 55, 47, .6); }
.tr-option:has(input[type="radio"]:checked) .tr-radio { background: var(--vert); box-shadow: none; }
.tr-option:has(input[type="radio"]:checked) .tr-radio::after { opacity: 1; transform: scale(1); }
.tr-option:has(.tr-carte:active) { scale: .985; }
.tr-carte:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--blanc), 0 0 0 5px rgba(46, 73, 64, .45); }
.tr-volet { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.23, 1, .32, 1); }
.tr-volet-int { min-height: 0; overflow: hidden; }
.tr-avec:has(input[type="radio"]:checked) .tr-volet, .travaux.avec-travaux .tr-avec .tr-volet { grid-template-rows: 1fr; }
@supports not selector(:has(*)) { .tr-volet { grid-template-rows: 1fr; } }
.tr-champ { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 0 16px; padding: 16px 12px 12px; border-radius: 18px;
  background: var(--surface); cursor: text; font-size: 2.6rem; }
#tr-montant { width: 7ch; max-width: 100%; min-width: 2ch; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  text-align: center; font-size: 1em; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--encre);
  font-variant-numeric: lining-nums tabular-nums; caret-color: var(--vert); }
#tr-montant::placeholder { color: rgba(28, 29, 31, .22); }
.tr-champ:focus-within { background: var(--vert-doux); }
.tr-euro { font-size: 1.6rem; font-weight: 600; color: var(--gris); }
.tr-lissage { margin: 12px 16px 18px; text-align: center; font-size: .95rem; line-height: 1.45; color: var(--gris); min-height: 1.45em; }
.tr-lissage strong { font-weight: 600; color: var(--vert-texte); }
@media (prefers-reduced-motion: reduce) { .tr-volet, .tr-option, .tr-radio, .tr-radio::after { transition: none; } }
@media (max-width: 420px) { .tr-champ { font-size: 2.3rem; } .tr-carte { padding: 16px 18px; } }

/* 3. Orientation : une boussole — huit façades autour d'un cadran ; la principale pleine et cerclée de bronze, nommée au
      centre avec la pastille « principale » ; les autres en vert clair ; « Traversant » à part, seul. */
.orient-question { margin: 24px 0 4px; }
.orient { --t: 280px; --r: 106px; --b: 52px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.orient.compact { --t: 244px; --r: 92px; --b: 46px; }
.orient-cadran { position: relative; flex: none; width: var(--t); height: var(--t); border-radius: 50%; background: var(--surface); }
.orient-fond { position: absolute; inset: calc(var(--t) / 2 - var(--r) + var(--b) / 2 + 10px); border-radius: 50%; background: var(--blanc);
  box-shadow: 0 0 0 1px rgba(28, 29, 31, .06); }
.orient-fond::before, .orient-fond::after { content: ""; position: absolute; left: 50%; top: 14%; bottom: 14%; width: 1px; background: rgba(28, 29, 31, .07); }
.orient-fond::after { transform: rotate(90deg); }
.orient-dir { position: absolute; left: 50%; top: 50%; width: var(--b); height: var(--b); margin: calc(var(--b) / -2) 0 0 calc(var(--b) / -2); padding: 0;
  border: 0; border-radius: 50%; background: var(--blanc); color: var(--encre); font: 600 .86rem/1 var(--serif); cursor: pointer;
  transform: rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
  box-shadow: 0 0 0 1px rgba(28, 29, 31, .12), 0 1px 2px rgba(28, 29, 31, .06); touch-action: manipulation;
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease, opacity .16s ease, scale .14s cubic-bezier(.23, 1, .32, 1); }
.orient-dir:active { scale: .92; }
.orient-dir:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--vert); }
.orient-dir.on { background: var(--vert-doux); color: var(--vert-texte); box-shadow: inset 0 0 0 2px var(--vert); }
.orient-dir.principale { background: var(--vert); color: #fff; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px #9A7330; }
.orient.traversant-on .orient-dir { opacity: .45; }
.orient-centre { position: absolute; left: 50%; top: 50%; width: calc(2 * var(--r) - var(--b) - 28px); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; pointer-events: none; }
.orient-centre strong { font-size: 1.12rem; font-weight: 600; color: var(--encre); line-height: 1.15; }
.orient-centre small { font-size: .8rem; color: var(--gris); line-height: 1.3; text-wrap: balance; }
.o-pastille { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #FBF4E3; color: #7C5A22; font-size: .72rem; font-weight: 600; line-height: 1.5; }
.orient-traversant { display: inline-flex; align-items: baseline; gap: 8px; min-height: 48px; padding: 10px 20px; border: 0; border-radius: 999px;
  background: var(--blanc); color: var(--encre); font: inherit; font-weight: 600; cursor: pointer; touch-action: manipulation;
  box-shadow: 0 0 0 1px rgba(28, 29, 31, .12); transition: background-color .16s ease, color .16s ease, box-shadow .16s ease, scale .14s cubic-bezier(.23, 1, .32, 1); }
.orient-traversant small { font-weight: 400; font-size: .82rem; color: var(--gris); }
.orient-traversant.on { background: var(--vert); color: #fff; box-shadow: none; }
.orient-traversant.on small { color: rgba(255, 255, 255, .78); }
.orient-traversant:active { scale: .97; }
.orient-traversant:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--blanc), 0 0 0 5px var(--vert); }
.orient-actions { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; }
.orient-actions [hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .orient-dir:not(.on):hover { background: var(--vert-doux); }
  .orient-traversant:not(.on):hover { background: var(--surface); }
  .tr-option:not(:has(input[type="radio"]:checked)):hover { box-shadow: 0 0 0 1px rgba(46, 73, 64, .35), 0 1px 2px rgba(28, 29, 31, .04); }
}
@media (max-width: 360px) { .orient { --t: 256px; --r: 97px; --b: 48px; } }
@media (prefers-reduced-motion: reduce) { .orient-dir, .orient-traversant { transition: none; } }

/* ==========================================================================================================
   Tarifs et abonnement — 28/10/2026
   Page /tarifs (refonte « ultra design ») et « Mon abonnement » (/abonnement). Fraunces seule (titres et grands
   chiffres en 600, texte en 400, jamais d'italique) ; vert IMONAH, ivoire, champagne, bronze #9A7330. Surfaces
   séparées par un pas de ton plutôt que par des ombres ; une seule formule en champ vert (le meilleur prix par avis,
   calculé dans le gabarit). Mouvements : entrée des sections et barème qui se trace, en transform/opacity seulement,
   coupés si le système demande moins d'animations. Mobile d'abord (375 px), puis bureau (≥ 900 px).
   ========================================================================================================== */
.tf, .ab { --tf-vert: #22372F; --tf-vert-2: #2E4940; --tf-ivoire: #F7F5F0; --tf-champagne: #E9D9B4; --tf-or: #C9A24B;
  --tf-bronze: #9A7330; --tf-bronze-fonce: #7C5A22; --tf-bronze-doux: #F1E8D5; --tf-pierre: #EFEEE9; --tf-pierre-2: #E6E4DD;
  --tf-sortie: cubic-bezier(.23, 1, .32, 1); --tf-marge: max(16px, calc((100% - 1200px) / 2));
  font-variant-numeric: lining-nums; }
main.tarifs-main { max-width: none; padding: 0; }
.tf { overflow-x: clip; }
.tf > section, .tf > aside { padding-inline: var(--tf-marge); }
.tf h1, .tf h2, .tf h3 { font-weight: 600; color: var(--encre); text-wrap: balance; }
.tf h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.024em; margin: 0 0 28px; max-width: 18ch; }
.tf .prix, .ab .prix { font-variant-numeric: lining-nums tabular-nums; }
.tf-lien { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--tf-vert); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(34, 55, 47, .35);
  transition: text-decoration-color .18s ease; }
.tf-lien:focus-visible, .tf summary:focus-visible, .tf-case input:focus-visible, .ab-case input:focus-visible {
  outline: 2px solid var(--tf-bronze); outline-offset: 3px; border-radius: 6px; }
.tf .bouton:focus-visible, .ab .bouton:focus-visible { outline: 2px solid var(--tf-bronze); outline-offset: 3px; box-shadow: none; }

/* --- héros : titre à gauche, barème d'un avis en champ vert à droite */
.tf-hero { display: grid; gap: 36px; padding-top: 40px; padding-bottom: 64px; }
.tf-hero h1 { font-size: clamp(40px, 6.2vw, 80px); line-height: 1; letter-spacing: -0.032em; margin: 0; max-width: 12ch; }
.tf-chapo { margin: 22px 0 0; max-width: 34ch; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--texte); }
.tf-hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.tf-hero-actions .bouton { white-space: normal; text-align: center; padding-inline: 24px; font-size: 1rem; }
@media (max-width: 480px) { .tf-hero-actions .bouton { width: 100%; } }
.tf-bareme { margin: 0; background: var(--tf-vert); color: var(--tf-ivoire); border-radius: 28px; padding: 26px 22px 24px; }
.tf-bareme figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-bottom: 22px; }
.tf-bareme figcaption strong { color: var(--tf-ivoire); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.tf-bareme figcaption span { color: rgba(247, 245, 240, .72); font-size: 14px; }
.tf-barres { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tf-barres li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 12px; }
.tf-b-nom { font-size: 15.5px; color: rgba(247, 245, 240, .86); }
.tf-b-val { grid-row: 1; grid-column: 2; font-size: 24px; font-weight: 600; color: var(--tf-ivoire); letter-spacing: -0.015em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tf-b-piste { grid-column: 1 / -1; display: block; height: 10px; border-radius: 999px; background: rgba(247, 245, 240, .1); overflow: hidden; }
.tf-b-piste i { display: block; height: 100%; width: calc(var(--part, 1) * 100%); border-radius: inherit; background: rgba(247, 245, 240, .5);
  transform-origin: left center; }
.tf-barres li:not(:first-child) .tf-b-piste i { background: var(--tf-champagne); }
.tf-barres li.meilleure .tf-b-piste i { background: var(--tf-or); }
.tf-barres li.meilleure .tf-b-nom { color: var(--tf-ivoire); font-weight: 600; }
.tf-barres li.meilleure .tf-b-val { color: var(--tf-champagne); font-size: 30px; }
.tf-bareme-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(233, 217, 180, .2); font-size: 14.5px; line-height: 1.5; color: rgba(247, 245, 240, .78); }

/* --- les trois formules : trois tons (contour, pierre, vert) pour une vraie hiérarchie */
.tf-formules { padding-top: 24px; padding-bottom: 72px; }
.tf-grille { display: grid; gap: 14px; }
.tf-carte { position: relative; display: flex; flex-direction: column; border-radius: 26px; padding: 26px 22px 22px; background: var(--tf-pierre); color: var(--texte); }
.tf-carte.unite { background: transparent; box-shadow: inset 0 0 0 1px rgba(28, 29, 31, .14); }
.tf-carte.meilleure { background: var(--tf-vert); color: rgba(247, 245, 240, .86); }
.tf-carte.actuelle:not(.meilleure) { box-shadow: inset 0 0 0 2px var(--tf-bronze); }
.tf-carte.meilleure.actuelle { box-shadow: inset 0 0 0 2px var(--tf-or); }
.tf-c-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 32px; }
.tf-carte h3 { margin: 0; font-size: 21px; letter-spacing: -0.012em; line-height: 1.2; }
.tf-carte.meilleure h3, .tf-carte.meilleure strong { color: var(--tf-ivoire); }
.tf-marque { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--tf-bronze-doux); color: var(--tf-bronze-fonce); }
.tf-carte.meilleure .tf-marque { background: rgba(233, 217, 180, .16); color: var(--tf-champagne); }
.tf-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 26px 0 0; }
.tf-prix strong { font-size: clamp(52px, 5.4vw, 68px); line-height: .95; letter-spacing: -0.03em; font-weight: 600; color: var(--encre); white-space: nowrap; }
.tf-prix span { font-size: 16px; color: var(--gris); }
.tf-carte.meilleure .tf-prix span, .tf-carte.meilleure .tf-ttc { color: rgba(247, 245, 240, .72); }
.tf-ttc { margin: 8px 0 0; font-size: 14.5px; color: var(--gris); }
.tf-par-avis { margin: 18px 0 0; font-size: 16px; line-height: 1.45; }
.tf-par-avis strong { font-weight: 600; color: var(--encre); white-space: nowrap; }
.tf-carte.meilleure .tf-par-avis strong { color: var(--tf-champagne); }
.tf-liste { list-style: none; margin: 20px 0 0; padding: 18px 0 0; display: grid; gap: 10px; border-top: 1px solid rgba(28, 29, 31, .1); }
.tf-carte.meilleure .tf-liste { border-top-color: rgba(233, 217, 180, .2); }
.tf-liste li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; }
.tf-liste li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px; border-left: 1.75px solid var(--tf-bronze);
  border-bottom: 1.75px solid var(--tf-bronze); transform: rotate(-45deg); }
.tf-carte.meilleure .tf-liste li::before { border-color: var(--tf-champagne); }
.tf-c-action { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.tf-c-action .bouton { width: 100%; white-space: normal; text-align: center; }
.tf-carte .bouton.second { background: var(--blanc); color: var(--encre); }
.tf-carte.unite .bouton.second { background: var(--tf-pierre); }
.tf .bouton.clair, .ab .bouton.clair { background: var(--tf-ivoire); color: var(--tf-vert); border-color: transparent; }
.tf-etat { margin: 0; font-size: 15px; line-height: 1.45; }
.tf-souscrire { display: grid; gap: 12px; margin: 0; }
.tf-note { margin: 22px 0 0; max-width: 62ch; font-size: 15px; line-height: 1.5; color: var(--gris); }

/* case d'acceptation : cible de 44 px, case dessinée, texte en un bloc */
.tf-case, .ab-case { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 12px; margin: 0; padding: 11px 0;
  min-height: 44px; font-size: 14px; font-weight: 400; line-height: 1.45; color: inherit; cursor: pointer; }
.tf-case input, .ab-case input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; cursor: pointer;
  border: 1.5px solid rgba(28, 29, 31, .38); background: var(--blanc); display: grid; place-content: center;
  transition: background-color .16s ease, border-color .16s ease; }
.tf-case input::after, .ab-case input::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg) scale(.6); opacity: 0; transition: opacity .14s ease, transform .18s var(--tf-sortie); }
.tf-case input:checked, .ab-case input:checked { background: var(--tf-vert); border-color: var(--tf-vert); }
.tf-case input:checked::after, .ab-case input:checked::after { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }
.tf-case a, .ab-case a { color: inherit; text-underline-offset: 3px; }
.tf-carte.meilleure .tf-case { color: rgba(247, 245, 240, .82); }
.tf-carte.meilleure .tf-case input { background: transparent; border-color: rgba(247, 245, 240, .6); }
.tf-carte.meilleure .tf-case input:checked { background: var(--tf-champagne); border-color: var(--tf-champagne); }
.tf-carte.meilleure .tf-case input:checked::after { border-color: var(--tf-vert); }
.tf-carte.meilleure .tf-case input:focus-visible { outline-color: var(--tf-champagne); }
.tf-carte.meilleure .bouton:focus-visible { outline-color: var(--tf-champagne); }

/* --- premier avis offert : un champ vert pleine largeur, le titre en très grand */
.tf-offert { background: var(--tf-vert); color: var(--tf-ivoire); padding-top: 64px; padding-bottom: 64px; }
.tf-offert-dedans { display: grid; gap: 24px; }
.tf .tf-offert h2 { color: var(--tf-ivoire); font-size: clamp(44px, 7.6vw, 104px); line-height: .98; letter-spacing: -0.034em; margin: 0; max-width: 11ch; }
.tf-offert-texte p { margin: 0 0 24px; max-width: 36ch; font-size: 18px; line-height: 1.5; color: rgba(247, 245, 240, .82); }
.tf-offert-texte .bouton { white-space: normal; }
.tf-offert .bouton:focus-visible { outline-color: var(--tf-champagne); }

/* --- recharges : le texte, puis trois lignes de prix */
.tf-recharges { display: grid; gap: 28px; padding-top: 72px; padding-bottom: 64px; }
.tf-r-texte p { margin: 0; max-width: 40ch; font-size: 17px; line-height: 1.55; }
.tf-r-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tf-r-liste li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 20px; background: var(--tf-pierre); }
.tf-r-liste li.unite { background: transparent; box-shadow: inset 0 0 0 1px rgba(28, 29, 31, .14); }
.tf-r-nom, .tf-r-prix { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tf-r-nom strong { font-size: 17.5px; font-weight: 600; color: var(--encre); line-height: 1.25; }
.tf-r-nom small, .tf-r-prix small { font-size: 13.5px; color: var(--gris); line-height: 1.35; }
.tf-r-prix { align-items: flex-end; text-align: right; flex: none; }
.tf-r-prix strong { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--encre); line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tf-r-prix small { white-space: nowrap; }
.tf-insec { white-space: nowrap; }      /* nombre et unité insécables, texte « 30 jours » gardé tel quel */

/* --- comparatif : un vrai tableau, la colonne la moins chère par avis teintée */
.tf-comparer { padding-top: 56px; padding-bottom: 64px; }
.tf-tableau { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: -4px; padding-inline: 4px; }
.tf-tableau table { width: 100%; min-width: 340px; border-collapse: separate; border-spacing: 0; font-size: 13.5px; line-height: 1.35; table-layout: fixed; }
.tf-tableau col, .tf-tableau th:first-child { width: 31%; }
.tf-tableau th, .tf-tableau td { padding: 13px 6px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(28, 29, 31, .09); }
.tf-tableau thead th { font-size: 14px; font-weight: 600; color: var(--encre); vertical-align: bottom; padding-top: 16px; border-bottom-color: rgba(28, 29, 31, .2); }
.tf-tableau tbody th { font-weight: 600; color: var(--encre); }
.tf-tableau td { color: var(--texte); }
.tf-tableau .meilleure { background: #E8EEEA; }
.tf-tableau thead th.meilleure { border-radius: 14px 14px 0 0; color: var(--tf-vert); }
.tf-tableau tbody tr:last-child .meilleure { border-radius: 0 0 14px 14px; }
.tf-tableau tbody tr:last-child th, .tf-tableau tbody tr:last-child td { border-bottom: 0; }
.tf-tableau tr.fort td { font-size: 17px; font-weight: 600; color: var(--encre); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tf-tableau tr.fort td.meilleure { color: var(--tf-vert); }

/* --- questions fréquentes */
.tf-faq { padding-top: 56px; padding-bottom: 56px; }
.tf-faq-liste { border-top: 1px solid rgba(28, 29, 31, .12); }
.tf-faq details { border-bottom: 1px solid rgba(28, 29, 31, .12); }
.tf-faq summary { position: relative; list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 64px; padding: 14px 44px 14px 0;
  font-size: 18px; font-weight: 600; color: var(--encre); line-height: 1.3; }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary::before, .tf-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 15px; height: 1.75px; margin-top: -1px;
  background: var(--tf-bronze); border-radius: 2px; transition: transform .22s var(--tf-sortie); }
.tf-faq summary::after { transform: rotate(90deg); }
.tf-faq details[open] summary::after { transform: rotate(0deg); }
.tf-faq details p { margin: -2px 0 0; padding: 0 44px 22px 0; max-width: 62ch; font-size: 16.5px; line-height: 1.55; }

/* --- rappel HT / TTC */
.tf-taxes { padding-top: 8px; padding-bottom: 72px; }
.tf-taxes p { margin: 0; max-width: 78ch; font-size: 14px; line-height: 1.6; color: var(--gris); }
.tf-taxes a { color: var(--tf-vert); }

/* --- mouvement : les sections entrent une fois, le barème se trace ; contenu visible sans script */
.tf-js .tf section:not(.tf-vu) > *, .tf-js .tf .tf-formules:not(.tf-vu) .tf-carte { opacity: 0; transform: translateY(22px); }
.tf-js .tf section > *, .tf-js .tf .tf-carte { transition: opacity .7s var(--tf-sortie), transform .8s var(--tf-sortie); }
.tf-js .tf .tf-formules .tf-carte:nth-child(2) { transition-delay: .08s; }
.tf-js .tf .tf-formules .tf-carte:nth-child(3) { transition-delay: .16s; }
.tf-js .tf .tf-hero > :nth-child(2) { transition-delay: .12s; }
.tf-js .tf .tf-hero:not(.tf-vu) .tf-b-piste i { transform: scaleX(0); }
.tf-js .tf .tf-b-piste i { transition: transform 1.1s var(--tf-sortie); }
.tf-js .tf .tf-barres li:nth-child(1) .tf-b-piste i { transition-delay: .35s; }
.tf-js .tf .tf-barres li:nth-child(2) .tf-b-piste i { transition-delay: .47s; }
.tf-js .tf .tf-barres li:nth-child(3) .tf-b-piste i { transition-delay: .59s; }
.tf .bouton:active, .ab .bouton:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .tf-lien:hover { text-decoration-color: currentColor; }
  .tf-faq summary:hover { color: var(--tf-vert); }
  .tf .bouton.clair:hover, .ab .bouton.clair:hover { background: #fff; box-shadow: none; }
  .tf-carte .bouton.second:hover { background: var(--tf-pierre-2); }
}
@media (prefers-reduced-motion: reduce) {
  .tf *, .ab * { transition: none !important; animation: none !important; }
  .tf-js .tf section > *, .tf-js .tf .tf-carte, .tf-js .tf .tf-b-piste i { opacity: 1 !important; transform: none !important; }
}

@media (min-width: 640px) {
  .tf-tableau table { font-size: 15px; }
  .tf-tableau th, .tf-tableau td { padding: 16px 14px; }
  .tf-tableau thead th { font-size: 16px; }
  .tf-tableau tr.fort td { font-size: 20px; }
  .tf-bareme { padding: 32px 32px 28px; }
}
@media (min-width: 900px) {
  .tf-hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 64px; padding-top: 88px; padding-bottom: 112px; }
  .tf-chapo { margin-top: 28px; }
  .tf-hero-actions { margin-top: 36px; }
  .tf-bareme { padding: 36px 36px 30px; border-radius: 32px; }
  .tf-b-val { font-size: 28px; }
  .tf-barres li.meilleure .tf-b-val { font-size: 36px; }
  .tf-barres { gap: 22px; }
  .tf-formules { padding-bottom: 128px; }
  .tf h2 { margin-bottom: 44px; }
  .tf-grille { grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
  .tf-carte { padding: 32px 30px 28px; border-radius: 30px; }
  .tf-carte.meilleure { margin-block: -16px; padding-top: 48px; padding-bottom: 44px; }
  .tf-offert { padding-top: 120px; padding-bottom: 120px; }
  .tf-offert-dedans { grid-template-columns: 1.25fr 1fr; align-items: end; gap: 64px; }
  .tf-recharges { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: start; padding-top: 128px; padding-bottom: 104px; }
  .tf-recharges h2 { margin-bottom: 24px; }
  .tf-r-liste li { padding: 22px 28px; }
  .tf-r-prix strong { font-size: 34px; }
  .tf-comparer { padding-top: 40px; padding-bottom: 104px; }
  .tf-tableau th:first-child { width: 24%; }
  .tf-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; padding-top: 40px; padding-bottom: 88px; }
  .tf-faq h2 { position: sticky; top: 96px; }
  .tf-faq summary { font-size: 19.5px; min-height: 72px; }
}

/* --- « Mon abonnement » (28/10/2026) : écran de gestion — la formule en champ vert, la jauge des avis du mois en
   segments (un par avis compris), puis des blocs calmes séparés par l'espace et un pas de ton. */
main.ab-main { max-width: 760px; padding-top: 40px; }
.ab-tete { margin-bottom: 28px; }
.ab-tete h1 { font-size: clamp(36px, 5.6vw, 52px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.ab-tete p { margin: 12px 0 0; font-size: 18px; line-height: 1.45; color: var(--texte); max-width: 40ch; }
.ab h2 { font-size: 23px; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 10px; }
.ab-panneau { background: var(--tf-vert); color: rgba(247, 245, 240, .84); border-radius: 28px; padding: 26px 22px 24px; }
.ab-p-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.ab-panneau h2 { color: var(--tf-ivoire); font-size: 26px; margin: 0; }
.ab-statut { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(233, 217, 180, .14); color: var(--tf-champagne); }
.ab-statut::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8FC1A3; }
.ab-statut.fin::before { background: var(--tf-or); }
.ab-credits { margin-top: 30px; }
.ab-credits-n { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 0; }
.ab-credits-n strong { font-size: clamp(64px, 12vw, 96px); line-height: .9; letter-spacing: -0.035em; font-weight: 600; color: var(--tf-ivoire); }
.ab-credits-n span { font-size: 19px; color: var(--tf-champagne); font-weight: 600; }
.ab-jauge { display: flex; gap: 6px; margin-top: 22px; }
.ab-jauge i { flex: 1 1 0; height: 12px; border-radius: 4px; background: rgba(247, 245, 240, .12); }
.ab-jauge i.plein { background: var(--tf-champagne); }
.ab-jauge-texte { margin: 10px 0 0; font-size: 15px; color: rgba(247, 245, 240, .76); }
.ab-dates { margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(233, 217, 180, .2); display: grid; gap: 12px; }
.ab-dates div { display: flex; flex-direction: column; gap: 2px; }
.ab-dates dt { font-size: 14px; color: rgba(247, 245, 240, .7); }
.ab-dates dd { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--tf-ivoire); font-variant-numeric: lining-nums tabular-nums; }
.ab-perte { margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: rgba(247, 245, 240, .7); }
.ab-bloc { margin-top: 44px; }
.ab-bloc > p { margin: 0 0 16px; max-width: 58ch; font-size: 16.5px; line-height: 1.55; }
.ab-b-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ab-b-tete h2 { margin: 0; }
.ab-lien { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--tf-vert); text-underline-offset: 5px; }
.ab-lignes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ab-lignes > li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 14px 14px 20px; min-height: 68px;
  border-radius: 18px; background: var(--tf-pierre); }
.ab-lignes form { margin: 0; flex: none; }
.ab-lignes .bouton { min-height: 46px; padding: 10px 20px; }
.ab-l-nom { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ab-l-nom strong { font-size: 17px; font-weight: 600; color: var(--encre); line-height: 1.25; }
.ab-l-nom small { font-size: 14px; color: var(--gris); line-height: 1.35; }
.ab-factures > li { padding: 0; }
.ab-factures a { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 14px 14px 20px; min-height: 68px; color: inherit; text-decoration: none;
  border-radius: inherit; }
.ab-factures .ab-l-nom { flex: 1 1 auto; }
.ab-l-montant { font-weight: 600; color: var(--encre); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.ab-l-montant small { font-weight: 400; color: var(--gris); font-size: 13.5px; }
.ab-l-ico { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--blanc); display: grid; place-items: center; color: var(--tf-vert); }
.ab-l-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.ab-factures a:focus-visible { outline: 2px solid var(--tf-bronze); outline-offset: 2px; }
.ab-resilier { padding: 22px 22px 24px; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(28, 29, 31, .12); }
.ab-resilier h2 { font-size: 20px; }
.ab-resilier > p { font-size: 15.5px; }
.ab .bouton.contour { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px rgba(28, 29, 31, .3); }
.ab-sans { background: var(--tf-pierre); border-radius: 24px; padding: 24px 22px; }
.ab-sans p { margin: 0; font-size: 16.5px; line-height: 1.55; }
.ab-formules { display: grid; gap: 12px; margin-top: 12px; }
.ab-formule { border-radius: 24px; padding: 24px 22px 18px; box-shadow: inset 0 0 0 1px rgba(28, 29, 31, .14); }
.ab-formule h3 { font-size: 20px; margin: 0; }
.ab-f-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 14px 0 0; }
.ab-f-prix strong { font-size: 44px; line-height: 1; letter-spacing: -0.028em; font-weight: 600; color: var(--encre); white-space: nowrap; }
.ab-f-prix span { font-size: 15px; color: var(--gris); }
.ab-f-avis { margin: 6px 0 4px; font-size: 15px; color: var(--texte); }
.ab-formule form { display: grid; gap: 10px; margin: 6px 0 0; }
.ab-formule .bouton { width: 100%; white-space: normal; text-align: center; }
.ab-note { margin: 18px 0 0; font-size: 15px; color: var(--gris); }
.ab-note a { color: var(--tf-vert); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .ab .bouton.contour:hover { background: var(--tf-pierre); }
  .ab-factures a:hover { background: var(--tf-pierre-2); }
}
@media (min-width: 640px) {
  .ab-panneau { padding: 34px 36px 30px; border-radius: 32px; }
  .ab-credits { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; align-items: end; gap: 10px 40px; }
  .ab-credits-n { grid-row: 1 / 3; flex-direction: column; align-items: flex-start; }
  .ab-jauge { margin-top: 0; align-self: end; }
  .ab-dates { grid-template-columns: 1.45fr 1fr 1fr; gap: 20px; }
  .ab-formules { grid-template-columns: 1fr 1fr; }
  .ab-resilier { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 28px; padding: 26px 28px; }
  .ab-resilier h2, .ab-resilier > p { grid-column: 1; }
  .ab-resilier > p { margin: 0; }
  .ab-resilier form { grid-column: 2; grid-row: 1 / 3; }
}

/* --- liens vers /tarifs depuis l'accueil et l'inscription (28/10/2026) : discrets, soulignés fin, cible de 44 px */
.bp-tarifs { display: inline-block; padding: 10px 2px; margin: -10px 0; color: #F7F5F0; font-weight: 600; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(233, 217, 180, .6); }
.atout .bp-tarifs { color: #E9D9B4; }
.lien-tarifs { display: inline-block; padding: 10px 2px; margin: -10px 0; color: var(--vert); font-weight: 600; white-space: nowrap;
  text-underline-offset: 5px; text-decoration-thickness: 1px; }
.bp-tarifs:focus-visible, .lien-tarifs:focus-visible { outline: 2px solid #9A7330; outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .bp-tarifs:hover { text-decoration-color: currentColor; } }

/* 29/10/2026 (Guillaume) : prix de l'accueil sur trois lignes entières — unité, abonnement, lien vers /tarifs. */
.bp-prix .bp-ligne { display: block; white-space: nowrap; }
.bp-prix .bp-unite { font-weight: 600; color: #E9D9B4; }
.bp-prix .bp-abo { margin-top: 2px; font-size: .92em; color: rgba(247, 245, 240, .82); }
.bp-prix .bp-tarifs { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 -10px; font-size: 14.5px; font-weight: 600; }
.bp-prix .bp-tarifs svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) and (pointer: fine) { .bp-prix .bp-tarifs:hover svg { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .bp-prix .bp-tarifs svg { transition: none; } }
