/* Homepage (Ingenious City) — layered on Tailwind utilities */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
 * Charte graphique Ingenious City
 * Typographie officielle : CORBEL (Regular, Bold, Italic, Bold Italic)
 * Orange · Violet profond · Rouge · Magenta · Noir · Blanc
 */
:root,
html.ic-home-html {
  --ic-brand: #66135b;
  --ic-brand-deep: #4f0f42;
  --ic-brand-soft: #8e2f7e;
  --ic-accent-orange: #f36c00;
  --ic-accent-red: #e31c23;
  --ic-accent-magenta: #c44ba0;
  --ic-ink: #111111;
  --ic-white: #ffffff;
  --ic-bg-white: #ffffff;
  --ic-bg-off: #f6f4f2; /* blanc cassé */
  --ic-surface: #ffffff;
  /* Charte TYPOGRAPHIE — CORBEL (styles Regular / Bold / Italic / Bold Italic) */
  --font-ic: Corbel, "Corbel Light", Candara, Calibri, "Segoe UI", sans-serif;
  --font-headline: var(--font-ic);
  --font-body: var(--font-ic);
}

html.ic-home-html,
body.ic-home-body {
  font-family: var(--font-ic);
  font-weight: 400;
  font-style: normal;
  background: var(--ic-surface);
  color: #1b1520;
  margin: 0;
}

.font-headline,
.font-body {
  font-family: var(--font-ic);
}

/*
 * Empêche le « balancement » gauche-droite (rubber-band horizontal).
 * Ne pas utiliser touch-action: pan-y sur le body : ça bloque souvent le scroll vertical sur mobile.
 */
html.ic-home-html {
  overflow-x: hidden;
  width: 100%;
}

body.ic-home-body {
  position: relative;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100%;
}

/* Keep Django hidden attributes authoritative even when utility classes set display:flex/block. */
body.ic-home-body [hidden] {
  display: none !important;
}

/* Mobile : ajustements layout (animations AOS actives aussi sur mobile). */
@media (max-width: 767px) {
  html.ic-home-html {
    height: auto;
    min-height: 100%;
    scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Pas de padding blanc sous le footer : l'espace dock est dans le footer sombre */
  body.ic-home-body {
    padding-bottom: 0;
  }

  .header-shell {
    animation: none;
  }

  html.ic-home-html .ic-hero-min-height {
    min-height: 100svh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
  }

  html.ic-home-html .swiper-intro {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  /* Respiration entre titres de section et contenu suivant */
  #axes-impact > .mx-auto > header + div,
  #programmes > .mx-auto > div:first-child + .ic-program-covers,
  #chiffres .ic-key-numbers__header,
  #annonces-partenaires > .mx-auto > header + *,
  #partenaires > .mx-auto > h2,
  #news > .mx-auto > .mb-10 {
    margin-bottom: 0;
  }

  #axes-impact .mx-auto.max-w-4xl,
  #axes-impact .ic-sectors-marquee,
  #programmes .ic-program-covers,
  #chiffres .ic-key-numbers,
  #annonces-partenaires .mt-12,
  #partenaires .ic-partners-marquee,
  #news .grid {
    margin-top: 2.75rem !important;
  }

  #axes-impact .mt-16 {
    margin-top: 3.25rem !important;
  }

  #programmes .mt-10 {
    margin-top: 2.25rem !important;
  }

  .ic-programs-grid {
    margin-top: 2.75rem !important;
  }

  .ic-flyer-page-kicker {
    margin-top: 1.35rem !important;
  }

  .ic-flyer-page-rule {
    margin-top: 1rem !important;
    margin-bottom: 0.35rem;
  }
}

.ic-home-html .swiper-intro .swiper-button-next::after,
.ic-home-html .swiper-intro .swiper-button-prev::after {
  font-size: 1.25rem;
}

.ic-home-html .swiper-intro .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.ic-home-html .swiper-intro .swiper-pagination-bullet-active {
  background: #fff;
}

.ic-home-html .swiper-partners .swiper-pagination-bullet {
  background: rgba(102, 19, 91, 0.25);
}

.ic-home-html .swiper-partners .swiper-pagination-bullet-active {
  background: #66135b;
}

.gobottom-anchor {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.22s, background 0.22s;
  backdrop-filter: blur(10px);
}

.gobottom-anchor:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-shell {
  animation: headerDrop 0.6s ease-out;
}

.ic-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.ic-brand-lockup img {
  display: block;
}

.ic-brand-wordmark {
  display: none;
}

.ic-brand-lockup::after {
  content: none;
  display: none;
}

/* Logo + titre (même bloc sur tous les breakpoints) */
.ic-brand-lockup {
  text-decoration: none;
  color: inherit;
}

.nav-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 9999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Barre navigation pages intérieures (même typo que hero, fond violet plein) */
.ic-header-solid {
  background: linear-gradient(160deg, #5b104b 0%, #611748 52%, #4f0f42 100%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

/* —— Contact us (inspiré desk US / Stripe-like) —— */
/* Contact — bureau Kinshasa (charte IC / Corbel) */
.ic-contact-desk {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4.75rem) 1.5rem clamp(3.5rem, 8vw, 6rem);
  background:
    linear-gradient(165deg, #ffffff 0%, #f7eff6 42%, #ffffff 100%);
  overflow: hidden;
}

.ic-contact-desk::before {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 19, 91, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.ic-contact-desk__inner {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  z-index: 1;
}

.ic-contact-desk__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.75rem);
}

@media (min-width: 960px) {
  .ic-contact-desk__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.25rem;
    align-items: start;
  }
}

.ic-contact-desk__kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ic-brand, #66135b);
}

.ic-contact-desk__title {
  margin: 0.65rem 0 0;
  max-width: 18ch;
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ic-ink, #111111);
}

.ic-contact-desk__lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(27, 21, 32, 0.68);
}

.ic-contact-desk__channels {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ic-contact-channel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.05rem;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid rgba(102, 19, 91, 0.12);
  border-left: 3px solid var(--ic-brand, #66135b);
  border-radius: 0.2rem 0.65rem 0.65rem 0.2rem;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.ic-contact-channel:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 19, 91, 0.28);
  box-shadow: 0 12px 28px rgba(102, 19, 91, 0.1);
  background: #fff;
}

.ic-contact-channel:focus-visible {
  outline: 2px solid var(--ic-brand, #66135b);
  outline-offset: 3px;
}

.ic-contact-channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background: rgba(102, 19, 91, 0.09);
  color: var(--ic-brand, #66135b);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ic-contact-channel__icon--wa {
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
}

.ic-contact-channel__body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.ic-contact-channel__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27, 21, 32, 0.5);
}

.ic-contact-channel__value {
  font-family: var(--font-headline);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ic-ink, #111111);
  word-break: break-word;
}

.ic-contact-channel__hint {
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(27, 21, 32, 0.58);
}

.ic-contact-channel__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: var(--ic-brand, #66135b);
  background: rgba(102, 19, 91, 0.06);
  transition: transform 0.22s ease, background 0.22s ease;
}

.ic-contact-channel:hover .ic-contact-channel__go {
  transform: translateX(3px);
  background: rgba(102, 19, 91, 0.14);
}

.ic-contact-desk__place {
  display: grid;
  gap: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(79, 15, 66, 0.14);
}

.ic-contact-desk__place-panel {
  padding: clamp(1.5rem, 3.5vw, 2rem);
  background:
    linear-gradient(145deg, var(--ic-brand-deep, #4f0f42) 0%, var(--ic-brand, #66135b) 55%, var(--ic-brand-soft, #8e2f7e) 100%);
  color: #ffffff;
}

.ic-contact-desk__place-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ic-contact-desk__place-title {
  margin: 0.5rem 0 0;
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ic-contact-desk__place-addr {
  margin: 0.9rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.ic-contact-desk__directions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ic-brand-deep, #4f0f42);
  background: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ic-contact-desk__directions:hover {
  transform: translateY(-1px);
  background: #f7eff6;
}

.ic-contact-desk__map {
  background: #1b1520;
  min-height: 14.5rem;
}

.ic-contact-desk__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14.5rem;
  border: 0;
  filter: saturate(0.92) contrast(1.03);
}

@media (min-width: 960px) {
  .ic-contact-desk__map,
  .ic-contact-desk__map iframe {
    min-height: 18rem;
  }
}

/* Back — flèche seule (accessibilité via aria-label / title) */
.ic-page-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.ic-page-back__label {
  display: none;
}

.ic-page-back:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
  transform: translateX(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.ic-page-back:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.ic-page-back:active {
  transform: translateX(-1px) scale(0.98);
}

.ic-page-back i {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.ic-page-back:hover i {
  transform: translateX(-2px);
}

@media (max-width: 767px) {
  .ic-page-back {
    margin-left: 0;
    margin-right: 0;
  }
}

.text-center .ic-page-back {
  /* Sur hero centré mobile : garde le retour à gauche (usage prod) */
  float: left;
}

/* Évite que le titre hero monte à côté du bouton */
.ic-page-hero-media .mx-auto.max-w-7xl::after {
  content: "";
  display: table;
  clear: both;
}

@media (min-width: 768px) {
  .text-center .ic-page-back {
    float: none;
  }
}

/* Hero image backgrounds for all internal pages (Contact, About, Blog, etc.). */
.ic-page-hero-media {
  --ic-hero-image: url('/media/article_images/HV9A9660_1_1-min.jpg');
  --ic-hero-position: center center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1f0e1d;
}

body[data-ic-page] .ic-page-hero-media {
  position: relative;
}

.ic-page-hero-media::before {
  content: "";
  position: absolute;
  inset: -32px;
  z-index: 0;
  background-image: var(--ic-hero-image);
  background-position: var(--ic-hero-position);
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  filter: blur(1.8px) saturate(1.04) contrast(1.03) brightness(0.96);
}

body[data-ic-page="service"] .ic-page-hero-media,
body[data-ic-page="programs"] .ic-page-hero-media,
body[data-ic-page="events"] .ic-page-hero-media {
  --ic-hero-position: 50% 72%;
}

.ic-page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 120% at 50% 8%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(165deg, rgba(26, 7, 24, 0.3) 0%, rgba(56, 14, 46, 0.24) 52%, rgba(22, 5, 20, 0.34) 100%);
}

.ic-page-hero-media > * {
  position: relative;
  z-index: 2;
}

body[data-ic-page="about"] .ic-page-hero-media,
body[data-ic-page="service"] .ic-page-hero-media,
body[data-ic-page="programs"] .ic-page-hero-media,
body[data-ic-page="events"] .ic-page-hero-media,
body[data-ic-page="galery"] .ic-page-hero-media,
body[data-ic-page="startups"] .ic-page-hero-media,
body[data-ic-page="entrepreneurs"] .ic-page-hero-media,
body[data-ic-page="forum"] .ic-page-hero-media,
body[data-ic-page="post"] .ic-page-hero-media,
body[data-ic-page="blog"] .ic-page-hero-media,
body[data-ic-page="actualites"] .ic-page-hero-media,
body[data-ic-page="article"] .ic-page-hero-media,
body[data-ic-page="article_actualite"] .ic-page-hero-media,
body[data-ic-page="contact"] .ic-page-hero-media {
  --ic-hero-image: url('/media/article_images/HV9A9660_1_1-min.jpg');
}

.ic-page-shell {
  border-radius: 18px;
  border: 1px solid #e8dce8;
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.28s,
    box-shadow 0.28s,
    border-color 0.28s;
}

.ic-page-shell:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(215, 137, 216, 0.18);
  border-color: #d789d8;
}

/* Contenu riche (blog / forum) sans plugin Tailwind typography */
.ic-article-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #1b1520;
}

.ic-article-body > *:first-child {
  margin-top: 0;
}

.ic-article-body p {
  margin: 0 0 1rem;
}

.ic-article-body h2,
.ic-article-body h3,
.ic-article-body h4 {
  font-family: var(--font-ic);
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  line-height: 1.25;
}

.ic-article-body h2 {
  font-size: 1.35rem;
}

.ic-article-body h3 {
  font-size: 1.15rem;
}

.ic-article-body ul,
.ic-article-body ol {
  margin: 0 0 1rem 1.25rem;
}

.ic-article-body a {
  color: #66135b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ic-article-body a:hover {
  color: #8e2f7e;
}

.ic-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.over-video {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-link-hero {
  position: relative;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.nav-link-hero:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

/*
 * Boutons nav header — tablette / desktop uniquement (md+).
 * Mobile : dock chips (styles séparés, inchangés).
 */
@media (min-width: 768px) {
  .ic-nav-desktop {
    gap: 0.55rem;
  }

  .ic-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #1a1218 !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ic-nav-btn::after {
    display: none;
  }

  .ic-nav-btn:hover {
    color: #1a1218 !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-1px);
    box-shadow: none;
  }

  .ic-nav-btn:active {
    transform: translateY(0);
    box-shadow: none;
  }

  .ic-nav-btn.is-active,
  .ic-nav-btn[aria-current="page"] {
    color: #1a1218 !important;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: none;
  }

  .ic-nav-btn.is-active:hover,
  .ic-nav-btn[aria-current="page"]:hover {
    color: #1a1218 !important;
    background: rgba(255, 255, 255, 0.2);
  }

  .ic-nav-btn--accent {
    color: #2a0a24 !important;
    background: linear-gradient(180deg, #ff9a3d 0%, #f36c00 100%);
    border-color: rgba(255, 214, 170, 0.65);
    box-shadow: 0 6px 16px rgba(243, 108, 0, 0.35);
  }

  .ic-nav-btn--accent:hover {
    color: #2a0a24 !important;
    background: linear-gradient(180deg, #ffb066 0%, #ff7a14 100%);
    border-color: rgba(255, 230, 200, 0.85);
    box-shadow: 0 10px 22px rgba(243, 108, 0, 0.42);
  }

  .ic-nav-btn--accent.is-active,
  .ic-nav-btn--accent[aria-current="page"] {
    color: #2a0a24 !important;
    background: linear-gradient(180deg, #ffb066 0%, #f36c00 100%);
    border-color: #fff;
  }

  .ic-nav-btn--accent:focus-visible {
    outline-color: #ffd7a8;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ic-nav-desktop {
    gap: 0.45rem;
  }

  .ic-nav-btn {
    min-height: 2.15rem;
    padding: 0.38rem 0.72rem;
    font-size: 0.7rem;
  }
}

@media (min-width: 1024px) {
  .ic-nav-desktop {
    gap: 0.7rem;
  }

  .ic-nav-btn {
    min-height: 2.5rem;
    padding: 0.5rem 1.15rem;
    font-size: 0.84rem;
  }
}

@media (min-width: 1280px) {
  .ic-nav-desktop {
    gap: 0.85rem;
  }

  .ic-nav-btn {
    padding: 0.55rem 1.3rem;
    font-size: 0.9rem;
  }
}

/* —— Location d'espaces (accueil) —— */
.ic-spaces-rent {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
  background:
    linear-gradient(165deg, #2a0a24 0%, #4a0f3d 42%, #66135b 100%);
  color: #fff;
  overflow: hidden;
}

.ic-spaces-rent::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 20%, rgba(243, 108, 0, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(255, 255, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.ic-spaces-rent__inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.ic-spaces-rent__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 214, 180, 0.95);
}

.ic-spaces-rent__title {
  margin: 0;
  font-family: var(--font-ic, Corbel, "Segoe UI", sans-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.ic-spaces-rent__lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.ic-spaces-rent__list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.ic-spaces-rent__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.ic-spaces-rent__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f36c00;
  box-shadow: 0 0 0 3px rgba(243, 108, 0, 0.25);
}

.ic-spaces-rent__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0.9rem 1.55rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #2a0a24;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ic-spaces-rent__cta:hover {
  color: #2a0a24;
  background: #fff7f0;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.ic-spaces-rent__cta:focus-visible {
  outline: 2px solid #f36c00;
  outline-offset: 3px;
}

/* Mosaïque unique — 5 photos, même composition (phone / tablette / iPad / desktop) */
.ic-spaces-rent__media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(0.4rem, 1.1vw, 0.7rem);
  width: 100%;
  aspect-ratio: 5 / 4;
  min-height: clamp(18rem, 48vw, 28rem);
  max-height: min(32rem, 70vh);
  align-content: stretch;
}

.ic-spaces-rent__shot {
  margin: 0;
  border-radius: clamp(10px, 1.2vw, 14px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.2);
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  align-self: stretch;
  justify-self: stretch;
}

.ic-spaces-rent__shot--hero {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}

.ic-spaces-rent__shot:nth-child(2) {
  grid-column: 5 / span 2;
  grid-row: 1;
}

.ic-spaces-rent__shot:nth-child(3) {
  grid-column: 5 / span 2;
  grid-row: 2;
}

.ic-spaces-rent__shot:nth-child(4) {
  grid-column: 1 / span 3;
  grid-row: 3;
}

.ic-spaces-rent__shot:nth-child(5) {
  grid-column: 4 / span 3;
  grid-row: 3;
}

.ic-spaces-rent__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile etroit : meme grille 5 photos, un peu plus haute */
@media (max-width: 639px) {
  .ic-spaces-rent__title {
    max-width: none;
  }

  .ic-spaces-rent__media {
    aspect-ratio: 4 / 5;
    min-height: 20rem;
    max-height: none;
  }
}

/* Tablette / iPad portrait : texte au-dessus, mosaïque pleine largeur */
@media (min-width: 640px) and (max-width: 1023px) {
  .ic-spaces-rent__inner {
    gap: 1.75rem;
  }

  .ic-spaces-rent__media {
    aspect-ratio: 5 / 4;
    min-height: 22rem;
    max-height: min(30rem, 65vh);
  }
}

/* iPad paysage / desktop : texte + mosaïque cote a cote */
@media (min-width: 1024px) {
  .ic-spaces-rent__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .ic-spaces-rent__media {
    aspect-ratio: 5 / 4;
    min-height: 20rem;
    max-height: min(30rem, 62vh);
  }
}

/* Grand ecran */
@media (min-width: 1280px) {
  .ic-spaces-rent__media {
    min-height: 24rem;
    max-height: 32rem;
  }
}

.hero-overlay-video {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.32) 50%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  padding: 0.28rem 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  color: #66135b;
  font-weight: 800;
  font-family: var(--font-ic);
  font-size: 0.88rem;
  padding: 0.8rem 1.7rem;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.28s;
  text-decoration: none;
  border: none;
  box-shadow: inset 0 -2px 0 var(--ic-accent-orange, #f36c00);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.24),
    inset 0 -2px 0 var(--ic-accent-orange, #f36c00);
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 0.22s;
  text-decoration: none;
}

.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.bg-sect-white {
  background: var(--ic-bg-white, #ffffff);
}

.bg-sect-rose {
  background: var(--ic-bg-off, #f6f4f2);
}

.bg-sect-about {
  background: radial-gradient(
      ellipse at 18% 0%,
      rgba(196, 122, 190, 0.32),
      transparent 42%
    ),
    radial-gradient(ellipse at 85% 100%, rgba(255, 255, 255, 0.06), transparent 38%),
    linear-gradient(160deg, #47153e 0%, #611748 55%, #35122f 100%);
}

.bg-sect-primary {
  background: radial-gradient(
      ellipse at 18% 0%,
      rgba(196, 122, 190, 0.36),
      transparent 42%
    ),
    radial-gradient(ellipse at 85% 100%, rgba(255, 255, 255, 0.07), transparent 38%),
    linear-gradient(160deg, #5b104b 0%, #611748 55%, #4f0f42 100%);
}

.ic-card-mission {
  border-radius: 18px;
  border: 1px solid #e8dce8;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s,
    background 0.3s;
}

.ic-card-mission:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 42px rgba(215, 137, 216, 0.28);
  border-color: #d789d8;
  background: rgba(215, 137, 216, 0.04);
}

.cible-block {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 0.28s,
    border-color 0.28s,
    background 0.28s;
}

.cible-block:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.ic-icon-fa-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
}

.card-ba-box {
  border-radius: 18px;
  border: 1px solid #e8dce8;
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s,
    background 0.3s,
    color 0.3s;
}

.card-ba-box:hover {
  background: linear-gradient(135deg, #66135b 0%, #8e2f7e 60%, #d789d8 100%) !important;
  border-color: #d789d8 !important;
  box-shadow: 0 28px 56px rgba(102, 19, 91, 0.45) !important;
  transform: translateY(-8px) scale(1.06) !important;
}

.card-ba-box:hover h3,
.card-ba-box:hover p {
  color: rgba(255, 255, 255, 0.95) !important;
}

.card-ba-box:hover .ba-icon-wrap {
  background: rgba(255, 255, 255, 0.22) !important;
}

.ba-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  padding: 0.5rem;
  background: rgba(102, 19, 91, 0.06);
}

.ba-icon-wrap img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Hub « Nos 4Ba » : titre centré entre deux colonnes (desktop), couleurs d’origine IC */
.ic-ba-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
}

.ic-ba-middle-stack {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (max-width: 1023px) {
  /* Cartes mobiles : éviter le survol violet agressif du hub sur petit écran */
  .ic-ba-section-hub .ic-ba-shell .card-ba-box.ic-ba-hub-card:hover {
    transform: translateY(-3px);
  }
}

@media (min-width: 1024px) {
  .ic-ba-shell {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: clamp(1rem, 2.8vw, 2.75rem);
    row-gap: clamp(1rem, 2vw, 1.85rem);
  }

  .ic-ba-middle-stack {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: center;
    margin-bottom: 0;
    justify-content: center;
  }

  .ic-ba-intro {
    max-width: 24rem;
    padding-inline: 0.75rem;
    margin-inline: auto;
    margin-bottom: 0 !important;
  }

  .ic-ba-tile--1 {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
  }

  .ic-ba-tile--2 {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }

  .ic-ba-tile--3 {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
  }

  .ic-ba-tile--4 {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
  }

  .ic-ba-tile--1,
  .ic-ba-tile--2,
  .ic-ba-tile--3,
  .ic-ba-tile--4 {
    width: 100%;
    max-width: 380px;
    position: relative;
  }

  /* Chiffres de fond discrets (violet marque), sans modifier le hover des .card-ba-box */
  .ic-ba-hub-card__num {
    display: block;
    position: absolute;
    right: 0.5rem;
    bottom: 0.15rem;
    font-size: clamp(3.75rem, 6.5vw, 5.25rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    color: rgba(102, 19, 91, 0.12);
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }

  .ic-ba-section-hub .card-ba-box .ba-icon-wrap {
    position: relative;
    z-index: 1;
  }

  /* Hub 6 secteurs (axes d'impact) */
  .ic-ba-shell--6 {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: repeat(3, auto);
    align-items: center;
    column-gap: clamp(1rem, 2.8vw, 2.75rem);
    row-gap: clamp(1rem, 2vw, 1.85rem);
  }

  .ic-ba-shell--6 .ic-ba-middle-stack {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    justify-self: center;
    margin-bottom: 0;
  }

  .ic-ba-shell--6 .ic-ba-tile--1 { grid-column: 1; grid-row: 1; justify-self: end; }
  .ic-ba-shell--6 .ic-ba-tile--2 { grid-column: 1; grid-row: 2; justify-self: end; }
  .ic-ba-shell--6 .ic-ba-tile--3 { grid-column: 1; grid-row: 3; justify-self: end; }
  .ic-ba-shell--6 .ic-ba-tile--4 { grid-column: 3; grid-row: 1; justify-self: start; }
  .ic-ba-shell--6 .ic-ba-tile--5 { grid-column: 3; grid-row: 2; justify-self: start; }
  .ic-ba-shell--6 .ic-ba-tile--6 { grid-column: 3; grid-row: 3; justify-self: start; }

  .ic-ba-shell--6 .ic-ba-tile--1,
  .ic-ba-shell--6 .ic-ba-tile--2,
  .ic-ba-shell--6 .ic-ba-tile--3,
  .ic-ba-shell--6 .ic-ba-tile--4,
  .ic-ba-shell--6 .ic-ba-tile--5,
  .ic-ba-shell--6 .ic-ba-tile--6 {
    width: 100%;
    max-width: 380px;
    position: relative;
  }
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
  transition:
    background 0.25s,
    transform 0.25s,
    border-color 0.25s;
}

.stat-card:hover {
  background: rgba(215, 137, 216, 0.2);
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(215, 137, 216, 0.6);
}

.stat-card img.ic-stat-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

/* Nos chiffres clés — mosaïque d’origine, blocs encore plus compacts */
.ic-key-numbers__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

@media (max-width: 767px) {
  .ic-key-numbers__header {
    margin-bottom: 0.95rem;
    gap: 0.7rem;
  }
}

@media (min-width: 768px) {
  .ic-key-numbers__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
  }
}

.ic-key-numbers__period {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: inset 3px 0 0 var(--ic-accent-orange, #f36c00);
}

.ic-key-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

/* Mobile — mosaïque bento (pas une seule colonne) */
@media (max-width: 767px) {
  #chiffres {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .ic-key-numbers__header {
    align-items: stretch;
    text-align: left;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
  }

  .ic-key-numbers__intro .eyebrow {
    margin-left: 0;
  }

  .ic-key-numbers__period {
    align-self: flex-start;
    max-width: 100%;
  }

  .ic-key-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .ic-key-stat {
    gap: 0.45rem;
    min-height: 0;
    padding: 0.75rem 0.8rem 0.85rem;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  }

  .ic-key-stat__icon-wrap {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 9px;
  }

  .ic-key-stat__cartoon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .ic-key-stat__value {
    font-size: clamp(1.35rem, 6.5vw, 1.7rem);
  }

  .ic-key-stat__label {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .ic-key-stat__note {
    font-size: 0.58rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  /* Cartes larges : bandeau pleine largeur */
  .ic-key-stat--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.15rem;
    align-items: start;
    padding: 0.85rem 0.95rem;
  }

  .ic-key-stat--wide .ic-key-stat__icon-wrap {
    grid-row: 1 / span 2;
    align-self: center;
    width: 2.6rem;
    height: 2.6rem;
  }

  .ic-key-stat--wide .ic-key-stat__body {
    margin-top: 0;
  }

  .ic-key-stat--wide .ic-key-stat__value {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .ic-key-stat--wide .ic-key-stat__label {
    font-size: 0.78rem;
  }

  .ic-key-stat--wide .ic-key-stat__note {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    grid-column: 1 / -1;
  }

  /* Rythme bento : carte sm juste avant une wide → pleine largeur */
  .ic-key-stat--sm:has(+ .ic-key-stat--wide) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 1rem;
    min-height: 4.75rem;
  }

  .ic-key-stat--sm:has(+ .ic-key-stat--wide) .ic-key-stat__body {
    margin-top: 0;
  }

  .ic-key-stat--sm:has(+ .ic-key-stat--wide) .ic-key-stat__value {
    font-size: clamp(1.6rem, 7.5vw, 2.05rem);
  }

  .ic-key-stat--sm:has(+ .ic-key-stat--wide) .ic-key-stat__label {
    font-size: 0.8rem;
  }

  .ic-key-stat:hover {
    transform: none;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .ic-key-numbers {
    gap: 0.65rem;
  }
}

@media (min-width: 768px) {
  .ic-key-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (min-width: 1024px) {
  .ic-key-numbers {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 0.55rem;
  }

  .ic-key-stat--sm {
    grid-column: span 2;
  }

  .ic-key-stat--wide {
    grid-column: span 4;
  }
}

.ic-key-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 6.25rem;
  padding: 0.7rem 0.8rem 0.8rem;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
}

.ic-key-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  filter: brightness(1.03);
}

.ic-key-stat:focus-within {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.ic-key-stat--orange {
  background: linear-gradient(145deg, #f07a28 0%, #e85a12 100%);
}

.ic-key-stat--mauve {
  background: linear-gradient(145deg, #b07ab8 0%, #8e5a9a 100%);
}

.ic-key-stat--violet {
  background: linear-gradient(145deg, #7a3d8a 0%, #5a2468 100%);
}

.ic-key-stat--rose {
  background: linear-gradient(145deg, #c98bc8 0%, #a56aa8 100%);
}

.ic-key-stat--red {
  background: linear-gradient(145deg, #e24b4b 0%, #c62828 100%);
}

.ic-key-stat--light {
  background: linear-gradient(145deg, #ffffff 0%, #f6eef7 100%);
  color: #3b1540;
  border: 1px solid rgba(102, 19, 91, 0.12);
}

.ic-key-stat__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.ic-key-stat--light .ic-key-stat__icon-wrap {
  background: rgba(102, 19, 91, 0.06);
  box-shadow: none;
}

.ic-key-stat__cartoon {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  display: block;
}

.ic-key-stat__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: auto;
}

.ic-key-stat__value {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.ic-key-stat__prefix,
.ic-key-stat__suffix {
  font-weight: 700;
}

.ic-key-stat__label {
  margin: 0;
  max-width: 34rem;
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 550;
  opacity: 0.96;
}

.ic-key-stat__note {
  margin: 0.05rem 0 0;
  max-width: 38rem;
  font-size: 0.6rem;
  line-height: 1.35;
  opacity: 0.76;
}

.ic-key-stat--light .ic-key-stat__label {
  color: #4a1a50;
}

.ic-key-stat--light .ic-key-stat__note {
  color: #6b3a72;
  opacity: 0.9;
}

.partner-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e8dce8;
  border-radius: 9999px;
  transition:
    transform 0.28s,
    border-color 0.28s,
    box-shadow 0.28s,
    background 0.28s;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1rem;
}

.partner-card:hover {
  transform: translateY(-5px) scale(1.04);
  border-color: #d789d8;
  box-shadow: 0 14px 28px rgba(215, 137, 216, 0.24);
  background: rgba(215, 137, 216, 0.06);
}

/* Bandeaux partenaires : 2 lignes, sens opposés (même rendu mobile / desktop) */
@keyframes ic-marquee-x {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ic-partners-marquee {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  width: 100%;
}

.ic-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2.2vw, 1.35rem);
  align-items: stretch;
  justify-items: stretch;
}

.ic-partners-grid__item {
  margin: 0;
  min-width: 0;
}

.ic-partner-grid-card.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 5.5rem;
  height: 5.5rem;
  padding: 0.85rem 1rem;
  border-radius: 1.15rem;
}

.ic-partner-grid-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 3.35rem;
  object-fit: contain;
}

@media (min-width: 640px) {
  .ic-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .ic-partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ic-partner-grid-card.partner-card {
    min-height: 6.1rem;
    height: 6.1rem;
  }

  .ic-partner-grid-img {
    max-height: 3.7rem;
  }
}

@media (min-width: 1200px) {
  .ic-partners-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Zone partenaires — rythme compact, collée aux actualités */
#partenaires {
  padding-top: clamp(3.5rem, 6vw, 5rem) !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#partenaires .ic-partners-marquee,
#partenaires .ic-partners-grid {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem) !important;
}

.ic-marquee__viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.ic-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.25rem, 3.8vw, 2.2rem);
  width: max-content;
  animation-name: ic-marquee-x;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.ic-marquee__track--left {
  animation-duration: 52s;
}

.ic-marquee__track--right {
  animation-duration: 44s;
  animation-direction: reverse;
}

.ic-partners-marquee:hover .ic-marquee__track {
  animation-play-state: paused;
}

.ic-marquee__cell[aria-hidden="true"] {
  display: block;
}

.ic-marquee__cell {
  flex: 0 0 auto;
}

.ic-partner-marquee-card.partner-card {
  min-height: 7.75rem;
  height: 7.75rem;
  min-width: 12.25rem;
  max-width: 12.25rem;
  border-radius: 1.25rem;
  padding: 1rem 1.2rem;
}





.ic-partner-marquee-img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 10.5rem;
  max-height: 4.5rem;
  object-fit: contain; /* MDN: keep logo aspect ratio inside the card */
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.ic-partner-marquee-img[src$=".svg"],
.ic-partner-marquee-img[src*=".svg?"] {
  max-width: 11rem;
  max-height: 4.75rem;
}

/* La Creation Hub : fichier très paddé → même présence visuelle que Wakisha */
.ic-partner-marquee-img[src*="la_creation_hub" i],
.ic-partner-marquee-img[src*="creation_hub" i] {
  max-width: 12.5rem;
  max-height: 6.1rem;
  transform: translateZ(0) scale(1.22);
  transform-origin: center center;
}

.ic-partner-grid-img[src*="la_creation_hub" i],
.ic-partner-grid-img[src*="creation_hub" i] {
  max-width: 12.5rem;
  max-height: 6.1rem;
  transform: scale(1.18);
  transform-origin: center center;
}

/* Bandeau secteurs d'activités (défilement horizontal comme partenaires) */
.ic-sectors-marquee {
  display: block;
  width: 100%;
}

.ic-sectors-marquee:hover .ic-marquee__track {
  animation-play-state: paused;
}

.ic-sector-marquee-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 15.5rem;
  max-width: 15.5rem;
  min-height: 9.5rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
}

@media (min-width: 768px) {
  .ic-sector-marquee-card {
    min-width: 17.5rem;
    max-width: 17.5rem;
    min-height: 10rem;
    padding: 1.25rem 1.35rem;
  }
}

.ic-sectors-marquee .card-ba-box:hover h4 {
  color: rgba(255, 255, 255, 0.95) !important;
}

.ic-sectors-marquee .ic-sector-icon-wrap {
  padding: 0.35rem;
  background: transparent;
}

.ic-sectors-marquee .ic-sector-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.ic-sectors-marquee .card-ba-box:hover .ic-sector-icon {
  transform: scale(1.08);
}

@media (min-width: 768px) {
  .ic-partner-marquee-img {
    max-width: 10.6rem;
    max-height: 4.8rem;
  }

  .ic-partner-marquee-img[src*="rawbank" i] {
    max-width: 10.2rem;
    max-height: 4.3rem;
  }

  .ic-partner-marquee-img[src*="la_creation_hub" i],
  .ic-partner-marquee-img[src*="creation_hub" i] {
    max-width: 13rem;
    max-height: 6.4rem;
    transform: translateZ(0) scale(1.28);
  }

  .ic-partner-marquee-card.partner-card {
    min-height: 7.95rem;
    height: 7.95rem;
    min-width: 12.5rem;
    max-width: 12.5rem;
  }
}

@media (max-width: 767px) {
  .ic-partner-marquee-card.partner-card {
    min-height: 6.85rem;
    height: 6.85rem;
    min-width: 10.5rem;
    max-width: 10.5rem;
    padding: 0.85rem 1rem;
  }

  .ic-partner-marquee-img {
    max-width: 8.8rem;
    max-height: 3.9rem;
  }

  .ic-partner-marquee-img[src*="rawbank" i] {
    max-width: 8.6rem;
    max-height: 3.4rem;
  }

  .ic-partner-marquee-img[src*="la_creation_hub" i],
  .ic-partner-marquee-img[src*="creation_hub" i] {
    max-width: 10.5rem;
    max-height: 5.2rem;
    transform: translateZ(0) scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ic-marquee__track {
    animation: none !important;
    transform: none !important;
  }

  .ic-marquee__viewport {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.news-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8dce8;
  border-radius: 18px;
  transition:
    transform 0.32s,
    box-shadow 0.32s,
    border-color 0.32s;
}

.news-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 44px rgba(215, 137, 216, 0.26);
  border-color: #d789d8;
}

.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 55%, rgba(215, 137, 216, 0.1));
  opacity: 0;
  transition: opacity 0.32s;
}

.news-card:hover::after {
  opacity: 1;
}

/* —— Actualités simplifiées : une grille, un format —— */
.ic-press--simple .ic-press__cats--simple {
  margin-bottom: 1.75rem;
}

.ic-press-simple-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ic-press-simple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .ic-press-simple-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.ic-press-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(91, 16, 75, 0.1);
  border-radius: 0.85rem;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ic-press-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 19, 91, 0.25);
  box-shadow: 0 14px 28px rgba(79, 15, 66, 0.08);
}

.ic-press-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3eaf2;
}

.ic-press-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Logo circulaire (ex. Tujenge STEM sur /blog/) : ne pas recadrer */
.ic-press-card--logo .ic-press-card__media {
  background: #fff;
}

.ic-press-card--logo .ic-press-card__media img {
  object-fit: contain;
  padding: 0.65rem;
}

.ic-press-card:hover .ic-press-card__media img {
  transform: scale(1.04);
}

.ic-press-card--logo:hover .ic-press-card__media img {
  transform: none;
}

.ic-press-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 1.05rem 1.15rem;
}

.ic-press-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  color: #7a6a78;
}

.ic-press-card__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ic-press-card__title a {
  color: #1b1520;
  text-decoration: none;
}

.ic-press-card__title a:hover {
  color: #66135b;
}

.ic-press-card__excerpt {
  margin: 0.5rem 0 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #5c4e5a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-press-card__cta {
  margin-top: 0.75rem;
  width: fit-content;
  font-size: 0.8rem;
  font-weight: 700;
  color: #66135b;
  text-decoration: none;
}

.ic-press-card__cta:hover {
  text-decoration: underline;
}

/* Blog — mêmes cartes que Actualités + détails dossier */
.ic-blog-card__partners {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(102, 19, 91, 0.85);
  line-height: 1.35;
}

.ic-blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.ic-blog-card__tags li {
  padding: 0.28rem 0.55rem;
  border-radius: 0.35rem;
  background: rgba(102, 19, 91, 0.07);
  color: #66135b;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* —— Press desk Actualités (style plateforme US) —— */
.ic-press__toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 900px) {
  .ic-press__toolbar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.25rem;
  }
}

.ic-press__heading {
  margin: 0.65rem 0 0;
  font-family: var(--font-headline);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1b1520;
}

.ic-press__cats {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
  max-width: 100%;
}

.ic-press__cat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(91, 16, 75, 0.14);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #5c4a5a;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.ic-press__cat:hover,
.ic-press__cat.is-active {
  border-color: #66135b;
  color: #66135b;
  background: rgba(102, 19, 91, 0.06);
}

.ic-press-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #66135b;
}

.ic-press-hero {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #140f16;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.5rem;
  isolation: isolate;
}

@media (min-width: 900px) {
  .ic-press-hero {
    grid-template-columns: 1.35fr 1fr;
    min-height: 26rem;
    margin-bottom: 1.75rem;
  }
}

.ic-press-hero__media {
  position: relative;
  min-height: 14rem;
  background: #2a1f2c;
  overflow: hidden;
}

.ic-press-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.ic-press-hero:hover .ic-press-hero__media img {
  transform: scale(1.04);
}

.ic-press-hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem 1.25rem 1.5rem;
}

@media (min-width: 900px) {
  .ic-press-hero__body {
    padding: 2rem 2.1rem;
  }
}

.ic-press-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.ic-press-hero__meta .ic-press-tag {
  color: #f3c9ea;
}

.ic-press-hero__title {
  margin: 0.85rem 0 0;
  font-family: var(--font-headline);
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.ic-press-hero__excerpt {
  margin: 0.9rem 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-press-hero__cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f3c9ea;
}

.ic-press-secondary {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .ic-press-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.ic-press-rail {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(91, 16, 75, 0.1);
  border-radius: 0.85rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ic-press-rail:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 19, 91, 0.28);
  box-shadow: 0 16px 32px rgba(79, 15, 66, 0.1);
}

.ic-press-rail__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3eaf2;
}

.ic-press-rail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.ic-press-rail:hover .ic-press-rail__media img {
  transform: scale(1.04);
}

.ic-press-rail__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.05rem 1.15rem;
}

.ic-press-rail__body time {
  font-size: 0.72rem;
  color: #7a6a78;
}

.ic-press-rail__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #1b1520;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-press-rail__excerpt {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #5c4e5a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-press-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #eadfea;
}

.ic-press-row {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  padding: 1.15rem 0;
  border-bottom: 1px solid #eadfea;
}

@media (min-width: 720px) {
  .ic-press-row {
    grid-template-columns: 11.5rem minmax(0, 1fr);
    gap: 1.35rem;
    padding: 1.35rem 0;
  }
}

.ic-press-row__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.7rem;
  aspect-ratio: 16 / 11;
  background: #f3eaf2;
}

.ic-press-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ic-press-row:hover .ic-press-row__media img {
  transform: scale(1.04);
}

.ic-press-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ic-press-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  color: #7a6a78;
}

.ic-press-row__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ic-press-row__title a {
  color: #1b1520;
  text-decoration: none;
}

.ic-press-row__title a:hover {
  color: #66135b;
}

.ic-press-row__excerpt {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5c4e5a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-press-row__cta {
  margin-top: 0.7rem;
  width: fit-content;
  font-size: 0.8rem;
  font-weight: 700;
  color: #66135b;
  text-decoration: none;
}

.ic-press-row__cta:hover {
  text-decoration: underline;
}

.ic-press-empty {
  border: 1px solid #eadfea;
  border-radius: 1rem;
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: #7a6a78;
  background: rgba(0, 0, 0, 0.02);
}

.ic-video-badge--sm {
  width: 2rem;
  height: 2rem;
  font-size: 0.85rem;
}

/* —— Actualités (magazine) & Blog (liste éditoriale) —— */
.ic-news-filter {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e8dce8;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5c4a5a;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ic-news-filter:hover,
.ic-news-filter.is-active {
  border-color: var(--ic-brand, #66135b);
  color: var(--ic-brand, #66135b);
  background: rgba(102, 19, 91, 0.06);
}
.ic-news-meta {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #7a6a78;
}
.ic-news-featured {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e8dce8;
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.28s, border-color 0.28s;
}
@media (min-width: 900px) {
  .ic-news-featured {
    grid-template-columns: 1.15fr 1fr;
    min-height: 22rem;
  }
}
.ic-news-featured:hover {
  border-color: rgba(102, 19, 91, 0.35);
  box-shadow: 0 18px 40px rgba(79, 15, 66, 0.12);
}
.ic-news-featured__media {
  min-height: 14rem;
  overflow: hidden;
  background: #f3eaf2;
}
.ic-news-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.ic-news-featured:hover .ic-news-featured__media img {
  transform: scale(1.04);
}
.ic-news-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.5rem 1.75rem;
}
@media (min-width: 900px) {
  .ic-news-featured__body {
    padding: 2rem 2.25rem;
  }
}
.ic-news-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .ic-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .ic-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ic-news-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e8dce8;
  border-radius: 18px;
  background: #fff;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.ic-news-item:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 19, 91, 0.28);
  box-shadow: 0 16px 32px rgba(79, 15, 66, 0.1);
}
.ic-news-item__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f3eaf2;
}
.ic-news-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ic-news-item__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.35rem;
}
.ic-blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ic-blog-row {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid #e8dce8;
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
@media (min-width: 768px) {
  .ic-blog-row {
    grid-template-columns: 15rem 1fr;
    padding: 1.15rem;
  }
}
.ic-blog-row:hover {
  border-color: rgba(102, 19, 91, 0.3);
  box-shadow: 0 14px 28px rgba(79, 15, 66, 0.08);
}
.ic-blog-row__media {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #f3eaf2;
}
.ic-blog-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ic-blog-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.15rem 0.35rem 0.35rem;
}
.ic-blog-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  color: #7a6a78;
}

.news-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #66135b;
  background: rgba(102, 19, 91, 0.08);
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
}

#newsletter-form input.form-control,
#newsletter-form input[type="text"],
#newsletter-form input[type="email"] {
  height: 3.1rem;
  border-radius: 10px;
  border: 1.5px solid #e8dce8;
  background: #faf6fb;
  color: #1b1520;
  padding: 0 1rem;
  font-size: 0.87rem;
  width: 100%;
  transition:
    border-color 0.22s,
    box-shadow 0.22s;
}

#newsletter-form input::placeholder {
  color: #b09ab8;
}


#newsletter-form input:focus {
  outline: none;
  border-color: #66135b;
  box-shadow: 0 0 0 3px rgba(102, 19, 91, 0.1);
  background: #fff;
}

#newsletter-form .btn.btn-primary,
#newsletter-form button[type="submit"] {
  height: 3.1rem;
  padding: 0 1.75rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #66135b, #8e2f7e);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-ic);
  font-size: 0.87rem;
  white-space: nowrap;
  transition:
    transform 0.22s,
    box-shadow 0.28s;
}

#newsletter-form .btn.btn-primary:hover,
#newsletter-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(102, 19, 91, 0.28);
}

.ic-mobile-nav-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ic-mobile-nav-scroll::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.mobile-nav-chip {
  color: #8a7d91;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  border-radius: 0.85rem;
  padding: 0.35rem 0.2rem;
  min-width: 0;
  border: none;
  background: transparent;
}

.mobile-nav-chip__icon {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
}

.mobile-nav-chip__label {
  display: block;
  width: 100%;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-nav-chip i {
  color: inherit;
}

.mobile-nav-chip.ic-mnav-active,
.mobile-nav-chip.ic-mnav-active span,
.mobile-nav-chip.is-active,
.mobile-nav-chip.is-active span {
  color: #66135b;
}

.mobile-nav-chip.ic-mnav-active,
.mobile-nav-chip.is-active {
  background: rgba(102, 19, 91, 0.08);
}

.mobile-nav-chip:focus-visible {
  outline: 2px solid #66135b;
  outline-offset: 2px;
}

/* Libellé long / court pour « Nos espaces » */
.ic-mnav-label-short {
  display: none;
}

@media (max-width: 379px) {
  .ic-mnav-label-full {
    display: none;
  }

  .ic-mnav-label-short {
    display: inline;
  }
}

.mobile-nav-home {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(91, 16, 75, 0.12);
  border-radius: 999px;
  padding: 0.4rem 0.45rem;
  box-shadow: 0 10px 28px rgba(16, 18, 28, 0.16);
  width: min(100%, 26rem);
  max-width: min(96vw, 26rem);
  box-sizing: border-box;
}

.ic-mobile-nav-row {
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.15rem;
}

.ic-mobile-nav-dock .mobile-nav-chip {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  /* Cible tactile confortable (MDN / WCAG ~44px) */
  min-height: 2.75rem;
}

.hover-pop-home {
  transition:
    transform 0.22s ease,
    box-shadow 0.28s ease,
    background 0.22s ease;
}

.hover-pop-home:hover {
  transform: translateY(-3px) scale(1.04);
}

.hover-pop-home:active {
  transform: translateY(-1px) scale(0.98);
}

/* Entrée / sortie de page — transitions sobres (prod) */
html.ic-nav-ready body > main {
  animation: ic-page-enter 0.28s ease-out both;
}

html.ic-nav-leaving body > main {
  opacity: 0.88;
  transition: opacity 0.12s ease;
}

@keyframes ic-page-enter {
  from {
    opacity: 0.92;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.ic-nav-ready body > main,
  html.ic-nav-leaving body > main,
  .ic-page-back,
  .nav-link-hero,
  .mobile-nav-chip,
  .hover-pop-home {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ic-brand, #66135b);
  border: 1px solid rgba(102, 19, 91, 0.22);
  border-radius: 9999px;
  padding: 0.28rem 0.85rem;
  background: rgba(102, 19, 91, 0.055);
}

.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--ic-accent-orange, #f36c00);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(243, 108, 0, 0.18);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.eyebrow-light::before {
  background: var(--ic-accent-orange, #f36c00);
  box-shadow: 0 0 0 2px rgba(243, 108, 0, 0.28);
}

.sect-line {
  width: 44px;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    var(--ic-brand, #66135b) 0%,
    var(--ic-accent-magenta, #c44ba0) 55%,
    var(--ic-accent-orange, #f36c00) 100%
  );
}

/* Modal newsletter (Bootstrap-free) */

.ic-home-html .modal-newsletter-home {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
}

.ic-home-html .modal-newsletter-home .modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid rgba(232, 220, 232, 0.8);
  width: 80%;
  max-width: 500px;
  border-radius: 12px;
  text-align: center;
}

.ic-home-html .modal-newsletter-home .close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background: none;
  line-height: 1;
}

.ic-home-html .modal-newsletter-home .close-modal:hover {
  color: #333;
}

.lax-spin img {
  display: inline-block;
  margin-bottom: -15px;
  animation: ic-lax-spin 10s infinite linear;
}

.lax-spin:hover img {
  animation: none;
  transform: scale(1.2);
  filter: contrast(200%);
}

@keyframes ic-lax-spin {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

.btn-to-top-home {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  z-index: 35;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #66135b, #8e2f7e);
  color: #fff;
  border: none;
  text-decoration: none;
  opacity: 0.92;
  box-shadow: 0 10px 24px rgba(102, 19, 91, 0.35);
}

.btn-to-top-home:hover {
  color: #fff;
  opacity: 1;
}

@media (max-width: 767px) {
  .btn-to-top-home {
    bottom: 7.5rem;
  }
}

/* ——— Sections marketing modernisées (accueil) ——— */

.ic-stat-card-v2 {
  border-radius: 18px;
  border: 1px solid #e8dce8;
  background: #fff;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(102, 19, 91, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ic-stat-card-v2:hover {
  transform: translateY(-4px);
  border-color: #d789d8;
  box-shadow: 0 16px 32px rgba(102, 19, 91, 0.12);
}

.ic-stat-card-v2__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(102, 19, 91, 0.1), rgba(215, 137, 216, 0.18));
  color: #66135b;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.ic-stat-card-v2__value {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
  color: #66135b;
}

@media (min-width: 768px) {
  .ic-stat-card-v2__value {
    font-size: 2.15rem;
  }
}

.ic-stat-card-v2__label {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #5c4f5a;
}

.ic-odd-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid #e8dce8;
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 10px 28px rgba(102, 19, 91, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ic-odd-card--sdg {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 1.5rem;
}

@media (min-width: 480px) {
  .ic-odd-card--sdg {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
    padding: 1.75rem;
  }
}

.ic-odd-card__sdg-img {
  width: 11rem;
  height: 11rem;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ic-odd-card__content {
  flex: 1;
  min-width: 0;
}

.ic-odd-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(102, 19, 91, 0.12);
}

.ic-odd-card__badge {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8e2f7e;
  background: rgba(142, 47, 126, 0.1);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.85rem;
}

.ic-odd-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(102, 19, 91, 0.08);
  color: #66135b;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.ic-sector-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border-radius: 14px;
  border: 1px solid #eadfea;
  background: #fff;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2a1f28;
  line-height: 1.35;
  transition: border-color 0.22s, box-shadow 0.22s;
}

.ic-sector-badge:hover {
  border-color: #d789d8;
  box-shadow: 0 8px 20px rgba(102, 19, 91, 0.08);
}

.ic-sector-badge__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(102, 19, 91, 0.08);
  color: #66135b;
  font-size: 1rem;
}

.ic-program-covers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.ic-program-cover {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid #e8dce8;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 10px 28px rgba(102, 19, 91, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-align: left;
}

.ic-program-cover:hover,
.ic-program-cover:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(102, 19, 91, 0.14);
  border-color: rgba(243, 108, 0, 0.45);
  outline: none;
}

.ic-program-cover__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  max-height: 22rem;
  object-fit: contain;
  object-position: center;
  background: #fff;
  image-rendering: auto;
  -webkit-user-drag: none;
}

/* Logo circulaire (Tujenge STEM) : fond blanc + contain, jamais recadré */
.ic-program-cover--logo {
  background: #fff;
}

.ic-program-cover--logo .ic-program-cover__img {
  object-fit: contain !important;
  object-position: center;
  background: #fff;
  padding: 0.85rem;
  box-sizing: border-box;
}

.ic-program-cover__index {
  display: none;
}

.ic-program-cover__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

.ic-program-cover__caption {
  display: block;
  padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(20, 8, 18, 0.78));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
}

.ic-program-cover__action {
  display: none;
}

.ic-program-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(4.5rem, calc(env(safe-area-inset-top, 0px) + 3.75rem)) 0.85rem 0.75rem;
  box-sizing: border-box;
  pointer-events: none;
}

.ic-program-lightbox[hidden] {
  display: none !important;
}

.ic-program-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(12, 8, 14, 0.82);
  cursor: pointer;
  pointer-events: auto;
}

.ic-program-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: min(88vw, 26rem);
  max-height: calc(100vh - 5.25rem);
  max-height: calc(100dvh - 5.25rem);
  pointer-events: auto;
}

.ic-program-lightbox__img {
  display: block;
  width: auto;
  max-width: min(88vw, 26rem);
  height: auto;
  max-height: calc(100vh - 5.25rem);
  max-height: calc(100dvh - 5.25rem);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ic-program-lightbox__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.ic-lightbox-open,
.ic-lightbox-open body {
  overflow: hidden;
}

/* Empêche le header / dock de se décaler quand le scroll est verrouillé */
html.ic-lightbox-open,
html.ic-lightbox-open body {
  width: 100%;
  max-width: 100%;
  overscroll-behavior: none;
}

.ic-home-body > header.fixed,
body.ic-home-body > header {
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  transform: none;
}

.ic-home-body > header .header-shell {
  margin-left: auto;
  margin-right: auto;
}

.ic-mobile-nav-dock {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  transform: none !important;
  box-sizing: border-box;
  z-index: 40;
}

@media (min-width: 768px) {
  .ic-mobile-nav-dock {
    display: none !important;
  }
}

.ic-mobile-nav-dock .mobile-nav-home {
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 1;
  width: min(100%, 26rem);
  max-width: min(96vw, 26rem);
}

/* Tablette : boutons nav un peu plus compacts, toujours espacés */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-shell [data-nav-scope="desktop"] {
    gap: 0.45rem !important;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .header-shell .ic-nav-btn {
    min-height: 2.15rem;
    padding: 0.38rem 0.72rem;
    font-size: 0.7rem !important;
  }
}

@media (min-width: 360px) and (max-width: 767px) {
  .mobile-nav-chip__label {
    font-size: 0.62rem;
  }

  .mobile-nav-chip__icon {
    font-size: 1.15rem;
  }
}

@media (max-width: 359px) {
  .mobile-nav-chip {
    padding: 0.28rem 0.1rem;
  }

  .mobile-nav-chip__icon {
    font-size: 0.95rem;
  }

  .mobile-nav-chip__label {
    font-size: 0.52rem;
  }
}

@media (max-width: 767px) {
  .ic-program-lightbox {
    align-items: center;
    padding: max(4.5rem, calc(env(safe-area-inset-top, 0px) + 3.75rem)) 0.85rem 1rem;
  }

  .ic-program-lightbox__dialog {
    /* Colonne un peu moins haute : toute l'affiche reste visible */
    width: min(90vw, 24rem);
    max-width: min(90vw, 24rem);
    height: auto;
    max-height: calc(100dvh - 6.25rem);
  }

  .ic-program-lightbox__img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 6.25rem);
    object-fit: contain;
    object-position: center;
  }
}

@media (min-width: 768px) {
  .ic-program-lightbox {
    padding: max(5.5rem, calc(env(safe-area-inset-top, 0px) + 4.5rem)) 2rem 1.5rem;
  }

  .ic-program-lightbox__dialog {
    width: min(82vw, 50rem);
    max-width: min(82vw, 50rem);
    max-height: calc(100vh - 7.25rem);
    max-height: calc(100dvh - 7.25rem);
  }

  .ic-program-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 7.25rem);
    max-height: calc(100dvh - 7.25rem);
  }

  .ic-program-lightbox__close {
    top: -0.55rem;
    right: -0.55rem;
  }
}

@media (min-width: 1200px) {
  .ic-program-lightbox__dialog {
    width: min(62vw, 50rem);
    max-width: min(62vw, 50rem);
  }
}

@media (min-width: 768px) {
  .ic-program-covers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .ic-program-cover__img {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 18rem;
    object-fit: contain;
    background: #fff;
  }

  .ic-program-cover__index,
  .ic-program-cover__action {
    display: none !important;
  }

  .ic-program-cover--lead,
  .ic-program-cover--row {
    display: block;
  }

  .ic-program-cover--row .ic-program-cover__img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    max-height: 18rem;
    border-radius: 0;
    object-fit: contain !important;
    background: #fff;
  }

  .ic-program-cover--row .ic-program-cover__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .ic-program-cover--row .ic-program-cover__caption {
    padding: 1.4rem 1rem 0.9rem;
    background: linear-gradient(transparent, rgba(20, 8, 18, 0.78));
    color: #fff;
  }

  .ic-program-cover--row::after {
    display: none;
  }
}

.ic-flyer-page-kicker {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ic-accent-red, #e31c23);
}

.ic-flyer-page-rule {
  margin-top: 0.75rem;
  height: 2px;
  width: min(100%, 18rem);
  background: linear-gradient(
    90deg,
    var(--ic-accent-red, #e31c23),
    var(--ic-accent-orange, #f36c00),
    var(--ic-brand, #66135b)
  );
}

@media (max-width: 767px) {
  .ic-programs-catalog__head + .ic-programs-grid {
    margin-top: 2.5rem !important;
  }
}

.ic-flyer {
  scroll-margin-top: 7rem;
  padding-bottom: 0.25rem;
}

.ic-flyer__program-head {
  margin-bottom: 1.15rem;
}

.ic-flyer__program-title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #3b1540;
  line-height: 1.2;
}

.ic-flyer__program-period {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #7a5f7e;
  white-space: pre-line;
}

.ic-flyer__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: start;
}

.ic-flyer__sheet {
  background: #fff;
  border: 1px solid #ebe4ea;
  box-shadow: 0 16px 40px rgba(20, 10, 24, 0.07);
  overflow: hidden;
  min-width: 0;
}

.ic-flyer__sheet--photo {
  background: #faf7fa;
}

.ic-flyer__poster {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}

.ic-flyer__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.ic-flyer__meta {
  padding: 1rem 0 0.25rem;
}

@media (max-width: 899px) {
  .ic-flyer__program-head {
    margin-bottom: 1.35rem;
  }

  .ic-flyer__row {
    gap: 1.6rem;
  }

  .ic-flyer__side {
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .ic-flyer__program-head {
    margin-bottom: 1.35rem;
  }

  .ic-flyer__row {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.75fr);
    gap: 1.6rem;
    align-items: start;
  }

  .ic-flyer__poster {
    width: 100%;
    height: auto;
    max-height: min(70vh, 40rem);
    object-fit: contain;
    object-position: top center;
  }
}

/* Bouton Voir la vidéo / En savoir plus */
.ic-story-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin: 0;
  padding: 0.8rem 0.95rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ic-brand, #66135b) 0%, var(--ic-brand-deep, #4f0f42) 100%);
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 10px 22px rgba(102, 19, 91, 0.22),
    inset 0 -2px 0 rgba(243, 108, 0, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ic-story-btn:hover,
.ic-story-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  outline: none;
}

.ic-story-btn__icon {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.15rem;
  color: var(--ic-accent-orange, #f36c00);
}

.ic-story-btn__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.ic-story-btn__text strong {
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
}

.ic-story-btn__text small {
  font-size: 0.7rem;
  opacity: 0.85;
}

/* =========================================================
   Catalogue programmes — mise en page éditoriale
   ========================================================= */
.ic-programs-page {
  position: relative;
  isolation: isolate;
  padding: 3rem 1.25rem 4.5rem;
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(243, 108, 0, 0.07), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 20%, rgba(102, 19, 91, 0.06), transparent 50%),
    linear-gradient(180deg, #fbf8fa 0%, #ffffff 28%, #ffffff 100%);
}

.ic-programs-page__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.ic-programs-catalog__head {
  max-width: 36rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.ic-programs-catalog__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ic-accent-orange, #f36c00);
}

.ic-programs-catalog__title {
  margin: 0.65rem 0 0;
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ic-brand-deep, #4f0f42);
}

.ic-programs-catalog__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ic-accent-orange, #f36c00), var(--ic-brand, #66135b));
}

.ic-programs-catalog__lead {
  margin: 1.1rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.58);
}

.ic-programs-empty {
  margin: 2rem 0;
  text-align: center;
  color: rgba(17, 17, 17, 0.5);
}

.ic-prog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(102, 19, 91, 0.1);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 48px rgba(40, 12, 36, 0.07);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.ic-prog-card:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 26px 56px rgba(40, 12, 36, 0.11);
}

.ic-prog-card__media {
  position: relative;
  background:
    linear-gradient(160deg, #f7f2f6 0%, #fff 55%, #faf7fa 100%);
  border-bottom: 1px solid rgba(102, 19, 91, 0.08);
  padding: 1.1rem;
}

.ic-prog-card__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: contain; /* MDN: entire flyer visible, no crop */
  object-position: center top;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(40, 12, 36, 0.08);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ic-prog-card:hover .ic-prog-card__img {
  transform: translateY(-2px);
}

.ic-prog-card__panel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.05rem 1.2rem;
  background: #fff;
}

.ic-prog-card__teaser {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.62);
}

/* Teaser collé au bloc CTA / ressources (pas de marge auto qui écarte) */
.ic-prog-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0;
}

.ic-prog-card__actions .ic-program-actions {
  margin-top: 0;
}

@media (min-width: 900px) {
  .ic-programs-page {
    padding: 3.75rem 1.5rem 5.5rem;
  }

  /* Flyer dominant — panneau = hauteur du contenu (pas d’espace vide étiré) */
  .ic-prog-card {
    grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.7fr);
    align-items: start; /* MDN: items sized to content on the block axis */
    gap: 0.9rem;
  }

  .ic-prog-card__media {
    border-bottom: 0;
    border-right: 0;
    padding: 1.5rem;
    display: flex;
    align-items: center;
  }

  .ic-prog-card__panel {
    align-self: start;
    height: fit-content; /* MDN: shrink to content */
    padding: 1.1rem 1.05rem 1.15rem;
    justify-content: flex-start;
  }

  /* Catalogue : deux blocs distincts — le panneau s’arrête après CTA / ressources */
  .ic-programs-grid--catalog .ic-prog-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .ic-programs-grid--catalog .ic-prog-card:hover {
    box-shadow: none;
    transform: none;
  }

  .ic-programs-grid--catalog .ic-prog-card__media {
    border: 1px solid rgba(102, 19, 91, 0.1);
    border-radius: 1.35rem;
    background:
      linear-gradient(160deg, #f7f2f6 0%, #fff 55%, #faf7fa 100%);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.8) inset,
      0 18px 48px rgba(40, 12, 36, 0.07);
  }

  .ic-programs-grid--catalog .ic-prog-card:hover .ic-prog-card__media {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 26px 56px rgba(40, 12, 36, 0.11);
  }

  .ic-programs-grid--catalog .ic-prog-card__panel {
    border: 1px solid rgba(102, 19, 91, 0.1);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(40, 12, 36, 0.06);
  }

  /* Pas d’alternance : lecture stable, flyer toujours à gauche */
  .ic-programs-grid--catalog .ic-programs-grid__item:nth-child(even) .ic-prog-card {
    grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.7fr);
  }

  .ic-programs-grid--catalog .ic-programs-grid__item:nth-child(even) .ic-prog-card__media {
    order: 0;
    border-left: 1px solid rgba(102, 19, 91, 0.1);
    border-right: 1px solid rgba(102, 19, 91, 0.1);
  }

  .ic-programs-grid--catalog .ic-programs-grid__item:nth-child(even) .ic-prog-card__panel {
    order: 0;
  }
}

/* Popup vidéo + description — compact sur desktop */
.ic-story-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(4.25rem, calc(env(safe-area-inset-top, 0px) + 3.25rem)) 0.85rem 1rem;
  box-sizing: border-box;
}

.ic-story-modal[hidden] {
  display: none !important;
}

.ic-story-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(12, 8, 14, 0.72);
  cursor: pointer;
}

.ic-story-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 50rem);
  max-height: min(94dvh, 60rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.95rem;
  background: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  padding: 1.35rem 1.35rem 1.5rem;
}

.ic-story-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #f3eaf2;
  color: #3b1540;
  cursor: pointer;
}

.ic-story-modal__title {
  margin: 0 2.4rem 0.85rem 0;
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 800;
  color: #3b1540;
  line-height: 1.25;
}

.ic-story-modal__media {
  margin-bottom: 0.85rem;
}

.ic-story-modal__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #111;
}

.ic-story-modal__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ic-story-modal__video-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.ic-story-modal__video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ic-brand, #66135b);
  text-decoration: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.ic-story-modal__video-link:hover {
  text-decoration: underline;
}

.ic-story-modal__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4a3a48;
}

.ic-story-open,
.ic-story-open body {
  overflow: hidden;
}

@media (min-width: 768px) {
  .ic-story-modal {
    padding: max(5rem, calc(env(safe-area-inset-top, 0px) + 4rem)) 1.25rem 1.5rem;
  }

  .ic-story-modal__dialog {
    width: min(100%, 56rem);
    max-height: min(92vh, 60rem);
    padding: 1.85rem 2rem 2rem;
  }

  .ic-story-modal--with-video .ic-story-modal__dialog {
    width: min(100%, 70rem);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    grid-template-areas:
      "title title"
      "media body";
    gap: 1.45rem 1.9rem;
    align-items: start;
  }

  .ic-story-modal--with-video .ic-story-modal__title {
    grid-area: title;
    margin-bottom: 0;
    font-size: 1.55rem;
  }

  .ic-story-modal--with-video .ic-story-modal__media {
    grid-area: media;
    margin-bottom: 0;
  }

  .ic-story-modal--with-video .ic-story-modal__body {
    grid-area: body;
    max-height: 28rem;
    overflow: auto;
    padding-right: 0.3rem;
  }

  .ic-story-modal__text {
    font-size: 1.02rem;
    line-height: 1.7;
  }
}

.ic-flyer__head {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem) 0;
}

.ic-flyer__period {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  white-space: pre-line;
}

.ic-flyer__brand {
  text-align: center;
}

.ic-flyer__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.05;
}

.ic-flyer--mozalisi .ic-flyer__title {
  background: linear-gradient(90deg, #f37021, #ffd200);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ic-flyer--pro-congo .ic-flyer__title {
  color: #1f8a4c;
}

.ic-flyer__subtitle {
  margin: 0.4rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #b31b2c;
}

.ic-flyer__wordmark {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: #111;
}

.ic-flyer__wordmark-stem {
  display: inline-flex;
  font-weight: 900;
}

.ic-flyer__wordmark-stem .stem-s { color: #1d7fbf; }
.ic-flyer__wordmark-stem .stem-t { color: #f0a31a; }
.ic-flyer__wordmark-stem .stem-e { color: #c1262d; }
.ic-flyer__wordmark-stem .stem-m {
  background: linear-gradient(135deg, #1d7fbf 0 28%, #f0a31a 28% 48%, #c1262d 48% 72%, #1d7fbf 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ic-flyer__oc-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: left;
}

.ic-flyer__oc-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  background: #f36c00;
  transform: rotate(45deg);
  border-radius: 0.35rem;
  position: relative;
}

.ic-flyer__oc-mark::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 999px;
  background: #fff;
}

.ic-flyer__oc-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #111;
}

.ic-flyer__oc-title span {
  color: #f36c00;
}

.ic-flyer__oc-tag {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #333;
}

.ic-flyer__partners {
  text-align: center;
}

.ic-flyer__partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.1rem;
}

.ic-flyer__partner-logo {
  display: block;
  max-height: 2.8rem;
  max-width: 7.5rem;
  width: auto;
  object-fit: contain;
}

.ic-flyer__partner-caption {
  margin: 0.55rem auto 0;
  max-width: 16rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #444;
}

.ic-flyer__body {
  padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1rem, 4vw, 2.5rem) clamp(1.2rem, 3vw, 1.6rem);
}

.ic-flyer__copy {
  margin: 0 auto;
  max-width: 46rem;
  text-align: center;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 700;
  line-height: 1.55;
  color: #111;
}

.ic-flyer__copy + .ic-flyer__copy {
  margin-top: 0.9rem;
}

.ic-flyer__aims-intro {
  margin: 1rem auto 0.4rem;
  max-width: 40rem;
  text-align: center;
  font-weight: 800;
  color: #111;
}

.ic-flyer__aims {
  margin: 0.5rem auto 0;
  max-width: 38rem;
  padding-left: 1.2rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: #222;
}

.ic-flyer__aims li + li {
  margin-top: 0.35rem;
}

.ic-flyer__bars {
  display: grid;
  grid-template-columns: 1fr;
}

.ic-flyer__bars--wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem;
  background: #faf7f8;
}

.ic-flyer__bars--wrap .ic-flyer__bar {
  min-height: 2.2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.35rem;
  font-size: 0.78rem;
}

.ic-flyer__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 0.75rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  background: #66135b;
}

.ic-flyer__bar--science { background: #59c4e8; }
.ic-flyer__bar--tech { background: #f0a31a; }
.ic-flyer__bar--eng { background: #c1262d; }
.ic-flyer__bar--math { background: #0f4c5c; }
.ic-flyer__bar--oc1 { background: #f36c00; }
.ic-flyer__bar--oc2 { background: #1d4f91; }
.ic-flyer__bar--oc3 { background: #2f9e44; }
.ic-flyer__bar--oc4 { background: #e0a800; }
.ic-flyer__bar--oc5 { background: #7b2cbf; }
.ic-flyer__bar--oc6 { background: #111111; }
.ic-flyer__bar--rev1 { background: #1aa6a0; }
.ic-flyer__bar--rev2 { background: #f36c00; }
.ic-flyer__bar--rev3 { background: #111111; }
.ic-flyer__bar--moz1,
.ic-flyer__bar--moz4,
.ic-flyer__bar--moz7,
.ic-flyer__bar--moz10,
.ic-flyer__bar--moz13 { background: #b7312e; }
.ic-flyer__bar--moz2,
.ic-flyer__bar--moz5,
.ic-flyer__bar--moz8,
.ic-flyer__bar--moz11 { background: #d86b31; }
.ic-flyer__bar--moz3,
.ic-flyer__bar--moz6,
.ic-flyer__bar--moz9,
.ic-flyer__bar--moz12 { background: #f5a63f; }
.ic-flyer__bar--bok1 { background: #c1262d; }
.ic-flyer__bar--bok2 { background: #2f6fed; }
.ic-flyer__bar--bok3 { background: #e35d8c; }
.ic-flyer__bar--elikya1 { background: #c1262d; }
.ic-flyer__bar--elikya2 { background: #9a8bb8; }
.ic-flyer__bar--elikya3 { background: #1d4f91; }
.ic-flyer__bar--pro1 { background: #1f5c3a; }
.ic-flyer__bar--pro2 { background: #2f9e44; }
.ic-flyer__bar--pro3 { background: #69b578; }
.ic-flyer__bar--pro4 { background: #6b3a2a; }
.ic-flyer__bar--pro5 { background: #a8d5b5; color: #12301c; }

.ic-flyer__meta {
  padding: 1rem 0 0.25rem;
}

@media (min-width: 768px) {
  .ic-flyer__head {
    grid-template-columns: minmax(7rem, 1fr) minmax(14rem, 2.2fr) minmax(9rem, 1.2fr);
    align-items: center;
  }

  .ic-flyer__period {
    text-align: left;
  }

  .ic-flyer__partners {
    text-align: right;
  }

  .ic-flyer__partner-row {
    justify-content: flex-end;
  }

  .ic-flyer__partner-caption {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
  }

  .ic-flyer__bars:not(.ic-flyer__bars--wrap) {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
}

.ic-program-flyer__section-head {
  text-align: left;
}

.ic-program-flyer__section-title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b31b2c;
  line-height: 1.1;
}

.ic-program-flyer__section-rule {
  margin-top: 0.85rem;
  height: 2px;
  width: 100%;
  background: #b31b2c;
}

.ic-program-flyer {
  background: #fff;
  border: 1px solid #ece7ec;
  box-shadow: 0 12px 36px rgba(20, 12, 28, 0.06);
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.1rem, 3vw, 2.2rem) 0;
  overflow: hidden;
}

.ic-program-flyer--featured {
  border-color: #f0d7db;
  box-shadow: 0 18px 44px rgba(179, 27, 44, 0.08);
}

.ic-program-flyer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

.ic-program-flyer__year {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.02em;
}

.ic-program-flyer__brand {
  text-align: center;
}

.ic-program-flyer__wordmark {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
  color: #111;
}

.ic-program-flyer__wordmark-stem {
  display: inline-flex;
  font-weight: 900;
}

.ic-program-flyer__wordmark-stem .stem-s { color: #1d7fbf; }
.ic-program-flyer__wordmark-stem .stem-t { color: #f0a31a; }
.ic-program-flyer__wordmark-stem .stem-e { color: #c1262d; }
.ic-program-flyer__wordmark-stem .stem-m {
  background: linear-gradient(135deg, #1d7fbf 0 28%, #f0a31a 28% 48%, #c1262d 48% 72%, #1d7fbf 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ic-program-flyer--tujenge {
  border-color: #f3d4d7;
}

.ic-program-flyer__logo {
  display: block;
  margin: 0 auto 0.65rem;
  max-width: min(100%, 22rem);
  max-height: 5.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ic-program-flyer__name {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.05;
}

.ic-program-flyer__subtitle {
  margin: 0.45rem 0 0;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #b31b2c;
}

.ic-program-flyer__partners {
  text-align: center;
}

.ic-program-flyer__partner-logo {
  display: block;
  margin: 0 auto;
  max-height: 3.6rem;
  max-width: 11rem;
  width: auto;
  object-fit: contain;
}

.ic-program-flyer__partner-caption {
  margin: 0.55rem auto 0;
  max-width: 16rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #444;
}

.ic-program-flyer__copy {
  margin: clamp(1.4rem, 3vw, 2rem) auto 0;
  max-width: 48rem;
  text-align: center;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 700;
  line-height: 1.55;
  color: #111;
}

.ic-program-flyer__bars {
  display: grid;
  grid-template-columns: 1fr;
  margin: clamp(1.5rem, 3vw, 2.2rem) calc(-1 * clamp(1.1rem, 3vw, 2.2rem)) 0;
}

.ic-program-flyer__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: #66135b;
}

.ic-program-flyer__bar--science { background: #59c4e8; }
.ic-program-flyer__bar--tech { background: #f0a31a; }
.ic-program-flyer__bar--eng { background: #c1262d; }
.ic-program-flyer__bar--math { background: #0f4c5c; }

.ic-program-flyer__bars--generic .ic-program-flyer__bar:nth-child(1) { background: #59c4e8; }
.ic-program-flyer__bars--generic .ic-program-flyer__bar:nth-child(2) { background: #f0a31a; }
.ic-program-flyer__bars--generic .ic-program-flyer__bar:nth-child(3) { background: #c1262d; }
.ic-program-flyer__bars--generic .ic-program-flyer__bar:nth-child(4) { background: #0f4c5c; }

.ic-program-flyer__actions {
  display: flex;
  justify-content: center;
  padding: 1rem 0 1.25rem;
}

.ic-program-flyer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #b31b2c;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.ic-program-flyer__link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .ic-program-flyer__top {
    grid-template-columns: minmax(6rem, 1fr) minmax(12rem, 2.2fr) minmax(8rem, 1.2fr);
    align-items: center;
    gap: 1rem;
  }

  .ic-program-flyer__year {
    text-align: left;
    font-size: 1.2rem;
  }

  .ic-program-flyer__partners {
    text-align: right;
  }

  .ic-program-flyer__partner-logo {
    margin-left: auto;
    margin-right: 0;
  }

  .ic-program-flyer__partner-caption {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
  }

  .ic-program-flyer__bars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ic-program-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid #e8dce8;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(102, 19, 91, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ic-program-card--photo {
  padding: 0;
  overflow: hidden;
}

.ic-program-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25rem;
  padding: 0.75rem 1rem;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #e8dce8;
}

.ic-program-card__photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.ic-program-card__media .ic-status-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.ic-program-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.ic-programs-grid {
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.ic-programs-grid__item {
  width: 100%;
  min-width: 0;
}

@media (max-width: 767px) {
  .ic-programs-grid {
    gap: 2.25rem;
  }

  .ic-program-actions {
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 768px) {
  .ic-programs-grid {
    gap: 3.5rem;
  }

  .ic-programs-grid--catalog {
    display: flex;
    flex-direction: column;
    gap: 3.75rem;
  }
}

/* Catalogue — pleine largeur, affiche nette */
.ic-programs-grid--catalog .ic-prog-card {
  height: auto;
}

.ic-programs-grid--catalog .ic-prog-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: auto;
  min-height: 0;
  overflow: visible;
}

.ic-programs-grid--catalog .ic-prog-card__img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

.ic-programs-grid--catalog .ic-prog-card__panel {
  min-width: 0;
}

.ic-prog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.35rem;
}

.ic-prog-card__meta .ic-prog-card__period {
  margin: 0;
}

/* Badge statut — sceau coloré sur l’affiche */
.ic-prog-card__media > .ic-prog-status {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
}

.ic-prog-status {
  --ic-status-fg: #fff;
  --ic-status-bg-a: #15803d;
  --ic-status-bg-b: #16a34a;
  --ic-status-shadow: rgba(21, 128, 61, 0.38);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  max-width: calc(100% - 1.7rem);
  padding: 0.42rem 0.78rem 0.42rem 0.48rem;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ic-status-fg);
  background: linear-gradient(135deg, var(--ic-status-bg-a) 0%, var(--ic-status-bg-b) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 18px var(--ic-status-shadow);
}

.ic-prog-status__glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.ic-prog-status__mark,
.ic-prog-status__text {
  position: relative;
  z-index: 1;
}

.ic-prog-status__mark {
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  color: var(--ic-status-bg-a);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.ic-prog-status__live {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--ic-status-bg-b);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  animation: ic-status-live 1.7s ease-out infinite;
}

.ic-prog-status__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.ic-prog-status--en_cours {
  --ic-status-bg-a: #147a3c;
  --ic-status-bg-b: #22c55e;
  --ic-status-shadow: rgba(20, 122, 60, 0.4);
}

.ic-prog-status--termine {
  --ic-status-bg-a: #b91c1c;
  --ic-status-bg-b: #ef4444;
  --ic-status-shadow: rgba(185, 28, 28, 0.4);
}

.ic-prog-status--a_venir {
  --ic-status-bg-a: #5b104b;
  --ic-status-bg-b: #8b2a74;
  --ic-status-shadow: rgba(91, 16, 75, 0.38);
}

.ic-prog-status--appel {
  --ic-status-bg-a: #c2410c;
  --ic-status-bg-b: #f97316;
  --ic-status-shadow: rgba(194, 65, 12, 0.38);
}

@keyframes ic-status-live {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70% { box-shadow: 0 0 0 0.45rem rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ic-prog-status__live {
    animation: none;
  }
}

.ic-programs-grid--catalog .ic-program-videos__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 1100px) {
  .ic-programs-grid--catalog .ic-program-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ic-programs-grid--catalog .ic-program-videos__grid > .ic-program-video:only-child {
    grid-column: 1 / -1;
  }
}

.ic-program-video__embed {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #111;
}

.ic-program-video__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ic-program-video__embed:hover .ic-program-video__thumb {
  transform: scale(1.04);
}

.ic-program-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 17, 17, 0.45) 100%);
  color: #fff;
  font-size: 2.4rem;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.ic-program-video__play i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.ic-program-video__embed:hover .ic-program-video__play i {
  transform: scale(1.08);
}

.ic-program-card:hover {
  transform: translateY(-3px);
  border-color: #d789d8;
  box-shadow: 0 14px 32px rgba(102, 19, 91, 0.11);
}

.ic-program-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ic-program-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(102, 19, 91, 0.12), rgba(215, 137, 216, 0.2));
  color: #66135b;
  font-size: 1.15rem;
}

.ic-program-card__period {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8e2f7e;
}

.ic-program-card__period .bi {
  margin-right: 0.25rem;
}

.ic-status-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

.ic-status-badge--en_cours {
  background: rgba(22, 163, 74, 0.14);
  color: #15803d;
}

.ic-status-badge--termine {
  background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}

.ic-status-badge--a_venir {
  background: rgba(102, 19, 91, 0.1);
  color: #66135b;
}

.ic-status-badge--appel {
  background: rgba(230, 126, 34, 0.14);
  color: #b35a12;
}

.ic-program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ic-program-tag {
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  background: #f3eaf2;
  color: #5c3f56;
}

.ic-program-tag--more {
  background: rgba(102, 19, 91, 0.12);
  color: #66135b;
}

.ic-program-filter {
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid #e0d0df;
  background: #fff;
  color: #5c4f5a;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ic-program-filter:hover,
.ic-program-filter.is-active {
  background: #66135b;
  border-color: #66135b;
  color: #fff;
}

.ic-program-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #66135b;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.ic-program-detail-btn:hover {
  color: #8e2f7e;
}

.ic-program-panel {
  margin-top: 1rem;
  border-top: 1px solid #eadfea;
  padding-top: 1rem;
}

.ic-program-panel__inner {
  border-radius: 12px;
  background: #faf6f9;
  padding: 1rem;
}

.ic-program-panel-close {
  font-size: 0.78rem;
  font-weight: 600;
  color: #66135b;
  background: none;
  border: 1px solid #d789d8;
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.ic-program-actions {
  /* Charte IC : violet principal + accents orange / magenta */
  --ic-brand: #66135b;
  --ic-brand-deep: #4f0f42;
  --ic-accent-orange: #f36c00;
  --ic-accent-magenta: #c44ba0;
  --ic-ink: #111111;
  margin-top: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid #eadfea;
  border-left: 3px solid var(--ic-accent-orange);
  background: linear-gradient(165deg, #ffffff 0%, #faf6f9 100%);
  box-shadow: 0 8px 22px rgba(40, 12, 36, 0.05);
}

.ic-program-actions--compact {
  margin-top: 0;
}

.ic-programs-grid--catalog .ic-program-actions {
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(102, 19, 91, 0.1);
  border-left: 3px solid var(--ic-accent-orange, #f36c00);
  background: #fbf8fa;
  box-shadow: none;
}

.ic-programs-grid--catalog .ic-program-actions__site {
  border-radius: 0.75rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ic-programs-grid--catalog .ic-program-actions__site:hover {
  transform: translateY(-1px);
}

.ic-programs-grid--catalog .ic-story-btn {
  border-radius: 0.9rem;
}

.ic-program-actions__label {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ic-accent-magenta);
}

.ic-program-actions__site {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ic-brand) 0%, var(--ic-brand-deep) 100%);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 22px rgba(102, 19, 91, 0.22);
}

.ic-program-actions__site:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(102, 19, 91, 0.28);
  color: #fff;
}

.ic-program-actions__site--videos {
  margin: 0;
  border: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
  background: linear-gradient(135deg, #8e1f2f 0%, #c62828 48%, #e53935 100%);
  box-shadow: 0 10px 22px rgba(198, 40, 40, 0.28);
}

.ic-program-actions__site--videos:hover,
.ic-program-actions__site--videos:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(198, 40, 40, 0.34);
  outline: none;
  color: #fff;
}

.ic-program-actions__site--videos .ic-program-actions__chevron {
  transition: transform 0.28s ease;
}

.ic-program-videos-toggle.is-open .ic-program-actions__site--videos .ic-program-actions__chevron {
  transform: rotate(180deg);
}

.ic-program-videos-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ic-program-videos-panel {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(198, 40, 40, 0.18);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(229, 57, 53, 0.08), transparent 55%),
    linear-gradient(180deg, #fff8f8 0%, #fff 100%);
  padding: 0.85rem;
  animation: ic-videos-panel-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ic-program-videos-panel[hidden] {
  display: none !important;
}

@keyframes ic-videos-panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ic-program-videos-panel {
    animation: none;
  }
  .ic-program-actions__site--videos .ic-program-actions__chevron {
    transition: none;
  }
}

.ic-program-actions__site-icon {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
}

.ic-program-actions__site-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.ic-program-actions__site-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.ic-program-actions__site-text small {
  font-size: 0.72rem;
  opacity: 0.82;
  line-height: 1.2;
}

.ic-program-actions__chevron {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--ic-accent-orange);
}

.ic-program-actions__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.ic-program-actions__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #eadfea;
  background: #fff;
  color: var(--ic-ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ic-program-actions__social-link i {
  font-size: 0.95rem;
  line-height: 1;
  color: var(--ic-brand);
}

.ic-program-actions__social-link:hover {
  transform: translateY(-1px);
  color: #fff;
}

.ic-program-actions__social-link:hover i {
  color: #fff;
}

.ic-program-actions__social-link--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.ic-program-actions__social-link--instagram:hover {
  background: #e4405f;
  border-color: #e4405f;
}

.ic-program-actions__social-link--linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.ic-program-actions__social-link--twitter:hover,
.ic-program-actions__social-link--x:hover {
  background: #111;
  border-color: #111;
}

.ic-program-actions__social-link--youtube:hover {
  background: #e31c23;
  border-color: #e31c23;
}

/* Ancien style conservé pour compat éventuelle */
.ic-program-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: 0.85rem;
}

.ic-program-links--compact {
  margin-top: 0.65rem;
}

.ic-program-links__site {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #eadfea;
  background: #faf6f9;
  color: #66135b;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ic-program-links__site:hover {
  background: #66135b;
  border-color: #66135b;
  color: #fff;
}

.ic-program-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ic-program-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #eadfea;
  background: #fff;
  color: #66135b;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ic-program-social__link:hover {
  transform: translateY(-2px);
  background: #66135b;
  border-color: #66135b;
  color: #fff;
}

.ic-program-social__link--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.ic-program-social__link--instagram:hover {
  background: #e4405f;
  border-color: #e4405f;
}

.ic-program-social__link--linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.ic-program-social__link--twitter:hover {
  background: #000;
  border-color: #000;
}

.ic-program-social__link--youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.ic-program-videos {
  margin-top: 1rem;
}

.ic-program-videos__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: #66135b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ic-program-videos__heading::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #e31c23; /* rouge charte */
  flex-shrink: 0;
}

.ic-program-videos--side {
  margin-top: 0;
}

.ic-program-videos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* 2 vidéos = même ligne ; 1 vidéo = pleine largeur */
@media (min-width: 640px) {
  .ic-program-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .ic-program-videos__grid > .ic-program-video:only-child {
    grid-column: 1 / -1;
  }
}

.ic-program-video {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eadfea;
  background: #fff;
}

.ic-program-video__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.ic-program-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ic-program-video__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a1026 0%, #66135b 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 2.75rem;
}

.ic-program-video__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #66135b;
  text-decoration: none;
  line-height: 1.3;
}

.ic-program-video__title:hover {
  color: #8e2f7e;
  text-decoration: underline;
}

.ic-program-feature-card__more {
  display: inline-flex;
}

.ic-journey-step {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem 0.85rem 1rem 1rem;
  backdrop-filter: blur(4px);
  min-height: 7.5rem;
}

.ic-journey-step__num {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  font-family: var(--font-ic);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
}

.ic-journey-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f0d4ef;
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.ic-offer-card {
  border-radius: 18px;
  border: 1px solid #e8dce8;
  background: #fff;
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(102, 19, 91, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ic-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(102, 19, 91, 0.11);
}

.ic-offer-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(102, 19, 91, 0.12), rgba(215, 137, 216, 0.22));
  color: #66135b;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.ic-partner-ad-type {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid #eadfea;
  background: #fff;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a3d48;
}

.ic-partner-ad-type .bi {
  color: #66135b;
  font-size: 0.95rem;
}

.ic-partner-ad-card {
  border-radius: 18px;
  border: 1px solid #e8dce8;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(102, 19, 91, 0.06);
}

.ic-partner-ad-card__img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.ic-partner-ad-card__body {
  padding: 1.25rem;
}

.ic-partner-ad-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: rgba(102, 19, 91, 0.1);
  color: #66135b;
}

.ic-partner-ad-cta {
  border-radius: 16px;
  border: 1px dashed #d789d8;
  background: #faf6f9;
  padding: 2rem 1.5rem;
}

.ic-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--ic-brand, #66135b), var(--ic-brand-soft, #8e2f7e));
  color: var(--ic-white, #fff);
  font-weight: 700;
  font-family: var(--font-ic);
  font-size: 0.88rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  transition: transform 0.22s, box-shadow 0.28s, filter 0.22s;
  box-shadow:
    0 10px 24px rgba(102, 19, 91, 0.28),
    inset 0 -2px 0 rgba(243, 108, 0, 0.55);
}

.ic-cta-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 14px 28px rgba(102, 19, 91, 0.35),
    inset 0 -2px 0 rgba(243, 108, 0, 0.75);
}

.ic-cta-btn i {
  color: var(--ic-accent-orange, #f36c00);
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ——— Catalogue formations (niveau A) ——— */
.ic-formation-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(102, 19, 91, 0.1);
  box-shadow: 0 8px 24px rgba(45, 10, 53, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ic-formation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(45, 10, 53, 0.1);
}

.ic-formation-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f3e8f1, #e8d4e6);
}

.ic-formation-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ic-formation-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3rem;
  color: #8e2f7e;
  opacity: 0.55;
}

.ic-formation-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #66135b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ic-formation-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.5rem;
}

.ic-formation-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8e2f7e;
  margin-bottom: 0.35rem;
}

.ic-formation-card__cta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #66135b;
  text-decoration: none;
}

.ic-formation-card__cta:hover {
  text-decoration: underline;
}

.ic-formation-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  color: #6b5a68;
}

.ic-formation-empty i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  color: #a16497;
}

.ic-formation-detail__media {
  border-radius: 16px;
  overflow: hidden;
  background: #1a1020;
}

.ic-formation-detail__video,
.ic-formation-detail__cover {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.ic-formation-detail__placeholder {
  min-height: 240px;
}

/* ——— Catalogue : recherche et filtres ——— */
.ic-catalog-search__row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 42rem;
  position: relative;
}

.ic-catalog-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 23, 42, 0.45);
  pointer-events: none;
  z-index: 1;
}

.ic-catalog-search__input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font-size: 0.95rem;
}

.ic-catalog-search__input:focus {
  outline: 2px solid rgba(99, 102, 241, 0.35);
  border-color: transparent;
}

.ic-catalog-search__btn {
  flex-shrink: 0;
  border-radius: 999px !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.ic-catalog-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.ic-catalog-chip:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.ic-catalog-chip--active {
  background: var(--ic-primary, #4f46e5);
  border-color: transparent;
  color: #fff;
}

.ic-catalog-group {
  margin-bottom: 2.5rem;
}

.ic-catalog-group__title {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ic-catalog-group__count {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.ic-formation-program__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fafafa;
}

.ic-formation-program__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  color: var(--ic-primary, #4f46e5);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ——— Lecteur formation (OpenClassroom) ——— */
.ic-learn-body {
  background: #f4f6f8;
  min-height: 100vh;
}

.ic-learn-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.ic-learn-topbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.ic-learn-topbar__back,
.ic-learn-topbar__info {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ic-primary, #4f46e5);
  text-decoration: none;
}

.ic-learn-topbar__back {
  justify-self: start;
}

.ic-learn-topbar__info {
  justify-self: end;
}

.ic-learn-topbar__course {
  text-align: center;
  min-width: 0;
}

.ic-learn-topbar__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ic-learn-topbar__progress {
  font-size: 0.85rem;
  font-weight: 700;
}

.ic-learn-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 56px);
}

.ic-learn-sidebar {
  background: #fff;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.25rem 0;
  overflow-y: auto;
}

.ic-learn-sidebar__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(15, 23, 42, 0.45);
  padding: 0 1.25rem 0.75rem;
}

.ic-learn-chapters {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ic-learn-chapters__link {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
  border-left: 3px solid transparent;
}

.ic-learn-chapters__item--active .ic-learn-chapters__link {
  background: rgba(99, 102, 241, 0.08);
  border-left-color: var(--ic-primary, #4f46e5);
  font-weight: 600;
}

.ic-learn-chapters__num {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
}

.ic-learn-chapters__done {
  flex-shrink: 0;
  color: #16a34a;
  font-size: 1.1rem;
}

.ic-learn-main {
  padding: 1.5rem 2rem 3rem;
}

.ic-learn-content__meta {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(15, 23, 42, 0.45);
}

.ic-learn-content__title {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.ic-learn-content__desc {
  margin-top: 0.75rem;
  color: rgba(15, 23, 42, 0.65);
  max-width: 48rem;
}

.ic-learn-player {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

.ic-learn-player__video {
  width: 100%;
  display: block;
  max-height: 70vh;
}

.ic-learn-player--empty {
  padding: 3rem;
  text-align: center;
  background: #e8eaed;
  color: rgba(15, 23, 42, 0.5);
}

.ic-learn-player--empty i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.ic-learn-text {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.ic-learn-nav {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ic-learn-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 600;
}

.ic-learn-nav__btn--prev {
  color: var(--ic-primary, #4f46e5);
}

.ic-learn-nav__form {
  margin-left: auto;
}

@media (max-width: 900px) {
  .ic-learn-layout {
    grid-template-columns: 1fr;
  }

  .ic-learn-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    max-height: 220px;
  }

  .ic-learn-main {
    padding: 1rem 1rem 2rem;
  }

  .ic-catalog-search__row {
    flex-direction: column;
  }

  .ic-catalog-search__btn {
    width: 100%;
    justify-content: center;
  }
}

/* Blog — page éditoriale et articles */
.ic-page-shell--static:hover {
  transform: none;
  box-shadow: none;
  border-color: #e8dce8;
}

.ic-blog-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ic-blog-pillars__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #eadfea;
  background: #faf6fb;
  color: #66135b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ic-blog-pillars__item i {
  font-size: 0.95rem;
}

.ic-news-featured__media,
.ic-news-item__media {
  position: relative;
}

.ic-video-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(102, 19, 91, 0.92);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(79, 15, 66, 0.28);
}

.ic-article-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a3d48;
  font-weight: 500;
  padding-bottom: 1.1rem;
  margin: 0;
  border-bottom: 1px solid #eadfea;
}

.ic-article-video {
  margin: 1.5rem 0 0;
}

.ic-article-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #1b1520;
}

.ic-article-video__frame iframe,
.ic-article-video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}

.ic-article-video__player {
  position: static;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #1b1520;
}

.ic-article-video__caption {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: #7a6a78;
}

.ic-article-body iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 14px;
  margin: 1.25rem 0;
}

.ic-article-gallery {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ic-article-gallery img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-radius: 12px;
}

.ic-linkedin-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  background: #0a66c2;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.ic-linkedin-cta:hover {
  color: #fff;
  filter: brightness(1.06);
}

/* Chronique éditoriale (style magazine / blog US) */
.ic-blog-dossiers {
  margin-top: 0.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #eadfea;
}

.ic-blog-dossiers--solo {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.ic-blog-dossiers__intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* Grille asymétrique type magazine US 2026 — photo dominante */
.ic-blog-spread {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .ic-blog-spread {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 1.5rem 1.35rem;
  }

  .ic-blog-spread__card--1 {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
  }

  .ic-blog-spread__card--2 {
    grid-column: 8 / span 5;
    grid-row: 1;
  }

  .ic-blog-spread__card--3 {
    grid-column: 8 / span 5;
    grid-row: 2;
  }
}

.ic-blog-spread__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0.65rem;
  background: #1b1520;
  color: #fff;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  isolation: isolate;
  min-height: 17rem;
  width: 100%;
  padding: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ic-blog-spread__card:hover,
.ic-blog-spread__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(27, 21, 32, 0.22);
  outline: none;
}

.ic-blog-spread__card:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #66135b, 0 18px 40px rgba(27, 21, 32, 0.22);
}

.ic-blog-spread__card--1 {
  min-height: 22rem;
}

@media (min-width: 768px) {
  .ic-blog-spread__card--1 {
    min-height: 100%;
  }
}

.ic-blog-spread__media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
  pointer-events: none;
}

.ic-blog-spread__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 21, 32, 0.08) 0%, rgba(27, 21, 32, 0.55) 48%, rgba(27, 21, 32, 0.92) 100%);
}

.ic-blog-spread__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.55s ease;
}

.ic-blog-spread__card:hover .ic-blog-spread__media img {
  transform: scale(1.06);
}

.ic-blog-spread__copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.35rem 1.25rem 1.4rem;
}

.ic-blog-spread__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ic-blog-spread__name {
  margin: 0.55rem 0 0;
  font-family: var(--font-headline);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.ic-blog-spread__card--1 .ic-blog-spread__name {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.ic-blog-spread__teaser {
  margin: 0.65rem 0 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.ic-blog-spread__card--2 .ic-blog-spread__teaser,
.ic-blog-spread__card--3 .ic-blog-spread__teaser {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-blog-spread__cta {
  display: inline-flex;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f3c9ea;
  border-bottom: 1px solid rgba(243, 201, 234, 0.45);
  padding-bottom: 0.12rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ic-blog-spread__card:hover .ic-blog-spread__cta {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

/* Essays dossiers (legacy) */
.ic-blog-essay {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

/* Blog — dossiers éditoriaux (liste claire) */
.ic-blog-features {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.ic-blog-feature {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}

@media (min-width: 768px) {
  .ic-blog-feature {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: center;
  }

  .ic-blog-feature:nth-child(even) .ic-blog-feature__media {
    order: 2;
  }
}

.ic-blog-feature__media {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #1b1520;
  aspect-ratio: 4 / 3;
}

.ic-blog-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ic-blog-feature__period {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #66135b;
}

.ic-blog-feature__title {
  margin: 0 0 0.65rem;
  font-family: Corbel, Candara, Calibri, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #231f20;
}

.ic-blog-feature__partners {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(102, 19, 91, 0.88);
}

.ic-blog-feature__lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(35, 31, 32, 0.82);
}

.ic-blog-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.ic-blog-feature__tags li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(102, 19, 91, 0.08);
  color: #66135b;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.ic-blog-essay__hero {
  margin: 0 0 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #1a1218;
}

.ic-blog-essay__hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ic-blog-essay__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #66135b;
}

.ic-blog-essay__title {
  margin: 0 0 0.75rem;
  font-family: Corbel, Candara, Calibri, "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #231f20;
}

.ic-blog-essay__dek {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(35, 31, 32, 0.72);
}

.ic-blog-essay__byline {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(102, 19, 91, 0.85);
}

.ic-blog-essay__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(35, 31, 32, 0.88);
}

.ic-blog-essay__body p {
  margin: 0 0 1rem;
}

.ic-blog-essay__lede::first-letter {
  float: left;
  margin: 0.1rem 0.45rem 0 0;
  font-family: Corbel, Candara, Calibri, "Segoe UI", sans-serif;
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 0.85;
  color: #66135b;
}

.ic-blog-essay__sectors {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(102, 19, 91, 0.15);
  font-size: 0.95rem;
  color: rgba(35, 31, 32, 0.65);
}

/* Popup dossier blog — legacy (unused) */
.ic-dossier-modal {
  position: fixed;
  inset: 0;
  z-index: 10070;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.75rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.ic-dossier-modal[hidden] {
  display: none !important;
}

.ic-dossier-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(12, 8, 14, 0.62);
  cursor: pointer;
}

.ic-dossier-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 26.5rem);
  max-height: min(78dvh, 34rem);
  margin: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.ic-dossier-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #3b1540;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  font-size: 0.85rem;
}

.ic-dossier-modal__scroll {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 1rem;
}

.ic-dossier-modal__hero {
  margin: 0;
  background: #1b1520;
}

.ic-dossier-modal__hero img {
  display: block;
  width: 100%;
  max-height: 8.5rem;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center top;
}

.ic-dossier-modal__header {
  padding: 0.85rem 1rem 0;
}

.ic-dossier-modal__kicker {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #66135b;
}

.ic-dossier-modal__title {
  margin: 0.4rem 2rem 0 0;
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 3.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1b1520;
}

.ic-dossier-modal__dek {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #5c4e5a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-dossier-modal__byline {
  margin: 0.7rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid #eadfea;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #7a6a78;
}

.ic-dossier-modal__body {
  padding: 0.85rem 1rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #2a2228;
}

.ic-dossier-modal__body p {
  margin: 0 0 0.8rem;
}

.ic-dossier-modal__lede::first-letter {
  float: left;
  margin: 0.06em 0.1em 0 0;
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.85;
  color: #66135b;
}

.ic-dossier-modal__sectors {
  color: #4a3d48;
  font-weight: 500;
  font-size: 0.86rem;
}

.ic-dossier-open,
.ic-dossier-open body {
  overflow: hidden;
}

@media (min-width: 640px) {
  .ic-dossier-modal {
    align-items: center;
    padding: 1.25rem;
  }

  .ic-dossier-modal__dialog {
    width: min(100%, 28rem);
    max-height: min(72dvh, 36rem);
  }

  .ic-dossier-modal__hero img {
    max-height: 9.5rem;
  }

  .ic-dossier-modal__header,
  .ic-dossier-modal__body {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

@media (min-width: 900px) {
  .ic-dossier-modal__dialog {
    width: min(100%, 30rem);
  }
}

@media (max-width: 639px) {
  .ic-blog-spread__card {
    min-height: 18.5rem;
  }
}

/* Home news + newsletter — charte IC */
.ic-home-news {
  --ic-chart-orange: #F7954A;
  --ic-chart-plum: #5B104B;
  --ic-chart-red: #CB202C;
  --ic-chart-magenta: #AB4599;
  --ic-chart-black: #231F20;
  --ic-chart-white: #FFFFFF;
  position: relative;
  z-index: 10;
  /* MDN padding / clamp — zone un peu plus généreuse */
  padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.25rem, 4vw, 2.25rem);
  background: var(--ic-bg-white, #ffffff);
}

.ic-home-news__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ic-home-news__head {
  max-width: none;
  margin-bottom: clamp(1.15rem, 2.4vw, 1.75rem);
}

.ic-home-news__head-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .ic-home-news__head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .ic-home-news__head-row > div {
    max-width: 36rem;
  }
}

.ic-home-news__all--top {
  display: none;
}

@media (min-width: 768px) {
  .ic-home-news__all--top {
    display: inline-flex;
    flex-shrink: 0;
  }

  .ic-home-news__more {
    display: none;
  }
}

.ic-home-news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ic-chart-plum);
}

.ic-home-news__eyebrow::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--ic-chart-orange);
  box-shadow: 0 0 0 3px rgba(247, 149, 74, 0.22);
}

.ic-home-news__title {
  margin: 0.45rem 0 0;
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ic-chart-black);
}

.ic-home-news__lead {
  margin: 0.65rem 0 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(35, 31, 32, 0.68);
}

.ic-home-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.ic-home-news__stack {
  display: grid;
  gap: 1.1rem;
}

.ic-home-news__grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ic-home-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ic-news-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ic-chart-white);
  border: 1px solid rgba(91, 16, 75, 0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ic-news-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(171, 69, 153, 0.35);
  box-shadow: 0 18px 40px rgba(91, 16, 75, 0.12);
}

.ic-news-tile__media {
  display: block;
  overflow: hidden;
  background: #1a1218;
}

.ic-news-tile__media img {
  width: 100%;
  height: 100%;
  /* MDN object-fit + object-position : garder les visages visibles (haut de cadre) */
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.55s ease;
}

.ic-news-tile:hover .ic-news-tile__media img {
  transform: scale(1.03);
}

.ic-news-tile__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.85rem 1rem 1rem;
}

.ic-news-tile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  color: rgba(35, 31, 32, 0.58);
}

.ic-news-tile__tag {
  display: inline-flex;
  align-self: auto;
  margin: 0;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ic-chart-plum);
  background: rgba(247, 149, 74, 0.16);
}

.ic-news-tile__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.ic-news-tile__title a {
  color: var(--ic-chart-black);
  text-decoration: none;
}

.ic-news-tile__title a:hover {
  color: var(--ic-chart-plum);
}

.ic-news-tile__excerpt {
  margin: 0.45rem 0 0;
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(35, 31, 32, 0.64);
}

.ic-news-tile__cta {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ic-chart-magenta);
  text-decoration: none;
}

.ic-news-tile__cta:hover {
  color: var(--ic-chart-plum);
}

.ic-news-tile--featured {
  min-height: 100%;
}

.ic-news-tile--featured .ic-news-tile__media {
  aspect-ratio: 16 / 10;
  min-height: 13.5rem;
  max-height: 18rem;
}

.ic-news-tile--featured .ic-news-tile__body {
  padding: 1.15rem 1.25rem 1.3rem;
}

.ic-news-tile--featured .ic-news-tile__title {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.ic-news-tile--featured .ic-news-tile__excerpt {
  font-size: 0.94rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ic-news-tile--compact {
  display: grid;
  grid-template-columns: minmax(8rem, 38%) minmax(0, 1fr);
  align-items: stretch;
}

.ic-news-tile--compact .ic-news-tile__media {
  aspect-ratio: auto;
  min-height: 9.5rem;
  max-height: none;
}

.ic-news-tile--compact .ic-news-tile__media img {
  object-position: center 15%;
}

.ic-news-tile--compact .ic-news-tile__body {
  padding: 0.9rem 1.05rem 1rem;
}

.ic-news-tile--compact .ic-news-tile__title {
  font-size: 1rem;
}

.ic-news-tile--grid .ic-news-tile__media {
  aspect-ratio: 16 / 11;
  min-height: 10rem;
  max-height: 13rem;
}

.ic-news-tile--grid .ic-news-tile__media img {
  object-position: center 16%;
}

.ic-news-tile--compact .ic-news-tile__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.8rem;
}

.ic-home-news__more {
  margin-top: 1.15rem;
  display: flex;
  justify-content: center;
}

.ic-home-news__all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 16, 75, 0.22);
  background: var(--ic-chart-white);
  color: var(--ic-chart-plum);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.ic-home-news__all:hover {
  background: var(--ic-chart-plum);
  border-color: var(--ic-chart-plum);
  color: var(--ic-chart-white);
  transform: translateY(-1px);
}

.ic-home-news__empty {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(91, 16, 75, 0.2);
  border-radius: 16px;
  color: rgba(35, 31, 32, 0.55);
  background: rgba(255, 255, 255, 0.7);
}

.ic-home-newsletter {
  --ic-chart-orange: #F7954A;
  --ic-chart-plum: #5B104B;
  --ic-chart-magenta: #AB4599;
  --ic-chart-black: #231F20;
  --ic-chart-white: #FFFFFF;
  position: relative;
  z-index: 10;
  padding: clamp(3rem, 7vw, 4.75rem) clamp(1.25rem, 4vw, 2rem);
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(247, 149, 74, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 55% at 100% 40%, rgba(171, 69, 153, 0.22), transparent 50%),
    linear-gradient(120deg, #2a1226 0%, var(--ic-chart-plum) 55%, #1a1218 100%);
  color: var(--ic-chart-white);
}

.ic-home-newsletter__inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

.ic-home-newsletter__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ic-chart-orange);
}

.ic-home-newsletter__title {
  margin: 0.55rem 0 0;
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ic-home-newsletter__lead {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.ic-home-newsletter__fields {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr) auto;
  gap: 0.75rem;
  align-items: stretch;
}

.ic-home-newsletter__field input,
.ic-home-newsletter__form input.form-control,
.ic-home-newsletter__form input[type="text"],
.ic-home-newsletter__form input[type="email"] {
  width: 100%;
  height: 3.15rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ic-chart-white);
  padding: 0 1rem;
  font-size: 0.95rem;
}

.ic-home-newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.ic-home-newsletter__form input:focus {
  outline: none;
  border-color: var(--ic-chart-orange);
  box-shadow: 0 0 0 3px rgba(247, 149, 74, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.ic-home-newsletter__submit {
  height: 3.15rem;
  padding: 0 1.5rem;
  border: none;
  border-radius: 12px;
  background: var(--ic-chart-orange);
  color: var(--ic-chart-black);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 24px rgba(247, 149, 74, 0.28);
}

.ic-home-newsletter__submit:hover {
  background: #ffaa66;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .ic-home-news__layout {
    grid-template-columns: 1fr;
  }

  .ic-news-tile--compact {
    grid-template-columns: minmax(7.5rem, 36%) minmax(0, 1fr);
  }

  .ic-home-newsletter__fields {
    grid-template-columns: 1fr;
  }

  .ic-home-newsletter__submit {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .ic-news-tile--compact {
    grid-template-columns: minmax(6.75rem, 40%) minmax(0, 1fr);
  }

  .ic-news-tile--compact .ic-news-tile__media {
    aspect-ratio: auto;
    min-height: 8.5rem;
  }

  .ic-news-tile--compact .ic-news-tile__excerpt {
    display: none;
  }
}

/* Footer site — charte IC (grand format, nouveau design) */
.ic-site-footer {
  --ic-chart-orange: #F7954A;
  --ic-chart-plum: #5B104B;
  --ic-chart-red: #CB202C;
  --ic-chart-magenta: #AB4599;
  --ic-chart-black: #231F20;
  --ic-chart-white: #FFFFFF;
  position: relative;
  z-index: 10;
  overflow: hidden;
  color: var(--ic-chart-white);
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(247, 149, 74, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 20%, rgba(171, 69, 153, 0.2), transparent 50%),
    linear-gradient(165deg, #2a1226 0%, var(--ic-chart-plum) 42%, #3a0c30 78%, var(--ic-chart-black) 100%);
  min-height: clamp(46rem, 72vh, 60rem);
  display: flex;
  align-items: center;
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 4vw, 2.5rem);
  font-family: Corbel, 'Source Sans 3', sans-serif;
}

.ic-site-footer__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ic-chart-orange), var(--ic-chart-magenta), var(--ic-chart-red));
  height: 4px;
  top: 0;
  bottom: auto;
  opacity: 0.95;
}

.ic-site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.ic-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

.ic-site-footer__logo {
  height: 3.5rem;
  width: auto;
  display: block;
}

.ic-site-footer__logo-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.ic-site-footer__tagline {
  margin: 0;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.ic-site-footer__contacts {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ic-site-footer__contacts li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
}

.ic-site-footer__contacts i {
  color: var(--ic-chart-orange);
  font-size: 1rem;
}

.ic-site-footer__contacts a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 149, 74, 0.28);
  transition: color 0.2s, border-color 0.2s;
}

.ic-site-footer__contacts a:hover {
  color: var(--ic-chart-white);
  border-bottom-color: var(--ic-chart-orange);
}

.ic-site-footer__loc {
  color: rgba(255, 255, 255, 0.45);
}

.ic-site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.ic-site-footer__social {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.ic-site-footer__social:hover {
  transform: translateY(-2px);
  background: var(--ic-chart-orange);
  border-color: var(--ic-chart-orange);
  color: var(--ic-chart-black);
}

.ic-site-footer__title {
  margin: 0 0 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ic-chart-orange);
}

.ic-site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.ic-site-footer__col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
  transition: color 0.2s, transform 0.2s;
}

.ic-site-footer__col a:hover {
  color: var(--ic-chart-white);
  transform: translateX(3px);
}

.ic-site-footer__bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ic-site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.ic-site-footer__lms {
  color: var(--ic-chart-white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 149, 74, 0.45);
  background: rgba(247, 149, 74, 0.12);
  transition: background 0.2s, border-color 0.2s;
}

.ic-site-footer__lms:hover {
  background: var(--ic-chart-orange);
  border-color: var(--ic-chart-orange);
  color: var(--ic-chart-black);
}

@media (max-width: 1024px) {
  .ic-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ic-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .ic-site-footer {
    min-height: clamp(56rem, 125vh, 72rem);
    align-items: flex-start;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .ic-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ic-site-footer__tagline {
    font-size: 1rem;
    line-height: 1.85;
  }

  .ic-site-footer__contacts li,
  .ic-site-footer__contacts a {
    font-size: 1rem;
    line-height: 1.85;
  }
}


.ic-home-partners {
  background: var(--ic-bg-off, #f6f4f2);
}

.ic-home-partners .ic-partners-marquee {
  margin-top: 1.5rem;
}

/* Welcome + Mission pillars */
.ic-home-welcome {
  --ic-chart-orange: #F7954A;
  --ic-chart-plum: #5B104B;
  --ic-chart-magenta: #AB4599;
  --ic-chart-black: #231F20;
  padding: clamp(3.75rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2rem);
  background:
    radial-gradient(ellipse 48% 42% at 100% 0%, rgba(247, 149, 74, 0.12), transparent 58%),
    radial-gradient(ellipse 40% 38% at 0% 100%, rgba(171, 69, 153, 0.08), transparent 55%),
    #ffffff;
}

.ic-home-welcome__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(2.75rem, 6vw, 4.25rem);
}

.ic-home-welcome__intro {
  max-width: 46rem;
}

.ic-home-welcome__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ic-chart-plum);
}

.ic-home-welcome__eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--ic-chart-orange);
  box-shadow: 0 0 0 3px rgba(247, 149, 74, 0.22);
}

.ic-home-welcome__brand {
  margin: 0.9rem 0 0;
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ic-chart-black);
}

.ic-home-welcome__lead {
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(35, 31, 32, 0.72);
}

.ic-home-welcome__mission-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-headline);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ic-chart-black);
}

.ic-home-welcome__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ic-home-pillar {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7fa 100%);
  border: 1px solid rgba(91, 16, 75, 0.1);
  box-shadow: 0 10px 28px rgba(35, 31, 32, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ic-home-pillar::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ic-chart-orange), var(--ic-chart-magenta));
  opacity: 0.9;
}

.ic-home-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(171, 69, 153, 0.28);
  box-shadow: 0 18px 40px rgba(91, 16, 75, 0.1);
}

.ic-home-pillar__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 3.5rem;
  margin-bottom: 1rem;
}

.ic-home-pillar__icon img {
  height: 3.5rem;
  width: auto;
  max-width: 4.5rem;
  object-fit: contain;
  border-radius: 10px;
}

.ic-home-pillar__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ic-chart-plum);
}

.ic-home-pillar__text {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(35, 31, 32, 0.68);
}

@media (max-width: 860px) {
  .ic-home-welcome__pillars {
    grid-template-columns: 1fr;
  }
}

/* Light American-style footer */
.ic-footer-light {
  --ic-chart-orange: #F7954A;
  --ic-chart-plum: #5B104B;
  --ic-chart-magenta: #AB4599;
  --ic-chart-black: #231F20;
  --ic-chart-white: #FFFFFF;
  background: #f6f4f2;
  border-top: 1px solid rgba(35, 31, 32, 0.08);
  color: var(--ic-chart-black);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2rem) 2rem;
  font-family: Corbel, "Source Sans 3", sans-serif;
}

.ic-footer-light__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ic-footer-light__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
}

.ic-footer-light__logo {
  height: 2.85rem;
  width: auto;
  display: block;
}

.ic-footer-light__logo-link {
  display: inline-block;
  margin-bottom: 1.1rem;
}

.ic-footer-light__tagline {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(35, 31, 32, 0.68);
}

.ic-footer-light__contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
  margin-top: 1.35rem;
  font-size: 0.92rem;
}

.ic-footer-light__contact-row a {
  color: var(--ic-chart-plum);
  text-decoration: none;
  font-weight: 600;
}

.ic-footer-light__contact-row a:hover {
  color: var(--ic-chart-magenta);
}

.ic-footer-light__dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(35, 31, 32, 0.28);
}

.ic-footer-light__mute {
  color: rgba(35, 31, 32, 0.45);
  font-size: 0.85rem;
}

.ic-footer-light__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  color: #128c7e;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.ic-footer-light__wa:hover {
  text-decoration: underline;
}

.ic-footer-light__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.ic-footer-light__title {
  margin: 0 0 0.95rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(35, 31, 32, 0.45);
}

.ic-footer-light__col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ic-footer-light__col a {
  color: rgba(35, 31, 32, 0.78);
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.4;
  transition: color 0.2s;
}

.ic-footer-light__col a:hover {
  color: var(--ic-chart-orange);
}

.ic-footer-light__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(35, 31, 32, 0.08);
}

.ic-footer-light__copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(35, 31, 32, 0.48);
}

.ic-footer-light__socials {
  display: flex;
  gap: 0.45rem;
}

.ic-footer-light__socials a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ic-chart-plum);
  background: #fff;
  border: 1px solid rgba(35, 31, 32, 0.1);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.ic-footer-light__socials a:hover {
  background: var(--ic-chart-orange);
  border-color: var(--ic-chart-orange);
  color: var(--ic-chart-black);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .ic-footer-light__top {
    grid-template-columns: 1fr;
  }

  .ic-footer-light__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ic-footer-light__links {
    grid-template-columns: 1fr;
  }
}

/* ===== Welcome v2 — fond clair comme newsletter ===== */
.ic-welcome-v2 {
  --ic-chart-orange: #F7954A;
  --ic-chart-plum: #5B104B;
  --ic-chart-magenta: #AB4599;
  --ic-chart-black: #231F20;
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  background: #f6f4f2;
  color: #231F20;
}

.ic-welcome-v2__rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #F7954A, #AB4599, #CB202C);
}

.ic-welcome-v2__inner {
  width: min(1140px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ic-welcome-v2__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.ic-welcome-v2__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5B104B;
}

.ic-welcome-v2__brand {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(2.35rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #231F20;
}

.ic-welcome-v2__stat {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(35, 31, 32, 0.62);
}

.ic-welcome-v2__stat span {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(247, 149, 74, 0.18);
  color: #5B104B;
  font-weight: 800;
  font-size: 0.8rem;
}

.ic-welcome-v2__lead {
  margin: 0;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  line-height: 1.65;
  color: rgba(35, 31, 32, 0.72);
  max-width: 34rem;
}

.ic-welcome-v2__mission-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.ic-welcome-v2__mission-title {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: #231F20;
}

.ic-welcome-v2__mission-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 16, 75, 0.55), rgba(247, 149, 74, 0.45), transparent);
}

.ic-welcome-v2__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(35, 31, 32, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.ic-welcome-v2__pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border-right: 1px solid rgba(35, 31, 32, 0.08);
  min-height: 0;
}

.ic-welcome-v2__pillar:last-child {
  border-right: none;
}

.ic-welcome-v2__num {
  font-family: var(--font-headline);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(247, 149, 74, 0.7);
}

.ic-welcome-v2__icon {
  height: 2.75rem;
  display: flex;
  align-items: center;
}

.ic-welcome-v2__icon img {
  height: 2.6rem;
  width: auto;
  max-width: 3.5rem;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 10px rgba(35, 31, 32, 0.1));
}

.ic-welcome-v2__copy h4 {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: #231F20;
}

.ic-welcome-v2__copy p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(35, 31, 32, 0.68);
}

@media (max-width: 900px) {
  .ic-welcome-v2__grid {
    grid-template-columns: 1fr;
  }

  .ic-welcome-v2__pillars {
    grid-template-columns: 1fr;
  }

  .ic-welcome-v2__pillar {
    border-right: none;
    border-bottom: 1px solid rgba(35, 31, 32, 0.08);
    min-height: 0;
  }

  .ic-welcome-v2__pillar:last-child {
    border-bottom: none;
  }
}

/* Newsletter = fond clair (inversé) */
.ic-home-newsletter {
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2rem) !important;
  background: #f6f4f2 !important;
  color: #231F20 !important;
}

.ic-home-newsletter__eyebrow {
  color: #5B104B !important;
}

.ic-home-newsletter__title {
  color: #231F20 !important;
}

.ic-home-newsletter__lead {
  color: rgba(35, 31, 32, 0.68) !important;
}

.ic-home-newsletter__form input.form-control,
.ic-home-newsletter__form input[type="text"],
.ic-home-newsletter__form input[type="email"],
.ic-home-newsletter__field input {
  border: 1px solid rgba(35, 31, 32, 0.14) !important;
  background: #fff !important;
  color: #231F20 !important;
}

.ic-home-newsletter__form input::placeholder {
  color: rgba(35, 31, 32, 0.4) !important;
}

.ic-home-newsletter__form input:focus {
  border-color: #F7954A !important;
  box-shadow: 0 0 0 3px rgba(247, 149, 74, 0.2) !important;
  background: #fff !important;
}

/* Mega footer sombre — grand + unique */
.ic-footer-mega {
  --ic-chart-orange: #F7954A;
  --ic-chart-plum: #5B104B;
  --ic-chart-magenta: #AB4599;
  --ic-chart-black: #231F20;
  background:
    radial-gradient(ellipse 55% 40% at 10% 0%, rgba(247, 149, 74, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 10%, rgba(171, 69, 153, 0.18), transparent 50%),
    linear-gradient(165deg, #2a1226 0%, #5B104B 48%, #231F20 100%);
  color: #fff;
  min-height: clamp(48rem, 78vh, 64rem);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  font-family: Corbel, "Source Sans 3", sans-serif;
}

.ic-footer-mega__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ic-footer-mega__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ic-footer-mega__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F7954A;
}

.ic-footer-mega__headline {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}

.ic-footer-mega__tagline {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.ic-footer-mega__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ic-footer-mega__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: #F7954A;
  color: #231F20;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.ic-footer-mega__btn:hover {
  background: #ffaa66;
  transform: translateY(-1px);
  color: #231F20;
}

.ic-footer-mega__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.ic-footer-mega__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

.ic-footer-mega__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2.75rem;
}

.ic-footer-mega__logo {
  height: 3.75rem;
  width: auto;
  display: block;
}

.ic-footer-mega__logo-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.ic-footer-mega__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ic-footer-mega__contacts a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(247, 149, 74, 0.25);
}

.ic-footer-mega__contacts a:hover {
  color: #F7954A;
}

.ic-footer-mega__contacts span {
  color: rgba(255, 255, 255, 0.45);
  margin-left: 0.25rem;
}

.ic-footer-mega__contacts .bi-whatsapp {
  color: #25d366;
}

.ic-footer-mega__socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.ic-footer-mega__socials a {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.ic-footer-mega__socials a:hover {
  background: #F7954A;
  border-color: #F7954A;
  color: #231F20;
  transform: translateY(-2px);
}

.ic-footer-mega__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.ic-footer-mega__cols h3 {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F7954A;
}

.ic-footer-mega__cols nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ic-footer-mega__cols a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.45;
  transition: color 0.2s, transform 0.2s;
}

.ic-footer-mega__cols a:hover {
  color: #fff;
  transform: translateX(3px);
}

.ic-footer-mega__bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ic-footer-mega__bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 960px) {
  .ic-footer-mega__hero,
  .ic-footer-mega__main {
    grid-template-columns: 1fr;
  }

  .ic-footer-mega__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 561px) and (max-width: 767px) {
  .ic-footer-mega {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 560px) {
  .ic-footer-mega {
    min-height: clamp(56rem, 130vh, 74rem);
    align-items: flex-start;
    /* Espace pour le dock mobile — même fond sombre, pas de bande blanche */
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  .ic-footer-mega__cols {
    grid-template-columns: 1fr;
  }
}


/* Partenaires (blanc cassé) → ligne → Actualités (blanc) */
.ic-section-hairline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0.65rem 1.25rem 0.85rem;
  background: var(--ic-bg-off, #f6f4f2);
  line-height: 0;
}

.ic-section-hairline .sect-line {
  width: 72px;
  height: 2px;
  margin: 0;
}

.ic-home-partners--flush-bottom {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.ic-home-partners--flush-bottom .ic-partners-marquee {
  margin-top: 1.35rem !important;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ic-home-news--flush-top {
  padding-top: clamp(1rem, 2vw, 1.5rem) !important;
  margin-top: 0 !important;
}

/* Rythme UX home — densifié pour tout voir d’un coup d’œil */
#mission.ic-welcome-v2 {
  padding: clamp(2.25rem, 4.5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
}

#axes-impact,
#programmes,
#offres,
#formations,
#annonces-partenaires,
#cibles,
#parcours {
  padding-top: clamp(2.5rem, 4.5vw, 3.75rem) !important;
  padding-bottom: clamp(2.5rem, 4.5vw, 3.75rem) !important;
}

#chiffres {
  padding-top: clamp(1.25rem, 2.2vw, 1.85rem) !important;
  padding-bottom: clamp(1.25rem, 2.2vw, 1.85rem) !important;
}

#partenaires {
  padding-top: clamp(2.5rem, 4.5vw, 3.75rem) !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  background: var(--ic-bg-off, #f6f4f2) !important;
}

#partenaires .ic-partners-marquee,
#partenaires .ic-partners-grid {
  margin-top: 1.35rem !important;
}

#news.ic-home-news {
  background: var(--ic-bg-white, #ffffff) !important;
}

.ic-home-newsletter {
  background: var(--ic-bg-off, #f6f4f2) !important;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2rem) !important;
}

/* Titres section un cran plus denses */
#axes-impact h2,
#programmes h2,
#offres h2,
#formations h2,
#annonces-partenaires h2,
#partenaires h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem) !important;
}

/* =========================================================
   Mobile UX — rails snap, bento, rythme original IC
   ========================================================= */
@media (max-width: 767px) {
  /* Rail utilitaire : glisser horizontalement avec peek */
  .ic-snap-rail {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.75rem !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.35rem;
    margin-inline: -0.35rem;
    padding-inline: 0.35rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .ic-snap-rail::-webkit-scrollbar {
    display: none;
  }

  .ic-snap-rail::after {
    content: "";
    flex: 0 0 0.85rem;
  }

  .ic-snap-rail > *,
  .ic-snap-rail__card,
  .ic-snap-rail .ic-odd-card,
  .ic-snap-rail .ic-offer-card,
  .ic-snap-rail .ic-welcome-v2__pillar {
    flex: 0 0 min(78vw, 17.5rem);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  /* --- Bienvenue : mission en colonne (pas de rail) --- */
  .ic-welcome-v2 {
    padding: clamp(2rem, 5vw, 2.75rem) 1rem !important;
  }

  .ic-welcome-v2__brand {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .ic-welcome-v2__lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .ic-welcome-v2__mission-head {
    margin-bottom: 0.85rem;
  }

  .ic-welcome-v2__pillars {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
  }

  /* --- Audience : colonne --- */
  #cibles {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }

  #cibles > .mx-auto {
    gap: 1.25rem !important;
  }

  #cibles h2 {
    font-size: clamp(1.55rem, 6.5vw, 1.95rem) !important;
    line-height: 1.2 !important;
  }

  #cibles .flex.flex-col.gap-4 {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }

  #cibles .cible-block {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* --- ODD : colonne --- */
  #axes-impact > .mx-auto > header p {
    font-size: 0.92rem;
  }

  #axes-impact .mx-auto.mt-12.grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }

  #axes-impact .ic-odd-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #axes-impact .mt-16 {
    margin-top: 2rem !important;
  }

  /* --- Offres / Services : colonne (pas de rail horizontal) --- */
  .ic-snap-rail--offers {
    display: grid !important;
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    margin-top: 1.35rem !important;
    scroll-snap-type: none;
  }

  .ic-snap-rail--offers::after {
    display: none;
  }

  .ic-snap-rail--offers .ic-offer-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left;
    padding: 1.25rem 1.15rem 1.35rem;
    min-height: 0;
    background:
      linear-gradient(165deg, #ffffff 0%, #fbf7fa 100%);
    border: 1px solid rgba(91, 16, 75, 0.1);
    box-shadow: 0 12px 28px rgba(91, 16, 75, 0.08);
  }

  .ic-snap-rail--offers .ic-offer-card__icon {
    margin-bottom: 0.75rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(247, 149, 74, 0.2), rgba(171, 69, 153, 0.22));
  }

  .ic-snap-rail--offers .ic-offer-card h3 {
    font-size: 1.05rem !important;
  }

  .ic-snap-rail--offers .ic-offer-card p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
  }

  /* --- Programmes mobile : 3 cartes pleine largeur, images nettes (contain) --- */
  #programmes .ic-program-covers.ic-program-showcase {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.9rem !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    width: 100%;
  }

  #programmes .ic-program-cover--lead,
  #programmes .ic-program-cover--row {
    display: grid !important;
    grid-template-columns: 1fr;
    border-radius: 1.15rem;
    overflow: hidden;
    min-height: 0;
    padding: 0 !important;
    box-shadow: 0 12px 28px rgba(91, 16, 75, 0.12);
  }

  #programmes .ic-program-cover--lead .ic-program-cover__index {
    display: inline-flex;
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    min-width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(35, 31, 32, 0.72);
    color: #F7954A;
    font-family: var(--font-headline);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
  }

  #programmes .ic-program-cover--lead .ic-program-cover__img,
  #programmes .ic-program-cover--row .ic-program-cover__img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff !important;
  }

  #programmes .ic-program-cover--lead.ic-program-cover--logo .ic-program-cover__img {
    object-fit: contain !important;
    background: #fff !important;
    padding: 0.85rem;
    box-sizing: border-box;
  }

  #programmes .ic-program-cover--lead .ic-program-cover__meta,
  #programmes .ic-program-cover--row .ic-program-cover__meta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2.25rem 1rem 0.95rem;
    background: linear-gradient(transparent, rgba(20, 8, 18, 0.88));
  }

  #programmes .ic-program-cover--lead .ic-program-cover__caption,
  #programmes .ic-program-cover--row .ic-program-cover__caption {
    padding: 0;
    background: none;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.25;
  }

  #programmes .ic-program-cover--lead .ic-program-cover__action,
  #programmes .ic-program-cover--row .ic-program-cover__action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
  }

  #programmes .ic-program-cover--row .ic-program-cover__index,
  #programmes .ic-program-cover--row::after {
    display: none !important;
  }

  #programmes .ic-program-cover--row:hover,
  #programmes .ic-program-cover--lead:hover {
    transform: translateY(-2px);
  }

  /* --- Actualités magazine mobile --- */
  .ic-home-news {
    padding: 1.75rem 1rem 2rem !important;
  }

  .ic-home-news__head {
    margin-bottom: 1rem !important;
  }

  .ic-home-news__title {
    font-size: clamp(1.55rem, 6.5vw, 1.95rem) !important;
  }

  .ic-home-news__lead {
    font-size: 0.95rem !important;
  }

  .ic-news-tile--featured {
    border-radius: 16px;
  }

  .ic-news-tile--featured .ic-news-tile__media {
    aspect-ratio: 16 / 10;
    max-height: 13.5rem;
    min-height: 11rem;
  }

  .ic-news-tile--compact .ic-news-tile__media {
    min-height: 8.75rem;
  }

  .ic-home-news__stack {
    gap: 0.85rem !important;
  }

  /* --- Newsletter compacte --- */
  .ic-home-newsletter {
    padding: 1.75rem 1rem 2rem !important;
  }

  .ic-home-newsletter__title {
    font-size: clamp(1.45rem, 6vw, 1.85rem) !important;
  }

  /* Indice de swipe discret */
  .ic-snap-rail--offers {
    position: relative;
  }

  .ic-snap-hint {
    display: none;
  }
}

/* Desktop : rails redeviennent grilles normales */
@media (min-width: 768px) {
  .ic-snap-rail--offers {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .ic-snap-rail--offers > * {
    flex: none;
  }
}

/* =========================================================
   Galerie /galery/ — grille pro par programme + lightbox
   ========================================================= */
.ic-gallery {
  --ic-gallery-gap: 0.85rem;
  padding-bottom: 4rem;
}

.ic-gallery__toolbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ic-gallery__toolbar-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

@media (min-width: 768px) {
  .ic-gallery__toolbar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
  }
}

.ic-gallery__count {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.55);
}

.ic-gallery__filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.ic-gallery__filter {
  flex: 0 0 auto;
  border: 1px solid rgba(102, 19, 91, 0.18);
  background: transparent;
  color: var(--ic-brand-deep, #4f0f42);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ic-gallery__filter:hover {
  border-color: var(--ic-brand, #66135b);
  color: var(--ic-brand, #66135b);
}

.ic-gallery__filter.is-active {
  background: var(--ic-brand, #66135b);
  border-color: var(--ic-brand, #66135b);
  color: #fff;
}

.ic-gallery__body {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 0;
}

@media (min-width: 768px) {
  .ic-gallery__body {
    padding: 2.5rem 1.5rem 0;
  }
}

.ic-gallery__collection + .ic-gallery__collection {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.ic-gallery__collection-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ic-gallery__collection-title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ic-ink, #111);
}

.ic-gallery__collection-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: rgba(17, 17, 17, 0.58);
}

.ic-gallery__collection-count {
  flex: 0 0 auto;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}

.ic-gallery__masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ic-gallery-gap);
  grid-auto-flow: dense;
}

@media (min-width: 768px) {
  .ic-gallery__masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .ic-gallery__masonry {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ic-gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #1a1218;
  border-radius: 0.35rem;
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  animation: ic-gallery-rise 0.55s ease both;
}

.ic-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.ic-gallery__item--tall {
  aspect-ratio: 3 / 4;
}

@media (max-width: 767px) {
  .ic-gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }
}

.ic-gallery__frame {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ic-gallery__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
  filter: saturate(1.02) contrast(1.02);
}

.ic-gallery__item:hover .ic-gallery__frame img,
.ic-gallery__item:focus-visible .ic-gallery__frame img {
  transform: scale(1.08);
}

.ic-gallery__item:focus-visible {
  outline: 2px solid var(--ic-accent-orange, #f36c00);
  outline-offset: 3px;
}

.ic-gallery__meta {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 2.4rem 0.85rem 0.85rem;
  background: linear-gradient(to top, rgba(17, 8, 14, 0.88) 0%, rgba(17, 8, 14, 0.35) 55%, transparent 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.ic-gallery__item:hover .ic-gallery__meta,
.ic-gallery__item:focus-visible .ic-gallery__meta {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .ic-gallery__meta {
    opacity: 1;
    transform: none;
    padding-top: 1.75rem;
    background: linear-gradient(to top, rgba(17, 8, 14, 0.82), transparent);
  }
}

.ic-gallery__meta-program {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ic-gallery__meta-caption {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
}

.ic-gallery__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ic-brand, #66135b);
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.ic-gallery__moment {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(79, 15, 66, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ic-gallery-lightbox__moment {
  display: inline-block;
  margin: 0.15rem auto 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(243, 108, 0, 0.92);
}

.ic-gallery-lightbox__moment[hidden] {
  display: none !important;
}

.ic-gallery__item--video:hover .ic-gallery__play {
  transform: scale(1.08);
}

.ic-gallery__empty {
  margin: 3rem 0;
  text-align: center;
  color: rgba(17, 17, 17, 0.55);
}

@keyframes ic-gallery-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ic-gallery-lightbox {
  width: min(96vw, 68rem);
  max-width: 96vw;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.ic-gallery-lightbox::backdrop {
  background: rgba(10, 6, 12, 0.88);
  backdrop-filter: blur(6px);
}

.ic-gallery-lightbox__chrome {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.ic-gallery-lightbox__figure {
  margin: 0;
  max-width: 100%;
}

.ic-gallery-lightbox__figure img {
  display: block;
  max-width: min(92vw, 64rem);
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 0.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: ic-gallery-fade 0.35s ease;
}

@keyframes ic-gallery-fade {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

.ic-gallery-lightbox__caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.9rem;
  text-align: center;
}

.ic-gallery-lightbox__caption span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.ic-gallery-lightbox__caption strong {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 650;
}

.ic-gallery-lightbox__video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.55rem auto 0;
  color: #fff;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ic-gallery-lightbox__video[hidden] {
  display: none !important;
}

.ic-gallery-lightbox__close,
.ic-gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ic-gallery-lightbox__close:hover,
.ic-gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.ic-gallery-lightbox__close {
  top: 0.35rem;
  right: 0.35rem;
}

.ic-gallery-lightbox__nav--prev {
  left: 0.15rem;
  top: 50%;
  transform: translateY(-50%);
}

.ic-gallery-lightbox__nav--next {
  right: 0.15rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .ic-gallery-lightbox__nav {
    display: none;
  }
}

/* =========================================================
   Responsive pro - tablette / projecteur / watch / orientation
   MDN: @media width, orientation, hover, pointer, viewport-fit
   ========================================================= */

:root {
  --ic-pad-x: clamp(0.85rem, 3.2vw, 2.5rem);
  --ic-section-y: clamp(2rem, 5vw, 5rem);
  --ic-content-max: min(1180px, 100%);
}

/* --- Watch / ultra-etroit (< 320px) --- */
@media (max-width: 319px) {
  html.ic-home-html {
    font-size: 14px;
  }

  .header-shell {
    width: 96% !important;
    margin-top: 0.4rem !important;
    padding: 0.35rem 0.5rem !important;
  }

  .ic-brand-lockup img {
    height: 1.65rem !important;
  }

  .mobile-nav-home {
    max-width: 98vw !important;
    padding: 0.28rem 0.3rem !important;
  }

  .mobile-nav-chip {
    padding: 0.22rem 0.05rem;
  }

  .mobile-nav-chip__icon {
    font-size: 0.85rem !important;
  }

  .mobile-nav-chip__label {
    font-size: 0.48rem !important;
  }

  .ic-spaces-rent,
  #programmes,
  .ic-home-news,
  .ic-footer-mega {
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }

  .ic-spaces-rent__title,
  .ic-home-news__title,
  #programmes h2 {
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
  }

  .ic-spaces-rent__media {
    gap: 0.35rem !important;
  }

  .ic-page-back {
    width: 2.4rem;
    height: 2.4rem;
    min-width: 2.4rem;
    min-height: 2.4rem;
  }

  .ic-footer-mega {
    min-height: 0 !important;
  }
}

/* --- Petite montre / bandeau tres etroit --- */
@media (max-width: 240px) {
  .ic-mobile-nav-dock {
    display: none !important;
  }

  body.ic-home-body {
    padding-bottom: 0 !important;
  }

  .ic-nav-desktop {
    display: none !important;
  }

  .header-shell {
    justify-content: center;
  }
}

/* --- Tablette portrait (768-1023) --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-shell {
    width: 95% !important;
    max-width: 56rem;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }

  .ic-nav-desktop {
    gap: 0.4rem !important;
  }

  .ic-nav-btn {
    min-height: 2.2rem !important;
    padding: 0.38rem 0.7rem !important;
    font-size: 0.68rem !important;
  }

  .ic-program-covers {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.9rem !important;
  }

  .ic-program-cover__img,
  .ic-program-cover--row .ic-program-cover__img {
    aspect-ratio: 4 / 3 !important;
    max-height: 14rem !important;
  }

  .ic-spaces-rent__inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* Mosaïque espaces : héritée de la grille unifiée (5 photos) */

  /* Axes d'impact : texte en paragraphe lisible (pas serre a cote de l'image) */
  #axes-impact .mx-auto.mt-12.grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  #axes-impact .ic-odd-card--sdg {
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 1.35rem !important;
  }

  #axes-impact .ic-odd-card__sdg-img {
    width: 8.5rem !important;
    height: 8.5rem !important;
  }

  #axes-impact .ic-odd-card__content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  #axes-impact .ic-odd-card__content p {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.65 !important;
  }

  #axes-impact > .mx-auto > header p {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    white-space: normal !important;
  }

  .ic-home-news__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
    gap: 0.95rem;
  }

  .ic-home-news__inner,
  .ic-spaces-rent__inner,
  .ic-footer-mega__inner {
    width: min(960px, 100%);
  }

  .ic-footer-mega {
    min-height: auto !important;
    padding: 3rem 1.5rem 3.5rem !important;
  }

  .ic-footer-mega__hero {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .ic-footer-mega__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ic-page-hero-media {
    padding-top: 1.75rem !important;
    padding-bottom: 2.25rem !important;
  }
}

/* --- Tablette paysage / petit laptop (1024-1365) --- */
@media (min-width: 1024px) and (max-width: 1365px) {
  .header-shell {
    width: 94% !important;
    max-width: 68rem;
  }

  .ic-nav-desktop {
    gap: 0.55rem !important;
  }

  .ic-nav-btn {
    min-height: 2.35rem !important;
    padding: 0.45rem 0.95rem !important;
    font-size: 0.78rem !important;
  }

  .ic-spaces-rent__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
  }

  #axes-impact .ic-odd-card--sdg {
    flex-direction: row !important;
    text-align: left !important;
  }

  #axes-impact .ic-odd-card__content p {
    white-space: normal !important;
    line-height: 1.65 !important;
  }

  .ic-home-news__inner {
    width: min(1080px, 100%);
  }

  .ic-program-cover__img {
    max-height: 16rem !important;
  }

  .ic-footer-mega {
    min-height: clamp(40rem, 70vh, 56rem);
  }
}

/* --- Projecteur / grand ecran (>= 1440) --- */
@media (min-width: 1440px) {
  .header-shell {
    max-width: 80rem;
  }

  .ic-nav-btn {
    min-height: 2.55rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
  }

  .ic-home-news__inner,
  .ic-spaces-rent__inner,
  .ic-footer-mega__inner,
  #programmes .mx-auto.max-w-7xl,
  #partenaires .mx-auto.max-w-7xl {
    width: min(1280px, 100%);
    max-width: 1280px;
  }

  .ic-spaces-rent {
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
    padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  }

  .ic-home-news {
    padding-top: clamp(2.75rem, 5vw, 4rem);
    padding-bottom: clamp(2.75rem, 5vw, 4rem);
  }

  .ic-program-cover__img {
    max-height: 20rem !important;
  }

  .ic-page-hero-media {
    padding-top: 2.5rem !important;
    padding-bottom: 3.25rem !important;
  }
}

/* --- Salle de conference / 4K (>= 1920) --- */
@media (min-width: 1920px) {
  html.ic-home-html {
    font-size: 17px;
  }

  .header-shell {
    max-width: 92rem;
  }

  .ic-home-news__inner,
  .ic-spaces-rent__inner,
  .ic-footer-mega__inner,
  #programmes .mx-auto.max-w-7xl {
    width: min(1440px, 100%);
    max-width: 1440px;
  }

  .ic-nav-desktop {
    gap: 0.9rem;
  }

  .ic-spaces-rent__title,
  .ic-home-news__title {
    font-size: clamp(2.2rem, 2.4vw, 2.85rem);
  }
}

/* --- Projecteur court (hauteur limitee) --- */
@media (max-height: 720px) and (min-width: 900px) {
  .header-shell {
    margin-top: 0.5rem !important;
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
  }

  .ic-page-hero-media {
    padding-top: 1.25rem !important;
    padding-bottom: 1.5rem !important;
  }

  .ic-spaces-rent,
  .ic-home-news,
  #programmes {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }

  .ic-footer-mega {
    min-height: auto !important;
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .ic-hero-min-height {
    min-height: 100svh !important;
  }
}

/* --- Tablette paysage --- */
@media (min-width: 768px) and (max-width: 1365px) and (orientation: landscape) {
  .ic-page-hero-media {
    padding-top: 1.35rem !important;
    padding-bottom: 1.75rem !important;
  }

  /* Mosaïque espaces : proportions via aspect-ratio (pas de min-height écrasé) */

  .ic-program-cover__img {
    max-height: 13.5rem !important;
  }
}

/* --- Pas de hover (tactile) : interactions plus stables --- */
@media (hover: none) and (pointer: coarse) {
  .ic-nav-btn:hover,
  .ic-page-back:hover,
  .ic-program-cover:hover,
  .ic-news-tile:hover,
  .hover-pop-home:hover {
    transform: none;
  }

  .ic-news-tile:hover .ic-news-tile__media img {
    transform: none;
  }
}

/* --- Safe areas (encoches / watch / fold) --- */
@supports (padding: max(0px, env(safe-area-inset-left))) {
  .header-shell {
    margin-left: max(0.75rem, env(safe-area-inset-left, 0px));
    margin-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .ic-mobile-nav-dock {
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }
}

/* --- Impression --- */
@media print {
  .ic-mobile-nav-dock,
  .header-shell,
  .ic-page-back {
    display: none !important;
  }

  body.ic-home-body {
    padding: 0 !important;
    background: #fff !important;
  }

  .ic-footer-mega {
    min-height: 0 !important;
    color: #000 !important;
    background: #fff !important;
  }
}
