/* ================================
   MOBILE (max 599px)
   ================================ */
@media (max-width: 599px) {
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .header .container { padding: 8px 8px 8px 20px; }

  /* Hero */
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  .hero__subtitle { max-width: none; }
  .hero__actions { justify-content: center; }
  .store-badges { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__mockup { width: 230px; height: 470px; }
  .float-pill--1 { left: -2%; }
  .float-pill--2 { right: -2%; }
  .float-pill { font-size: 0.7rem; padding: 7px 12px 7px 7px; }

  /* Stats */
  .stats__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }
  .stats__item + .stats__item::before {
    width: 60%; height: 1px; top: -10px; left: 20%;
  }

  /* Grilles */
  .features__grid,
  .features__grid--4 { grid-template-columns: 1fr; }
  .comparison__grid { grid-template-columns: 1fr; }

  /* How it works */
  .how-it-works__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .how-it-works__visual { order: -1; }

  /* Témoignages */
  .testimonial-card { min-width: 280px; }

  /* Pricing */
  .pricing__grid { flex-direction: column; align-items: center; }
  .pricing__card { max-width: 100%; width: 100%; }

  /* Callout */
  .callout__inner { padding: var(--space-xl) var(--space-md); }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }

  /* Sticky bar */
  .sticky-bar { display: block; }
  body { padding-bottom: 76px; }

  .cta-final__badges { flex-direction: column; align-items: center; }

  /* Pages légales */
  .legal__toc-list { grid-template-columns: 1fr; }
  .legal__toc { padding: var(--space-md); }
}

/* ================================
   TABLETTE PORTRAIT (600px - 899px)
   ================================ */
@media (min-width: 600px) and (max-width: 899px) {
  .header__hamburger { display: flex; }
  .header__nav { display: none; }

  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: var(--space-2xl); }
  .hero__subtitle { max-width: none; margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .store-badges { justify-content: center; }
  .hero__visual { order: -1; }
  .float-pill--1 { left: 8%; }
  .float-pill--2 { right: 8%; }

  .features__grid { grid-template-columns: repeat(3, 1fr); }
  .features__grid--4 { grid-template-columns: repeat(2, 1fr); }

  .how-it-works__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .how-it-works__visual { order: -1; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .sticky-bar { display: block; }
  body { padding-bottom: 76px; }
}

/* ================================
   TABLETTE PAYSAGE (900px - 1199px)
   ================================ */
@media (min-width: 900px) and (max-width: 1199px) {
  .features__grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ================================
   GRAND ÉCRAN (1440px+)
   ================================ */
@media (min-width: 1440px) {
  :root { --max-width: 1280px; }
}
