/* Pages légales d'Audit Tertiaire Pro : charte de l'accueil de diag-tertiaire.fr, même jeu de variables que index.html. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  color-scheme: light;
  --dt-creme: #F6F2EA; --dt-surface: #E4EDF0; --dt-ink: #0E3A47; --dt-ink-2: #3B5B64; --dt-accent: #C2265D;
  --display: "Bricolage Grotesque", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-panel: 22px; --max: 1296px; --g: clamp(16px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--dt-creme); color: var(--dt-ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--dt-accent); outline-offset: 3px; }
.wrap { max-width: calc(var(--max) + 2 * var(--g)); margin-inline: auto; padding-inline: var(--g); }

.hd { padding: 16px 16px 0; }
.hd__bar { max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; height: 72px; padding: 0 22px; display: flex; align-items: center; background: var(--dt-creme); border-radius: var(--r-panel); box-shadow: 0 0 0 2px var(--dt-ink); }
.hd__bar a { display: flex; align-items: center; min-height: 44px; }
.hd__bar img { height: 34px; width: auto; }
@media (max-width: 767px) { .hd { padding: 10px 10px 0; } .hd__bar { height: 58px; padding: 0 16px; border-radius: 16px; } .hd__bar img { height: 28px; } }

.legal-shell { max-width: 780px; margin: 0 auto; padding: 56px var(--g) 96px; }
.legal-shell h1, .legal-shell h2 { font-family: var(--display); font-weight: 800; color: var(--dt-ink); text-wrap: balance; margin: 0; }
.legal-shell h1 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1; letter-spacing: -0.028em; font-variation-settings: "opsz" 72; margin-bottom: 32px; }
.legal-shell h2 { font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; margin: 48px 0 12px; }
.legal-shell p { margin: 0 0 16px; color: var(--dt-ink-2); }
.legal-shell ul { margin: 0 0 16px; padding-left: 1.25rem; color: var(--dt-ink-2); }
.legal-shell li + li { margin-top: 8px; }
.legal-shell strong { color: var(--dt-ink); font-weight: 600; }
.legal-shell a { text-decoration: underline; text-decoration-color: var(--dt-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; color: var(--dt-ink); }
.legal-shell a[href^="mailto:"] { white-space: nowrap; }
.legal-shell .back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; font-weight: 600; }
.legal-shell .updated { font-size: 14px; margin-bottom: 32px; }

.foot { background: var(--dt-surface); }
.foot__in { padding-block: 32px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 14px; color: var(--dt-ink-2); }
.foot nav { display: flex; gap: 24px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot a { text-decoration: underline; text-decoration-color: var(--dt-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; color: var(--dt-ink); }
