/* ============================================================
   BLOC MODALITÉS FORMATIONS — shokola_modalites
   Réf. maquette : _claude/shokola-formations-modalites.html
   (section « INFOS PRATIQUES / MODALITÉS »).
   Tout est scopé sous .shk-mo. Tokens : alias framework Kakao
   (--ink, --magenta, --cyan, --paper, --line, --mono, --serif…).
   ============================================================ */
.shk-mo {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
}

/* ---------- Hero ---------- */
.shk-mo-hero {
    position: relative;
    padding: 150px 0 clamp(30px, 4vw, 48px);
    overflow: hidden;
}
.shk-mo-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .4;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 78%);
            mask-image: radial-gradient(circle at 70% 30%, #000, transparent 78%);
    pointer-events: none;
}
.shk-mo-hero-in {
    position: relative;
    z-index: 1;
}
.shk-mo-title {
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: .98;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    max-width: 18ch;
    margin: 16px 0 20px;
}
.shk-mo-title em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--magenta);
}
.shk-mo-hero-in .shk-lead {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    color: var(--ink-2);
    max-width: 62ch;
    line-height: 1.6;
}

/* ---------- Bandeau organisme ---------- */
.shk-mo-id {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    margin-top: clamp(30px, 4vw, 44px);
}
.shk-mo-idc {
    background: var(--paper);
    padding: 20px 22px;
}
.shk-mo-idc .l {
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 7px;
}
.shk-mo-idc .v {
    font-weight: 700;
    font-size: .98rem;
    letter-spacing: -.01em;
    line-height: 1.3;
    word-break: break-word;
}
.shk-mo-idc .v small {
    display: block;
    font-family: var(--mono);
    font-weight: 400;
    font-size: .7rem;
    color: var(--ink-soft);
    margin-top: 4px;
}
.shk-mo-idc a:hover { color: var(--magenta); }

/* ---------- Corps + sommaire collant ---------- */
.shk-mo-body {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: clamp(30px, 5vw, 72px);
    align-items: start;
    padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 8vw, 110px);
}
.shk-mo-toc {
    position: sticky;
    top: calc(var(--header-height, 90px) + 16px);
}
.shk-mo-toc .ct {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 14px;
}
.shk-mo-toc a {
    display: block;
    padding: 9px 0 9px 14px;
    border-left: 2px solid var(--line);
    font-size: .92rem;
    color: var(--ink-soft);
    transition: .25s;
}
.shk-mo-toc a:hover {
    border-color: var(--magenta);
    color: var(--ink);
    padding-left: 18px;
}

/* ---------- Sections ---------- */
.shk-mo-sec {
    margin-bottom: clamp(42px, 5.5vw, 66px);
    scroll-margin-top: calc(var(--header-height, 90px) + 20px);
}
.shk-mo-sec > .k {
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--magenta);
    display: block;
    margin-bottom: 12px;
}
.shk-mo-sec h2 {
    font-weight: 800;
    letter-spacing: -.03em;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    margin-bottom: 18px;
    line-height: 1.06;
}
.shk-mo-sec p {
    font-size: 1.04rem;
    line-height: 1.7;
    color: var(--ink-2);
    margin-bottom: 14px;
    max-width: 72ch;
}
.shk-mo-sec p b { color: var(--ink); }

/* Cartes formats */
.shk-mo-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 6px;
}
.shk-mo-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: clamp(22px, 2.3vw, 28px);
    background: var(--paper);
}
.shk-mo-card h3 {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -.02em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.shk-mo-card h3 i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
}
.shk-mo-card p {
    font-size: .96rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0;
    max-width: none;
}

/* Timeline */
.shk-mo-tl {
    display: grid;
    margin-top: 8px;
}
.shk-mo-tr {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.shk-mo-tr:last-child { border-bottom: 1px solid var(--line); }
.shk-mo-tr .h {
    font-family: var(--mono);
    font-size: .84rem;
    color: var(--cyan);
    padding-top: 2px;
}
.shk-mo-tr.pause .h { color: var(--ink-soft); }
.shk-mo-tr .t { font-weight: 600; }
.shk-mo-tr.pause .t { font-weight: 400; color: var(--ink-soft); }

/* Étapes OPCO */
.shk-mo-steps {
    display: grid;
    gap: 2px;
    margin-top: 6px;
}
.shk-mo-st {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.shk-mo-st:last-child { border-bottom: 1px solid var(--line); }
.shk-mo-st .n {
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--magenta);
    flex: none;
    padding-top: 3px;
}
.shk-mo-st .t { font-weight: 700; margin-bottom: 5px; }
.shk-mo-st .d {
    color: var(--ink-soft);
    font-size: .96rem;
    line-height: 1.55;
}
.shk-mo-st .d ul {
    list-style: none;
    margin-top: 8px;
    display: grid;
    gap: 6px;
    padding: 0;
}
.shk-mo-st .d ul li {
    position: relative;
    padding-left: 18px;
}
.shk-mo-st .d ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .65em;
    width: 9px;
    height: 1px;
    background: var(--ink-soft);
}

/* Alerte */
.shk-mo-alert {
    border: 1px solid var(--magenta);
    border-radius: 6px;
    padding: 22px 24px;
    background: rgba(230, 0, 126, .04);
    margin: 6px 0 22px;
}
.shk-mo-alert .k {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 8px;
}
.shk-mo-alert p { margin: 0; font-size: .99rem; color: var(--ink-2); }

/* Encart handicap (fond ink) */
.shk-mo-ink {
    background: var(--ink);
    color: var(--paper);
    border-radius: 10px;
    padding: clamp(26px, 3.4vw, 38px);
}
.shk-mo-ink h3 {
    font-weight: 800;
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    letter-spacing: -.02em;
    margin-bottom: 12px;
}
.shk-mo-ink p {
    color: rgba(251, 250, 246, .78);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 66ch;
}
.shk-mo-ink a.mail {
    font-family: var(--mono);
    font-size: .95rem;
    color: var(--cyan);
    border-bottom: 1px solid rgba(0, 159, 227, .4);
}
.shk-mo-ink a.mail:hover { color: var(--paper); border-color: var(--paper); }

/* Tableau annulation */
.shk-mo-tab {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
}
.shk-mo-tab th,
.shk-mo-tab td {
    text-align: left;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: .98rem;
}
.shk-mo-tab th {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 400;
}
.shk-mo-tab td:last-child { text-align: right; font-weight: 700; }
.shk-mo-tab tr:last-child td { color: var(--magenta); }

/* Documents */
.shk-mo-docs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}
.shk-mo-doc {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px 18px;
    background: var(--paper);
    transition: .3s;
    cursor: pointer;
}
.shk-mo-doc:hover { border-color: var(--ink); transform: translateY(-2px); }
.shk-mo-doc .ic {
    font-family: var(--mono);
    font-size: .64rem;
    letter-spacing: .06em;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 5px 8px;
    color: var(--magenta);
    flex: none;
}
.shk-mo-doc .nm { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.shk-mo-doc .sz {
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--ink-soft);
    margin-top: 2px;
}
.shk-mo-doc .dl {
    margin-left: auto;
    font-family: var(--mono);
    color: var(--ink-soft);
    transition: .3s;
}
.shk-mo-doc:hover .dl { color: var(--magenta); transform: translateY(2px); }

/* Accordéon CGV */
.shk-mo-acc { border-top: 1px solid var(--line); }
.shk-mo-ai { border-bottom: 1px solid var(--line); }
.shk-mo-ah {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}
.shk-mo-ah:hover { color: var(--magenta); }
.shk-mo-ah .num {
    font-family: var(--mono);
    font-size: .76rem;
    color: var(--ink-soft);
    flex: none;
    margin-right: 14px;
}
.shk-mo-ah .pm {
    font-family: var(--mono);
    font-size: 1.1rem;
    flex: none;
    transition: transform .35s;
}
.shk-mo-ai.open .shk-mo-ah .pm { transform: rotate(45deg); color: var(--magenta); }
.shk-mo-ac {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4, 0, .2, 1);
}
.shk-mo-ac-in {
    padding: 0 0 22px;
    color: var(--ink-soft);
    font-size: .98rem;
    line-height: 1.65;
    max-width: 74ch;
}
.shk-mo-ac-in ul {
    list-style: none;
    display: grid;
    gap: 7px;
    margin-top: 10px;
    padding: 0;
}
.shk-mo-ac-in ul li { position: relative; padding-left: 18px; }
.shk-mo-ac-in ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .68em;
    width: 9px;
    height: 1px;
    background: var(--magenta);
}

/* CTA final */
.shk-mo-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.shk-mo-cta h3 { margin-bottom: 8px; }
.shk-mo-cta p { margin: 0; }
.shk-mo-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .04em;
    padding: 16px 24px;
    border-radius: 2px;
    background: var(--paper);
    color: var(--ink);
    white-space: nowrap;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s;
}
.shk-mo-btn .arrow { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.shk-mo-btn:hover { background: var(--magenta); color: #fff; }
.shk-mo-btn:hover .arrow { transform: translateX(5px); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .shk-mo-id { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .shk-mo-body { grid-template-columns: 1fr; }
    .shk-mo-toc { position: static; display: none; }
}
@media (max-width: 680px) {
    .shk-mo-duo,
    .shk-mo-docs { grid-template-columns: 1fr; }
    .shk-mo-tr { grid-template-columns: 1fr; gap: 4px; }
    .shk-mo-cta { grid-template-columns: 1fr; }
}
