@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(montserrat.woff2) format("woff2");
}
:root {
  --violet: #9C0D99;
  --violet-fonce: #6B0869;
  --rose: #FD9CFF;
  --pale: #EFDDEE;
  --texte: #222;
  --gris: #54595F;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; color: var(--texte); font-family: "Montserrat", system-ui, sans-serif; }

.carte-gr { display: flex; gap: 24px; align-items: flex-start; padding: 8px; }
.zone-carte { flex: 1 1 auto; min-width: 0; }
.carte-svg { display: block; width: 100%; height: auto; }
.panneau { flex: 0 0 280px; position: sticky; top: 8px; }

/* Carte */
.dep { fill: var(--pale); stroke: #fff; stroke-width: .7; cursor: pointer; transition: fill .15s; }
.dep.avec { fill: var(--violet); }
.dep:hover, .dep:focus { fill: var(--rose); outline: none; }
.dep.choisi { fill: var(--violet-fonce); stroke: #000; stroke-width: 1.4; }
.dep.sans.choisi { fill: #C9A7C8; }
.lbl { font-size: 8.5px; font-weight: 600; text-anchor: middle; dominant-baseline: central; pointer-events: none; fill: var(--gris); }
.lbl.avec { fill: #fff; }
.cadre { fill: none; stroke: #ccc; stroke-width: 1; }
.titre-encart { font-size: 9.5px; font-weight: 600; fill: var(--gris); }

/* Panneau */
.choix { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
select { width: 100%; font: inherit; font-size: 15px; padding: 8px; border: 1px solid #bbb; border-radius: 6px; background: #fff; }
.fiche { margin: 16px 0; padding: 16px; border-radius: 10px; background: #F8F1F8; min-height: 150px; }
.fiche h2 { margin: 0 0 6px; font-size: 20px; color: var(--violet); }
.fiche p { margin: 8px 0; font-size: 14px; line-height: 1.45; }
.invite { color: var(--gris); }
.statut { display: inline-block; font-weight: 600; font-size: 13px !important; padding: 2px 10px; border-radius: 999px; }
.statut.avec { background: var(--violet); color: #fff; }
.statut.sans { background: #E2D3E1; color: var(--texte); }
.mail { display: inline-block; font-weight: 600; color: var(--violet); font-size: 14px; }
.secondaire { color: var(--gris); margin-top: 14px !important; }
.appel { margin-top: 16px !important; }
.bouton { display: inline-block; background: var(--violet); color: #fff; text-decoration: none; font-weight: 600; padding: 10px 18px; border-radius: 6px; }
.bouton:hover { background: var(--violet-fonce); }
.legende { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.legende li { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.pastille { width: 16px; height: 16px; border-radius: 3px; display: inline-block; }
.pastille.avec { background: var(--violet); }
.pastille.sans { background: var(--pale); border: 1px solid #d5bfd4; }
.indispo { padding: 16px; }

@media (max-width: 720px) {
  .carte-gr { flex-direction: column; align-items: stretch; gap: 8px; padding: 0; }
  .zone-carte { width: 100%; }
  .panneau { flex: none; width: 100%; position: static; padding: 0 16px 16px; }
}
@media (max-width: 480px) {
  .lbl { display: none; } /* illisibles à cette taille : le menu déroulant prend le relais */
}
.insecable { white-space: nowrap; }
