/* ==========================================================================
   Page /formations-ia-bim (refonte "Calques", octobre 2026)
   Composants communs dans site.css (planches, cartes a sous-grille
   .grid-rows-3, liste a coches, citations, FAQ, CTA). Ici : la mise en page
   propre a la page.
   ========================================================================== */

/* ---------- Le principe ---------- */
.principe { display: grid; gap: 20px; }
.principe h2 { margin: 0; }
.principe-text > p { max-width: 64ch; }
.principe-lead { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--navy); }
.principe-head .principe-price { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--rule-strong); color: var(--navy); max-width: 34ch; }
@media (min-width: 960px) {
  .principe { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
}

/* ---------- Modules : une planche par module ---------- */
.module + .module { margin-top: clamp(32px, 4vw, 48px); }
.module:first-child { margin-top: 0; }
.module .sheet-art { display: flex; align-items: center; justify-content: center; }
/* Quadrillage derriere le texte, fond blanc cote vignette et conditions */
.module .sheet-art { background: var(--bg); }
.module .sheet-body {
  background:
    linear-gradient(rgba(14, 44, 80, 0.07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(14, 44, 80, 0.07) 1px, transparent 1px) 0 0 / 24px 24px;
  background-color: #F7FAFC;
}
.module .sheet-art img { width: 100%; height: auto; background: var(--bg); }
.module .sheet-body h2 {
  margin: 0; max-width: 28ch;
  font-family: var(--font); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15;
}
.module .sheet-body > p.mod-intro { color: var(--navy); font-weight: 500; }
.module .sheet-body > p:not(.mod-intro) { color: var(--text-muted); }
.module .sheet-block { grid-template-columns: minmax(0, 1fr); }
.mod-terms { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }
.mod-terms strong { color: var(--navy); font-size: 1.0625rem; }
.module .sheet-block .btn-group { margin-top: 10px; }
.module .sheet-block .btn { margin-top: 0; }
@media (min-width: 960px) {
  /* Le texte sur toute la hauteur a gauche ; a droite, la vignette puis
     les conditions et les boutons */
  .module { grid-template-columns: minmax(0, 9fr) minmax(0, 10fr); grid-template-areas: "body art" "body block"; }
  .module .sheet-body { border-right: 1.5px solid var(--navy); }
  .module .sheet-block { grid-template-columns: minmax(0, 1fr); }
  .module .sheet-art { padding: 32px; border-right: 0; }
}

/* ---------- Packs ---------- */
.packs-title { margin-top: 0; }
.packs > .card > p:last-child { padding-top: 14px; border-top: 1px solid var(--rule); color: var(--navy); }
.packs > .card > p:last-child strong { font-weight: 600; }
.pack-terms { display: grid; gap: 18px; margin-top: 36px; padding-top: 22px; border-top: 1.5px solid var(--navy); }
.pack-terms p { margin: 0; color: var(--text-muted); font-size: 0.9688rem; max-width: 48ch; }
.pack-terms p > strong:first-child { display: block; margin-bottom: 4px; font-size: 0.875rem; color: var(--navy); }
@media (min-width: 900px) { .pack-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } }
.pack-terms + .btn-group { margin-top: 32px; }

/* ---------- Sessions et retours ---------- */
.sessions { display: grid; gap: 36px; }
.sessions-text h2 { margin-top: 0; }
.sessions-text p { max-width: 60ch; }
.sessions-photos { display: grid; gap: 16px; justify-items: start; }
.sessions-photos img { width: 100%; max-width: 375px; padding: 6px; background: var(--bg); }
@media (min-width: 960px) {
  .sessions { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: start; }
  .sessions-photos { justify-items: end; }
}
.voices { margin-top: clamp(56px, 7vw, 96px); padding-top: 36px; border-top: 1px solid var(--rule-strong); }
.voices h2 { margin-top: 0; }
@media (min-width: 1000px) { .quotes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* ---------- Pourquoi un praticien ---------- */
.pourquoi { display: grid; gap: 28px; }
.pourquoi-text p { max-width: 64ch; }
.pourquoi-text .more { margin: 24px 0 0; }
@media (min-width: 960px) { .pourquoi { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 72px; align-items: start; } }

/* ---------- FAQ : titre a gauche, accordeon a droite ---------- */
.faq { display: grid; gap: 32px; }
.faq-title { margin: 0; max-width: 16ch; }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  .faq-title { position: sticky; top: calc(var(--bar) + 32px); }
}

/* ---------- Aller plus loin, puis CTA ---------- */
.sec-head > h2 { margin: 0; }
.guides .card h3 { font-size: 1rem; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; }
.guides .card p { margin: 0; }
.guides .card p a { font-weight: 600; }
.guides + .cta { margin-top: clamp(48px, 6vw, 80px); }
