/* linkeme.ai : Linkeme habille, Easycore signe.
   Ambiance Linkeme (Poppins, bleu #1F77B5, rose #F4228B, dégradé bleu pâle, cartes glass).
   Identité Easycore (indigo #2a1660, lockup sur fond blanc ou papier). Action Linkeme : boutons roses.
   Contrastes mesurés (WCAG 2.2) : blanc sur #F4228B = 3,85:1, donc texte des boutons en gras 19 px
   (grand texte au sens WCAG : 14 pt et graisse 700, seuil AA 3:1) ; blanc sur #d91e7d (survol) = 4,74:1 ; rose texte #b8126a sur blanc = 6,30:1,
   sur #f0f9ff = 5,91:1. Le rose #F4228B pur ne sert jamais à du texte courant : soulignés, puces, filets. */

:root {
  --blue: #1F77B5;
  --blue-d: #175d8c;
  --blue-pale: #e6f2ff;
  --blue-wash: #f0f9ff;
  --pink: #F4228B;
  --pink-d: #d91e7d;
  --pink-ink: #b8126a;
  --ink: #1e293b;
  --ink-2: #475569;
  --line: #dbe7f2;
  --indigo: #2a1660;
  --indigo-2: #3d2581;
  --paper: #fbfaff;
  --paper-line: #e2ddef;
  --grad: linear-gradient(120deg, #ffffff 0%, #f0f9ff 38%, #e6f2ff 72%, #ffffff 100%);
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-line: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
  --r-card: 28px;
  --r-big: 36px;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 3px solid var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.6 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gut); top: -80px; z-index: 100; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 10px; }

h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.6; }

/* Boutons : rose Linkeme, texte blanc en gras (700) 19 px : grand texte AA sur #F4228B */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 13px 28px;
  border: 2px solid var(--pink); border-radius: 999px;
  background: var(--pink); color: #fff;
  font: 700 19px/1 "Poppins", system-ui, sans-serif;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:hover { background: var(--pink-d); border-color: var(--pink-d); transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(217, 30, 125, .7); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 999px; box-shadow: 0 0 0 6px #fff; }
.btn--sm { min-height: 44px; padding: 10px 20px; }
.btn--line { background: #fff; color: var(--pink-ink); border-color: var(--pink); }
.btn--line:hover { background: #fdeef6; color: var(--pink-ink); border-color: var(--pink-d); }
/* Bouton du haut a droite : bleu Linkeme (demande de Julien, 24/11) */
.top__cta { background: var(--blue); border-color: var(--blue); }
.top__cta:hover { background: var(--blue-d); border-color: var(--blue-d); box-shadow: 0 12px 26px -12px rgba(23, 93, 140, .7); }

.lnk { color: var(--indigo); font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: color .2s ease; }
.lnk:hover { text-decoration-thickness: 3px; color: var(--blue-d); }
.tag { color: var(--pink-ink); }

/* Barre du haut : fond blanc plein (le lockup ne va jamais sur le dégradé) */
.top { background: #fff; border-bottom: 1px solid #edf2f7; position: relative; z-index: 20; }
.top__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); height: 76px; display: flex; align-items: center; gap: 18px; }
.top__brand { display: block; flex: none; }
.top__linkeme { width: auto; height: 32px; }
.top__sign { display: inline-flex; align-items: flex-end; gap: 8px; text-decoration: none; padding: 6px 0 6px 18px; border-left: 1px solid #e2e8f0; flex: none; }
.top__worker { font-size: 14px; color: var(--ink-2); line-height: 1; padding-bottom: 3px; white-space: nowrap; }
.top__lockup { height: 19px; width: auto; }
.top__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; }
.lang a { display: inline-flex; align-items: center; min-height: 44px; min-width: 40px; justify-content: center; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: 8px; }
.lang a:hover { color: var(--pink-ink); background: #fdeef6; }
.lang a[aria-current="true"] { color: var(--ink); text-decoration: underline 2px var(--blue); text-underline-offset: 6px; }

/* Hero */
.hero { overflow-x: clip; background: var(--grad); background-size: 200% 200%; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hero__in { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 104px) var(--gut) clamp(56px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(24px, 7.2vw, 56px); line-height: 1.18; letter-spacing: -0.02em; }
.h1__base { display: block; }
.rot { display: block; width: max-content; height: 1.2em; overflow: hidden; color: var(--blue); }
.rot__track { display: flex; flex-direction: column; animation: words 9s var(--ease) infinite; }
.rot { height: 1.32em; }
.rot__track > span { display: block; height: 1.32em; line-height: 1.2em; white-space: nowrap; }
@keyframes words {
  0%, 26% { transform: translateY(0); }
  33%, 59% { transform: translateY(-1.32em); }
  66%, 92% { transform: translateY(-2.64em); }
  100% { transform: translateY(0); }
}
.hero .lead { margin-top: 24px; max-width: 34em; }
.hero__act { margin-top: 32px; }
.hero__note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* Posts en éventail */
.fan { position: relative; height: 470px; }
.fan__card {
  position: absolute; left: 50%; top: 50%;
  width: 262px; padding: 10px; background: #fff; border-radius: 24px;
  box-shadow: 0 24px 48px -20px rgba(23, 93, 140, .35), 0 2px 6px rgba(15, 23, 42, .05);
  transition: transform .6s var(--ease);
}
.fan__card--1 { transform: translate(-50%, -50%) translateX(-118px) translateY(14px) rotate(-10deg); }
.fan__card--2 { transform: translate(-50%, -50%); z-index: 2; }
.fan__card--3 { transform: translate(-50%, -50%) translateX(118px) translateY(14px) rotate(10deg); }
.fan:hover .fan__card--1 { transform: translate(-50%, -50%) translateX(-170px) translateY(6px) rotate(-6deg); }
.fan:hover .fan__card--3 { transform: translate(-50%, -50%) translateX(170px) translateY(6px) rotate(6deg); }

/* Visuels réels produits par le moteur Linkeme (4:5) */
.post { display: block; }
.post img { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 16px; background: #eef2f7; }
.fan__note { margin-top: 6px; text-align: center; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; justify-content: center; gap: 8px; }
.fan__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }

/* 2. La conversation */
.s2 { background: linear-gradient(180deg, #fff 0%, var(--blue-wash) 100%); }
.s2__in { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gut); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.s2__txt { position: sticky; top: 40px; }
.s2__txt p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }
.s2__txt .s2__note { margin-top: 28px; font-size: 15px; color: var(--blue-d); }

.chat { background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(31, 119, 181, .14); border-radius: var(--r-big); box-shadow: 0 30px 60px -30px rgba(23, 93, 140, .3); overflow: hidden; }
.chat__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.chat__room { font-weight: 600; font-size: 15px; }
.chat__tag { font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.chat__list { padding: 20px 24px 28px; display: grid; gap: 14px; }
.msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.msg--cont { margin-top: -6px; }
.msg--cont > * { grid-column: 2; }
.msg__av { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.msg__av--you { display: grid; place-items: center; background: var(--blue-pale); border-color: transparent; color: var(--blue-d); font-weight: 600; font-size: 15px; border-radius: 50%; }
.msg__who { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.msg__b p { font-size: 16px; line-height: 1.5; }
.msg--you .msg__b p { color: var(--ink); }
.msg__ask { font-size: 15px !important; color: var(--blue-d); font-weight: 500; }
.msg__time { text-align: center; font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 12px; }
.msg__time::before, .msg__time::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.draft { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 4px 18px; }
.draft__txt p { font-size: 14.5px; line-height: 1.55; margin-bottom: 8px; }
.draft__txt p:first-child { font-weight: 600; }
.draft__tags { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.draft__vis { grid-row: 1; grid-column: 2; align-self: start; display: grid; gap: 8px; }
.post--draft img { border-radius: 12px; }
.draft__ia { font-size: 12px; color: var(--ink-2); }

/* 3. Le moteur éditorial */
.s3 { background: var(--grad); }
.s3__in { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gut); }
.s3__head { max-width: 780px; }
.s3__head .lead { margin-top: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.tags li { font-size: 15px; font-weight: 500; color: var(--blue-d); background: rgba(255, 255, 255, .8); border: 1px solid rgba(31, 119, 181, .18); border-radius: 999px; padding: 5px 14px; }
.tags li:first-child { border-color: rgba(244, 34, 139, .4); }
.tags .tag { color: var(--pink-ink); }
/* Parcours du moteur : frise de 7 étapes */
.route { position: relative; margin-top: clamp(36px, 4vw, 52px); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; container-type: inline-size; }
.route::before { content: ""; position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 17px; height: 2px; background: rgba(31, 119, 181, .22); border-radius: 2px; }
.route__s { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.route__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid rgba(31, 119, 181, .28); color: var(--blue-d); font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px -6px rgba(23, 93, 140, .35); }
.route__l { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.route__s--ok .route__n { background: var(--blue); border-color: var(--blue); color: #fff; }
.route__s--ok .route__l { color: var(--blue-d); font-weight: 600; }
.route__dot { position: absolute; top: 14px; left: calc(100% / 14 - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(244, 34, 139, .16); opacity: 0; pointer-events: none; }

/* Cartes : grille 3 x 2, une scène par carte */
.cards { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); border-radius: var(--r-card); padding: 14px 14px clamp(22px, 2.2vw, 28px); display: flex; flex-direction: column; }
.card > h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; margin: 22px 12px 0; }
.card > p { margin: 8px 12px 0; color: var(--ink-2); font-size: 16px; }
.ill { position: relative; height: 208px; border-radius: 20px; background: linear-gradient(160deg, #fff 0%, var(--blue-wash) 100%); border: 1px solid rgba(31, 119, 181, .12); overflow: hidden; display: grid; place-items: center; padding: 16px; font-size: 13px; line-height: 1.35; color: var(--ink); }

/* 1. Mini-fiche */
.mf { width: 100%; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 10px 24px -16px rgba(23, 93, 140, .45); }
.mf__head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #edf2f7; }
.mf__head b { font-weight: 600; font-size: 14px; }
.mf__logo { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); position: relative; flex: none; }
.mf__logo::after { content: ""; position: absolute; inset: 7px 7px 7px 7px; border: 2px solid #fff; border-radius: 50% 50% 4px 50%; }
.mf__rows { display: grid; gap: 5px; margin-top: 8px; }
.mf__rows li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: center; }
.mf__k { color: var(--ink-2); font-size: 12px; }
.mf__v { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf__chips { display: flex; gap: 4px; }
.mf__chip { font-size: 11.5px; font-weight: 500; color: var(--blue-d); background: var(--blue-wash); border: 1px solid rgba(31, 119, 181, .18); border-radius: 8px; padding: 1px 7px; }
.mf__no { color: var(--pink-ink); }

/* 2. Mini-calendrier */
.cal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 18px); gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px 10px; }
.cal__m { grid-column: 1 / -1; font-weight: 600; font-size: 12.5px; margin-bottom: 2px; }
.cal__w { font-size: 10px; color: var(--ink-2); text-align: center; }
.cal__d { height: 18px; display: grid; place-items: center; font-size: 10px; color: var(--ink-2); border-radius: 6px; }
.cal__d--ev { color: #fff; font-weight: 600; position: relative; }
.cal__d--e1 { background: var(--pink-ink); }
.cal__d--e2 { background: var(--blue); }
.cal__d--e3 { background: var(--indigo); }
.cal__d--ev::after { content: ""; position: absolute; inset: -3px; border-radius: 8px; border: 2px solid currentColor; opacity: 0; }
.cal__d--e1::after { color: var(--pink); }
.cal__d--e2::after { color: var(--blue); }
.cal__d--e3::after { color: var(--indigo); }
.cal__leg { display: grid; gap: 7px; }
.cal__l { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.cal__l b { min-width: 22px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 10.5px; font-weight: 600; }
.cal__l--e1 b { background: var(--pink-ink); }
.cal__l--e2 b { background: var(--blue); }
.cal__l--e3 b { background: var(--indigo); }

/* 3. Trois angles */
.ang { width: 100%; display: grid; gap: 7px; }
.ang__t { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.ang__l { display: grid; gap: 6px; }
.ang__b { background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 6px 10px; font-size: 12.5px; font-weight: 500; box-shadow: 0 6px 16px -12px rgba(23, 93, 140, .5); }
.ang__b--2 { margin-left: 14px; }
.ang__b--3 { margin-left: 28px; }
.ang__k { display: inline-block; margin-right: 7px; font-size: 10.5px; font-weight: 600; color: var(--blue-d); background: var(--blue-wash); border-radius: 6px; padding: 0 6px; }

/* 4. Titres de presse */
.news { width: 100%; display: grid; gap: 7px; }
.news__i { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px 7px; display: grid; gap: 1px; }
.news__src { font-size: 10.5px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.news__h { font-size: 13px; font-weight: 600; line-height: 1.3; }
.news__i--pick { border-color: rgba(31, 119, 181, .5); box-shadow: 0 8px 20px -14px rgba(23, 93, 140, .6); }
.news__i--pick .news__h { padding-right: 64px; }
.news__pick { position: absolute; right: 8px; top: 8px; font-size: 10.5px; font-weight: 600; color: #fff; background: var(--blue); border-radius: 999px; padding: 1px 8px; }
.news__i:not(.news__i--pick) { opacity: .78; }

/* 5. Longueurs */
.len { width: 100%; }
.len__t { font-size: 12px; color: var(--ink-2); font-weight: 500; margin-bottom: 8px; }
.len ul { display: grid; gap: 9px; }
.len__r { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 10px; align-items: center; }
.len__d { font-size: 11.5px; color: var(--ink-2); }
.len__n { font-size: 12px; font-weight: 600; color: var(--blue-d); }
.len__bar { height: 12px; border-radius: 999px; background: rgba(31, 119, 181, .1); overflow: hidden; }
.len__bar span { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--blue); transform-origin: left center; }
.len__r--next .len__d, .len__r--next .len__n { color: var(--pink-ink); }
.len__r--next .len__bar { background: transparent; border: 1.5px dashed rgba(244, 34, 139, .55); }
.len__r--next .len__bar span { background: var(--pink); }

/* 6. Les vrais visuels */
.img { width: 100%; display: grid; gap: 8px; }
.img__fan { position: relative; height: 126px; }
.img__c { position: absolute; top: 50%; left: 50%; width: 78px; padding: 3px; background: #fff; border-radius: 12px; box-shadow: 0 12px 24px -14px rgba(23, 93, 140, .55); }
.ill__thumb img { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 8px; background: #eef2f7; }
.img__c--1 { transform: translate(-50%, -50%) translateX(-78px) translateY(6px) rotate(-11deg); }
.img__c--2 { transform: translate(-50%, -50%) translateX(-26px) rotate(-4deg); }
.img__c--3 { transform: translate(-50%, -50%) translateX(26px) rotate(4deg); }
.img__c--4 { transform: translate(-50%, -50%) translateX(78px) translateY(6px) rotate(11deg); }
.img__side { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.img__k { font-size: 11.5px; color: var(--ink-2); }
.img__sw { display: inline-flex; gap: 4px; }
.img__sw span { width: 18px; height: 18px; border-radius: 6px; background: var(--c); border: 1px solid rgba(15, 23, 42, .1); }
.img__logo { font-size: 11.5px; font-weight: 600; color: var(--blue-d); padding-left: 10px; border-left: 1px solid var(--line); }

/* Animations douces : uniquement si le mouvement est permis. Sans JS, tout est affiché tel quel. */
@media (prefers-reduced-motion: no-preference) {
  .route__dot { animation: route 7s ease-in-out infinite; }
  @keyframes route {
    0% { transform: translateX(0); opacity: 0; }
    6% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateX(calc(100cqw * 6 / 7)); opacity: 0; }
  }
  .cal__d--ev::after { animation: ping 3.6s ease-out infinite; }
  .cal__d--e2::after { animation-delay: 1.2s; }
  .cal__d--e3::after { animation-delay: 2.4s; }
  @keyframes ping { 0% { opacity: .9; transform: scale(.8); } 60%, 100% { opacity: 0; transform: scale(1.5); } }

  .cards.anim .mf__rows li, .cards.anim .ang__b, .cards.anim .news__i, .cards.anim .img__c { opacity: 0; }
  .cards.anim .len__bar span { transform: scaleX(0); }
  .cards.anim .vu .mf__rows li { animation: rise .6s var(--ease) both; }
  .cards.anim .vu .mf__rows li:nth-child(2) { animation-delay: .15s; }
  .cards.anim .vu .mf__rows li:nth-child(3) { animation-delay: .3s; }
  .cards.anim .vu .mf__rows li:nth-child(4) { animation-delay: .45s; }
  .cards.anim .vu .ang__b { animation: rise .6s var(--ease) both; }
  .cards.anim .vu .ang__b--2 { animation-delay: .25s; }
  .cards.anim .vu .ang__b--3 { animation-delay: .5s; }
  .cards.anim .vu .news__i { animation: rise .6s var(--ease) both; }
  .cards.anim .vu .news__i:nth-child(1) { animation-delay: .5s; }
  .cards.anim .vu .news__i:nth-child(2) { animation-delay: .15s; }
  .cards.anim .vu .news__i:nth-child(3) { animation-delay: .3s; }
  .cards.anim .vu .len__bar span { animation: grow .9s var(--ease) both; }
  .cards.anim .vu .len__r:nth-child(2) .len__bar span { animation-delay: .15s; }
  .cards.anim .vu .len__r:nth-child(3) .len__bar span { animation-delay: .3s; }
  .cards.anim .vu .len__r--next .len__bar span { animation: grow .9s var(--ease) .6s both, breathe 2.4s ease-in-out 1.6s infinite; }
  .cards.anim .vu .img__c { animation: fade .7s var(--ease) both; }
  .cards.anim .vu .img__c--2 { animation-delay: .12s; }
  .cards.anim .vu .img__c--3 { animation-delay: .24s; }
  .cards.anim .vu .img__c--4 { animation-delay: .36s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .cards.anim .vu .news__i:not(.news__i--pick) { animation-name: rise-dim; }
  @keyframes rise-dim { from { opacity: 0; transform: translateY(8px); } to { opacity: .78; transform: none; } }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* 4. Linkeme Personal */
.s4 { background: #fff; }
.s4__in { max-width: 1080px; margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gut); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.s4__txt .lead { margin-top: 20px; }
.s4__points { margin-top: 32px; display: grid; gap: 18px; }
.s4__points li { font-size: 17px; color: var(--ink-2); padding: 18px 0 0 22px; border-top: 1px solid #e8eef5; position: relative; }
.s4__points li::before { content: ""; position: absolute; left: 0; top: 29px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.s4__points b { color: var(--ink); font-weight: 600; display: block; }
.feed { background: var(--grad); border-radius: var(--r-big); padding: 32px; display: grid; justify-items: start; gap: 10px; }
.feed__label { font-size: 13px; color: var(--ink-2); }
.feed__in { display: grid; gap: 8px; width: 100%; }
.feed__in li { background: rgba(255, 255, 255, .85); border: 1px solid rgba(31, 119, 181, .16); border-radius: 14px; padding: 10px 16px; font-size: 15px; font-weight: 500; }
.feed__arrow { width: 2px; height: 34px; background: var(--pink); margin-left: 22px; position: relative; }
.feed__arrow::after { content: ""; position: absolute; left: -5px; bottom: -2px; border: 6px solid transparent; border-top: 8px solid var(--pink); border-bottom: 0; }
.feed__out { background: var(--blue); color: #fff; border-radius: 14px; padding: 12px 18px; font-weight: 600; width: 100%; }

/* 5. Easycore : fond papier, lockup positif */
.s5 { background: var(--paper); border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); color: #1c1033; }
.s5__in { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gut); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.s5__lockup { height: 44px; width: auto; margin-bottom: 36px; }
.s5 h2 { color: var(--indigo); }
.s5 .lead { margin-top: 18px; color: #4f4866; }
.s5__head p:last-child { margin-top: 28px; }
.s5__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; padding-top: 8px; }
.s5__list li { border-top: 2px solid var(--indigo); padding-top: 18px; }
.s5__list h3 { font-size: 20px; font-weight: 600; color: var(--indigo); line-height: 1.3; }
.s5__list p { margin-top: 8px; color: #4f4866; font-size: 16px; }

/* 6. Appel final */
.s6 { background: var(--grad); padding: clamp(56px, 7vw, 104px) var(--gut); }
.s6__panel { max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto; background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); border-radius: 40px; padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 40px; align-items: end; }
.s6__panel h2 { font-size: clamp(28px, 3.6vw, 50px); max-width: 15em; }
.s6__panel p:not(:last-child) { grid-column: 1; color: var(--ink-2); font-size: 18px; }
.s6__panel p:last-child { grid-column: 2; grid-row: 1 / span 2; }

/* Pied : fond blanc, lockup Easycore */
.foot { background: #fff; }
.foot__in { max-width: var(--max); margin: 0 auto; padding: 56px var(--gut) 40px; display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.foot__sign { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot__ec, .foot__el { display: inline-flex; align-items: center; min-height: 44px; }
.foot__lockup { height: 30px; width: auto; }
.foot__by { font-size: 14px; color: var(--ink-2); line-height: 1; }
.foot__easylab { height: 32px; width: auto; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.foot__links a:hover { color: var(--blue-d); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }
.foot__legacy { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); border-top: 1px solid #edf2f7; padding-top: 24px; }
.legal { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.legal h2 { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: 8px; }
.legal dl { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 6px 18px; max-width: 880px; }
.legal dt { font-weight: 500; color: var(--ink); }
.legal__c { margin-top: 14px; }
.foot--min .foot__in { grid-template-columns: 1fr; }

/* Bandeau de mesure d'audience */
.mesure { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 50px -20px rgba(15, 23, 42, .35); padding: 18px 20px; font-size: 14px; color: var(--ink-2); }
.mesure[hidden] { display: none; }
.mesure b { color: var(--ink); font-weight: 600; }
.mesure__b { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }

/* 404 */
.nf { background: var(--grad); }
.nf__in { max-width: 820px; margin: 0 auto; padding: clamp(72px, 12vw, 160px) var(--gut); }
.nf__code { font-size: clamp(64px, 12vw, 140px); font-weight: 500; line-height: 1; color: var(--blue); letter-spacing: -0.04em; }
.nf h1 { font-size: clamp(28px, 4vw, 48px); margin-top: 12px; }
.nf .lead { margin-top: 16px; }
.nf__act { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* Responsive */
@media (max-width: 1000px) {
  .hero__in, .s2__in, .s4__in, .s5__in { grid-template-columns: minmax(0, 1fr); }
  .s2__txt { position: static; }
  .fan { height: 420px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route__l { font-size: 13px; }
  .feed { max-width: 420px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top__in { height: 64px; gap: 12px; }
  .top__linkeme { height: 24px; }
  .top__sign { padding: 5px 0 5px 12px; gap: 6px; }
  .top__worker { font-size: 12px; }
  .top__lockup { height: 15px; }
  .top__cta { display: none; }
  .top__right { gap: 0; }
  .lang a[aria-current="true"] { display: none; }
  .fan { height: 330px; }
  .fan__card { width: 186px; padding: 8px; border-radius: 20px; }
  .fan__card--1 { transform: translate(-50%, -50%) translateX(-84px) translateY(10px) rotate(-9deg); }
  .fan__card--3 { transform: translate(-50%, -50%) translateX(84px) translateY(10px) rotate(9deg); }
  .fan:hover .fan__card--1 { transform: translate(-50%, -50%) translateX(-96px) translateY(8px) rotate(-7deg); }
  .fan:hover .fan__card--3 { transform: translate(-50%, -50%) translateX(96px) translateY(8px) rotate(7deg); }
  .chat__list { padding: 16px 14px 22px; }
  .chat__bar { padding: 14px 16px; }
  .msg { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .msg__av { width: 32px; height: 32px; }
  .draft { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .draft__vis { grid-row: auto; grid-column: 1; max-width: 200px; margin-top: 4px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ill { height: auto; min-height: 176px; }
  .route { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; container-type: normal; }
  .route::before, .route__dot { display: none; }
  .hero__in { padding-bottom: 32px; }
  .s5__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .s5__lockup { height: 34px; }
  .s6__panel { grid-template-columns: minmax(0, 1fr); border-radius: 30px; }
  .s6__panel p:last-child { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .foot__links { justify-content: flex-start; }
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal dd { margin-bottom: 8px; }
  .mesure { left: 8px; right: 8px; bottom: 8px; max-width: none; }
}

@media (max-width: 380px) {
  .top__linkeme { height: 21px; }
  .top__lockup { height: 14px; }
  .top__worker { font-size: 11px; }
  .top__sign { padding-left: 10px; }
}
@media (max-width: 360px) {
  .top__right { display: none; }
  .fan__card { width: 160px; }
  .fan__card--1, .fan:hover .fan__card--1 { transform: translate(-50%, -50%) translateX(-68px) translateY(10px) rotate(-9deg); }
  .fan__card--3, .fan:hover .fan__card--3 { transform: translate(-50%, -50%) translateX(68px) translateY(10px) rotate(9deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
