/* ══════════════════════════════════════════════════════════════
   Express Médias : mise en page des rubriques de l'accueil
   et pages éditoriales (À propos, Équipe, Contact, CGU, Publicité).
   Chargé après modern-override.css : ce fichier fait foi.
══════════════════════════════════════════════════════════════ */

/* ── 1. Rubriques de l'accueil sur petits écrans ──
   Au-dessus de 900 px de largeur de rubrique, la mise en page d'origine (3 colonnes) est conservée telle quelle.
   En dessous, la grille suit la largeur réelle de la colonne pour ne plus écraser les cartes. */
.em-section {
  container-type: inline-size;
  container-name: emsec;
}
@container emsec (max-width: 899px) {
.em-section .em-section-3col {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "lead" "grid" "list" !important;
  gap: 22px !important;
  align-items: start !important;
}
.em-section .em-section-col--left,
.em-section .em-section-col--main,
.em-section .em-section-col--right {
  position: static !important;
  top: auto !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
}
.em-section .em-section-col--left { grid-area: lead; }
.em-section .em-section-col--main { grid-area: grid; }
.em-section .em-section-col--right { grid-area: list; }

.em-section .em-section-center-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

@container emsec (min-width: 620px) and (max-width: 899px) {
  .em-section .em-section-3col {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
    grid-template-areas: "lead list" "grid grid" !important;
  }
  .em-section .em-section-center-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
/* Rubrique sans liste de droite : l'article vedette prend toute la largeur disponible */
.em-section .em-section-3col:not(:has(.em-section-col--right)) {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "lead" "grid" !important;
}

/* Cartes de la grille centrale */
.em-section .em-section-center-grid .em-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  width: auto !important;
  height: 100% !important;
  margin: 0 !important;
  background: var(--em-white);
  border: 1px solid var(--em-border) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}
.em-section .em-section-center-grid .em-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(15, 23, 42, .35) !important;
}
.em-section .em-section-center-grid .em-card__img-wrap {
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.em-section .em-section-center-grid .em-card__img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.em-section .em-section-center-grid .em-card__cat {
  font-size: 10px !important;
  letter-spacing: .06em !important;
  padding: 4px 8px !important;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.em-section .em-section-center-grid .em-card__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex: 1 1 auto !important;
  padding: 14px 14px 12px !important;
}
.em-section .em-section-center-grid .em-card__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-family: var(--em-font-display) !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  line-height: 1.38 !important;
  word-break: normal !important;
  overflow-wrap: break-word;
  hyphens: manual !important;
}
.em-section .em-section-center-grid .em-card__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 12px !important;
  margin-top: auto !important;
  font-size: 12px !important;
  color: var(--em-muted) !important;
}
.em-section .em-section-center-grid .em-card__meta span { white-space: nowrap; }

/* Article vedette */
.em-section .em-card--col-featured {
  display: block !important;
  height: auto !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}
.em-section .em-card--col-featured .cf-img-wrap {
  aspect-ratio: 16 / 11 !important;
  height: auto !important;
  overflow: hidden !important;
}
.em-section .em-card--col-featured .cf-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.em-section .em-card--col-featured .cf-title {
  font-weight: 500 !important;
  line-height: 1.32 !important;
}

/* Liste de droite */
.em-section .em-col-list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.em-section .em-col-list-item {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  padding: 0 0 14px !important;
  margin: 0 0 14px !important;
  border-bottom: 1px solid var(--em-border) !important;
}
.em-section .em-col-list-item:last-child { border-bottom: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.em-section .em-col-list-img {
  width: 92px !important;
  height: 66px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
}
.em-section .em-col-list-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}
}

/* ── 2. Pages éditoriales ── */
.em-page {
  --pg-accent: var(--em-red);
  --pg-ink: var(--em-text);
  --pg-soft: color-mix(in srgb, var(--em-bg) 70%, var(--em-white));
  font-family: var(--em-font-body);
  color: var(--pg-ink);
  padding-bottom: 72px;
}
.em-page [id] { scroll-margin-top: calc(var(--em-sticky-offset, 180px) + 20px); }
.em-page__wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

.em-page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  margin-bottom: 48px;
  background:
    radial-gradient(1200px 380px at 85% -10%, color-mix(in srgb, var(--em-blue) 10%, transparent), transparent 70%),
    radial-gradient(900px 300px at 0% 120%, color-mix(in srgb, var(--em-red) 7%, transparent), transparent 70%),
    var(--pg-soft);
  border-bottom: 1px solid var(--em-border);
}
.em-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--em-border) 1px, transparent 1px), linear-gradient(90deg, var(--em-border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .35;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 85%);
  pointer-events: none;
}
.em-page-hero > * { position: relative; z-index: 1; }
.em-page-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--em-muted);
}
.em-page-crumbs a { color: var(--em-muted); text-decoration: none; }
.em-page-crumbs a:hover { color: var(--pg-accent); }
.em-page-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.em-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pg-accent);
}
.em-page-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.em-page-title {
  margin: 0;
  max-width: 820px;
  font-family: var(--em-font-display);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--pg-ink);
}
.em-page-lede {
  margin: 18px 0 0;
  max-width: 680px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--em-muted);
}
.em-page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.em-page-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--em-border);
  border-radius: 999px;
  background: var(--em-white);
  color: var(--pg-ink);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.em-page-tabs a:hover { border-color: var(--pg-accent); color: var(--pg-accent); transform: translateY(-1px); }

.em-page-section { margin: 0 0 72px; }
.em-page-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.em-page-section__eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--em-muted); }
.em-page-section__title {
  margin: 0;
  font-family: var(--em-font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--pg-ink);
}
.em-page-section__text { margin: 10px 0 0; max-width: 620px; font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--em-muted); }

.em-panel {
  background: var(--em-white);
  border: 1px solid var(--em-border);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02), 0 30px 60px -45px rgba(15, 23, 42, .35);
}

/* À propos */
.em-about { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.em-about__text p { margin: 0 0 16px; font-size: 17px; font-weight: 300; line-height: 1.85; color: var(--pg-ink); }
.em-about__text p:last-child { margin-bottom: 0; }
.em-about__text strong { font-weight: 500; }
.em-values { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.em-values li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--em-border);
  border-radius: 16px;
  background: var(--pg-soft);
}
.em-values i {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--pg-accent) 10%, var(--em-white));
  color: var(--pg-accent);
  font-size: 17px;
}
.em-values strong { display: block; font-size: 15px; font-weight: 500; color: var(--pg-ink); }
.em-values span { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 300; line-height: 1.55; color: var(--em-muted); }

/* Équipe */
.em-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 22px; }
.em-team-card {
  position: relative;
  margin: 0;
  background: var(--em-white);
  border: 1px solid var(--em-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.em-team-card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -36px rgba(15, 23, 42, .45); }
.em-team-card__photo { aspect-ratio: 10 / 11; overflow: hidden; background: var(--pg-soft); }
.em-team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s ease; }
.em-team-card:hover .em-team-card__photo img { transform: scale(1.04); }
.em-team-card figcaption { padding: 18px 20px 20px; }
.em-team-card__name { display: block; font-family: var(--em-font-display); font-size: 19px; font-weight: 500; line-height: 1.25; color: var(--pg-ink); }
.em-team-card__role {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pg-soft);
  border: 1px solid var(--em-border);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--em-muted);
}

/* Contact */
.em-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.em-contact-list { display: grid; gap: 14px; }
.em-contact-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--em-white);
  border: 1px solid var(--em-border);
  border-radius: 18px;
  color: var(--pg-ink);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
a.em-contact-item:hover { border-color: var(--pg-accent); transform: translateY(-2px); color: var(--pg-ink); }
.em-contact-item i {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--em-blue) 9%, var(--em-white));
  color: var(--em-blue);
  font-size: 18px;
}
.em-contact-item--wa i { background: color-mix(in srgb, #25d366 14%, var(--em-white)); color: #128c7e; }
.em-contact-item small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--em-muted); }
.em-contact-item span { display: block; margin-top: 3px; font-size: 15.5px; font-weight: 400; overflow-wrap: anywhere; }

.em-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.em-form__field { display: grid; gap: 7px; }
.em-form__field--full { grid-column: 1 / -1; }
.em-form label { font-size: 13px; font-weight: 500; color: var(--pg-ink); }
.em-form input,
.em-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--em-border);
  border-radius: 12px;
  background: var(--pg-soft);
  color: var(--pg-ink);
  font: 400 15px var(--em-font-body);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.em-form textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.em-form input:focus,
.em-form textarea:focus {
  outline: none;
  border-color: var(--em-blue);
  background: var(--em-white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--em-blue) 14%, transparent);
}
.em-form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.em-form__note { margin: 0; font-size: 13px; font-weight: 300; color: var(--em-muted); }

.em-btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--em-text);
  color: var(--em-white) !important;
  font: 500 14.5px var(--em-font-body);
  letter-spacing: .01em;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.em-btn-premium:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -18px rgba(15, 23, 42, .6); }
.em-btn-premium--wa { background: #128c7e; }
.em-btn-premium--wa:hover { background: #0f7a6e; }
.em-btn-premium--ghost { background: transparent; color: var(--pg-ink) !important; border: 1px solid var(--em-border); }
.em-btn-premium--ghost:hover { border-color: var(--pg-ink); box-shadow: none; }

/* Conditions générales */
.em-legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.em-legal-toc {
  position: sticky;
  top: calc(var(--em-sticky-offset, 180px) + 20px);
  padding: 22px;
  border: 1px solid var(--em-border);
  border-radius: 18px;
  background: var(--em-white);
}
.em-legal-toc p { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--em-muted); }
.em-legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.em-legal-toc li { counter-increment: toc; }
.em-legal-toc a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--pg-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.em-legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--em-muted); font-variant-numeric: tabular-nums; }
.em-legal-toc a:hover,
.em-legal-toc a.is-active { background: var(--pg-soft); color: var(--pg-accent); }
.em-legal-body { display: grid; gap: 18px; }
.em-legal-intro { margin: 0; font-size: 17.5px; font-weight: 300; line-height: 1.8; }
.em-legal-block { padding: 28px 30px; border: 1px solid var(--em-border); border-radius: 20px; background: var(--em-white); }
.em-legal-block h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 12px;
  font-family: var(--em-font-display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--pg-ink);
}
.em-legal-block h2 span { font-family: var(--em-font-body); font-size: 13px; font-weight: 400; color: var(--pg-accent); letter-spacing: .08em; }
.em-legal-block p { margin: 0 0 12px; font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--pg-ink); }
.em-legal-block p:last-child { margin-bottom: 0; }
.em-legal-block a { color: var(--em-blue); text-decoration: underline; text-underline-offset: 3px; }
.em-legal-meta { margin: 0; font-size: 13px; color: var(--em-muted); }

/* Bandeau d'appel */
.em-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 24px;
  background:
    radial-gradient(600px 220px at 100% 0%, color-mix(in srgb, var(--em-red) 22%, transparent), transparent 70%),
    linear-gradient(135deg, #0f1b33, #1b4381);
  color: #fff;
}
.em-cta h3 { margin: 0; font-family: var(--em-font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; line-height: 1.2; color: #fff; }
.em-cta p { margin: 8px 0 0; max-width: 560px; font-size: 15.5px; font-weight: 300; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.em-cta .em-btn-premium { background: #fff; color: #0f1b33 !important; }
.em-cta .em-btn-premium--wa { background: #25d366; color: #06281f !important; }

/* Offres publicitaires */
.em-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.em-offer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  border: 1px solid var(--em-border);
  border-radius: 20px;
  background: var(--em-white);
  transition: transform .25s ease, border-color .25s ease;
}
.em-offer:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pg-accent) 40%, var(--em-border)); }
.em-offer i {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--pg-accent) 9%, var(--em-white));
  color: var(--pg-accent);
  font-size: 19px;
}
.em-offer h3 { margin: 6px 0 0; font-family: var(--em-font-display); font-size: 21px; font-weight: 500; color: var(--pg-ink); }
.em-offer p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--em-muted); }
.em-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.em-steps li { counter-increment: step; padding: 22px; border-radius: 18px; background: var(--pg-soft); border: 1px solid var(--em-border); }
.em-steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: var(--em-font-display); font-size: 28px; font-weight: 400; color: var(--pg-accent); }
.em-steps strong { display: block; font-size: 15.5px; font-weight: 500; }
.em-steps span { display: block; margin-top: 4px; font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--em-muted); }

@media (max-width: 900px) {
  .em-about, .em-contact, .em-legal { grid-template-columns: minmax(0, 1fr); }
  .em-legal-toc { position: static; }
  .em-page-hero { padding: 44px 0 40px; margin-bottom: 36px; }
  .em-page-section { margin-bottom: 56px; }
}
@media (max-width: 560px) {
  .em-form { grid-template-columns: 1fr; }
  .em-legal-block { padding: 22px 20px; }
  .em-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .em-team-card figcaption { padding: 14px; }
  .em-team-card__name { font-size: 16px; }
}
.em-team-card__initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--em-font-display); font-size: 64px; font-weight: 400;
  color: color-mix(in srgb, var(--em-blue) 55%, var(--em-white));
  background: linear-gradient(160deg, color-mix(in srgb, var(--em-blue) 8%, var(--em-white)), var(--em-white));
}

/* Compléments pages À propos / CGU */
.em-about__subtitle { margin: 26px 0 10px; font-family: var(--em-font-display); font-size: 22px; font-weight: 600; color: var(--pg-ink); }
.em-about__subtitle--list { margin-top: 0; margin-bottom: 14px; }
.em-values--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.em-page-note { margin: 22px 0 0; font-size: 16px; font-weight: 300; color: var(--em-muted); }
.em-page-note a { color: var(--em-blue); text-decoration: underline; text-underline-offset: 3px; }
.em-page-section__text + .em-page-section__text { margin-top: 10px; }
.em-contact-item span.em-contact-item__text { font-size: 14.5px; font-weight: 300; line-height: 1.6; color: var(--em-muted); }
.em-legal-list { display: grid; gap: 14px; margin: 18px 0 0; }
.em-legal-list > div { padding: 16px 18px; border-radius: 14px; background: var(--pg-soft); border: 1px solid var(--em-border); }
.em-legal-list dt { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--pg-ink); }
.em-legal-list dd { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--pg-ink); }
.em-legal-list a { color: var(--em-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ── 3. Page article : typographie inspirée de beto.cd ──
   Titre large sur toute la largeur, texte en Playfair Display 20 px, partage et auteur en bas. */
.em-article-page .em-article-head { max-width: 1060px; margin: 6px 0 30px; }
.em-article-page .em-article-cat-badge {
  display: inline-block;
  padding: 0;
  background: none !important;
  color: var(--em-red) !important;
  font: 600 13px/1.2 var(--em-font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none !important;
}
.em-article-page .em-article-title {
  margin: 12px 0 18px !important;
  font-family: var(--em-font-display) !important;
  font-size: clamp(30px, 4.3vw, 50px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -.02em !important;
  color: #121212;
}
[data-theme="dark"] .em-article-page .em-article-title { color: var(--em-text); }
.em-article-dateline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--em-border);
  border-bottom: 1px solid var(--em-border);
  font: 500 13.5px/1.4 var(--em-font-body);
  color: var(--em-muted);
}
.em-article-dateline span { display: inline-flex; align-items: center; gap: 7px; }
.em-article-dateline time { color: var(--em-text); font-weight: 600; }
.em-article-dateline__mod time { color: var(--em-red); }
.em-article-page .em-article {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.em-article-figure { margin: 0 0 22px; }
.em-article-figure img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 6px; }
.em-article-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--em-muted); }
.em-article-page .em-article-body {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--em-font-display) !important;
  font-size: 20px !important;
  line-height: 1.65 !important;
  color: #333;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
[data-theme="dark"] .em-article-page .em-article-body { color: var(--em-text); }
.em-article-page .em-article-body p,
.em-article-page .em-article-body li { font-size: inherit !important; line-height: inherit !important; font-family: inherit !important; }
.em-article-page .em-article-body p { margin: 0 0 24px; }
.em-article-page .em-article-body span,
.em-article-page .em-article-body font { font-size: inherit !important; font-family: inherit !important; }
.em-article-page .em-article-body h2,
.em-article-page .em-article-body h3 {
  margin: 1.6em 0 .7em;
  font-family: var(--em-font-display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: #121212;
}
.em-article-page .em-article-body h3 { font-size: 22px; }
.em-article-page .em-article-body h2::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 12px; background: var(--em-red); }
.em-article-page .em-article-body a { color: inherit; text-decoration: underline; text-decoration-color: var(--em-red); text-underline-offset: 3px; }
.em-article-page .em-article-body img { max-width: 100%; height: auto; border-radius: 6px; }
.em-article-page .em-article-body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--em-red); font-style: italic; color: #555; }
.em-article-foot { margin: 36px 0 8px !important; padding-top: 24px; border-top: 1px solid var(--em-border); }
img.em-author-avatar { overflow: hidden; font-size: 0; color: transparent; }
.em-author-kicker { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--em-muted); }
.em-article-page .em-author-name { font-size: 17px; }
.em-article-page .em-meta-chip { font-size: 13px; }
.em-article-related { margin-top: 40px; }
.em-article-related__title { margin: 0 0 18px; font-family: var(--em-font-display); font-size: 24px; font-weight: 700; }
.em-related-card { display: block; height: 100%; color: inherit !important; text-decoration: none !important; }
.em-related-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.em-related-card__date { display: block; margin: 10px 0 4px; font-size: 12.5px; color: var(--em-muted); }
.em-related-card__title { display: block; font-family: var(--em-font-display); font-size: 17px; font-weight: 600; line-height: 1.35; }
@media (max-width: 767px) {
  .em-article-page { max-width: none !important; width: 100% !important; padding-left: 16px !important; padding-right: 16px !important; }
  .em-article-page > .row { --bs-gutter-x: 0; margin-left: 0; margin-right: 0; }
  .em-article-page > .row > [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; }
  .em-article-page .em-article-title { font-size: 32px !important; line-height: 1.15 !important; }
  .em-article-page .em-article-body { font-size: 19px !important; line-height: 1.6 !important; }
  .em-article-dateline { gap: 6px 16px; font-size: 13px; }
}

/* ── 4. Tailles de police relevées sur tout le site (demande du propriétaire) ── */
.em-topbar__date { font-size: 13.5px !important; }
.em-nav-item, .em-nav-dropdown__link { font-size: 13px !important; }
.em-ticker__item { font-size: 14.5px !important; }
.em-ticker__label { font-size: 11.5px !important; }
.em-hero-slide__title { font-size: clamp(26px, 2.6vw, 34px) !important; }
.em-hero-slide__cat, .em-hero-slide__cta { font-size: 12.5px !important; }
.em-hero__right-header-title { font-size: 13.5px !important; }
.em-hero__feed-cat { font-size: 11.5px !important; }
.em-hero__feed-title { font-size: 16px !important; line-height: 1.35 !important; }
.em-hero__feed-time, .em-hero__right-date { font-size: 12.5px !important; }
.em-section__title { font-size: 25px !important; }
.em-section__more { font-size: 12.5px !important; }
.cf-cat, .em-card__cat { font-size: 11px !important; }
.cf-title { font-size: 19px !important; line-height: 1.3 !important; }
.em-card__title { font-size: 17px !important; line-height: 1.35 !important; }
.em-card__meta, .cf-meta { font-size: 12.5px !important; }
.em-col-list-cat { font-size: 10.5px !important; }
.em-col-list-title { font-size: 13.5px !important; line-height: 1.35 !important; }
.em-col-list-time { font-size: 12px !important; }
.em-ds-feature__lede { font-size: 16px !important; }
.em-ds-kpi__label, .em-ds-chart__hint, .em-ds-feature__source { font-size: 12.5px !important; }
.em-ds-card__title { font-size: 16.5px !important; }
.em-ds-card__type { font-size: 11.5px !important; }
.em-sidebar-widget__title { font-size: 12.5px !important; }
.em-sidebar-article__title { font-size: 15.5px !important; line-height: 1.35 !important; }
.em-sidebar-article__date { font-size: 12.5px !important; }
.em-tag { font-size: 12.5px !important; }
.em-stats-kicker, .em-stats-section-label { font-size: 10.5px !important; }
.em-stats-header-caption, .em-stat-sub { font-size: 11.5px !important; }
.em-stat-value { font-size: 15px !important; }
.em-stat-code, .em-stats-time, .em-stats-footer-note { font-size: 10.5px !important; }
.em-stat-flag { font-size: 15px !important; }
.em-footer-desc { font-size: 15px !important; line-height: 1.7 !important; }
.em-footer-links a { font-size: 15px !important; }
.em-footer-heading { font-size: 12.5px !important; }
.em-whatsapp-widget__text { font-size: 14.5px !important; }
.em-breadcrumb { font-size: 14px !important; }
@container emsec (max-width: 899px) {
  .em-section .em-col-list-title { font-size: 15.5px !important; }
  .em-section .em-card__title { font-size: 16.5px !important; }
}

/* ── 5. Pages À la une, rubriques et recherche ── */
.em-cat-head { margin: 14px 0 30px; padding-bottom: 20px; border-bottom: 1px solid var(--em-border); }
.em-cat-head__kicker { margin: 0 0 8px; font: 600 12.5px var(--em-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--em-red); }
.em-cat-head__title { margin: 0; font-family: var(--em-font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--em-text); }
.em-cat-head__title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 14px; background: var(--em-red); }
.em-cat-head__count { margin: 12px 0 0; font-size: 14px; color: var(--em-muted); }
.em-cat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
.em-cat-item { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.em-cat-item__media { display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 10; background: var(--em-border); }
.em-cat-item__media img { display: block !important; width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover !important; transition: transform .6s ease; }
.em-cat-item:hover .em-cat-item__media img { transform: scale(1.04); }
.em-cat-item__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.em-cat-item__cat { font: 600 11.5px var(--em-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--em-red); }
.em-cat-item__title { margin: 0; font-family: var(--em-font-display); font-size: 21px; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
.em-cat-item__title a { color: var(--em-text) !important; text-decoration: none !important; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s ease; }
.em-cat-item__title a:hover { background-size: 100% 1px; }
.em-cat-item__excerpt { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--em-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.em-cat-item__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--em-muted); }
.em-cat-item__meta span { display: inline-flex; align-items: center; gap: 6px; }
.em-cat-item--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--em-border); }
.em-cat-item--lead .em-cat-item__media { aspect-ratio: 4 / 3; }
.em-cat-item--lead .em-cat-item__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.em-cat-item--lead .em-cat-item__excerpt { font-size: 17px; -webkit-line-clamp: 4; }
.em-cat-empty { padding: 60px 20px; text-align: center; color: var(--em-muted); }
.em-cat-empty i { font-size: 34px; }
.em-cat-empty h2 { margin: 12px 0 6px; font-family: var(--em-font-display); font-size: 24px; color: var(--em-text); }
@media (max-width: 767px) {
  .em-cat-list { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .em-cat-item--lead { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .em-cat-item--lead .em-cat-item__media { aspect-ratio: 16 / 10; }
}

/* ── 6. Newsletter ── */
.em-newsletter { display: grid; gap: 10px; margin: 0; }
.em-newsletter__label { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14.5px; line-height: 1.5; font-weight: 400; }
.em-newsletter__label i { font-size: 20px; line-height: 1.2; color: var(--em-red); }
.em-newsletter__label strong { display: block; font-weight: 600; }
.em-newsletter__row { display: flex; gap: 8px; }
.em-newsletter__row input { flex: 1 1 auto; min-width: 0; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--em-border); background: #fff; color: #121212; font: 400 15px var(--em-font-body); }
.em-newsletter__row input:focus { outline: none; border-color: var(--em-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--em-blue) 18%, transparent); }
.em-newsletter__row button { flex: 0 0 auto; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--em-red); color: #fff; font: 600 14px var(--em-font-body); cursor: pointer; transition: filter .2s ease, transform .2s ease; }
.em-newsletter__row button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.em-newsletter__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.em-newsletter__note { margin: 0; font-size: 12.5px; opacity: .7; }
.em-newsletter__msg { margin: 0; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; }
.em-newsletter__msg--ok { background: rgba(37, 211, 102, .14); color: #1f7a45; }
.em-newsletter__msg--error { background: rgba(232, 0, 45, .1); color: #b3001f; }
.em-newsletter--footer { color: #cbd5e1; }
.em-newsletter--footer .em-newsletter__label strong { display: none; }
.em-newsletter--footer .em-newsletter__row input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.em-newsletter--footer .em-newsletter__row input::placeholder { color: rgba(255, 255, 255, .55); }
.em-newsletter--footer .em-newsletter__msg--ok { color: #86efac; }
.em-newsletter--footer .em-newsletter__msg--error { color: #fca5a5; }
.em-newsletter--article { margin: 26px 0 8px; padding: 22px 24px; border-radius: 16px; background: linear-gradient(135deg, #0f1b33, #1b4381); color: #e2e8f0; }
.em-newsletter--article .em-newsletter__label { font-size: 16px; color: #fff; }
.em-newsletter--article .em-newsletter__label strong { font-family: var(--em-font-display); font-size: 20px; }
@media (max-width: 480px) {
  .em-newsletter__row { flex-direction: column; }
  .em-newsletter__row button { width: 100%; }
}

/* Numéros de téléphone cliquables dans la fiche contact */
.em-contact-item span a { color: inherit; text-decoration: none; white-space: nowrap; }
.em-contact-item span a:hover { color: var(--pg-accent); }

/* ── Menu : « Rubriques » mis en couleur (texte seul, sans fond), juste après « À la Une » ── */
.em-nav-item.em-nav-item--rubriques {
  color: #0e6fb8 !important;
  font-weight: 800 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.em-nav-item.em-nav-item--rubriques:hover,
.em-nav-dropdown.is-open .em-nav-item--rubriques {
  color: #cc1a1a !important;
  border-bottom-color: #cc1a1a !important;
}
[data-theme="dark"] .em-nav-item.em-nav-item--rubriques { color: #4fb3f0 !important; }

/* ── Lisibilité : textes clairs sur fonds sombres, et petites mentions grises trop pâles ── */
.em-cta h1, .em-cta h2, .em-cta h3, .em-cta h4, .em-cta strong { color: #fff !important; }
.em-cta p { color: rgba(255, 255, 255, .88) !important; }
.em-cta a:not(.em-btn-premium) { color: #fff !important; text-decoration: underline; }
.em-sidebar-widget.em-whatsapp-widget { background: linear-gradient(135deg, #075e54 0%, #0f7a5c 100%) !important; }
.em-whatsapp-widget__btn { color: #075e54 !important; }
.em-hero__feed-time, .em-col-list-time, .em-card__meta, .em-cat-item__meta,
.em-related-card__date, .em-sidebar-article__meta, .em-sidebar-article__date { color: #5f6b7a !important; }
[data-theme="dark"] .em-hero__feed-time, [data-theme="dark"] .em-col-list-time, [data-theme="dark"] .em-card__meta, [data-theme="dark"] .em-cat-item__meta,
[data-theme="dark"] .em-related-card__date, [data-theme="dark"] .em-sidebar-article__meta, [data-theme="dark"] .em-sidebar-article__date { color: #a3adba !important; }

/* ── Page introuvable (404) ── */
.em-404 { max-width: 1120px; margin: 0 auto; padding: 56px 16px 72px; }
.em-404__hero { position: relative; overflow: hidden; padding: 56px 32px 48px; border-radius: 28px; text-align: center;
  background: radial-gradient(700px 260px at 50% -10%, rgba(14, 140, 198, .14), transparent 70%), linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
  border: 1px solid #e7ebf0; box-shadow: 0 30px 60px -40px rgba(15, 27, 51, .35); }
.em-404__code { margin: 0; font-family: var(--em-font-display, 'Playfair Display', serif); font-size: clamp(96px, 18vw, 170px); font-weight: 600; line-height: .9; letter-spacing: -.04em;
  background: linear-gradient(135deg, #1b4381 0%, #0e8cc6 50%, #cc1a1a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.em-404__title { margin: 14px 0 10px; font-family: var(--em-font-display, 'Playfair Display', serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; color: #0f1b33 !important; }
.em-404__text { max-width: 560px; margin: 0 auto 26px; font-size: 17px; font-weight: 300; line-height: 1.65; color: #4b5563; }
.em-404__search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto 22px; padding: 6px 6px 6px 18px; border: 1px solid #dfe4ea; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -18px rgba(15, 27, 51, .35); }
.em-404__search i { color: #8a94a3; }
.em-404__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15.5px; color: #1f2937; }
.em-404__search button { flex: 0 0 auto; padding: 11px 20px; border: 0; border-radius: 999px; background: #0f1b33; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.em-404__search button:hover { background: #cc1a1a; }
.em-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.em-404__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid #dfe4ea; border-radius: 999px; background: #fff; color: #1f2937 !important; font-size: 14.5px; font-weight: 500; text-decoration: none !important; transition: border-color .2s ease, transform .2s ease; }
.em-404__btn:hover { border-color: #0e8cc6; transform: translateY(-1px); }
.em-404__btn--primary { background: #0f1b33; border-color: #0f1b33; color: #fff !important; }
.em-404__btn--primary:hover { background: #cc1a1a; border-color: #cc1a1a; }
.em-404__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.em-404__cats a { padding: 6px 12px; border-radius: 999px; background: #eef3f8; color: #1b4381 !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.em-404__cats a:hover { background: #1b4381; color: #fff !important; }
.em-404__latest { margin-top: 44px; }
.em-404__latest h2 { margin: 0 0 18px; font-family: var(--em-font-display, 'Playfair Display', serif); font-size: 26px; font-weight: 500; color: #0f1b33 !important; }
.em-404__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.em-404__card { display: flex; flex-direction: column; gap: 8px; color: #111827 !important; text-decoration: none !important; }
.em-404__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; background: #eef1f4; }
.em-404__card-date { font-size: 12.5px; color: #5f6b7a; }
.em-404__card-title { font-family: var(--em-font-display, 'Playfair Display', serif); font-size: 17px; font-weight: 600; line-height: 1.3; }
.em-404__card:hover .em-404__card-title { color: #cc1a1a; }
[data-theme="dark"] .em-404__hero { background: linear-gradient(180deg, #111827 0%, #0b1220 100%); border-color: #1f2937; }
[data-theme="dark"] .em-404__title, [data-theme="dark"] .em-404__latest h2 { color: #f3f4f6 !important; }
[data-theme="dark"] .em-404__text { color: #b8c1cc; }
[data-theme="dark"] .em-404__card { color: #e5e7eb !important; }
@media (max-width: 900px) { .em-404__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .em-404 { padding-top: 28px; }
  .em-404__hero { padding: 40px 18px 34px; border-radius: 20px; }
  .em-404__search { padding-left: 14px; }
  .em-404__search button { padding: 10px 14px; }
  .em-404__grid { grid-template-columns: 1fr; }
}

/* Lisibilité : bouton WhatsApp du partage et dates des cartes « en continu » */
.em-share-pill--wa { background: #0f7a5c !important; border-color: #0f7a5c !important; color: #fff !important; }
.cf-meta, .cf-meta span { color: #5f6b7a !important; }
[data-theme="dark"] .cf-meta, [data-theme="dark"] .cf-meta span { color: #a3adba !important; }

/* Rubriques dans le menu latéral (bouton Menu) */
.em-sidebar-drawer .em-drawer-nav { flex: none !important; padding-bottom: 4px !important; }
.em-sidebar-drawer .em-drawer-nav:last-of-type { flex: 1 !important; }
.em-drawer-rubriques { margin: 6px 16px 10px; padding: 16px 0 14px; border-top: 1px solid rgba(17,24,39,.07); border-bottom: 1px solid rgba(17,24,39,.07); }
.em-drawer-rubriques__head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 10px; font-family: 'Inter', sans-serif; }
.em-drawer-rubriques__head span { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #0e6fb8; }
.em-drawer-rubriques__head small { font-size: 11.5px; font-weight: 400; color: #8a94a3; }
.em-drawer-rubriques__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.em-drawer-rubriques__link { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px 12px; border-radius: 10px; background: #f5f7fa; border: 1px solid transparent; font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 500; color: #1f2937; text-decoration: none; transition: background .18s, border-color .18s, transform .18s; }
.em-drawer-rubriques__link:hover { background: #fff; border-color: var(--em-cat); transform: translateY(-1px); color: #111827; }
.em-drawer-rubriques__link.active { background: #fff; border-color: var(--em-cat); color: var(--em-cat); }
.em-drawer-rubriques__link.is-extra { display: none; }
.em-drawer-rubriques__list.show-all .em-drawer-rubriques__link.is-extra { display: flex; }
.em-drawer-rubriques__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--em-cat); }
.em-drawer-rubriques__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-drawer-rubriques__count { flex: none; font-size: 11px; font-weight: 400; color: #8a94a3; font-variant-numeric: tabular-nums; }
.em-drawer-rubriques__more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; padding: 9px; border: 1px dashed rgba(14,111,184,.35); border-radius: 10px; background: transparent; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: #0e6fb8; cursor: pointer; }
.em-drawer-rubriques__more:hover { background: rgba(14,111,184,.06); }
.em-drawer-rubriques__more i { transition: transform .2s; }
.em-drawer-rubriques__more[aria-expanded="true"] i { transform: rotate(180deg); }
[data-theme="dark"] .em-drawer-rubriques__link { background: rgba(255,255,255,.05); color: #e5e7eb; }
[data-theme="dark"] .em-drawer-rubriques__link:hover { background: rgba(255,255,255,.09); color: #fff; }
