body { min-height: 100vh; display: flex; flex-direction: column; background: #FFFFFF; }
.top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; max-width: 1040px; width: 100%; margin: 0 auto; padding: 22px 24px 0; }
.brand img { height: 32px; width: auto; }
.brand img:not(.only-light):not(.only-dark), .brand img.only-light { display: block; }
:root[data-theme="dark"] .brand img.only-light { display: none; } :root[data-theme="dark"] .brand img.only-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img.only-light { display: none; } :root:not([data-theme="light"]) .brand img.only-dark { display: block; } }
.wrap { position: relative; z-index: 1; max-width: 1040px; width: 100%; margin: 0 auto; padding: 32px 24px 80px; flex: 1; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: center; margin-bottom: 56px; padding: 40px; border-radius: 24px; background: var(--mint) url(/assets/fonds/hero-formations.webp) right -80px top / cover no-repeat; }
.intro-art { width: 100%; height: auto; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; padding: 28px 22px; } .intro-art { max-width: 280px; justify-self: center; } }
.top-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--mint); }
.intro h1 { font-size: clamp(32px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; margin: 16px 0 14px; }
.lead { font-size: 17.5px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.promises { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.promises li { display: flex; gap: 7px; align-items: center; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.promises .ic { color: var(--accent-ink); width: 18px; height: 18px; }

.list-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.list-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.list { display: flex; flex-direction: column; gap: 12px; }

.session { display: flex; gap: 20px; padding: 20px; align-items: flex-start; transition: box-shadow .15s, transform .15s; }
.session:not(.sk-card):hover { box-shadow: var(--shadow-1), 0 0 0 1px var(--line-strong); }
.session .body { flex: 1; min-width: 0; }
.session h3 { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.012em; line-height: 1.3; }
.session .desc { color: var(--ink-2); margin-top: 6px; line-height: 1.55; max-width: 64ch; }
.session .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.session .cta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.session .left { font-size: 12.5px; font-weight: 600; color: var(--warning); }
.session.full { opacity: .75; }
@media (max-width: 680px) {
  .session { flex-wrap: wrap; gap: 14px; }
  .session .cta { width: 100%; align-items: stretch; }
  .session .cta .btn { width: 100%; }
}

.recap { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); box-shadow: 0 0 0 1px var(--line); }
.recap strong { display: block; font-size: 15px; line-height: 1.35; }
.recap span { font-size: 13.5px; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 14px; }
.privacy { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.hp { position: absolute; left: -9999px; }

.done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0; }
.done .illu { width: 220px; height: auto; }
.done h3 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.done p { color: var(--ink-2); max-width: 40ch; line-height: 1.55; }
.done .mail { font-weight: 700; color: var(--ink); word-break: break-all; }
.steps { text-align: left; width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.steps div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); box-shadow: 0 0 0 1px var(--line); font-size: 14px; line-height: 1.45; }
.steps .ic { color: var(--accent-ink); margin-top: 1px; }

.foot { position: relative; z-index: 1; max-width: 1040px; width: 100%; margin: 0 auto; padding: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); }

/* Prochaine session mise en avant */
.list .session.vedette { padding: 26px 24px; background: #fff url(/assets/fonds/carte-session-vedette.webp) right bottom / auto 100% no-repeat; box-shadow: 0 0 0 1px var(--line-strong); }
.session.vedette h3 { font-size: 21px; }
.vedette-tag { display: inline-block; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); }

/* Comment ça se passe */
.etapes { margin-top: 64px; }
.etapes h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 22px; }
.etapes ol { list-style: none; margin: 0; padding: 0 5%; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.etapes ol::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 40px; background: url(/assets/fonds/section-etapes.webp) center / 100% auto no-repeat; }
.etapes li { position: relative; text-align: center; padding: 0 14px; }
.etapes .num { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; background: var(--mint); color: var(--ink); font: 700 16px/1 var(--font-data); box-shadow: 0 0 0 1px var(--line-strong); }
.etapes li:first-child .num { background: var(--accent); }
.etapes h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.etapes p { color: var(--ink-2); line-height: 1.55; font-size: 14.5px; }
@media (max-width: 720px) {
  .etapes ol { grid-template-columns: 1fr; gap: 22px; padding: 0; }
  .etapes ol::before { display: none; }
  .etapes li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; text-align: left; padding: 0; }
  .etapes .num { margin: 0; grid-row: span 2; }
}
@media (max-width: 820px) { .intro, .list .session.vedette { background-image: none; } .list .session.vedette { background-color: #fff; } }
