/* Base */
body {
  margin: 0;
  font-family: "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  background: #fff !important;
  overflow-x: hidden;
}

header {
  background-color: #06071d;
  padding: 5px 20px;
  overflow-x: hidden;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #06071d;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.logo img { height: 100px; margin-right: 20px; }
.mobile-logo { display: none; }
.hamburger { display: none; }

.header-nav { display: flex; align-items: center; }
.header-nav a { color: #fff; text-decoration: none; margin-left: 20px; }

.header-nav .btn.primary {
  background: transparent;
  color: #fff;
  border: 2px solid transparent;
  border-image: linear-gradient(45deg, #FF41C7, #FFCA25) 1;
  padding: 10px 20px;
  margin-left: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}
.header-nav .btn.primary:hover {
  background: linear-gradient(45deg, #FF41C7, #FFCA25);
  color: #000;
}

/* Layout */
.product-page {
  display: flex;
  gap: 3em;
  padding: 2em;
  max-width: 1200px;
  margin: auto;
}

.gallery { flex: 1; display: flex; gap: 1em; }
.thumbnails { display: flex; flex-direction: column; gap: 0.5em; }
.thumb { width: 60px; height: 60px; object-fit: cover; border: 1px solid #ddd; cursor: pointer; }
.thumb.selected { border: 2px solid #000; }
.main-image img { width: 400px; height: auto; border: 1px solid #eee; }
.image-progress-bar { display: none; }

.details { flex: 1; display: flex; flex-direction: column; }

/* Apps */
.compatible-apps {
  margin: 0 0 2rem;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.compatible-apps img {
  height: 28px; max-width: 100px; object-fit: contain;
  opacity: 0.8; transition: opacity 0.25s ease, filter 0.25s ease, transform 0.2s ease;
  /* plus de filtre gris, merci au revoir */
}
.compatible-apps img:hover { opacity: 1; filter: saturate(1.15); transform: translateY(-1px); }
.compatible-apps img:active { transform: translateY(0); }

/* Texts */
.rating { margin-top: 0.5em; font-size: 0.9em; color: #444; }
.rating a { color: #007; text-decoration: underline; margin-left: 0.5em; }
.subtitle { margin-top: 1em; font-size: 1.1em; }

.features {
  display: flex; flex-wrap: wrap; gap: 1em; list-style: none; padding: 0; margin-top: 1em;
}

/* Subscribe/pricing */
.subscribe-box { margin-top: 2em; border: none; padding: 0; background: transparent; }
.price-box { display: flex; align-items: baseline; gap: 0.5em; margin: 1em 0; }
.old-price { text-decoration: line-through; color: #999; }
.new-price { font-size: 1.5em; font-weight: bold; }
.save { background: #d4ffe0; color: #008000; padding: 0.2em 0.5em; border-radius: 3px; font-size: 0.8em; }

.add-to-bag {
  background: #000; color: #fff; border: none; padding: 1em; cursor: pointer; width: 100%;
}
.add-to-bag .old-price { text-decoration: line-through; color: #999; margin-right: 5px; font-weight: normal; font-size: 0.9em; }

/* Variantes */
.pricing-variants { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; justify-content: center; }
.variant {
  flex: 1 1 0; width: calc(33.333% - 10px); box-sizing: border-box;
  border: 1px solid #ccc; border-radius: 6px; padding: 12px; text-align: center;
  background-color: #fff; position: relative; transition: border 0.3s ease, box-shadow 0.2s ease;
}
.variant.selected { border: 2px solid #111; background-color: #f5f5f5; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.variant.preferred { background-color: #f0fbf5; }
.variant:focus { outline: 2px solid #111; outline-offset: 2px; }

.variant .variant-price { font-size: 1.2em; font-weight: bold; margin: 0.2em 0; }
.variant .old-price { text-decoration: line-through; color: #999; margin-right: 5px; font-weight: normal; }
.variant .variant-desc { font-size: 0.85em; color: #555; margin-top: 5px; }
.variant .variant-label { font-size: 0.8em; font-weight: bold; color: #008000; margin-top: 5px; }

.badge {
  position: absolute; top: 0; right: 0; background: #008000; color: #fff;
  padding: 3px 6px; font-size: 0.75em; border-radius: 0 6px 0 6px;
}

/* Section How it works — title */
.how-to-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 2em;
  margin-bottom: 1em;
  text-align: left;
  line-height: 1.25;
  color: #111;
}
.how-to-use {
  margin-top: 1.5em; padding-left: 1.2em; font-size: 1em; line-height: 1.6;
  counter-reset: step; list-style: none;
}
.how-to-use li { margin-bottom: 1em; }
.how-to-use li::before { content: ""; }





/* Simulateur lite */
.simulator.lite { margin: 3em 0; padding: 1.25em; border: 1px solid #eee; border-radius: 12px; background:#fff; }
.simulator.lite .sim-title { font-size:1.8rem; font-weight:800; margin:0 0 .75em; line-height:1.25; }

.sim-lite-slider { width:100%; appearance:none; height:6px; border-radius:999px; background:linear-gradient(90deg,#111 0%,#111 40%,#ddd 40%); }
.sim-lite-slider::-webkit-slider-thumb{appearance:none;width:24px;height:24px;border-radius:50%;background:#111;border:2px solid #fff;box-shadow:0 0 0 1px #111;cursor:pointer}
.sim-lite-slider::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#111;border:0;cursor:pointer}
.sim-lite-scale{display:flex;justify-content:space-between;font-size:.8rem;color:#666;margin-top:6px}
.sim-slider-label{display:block;margin-bottom:10px;font-weight:600}

.sim-lite-kpis{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.sim-lite-card{padding:14px;border:1px solid #eee;border-radius:10px;background:#fafafa}
.sim-lite-card.warning{background:#fff5f5;border-color:#ffe0e0}
.sim-lite-label{font-weight:600;color:#333;margin-bottom:6px}
.sim-lite-big{font-size:1.35rem;font-weight:800}

.sim-lite-note{font-size:.9rem;color:#444;margin:.6em 0 0}

.sim-lite-adv{margin-top:10px}
.sim-lite-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}
.sim-lite-field{display:grid;gap:6px;font-size:.92rem}
.sim-lite-field input{padding:10px 12px;border:1px solid #ddd;border-radius:8px;font-size:1rem}

.sim-lite-field { min-width: 0; }
.sim-lite-field span { display: block; white-space: normal; word-break: break-word; }
.sim-lite-field input { width: 100%; }


@media (max-width:900px){ .sim-lite-grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:600px){
  .simulator.lite{padding:1em}
  .simulator.lite .sim-title{font-size:2rem;text-align:center}
  .sim-lite-kpis{grid-template-columns:1fr}
  .sim-lite-grid { grid-template-columns: 1fr; }   /* 1 champ par ligne */
}

/* KPIs plus lisibles: chiffres ↑, unités ↓ */
.sim-lite-big { 
  font-size: .95rem;           /* base pour les unités */
  line-height: 1.1;
}
.sim-lite-big .sim-lite-lost-orders,
.sim-lite-big .sim-lite-lost-euros {
  font-size: 2.1rem;           /* chiffre bien plus grand */
  font-weight: 900;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-right: .15em;         /* espace avant les unités */
}

@media (max-width:600px){
  .sim-lite-big { font-size: .9rem; }
  .sim-lite-big .sim-lite-lost-orders,
  .sim-lite-big .sim-lite-lost-euros { font-size: 2rem; }
}




/* Testimonials */
.testimonials-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5em;
  text-align: left;
  line-height: 1.25;
  color: #111;
}
.testimonials {
  margin-top: 3em; padding: 2em; background: #d8d8d8;
  border-top: 1px solid #eee; border-bottom: 1px solid #eee;
}
.testimonials h3 { text-align: center; font-size: 1.5em; margin-bottom: 1.5em; }
.testimonial { margin-bottom: 3.5em; text-align: center; font-size: 1em; line-height: 1.6; color: #333; }
.testimonial p { font-style: italic; margin-bottom: 0.5em; }
.testimonial strong { font-weight: bold; color: #111; }
.testimonial-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; display: block; }

.with-without-ulink {
  width: 100%; max-width: 100%; height: auto; display: block; margin: 2em auto;
  border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* FAQ */
.faq-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1em;
  text-align: left;
  line-height: 1.25;
  color: #111;
}
.faq { margin-top: 3em; padding: 1.5em; border-top: 1px solid #eee; }
.faq h3 { text-align: center; font-size: 1.4em; margin-bottom: 1em; }
.faq-item { border: 1px solid #e9e9e9; border-radius: 10px; background: #fff; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 14px 16px; background: transparent; border: 0; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-question::after {
  content: "▾"; font-size: 0.9rem; transition: transform 0.25s ease;
}
.faq-question[aria-expanded="true"]::after { transform: rotate(180deg); }
.faq-a {
  padding: 0 16px; color: #333; line-height: 1.55;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding-bottom 0.25s ease;
  will-change: max-height;
}
.faq-a.open {
  padding-bottom: 14px;
  /* max-height est piloté en JS pour s'adapter au contenu */
}

/* Respecte les préférences d’accessibilité */
@media (prefers-reduced-motion: reduce) {
  .faq-question::after, .faq-a { transition: none; }
}


/* Sticky CTA */
.add-to-bag.sticky-footer {
  position: fixed; bottom: 0; left: 0; width: 100%; max-width: 100%;
  border-top: 1px solid #ccc; z-index: 999; box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.sticky-wrapper {
  display: none; position: fixed; bottom: 0; left: 0; width: 100%;
  padding: 12px 16px; background: #fff; border-top: 1px solid #ccc; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); z-index: 1000;
}
.sticky-wrapper.show { display: block; }
.sticky-wrapper .add-to-bag { width: 100%; }

/* Footer */
.custom-footer { background-color: #06071d; padding: 20px; color: #fff; text-align: center; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.footer-logo { display: flex; align-items: center; }
.footer-logo-img { height: 100px; margin-right: 20px; }
.footer-catchline { font-size: 1rem; font-style: italic; text-align: left; margin: 10px 0; color: #fff; }
.footer-legal-info { font-size: 0.8rem; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; margin-top: 10px; }
.footer-link { color: #fff; text-decoration: none; margin: 0 5px; }
.footer-link:hover { text-decoration: underline; }
.footer-separator { border: none; border-top: 1px solid #2a2b38; margin: 20px 0; }
.footer-email { color: #fff; font-size: 0.8rem; margin-top: 10px; }
.footer-email a { color: #FFCA25; text-decoration: none; }
.footer-email a:hover { text-decoration: underline; }
.footer-design { font-size: 0.6rem; color: #50545a !important; margin-top: 10px; }
.payment-methods { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 10px 0; }
.payment-methods img { height: 20px; width: auto; transition: transform 0.3s ease; }
.payment-methods img:hover { transform: scale(1.1); }

/* Mobile */
@media (max-width: 768px) {
  .desktop-logo { display: none; }
  .mobile-logo { display: block; }
  .mobile-logo img { width: 150px !important; height: auto; margin: 0; }

  header { padding: 15px 10px; background-color: #06071d !important; z-index: 1000; }
  .header-container { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }

  .hamburger {
    display: flex; flex-direction: column; justify-content: space-around;
    width: 33px; height: 21px; background: none; border: none; cursor: pointer;
    margin: 0; position: absolute; right: 10px; z-index: 100;
  }
  .hamburger .bar { width: 100%; height: 1px; background-color: #fff; border-radius: 10px; transition: all 0.3s ease; }
  .hamburger.active .bar:nth-child(1) { transform: rotate(45deg); transform-origin: 5% 50%; }
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(3) { transform: rotate(-45deg); transform-origin: 5% 50%; }

  .header-nav {
    display: flex; flex-direction: column; align-items: center; width: 100%;
    background-color: #06071d; position: absolute; top: 60px; left: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; visibility: hidden; z-index: 90;
  }
  .header-nav.active { max-height: 300px; visibility: visible; overflow: visible; }
  .header-nav a { display: block; color: #fff; text-decoration: none; margin: 10px 0; padding: 10px 0; width: 100%; text-align: center; }

  .product-page { flex-direction: column; padding: 1em; gap: 0.5em; }
  .gallery { flex-direction: column; align-items: center; }
  .thumbnails { display: none; }
  .main-image img { width: 100%; max-width: 100%; height: auto; }

  .how-to-title {
    font-size: 2rem;       /* plus gros sur mobile */
    text-align: center;    /* centré pour mobile */
    margin-top: 1.5em;
  }

  .image-progress-bar { display: flex; justify-content: center; margin-top: 8px; gap: 6px; }
  .image-progress-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; transition: background 0.3s ease; }
  .image-progress-bar .dot.active { background: #222; }

  .details { width: 100%; }
  .features { flex-direction: column; gap: 0.7em; }

  .subscribe-box { font-size: 0.95em; padding: 0; }
  .price-box { flex-wrap: wrap; gap: 0.3em; }
  .add-to-bag { font-size: 1em; padding: 1em; }

  .faq-title, .testimonials-title {
    font-size: 2rem !important;      /* même taille que le titre des étapes */
    text-align: center;   /* centré sur mobile */
  }

  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-catchline { text-align: center; }
  .footer-legal-info { align-items: center; }


  .testimonials {
    padding: 1.5em 1em;
    margin-left: -1em; /* compense le padding mobile */
    margin-right: -1em;
    width: calc(100% + 2em);
  }
  .testimonials-title {
    margin-bottom: 0.8em;
  }
  .testimonial {
    margin-bottom: 1.8em; /* au lieu de 3.5em */
    padding: 1em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .testimonial-avatar {
    width: 75px;
    height: 75px;
    margin-bottom: 0.5em;
  }
  .testimonial p {
    font-size: 0.95rem;
    line-height: 1.5;
    border-left: 3px solid #eee;
    padding-left: 0.8em;
    margin-bottom: 0.5em;
  }
}

/* How it works — pro layout */
.how-to-use { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 18px; }
.how-to-use li { margin: 0; }

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
}

.step-num {
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  color: #111;
  letter-spacing: -1px;
  text-align: right;
}

.step-content { display: grid; gap: 6px; }
.step-title {
  font-size: 1.15rem; /* plus gros que le corps */
  line-height: 1.25;
}
.step-desc {
  color: #444;
  line-height: 1.55;
}

/* Subtle hover for desktop */
@media (hover:hover) {
  .step { transition: box-shadow .25s ease, transform .12s ease; }
  .step:hover { box-shadow: 0 6px 24px rgba(0,0,0,.06); transform: translateY(-1px); }
}

/* Mobile tuning */
@media (max-width: 768px) {
  .step { grid-template-columns: 56px 1fr; padding: 14px 16px; }
  .step-num { font-size: 38px; }
  .step-title { font-size: 1.075rem; }
}


/* Use Cases */
.use-cases { background-color: #d8d8d8; margin-top: 3em; padding: 1.5em 0; position: relative; text-align: center}
.usecases-title { font-size: 1.8rem; font-weight: 800; line-height: 1.25; color: #111; margin: 0 0 1em; }

/* Desktop: grille 4 colonnes */
@media (min-width: 901px){
  .use-cases-track{
    display: grid; gap: 16px;
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

/* Carte */
.use-case{
  background:#fff; border:1px solid #eee; border-radius:10px;
  padding:12px; display:grid; gap:10px; align-content:start;
  transition: box-shadow .25s ease, transform .12s ease;
}
.use-case img{ width:100%; height:auto; border-radius:8px; display:block; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.use-case h4{ margin:0; font-size:1rem; line-height:1.35; color:#111; font-weight:700; }
@media (hover:hover){ .use-case:hover{ box-shadow:0 8px 26px rgba(0,0,0,.07); transform:translateY(-1px); }}

/* Mobile/tablette: swipe horizontal avec "peek" de la carte suivante */
@media (max-width: 900px){
  .usecases-title{ font-size:2rem; text-align:center; }

  .use-cases{ padding: 1.5em 1em; margin-left: -1em; margin-right: -1em; width: calc(100% + 2em); }
  .use-cases-track{
    display:flex; gap:12px; overflow-x:auto; -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory; padding: 0 12px 12px;
    scrollbar-width:none;
  }
  .use-cases-track::-webkit-scrollbar{ display:none; }

  /* largeur carte pour voir le début de la suivante */
  .use-case{ flex: 0 0 84%; scroll-snap-align:start; }
  /* espace de fin pour le dernier alignement */
  .use-cases-track::after{ content:""; flex:0 0 12px; }

  /* léger dégradé à droite pour suggérer le scroll */
  .use-cases::after{
    content:""; position:absolute; right:0; top:0; bottom:0; width:36px;
    pointer-events:none; background:linear-gradient(to left, #fff, rgba(255,255,255,0));
  }
}







/* Testimonials v2 */
.testimonials {
  margin-top: 3em;
  padding: 2em 1em;
  background: linear-gradient(180deg,#f6f7f9, #ededf0);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.testimonials-title{
  font-size:1.8rem; font-weight:800; line-height:1.25; color:#111; text-align:center; margin-bottom:1.25em;
}

.testimonials-grid{
  display:grid; gap:16px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 992px){ .testimonials-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .testimonials-grid{ grid-template-columns: 1fr; } }

.t-card{
  background:#fff; border:1px solid #e9e9e9; border-radius:14px;
  padding:18px; display:grid; gap:12px; position:relative;
  box-shadow:0 6px 20px rgba(0,0,0,.05);
  transition: transform .12s ease, box-shadow .25s ease;
}
@media (hover:hover){ .t-card:hover{ transform: translateY(-2px); box-shadow:0 10px 28px rgba(0,0,0,.08); } }

.t-kpi{
  display:flex; align-items:baseline; gap:10px; width:max-content;
  background:#eaf7ee; border:1px solid #cfead7; color:#0a7a3d;
  border-radius:999px; padding:6px 10px; font-weight:700;
}
.t-kpi-main{ font-size:1.15rem; }
.t-kpi-sub{ font-size:.85rem; font-weight:600; opacity:.9; }

.t-quote{
  margin:4px 0 0; color:#333; line-height:1.55; font-style:italic;
  position:relative; padding-left:12px;
}
.t-quote:before{
  content:""; position:absolute; left:0; top:.25em; bottom:.25em; width:3px; background:#eee; border-radius:2px;
}

.t-foot{
  display:grid; justify-items:center; gap:6px; margin-top:6px; text-align:center;
}
.t-avatar{ width:68px; height:68px; border-radius:50%; object-fit:cover; display:block; }
.t-brand{ font-weight:800; color:#111; }
.t-note{ font-size:.85rem; color:#666; }

/* Section plus respirante et centrée */
.testimonials{ padding: 2.2em 0; }
.testimonials-grid{ max-width: 980px; margin: 0 auto; gap: 20px; }

/* Cartes plus nettes */
.t-card{
  border: 1px solid #eef1f5;
  box-shadow: 0 6px 18px rgba(16,24,40,.06);
  border-radius: 12px;
  padding: 16px 16px 14px;
}

/* Badge KPI plus “pill” et compact */
.t-kpi{
  background: #eaf7ee;
  border: 1px solid #cfead7;
  padding: 4px 10px;
  gap: 8px;
}
.t-kpi-main{ font-size: 1.08rem; font-weight: 800; }
.t-kpi-sub{ font-size: .85rem; opacity: .9; }

/* Citation plus lisible et resserrée */
.t-quote{
  color:#2f2f2f;
  margin: 4px 0 10px;
  line-height: 1.5;
  padding-left: 10px;
}
.t-quote:before{ width: 2px; background:#e8e8e8; }

/* Pied de carte soigné */
.t-foot{
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #f1f3f5;
}
.t-avatar{
  width: 54px; height: 54px; 
  box-shadow: 0 0 0 3px #fff, 0 1px 3px rgba(16,24,40,.08);
}
.t-brand{ margin-top: 2px; font-weight: 800; }
.t-note{ color:#6b7280; line-height: 1.35; font-size: .84rem; }

/* Mobile: densifier légèrement */
@media (max-width:640px){
  .t-card{ padding: 14px 14px 12px; }
  .t-avatar{ width: 50px; height: 50px; }
}
