/* CGT 06 V5 — calendrier compact, groupes mensuels et fiches déroulantes. */
.cgt06-formations-module{--cgt-red:#cf142b;--cgt-text:#202126;--cgt-border:#e6e6e9;--cgt-muted:#63666d;color:var(--cgt-text);font-family:inherit;margin:1.5rem 0 2rem}
.cgt06-formations-module *{box-sizing:border-box}
.cgt06-fm-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin:0 0 1.25rem}
.cgt06-fm-intro h2{font-size:clamp(1.6rem,3vw,2.25rem);letter-spacing:-.035em;margin:.15rem 0 .3rem;line-height:1.1;color:var(--cgt-text)}
.cgt06-fm-intro p{margin:.1rem 0;line-height:1.5;color:var(--cgt-muted)}
.cgt06-fm-intro .cgt06-fm-eyebrow{color:var(--cgt-red);font-weight:800;text-transform:uppercase;letter-spacing:.13em;font-size:.75rem}
.cgt06-fm-count{white-space:nowrap;font-size:.83rem;border:1px solid var(--cgt-border);padding:.45rem .8rem;border-radius:50px;font-weight:700}
.cgt06-fm-filters{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:.75rem;align-items:end;padding:1rem;background:#f7f7f8;border:1px solid var(--cgt-border);border-radius:14px;margin-bottom:1.2rem}
.cgt06-fm-filters:not([hidden]){display:grid}
.cgt06-fm-filters label{font-weight:700;display:flex;flex-direction:column;gap:.4rem;font-size:.85rem;color:#32343a}
.cgt06-fm-filters input,.cgt06-fm-filters select{appearance:auto;min-width:0;max-width:100%;width:100%;background:white;border:1px solid #d9d9df;color:var(--cgt-text);border-radius:9px;padding:.75rem .7rem;font:inherit;min-height:45px}
.cgt06-fm-filters .cgt06-fm-reset{font:inherit;font-size:.86rem;font-weight:700;background:#fff;color:#a50e1d;border:1px solid #dfb6bc;border-radius:9px;padding:.68rem .8rem;min-height:45px;cursor:pointer}
.cgt06-formations-module button:focus-visible,.cgt06-formations-module select:focus-visible,.cgt06-formations-module input:focus-visible,.cgt06-formations-module summary:focus-visible,.cgt06-fm-actions a:focus-visible{outline:3px solid #1d6ff0;outline-offset:3px}
.cgt06-fm-list{display:flex;flex-direction:column;gap:1.3rem}
.cgt06-fm-month-group[hidden],.cgt06-fm-entry[hidden],.cgt06-fm-more-container[hidden],.cgt06-fm-more[hidden],.cgt06-fm-filters[hidden],.cgt06-fm-empty[hidden]{display:none!important}
.cgt06-fm-month-heading{font-size:1.2rem!important;line-height:1.3!important;letter-spacing:-.02em;font-weight:850!important;margin:0 0 .65rem!important;color:#2b2c31!important;text-transform:capitalize}
.cgt06-fm-month-entries{display:flex;flex-direction:column;gap:.55rem}
.cgt06-fm-entry{border:1px solid var(--cgt-border);background:#fff;border-radius:12px;box-shadow:0 3px 14px rgba(0,0,0,.025);overflow:hidden}
.cgt06-fm-entry[open]{border-color:#e4b6bf;box-shadow:0 6px 20px rgba(80,0,0,.045)}
.cgt06-fm-entry-summary{cursor:pointer;display:flex;align-items:center;gap:1rem;padding:.85rem 1rem;list-style:none;min-width:0}
.cgt06-fm-entry-summary::-webkit-details-marker{display:none}
.cgt06-fm-entry-summary::marker{content:''}
.cgt06-fm-entry-summary:hover{background:#fff9fa}
.cgt06-fm-date{background:#fff0f2;color:#b21026;border-radius:10px;min-width:60px;padding:.42rem .25rem;text-align:center;display:flex;flex-direction:column;gap:.08rem;text-transform:capitalize;font-size:.69rem;font-weight:800;line-height:1.2;flex-shrink:0}
.cgt06-fm-date-day{font-size:1.45rem;line-height:1.05;font-weight:900}
.cgt06-fm-entry-main{display:flex;flex-direction:column;flex:1;min-width:0;gap:.28rem}
.cgt06-fm-entry-title{font-size:1.02rem;line-height:1.3;font-weight:800;color:#202126;overflow-wrap:anywhere}
.cgt06-fm-period{font-size:.82rem;color:#62646a;line-height:1.4}
.cgt06-fm-pills{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:flex-end;max-width:35%}
.cgt06-fm-type,.cgt06-fm-status{border-radius:100px;padding:.3rem .52rem;font-size:.68rem;font-weight:800;line-height:1.2;white-space:nowrap}
.cgt06-fm-type{background:#f1f1f3;color:#44464b}
.cgt06-fm-status.cgt06-fm-confirmee{background:#e6f6eb;color:#126333}
.cgt06-fm-status.cgt06-fm-a_confirmer{background:#fff3d8;color:#825300}
.cgt06-fm-status.cgt06-fm-annulee{background:#fae1e4;color:#a51223}
.cgt06-fm-chevron{margin-left:.35rem;width:.62rem;height:.62rem;flex-shrink:0;border-right:2px solid #7b7d84;border-bottom:2px solid #7b7d84;transform:rotate(45deg);transition:transform .18s}
.cgt06-fm-entry[open]>.cgt06-fm-entry-summary .cgt06-fm-chevron{transform:rotate(225deg)}
.cgt06-fm-entry-details{margin:0 1rem 1rem 5.75rem;border-top:1px solid var(--cgt-border);padding-top:.65rem}
.cgt06-fm-meta{display:flex;flex-wrap:wrap;gap:.35rem 1.2rem;font-size:.83rem;color:#62646a;line-height:1.5}
.cgt06-fm-meta strong{color:#303138}
.cgt06-fm-description{font-size:.88rem;line-height:1.65;color:#4d4f57;margin:.8rem 0 0;overflow-wrap:anywhere}
.cgt06-fm-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.9rem;align-items:center}
.cgt06-fm-actions a{font-size:.83rem;font-weight:800;border-radius:9px;text-decoration:none!important;line-height:1.25;padding:.7rem .85rem;display:inline-flex;gap:.3rem;align-items:center}
.cgt06-fm-actions .cgt06-fm-link{color:#b20c20;border:1px solid #eabac0;background:#fff}
.cgt06-fm-actions .cgt06-fm-cta{color:white;background:var(--cgt-red);border:1px solid var(--cgt-red)}
.cgt06-fm-more-container{text-align:center;display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-top:1.3rem}
.cgt06-fm-progress{font-size:.8rem;color:var(--cgt-muted);margin:0}
.cgt06-fm-more{border:1px solid #dfb6bc;background:#fff8f9;color:#b00c25;border-radius:10px;padding:.75rem 1.2rem;font:inherit;font-size:.9rem;font-weight:800;cursor:pointer}
.cgt06-fm-more:hover{background:#ffeef1}
.cgt06-fm-empty,.cgt06-fm-no-data{border:1px dashed #dfc1c6;border-radius:12px;background:#fff8f9;padding:1.2rem 1.4rem;line-height:1.5;color:#5c4348}
/* V4 archives maintenues, sans mutation des publications. */
.cgt06-fm-archives-toggle{margin:1.25rem 0 2rem;border:1px solid var(--cgt-border,#e6e6e9);border-radius:16px;background:#fff;padding:0 1rem}
.cgt06-fm-archives-toggle>summary{cursor:pointer;padding:1rem .25rem;font-weight:800;color:#a80d22;line-height:1.5}
.cgt06-fm-archives-toggle>summary:focus-visible{outline:3px solid #1d6ff0;outline-offset:2px}
.cgt06-fm-archives-toggle[open]>summary{border-bottom:1px solid #ececf0}
.cgt06-fm-archives-toggle>.cgt06-formations-module{margin:1rem 0 1.5rem}
.cgt06-fm-archives-toggle>.cgt06-formations-module .cgt06-fm-eyebrow{display:none}
@media(max-width:900px){.cgt06-fm-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cgt06-fm-pills{max-width:42%}}
@media(max-width:600px){.cgt06-fm-intro{flex-direction:column;align-items:flex-start}.cgt06-fm-filters{grid-template-columns:1fr;padding:.9rem}.cgt06-fm-entry-summary{gap:.7rem;padding:.75rem}.cgt06-fm-date{min-width:48px}.cgt06-fm-date-day{font-size:1.25rem}.cgt06-fm-entry-title{font-size:.94rem}.cgt06-fm-entry-summary{flex-wrap:wrap}.cgt06-fm-entry-main{flex-basis:calc(100% - 85px)}.cgt06-fm-pills{flex:1 1 100%;max-width:none;justify-content:flex-start;padding-left:calc(48px + .7rem)}.cgt06-fm-chevron{margin-left:auto}.cgt06-fm-entry-details{margin:0 .75rem .9rem;padding-top:.75rem}.cgt06-fm-actions{flex-direction:column;align-items:stretch}.cgt06-fm-actions a{justify-content:center;text-align:center}.cgt06-fm-meta{flex-direction:column;gap:.25rem}}
@media(prefers-reduced-motion:reduce){.cgt06-fm-chevron{transition:none}}
