/* =============================================
   PAGE 5 — responsive5.css
   Responsive pour la page Solutions
   ============================================= */

/* =============================================
   <= 1440px
   ============================================= */
@media (max-width: 1440px) {
  .sol-section,
  .coup-section,
  .ded-section,
  .comp2-section,
  .banner-section,
  .socle-section,
  .scen-section {
    width: 100%;
    max-width: 100%;
  }
}

/* =============================================
   TABLETTE (max 1024px)
   ============================================= */
@media (max-width: 1024px) {

  /* ---- Header ---- */
  .nav { display: none !important; }
  .header-cta .btn-outline-dark,
  .header-cta .btn-dark { display: none !important; }
  .hamburger { display: flex !important; }

  /* ---- Hero ---- */
  .hero-content { flex-direction: column; padding: 40px 24px 48px; gap: 40px; }
  .p2-title { width: 100%; font-size: 42px; }
  .p2-desc { width: 100%; }

  /* Quiz dans hero */
  .quiz-step { padding: 24px; }
  .quiz-choice--full { width: 100%; }
  .quiz-choices--vertical { width: 100%; }

  /* ---- Sol section ---- */
  .sol-section { padding: 60px 32px; }
  .sol-title { width: 100%; font-size: 32px; }
  .sol-subtitle { width: 100%; }
  .sol-grid { flex-direction: column; align-items: center; }
  .sol-card { width: 100%; max-width: 500px; }
  .sol-subbox { width: 100%; }
  .sol-divider-dash { width: 100%; }

  /* ---- Coup section ---- */
  .coup-section { padding: 48px 32px; }
  .coup-title { width: 100%; font-size: 32px; }
  .coup-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .coup-card { width: 100%; height: auto; }

  /* ---- Ded section ---- */
  .ded-section { flex-direction: column; padding: 48px 32px; gap: 40px; }
  .ded-left { flex: none; width: 100%; padding-left: 0; }
  .ded-title { font-size: 36px; }
  .ded-right { margin-left: 0; width: 100%; }
  .ded-right2 { margin-left: 0; width: 100%; }
  .ded-photo { width: 100%; height: 320px; }
  .ded-obtenez-box {
    position: relative;
    bottom: auto; left: auto; right: auto;
    width: 100%;
    height: auto;
    margin-top: 16px;
  }
  .ded-obtenez-box--right {
    right: auto;
    left: auto;
  }
  .ded-btns { flex-wrap: wrap; }
  .ded-btn-primary, .ded-btn-outline { flex: 1; justify-content: center; min-width: 140px; }

  /* ---- Comp2 section ---- */
  .comp2-section { padding: 60px 32px; }
  .comp2-title { font-size: 32px; }
  .comp2-box { width: 100%; overflow-x: auto; padding: 0 20px; }

  /* ---- Banner ---- */
  .banner-section { padding: 0 32px 60px; }
  .banner-box { width: 100%; height: auto; padding: 32px 0; }
  .banner-content { flex-direction: column; gap: 24px; padding: 0 32px; align-items: flex-start; }
  .banner-btn { width: 100%; }

  /* ---- Socle ---- */
  .socle-section { padding: 60px 32px; }
  .socle-title { width: 100%; font-size: 32px; }
  .socle-next { right: -20px; width: 56px; height: 56px; }

  /* ---- Scen ---- */
  .scen-section { padding: 48px 32px; }
  .scen-title { width: 100%; font-size: 32px; }
  .scen-cards { flex-wrap: wrap; justify-content: center; }
  .scen-card { width: calc(50% - 10px); height: auto; }
}

/* =============================================
   MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {

  /* ---- Header ---- */
  .header-inner { height: auto; padding: 12px 16px; flex-wrap: nowrap; justify-content: space-between; align-items: center; }
  .nav { display: none !important; }
  .header-cta .btn-outline-dark, .header-cta .btn-dark { display: none !important; }
  .header-contact { font-size: 14px; }
  .hamburger { display: flex !important; margin-left: auto; }

  /* ---- Hero ---- */
  .hero-content { flex-direction: column; padding: 28px 20px 40px; gap: 28px; }
  .p2-title { font-size: 32px; }
  .p2-label { font-size: 16px; }
  .p2-desc { font-size: 15px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .btn-cyan, .btn-outline-cyan { width: 100%; height: 54px; justify-content: center; }

  /* Quiz */
  .quiz-step { padding: 20px 16px; border-radius: 10px; }
  .quiz-counter { font-size: 13px; }
  .quiz-question { font-size: 16px !important; }
  .quiz-choice--full { width: 100%; height: auto; min-height: 52px; padding: 12px 16px; }
  .quiz-choice-label { font-size: 14px; padding-top: 0; }
  .quiz-btn { width: 100%; justify-content: center; height: 52px; font-size: 15px; }

  /* ---- Sol ---- */
  .sol-section { padding: 48px 20px; gap: 28px; }
  .sol-title { font-size: 26px; width: 100%; }
  .sol-subtitle { font-size: 15px; width: 100%; }
  .sol-grid { flex-direction: column; gap: 16px; align-items: stretch; }
  .sol-card { width: 100%; max-width: 100%; padding: 24px 20px; }
  .sol-card-title { font-size: 20px; }
  .sol-subbox { width: 100%; font-size: 14px; height: auto; min-height: 48px; padding: 10px 14px; }
  .sol-subbox span { font-size: 14px; }
  .sol-divider-dash { width: 100%; }

  /* ---- Coup ---- */
  .coup-section { padding: 48px 20px; gap: 28px; }
  .coup-title { font-size: 26px; width: 100%; }
  .coup-grid { grid-template-columns: 1fr; gap: 16px; }
  .coup-card { width: 100%; height: auto; padding: 28px 20px; gap: 20px; }
  .coup-card--photo { height: 220px; }
  .coup-card-title { font-size: 20px; }
  .coup-card-text { font-size: 15px; }
  .coup-link { font-size: 15px; }

  /* ---- Ded ---- */
  .ded-section { flex-direction: column; padding: 40px 20px; gap: 28px; }
  .ded-left { width: 100%; padding-left: 0; gap: 20px; }
  .ded-tag { font-size: 13px; padding: 8px 14px; }
  .ded-title { font-size: 28px; }
  .ded-subtitle { font-size: 17px; }
  .ded-desc { font-size: 15px; }
  .ded-ideal-title { font-size: 15px; }
  .ded-ideal-list li span { font-size: 15px; }
  .ded-right { margin-left: 0; width: 100%; }
  .ded-right2 { margin-left: 0; width: 100%; }
  .ded-photo { width: 100%; height: 240px; }
  .ded-obtenez-box {
    position: relative;
    bottom: auto; left: auto; right: auto;
    width: 100%;
    height: auto;
    margin-top: 12px;
    padding: 20px 16px;
  }
  .ded-obtenez-box--right { right: auto; left: auto; }
  .ded-obtenez-title { font-size: 16px; }
  .ded-obtenez-list li span { font-size: 14px; }
  .ded-btns { flex-direction: column; gap: 12px; }
  .ded-btn-primary, .ded-btn-outline { width: 100%; height: 52px; font-size: 15px; }

  /* ---- Comp2 ---- */
  .comp2-section { padding: 48px 20px; gap: 16px; }
  .comp2-title { font-size: 24px; }
  .comp2-subtitle { font-size: 14px; }
  .comp2-box {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px;
    border-radius: 12px;
  }
  .comp2-table { min-width: 520px; }
  .comp2-th { font-size: 12px; padding: 14px 8px; }
  .comp2-th--left { padding-left: 12px; }
  .comp2-critere { font-size: 13px; padding: 14px 8px 14px 12px; }
  .comp2-cell { font-size: 13px; padding: 14px 8px; }

  /* ---- Banner ---- */
  .banner-section { padding: 0 20px 48px; }
  .banner-box { width: 100%; height: auto; }
  .banner-content { flex-direction: column; gap: 20px; padding: 28px 20px; align-items: flex-start; }
  .banner-title { font-size: 22px; }
  .banner-subtitle { font-size: 18px; }
  .banner-btn { width: 100%; height: 52px; font-size: 15px; }

  /* ---- Socle ---- */
  .socle-section { padding: 48px 20px; gap: 28px; }
  .socle-title { font-size: 24px; width: 100%; }
  .socle-clip { overflow: hidden; }
  .socle-card { width: 200px; height: 160px; padding: 20px 16px; }
  .socle-card-text { font-size: 14px; }
  .socle-next { right: 0; width: 52px; height: 52px; }

  /* ---- Scen ---- */
  .scen-section { padding: 48px 20px; gap: 28px; }
  .scen-title { font-size: 24px; width: 100%; }
  .scen-cards { flex-direction: column; gap: 12px; }
  .scen-card { width: 100%; height: auto; padding: 24px 20px; gap: 16px; }
  .scen-card-title { font-size: 20px; }
  .scen-card-text { font-size: 16px; }
  .scen-btn { width: 100%; justify-content: center; }

  /* ---- Contact ---- */
  .contact-section { height: auto !important; }
  .contact-inner { flex-direction: column; padding: 40px 20px; gap: 32px; }
  .contact-title { font-size: 36px; width: 100%; }
  .contact-subtitle { font-size: 20px; }
  .contact-desc { font-size: 15px; width: 100%; }
  .contact-btn-call { width: 100%; justify-content: center; }
  .contact-form-box { width: 100%; height: auto; padding: 28px 20px; }
  .contact-form-title { font-size: 22px; }
  .contact-sep { width: 100% !important; }
  .contact-btn-send { width: 100%; justify-content: center; }
}

/* =============================================
   PETIT MOBILE (max 480px)
   ============================================= */
@media (max-width: 480px) {

  .p2-title { font-size: 26px; }

  .sol-title, .coup-title, .ded-title,
  .comp2-title, .socle-title, .scen-title { font-size: 22px; }

  .ded-title { font-size: 24px; }
  .contact-title { font-size: 26px; }

  .sol-subbox span { font-size: 13px; }
  .coup-card--photo { height: 180px; }

  .comp2-table { min-width: 460px; }
  .comp2-th { font-size: 11px; padding: 10px 6px; }
  .comp2-critere { font-size: 12px; padding: 10px 6px 10px 10px; }
  .comp2-cell { font-size: 12px; padding: 10px 6px; }

  .banner-title { font-size: 20px; }
  .banner-subtitle { font-size: 16px; }

  .socle-card { width: 180px; height: 150px; }
}
