/* =============================================
   PAGE 2 — responsive2.css
   Responsive pour la page Services
   ============================================= */

/* ---- Fix global ---- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* =============================================
   <= 1440px
   ============================================= */
@media (max-width: 1440px) {
  .svc-section,
  .recru-section,
  .mad-section,
  .quiz-section,
  .packs-section,
  .contact-section {
    width: 100%;
    max-width: 100%;
  }
}

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

  /* ---- Hero ---- */
  .hero-content {
    flex-direction: column;
    padding: 40px 24px 48px;
    gap: 40px;
  }

  .p2-title { width: 100%; font-size: 48px; }
  .p2-desc { width: 100%; }

  .p2-photo-wrap { width: 100%; height: 360px; }
  .p2-photo { width: 100%; height: 100%; }

  .p2-bubble { display: none; }

  /* ---- SVC ---- */
  .svc-section { padding: 60px 32px; }
  .svc-title { width: 100%; font-size: 32px; }
  .svc-cards { flex-direction: column; align-items: center; }
  .svc-card { width: 100%; max-width: 500px; height: auto; }

  /* ---- RECRU ---- */
  .recru-section { flex-direction: column; padding: 40px 32px; gap: 40px; }
  .recru-left { padding-top: 0; }
  .recru-title { width: 100%; font-size: 32px; }
  .recru-right { width: 100%; }
  .recru-photo { width: 100%; height: 350px; }
  .recru-boxes { position: relative; bottom: auto; left: auto; flex-direction: column; gap: 16px; margin-top: 20px; }
  .recru-box { width: 100%; height: auto; }

  /* ---- MAD ---- */
  .mad-section { flex-direction: column; padding: 40px 32px; gap: 40px; }
  .mad-left { width: 100%; }
  .mad-photo { width: 100%; height: 350px; }
  .mad-box { position: relative; bottom: auto; right: auto; width: 100%; height: auto; margin-top: 20px; }
  .mad-title { width: 100%; font-size: 32px; }

  /* ---- QUIZ ---- */
  .quiz-section { padding: 60px 32px; }
  .quiz-title { width: 100%; font-size: 32px; }
  .quiz-box { width: 100%; padding: 32px 24px; }
  .quiz-choices { flex-direction: column; }
  .quiz-choice { width: 100%; height: auto; padding: 16px 20px; }

  /* ---- PACKS ---- */
  .packs-section { padding: 60px 32px; }
  .packs-grid { flex-direction: column; align-items: center; }
  .packs-card { width: 100%; max-width: 500px; height: auto; }
  .packs-card--popular { height: auto; }
  .packs-btn { width: 100%; }

  /* ---- CONTACT ---- */
  .contact-section { height: auto !important; }
  .contact-inner { flex-direction: column; padding: 48px 32px; gap: 40px; }
  .contact-title { width: 100%; font-size: 48px; }
  .contact-desc { width: 100%; }
  .contact-form-box { width: 100%; height: auto; }
  .contact-sep { width: 100%; }
}

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

  /* ---- Header ---- */
  .header { padding: 12px 16px 0; }
  .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 ---- */
  .p2-title { font-size: 36px; }
  .p2-label { font-size: 18px; }
  .p2-desc { font-size: 16px; }

  .hero-buttons { flex-direction: column; gap: 12px; }
  .btn-cyan, .btn-outline-cyan { width: 100%; height: 54px; justify-content: center; }

  .p2-photo-wrap { width: 100%; height: 260px; }

  /* ---- SVC ---- */
  .svc-section { padding: 48px 20px; gap: 28px; }
  .svc-title { font-size: 26px; }
  .svc-card { width: 100%; max-width: 100%; height: auto; padding: 28px 24px; }
  .svc-card-title { padding-top: 20px; font-size: 20px; }

  /* ---- RECRU ---- */
  .recru-section { flex-direction: column; padding: 40px 20px; gap: 32px; }
  .recru-left { gap: 20px; }
  .recru-title { width: 100%; font-size: 26px; }
  .recru-right { width: 100%; flex-shrink: 1; }
  .recru-photo { width: 100%; height: 260px; }
  .recru-boxes { position: relative; bottom: auto; left: auto; flex-direction: column; gap: 12px; margin-top: 16px; }
  .recru-box { width: 100%; height: auto; padding: 20px 16px; }
  .recru-box-title { padding-top: 0; padding-left: 0; font-size: 16px; }
  .recru-box-list { padding-left: 0; }
  .recru-btn { width: 100%; justify-content: center; }

  /* ---- MAD ---- */
  .mad-section { flex-direction: column; padding: 40px 20px; gap: 32px; }
  .mad-left { width: 100%; }
  .mad-photo { width: 100%; height: 260px; }
  .mad-box { position: relative; bottom: auto; right: auto; width: 100%; height: auto; margin-top: 16px; padding: 20px 16px; }
  .mad-box-title { margin-top: 0; margin-left: 0; font-size: 16px; }
  .mad-box-list { margin-left: 0; }
  .mad-right { gap: 20px; }
  .mad-title { width: 100%; font-size: 26px; }
  .mad-btn { width: 100%; justify-content: center; }

  /* ---- Tags ---- */
  .recru-tag, .mgmt-tag, .pods-tag, .sop-tag,
  .qa-tag, .reporting-tag, .secu-tag, .cont-tag {
    font-size: 13px;
    padding: 8px 14px;
  }

  /* ---- QUIZ ---- */
  .quiz-section { padding: 48px 20px; gap: 20px; }
  .quiz-title { font-size: 24px; line-height: 1.2; }
  .quiz-box { width: 100%; padding: 24px 20px; min-height: auto; }
  .quiz-choices { flex-direction: column; gap: 12px; }
  .quiz-choice { width: 100%; height: auto; padding: 16px 18px; }
  .quiz-btn { width: 100%; justify-content: center; }
  .quiz-question { font-size: 17px; }

  /* ---- PACKS ---- */
  .packs-section { padding: 48px 20px; gap: 28px; }
  .packs-title { font-size: 26px; line-height: 1.2; }
  .packs-grid { flex-direction: column; align-items: stretch; gap: 16px; }
  .packs-card { width: 100%; height: auto; }
  .packs-card--popular { height: auto; }
  .packs-card-inner { padding: 24px 20px; gap: 20px; margin-top: 0; }
  .packs-prix { font-size: 32px; }
  .packs-btn { width: 100%; }

  /* ---- CONTACT ---- */
  .contact-section { height: auto !important; }
  .contact-inner { flex-direction: column; padding: 40px 20px; gap: 32px; }
  .contact-left { gap: 24px; }
  .contact-title { font-size: 36px; width: 100%; }
  .contact-subtitle { font-size: 22px; }
  .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; }

  /* ---- Continuité stats ---- */
  .cont-box { flex-direction: column; }
  .cont-stat-number { font-size: 26px; margin-left: 0; }
  .cont-stat-label { margin-left: 0; }
  .cont-stat { padding: 12px 0; }
}

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

  .p2-title { font-size: 28px; }
  .svc-title, .recru-title, .mad-title,
  .quiz-title, .packs-title { font-size: 22px; }
  .contact-title { font-size: 28px; }

  .p2-photo-wrap { height: 220px; }
  .recru-photo, .mad-photo { height: 220px; }

  .packs-prix { font-size: 28px; }
  .packs-par-mois { font-size: 15px; }
}
