/* ============================================================
   OPTERIA — page « Intégration » (05/10/2026, demande Axel) : gleap.ai/integrations reprise section par section,
   contenu OpterIA. Chargée seulement par integration.html, après da-cerveau.css (cartes grises, cadres, fiches blanches,
   moteur de scènes de cerveau.js : la fiche reçoit e1, e2… à chaque étape de son animation).
   ============================================================ */
.page-integration { --orange: #FB4D17; --vert-wa: #25a35a; }

/* ---------- Premier écran : la carte grise coupée en deux de gleap, peinture et étiquettes qui défilent ---------- */
.in-hero { padding: 56px 0 36px; background: var(--paper); }
.in-hero__carte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; border-radius: var(--r); background: var(--gris-carte); overflow: hidden; }
.in-hero__txt { display: flex; flex-direction: column; justify-content: center; padding: 48px 40px; }
.in-hero__txt .meta { margin: 0 0 16px; }
.in-hero__txt .d { margin: 0; font-size: clamp(34px, 3.5vw, 46px); }
.in-hero__sous { margin: 24px 0 0; font-size: 18px; line-height: 1.5; color: var(--muet); }
.in-hero__actions { margin-top: 30px; }
.in-hero__toile { position: relative; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.in-hero__toile .cv-peinture { transform: scale(1.03); }
.in-defile { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.in-defile__piste { display: flex; gap: 8px; width: max-content; animation: in-defile 46s linear infinite; }
.in-defile__piste--vert { animation-duration: 34s; animation-direction: reverse; margin-left: -120px; }
@keyframes in-defile { to { transform: translateX(-50%); } }
.in-puce { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 6px; border-radius: 8px; background: rgba(255,255,255,.86); color: #262626; font-size: 16px; white-space: nowrap; box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.in-puce b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #191919; color: #fff; font-size: 13px; font-weight: 500; }
.in-puce--vert { padding-left: 12px; gap: 9px; }
.in-puce--sign b { background: var(--orange); }
.in-puce--sign b svg { width: 15px; height: 15px; }
.in-puce--vert img { width: 18px; height: 18px; }
.in-puce--vert i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert-wa); box-shadow: 0 0 0 3px rgba(37,163,90,.18); }
.in-preuve { margin-top: 26px; }

/* ---------- Grand texte ---------- */
.in-intro { padding: 96px 0 40px; }

/* ---------- La frise : titre, colonne collante numérotée avec le fil vert, cartes d'étapes ---------- */
.in-frise { padding-top: 64px; }
.in-frise__tete { max-width: 760px; margin-bottom: 48px; }
.in-frise__tete .meta { margin: 0 0 14px; }
.in-frise__tete .h { margin: 0; }
.in-menu { position: sticky; padding-left: 22px; gap: 2px !important; }
/* le fil de la colonne : gris avant la signature, vert (groupe WhatsApp) à partir de la signature (06/10/2026, demande Axel) */
.in-menu::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: #e6e6e2; }
.in-menu a { display: flex; align-items: center; gap: 12px; line-height: 1.3 !important; padding: 7px 0; }
.in-menu a b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: #ededea; color: var(--ink); font-size: 12px; font-weight: 500; transition: background .25s ease, color .25s ease; }
.in-menu a[aria-current="step"] b { background: var(--orange); color: #fff; }
.in-menu__jalon { position: relative; display: flex; align-items: center; gap: 12px; margin: 6px 0 !important; font-size: 15px; font-weight: 500; color: var(--ink); }
.in-menu__jalon span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: #fff1eb; color: var(--orange); }
.in-menu__jalon span svg { width: 15px; height: 15px; }
.in-menu__jalon::before { content: ""; position: absolute; left: -26px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--orange); }
.in-menu__vert { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.in-menu__vert::before { content: ""; position: absolute; left: -22px; top: -6px; bottom: 0; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--vert-wa) 0, var(--vert-wa) 85%, rgba(37,163,90,.2)); }
.in-menu__fil { display: flex; align-items: center; gap: 8px; margin: 2px 0 4px !important; font-size: 13px; line-height: 1.35; color: #236b39; }
.in-menu__fil img { flex: none; }

.in-etape .cv-etape__txt { display: flex; flex-direction: column; padding: 6px 6px 4px; }
.in-etape .cv-cadre { aspect-ratio: auto; min-height: 340px; }
.in-etape .cv-badge { color: var(--orange); font-weight: 500; }
.in-fil { display: flex; align-items: center; gap: 9px; margin: auto 0 0; padding-top: 22px; font-size: 14px; line-height: 1.35; color: #236b39; }
.in-fil img { flex: none; }
.in-fil--avant { display: block; color: var(--muet); }
.in-fil--avant a { margin-left: 4px; white-space: nowrap; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(0,0,0,.3); text-underline-offset: 3px; }
.in-fil--avant a:hover { text-decoration-color: var(--ink); }

/* le jalon « signature » entre l'analyse et le questionnaire : le trait de signature se dessine, puis le groupe WhatsApp s'ouvre */
.in-jalon { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 24px; background: linear-gradient(100deg, #fff4ee 0%, #f3f6ef 55%, #eaf6ee 100%); scroll-margin-top: 110px; }
.in-jalon__ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: #fff; color: var(--orange); box-shadow: none; }
.in-jalon__ico svg { width: 46px; height: 46px; }
.in-jalon__trait { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.45,0,.25,1) .35s; }
.in-jalon.is-in .in-jalon__trait { stroke-dashoffset: 0; }
.in-jalon__txt .cv-badge { margin: 0 0 6px; color: var(--orange); font-weight: 500; line-height: 18px; }
.in-jalon__txt h3 { margin: 0; font-size: 26px; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.in-jalon__txt p:last-child { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--muet); }
.in-jalon__groupe { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 14px; background: #fff; font-size: 14px; color: var(--ink); white-space: nowrap; box-shadow: none; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .5s ease 1.5s, transform .6s cubic-bezier(.3,1.4,.5,1) 1.5s; }
.in-jalon.is-in .in-jalon__groupe { opacity: 1; transform: none; }
.in-jalon__groupe span { display: flex; flex-direction: column; line-height: 1.2; }
.in-jalon__groupe b { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: #2f7d3e; }
.in-jalon__groupe b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vert-wa); }

/* toutes les pièces des fiches glissent et s'allument en douceur (les règles plus précises gardent la main) */
.page-integration .cv-fiche :is(li, em, span, p, i, b, div) { transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1), background-color .35s ease, border-color .35s ease, color .35s ease; }

/* bandeau commun de fin de fiche : coche verte et phrase de confirmation */
.in-ok { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid #ececea; font-size: 13px; color: #2f7d3e; opacity: 0; transform: translateY(5px); }
.in-ok i { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--vert); color: #fff; font-size: 9px; font-style: normal; font-weight: 500; }

/* 1) le rendez-vous : l'ordre du jour se coche, le rendez-vous est confirmé */
.in-rdv__tete { display: flex; align-items: center; gap: 12px; }
.in-rdv__tete b { display: block; font-size: 15px; font-weight: 500; }
.in-rdv__tete small { display: block; font-size: 12px; color: #6b6b70; }
.in-rdv__date { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #fff1eb; color: var(--orange); }
.in-rdv__date small { display: none; }
.in-rdv__date svg { width: 22px; height: 22px; }
.in-rdv__lab { margin-top: 16px !important; font-size: 12px; color: #8a8a90; }
.in-rdv__liste { display: flex; flex-direction: column; gap: 6px; margin-top: 8px !important; }
.in-rdv__liste li, .in-tests li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(11,11,11,.07); font-size: 13px; color: #8a8a90; }
.in-rdv .fs-coche, .in-tests .fs-coche { width: 16px; height: 16px; animation: none; opacity: .25; transform: scale(.6); transition: opacity .25s ease, transform .45s cubic-bezier(.3,1.6,.5,1) !important; }
.in-rdv.e1 li:nth-child(1), .in-rdv.e2 li:nth-child(2), .in-rdv.e3 li:nth-child(3) { color: var(--encre); }
.in-rdv.e1 li:nth-child(1) .fs-coche, .in-rdv.e2 li:nth-child(2) .fs-coche, .in-rdv.e3 li:nth-child(3) .fs-coche { opacity: 1; transform: none; }
.in-rdv.e4 .in-ok { opacity: 1; transform: none; }

/* 2) l'analyse : chaque tâche reçoit son étiquette orange « Priorité » */
.in-audit ul { margin-top: 10px; display: flex; flex-direction: column; }
.in-audit li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid #f0f0ef; font-size: 13px; }
.in-audit li:first-child { border-top: 0; }
.in-audit em { padding: 2px 8px; border-radius: 999px; background: #fff1eb; color: #c2410c; font-size: 11px; font-style: normal; font-weight: 500; opacity: 0; transform: scale(.85); }
.in-audit.e1 li:nth-child(1) em, .in-audit.e2 li:nth-child(2) em, .in-audit.e3 li:nth-child(3) em, .in-audit.e4 li:nth-child(4) em { opacity: 1; transform: none; }
.in-audit[data-etape="1"] li:nth-child(1) em, .in-audit[data-etape="2"] li:nth-child(2) em, .in-audit[data-etape="3"] li:nth-child(3) em, .in-audit[data-etape="4"] li:nth-child(4) em { animation: cv-pose .5s cubic-bezier(.3,1.4,.5,1); }
.in-audit.e5 .in-ok { opacity: 1; transform: none; }

/* 3) le questionnaire : la barre avance, « Vous » se coche, les couleurs et les valeurs se posent */
.in-quest__tete { display: flex; flex-direction: column; gap: 10px; }
.in-quest__tete b { font-size: 14.5px; font-weight: 500; }
.in-quest__barre { display: block; height: 4px; border-radius: 4px; background: #efeff1; overflow: hidden; }
.in-quest__barre i { display: block; height: 100%; border-radius: 4px; background: var(--orange); transform-origin: left; transform: scaleX(.08); transition: transform .7s cubic-bezier(.22,1,.36,1); }
.in-quest.e1 .in-quest__barre i { transform: scaleX(.38); } .in-quest.e2 .in-quest__barre i { transform: scaleX(.7); } .in-quest.e3 .in-quest__barre i { transform: scaleX(1); }
.in-quest__q { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0ef; }
.in-quest__q p { margin-bottom: 8px !important; font-size: 12.5px; color: #6b6b70; }
.in-choix, .in-valeurs { display: flex; flex-wrap: wrap; gap: 6px; }
.in-choix span, .in-valeurs span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(11,11,11,.12); font-size: 12.5px; color: #555; }
.in-quest.e1 .in-choix__vous { border-color: #191919; background: #191919; color: #fff; }
.in-teintes { display: flex; gap: 7px; }
.in-teintes i { width: 24px; height: 24px; border-radius: 7px; background: var(--t); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); opacity: .18; transform: scale(.7); transition: opacity .35s ease, transform .45s cubic-bezier(.3,1.5,.5,1) !important; }
.in-teintes i:nth-child(2) { transition-delay: .08s !important; } .in-teintes i:nth-child(3) { transition-delay: .16s !important; } .in-teintes i:nth-child(4) { transition-delay: .24s !important; }
.in-quest.e2 .in-teintes i { opacity: 1; transform: none; }
.in-valeurs span { opacity: .3; }
.in-quest.e3 .in-valeurs span { opacity: 1; border-color: rgba(251,77,23,.35); background: #fff6f2; color: #c2410c; }
.in-quest.e4 .in-ok { opacity: 1; transform: none; }

/* 4) la connexion : les fils se tracent du centre vers chaque outil, l'outil s'allume */
.in-hub { height: 260px; padding: 0 !important; }
.in-hub__fils { position: absolute; left: 0; top: 0; width: 100%; height: 220px; }
.in-hub__fils path { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s ease !important; vector-effect: non-scaling-stroke; }
.in-hub.e1 path:nth-child(1), .in-hub.e2 path:nth-child(2), .in-hub.e3 path:nth-child(3), .in-hub.e4 path:nth-child(4), .in-hub.e5 path:nth-child(5), .in-hub.e6 path:nth-child(6) { stroke-dashoffset: 0; }
.in-hub__logo { position: absolute; left: var(--x); top: calc(var(--y) * 220 / 260); display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px rgba(11,11,11,.08); opacity: .45; filter: grayscale(1); transition: opacity .35s ease, filter .35s ease, transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .35s ease !important; }
.in-hub.e1 .in-hub__logo:nth-of-type(1), .in-hub.e2 .in-hub__logo:nth-of-type(2), .in-hub.e3 .in-hub__logo:nth-of-type(3),
.in-hub.e4 .in-hub__logo:nth-of-type(4), .in-hub.e5 .in-hub__logo:nth-of-type(5), .in-hub.e6 .in-hub__logo:nth-of-type(6) { opacity: 1; filter: none; box-shadow: 0 0 0 1.5px rgba(251,77,23,.55); }
.in-hub[data-etape="1"] .in-hub__logo:nth-of-type(1), .in-hub[data-etape="2"] .in-hub__logo:nth-of-type(2), .in-hub[data-etape="3"] .in-hub__logo:nth-of-type(3),
.in-hub[data-etape="4"] .in-hub__logo:nth-of-type(4), .in-hub[data-etape="5"] .in-hub__logo:nth-of-type(5), .in-hub[data-etape="6"] .in-hub__logo:nth-of-type(6) { transform: scale(1.12); }
.in-hub__bobby { position: absolute; left: 50%; top: 110px; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 16px; background: #191919; color: #fff; box-shadow: none; }
.in-hub__bobby svg { width: 38px; height: 38px; }
.in-hub.e7 .in-hub__bobby { animation: cv-pose .5s cubic-bezier(.3,1.4,.5,1); }
.in-hub__etat { position: absolute; left: 16px; right: 16px; bottom: 12px; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; padding-top: 10px; border-top: 1px solid #ececea; font-size: 12.5px; font-weight: 500; }
.in-hub__etat i { width: 8px; height: 8px; border-radius: 50%; background: #f5a524; transition: background .35s ease; }
.in-hub__a, .in-hub__b { grid-area: 1 / 2; }
.in-hub__b { opacity: 0; color: #2f7d3e; }
.in-hub.e6 .in-hub__a { opacity: 0; } .in-hub.e6 .in-hub__b { opacity: 1; } .in-hub.e6 .in-hub__etat i { background: var(--vert); }

/* 5) l'entraînement : vous et OpterIA, trois réglages qui trouvent leur place */
.in-reglage__tete { display: flex; align-items: center; gap: 12px; }
.in-reglage__tete b { display: block; font-size: 15px; font-weight: 500; }
.in-reglage__tete small { display: block; font-size: 12px; color: #6b6b70; }
.in-duo { display: flex; }
.in-duo .cv-av { width: 32px; height: 32px; box-shadow: 0 0 0 2px #fff; }
.in-duo .cv-av svg { width: 18px; height: 18px; }
.in-duo .cv-av + .cv-av { margin-left: -8px; }
.cv-av--orange { background: var(--orange); }
.cv-av--orange svg { width: 20px; height: 20px; }
.in-curseurs { display: flex; flex-direction: column; gap: 14px; margin-top: 18px !important; }
.in-curseurs li { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: #555; }
.in-curseurs i { position: relative; display: block; height: 6px; border-radius: 6px; background: #efeff1; }
.in-curseurs i::before { content: ""; position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(90deg, #ffb08f, var(--orange)); transform-origin: left; transform: scaleX(.12); transition: transform .8s cubic-bezier(.22,1,.36,1); }
.in-curseurs b { position: absolute; left: 0; top: 50%; width: 100%; height: 0; transform: translateX(12%); transition: transform .8s cubic-bezier(.22,1,.36,1) !important; }
.in-curseurs b::after { content: ""; position: absolute; left: 0; top: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.in-reglage.e1 li:nth-child(1) i::before, .in-reglage.e2 li:nth-child(2) i::before, .in-reglage.e3 li:nth-child(3) i::before { transform: scaleX(var(--v)); }
.in-reglage.e1 li:nth-child(1) b, .in-reglage.e2 li:nth-child(2) b, .in-reglage.e3 li:nth-child(3) b { transform: translateX(calc(var(--v) * 100%)); }
.in-reglage.e4 .in-ok { opacity: 1; transform: none; }

/* 6) les tests : chaque essai se coche */
.in-tests ul { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.in-tests.e1 li:nth-child(1), .in-tests.e2 li:nth-child(2), .in-tests.e3 li:nth-child(3), .in-tests.e4 li:nth-child(4) { color: var(--encre); }
.in-tests.e1 li:nth-child(1) .fs-coche, .in-tests.e2 li:nth-child(2) .fs-coche, .in-tests.e3 li:nth-child(3) .fs-coche, .in-tests.e4 li:nth-child(4) .fs-coche { opacity: 1; transform: none; }
.in-tests.e5 .in-ok { opacity: 1; transform: none; }

/* 7) la mise en service : la courbe se trace, les apprentissages se posent dessus */
.in-courbe__etat { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: #2f7d3e; }
.in-courbe__etat i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); animation: cv-point 2.4s ease-in-out infinite; }
.in-courbe__titre { margin-top: 12px !important; font-size: 14.5px; font-weight: 500; }
.in-courbe__graph { position: relative; height: 120px; margin-top: 10px; }
.in-courbe__graph svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.in-courbe__grille { stroke: #f0f0ef; stroke-width: 1; vector-effect: non-scaling-stroke; }
.in-courbe__ligne { stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.45,0,.25,1); }
.in-courbe__aire { fill: rgba(251,77,23,.08); opacity: 0; transition: opacity .8s ease .6s; }
.in-courbe.e1 .in-courbe__ligne { stroke-dashoffset: 0; } .in-courbe.e1 .in-courbe__aire { opacity: 1; }
.in-courbe__pt { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(11,11,11,.09); font-size: 11px; white-space: nowrap; transform: translate(-50%, -150%) scale(.85); opacity: 0; }
.in-courbe__pt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.in-courbe.e2 .in-courbe__pt:nth-of-type(1), .in-courbe.e3 .in-courbe__pt:nth-of-type(2) { opacity: 1; transform: translate(-50%, -150%); }
.in-courbe__axe { display: flex; justify-content: space-between; margin-top: 8px !important; padding-top: 8px; border-top: 1px solid #ececea; font-size: 11.5px; color: #8a8a90; }

/* 8) l'entretien : la roue tourne, chaque ligne se valide */
.in-maj__tete { display: flex; align-items: center; gap: 10px; }
.in-maj__tete b { display: block; font-size: 15px; font-weight: 500; }
.in-maj__tete small { display: block; font-size: 11.5px; color: #6b6b70; }
.in-roue svg { animation: in-roue 2.6s linear infinite; }
@keyframes in-roue { to { transform: rotate(360deg); } }
.in-maj.e4 .in-roue svg { animation-play-state: paused; }
.in-maj ul { margin-top: 12px; display: flex; flex-direction: column; }
.in-maj li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid #f0f0ef; font-size: 13px; color: #8a8a90; }
.in-maj li:first-child { border-top: 0; }
.in-maj li small { display: block; margin-top: 2px; font-size: 11px; color: #c2410c; }
.in-maj li i { display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #efeff1; color: transparent; font-size: 10px; font-style: normal; transition: background .3s ease, color .3s ease, transform .45s cubic-bezier(.3,1.5,.5,1) !important; transform: scale(.8); }
.in-maj.e1 li:nth-child(1), .in-maj.e2 li:nth-child(2), .in-maj.e3 li:nth-child(3) { color: var(--encre); }
.in-maj.e1 li:nth-child(1) i, .in-maj.e2 li:nth-child(2) i, .in-maj.e3 li:nth-child(3) i { background: var(--vert); color: #fff; transform: none; }
.in-maj.e4 .in-ok { opacity: 1; transform: none; }
.in-rdv .in-ok, .in-audit .in-ok, .in-quest .in-ok, .in-reglage .in-ok, .in-tests .in-ok, .in-maj .in-ok { transition: opacity .45s ease, transform .45s cubic-bezier(.3,1.4,.5,1) !important; }

/* ---------- Mimétisme : cinq tuiles blanches sur la peinture ---------- */
.in-mime .meta { margin: 0 0 14px; }
.in-mime .h { margin: 0; }
.in-mime__toile { position: relative; margin-top: 44px; padding: 56px 40px; border-radius: 24px; background: var(--gris-cadre); overflow: hidden; isolation: isolate; }
.in-mime__tuiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.in-tuile { position: relative; display: flex; flex-direction: column; padding: 20px 18px 18px; border-radius: 14px; background: #fff; color: #171717; box-shadow: none; transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease; }
.in-tuile h3 { margin: 16px 0 0; font-size: 15.5px; font-weight: 500; line-height: 1.3; letter-spacing: -.005em; color: #171717; }
.in-tuile p { margin: 6px 0 18px; font-size: 13.5px; line-height: 1.45; color: #555; }
.in-tuile__retenu { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-top: auto; padding: 4px 9px; border-radius: 999px; background: #f3f3f1; color: #9a9aa0; font-size: 11.5px; font-weight: 500; transition: background .35s ease, color .35s ease; }
.in-tuile__retenu::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c9c9cd; transition: background .35s ease; }
.in-mime__tuiles.e1 .in-tuile:nth-child(1) .in-tuile__retenu, .in-mime__tuiles.e2 .in-tuile:nth-child(2) .in-tuile__retenu, .in-mime__tuiles.e3 .in-tuile:nth-child(3) .in-tuile__retenu,
.in-mime__tuiles.e4 .in-tuile:nth-child(4) .in-tuile__retenu, .in-mime__tuiles.e5 .in-tuile:nth-child(5) .in-tuile__retenu { background: #eef7ef; color: #2f7d3e; }
.in-mime__tuiles.e1 .in-tuile:nth-child(1) .in-tuile__retenu::before, .in-mime__tuiles.e2 .in-tuile:nth-child(2) .in-tuile__retenu::before, .in-mime__tuiles.e3 .in-tuile:nth-child(3) .in-tuile__retenu::before,
.in-mime__tuiles.e4 .in-tuile:nth-child(4) .in-tuile__retenu::before, .in-mime__tuiles.e5 .in-tuile:nth-child(5) .in-tuile__retenu::before { background: var(--vert); }
.in-mime__tuiles[data-etape="1"] .in-tuile:nth-child(1), .in-mime__tuiles[data-etape="2"] .in-tuile:nth-child(2), .in-mime__tuiles[data-etape="3"] .in-tuile:nth-child(3),
.in-mime__tuiles[data-etape="4"] .in-tuile:nth-child(4), .in-mime__tuiles[data-etape="5"] .in-tuile:nth-child(5) { transform: translateY(-6px); box-shadow: none; }
.in-mime__pied { max-width: 720px; margin: 32px auto 0; font-size: 19px; line-height: 1.45; text-align: center; color: var(--muet); }
.in-mime__pied b { font-weight: 500; color: var(--ink); }

/* ---------- Jamais seul : le groupe WhatsApp ---------- */
.in-seul .meta { margin: 0 0 14px; }
.in-seul__liste { margin-top: 28px; }
.in-seul__liste i { background: var(--vert-wa) !important; }
.in-wa { padding: 0 !important; overflow: hidden; }
.in-wa__tete { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #ececea; }
.in-wa__tete b { display: block; font-size: 14px; font-weight: 500; }
.in-wa__tete small { display: block; font-size: 11.5px; color: #6b6b70; }
.in-wa__groupe { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e9f7ee; }
.in-wa__fil { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; align-content: start; gap: 8px; min-height: 0; padding: 14px; background: #f6f4ef; }
.in-wa__msg { max-width: 82%; justify-self: start; padding: 8px 11px 6px; border-radius: 12px; font-size: 13px; line-height: 1.4; box-shadow: none; opacity: 0; transform: translateY(6px); }
.in-wa__msg small { display: block; margin-top: 3px; font-size: 10.5px; color: #6b8f74; text-align: right; }
.in-wa__msg b { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 500; color: var(--orange); }
.in-wa__msg--vous { justify-self: end; border-top-right-radius: 4px; background: #dcf6e3; }
.in-wa__msg--op { justify-self: start; border-top-left-radius: 4px; background: #fff; }
.in-wa__points { display: flex; gap: 4px; justify-self: start; align-self: start; padding: 10px 12px; border-radius: 12px; background: #fff; opacity: 0; }
.in-wa__points i { width: 6px; height: 6px; border-radius: 50%; background: #b9b9bf; animation: cv-saut 1s ease-in-out infinite; }
.in-wa__points i:nth-child(2) { animation-delay: .15s; } .in-wa__points i:nth-child(3) { animation-delay: .3s; }
.in-wa__fil > :nth-child(1) { grid-area: 1 / 1; } .in-wa__points, .in-wa__msg--op { grid-area: 2 / 1; } .in-wa__fil > :nth-child(4) { grid-area: 3 / 1; }
.in-wa.e1 .in-wa__msg:nth-child(1), .in-wa.e3 .in-wa__msg--op, .in-wa.e4 .in-wa__msg:nth-child(4) { opacity: 1; transform: none; }
.in-wa.e2:not(.e3) .in-wa__points { opacity: 1; }

/* ---------- Ce que l'intégration vous demande ---------- */
.in-demande__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.in-demande__tete .h { margin: 0; }
.in-demande__tete p { max-width: 420px; margin: 22px 0 0; font-size: 17px; line-height: 1.55; color: var(--muet); }
.in-demande__liste { list-style: none; margin: 0; padding: 0; }
.in-demande__liste li { display: flex; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.in-demande__liste li:first-child { border-top: 0; padding-top: 4px; }
.in-demande__n { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: #fff1eb; color: var(--orange); font-size: 14px; font-weight: 500; }
.in-demande__liste h3 { margin: 4px 0 0; font-size: 19px; font-weight: 400; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.in-demande__liste p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--muet); }

/* ---------- Appel final centré ---------- */
.in-cta__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.in-cta .equipage { margin-bottom: 18px; }
.in-cta .cta__txt { margin: 0; }
.in-cta__sous { max-width: 560px; margin: 22px 0 0; font-size: 18px; line-height: 1.5; color: var(--muet); }
.in-cta__actions { justify-content: center; margin-top: 30px; }

/* ---------- Mouvement réduit : tout est posé, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .in-defile__piste { animation: none; }
  .in-roue svg, .in-courbe__etat i, .in-wa__points i { animation: none; }
  .in-jalon__trait { stroke-dashoffset: 0; transition: none; }
  .in-jalon__groupe { opacity: 1; transform: none; transition: none; }
  .in-hub__fils path, .in-courbe__ligne, .in-courbe__aire, .in-curseurs i::before, .in-curseurs b, .in-quest__barre i, .in-tuile, .in-ok { transition: none !important; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .in-mime__tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .in-hero__txt { padding: 40px 32px; }
}
@media (max-width: 960px) {
  .in-hero__carte { grid-template-columns: minmax(0, 1fr); }
  .in-hero__toile { min-height: 220px; }
  .in-intro { padding: 72px 0 24px; }
  .in-frise__tete { margin-bottom: 32px; }
  .in-demande__grille { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- Téléphone (390 px) ---------- */
@media (max-width: 720px) {
  .in-hero { padding: 24px 0 24px; }
  .in-hero__carte { margin: 0 calc(var(--gutter) * -1 + 8px); border-radius: 18px; }
  .in-hero__txt { padding: 32px 22px 30px; }
  .in-hero__txt .d { font-size: 34px; }
  .in-hero__sous { margin-top: 18px; font-size: 17px; }
  .in-hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .in-hero__toile { min-height: 190px; }
  .in-puce { height: 34px; font-size: 14px; } .in-puce b { width: 24px; height: 24px; font-size: 12px; }
  .in-preuve { flex-direction: column; gap: 4px; }
  .in-preuve i { display: none; }
  .in-intro { padding: 56px 0 8px; }
  .in-etape .cv-etape__txt { padding: 6px 4px 0; }
  .in-fil { padding-top: 16px; font-size: 13.5px; }
  .in-jalon { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 18px 20px; border-radius: 20px; }
  .in-jalon__ico { width: 52px; height: 52px; border-radius: 15px; } .in-jalon__ico svg { width: 36px; height: 36px; }
  .in-jalon__txt h3 { font-size: 23px; }
  .in-jalon__txt p:last-child { font-size: 15.5px; }
  .in-jalon__groupe { justify-self: start; }
  .in-mime__toile { margin: 32px calc(var(--gutter) * -1 + 8px) 0; padding: 20px 14px; border-radius: 18px; }
  .in-mime__tuiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .in-tuile { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px; }
  .in-tuile .cv-carte__ico { grid-row: span 3; }
  .in-tuile h3 { margin: 4px 0 0; }
  .in-tuile p { margin: 4px 0 10px; }
  .in-tuile__retenu { justify-self: start; }
  .in-mime__pied { font-size: 17px; }
  .in-demande__liste li { padding: 22px 0; }
  .in-cta__sous { font-size: 16px; }
  .in-cta__actions .btn { flex: 1 1 100%; justify-content: center; }
}
