/* ==========================================================
   Page Infos pratiques (about-us) — refonte direction B
   Toutes les classes sont préfixées .ip_ pour ne pas entrer
   en conflit avec style.css
   ========================================================== */
.ip_page { background: #f7f7fc; color: #22195e; }
.ip_page a { color: #22195e; }
.ip_page a:hover { color: #3fcaff; }

/* ---------- Layout ---------- */
.ip_body { padding: 64px 0 120px; }
.ip_layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.ip_aside { flex: 1 1 260px; max-width: 300px; display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 100px; }
.ip_main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }

/* ---------- Sommaire ---------- */
.ip_toc { background: #fff; border: 1px solid #e6e4f2; padding: 12px; display: flex; flex-direction: column; }
.ip_toc_label { padding: 12px 14px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #5d5d6b; }
.ip_toc a { padding: 12px 14px; display: flex; gap: 14px; font-family: "Rajdhani", sans-serif;
  font-size: 18px; font-weight: 600; color: #22195e; }
.ip_toc a span { color: #5d5d6b; }
.ip_toc a:hover { background: #efeef7; color: #22195e; }
.ip_toc a.active { background: #22195e; color: #fff; }
.ip_toc a.active span { color: #3fcaff; }

.ip_cta { background: linear-gradient(to right, #3e3590 0%, #231a60 100%); padding: 28px; color: #fff;
  display: flex; flex-direction: column; gap: 14px; }
.ip_cta strong { font-family: "Rajdhani", sans-serif; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.ip_cta span { font-size: 14px; font-weight: 400; color: #d8d5f0; }

/* ---------- Boutons ---------- */
.ip_btn { display: inline-block; text-align: center;
  background: linear-gradient(to right, #3fcaff 0%, #a4ffb0 51%, #3fcaff 100%); background-size: 200% auto;
  color: #222 !important; padding: 0 24px; line-height: 44px; font-size: 12px; letter-spacing: 1px;
  font-weight: 700; text-transform: uppercase; transition: background-position .3s; }
.ip_btn:hover { background-position: right center; color: #22195e !important; }

/* ---------- Cartes de section ---------- */
.ip_card { background: #fff; border: 1px solid #e6e4f2; scroll-margin-top: 100px; }
.ip_card_head { display: flex; align-items: center; gap: 18px; padding: 24px 36px; border-bottom: 1px solid #e6e4f2; }
.ip_num { width: 44px; height: 44px; flex: none; background: linear-gradient(135deg, #3fcaff, #a4ffb0);
  color: #22195e; display: flex; align-items: center; justify-content: center;
  font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 18px; }
.ip_card_head h2 { margin: 0; font-family: "Rajdhani", sans-serif; font-size: 28px; text-transform: uppercase; color: #22195e; }
.ip_card_body { padding: 32px 36px; }
.ip_label { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #5d5d6b; margin-bottom: 16px; }
.ip_note { font-size: 13px; color: #5d5d6b; font-weight: 400; margin: 16px 0 0; }

/* 01 — L'essentiel */
.ip_dl { margin: 0; padding: 12px 36px 24px; display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); column-gap: 24px; }
.ip_dl dt, .ip_dl dd { padding: 16px 0; border-bottom: 1px dashed #d4d2e3; margin: 0; }
.ip_dl dt { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #5d5d6b; font-weight: 500; }
.ip_dl dd { font-size: 16px; color: #22195e; }
.ip_dl dt:nth-last-of-type(1), .ip_dl dd:last-of-type { border-bottom: none; }

/* 02 — Inscription */
.ip_grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.ip_prices { display: flex; gap: 16px; }
.ip_price { flex: 1; background: #22195e; color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.ip_price span { font-size: 13px; color: #d8d5f0; }
.ip_price strong { font-family: "Rajdhani", sans-serif; font-size: 40px; line-height: 1; }
.ip_tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.ip_tier { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.ip_tier strong { font-family: "Rajdhani", sans-serif; font-size: 20px; color: #22195e; }
.ip_tier div { background: linear-gradient(to top, #3fcaff, #a4ffb0); }
.ip_tier span { font-size: 12px; color: #5d5d6b; }

/* 03 — Programme */
.ip_step { display: flex; gap: 24px; padding: 0 0 20px 24px; border-left: 2px solid #3fcaff; }
.ip_step + .ip_step { border-left-color: #a4ffb0; padding-bottom: 4px; }
.ip_step strong { font-family: "Rajdhani", sans-serif; font-size: 18px; min-width: 120px; color: #22195e; }
.ip_step span { font-weight: 400; color: #3a3a48; }

/* 04 — Documents / 06 — FAQ : lignes */
.ip_rows { padding: 12px 36px 20px; display: flex; flex-direction: column; }
.ip_row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px dashed #d4d2e3; }
.ip_row:last-child { border-bottom: none; }
.ip_row_text { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; }
.ip_row_text strong { font-family: "Rajdhani", sans-serif; font-size: 19px; color: #22195e; }
.ip_row_text span { font-size: 13px; color: #5d5d6b; font-weight: 400; }
.ip_faq { flex-direction: column; align-items: flex-start; gap: 8px; }
.ip_faq h3 { margin: 0; font-family: "Rajdhani", sans-serif; font-size: 20px; color: #22195e; }
.ip_faq p { margin: 0; color: #5d5d6b; font-weight: 400; }

/* 05 — Accès */
.ip_access { display: flex; flex-wrap: wrap; gap: 32px; }
.ip_access_info { flex: 1 1 260px; display: flex; flex-direction: column; gap: 18px; }
.ip_access_info p { margin: 0; font-size: 16px; line-height: 26px; color: #22195e; }
.ip_line { display: flex; gap: 14px; align-items: center; font-weight: 400; color: #22195e; }
.ip_badge { width: 36px; height: 36px; flex: none; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #22195e; }
.ip_badge.metro { background: #3fcaff; }
.ip_badge.tram { background: #a4ffb0; }
.ip_access .ip_btn { align-self: flex-start; }
#map-edhec { flex: 1 1 320px; min-height: 300px; height: auto; margin: 0; border-radius: 0; z-index: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .ip_aside { position: static; max-width: none; }
}
@media (max-width: 575px) {
  .ip_card_head, .ip_card_body { padding-left: 20px; padding-right: 20px; }
  .ip_dl, .ip_rows { padding-left: 20px; padding-right: 20px; }
  .ip_dl { grid-template-columns: 1fr; }
  .ip_dl dt { border-bottom: none; padding-bottom: 0; }
  .ip_step { flex-direction: column; gap: 4px; }
}
