/* ==========================================================================
   JustiComm · accueil v4 · section « À quoi peut servir un outil IA dans votre cabinet ? » · v5
   Octave, 14/10/2026 · demande de Raoudha : « en pleine largeur, parce que sinon ça fait un gros téléphone
   et un tout petit contenu », et une plus jolie présentation des exemples 02, 03, 04. À valider par Raoudha.

   Maquette : composants/ia-v5.html. Pour l’intégrer : recopier la section dans index.html (à la place de
   section#outils-ia) et charger cette feuille après css/methode-fil.css. Toutes les classes commencent par ia5.
   Composants repris tels quels : .titre-section, .conteneur, .section, boutons de la charte, .tel, .bulle, .alma__*.

   1. En-tête : titre et chapeau sur toute la largeur du conteneur (comme la section 2, « Comment vos futurs clients… »).
   2. Panneau « Démonstration » pleine largeur : à gauche une scène crème (téléphone de 300 px, trois ondes au trait),
      à droite le texte, les trois points cuivre, puis « Écouter l’appel », la note et « Lire la transcription ».
      Au téléphone : texte, téléphone, puis le bouton juste dessous (même panneau [data-alma] : js/demo-alma.js inchangé).
   3. Exemples 02 à 04 : une carte chacun, une illustration au trait cuivre (SVG dans le HTML), surtitre, titre, texte.
      Trois colonnes à partir de 64em ; entre 40 et 64em, l’illustration à gauche du texte ; une colonne au téléphone.
   4. Note, phrase de fin et bouton, sur un filet.

   Couleurs (WCAG 2.x, calculées) : surtitres en cuivre foncé #8A4A28, 6,4:1 sur la carte #FBF8F2 et 5,7:1 sur crème ;
   texte encre 15,1:1 ; note taupe 5,2:1 sur la carte, 4,9:1 sur papier ; le cuivre #B06339 ne sert qu’aux traits et aux points.

   Animations : l’état FINAL est l’état par défaut. L’état de départ n’existe que sous html.anime-v4 (posée par
   js/accueil-v4.js si le mouvement est permis) ; tout part quand js/theme.js pose .est-visible sur le [data-reveal]
   parent (le panneau ou la carte). Une seule lecture, jamais en boucle. Rien sous prefers-reduced-motion.
   ========================================================================== */

.ia5 {
  --ia5-carte: #FBF8F2;                 /* surface des cartes et du panneau : un ton au-dessus du papier */
  --ia5-filet: var(--lin);
  --ia5-point: radial-gradient(circle at 35% 35%, #F3C7A6, var(--cuivre) 55%, var(--cuivre-fonce, #8A4A28));
  --ia5-tel: min(100%, 300px);          /* largeur du téléphone : 300 px au téléphone et sur ordinateur, 260 px entre 56 et 75em */
  --ia5-trame:                          /* trame de points très légère, crème */
    radial-gradient(circle, rgba(156, 121, 82, 0.16) 1px, transparent 1.3px) 0 0 / 18px 18px;
}

/* --------------------------------------------------------------------------
   1. En-tête
   -------------------------------------------------------------------------- */
.ia5__entete { display: grid; gap: clamp(16px, 1.6vw, 22px); }
.ia5 .ia5__titre { max-width: none; }
.ia5__chapo {
  max-width: none;                      /* toute la largeur du conteneur, comme les paragraphes de la section 2 */
  font-size: var(--t-chapo);
  line-height: 1.55;
  color: var(--petrole);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   2. Le panneau de la démonstration
   -------------------------------------------------------------------------- */
.ia5__vedette {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* une colonne qui ne dépasse jamais (320 px : le bouton ne force plus la largeur) */
  margin-top: clamp(40px, 4.4vw, 64px);
  overflow: clip;                       /* clip et non hidden : le téléphone peut rester collant quand la transcription est ouverte */
  background: var(--ia5-carte);
  border: 1px solid var(--ia5-filet);
  border-radius: 4px;
  box-shadow: 0 0.1rem 0.25rem rgba(6, 42, 43, 0.04), 0 2.75rem 4.5rem -3.25rem rgba(6, 42, 43, 0.38);
}
/* filet or en haut, comme les encadrés des services */
.ia5__vedette::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, var(--or-400), var(--or-clair) 50%, var(--or-400));
}

/* La scène : crème, trame de points, halo clair au centre ; le téléphone et ses ondes */
.ia5__scene {
  position: relative;
  display: grid;
  place-items: center;
  overflow: clip;
  padding: clamp(44px, 6vw, 64px) 20px;
  background:
    radial-gradient(closest-side, rgba(255, 253, 249, 0.92), rgba(255, 253, 249, 0)) 50% 50% / 92% 78% no-repeat,
    var(--ia5-trame),
    var(--creme);
  border-block: 1px solid var(--ia5-filet);
}
.ia5__tel { position: relative; width: var(--ia5-tel); }
.ia5__tel .tel { position: relative; z-index: 1; }
.ia5__ondes {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 215%;
  max-width: none;
  height: auto;
  translate: -50% -50%;
  overflow: visible;
  pointer-events: none;
}
.ia5__onde { fill: none; stroke: rgba(156, 121, 82, 0.34); stroke-width: 1; }
.ia5__onde--loin { stroke: rgba(156, 121, 82, 0.2); }
.ia5__onde-point { fill: var(--cuivre); }

/* La colonne de texte */
.ia5__colonne { display: contents; }          /* au téléphone : texte, scène, commandes (voir l’ordre plus bas) */
.ia5__texte { order: 1; padding: clamp(30px, 6vw, 44px) clamp(22px, 5.5vw, 44px) clamp(32px, 6vw, 44px); }
.ia5__scene { order: 2; }
.ia5__commandes { order: 3; padding: 26px clamp(22px, 5.5vw, 44px) clamp(30px, 6vw, 44px); }

.ia5__surtitre,
.ia5__ex-surtitre {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font: 500 0.875rem / 1.4 var(--f-texte);    /* 14 px, capitales espacées */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cuivre-fonce, #8A4A28);        /* 6,4:1 sur la carte */
}
.ia5__surtitre::before,
.ia5__ex-surtitre::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ia5-point);
  box-shadow: 0 0 0 4px rgba(176, 99, 57, 0.12);
}
.ia5__titre-vedette {
  margin-top: 16px;
  font-size: clamp(1.875rem, 1.45rem + 1.1vw, 2.5rem);   /* 30 → 40 px */
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.ia5__intro { margin-top: 18px; max-width: 38rem; color: var(--encre); }

/* les trois points : un petit point cuivre, un filet entre chaque ligne */
.ia5__points {
  display: grid;
  max-width: 38rem;
  margin-top: 26px;
  border-top: 1px solid var(--ia5-filet);
}
.ia5__points li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--ia5-filet);
  line-height: 1.5;
  color: var(--encre);
}
.ia5__points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(13px + 0.75em - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ia5-point);
  box-shadow: 0 0 0 4px rgba(176, 99, 57, 0.1);
}

/* « Écouter l’appel », la note, la transcription */
.ia5__lecture {                             /* téléphone et tablette : bouton, puis note, centrés sous le téléphone */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px 24px;
}
.ia5 .alma__bouton { margin: 0; min-width: min(15rem, 100%); }
.ia5 .alma__note {
  max-width: 21rem;
  margin: 0;
  font-size: 0.9375rem;                      /* 15 px */
  line-height: 1.45;
  color: var(--taupe);                       /* 5,2:1 sur la carte */
  text-align: center;
  text-wrap: balance;
}
.ia5 .alma__transcription { width: 100%; max-width: none; margin-top: 18px; text-align: left; }
.ia5__commandes .alma__transcription { display: grid; justify-items: center; }
.ia5 .alma__transcription > summary {
  gap: 10px;
  min-height: 44px;
  font: 500 13px / 1 var(--f-texte);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--petite-texte);
  list-style: none;
}
.ia5 .alma__transcription > summary::-webkit-details-marker { display: none; }
.ia5__deplier {
  flex: none;
  width: 11px;
  height: 11px;
  fill: none;
  stroke: var(--cuivre);
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform var(--d) var(--ease-sortie);
}
.ia5 .alma__transcription[open] .ia5__deplier { transform: rotate(45deg); }
.ia5 .alma__transcription ol {
  justify-self: stretch;
  gap: 0.7rem;
  margin: 16px 0 0;
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2.2vw, 30px);
  border: 1px solid var(--ia5-filet);
  border-radius: 4px;
  background: var(--papier);
  font-size: 1rem;
  line-height: 1.55;
}
.ia5 .alma__credit { justify-self: stretch; margin-top: 12px; font-size: 0.875rem; line-height: 1.5; }

/* Ordinateur : deux colonnes, le téléphone à gauche dans sa scène, le texte et le bouton à droite */
@media (min-width: 56em) {
  .ia5 { --ia5-tel: 260px; }
  .ia5__vedette { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ia5__scene { order: 0; padding: clamp(52px, 5vw, 72px) 32px; border-block: 0; border-right: 1px solid var(--ia5-filet); }
  .ia5__colonne {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(28px, 2.6vw, 36px);
    padding: clamp(48px, 5.2vw, 80px) clamp(40px, 5.2vw, 80px);
  }
  .ia5__texte,
  .ia5__commandes { padding: 0; }
  .ia5__lecture { flex-flow: row wrap; justify-content: flex-start; }
  .ia5 .alma__note { text-align: left; }
  .ia5__commandes .alma__transcription { justify-items: start; margin-top: 14px; }
  /* transcription ouverte : le panneau s’allonge, le téléphone reste à l’écran pendant la lecture */
  .ia5__vedette:has(.alma__transcription[open]) .ia5__scene { align-items: start; }
  .ia5__vedette:has(.alma__transcription[open]) .ia5__tel { position: sticky; top: calc(var(--h-entete) + 48px); }
}
@media (min-width: 75em) {
  .ia5 { --ia5-tel: 300px; }
}

/* Le téléphone sonne trois fois quand le panneau arrive à l’écran, puis s’arrête (plus de boucle) */
.anime-v4 .ia5__vedette .tel--sonne .tel__avatar::before,
.anime-v4 .ia5__vedette .tel--sonne .tel__avatar::after { animation-iteration-count: 3; }
.anime-v4 .ia5__vedette:not(.est-visible) .tel__avatar::before,
.anime-v4 .ia5__vedette:not(.est-visible) .tel__avatar::after { animation: none; }

/* Avant l’écoute (« Appel entrant », posé par js/demo-alma.js) : Alma au centre de l’écran, comme sur un vrai appel
   entrant, au lieu d’un grand vide sous son nom. Aucun texte ajouté. Au lancement, l’en-tête de l’appel remonte et
   les bulles arrivent par le bas ; sans JavaScript (appel terminé), rien ne change. */
.ia5 .tel__statut { order: -2; }
.ia5 .tel__ecran::before { content: ""; order: -1; flex: 0 0 0; }           /* espace au-dessus d’Alma */
.ia5 .tel--sonne .tel__ecran::before { flex-grow: 1; }
.ia5 .tel--sonne .tel__fil { flex-grow: 1.5; }                             /* Alma un peu au-dessus du centre */
.ia5 .tel--sonne .tel__appelant { font-size: 1.2em; }                       /* avatar et nom plus grands */
.anime-v4 .ia5 .ia5__vedette.est-visible .tel__ecran::before,
.anime-v4 .ia5 .ia5__vedette.est-visible .tel__fil { transition: flex-grow 0.7s var(--ease-sortie); }
.anime-v4 .ia5 .ia5__vedette.est-visible .tel__appelant { transition: font-size 0.7s var(--ease-sortie); }

/* La carte « Rendez-vous » n’apparaît qu’à la fin de l’appel, aussi avec « moins d’animations » (avant : visible
   pendant « Appel entrant · 00:00 », sans aucune bulle). Sans JavaScript, l’appel terminé reste affiché avec sa carte. */
.js .ia5 .tel:not(.voir-rdv) .tel__rdv { opacity: 0; }

/* --------------------------------------------------------------------------
   3. Les exemples 02 à 04
   -------------------------------------------------------------------------- */
.ia5__exemples {
  display: grid;
  gap: clamp(20px, 2.2vw, 32px);
  margin-top: clamp(28px, 2.6vw, 40px);
}
.ia5__ex {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  overflow: clip;
  background: var(--ia5-carte);
  border: 1px solid var(--ia5-filet);
  border-radius: 4px;
  box-shadow: 0 0.1rem 0.25rem rgba(6, 42, 43, 0.03), 0 1.75rem 3rem -2.5rem rgba(6, 42, 43, 0.3);
}
.js .ia5__ex[data-reveal] { transition-delay: var(--ia5-r, 0s); }
.ia5__ex-illu {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 26px 22px 20px;
  background:
    radial-gradient(closest-side, rgba(255, 253, 249, 0.95), rgba(255, 253, 249, 0)) 50% 52% / 86% 84% no-repeat,
    var(--ia5-trame),
    var(--creme);
  border-bottom: 1px solid var(--ia5-filet);
}
.ia5__ex-num {
  position: absolute;
  top: 14px;
  left: 20px;
  font: italic 500 1.5rem / 1 var(--f-titre);
  font-variant-numeric: lining-nums;
  color: var(--bronze);
  background: linear-gradient(165deg, var(--or) 0%, var(--or-400) 40%, var(--bronze) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ia5__dessin { width: min(100%, 300px); height: auto; overflow: visible; }
.ia5__ex-corps { padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.4vw, 34px) clamp(28px, 2.8vw, 38px); }
.ia5__ex-surtitre { font-size: 0.8125rem; }   /* 13 px, comme les surtitres de la page */
.ia5__ex-titre {
  margin: 12px 0 12px;
  font-size: var(--t-h3);
  line-height: 1.16;
}
.ia5__ex-corps > p:last-child { color: var(--encre); }

@media (max-width: 39.99em) {                       /* téléphone : une illustration moins haute, la page reste courte */
  .ia5__ex-illu { aspect-ratio: 2 / 1; padding: 18px 20px 14px; }
  .ia5__dessin { width: min(100%, 232px); }
}
@media (min-width: 40em) and (max-width: 63.99em) {
  .ia5__exemples { grid-auto-rows: 1fr; }          /* les trois cartes à la même hauteur, le texte centré dans chacune */
  .ia5__ex { grid-template-rows: none; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .ia5__ex-illu { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--ia5-filet); }
  .ia5__ex-corps { align-self: center; }
}
@media (min-width: 64em) {
  .ia5__exemples { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
  /* sous-grille : dessin, surtitre, titre et texte sur les mêmes lignes dans les trois cartes,
     quel que soit le nombre de lignes de chaque titre (sans sous-grille : cartes simplement empilées dans leur colonne) */
  @supports (grid-template-rows: subgrid) {
    .ia5__ex { grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
    .ia5__ex-corps { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .ia5__ex-titre { align-self: start; }
  }
}

/* Le dessin au trait : cuivre pour les traits et les points ; les lignes de texte en cuivre très doux */
.ia5__dessin .ia5__trait { fill: none; stroke: var(--cuivre); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ia5__dessin .ia5__trait--doux { stroke: rgba(176, 99, 57, 0.48); }
.ia5__dessin .ia5__trait--fort { stroke-width: 1.7; }
.ia5__dessin .ia5__fond { fill: #FBF8F2; }
.ia5__dessin .ia5__fond--clair { fill: #FFFDF9; }
.ia5__dessin .ia5__fond.ia5__trait { fill: #FFFDF9; }
.ia5__dessin .ia5__barre { fill: none; stroke: rgba(176, 99, 57, 0.3); stroke-width: 3.2; stroke-linecap: round; }
.ia5__dessin .ia5__barre--forte { stroke: rgba(176, 99, 57, 0.62); stroke-width: 4; }
.ia5__dessin .ia5__barre--trouvee { stroke: rgba(138, 74, 40, 0.75); }
.ia5__dessin .ia5__point { fill: var(--cuivre); }
.ia5__dessin .ia5__surligne { fill: rgba(176, 99, 57, 0.14); }
.ia5__dessin .ia5__verre { fill: rgba(255, 253, 249, 0.55); }
.ia5__dessin .ia5__manche { fill: none; stroke: var(--cuivre); stroke-width: 4.2; stroke-linecap: round; }
.ia5__dessin .ia5__etiquette-mot { font: 500 8.5px / 1 var(--f-texte); letter-spacing: 1.3px; fill: var(--cuivre-fonce, #8A4A28); }
.ia5__dessin .ia5__fenetres rect { fill: rgba(255, 253, 249, 0.9); stroke: rgba(176, 99, 57, 0.5); stroke-width: 1.1; }
.ia5__dessin .ia5__fenetre-allumee { fill: rgba(176, 99, 57, 0.28); stroke: var(--cuivre); stroke-width: 1.3; }
.ia5__dessin .ia5__pointilles { fill: none; stroke: var(--cuivre); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 0.1 4.4; }
.ia5__d-bulle,
.ia5__dessin g[class*="ia5-a-pop"] > .ia5__fond { filter: drop-shadow(0 3px 5px rgba(6, 42, 43, 0.08)); }

/* --------------------------------------------------------------------------
   4. Note, phrase de fin et bouton
   -------------------------------------------------------------------------- */
.ia5__note {
  margin-top: 18px;
  font: italic 500 1.1875rem / 1.4 var(--f-titre);     /* 19 px */
  color: var(--taupe);                                 /* 4,9:1 sur papier */
}
.ia5__fin {
  position: relative;
  display: grid;
  gap: 26px;
  justify-items: start;
  margin-top: clamp(48px, 5vw, 80px);
  padding-top: clamp(32px, 3.4vw, 48px);
  border-top: 1px solid var(--ia5-filet);
}
.ia5__fin::before {                                    /* un petit point cuivre posé sur le filet */
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ia5-point);
}
.ia5__fin-phrase {
  max-width: 34ch;
  font: italic 500 clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem) / 1.3 var(--f-titre);   /* 24 → 30 px */
  color: var(--petrole);
  text-wrap: balance;
}
.ia5 .ia5__bouton { margin-top: 0; }
@media (min-width: 56em) {
  .ia5__fin { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: clamp(40px, 5vw, 96px); }
  .ia5__fin-phrase { max-width: 27em; }          /* deux lignes à 1440 px, au lieu de trois */
}
@media (max-width: 29.99em) {
  .ia5 .ia5__bouton { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   5. Animations : une seule lecture à l’apparition (html.anime-v4 + .est-visible sur le [data-reveal] parent)
      ia5-a-trace    : le trait se dessine (pathLength = 1)
      ia5-a-apparait : apparaît en fondu
      ia5-a-barre    : une ligne de texte s’écrit de gauche à droite
      ia5-a-pop      : une bulle s’ouvre depuis sa pointe (--o : origine)
      ia5-a-loupe    : la loupe glisse jusqu’à la ligne trouvée
      ia5-a-etiquette: l’étiquette « source » se balance et se pose
      ia5-a-allume   : la fenêtre s’allume
      --t : délai propre à l’élément ; --ia5-r : décalage de la carte (02, 03, 04 l’une après l’autre)
   -------------------------------------------------------------------------- */
.anime-v4 .ia5 .est-visible .ia5-a-trace {
  transition: stroke-dashoffset 1.1s var(--ease-douce) calc(var(--ia5-r, 0s) + var(--t, 0s));
}
.anime-v4 .ia5 .ia5__vedette.est-visible .ia5-a-trace { transition-duration: 1.7s; }
.anime-v4 .ia5 .est-visible .ia5-a-apparait {
  transition: opacity 0.6s var(--ease-sortie) calc(var(--ia5-r, 0s) + var(--t, 0s));
}
.anime-v4 .ia5 .est-visible .ia5-a-barre {
  transition: transform 0.55s var(--ease-sortie) calc(var(--ia5-r, 0s) + var(--t, 0s)),
              opacity 0.3s linear calc(var(--ia5-r, 0s) + var(--t, 0s));
}
.anime-v4 .ia5 .est-visible .ia5-a-pop {
  transition: transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) calc(var(--ia5-r, 0s) + var(--t, 0s)),
              opacity 0.35s ease-out calc(var(--ia5-r, 0s) + var(--t, 0s));
}
.anime-v4 .ia5 .est-visible .ia5-a-loupe {
  transition: transform 1.15s var(--ease-douce) calc(var(--ia5-r, 0s) + var(--t, 0s)),
              opacity 0.4s ease-out calc(var(--ia5-r, 0s) + var(--t, 0s));
}
.anime-v4 .ia5 .est-visible .ia5-a-etiquette {
  transition: transform 0.9s cubic-bezier(0.34, 1.5, 0.64, 1) calc(var(--ia5-r, 0s) + var(--t, 0s)),
              opacity 0.35s ease-out calc(var(--ia5-r, 0s) + var(--t, 0s));
}
.anime-v4 .ia5 .est-visible .ia5-a-allume {
  transition: fill 0.7s ease-out calc(var(--ia5-r, 0s) + var(--t, 0s)),
              stroke 0.7s ease-out calc(var(--ia5-r, 0s) + var(--t, 0s));
}

/* réglages communs aux deux états (le pointillé du tracé, l’origine des transformations) */
.anime-v4 .ia5 .ia5-a-trace { stroke-dasharray: 1 1.2; }
.anime-v4 .ia5 .ia5-a-barre { transform-box: fill-box; transform-origin: 0 50%; }
.anime-v4 .ia5 .ia5-a-pop { transform-box: fill-box; transform-origin: var(--o, 50% 50%); }
.anime-v4 .ia5 .ia5-a-etiquette { transform-box: fill-box; transform-origin: 16% 50%; }   /* l’œillet de l’étiquette */

/* état de départ : seulement tant que le [data-reveal] parent n’est pas visible ; on y entre sans transition,
   les transitions ci-dessus ne s’appliquent qu’au passage à .est-visible */
.anime-v4 .ia5 [data-reveal]:not(.est-visible) .ia5-a-trace { stroke-dashoffset: 1.1; }
.anime-v4 .ia5 [data-reveal]:not(.est-visible) .ia5-a-apparait { opacity: 0; }
.anime-v4 .ia5 [data-reveal]:not(.est-visible) .ia5-a-barre { opacity: 0; transform: scaleX(0); }
.anime-v4 .ia5 [data-reveal]:not(.est-visible) .ia5-a-pop { opacity: 0; transform: scale(0.6); }
.anime-v4 .ia5 [data-reveal]:not(.est-visible) .ia5-a-loupe { opacity: 0; transform: translate(-42px, -30px); }
.anime-v4 .ia5 [data-reveal]:not(.est-visible) .ia5-a-etiquette { opacity: 0; transform: rotate(-26deg); }
.anime-v4 .ia5 [data-reveal]:not(.est-visible) .ia5-a-allume { fill: rgba(255, 253, 249, 0.9); stroke: rgba(176, 99, 57, 0.5); }

/* Sécurité : « moins d’animations », même si html.anime-v4 restait posé : état final, sans mouvement */
@media (prefers-reduced-motion: reduce) {
  .ia5 [class*="ia5-a-"] { transition: none !important; }
  .anime-v4 .ia5 [data-reveal]:not(.est-visible) [class*="ia5-a-"] { opacity: 1; transform: none; stroke-dashoffset: 0; }
  .anime-v4 .ia5 [data-reveal]:not(.est-visible) .ia5-a-allume { fill: rgba(176, 99, 57, 0.28); stroke: var(--cuivre); }
  .ia5__deplier,
  .ia5 .tel__rdv,
  .ia5 .tel__fil,
  .ia5 .tel__appelant,
  .ia5 .tel__ecran::before { transition: none !important; }
}

/* Contraste élevé (Windows) : les filets et les points passent aux couleurs du système */
@media (forced-colors: active) {
  .ia5__vedette, .ia5__ex { border-color: CanvasText; }
  .ia5__points li::before, .ia5__surtitre::before, .ia5__ex-surtitre::before, .ia5__fin::before { background: CanvasText; }
  .ia5__ex-num { -webkit-text-fill-color: CanvasText; }
}
