/* Nouveau design De Brique en Bricks. Visible seulement avec html.nd-live. */
@font-face { font-family: Outfit; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/nd/fonts/outfit.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/nd/fonts/plex-500.woff2") format("woff2"); }

html.nd-live {
  --dbb-red: #ff0000;
  --dbb-yellow: #ffcc00;
  --dbb-blue: #0033cc;
  --dbb-green: #33cc00;
  --dbb-orange: #ff6600;
  --dbb-pink: #ff66ff;
  --dbb-ink: #141414;
  --dbb-paper: #ffcc00;
}

html.nd-live body {
  background: var(--dbb-paper) !important;
  background-image: none !important;
  color: var(--dbb-ink);
  font-family: Outfit, sans-serif;
}
html.nd-live .page-wrapper,
html.nd-live .page-content,
html.nd-live .grey-bg {
  background: transparent !important;
  background-image: none !important;
}
html.nd-live .page-wrapper { margin-top: 0 !important; padding-top: 0 !important; }
html.nd-live .page-content { font-family: Outfit, sans-serif; color: var(--dbb-ink); }
html.nd-live .page-content h2,
html.nd-live .page-content h1.title {
  font-family: Outfit, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  color: #000 !important;
}

/* Cartes modele (accueil) */
html.nd-live .blog-classic {
  background: #fff !important;
  border: 1px solid #000;
  margin: 0 !important;
  height: 100%;
  box-shadow: none !important;
}
html.nd-live .blog-classic .post { background: #fff; position: relative; display: flex; flex-direction: column; height: 100%; }
html.nd-live .blog-classic .post-desc { border: 0; }
html.nd-live .blog-classic .post-title h5,
html.nd-live .blog-classic .post-title h5 a { color: #fff !important; font-family: Outfit, sans-serif; }
html.nd-live .blog-classic .post-image { background: #fff; }
html.nd-live .blog-classic .post-image img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #fff;
  display: block;
}
html.nd-live .blog-classic .post-date { display: none !important; }
html.nd-live .blog-classic .social-icons { display: none !important; }
html.nd-live .blog-classic .service-description { background: #fff !important; }
html.nd-live .blog-classic .service-description h3 { color: var(--dbb-blue) !important; font-weight: 800; margin: 0 !important; }
html.nd-live .blog-classic .service-description.p-2 {
  display: flex !important;
  height: auto !important;
  gap: 0;
  padding: 0 !important;
  margin-top: auto;
}
html.nd-live .blog-classic .service-description .post-btn {
  flex: 1 1 50%;
  margin: 0 !important;
  border-radius: 0 !important;
  text-align: center;
  border: 0 !important;
}
html.nd-live .blog-classic .service-description.p-2 .post-btn:first-child { background: var(--dbb-red) !important; color: #fff !important; }
html.nd-live .blog-classic .service-description.p-2 .post-btn:last-child { background: var(--dbb-blue) !important; color: #fff !important; }

/* Encards promo noirs : on annule les marges negatives inline */
html.nd-live .widget-contact,
html.nd-live .widget-contact h4,
html.nd-live .widget-contact p,
html.nd-live .widget-contact ul,
html.nd-live .widget-contact div {
  background-color: transparent !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
html.nd-live .widget { height: 100%; }
html.nd-live .widget-contact {
  background: #000 !important;
  border: 1px solid #000;
  height: 100%;
  color: #fff;
}

/* Catalogue : tuiles team-member */
html.nd-live .team-member {
  background: #fff !important;
  border: 1px solid #000;
  box-shadow: none !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left !important;
}
html.nd-live .team-member > div:first-child {
  padding: 6px 10px !important;
  margin: 0 !important;
  font-family: Outfit, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
html.nd-live .team-images { background: #fff; }
html.nd-live .team-images img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fff;
}
html.nd-live .team-description { background: #fff !important; color: var(--dbb-ink) !important; }
html.nd-live .team-description h5,
html.nd-live .team-description h5 a,
html.nd-live .team-description p,
html.nd-live .team-description h6,
html.nd-live .team-description h6 a {
  color: var(--dbb-ink) !important;
  height: auto !important;
  font-family: Outfit, sans-serif;
}
html.nd-live .team-description .nd-price { color: var(--dbb-blue) !important; font-weight: 800; font-size: 1rem; }
html.nd-live .nd-ratio { margin: 4px 0 !important; font-size: 0.75rem; }
html.nd-live .nd-ratio strong { display: block; color: var(--dbb-ink); }
html.nd-live .nd-ratio span { display: block; color: #3d403c !important; min-height: 2.4em; }
html.nd-live .nd-ratio--bon strong { color: #1b7a12; }
html.nd-live .nd-ratio--rare strong { color: var(--dbb-red); }
html.nd-live .team-description:last-child {
  display: flex !important;
  margin-top: auto;
  padding: 0 !important;
  height: auto !important;
  background: #fff !important;
}
html.nd-live .team-description .post-btn {
  flex: 1 1 50%;
  margin: 0 !important;
  border-radius: 0 !important;
  text-align: center;
}
html.nd-live .team-description .post-btn.redlrc-bg { background: var(--dbb-red) !important; }
html.nd-live .team-description .post-btn:not(.redlrc-bg) { background: var(--dbb-blue) !important; }

html.nd-live .right-side .social-icons { display: none !important; }

/* Pied de page */
html.nd-live footer.footer {
  background: #000 !important;
  color: #fff !important;
  margin-top: 28px;
  padding-top: 0 !important;
}
html.nd-live footer.footer::before {
  content: "";
  display: block;
  height: 10px;
  margin-bottom: 48px;
  background: linear-gradient(90deg, #ff0000 0 16.6%, #ffcc00 16.6% 33.2%, #0033cc 33.2% 49.8%, #33cc00 49.8% 66.4%, #ff6600 66.4% 83.2%, #ff66ff 83.2% 100%);
}
html.nd-live footer.footer h5,
html.nd-live footer.footer h5 span { color: var(--dbb-yellow) !important; font-family: Outfit, sans-serif; }
html.nd-live footer.footer a { color: #fff; }
html.nd-live footer.footer a:hover { color: var(--dbb-pink); }
html.nd-live footer.footer p { color: #f2f2f2; }
