/* =========================================================================
   IPTV Luxembourg — système de design
   Palette : bleu nuit #0A1628 · bleu glacier #67D9E8 · ivoire #F5F4EF
             accent corail #F27075
   ========================================================================= */

/* 1. Jetons ------------------------------------------------------------- */

:root {
  /* Marque */
  --ilx-night: #0a1628;
  --ilx-night-2: #0e1d33;
  --ilx-night-3: #132740;
  --ilx-ice: #67d9e8;
  --ilx-ice-ink: #0d6b7c;
  --ilx-ivory: #f5f4ef;
  --ilx-coral: #f27075;
  --ilx-coral-ink: #b2353d;

  /* Surfaces claires */
  --ilx-bg: #ffffff;
  --ilx-bg-soft: var(--ilx-ivory);
  --ilx-card: #ffffff;
  --ilx-line: #e3e2dc;

  /* Texte */
  --ilx-text: #0a1628;
  --ilx-text-muted: #44566b;
  --ilx-text-on-dark: #f5f4ef;
  --ilx-text-on-dark-muted: #9fb3c8;
  --ilx-line-dark: rgba(103, 217, 232, 0.18);

  /* États */
  --ilx-success: #12795f;
  --ilx-error: #b2353d;
  --ilx-whatsapp: #25d366;
  --ilx-whatsapp-ink: #0f7a39;

  /* Typographie */
  --ilx-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ilx-font-display: "Outfit", var(--ilx-font-body);

  --ilx-step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --ilx-step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --ilx-step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --ilx-step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.8rem);
  --ilx-step-3: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --ilx-step-4: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);

  /* Espace et formes */
  --ilx-gap: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --ilx-section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --ilx-radius: 14px;
  --ilx-radius-lg: 22px;
  --ilx-radius-pill: 999px;
  --ilx-max: 1200px;
  --ilx-max-text: 68ch;

  --ilx-shadow: 0 1px 2px rgba(10, 22, 40, 0.05), 0 8px 24px -12px rgba(10, 22, 40, 0.18);
  --ilx-shadow-lg: 0 2px 4px rgba(10, 22, 40, 0.06), 0 24px 60px -24px rgba(10, 22, 40, 0.3);

  --ilx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base --------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--ilx-bg);
  color: var(--ilx-text);
  font-family: var(--ilx-font-body);
  font-size: var(--ilx-step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ilx-font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--ilx-step-4); }
h2 { font-size: var(--ilx-step-3); }
h3 { font-size: var(--ilx-step-2); }
h4 { font-size: var(--ilx-step-1); }

p, ul, ol { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

a {
  color: var(--ilx-ice-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--ilx-text); }

img, picture, svg, video { max-width: 100%; }
img { height: auto; display: block; }

strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--ilx-ice-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--ilx-ice); color: var(--ilx-night); }

.ilx-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ilx-night);
  color: var(--ilx-ivory);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--ilx-radius) 0;
}
.ilx-skip-link:focus { left: 0; color: var(--ilx-ivory); }

.ilx-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 3. Mise en page ------------------------------------------------------- */

.ilx-wrap {
  width: 100%;
  max-width: var(--ilx-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 0.6rem + 2vw, 2rem);
}

.ilx-section { padding-block: var(--ilx-section-y); }
.ilx-section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

.ilx-section--dark {
  background: var(--ilx-night);
  color: var(--ilx-text-on-dark);
}
.ilx-section--soft { background: var(--ilx-bg-soft); }

.ilx-section--dark h1,
.ilx-section--dark h2,
.ilx-section--dark h3,
.ilx-section--dark h4 { color: var(--ilx-text-on-dark); }
/* Les boutons gardent leurs propres couleurs : seuls les liens textuels
   passent en bleu glacier sur fond sombre. */
.ilx-section--dark a:not(.ilx-btn) { color: var(--ilx-ice); }
.ilx-section--dark a:not(.ilx-btn):hover { color: #fff; }
.ilx-section--dark :focus-visible { outline-color: var(--ilx-ice); }

.ilx-section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.ilx-section-head--center { text-align: center; max-width: 62ch; margin-inline: auto; }
.ilx-section-head--start { max-width: 62ch; }

.ilx-eyebrow {
  display: inline-block;
  font-family: var(--ilx-font-display);
  font-size: var(--ilx-step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ilx-ice-ink);
  background: rgba(103, 217, 232, 0.14);
  border: 1px solid rgba(13, 107, 124, 0.2);
  border-radius: var(--ilx-radius-pill);
  padding: 0.35rem 0.9rem;
  margin: 0 0 1rem;
}
.ilx-section--dark .ilx-eyebrow {
  color: var(--ilx-ice);
  background: rgba(103, 217, 232, 0.1);
  border-color: var(--ilx-line-dark);
}

.ilx-section-title { margin-bottom: 0.4em; }
.ilx-section-title .ilx-hl { color: var(--ilx-ice-ink); }
.ilx-section--dark .ilx-section-title .ilx-hl { color: var(--ilx-ice); }

.ilx-section-intro {
  font-size: var(--ilx-step-1);
  color: var(--ilx-text-muted);
  margin-bottom: 0;
}
.ilx-section--dark .ilx-section-intro { color: var(--ilx-text-on-dark-muted); }

.ilx-grid { display: grid; gap: var(--ilx-gap); }
.ilx-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.ilx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.ilx-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }

.ilx-split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .ilx-split { grid-template-columns: 1fr 1fr; }
  .ilx-split--reverse > :first-child { order: 2; }
}

/* 4. Boutons ------------------------------------------------------------ */

.ilx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--ilx-radius-pill);
  font-family: var(--ilx-font-display);
  font-size: var(--ilx-step-0);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ilx-ease), background-color 0.18s var(--ilx-ease),
    border-color 0.18s var(--ilx-ease), color 0.18s var(--ilx-ease);
}
.ilx-btn:hover { transform: translateY(-2px); }
.ilx-btn:active { transform: translateY(0); }

.ilx-btn--primary {
  background: var(--ilx-ice);
  color: var(--ilx-night);
  box-shadow: 0 10px 28px -14px rgba(103, 217, 232, 0.9);
}
.ilx-btn--primary:hover { background: #8ae4f0; color: var(--ilx-night); }

.ilx-btn--ghost {
  background: transparent;
  border-color: rgba(10, 22, 40, 0.22);
  color: var(--ilx-text);
}
.ilx-btn--ghost:hover { border-color: var(--ilx-text); color: var(--ilx-text); }

.ilx-section--dark .ilx-btn--ghost,
.ilx-btn--ghost-light {
  border-color: var(--ilx-line-dark);
  color: var(--ilx-text-on-dark);
  background: rgba(255, 255, 255, 0.04);
}
.ilx-section--dark .ilx-btn--ghost:hover,
.ilx-btn--ghost-light:hover {
  border-color: var(--ilx-ice);
  color: var(--ilx-ivory);
}

.ilx-btn--whatsapp { background: var(--ilx-whatsapp); color: #04291a; }
.ilx-btn--whatsapp:hover { background: #4ce089; color: #04291a; }

.ilx-btn--block { width: 100%; }
.ilx-btn--sm { min-height: 42px; padding: 0.5rem 1.1rem; font-size: var(--ilx-step--1); }

.ilx-btn .ilx-icon { width: 1.25em; height: 1.25em; flex: none; }

.ilx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.ilx-section-head--center .ilx-actions { justify-content: center; }

.ilx-icon { width: 1.5rem; height: 1.5rem; display: inline-block; vertical-align: middle; }
.ilx-icon--flip { transform: scaleX(-1); }

/* 5. En-tête ------------------------------------------------------------ */

.ilx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--ilx-line-dark);
  color: var(--ilx-text-on-dark);
}

/* La barre d'en-tête dispose d'un conteneur un peu plus large que le contenu
   courant, afin d'accueillir la navigation complète sans repousser les
   boutons d'action hors de l'écran. */
.ilx-header .ilx-wrap { max-width: 1400px; }

.ilx-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}

.ilx-header__brand { display: flex; align-items: center; flex: none; }
.ilx-header__brand img, .ilx-header__brand .custom-logo {
  width: auto;
  height: 2.4rem;
}

.ilx-header__nav {
  margin-left: auto;
  min-width: 0; /* autorise la navigation à se réduire au lieu de déborder */
}

.ilx-menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ilx-menu::-webkit-scrollbar { display: none; }
.ilx-menu li { margin: 0; position: relative; }
.ilx-menu a {
  display: block;
  padding: 0.5rem 0.5rem;
  border-radius: var(--ilx-radius-pill);
  color: var(--ilx-text-on-dark);
  font-size: var(--ilx-step--1);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.ilx-menu a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.ilx-menu .current-menu-item > a,
.ilx-menu .current_page_item > a {
  color: var(--ilx-ice);
  background: rgba(103, 217, 232, 0.1);
}

/* Sous-menus */
.ilx-menu .sub-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 14rem;
  background: var(--ilx-night-2);
  border: 1px solid var(--ilx-line-dark);
  border-radius: var(--ilx-radius);
  box-shadow: var(--ilx-shadow-lg);
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ilx-ease), transform 0.18s var(--ilx-ease), visibility 0.18s;
}
.ilx-menu li:hover > .sub-menu,
.ilx-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ilx-menu .sub-menu a { white-space: normal; }

.ilx-header__cta { display: flex; align-items: center; gap: 0.6rem; flex: none; }

/* Dans l'en-tête, le bouton WhatsApp se réduit à son icône : le libellé reste
   annoncé aux lecteurs d'écran par l'attribut aria-label du lien. */
.ilx-header__cta .ilx-btn--ghost-light > span { display: none; }
.ilx-header__cta .ilx-btn--ghost-light { padding-inline: 0.85rem; }

.ilx-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ilx-line-dark);
  border-radius: var(--ilx-radius);
  color: var(--ilx-text-on-dark);
  cursor: pointer;
}
.ilx-burger .ilx-icon { width: 1.5rem; height: 1.5rem; }
.ilx-burger__close { display: none; }
.ilx-burger[aria-expanded="true"] .ilx-burger__open { display: none; }
.ilx-burger[aria-expanded="true"] .ilx-burger__close { display: block; }

@media (max-width: 86rem) {
  .ilx-header__nav,
  .ilx-header__cta { display: none; }
  .ilx-burger { display: inline-flex; }

  .ilx-header__nav.is-open {
    display: block;
    position: fixed;
    inset: 4.5rem 0 0;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 1.25rem clamp(1rem, 0.6rem + 2vw, 2rem) calc(7rem + env(safe-area-inset-bottom));
    background: var(--ilx-night);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .ilx-header__nav.is-open .ilx-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }
  .ilx-header__nav.is-open .ilx-menu a {
    padding: 0.85rem 1rem;
    font-size: var(--ilx-step-0);
    border-radius: var(--ilx-radius);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .ilx-header__nav.is-open .ilx-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0 0 0 1rem;
  }
  .ilx-header__nav.is-open .ilx-mobile-cta {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.5rem;
  }
}

.ilx-mobile-cta { display: none; }

body.ilx-nav-open { overflow: hidden; }

/* `backdrop-filter` fait de l'en-tête un bloc conteneur pour les descendants
   en position fixed : le panneau de navigation mobile se replierait alors sur
   la hauteur de l'en-tête au lieu de couvrir la fenêtre. Le filtre est donc
   neutralisé pendant l'ouverture du menu, et remplacé par un fond opaque. */
body.ilx-nav-open .ilx-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--ilx-night);
}

/* 6. Hero --------------------------------------------------------------- */

.ilx-hero {
  position: relative;
  background: var(--ilx-night);
  color: var(--ilx-text-on-dark);
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
}
.ilx-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 70%;
  background: radial-gradient(60% 60% at 70% 30%, rgba(103, 217, 232, 0.16), transparent 70%);
  pointer-events: none;
}
.ilx-hero > .ilx-wrap { position: relative; }

.ilx-hero__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .ilx-hero__grid { grid-template-columns: 1.05fr 1fr; }
}

.ilx-hero__title { margin-bottom: 0.45em; }
.ilx-hero__title .ilx-hl { color: var(--ilx-ice); }

.ilx-hero__lead {
  font-size: var(--ilx-step-1);
  color: var(--ilx-text-on-dark-muted);
  max-width: 54ch;
}

.ilx-hero__media { display: block; }
.ilx-hero__media img {
  width: 100%;
  border-radius: var(--ilx-radius-lg);
  border: 1px solid var(--ilx-line-dark);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.ilx-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.ilx-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  font-size: var(--ilx-step--1);
  font-weight: 500;
  color: var(--ilx-text-on-dark);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ilx-line-dark);
  border-radius: var(--ilx-radius-pill);
}
.ilx-hero__points .ilx-icon { width: 1.05rem; height: 1.05rem; color: var(--ilx-ice); }

/* 7. Bandeau des plateformes compatibles ------------------------------- */

.ilx-strip {
  background: var(--ilx-night-2);
  border-block: 1px solid var(--ilx-line-dark);
  color: var(--ilx-text-on-dark);
  padding-block: 1.25rem 1.5rem;
  overflow: hidden;
}
.ilx-strip__title {
  margin: 0 0 0.85rem;
  text-align: center;
  font-family: var(--ilx-font-display);
  font-size: var(--ilx-step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ilx-text-on-dark-muted);
}

.ilx-marquee {
  --ilx-marquee-gap: clamp(2rem, 1rem + 3vw, 4rem);
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* Chaque piste occupe au moins la largeur visible : deux pistes identiques
   décalées de 100 % forment une boucle continue, quel que soit l'écran. */
.ilx-marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  gap: var(--ilx-marquee-gap);
  min-width: 100%;
  margin: 0;
  padding: 0 var(--ilx-marquee-gap) 0 0;
  list-style: none;
  animation: ilx-marquee 45s linear infinite;
}
.ilx-marquee:hover .ilx-marquee__track { animation-play-state: paused; }
.ilx-marquee__item { flex: none; margin: 0; }
.ilx-marquee__logo {
  width: auto;
  height: clamp(2.5rem, 2rem + 1.6vw, 3.5rem);
  opacity: 0.8;
  transition: opacity 0.2s var(--ilx-ease);
}
.ilx-marquee__item:hover .ilx-marquee__logo { opacity: 1; }

@keyframes ilx-marquee {
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .ilx-marquee { -webkit-mask-image: none; mask-image: none; }
  .ilx-marquee__track {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
    padding-inline: 1rem;
    animation: none;
  }
  .ilx-marquee__track[aria-hidden="true"] { display: none; }
}

/* 8. Cartes génériques -------------------------------------------------- */

.ilx-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  background: var(--ilx-card);
  border: 1px solid var(--ilx-line);
  border-radius: var(--ilx-radius-lg);
  box-shadow: var(--ilx-shadow);
  height: 100%;
}
.ilx-card h3 { font-size: var(--ilx-step-1); margin-bottom: 0.2em; }
.ilx-card p { color: var(--ilx-text-muted); margin-bottom: 0; }
.ilx-card p:last-child { margin-bottom: 0; }

.ilx-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--ilx-radius);
  background: rgba(103, 217, 232, 0.16);
  color: var(--ilx-ice-ink);
  margin-bottom: 0.4rem;
}
.ilx-card__icon .ilx-icon { width: 1.6rem; height: 1.6rem; }

.ilx-section--dark .ilx-card {
  background: var(--ilx-night-3);
  border-color: var(--ilx-line-dark);
  box-shadow: none;
  color: var(--ilx-text-on-dark);
}
.ilx-section--dark .ilx-card p { color: var(--ilx-text-on-dark-muted); }
.ilx-section--dark .ilx-card__icon { color: var(--ilx-ice); background: rgba(103, 217, 232, 0.12); }

.ilx-card--link { text-decoration: none; color: inherit; transition: transform 0.2s var(--ilx-ease), border-color 0.2s var(--ilx-ease); }
.ilx-card--link:hover { transform: translateY(-4px); border-color: var(--ilx-ice-ink); color: inherit; }
.ilx-section--dark .ilx-card--link:hover { border-color: var(--ilx-ice); }

.ilx-card__more {
  margin-top: auto;
  padding-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--ilx-step--1);
  color: var(--ilx-ice-ink);
}
.ilx-section--dark .ilx-card__more { color: var(--ilx-ice); }
.ilx-card__more .ilx-icon { width: 1rem; height: 1rem; }

/* 9. Listes à coches ---------------------------------------------------- */

.ilx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.ilx-checks li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.65rem;
  align-items: start;
  margin: 0;
  font-size: var(--ilx-step-0);
}
.ilx-checks li::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.22em;
  border-radius: 50%;
  background: rgba(103, 217, 232, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6b7c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.78rem no-repeat;
}
.ilx-section--dark .ilx-checks li::before {
  background-color: rgba(103, 217, 232, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367d9e8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* 10. Tarifs ------------------------------------------------------------ */

.ilx-pricing__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ilx-line-dark);
  border-radius: var(--ilx-radius-lg);
}
.ilx-section--soft .ilx-pricing__tabs,
.ilx-section--light .ilx-pricing__tabs {
  background: rgba(10, 22, 40, 0.04);
  border-color: var(--ilx-line);
}

.ilx-tab {
  flex: 1 1 auto;
  min-width: 8.5rem;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--ilx-radius);
  font-family: var(--ilx-font-display);
  font-size: var(--ilx-step--1);
  font-weight: 600;
  color: var(--ilx-text-on-dark-muted);
  cursor: pointer;
  transition: background-color 0.18s var(--ilx-ease), color 0.18s var(--ilx-ease);
}
.ilx-tab:hover { color: var(--ilx-text-on-dark); background: rgba(255, 255, 255, 0.06); }
.ilx-tab[aria-selected="true"] {
  background: var(--ilx-ice);
  border-color: var(--ilx-ice);
  color: var(--ilx-night);
}
.ilx-section--soft .ilx-tab { color: var(--ilx-text-muted); }
.ilx-section--soft .ilx-tab:hover { color: var(--ilx-text); background: rgba(10, 22, 40, 0.06); }
.ilx-section--soft .ilx-tab[aria-selected="true"] { color: var(--ilx-night); }

.ilx-tab__screens { display: block; font-weight: 500; opacity: 0.8; font-size: 0.82em; }

.ilx-pricing__panel[hidden] { display: none; }

.ilx-pricing__summary {
  text-align: center;
  margin-bottom: 1.75rem;
  color: var(--ilx-text-on-dark-muted);
}
.ilx-section--soft .ilx-pricing__summary { color: var(--ilx-text-muted); }
.ilx-pricing__summary strong { color: var(--ilx-ice); }
.ilx-section--soft .ilx-pricing__summary strong { color: var(--ilx-ice-ink); }

/* Une colonne, puis deux, puis les quatre durées côte à côte. L'espace
   vertical laisse la place aux étiquettes qui débordent au-dessus des cartes. */
.ilx-pricing__cards {
  display: grid;
  gap: 1.75rem var(--ilx-gap);
  grid-template-columns: 1fr;
  align-items: stretch;
  padding-top: 0.8rem;
}
@media (min-width: 40rem) {
  .ilx-pricing__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 68rem) {
  .ilx-pricing__cards { grid-template-columns: repeat(4, 1fr); }
  .ilx-pricing__cards .ilx-plan { padding: 1.9rem 1.35rem 1.5rem; }
}

.ilx-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  background: var(--ilx-night-3);
  border: 1px solid var(--ilx-line-dark);
  border-radius: var(--ilx-radius-lg);
  color: var(--ilx-text-on-dark);
}
.ilx-section--soft .ilx-plan {
  background: var(--ilx-card);
  border-color: var(--ilx-line);
  color: var(--ilx-text);
  box-shadow: var(--ilx-shadow);
}

.ilx-plan--featured {
  background: linear-gradient(180deg, rgba(103, 217, 232, 0.1), transparent 45%), var(--ilx-night-3);
  border-color: var(--ilx-ice);
  box-shadow: 0 0 0 1px var(--ilx-ice), 0 30px 60px -32px rgba(103, 217, 232, 0.5);
}
.ilx-section--soft .ilx-plan--featured {
  background: linear-gradient(180deg, rgba(103, 217, 232, 0.12), transparent 45%), var(--ilx-card);
  box-shadow: 0 0 0 1px var(--ilx-ice-ink), var(--ilx-shadow-lg);
  border-color: var(--ilx-ice-ink);
}

.ilx-plan__flag {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.85rem;
  background: var(--ilx-ice);
  color: var(--ilx-night);
  border-radius: var(--ilx-radius-pill);
  font-family: var(--ilx-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ilx-plan__flag--alt { background: var(--ilx-coral); }
.ilx-section--soft .ilx-plan__flag--alt { background: var(--ilx-coral-ink); color: #fff; }

.ilx-plan__duration {
  font-family: var(--ilx-font-display);
  font-size: var(--ilx-step-1);
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.ilx-plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--ilx-font-display);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ilx-ice);
  margin-bottom: 0.3rem;
}
.ilx-section--soft .ilx-plan__price { color: var(--ilx-text); }

.ilx-plan__monthly {
  font-size: var(--ilx-step--1);
  color: var(--ilx-text-on-dark-muted);
  margin-bottom: 0.75rem;
}
.ilx-plan__monthly strong { color: var(--ilx-text-on-dark); }
.ilx-section--soft .ilx-plan__monthly { color: var(--ilx-text-muted); }
.ilx-section--soft .ilx-plan__monthly strong { color: var(--ilx-text); }

.ilx-plan__pitch {
  margin: 0 0 0.75rem;
  font-size: var(--ilx-step--1);
  line-height: 1.6;
  color: var(--ilx-text-on-dark-muted);
}
.ilx-section--soft .ilx-plan__pitch { color: var(--ilx-text-muted); }

.ilx-plan__save {
  min-height: 2.1rem;
  padding-bottom: 1.1rem;
  margin: 0 0 1.1rem;
  border-bottom: 1px solid var(--ilx-line-dark);
}
.ilx-section--soft .ilx-plan__save { border-color: var(--ilx-line); }
.ilx-plan__save--empty { min-height: 0; padding-bottom: 0; }

/* Cartes côte à côte : hauteurs réservées pour que les pastilles d'économie
   et les listes s'alignent d'une carte à l'autre. */
@media (min-width: 40rem) {
  .ilx-plan__pitch { min-height: 3.2em; }
  .ilx-plan__save--empty { min-height: 2.1rem; padding-bottom: 1.1rem; }
}

.ilx-plan__save-pill {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: rgba(242, 112, 117, 0.16);
  border: 1px solid rgba(242, 112, 117, 0.35);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ilx-coral);
}
.ilx-section--soft .ilx-plan__save-pill { color: var(--ilx-coral-ink); }

.ilx-plan__features { margin-bottom: 1.5rem; font-size: var(--ilx-step--1); }
.ilx-plan__features li { font-size: inherit; }

.ilx-plan__cta { margin-top: auto; }
.ilx-plan__note {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ilx-text-on-dark-muted);
  text-align: center;
}
.ilx-section--soft .ilx-plan__note { color: var(--ilx-text-muted); }

/* Encart d'essai gratuit sous la grille */
.ilx-trial {
  display: grid;
  gap: 1rem 1.25rem;
  align-items: center;
  margin-top: 2.25rem;
  padding: 1.25rem clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: rgba(103, 217, 232, 0.07);
  border: 1px solid var(--ilx-line-dark);
  border-radius: var(--ilx-radius-lg);
}
@media (min-width: 48rem) {
  .ilx-trial { grid-template-columns: auto 1fr auto; }
}
.ilx-section--soft .ilx-trial { background: var(--ilx-card); border-color: var(--ilx-line); box-shadow: var(--ilx-shadow); }

.ilx-trial__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(103, 217, 232, 0.14);
  color: var(--ilx-ice);
}
.ilx-section--soft .ilx-trial__icon { color: var(--ilx-ice-ink); }
.ilx-trial__title {
  margin: 0 0 0.15rem;
  font-family: var(--ilx-font-display);
  font-size: var(--ilx-step-1);
  font-weight: 700;
}
.ilx-trial__text p:last-child {
  margin: 0;
  font-size: var(--ilx-step--1);
  color: var(--ilx-text-on-dark-muted);
}
.ilx-section--soft .ilx-trial__text p:last-child { color: var(--ilx-text-muted); }

.ilx-pricing__foot {
  margin-top: 2rem;
  text-align: center;
  font-size: var(--ilx-step--1);
  color: var(--ilx-text-on-dark-muted);
}
.ilx-section--soft .ilx-pricing__foot { color: var(--ilx-text-muted); }

/* Tableau comparatif complet */
.ilx-matrix { overflow-x: auto; margin-top: 2.5rem; -webkit-overflow-scrolling: touch; }
.ilx-matrix table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--ilx-step--1);
}
.ilx-matrix caption {
  text-align: left;
  font-weight: 600;
  padding-bottom: 0.75rem;
  color: var(--ilx-text-muted);
}
.ilx-matrix th, .ilx-matrix td {
  padding: 0.7rem 0.85rem;
  text-align: right;
  border-bottom: 1px solid var(--ilx-line);
}
.ilx-matrix th[scope="row"] { text-align: left; font-weight: 600; }
.ilx-matrix thead th { text-align: right; font-weight: 600; white-space: nowrap; }
.ilx-matrix thead th:first-child { text-align: left; }
.ilx-section--dark .ilx-matrix th,
.ilx-section--dark .ilx-matrix td { border-color: var(--ilx-line-dark); }

/* 11. Étapes ------------------------------------------------------------ */

.ilx-steps {
  display: grid;
  gap: var(--ilx-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ilx-step;
}
.ilx-steps li {
  counter-increment: ilx-step;
  margin: 0;
  padding: 1.5rem;
  background: var(--ilx-card);
  border: 1px solid var(--ilx-line);
  border-radius: var(--ilx-radius-lg);
}
.ilx-section--dark .ilx-steps li { background: var(--ilx-night-3); border-color: var(--ilx-line-dark); }
.ilx-steps li::before {
  content: counter(ilx-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.9rem;
  background: var(--ilx-ice);
  color: var(--ilx-night);
  border-radius: 50%;
  font-family: var(--ilx-font-display);
  font-weight: 700;
}
.ilx-steps h3 { font-size: var(--ilx-step-1); }
.ilx-steps p { color: var(--ilx-text-muted); margin-bottom: 0; }
.ilx-section--dark .ilx-steps p { color: var(--ilx-text-on-dark-muted); }

/* 12. Appareils --------------------------------------------------------- */

.ilx-device {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem;
  background: var(--ilx-card);
  border: 1px solid var(--ilx-line);
  border-radius: var(--ilx-radius-lg);
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.2s var(--ilx-ease), border-color 0.2s var(--ilx-ease);
}
.ilx-device:hover { transform: translateY(-4px); border-color: var(--ilx-ice-ink); color: inherit; }
.ilx-device .ilx-icon { width: 1.9rem; height: 1.9rem; color: var(--ilx-ice-ink); }

/* Les logos sont blancs : ils reposent sur un écran bleu nuit, y compris
   lorsque la carte est sur fond clair. */
.ilx-device__screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 7;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  background: radial-gradient(120% 110% at 50% 0%, #17375a 0%, var(--ilx-night) 72%);
  border-radius: var(--ilx-radius);
  box-shadow: inset 0 0 0 1px rgba(103, 217, 232, 0.14);
}
.ilx-device__logo {
  width: auto;
  max-width: 100%;
  height: clamp(2.75rem, 2.4rem + 1vw, 3.5rem);
  object-fit: contain;
}
.ilx-device__logo + .ilx-device__logo { margin-top: -0.35rem; }
.ilx-device__screen:has(.ilx-device__logo + .ilx-device__logo) .ilx-device__logo { height: 2.4rem; }
.ilx-device h3 { font-size: var(--ilx-step-0); margin: 0.4rem 0 0.1rem; }
.ilx-device p { font-size: var(--ilx-step--1); color: var(--ilx-text-muted); margin: 0; }

/* 13. Catalogue / affiches ---------------------------------------------- */

.ilx-posters {
  display: grid;
  gap: var(--ilx-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.ilx-poster {
  border-radius: var(--ilx-radius);
  overflow: hidden;
  border: 1px solid var(--ilx-line-dark);
  background: var(--ilx-night-3);
}
.ilx-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.ilx-poster figcaption {
  padding: 0.8rem 1rem;
  font-size: var(--ilx-step--1);
  color: var(--ilx-text-on-dark-muted);
}
.ilx-poster figcaption strong { display: block; color: var(--ilx-text-on-dark); font-weight: 600; }

.ilx-media-frame {
  border-radius: var(--ilx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ilx-line);
  box-shadow: var(--ilx-shadow-lg);
}
.ilx-section--dark .ilx-media-frame { border-color: var(--ilx-line-dark); }
.ilx-media-frame img { width: 100%; }

/* 14. FAQ --------------------------------------------------------------- */

.ilx-faq { max-width: 52rem; margin-inline: auto; display: grid; gap: 0.75rem; }
.ilx-faq__item {
  background: var(--ilx-card);
  border: 1px solid var(--ilx-line);
  border-radius: var(--ilx-radius);
  overflow: hidden;
}
.ilx-section--dark .ilx-faq__item { background: var(--ilx-night-3); border-color: var(--ilx-line-dark); }

.ilx-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 1rem 1.25rem;
  font-family: var(--ilx-font-display);
  font-size: var(--ilx-step-0);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.ilx-faq__item summary::-webkit-details-marker { display: none; }
.ilx-faq__item summary::after {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s var(--ilx-ease);
}
.ilx-faq__item[open] summary::after { transform: rotate(180deg); }
.ilx-faq__item summary:hover { color: var(--ilx-ice-ink); }
.ilx-section--dark .ilx-faq__item summary:hover { color: var(--ilx-ice); }

.ilx-faq__body { padding: 0 1.25rem 1.25rem; }
.ilx-faq__body > :last-child { margin-bottom: 0; }
.ilx-faq__body p { color: var(--ilx-text-muted); }
.ilx-section--dark .ilx-faq__body p { color: var(--ilx-text-on-dark-muted); }

/* 15. Assistance et CTA final ------------------------------------------- */

.ilx-support__panel {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  background: var(--ilx-night-2);
  border: 1px solid var(--ilx-line-dark);
  border-radius: var(--ilx-radius-lg);
}
@media (min-width: 56rem) {
  .ilx-support__panel { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

.ilx-contact-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ilx-font-display);
  font-size: var(--ilx-step-1);
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-decoration: none;
}
.ilx-contact-line .ilx-icon { color: var(--ilx-ice); }

.ilx-cta-final {
  background: linear-gradient(140deg, var(--ilx-night) 0%, #10304f 100%);
  color: var(--ilx-text-on-dark);
  text-align: center;
}
.ilx-cta-final .ilx-section-intro { color: var(--ilx-text-on-dark-muted); }

/* 16. Bouton WhatsApp flottant ------------------------------------------ */

.ilx-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.85rem 1.4rem;
  background: var(--ilx-whatsapp);
  color: #04291a;
  border-radius: var(--ilx-radius-pill);
  font-family: var(--ilx-font-display);
  font-weight: 600;
  font-size: var(--ilx-step--1);
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(4, 41, 26, 0.6);
  transition: transform 0.2s var(--ilx-ease), background-color 0.2s var(--ilx-ease);
}
.ilx-float:hover { transform: translateY(-3px); background: #4ce089; color: #04291a; }
.ilx-float .ilx-icon { width: 1.5rem; height: 1.5rem; flex: none; }

@media (max-width: 48rem) {
  .ilx-float {
    min-width: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .ilx-float__label { display: none; }
}

/* Masqué quand le menu mobile est ouvert : ne jamais recouvrir la navigation. */
body.ilx-nav-open .ilx-float { display: none; }

/* 17. Fil d'Ariane ------------------------------------------------------ */

.ilx-breadcrumbs { font-size: var(--ilx-step--1); color: var(--ilx-text-muted); }
.ilx-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ilx-breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 0.35rem; }
.ilx-breadcrumbs li + li::before { content: "/"; color: var(--ilx-line); }
.ilx-breadcrumbs [aria-current="page"] { color: var(--ilx-text); font-weight: 500; }
.ilx-section--dark .ilx-breadcrumbs,
.ilx-page-head--dark .ilx-breadcrumbs { color: var(--ilx-text-on-dark-muted); }
.ilx-page-head--dark .ilx-breadcrumbs [aria-current="page"] { color: var(--ilx-text-on-dark); }

/* 18. En-tête de page intérieure ---------------------------------------- */

.ilx-page-head {
  position: relative;
  background: var(--ilx-night);
  color: var(--ilx-text-on-dark);
  padding-block: clamp(2rem, 1.5rem + 3vw, 4rem);
  overflow: hidden;
}
.ilx-page-head::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(103, 217, 232, 0.14), transparent 70%);
  pointer-events: none;
}
.ilx-page-head > .ilx-wrap { position: relative; }
.ilx-page-head h1 { margin: 0.75rem 0 0.4em; }
.ilx-page-head__lead {
  font-size: var(--ilx-step-1);
  color: var(--ilx-text-on-dark-muted);
  max-width: 62ch;
  margin-bottom: 0;
}

/* 19. Contenu éditorial -------------------------------------------------- */

.ilx-prose { max-width: var(--ilx-max-text); }
.ilx-prose > * + * { margin-top: 1.1em; }
.ilx-prose h2 { margin-top: 1.8em; font-size: var(--ilx-step-2); }
.ilx-prose h3 { margin-top: 1.5em; font-size: var(--ilx-step-1); }
.ilx-prose img, .ilx-prose figure { border-radius: var(--ilx-radius); }
.ilx-prose figure { margin-inline: 0; }
.ilx-prose figcaption { font-size: var(--ilx-step--1); color: var(--ilx-text-muted); margin-top: 0.5rem; }
.ilx-prose blockquote {
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.2em;
  border-left: 3px solid var(--ilx-ice);
  color: var(--ilx-text-muted);
  font-style: italic;
}
.ilx-prose table { width: 100%; border-collapse: collapse; font-size: var(--ilx-step--1); }
.ilx-prose th, .ilx-prose td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--ilx-line); text-align: left; }
.ilx-prose code {
  padding: 0.15em 0.4em;
  background: var(--ilx-bg-soft);
  border-radius: 5px;
  font-size: 0.9em;
}

.ilx-toc {
  padding: 1.25rem 1.5rem;
  background: var(--ilx-bg-soft);
  border: 1px solid var(--ilx-line);
  border-radius: var(--ilx-radius);
}
.ilx-toc h2 { font-size: var(--ilx-step-0); margin: 0 0 0.6rem; }
.ilx-toc ul { margin: 0; padding-left: 1.1rem; }
.ilx-toc li { margin-bottom: 0.3em; }

/* 20. Blog -------------------------------------------------------------- */

.ilx-posts {
  display: grid;
  gap: var(--ilx-gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.ilx-post-card {
  display: flex;
  flex-direction: column;
  background: var(--ilx-card);
  border: 1px solid var(--ilx-line);
  border-radius: var(--ilx-radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s var(--ilx-ease), border-color 0.2s var(--ilx-ease);
}
.ilx-post-card:hover { transform: translateY(-4px); border-color: var(--ilx-ice-ink); }
.ilx-post-card__media { aspect-ratio: 16 / 9; background: var(--ilx-bg-soft); overflow: hidden; }
.ilx-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ilx-post-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; flex: 1; }
.ilx-post-card h3 { font-size: var(--ilx-step-1); margin: 0; }
.ilx-post-card h3 a { color: inherit; text-decoration: none; }
.ilx-post-card h3 a:hover { color: var(--ilx-ice-ink); }
.ilx-post-card p { color: var(--ilx-text-muted); font-size: var(--ilx-step--1); margin: 0; }
.ilx-post-card__meta {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--ilx-text-muted);
}

.ilx-pagination { margin-top: 3rem; }
.ilx-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.ilx-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.75rem;
  border: 1px solid var(--ilx-line);
  border-radius: var(--ilx-radius);
  text-decoration: none;
  color: var(--ilx-text);
  font-weight: 500;
}
.ilx-pagination .page-numbers:hover { border-color: var(--ilx-ice-ink); }
.ilx-pagination .page-numbers.current {
  background: var(--ilx-night);
  border-color: var(--ilx-night);
  color: var(--ilx-ivory);
}

.ilx-post-nav {
  display: grid;
  gap: var(--ilx-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ilx-line);
}
.ilx-post-nav a {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ilx-line);
  border-radius: var(--ilx-radius);
  text-decoration: none;
  color: inherit;
}
.ilx-post-nav a:hover { border-color: var(--ilx-ice-ink); }
.ilx-post-nav span { display: block; font-size: 0.8rem; color: var(--ilx-text-muted); margin-bottom: 0.2rem; }
.ilx-post-nav strong { font-family: var(--ilx-font-display); font-weight: 600; }

.ilx-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: var(--ilx-step--1);
  color: var(--ilx-text-on-dark-muted);
  margin-top: 1rem;
}

/* 21. Formulaires -------------------------------------------------------- */

.ilx-form { display: grid; gap: 1.1rem; }
.ilx-field { display: grid; gap: 0.4rem; }
.ilx-field label { font-weight: 600; font-size: var(--ilx-step--1); }
.ilx-field__hint { font-size: 0.8rem; color: var(--ilx-text-muted); }

.ilx-form input[type="text"],
.ilx-form input[type="email"],
.ilx-form input[type="search"],
.ilx-form select,
.ilx-form textarea,
.ilx-search input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: var(--ilx-bg);
  border: 1px solid var(--ilx-line);
  border-radius: var(--ilx-radius);
  font: inherit;
  color: inherit;
}
.ilx-form textarea { min-height: 9rem; resize: vertical; }
.ilx-form input:focus-visible,
.ilx-form select:focus-visible,
.ilx-form textarea:focus-visible { border-color: var(--ilx-ice-ink); }

.ilx-field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
}
.ilx-field--check input { width: 1.2rem; height: 1.2rem; margin-top: 0.25em; accent-color: var(--ilx-ice-ink); }
.ilx-field--check label { font-weight: 400; }

.ilx-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ilx-notice {
  padding: 1rem 1.25rem;
  border-radius: var(--ilx-radius);
  border: 1px solid;
  margin-bottom: 1.5rem;
}
.ilx-notice--success { background: rgba(18, 121, 95, 0.08); border-color: rgba(18, 121, 95, 0.35); color: var(--ilx-success); }
.ilx-notice--error { background: rgba(178, 53, 61, 0.07); border-color: rgba(178, 53, 61, 0.3); color: var(--ilx-error); }
.ilx-notice p { margin: 0; color: inherit; }

.ilx-search { display: flex; gap: 0.5rem; }
.ilx-search input { flex: 1; }

/* 22. Pied de page ------------------------------------------------------- */

.ilx-footer {
  background: var(--ilx-night);
  color: var(--ilx-text-on-dark-muted);
  padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  font-size: var(--ilx-step--1);
}
.ilx-footer__grid {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.ilx-footer__brand { grid-column: span 2; max-width: 28rem; }
@media (max-width: 42rem) { .ilx-footer__brand { grid-column: auto; } }
.ilx-footer__brand img { height: 2.5rem; width: auto; margin-bottom: 1rem; }
.ilx-footer h2 {
  font-size: var(--ilx-step-0);
  color: var(--ilx-text-on-dark);
  margin-bottom: 0.9rem;
}
.ilx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.ilx-footer li { margin: 0; }
.ilx-footer a { color: var(--ilx-text-on-dark-muted); text-decoration: none; }
.ilx-footer a:hover { color: var(--ilx-ice); text-decoration: underline; }
.ilx-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--ilx-line-dark);
  font-size: 0.8rem;
}
.ilx-footer__bottom p { margin: 0; }

/* 23. Page 404 et recherche ---------------------------------------------- */

.ilx-404 { text-align: center; max-width: 44rem; margin-inline: auto; }
.ilx-404__code {
  font-family: var(--ilx-font-display);
  font-size: clamp(4rem, 3rem + 8vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ilx-ice);
  margin: 0;
}
.ilx-404 .ilx-search { max-width: 26rem; margin: 2rem auto 0; }
.ilx-404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.ilx-404__links li { margin: 0; }

/* 24. Mouvement réduit --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ilx-btn:hover,
  .ilx-card--link:hover,
  .ilx-device:hover,
  .ilx-post-card:hover,
  .ilx-float:hover { transform: none; }
}

/* 25. Impression --------------------------------------------------------- */

@media print {
  .ilx-header, .ilx-float, .ilx-footer, .ilx-actions { display: none !important; }
  body { background: #fff; color: #000; }
}
