/* =========================================================
   Mon Chai, section « Actualités réglementaires »
   Utilisé par actualites-reglementaires.html et les articles.

   Contrairement aux pages « Le logiciel » (scène 1920 mise à
   l'échelle par pages.js), ces pages sont en flux normal : un
   article doit refluer avec la taille d'écran et rester lisible.
   Le header partagé (header.css) est donc repassé en flux au-dessus
   de 1200px, en reprenant le palier 900→1199 déjà éprouvé ; les
   surcharges sont scoppées sur body.corps-actus pour ne rien
   changer aux autres pages. Le pied de page (pied.css) est déjà
   fluide et se réutilise tel quel.

   Palette et typographies reprises de la charte du site :
   crème #FFFDFC / #FFF9F4, bordeaux #7B1E22, pied #471318,
   or #DFB780, cuivre #C99159 / #A85D35, encre #211B18.
   Titres en Playfair Display, texte en Inter, étiquettes en Poppins.
   ========================================================= */

:root{
  --ac-creme:      #FFFDFC;
  --ac-creme-2:    #FFF9F4;
  --ac-bordeaux:   #7B1E22;
  --ac-lie:        #471318;
  --ac-encre:      #211B18;
  --ac-gris:       #4a423d;
  --ac-gris-doux:  #8a7f78;
  --ac-or:         #DFB780;
  --ac-cuivre:     #C99159;
  --ac-cuivre-f:   #A85D35;
  --ac-bord:       #F3EAE1;
  --ac-serif:      "Playfair Display", Georgia, serif;
  --ac-sans:       "Inter", system-ui, -apple-system, sans-serif;
  --ac-titre:      "Poppins", "Inter", system-ui, sans-serif;
}

body.corps-actus{
  margin:0;
  background:var(--ac-creme);
  color:var(--ac-encre);
  font-family:var(--ac-sans);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
body.corps-actus *{ box-sizing:border-box; }


/* Le header éditorial n'a plus de variante visuelle. L'enveloppe
   .site-header--page de header.css réutilise au pixel près le composant 1920
   de l'accueil et le garde dans le flux. */


/* ---------- Bandeau de tête de la section ---------- */
.actus-hero{
  background:var(--ac-creme-2);
  border-bottom:1px solid var(--ac-bord);
  padding:clamp(44px,6vw,72px) 24px clamp(38px,5vw,60px);
  text-align:center;
}
.actus-hero__kicker{
  font-family:var(--ac-titre); font-weight:600; font-size:13px; line-height:1;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--ac-cuivre-f); margin:0 0 16px;
}
.actus-hero h1{
  font-family:var(--ac-serif); font-weight:500;
  font-size:clamp(34px,4.6vw,52px); line-height:1.12;
  color:var(--ac-encre); margin:0;
}
.actus-hero__filet{
  width:84px; height:3px; border-radius:1.5px;
  background:var(--ac-or); margin:22px auto;
}
.actus-hero__lead{
  max-width:64ch; margin:0 auto;
  font-size:clamp(15.5px,1.8vw,17.5px); line-height:1.65;
  color:var(--ac-gris);
}

/* ---------- Grille des articles ---------- */
.actus-grille{
  max-width:1180px; margin:0 auto;
  padding:clamp(36px,5vw,60px) 24px 16px;
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr));
  gap:clamp(20px,2.6vw,30px);
}
@media (max-width:1023px){ .actus-grille{ grid-template-columns:1fr; max-width:640px; } }

.actu-fiche{
  display:flex; flex-direction:column;
  background:#fff; border:1px solid var(--ac-bord); border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(71,19,24,.06);
  transition:transform .18s ease, box-shadow .18s ease;
}
.actu-fiche:hover{ transform:translateY(-4px); box-shadow:0 18px 40px rgba(71,19,24,.11); }
.actu-fiche__img{ display:block; width:100%; height:186px; object-fit:cover; }
.actu-fiche__corps{ flex:1; display:flex; flex-direction:column; gap:10px; padding:22px 24px 26px; }
.actu-fiche__titre{
  font-family:var(--ac-serif); font-weight:500; font-size:22.5px; line-height:1.25;
  margin:2px 0 0;
}
.actu-fiche__titre a{ color:inherit; text-decoration:none; }
.actu-fiche__titre a:hover{ color:var(--ac-bordeaux); }
.actu-fiche__resume{ font-size:15px; line-height:1.62; color:var(--ac-gris); margin:0; }
.actu-fiche__lire{
  margin-top:auto; padding-top:10px;
  font-weight:600; font-size:15px; color:var(--ac-cuivre-f); text-decoration:none;
}
.actu-fiche__lire:hover{ text-decoration:underline; text-underline-offset:4px; }

/* Étiquette thématique + date, partagées fiches et articles */
.actu-tag{
  align-self:flex-start; display:inline-block;
  font-family:var(--ac-titre); font-weight:600; font-size:11.5px; line-height:1;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--ac-bordeaux); background:rgba(223,183,128,.22);
  border-radius:999px; padding:7px 13px;
}
.actu-date{ font-size:13.5px; color:var(--ac-gris-doux); }


/* ---------- Article ---------- */
.article{
  max-width:820px; margin:0 auto;
  padding:clamp(32px,4.5vw,52px) 24px clamp(48px,6vw,72px);
}
.article__ariane{ font-size:14px; color:var(--ac-gris-doux); margin:0 0 26px; }
.article__ariane a{ color:var(--ac-cuivre-f); text-decoration:none; }
.article__ariane a:hover{ text-decoration:underline; }

.article__meta{
  display:flex; flex-wrap:wrap; align-items:center; gap:14px;
  margin-bottom:18px;
}
.article h1{
  font-family:var(--ac-serif); font-weight:500;
  font-size:clamp(31px,4vw,44px); line-height:1.16;
  color:var(--ac-encre); margin:0 0 18px;
}
.article__chapo{
  font-size:clamp(17px,2vw,18.5px); line-height:1.65;
  color:var(--ac-gris); margin:0 0 10px;
}
.article__chapo strong{ color:var(--ac-encre); }

.article h2{
  font-family:var(--ac-serif); font-weight:500; font-size:clamp(24px,2.8vw,29px);
  line-height:1.25; color:var(--ac-bordeaux);
  margin:44px 0 14px; padding-top:20px;
  border-top:1px solid rgba(223,183,128,.5);
}
.article h3{ font-size:18px; font-weight:700; color:var(--ac-encre); margin:24px 0 8px; }
.article p{ font-size:16.5px; line-height:1.7; color:var(--ac-gris); margin:0 0 15px; }
.article p strong, .article li strong{ color:var(--ac-encre); }
.article ul, .article ol{ margin:0 0 16px; padding-left:24px; color:var(--ac-gris); }
.article li{ margin:7px 0; font-size:16.5px; line-height:1.65; }
.article a{ color:var(--ac-bordeaux); }

/* Encadré « L'essentiel » */
.essentiel{
  background:var(--ac-creme-2);
  border:1px solid rgba(223,183,128,.55); border-left:4px solid var(--ac-or);
  border-radius:12px;
  padding:22px 26px 16px; margin:26px 0 8px;
}
.essentiel__titre{
  font-family:var(--ac-titre); font-weight:600; font-size:12.5px; line-height:1;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--ac-cuivre-f); margin:0 0 12px;
}
.essentiel ul{ margin-bottom:6px; }
.essentiel li{ font-size:15.5px; }

/* Tableau d'échéances : défile horizontalement plutôt que de casser la page */
.table-defile{ overflow-x:auto; margin:18px 0 22px; }
.article table{ width:100%; border-collapse:collapse; min-width:480px; }
.article thead th{
  background:var(--ac-bordeaux); color:var(--ac-creme-2);
  font-family:var(--ac-titre); font-weight:600; font-size:14px;
  text-align:left; padding:12px 16px;
}
.article thead th:first-child{ border-radius:10px 0 0 0; }
.article thead th:last-child{ border-radius:0 10px 0 0; }
.article tbody td{
  padding:13px 16px; font-size:15.5px; line-height:1.55; color:var(--ac-gris);
  border-bottom:1px solid var(--ac-bord); vertical-align:top;
}
.article tbody td:first-child{ white-space:nowrap; font-weight:600; color:var(--ac-encre); }

/* Bloc de fin : passerelle vers le logiciel */
.article-cta{
  background:var(--ac-lie); color:var(--ac-creme-2);
  border-radius:18px;
  padding:clamp(26px,4vw,36px) clamp(24px,4vw,38px);
  margin:48px 0 8px;
}
.article-cta h2, .article-cta .article-cta__titre{
  font-family:var(--ac-serif); font-weight:500; font-size:clamp(23px,2.6vw,27px);
  line-height:1.25; color:#FFFDFC;
  margin:0 0 10px; padding:0; border:0;
}
.article-cta p{ color:rgba(255,249,244,.85); font-size:16px; margin:0 0 20px; }
.article-cta__actions{ display:flex; flex-wrap:wrap; align-items:center; gap:18px; }
.article-cta__btn{
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--ac-cuivre); color:#FFFDFC !important; text-decoration:none;
  font-family:var(--ac-titre); font-weight:600; font-size:15.5px;
  border-radius:24px; padding:13px 26px;
  transition:background .18s ease;
}
.article-cta__btn:hover{ background:#b87f4a; }
.article-cta__lien{ color:var(--ac-or) !important; font-weight:600; font-size:15px; }

/* Sources et suite de lecture */
.article__sources{ margin-top:38px; }
.article__sources h2{
  font-family:var(--ac-titre); font-weight:600; font-size:12.5px; line-height:1;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--ac-gris-doux); border:0; padding:0; margin:0 0 10px;
}
.article__sources ul{ list-style:none; padding:0; margin:0; }
.article__sources li{ font-size:13.5px; color:var(--ac-gris-doux); margin:4px 0; }
.article__sources a{ color:var(--ac-cuivre-f); }

.article__suite{ margin-top:36px; padding-top:20px; border-top:1px solid rgba(223,183,128,.5); }
.article__suite h2{
  font-family:var(--ac-titre); font-weight:600; font-size:12.5px; line-height:1;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--ac-cuivre-f); border:0; padding:0; margin:0 0 12px;
}
.article__suite ul{ list-style:none; padding:0; margin:0; }
.article__suite li{ margin:8px 0; }
.article__suite a{
  font-family:var(--ac-serif); font-size:18.5px; color:var(--ac-encre); text-decoration:none;
}
.article__suite a:hover{ color:var(--ac-bordeaux); text-decoration:underline; text-underline-offset:4px; }

/* Bandeau CTA de la page d'index de la section */
.actus-cta{
  max-width:1180px; margin:0 auto;
  padding:clamp(28px,4vw,44px) 24px clamp(56px,6vw,72px);
}
.actus-cta .article-cta{ margin:0; }


/* ---------- Catégories : étiquettes-liens, filtres, hubs ---------- */
/* L'étiquette de carte est un lien vers la page hub de sa catégorie */
a.actu-tag{ text-decoration:none; transition:background .15s ease, color .15s ease; }
a.actu-tag:hover{ background:var(--ac-bordeaux); color:var(--ac-creme-2); }

/* Lien de retour dans le bandeau des pages hubs */
.actus-hero__retour{ color:inherit; text-decoration:none; }
.actus-hero__retour:hover{ text-decoration:underline; text-underline-offset:4px; }

/* Barre de filtres de l'index (masquage côté client, actus-filtres.js) */
.actus-filtres{
  max-width:1180px; margin:0 auto;
  padding:clamp(24px,3.5vw,36px) 24px 0;
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
}
.actus-filtre{
  font-family:var(--ac-titre); font-weight:600; font-size:13px; line-height:1;
  letter-spacing:.05em;
  color:var(--ac-gris); background:#fff;
  border:1px solid var(--ac-bord); border-radius:999px;
  padding:10px 16px; cursor:pointer;
  transition:color .15s ease, border-color .15s ease, background .15s ease;
}
.actus-filtre:hover{ color:var(--ac-cuivre-f); border-color:var(--ac-cuivre); }
.actus-filtre.est-actif{
  color:var(--ac-creme-2); background:var(--ac-bordeaux); border-color:var(--ac-bordeaux);
}
.actu-fiche.est-masquee{ display:none; }

/* Note sous la grille des hubs */
.actus-note{
  max-width:1180px; margin:0 auto; padding:14px 24px 0;
  text-align:center; font-size:14.5px; color:var(--ac-gris-doux);
}
.actus-note a{ color:var(--ac-cuivre-f); }


/* =========================================================
   ORNEMENTS DES PAGES D'ARTICLE — ajout du 3 septembre 2026
   Décoration de tout ce qui est déjà en place : aucune classe à
   ajouter dans le HTML pour l'essentiel (h1, h2, listes, tableaux,
   citations, images), plus quelques classes optionnelles pour les
   sommaires, les sources et les séparateurs.
   ========================================================= */

/* --- Titre : filet doré à losange sous le h1 --- */
.article h1{ margin-bottom:14px; }
.article h1 + .article__chapo{ margin-top:0; }
.article h1::after{
  content:"";
  display:block; position:relative;
  width:132px; height:1px; margin:18px 0 4px;
  background:linear-gradient(90deg, var(--ac-or), rgba(223,183,128,0));
}

/* --- Chapô : un ton plus soutenu, il porte la promesse --- */
.article__chapo{ color:var(--ac-encre); }

/* --- Lettrine sur le premier paragraphe de corps --- */
.article__chapo + p::first-letter,
.article > p.lettrine::first-letter{
  float:left;
  font-family:var(--ac-serif); font-weight:500;
  font-size:58px; line-height:.86;
  color:var(--ac-bordeaux);
  margin:7px 11px 0 0;
}

/* --- Intertitres : losange doré en tête, filet conservé --- */
.article h2{ position:relative; padding-left:0; }
.article h2::before{
  content:"";
  position:absolute; left:-22px; top:34px;
  width:8px; height:8px;
  background:var(--ac-or); transform:rotate(45deg);
}
@media (max-width:900px){ .article h2::before{ display:none; } }

.article h3{
  font-family:var(--ac-titre); font-weight:600; font-size:17.5px;
  color:var(--ac-bordeaux);
}

/* --- Listes ornées : losange doré au lieu de la puce --- */
.article > ul, .essentiel ul, .article__suite ul{ list-style:none; padding-left:4px; }
.article > ul > li, .essentiel li, .article__suite li{ position:relative; padding-left:26px; }
.article > ul > li::before, .essentiel li::before, .article__suite li::before{
  content:"";
  position:absolute; left:5px; top:10px;
  width:7px; height:7px;
  background:var(--ac-or); transform:rotate(45deg);
}
.article ol{ counter-reset:orn; list-style:none; padding-left:4px; }
.article ol > li{ counter-increment:orn; position:relative; padding-left:34px; }
.article ol > li::before{
  content:counter(orn);
  position:absolute; left:0; top:1px;
  display:flex; align-items:center; justify-content:center;
  width:23px; height:23px; border-radius:50%;
  background:rgba(223,183,128,.24); color:var(--ac-bordeaux);
  font-family:var(--ac-titre); font-weight:600; font-size:12.5px;
}

/* --- Liens de corps : soulignement doré qui s'assombrit --- */
.article p > a, .article li > a{
  text-decoration:none;
  border-bottom:1px solid rgba(223,183,128,.85);
  transition:border-color .15s ease, color .15s ease;
}
.article p > a:hover, .article li > a:hover{
  color:var(--ac-lie); border-bottom-color:var(--ac-bordeaux);
}

/* --- Citation --- */
.article blockquote{
  margin:26px 0; padding:6px 0 6px 26px;
  border-left:3px solid var(--ac-or);
  font-family:var(--ac-serif); font-style:italic;
  font-size:20px; line-height:1.5; color:var(--ac-bordeaux);
}
.article blockquote p{ margin:0; font-size:inherit; line-height:inherit; color:inherit; }

/* --- Tableaux : lignes alternées et bord doux --- */
.article table{ border-radius:10px; overflow:hidden; }
.article tbody tr:nth-child(even){ background:rgba(242,233,222,.42); }
.article tbody tr:hover{ background:rgba(223,183,128,.16); }

/* --- Figures et captures --- */
.article figure{ margin:26px 0; }
.article figure img{
  display:block; width:100%; height:auto;
  border-radius:12px; border:1px solid rgba(223,183,128,.55);
}
.article figcaption{
  margin-top:9px; font-size:14px; color:var(--ac-gris-doux); text-align:center;
}

/* --- Séparateur ornemental, à poser entre deux parties --- */
.orn-sep{
  position:relative; height:1px; border:0;
  margin:44px auto; width:min(360px, 70%);
  background:linear-gradient(90deg, transparent, var(--ac-or), transparent);
  overflow:visible;
}
.orn-sep::after{
  content:""; position:absolute; left:50%; top:50%;
  width:7px; height:7px; margin:-4px 0 0 -4px;
  background:var(--ac-or); transform:rotate(45deg);
}

/* --- Sommaire d'article --- */
.sommaire{
  background:var(--ac-creme-2);
  border:1px solid rgba(223,183,128,.5);
  border-radius:12px;
  padding:20px 24px 18px; margin:26px 0 30px;
}
.sommaire__titre{
  font-family:var(--ac-titre); font-weight:600; font-size:12.5px;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--ac-cuivre-f); margin:0 0 12px;
}
.sommaire ol{ margin:0; }
.sommaire li{ margin:6px 0; font-size:15.5px; }
.sommaire a{ color:var(--ac-encre); text-decoration:none; border-bottom:1px solid rgba(223,183,128,.7); }
.sommaire a:hover{ color:var(--ac-bordeaux); }

/* --- Sources officielles en fin d'article --- */
.sources{
  margin:34px 0 0; padding:20px 24px;
  background:#fff;
  border:1px solid rgba(223,183,128,.5);
  border-radius:12px;
}
.sources__titre{
  font-family:var(--ac-titre); font-weight:600; font-size:12.5px;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--ac-cuivre-f); margin:0 0 12px;
}
.sources ul{ list-style:none; padding:0; margin:0; }
.sources li{ position:relative; padding-left:22px; margin:8px 0; font-size:15.5px; line-height:1.55; }
.sources li::before{
  content:"§"; position:absolute; left:2px; top:0;
  color:var(--ac-cuivre); font-size:14px;
}
.sources a{ color:var(--ac-cuivre-f); }

/* --- Fin d'article : ornement avant « À lire aussi » --- */
.article__suite{ position:relative; }
.article__suite::before{
  content:""; position:absolute; left:50%; top:-2px;
  width:9px; height:9px; margin-left:-5px;
  background:var(--ac-creme); border:1px solid var(--ac-or);
  transform:rotate(45deg);
}
.article__suite h2{ border-top:0; padding-top:8px; }
.article__suite h2::before{ display:none; }

/* --- Fiches de la grille : liseré doré au survol --- */
.actu-fiche{ position:relative; }
.actu-fiche::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  border-radius:inherit; border:1px solid transparent;
  transition:border-color .16s ease;
}
.actu-fiche:hover::after{ border-color:rgba(223,183,128,.85); }

/* --- Hero des hubs : losange sous le filet --- */
.actus-hero__filet{ position:relative; }
.actus-hero__filet::after{
  content:""; position:absolute; left:50%; top:50%;
  width:7px; height:7px; margin:-4px 0 0 -4px;
  background:var(--ac-or); transform:rotate(45deg);
}
/* --- Fond éditorial des catégories en attente d'articles (03/09/2026) ---
   Une catégorie sans article n'a aucune raison d'exister pour un lecteur.
   Ce bloc lui donne un contenu utile : ce que couvre la rubrique, les
   repères en vigueur et les sources officielles. Il disparaît le jour où
   la catégorie a ses propres articles. */
.cat-fond{ max-width:1180px; margin:0 auto; padding:8px 24px 10px; }
.cat-fond__titre{
  font-family:var(--ac-serif); font-weight:500; font-size:clamp(23px,2.6vw,28px);
  line-height:1.25; color:var(--ac-bordeaux); text-align:center; margin:0 0 10px;
}
.cat-fond__sous{
  max-width:760px; margin:0 auto 30px; text-align:center;
  font-size:16.5px; line-height:1.65; color:var(--ac-gris);
}
.cat-fond__grille{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; margin:0 0 26px; }
.cat-fond__carte{
  background:#fff; border:1px solid rgba(223,183,128,.55);
  border-top:3px solid var(--ac-or); border-radius:0 0 12px 12px;
  padding:22px 24px 20px;
}
.cat-fond__carte h3{
  font-family:var(--ac-titre); font-weight:600; font-size:15px;
  letter-spacing:.03em; text-transform:uppercase;
  color:var(--ac-bordeaux); margin:0 0 10px;
}
.cat-fond__carte p{ font-size:15.5px; line-height:1.62; color:var(--ac-gris); margin:0 0 8px; }
.cat-fond__carte p:last-child{ margin:0; }
.cat-fond__carte a{ color:var(--ac-cuivre-f); }
@media (max-width:900px){ .cat-fond__grille{ grid-template-columns:1fr; } }