/* Nouveau design LRC mobile : header de la maquette C (badge, panier, recherche sur deux lignes). Visible seulement avec html.nd-live. Recherche et panier : lrc-shared.css. */

html.nd-live body {
  background-color: #e8f1f8 !important;
  background-image:
    linear-gradient(rgba(4, 115, 204, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 115, 204, 0.10) 1px, transparent 1px) !important;
  background-size: 28px 28px, 28px 28px !important;
}
html.nd-live .page-wrapper,
html.nd-live .page-content,
html.nd-live .grey-bg {
  background: transparent !important;
  background-image: none !important;
}

/* L'ancien header et la barre d'onglets sont masques ; le nouveau header les remplace. */
html.nd-live .page-wrapper > header:not(.nd-header) { display: none !important; }
html.nd-live .page-wrapper > section.pt-1 { display: none !important; }

.nd-header { display: none; }
html.nd-live .nd-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand cart" "search search";
  gap: 8px 10px;
  padding: 10px 12px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: #e8f1f8;
  border-bottom: 1px solid rgba(4, 115, 204, 0.28);
  font-family: Outfit, sans-serif;
  color: #0e2744;
  box-sizing: border-box;
}
html.nd-live .nd-header a { color: inherit; text-decoration: none; }
html.nd-live .nd-brand { grid-area: brand; display: flex; align-items: center; background: transparent; }
html.nd-live .nd-brand img { height: 40px; width: auto; max-width: none; display: block; background: transparent; }
html.nd-live .nd-cart { grid-area: cart; padding: 6px 8px 6px 6px; }
html.nd-live .nd-cart__label,
html.nd-live .nd-cart__count { display: none; }
html.nd-live .nd-cart__sum { font-size: 0.82rem; }
html.nd-live .nd-search { grid-area: search; }

/* Accueil mobile : titres, cartes et boutons de la maquette C. Les contenus restent ceux du site. */
html.nd-live .page-content h2 {
  font-family: Outfit, sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #0e2744 !important;
  margin: 26px 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(21, 32, 51, 0.12);
}
html.nd-live .page-content .row > .col-12[style*="padding:0 28px"] {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  padding: 0 !important;
}
html.nd-live .page-content .col-12 > .item { display: flex; flex-direction: column; min-width: 0; width: auto; max-width: none; padding: 0; }
html.nd-live #agence_682 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 0 12px;
}
html.nd-live #agence_682 > .col-sm-4 { width: auto; max-width: none; flex: none; padding: 0; margin: 0 !important; height: auto; min-height: 0; }
html.nd-live #agence_682 .blog-classic { padding: 0 !important; margin: 0 !important; height: auto; min-height: 0; }
html.nd-live #agence_682 .blog-classic > .post { height: auto; }

html.nd-live .service-item,
html.nd-live .post {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(21, 32, 51, 0.12);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: none;
}
html.nd-live .service-item > .service-images:first-child,
html.nd-live .post-desc {
  background: #fff !important;
  border-top: 4px solid #0473CC;
  padding: 10px 12px !important;
}
html.nd-live .service-item > .service-images:first-child h5 a,
html.nd-live .post-title h5 a { color: #0e2744 !important; font-size: 0.9rem !important; font-weight: 600; }
html.nd-live .post-title { text-align: left !important; }
html.nd-live .service-item > .service-images:first-child > a {
  display: block;
  color: #4a6280 !important;
  font-size: 0.75rem !important;
  margin-top: 2px;
}
html.nd-live .service-item > .service-images:not(:first-child),
html.nd-live .post > .item {
  aspect-ratio: 3 / 2;
  background: #e8eef4;
  overflow: hidden;
}
html.nd-live .service-item > .service-images:not(:first-child) img,
html.nd-live .post > .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
html.nd-live .post > .item > a { display: block; height: 100%; }
html.nd-live .service-description.p-3 {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px 12px 6px !important;
}
html.nd-live .service-description .post-meta {
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 0.66rem !important;
  color: #4a6280 !important;
  padding: 0 !important;
}
html.nd-live .service-description h3 {
  font-family: Outfit, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700;
  color: #F00818 !important;
  margin: 0 !important;
}
html.nd-live .service-description.p-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  height: auto !important;
  padding: 0 !important;
  margin-top: auto;
  border-top: 1px solid rgba(21, 32, 51, 0.12);
}
html.nd-live .post-bottom {
  display: flex;
  flex-direction: column;
  margin: auto 0 0 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(21, 32, 51, 0.12);
}
html.nd-live .post-bottom .post-meta {
  padding: 8px 12px !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 0.66rem !important;
  color: #4a6280 !important;
}
html.nd-live .post-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 10px 6px !important;
  min-height: 40px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 0.62rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
}
html.nd-live .post-btn::before,
html.nd-live .post-btn::after { display: none !important; content: none !important; }
html.nd-live .service-description.p-2 .post-btn:not(.redlrc-bg) { order: -1; border-right: 1px solid rgba(255, 255, 255, 0.35) !important; background: #0473CC !important; }
html.nd-live .service-description.p-2 .post-btn.redlrc-bg { background: #F00818 !important; }
html.nd-live .post-bottom .post-btn { background: #0473CC !important; }
html.nd-live .post-btn i { margin-left: 6px !important; }
html.nd-live .page-content .row > .col-sm-12 > .post-btn.black-bg {
  width: 100%;
  margin: 2px 0 18px !important;
  background: #06325a !important;
}
html.nd-live .page-content .row > .col-sm-12 > .post-btn.black-bg:hover { background: #0473CC !important; }

/* Catalogue mobile : grille de 2 cartes et bouton Filtres de la maquette. */
html.nd-live .right-side > .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
html.nd-live .right-side > .row > [class*="col-"] { width: auto; max-width: none; flex: none; padding: 0; margin: 0 !important; }
html.nd-live .right-side .team-description h5 a { font-size: 0.85rem !important; }
html.nd-live .page-content .col-12.pb-2 > .btn {
  display: block;
  width: 100%;
  margin: 4px 0 12px !important;
  padding: 10px !important;
  background: #fff !important;
  color: #0e2744 !important;
  border: 1px solid rgba(21, 32, 51, 0.12) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
html.nd-live .page-content .col-12.pb-2 > .btn::before,
html.nd-live .page-content .col-12.pb-2 > .btn::after { display: none !important; content: none !important; }
html.nd-live #filtrediv { margin-bottom: 8px; }

html.nd-live .page-wrapper > section > .container,
html.nd-live .page-content > section > .container,
html.nd-live .page-content > .container,
html.nd-live footer.footer .container,
html.nd-live footer .primary-footer > .container {
  padding-left: 12px !important;
  padding-right: 12px !important;
}
html.nd-live section.grey-bg.nd-trust { padding: 8px 0 4px !important; }
html.nd-live .nd-trust__row { grid-template-columns: 1fr 1fr; }
html.nd-live .nd-trust__item { border-bottom: 1px solid rgba(4, 115, 204, 0.14); }
html.nd-live .nd-trust__item:nth-child(2) { border-right: 0; }
html.nd-live .nd-yt { padding: 12px 12px 18px; }
html.nd-live .nd-yt__head { flex-direction: column; align-items: flex-start; }
html.nd-live .nd-yt__rail,
html.nd-live .nd-yt--bar .nd-yt__rail {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 4px;
}
html.nd-live .nd-yt__card { flex: 0 0 210px; }
html.nd-live .page-content section.pt-0:has(.nd-film) > .container > .row { grid-template-columns: 1fr; }
html.nd-live .page-content section.nd-mocaside > .container > .row { grid-template-columns: 1fr; }
html.nd-live .nd-tunnel { grid-template-columns: 1fr; }
html.nd-live .nd-tunnel > .col-lg-3 { position: static; }
html.nd-live .page-content .col-12.pb-2 > .widget { display: none !important; }
html.nd-live .nd-expomap > section { padding: 0 12px 8px !important; }
html.nd-live .nd-expomap #map { height: 320px; min-height: 320px; max-width: none; }
html.nd-live .nd-exopage .sidebar { flex-direction: column; align-items: stretch; }
html.nd-live .nd-exolist { grid-template-columns: 1fr 1fr; }
html.nd-live .nd-expodetail > section:first-child > .container > .row { grid-template-columns: 1fr; }
html.nd-live .nd-expophotos > .container-fluid { padding-left: 12px !important; padding-right: 12px !important; }
html.nd-live .nd-expophotos .masonry { grid-template-columns: 1fr 1fr; }
html.nd-live .nd-mocphotos > .container,
html.nd-live .nd-mocphotos > .container-fluid { padding-left: 12px !important; padding-right: 12px !important; }
html.nd-live .nd-mocphotos .masonry { grid-template-columns: 1fr 1fr; }
