/* Lot REFONTE-B-L-JURIDIQUE (10/11/2026, C460-C462, C466) : gabarit G13, textes juridiques et sous-pages de version en direction B.
 * Style seulement : le contenu de <main> est celui de la page d'origine, a l'octet ; lisibilite d'abord. Toutes les regles sont sous body.rfb-g13. Jetons de rf-refonte-b.css ; aucune ressource externe. Aucun mouvement : on lit, rien ne bouge. */

/* Colonne de lecture unique : fil, titre, texte sur le meme axe (texte de 720 px) */
body.rfb-g13 .fil, body.rfb-g13 .hero, body.rfb-g13 .corps.juridique { max-width: 760px; }
body.rfb-g13 .hero { padding-bottom: 8px; }
body.rfb-g13 .hero h1 { max-width: none; font-size: clamp(30px, 7.4vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
body.rfb-g13 .hero > p { max-width: none; }
body.rfb-g13 .hero .juridique-version { margin-top: 10px; color: var(--doux); line-height: 1.55; }
body.rfb-g13 .hero .juridique-version a { color: var(--ciel); text-underline-offset: 3px; }

/* Avis de version (texte qui n'est plus en vigueur, version a venir) et bandeau provisoire : bien lisibles, sans badge */
body.rfb-g13 .hero .juridique-version:has(> strong), body.rfb-g13 .bandeau-provisoire { margin: 14px 0 0; padding: 14px 16px; background: var(--nuit-2); border: 1px solid var(--trait); border-radius: 12px; color: var(--doux); font-size: 16px; }
body.rfb-g13 .bandeau-provisoire { margin: 0 0 16px; }
body.rfb-g13 .bandeau-provisoire strong, body.rfb-g13 .hero .juridique-version strong { color: var(--blanc); }
body.rfb-g13 mark.a-completer { padding: 0 4px; background: var(--nuit-3); color: var(--blanc); border-radius: 4px; box-shadow: inset 0 0 0 1px var(--trait); }

/* Sommaire : une liste sobre, pas des pastilles */
body.rfb-g13 .sommaire { margin: 28px 0 8px; }
body.rfb-g13 .sommaire ol { display: block; border-top: 1px solid var(--trait); }
body.rfb-g13 .sommaire li { break-inside: avoid; }
body.rfb-g13 .sommaire a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; background: none; border: 0; border-bottom: 1px solid var(--trait); border-radius: 0; color: var(--doux); font-size: 16px; font-weight: 500; line-height: 1.3; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { body.rfb-g13 .sommaire a:hover { color: var(--blanc); } }

/* Texte */
body.rfb-g13 .corps.juridique { padding-top: 0; font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
body.rfb-g13 .juridique-section h2 { margin: 44px 0 12px; font-size: clamp(22px, 5.2vw, 26px); line-height: 1.22; letter-spacing: -.018em; font-weight: 620; scroll-margin-top: 84px; }
body.rfb-g13 .juridique-section h3 { margin: 24px 0 6px; font-size: 18px; line-height: 1.35; font-weight: 600; }
body.rfb-g13 .juridique-section p, body.rfb-g13 .juridique-section ul, body.rfb-g13 .juridique-section ol { margin: 0 0 14px; }
body.rfb-g13 .juridique-section ul, body.rfb-g13 .juridique-section ol { padding-left: 22px; }
body.rfb-g13 .juridique-section li { margin: 0 0 8px; }
body.rfb-g13 .juridique-section :is(p, li, td, dd) a { overflow-wrap: anywhere; }

/* Fiche d'identite (mentions legales, DPA) */
body.rfb-g13 .fiche-legale { margin: 8px 0 18px; }
body.rfb-g13 .fiche-legale dt { color: var(--doux); font-weight: 500; }
body.rfb-g13 .fiche-legale dd { color: var(--blanc); overflow-wrap: anywhere; }

/* Tableaux (cookies, confidentialite, DPA) : tout le texte dans la largeur, retour a la ligne normal, rangees lisibles */
body.rfb-g13 .tableau { margin: 14px 0 20px; overflow-x: auto; }
body.rfb-g13 .tableau table { font-size: 16px; line-height: 1.5; } /* Lot REFONTE-B-REPRISE (C479) : 16 px au moins, en-tetes compris */
body.rfb-g13 .tableau thead th, body.rfb-g13 .tableau thead td { white-space: normal; font-weight: 600; }
body.rfb-g13 .tableau tbody th { min-width: 7.5em; overflow-wrap: break-word; }

/* Telephone : chaque rangee s'empile (nom, puis ses colonnes dans l'ordre de l'en-tete, rappele en tete du tableau) ; plus de defilement lateral */
@media (max-width: 600px) {
  body.rfb-g13 .tableau { overflow: visible; }
  body.rfb-g13 .tableau table, body.rfb-g13 .tableau thead, body.rfb-g13 .tableau tbody, body.rfb-g13 .tableau tr, body.rfb-g13 .tableau th, body.rfb-g13 .tableau td { display: block; width: auto; }
  body.rfb-g13 .tableau thead tr { display: flex; flex-wrap: wrap; column-gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--trait); }
  body.rfb-g13 .tableau thead th { padding: 0; border: 0; font-size: 16px; color: var(--doux); }
  body.rfb-g13 .tableau tbody tr { padding: 14px; border-bottom: 1px solid var(--trait); }
  body.rfb-g13 .tableau tbody tr:last-child { border-bottom: 0; }
  body.rfb-g13 .tableau tbody th, body.rfb-g13 .tableau tbody td { padding: 0; border: 0; }
  body.rfb-g13 .tableau tbody th { min-width: 0; margin-bottom: 4px; }
  body.rfb-g13 .tableau tbody td + td { margin-top: 8px; }
}

@media (min-width: 900px) {
  body.rfb-g13 .fil, body.rfb-g13 .hero, body.rfb-g13 .corps.juridique { max-width: 800px; }
  body.rfb-g13 .corps.juridique { font-size: 17px; line-height: 1.7; }
  body.rfb-g13 .sommaire ol { columns: 2; column-gap: 32px; border-top: 0; }
}
/* Lot FINITIONS-2 (C486) : juste au-dessus du seuil d'empilement, marges de cellule reduites pour que le tableau tienne dans son cadre (defilement de 3 a 9 px entre 601 et 608 px) */
@media (min-width: 601px) and (max-width: 640px) {
  body.rfb-g13 .tableau th, body.rfb-g13 .tableau td { padding-left: 12px; padding-right: 12px; }
}

/* Grand ecran : les tableaux, riches en texte, sortent un peu de la colonne */
@media (min-width: 1100px) {
  body.rfb-g13 .tableau { width: 900px; max-width: none; margin-left: -90px; }
}

/* Impression : encre noire sur papier blanc, sans fond ni habillage */
@media print {
  body.rfb-g13 { --nuit: white; --nuit-2: white; --nuit-3: white; --blanc: black; --doux: black; --ciel: black; --trait: gray; --texte: black; --texte-secondaire: black; --primaire: black; --primaire-fonce: black; background: white; color: black; font-size: 11.5pt; }
  body.rfb-g13 .rfc, body.rfb-g13 .fil { display: none; }
  body.rfb-g13 .hero, body.rfb-g13 .corps.juridique { max-width: none; padding: 0; }
  body.rfb-g13 .corps.juridique { font-size: 11.5pt; line-height: 1.45; }
  body.rfb-g13 .juridique-section h2 { break-after: avoid; font-size: 14pt; margin-top: 18pt; }
  body.rfb-g13 .sommaire { display: none; }
  body.rfb-g13 .tableau { width: auto; margin: 8pt 0 12pt; overflow: visible; border-color: gray; }
  body.rfb-g13 .tableau tr { break-inside: avoid; }
  body.rfb-g13 .tableau th, body.rfb-g13 .tableau td { border-color: gray; }
  body.rfb-g13 a { color: black; }
}
