/* ==========================================================================
   Afterclick — Landing (V5)
   Feuille de style propre à la page d'accueil. S'appuie sur style.css pour
   les tokens, le header, le footer, les boutons et la typographie de base.
   Tout est préfixé par .lp pour ne pas entrer en conflit avec l'ancien CSS.
   ========================================================================== */

/* Charte V5 : orange #ff652d, boutons arrondis à 40 */
.lp{--brand-500:#ff652d;--brand-50:#fff4ef;--brand-100:#ffdccf}
.lp .btn--primary{border-radius:40px;box-shadow:0 10px 22px -6px rgba(255,101,45,.32)}
.lp .btn--block.btn--primary{border-radius:40px;padding:17px 0}
.lp .btn--nav{border-radius:40px;background:#1a1a1a}
.lp .c-brand{color:var(--brand-500)}

/* --------------------------------- Bases ---------------------------------- */
.lp .sec{position:relative;padding:96px 0;background:var(--bg-page)}
.lp .sec--soft{background:var(--bg-soft)}
.lp .sec--hero{padding:64px 0 72px}
.lp .sec--logos{padding:56px 0}

.lp .wrap{
  display:flex;flex-direction:column;align-items:center;gap:40px;
  width:100%;max-width:1280px;margin:0 auto;padding:0 40px;
}
.lp .wrap--narrow{max-width:1040px}
.lp .wrap>*{width:100%}

.lp .sec__head{
  display:flex;flex-direction:column;align-items:center;gap:14px;
  max-width:760px;margin:0 auto;text-align:center;
}
.lp .sec__head--left{align-items:flex-start;max-width:none;text-align:left}
.lp .sec__head--split{
  flex-direction:row;align-items:center;justify-content:space-between;
  gap:30px;max-width:none;text-align:left;
}
.lp .sec__cta{display:flex;flex-direction:column;align-items:center;gap:10px}

.lp .display{
  font-size:clamp(34px,4.4vw,60px);line-height:1.08;letter-spacing:-1.6px;font-weight:800;
  text-align:center;text-wrap:balance;max-width:940px;
}
.lp .h2{text-wrap:balance}
.lp .h2--left{text-align:left}
.lp .h4{font-size:18px;line-height:1.38;letter-spacing:-.2px;font-weight:700}
.lp .lead--center{text-align:center;max-width:780px;margin:0 auto}
.lp .micro{font-size:13px;line-height:1.55;color:var(--text-muted)}
.lp .micro--center{text-align:center}
.lp .nowrap{white-space:nowrap}
.lp .eyebrow--left{align-self:flex-start}

.lp .tile{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:64px;height:64px;border-radius:15px;background:var(--brand-50);
}
.lp .tile--sm{width:34px;height:34px;border-radius:10px}

.lp .card{
  display:flex;flex-direction:column;align-items:flex-start;gap:14px;
  padding:28px;border-radius:20px;background:var(--bg-page);
  border:1px solid var(--border-rule);box-shadow:0 10px 24px -6px rgba(31,41,61,.05);
  height:auto;position:static;
}
.lp .card--row{flex-direction:row;align-items:flex-start;gap:16px}

.lp .banner{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:24px 28px;border-radius:18px;background:var(--brand-50);
}
.lp .banner .body{margin-top:4px}

.lp .btn--line{
  padding:19px 30px;border-radius:40px;font-weight:700;
  background:var(--bg-page);border:1.5px solid var(--brand-500);color:var(--brand-500);
}
.lp .btn--line:hover{background:var(--brand-50)}

/* ---------------------------------- Hero ---------------------------------- */
.lp .hero{gap:26px}
.lp .hero__trust{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;
  font-size:14px;color:var(--ink-900);
}
.lp .hero__sep{width:1px;height:14px;background:var(--border-rule)}
.lp .hero__partners{display:inline-flex;align-items:center;gap:6px}
.lp .hero__rating{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.lp .stars{display:inline-flex;align-items:center;gap:1px}
.lp .stars img{width:15px;height:15px}
.lp .hero__partners img{width:22px;height:22px;border-radius:6px}
.lp .hero__ctas{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}
.lp .hero__features{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 30px;
  font-size:15px;font-weight:600;
}
.lp .hero__features li{display:inline-flex;align-items:center;gap:10px}

/* --------------------------- Bandeau logos défilant ----------------------- */
.lp .logos__eyebrow{margin-bottom:26px}
.lp .marquee{
  position:relative;width:100%;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);
}
.lp .marquee__track{display:flex;width:max-content;animation:lp-marquee 46s linear infinite}
.lp .marquee:hover .marquee__track{animation-play-state:paused}
.lp .marquee__group{display:flex;align-items:center;gap:64px;padding-right:64px}
.lp .brand{display:inline-flex;align-items:center;justify-content:center;height:70px;flex:none}
.lp .brand img{width:var(--w);height:var(--h,48px);object-fit:contain}
/* Desktop : même taille et même espacement qu'avant, mais une fenêtre plus étroite
   pour en laisser passer cinq à six à la fois. */
@media (min-width:981px){
  .lp .marquee{max-width:830px;margin:0 auto}
}

@keyframes lp-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.lp .marquee__track{animation:none}}

/* -------------------------------- Résultats ------------------------------- */
.lp .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.lp .stat-card{
  display:flex;align-items:flex-start;gap:18px;padding:24px;border-radius:18px;
  background:var(--bg-page);border:1px solid var(--border-rule);
  box-shadow:0 10px 24px -6px rgba(31,41,61,.05);
}
.lp .stat-card__value{font-size:30px;font-weight:800;line-height:1.15;letter-spacing:-.8px;color:var(--brand-500)}
.lp .stat-card__label{margin-top:2px;font-size:17px;font-weight:700;line-height:1.35}
.lp .stat-card__note{margin-top:6px;font-size:14px;line-height:1.5;color:var(--text-body)}

/* ------------------------------ Études de cas ----------------------------- */
.lp .cases{display:flex;flex-direction:column;align-items:center;gap:26px;width:100%}
.lp .cases__tabs{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}
.lp .case-tab{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:104px;height:52px;padding:0 22px;border-radius:14px;
  background:var(--bg-page);border:1px solid var(--border-rule);cursor:pointer;
  transition:border-color .15s ease,background .15s ease;
}
.lp .case-tab img{width:var(--w,58px);height:auto}
.lp .case-tab:hover{border-color:var(--brand-100)}
.lp .case-tab.is-active{background:var(--brand-50);border-color:var(--brand-500);border-width:1.5px}

.lp .case{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:center;
  width:100%;padding:28px;border-radius:20px;background:var(--bg-page);
  border:1px solid var(--border-rule);box-shadow:0 10px 24px -6px rgba(31,41,61,.05);
}
.lp .case[hidden]{display:none}
.lp .case__visual{display:flex;flex-direction:column;gap:12px;min-width:0}
.lp .case__visual img{width:100%;height:auto;border-radius:16px;border:1px solid var(--border-rule)}
.lp .case__caption{display:flex;gap:8px;font-size:13px;line-height:1.5;color:var(--text-muted)}
.lp .case__pin{flex:none;font-weight:700;color:var(--brand-500)}
.lp .case__detail{display:flex;flex-direction:column;gap:12px;min-width:0}
.lp .case__sector{font-size:13px;color:var(--text-muted)}
.lp .case__origin{font-size:13px;color:var(--brand-500)}
.lp .case__label{font-size:12px;font-weight:700;letter-spacing:1.3px;color:var(--brand-500)}
.lp .case__detail .body{font-size:15px}
.lp .case__metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:2px}
.lp .case__metric{padding:14px 18px;border-radius:13px;background:var(--bg-soft)}
.lp .case__metric--main{background:var(--brand-50)}
.lp .case__value{font-size:27px;font-weight:800;line-height:1.2;letter-spacing:-.6px;color:var(--ink-900)}
.lp .case__metric--main .case__value{color:var(--brand-500)}
.lp .case__metric-label{font-size:13px;line-height:1.45;color:var(--text-body)}
.lp .case__context{font-size:13px;color:var(--text-muted)}

.lp .cases__nav{display:flex;align-items:center;justify-content:center;gap:20px}
.lp .case-arrow{
  display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;
  border-radius:999px;background:var(--bg-page);border:1px solid var(--border-rule);
  color:var(--text-muted);cursor:pointer;
}
.lp .case-arrow:hover{border-color:var(--brand-100);color:var(--brand-500)}
.lp .case-arrow--next{background:var(--brand-500);border-color:var(--brand-500);color:var(--on-dark)}
.lp .case-arrow--next:hover{color:var(--on-dark);opacity:.92}
.lp .cases__dots{display:flex;align-items:center;gap:8px}
.lp .case-dot{width:8px;height:8px;border-radius:999px;background:#d7dde5;transition:width .2s ease,background .2s ease}
.lp .case-dot.is-active{width:26px;background:var(--brand-500)}

/* Desktop : les quatre études sont empilées, sans onglets ni flèches */
@media (min-width:981px){
  .lp .cases{gap:22px}
  .lp .case[hidden]{display:grid}
  .lp .cases__tabs,.lp .cases__nav{display:none}
}

/* ---------------------------------- Offre --------------------------------- */
.lp .offer{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:24px;align-items:start}
.lp .offer__main{
  display:flex;flex-direction:column;align-items:flex-start;gap:16px;
  padding:32px 30px;border-radius:20px;background:var(--brand-50);
  border:1.8px solid var(--brand-500);box-shadow:0 16px 36px -8px rgba(253,69,0,.14);
}
.lp .badge{
  display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;
  background:var(--brand-500);color:var(--on-dark);font-size:13px;font-weight:700;
}
.lp .offer__pitch{font-size:16px;font-weight:700;line-height:1.5}
.lp .offer__price{display:flex;align-items:baseline;gap:8px}
.lp .offer__price b{font-size:38px;font-weight:800;letter-spacing:-1px;line-height:1.1}
.lp .offer__price span{font-size:15px;color:var(--text-muted)}
.lp .offer__side{display:flex;flex-direction:column;gap:20px;min-width:0}

.lp .ticks{display:flex;flex-direction:column;gap:10px;width:100%}
.lp .ticks li{display:flex;align-items:flex-start;gap:10px}
.lp .ticks img{flex:none;margin-top:3px}
.lp .ticks span{font-size:15px;line-height:1.5;color:var(--text-body)}

.lp .guarantees{display:flex;flex-direction:column;gap:16px;width:100%}
.lp .guarantees li{display:flex;align-items:flex-start;gap:12px}
.lp .guarantees img{flex:none;margin-top:2px}
.lp .guarantees__title{font-size:16px;font-weight:700}
.lp .guarantees__sub{font-size:14px;line-height:1.5;color:var(--text-body)}

/* ------------------------------- Simulateur ------------------------------- */
.lp .sim{padding:30px;border-radius:20px;background:var(--brand-50);border:1px solid #f7cfc3}
.lp .sim__title{font-size:24px;font-weight:800;line-height:1.3;letter-spacing:-.4px}
.lp .sim__sub{margin-top:8px;font-size:15px;line-height:1.6;color:var(--text-body)}
.lp .sim__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}
.lp .sim__card{padding:24px;border-radius:14px;background:var(--bg-page);border:1px solid #f7cfc3}
.lp .sim__card-title{font-size:16px;font-weight:800}
.lp .sim__field{margin-top:22px}
.lp .sim__row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.lp .sim__label{font-size:14.5px;font-weight:500;color:var(--text-body)}
.lp .sim__value{font-size:19px;font-weight:800;color:var(--ink-900)}
.lp .sim__hint{margin-top:8px;font-size:12.5px;line-height:1.5;color:var(--text-muted)}
.lp .sim__link{display:inline-block;margin-top:6px;font-size:12.5px;font-weight:700;color:var(--brand-500);text-decoration:none}
.lp .sim__link:hover{text-decoration:underline}

.lp .sim__range{
  -webkit-appearance:none;appearance:none;display:block;width:100%;height:6px;
  margin-top:10px;border-radius:999px;outline:none;cursor:pointer;
  background:linear-gradient(to right,var(--brand-500) 0 var(--sim-fill,50%),#f0f2f6 var(--sim-fill,50%) 100%);
}
.lp .sim__range::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;
  background:var(--bg-page);border:3px solid var(--brand-500);
  box-shadow:0 1px 3px rgba(21,34,56,.16);cursor:pointer;
}
.lp .sim__range::-moz-range-thumb{
  width:14px;height:14px;border-radius:50%;
  background:var(--bg-page);border:3px solid var(--brand-500);
  box-shadow:0 1px 3px rgba(21,34,56,.16);cursor:pointer;
}
.lp .sim__range:focus-visible{box-shadow:0 0 0 3px var(--brand-100)}

.lp .sim__headline{margin-top:14px;padding:18px 20px;border-radius:12px;background:var(--brand-50)}
.lp .sim__big{font-size:38px;font-weight:800;line-height:1.16;letter-spacing:-1px;color:var(--brand-500)}
.lp .sim__big-label{margin-top:2px;font-size:14.5px;color:var(--text-body)}
.lp .sim__lines{margin-top:14px}
.lp .sim__line{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:13px 0;border-bottom:1px solid #f2e4df;font-size:14px;color:var(--text-body);
}
.lp .sim__line b{font-size:16px;font-weight:800;color:var(--ink-900)}
.lp .sim__line b.c-brand{color:var(--brand-500)}
.lp .sim__line--total{
  margin-top:8px;padding:13px 16px;border-bottom:0;border-radius:12px;
  background:var(--brand-50);font-weight:700;color:var(--ink-900);
}
.lp .sim__note{margin-top:14px;font-size:12.5px;line-height:1.5;color:var(--text-muted)}

/* -------------------------------- Confiance ------------------------------- */
.lp .trust{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}
.lp .trust__intro{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.lp .trust__proofs{display:flex;flex-direction:column;gap:18px}
.lp .founder{
  display:flex;align-items:flex-start;gap:18px;width:100%;margin:0;position:static;
  padding:24px;border-radius:18px;background:var(--bg-soft);border:1px solid var(--border-rule);
}
.lp .founder>img{width:96px;height:96px;border-radius:999px;object-fit:cover;flex:none}
.lp .founder__name{font-size:17px;font-weight:700}
.lp .founder__role{font-size:14px;color:var(--text-muted)}
.lp .founder__quote{margin:10px 0 0;font-size:15px;line-height:1.6;color:var(--text-body)}

/* --------------------------------- Méthode -------------------------------- */
.lp .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.lp .steps .step{
  display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:auto;height:auto;
  padding:26px;border-radius:18px;background:var(--bg-page);
  border:1px solid var(--border-rule);box-shadow:0 10px 24px -6px rgba(31,41,61,.05);
}
.lp .step__head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.lp .step__week{
  display:inline-flex;align-items:center;padding:7px 14px;border-radius:999px;
  background:var(--brand-50);color:var(--brand-500);font-size:13px;font-weight:700;
}
.lp .tags{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-top:2px}
.lp .tags span{
  padding:6px 12px;border-radius:999px;background:var(--bg-soft);
  border:1px solid var(--border-rule);font-size:13px;color:var(--text-body);
}

/* ------------------------------- Témoignages ------------------------------ */
.lp .reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.lp .reviews .review{width:auto;height:auto;position:static;gap:14px}
.lp .review__top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.lp .review__logo{width:var(--w);height:auto}
.lp .chip{
  padding:6px 12px;border-radius:999px;background:var(--bg-soft);
  border:1px solid var(--border-rule);font-size:13px;color:var(--text-muted);
}
.lp .review__stat{
  display:flex;align-items:center;gap:12px;width:100%;
  padding:14px 16px;border-radius:13px;background:var(--brand-50);
}
.lp .review__stat b{font-size:26px;font-weight:800;letter-spacing:-.6px;color:var(--brand-500);white-space:nowrap}
.lp .review__stat span{font-size:13.5px;line-height:1.45;color:var(--text-body)}
.lp .review__author{display:flex;align-items:center;gap:12px;margin-top:auto}
.lp .review__author img{border-radius:999px;flex:none}
.lp .review__name{font-size:16px;font-weight:700}
.lp .review__role{font-size:13.5px;color:var(--text-muted)}

/* ----------------------------------- FAQ ---------------------------------- */
.lp .faq__list{display:flex;flex-direction:column;gap:12px;width:100%}

/* --------------------------------- Mobile --------------------------------- */
@media (max-width:980px){
  .lp .sec{padding:64px 0}
  .lp .sec--hero{padding:40px 0 56px}
  .lp .sec--logos{padding:40px 0}
  .lp .wrap{gap:30px;padding:0 20px}

  .lp .display{letter-spacing:-1px;max-width:none}
  .lp .sec__head--split{flex-direction:column;align-items:center;gap:20px;text-align:center}
  .lp .sec__head--split .h2,.lp .sec__head--split .h2--left{text-align:center}

  .lp .hero__trust{flex-direction:column;gap:10px;width:100%}
  .lp .hero__sep{width:100%;height:1px}
  .lp .hero__ctas{flex-direction:column;width:100%}
  .lp .hero__ctas .btn{width:100%;justify-content:center}
  .lp .hero__features{
    display:grid;grid-template-columns:1fr 1fr;justify-items:center;align-items:center;
    gap:14px 8px;font-size:14px;
  }
  .lp .hero__features li{gap:8px}
  .lp .hero__features li:last-child{grid-column:1 / -1}

  .lp .marquee__group{gap:40px;padding-right:40px}
  .lp .brand{height:56px}
  .lp .brand img{transform:scale(.84)}
  .lp .marquee__track{animation-duration:34s}

  .lp .stats{grid-template-columns:1fr;gap:14px}
  .lp .stat-card{padding:20px;gap:14px}
  .lp .tile{width:52px;height:52px;border-radius:13px}
  .lp .tile img{width:34px;height:34px}
  .lp .tile--sm{width:34px;height:34px}
  .lp .tile--sm img{width:18px;height:18px}

  .lp .cases__tabs{gap:8px}
  .lp .case-tab{min-width:0;height:46px;padding:0 16px}
  .lp .case{grid-template-columns:1fr;gap:20px;padding:18px}
  .lp .case__metrics{gap:10px}
  .lp .case__metric{padding:12px 14px}
  .lp .case__value{font-size:22px}
  .lp .case__metric-label{font-size:12.5px;line-height:1.4}

  .lp .banner{flex-direction:column;align-items:flex-start;gap:16px;padding:22px}
  .lp .banner .btn{width:100%;justify-content:center}

  .lp .offer{grid-template-columns:1fr;gap:16px}
  .lp .offer__main{padding:24px}
  .lp .offer__side{gap:16px}
  .lp .card{padding:24px}

  .lp .sim{padding:20px}
  .lp .sim__title{font-size:21px}
  .lp .sim__grid{grid-template-columns:1fr;gap:16px}
  .lp .sim__card{padding:20px}
  .lp .sim__big{font-size:31px}
  .lp .sim__line{font-size:13.5px}

  .lp .trust{grid-template-columns:1fr;gap:28px}
  .lp .founder{flex-direction:column;gap:14px;padding:20px}

  .lp .steps{grid-template-columns:1fr;gap:14px}
  .lp .steps .step{padding:22px}

  .lp .reviews{grid-template-columns:1fr;gap:14px}
}

@media (max-width:440px){
  .lp .review__stat{flex-direction:column;align-items:flex-start;gap:6px}
}
