.qcd-page-main{min-height:48vh}
.qcd-page-banner{background-color:var(--primary-dark);background-image:linear-gradient(115deg,rgba(35,38,109,.89),rgba(52,56,150,.79)),var(--qcd-hero-image);background-repeat:no-repeat;background-size:cover;background-position:center 45%;color:#fff;padding:80px 0 90px;min-height:40vh;display:flex;align-items:center}
.qcd-page-banner h1{margin:14px 0 0;color:#fff;font-size:clamp(26px,3.4vw,40px);line-height:1.22;max-width:950px}
.qcd-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:9px;list-style:none;margin:0;padding:0;font-size:12px;color:#eef0ff}
.qcd-breadcrumbs li:not(:first-child)::before{content:'/';padding-right:9px;color:#cfd1ea}
.qcd-breadcrumbs a{color:#eef0ff;text-decoration:none}
.qcd-breadcrumbs a:hover{text-decoration:underline}
.qcd-article-shell{width:min(900px,calc(100% - 44px));margin:0 auto;padding:56px 0 80px}
.qcd-editor-content{font-size:15.5px;line-height:1.85}
.qcd-editor-content h2,.qcd-editor-content h3,.qcd-editor-content h4{color:var(--primary-dark);line-height:1.35;margin:1.7em 0 .65em;font-weight:700}
.qcd-editor-content h2{font-size:clamp(23px,3vw,28px)}
.qcd-editor-content h3{font-size:21px}
.qcd-editor-content h4{font-size:17px}
.qcd-editor-content h2:first-child,.qcd-editor-content h3:first-child{margin-top:0}
.qcd-editor-content p{margin:0 0 1.3em}
.qcd-editor-content ul,.qcd-editor-content ol{padding-left:25px;margin:0 0 1.5em}
.qcd-editor-content li{margin-bottom:.4em}
.qcd-editor-content img{max-width:100%;height:auto}
.qcd-editor-content .aligncenter{display:block;margin:1.6em auto}
.qcd-editor-content .alignleft{float:left;margin:0 22px 15px 0}
.qcd-editor-content .alignright{float:right;margin:0 0 15px 22px}
.qcd-editor-content::after{content:'';display:block;clear:both}
.qcd-editor-content table{border-collapse:collapse;width:100%;margin:1.4em 0;display:block;max-width:100%;overflow-x:auto}
.qcd-editor-content th,.qcd-editor-content td{padding:12px 14px;border:1px solid var(--border);text-align:left}
.qcd-editor-content th{background:var(--primary-light);color:var(--primary-dark)}
.qcd-editor-content blockquote{margin:1.5em 0;padding:15px 22px;border-left:4px solid var(--accent);background:#fbf5f5}
.qcd-editor-content .qcd-intro{font-size:19px;line-height:1.7;color:var(--primary-dark);font-weight:700}
.qcd-editor-content .qcd-muted{color:var(--text-muted)}
.qcd-editor-content .qcd-box{padding:21px 24px;border-radius:12px;margin:1.5em 0}
.qcd-editor-content .qcd-box>*:last-child{margin-bottom:0}
.qcd-editor-content .qcd-box-blue{background:var(--primary-light);border-left:4px solid var(--primary)}
.qcd-editor-content .qcd-box-green{background:var(--secondary-light);border-left:4px solid var(--secondary)}
.qcd-editor-content .qcd-quote{border-left-color:var(--accent)}
.qcd-editor-content .qcd-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:12px 20px;border-radius:9px;font-weight:700;font-size:13px;line-height:1.5;margin:6px 6px 8px 0}
.qcd-editor-content .qcd-button-primary{background:var(--secondary);color:#fff}
.qcd-editor-content .qcd-button-primary:hover{background:var(--secondary-dark);color:#fff}
.qcd-editor-content .qcd-button-secondary{background:var(--primary);color:#fff}
.qcd-editor-content .qcd-button-secondary:hover{background:var(--primary-dark);color:#fff}
.qcd-editor-content .qcd-image-rounded{border-radius:14px}
.qcd-editor-content .qcd-table{border:1px solid var(--border)}
.qcd-featured-image{max-width:100%;height:auto;border-radius:14px;margin:0 0 25px}
.qcd-article-meta{color:var(--text-muted);font-size:13px}
.qcd-post-list{display:grid;gap:24px}
.qcd-post-card{border:1px solid var(--border);padding:26px;border-radius:14px;box-shadow:var(--shadow-sm)}
.qcd-post-card h2{font-size:22px;margin:.2em 0 .5em}
.qcd-post-card h2 a{text-decoration:none}
.qcd-text-link{font-weight:700}
@media(max-width:600px){.qcd-article-shell{padding:35px 0 58px}.qcd-editor-content{font-size:15px}}

@media(max-width:640px){.qcd-page-banner{min-height:40vh;padding:55px 0 62px;background-position:center}}
.qcd-realisation-single .qcd-realisation-secteur{font-size:13px;color:var(--secondary);font-weight:700;margin:0 0 24px}
.qcd-realisation-single .qcd-realisation-secteur a{color:var(--secondary)}
.qcd-realisation-back{padding-top:25px;border-top:1px solid var(--border);margin-top:45px!important;font-weight:700}

/* v1.6 : mise en page éditoriale TinyMCE sobre et automatique. */
.qcd-editor-content{font-size:15px;line-height:1.8;color:#1e2430}
.qcd-editor-content h2,.qcd-editor-content h3,.qcd-editor-content h4{color:#343896;font-weight:700;line-height:1.35}
.qcd-editor-content h2{margin:48px 0 22px;padding-bottom:12px;border-bottom:2px solid #eef0ff;font-size:clamp(23px,3vw,29px)}
.qcd-editor-content h2:first-child{margin-top:0}
.qcd-editor-content h3{margin:32px 0 16px;font-size:20px}
.qcd-editor-content h4{margin:24px 0 12px;font-size:17px}
.qcd-editor-content p{margin:0 0 22px}
.qcd-editor-content ul,.qcd-editor-content ol{padding-left:26px;margin:0 0 28px}
.qcd-editor-content li{margin-bottom:10px;padding-left:5px}
.qcd-editor-content li::marker{color:#136400}
.qcd-editor-content a:not(.qcd-button){color:#343896;text-decoration:underline;text-underline-offset:3px}
.qcd-editor-content a:not(.qcd-button):hover{color:#136400}
.qcd-editor-content blockquote{margin:32px 0;padding:20px 26px;border-left:4px solid #b32635;background:#f7f8fb;border-radius:0 10px 10px 0}
.qcd-editor-content .qcd-intro{font-size:18px;line-height:1.7;color:#5d6675;font-weight:400;margin-bottom:32px}
.qcd-editor-content .qcd-box{padding:26px 30px;margin:30px 0;border-radius:8px}
.qcd-editor-content .qcd-box-blue{background:#eef0ff;border-left:4px solid #343896}
.qcd-editor-content .qcd-box-green{background:#e8f4e5;border-left:4px solid #136400}
.qcd-editor-content .qcd-quote{border-left-color:#b32635}
.qcd-editor-content .qcd-button{display:inline-block;padding:13px 22px;border-radius:8px;font-weight:700;line-height:1.5;text-decoration:none}
.qcd-editor-content .qcd-button-primary{background:#136400;color:#fff}
.qcd-editor-content .qcd-button-primary:hover{background:#0e4c00;color:#fff}
.qcd-editor-content .qcd-button-secondary{background:#343896;color:#fff}
.qcd-editor-content .qcd-button-secondary:hover{background:#23266d;color:#fff}
.qcd-editor-content img{max-width:100%;height:auto}
.qcd-editor-content .qcd-image-rounded{border-radius:10px}
.qcd-editor-content table{width:100%;max-width:100%;border-collapse:collapse;margin:30px 0}
.qcd-editor-content th,.qcd-editor-content td{padding:14px 18px;border:1px solid #e3e7ef;text-align:left}
.qcd-editor-content th{background:#343896;color:#fff}
.qcd-editor-content tbody tr:nth-child(even){background:#f7f8fb}
.qcd-editor-content :where(a,button):focus-visible{outline:3px solid #b32635;outline-offset:3px}
@media(max-width:768px){.qcd-editor-content{font-size:14px}.qcd-editor-content .qcd-intro{font-size:16px}.qcd-editor-content .qcd-box{padding:20px}.qcd-editor-content th,.qcd-editor-content td{padding:10px 12px}}
