/*
 * Assemblées générales (GeneralMeeting/index et show), design épuré du 20/10/2026. Le menu de rubrique, l'en-tête et le
 * texte viennent de page-classique-epure.css ; ici, la liste des assemblées et ce qui est propre à leurs fiches
 * (intertitres saisis en capitales, documents PDF en liste, vidéos, styles collés depuis Word neutralisés).
 */
.ag-epure{
	--ag-rouge:#e40520;
	--ag-encre:#1d1d1b;
	--ag-gris:#6b6b6b;
	--ag-gris-doux:#8f8f8f;
	--ag-filet:#ebe6e4;
	--ag-fond:#f6f3f2;
}

/* Liste : tuile de l'année */
.ag-annee{flex:none;display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:8px;background:var(--ag-fond);font-size:20px;font-weight:600;letter-spacing:-.01em;color:var(--ag-encre)}
.ag-annee.a-la-une{width:112px;height:112px;background:var(--ag-rouge);font-size:28px;color:#fff}

/* Dernière assemblée, mise en avant */
.content.ag-epure .ag-une{display:flex;align-items:center;gap:28px;margin:0 0 52px;padding:26px;border:1px solid var(--ag-filet);border-radius:8px;background:#fff;color:var(--ag-encre);transition:box-shadow .25s,border-color .25s,transform .25s}
.content.ag-epure .ag-une:hover{border-color:#e1dad8;box-shadow:0 18px 44px rgba(0,0,0,.08);transform:translateY(-2px)}
.ag-une-texte{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.ag-une-surtitre{font-size:12px;line-height:1.4;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ag-rouge)}
.ag-une-titre{font-size:24px;line-height:1.3;font-weight:600;color:var(--ag-encre)}
.ag-lien{display:inline-flex;align-items:center;gap:8px;margin-top:6px;font-size:14px;font-weight:600;color:var(--ag-encre);transition:gap .2s,color .2s}
.ag-lien:after{content:"";width:16px;height:2px;background:currentColor}
.ag-une:hover .ag-lien{gap:12px;color:var(--ag-rouge)}

/* Assemblées précédentes */
.content.ag-epure h2.ag-titre-liste{margin:0 0 16px;padding:0;background:none;font-size:13px;line-height:1.4;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ag-gris-doux)}
.ag-liste{margin:0;padding:0;list-style:none;border-top:1px solid var(--ag-filet)}
.ag-liste li{margin:0;padding:0;background:none}
.ag-liste li:before{display:none}
.content.ag-epure .ag-liste a{display:flex;align-items:center;gap:22px;padding:14px 4px 14px 0;border-bottom:1px solid var(--ag-filet);color:var(--ag-encre);transition:background-color .2s}
.content.ag-epure .ag-liste a:hover{background:#fbf9f8}
.ag-ligne-titre{flex:1;min-width:0;font-size:17px;line-height:1.4;font-weight:600;transition:color .2s}
.ag-liste a:hover .ag-ligne-titre{color:var(--ag-rouge)}
.ag-fleche{flex:none;width:18px;height:2px;margin-right:6px;background:var(--ag-gris-doux);transition:background-color .2s,margin .2s}
.ag-liste a:hover .ag-fleche{margin-right:0;background:var(--ag-rouge)}
.ag-epure a:focus-visible{outline:2px solid var(--ag-rouge);outline-offset:3px}

/* Fiche : texte saisi dans le BO (collé depuis Word : couleurs et soulignements en ligne neutralisés) */
.ag-texte span[style],.ag-texte font{color:inherit !important;text-decoration:none !important;font-size:inherit !important;font-family:inherit !important}
.content.ag-epure .ag-texte a[style]{color:var(--ag-encre) !important;font-size:inherit !important;font-family:inherit !important}
.content.ag-epure .ag-texte h4{margin:40px 0 10px;padding:0;border:0;background:none;font-size:13px;line-height:1.4;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ag-rouge)}
.content.ag-epure .ag-texte h4 strong{font-weight:inherit;color:inherit}
.content.ag-epure .ag-texte > h4:first-child{margin-top:0}
/* Documents PDF : une ligne par document, avec une icône de fichier, quand le paragraphe ne contient que le lien
   (l'icône est sur la ligne et non sur le lien : un lien coupé en deux dans le texte saisi n'en montre qu'une) */
.content.ag-epure .ag-texte p:has(> a[href*=".pdf"]:only-child),
.content.ag-epure .ag-texte p:has(> span:only-child > a[href*=".pdf"]),
.content.ag-epure .ag-texte p:has(> span:only-child > span:only-child > a[href*=".pdf"]){padding:11px 0 11px 30px;border-bottom:1px solid var(--ag-filet);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e40520' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E") no-repeat 0 14px/18px 18px;font-size:16px !important;line-height:1.5 !important;margin:0 !important}
/* Vidéos : à la largeur du texte */
.content.ag-epure .ag-texte iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;margin:0 0 1.2em;border:0;border-radius:6px}

.ag-rss{margin:-20px 0 28px;font-size:14px}
.content.ag-epure .ag-rss a{color:var(--ag-gris);text-decoration:underline;text-underline-offset:3px}

/* Pied de fiche : retour à la liste et partage */
.ag-pied{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin-top:52px;padding-top:28px;border-top:1px solid var(--ag-filet)}
.content.ag-epure .ag-retour{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--ag-encre);transition:gap .2s,color .2s}
.ag-retour:before{content:"";width:16px;height:2px;background:currentColor}
.content.ag-epure .ag-retour:hover{gap:14px;color:var(--ag-rouge)}
.ag-partage{display:flex;align-items:center;gap:10px}
.ag-partage > span{margin-right:4px;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ag-gris-doux)}
.content.ag-epure .ag-partage a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--ag-filet);border-radius:50%;background:#fff;color:var(--ag-encre);transition:background-color .2s,border-color .2s,color .2s}
.content.ag-epure .ag-partage a:hover{border-color:var(--ag-encre);background:var(--ag-encre);color:#fff}
.ag-partage svg{width:16px;height:16px;fill:currentColor}
.ag-epure .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media only screen and (max-width: 640px){
	.content.ag-epure .ag-une{gap:18px;padding:18px}
	.ag-annee.a-la-une{width:80px;height:80px;font-size:22px}
	.ag-une-titre{font-size:19px}
	.ag-annee{width:58px;height:58px;font-size:17px}
	.ag-ligne-titre{font-size:15px}
}
@media (prefers-reduced-motion: reduce){
	.ag-une,.ag-lien,.ag-liste a,.ag-ligne-titre,.ag-fleche,.ag-retour,.ag-partage a{transition:none}
}
