/* Pages légales de Daba Vidange : mêmes couleurs et polices que la page d'accueil */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/barlow-condensed-700.woff2) format("woff2"); }

:root {
  --bg: #F3F3F0; --surface: #FFFFFF; --fg: #0C0C0D; --muted: #5A5A5E; --line: #D6D6D2; --accent: #FFD100;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0C0C0D; --surface: #171718; --fg: #F4F4F0; --muted: #A3A39F; --line: #2C2C2E; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0C0C0D; --surface: #171718; --fg: #F4F4F0; --muted: #A3A39F; --line: #2C2C2E; color-scheme: dark; }

* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.wrap { max-width: 760px; margin: 0 auto; }
.tape { height: 10px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, #0C0C0D 14px 28px); }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 18px; }
.brand { display: flex; background: #0C0C0D; padding: 4px 10px; border-radius: 8px; }
.brand img { height: 44px; width: auto; display: block; }
.back { color: var(--fg); font-weight: 600; }
main { padding-block: 24px 56px; }
h1, h2 { font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 700; text-transform: uppercase; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); margin-bottom: 8px; }
h2 { font-size: 1.6rem; margin: 40px 0 10px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }
a { color: inherit; }
.updated { color: var(--muted); font-size: 0.95rem; }
.crumbs { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.brief { background: var(--surface); border: 1.5px solid var(--line); border-left: 6px solid var(--accent); border-radius: 8px; padding: 18px 20px 6px; margin: 22px 0 8px; }
.brief h2 { margin-top: 0; font-size: 1.3rem; }
dl { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 8px 20px; margin: 0 0 14px; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { dl { grid-template-columns: 1fr; gap: 2px; } dd { margin-bottom: 10px; } }
footer { border-top: 1px solid var(--line); padding-block: 24px 36px; color: var(--muted); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { text-decoration: none; }
footer a:hover, footer a[aria-current="page"] { text-decoration: underline; color: var(--fg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 3px #0C0C0D; border-radius: 4px; }
