/* MesActes — page « Universités et tarifs » aux couleurs du Brand Book v2 (body.cap-tarifs). Dépend de cap-theme.css. */
.at-hero-pts { list-style: none; margin: 1.8rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.at-hero-pts li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem; border-radius: 1000px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: var(--sx-fs-14); font-weight: 600; }
.at-hero-pts .sx-i { color: #fff; }

.at-sec { padding: 1rem 0 3.6rem; }
.at-sec-blanc { padding: 4.5rem 0 3.6rem; background: var(--ma-surface); border-top: 1px solid var(--ma-filet-leger); }

/* carte université et cartes de frais : carte blanche, en-tête à tuile d'icône */
.at-univ, .at-card { margin-bottom: 1.6rem; background: #fff; border: 1px solid var(--cap-ligne); border-radius: 10px; box-shadow: var(--cap-ombre); overflow: hidden; }
.at-univ-head, .at-card-head { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--cap-ligne); }
.at-univ-head h2, .at-card-head h3 { margin: 0; font-size: var(--sx-fs-20); font-weight: 600; color: var(--cap-titre); }
.at-univ-head small { display: block; margin-top: .15rem; font-size: var(--sx-fs-14); color: var(--cap-texte); }
.at-univ-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 56px; height: 56px; border-radius: 14px; background: var(--cap-vert-pale); color: var(--cap-vert-texte); font-size: 1.5rem; }
.at-univ-body, .at-card-body { padding: 1.2rem 1.6rem 1.6rem; }
.at-cycle { display: flex; align-items: center; gap: .6rem; margin: 1.4rem 0 .6rem; font-size: var(--sx-fs-14); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cap-vert-texte); }
.at-cycle::before { content: ""; width: 24px; height: 3px; background: var(--ma-vermillon); }
.at-cycle:first-child { margin-top: .2rem; }

/* tableaux */
.cap-tarifs .at-table th { background: var(--cap-gris-fond); color: var(--cap-titre); font-weight: 700; border-bottom: 1px solid var(--cap-ligne); white-space: nowrap; }
.cap-tarifs .at-table td { color: var(--cap-titre); border-bottom: 1px solid var(--cap-ligne); }
.cap-tarifs .at-table tbody tr:hover { background: var(--ma-papier); }
.cap-tarifs .at-table td { font-variant-numeric: tabular-nums; }
.at-delai { display: inline-block; padding: .2rem .7rem; border-radius: 1000px; background: var(--cap-vert-pale); color: var(--cap-vert-texte); font-size: var(--sx-fs-12); font-weight: 700; }
.cap-tarifs .ma-defilant { overflow-x: auto; }

.at-note { display: flex; align-items: flex-start; gap: .7rem; margin: 0; padding: 1rem 1.2rem; border-radius: 10px; background: var(--cap-gris-fond); color: var(--cap-texte); font-size: var(--sx-fs-14); line-height: 1.6; }
.at-note .sx-i { margin-top: .2em; color: var(--cap-vert); }
.at-vide { padding: 2.4rem; border: 1px dashed var(--ma-filet); border-radius: 10px; background: #fff; text-align: center; }

.at-grid { display: grid; gap: 1.6rem; }
.at-card { margin-bottom: 0; }
.at-big { margin: 0 0 .4rem; font-family: var(--ma-font-titre); font-size: var(--sx-fs-t40); font-weight: 600; color: var(--cap-titre); font-variant-numeric: lining-nums tabular-nums; }
.at-card-body p { line-height: 1.75; }
@media (min-width: 992px) { .at-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } }

.at-exemple { margin-top: 1.8rem; display: grid; gap: 1.2rem; align-items: center; padding: 1.8rem; background: #fff; border: 1px solid var(--cap-ligne); border-radius: 10px; box-shadow: var(--cap-ombre); }
.at-exemple h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .5rem; font-size: var(--sx-fs-20); font-weight: 600; color: var(--cap-titre); }
.at-exemple h3::before { content: ""; width: 24px; height: 3px; background: var(--ma-vermillon); }
.at-exemple p { margin: 0; line-height: 1.7; }
.at-exemple .ma-amount { color: var(--cap-vert-texte); font-size: 1.1em; }
@media (min-width: 768px) { .at-exemple { grid-template-columns: 1fr auto; padding: 2rem 2.2rem; } }

/* mobile : tableaux en lignes empilées (plus de défilement horizontal) */
@media (max-width: 639.98px) {
    .cap-tarifs .at-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .cap-tarifs .at-table, .cap-tarifs .at-table tbody, .cap-tarifs .at-table tr, .cap-tarifs .at-table td { display: block; width: 100%; }
    .cap-tarifs .at-table tr { padding: .7rem 0; border-bottom: 1px solid var(--cap-ligne); }
    .cap-tarifs .at-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem .1rem; border: 0; text-align: right; }
    .cap-tarifs .at-table td::before { content: attr(data-label); font-weight: 600; color: var(--cap-texte); text-align: left; }
    .cap-tarifs .at-table td:first-child { font-weight: 700; }
    .cap-tarifs .at-table .at-lib { text-align: right; }
}
