/* source-to-pay.ma : gabarit des pages modules (logique des sites de la famille E-Solution :
   illustration d'un côté, texte de l'autre, titre couleur marque, texte justifié, bouton centré) */
.stm{display:block;background:#fff}
.stm .container{max-width:1160px;margin:0 auto;padding:0 24px;box-sizing:border-box}
.stm-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.stm-grid.is-rev .stm-visual{order:-1}
.stm-hero{background:#f8f8f8;padding:72px 0}
.stm-hero .stm-visual{order:-1}
.stm-block{padding:80px 0}
.stm-block.is-grey{background:#f8f8f8}
.stm-block.is-white{background:#fff}
.stm-visual{display:flex;justify-content:center}
.stm-illus{width:100%;max-width:500px;height:auto}
.stm-crumb{font-size:13px;color:#5f6670;margin:0 0 14px;display:flex;flex-wrap:wrap;gap:6px}
.stm-crumb a{color:#5f6670;text-decoration:none}.stm-crumb a:hover{color:var(--stp-accent,#148573)}
.stm-crumb b{color:#123b37;font-weight:600}
.stm-hero h1{color:var(--stp-accent,#148573)!important;font-size:34px!important;line-height:1.25!important;font-weight:700!important;margin:0 0 20px}
.stm h2{color:var(--stp-accent,#148573)!important;font-size:28px!important;line-height:1.3!important;font-weight:700!important;margin:0 0 18px}
.stm-text p{font-size:16.5px;line-height:1.75;color:#444;text-align:justify;margin:0 0 14px}
.stm-list{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px}
.stm-list li{position:relative;padding-left:30px;font-size:15.5px;line-height:1.6;color:#444}
.stm-list li::before{content:"";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;background:#e3f3ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23148573' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.stm-list strong{color:#123b37;font-weight:600;display:block}
.stm-list span{display:block;text-align:justify}
.stm-cta{display:flex;justify-content:center;margin-top:28px}
.stm-btn{display:inline-block;background:var(--stp-accent,#148573);color:#fff!important;text-decoration:none;border-radius:999px;padding:13px 30px;font-weight:600;font-size:15px;transition:background .2s}
.stm-btn:hover{background:#0f6a5c}
.stm-btn.is-light{background:#fff;color:#123b37!important}
.stm-btn.is-light:hover{background:#e3f3ef}
.stm-related{padding:64px 0;background:#fff;text-align:center;border-top:1px solid #eef1f0}
.stm-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:8px}
.stm-chips a{border:1.5px solid #cfe4df;border-radius:999px;padding:9px 18px;color:#123b37;text-decoration:none;font-weight:500;font-size:14.5px;background:#fff}
.stm-chips a:hover{border-color:var(--stp-accent,#148573);color:var(--stp-accent,#148573)}
.stm-chips a.is-all{background:#e3f3ef;border-color:#e3f3ef;color:#0f6a5c}
.stm-final{background:#123b37;padding:64px 0;text-align:center;color:#d6e6e3}
.stm-final h2{color:#fff!important}
.stm-final p{margin:0 auto 26px;max-width:620px;font-size:16.5px}
.stm-cards{padding:72px 0}
.stm section,.stm .stm-block,.stm .stm-hero{background-image:none!important}
.stm-block.is-grey,.stm-hero{background-color:#f6f8f7!important}
.stm-grid3.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.stm-callout-wrap{padding:56px 0}
.stm-callout{display:flex;align-items:center;gap:32px;max-width:1000px;margin:0 auto;background:#fff;border-radius:18px;padding:36px 44px;box-shadow:0 10px 30px rgba(18,59,55,.08);border-left:6px solid var(--stp-accent,#148573)}
.stm-block.is-white .stm-callout{background:#f6f8f7;box-shadow:none}
.stm-callout-ico{flex:none;width:72px;height:72px;border-radius:50%;background:#123b37;color:#fff;display:flex;align-items:center;justify-content:center}
.stm-callout-txt{flex:1}
.stm-callout-txt h2{font-size:24px!important;margin:0 0 8px!important}
.stm-callout-txt p{margin:0;font-size:16.5px;line-height:1.7;color:#444}
.stm-callout .stm-btn{flex:none}
.stm-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.stm-grid3.cols-1{grid-template-columns:minmax(0,720px);justify-content:center}
.stm-grid3.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.stm-card{background:#fff;border-radius:14px;padding:30px 28px;box-shadow:0 6px 24px rgba(0,0,0,.06)}
.stm-cards.is-white .stm-card{background:#f8f8f8;box-shadow:none}
.stm-card-ico{width:48px;height:48px;border-radius:50%;background:#e3f3ef;color:#148573;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.stm-card h3{color:#123b37;font-size:19px;line-height:1.35;font-weight:600;margin:0 0 10px}
.stm-card p{font-size:15.5px;line-height:1.7;color:#444;margin:0 0 10px}
@media (max-width:980px){.stm-grid3,.stm-grid3.cols-2{grid-template-columns:1fr}.stm-grid{grid-template-columns:1fr;gap:36px}.stm-grid .stm-visual,.stm-grid.is-rev .stm-visual,.stm-hero .stm-visual{order:-1}.stm-illus{max-width:420px}.stm-hero h1{font-size:28px!important}.stm h2{font-size:24px!important}.stm-block{padding:56px 0}}
@media (max-width:620px){.stm-callout{flex-direction:column;align-items:flex-start;padding:28px 24px;gap:18px}.stm-grid3.cols-4{grid-template-columns:1fr}.stm-hero{padding:44px 0}.stm-text p{text-align:left}.stm-illus{max-width:320px}}
