/* DM Sans, licence OFL, auto-hebergee le 21/11/2026 (sous-ensembles latins). Jamais de lien vers fonts.googleapis.com. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/DMSans-variable-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: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/DMSans-variable-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;
}

/* Habillage neutre des pages d'origine (21/11/2026) : memes couleurs, meme police et meme pied
   de page que le nouvel accueil. Hors couche : passe devant les couches de ds.css sans y toucher.
   Le contenu des pages n'est pas modifie. Retour arriere : retirer le lien vers ce fichier. */
html[data-brand="fivepeers"]{
  --ds-brand-white:#FFFFFF; --ds-brand-cream:#FAFAFA; --ds-brand-ink:#171717; --ds-brand-graphite:#5E5E5E;
  --ds-brand-grey:#757575; --ds-brand-border:#E9E9E9; --ds-brand-hairline:#DCDCDC;
  --ds-brand-navy:#171717; --ds-brand-navy-soft:#2B2B2B;
  --ds-brand-blue:#B93A1E; --ds-brand-blue-soft:#8F2D17; --ds-brand-blue-muted:#F2A48E; --ds-brand-blue-tint:rgba(0,0,0,.04);
  --ds-font-heading:"DM Sans","Inter",system-ui,sans-serif; --ds-font-sans:"DM Sans","Inter",system-ui,sans-serif;
  --ds-font-display:"DM Sans","Inter",system-ui,sans-serif;
  --ds-radius-sm:8px; --ds-radius-md:12px; --ds-radius-lg:14px;
  /* variables propres a styles.css (ancien gabarit) */
  --paper:#FFFFFF; --paper-2:#FAFAFA; --ink:#171717; --ink-2:#5E5E5E; --muted:#757575;
  --seal:#B93A1E; --steel:#171717; --line:#E9E9E9; --line-2:#DCDCDC;
  --disp:"DM Sans","Inter",system-ui,sans-serif; --sans:"DM Sans","Inter",system-ui,sans-serif;
  background:#FFFFFF;
}
html[data-brand="fivepeers"] body{font-weight:400}
html[data-brand="fivepeers"] header.fp-top .fp-nav__link{font-family:var(--ds-font-sans);text-transform:none;letter-spacing:0;font-size:14.5px}
html[data-brand="fivepeers"] h1,html[data-brand="fivepeers"] h2,html[data-brand="fivepeers"] h3{letter-spacing:-.028em;font-weight:500}
html[data-brand="fivepeers"] .ds-btn{border-radius:999px}
html[data-brand="fivepeers"] header.fp-top .fp-brand .mot{font-family:var(--ds-font-sans);font-weight:400;letter-spacing:-.03em;white-space:nowrap}

/* Mode sombre des pages d'origine : inversion des clairs et des sombres, teintes conservees.
   Leurs feuilles portent des couleurs ecrites en dur, que des jetons ne retourneraient pas. */
html[data-brand="fivepeers"][data-theme="dark"]{filter:invert(1) hue-rotate(180deg)}
html[data-brand="fivepeers"][data-theme="dark"] img,html[data-brand="fivepeers"][data-theme="dark"] video{filter:invert(1) hue-rotate(180deg)}
html[data-brand="fivepeers"][data-theme="dark"] .fp-brand svg,html[data-brand="fivepeers"][data-theme="dark"] .pied .mark svg{filter:invert(1) hue-rotate(180deg)}

/* Bouton de theme */
.fp-theme{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--ds-border);background:var(--ds-bg-alt);color:var(--ds-text);cursor:pointer;padding:0;flex:none}
.fp-theme:hover{border-color:var(--ds-text-muted)}
.fp-theme .lune{display:none}
html[data-theme="dark"] .fp-theme .lune{display:block}
html[data-theme="dark"] .fp-theme .soleil{display:none}

/* Pied de page dense, identique a celui de l'accueil */
.pied{border-top:1px solid var(--ds-border);background:var(--ds-bg-alt);font-family:var(--ds-font-sans)}
.pied .w{max-width:1200px;margin:0 auto;padding:56px max(20px,env(safe-area-inset-left,0px)) 28px}
.pied .cols{display:grid;grid-template-columns:1.5fr repeat(5,minmax(0,1fr));gap:36px 28px}
.pied .mark{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ds-text);font-family:"Source Serif 4",Georgia,serif;font-size:21px;white-space:nowrap}
.pied .mark svg{color:var(--ds-brand-blue);flex:none}
.pied .marque p{font-size:13.5px;line-height:1.55;color:var(--ds-text-secondary);max-width:30ch;margin:12px 0 0}
.pied h4{font:400 11.5px var(--ds-font-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ds-text-muted);margin:0 0 12px}
.pied .col a{display:block;font-size:14px;line-height:1.5;color:var(--ds-text-secondary);text-decoration:none;padding:4px 0}
.pied .col a:hover{color:var(--ds-text)}
.pied .bas{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;margin-top:44px;padding-top:20px;border-top:1px solid var(--ds-border);font-size:12.5px;color:var(--ds-text-muted)}
@media (max-width:980px){.pied .cols{grid-template-columns:repeat(3,minmax(0,1fr))}.pied .marque{grid-column:1 / -1}}
@media (max-width:560px){.pied .cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Le lisere multicolore de l'ancien gabarit disparait : l'accueil n'en a pas. */
html[data-brand="fivepeers"] body::after{display:none}
html[data-brand="fivepeers"] header.fp-top{top:0}
/* En-tete sur petit ecran : la marque ne se coupe pas, le bouton se resserre. */
html[data-brand="fivepeers"] header.fp-top .fp-brand span{white-space:nowrap}
@media (max-width:560px){
  html[data-brand="fivepeers"] header.fp-top .ds-btn--sm{padding-inline:12px;font-size:13px;white-space:nowrap}
  html[data-brand="fivepeers"] header.fp-top .fp-theme{width:32px;height:32px}
  html[data-brand="fivepeers"] header.fp-top .fp-top__in{gap:8px}
  html[data-brand="fivepeers"] header.fp-top .fp-brand span{font-size:18px}
  html[data-brand="fivepeers"] header.fp-top .fp-nav{gap:8px}
  html[data-brand="fivepeers"] header.fp-top .ds-btn--sm{padding-inline:10px;font-size:12.5px;min-height:34px}
}
@media (max-width:380px){
  html[data-brand="fivepeers"] header.fp-top .ds-btn--sm{padding-inline:8px;font-size:12px}
  html[data-brand="fivepeers"] header.fp-top .fp-brand span{font-size:17px}
  html[data-brand="fivepeers"] header.fp-top .fp-theme{width:30px;height:30px}
}
@media (max-width:345px){ html[data-brand="fivepeers"] header.fp-top .ds-btn--sm{display:none} }
/* Connexion : l'entree vers l'espace, a droite de l'en-tete. */
html[data-brand="fivepeers"] header.fp-top a.fp-connexion{text-transform:none;letter-spacing:0;display:inline-flex;align-items:center;min-height:36px;border:1px solid var(--ds-border);border-radius:999px;padding:0 14px;font:500 14px var(--ds-font-sans);color:var(--ds-text);text-decoration:none;white-space:nowrap}
html[data-brand="fivepeers"] header.fp-top a.fp-connexion:hover{border-color:var(--ds-text-muted)}
@media (max-width:560px){ html[data-brand="fivepeers"] header.fp-top a.fp-connexion{min-height:32px;padding:0 11px;font-size:13px} html[data-brand="fivepeers"] header.fp-top .ds-btn--sm{display:none} }
.pied .mark{font-family:var(--ds-font-sans);font-weight:400;letter-spacing:-.03em}
html[data-brand="fivepeers"] header.fp-top .fp-brand svg{width:28px;height:28px}
.pied .mark svg{width:28px;height:28px}
.mot b{font-weight:700}
html[data-brand="fivepeers"] header.fp-top .fp-brand .mot{font-size:21px}
