
/* DNM V3 - coherent site-wide theme, additive to original layout */
:root{--dnm-navy:#111d33;--dnm-turquoise:#17c7bd;--dnm-violet:#7464b9}
.page-header,.rd-navbar,.rd-navbar-main-outer,.rd-navbar-main,.rd-navbar-panel{background:#101722!important}
.rd-navbar-static .rd-nav-link,.rd-navbar-nav .rd-nav-link{color:#fff!important}
.rd-navbar-nav .rd-nav-link:hover{color:#40e3d3!important}
.rd-navbar-brand img{max-height:65px;object-fit:contain}
.dnm-v2 .dnm-hero,.dnm-v2 .dnm-hero-dark{border-radius:0}
.dnm-v2 .dnm-card img{mix-blend-mode:normal;object-fit:contain}
.dnm-v2 .dnm-combo{background:linear-gradient(135deg,#e9fcfa,#f1effe)}
.dnm-v2 .dnm-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:32px 0}
.dnm-v2 .dnm-gallery figure{background:#fff;border:1px solid #deebef;border-radius:20px;padding:18px;margin:0;box-shadow:0 10px 28px #0c284015}
.dnm-v2 .dnm-gallery img{height:235px;width:100%;object-fit:contain}
.dnm-v2 .dnm-gallery figcaption{font-size:13px;color:#607285;text-align:center;margin-top:8px}
.dnm-v2 .dnm-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:30px 0 48px}
.dnm-v2 .dnm-feature{border:1px solid #dbe9f1;border-radius:20px;padding:26px;background:#fff;box-shadow:0 8px 24px #112b4310}
.dnm-v2 .dnm-feature h3{font-size:22px;color:#17284b}
.dnm-v3-legacy-services{padding:40px 0 80px}
.footer-classic-aside .row{align-items:flex-start!important}
.dnm-footer-column{margin-bottom:24px}.dnm-footer-column h6{color:#4ce0d1;margin-bottom:14px}.dnm-footer-column li{margin:8px 0}.dnm-footer-column a{font-size:13px}
@media(max-width:850px){.dnm-v2 .dnm-gallery,.dnm-v2 .dnm-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.dnm-v2 .dnm-gallery,.dnm-v2 .dnm-feature-grid{grid-template-columns:1fr}}

/* V3.2 : uniquement la section accueil, autres pages V3 préservées */
.dnm-v2 .dnm-hero .dnm-title{color:#101b31!important;font-weight:900!important}
.dnm-v2 .dnm-hero .dnm-gradient{background:linear-gradient(105deg,#0bc9ba 0%,#299fc4 48%,#8066d7 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.dnm-v2 .dnm-hero .dnm-lead{color:#08a9a7!important;font-size:clamp(21px,1.9vw,29px)!important;font-weight:800!important;line-height:1.4!important}
.dnm-v2 .dnm-hero .dnm-home-visual{overflow:hidden;border-radius:30px;background:linear-gradient(130deg,#e9faf9,#e9efff);box-shadow:0 18px 48px #143b4518}
.dnm-v2 .dnm-hero .dnm-home-visual img{display:block;width:100%;height:auto;object-fit:cover}
@media(min-width:992px){.dnm-v2 .dnm-hero .row{align-items:center}}

/* Accueil V3.5 : véritable bannière panoramique en haut, logos réels superposés */
.dnm-v2 .dnm-hero.dnm-banner-hero{padding:0!important;background:#eafafa!important;}
.dnm-banner-wrap{position:relative;width:100%;overflow:hidden;}
.dnm-banner-wrap>.dnm-banner-img{display:block;width:100%;height:auto;max-height:none!important;object-fit:contain;}
.dnm-banner-real-logo{position:absolute;right:3.4%;top:3.3%;width:29%;height:18%;display:flex;align-items:center;justify-content:center;background:linear-gradient(95deg,#e6f9fa 0%,#e9f9fb 75%,#e9f9fb 100%);border-radius:12px;}
.dnm-banner-real-logo img{width:93%;max-height:80%;height:auto;object-fit:contain;}
@media(max-width:650px){.dnm-banner-wrap{min-width:720px;left:50%;transform:translateX(-50%)}.dnm-banner-real-logo{right:3%;}}

/* V3.19 — typographie ciblée uniquement sur la page caisses */
.dnm-v2 .dnm-highlight-title {font-weight:850; color:#101b31; letter-spacing:-.025em; background:linear-gradient(105deg,#101b31 0%,#101b31 27%,#06b9b2 62%,#805bd6 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
.dnm-v2 .dnm-section p:not(.dnm-note):not(.dnm-eyebrow) {color:#245b82;}
.dnm-v2 .dnm-feature h3 {color:#0caaa9;}
.dnm-v2 .dnm-box-v2-row {margin-top:22px;}
.dnm-v2 .dnm-accessory-card img {object-fit:contain;}


/* V3.73 - En-tete commun : logo agrandi, navigation resserree a droite.
   Les noms, liens, menus deroulants et la structure HTML restent inchanges. */
@media (min-width: 1200px) {
  .rd-navbar-static.rd-navbar-classic .rd-navbar-main {
    display:flex;align-items:center;justify-content:space-between;
    gap:12px;width:100%;
  }
  .rd-navbar-static.rd-navbar-classic .rd-navbar-panel {
    flex:0 0 auto;min-width:0;margin-right:auto;
  }
  .rd-navbar-static.rd-navbar-classic .rd-navbar-brand .brand img,
  .rd-navbar-static.rd-navbar-classic .rd-navbar-brand img {
    width:clamp(245px,19vw,310px)!important;height:auto!important;max-width:100%!important;
  }
  .rd-navbar-static.rd-navbar-classic .rd-navbar-main-element {
    flex:0 1 auto;min-width:0;margin-left:auto;display:flex;align-items:center;
  }
  .rd-navbar-static.rd-navbar-classic .rd-navbar-nav-wrap {
    margin-left:auto!important;
  }
  .rd-navbar-static.rd-navbar-classic .rd-navbar-nav {
    display:flex;align-items:center;justify-content:flex-end;gap:clamp(7px,1vw,19px);
  }
  .rd-navbar-static.rd-navbar-classic .rd-navbar-nav > .rd-nav-item {
    margin-left:0!important;margin-right:0!important;
  }
  .rd-navbar-static.rd-navbar-classic .rd-navbar-nav > .rd-nav-item > .rd-nav-link {
    font-size:clamp(11px,.92vw,15px)!important;letter-spacing:.045em!important;
    white-space:nowrap;
  }
  .rd-navbar-static.rd-navbar-classic .rd-navbar-search {flex:0 0 auto;margin-left:8px!important;}
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .rd-navbar-static.rd-navbar-classic .rd-navbar-brand img {width:235px!important;}
  .rd-navbar-static.rd-navbar-classic .rd-navbar-nav {gap:7px;}
  .rd-navbar-static.rd-navbar-classic .rd-navbar-nav > .rd-nav-item > .rd-nav-link {font-size:11px!important;letter-spacing:0!important;}
}


/* V3.74 : correction hauteur de la barre noire et espace reserve au contenu.
   S'applique a l'en-tete commun sans toucher aux pages ni au menu. */
@media (min-width: 1200px) {
  .rd-navbar-classic.rd-navbar-static .rd-navbar-main {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    min-height: 68px !important;
    box-sizing: border-box;
  }
  .rd-navbar-classic.rd-navbar-static .rd-navbar-brand img {
    max-height: 49px !important;
    width: auto !important;
    max-width: 275px !important;
    object-fit: contain !important;
  }
  .rd-navbar-classic.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-main,
  .rd-navbar-classic.rd-navbar-static.rd-navbar--is-clone .rd-navbar-main {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    min-height: 60px !important;
  }
  .rd-navbar-classic.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-brand img,
  .rd-navbar-classic.rd-navbar-static.rd-navbar--is-clone .rd-navbar-brand img {
    max-height: 45px !important;
  }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .rd-navbar-classic.rd-navbar-static .rd-navbar-brand img {
    max-width: 235px !important;
  }
}
