/* Polices hébergées avec le module (aucun appel à Google Fonts). Roboto : Apache 2.0, Roboto Condensed : OFL. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/roboto-condensed-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --bleu:#5e71a1; --marine:#14305a; --fond:#ffffff; --gris:#eef0f5; --texte:#14305a; --accent:#c8553d; }
@media (prefers-color-scheme: dark) { :root { --fond:#10151c; --gris:#1c2430; --texte:#e9edf2; --bleu:#8fa0cf; --marine:#e9edf2; --accent:#e58a73; } }
* { box-sizing: border-box; }
body { margin:0; padding:12px; font:15px/1.45 "Roboto", system-ui, sans-serif; background:var(--fond); color:var(--texte); }
h1 { font:700 20px/1.2 "Roboto Condensed", sans-serif; margin:0 0 4px; color:var(--marine); }
.lead { margin:0 0 10px; font-size:13px; opacity:.85; }
.vues { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 10px; }
.vues button { font:inherit; font-size:14px; padding:8px 12px; border:1px solid var(--bleu); border-radius:8px; background:var(--fond); color:var(--texte); cursor:pointer; min-height:40px; }
.vues button[aria-pressed="true"] { background:var(--marine); color:var(--fond); border-color:var(--marine); }
.vues button:focus-visible, .poignee:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
.cmp { position:relative; width:100%; overflow:hidden; border-radius:8px; background:var(--gris); touch-action:pan-y; user-select:none; -webkit-user-select:none; cursor:ew-resize; --p:50%; }
.cmp img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; -webkit-user-drag:none; }
.cmp img.apres { clip-path:inset(0 0 0 var(--p)); }
.ligne { position:absolute; top:0; bottom:0; left:var(--p); width:3px; margin-left:-1.5px; background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.35); pointer-events:none; }
.poignee { position:absolute; top:50%; left:var(--p); width:44px; height:44px; margin:-22px 0 0 -22px; border-radius:50%; background:#fff; border:2px solid #14305a; box-shadow:0 1px 6px rgba(0,0,0,.45); display:flex; align-items:center; justify-content:center; color:#14305a; font-size:18px; font-weight:700; line-height:1; }
.tag { position:absolute; top:8px; padding:3px 9px; border-radius:6px; background:rgba(16,21,28,.78); color:#fff; font:700 14px/1.3 "Roboto Condensed", sans-serif; pointer-events:none; }
.tag.g { left:8px; } .tag.d { right:8px; }
.credit { margin:10px 0 0; font-size:12px; line-height:1.4; opacity:.8; }
