/* ==========================================================================
   SOLUTIS — Actualités (actus.css)
   Couvre : liste générale · liste catégorie · article
   ========================================================================== */

/* ============================================================
   1. LISTE GÉNÉRALE — page--actus  (.actus-liste-page)
   ============================================================ */

/* ---- Hero liste ---- */
.actus-liste-page .al-hero {
  background: linear-gradient(180deg, #f0f1fd 0%, #c9c6f0 100%) !important;
  padding: 80px 0 72px !important;
  width: 100%;
}

.actus-liste-page .al-hero__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.actus-liste-page .al-hero__title {
  font-family: 'Manrope', sans-serif !important;
  font-size: 2.8rem !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  margin: 0 !important;
  line-height: 1.15 !important;
  text-align: left !important;
  letter-spacing: -0.02em;
}

.actus-liste-page .al-hero__accent {
  color: #4738DE !important;
  font-weight: 800 !important;
}

/* Select thématique */
.actus-liste-page .al-hero__select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.actus-liste-page .al-hero__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff !important;
  border: 1.5px solid #c8c6f0 !important;
  border-radius: 12px !important;
  padding: 14px 52px 14px 22px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #282828 !important;
  cursor: pointer;
  min-width: 200px;
  outline: none;
  box-shadow: 0 2px 8px rgba(71,56,222,0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.actus-liste-page .al-hero__select:focus {
  border-color: #4738DE !important;
  box-shadow: 0 0 0 3px rgba(71,56,222,0.12);
}

.actus-liste-page .al-hero__select-arrow {
  position: absolute;
  right: 18px;
  color: #4738DE;
  font-size: 0.8rem;
  pointer-events: none;
}

/* ---- Reset page wrapper ---- */
.actus-liste-page main,
.actus-cat-page main,
.actus-article-page main,
.actus-liste-page #main-content,
.actus-cat-page #main-content,
.actus-article-page #main-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Reset text-align uniquement sur les titres de contenu, pas les titres de section centrés */
.actus-liste-page .al-hero__title,
.actus-liste-page .al-featured__title,
.actus-liste-page .al-card__title,
.actus-cat-page .ac-hero__title,
.actus-cat-page .ac-featured__title,
.actus-cat-page .ac-card__title,
.actus-article-page .aa-hero__title,
.actus-article-page .aa-body h2,
.actus-article-page .aa-body h3 {
  text-align: left !important;
}

/* ---- Navigation catégories ---- */
.al-cat-nav {
  padding: 0 !important;
  display: flex;
  align-items: center;
  min-height: 52px;
}

.al-cat-nav__inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.al-cat-nav .nav-link {
  padding: 0 !important;
  font-weight: 500;
  color: #282828 !important;
  font-size: 0.95rem;
  white-space: nowrap;
  line-height: 52px;
}

.al-cat-nav .nav-link:hover {
  color: #4738DE !important;
}

/* Soulignement actif sur le lien de la catégorie courante */
.al-cat-nav .nav-link:hover {
  color: #4738DE !important;
}

.al-cat-nav .nav-link--active,
.al-cat-nav .nav-link.active {
  font-weight: 600;
  color: #4738DE !important;
  position: relative;
}

.al-cat-nav .nav-link--active::after,
.al-cat-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 6px;
  height: 2px;
  background: #4738DE;
  border-radius: 2px;
}

/* ---- Sidebar CTA ---- */
.al-main__sidebar {
  position: sticky;
  top: 24px;
}

.al-cta {
  background: #fff;
  border: 1.5px solid #e8eaf6;
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: 0 4px 20px rgba(71,56,222,0.08);
}

.al-cta__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #282828;
  margin-bottom: 22px;
  line-height: 1.4;
  text-align: center;
}

.al-cta__btn {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 22px;
  border-radius: 100px;
  text-decoration: none !important;
  text-align: center;
  margin-bottom: 14px;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.al-cta__btn:hover { opacity: 0.88; transform: translateY(-1px); }

.al-cta__btn--lime    { background: #c2f66e; color: #4738DE !important; }
.al-cta__btn--red     { background: #EC1C24; color: #fff !important; }
.al-cta__btn--outline { background: #ECEDFC; color: #4738DE !important; border: none; }
.al-cta__btn--blue    { background: #4738DE; color: #fff !important; }

/* ---- Main layout liste ---- */
.al-main {
  padding: 40px 0 64px;
  background: #f7f7fb;
}

.al-main__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 60px;
  align-items: start;
}

/* ---- Article featured — image pleine avec overlay ---- */
.al-featured__link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  transition: box-shadow 0.2s;
  height: 100%;
}

.al-featured__link:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.18); }

.al-featured__img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.al-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}

.al-featured__badge {
  display: inline-block;
  align-self: flex-start;
  background: #EC1C24;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.al-featured__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.al-featured__date {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

/* ---- Grille 3 cards liste ---- */
.al-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.al-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}

.al-card__link:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.al-card__img-wrap { position: relative; }

.al-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.al-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #EC1C24;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.al-card__body { padding: 14px 16px 18px; }

.al-card__date {
  display: block;
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 6px;
}

.al-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  color: #282828;
}

/* ---- Sidebar CTA liste ---- */
.al-cta {
  background: #fff;
  border: 1.5px solid #e8eaf6;
  border-radius: 16px;
  padding: 28px 20px;
  position: sticky;
  top: 90px;
}

.al-cta__title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #282828;
  margin-bottom: 18px;
  line-height: 1.4;
}


/* ---- Archive + pagination années ---- */
.al-archive {
  background: #f7f7fb;
  padding: 48px 0 64px;
  border: none;
}

.al-archive__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.al-archive__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #282828;
  text-align: center !important;
  margin-bottom: 24px;
}

.al-years {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
  justify-content: flex-start;
}

.al-year-btn {
  background: #ECEDFC;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 20px 40px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4738DE;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.al-year-btn:hover { background: #dddcf8; }

.al-year-btn--active {
  background: #fff;
  border-color: #4738DE;
}

/* ============================================================
   2. LISTE CATÉGORIE — page--actus--categorie  (.actus-cat-page)
   ============================================================ */

/* ---- Hero catégorie ---- */
.ac-hero {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.ac-hero__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 68px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  position: relative;
  min-height: 240px;
  gap: 48px;
}

.ac-hero__text {
  flex: 1;
}

.ac-hero__title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: #282828;
  line-height: 1.1;
  margin-bottom: 16px;
}

.ac-hero__accent { color: #EC1C24; }

.ac-hero__subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #282828;
  margin-bottom: 32px;
  font-weight: 400;
}

.ac-hero__cta {
  display: inline-block;
  background: #EC1C24;
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.ac-hero__cta:hover { background: #c91520; }

/* Colonne droite : select centré + image absolue en bas */
.ac-hero__right {
position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    min-width: 300px;

}

.ac-hero__select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 2;
}

.ac-hero__select {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 12px 48px 12px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #282828;
  cursor: pointer;
  min-width: 190px;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.ac-hero__select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #282828;
  font-size: 0.75rem;
  pointer-events: none;
}

.ac-hero__visual {
  position: absolute;
    bottom: -90px;
    right: -90px;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.ac-hero__img {
  max-height: 320px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
}

/* ---- Main layout catégorie ---- */
.ac-main {
  padding: 48px 0 64px;
  background: #f7f7fb;
}

.ac-main__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* ---- Article featured catégorie — image pleine + overlay ---- */
.ac-featured { margin-bottom: 0; }

.ac-featured__link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
  transition: box-shadow 0.25s, transform 0.25s;
}

.ac-featured__link:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  transform: translateY(-2px);
}

.ac-featured__img-wrap {
  position: relative;
  width: 100%;
}

.ac-featured__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Overlay dégradé du bas */
.ac-featured__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  border-radius: 20px;
}

.ac-featured__badge {
    position: absolute;
    bottom: 135px;
    left: 18px;
    z-index: 2;
    background: #EC1C24;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 10px;
}

/* Corps texte positionné en bas de l'image */
.ac-featured__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 28px 28px 32px;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ac-featured__date {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.ac-featured__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff !important;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.ac-featured__excerpt {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

/* ---- Grille catégorie ---- */
.ac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ac-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}

.ac-card__link:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.ac-card__img-wrap { position: relative; }

.ac-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.ac-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #EC1C24;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.ac-card__body { padding: 14px 16px 18px; }

.ac-card__date {
  display: block;
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 6px;
}

.ac-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  color: #282828;
}

/* ---- Sidebar CTA catégorie ---- */
.ac-main__sidebar {
  position: sticky;
  top: 24px;
}

.ac-cta {
  background: #4738DE;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
}

.ac-cta__title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.ac-cta__btn {
  display: block;
  background: #c2f66e;
  color: #282828;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 13px 18px;
  border-radius: 100px;
  text-decoration: none;
  margin-bottom: 14px;
  transition: background 0.2s;
}

.ac-cta__btn:hover { background: #aee85a; }

.ac-cta__note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ---- Articles de la catégorie / À découvrir ensuite ---- */
.ac-discover {
  background: #f7f7fb;
  padding: 56px 0 72px;
}

.ac-discover__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.ac-discover__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 32px;
  text-align: center;
}

.ac-discover__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Carte article catégorie */
.ac-discover-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow 0.22s, transform 0.22s;
}

.ac-discover-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  transform: translateY(-3px);
}

.ac-discover-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Bloc image */
.ac-discover-card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.ac-discover-card__img-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}

.ac-discover-card:hover .ac-discover-card__img-wrap img {
  transform: scale(1.04);
}

.ac-discover-card__badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: #EC1C24;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

/* Corps texte */
.ac-discover-card__body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ac-discover-card__body time {
  display: block;
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 6px;
}

.ac-discover-card__body p {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #282828;
  line-height: 1.35;
  margin: 0;
  flex: 1;
}

/* ============================================================
   3. ARTICLE INDIVIDUEL — page--actus--article  (.actus-article-page)
   ============================================================ */

/* ================================================================
   HERO ARTICLE — éditorial premium
   ================================================================ */
.aa-hero {
  position: relative;
  background: linear-gradient(160deg, #2a1fa8 0%, #4738DE 55%, #6c5ce7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  padding: 80px 24px 0;
  min-height: 320px;
}

.aa-hero--has-img  { padding-bottom: 220px; }
.aa-hero--no-img   { padding-bottom: 72px; }

/* Grain subtil sur le dégradé */
.aa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.aa-hero__img-wrap { display: none; }
.aa-hero__overlay  { display: none; }
.aa-hero__img-placeholder { display: none; }
.aa-hero__badge    { display: none; }

.aa-hero__caption {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  animation: aa-fade-up 0.6s ease both;
}

@keyframes aa-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.aa-hero__title {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin: 0 0 22px !important;
  text-align: center !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

.aa-hero__chapo {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin: 0 auto 20px;
  max-width: 640px;
  text-align: center;
}

.aa-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 36px;
}

.aa-hero__date {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ---- Image — chevauchement élégant ---- */
.aa-hero-img-full {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 860px;
  margin: -200px auto 0;
  padding: 0 24px;
  animation: aa-fade-up 0.8s 0.15s ease both;
}

.aa-hero-img-full img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  max-height: 480px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.05),
    0 20px 60px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.6s ease;
}

.aa-hero-img-full img:hover {
  transform: scale(1.008);
}

/* ---- Contenu article ---- */
.aa-content {
  background: #fff;
  padding: 48px 0 64px;
}

/* Quand il y a une image qui déborde, laisser de la place */
.aa-content--has-img {
  padding-top: 120px;
}

.aa-content__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

/* Corps texte article — DXPR */
.aa-body {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #282828;
  line-height: 1.8;
}

.aa-body h2,
.ck-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #4738DE;
  margin: 36px 0 16px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.aa-body h3,
.ck-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #282828;
  margin: 28px 0 12px;
}

.aa-body p,
.ck-content p { margin-bottom: 18px; }

.aa-body a {
  color: #4738DE;
  text-decoration: underline;
}

.aa-body img {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

.aa-body ul,
.aa-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.aa-body li { margin-bottom: 6px; }

.aa-body blockquote {
  border-left: 4px solid #4738DE;
  margin: 24px 0;
  padding: 12px 24px;
  background: #ECEDFC;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4738DE;
}

.aa-body__empty {
  color: #888;
  font-style: italic;
}

/* ---- Sidebar article ---- */
.aa-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CTA sidebar — fond violet, bouton lime */
.aa-cta {
  background: #4738DE;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
}

.aa-cta__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.aa-cta__btn--main {
  display: block;
  background: #c2f66e;
  color: #1a1a2e !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 100px;
  text-decoration: none !important;
  text-align: center;
  margin-bottom: 18px;
  transition: background 0.2s, transform 0.15s;
}

.aa-cta__btn--main:hover {
  background: #aee85a;
  transform: translateY(-1px);
}

.aa-cta__note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 4px;
  line-height: 1.5;
}

/* Boutons classiques (compatibilité ancien template enfant) */
.aa-cta__btn {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 100px;
  text-decoration: none;
  text-align: center;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}

.aa-cta__btn:hover { opacity: 0.88; }
.aa-cta__btn--blue       { background: #4738DE; color: #fff; }
.aa-cta__btn--red        { background: #EC1C24; color: #fff; }
.aa-cta__btn--outline    { background: transparent; color: #4738DE; border: 1.5px solid #4738DE; }
.aa-cta__btn--blue-light { background: #ECEDFC; color: #4738DE; }

/* ---- Partage réseaux sociaux ---- */
.aa-share {
  padding: 0 4px;
}

.aa-share__label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 10px;
}

.aa-share__btns {
  display: flex;
  gap: 10px;
}

.aa-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
  color: #fff !important;
}

.aa-share-btn:hover { transform: translateY(-2px); }
.aa-share-btn--fb { background: #1877F2; }
.aa-share-btn--tw { background: #000; }
.aa-share-btn--li { background: #0A66C2; }

/* ---- Breadcrumb — sous l'image ---- */
.actus-article-page .sol-breadcrumb {
  background: #fff;
  position: relative;
  z-index: 5;
}

/* ---- Articles connexes ---- */
.aa-related {
  background: #fff;
  padding: 48px 0 64px;
}

.aa-related__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.aa-related__title {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #1a1a2e;
  margin: 0 0 40px;
}

.aa-related__grid {
  display: flex;
  flex-direction: column;
}

/* Chaque ligne */
.aa-rc {
  border-bottom: 1px solid #d9d9d9;
}
.aa-rc:last-child { border-bottom: none; }

.aa-rc__link {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
  text-decoration: none !important;
  color: inherit;
  background: transparent;
  transition: opacity 0.15s;
}
.aa-rc__link:hover { opacity: 0.8; }

/* Colonne gauche — badge catégorie */
.aa-rc__badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #F84C4C;
  white-space: nowrap;
}

/* Colonne centre — titre */
.aa-rc__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1a1a2e;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Colonne droite — bouton pill */
.aa-rc__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #c2f66e;
  color: #1a1a2e !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  transition: background 0.18s, transform 0.15s;
  flex-shrink: 0;
}
.aa-rc__link:hover .aa-rc__cta {
  background: #aee85a;
  transform: translateY(-1px);
}

/* ============================================================
   4. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .al-main__inner,
  .ac-main__inner,
  .aa-content__inner {
    grid-template-columns: 1fr;
  }

  .al-main__sidebar,
  .ac-main__sidebar {
    order: -1;
  }

  /* La sidebar article reste après le corps (en bas) sur mobile/tablette */
  .aa-sidebar {
    order: 1;
  }

  .al-cta,
  .ac-cta,
  .aa-cta {
    position: static;
  }
}

@media (max-width: 768px) {
  .al-hero__inner { flex-direction: column; align-items: flex-start; }

  .al-main__inner,
  .ac-main__inner,
  .aa-content__inner { grid-template-columns: 1fr; padding: 0 20px; }

  .aa-related__inner { padding: 0 20px; }

  .ac-discover__inner { padding: 0 20px; }

  .al-main__sidebar { position: static; }

  .al-featured__img { min-height: 240px; }

  .al-grid,
  .ac-grid,
  .ac-discover__grid { grid-template-columns: 1fr; }

  .ac-hero__inner { padding: 32px 20px; }
  .ac-hero__text { padding-right: 0; }
  .ac-hero__right { position: static; width: auto; padding-top: 16px; flex-direction: row; justify-content: flex-start; }
  .ac-hero__visual { display: none; }

  .aa-hero { padding: 56px 20px 0; min-height: auto; }
  .aa-hero--has-img { padding-bottom: 150px; }
  .aa-hero__title { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  .aa-hero__chapo { font-size: 0.9rem; }
  .aa-hero-img-full { padding: 0 16px; margin-top: -130px; }
  .aa-hero-img-full img { border-radius: 10px; max-height: 240px; }
  .aa-content--has-img { padding-top: 72px; }

  .aa-sidebar { position: static; }

  .aa-related__inner { padding: 0 20px; }
  .aa-rc__link { grid-template-columns: 1fr auto; gap: 16px; padding: 18px 20px; }
  .aa-rc__badge { display: none; }
  .aa-rc__cta { font-size: 0.65rem; padding: 9px 14px; }

  .al-cat-nav__inner { padding: 0 20px; gap: 0; flex-wrap: wrap; justify-content: flex-start; }
  .al-cat-nav .nav-link { font-size: 0.82rem; line-height: 40px; }

  .ac-discover { padding: 36px 0 48px; }
  .ac-discover__title { font-size: 1.3rem; }
}

/* ===== Auteur ===== */
.aa-author {
  background-color: #EEF0FF;
  padding: 24px;
  display: flex;
  gap: 24px;
  margin-top: 48px;
  align-items: center;
  border-radius: 8px;
}

.aa-author__img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0 !important;
}

.aa-author__content {
  flex: 1;
}

.aa-author__title {
  color: #4738DE;
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.aa-author__name {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
  margin: 0 0 6px;
  color: #333;
  display: block;
}

.aa-author__bio {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.5;
}

/* ===== Charte ===== */
.aa-charte {
  margin-top: 32px;
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border: 1px solid #4738DE;
  border-radius: 12px;
  background-color: #fff;
}

.aa-charte__logo {
  width: 70px;
  height: 70px;
  background-color: #EEF0FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aa-charte__logo img {
  width: 45px;
  height: auto;
}

.aa-charte__content {
  flex: 1;
}

.aa-charte__title {
  color: #4738DE;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.aa-charte__text {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}

.aa-charte__text p {
  margin-bottom: 8px;
}

.aa-charte__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .aa-author, .aa-charte {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    align-items: center;
  }
}
