/* ═══════════════════════════════════════════════════════════════════════
   IAS2026 — Système de design partagé
   Chargé sur toutes les pages IAS via wp_enqueue_scripts
   Auteur : Ousmane Charles Diémé / Ndar Création
═══════════════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────────────── */
:root {
  /* Couleurs primaires */
  --p:   #252955;
  --p4:  #5C609E;
  --p2:  #9295C3;
  --p1:  #C4C6E0;
  --p0:  #EAEBF4;

  /* Couleurs secondaires */
  --s:   #188CCD;
  --s4:  #2FA3D8;
  --s2:  #6DBDE5;
  --s1:  #AADAF1;
  --s0:  #E3F4FB;

  /* Fonds et textes */
  --bg:   #FFFFFF;
  --alt:  #F4F4F8;
  --ink:  #1A1C2E;
  --muted:#6B6E8A;

  /* Bordures et ombres */
  --brd: rgba(26,28,46,.08);
  --sh:  0 2px 16px rgba(26,28,46,.08);
  --shl: 0 8px 40px rgba(26,28,46,.12);

  /* Typographie */
  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'Outfit', system-ui, sans-serif;

  /* Géométrie */
  --r:    16px;
  --r2:   24px;
  --nav-h: 88px;
  --section-pad: clamp(80px, 12vw, 140px);
}

/* ── RESET ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── PAGE HEADERS (Artistes, Archives, etc) ────────────────────────── */
.art-page-header {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  background: var(--p);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.art-hero-content { position: relative; z-index: 5; max-width: 800px; margin: 0 auto; }
.art-hero-title { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5rem); color: #fff; margin: 1.5rem 0 2rem; }
.art-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 3rem; }

.art-hero-stats { display: flex; justify-content: center; gap: 40px; }
.art-stat-num { font-family: var(--serif); font-size: 4rem; color: var(--s); display: block; line-height: 1; }
.art-stat-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,0.4); font-weight: 700; }

img { display: block; max-width: 100%; height: auto; }
a   { color: var(--s); text-decoration: none; transition: color .2s; }
a:hover { color: var(--p); }

/* ── TYPOGRAPHIE ────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.05;
  color: var(--p);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); font-family: var(--sans); font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--s);
}
.muted { color: var(--muted); }
.serif-i { font-family: var(--serif); font-style: italic; }

/* ── LAYOUT ─────────────────────────────────────────────────────────── */
.ias-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.ias-section { padding: clamp(64px, 8vw, 104px) 0; }
.ias-section--alt { background: var(--alt); }
.ias-section--navy {
  background: var(--p);
  color: rgba(255,255,255,.85);
}
.ias-section--navy h2,
.ias-section--navy h3 { color: #fff; }
.ias-section--navy .eyebrow { color: var(--s1); }

/* ── BOUTONS ────────────────────────────────────────────────────────── */
.ias-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.ias-btn--primary  { background: var(--p);   color: #fff; }
.ias-btn--primary:hover  { background: var(--p4); color: #fff; }
.ias-btn--blue    { background: var(--s);   color: #fff; }
.ias-btn--blue:hover  { background: var(--s4); color: #fff; }
.ias-btn--ghost   { background: transparent; color: var(--p); border: 2px solid var(--p1); }
.ias-btn--ghost:hover { background: var(--p0); color: var(--p); }
.ias-btn--ghost-white {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
}
.ias-btn--ghost-white:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ── NAVIGATION PRINCIPALE ──────────────────────────────────────────── */
.ias-nav {
  position: fixed;
  top: 14px;
  left: clamp(14px, 2.5vw, 24px);
  right: clamp(14px, 2.5vw, 24px);
  z-index: 900;
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(37,41,85,.09);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(37,41,85,.09), 0 1px 4px rgba(37,41,85,.05);
  transition: box-shadow .3s, border-color .3s;
}
.ias-nav.is-scrolled {
  box-shadow: 0 8px 40px rgba(37,41,85,.13), 0 1px 4px rgba(37,41,85,.06);
  border-color: rgba(37,41,85,.06);
}
.ias-nav__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px clamp(14px, 2.5vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ias-nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.ias-nav__brand strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--p);
}
.ias-nav__brand span {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ias-nav__links {
  display: flex;
  gap: 0;
  align-items: center;
  border: 1px solid rgba(37,41,85,.14);
  border-radius: 100px;
  padding: 4px 6px;
  background: transparent;
}
.ias-nav__links a {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 7px 16px;
  border-radius: 100px;
  transition: background .22s, color .22s;
  text-decoration: none;
  white-space: nowrap;
}
.ias-nav__links a:hover,
.ias-nav__links a.is-active {
  background: var(--p);
  color: #fff;
}
.ias-nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ias-lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(37,41,85,.06);
  border-radius: 20px;
  padding: 4px;
  border: 1px solid rgba(37,41,85,.08);
}
.ias-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  min-height: 32px; /* touch target amélioré */
  border-radius: 16px;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  white-space: nowrap;
}
.ias-lang-btn:hover { color: var(--p); }
.ias-lang-btn.is-active {
  background: var(--p);
  color: #fff;
  box-shadow: 0 1px 6px rgba(37,41,85,.2);
}
.ias-lang-btn:active { transform: scale(0.96); }
.ias-lang-flag {
  display: flex;
  align-items: center;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.ias-lang-code { line-height: 1; }
.ias-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.ias-nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--p);
  border-radius: 2px;
  display: block;
  transition: .3s;
}
.ias-nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: clamp(14px, 2.5vw, 24px);
  right: clamp(14px, 2.5vw, 24px);
  background: #fff;
  border: 1px solid rgba(37,41,85,.09);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 12px 16px 16px;
  z-index: 899;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 12px 40px rgba(37,41,85,.13);
  max-height: calc(100vh - var(--nav-h) - 16px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ias-nav-mobile.is-open { display: flex; }
.ias-nav-mobile a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 13px 16px; /* touch target ≥ 44px */
  border-radius: 8px;
  display: block;
  transition: .2s;
}
.ias-nav-mobile a:hover { background: var(--p0); color: var(--p); }

/* ── FOOTER — bloc obsolète supprimé, voir section 12 plus bas ─── */

/* ── ANIMATION SYSTEM v2 ────────────────────────────────────────────── */

/* Easing et durée globaux */
:root {
  --ease-spring:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --reveal-dur:   0.72s;
}

/* ── Propriétés communes à tous les variants ── */
.reveal,
.reveal-l,
.reveal-r,
.reveal-scale,
.reveal-clip,
.reveal-blur {
  transition-duration:        var(--reveal-dur);
  transition-timing-function: var(--ease-spring);
  transition-delay:           var(--delay, 0ms);
  will-change:                transform, opacity;
}

/* ── États initiaux (uniquement si JS est activé) ── */
.js .reveal       { opacity: 0; transform: translateY(28px);
                transition-property: opacity, transform; }
.js .reveal-l     { opacity: 0; transform: translateX(-36px);
                transition-property: opacity, transform; }
.js .reveal-r     { opacity: 0; transform: translateX(36px);
                transition-property: opacity, transform; }
.js .reveal-scale { opacity: 0; transform: scale(0.93) translateY(18px);
                transition-property: opacity, transform; }
.js .reveal-blur  { opacity: 0; transform: translateY(20px); filter: blur(10px);
                transition-property: opacity, transform, filter;
                transition-duration: 0.85s; }
.js .reveal-clip  { clip-path: inset(0 0 100% 0); opacity: 1;
                transition-property: clip-path;
                transition-duration: 0.8s; }

/* ── États visibles (toutes classes déclenchantes) ── */
.reveal.is-visible,   .reveal.in,   .reveal.visible,
.reveal-l.is-visible, .reveal-l.in, .reveal-l.visible,
.reveal-r.is-visible, .reveal-r.in, .reveal-r.visible {
  opacity: 1; transform: none;
}
.reveal-scale.is-visible, .reveal-scale.in, .reveal-scale.visible {
  opacity: 1; transform: none;
}
.reveal-blur.is-visible, .reveal-blur.in, .reveal-blur.visible {
  opacity: 1; transform: none; filter: blur(0);
}
.reveal-clip.is-visible, .reveal-clip.in, .reveal-clip.visible {
  clip-path: inset(0 0 0% 0);
}

/* ── Grain texture — ajoutez la classe sur n'importe quel fond sombre ── */
.ias-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .04;
}

/* ── Parallax hero — background layer animé au scroll (CSS) ── */
@supports (animation-timeline: scroll()) {
  .ias-hero-parallax {
    animation: ias-parallax-y linear both;
    animation-timeline: scroll(root block);
    animation-range: entry 0% cover 50%;
  }
  @keyframes ias-parallax-y {
    from { transform: translateY(0px); }
    to   { transform: translateY(60px); }
  }

  /* Variante plus prononcée pour les images de fond */
  .ias-hero-parallax--strong {
    animation: ias-parallax-y-strong linear both;
    animation-timeline: scroll(root block);
    animation-range: entry 0% cover 60%;
  }
  @keyframes ias-parallax-y-strong {
    from { transform: translateY(-20px); }
    to   { transform: translateY(80px); }
  }
}

/* ── Section scroll marker — ligne latérale qui se remplie au scroll ── */
.ias-scroll-marker {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brd);
  overflow: hidden;
}
.ias-scroll-marker::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--s);
  height: 0%;
  transition: height .3s var(--ease-out);
}

/* ── Hover split-line sur les titres de section ── */
.ias-title-hover {
  position: relative;
  display: inline-block;
}
.ias-title-hover::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--s);
  transition: width .5s var(--ease-spring);
}
.ias-title-hover:hover::after { width: 100%; }

/* ── Numéro d'index éditorial ── */
.ias-index-num {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
  opacity: .5;
}

/* ── Ligne décorative animée ── */
.ias-deco-line {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--s), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-spring);
}
.ias-deco-line.is-visible { transform: scaleX(1); }

/* ── CARD GÉNÉRIQUE ─────────────────────────────────────────────────── */
.ias-card {
  background: var(--bg);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
  box-shadow: 0 4px 20px rgba(37,41,85,0.04);
}
.ias-card:hover { 
  box-shadow: 0 20px 60px rgba(37,41,85,0.12); 
  transform: translateY(-8px); 
}

/* ── CHIPS / TAGS ────────────────────────────────────────────────────── */
.ias-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  background: var(--s0);
  color: var(--s4);
}
.ias-tag--navy { background: var(--p0); color: var(--p4); }
.ias-tag--gold { background: #fef3c7; color: #92400e; }

/* ── BARRE FILTRE STICKY ─────────────────────────────────────────────── */
.ias-filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 800;
  background: #fff;
  border-bottom: 1px solid var(--brd);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ias-filter-bar::-webkit-scrollbar { display: none; }
.ias-filter-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  gap: 4px;
  align-items: stretch;
  min-width: max-content;
}
.ias-filter-btn {
  padding: 13px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--sans);
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}
.ias-filter-btn:hover { color: var(--p); }
.ias-filter-btn.is-active {
  color: var(--p);
  border-bottom-color: var(--s);
}

/* ── FORMULAIRE ─────────────────────────────────────────────────────── */
.ias-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.ias-form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.ias-form-group input,
.ias-form-group select,
.ias-form-group textarea {
  font-family: var(--sans);
  font-size: 1rem; /* 16px — évite le zoom auto sur iOS */
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--brd);
  border-radius: var(--r);
  padding: 11px 15px;
  transition: .2s;
  outline: none;
  resize: vertical;
  width: 100%;
}
.ias-form-group input:focus,
.ias-form-group select:focus,
.ias-form-group textarea:focus {
  border-color: var(--s);
  box-shadow: 0 0 0 3px rgba(24,140,205,.1);
}
.ias-form-group input::placeholder,
.ias-form-group textarea::placeholder { color: var(--p2); }
.ias-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6E8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.ias-form-group textarea { min-height: 120px; }
.ias-form-submit {
  width: 100%;
  padding: 13px;
  background: var(--p);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ias-form-submit:hover { background: var(--p4); }

/* ── NAV : bouton contact (desktop) ──────────────────────────────── */
.ias-nav__contact-btn {
  padding: 8px 16px;
  font-size: .72rem;
  letter-spacing: .04em;
  border-radius: 20px;
}

/* ── FAB CONTACT MOBILE ──────────────────────────────────────────── */
.ias-contact-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--s);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(24,140,205,.45);
  transition: transform .2s var(--ease-spring), box-shadow .2s;
  align-items: center;
  justify-content: center;
}
.ias-contact-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(24,140,205,.55);
}
.ias-contact-fab svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ias-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Sur mobile : nav pleine largeur, pas de flottement */
  :root { --nav-h: 64px; }
  .ias-nav {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }
  .ias-nav-mobile {
    top: var(--nav-h);
    left: 0;
    right: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .ias-nav__links { display: none; }
  .ias-nav__burger { display: flex; }
  .ias-nav__contact-btn { display: none; }
  .ias-contact-fab { display: flex; }
  .ias-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .ias-footer__grid { grid-template-columns: 1fr; }
  .ias-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ══════════════════════════════════════════════════════════
   ARTICLE / SINGLE POST
   ══════════════════════════════════════════════════════════ */

/* Brand / Logo */
.ias-nav__brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}
.ias-nav__brand:hover { opacity: 0.8; }

.ias-nav__logo-wrap {
  display: flex;
  align-items: center;
  height: 100%;
}



.ias-logo {
  height: 42px; /* Taille optimale pour 2026 */
  width: auto;
  display: block;
  transition: all 0.4s var(--ease-spring);
}

/* Gestion Light/Dark */
.ias-logo--light { display: none; }
.ias-logo--dark { display: block; }

/* Si on décide d'avoir un header transparent au sommet (is-top) */
.ias-nav.is-transparent:not(.is-scrolled) .ias-logo--dark { display: none; }
.ias-nav.is-transparent:not(.is-scrolled) .ias-logo--light { display: block; }

.is-scrolled .ias-logo {
  height: 36px;
}

/* Lead intro */
.article-lead {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.75;
  color: var(--p);
  font-weight: 400;
  border-left: 3px solid var(--s);
  padding-left: 1.4rem;
  margin-bottom: 2.5rem;
}

/* Contenu post Gutenberg */
.entry-content h2,
.wp-block-post-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--p);
  margin: 2.5rem 0 1rem;
  line-height: 1.15;
}
.entry-content h3,
.wp-block-post-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: var(--p);
  margin: 2rem 0 .75rem;
}
.entry-content p,
.wp-block-post-content p {
  font-family: var(--sans);
  font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.82;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.entry-content ul,
.wp-block-post-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.entry-content li,
.wp-block-post-content li {
  font-family: var(--sans);
  font-size: clamp(.88rem, 1.05vw, .97rem);
  color: var(--ink);
  line-height: 1.72;
  margin-bottom: .5rem;
}
.entry-content hr,
.wp-block-post-content hr {
  border: none;
  border-top: 1px solid rgba(37,41,85,.1);
  margin: 2.5rem 0;
}
.entry-content strong,
.wp-block-post-content strong {
  color: var(--p);
  font-weight: 700;
}

/* ── PROSE — contenus ACF / WYSIWYG hors .entry-content ──────────────── */
.ed-vision__text,
.ed-focus .reveal,
.sap-content,
.ias-lang-fr,
.ias-lang-en {
  font-family: var(--sans);
  font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.82;
  color: var(--ink);
}
.ed-vision__text p,
.ed-focus .reveal p,
.sap-content p,
.ias-lang-fr p,
.ias-lang-en p { margin-bottom: 1.25rem; }

.ed-vision__text ul,
.ed-focus .reveal ul,
.sap-content ul,
.ias-lang-fr ul,
.ias-lang-en ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }

.ed-vision__text li,
.ed-focus .reveal li,
.sap-content li,
.ias-lang-fr li,
.ias-lang-en li { line-height: 1.72; margin-bottom: .5rem; }

.ed-vision__text strong,
.ed-focus .reveal strong,
.sap-content strong,
.ias-lang-fr strong,
.ias-lang-en strong { color: var(--p); font-weight: 700; }

.ed-vision__text h3,
.ed-focus .reveal h3,
.sap-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: var(--p);
  margin: 2rem 0 .75rem;
}

/* ── FORMULAIRES — feedback AJAX (partagé) ──────────────────────────────── */
.sap-form__feedback,
.so-form__feedback,
.gv-acq-feedback {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  display: none;
}
.sap-form__feedback:not(:empty),
.so-form__feedback:not(:empty),
.gv-acq-feedback:not(:empty) { display: block; }
.sap-form__feedback.is-success,
.so-form__feedback.is-success,
.gv-acq-feedback.is-success {
  background: rgba(16,185,89,.1);
  border: 1px solid rgba(16,185,89,.3);
  color: #0e8a47;
}
.sap-form__feedback.is-error,
.so-form__feedback.is-error,
.gv-acq-feedback.is-error {
  background: rgba(220,38,38,.08);
  border: 1px solid rgba(220,38,38,.2);
  color: #c62828;
}

/* Blockquote IAS */
.ias-blockquote,
.wp-block-quote.ias-blockquote {
  border-left: 4px solid var(--s);
  background: rgba(24,140,205,.05);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
}
.ias-blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--p);
  line-height: 1.65;
  margin: 0;
}

/* Listes stylisées articles */
.ias-sites-list,
.ias-features-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.ias-sites-list li,
.ias-features-list li {
  padding: .75rem 1rem .75rem 1.4rem;
  background: rgba(37,41,85,.03);
  border-left: 3px solid var(--s);
  border-radius: 0 6px 6px 0;
}
.ias-features-list li {
  border-left-color: var(--p);
}

/* ════════════════════════════════════════════════════════════════════════
   12. FOOTER PREMIUM 2026
   ════════════════════════════════════════════════════════════════════════ */
.ias-footer {
  background: var(--p);
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

/* Motif de fond discret */
.ias-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.ias-footer__top {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ias-footer__cta h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  color: #fff;
  line-height: 1.05;
  max-width: 900px;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

/* Grid */
.ias-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.ias-footer__logo-img {
  height: 80px; /* Taille optimale footer */
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.ias-footer__desc {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
}

.ias-footer__col h5 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.8rem;
}

.ias-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ias-footer__menu a {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: inline-block;
}
.ias-footer__menu a:hover {
  color: #fff;
  transform: translateX(6px);
}


/* ── FIL D'ARIANE (breadcrumb) ──────────────────────── */
.ias-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 28px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.ias-breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.ias-breadcrumb a:hover {
  color: rgba(255,255,255,.9);
}
.ias-bc-sep {
  color: rgba(255,255,255,.25);
  margin: 0 2px;
  font-size: .7rem;
}
.ias-bc-current {
  color: rgba(255,255,255,.85);
  font-weight: 600;
}

/* Social */
.ias-footer__social {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.ias-footer__social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s var(--ease-spring);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.ias-footer__social-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.3s var(--ease-spring);
  position: relative;
  z-index: 3;
}

.ias-footer__social-btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--s);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s var(--ease-spring);
  z-index: 2;
}

.ias-footer__social-btn:hover {
  border-color: var(--s);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(24, 140, 205, 0.3);
}

.ias-footer__social-btn:hover::before {
  transform: scale(1);
}

.ias-footer__social-btn:hover svg {
  transform: scale(1.1);
  color: #fff;
}


/* ── Colonne 4 : contact block ──────────────────────── */
.ias-footer__contact-block {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
}
.ias-footer__contact-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin: 0 0 16px;
}
.ias-footer__contact-btn {
  display: inline-flex !important;
  width: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Bottom */
.ias-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
}

.ias-footer__credits {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ias-footer__credits a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .ias-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }
  .ias-footer__col--brand { grid-column: 1 / -1; margin-bottom: 20px; }
}

@media (max-width: 640px) {
  .ias-footer__grid { grid-template-columns: 1fr; }
  .ias-footer__bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* ── FILIGRANE — Watermark global oeuvres ─────────────────────────────── */
.ias-wm {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  padding: 4px 9px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.22);
  transition: opacity .25s ease;
}
.ias-wm__text {
  font-family: var(--sans,'Outfit',sans-serif);
  font-size: .56rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,.9);
}
/* Variantes de taille */
.ias-wm--thumb            { bottom: 6px; right: 6px; padding: 3px 7px; }
.ias-wm--thumb .ias-wm__text { font-size: .46rem; }
.ias-wm--modal            { bottom: 14px; right: 14px; padding: 5px 11px; }
.ias-wm--modal .ias-wm__text { font-size: .62rem; }
.ias-wm--single           { bottom: 12px; right: auto; left: 12px; }
.ias-wm--lb               { bottom: 16px; right: 16px; }
.ias-wm--lb .ias-wm__text { font-size: .65rem; }

/* --- Archives Participants --- */
.arc-item-participants {
  margin: 15px 0 20px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  background: var(--alt);
  padding: 10px 15px;
  border-radius: 8px;
}
.arc-item-participants strong {
  color: var(--p);
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL CONTACT GLOBAL
   ═══════════════════════════════════════════════════════════════════════════ */
.ias-modal {
  position: fixed;
  inset: 0;
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ias-modal[hidden] { display: none; }

.ias-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 28, 46, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.ias-modal__box {
  position: relative;
  background: var(--bg);
  border-radius: 20px;
  padding: 48px 44px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(37, 41, 85, 0.22);
  animation: iasModalIn .28s cubic-bezier(.22,.68,0,1.2) both;
}

@keyframes iasModalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.ias-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background .2s;
  flex-shrink: 0;
}
.ias-modal__close:hover { background: #d8d9e8; }

.ias-modal__header { margin-bottom: 28px; }

.ias-modal__overline {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--s);
  margin-bottom: 8px;
}

.ias-modal__header h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--p);
  margin: 0 0 8px;
  line-height: 1.2;
}
.ias-modal__header p {
  font-size: .875rem;
  color: var(--muted);
  margin: 0;
}

.ias-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ias-modal__field { margin-bottom: 18px; }

.ias-modal__field label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--p);
  margin-bottom: 7px;
}
.ias-modal__field label em {
  font-style: normal;
  color: #d93025;
}

.ias-modal__field input,
.ias-modal__field select,
.ias-modal__field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #dde0ef;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.ias-modal__field input:focus,
.ias-modal__field select:focus,
.ias-modal__field textarea:focus {
  border-color: var(--s);
  box-shadow: 0 0 0 3px rgba(24, 140, 205, .12);
}
.ias-modal__field textarea { resize: vertical; min-height: 110px; }
.ias-modal__field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6E8A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.ias-modal__feedback {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .875rem;
  margin-bottom: 16px;
}
.ias-modal__feedback:not(:empty) { display: block; }
.ias-modal__feedback.is-success { background: rgba(16,185,89,.1); color: #0e8a47; }
.ias-modal__feedback.is-error   { background: rgba(220,38,38,.08); color: #c62828; }

.ias-modal__submit {
  width: 100%;
  justify-content: center;
  gap: 8px;
  display: flex;
  align-items: center;
  font-size: .9rem;
  padding: 14px 20px;
}

@media (max-width: 540px) {
  .ias-modal__box  { padding: 36px 22px; border-radius: 16px; }
  .ias-modal__row  { grid-template-columns: 1fr; gap: 0; }
}
