/* ══════════════════════════════════════════════════════════════════════
   IAS2026 — Single Édition CPT
   Chargé après ias-edition.css — surcharge et étend les règles de base.
   ══════════════════════════════════════════════════════════════════════ */

/* ── HERO : variante sans affiche ─────────────────────────────────────── */
.ed-split-hero--solo {
  grid-template-columns: 1fr;
  max-width: 820px;
}

/* ── SNAPSHOT STATS ────────────────────────────────────────────────────── */
.ied-snapshot {
  border-bottom: 1px solid rgba(37,41,85,0.1);
  background: #fff;
}
.ied-snapshot__row {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}
.ied-snapshot__row::-webkit-scrollbar { display: none; }
.ied-snap-item {
  flex: 1 0 120px;
  max-width: 200px;
  padding: 24px 28px;
  border-right: 1px solid rgba(37,41,85,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ied-snap-item:last-child { border-right: none; }
.ied-snap-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--p);
  line-height: 1;
}
.ied-snap-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── VISION : overline pleine largeur ─────────────────────────────────── */
.ed-vision .ias-section__overline {
  display: block;
  margin-bottom: 2rem;
}

/* Nouvelle grille : colonne gauche étroite (identité) + droite large (contenu) */
.ed-vision__grid {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 72px;
  align-items: flex-start;
}

/* ── COLONNE GAUCHE : identité de l'édition ────────────────────────────── */
.ed-vision__lead { position: relative; }

/* Numéro décoratif en arrière-plan */
.ed-vision__year-deco {
  font-family: var(--serif);
  font-size: clamp(5rem, 11vw, 10rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(37,41,85,0.10);
  letter-spacing: -0.04em;
  margin-bottom: -0.4em;
  user-select: none;
  pointer-events: none;
}

/* Titre de la section (gauche) */
.ed-vision__lead-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  line-height: 1.06;
  color: var(--p);
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 2.5rem;
}

/* Box points forts */
.ed-vision__box {
  background: var(--alt);
  padding: 28px 32px;
  border-radius: 16px;
  border: 1px solid rgba(37,41,85,0.08);
}
.ed-vision__box h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--s);
  margin-bottom: 16px;
}
.ed-vision__list { list-style: none; }
.ed-vision__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--p);
  line-height: 1.5;
}
.ed-vision__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--s);
  font-size: 0.8rem;
}

/* ── COLONNE DROITE : contenu éditorial ────────────────────────────────── */

/* Headings Gutenberg dans the_content() — taille contenu, pas taille section */
.ed-vision__text h1,
.ed-vision__text h2,
.ed-vision__text h3,
.ed-vision__text .wp-block-heading {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--p);
  text-wrap: balance;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}
/* Neutraliser les marges block Gutenberg */
.ed-vision__text .wp-block-heading {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.ed-vision__text > *:first-child,
.ed-vision__text h2:first-child,
.ed-vision__text h3:first-child,
.ed-vision__text .wp-block-heading:first-child { margin-top: 0; }

/* Paragraphes */
.ed-vision__text p {
  font-size: clamp(0.93rem, 1.1vw, 1.03rem);
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.ed-vision__text strong { color: var(--p); font-weight: 700; }
.ed-vision__text em { font-style: italic; color: var(--muted); }

/* Wrapper media (vidéo ou image) */
.ed-vision__media {
  margin-top: 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0a0c10;
  box-shadow: 0 20px 52px rgba(0,0,0,0.15);
  position: relative;
}
.ed-vision__media iframe,
.ed-vision__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
}

/* ── PROGRAMME : cartes (ex inline <style>) ─────────────────────────────── */
.ed-prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.ed-prog-card {
  display: flex;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(37,41,85,.07);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  padding: 0; /* annule le padding de ias-edition.css */
}
.ed-prog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(37,41,85,.14);
}
.ed-prog-card__bar {
  width: 5px;
  background: var(--s);
  flex-shrink: 0;
}
.ed-prog-card__body { padding: 1.5rem 1.25rem 1.6rem; }
.ed-prog-card__label {
  display: block;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--s);
  margin-bottom: .8rem;
}
.ed-prog-card__desc {
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── FOCUS : section éditoriale ─────────────────────────────────────────── */
.ed-focus { position: relative; overflow: hidden; }

.ed-focus__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* Étoile décorative */
.ed-focus__eyebrow {
  display: block;
  font-size: 1.6rem;
  color: var(--s);
  margin-bottom: 1.25rem;
  line-height: 1;
  letter-spacing: 0.15em;
}

.ed-focus__title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--p);
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.ed-focus__body {
  text-align: left;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.85;
  color: var(--ink);
}
.ed-focus__body p { margin-bottom: 1.25rem; }
.ed-focus__body p:last-child { margin-bottom: 0; }
.ed-focus__body strong { color: var(--p); font-weight: 700; }
.ed-focus__body h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--p);
  margin: 2rem 0 .75rem;
  text-wrap: balance;
}

/* ── PARTENAIRES ───────────────────────────────────────────────────────── */
.ied-partners-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.ied-partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(37,41,85,0.08);
  text-decoration: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.ied-partner-item:hover {
  box-shadow: 0 6px 24px rgba(37,41,85,0.1);
  border-color: rgba(37,41,85,0.18);
}
.ied-partner-item img {
  max-height: 46px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.62;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.ied-partner-item:hover img { filter: grayscale(0%); opacity: 1; }
.ied-partner-name {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.ied-partner-item:hover .ied-partner-name { color: var(--p); }

/* ── GALERIE VERNISSAGE ─────────────────────────────────────────────────── */
.ied-gallery {
  padding: clamp(52px, 7vw, 84px) 0;
  background: #0a0c10;
  color: #fff;
}
.ied-gallery__header { padding: 0 clamp(24px, 5vw, 60px) 36px; }
.ied-gallery__strip {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 0 clamp(24px, 5vw, 60px) 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) rgba(255,255,255,0.05);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.ied-gallery__item {
  flex: 0 0 clamp(200px, 30vw, 360px);
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: zoom-in;
}
.ied-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.55s ease;
}
.ied-gallery__item:hover img { transform: scale(1.06); }
.ied-overline--muted { color: rgba(255,255,255,0.45) !important; }

/* ── NAVIGATION PREV / NEXT ─────────────────────────────────────────────── */
.ied-nav {
  background: #0a0c10;
  color: #fff;
  padding: 52px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ied-nav__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.ied-nav__btn {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: opacity 0.22s, transform 0.22s;
  max-width: 280px;
}
.ied-nav__btn:hover { opacity: 0.65; transform: translateX(-3px); }
.ied-nav__btn--next { text-align: right; justify-self: end; }
.ied-nav__btn--next:hover { transform: translateX(3px); }
.ied-nav__btn-dir {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.ied-nav__btn-year {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}
.ied-nav__btn-theme { font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 1.35; font-style: italic; }
.ied-nav__center { text-align: center; }
.ied-nav__all {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.22s;
  display: inline-block;
}
.ied-nav__all:hover { color: var(--s); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .ed-vision__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ed-vision__year-deco { font-size: clamp(4rem, 18vw, 7rem); }
}

@media (max-width: 680px) {
  .ied-nav__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ied-nav__center {
    grid-column: 1 / -1;
    order: -1;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .ed-focus__inner { text-align: left; }
  .ed-focus__eyebrow { text-align: left; }
}
