/* Pages de texte (confidentialité, conditions, mentions légales, contact,
   déconnexion QuickBooks), en français et sous /en/. Compléments à
   style.css et landing.css : même en-tête, même pied, même typographie ;
   le texte long se lit sur le fond clair du bloc contact, dans une colonne
   d'environ 70 caractères. */

.skip{position:absolute; left:-9999px; top:8px; z-index:60; padding:8px 14px; border-radius:999px;
      background:var(--ink); color:var(--on-dark); font-size:14px; text-decoration:none}
.skip:focus{left:16px}

/* pages courtes : le pied reste en bas de l'écran */
body{min-height:100vh; min-height:100svh; display:flex; flex-direction:column}
body > .doc{flex:1 0 auto}

.doc{background:var(--paper); color:var(--ink);
     padding:clamp(48px,7vw,104px) var(--pad) clamp(72px,9vw,128px)}
.doc-in{max-width:46rem; margin-inline:auto}
.doc h1{font-size:clamp(30px,4.4vw,56px); line-height:1.08; letter-spacing:-.03em; font-weight:500; margin:0;
        overflow-wrap:break-word}

/* date de mise à jour et lien vers l'autre langue, sous le titre */
.doc-meta{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:6px 24px;
          margin-top:20px; padding-bottom:28px; border-bottom:1px solid var(--line);
          font-size:14.5px; line-height:1.5; color:var(--ink-2)}
.doc-meta a{color:var(--ink-2); text-underline-offset:3px}
.doc-meta a:hover{color:var(--ink)}

.doc-body{font-size:17px; line-height:1.68; margin-top:28px}
.doc-meta + .doc-body{margin-top:36px}
.doc-body > *{margin:0}
.doc-body > * + *{margin-top:1em}
.doc-body h2{font-size:clamp(23px,2vw,28px); line-height:1.2; letter-spacing:-.02em; font-weight:500;
             margin-top:2.1em}
.doc-body h3{font-size:19px; line-height:1.3; letter-spacing:-.01em; font-weight:600; margin-top:1.7em}
.doc-body h2 + *,.doc-body h3 + *{margin-top:.6em}
.doc-body > :first-child{margin-top:0}
.doc-body ul{padding-left:1.25em}
.doc-body li + li{margin-top:.4em}
.doc-body li::marker{color:var(--ink-2)}
.doc-body strong{font-weight:600}
.doc-body address{font-style:normal}
.doc-body a{color:var(--live); text-decoration-thickness:1px; text-underline-offset:3px; overflow-wrap:anywhere}
.doc-body a:hover{text-decoration-thickness:2px}
.doc-body .muted{color:var(--ink-2)}
/* les ancres (#retention…) s'arrêtent sous l'en-tête collant */
.doc [id]{scroll-margin-top:88px}

/* tableaux : cadre blanc sur le fond clair ; sur téléphone, chaque ligne
   devient une fiche, l'intitulé de colonne repris devant chaque valeur. */
.doc-body .table{background:var(--panel); border:1px solid var(--line); border-radius:var(--r); overflow:hidden}
.doc-body table{border-collapse:collapse; width:100%; font-size:15px; line-height:1.55}
.doc-body th,.doc-body td{text-align:left; vertical-align:top; padding:13px 16px; border-bottom:1px solid var(--line)}
.doc-body th{font-size:13.5px; font-weight:600; color:var(--ink-2); background:#F7F8F9}
.doc-body tbody tr:last-child td{border-bottom:none}
@media (max-width:640px){
  .doc-body thead{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
  .doc-body table,.doc-body tbody,.doc-body tr,.doc-body td{display:block}
  .doc-body tr + tr{border-top:1px solid var(--line)}
  .doc-body td{border-bottom:none; padding:4px 16px}
  .doc-body tr td:first-child{padding-top:14px; font-weight:600}
  .doc-body tr td:last-child{padding-bottom:14px}
  .doc-body td[data-label]:not(:first-child)::before{content:attr(data-label); display:block;
    font-size:12.5px; font-weight:600; color:var(--ink-2); margin-top:6px}
}

/* page bilingue (déconnexion) : la version anglaise suit, séparée d'un filet */
.doc-alt{margin-top:clamp(56px,6vw,80px); padding-top:clamp(40px,4.5vw,56px); border-top:1px solid var(--line)}
.doc-alt > h2:first-child{margin-top:0; font-size:clamp(26px,2.6vw,36px)}

/* lien de la page en cours, dans le pied */
.foot-links a[aria-current]{color:var(--on-dark)}
