/* ==========================================================================
   MDSSUP — actualites.css : Hub « Actualités & Carrières » (refonte éditoriale 09/11/2026)
   Chargée sur /actualites/ (après style.css et seo-pages.css) ET sur l'accueil (cartes).
   Tout est préfixé .act- / .actus- : aucune règle n'affecte les autres pages.
   Mobile-first ; animations coupées si l'utilisateur demande moins d'animations.
   ========================================================================== */

/* ---- Charte : à modifier ici pour adapter tout le module ---- */
:root {
  --primary-color: var(--neon-cyan);
  --accent-color: var(--neon-violet);
  --bg-surface: var(--surface);
  --font-heading: var(--font-title);
  --act-radius: 16px;
  --act-ombre: 0 10px 30px rgba(0, 0, 0, .35);
  --act-ombre-survol: 0 18px 44px rgba(0, 0, 0, .5);
  --act-bord: rgba(255, 255, 255, .08);
  /* Couleurs des familles de catégories (texte foncé dessus : contraste ≥ 4,5:1) */
  --fam-actualite: #00e5ff;
  --fam-formation: #c084ff;
  --fam-evenement: #ffb347;
  --fam-carriere: #3ddc97;
}

/* ==========================================================================
   1. En-tête de page + « À la Une »
   ========================================================================== */
.act-entete { max-width: 1180px; margin: 0 auto; padding: 2rem 1rem .4rem; }
.act-entete h1 { font-family: var(--font-heading); font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.15; margin: .6rem 0 .6rem; }
.act-entete-intro { color: var(--text-muted); max-width: 760px; margin: 0; font-size: 1.05rem; }

.act-une {
  position: relative; isolation: isolate; overflow: hidden;
  width: calc(100% - 2rem); max-width: 1180px; margin: 1.4rem auto 2rem;
  min-height: clamp(420px, 58vw, 580px); display: flex; align-items: flex-end;
  border-radius: 24px; border: 1px solid var(--act-bord); box-shadow: var(--act-ombre-survol);
  background: linear-gradient(100deg, var(--bg-surface) 30%, #1d1d5c 50%, var(--bg-surface) 70%) 0 0 / 200% 100%;
  animation: act-shimmer 1.4s linear infinite;
}
.act-une.est-charge { animation: none; }
.act-une-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.act-une:hover .act-une-img, .act-une:focus-within .act-une-img { transform: scale(1.04); }
.act-une-voile {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 42, 0) 15%, rgba(10, 10, 42, .7) 55%, rgba(10, 10, 42, .96) 100%);
}
.act-une-contenu {
  display: grid; gap: .75rem; max-width: 780px;
  padding: clamp(1.2rem, 4vw, 2.4rem); padding-bottom: clamp(2rem, 5vw, 2.8rem);
}
.act-une-etiquettes { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.act-une-badge {
  display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.act-une-point { width: .55rem; height: .55rem; border-radius: 50%; background: var(--primary-color); box-shadow: 0 0 0 0 rgba(0, 255, 255, .7); animation: act-pouls 1.8s ease-out infinite; }
.act-une-titre { margin: 0; font-family: var(--font-heading); font-size: clamp(1.55rem, 4.2vw, 2.7rem); line-height: 1.15; }
.act-une-titre a { color: #fff; text-decoration: none; }
.act-une-titre a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.act-une-titre a:focus-visible { outline: none; }
.act-une-titre a:focus-visible::after { outline: 3px solid var(--primary-color); outline-offset: -6px; border-radius: 24px; }
.act-une-extrait { margin: 0; color: #e4e4f2; font-size: 1.05rem; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.act-une .act-meta { color: #d0d0e4; }
.act-une-btn { justify-self: start; }
.act-une-btn span { display: inline-block; transition: transform .25s ease; }
.act-une:hover .act-une-btn span { transform: translateX(5px); }
.act-credit { margin: 0; font-size: .72rem; color: rgba(255, 255, 255, .72); }
.act-une .act-credit { position: absolute; right: .9rem; bottom: .55rem; z-index: 2; }

/* ==========================================================================
   2. Barre de filtres collante
   ========================================================================== */
.act-hub { max-width: 1180px; margin: 0 auto; padding: 0 1rem 2.4rem; }
.act-barre {
  position: sticky; top: 70px; z-index: 30;
  display: grid; gap: .7rem; margin: 0 0 1rem; padding: .75rem;
  background: rgba(10, 10, 42, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--act-ombre);
}
.act-barre-ligne { display: flex; flex-wrap: wrap; gap: .55rem; }
.act-recherche-champ { position: relative; flex: 1 1 100%; }
.act-recherche-champ svg { position: absolute; left: .85rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.act-recherche {
  width: 100%; min-height: 44px; padding: .6rem 1rem .6rem 2.5rem; font: inherit;
  color: var(--text); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
}
.act-recherche::placeholder { color: var(--text-muted); }
.act-recherche:focus { outline: 3px solid var(--primary-color); outline-offset: 1px; border-color: var(--primary-color); }
.act-select { flex: 1 1 calc(50% - .3rem); min-width: 0; }
.act-select select {
  width: 100%; min-height: 44px; padding: .55rem 2.2rem .55rem .85rem; font: inherit; font-size: .92rem;
  color: var(--text); background-color: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23ccccdd' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 16px;
}
.act-select select:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 1px; }
.act-pills { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.act-pills::-webkit-scrollbar { display: none; }
.act-pill {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  min-height: 40px; padding: .4rem .9rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--text);
  background: transparent; border: 1px solid var(--border); transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.act-pill:hover { border-color: var(--primary-color); }
.act-pill:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; }
.act-pill[aria-pressed="true"] { background: var(--primary-color); border-color: var(--primary-color); color: var(--accent-dark); }
.act-compteur { min-width: 1.5rem; padding: 0 .4rem; border-radius: 999px; font-size: .75rem; line-height: 1.5rem; text-align: center; background: rgba(255, 255, 255, .12); }
.act-pill[aria-pressed="true"] .act-compteur { background: rgba(0, 26, 42, .18); }
.act-compte { margin: 0 0 1rem; color: var(--text-muted); font-size: .9rem; }

/* ==========================================================================
   3. Grille et cartes
   ========================================================================== */
.act-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.act-carte {
  position: relative; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden;
  background: var(--bg-surface); border: 1px solid var(--act-bord); border-radius: var(--act-radius);
  box-shadow: var(--act-ombre); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.act-carte:hover, .act-carte:focus-within { transform: translateY(-4px); box-shadow: var(--act-ombre-survol); border-color: rgba(0, 255, 255, .35); }
.act-carte-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(100deg, var(--bg-soft) 30%, #1d1d5c 50%, var(--bg-soft) 70%) 0 0 / 200% 100%;
  animation: act-shimmer 1.4s linear infinite;
}
.act-carte-media.est-charge { animation: none; background: var(--bg-soft); }
.act-carte-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.act-carte:hover .act-carte-media img, .act-carte:focus-within .act-carte-media img { transform: scale(1.07); }
.act-cat {
  display: inline-block; padding: .28rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #0a0a2a; background: var(--fam-actualite); box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.act-carte-media .act-cat { position: absolute; top: .8rem; left: .8rem; }
.act-cat--formation { background: var(--fam-formation); }
.act-cat--evenement { background: var(--fam-evenement); }
.act-cat--carriere { background: var(--fam-carriere); }
.act-carte-corps { flex: 1; display: flex; flex-direction: column; gap: .6rem; padding: 1.05rem 1.25rem 1.25rem; }
.act-titre { margin: 0; font-family: var(--font-heading); font-size: 1.12rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.act-carte .card-title a { color: var(--text); text-decoration: none; }
.act-carte .card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--act-radius); }
.act-carte .card-title a:focus-visible { outline: none; }
.act-carte .card-title a:focus-visible::after { outline: 3px solid var(--primary-color); outline-offset: -3px; }
.act-extrait { margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.act-carte-org { margin: 0; font-weight: 600; font-size: .9rem; color: var(--text); }
.act-carte-meta { margin: 0; font-size: .85rem; color: var(--text-muted); }
.act-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .84rem; color: var(--text-muted); }
.act-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.act-meta svg { width: 15px; height: 15px; flex: none; }
.act-lire { margin: auto 0 0; padding-top: .3rem; font-weight: 700; color: var(--primary-color); }
.act-lire span { display: inline-block; transition: transform .25s ease; }
.act-carte:hover .act-lire span, .act-carte:focus-within .act-lire span { transform: translateX(6px); }

/* Badges secondaires */
.act-badges { margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.act-badge {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .16rem .55rem; border-radius: 999px; border: 1px solid currentColor; color: var(--text-muted);
}
.act-badge--marche { color: #9fd3ff; }
.act-badge--nouveau { color: var(--accent-dark); background: #7cf2c4; border-color: #7cf2c4; }
.act-badge--urgent { color: var(--accent-dark); background: #ffc864; border-color: #ffc864; }
.act-badge--exemple { color: var(--accent-dark); background: #d9a6ff; border-color: #d9a6ff; }
.act-badge--apercu { color: #ff9c9c; }
.act-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.act-carte .act-tags { margin: 0; padding: 0; }
.act-tags li { margin: 0; font-size: .76rem; padding: .14rem .55rem; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); }

/* Apparition en fondu décalé après filtrage */
.act-apparait { animation: act-fondu .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--act-rang, 0) * 60ms); }

/* État vide */
.act-vide { display: grid; justify-items: center; gap: .6rem; text-align: center; padding: 3rem 1rem; border: 1px dashed var(--border); border-radius: var(--act-radius); }
.act-vide-illu { width: 150px; height: auto; color: var(--primary-color); opacity: .8; }
.act-vide-titre { margin: 0; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; }
.act-vide-texte { margin: 0 0 .4rem; color: var(--text-muted); }

/* ==========================================================================
   4. Page d'article : photo, partage, typographie éditoriale
   ========================================================================== */
.act-publication .seo-article-entete .act-meta { margin: 0 0 .9rem; }
.act-figure { max-width: 880px; margin: .6rem auto 0; padding: 0 1rem; }
.act-figure-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--act-radius); box-shadow: var(--act-ombre); background: var(--bg-soft); }
.act-figure .act-credit { text-align: right; margin-top: .4rem; }
.act-figure .act-credit a { color: var(--text-muted); }
.act-partage { max-width: 880px; margin: 1rem auto 0; padding: 0 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.act-partage-titre { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-right: .2rem; }
.act-partage-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .9rem; border-radius: 999px;
  font: inherit; font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer;
  color: var(--text); background: var(--bg-soft); border: 1px solid var(--border); transition: border-color .2s ease, color .2s ease;
}
.act-partage-btn:hover, .act-partage-btn:focus-visible { border-color: var(--primary-color); color: var(--primary-color); }
.act-partage-btn:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; }

.act-publication .seo-section { max-width: 760px; }
.act-publication .seo-prose p, .act-publication .seo-prose li { font-size: 1.06rem; line-height: 1.8; }
.act-publication .seo-prose ul { list-style: none; padding-left: 0; }
.act-publication .seo-prose ul > li { position: relative; padding-left: 1.6rem; }
.act-publication .seo-prose ul > li::before { content: ""; position: absolute; left: .3rem; top: .72em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--primary-color); box-shadow: 0 0 10px rgba(0, 255, 255, .5); }
.act-publication blockquote { margin: 1.6rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--accent-color); background: var(--bg-soft); border-radius: 0 var(--act-radius) var(--act-radius) 0; font-size: 1.12rem; font-style: italic; }
.act-en-bref ul { margin: 0; padding: 1.1rem 1.3rem 1.1rem 2.4rem; list-style: disc; background: linear-gradient(135deg, rgba(0, 255, 255, .08), rgba(160, 32, 240, .08)); border: 1px solid var(--border); border-left: 4px solid var(--primary-color); border-radius: var(--act-radius); }
.act-en-bref li { margin: .35rem 0; line-height: 1.7; }
.act-essentiel .seo-faits { margin-bottom: 1rem; }
.act-fait-large { grid-column: 1 / -1; }
.act-formation-accroche { margin: 0 0 .4rem; color: var(--text-muted); }
.act-action-exemple { margin: 0; color: var(--text-muted); font-style: italic; }
.act-archives ul { padding-left: 1.2rem; }
.act-similaires .act-grille { margin-top: 1rem; }
.act-bandeau { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--act-radius); border: 1px solid var(--border); background: var(--bg-surface); font-weight: 600; }
.act-bandeau a { color: var(--primary-color); }
.act-bandeau--clos { border-left: 4px solid #ffc864; }
.act-bandeau--apercu { border-left: 4px solid #ff9c9c; }
.act-bandeau--exemple { border-left: 4px solid #d9a6ff; }

/* Barre de progression de lecture */
.act-progression { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 3px; pointer-events: none; }
.act-progression span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); transform: scaleX(0); transform-origin: 0 50%; }

/* Notification « Lien copié ! » */
.act-toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 200; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none;
  padding: .7rem 1.2rem; border-radius: 999px; background: var(--primary-color); color: var(--accent-dark); font-weight: 700;
  box-shadow: var(--act-ombre-survol); transition: opacity .25s ease, transform .25s ease;
}
.act-toast.est-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   5. Panneau de lecture (Hub) — <dialog> natif
   ========================================================================== */
html.act-tiroir-ouvert { overflow: hidden; }
.act-tiroir {
  width: min(920px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--border);
  background: var(--bg, #0a0a2a); color: var(--text); box-shadow: -20px 0 60px rgba(0, 0, 0, .6);
}
.act-tiroir[open] { display: flex; flex-direction: column; animation: act-glisse .35s cubic-bezier(.2, .7, .2, 1); }
.act-tiroir::backdrop { background: rgba(5, 5, 20, .72); backdrop-filter: blur(4px); }
.act-tiroir .act-progression { position: absolute; }
.act-tiroir-haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--border); background: rgba(10, 10, 42, .95); }
.act-tiroir-fermer {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .9rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--text); background: var(--bg-soft); border: 1px solid var(--border);
}
.act-tiroir-fermer svg { width: 18px; height: 18px; }
.act-tiroir-fermer:hover, .act-tiroir-fermer:focus-visible { border-color: var(--primary-color); color: var(--primary-color); }
.act-tiroir-fermer:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; }
.act-tiroir-page { color: var(--text-muted); font-size: .88rem; }
.act-tiroir-defile { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.act-tiroir-contenu { padding-bottom: 2rem; }
.act-tiroir-contenu h1:focus { outline: none; }
.act-tiroir-squelette { display: grid; gap: 1rem; max-width: 760px; margin: 2rem auto; padding: 0 1rem; }
.act-tiroir-squelette span { display: block; height: 1.1rem; border-radius: 8px; background: linear-gradient(100deg, var(--bg-soft) 30%, #1d1d5c 50%, var(--bg-soft) 70%) 0 0 / 200% 100%; animation: act-shimmer 1.4s linear infinite; }
.act-tiroir-squelette span:first-child { height: 2.4rem; width: 80%; }
.act-tiroir-squelette span:nth-child(2) { height: 14rem; }

/* ==========================================================================
   6. Accueil : « Dernières actualités » + Flash info
   ========================================================================== */
.actus-accueil { max-width: 1180px; margin: 0 auto; padding: 2.4rem 1rem; }
.actus-entete { margin: 1.6rem 0 .4rem; }
.actus-entete h2 { margin: .4rem 0 0; font-size: clamp(1.4rem, 4vw, 2rem); }
.actus-tout { margin: 1.4rem 0 0; text-align: center; }
.actus-cartes { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.actus-flash { display: flex; align-items: stretch; overflow: hidden; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--act-radius); }
.actus-flash-label {
  flex: none; margin: 0; padding: .65rem .9rem; display: flex; align-items: center;
  background: var(--primary-color); color: var(--accent-dark); font-weight: 800;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}
.actus-flash-fenetre { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.actus-flash-defile { display: flex; width: max-content; animation: actus-defile 40s linear infinite; }
.actus-flash-defile--fixe { animation: none; }
.actus-flash:hover .actus-flash-defile, .actus-flash:focus-within .actus-flash-defile { animation-play-state: paused; }
.actus-flash-piste { display: flex; gap: 2.4rem; margin: 0; padding: .65rem 1.2rem; list-style: none; white-space: nowrap; }
.actus-flash-piste a { color: var(--text); text-decoration: none; font-weight: 600; }
.actus-flash-piste a:hover, .actus-flash-piste a:focus-visible { color: var(--primary-color); text-decoration: underline; }
.actus-flash-type { color: var(--primary-color); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* ==========================================================================
   7. Animations + points de rupture
   ========================================================================== */
@keyframes act-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes act-fondu { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes act-pouls { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, .7); } 70% { box-shadow: 0 0 0 10px rgba(0, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); } }
@keyframes act-glisse { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes actus-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (min-width: 640px) {
  .act-grille, .actus-cartes { grid-template-columns: repeat(2, 1fr); }
  .act-recherche-champ { flex: 1 1 260px; }
  .act-select { flex: 0 1 210px; }
  .act-pills { flex-wrap: wrap; overflow: visible; }
}
@media (min-width: 960px) {
  .act-grille { grid-template-columns: repeat(3, 1fr); }
  .act-une-contenu { margin: 0 0 1.6rem 1.6rem; padding: 2rem 2.2rem; border-radius: 20px; background: rgba(10, 10, 42, .38); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
@media (min-width: 1100px) {
  .actus-cartes { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .actus-flash-defile { animation: none; }
  .actus-flash-fenetre { overflow-x: auto; }
  .actus-flash-piste[aria-hidden="true"] { display: none; }
  .act-une, .act-carte-media, .act-tiroir-squelette span, .act-une-point { animation: none; }
  .act-apparait, .act-tiroir[open] { animation: none; }
  .act-carte, .act-carte-media img, .act-une-img, .act-lire span, .act-une-btn span, .act-toast { transition: none; }
  .act-carte:hover, .act-carte:focus-within { transform: none; }
  .act-carte:hover .act-carte-media img, .act-carte:focus-within .act-carte-media img, .act-une:hover .act-une-img { transform: none; }
}

/* --- Correctifs après contrôle visuel (09/11) --- */
/* style.css donne flex-grow: 1 à .card-text : cela annulait la coupure à 3 lignes du résumé */
.act-extrait { flex-grow: 0; }
/* Accueil (4 colonnes) : cartes allégées, les domaines restent sur le Hub et l'article */
.actus-cartes .act-badge--domaine { display: none; }
/* « Filtres et tri » : replié sur mobile pour une barre collante compacte, toujours visible sur bureau */
.act-plus > summary {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; cursor: pointer; list-style: none;
  font-size: .88rem; font-weight: 700; color: var(--primary-color);
}
.act-plus > summary::-webkit-details-marker { display: none; }
.act-plus > summary::before { content: "▸"; transition: transform .2s ease; }
.act-plus[open] > summary::before { transform: rotate(90deg); }
.act-plus > summary:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; border-radius: 6px; }
.act-plus-info { color: var(--text-muted); font-weight: 600; }
.act-plus-contenu { display: flex; flex-wrap: wrap; gap: .55rem; padding-top: .5rem; }
@media (min-width: 640px) {
  .act-barre { grid-template-columns: 1fr; }
  .act-plus { order: 1; }
  .act-pills { order: 2; }
  .act-plus > summary { display: none; }
  .act-plus-contenu { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .act-plus > summary::before { transition: none; } }
@media (min-width: 960px) {
  .act-barre { grid-template-columns: minmax(240px, 1fr) auto; align-items: center; }
  .act-barre-ligne { grid-column: 1; grid-row: 1; }
  .act-plus { grid-column: 2; grid-row: 1; }
  .act-pills { grid-column: 1 / -1; grid-row: 2; }
  .act-plus-contenu { flex-wrap: nowrap; }
  .act-plus-contenu .act-select { flex: 0 0 190px; }
}
