/* ============================================================
   FLASHFIT — steel.css
   Responsive complet — navbar, footer, pages
   ============================================================ */







/* ============================================================
   TYPOGRAPHIE GLOBALE
   ============================================================ */
body {
  font-family: 'DM Sans', sans-serif;
}

h1, h2, h3,
.hero .content h1,
.benefits-title,
.section-title,
.cta-banner .content h2,
.product-hero .content h1 {
  font-family: 'Playfair Display', serif;
}




html, body {
  overflow-x: hidden;
  max-width: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

/* ============================================================
   FIX BODY PADDING
   ============================================================ */
@media (max-width: 767px) {
  body { padding-top: 88px !important; margin-top: 0 !important; }
}
@media (max-width: 379px) {
  body { padding-top: 52px !important; }
}

/* ============================================================
   NAVBAR — tablette 768–1023px
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .ff-topbar { height: 34px; padding: 0 16px; font-size: 12px; gap: 1rem; }
  .ff-topbar__sep { display: none; }
  #flashfit-nav nav { padding: 0 20px; height: 58px; max-width: 100%; }
  #flashfit-nav .ff-nav-links a[href*="blog"],
  #flashfit-nav .ff-nav-links a[href*="a-propos"] { display: none; }
  #flashfit-nav .ff-nav-links { gap: 0; }
  #flashfit-nav .ff-nav-links a { font-size: 12px; padding: 5px 8px; }
  #flashfit-nav .ff-buy-btn { padding: 7px 12px; font-size: 13px; }
  #flashfit-nav .ff-nav-right { gap: 8px; }
  #flashfit-nav .ff-hamburger { display: none !important; }
}

/* ============================================================
   NAVBAR — mobile ≤ 767px
   ============================================================ */
@media (max-width: 767px) {
  .ff-topbar {
    height: 30px; padding: 0 16px; font-size: 11.5px;
    background: #f0f6ff; border-bottom: 1px solid #dbeafe;
    justify-content: center; align-items: center;
    overflow: hidden; gap: 0;
  }
  .ff-topbar__item:nth-child(3),
  .ff-topbar__item:nth-child(5),
  .ff-topbar__sep { display: none; }
  #flashfit-nav nav { padding: 0 16px; height: 58px; max-width: 100%; }
  #flashfit-nav .ff-logo { height: 34px; font-size: 17px; gap: 7px; }
  #flashfit-nav .ff-nav-links { display: none !important; }
  #flashfit-nav .ff-buy-btn { display: none !important; }
  #flashfit-nav .ff-nav-right { gap: 8px; }
  #flashfit-nav .ff-cart-btn { width: 38px; height: 38px; border-radius: 10px; }
  #flashfit-nav .ff-hamburger { display: flex !important; width: 38px; height: 38px; border-radius: 10px; }
  #flashfit-nav .ff-mobile-menu { display: flex; position: static; }
  #flashfit-nav .ff-mobile-menu a { font-size: 15px; padding: 15px 20px; }
  #flashfit-nav .ff-mobile-menu .ff-mobile-cta {
    margin: 14px 16px 18px; padding: 14px 20px !important;
    font-size: 15px !important; border-radius: 10px; text-align: center;
  }
  #flashfit-nav .ff-cart-drawer { width: 100vw; border-radius: 0; }
  #flashfit-nav .ff-cart-head { padding: 16px 20px; }
  #flashfit-nav .ff-cart-body { padding: 12px 20px; }
  #flashfit-nav .ff-cart-foot { padding: 16px 20px; }
  #flashfit-nav .ff-item-img { width: 62px; height: 62px; }
  #flashfit-nav .ff-checkout-btn { padding: 15px; font-size: 15px; border-radius: 12px; }
  #flashfit-nav .ff-view-cart-btn { padding: 12px; border-radius: 12px; }
}

@media (max-width: 379px) {
  .ff-topbar { display: none !important; }
  #flashfit-nav nav { height: 52px; padding: 0 12px; }
  #flashfit-nav .ff-logo { height: 28px; font-size: 15px; }
  #flashfit-nav .ff-cart-btn { width: 34px; height: 34px; }
  #flashfit-nav .ff-hamburger { width: 34px; height: 34px; }
}

/* ============================================================
   FOOTER — desktop ≥ 1024px
   ============================================================ */
@media (min-width: 1024px) {
  footer { padding: 60px 64px 0; }
  .footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================================
   FOOTER — tablette 768–1023px
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  footer { padding: 48px 32px 0 !important; overflow-x: hidden; }
  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 28px !important;
  }
  .footer-top .brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column !important; align-items: flex-start !important; gap: 8px; }
}

/* ============================================================
   FOOTER — mobile ≤ 767px
   ============================================================ */
@media (max-width: 767px) {
  footer { padding: 36px 20px 0 !important; overflow-x: hidden; }
  .footer-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer-top .brand { padding-bottom: 28px; }
  .footer-top .brand p { font-size: 13px; overflow-wrap: break-word; max-width: 100%; }
  .footer-top .footer-col { border-top: 1px solid #122b52; padding: 22px 0; }
  .footer-col h4 { font-size: 14px; margin-bottom: 14px; }
  .footer-col ul { gap: 10px; }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px; padding: 20px 0;
    border-top: 1px solid #122b52;
  }
  .footer-bottom .badges { flex-wrap: wrap; gap: 4px; }
  .footer-bottom .badges span:not(:last-child)::after { display: none; }
  .footer-bottom p, .footer-bottom .badges { font-size: 12px; }
}

@media (max-width: 379px) {
  footer { padding: 28px 16px 0 !important; }
}

/* ============================================================
   HERO
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero { min-height: 460px; padding: 60px; background-position: center; }
  .hero .content { margin-left: 0; }
  .hero .content h1 { font-size: 40px; }
  .hero .content p { font-size: 14px; max-width: 340px; }
  .hero .btn-primary, .hero .btn-secondary { min-width: 200px; }
}

@media (max-width: 767px) {
  .hero { min-height: 520px; padding: 48px 20px 60px; background-position: 80% center; align-items: flex-end; }
  .hero::before { background: linear-gradient(to top, rgba(19,19,19,0.92) 50%, rgba(19,19,19,0.4) 100%); }
  .hero .content { margin-left: 0; max-width: 100%; }
  .hero .content h1 { font-size: 32px; }
  .hero .content p { font-size: 13px; max-width: 100%; }
  .hero .actions { width: 100%; }
  .hero .btn-primary, .hero .btn-secondary { min-width: 0; width: 100%; }
.reassurance { display: none !important; }
}

/* ============================================================
   BANNER TOP
   ============================================================ */
@media (max-width: 767px) {
  .banner-top { flex-wrap: wrap; gap: 8px; padding: 12px 16px; justify-content: center; }
}

/* ============================================================
   PRODUCT HERO
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-hero { flex-direction: column; align-items: center; padding: 48px 40px; gap: 40px; }
  .product-hero .img-wrapper { width: 100%; max-width: 420px; height: 380px; }
  .product-hero .content { max-width: 100%; width: 100%; }
}

@media (max-width: 767px) {
  .product-hero { flex-direction: column; padding: 32px 20px; gap: 28px; }
  .product-hero .img-wrapper { width: 100%; max-width: 360px; height: 300px; }
  .product-hero .content { max-width: 100%; width: 100%; }
  .product-hero .content h1 { font-size: 24px; }
  .product-hero .content .actions { flex-direction: column; }
  .product-hero .content .actions .btn-primary,
  .product-hero .content .actions .btn-secondary { width: 100%; justify-content: center; }
}

/* ============================================================
   BENEFITS
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .benefits { flex-direction: column-reverse; padding: 56px 40px; gap: 40px; }
  .benefits .benefits-image { width: 100%; height: 420px; }
  .benefits .benefits-title { font-size: 28px; }
}

@media (max-width: 767px) {
  .benefits { flex-direction: column-reverse; padding: 40px 20px; gap: 32px; }
  .benefits .benefits-image { width: 100%; height: 260px; border-radius: 12px; }
  .benefits .benefits-title { font-size: 26px; }
  .benefits .benefits-desc { font-size: 13px; max-width: 100%; }
}

/* ============================================================
   WHY FLASHFIT — 2 colonnes mobile propres
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .why-flashfit { padding: 56px 40px; }
  .why-flashfit .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-flashfit .section-title { font-size: 28px; }
}

@media (max-width: 767px) {
  .why-flashfit { padding: 28px 10px; overflow-x: hidden; }
  .why-flashfit .section-title { font-size: 20px; margin-bottom: 16px; }
  .why-flashfit .cards-grid {
    display: grid !important;
    grid-template-columns: calc(50% - 5px) calc(50% - 5px) !important;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .why-flashfit .card {
    padding: 12px 10px;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
  }
  .why-flashfit .card .number { font-size: 20px; margin-bottom: 6px; }
  .why-flashfit .card h3 { font-size: 12px; font-weight: 700; margin-bottom: 5px; line-height: 1.3; }
  .why-flashfit .card p { font-size: 11px; line-height: 1.5; margin: 0; }
}

/* ============================================================
   TESTIMONIALS — 2 colonnes mobile propres
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .testimonials { padding: 56px 40px; }
  .testimonials .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .testimonials .section-title { font-size: 28px; }
  .testimonials .review-card { padding: 20px; }
}

@media (max-width: 767px) {
  .testimonials { padding: 28px 10px; overflow-x: hidden; }
  .testimonials .section-title { font-size: 20px; }
  .testimonials .cards-grid {
    display: grid !important;
    grid-template-columns: calc(50% - 5px) calc(50% - 5px) !important;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .testimonials .review-card {
    padding: 12px 10px;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
  }
  .testimonials .review-card .stars { font-size: 11px; letter-spacing: 1px; }
  .testimonials .review-card .review-text { font-size: 11px; line-height: 1.5; }
  .testimonials .review-card .review-footer { flex-direction: column; align-items: flex-start; gap: 3px; }
  .testimonials .review-card .reviewer strong { font-size: 11px; }
  .testimonials .review-card .reviewer span { font-size: 10px; }
  .testimonials .review-card .verified { font-size: 10px; }
}

/* ============================================================
   FAQ — CORRIGÉ
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .faq { padding: 56px 40px; }
  .faq .faq-list { max-width: 100%; }
  .faq .section-title { font-size: 28px; }
}

@media (max-width: 767px) {
  .faq { padding: 40px 16px; text-align: center; }
  .faq .faq-list { max-width: 100%; width: 100%; padding: 0; }
  .faq .section-title { font-size: 22px; margin-bottom: 28px; }
  .faq .faq-item { width: 100%; overflow: hidden; }
  .faq .faq-question {
    font-size: 13px;
    padding: 14px;
    width: 100%;
    text-align: left;
    white-space: normal;
    line-height: 1.4;
  }
  .faq .faq-question .faq-chevron { flex-shrink: 0; }
  .faq .faq-item.open .faq-answer { max-height: 300px; padding: 0 14px 14px; }
  .faq .faq-answer p { font-size: 13px; text-align: left; }
}

/* ============================================================
   CTA BANNER — CORRIGÉ
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .cta-banner { padding: 70px 40px; }
  .cta-banner .content h2 { font-size: 30px; }
  .cta-banner .content p { font-size: 14px; }
}

@media (max-width: 767px) {
  .cta-banner { padding: 48px 20px; background-position: center; background-size: cover; }
  .cta-banner .content { max-width: 100%; padding: 0; }
 @media (max-width: 767px) {
  .cta-banner .content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 12px;
    word-break: keep-all;
  }
}
  .cta-banner .content p { font-size: 13px; margin-bottom: 24px; opacity: 0.85; }
  .cta-banner .content .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 8px;
  }
}

/* ============================================================
   PAYSAGE mobile
   ============================================================ */
@media (max-height: 500px) and (max-width: 900px) {
  .ff-topbar { display: none; }
  #flashfit-nav nav { height: 48px; }
  #flashfit-nav .ff-logo { height: 30px; }
  #flashfit-nav .ff-mobile-menu.is-open { max-height: 260px; overflow-y: auto; }
  #flashfit-nav .ff-cart-drawer { width: 100vw; height: 100dvh; }
  .hero { min-height: 320px; padding: 32px 40px; align-items: center; }
  .hero .content h1 { font-size: 28px; }
  .hero .content p { display: none; }
  .hero .actions { flex-direction: row; gap: 8px; }
  .hero .btn-primary, .hero .btn-secondary { min-width: 0; width: auto; flex: 1; padding: 10px 14px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .ff-topbar { display: none; }
  #flashfit-nav { display: none; }
  footer { display: none; }
}