/* Impakt — accueil seulement. Les styles communs sont dans commun.css, chargé avant. */


/* ---------- ouverture ---------- */
.ouverture{position:relative;padding:168px var(--gout) 0;text-align:center;isolation:isolate}
.ouv-texte{position:relative;z-index:2;max-width:1100px;margin:0 auto}
.pastille{display:inline-block;padding:8px 16px;border-radius:999px;font-size:14px;font-weight:500;color:var(--ardoise);background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.85);box-shadow:0 6px 18px -12px rgba(18,24,64,.3)}
h1 span{display:inline-block}
h1{margin-top:26px;font-family:var(--titre);font-weight:450;font-optical-sizing:auto;font-size:clamp(34px,calc((100vw - 40px)/8.9),112px);line-height:.98;letter-spacing:-.035em}
.l-t{white-space:nowrap}
.l-t{overflow:hidden;padding:.16em .04em .1em;margin:-.16em 0 -.1em;vertical-align:top}
.l-t>span{display:inline-block}
.atouts{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 0;margin:34px auto 0;text-align:left}
.atouts li{display:flex;align-items:center;gap:12px;padding:0 26px}
.atouts li+li{border-left:1px solid rgba(14,17,22,.1)}
.atouts .tuile{width:40px;height:40px;border-radius:12px}
.atouts b{display:block;font-size:15.5px;font-weight:600;line-height:1.3}
.atouts small{display:block;font-size:13.5px;line-height:1.35;color:var(--ardoise)}
@media (max-width:900px){.atouts{flex-direction:column;align-items:flex-start;width:max-content;max-width:100%;gap:14px}.atouts li{padding:0}.atouts li+li{border-left:0}}
.manifeste{position:relative;padding:clamp(110px,13vw,170px) var(--gout) 0;text-align:center}
.manif{max-width:880px;margin:0 auto;font-family:var(--titre);font-weight:450;font-size:clamp(24px,2.5vw,34px);line-height:1.32;letter-spacing:-.015em;color:var(--encre);text-wrap:balance}
.manif-a{display:block;margin-bottom:.7em;font-size:clamp(36px,4.6vw,64px);line-height:1.04;letter-spacing:-.03em}
.manif em{font-style:normal;color:var(--ultra)}
/* phrase de clôture : la plus grande du bloc, impossible à manquer */
.manif-fin{position:relative;max-width:1100px;margin:clamp(64px,7vw,96px) auto 0;padding-top:clamp(56px,6vw,80px);font-family:var(--titre);font-weight:500;font-size:clamp(38px,5.8vw,86px);line-height:1.02;letter-spacing:-.04em;text-wrap:balance;background:linear-gradient(100deg,var(--encre) 0%,#1B2370 38%,var(--ultra) 62%,#6E5BFF 100%);background-size:160% 100%;-webkit-background-clip:text;background-clip:text;color:transparent}
.manif-fin::before{content:"";position:absolute;left:50%;top:0;width:1px;height:clamp(36px,4vw,52px);background:linear-gradient(var(--ultra),rgba(43,59,255,0));transform-origin:top}
.mf-mot{position:relative;display:inline-block;white-space:nowrap}
.mf-trait{position:absolute;left:-1%;bottom:-.16em;width:102%;height:.3em;overflow:visible;fill:none;stroke:var(--ultra);stroke-width:5;stroke-linecap:round;vector-effect:non-scaling-stroke}
.chapo{max-width:660px;margin:30px auto 0;font-size:clamp(17px,1.5vw,19px);line-height:1.6;color:var(--ardoise)}
.ouv-note{margin-top:18px;font-size:14.5px;color:var(--ardoise)}

/* vitrine : trois écrans en verre, celui du centre devant */
.vitrine{position:relative;z-index:1;max-width:1180px;height:clamp(300px,46vw,600px);margin:72px auto 0}
.ecran{position:absolute;padding:0 9px 9px;border-radius:22px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.85);box-shadow:0 1px 0 rgba(255,255,255,.95) inset,0 40px 90px -40px rgba(18,24,64,.45),0 4px 14px -6px rgba(18,24,64,.12);-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%)}
.ecran img{width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;object-position:top;border-radius:14px;background:#e9ebf1}
.barre{display:flex;align-items:center;gap:6px;height:36px;padding:0 6px}
.barre i{width:9px;height:9px;border-radius:50%;background:rgba(14,17,22,.14)}
.barre span{margin:0 auto;padding:3px 14px;border-radius:999px;background:rgba(255,255,255,.75);font-size:12px;color:var(--ardoise);transform:translateX(-14px)}
.ecran-c{left:50%;top:0;width:min(780px,72%);transform:translateX(-50%);z-index:3}
.ecran-g,.ecran-d{top:13%;width:min(560px,50%);opacity:.92;z-index:2}
.ecran-g{left:0;transform:perspective(1600px) rotateY(14deg)}
.ecran-d{right:0;transform:perspective(1600px) rotateY(-14deg)}

.bulle{position:absolute;z-index:4;display:flex;align-items:center;gap:12px;padding:12px 18px 12px 12px;border-radius:18px;text-align:left;background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.9);box-shadow:0 1px 0 #fff inset,0 20px 44px -22px rgba(18,24,64,.4);-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%)}
.bulle b{display:block;font-size:14.5px;font-weight:600;line-height:1.3}
.bulle small{display:block;font-size:12.5px;color:var(--ardoise)}
.bulle-1{left:3%;top:-5%}
.bulle-3{left:12%;bottom:6%}
.bulle-2{right:5%;top:46%;flex-direction:column;align-items:stretch;gap:6px;padding:14px;width:252px}
.msg{padding:9px 13px;border-radius:14px;font-size:13.5px;line-height:1.35;max-width:88%}
.msg-client{align-self:flex-start;background:#fff;border-bottom-left-radius:5px}
.msg-impakt{align-self:flex-end;background:var(--ultra);color:#fff;border-bottom-right-radius:5px}
.bulle-2 small{text-align:center;margin-top:2px}


/* ---------- blocs ---------- */
.bloc{position:relative;padding:clamp(96px,12vw,150px) var(--gout) 0;isolation:isolate}
.tete-bloc{position:relative;z-index:1;max-width:760px;margin:0 auto;text-align:center}
h2{font-family:var(--titre);font-weight:450;font-size:clamp(38px,4.8vw,62px);line-height:1.02;letter-spacing:-.03em}
.tete-bloc p{max-width:620px;margin:20px auto 0;color:var(--ardoise);font-size:18px}
.tete-bloc p a{color:var(--ultra);font-weight:600;text-underline-offset:.2em}
h3{font-size:18px;font-weight:600;line-height:1.3;letter-spacing:-.005em}

/* comparatif */
.tableau{position:relative;z-index:1;max-width:980px;margin:56px auto 0;border-radius:28px;overflow:hidden}
.ligne{display:grid;grid-template-columns:1fr 1.25fr 1.25fr;align-items:center}
.ligne>*{padding:18px 24px;font-size:15.5px}
.ligne+.ligne{border-top:1px solid var(--filet)}
.ligne b{font-weight:600}
.ligne span{display:flex;align-items:center;gap:12px;color:var(--ardoise)}
.ligne .nous{color:var(--encre);font-weight:500;background:rgba(255,255,255,.7);align-self:stretch}
.entete>*{padding-top:22px;padding-bottom:16px;font-size:13.5px;font-weight:600;color:var(--ardoise)}
.entete .nous img{height:22px;width:auto}
.mk{width:22px;height:22px;flex:none;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;border-radius:50%;padding:3px}
.mk.non{stroke:#9097A8;background:rgba(14,17,22,.05)}
.mk.oui{stroke:#fff;background:var(--ultra)}
@media (max-width:720px){
  .ligne{grid-template-columns:1fr 1fr}
  .ligne b{grid-column:1/-1;padding-bottom:0}
  .entete>:first-child{display:none}
  .ligne>*{padding:14px 16px;font-size:14.5px}
  .ligne span{gap:8px}
  .mk.non{display:none}
  .mk{width:20px;height:20px}
}

/* accompagnement (nuit) */
.nuit{margin-top:clamp(96px,12vw,150px);padding-bottom:clamp(96px,12vw,140px);background:var(--nuit);color:#EEF0F7;overflow:hidden}
.nuit .tete-bloc p{color:rgba(238,240,247,.68)}
.halo-nuit{inset:-20% -10% auto;height:120%;background:
  radial-gradient(40% 40% at 50% 0%,rgba(43,59,255,.55),rgba(43,59,255,0) 70%),
  radial-gradient(30% 30% at 12% 80%,rgba(154,164,255,.18),rgba(154,164,255,0) 70%),
  radial-gradient(30% 30% at 90% 70%,rgba(43,59,255,.22),rgba(43,59,255,0) 70%)}
.services{position:relative;z-index:1;max-width:var(--large);margin:60px auto 0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.services li{padding:26px 24px 28px;border-radius:22px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);box-shadow:0 1px 0 rgba(255,255,255,.08) inset;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.services h3{margin-top:22px;color:#fff;font-size:17px}
.services p{margin-top:8px;font-size:15px;line-height:1.55;color:rgba(238,240,247,.66)}
.nuit .tuile{color:#C9CEFF;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.04));box-shadow:0 0 0 1px rgba(255,255,255,.14) inset}
.nuit .tuile .ac{stroke:var(--pervenche)}
.nuit .tuile .acf{fill:rgba(154,164,255,.25);stroke:var(--pervenche)}
@media (max-width:1000px){.services{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.services{grid-template-columns:1fr}}

/* réalisations */
.projets{max-width:var(--large);margin:60px auto 0;display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.projet-vue{position:relative;height:clamp(280px,30vw,400px);border-radius:28px;overflow:hidden;padding:44px 44px 0;display:flex;align-items:flex-end}
.projet-vue .ecran{position:relative;width:100%;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:0;transform:translateY(8%);transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.projet-vue .ecran img{border-bottom-left-radius:0;border-bottom-right-radius:0}
.projet:hover .projet-vue .ecran{transform:translateY(3%)}
.p-fred .projet-vue{background:radial-gradient(80% 90% at 50% 100%,#8CC4F0,#DCEBF8 70%)}
.p-topi .projet-vue{background:radial-gradient(80% 90% at 50% 100%,#2B3BFF,#0A0D1C 75%)}
.p-topi .projet-vue .ecran{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2)}
.p-topi .barre i{background:rgba(255,255,255,.3)}
.p-topi .barre span{background:rgba(255,255,255,.14);color:rgba(255,255,255,.8)}
.p-evoe .projet-vue{background:radial-gradient(80% 90% at 50% 100%,#9FD6D2,#F7DDE5 80%)}
.projet-legende{display:flex;align-items:center;gap:16px;padding:20px 6px 0;text-align:left}
.projet-logo{width:58px;height:58px;object-fit:contain;flex:none;padding:10px;border-radius:16px;background:#fff;border:1px solid var(--filet)}
.projet-legende div{flex:1;min-width:0}
.projet-legende h3{font-size:19px}
.projet-legende p{font-size:15px;color:var(--ardoise)}
.voir{flex:none;font-size:14.5px;font-weight:600;color:var(--encre);text-decoration:none;padding:10px 16px;border-radius:999px;border:1px solid rgba(14,17,22,.14);transition:background-color .2s,border-color .2s}
.voir:hover{background:#fff;border-color:rgba(14,17,22,.3)}
.p-vous{display:flex}
.vous{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;padding:48px 32px;border-radius:28px;background:
  radial-gradient(60% 70% at 50% 110%,rgba(43,59,255,.28),rgba(43,59,255,0) 70%),rgba(255,255,255,.55);border:1px dashed rgba(43,59,255,.35)}
.vous h3{font-family:var(--titre);font-weight:450;font-size:42px;letter-spacing:-.03em}
.vous p{max-width:360px;color:var(--ardoise)}
.vous .actions{margin-top:6px}
@media (max-width:860px){.projets{grid-template-columns:1fr}.projet-vue{padding:28px 24px 0}}
@media (max-width:600px){.projet-legende{flex-wrap:wrap}.projet-legende div{flex:1 1 calc(100% - 80px)}.voir{margin-left:74px}}

/* méthode : vraie séquence, donc numérotée */
.etapes{position:relative;max-width:var(--large);margin:64px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;text-align:center}
.etapes::before{content:"";position:absolute;top:27px;left:16.6%;right:16.6%;height:1px;background:linear-gradient(90deg,rgba(43,59,255,0),rgba(43,59,255,.45),rgba(43,59,255,0))}
.etapes li{position:relative;z-index:1;padding:0 12px}
.num{position:relative;display:grid;place-items:center;width:56px;height:56px;margin:0 auto 24px;border-radius:50%;font-family:var(--titre);font-size:26px;font-weight:500;color:var(--ultra);background:rgba(255,255,255,.7);border:1px solid #fff;box-shadow:0 1px 0 #fff inset,0 12px 28px -14px rgba(43,59,255,.5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.etapes p{max-width:330px;margin:10px auto 0;font-size:15.5px;color:var(--ardoise)}
@media (max-width:820px){.etapes{grid-template-columns:1fr;gap:40px}.etapes::before{display:none}}

/* devis et paiement */
.halo-devis{inset:20% 0 auto;height:900px;background:
  radial-gradient(36% 36% at 30% 40%,rgba(154,164,255,.4),rgba(154,164,255,0) 70%),
  radial-gradient(36% 36% at 72% 46%,rgba(43,59,255,.24),rgba(43,59,255,0) 70%)}
/* le premium à portée de main : une carte de positionnement, sans chiffres */
.portee{position:relative;z-index:1;max-width:1000px;margin:52px auto 0;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:8px;padding:14px;border-radius:32px;text-align:left}
.pos{position:relative;aspect-ratio:1.18;margin:0;border-radius:22px;background:
  linear-gradient(rgba(14,17,22,.05) 1px,transparent 1px) 0 0/25% 25%,
  linear-gradient(90deg,rgba(14,17,22,.05) 1px,transparent 1px) 0 0/25% 25%,
  radial-gradient(50% 46% at 26% 22%,rgba(43,59,255,.16),rgba(43,59,255,0) 70%),
  rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.9);overflow:hidden}
.pos::before,.pos::after{content:"";position:absolute;background:rgba(14,17,22,.35)}
.pos::before{left:9%;right:6%;bottom:11%;height:1.5px}
.pos::after{left:9%;top:7%;bottom:11%;width:1.5px}
.pos-axe{position:absolute;font-size:13px;font-weight:600;color:var(--ardoise)}
.pos-x{right:6%;bottom:4%}
.pos-y{left:9%;top:2.2%;transform:translateX(-50%)}
.pos-pt{position:absolute;left:var(--x);bottom:var(--y);display:flex;align-items:center;gap:10px;transform:translate(-9px,50%);transition:left 1.5s cubic-bezier(.65,0,.2,1),opacity .6s,transform .7s cubic-bezier(.3,1.5,.5,1)}
.pos-pt i{flex:none;width:16px;height:16px;border-radius:50%;background:#B9BECC;box-shadow:0 0 0 5px rgba(185,190,204,.25)}
.pos-pt b{font-size:14px;font-weight:600;color:var(--ardoise);white-space:nowrap}
.pt-modele{--x:19%;--y:24%}
.pt-agence{--x:82%;--y:76%}
.pt-agence b,.pt-impakt b{position:absolute;left:50%;bottom:calc(100% + 12px);transform:translateX(-50%)}
.pt-impakt{--x:27%;--y:76%}
.pt-impakt i{width:20px;height:20px;margin:-2px;background:var(--ultra);box-shadow:0 0 0 6px rgba(43,59,255,.16),0 8px 20px -4px rgba(43,59,255,.8)}
.pt-impakt i::after{content:"";position:absolute;left:-2px;top:50%;width:20px;height:20px;margin-top:-10px;border-radius:50%;border:2px solid var(--ultra);animation:onde 2.4s ease-out infinite}
.pt-impakt b{font-size:16px;color:var(--encre)}
@keyframes onde{to{transform:scale(2.6);opacity:0}}
.pos-lien{position:absolute;left:calc(27% + 18px);right:calc(18% + 18px);bottom:76%;height:0;border-top:1.5px dashed rgba(43,59,255,.45);transform-origin:right;transition:transform 1.5s cubic-bezier(.65,0,.2,1)}
.pos-lien em{position:absolute;left:50%;top:9px;transform:translateX(-50%);font-style:normal;font-size:12.5px;font-weight:600;color:var(--ultra);white-space:nowrap}
.portee-txt{padding:18px 22px 18px 26px}
.gages{display:grid;gap:22px}
.gages li{display:flex;align-items:flex-start;gap:14px}
.gages b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.gages small{display:block;margin-top:2px;font-size:14.5px;color:var(--ardoise)}
.portee .actions{justify-content:flex-start;margin-top:30px}
@media (max-width:860px){.portee{grid-template-columns:1fr;max-width:560px}.portee-txt{padding:14px 12px 16px}}
@media (max-width:520px){.pos-pt b{font-size:12.5px}.pt-impakt b{font-size:14px}.pos-lien em{font-size:11.5px}.pos-axe{font-size:12px}}
.ambition{position:relative;z-index:1;max-width:1000px;margin:20px auto 0;display:flex;align-items:center;gap:28px;padding:26px 28px 26px 34px;border-radius:28px;text-align:left}
.ambition>div:first-child{flex:1}
.ambition h3{font-family:var(--titre);font-weight:450;font-size:28px;letter-spacing:-.02em}
.ambition p{margin-top:6px;font-size:15.5px;color:var(--ardoise)}
.ambition-act{display:flex;flex-wrap:wrap;gap:10px}
@media (max-width:820px){.ambition{flex-direction:column;align-items:flex-start}}

/* engagements */
.promesses{max-width:var(--large);margin:56px auto 0;display:grid;grid-template-columns:repeat(4,1fr);gap:36px;text-align:center}
.promesses .tuile{width:52px;height:52px;margin:0 auto 20px;border-radius:16px}
.promesses .tuile svg{width:24px;height:24px}
.promesses p{margin-top:8px;font-size:15px;color:var(--ardoise)}
.qui{max-width:760px;margin:56px auto 0;padding-top:28px;border-top:1px solid var(--filet);text-align:center;font-size:15px;color:var(--ardoise)}
@media (max-width:900px){.promesses{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.promesses{grid-template-columns:1fr}}

/* questions */
.faq-liste{max-width:1080px;margin:52px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:0 40px;padding:14px 36px;border-radius:28px}
@media (max-width:860px){.faq-liste{grid-template-columns:1fr;padding:6px 22px}.faq-liste>div:first-child>details:last-child{border-bottom:1px solid var(--filet)}}



/* ---------- arrivée, au chargement ---------- */
@media (prefers-reduced-motion:no-preference){
  .pastille{animation:monte .9s cubic-bezier(.2,.8,.2,1) both}
  .l-t>span{animation:ligneT 1.15s cubic-bezier(.2,.75,.1,1) both}
  .l-t+.l-t>span,.l-t~.l-t>span{animation-delay:.12s}
  .atouts li{animation:monteFlou 1s cubic-bezier(.2,.8,.2,1) both}
  .atouts li:nth-child(1){animation-delay:.3s}.atouts li:nth-child(2){animation-delay:.4s}.atouts li:nth-child(3){animation-delay:.5s}
  .chapo{animation:monteFlou 1.1s cubic-bezier(.2,.8,.2,1) .55s both}
  .ouv-texte .actions{animation:monte .9s cubic-bezier(.2,.8,.2,1) .65s both}
  .ouv-note{animation:monte .9s cubic-bezier(.2,.8,.2,1) .72s both}
  .ecran-c{animation:monteC 1.3s cubic-bezier(.2,.8,.2,1) .45s both}
  .ecran-g{animation:glisseG 1.4s cubic-bezier(.2,.8,.2,1) .7s both}
  .ecran-d{animation:glisseD 1.4s cubic-bezier(.2,.8,.2,1) .7s both}
  .bulle{animation:bulleIn .9s cubic-bezier(.2,.8,.2,1) both,flotte 7s ease-in-out infinite alternate}
  .bulle-1{animation-delay:1.1s,2s}.bulle-2{animation-delay:1.3s,2.4s;animation-duration:.9s,8s}.bulle-3{animation-delay:1.5s,2.2s;animation-duration:.9s,6s}
}
@keyframes monte{from{opacity:0;transform:translateY(18px)}}
@keyframes monteFlou{from{opacity:0;transform:translateY(14px);filter:blur(8px)}}
@keyframes ligneT{from{transform:translateY(105%) rotate(2deg)}}
@keyframes monteC{from{opacity:0;transform:translate(-50%,60px) scale(.96)}}
@keyframes glisseG{from{opacity:0;transform:perspective(1600px) translateX(70px) rotateY(24deg)}}
@keyframes glisseD{from{opacity:0;transform:perspective(1600px) translateX(-70px) rotateY(-24deg)}}
@keyframes bulleIn{from{opacity:0;transform:translateY(16px) scale(.94)}}
@keyframes flotte{to{transform:translateY(-8px)}}
@keyframes apparait{from{opacity:0}}

/* ---------- vitrine sur petits écrans ---------- */
@media (max-width:900px){
  .bulle-1{left:0;top:-4%}
  .bulle-3{display:none}
  .bulle-2{right:0;top:auto;bottom:2%;width:220px}
}
@media (max-width:640px){
  .ouverture{padding-top:128px}
  .vitrine{height:auto;margin-top:48px;padding-bottom:20px}
  .ecran-g,.ecran-d,.bulle{display:none}
  .ecran-c{position:relative;left:auto;width:100%;transform:none}
  @media (prefers-reduced-motion:no-preference){.ecran-c{animation:monte 1.1s cubic-bezier(.2,.8,.2,1) .4s both}}
  .actions .bt{flex:1 1 100%}
}


/* halo discret derrière le comparatif, pour que le verre se lise */
.comparer::before{content:"";position:absolute;inset:38% 4% -8%;z-index:0;pointer-events:none;background:
  radial-gradient(40% 50% at 72% 50%,rgba(43,59,255,.16),rgba(43,59,255,0) 70%),
  radial-gradient(36% 46% at 26% 58%,rgba(154,164,255,.32),rgba(154,164,255,0) 70%)}


/* ==========================================================================
   Un site vivant : apparitions au défilement, profondeur, lueurs.
   Tout est désactivé si l'appareil demande moins d'animations, et rien n'est
   caché si le script ne tourne pas (classe .anim posée par le script).
   ========================================================================== */
.services li{position:relative;transition:transform .5s cubic-bezier(.2,.8,.2,1),border-color .4s,background-color .4s}
.services li::after{background:radial-gradient(300px circle at var(--lx,50%) var(--ly,50%),rgba(120,135,255,.22),rgba(120,135,255,0) 65%)}
.services li:hover{transform:translateY(-4px);border-color:rgba(154,164,255,.35);background:rgba(255,255,255,.07)}

/* chat de la vitrine : la réponse s'écrit */
.reponse{display:grid;justify-items:end}
.reponse>*{grid-area:1/1}
.msg-ecrit{display:flex;gap:4px;align-items:center;padding:12px 14px;background:rgba(43,59,255,.12);border-bottom-right-radius:5px;opacity:0}
.msg-ecrit i{width:6px;height:6px;border-radius:50%;background:var(--ultra);animation:point 1s ease-in-out infinite}
.msg-ecrit i:nth-child(2){animation-delay:.15s}.msg-ecrit i:nth-child(3){animation-delay:.3s}
@keyframes point{50%{transform:translateY(-3px);opacity:.5}}
@media (prefers-reduced-motion:no-preference){
  .anim .joue .msg-client{animation:msgIn .55s cubic-bezier(.2,.8,.2,1) 1.9s both}
  .anim .joue .msg-ecrit{animation:ecrit 1.5s ease 2.6s both}
  .anim .joue .msg-impakt{animation:msgIn .55s cubic-bezier(.2,.8,.2,1) 4s both}
}
@keyframes msgIn{from{opacity:0;transform:translateY(10px) scale(.9)}}
@keyframes ecrit{0%{opacity:0;transform:scale(.8)}12%,82%{opacity:1;transform:none}100%{opacity:0}}

/* vitrine : profondeur pilotée par le script (défilement + souris) */
.vitrine{transform-origin:50% 0;will-change:transform}

/* nuit : la section s'ouvre en grand quand on y arrive */
.nuit{will-change:clip-path}

/* méthode : la ligne se remplit et les étapes s'allument */
.etapes::after{content:"";position:absolute;top:27px;left:16.6%;right:16.6%;height:2px;margin-top:-.5px;background:linear-gradient(90deg,var(--pervenche),var(--ultra));transform:scaleX(var(--lp,0));transform-origin:left;border-radius:2px}
.num{transition:background-color .6s,color .6s,box-shadow .6s,transform .6s cubic-bezier(.2,.8,.2,1)}
.etapes li.actif .num{background:var(--ultra);color:#fff;border-color:var(--ultra);box-shadow:0 0 0 8px rgba(43,59,255,.1),0 14px 30px -12px rgba(43,59,255,.8);transform:scale(1.06)}
@media (max-width:820px){.etapes::after{display:none}}

/* réalisations : l'écran glisse dans son cadre au défilement */
.projet-vue .ecran{will-change:translate}




/* apparitions au défilement */
@media (prefers-reduced-motion:no-preference){
  .anim .tete-bloc p[data-rv]{filter:blur(8px);transition-property:opacity,transform,filter;transition-delay:.25s}
  .anim .tete-bloc p[data-rv].vu{filter:none}
  .anim .projet[data-rv]{transform:translateY(60px) scale(.97)}
  .anim .projet[data-rv].vu{transform:none}
  .anim .portee[data-rv]{transform:translateY(40px) scale(.97)}
  .anim .portee[data-rv].vu{transform:none}
  /* la carte : les repères se posent, puis Impakt glisse vers la gauche, à la même hauteur que la grande agence */
  .anim .portee[data-rv] .pos-pt{opacity:0;transform:translate(-9px,50%) scale(.4)}
  .anim .portee[data-rv].vu .pos-pt{opacity:1;transform:translate(-9px,50%)}
  .anim .portee[data-rv] .pt-modele{transition-delay:.35s}
  .anim .portee[data-rv] .pt-agence{transition-delay:.55s}
  .anim .portee[data-rv] .pt-impakt{left:82%;transition-delay:.75s,.75s,.75s}
  .anim .portee[data-rv].vu .pt-impakt{left:27%;transition-delay:1.2s,.75s,.75s}
  .anim .portee[data-rv] .pos-lien{transform:scaleX(0)}
  .anim .portee[data-rv].vu .pos-lien{transform:none;transition-delay:1.25s}
  .anim .portee[data-rv] .pos-lien em{opacity:0;transition:opacity .6s 2.4s}
  .anim .portee[data-rv].vu .pos-lien em{opacity:1}
  /* manifeste : les mots s'allument au fil du défilement */
  .anim .manif .mm{color:rgba(14,17,22,.15);transition:color .45s}
  .anim .manif .mm.on{color:inherit}
  /* phrase de clôture : mot après mot au fil du défilement, puis le trait se dessine */
  .anim .manif-fin.coupe{background:none}
  .anim .mf-w{display:inline-block;opacity:var(--t,0);transform:translateY(calc((1 - var(--t,0)) * .5em));filter:blur(calc((1 - var(--t,0)) * 12px))}
  .anim .mf-g{background-image:linear-gradient(100deg,var(--encre) 0%,#1B2370 38%,var(--ultra) 62%,#6E5BFF 100%);background-repeat:no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent}
  .anim .manif-fin.mesure .mf-w{transform:none;filter:none}
  .anim .manif-fin::before{transform:scaleY(var(--l,0))}
  .anim .manif-fin .mf-trait path{stroke-dasharray:1;stroke-dashoffset:var(--u,1)}
  /* titres : les mots montent un à un */
  /* comparatif : les coches se posent ligne après ligne */
  .anim .ligne[data-rv] .mk.oui{transform:scale(0);transition:transform .6s cubic-bezier(.3,1.6,.5,1);transition-delay:calc(var(--i,0)*85ms + .35s)}
  .anim .ligne[data-rv].vu .mk.oui{transform:none}
  /* icônes : le trait se dessine */
}
