/* Navigation et footer Depaninformatique sur les pages HTML autonomes Situora.
   Styles limites aux seuls #de-site-header et #de-site-footer : aucune incidence sur les simulations ou formulaires. */
#de-site-header, #de-site-footer { box-sizing:border-box; font-family:system-ui,-apple-system,"Segoe UI",sans-serif; line-height:1.45; }
#de-site-header *, #de-site-footer * { box-sizing:border-box; }
#de-site-header { position:relative; z-index:1000; width:100%; background:#020617; color:#cbd5e1; border-bottom:1px solid #1e293b; }
#de-site-header .de-head-inner { width:100%; max-width:2560px; margin:auto; padding:0 clamp(12px,1.7vw,28px); }
#de-site-header .site-header { display:flex; align-items:center; gap:clamp(10px,1.5vw,22px); min-height:64px; width:100%; }
#de-site-header .header-logo { flex:0 0 auto; display:flex; align-items:center; }
#de-site-header .header-logo a { display:inline-flex; align-items:center; }
#de-site-header .header-logo img { display:block; width:clamp(130px,11vw,180px); max-width:100%; max-height:52px; height:auto; object-fit:contain; }
#de-site-header .header-menu { flex:1 1 auto; min-width:0; position:relative; }
#de-site-header .header-menu > ul { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:2px; list-style:none; margin:0; padding:0; }
#de-site-header .header-menu > ul > li { display:flex; align-items:center; list-style:none; margin:0; padding:0; }
#de-site-header .header-menu > ul > li > a { display:block; color:#cbd5e1; padding:11px clamp(5px,.65vw,11px); border-radius:7px; font-size:clamp(12px,.84vw,14px); line-height:1.35; text-decoration:none; white-space:nowrap; }
#de-site-header .header-menu a:hover, #de-site-header .header-menu a:focus-visible { color:#fff; background:#17243c; }
#de-site-header .header-menu a[aria-current="page"] { font-weight:700; color:#ffffff; }
#de-site-header .header-menu li[data-variant="accent"] > a { color:#60a5fa; font-weight:700; }
#de-site-header .header-menu li[data-variant="cta"] > a { background:#2563eb; color:#fff; font-weight:700; padding:10px 16px; border-radius:9px; }
#de-site-header .header-menu li[data-variant="cta"] > a:hover { background:#3b82f6; }
#de-site-header .menu-item-icon { display:none; }
#de-site-header .menu-phone .header-phone-label { white-space:nowrap; }
#de-site-header .submenu-toggle { display:inline-flex; align-items:center; justify-content:center; width:26px; height:36px; border:0; background:none; color:#94a3b8; cursor:pointer; border-radius:6px; }
#de-site-header .submenu-toggle:hover, #de-site-header .submenu-toggle:focus-visible { background:#1e293b; color:#fff; }
#de-site-header .submenu-toggle-icon { display:inline-block; transform:rotate(90deg); font-size:12px; }
#de-site-header .menu-accordion-toggle { display:none; }
#de-site-header .megamenu { display:none; position:absolute; z-index:1100; top:100%; left:0; width:min(1100px,calc(100vw - 24px)); max-height:75vh; overflow:auto; padding:24px; background:#020617; color:#cbd5e1; border:1px solid #334155; border-radius:0 0 16px 16px; box-shadow:0 25px 50px -12px #000b; }
#de-site-header .header-menu li[data-de-open="true"] > .megamenu { display:block; }
#de-site-header .megamenu-main { display:flex; flex-direction:column; gap:18px; }
#de-site-header .megamenu-title { font-size:20px; font-weight:700; color:#fff; margin:0 0 8px; }
#de-site-header .megamenu-description { color:#94a3b8; line-height:1.5; font-size:14px; margin:0; }
#de-site-header .megamenu-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
#de-site-header .megamenu-card { min-width:0; padding:11px 12px; display:flex; align-items:center; gap:12px; border-radius:9px; color:#cbd5e1; text-decoration:none; }
#de-site-header .megamenu-card:hover { background:#0f172a; color:#60a5fa; }
#de-site-header .megamenu-card-icon { flex:0 0 30px; text-align:center; font-size:21px; }
#de-site-header .megamenu-card-label { font-size:14px; font-weight:600; }
#de-site-header .megamenu-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
#de-site-header .megamenu-column { min-width:0; display:flex; flex-direction:column; gap:4px; }
#de-site-header .megamenu-group-title { font-size:16px; font-weight:700; color:#fff; margin-bottom:8px; }
#de-site-header .megamenu-column a { display:block; padding:8px; border-radius:6px; color:#cbd5e1; text-decoration:none; font-size:14px; }
#de-site-header .megamenu-column a:hover { background:#0f172a; color:#60a5fa; }
#de-site-header .megamenu-media { display:block; position:relative; overflow:hidden; height:155px; border-radius:10px; margin-top:12px; }
#de-site-header .megamenu-media img { display:block; object-fit:cover; width:100%; height:100%; }
#de-site-header .megamenu-media-caption { position:absolute; bottom:0; left:0; right:0; padding:12px; background:linear-gradient(transparent,#020617dd); color:#fff; }
#de-site-header a:focus-visible, #de-site-header button:focus-visible, #de-site-footer a:focus-visible { outline:2px solid #93c5fd; outline-offset:3px; }

#de-site-footer { background:#020617; color:#cbd5e1; padding:40px 18px 22px; border-top:1px solid #334155; font-size:14px; }
#de-site-footer .de-foot-inner { max-width:1200px; margin:auto; }
#de-site-footer .de-foot-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:30px; }
#de-site-footer .de-foot-col { display:flex; flex-direction:column; align-items:flex-start; gap:9px; min-width:0; }
#de-site-footer h2 { color:#fff; font-size:19px; line-height:1.3; margin:0 0 8px; font-weight:700; }
#de-site-footer h3 { color:#fff; font-size:14px; line-height:1.3; margin:0 0 7px; font-weight:700; text-transform:uppercase; letter-spacing:.02em; }
#de-site-footer p { color:#a8b6ca; font-size:13px; line-height:1.7; margin:0; }
#de-site-footer a { color:#cbd5e1; text-decoration:none; font-size:13px; line-height:1.5; }
#de-site-footer a:hover { color:#60a5fa; text-decoration:underline; }
#de-site-footer .de-foot-cta { color:#fff; }
#de-site-footer .de-foot-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-top:28px; padding-top:18px; border-top:1px solid #263349; font-size:12px; color:#94a3b8; }
#de-site-footer .de-foot-bottom div { display:flex; gap:20px; flex-wrap:wrap; }
#de-site-footer .de-foot-bottom a { color:#94a3b8; font-size:12px; }
@media (min-width:1200px) {
 #de-site-header .header-menu > ul > li:hover > .megamenu, #de-site-header .header-menu > ul > li:focus-within > .megamenu { display:block; }
}
@media (max-width:1199px) {
 #de-site-header .site-header { justify-content:space-between; min-height:60px; flex-wrap:wrap; }
 #de-site-header .header-logo img { width:145px; max-height:50px; }
 #de-site-header .menu-accordion-toggle { margin-left:auto; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:44px; height:44px; border:1px solid #334155; border-radius:9px; color:#fff; background:none; cursor:pointer; }
 #de-site-header .menu-toggle-bar { width:21px; height:2px; background:#fff; border-radius:2px; }
 #de-site-header .header-menu { display:none; flex:1 0 100%; order:3; width:100%; max-height:calc(100dvh - 80px); overflow:auto; padding:8px 0 16px; }
 #de-site-header .header-menu.de-open { display:block; }
 #de-site-header .header-menu > ul { display:block; }
 #de-site-header .header-menu > ul > li { display:flex; flex-wrap:wrap; border-bottom:1px solid #1e293b; }
 #de-site-header .header-menu > ul > li > a { font-size:15px; flex:1 1 auto; padding:13px 12px; white-space:normal; }
 #de-site-header .submenu-toggle { width:44px; height:44px; }
 #de-site-header .megamenu { position:static; width:100%; max-height:none; flex:1 0 100%; border:0; border-radius:8px; margin:0 0 10px; padding:13px 16px; background:#0b1730; box-shadow:none; }
 #de-site-header .megamenu-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #de-site-header .megamenu-columns { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #de-site-header .megamenu-media { display:none; }
 #de-site-footer .de-foot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
}
@media (max-width:600px) {
 #de-site-header .megamenu-grid, #de-site-header .megamenu-columns { grid-template-columns:1fr; }
 #de-site-footer .de-foot-grid { grid-template-columns:1fr; }
 #de-site-footer .de-foot-bottom { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) { #de-site-header *, #de-site-footer * { scroll-behavior:auto!important; transition:none!important; } }
