/* ==========================================================================
   Composant « Astuce vérifiée » (13/11/2026), réutilisable sur toutes les pages de l'Agence.
   Une astuce est un fait pratique, daté, relié à sa source officielle, avec un renvoi vers l'Agence si elle ne marche plus.
   Aucune ressource externe, aucun style en ligne (compatible avec style-src 'self'). Les couleurs viennent des variables du site
   (clair et sombre).

   Modèle à recopier (remplacer ID, la date JJ/MM/AAAA et son attribut datetime AAAA-MM-JJ) :

   <aside class="astuce" aria-labelledby="astuce-ID">
     <p class="astuce-etiquette">Astuce vérifiée le <time datetime="AAAA-MM-JJ">JJ/MM/AAAA</time></p>
     <h3 class="astuce-titre" id="astuce-ID">Titre court de l'astuce</h3>
     <div class="astuce-corps"> ...paragraphes, listes... </div>
     <p class="astuce-source">Source officielle : <a href="https://..." target="_blank" rel="noopener">intitulé de la page<span class="he-visuellement-cache"> (nouvel onglet)</span></a>, consultée le JJ/MM/AAAA.</p>
     <p class="astuce-suite">Les conditions changent souvent : si ça ne marche plus, <a href="/contact.html">dites-le-nous</a>.</p>
   </aside>
   ========================================================================== */
.astuce {
  background: var(--accent-pale, #E5ECFB);
  color: var(--texte, #16223A);
  border: 1px solid var(--trait, #DEDBD1);
  border-left: 6px solid var(--accent-vif, #2563EB);
  border-radius: var(--rayon, 8px);
  padding: 18px 22px;
  margin: 1.4em 0;
}
.astuce > :last-child { margin-bottom: 0; }
.astuce-etiquette {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 10px;
  background: var(--surface, #fff);
  border: 1px solid var(--accent-vif, #2563EB);
  border-radius: 999px;
  color: var(--accent, #1D4ED8);
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.5;
}
.astuce-titre { margin: 0 0 8px; font-size: 1.15rem; color: var(--titre, #0E1A33); }
.astuce-corps > :last-child { margin-bottom: 0; }
.astuce-source, .astuce-suite { margin: 12px 0 0; font-size: .92rem; color: var(--texte-doux, #4B5567); }
.astuce-suite { padding-top: 10px; border-top: 1px dashed var(--trait-fort, #B3AE9F); }
.astuce a { overflow-wrap: anywhere; }
@media print { .astuce { break-inside: avoid; } }
