/* Ecoleme — espace client et administration : une feuille pour les trois pages.
   Couleurs de la marque : bleu #2C5DAD, crème #FEFBF2, pêche #FCBD86. Aucun style en ligne (la politique de sécurité les interdit). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/polices/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/polices/plus-jakarta-sans.woff2") format("woff2");
}

:root {
  --bleu: #2C5DAD;
  --bleu-fonce: #234C8F;
  --bleu-nuit: #1C2B45;
  --bleu-pale: #E4ECF8;
  --bleu-voile: rgba(44, 93, 173, .08);
  --creme: #FEFBF2;
  --creme-fonce: #F5EEDD;
  --blanc: #FFFFFF;
  --peche: #FCBD86;
  --peche-pale: #FEEBDA;
  --encre: #1C2B45;
  --encre-douce: #4F5D77;
  --encre-legere: #7A869C;
  --filet: rgba(28, 43, 69, .10);
  --vert: #23855C;
  --vert-pale: #DDF3E8;
  --orange: #B5590F;
  --orange-pale: #FDEBD9;
  --rouge: #B83A2E;
  --rouge-pale: #FBE3E0;
  --gris-pale: #EEF0F4;
  --ombre: 0 1px 2px rgba(28, 43, 69, .06), 0 10px 30px rgba(28, 43, 69, .06);
  --ombre-forte: 0 2px 6px rgba(28, 43, 69, .08), 0 24px 60px rgba(28, 43, 69, .14);
  --rayon: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sortie: cubic-bezier(.2, .7, .2, 1);
  --marge: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
[hidden] { display: none !important; }
a { color: var(--bleu); text-underline-offset: .18em; }
a:hover { color: var(--bleu-fonce); }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0; }
.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.discret { color: var(--encre-douce); font-size: .9375rem; }
.petit { font-size: .8125rem; color: var(--encre-legere); }
.pre { white-space: pre-wrap; }
.nombre { font-variant-numeric: tabular-nums; }

/* Le fond : deux halos très doux, comme le site. */
.fond { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fond span { position: absolute; border-radius: 50%; }
.fond .halo-bleu { width: 70vmax; height: 70vmax; top: -38vmax; right: -26vmax; background: radial-gradient(closest-side, rgba(44, 93, 173, .14), rgba(44, 93, 173, 0)); }
.fond .halo-peche { width: 60vmax; height: 60vmax; bottom: -34vmax; left: -24vmax; background: radial-gradient(closest-side, rgba(252, 189, 134, .30), rgba(252, 189, 134, 0)); }

/* ---------------------------------------------------------------- l'en-tête */
.entete {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(254, 251, 242, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--filet);
  padding-top: env(safe-area-inset-top, 0px);
}
.entete-interieur {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  min-height: 64px;
  margin-inline: auto;
  padding-inline: var(--marge);
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--encre);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  white-space: nowrap;
}
.marque img { width: 32px; height: 32px; }
.marque .sous { font-family: var(--sans); font-size: .75rem; font-weight: 700; color: var(--bleu); letter-spacing: .06em; text-transform: uppercase; }
.navigation { display: flex; gap: 4px; margin-left: 8px; }
.navigation a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--encre-douce);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  transition: background .2s var(--sortie), color .2s var(--sortie);
}
.navigation a:hover { background: var(--bleu-voile); color: var(--bleu-fonce); }
.navigation a[aria-current="page"] { background: var(--bleu); color: var(--blanc); box-shadow: 0 6px 16px rgba(44, 93, 173, .28); }
.navigation svg, .barre-bas svg { width: 18px; height: 18px; flex: none; }
.entete-droite { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.qui { text-align: right; line-height: 1.25; min-width: 0; }
.qui strong { display: block; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.qui span { font-size: .8125rem; color: var(--encre-legere); }

/* Sur un téléphone : la navigation passe en barre du bas, au pouce. */
.barre-bas {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: none;
  justify-content: space-around;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--filet);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.barre-bas a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 52px;
  justify-content: center;
  border-radius: 14px;
  color: var(--encre-legere);
  font-size: .6875rem;
  font-weight: 700;
  text-decoration: none;
}
.barre-bas a svg { width: 22px; height: 22px; }
.barre-bas a[aria-current="page"] { color: var(--bleu); background: var(--bleu-voile); }

/* ---------------------------------------------------------------- le contenu */
main { max-width: 1180px; margin-inline: auto; padding: clamp(20px, 4vw, 36px) var(--marge) 64px; }
/* Le contenu reçoit le focus à chaque page (pour les lecteurs d'écran) : pas de cadre pour autant. */
main:focus, main:focus-visible { outline: none; }
.vue { animation: entrer .32s var(--sortie) both; }
.vue > * + * { margin-top: 20px; }
.titre-page { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.titre-page .surtitre { margin-bottom: 6px; color: var(--bleu); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.retour { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.retour svg { width: 18px; height: 18px; flex: none; }
.lien-site svg, .alerte .actions svg { width: 18px; height: 18px; flex: none; }

.grille { display: grid; gap: 20px; }
.grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.carte {
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(28, 43, 69, .05);
}
.carte > * + * { margin-top: 14px; }
.carte-titre { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.carte.cascade { animation: monter .5s var(--sortie) both; animation-delay: calc(var(--rang, 0) * 60ms); }
.carte.accent-peche { background: linear-gradient(135deg, var(--peche-pale), #FFF6EC); border-color: rgba(252, 189, 134, .5); }
.carte.accent-bleu { background: linear-gradient(135deg, var(--bleu), var(--bleu-fonce)); color: var(--blanc); border: none; }
.carte.accent-bleu .discret, .carte.accent-bleu .petit { color: rgba(255, 255, 255, .78); }

/* Le statut du support : la carte principale du tableau de bord. */
.support-carte { position: relative; overflow: hidden; }
.support-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.support-jours { display: flex; align-items: baseline; gap: 10px; }
.support-jours .chiffre { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--bleu); }
.support-jours .unite { font-weight: 700; color: var(--encre-douce); }
.support-dates { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.support-dates div span { display: block; font-size: .75rem; font-weight: 700; color: var(--encre-legere); letter-spacing: .06em; text-transform: uppercase; }
.support-dates div strong { font-size: 1.05rem; }
.jauge { height: 10px; border-radius: 999px; background: var(--gris-pale); overflow: hidden; }
.jauge span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--bleu), #5B86CC); transition: width 1s var(--sortie); }
.jauge.proche span { background: linear-gradient(90deg, #E08A3C, var(--peche)); }
.jauge.urgente span { background: linear-gradient(90deg, var(--rouge), #E0766B); }
.licence {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 14px; background: var(--bleu-voile); color: var(--bleu-fonce); font-size: .875rem; font-weight: 600;
}
.licence svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }

/* Les pastilles d'état. */
.pastille {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--gris-pale);
  color: var(--encre-douce);
}
.pastille::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .9; }
.pastille.grande { font-size: 1rem; padding: 7px 16px 7px 13px; }
.pastille.grande::before { width: 10px; height: 10px; }
.pastille.vert { background: var(--vert-pale); color: var(--vert); }
.pastille.orange { background: var(--orange-pale); color: var(--orange); }
.pastille.rouge { background: var(--rouge-pale); color: var(--rouge); }
.pastille.bleu { background: var(--bleu-pale); color: var(--bleu-fonce); }
.pastille.peche { background: var(--peche-pale); color: #8A4A12; }
.pastille.gris { background: var(--gris-pale); color: var(--encre-douce); }
.pastille.sans-point::before { display: none; }
.actif .pastille.vert::before, .pastille.vert.pulse::before { animation: pulse 2.4s ease-in-out infinite; }

/* Les bandeaux d'avertissement. */
.alerte {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: .9375rem;
  border: 1px solid transparent;
  animation: monter .4s var(--sortie) both;
}
.alerte svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.alerte strong { display: block; }
.alerte .actions { margin-top: 10px; }
.alerte.info { background: var(--bleu-pale); color: var(--bleu-nuit); border-color: rgba(44, 93, 173, .18); }
.alerte.attention { background: var(--orange-pale); color: #6B3408; border-color: rgba(181, 89, 15, .22); }
.alerte.danger { background: var(--rouge-pale); color: #6E1F17; border-color: rgba(184, 58, 46, .22); }
.alerte.succes { background: var(--vert-pale); color: #134B33; border-color: rgba(35, 133, 92, .22); }
.alerte.peche { background: var(--peche-pale); color: #5E3210; border-color: rgba(252, 189, 134, .6); }

/* ---------------------------------------------------------------- formulaires */
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label, .champ .etiquette { font-weight: 700; font-size: .875rem; }
.champ .aide { font-size: .8125rem; color: var(--encre-legere); }
.champ .erreur-champ { font-size: .8125rem; color: var(--rouge); font-weight: 600; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], input[type="number"], input[type="search"], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid rgba(28, 43, 69, .16);
  border-radius: 12px;
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(44, 93, 173, .14); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--rouge); }
.formulaire { display: grid; gap: 16px; }
.formulaire .ligne { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cases { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.case-choix {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1.5px solid rgba(28, 43, 69, .14);
  border-radius: 14px;
  background: var(--blanc);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.case-choix input { margin-top: 4px; accent-color: var(--bleu); width: 18px; height: 18px; flex: none; }
.case-choix:has(input:checked) { border-color: var(--bleu); background: var(--bleu-voile); box-shadow: 0 0 0 3px rgba(44, 93, 173, .10); }
.case-choix strong { display: block; }
.case-choix span { font-size: .875rem; color: var(--encre-douce); }
.coche { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.coche input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--bleu); flex: none; }
.force { height: 6px; border-radius: 999px; background: var(--gris-pale); overflow: hidden; }
.force span { display: block; height: 100%; width: 0; transition: width .3s var(--sortie), background .3s; }

/* ---------------------------------------------------------------- boutons */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  background: var(--bleu);
  color: var(--blanc);
  font: inherit;
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(44, 93, 173, .25);
  transition: transform .18s var(--sortie), box-shadow .2s, background .2s, opacity .2s;
}
.bouton:hover { background: var(--bleu-fonce); color: var(--blanc); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(44, 93, 173, .3); }
.bouton:active { transform: translateY(0) scale(.98); }
.bouton:disabled, .bouton[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.bouton.secondaire { background: var(--blanc); color: var(--bleu-fonce); box-shadow: inset 0 0 0 1.5px rgba(44, 93, 173, .35); }
.bouton.secondaire:hover { background: var(--bleu-voile); }
.bouton.peche { background: var(--peche); color: var(--bleu-nuit); box-shadow: 0 8px 20px rgba(252, 189, 134, .45); }
.bouton.peche:hover { background: #FBAE6B; color: var(--bleu-nuit); }
.bouton.danger { background: var(--blanc); color: var(--rouge); box-shadow: inset 0 0 0 1.5px rgba(184, 58, 46, .4); }
.bouton.danger:hover { background: var(--rouge-pale); }
.bouton.petit { min-height: 38px; padding: 0 15px; font-size: .875rem; box-shadow: none; }
.bouton.plein { width: 100%; }
.bouton svg { width: 18px; height: 18px; flex: none; }
.bouton-icone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: none; border-radius: 50%;
  background: transparent; color: var(--encre-douce); cursor: pointer; transition: background .2s;
}
.bouton-icone:hover { background: var(--bleu-voile); color: var(--bleu-fonce); }
.bouton-icone svg { width: 20px; height: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tourne { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: currentColor; border-radius: 50%; animation: tourner .8s linear infinite; }
.bouton.secondaire .tourne { border-color: rgba(44, 93, 173, .25); border-top-color: var(--bleu); }

/* ---------------------------------------------------------------- listes et tableaux */
.liste { list-style: none; margin: 0; padding: 0; }
.liste > li + li { border-top: 1px solid var(--filet); }
.ligne-demande {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 14px 6px;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  transition: background .2s;
}
.ligne-demande:hover { background: var(--bleu-voile); color: inherit; }
.ligne-demande .objet { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ligne-demande .meta { grid-column: 1; font-size: .8125rem; color: var(--encre-legere); }
.ligne-demande .pastille { grid-row: 1 / span 2; grid-column: 2; }
.vide {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 26px 12px; color: var(--encre-douce);
}
.vide svg { width: 44px; height: 44px; color: var(--peche); }
.tableau-defile { overflow-x: auto; margin-inline: -6px; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th { text-align: left; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-legere); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--filet); white-space: nowrap; }
td { padding: 12px 10px; border-bottom: 1px solid var(--filet); vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr.cliquable { cursor: pointer; transition: background .2s; }
tr.cliquable:hover { background: var(--bleu-voile); }
.chiffres { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.chiffre-carte { padding: 18px; border-radius: 16px; background: var(--blanc); box-shadow: var(--ombre); text-decoration: none; color: inherit; transition: transform .2s var(--sortie), box-shadow .2s; animation: monter .5s var(--sortie) both; animation-delay: calc(var(--rang, 0) * 50ms); }
a.chiffre-carte:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); color: inherit; }
.chiffre-carte strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--bleu); }
.chiffre-carte.rouge strong { color: var(--rouge); }
.chiffre-carte.orange strong { color: var(--orange); }
.chiffre-carte span { font-size: .8125rem; font-weight: 700; color: var(--encre-douce); }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres button {
  min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(28, 43, 69, .14);
  background: var(--blanc); color: var(--encre-douce); font: inherit; font-weight: 700; font-size: .875rem; cursor: pointer; transition: all .2s;
}
.filtres button[aria-pressed="true"] { background: var(--bleu-nuit); border-color: var(--bleu-nuit); color: var(--blanc); }

/* ---------------------------------------------------------------- le fil de messages */
.fil { display: flex; flex-direction: column; gap: 12px; }
.bulle { max-width: min(560px, 88%); padding: 12px 15px; border-radius: 16px; background: var(--gris-pale); animation: monter .35s var(--sortie) both; }
.bulle .auteur { display: block; font-size: .75rem; font-weight: 700; color: var(--encre-legere); margin-bottom: 4px; }
.bulle.moi { align-self: flex-end; background: var(--bleu); color: var(--blanc); border-bottom-right-radius: 6px; }
.bulle.moi .auteur { color: rgba(255, 255, 255, .78); }
.bulle.eux { align-self: flex-start; background: var(--blanc); border: 1px solid var(--filet); border-bottom-left-radius: 6px; }
.bulle.interne { align-self: stretch; max-width: none; background: var(--peche-pale); border: 1.5px dashed rgba(181, 89, 15, .45); color: #5E3210; }
.bulle.interne .auteur { color: #8A4A12; }

/* ---------------------------------------------------------------- connexion */
.connexion-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px var(--marge) 48px; }
.connexion-carte { width: min(440px, 100%); background: var(--blanc); border-radius: 26px; box-shadow: var(--ombre-forte); padding: clamp(24px, 5vw, 38px); animation: monter .5s var(--sortie) both; }
.connexion-carte > * + * { margin-top: 18px; }
.connexion-tete { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.connexion-tete img { width: 60px; height: 60px; animation: eclore .7s var(--sortie) both; }
.connexion-tete .sous { color: var(--bleu); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.connexion-pied { text-align: center; font-size: .875rem; color: var(--encre-douce); }
.lien-site { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .875rem; }
.lien-copie { display: flex; gap: 8px; align-items: stretch; }
.lien-copie input { font-family: ui-monospace, Consolas, monospace; font-size: .8125rem; }

/* ---------------------------------------------------------------- fenêtres et messages */
dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  border: none;
  border-radius: 22px;
  padding: 0;
  box-shadow: var(--ombre-forte);
  color: var(--encre);
}
dialog[open] { animation: eclore .28s var(--sortie) both; }
dialog::backdrop { background: rgba(28, 43, 69, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: apparaitre .25s both; }
.dialogue { padding: clamp(20px, 4vw, 28px); display: grid; gap: 16px; }
.dialogue-pied { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.toasts { position: fixed; z-index: 60; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { padding: 12px 16px; border-radius: 14px; background: var(--bleu-nuit); color: var(--blanc); font-weight: 600; font-size: .9375rem; box-shadow: var(--ombre-forte); animation: monter .3s var(--sortie) both; }
.toast.erreur { background: var(--rouge); }
.toast.sortie { animation: descendre .3s var(--sortie) both; }
.chargement { display: flex; justify-content: center; padding: 60px 0; }
.chargement span { width: 34px; height: 34px; border: 3px solid var(--bleu-pale); border-top-color: var(--bleu); border-radius: 50%; animation: tourner .8s linear infinite; }
.squelette { height: 18px; border-radius: 8px; background: linear-gradient(90deg, var(--gris-pale), #F7F8FA, var(--gris-pale)); background-size: 200% 100%; animation: luire 1.4s ease-in-out infinite; }
.bandeau-demo { background: var(--peche); color: var(--bleu-nuit); text-align: center; font-weight: 700; font-size: .8125rem; padding: 6px 12px; }

/* ---------------------------------------------------------------- mouvements */
@keyframes entrer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes monter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes descendre { to { opacity: 0; transform: translateY(10px); } }
@keyframes eclore { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes apparaitre { from { opacity: 0; } to { opacity: 1; } }
@keyframes tourner { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: .5; transform: scale(1.35); } }
@keyframes luire { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- tailles d'écran */
@media (max-width: 1000px) {
  .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .navigation, .qui { display: none; }
  .barre-bas { display: flex; }
  main { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .grille-2, .grille-3, .grille-4 { grid-template-columns: minmax(0, 1fr); }
  .titre-page .actions { width: 100%; }
  .titre-page .actions .bouton { flex: 1; }
  .masquer-telephone { display: none; }
  th.masquer-telephone, td.masquer-telephone { display: none; }
}
@media (min-width: 761px) {
  .toasts { bottom: 24px; }
}
