/* Diagence — habillage du site (police auto-hébergée, finitions des sections Elementor) */
@font-face{font-family:"Plus Jakarta Sans";src:url("plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";src:url("plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{--dgk-ink:#0E1116;--dgk-muted:#3F4651;--dgk-line:#E6E8EE;--dgk-ground:#FBFBFD;--dgk-accent:#3B5BFD;--dgk-accent-dark:#2F49D6}

html{scroll-behavior:smooth}
body.dgk{background:var(--dgk-ground);color:var(--dgk-ink);font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body.dgk [id]{scroll-margin-top:96px}

/* Textes : neutralise l'espacement des mots négatif hérité des styles globaux de l'ancien site */
body.dgk .elementor-heading-title{word-spacing:normal}
body.dgk .elementor-widget-text-editor p{margin-top:0}
body.dgk .elementor-widget-text-editor p:last-child{margin-bottom:0}
body.dgk .elementor-heading-title a{color:inherit;text-decoration:none}
body.dgk .elementor-heading-title a:hover{opacity:.8}

/* En-tête collant et pied */
body.dgk .dgk-header{position:sticky!important;top:0;z-index:50;background:rgba(255,255,255,.92)!important;-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px)}
body.admin-bar.dgk .dgk-header{top:32px}
@media (max-width:782px){body.admin-bar.dgk .dgk-header{top:46px}}
body.dgk .dgk-nav a:hover .elementor-icon-list-text{color:var(--dgk-ink)}

/* Boutons */
body.dgk .elementor-button{transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease}
body.dgk .elementor-button:hover{transform:translateY(-1px)}

/* Conteneurs cliquables (cartes, lignes de solutions) */
body.dgk a.e-con,body.dgk a.e-con:hover{color:inherit;text-decoration:none}
body.dgk a.e-con{transition:background-color .15s ease,box-shadow .15s ease}
body.dgk a.e-con:hover{background-color:#F6F7FB}

/* Formulaires */
body.dgk .elementor-field-type-acceptance label,body.dgk .elementor-field-option label{font-size:13px;line-height:1.5;color:var(--dgk-muted)}
body.dgk .elementor-field-group a{color:var(--dgk-accent)}
body.dgk .elementor-field-textual:focus{border-color:var(--dgk-accent)!important;box-shadow:0 0 0 3px rgba(59,91,253,.15)}

/* Accordéon FAQ */
body.dgk .elementor-toggle .elementor-tab-title{border-bottom:1px solid var(--dgk-line)}
body.dgk .elementor-toggle .elementor-tab-title a{color:inherit}

/* Menu de navigation : liens sur ordinateur, panneau en tuiles sur tablette et mobile */
body.dgk .dgk-nav .sub-menu{min-width:240px!important;padding:6px 0;overflow:hidden;box-shadow:0 24px 40px -24px rgba(16,24,40,.25)}
body.dgk .dgk-nav .sub-arrow i,body.dgk .dgk-nav .sub-arrow svg{font-size:10px;width:10px;opacity:.6}
body.dgk .dgk-header .elementor-button{white-space:nowrap}
body.dgk .dgk-header>.e-con-inner{position:static}
body.dgk .dgk-burger{cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .15s ease}
body.dgk .dgk-burger:hover{background-color:#E9EBF1!important}
body.dgk .dgk-burger:focus-visible{outline:2px solid var(--dgk-accent);outline-offset:2px}
body.dgk .dgk-burger .elementor-icon{display:flex;line-height:1}
body.dgk .dgk-burger .dgk-burger-close,body.dgk.dgk-menu-open .dgk-burger .dgk-burger-open{display:none}
body.dgk.dgk-menu-open .dgk-burger .dgk-burger-close{display:block}

body.dgk .dgk-mpanel{display:none!important}
@media (max-width:1024px){
 body.dgk.dgk-menu-open{overflow:hidden}
 body.dgk.dgk-menu-open::before{content:"";position:fixed;inset:0;z-index:45;background:rgba(14,17,22,.32);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:dgkFade .2s ease}
 body.dgk.dgk-menu-open .dgk-mpanel{display:flex!important;position:absolute;top:100%;left:0;right:0;width:auto!important;max-width:none;margin:0;border-radius:0!important;max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain;animation:dgkDrop .22s cubic-bezier(.2,.8,.2,1)}
 body.admin-bar.dgk.dgk-menu-open .dgk-mpanel{max-height:calc(100dvh - 110px)}
}
body.dgk .dgk-mtile{transition:border-color .15s ease,background-color .15s ease}
body.dgk .dgk-mtile:hover,body.dgk .dgk-mtile:focus-visible{border-color:#C7CFFF!important;background-color:#F4F6FF!important}
body.dgk .dgk-mpanel .elementor-heading-title a:hover{color:var(--dgk-ink);opacity:1}
@keyframes dgkDrop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@keyframes dgkFade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){body.dgk .dgk-mpanel,body.dgk.dgk-menu-open::before{animation:none!important}}

/* Dans l'éditeur Elementor, le panneau reste visible pour pouvoir le modifier */
body.elementor-editor-active .dgk-mpanel{display:flex!important;position:static!important;margin-top:12px}
