/* Pages de fond (guides, cantons, autorités, communes, conditions) : mêmes codes que l'accueil, pensées pour la lecture. */
body.contenu h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.06; letter-spacing: -.04em; }
body.contenu h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); letter-spacing: -.03em; margin: 1.8em 0 .5em; scroll-margin-top: 20px; }
body.contenu h3 { margin: 1.5em 0 .4em; }
.fil { margin: 0 0 14px; font-size: .84rem; color: var(--doux); }
.fil a { color: var(--doux); }
.tete-page { padding: clamp(28px, 4.5vw, 60px) 0 clamp(20px, 3vw, 32px); }
.tete-page .chapeau { max-width: 38em; }
.tete-page .meta { margin: 14px 0 0; font-size: .84rem; color: var(--doux); }
.colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(24px, 4vw, 48px); align-items: start; }
.texte { min-width: 0; padding: clamp(22px, 3.4vw, 44px); border-radius: 28px; background: var(--blanc); box-shadow: 0 1px 2px rgba(29, 27, 28, .06); }
.texte > :first-child { margin-top: 0; }
.texte p, .texte li { max-width: 44em; }
.texte ul, .texte ol { padding-left: 1.25em; }
.texte li { margin: .35em 0; }
.texte li::marker { color: var(--rouge); font-weight: 700; }
.note { margin: 1.2em 0; padding: 16px 20px; border-radius: 16px; background: var(--rouge-clair); }
.note p { margin: 0 0 .5em; } .note p:last-child { margin: 0; }
.tableau { margin: 1.2em 0; overflow-x: auto; border: 1px solid var(--filet); border-radius: 16px; }
.tableau table, table.donnees { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tableau th, .tableau td, table.donnees th, table.donnees td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); }
.tableau tr:last-child td, table.donnees tr:last-child > * { border-bottom: 0; }
.tableau th { background: #FAF8F6; font-weight: 700; white-space: nowrap; }
table.donnees { margin: 1em 0; }
table.donnees th { width: 40%; font-weight: 700; }
.modele { position: relative; margin: 1.2em 0; border: 1px solid var(--filet); border-radius: 16px; background: #FAF8F6; }
.modele pre { margin: 0; padding: 52px 20px 20px; white-space: pre-wrap; font: .9rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.copier { position: absolute; top: 10px; right: 10px; min-height: 36px; padding: 6px 14px; border: 0; border-radius: 10px; background: var(--encre); color: #fff; font: 700 .82rem Manrope, Arial, sans-serif; cursor: pointer; }
.sommaire { margin: 0 0 1.6em; padding: 16px 20px; border-radius: 16px; background: #FAF8F6; font-size: .92rem; }
.sommaire strong { display: block; margin-bottom: 6px; }
.texte .sommaire ul { list-style: none; margin: 0; padding: 0; columns: 2 220px; column-gap: 28px; }
.sommaire li { margin: 0 0 4px; break-inside: avoid; }
.sommaire a { color: var(--encre); }
.sources { margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--filet); font-size: .86rem; color: var(--doux); }
.sources h2 { font-size: 1rem !important; letter-spacing: 0 !important; margin: 0 0 .5em !important; }
.sources a { color: var(--doux); overflow-wrap: anywhere; }
.cote { position: sticky; top: 16px; display: grid; gap: 12px; min-width: 0; }
.carte-cta { padding: 24px; border-radius: 24px; background: var(--encre); color: #fff; }
.carte-cta h2 { margin: 0 0 8px !important; font-size: 1.3rem !important; }
.carte-cta p { margin: 0 0 16px; font-size: .92rem; color: var(--doux-clair); }
.carte-cta .btn { width: 100%; margin-bottom: 8px; }
.carte-cta .btn-clair { background: rgba(255, 255, 255, .12); color: #fff; }
.carte-cta .btn-clair:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.carte-cta small { display: block; margin-top: 6px; font-size: .8rem; color: var(--doux-clair); }
.carte-liens { padding: 20px 24px; border-radius: 24px; background: var(--blanc); font-size: .9rem; }
.carte-liens strong { display: block; margin-bottom: 8px; }
.carte-liens ul { list-style: none; margin: 0; padding: 0; }
.carte-liens li { margin: 0 0 7px; }
.carte-liens a { color: var(--encre); }
.cta-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 1.6em 0; padding: 20px 24px; border-radius: 20px; background: var(--encre); color: #fff; }
.cta-ligne p { flex: 1 1 240px; margin: 0; max-width: none; font-weight: 700; font-size: 1.05rem; }
.cta-ligne span { display: block; font-weight: 400; font-size: .88rem; color: var(--doux-clair); }
.choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 22px 0 0; max-width: 760px; }
.carte-choix { display: block; padding: 20px 22px; border-radius: 20px; background: var(--blanc); color: var(--encre); text-decoration: none; box-shadow: 0 1px 2px rgba(29, 27, 28, .06); transition: box-shadow .2s; }
.carte-choix:hover { color: var(--encre); box-shadow: 0 0 0 2px var(--rouge); }
.carte-choix strong { display: block; font-weight: 800; font-size: 1.08rem; }
.carte-choix span { display: block; margin: 2px 0 8px; font-size: .9rem; color: var(--doux); }
.carte-choix em { font-style: normal; font-weight: 700; font-size: .82rem; color: var(--rouge-texte); }
.cartes-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.cartes-guides a { display: block; height: 100%; padding: 22px; border-radius: 22px; background: var(--blanc); color: var(--encre); text-decoration: none; }
.cartes-guides a:hover strong { color: var(--rouge-texte); }
.cartes-guides .picto { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--rouge-clair); color: var(--rouge); transition: background .2s, color .2s; }
.cartes-guides a:hover .picto { background: var(--rouge); color: #fff; }
.cartes-guides strong { display: block; margin-bottom: 6px; font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.cartes-guides span { font-size: .88rem; color: var(--doux); }
.adresse-autorite { margin: 1em 0; padding: 18px 22px; border-radius: 16px; background: #FAF8F6; font-style: normal; font-weight: 600; }
.outil { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--blanc); box-shadow: 0 30px 70px -40px rgba(120, 20, 30, .34); margin: 0 0 1.6em; }
.outil label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .9rem; }
.outil input[type=date], .outil input[type=text], .outil input[type=number], .outil input[type=month], .outil select { width: 100%; min-height: 54px; padding: 8px 14px; border: 1px solid var(--contour); border-radius: 12px; font: 600 1.05rem Manrope, Arial, sans-serif; color: var(--encre); background: #fff; }
.outil input:focus { outline: 2px solid var(--rouge); border-color: var(--rouge); }
.outil .onglets { max-width: 420px; }
.outil-resultat { margin-top: 18px; padding: 18px 20px; border-radius: 18px; background: var(--encre); color: #fff; }
.outil-resultat p { margin: 0; color: var(--doux-clair); font-size: .9rem; }
.outil-resultat .grand { margin: 2px 0 4px; color: #fff; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.035em; }
.outil-resultat a.btn { margin-top: 14px; }
.outil .suggestions { list-style: none; margin: 6px 0 0; padding: 4px; border: 1px solid var(--filet); border-radius: 12px; }
.outil .suggestions button { all: unset; display: block; box-sizing: border-box; width: 100%; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.outil .suggestions button:hover, .outil .suggestions button:focus-visible { background: var(--rouge-clair); }
/* Bandeau d'estimation en bas de chaque page, et bouton fixe sur téléphone */
.bande-estimation { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; margin: 48px 0 0; padding: 32px 36px; border-radius: 28px; background: var(--encre); color: #fff; }
.bande-estimation .sur { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #FF8A9B; }
.bande-estimation h2 { margin: 0 0 10px; font-size: 1.6rem; line-height: 1.2; color: #fff; }
.bande-estimation div > p:last-child { margin: 0; color: var(--doux-clair); font-size: .95rem; }
.bande-actions .btn { width: 100%; }
.bande-actions p { margin: 16px 0 6px; font-size: .82rem; color: var(--doux-clair); }
.bande-actions ul { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.bande-actions ul a { color: #fff; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-collant { display: none; }
@media (max-width: 760px) {
  .bande-estimation { grid-template-columns: minmax(0, 1fr); margin-top: 32px; padding: 24px 20px; border-radius: 22px; }
  .bande-estimation h2 { font-size: 1.35rem; }
  .cta-collant { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; min-height: 52px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
  body:has(.cta-collant) .pied { padding-bottom: 84px; }
  body:has(.barre-reprise) .cta-collant { display: none; }
}
@media print { .bande-estimation, .cta-collant { display: none !important; } }
@media (max-width: 900px) { .colonnes { grid-template-columns: minmax(0, 1fr); } .cote { position: static; } }
@media (max-width: 560px) {
  .tete-page { padding-top: 22px; }
  .texte { padding: 20px 16px; border-radius: 22px; }
  .tableau { margin-left: -4px; margin-right: -4px; }
  .tableau th, .tableau td { padding: 10px 12px; }
  table.donnees th, table.donnees td { display: block; width: auto; padding: 4px 0; border: 0; }
  table.donnees th { padding-top: 12px; border-top: 1px solid var(--filet); }
  table.donnees tr:first-child th { border-top: 0; padding-top: 0; }
  .modele pre { padding: 52px 14px 16px; font-size: .84rem; }
  .cta-ligne { padding: 18px 16px; }
  .cta-ligne .btn { width: 100%; }
  .carte-cta, .carte-liens { padding: 20px 18px; }
  .outil { padding: 18px 16px; }
  .texte .sommaire ul { columns: 1; }
  .sommaire { padding: 14px 16px; }
}

/* Graphiques et schémas (outils/graphiques.js) */
.graphique, .schema { margin: 1.6em 0; padding: 18px 20px 14px; border: 1px solid var(--filet); border-radius: 18px; background: var(--blanc); }
.g-titre { margin: 0 0 10px; font-weight: 800; font-size: 1rem; }
.graphique svg { display: block; width: 100%; max-width: 540px; height: auto; margin: 0 auto; overflow: visible; }
.g-grille { stroke: var(--filet); stroke-width: 1; }
.g-axe { fill: var(--doux); font-size: 12px; font-family: inherit; }
.g-valeur { font-size: 13px; font-weight: 800; font-family: inherit; }
.g-point { font-size: 11px; font-weight: 700; font-family: inherit; font-variant-numeric: tabular-nums; }
polyline.g-1, polyline.g-2, polyline.g-3, path.g-1 { fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
polyline.g-1, path.g-1 { stroke: var(--rouge); } circle.g-1 { fill: var(--rouge-texte); stroke: none; } text.g-1 { fill: var(--rouge-texte); }
polyline.g-2 { stroke: var(--encre); } circle.g-2 { fill: var(--encre); stroke: none; } text.g-2 { fill: var(--encre); }
polyline.g-3 { stroke: var(--contour); stroke-dasharray: 2 4; } circle.g-3 { fill: var(--doux); stroke: none; } text.g-3 { fill: var(--doux); }
.g-seuil { stroke: var(--rouge-fort); stroke-width: 1.4; stroke-dasharray: 6 5; }
.g-seuil-texte { fill: var(--rouge-fort); font-weight: 700; }
.g-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; font-size: .85rem; color: var(--doux); }
.g-legende span { display: inline-flex; align-items: center; gap: 7px; }
.g-legende i { display: inline-block; width: 18px; height: 0; border-top: 3px solid var(--rouge); }
.g-legende i.g-2 { border-color: var(--encre); } .g-legende i.g-3 { border-top-style: dotted; border-color: var(--contour); } .g-legende i.g-seuil { border-top: 2px dashed var(--rouge-fort); }
.graphique figcaption, .schema figcaption { margin-top: 10px; font-size: .8rem; color: var(--doux); }
/* Le volet « Voir les chiffres » s'aligne sur le texte du graphique : il annule le cadre des volets de la FAQ (home.css). */
.graphique details.g-chiffres { margin: 12px 0 0; padding: 0; border-radius: 0; background: none; font-size: .9rem; }
.g-chiffres summary { display: inline-block; padding: 4px 26px 4px 0; cursor: pointer; color: var(--rouge-texte); font-weight: 700; }
.g-chiffres summary::after { top: -1px; font-size: 1.2rem; }
.g-chiffres .tableau { margin: 8px 0 0; }
.g-barres { display: grid; gap: 9px; }
.g-barre { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; align-items: center; gap: 12px; font-size: .92rem; }
.g-piste { height: 14px; border-radius: 7px; background: var(--fond); overflow: hidden; }
.g-piste span { display: block; height: 100%; border-radius: 7px; background: var(--rouge); }
.g-piste span.g-2 { background: var(--encre); } .g-piste span.g-3 { background: var(--doux-clair); }
.g-nombre { font-weight: 800; white-space: nowrap; }
.frise ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .frise ol { grid-template-columns: 1fr; } }
.frise li { padding: 14px; border-radius: 14px; background: var(--fond); display: flex; flex-direction: column; gap: 6px; font-size: .9rem; line-height: 1.45; }
.frise li strong { font-size: 1rem; line-height: 1.3; }
.frise .tete { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.frise .tete b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--rouge); color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.frise .quand { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1.25; color: var(--rouge-texte); }
.arbre .question { margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; background: var(--encre); color: #fff; font-weight: 700; }
.arbre .branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .arbre .branches { grid-template-columns: 1fr; } }
.arbre .branche { padding: 14px; border-radius: 14px; border: 1px solid var(--filet); display: grid; gap: 6px; font-size: .92rem; }
.arbre .si { font-weight: 800; } .arbre .alors { color: var(--doux); }
.formule-annotee { margin: 1.6em 0; }
.formule-annotee .cadre-formule { position: relative; border: 1px solid var(--filet); border-radius: 12px; overflow: hidden; background: #fff; }
.formule-annotee img { display: block; width: 100%; height: auto; }
.formule-annotee .zone { position: absolute; border: 2.5px solid var(--rouge); border-radius: 6px; background: rgba(200, 16, 46, .08); }
.formule-annotee .zone b { position: absolute; top: -12px; left: -12px; width: 26px; height: 26px; border-radius: 50%; background: var(--rouge); color: #fff; font-size: .8rem; display: grid; place-items: center; }
.formule-annotee ol { margin: 14px 0 0; padding-left: 1.4em; } .formule-annotee li { margin: 0 0 .5em; }
@media (max-width: 560px) {
  .graphique, .schema { padding: 14px 12px 12px; border-radius: 14px; }
  .g-axe { font-size: 16px; } .g-valeur { font-size: 18px; } .g-point { font-size: 14px; } .g-seuil-texte { font-size: 15px; }
  .g-barre { grid-template-columns: 1fr auto; gap: 4px 10px; } .g-barre .g-piste { grid-column: 1 / -1; grid-row: 2; }
}
.marge { color: var(--doux); font-size: .8em; font-weight: 400; white-space: nowrap; }
.outil .ligne.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.outil label + input, .outil label + select, .outil .ligne.duo { margin-bottom: 14px; }
.outil .aide { margin: 0; font-size: .85rem; color: var(--doux); }
@media (max-width: 560px) { .outil .ligne.duo { grid-template-columns: 1fr; gap: 0; } }
.calcul-hausse { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.calcul-hausse td { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; vertical-align: top; }
.calcul-hausse td:last-child { text-align: right; font-weight: 800; white-space: nowrap; padding-left: 12px; }
.calcul-hausse .aide { display: block; font-size: .85rem; color: var(--doux-clair); }
.calcul-hausse tr.total td { font-weight: 800; }
.outil-resultat .verdict-outil { color: #fff; font-weight: 600; font-size: 1rem; }

.texte p, .texte li { overflow-wrap: anywhere; }
/* Dans un tableau, un mot ne se coupe que s'il ne tient pas sur toute la largeur de sa colonne. */
.texte td { overflow-wrap: break-word; }
.graphique svg text { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
/* Sur téléphone, les tableaux des guides passent en cartes : une carte par ligne, chaque valeur sous le nom de sa colonne. */
@media (max-width: 640px) {
  .texte .tableau:has(td[data-label]) { margin: 1.2em 0; overflow: visible; border: 0; border-radius: 0; }
  .texte .tableau:has(td[data-label]) :is(table, tbody, tr, td) { display: block; width: 100%; box-sizing: border-box; }
  .texte .tableau:has(td[data-label]) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .texte .tableau:has(td[data-label]) tbody { display: grid; gap: 10px; }
  .texte .tableau:has(td[data-label]) tr { overflow: hidden; border: 1px solid var(--filet); border-radius: 16px; background: var(--blanc); }
  .texte .tableau:has(td[data-label]) td { padding: 10px 14px; border-bottom: 1px solid var(--filet); }
  .texte .tableau:has(td[data-label]) tr td:last-child { border-bottom: 0; }
  .texte .tableau:has(td[data-label]) td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--contour); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .texte .tableau:has(td[data-label]) td:first-child { background: var(--fond); color: var(--encre); font-weight: 700; }
  .texte .tableau:has(td[data-label]) td:first-child::before { color: var(--rouge-texte); }
}

/* Outil « baisse de loyer » : trois étapes numérotées, résultat en direct, calendrier, lettre imprimable. Pensé d'abord pour le téléphone. */
.ob-etape { display: grid; grid-template-columns: 32px 1fr; gap: 12px; margin-bottom: 18px; }
.ob-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rouge-clair); color: var(--rouge-texte); font-weight: 800; font-size: .95rem; }
.ob-etape label { margin-top: 5px; }
.ob-etape :is(input, select, .ob-date) { margin-bottom: 6px !important; }
.ob-date { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.ob-plus { margin: 0 0 18px; padding: 0 16px; border: 1px solid var(--filet); border-radius: 14px; }
.ob-plus summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; font-size: .92rem; cursor: pointer; }
.ob-plus[open] { padding-bottom: 14px; }
.outil .ob-case { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-weight: 500; }
.ob-case input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rouge); }
.ob-resultat { padding: 20px; border-radius: 18px; background: var(--encre); color: #fff; }
.ob-resultat p { margin: 0 0 12px; color: var(--doux-clair); font-size: .92rem; }
.ob-resultat p.ob-attente { margin: 0; }
.ob-resultat .ob-statut { display: flex; gap: 9px; align-items: baseline; margin-bottom: 8px; color: #fff; font-weight: 800; font-size: 1rem; }
.ob-statut::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--doux-clair); }
.ob-statut.oui::before { background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.ob-resultat .grand { margin: 0; color: #fff; font-weight: 800; font-size: clamp(2.2rem, 10vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.ob-resultat .grand small { font-size: .4em; font-weight: 700; letter-spacing: 0; color: var(--doux-clair); }
.ob-resultat .ob-an { color: #fff; font-weight: 600; }
/* Une ligne du calcul : l'intitulé et le chiffre côte à côte, l'explication dessous sur toute la largeur. */
.ob-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.ob-table td, .ob-table td:last-child { padding: 0; border: 0; text-align: left; white-space: normal; }
.ob-table td:nth-child(1) { font-weight: 700; }
.ob-table td:nth-child(2) { text-align: right; font-weight: 800; white-space: nowrap; }
.ob-table td.aide { grid-column: 1 / -1; margin-top: 3px; font-weight: 400; }
.ob-calendrier { margin: 16px 0; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.ob-resultat .ob-calendrier h3 { margin: 0 0 10px; color: #fff; }
.ob-calendrier ol { list-style: none; margin: 0; padding: 0; }
.ob-calendrier li { position: relative; padding: 0 0 12px 22px; font-size: .9rem; color: var(--doux-clair); }
.ob-calendrier li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); }
.ob-calendrier li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 17px; bottom: 0; width: 1px; background: rgba(255, 255, 255, .25); }
.ob-calendrier li strong { display: block; color: #fff; }
.ob-calendrier li:last-child { padding-bottom: 0; }
.ob-lien { all: unset; color: #fff; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ob-resultat .btn { width: 100%; box-sizing: border-box; }
.ob-lettre { margin-top: 26px; }
.ob-lettre h2 { font-size: clamp(1.5rem, 6vw, 2rem); margin: 0 0 6px; }
.ob-lettre .aide + .ligne.duo { margin-top: 14px; }
.ob-actions { display: grid; gap: 10px; margin: 0; }
.ob-actions .btn { width: 100%; border: 0; font: 700 1rem Manrope, Arial, sans-serif; cursor: pointer; }
.btn-clair { background: var(--fond); color: var(--encre); border: 1px solid var(--filet) !important; }
.btn-clair:hover { background: var(--filet); }
@media (min-width: 700px) {
  .ob-actions { grid-template-columns: 1fr 1fr; }
  .ob-resultat { padding: 26px 28px; }
  .ob-resultat .btn { width: auto; }
}
/* Sur téléphone, le numéro reste à côté de la question, et les champs reprennent toute la largeur. */
@media (max-width: 560px) {
  .ob-etape { grid-template-columns: 26px 1fr; gap: 0 10px; align-items: start; }
  .ob-etape > div { display: contents; }
  .ob-etape > div > :not(label) { grid-column: 1 / -1; }
  .ob-etape label { margin-top: 2px; }
  .ob-n { width: 26px; height: 26px; font-size: .85rem; }
  .ob-resultat { margin: 0 -6px; padding: 18px 16px; }
  .ob-calendrier { padding: 14px; }
}
/* Impression de la lettre seule. */
.ob-feuille { display: none; }
@media print {
  .ob-impression body > :not(.ob-feuille) { display: none !important; }
  .ob-impression body { background: #fff; margin: 0; padding: 0; }
  .ob-impression .ob-feuille { display: block; margin: 0; padding: 0; border: 0; background: none; color: #000; font: 11.5pt/1.55 Georgia, serif; white-space: pre-wrap; overflow-wrap: break-word; }
}
.ob-resultat p.ob-doute { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
