/* ==========================================================================
   Assurance vie luxembourgeoise — feuille de style SCOPÉE sous #ieavl
   v1.1 — Harmonisation avec le système du site (scpi-page-blocks.css) :
     titres 32px · corps 16px/1.8 · cartes (bord 1.5px, radius 18px, hover)
     icônes 44px arrondies teintées · rythme vertical compact · fonds
     différenciés · animations d'apparition (draw-in + reveal) pour donner vie.
   Couleurs kit (#07124A / #F18815), titres Plus Jakarta Sans (auto-hébergée).
   AUCUNE règle globale — tout est préfixé #ieavl (zéro fuite header/footer).
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/PlusJakartaSans-variable-latin.woff2') format('woff2');
}

#ieavl {
  --brand-navy: #07124A;
  --brand-orange: #F18815;
  --orange-dark: #d4760f;
  --text-dark: #1E293B;
  --text-sub: #475569;
  --text-soft: #64748b;
  --border-light: #E2E8F0;
  --card-border: #dde1ea;
  --bg-icon: #eef1f9;
  --bg-icon-orange: #fff5e8;
  --radius: 18px;
  --radius-sm: 14px;
  --font: 'Plus Jakarta Sans', sans-serif;

  font-family: var(--font);
  color: var(--text-dark);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

#ieavl *, #ieavl *::before, #ieavl *::after { box-sizing: border-box; margin: 0; padding: 0; }
#ieavl img, #ieavl svg { display: block; }

#ieavl .container { max-width: 1200px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }

/* Rythme vertical compact + différencié */
#ieavl .hero-section      { padding: 7rem 0 3.75rem; }
#ieavl .solution-section  { padding: 4rem 0; }
#ieavl .comprendre-section{ padding: 4rem 0 4.25rem; }

/* ----------------------------- SECTION 1 : HERO ----------------------------- */
#ieavl .hero-section { position: relative; background-color: #ffffff; overflow: hidden; }
#ieavl .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(320px, 1fr) minmax(420px, 660px); gap: 3.5rem; align-items: center; }
#ieavl .hero-content { max-width: 600px; }

#ieavl .tagline { color: var(--brand-orange); font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.1rem; }
#ieavl h1 { font-family: var(--font); color: var(--brand-navy); font-size: 2.75rem; font-weight: 700; line-height: 1.12; letter-spacing: -0.5px; margin-bottom: 1.25rem; }
#ieavl .subheading { color: var(--brand-navy); font-size: 1.12rem; font-weight: 500; line-height: 1.55; margin-bottom: 2.25rem; opacity: 0.88; }
#ieavl .cta-group { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
/* Les 2 boutons « habituels » de la page Assurance vie : navy + flèche dans un
   rond blanc · contour + photos des conseillers (img-team.png). */
#ieavl .ieavl-cta { display: inline-flex; align-items: center; gap: 0.8rem; border-radius: 999px; font-family: var(--font); font-size: 1.1rem; font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
#ieavl .ieavl-cta--solid { background: var(--brand-navy); color: #fff; padding: 0.55rem 0.6rem 0.55rem 1.75rem; box-shadow: 0 10px 24px -10px rgba(7,18,74,0.5); }
#ieavl .ieavl-cta--solid:hover { background: var(--brand-orange); transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(241,136,21,0.5); }
#ieavl .ieavl-cta--ghost { background: #fff; color: var(--brand-navy); border: 1.5px solid #AFBECE; padding: 0.55rem 1.8rem 0.55rem 0.75rem; }
#ieavl .ieavl-cta--ghost:hover { border-color: var(--brand-navy); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(7,18,74,0.25); }
#ieavl .ieavl-cta__arrow { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff url('../img/icon-arrow.svg') center / 0.95rem no-repeat; transition: transform .3s ease; }
#ieavl .ieavl-cta--solid:hover .ieavl-cta__arrow { transform: rotate(45deg); }
#ieavl .ieavl-cta__team { flex: 0 0 auto; width: 80px; height: 32px; background: url('../img/img-team.png') left center / contain no-repeat; }

/* ----- §A : diagramme concentrique du hero ----- */
#ieavl .hero-figure { display: flex; justify-content: center; width: 100%; transform: translateX(9%); }
/* Schéma « Vos avoirs » : ratio verrouillé + tailles en cqw -> tout se met à
   l'échelle ensemble (noeuds positionnés en %, alignés à n'importe quelle taille). */
#ieavl .ieavl-globe { container-type: inline-size; position: relative; width: 100%; max-width: 660px; aspect-ratio: 1050 / 750; margin: 0 auto; }

/* Planisphère pointillé centré DERRIÈRE le schéma. Le wrapper applique un fondu
   radial (coins estompés, pas de coupe nette) ; l'enfant dessine la carte en points. */
#ieavl .ieavl-globe__map { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* ellipse large mais BASSE -> le fondu s'achève avant les pôles (plus de coupe Antarctique) */
  -webkit-mask-image: radial-gradient(78% 55% at 50% 45%, #000 32%, transparent 82%);
          mask-image: radial-gradient(78% 55% at 50% 45%, #000 32%, transparent 82%); }
#ieavl .ieavl-globe__map-i, #ieavl .ieavl-globe__map-p { position: absolute; inset: 0;
  background-size: 8px 8px;
  -webkit-mask-image: url('../img/world-map.svg'); mask-image: url('../img/world-map.svg');
  -webkit-mask-size: 118% auto; mask-size: 118% auto;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center 44%; mask-position: center 44%; }
#ieavl .ieavl-globe__map-i { opacity: 0.85; background-image: radial-gradient(circle, rgba(110,135,170,0.40) 1.3px, transparent 1.9px); }
/* couche « onde » : points bleus plus vifs, s'allument quand l'onde atteint la carte */
#ieavl .ieavl-globe__map-p { opacity: 0; background-image: radial-gradient(circle, rgba(72,101,148,0.95) 1.6px, transparent 2.1px);
  animation: ieavl-w-map 5s ease-out 1.15s infinite; }
@keyframes ieavl-w-map { 0%, 16%, 100% { opacity: 0; } 8% { opacity: 0.9; } }

#ieavl .ieavl-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; pointer-events: none; z-index: 1; }
#ieavl .ieavl-ring--inner { width: 45.71%; height: 42.67%; border: 1.5px solid rgba(241,136,21,0.55); }
#ieavl .ieavl-ring--outer { width: 80%; height: 74.67%; border: 1.5px solid rgba(7,18,74,0.28); }
#ieavl .ieavl-dot { position: absolute; width: 0.7cqw; height: 0.7cqw; min-width: 4px; min-height: 4px; background: rgba(110,135,170,0.45); border-radius: 50%; transform: translate(-50%,-50%); }

#ieavl .ieavl-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 14cqw; height: 14cqw; background: var(--brand-navy); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5cqw; color: #fff;
  box-shadow: 0 0 0 0.8cqw rgba(7,18,74,0.05), 0 14px 30px rgba(7,18,74,0.20); z-index: 10; }
#ieavl .ieavl-center svg { width: 30%; height: auto; }
#ieavl .ieavl-center span { font-size: 1.9cqw; font-weight: 700; }

#ieavl .ieavl-node { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; width: 17cqw; z-index: 5; }
#ieavl .ieavl-ico { background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(7,18,74,0.10); margin-bottom: 0.8cqw; transition: transform .3s ease, box-shadow .3s ease; }
#ieavl .ieavl-ico svg { width: 48%; height: auto; }
#ieavl .ieavl-node:hover .ieavl-ico { transform: translateY(-3px) scale(1.05); box-shadow: 0 9px 24px rgba(7,18,74,0.16); }
#ieavl .ieavl-node--out .ieavl-ico { width: 7cqw; height: 7cqw; }
#ieavl .ieavl-node--in .ieavl-ico { width: 6.4cqw; height: 6.4cqw; border: 2px solid rgba(241,136,21,0.25); }

/* ===== Onde de choc : impulsion qui part du noyau et se propage vers l'extérieur.
   Couche interne -> ORANGE, couche externe -> BLEU. Décalages = propagation. ===== */
#ieavl .ieavl-center      { animation: ieavl-w-center 5s ease-out infinite; }
#ieavl .ieavl-ring--inner { animation: ieavl-w-ring-in 5s ease-out .35s infinite; }
#ieavl .ieavl-node--in .ieavl-ico  { animation: ieavl-w-ico-in 5s ease-out .35s infinite; }
#ieavl .ieavl-ring--outer { animation: ieavl-w-ring-out 5s ease-out .70s infinite; }
#ieavl .ieavl-node--out .ieavl-ico { animation: ieavl-w-ico-out 5s ease-out .70s infinite; }
#ieavl .ieavl-dot         { animation: ieavl-w-dot 5s ease-out .92s infinite; }
@keyframes ieavl-w-center {
  0%, 18%, 100% { transform: translate(-50%,-50%) scale(1);    box-shadow: 0 0 0 0.8cqw rgba(7,18,74,0.05), 0 14px 30px rgba(7,18,74,0.20); }
  9%            { transform: translate(-50%,-50%) scale(1.06); box-shadow: 0 0 0 1.7cqw rgba(241,136,21,0.22), 0 14px 30px rgba(7,18,74,0.20); }
}
@keyframes ieavl-w-ring-in {
  0%, 18%, 100% { transform: translate(-50%,-50%) scale(1);    border-color: rgba(241,136,21,0.55); }
  9%            { transform: translate(-50%,-50%) scale(1.04); border-color: rgba(241,136,21,1); }
}
@keyframes ieavl-w-ring-out {
  0%, 18%, 100% { transform: translate(-50%,-50%) scale(1);    border-color: rgba(7,18,74,0.28); }
  9%            { transform: translate(-50%,-50%) scale(1.04); border-color: rgba(72,101,148,0.95); }
}
@keyframes ieavl-w-ico-in {
  0%, 18%, 100% { transform: scale(1);    box-shadow: 0 4px 15px rgba(7,18,74,0.10); }
  9%            { transform: scale(1.14); box-shadow: 0 0 0 0.5cqw rgba(241,136,21,0.32), 0 6px 18px rgba(7,18,74,0.12); }
}
@keyframes ieavl-w-ico-out {
  0%, 18%, 100% { transform: scale(1);    box-shadow: 0 4px 15px rgba(7,18,74,0.10); }
  9%            { transform: scale(1.14); box-shadow: 0 0 0 0.5cqw rgba(72,101,148,0.34), 0 6px 18px rgba(7,18,74,0.12); }
}
@keyframes ieavl-w-dot {
  0%, 18%, 100% { transform: translate(-50%,-50%) scale(1);   background: rgba(110,135,170,0.45); }
  9%            { transform: translate(-50%,-50%) scale(1.8);  background: rgba(72,101,148,1); }
}
#ieavl .ieavl-lbl { text-align: center; font-size: 1.7cqw; font-weight: 700; color: var(--brand-navy); line-height: 1.25;
  background: rgba(255,255,255,0.82); padding: 0.2cqw 0.6cqw; border-radius: 6px; }

/* ------------------- SECTION 2 : NOTRE SOLUTION & TRIANGLE ------------------- */
#ieavl .solution-section { position: relative; background: #f8fafc; border-top: 1px solid rgba(7,18,74,0.05); border-bottom: 1px solid rgba(7,18,74,0.05); }
#ieavl .solution-grid { display: grid; grid-template-columns: 400px 1fr; gap: 4.5rem; align-items: center; }

/* Carte profil compacte (gauche) */
#ieavl .target-card { background: #fff; padding: 2.25rem; border-radius: 16px; box-shadow: 0 10px 40px -10px rgba(7,18,74,0.08), 0 4px 12px -4px rgba(7,18,74,0.03); border: 1px solid rgba(7,18,74,0.04); display: flex; flex-direction: column; justify-content: center; }
#ieavl .target-divider { width: 40px; height: 3px; background: var(--brand-orange); border-radius: 2px; margin-bottom: 1.25rem; }
#ieavl .target-title { font-family: var(--font); color: var(--brand-navy); font-size: 1.9rem; font-weight: 700; line-height: 1.2; margin-bottom: 2rem; }
#ieavl .target-list { list-style: none; margin: 0 0 2.25rem; padding: 0; }
#ieavl .target-item { display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 1.15rem; font-size: 0.92rem; color: var(--brand-navy); font-weight: 500; line-height: 1.4; }
#ieavl .target-item:last-child { margin-bottom: 0; }
#ieavl .target-item strong { font-weight: 700; }
#ieavl .target-icon { color: var(--brand-orange); flex-shrink: 0; margin-top: 0.1rem; display: flex; align-items: center; }
/* CTA pleine largeur de la carte profil — style bouton du site (pilule navy + flèche) */
#ieavl .ieavl-cta--block { display: flex; width: 100%; justify-content: space-between; }

/* Triangle de la sécurité — compact (droite). Ratio verrouillé + noeuds en %
   -> SVG et cercles se mettent à l'échelle ENSEMBLE (alignement parfait). */
#ieavl .triangle-panel { display: flex; flex-direction: column; align-items: center; width: 100%; }
#ieavl .triangle-header { text-align: center; margin-bottom: 2.5rem; }
#ieavl .triangle-header h2 { font-family: var(--font); color: var(--brand-navy); font-size: 2.1rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.5rem; }
#ieavl .triangle-header p { color: var(--text-sub); font-size: 0.95rem; font-weight: 500; }
#ieavl .schema-center { position: relative; width: 100%; max-width: 560px; aspect-ratio: 560 / 470; }
#ieavl .triangle-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
#ieavl .hub-node { position: absolute; z-index: 3; }
#ieavl .hub-node-circle { position: absolute; top: 0; left: 0; transform: translate(-50%,-50%); width: 72px; height: 72px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(7,18,74,0.06), 0 2px 8px rgba(7,18,74,0.02); border: 1px solid rgba(7,18,74,0.03); transition: transform .25s ease, box-shadow .25s ease; }
#ieavl .hub-node:hover .hub-node-circle { transform: translate(-50%,-50%) translateY(-3px); box-shadow: 0 16px 34px rgba(7,18,74,0.12); }
#ieavl .hub-text { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); text-align: center; width: 170px; }
#ieavl .hub-text h4 { font-family: var(--font); font-size: 0.95rem; font-weight: 700; color: var(--brand-navy); line-height: 1.3; margin-bottom: 0.2rem; }
#ieavl .hub-text p { font-size: 0.82rem; color: var(--text-sub); line-height: 1.35; }
#ieavl .node-top          { left: 50%;     top: 11.702%; }
#ieavl .node-bottom-left  { left: 17.857%; top: 75.532%; }
#ieavl .node-bottom-right { left: 82.143%; top: 75.532%; }
#ieavl .core-center { position: absolute; left: 50%; top: 54.255%; transform: translate(-50%,-50%); z-index: 2; }
#ieavl .core-circle-wrap { width: 96px; height: 96px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 15px 35px rgba(7,18,74,0.07); }
#ieavl .core-circle-wrap::before { content: ''; position: absolute; inset: -10px; border: 1px solid rgba(7,18,74,0.03); background: rgba(7,18,74,0.01); border-radius: 50%; z-index: -1; }
#ieavl .core-document-icon { opacity: 0.15; }
#ieavl .core-shield-badge { position: absolute; bottom: 14px; right: 14px; background: #fff; border-radius: 50%; box-shadow: 0 4px 12px rgba(241,136,21,0.25); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }

/* ------------------------- SECTION 3 : COMPRENDRE ------------------------- */
#ieavl .comprendre-section { position: relative; background: #ffffff; border-top: 1px solid var(--border-light); text-align: center; overflow: hidden; }
#ieavl .comprendre-section::before { content: ""; position: absolute; left: 50%; top: 58%; width: 520px; height: 520px; transform: translate(-50%,-50%); pointer-events: none; background: radial-gradient(circle, rgba(7,18,74,0.04) 0%, transparent 62%); z-index: 0; }
#ieavl .comprendre-section .container { position: relative; z-index: 1; }
/* max-width: none -> annule la règle globale du kit (selector h2 { max-width:34ch })
   qui rétrécissait le titre et le collait à gauche. */
#ieavl .comprendre-section h2 { font-family: var(--font); color: var(--brand-navy); font-size: 2rem; font-weight: 700; max-width: none; margin: 0 auto 1rem; text-align: center !important; }
#ieavl .comprendre-lead { color: var(--text-sub); font-size: 1.02rem; line-height: 1.6; max-width: 760px; margin: 0 auto 2.75rem auto; text-align: center !important; }
#ieavl .schema-container { display: grid; grid-template-columns: 1fr 420px 1fr; align-items: center; max-width: 1160px; margin: 0 auto; position: relative; }
#ieavl .schema-column { display: grid; grid-template-rows: auto auto auto; row-gap: 34px; }
#ieavl .schema-left, #ieavl .schema-right { text-align: left; }
#ieavl .schema-item { display: flex; gap: 1.1rem; align-items: center; }
#ieavl .icon-container { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--bg-icon); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s ease, background-color .25s ease; }
#ieavl .icon-container svg { width: 20px; height: 20px; }
#ieavl .schema-item:hover .icon-container { background: var(--bg-icon-orange); transform: translateY(-2px); }
#ieavl .item-text h3 { font-size: 0.98rem; font-weight: 700; color: var(--brand-orange); margin-bottom: 0.2rem; }
#ieavl .item-text p { font-size: 0.84rem; color: #334155; font-weight: 500; line-height: 1.45; }
#ieavl .center-hexagon-block { position: relative; width: 420px; height: 300px; display: flex; justify-content: center; align-items: center; }
#ieavl .schema-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
#ieavl .schema-svg path.hexagon-shadowed { filter: drop-shadow(0px 10px 20px rgba(7,18,74,0.05)) drop-shadow(0px 2px 6px rgba(7,18,74,0.01)); }
#ieavl .hex-inner-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; text-align: center; font-size: 0.9rem; font-weight: 700; color: var(--brand-navy); line-height: 1.35; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 160px; pointer-events: none; }

/* ---------------- SECTION 4 : EN RÉSUMÉ + CONTACT (carte claire, bleu pâle) ---------------- */
#ieavl .resume-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #f5f8fd 0%, #e9eff8 100%); padding: 5.5rem 0; }
#ieavl .resume-section::before { content: ''; position: absolute; top: -18%; right: -6%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(241,136,21,0.10), transparent 68%); pointer-events: none; }
#ieavl .resume-section::after { content: ''; position: absolute; bottom: -22%; left: -8%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(7,18,74,0.06), transparent 70%); pointer-events: none; }
#ieavl .resume-inner { position: relative; z-index: 1; width: 100%; background: #fff; border-radius: 24px; padding: 3rem 3.25rem; box-shadow: 0 30px 70px -34px rgba(7,18,74,0.22), 0 4px 14px -6px rgba(7,18,74,0.05); }
#ieavl .resume-eyebrow { color: var(--brand-orange); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 0.9rem; }
#ieavl .resume-title { font-family: var(--font); color: var(--brand-navy); font-size: 2.4rem; font-weight: 700; line-height: 1.18; max-width: none; margin: 0 0 1.6rem; }
#ieavl .resume-p { color: var(--text-sub); font-size: 1.05rem; line-height: 1.75; margin: 0 0 1.2rem; }
#ieavl .resume-p:last-of-type { margin-bottom: 0; }
#ieavl .resume-p .hl { color: var(--brand-orange); font-weight: 600; }
#ieavl .resume-bridge { color: var(--brand-navy); font-size: 1.2rem; font-weight: 500; font-style: italic; line-height: 1.55; margin: 2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--border-light); }
#ieavl .resume-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
#ieavl .resume-btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.7rem; border-radius: 999px; font-family: var(--font); font-size: 1rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
#ieavl .resume-btn svg { width: 18px; height: 18px; }
#ieavl .resume-btn--primary { background: var(--brand-orange); color: #fff; box-shadow: 0 12px 26px -10px rgba(241,136,21,0.5); }
#ieavl .resume-btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(241,136,21,0.55); }
#ieavl .resume-btn--ghost { background: #fff; color: var(--brand-navy); border: 1.5px solid var(--card-border); }
#ieavl .resume-btn--ghost:hover { border-color: var(--brand-orange); color: var(--brand-orange); transform: translateY(-2px); }

/* ============================ ANIMATIONS (vie) ============================ */
/* États initiaux uniquement quand JS est présent (sinon tout reste visible). */
#ieavl.ieavl-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
#ieavl.ieavl-js .reveal.is-in { opacity: 1; transform: none; }

/* Hero figure draw-in */
/* Apparition douce du schéma « Vos avoirs » */
#ieavl.ieavl-js .ieavl-globe { opacity: 0; transform: scale(0.94); transition: opacity .6s ease, transform .6s ease; }
#ieavl.ieavl-js .ieavl-node, #ieavl.ieavl-js .ieavl-dot { opacity: 0; transition: opacity .5s ease; }
#ieavl .hero-figure.is-drawn .ieavl-globe { opacity: 1; transform: scale(1); }
#ieavl .hero-figure.is-drawn .ieavl-node { opacity: 1; transition-delay: .25s; }
#ieavl .hero-figure.is-drawn .ieavl-dot { opacity: 1; transition-delay: .45s; }

/* Triangle draw-in (apparition au scroll) — opacité uniquement (positions intactes) */
#ieavl.ieavl-js .schema-center .triangle-svg,
#ieavl.ieavl-js .schema-center .hub-node,
#ieavl.ieavl-js .schema-center .core-center { opacity: 0; transition: opacity .55s ease; }
#ieavl .schema-center.is-drawn .triangle-svg { opacity: 1; transition-delay: .05s; }
#ieavl .schema-center.is-drawn .core-center { opacity: 1; transition-delay: .15s; }
#ieavl .schema-center.is-drawn .node-top          { opacity: 1; transition-delay: .30s; }
#ieavl .schema-center.is-drawn .node-bottom-left  { opacity: 1; transition-delay: .42s; }
#ieavl .schema-center.is-drawn .node-bottom-right { opacity: 1; transition-delay: .54s; }

/* Hexagone : tracé des connecteurs orange au scroll */
#ieavl.ieavl-js .center-hexagon-block .hexagon-shadowed { opacity: 0; transition: opacity .5s ease; }
#ieavl.ieavl-js .center-hexagon-block .schema-svg > circle { opacity: 0; transition: opacity .4s ease .4s; }
#ieavl.ieavl-js .center-hexagon-block .schema-svg g path,
#ieavl.ieavl-js .center-hexagon-block .schema-svg g line { stroke-dasharray: 100; stroke-dashoffset: 100; }
#ieavl .center-hexagon-block.is-drawn .hexagon-shadowed { opacity: 1; }
#ieavl .center-hexagon-block.is-drawn .schema-svg > circle { opacity: 1; }

/* Battement : même tracé que l'apparition, du point vers l'hexagone, puis le
   trait s'efface dans le MÊME sens (point -> hexagone) — pas de fondu. Boucle.
   pathLength=100 -> cadence identique sur toutes les longueurs. ~2s. */
#ieavl .center-hexagon-block.is-drawn .schema-svg g path,
#ieavl .center-hexagon-block.is-drawn .schema-svg g line { animation: ieavl-hexbeat 4.5s ease-in-out .25s infinite; }
@keyframes ieavl-hexbeat {
  0%, 8% { stroke-dashoffset: 100; }   /* absent (court) */
  28%    { stroke-dashoffset: 0; }     /* tracé complet (point -> hexagone) */
  72%    { stroke-dashoffset: 0; }     /* MAINTIEN visible (long) */
  92%    { stroke-dashoffset: -100; }  /* effacement, même sens (point -> hexagone) */
  100%   { stroke-dashoffset: -100; }  /* absent (court) avant boucle */
}

@media (prefers-reduced-motion: reduce) {
  /* transform purement décoratif -> on l'annule */
  #ieavl.ieavl-js .reveal, #ieavl.ieavl-js .ieavl-globe { opacity: 1 !important; transform: none !important; }
  /* éléments positionnés via transform -> garder la position, couper anim/opacité */
  #ieavl.ieavl-js .ieavl-node, #ieavl.ieavl-js .ieavl-dot,
  #ieavl.ieavl-js .schema-center .triangle-svg, #ieavl.ieavl-js .schema-center .hub-node, #ieavl.ieavl-js .schema-center .core-center,
  #ieavl.ieavl-js .center-hexagon-block .hexagon-shadowed,
  #ieavl.ieavl-js .center-hexagon-block .schema-svg > circle { opacity: 1 !important; }
  #ieavl.ieavl-js .ieavl-center, #ieavl.ieavl-js .ieavl-ring,
  #ieavl.ieavl-js .ieavl-node .ieavl-ico, #ieavl.ieavl-js .ieavl-dot,
  #ieavl.ieavl-js .ieavl-globe__map-p { animation: none !important; }
  #ieavl.ieavl-js .center-hexagon-block .schema-svg g path,
  #ieavl.ieavl-js .center-hexagon-block .schema-svg g line { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
}

/* ------------------------------ RESPONSIVE ------------------------------ */
@media (max-width: 1100px) {
  #ieavl .solution-grid { grid-template-columns: 1fr; gap: 4rem; }
  #ieavl .target-card { max-width: 500px; margin: 0 auto; width: 100%; }
}
@media (max-width: 940px) {
  #ieavl .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; justify-items: center; }
  #ieavl .hero-content { max-width: 620px; }
  #ieavl .hero-figure { transform: none; }
  #ieavl .ieavl-globe { max-width: 600px; }
}
@media (max-width: 768px) {
  #ieavl .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  #ieavl .hero-section, #ieavl .solution-section, #ieavl .comprendre-section { padding: 2.75rem 0; }
  #ieavl h1 { font-size: 2.2rem; }
  #ieavl .target-card { padding: 2rem 1.75rem; }
  #ieavl .triangle-header h2, #ieavl .comprendre-section h2 { font-size: 1.7rem; }
  /* triangle -> liste verticale sur mobile */
  #ieavl .schema-center { aspect-ratio: auto; height: auto; max-width: 100%; }
  #ieavl .triangle-svg, #ieavl .core-center { display: none; }
  #ieavl .hub-node { position: static; display: flex; flex-direction: row; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; width: 100%; opacity: 1 !important; }
  #ieavl .hub-node-circle { position: static; transform: none; width: 60px; height: 60px; flex-shrink: 0; }
  #ieavl .hub-node:hover .hub-node-circle { transform: translateY(-3px); }
  #ieavl .hub-text { position: static; transform: none; text-align: left; width: auto; }
  #ieavl .schema-container { grid-template-columns: 1fr; gap: 2rem; }
  #ieavl .schema-column { height: auto; row-gap: 1.6rem; }
  #ieavl .schema-item { height: auto; }
  #ieavl .center-hexagon-block { display: none; }
  #ieavl .resume-section { padding: 3.5rem 0; }
  #ieavl .resume-inner { padding: 2rem 1.6rem; }
  #ieavl .resume-title { font-size: 1.7rem; }
  #ieavl .resume-cta { flex-direction: column; align-items: stretch; }
  #ieavl .resume-btn { justify-content: center; }
}
