/* Charte clementdaudet.com : blanc et gris chauds, un accent bleu, Raleway + DIN, angles droits, pas d'ombres. */
:root {
  --fond: #f1f1f1; --carte: #fff; --encre: #2c2c2b; --encre-forte: #000; --discret: #5e5d5d; --filet: #d9d7d7; --filet-clair: #ecebeb;
  --accent: #2e64a5; --accent-clair: #4595f7; --sombre: #2f2e2e;
  --ok: #1f7a4d; --attention: #a85a06; --probleme: #b42318;
  --titre: "din-next-w01-light", "DIN Next W01 Light", "DIN Next", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { overflow-wrap: break-word; margin: 0; background: var(--fond); color: var(--encre); font-family: "Raleway", "Helvetica Neue", Arial, sans-serif; font-size: 14px; line-height: 20px; }
a { color: var(--accent); }
h1, h2, .titre { font-family: var(--titre); font-weight: 400; color: var(--encre-forte); margin: 0; }
h1 { font-size: 30px; line-height: 40px; letter-spacing: 1.5px; }
h2 { font-size: 20px; line-height: 28px; margin-bottom: 6px; }
.discret { color: var(--discret); }
.petit { font-size: 12px; line-height: 16px; }
.etiq { font-size: 12px; line-height: 16px; color: var(--discret); text-transform: uppercase; letter-spacing: .4px; display: block; }

button, .bouton { font: inherit; font-weight: 600; min-height: 44px; padding: 0 18px; border: 1px solid var(--encre); background: #fff; color: var(--encre); border-radius: 0; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
button:hover, .bouton:hover { background: var(--fond); }
button.plein { background: var(--encre); color: #fff; }
button.plein:hover { background: #000; }
button.choisi { background: var(--encre); color: #fff; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent-clair); outline-offset: 2px; }
.lien-nav { font: inherit; text-transform: uppercase; letter-spacing: .16px; font-size: 13px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--discret); cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; font-weight: 400; }
.lien-nav:hover { color: var(--accent); background: transparent; }

input, select { font: inherit; min-height: 44px; padding: 0 12px; border: 1px solid #aca9a9; border-radius: 2px; background: #fff; color: var(--encre); width: 100%; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }

.carte { background: var(--carte); border: 1px solid var(--filet); padding: 20px; }
.ligne { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--filet-clair); flex-wrap: wrap; }
.ligne strong { text-align: right; }

header.haut { background: #fff; border-bottom: 1px solid var(--filet); }
header.haut .dedans { max-width: 1240px; margin: 0 auto; padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
header.haut .marque { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
header.haut .marque .titre { font-size: 22px; letter-spacing: 1px; }
nav { display: flex; flex-wrap: wrap; gap: 2px; }
main { max-width: 1240px; margin: 0 auto; padding: 24px 16px 48px; display: flex; flex-direction: column; gap: 24px; }
.entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }

.grille-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grille-chiffres .gros { font-family: var(--titre); font-size: 32px; line-height: 44px; color: var(--encre-forte); }
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.grille-courbes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.grille-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; align-items: start; }

a.carte-serveur { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
a.carte-serveur:hover { border-color: var(--accent); }
.carte-serveur .haut-carte { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.carte-serveur .nom { display: block; font-family: var(--titre); font-size: 20px; line-height: 26px; color: var(--encre-forte); }
.quatre { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.quatre .etiq { letter-spacing: 0; overflow-wrap: normal; font-size: 11px; }

.etat { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; white-space: nowrap; }
.etat.etat-long { white-space: normal; overflow-wrap: anywhere; }
.etat::before { content: ""; width: 10px; height: 10px; border-radius: 9999px; background: currentColor; flex: none; }
.etat.ok, .ok-texte { color: var(--ok); }
.etat.attention, .attention-texte { color: var(--attention); }
.etat.probleme, .probleme-texte { color: var(--probleme); }
.pastille { width: 10px; height: 10px; border-radius: 9999px; flex: none; display: inline-block; }
.pastille.attention { background: var(--attention); }
.pastille.probleme { background: var(--probleme); }

svg.etincelle { width: 100%; height: 56px; display: block; }
svg.courbe { width: 100%; height: 110px; display: block; background: #fafafa; }
.periodes { display: flex; flex-wrap: wrap; }
.periodes button + button { border-left: 0; }

.erreur { color: var(--probleme); font-weight: 600; margin: 0; }
.connexion { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.connexion form { width: 100%; max-width: 400px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.code { letter-spacing: 4px; font-size: 18px; }

.formulaire { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.tableau { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th { text-align: left; background: #fafafa; padding: 12px 16px; }
td { padding: 12px 16px; border-top: 1px solid var(--filet-clair); vertical-align: top; }
td.quand { white-space: nowrap; }
.vide { color: var(--discret); margin: 0; }
