/* ===== FORMATIONS : composants ajoutés ===== */
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: white; }
.btn-light { background: white; color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.chooser { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }
.chooser-label { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); margin-right: 6px; }
.chip-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 50px; font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--ink); background: white; transition: .25s; }
.chip-link i { color: var(--teal); }
.chip-link:hover { border-color: var(--teal); background: var(--sand); transform: translateY(-2px); }
.sec-title { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 8px; }
.sec-sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 30px; max-width: 560px; }
.course-tile { display: flex; flex-direction: column; }
.course-tile-body { display: flex; flex-direction: column; flex-grow: 1; }
.course-num { position: absolute; top: 16px; right: 22px; font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.7); }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; flex-wrap: wrap; }
.course-tile .course-instructor { margin-bottom: 0; }
.course-price { font-family: 'Fraunces', serif; font-size: 25px; color: var(--ink); line-height: 1.1; }
.course-price small { display: block; font-family: 'Montserrat', sans-serif; font-size: 10.5px; color: var(--ink-soft); font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 2px; }
.course-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.course-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .course-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .course-grid.three { grid-template-columns: 1fr; } }
.course-grid.three .course-thumb { height: 130px; }
.bundle { background: linear-gradient(135deg, var(--ink), #0F3B47); border-radius: 22px; padding: 44px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; margin: 34px 0 0; position: relative; overflow: hidden; }
.bundle .eyebrow { color: var(--amber); margin-bottom: 12px; }
.bundle h3 { color: white; font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.bundle p { color: rgba(255,255,255,.72); font-size: 14.5px; margin-bottom: 0; }
.bundle-price { text-align: right; }
.bundle-price strong { font-family: 'Fraunces', serif; font-size: 40px; color: white; display: block; font-weight: 500; line-height: 1.1; }
.bundle-price .was { color: rgba(255,255,255,.55); font-size: 13px; margin-bottom: 18px; display: block; }
.bundle-price .was s { color: rgba(255,255,255,.55); }
@media (max-width: 800px) { .bundle { grid-template-columns: 1fr; padding: 32px 26px; } .bundle-price { text-align: left; } }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .how-grid { grid-template-columns: 1fr; } }
.how-step { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.how-num { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin-bottom: 16px; }
.how-step h3 { font-size: 17px; margin-bottom: 8px; }
.how-step p { font-size: 13.5px; color: var(--ink-soft); }

/* Fiche formation */
.course-hero .hero-grid { grid-template-columns: 1.35fr 1fr; align-items: start; }
.course-hero h1 { font-size: clamp(32px, 4.6vw, 54px); }
@media (max-width: 980px) { .course-hero .hero-grid { grid-template-columns: 1fr; gap: 34px; } }
.foot-col a { overflow-wrap: anywhere; }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.meta-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); padding: 8px 14px; border-radius: 50px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.9); }
.meta-chip i { color: var(--teal-lt); }
.buy-card { background: white; color: var(--ink); border-radius: 20px; padding: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.buy-tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.buy-price { font-family: 'Fraunces', serif; font-size: 40px; line-height: 1.1; margin-bottom: 4px; }
.buy-sub { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 20px; }
.buy-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.buy-list { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.buy-list h4 { font-family: 'Montserrat', sans-serif; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); margin-bottom: 12px; }
.buy-list li { display: flex; gap: 10px; font-size: 13px; margin-bottom: 9px; }
.buy-list li i { color: var(--teal); margin-top: 4px; width: 14px; flex-shrink: 0; }
.mobile-buy { display: none; }
@media (max-width: 980px) {
  .mobile-buy { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid var(--line); padding: 12px 6vw; align-items: center; justify-content: space-between; gap: 14px; z-index: 450; box-shadow: 0 -10px 30px rgba(11,46,56,.1); }
  .mobile-buy .course-price { font-size: 22px; }
  body.has-mobile-buy { padding-bottom: 76px; }
  body.has-mobile-buy .wa-float { bottom: 92px; }
}
.panel { border: 1px solid var(--line); border-radius: 20px; padding: 36px; background: white; }
.panel h2 { font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 22px; }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 34px; }
@media (max-width: 760px) { .learn-grid { grid-template-columns: 1fr; } .panel { padding: 26px; } }
.learn-item { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.55; }
.learn-item i { color: var(--teal); margin-top: 5px; flex-shrink: 0; }
.note-line { margin-top: 24px; padding: 16px 18px; background: var(--sand); border-radius: 12px; font-size: 13px; color: var(--ink-soft); display: flex; gap: 12px; }
.note-line i { color: var(--teal); margin-top: 3px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.plain-list li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 10px; color: var(--ink-soft); }
.plain-list li i { color: var(--teal); font-size: 7px; margin-top: 8px; }
.curr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.curr-head h2 { margin-bottom: 6px; }
.curr-meta { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.curr-toggle { background: none; border: none; color: var(--teal); font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; }
.mod { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: white; overflow: hidden; }
.mod-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 15px; }
.mod-head .mod-info { font-size: 12px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; margin-left: auto; }
.mod-head i.chev { color: var(--teal); transition: .3s; }
.mod.open .mod-head i.chev { transform: rotate(180deg); }
.mod-body { display: none; border-top: 1px solid var(--line); }
.mod.open .mod-body { display: block; }
.les { display: flex; align-items: center; gap: 14px; padding: 13px 22px; font-size: 14px; border-bottom: 1px solid #F0EEE7; }
.les:last-child { border-bottom: none; }
.les i { color: var(--teal); width: 16px; text-align: center; flex-shrink: 0; }
.les .les-t { flex-grow: 1; }
.les .les-d { font-size: 12px; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.les.demo i { color: var(--amber); }
.tag-demo { font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; background: rgba(232,135,58,.14); color: var(--amber); padding: 3px 9px; border-radius: 50px; margin-left: 8px; white-space: nowrap; }
.teacher { display: grid; grid-template-columns: 170px 1fr; gap: 30px; align-items: center; }
.teacher img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; border: 4px solid var(--sand); }
@media (max-width: 640px) { .teacher { grid-template-columns: 1fr; } }
.teacher h3 { font-size: 22px; margin-bottom: 2px; }
.teacher .role { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.teacher p { color: var(--ink-soft); font-size: 14.5px; }
.bonus-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bonus-row:last-child { border-bottom: none; padding-bottom: 0; }
.bonus-row .bi { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--amber), #F2A968); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bonus-row b { display: block; font-size: 15px; margin-bottom: 3px; }
.bonus-row span { font-size: 13.5px; color: var(--ink-soft); }
.stack > * + * { margin-top: 28px; }

/* Page de commande */
.checkout-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
@media (max-width: 940px) { .checkout-wrap { grid-template-columns: 1fr; } .summary { order: -1; position: static !important; } }
.co-card { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: 0 20px 50px rgba(11,46,56,.06); }
@media (max-width: 560px) { .co-card { padding: 24px 20px; } }
.co-step { display: flex; align-items: center; gap: 12px; margin: 30px 0 18px; }
.co-step:first-child { margin-top: 4px; }
.co-faq .faq-wrap { max-width: none; }
.co-step b { width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.co-step h2 { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 800; }
.offer-opt, .pay-opt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; margin-bottom: 10px; transition: .2s; background: white; }
.offer-opt:hover, .pay-opt:hover { border-color: var(--teal); }
.offer-opt input, .pay-opt input { accent-color: var(--teal); width: 18px; height: 18px; flex-shrink: 0; }
.offer-opt.sel, .pay-opt.sel { border-color: var(--teal); background: #F3FAF8; box-shadow: 0 0 0 3px rgba(31,138,122,.1); }
.opt-main { flex-grow: 1; }
.opt-main b { display: block; font-size: 14px; }
.opt-main span { font-size: 12.5px; color: var(--ink-soft); }
.opt-price { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; white-space: nowrap; }
.pay-dot { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; font-size: 10px; flex-shrink: 0; }
.pay-dot.mtn { background: #FFCC00; color: #1a1a1a; }
.pay-dot.orange { background: #FF7900; }
.pay-dot.other { background: var(--ink); }
.co-note { display: flex; gap: 12px; background: var(--sand); border-radius: 12px; padding: 14px 16px; font-size: 12.5px; color: var(--ink-soft); margin: 6px 0 20px; }
.co-note i { color: var(--teal); margin-top: 3px; }
.phone-row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.form-field .err { color: var(--red); font-size: 12px; margin-top: 6px; display: none; text-transform: none; letter-spacing: 0; font-weight: 600; }
.form-field.bad input, .form-field.bad select { border-color: var(--red); }
.form-field.bad .err { display: block; }
.summary { position: sticky; top: 100px; }
.sum-card { background: white; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(11,46,56,.06); }
.sum-head { background: linear-gradient(135deg, var(--ink), #0F3B47); padding: 22px 26px; }
.sum-head small { color: var(--amber); font-weight: 800; letter-spacing: 1.5px; font-size: 10.5px; text-transform: uppercase; }
.sum-head h3 { color: white; font-size: 20px; margin-top: 6px; }
.sum-body { padding: 8px 26px 24px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.sum-total span { font-weight: 700; font-size: 14px; }
.sum-total strong { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 500; }
.sum-list li { display: flex; gap: 10px; font-size: 13px; margin-bottom: 9px; }
.sum-list li i { color: var(--teal); margin-top: 4px; flex-shrink: 0; }
.sum-secure { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 10px; }
.sum-secure i { color: var(--teal); margin-top: 3px; }
.confirm { display: none; }
.confirm.show { display: block; }
.confirm h2 { font-size: 26px; margin-bottom: 8px; }
.confirm .ref { display: inline-block; background: var(--sand); padding: 6px 14px; border-radius: 50px; font-weight: 800; font-size: 13px; letter-spacing: 1px; margin-bottom: 20px; }
.after-steps { margin: 20px 0; }
.after-steps li { display: flex; gap: 14px; margin-bottom: 14px; font-size: 14px; align-items: flex-start; }
.after-steps b.n { min-width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: white; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.msg-box { background: var(--sand); border-radius: 12px; padding: 16px; font-size: 13px; white-space: pre-wrap; margin: 14px 0 18px; }
.pay-info { background: #F3FAF8; border: 1.5px solid var(--teal); border-radius: 12px; padding: 16px 18px; margin: 14px 0; font-size: 14px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.co-faq { margin-top: 44px; }
.co-faq h2 { font-size: 24px; margin-bottom: 8px; }
