/* MDTECA service-card reading comfort. Welcome layout uses its original styles. */
#prestations .service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#prestations .service-card{min-width:0;min-height:0;padding:26px;justify-content:flex-start;border-color:#343942;border-radius:8px}
#prestations .service-card>div:nth-child(2){min-width:0}
#prestations .service-card h3{margin:20px 0 12px;font-size:28px;line-height:1.15;overflow-wrap:anywhere}
#prestations .service-card p{font-size:16px;line-height:1.75;color:#cbd0d8;overflow-wrap:anywhere}
#prestations .service-icon{flex-shrink:0}
#prestations .card-arrow{color:#aeb5c0}
.home-refreshed .home-feature-copy p,.advantage-grid p,.process-grid p,.project>p:last-of-type{font-size:16px;line-height:1.75;color:#cbd0d8}
.home-refreshed .home-panel .home-panel-desc{font-size:16px;line-height:1.6;color:#cbd0d8}

/* Open an individual service card at a comfortable reading size. */
#prestations .service-card.service-card-expandable{padding-bottom:66px;cursor:pointer;transition:border-color .2s,box-shadow .2s}
#prestations .service-card.service-card-expandable h3{min-height:2.3em}
#prestations .service-card.service-card-expandable p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;line-height:1.65}
#prestations .service-card.service-card-expandable:hover{transform:none;border-color:#f2353f;box-shadow:0 0 0 1px #f2353f30}
#prestations .service-card-expand{position:absolute;inset:0;z-index:3;width:100%;height:100%;border:0;border-radius:inherit;padding:0;background:transparent;cursor:pointer;color:#ff6570;font:700 14px/1.4 var(--body,sans-serif);text-align:start;touch-action:manipulation}
#prestations .service-card-expand>span{position:absolute;inset-inline-start:26px;inset-inline-end:26px;bottom:21px;display:flex;align-items:center;justify-content:space-between;gap:12px}
#prestations .service-card-expand svg{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#prestations .service-card-expand:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.mdteca-card-dialog{box-sizing:border-box;width:min(860px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #4b515c;border-top:4px solid #e51b2b;border-radius:12px;color:#fff;background:#111419;box-shadow:0 24px 90px #000b;overflow:auto;text-align:start}
.mdteca-card-dialog::backdrop{background:rgba(0,0,0,.82);backdrop-filter:blur(5px)}
.mdteca-card-dialog .mdteca-card-dialog-inner{padding:26px 42px 44px}
.mdteca-card-dialog-toolbar{display:flex;justify-content:flex-end;margin-bottom:12px}
.mdteca-card-dialog-close{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:10px 16px;border:1px solid #767d87;border-radius:6px;color:#fff;background:#252b34;font:700 15px/1.3 var(--body,sans-serif);cursor:pointer}
.mdteca-card-dialog-close:hover{background:#3d2026;border-color:#ff6570}
.mdteca-card-dialog-close:focus-visible{outline:3px solid #fff;outline-offset:3px}
.mdteca-card-dialog-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.mdteca-card-dialog .service-icon{width:60px;height:60px;margin-bottom:24px}
.mdteca-card-dialog h2{max-width:100%;margin:0 0 24px;font-family:var(--display,"Barlow Condensed",sans-serif);font-size:clamp(34px,4vw,48px);font-weight:700;line-height:1.12;letter-spacing:0;overflow-wrap:anywhere}
.mdteca-card-dialog-copy p{margin:0 0 18px;color:#e0e4eb;font-family:var(--body,sans-serif);font-size:22px;line-height:1.8;overflow-wrap:anywhere}
.mdteca-card-dialog-copy p:last-child{margin-bottom:0}
@media(max-width:1100px){#prestations .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 #prestations .service-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 #prestations .service-card{padding:22px}
 #prestations .service-card-expand>span{inset-inline-start:22px;inset-inline-end:22px}
 #prestations .service-card.service-card-expandable h3{min-height:0}
 .mdteca-card-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
 .mdteca-card-dialog .mdteca-card-dialog-inner{padding:18px 24px 30px}
 .mdteca-card-dialog-copy p{font-size:19px;line-height:1.75}
}
@media print{.service-card-expand,.mdteca-card-dialog{display:none!important}#prestations .service-card.service-card-expandable p{display:block;overflow:visible}}
@media(prefers-reduced-motion:reduce){#prestations .service-card{transition:none}}

