/* Pages légales (/cgv/, /mentions-legales/, /confidentialite/ et leurs versions /en/), construites par construire-cgv-site.js.
   En-tête, menu mobile et pied de page sont ceux de l'accueil (style.css) : ce fichier ne règle que le texte. */
.cgv { max-width:880px; padding-top:28px; padding-bottom:64px; }
.cgv h1 { font-size:clamp(1.8rem,3.4vw,2.6rem); letter-spacing:-.015em; margin:8px 0 24px; }
.cgv-version { color:var(--muted); font-size:.95rem; margin:-14px 0 22px; }
.cgv-sommaire { background:var(--soft); border:1px solid var(--line); border-radius:14px; padding:18px 22px; margin-bottom:36px; }
.cgv-sommaire-titre { font-weight:700; margin:0 0 8px; }
.cgv-sommaire ol { columns:2 280px; column-gap:28px; font-size:.92rem; line-height:1.5; }
.cgv-sommaire li { break-inside:avoid; padding:3px 0; }
.cgv-sommaire a { color:var(--ink); }
.cgv-sommaire a:hover { color:var(--stage-d); }
.cgv-texte { font-size:1rem; line-height:1.7; overflow-wrap:break-word; }   /* une adresse web trop longue se coupe au lieu d'élargir la page (320 px) */
/* L'en-tête du site reste collé en haut : les ancres s'arrêtent sous lui. */
.cgv-texte h2 { font-size:1.35rem; letter-spacing:0; margin:40px 0 12px; padding-top:18px; border-top:1px solid var(--line); scroll-margin-top:110px; }
.cgv-texte h3 { font-size:1.05rem; margin:22px 0 8px; scroll-margin-top:110px; }
.cgv-texte h4 { font-size:1rem; margin:18px 0 6px; }
.cgv-texte p[id] { scroll-margin-top:110px; }
.cgv-texte ul, .cgv-texte ol { margin:0 0 1em; padding-left:1.4em; }
.cgv-texte ul { list-style:disc; }
.cgv-texte ol { list-style:decimal; }
.cgv-texte li { margin:4px 0; }
.cgv-texte li > ul { margin:4px 0 0; list-style:circle; }   /* sous-liste dans une puce (2026-11-27) */
.cgv-texte code { font-size:.9em; background:var(--soft); padding:1px 5px; border-radius:4px; }
.cgv-num { margin-right:4px; }
@media print { .page-cgv .header, .page-cgv .footer, .mobile-panel, .mobile-overlay, .cgv-sommaire { display:none; } .cgv { max-width:none; padding:0; } }
/* Tableaux (liste des sous-traitants, 2026-11-17) : défilement en largeur dans son cadre sur petit écran, jamais la page entière */
.cgv-tableau { overflow-x:auto; margin:0 0 1.2em; border:1px solid var(--line); border-radius:12px; }
.cgv-tableau table { width:100%; border-collapse:collapse; font-size:.95rem; line-height:1.5; min-width:560px; }
.cgv-tableau th, .cgv-tableau td { text-align:left; vertical-align:top; padding:10px 14px; border-bottom:1px solid var(--line); }
.cgv-tableau th { background:var(--soft); font-weight:700; }
.cgv-tableau tr:last-child td { border-bottom:0; }
.cgv-texte a { text-decoration:underline; text-underline-offset:2px; }
