  .aide-overlay {
    position: fixed; inset: 0; background: rgba(10, 22, 40, 0.5);
    display: none; align-items: center; justify-content: center; z-index: 9999;
    backdrop-filter: blur(2px);
  }
  .aide-overlay.aide-open { display: flex; }

  .aide-dialog {
    position: relative;
    width: min(92vw, 560px);
    background: #ffffff;
    /* Coins arrondis uniquement en haut */
    border-radius: 18px 18px 12px 12px;
    box-shadow: 0 22px 60px rgba(7, 17, 27, 0.25);
    overflow: visible; /* pour que la croix ne soit pas coupée */
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #0a1a2b;
    font-size: 16px; /* ← TOUT le texte en 16px */
  }

  .aide-header {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 22px;
    background: #eaf3ff; /* bleu clair, sans dégradé */
    color: #062140;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
  .aide-header .aide-icon {
    width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.7);
    display: grid; place-items: center;
  }
  .aide-header .aide-icon svg { width: 22px; height: 22px; }

  .aide-title {
    font-weight: 600; line-height: 1.3;
    /* pas de font-size spécifique → reste à 16px */
  }

.aide-body {
    padding: 18px 22px 6px;
    line-height: 1.55;
    font-size: 15px; /* Taille de texte standard et lisible */
	color:#000;
}
  .aide-body p { margin: 0 0 10px; color:#000; text-align: justify; font-size: 15px; }

  .aide-actions {
    display: flex; gap: 10px; padding: 2px 22px 16px; flex-wrap: wrap;
  }

.aide-btn-primary {
    display: inline-flex; /* FLEX pour aligner texte + icône */
    align-items: center; /* Centrage vertical parfait */
    justify-content: center; /* Centrage horizontal */
    gap: 8px; /* Espacement entre l’icône et le texte */
    text-align: center;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    background: #0EA5E9; /* Bleu clair */
    color: #fff; /* Texte blanc */
    text-decoration: none; /* Pas de soulignement */
    font-size: 15px;
}
.aide-btn-primary:hover {
    text-decoration: none; /* Toujours pas de soulignement */
	color: #fff;
	border: none;
}

.aide-btn-primary:visited,
.aide-btn-primary:active,
.aide-btn-primary:focus {
    background: #0EA5E9; /* Bleu clair inchangé */
    color: #fff; /* Texte blanc */
    border: none;
    text-decoration: none; /* Pas de soulignement jamais */
    outline: none; /* Supprime le contour noir iOS */
    box-shadow: 0 4px 12px rgba(14,165,233,0.25);
    -webkit-tap-highlight-color: transparent; /* Supprime le flash gris iOS */	
}

.aide-btn-primary svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0; /* L'icône ne se déforme jamais */
}

  /* Croix au-dessus du coin droit du popup (non tronquée) */
  .aide-close {
    position: absolute;
    top: -14px; right: -14px;
    background: #ffffff; color: #0a1a2b;
    border: 1px solid rgba(10,26,43,0.15);
    border-radius: 999px;
    padding: 8px 10px;
    cursor: pointer; font-weight: 800; line-height: 1;
    box-shadow: 0 6px 16px rgba(7, 17, 27, 0.18);
    z-index: 1;
  }

  .aide-footer-note {
    padding: 0 22px 16px; color: #4a5b6a;
    font-size: 14px; /* cohérent */
	text-align: left;
  }

  @media (prefers-reduced-motion: reduce) {
    .aide-overlay, .aide-dialog, .aide-btn { transition: none !important; }
  }