:root {
  --dgb-bg: #f7f8fb;
  --dgb-surface: #ffffff;
  --dgb-dark: #111827;
  --dgb-muted: #5d6575;
  --dgb-line: rgba(17, 24, 39, .10);
  --dgb-primary: #145cff;
  --dgb-primary-dark: #0c3ca8;
  --dgb-accent: #ff4d2e;
  --dgb-radius: 22px;
  --dgb-radius-sm: 14px;
  --dgb-shadow: 0 22px 70px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.dgb-body {
  background: var(--dgb-bg);
  color: var(--dgb-dark);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

img { max-width: 100%; height: auto; }

.dgb-main { overflow: hidden; }

.dgb-site-header {
  background: rgba(247, 248, 251, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 24, 39, .08);
}

.dgb-navbar { min-height: 78px; }

.dgb-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.dgb-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: var(--dgb-dark);
  color: #fff;
  font-size: .85rem;
  letter-spacing: -.04em;
  box-shadow: 0 12px 28px rgba(17, 24, 39, .18);
}

.custom-logo { max-height: 48px; width: auto; }

.navbar-nav .nav-link {
  color: rgba(17, 24, 39, .76);
  font-weight: 650;
  font-size: .95rem;
  border-radius: 999px;
  padding: .55rem .85rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .current-menu-item > .nav-link {
  color: var(--dgb-dark);
  background: rgba(20, 92, 255, .08);
}

.dgb-header-cta,
.btn-primary {
  --bs-btn-bg: var(--dgb-primary);
  --bs-btn-border-color: var(--dgb-primary);
  --bs-btn-hover-bg: var(--dgb-primary-dark);
  --bs-btn-hover-border-color: var(--dgb-primary-dark);
  border-radius: 999px;
  font-weight: 750;
  box-shadow: 0 14px 34px rgba(20, 92, 255, .24);
}

.btn-outline-dark {
  border-radius: 999px;
  font-weight: 750;
  border-color: rgba(17, 24, 39, .18);
}

.dgb-toggler {
  width: 44px;
  height: 44px;
  border: 1px solid var(--dgb-line);
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  box-shadow: none;
}

.dgb-toggler span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--dgb-dark);
  border-radius: 999px;
}

.dgb-hero {
  padding: clamp(5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 7rem);
}

.dgb-hero-bg {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(56vw, 760px);
  height: min(56vw, 760px);
  background:
    radial-gradient(circle at 30% 30%, rgba(20, 92, 255, .20), transparent 34%),
    radial-gradient(circle at 70% 70%, rgba(255, 77, 46, .16), transparent 38%);
  filter: blur(10px);
  border-radius: 999px;
  pointer-events: none;
}

.dgb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--dgb-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: .9rem;
}

.dgb-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--dgb-accent);
  box-shadow: 0 0 0 6px rgba(255, 77, 46, .12);
}

.dgb-hero h1,
.dgb-page-hero h1 {
  font-size: clamp(2.55rem, 6vw, 5.9rem);
  line-height: .95;
  letter-spacing: -.075em;
  font-weight: 900;
  max-width: 980px;
}

.dgb-hero-lead,
.dgb-page-hero p,
.dgb-section p {
  color: var(--dgb-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.dgb-hero-lead { max-width: 720px; }

.dgb-visual-stage {
  position: relative;
  min-height: 470px;
}

.dgb-floating-object {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(360px, 78vw);
  min-height: 310px;
  border-radius: 32px;
  background: linear-gradient(145deg, #151c2d, #0b1020);
  box-shadow: 0 34px 90px rgba(15, 23, 42, .28);
  padding: 34px;
  animation: dgbFloat 5.6s ease-in-out infinite;
  overflow: hidden;
}

.dgb-floating-object::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 92, 255, .45), transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(255, 77, 46, .30), transparent 34%);
}

.dgb-code-line {
  position: relative;
  display: block;
  height: 13px;
  border-radius: 99px;
  width: 82%;
  background: rgba(255,255,255,.72);
  margin-bottom: 16px;
}

.dgb-code-line.short { width: 48%; background: rgba(255,255,255,.38); }
.dgb-code-line.mid { width: 66%; background: rgba(255,255,255,.52); }

.dgb-orb {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #8fb1ff);
  box-shadow: 0 18px 45px rgba(20, 92, 255, .38);
}

.dgb-floating-badge {
  position: absolute;
  border: 1px solid rgba(17, 24, 39, .08);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  padding: .85rem 1rem;
  border-radius: 999px;
  box-shadow: var(--dgb-shadow);
  font-weight: 800;
  font-size: .88rem;
  animation: dgbFloat 6.2s ease-in-out infinite;
}

.dgb-badge-one { top: 42px; left: 12px; }
.dgb-badge-two { right: 0; top: 120px; animation-delay: -1.4s; }
.dgb-badge-three { left: 54px; bottom: 66px; animation-delay: -2.4s; }

@keyframes dgbFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-18px); }
}

.dgb-floating-badge { transform: none; }
.dgb-floating-badge { animation-name: dgbBadgeFloat; }
@keyframes dgbBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.dgb-trustbar { padding: 1rem 0 3rem; }

.dgb-trust-item {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--dgb-line);
  border-radius: var(--dgb-radius-sm);
  padding: 1.25rem;
  min-height: 110px;
}

.dgb-trust-item strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -.06em;
  line-height: 1;
}

.dgb-trust-item span { color: var(--dgb-muted); font-weight: 700; }

.dgb-section { padding: clamp(4rem, 8vw, 7rem) 0; }

.dgb-section h2,
.dgb-page-hero h1 {
  font-weight: 900;
  letter-spacing: -.055em;
}

.dgb-section h2 { font-size: clamp(2rem, 4vw, 3.7rem); }

.dgb-section-heading { max-width: 760px; }

.dgb-card,
.dgb-post-card,
.dgb-feature-panel,
.dgb-step {
  background: var(--dgb-surface);
  border: 1px solid var(--dgb-line);
  border-radius: var(--dgb-radius);
  box-shadow: 0 14px 48px rgba(15, 23, 42, .06);
}

.dgb-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.dgb-card:hover {
  transform: translateY(-8px);
  border-color: rgba(20, 92, 255, .28);
  box-shadow: var(--dgb-shadow);
}

.dgb-card-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(20, 92, 255, .08);
  color: var(--dgb-primary);
  font-weight: 900;
  margin-bottom: 1.4rem;
}

.dgb-card h3,
.dgb-card h2,
.dgb-step h3 { font-weight: 850; letter-spacing: -.04em; }

.dgb-link-arrow {
  color: var(--dgb-primary);
  font-weight: 850;
  text-decoration: none;
}
.dgb-link-arrow::after { content: " →"; }

.dgb-process-section { background: #fff; }

.dgb-step { padding: 1.5rem; }
.dgb-step > span {
  color: rgba(20, 92, 255, .42);
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -.08em;
}

.dgb-showcase-panel {
  border-radius: 34px;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.24), transparent 28%),
    linear-gradient(135deg, #101827, #143b91 64%, #145cff);
  color: #fff;
  box-shadow: 0 30px 90px rgba(20, 60, 145, .22);
}

.dgb-showcase-panel p { color: rgba(255,255,255,.78); }

.dgb-parallax-device {
  position: relative;
  min-height: 320px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.13);
  border-radius: 28px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  animation: dgbDeviceFloat 5s ease-in-out infinite;
}

@keyframes dgbDeviceFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.dgb-device-top {
  height: 54px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  margin-bottom: 1rem;
}

.dgb-device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dgb-device-grid span {
  min-height: 92px;
  border-radius: 18px;
  background: rgba(255,255,255,.28);
}

.dgb-layered-card {
  position: relative;
  min-height: 420px;
}

.dgb-layered-card div {
  position: absolute;
  border-radius: 30px;
  box-shadow: var(--dgb-shadow);
}
.dgb-layered-card div:nth-child(1) { inset: 30px 70px 80px 10px; background: #fff; border: 1px solid var(--dgb-line); }
.dgb-layered-card div:nth-child(2) { inset: 90px 20px 30px 90px; background: linear-gradient(135deg, rgba(20,92,255,.95), rgba(20,92,255,.58)); }
.dgb-layered-card div:nth-child(3) { width: 145px; height: 145px; right: 30px; top: 10px; background: linear-gradient(135deg, #ff4d2e, #ffd3c8); animation: dgbBadgeFloat 5.5s ease-in-out infinite; }

.dgb-check-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: .75rem;
}

.dgb-check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--dgb-muted);
  font-weight: 650;
}

.dgb-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 92, 255, .10);
  color: var(--dgb-primary);
  font-size: .78rem;
  font-weight: 900;
}

.dgb-post-card { overflow: hidden; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.dgb-post-card:hover { transform: translateY(-6px); box-shadow: var(--dgb-shadow); }
.dgb-post-card-link { display: block; height: 100%; text-decoration: none; }
.dgb-post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #e8ecf5; }
.dgb-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dgb-post-card:hover img { transform: scale(1.04); }
.dgb-post-content { padding: 1.5rem; }
.dgb-post-content span { display: block; color: var(--dgb-primary); font-size: .82rem; font-weight: 800; margin-bottom: .5rem; }
.dgb-post-content h2 { font-weight: 850; letter-spacing: -.04em; }
.dgb-post-content p { color: var(--dgb-muted); }
.dgb-empty-posts { padding: 2rem; border: 1px dashed var(--dgb-line); border-radius: var(--dgb-radius); color: var(--dgb-muted); }

.dgb-cta-panel {
  border: 1px solid var(--dgb-line);
  border-radius: 34px;
  background: #fff;
  padding: clamp(2rem, 6vw, 5rem);
  box-shadow: var(--dgb-shadow);
}
.dgb-cta-panel p { max-width: 680px; margin: 0 auto 2rem; }

.dgb-page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 86% 12%, rgba(20, 92, 255, .14), transparent 30%),
    linear-gradient(180deg, #fff, var(--dgb-bg));
}
.dgb-page-hero p { max-width: 760px; }

.dgb-feature-panel { padding: clamp(1.5rem, 4vw, 2.5rem); }
.dgb-parallax-card { will-change: transform; }

.dgb-contact-form {
  background: #fff;
  border: 1px solid var(--dgb-line);
  border-radius: var(--dgb-radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--dgb-shadow);
}
.form-control {
  border-radius: 14px;
  min-height: 52px;
  border-color: rgba(17, 24, 39, .13);
}
textarea.form-control { min-height: 180px; }
.dgb-hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.dgb-content-area,
.dgb-narrow-content { max-width: 860px; }
.dgb-narrow-content { margin: 0 auto; }
.dgb-single-thumb img { border-radius: var(--dgb-radius); width: 100%; }

.dgb-footer {
  background: #0b1020;
  color: rgba(255,255,255,.82);
  padding: 4rem 0 2rem;
}
.dgb-footer h2 { color: #fff; }
.dgb-footer p { color: rgba(255,255,255,.68); }
.dgb-footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; color: #fff; }
.dgb-footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.dgb-footer-menu a,
.dgb-footer-link { color: rgba(255,255,255,.76); text-decoration: none; }
.dgb-footer-menu a:hover,
.dgb-footer-link:hover { color: #fff; }
.dgb-footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(255,255,255,.55); font-size: .92rem; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border: 1px solid var(--dgb-line);
    border-radius: 22px;
    padding: 1rem;
    margin-top: .75rem;
    box-shadow: var(--dgb-shadow);
  }
  .dgb-header-cta { margin-top: .75rem; width: 100%; }
  .dgb-visual-stage { min-height: 410px; }
  .dgb-footer-bottom { flex-direction: column; }
}

@media (max-width: 575.98px) {
  .dgb-hero { padding-top: 4rem; }
  .dgb-visual-stage { min-height: 330px; }
  .dgb-floating-object { min-height: 260px; padding: 26px; }
  .dgb-floating-badge { font-size: .76rem; padding: .7rem .8rem; }
  .dgb-badge-two { right: 8px; }
  .dgb-layered-card { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* LiveBuilder V2 additions */
.dgb-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.dgb-contact-form {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .08);
}

.dgb-footer .navbar-nav {
    display: block;
    margin-left: 0 !important;
}

.dgb-footer .nav-item + .nav-item {
    margin-top: .35rem;
}

.dgb-footer .nav-link {
    padding: 0;
    color: rgba(255, 255, 255, .72);
}

.dgb-footer .nav-link:hover {
    color: #fff;
}

.dgb-post-thumb {
    display: block;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.dgb-post-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Responsive hardening for DG Bootstrap LiveBuilder V4 Responsive */
@media (max-width: 1199.98px) {
  .dgb-hero h1,
  .dgb-page-hero h1 {
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767.98px) {
  .dgb-section,
  .dgb-page-hero {
    padding-left: 0;
    padding-right: 0;
  }
  .dgb-section h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }
  .dgb-hero h1,
  .dgb-page-hero h1 {
    font-size: clamp(2.15rem, 13vw, 3.45rem);
    line-height: 1;
  }
  .dgb-hero-lead,
  .dgb-page-hero p,
  .dgb-section p {
    font-size: 1rem;
    line-height: 1.65;
  }
  .dgb-card,
  .dgb-step,
  .dgb-feature-panel,
  .dgb-contact-form {
    border-radius: 18px;
  }
  .dgb-showcase-panel,
  .dgb-cta-panel {
    border-radius: 22px;
  }
  .dgb-device-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .btn-lg {
    --bs-btn-padding-y: .75rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1rem;
  }
  .dgb-floating-object {
    width: min(300px, 86vw);
  }
}

/* --------------------------------------------------------------------------
   Responsive renforcé V4 Code Responsive
   -------------------------------------------------------------------------- */
:root {
  --dgb-section-y: clamp(3.25rem, 7vw, 7rem);
  --dgb-container-x: clamp(1rem, 3vw, 1.5rem);
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body.dgb-body {
  min-width: 320px;
}

.dgb-region,
.dgb-main,
.dgb-section,
.dgb-page-hero,
.dgb-site-header,
.dgb-footer,
.container,
.container-fluid,
.row,
[class*="col-"] {
  min-width: 0;
}

.container,
.container-fluid {
  padding-left: var(--dgb-container-x);
  padding-right: var(--dgb-container-x);
}

.row {
  --bs-gutter-x: clamp(1rem, 3vw, 1.5rem);
  --bs-gutter-y: clamp(1rem, 3vw, 1.5rem);
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

img,
video {
  height: auto;
}

iframe {
  width: 100%;
  border: 0;
}

table {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

pre,
code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

p,
li,
a,
span,
figcaption,
blockquote {
  overflow-wrap: anywhere;
}

.dgb-section {
  padding-top: var(--dgb-section-y);
  padding-bottom: var(--dgb-section-y);
}

.dgb-hero,
.dgb-page-hero {
  padding-top: clamp(3.5rem, 8vw, 8rem);
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
}

.dgb-hero h1,
.dgb-page-hero h1,
.dgb-section h2,
.dgb-cta-panel h2,
.dgb-showcase-panel h2 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.dgb-hero h1,
.dgb-page-hero h1 {
  font-size: clamp(2.25rem, 8.2vw, 5.9rem);
}

.dgb-section h2,
.dgb-cta-panel h2,
.dgb-showcase-panel h2 {
  font-size: clamp(1.9rem, 5.4vw, 3.7rem);
}

.dgb-hero-lead,
.dgb-page-hero p,
.dgb-section p {
  font-size: clamp(1rem, 2.1vw, 1.08rem);
}

.dgb-card,
.dgb-step,
.dgb-feature-panel,
.dgb-contact-form,
.dgb-cta-panel,
.dgb-showcase-panel {
  max-width: 100%;
}

.dgb-card,
.dgb-step,
.dgb-feature-panel {
  height: 100%;
}

.dgb-card:hover,
.dgb-post-card:hover {
  transform: translateY(-4px);
}

.dgb-navbar .container {
  gap: .75rem;
}

.navbar-nav {
  gap: .15rem;
}

.dgb-header-cta,
.btn {
  white-space: normal;
}

.dgb-floating-object,
.dgb-floating-badge,
.dgb-parallax-card,
.dgb-parallax-device,
[data-dgb-parallax] {
  will-change: transform;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1240px;
  }
}

@media (max-width: 1199.98px) {
  .dgb-visual-stage {
    min-height: 420px;
  }

  .dgb-layered-card {
    min-height: 360px;
  }
}

@media (max-width: 991.98px) {
  .dgb-main {
    overflow: clip;
  }

  .navbar-collapse {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .navbar-nav .nav-link {
    display: block;
    padding: .8rem .9rem;
  }

  .dgb-hero .row,
  .dgb-showcase-panel .row,
  .dgb-page-hero .row {
    align-items: flex-start !important;
  }

  .dgb-visual-stage {
    min-height: 360px;
    margin-top: 2rem;
  }

  .dgb-floating-object {
    width: min(330px, 82vw);
    min-height: 285px;
  }

  .dgb-floating-badge {
    max-width: min(220px, 70vw);
    white-space: normal;
  }

  .dgb-showcase-panel {
    border-radius: 26px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --dgb-radius: 18px;
    --dgb-radius-sm: 12px;
  }

  .dgb-navbar {
    min-height: 66px;
  }

  .dgb-brand {
    max-width: calc(100vw - 100px);
    min-width: 0;
  }

  .dgb-brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dgb-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex: 0 0 auto;
  }

  .custom-logo {
    max-height: 42px;
  }

  .dgb-hero,
  .dgb-page-hero,
  .dgb-section {
    text-align: left;
  }

  .dgb-hero .d-flex,
  .dgb-cta-panel .d-flex,
  .dgb-showcase-panel .d-flex {
    flex-direction: column;
    align-items: stretch !important;
  }

  .dgb-hero .btn,
  .dgb-cta-panel .btn,
  .dgb-showcase-panel .btn {
    width: 100%;
  }

  .dgb-visual-stage {
    min-height: 315px;
  }

  .dgb-floating-object {
    width: min(300px, 88vw);
    min-height: 250px;
    padding: 24px;
    border-radius: 24px;
  }

  .dgb-badge-one { top: 12px; left: 0; }
  .dgb-badge-two { top: auto; right: 0; bottom: 30px; }
  .dgb-badge-three { left: 10px; bottom: -10px; }

  .dgb-device-grid {
    grid-template-columns: 1fr;
  }

  .dgb-device-grid span {
    min-height: 64px;
  }

  .dgb-parallax-device {
    min-height: 250px;
  }

  .dgb-layered-card div:nth-child(1) { inset: 20px 36px 64px 0; }
  .dgb-layered-card div:nth-child(2) { inset: 78px 0 28px 52px; }
  .dgb-layered-card div:nth-child(3) { width: 110px; height: 110px; right: 12px; top: 0; }

  .dgb-footer {
    padding-top: 3rem;
  }
}

@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .dgb-hero,
  .dgb-page-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .dgb-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .dgb-hero h1,
  .dgb-page-hero h1 {
    line-height: 1;
    letter-spacing: -.06em;
  }

  .dgb-card,
  .dgb-step,
  .dgb-feature-panel,
  .dgb-contact-form,
  .dgb-post-content {
    padding: 1.2rem;
  }

  .dgb-cta-panel,
  .dgb-showcase-panel {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .dgb-floating-badge {
    display: none;
  }

  .dgb-visual-stage {
    min-height: 275px;
  }

  .dgb-floating-object {
    width: min(270px, 86vw);
    min-height: 230px;
    padding: 22px;
  }

  .dgb-orb {
    width: 82px;
    height: 82px;
    right: 22px;
    bottom: 22px;
  }

  .dgb-layered-card {
    min-height: 280px;
  }

  .dgb-footer-bottom {
    margin-top: 2rem;
  }
}

@media (max-width: 389.98px) {
  .dgb-brand span:last-child {
    max-width: 160px;
  }

  .dgb-hero h1,
  .dgb-page-hero h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .dgb-section h2,
  .dgb-cta-panel h2,
  .dgb-showcase-panel h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .dgb-card,
  .dgb-step,
  .dgb-feature-panel,
  .dgb-contact-form,
  .dgb-cta-panel,
  .dgb-showcase-panel {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-dgb-parallax] {
    transform: none !important;
  }
}

/* =========================================================
   Responsive hardening V4.5
   Objectif : limiter les débordements sur tous les écrans.
   ========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-width: 0;
}

body.dgb-body {
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

.container,
.container-fluid,
.row,
[class*="col-"] {
  min-width: 0;
}

.container,
.container-fluid {
  max-width: 100%;
}

.row {
  --bs-gutter-x: min(1.5rem, 5vw);
}

img,
svg,
video,
canvas,
iframe,
embed,
object {
  max-width: 100%;
}

img,
video {
  height: auto;
}

iframe,
embed,
object {
  display: block;
  width: 100%;
}

table {
  width: 100%;
  max-width: 100%;
}

pre,
code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
.dgb-card,
.dgb-step,
.dgb-feature-panel,
.dgb-cta-panel,
.dgb-showcase-panel {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dgb-section,
.dgb-hero,
.dgb-page-hero,
.dgb-cta-section,
.dgb-showcase,
.dgb-main,
.dgb-site-header,
.dgb-footer {
  max-width: 100%;
}

.navbar,
.navbar > .container,
.navbar > .container-fluid {
  min-width: 0;
}

.navbar-collapse {
  min-width: 0;
}

.dgb-brand {
  min-width: 0;
  max-width: min(72vw, 360px);
}

.dgb-brand span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Classes image manipulables depuis le builder */
.dgb-img-cover {
  object-fit: cover;
}

.dgb-img-contain {
  object-fit: contain;
}

.dgb-img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.dgb-img-xs { max-width: 220px; }
.dgb-img-sm { max-width: 360px; }
.dgb-img-md { max-width: 560px; }
.dgb-img-lg { max-width: 760px; }
.dgb-img-xl { max-width: 960px; }
.dgb-img-full { width: 100%; max-width: 100%; }

.dgb-img-ratio-1x1,
.dgb-img-ratio-4x3,
.dgb-img-ratio-3x2,
.dgb-img-ratio-16x9,
.dgb-img-ratio-21x9 {
  width: 100%;
  object-fit: cover;
}

.dgb-img-ratio-1x1 { aspect-ratio: 1 / 1; }
.dgb-img-ratio-4x3 { aspect-ratio: 4 / 3; }
.dgb-img-ratio-3x2 { aspect-ratio: 3 / 2; }
.dgb-img-ratio-16x9 { aspect-ratio: 16 / 9; }
.dgb-img-ratio-21x9 { aspect-ratio: 21 / 9; }

@media (min-width: 1600px) {
  .container {
    max-width: 1320px;
  }
}

@media (max-width: 1199.98px) {
  .dgb-hero h1,
  .dgb-page-hero h1 {
    font-size: clamp(2.4rem, 7vw, 4.6rem);
  }
}

@media (max-width: 991.98px) {
  .dgb-navbar {
    min-height: 68px;
  }

  .navbar-collapse {
    width: 100%;
    padding: .85rem 0 1rem;
  }

  .navbar-nav {
    gap: .25rem;
  }

  .navbar-nav .nav-link {
    display: block;
    width: 100%;
    border-radius: 12px;
    padding: .72rem .85rem;
  }

  .dgb-header-cta {
    width: 100%;
    margin-top: .65rem;
  }

  .dgb-visual-stage,
  .dgb-parallax-device,
  .dgb-layered-card {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container,
  .container-fluid {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
  }

  .dgb-hero,
  .dgb-page-hero,
  .dgb-section {
    overflow: clip;
  }

  .dgb-hero .d-flex,
  .dgb-cta-panel .d-flex,
  .dgb-showcase-panel .d-flex,
  .dgb-section .d-flex.justify-content-between {
    flex-direction: column;
    align-items: stretch !important;
  }

  .dgb-hero .btn,
  .dgb-cta-panel .btn,
  .dgb-showcase-panel .btn,
  .dgb-section .btn {
    width: 100%;
    max-width: 100%;
  }

  .dgb-hero h1,
  .dgb-page-hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.2rem);
    letter-spacing: -.055em;
  }

  .dgb-section h2,
  .dgb-cta-panel h2,
  .dgb-showcase-panel h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.55rem);
  }

  .dgb-floating-object,
  .dgb-layered-card,
  .dgb-parallax-device {
    transform: none !important;
  }

  [data-dgb-parallax] {
    transform: none !important;
  }
}

@media (max-width: 575.98px) {
  .dgb-card,
  .dgb-step,
  .dgb-feature-panel,
  .dgb-contact-form,
  .dgb-post-content,
  .dgb-cta-panel,
  .dgb-showcase-panel {
    width: 100%;
  }

  .dgb-brand {
    max-width: 68vw;
  }

  .dgb-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex: 0 0 auto;
  }

  .custom-logo {
    max-width: 170px;
    max-height: 42px;
  }
}

@media (max-width: 359.98px) {
  .container,
  .container-fluid {
    padding-left: .82rem;
    padding-right: .82rem;
  }

  .dgb-hero h1,
  .dgb-page-hero h1 {
    font-size: clamp(1.85rem, 11vw, 2.5rem);
  }

  .btn,
  .navbar-nav .nav-link {
    white-space: normal;
  }
}


/* =========================================================
   DG Adaptive Responsive Layer
   Logique responsive globale pour blocs, Hn, textes, images,
   cards, grilles et sections créées depuis le LiveBuilder.
   ========================================================= */
:root {
  --dgb-fluid-section-y: clamp(3.25rem, 7vw, 7.5rem);
  --dgb-fluid-section-y-sm: clamp(2.25rem, 5vw, 4.5rem);
  --dgb-fluid-gap: clamp(1rem, 2.4vw, 2rem);
  --dgb-fluid-card-padding: clamp(1.15rem, 2.8vw, 2.25rem);
  --dgb-fluid-radius: clamp(14px, 2vw, 24px);
  --dgb-fluid-h1: clamp(2.15rem, 6.6vw, 5.65rem);
  --dgb-fluid-h2: clamp(1.85rem, 4.8vw, 3.9rem);
  --dgb-fluid-h3: clamp(1.42rem, 3vw, 2.35rem);
  --dgb-fluid-h4: clamp(1.2rem, 2vw, 1.65rem);
  --dgb-fluid-text: clamp(1rem, 1.15vw, 1.12rem);
  --dgb-fluid-small: clamp(.9rem, 1vw, .98rem);
}

html,
body {
  width: 100%;
  max-width: 100%;
}

body.dgb-body {
  overflow-x: clip;
}

.dgb-main,
.dglb-region,
section,
header,
footer,
article,
.container,
.container-fluid,
.row,
[class*="col-"] {
  min-width: 0;
}

/* Typographie adaptative globale */
.dgb-main h1,
.dglb-region h1,
.dgb-fluid-h1 {
  font-size: var(--dgb-fluid-h1);
  line-height: .98;
  letter-spacing: -.065em;
}

.dgb-main h2,
.dglb-region h2,
.dgb-fluid-h2 {
  font-size: var(--dgb-fluid-h2);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.dgb-main h3,
.dglb-region h3,
.dgb-fluid-h3 {
  font-size: var(--dgb-fluid-h3);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.dgb-main h4,
.dglb-region h4,
.dgb-fluid-h4 {
  font-size: var(--dgb-fluid-h4);
  line-height: 1.2;
}

.dgb-main p,
.dglb-region p,
.dgb-fluid-text {
  font-size: var(--dgb-fluid-text);
  line-height: 1.72;
}

.dgb-fluid-small {
  font-size: var(--dgb-fluid-small);
  line-height: 1.55;
}

/* Sections et blocs adaptatifs */
.dgb-section,
.dgb-adapt-section {
  padding-top: var(--dgb-fluid-section-y);
  padding-bottom: var(--dgb-fluid-section-y);
}

.dgb-adapt-section-sm {
  padding-top: var(--dgb-fluid-section-y-sm);
  padding-bottom: var(--dgb-fluid-section-y-sm);
}

.dgb-adapt-block,
.dgb-adapt-card,
.dgb-card,
.card,
.dgb-step,
.dgb-feature-panel,
.dgb-cta-panel,
.dgb-showcase-panel {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.dgb-adapt-card,
.dgb-card,
.card,
.dgb-step {
  padding: var(--dgb-fluid-card-padding);
  border-radius: var(--dgb-fluid-radius);
}

.dgb-adapt-grid,
.dgb-main .row,
.dglb-region .row {
  --bs-gutter-x: var(--dgb-fluid-gap);
  --bs-gutter-y: var(--dgb-fluid-gap);
}

.dgb-adapt-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dgb-fluid-gap);
}

.dgb-adapt-stack > * {
  min-width: 0;
}

.dgb-adapt-media,
.dgb-adapt-image,
.dgb-main img,
.dglb-region img,
.dgb-main picture,
.dglb-region picture,
.dgb-main svg,
.dglb-region svg,
.dgb-main video,
.dglb-region video,
.dgb-main iframe,
.dglb-region iframe {
  max-width: 100%;
}

.dgb-main img,
.dglb-region img,
.dgb-main video,
.dglb-region video,
.dgb-main iframe,
.dglb-region iframe {
  height: auto;
}

.dgb-adapt-image,
.dgb-adapt-media img,
.dgb-adapt-media video,
.dgb-adapt-media iframe {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.dgb-adapt-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dgb-adapt-contain {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.dgb-ratio-auto,
.dgb-ratio-1x1,
.dgb-ratio-4x3,
.dgb-ratio-3x2,
.dgb-ratio-16x9,
.dgb-ratio-21x9 {
  width: 100%;
  overflow: hidden;
}

.dgb-ratio-1x1 { aspect-ratio: 1 / 1; }
.dgb-ratio-4x3 { aspect-ratio: 4 / 3; }
.dgb-ratio-3x2 { aspect-ratio: 3 / 2; }
.dgb-ratio-16x9 { aspect-ratio: 16 / 9; }
.dgb-ratio-21x9 { aspect-ratio: 21 / 9; }

.dgb-ratio-1x1 > img,
.dgb-ratio-4x3 > img,
.dgb-ratio-3x2 > img,
.dgb-ratio-16x9 > img,
.dgb-ratio-21x9 > img,
.dgb-ratio-1x1 > video,
.dgb-ratio-4x3 > video,
.dgb-ratio-3x2 > video,
.dgb-ratio-16x9 > video,
.dgb-ratio-21x9 > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dgb-btn-fluid,
.dgb-adapt-buttons .btn {
  white-space: normal;
  overflow-wrap: anywhere;
}

.dgb-table-fluid {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Sécurité responsive Bootstrap : empêche les colonnes/cards/images de déborder */
.row > *,
[class^="col"],
[class*=" col"] {
  min-width: 0;
}

.dgb-main .w-25,
.dglb-region .w-25,
.dgb-main .w-50,
.dglb-region .w-50,
.dgb-main .w-75,
.dglb-region .w-75,
.dgb-main .w-100,
.dglb-region .w-100 {
  max-width: 100%;
}

@media (max-width: 1399.98px) {
  :root {
    --dgb-fluid-h1: clamp(2.1rem, 6vw, 5rem);
    --dgb-fluid-h2: clamp(1.8rem, 4.4vw, 3.5rem);
  }
}

@media (max-width: 1199.98px) {
  :root {
    --dgb-fluid-section-y: clamp(3rem, 6.5vw, 6rem);
    --dgb-fluid-card-padding: clamp(1.1rem, 2.5vw, 1.9rem);
  }

  .dgb-adapt-stack-xl {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

@media (max-width: 991.98px) {
  :root {
    --dgb-fluid-section-y: clamp(2.75rem, 7vw, 5rem);
    --dgb-fluid-h1: clamp(2rem, 7.5vw, 4.1rem);
    --dgb-fluid-h2: clamp(1.7rem, 5.8vw, 3rem);
    --dgb-fluid-h3: clamp(1.35rem, 3.8vw, 2rem);
    --dgb-fluid-text: clamp(.98rem, 1.8vw, 1.08rem);
  }

  .dgb-adapt-stack-lg,
  .dgb-adapt-stack-tablet,
  .dgb-hero .d-flex,
  .dgb-section .d-flex.justify-content-between {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .dgb-adapt-grid-lg > [class*="col-lg-"],
  .dgb-adapt-grid-tablet > [class*="col-lg-"],
  .dgb-adapt-grid-tablet > [class*="col-xl-"],
  .dgb-adapt-grid-tablet > [class*="col-xxl-"] {
    flex: 0 0 auto;
    width: 100%;
  }

  .dgb-adapt-card,
  .dgb-card,
  .card,
  .dgb-step {
    height: auto !important;
  }
}

@media (max-width: 767.98px) {
  :root {
    --dgb-fluid-section-y: clamp(2.4rem, 10vw, 4.25rem);
    --dgb-fluid-section-y-sm: clamp(1.75rem, 8vw, 3.25rem);
    --dgb-fluid-gap: clamp(.85rem, 4.5vw, 1.35rem);
    --dgb-fluid-card-padding: clamp(1rem, 5vw, 1.45rem);
    --dgb-fluid-radius: 16px;
    --dgb-fluid-h1: clamp(1.9rem, 10vw, 3.15rem);
    --dgb-fluid-h2: clamp(1.58rem, 8.5vw, 2.45rem);
    --dgb-fluid-h3: clamp(1.22rem, 6vw, 1.75rem);
    --dgb-fluid-h4: clamp(1.08rem, 4.6vw, 1.35rem);
    --dgb-fluid-text: clamp(.96rem, 4vw, 1.04rem);
  }

  .dgb-section,
  .dgb-adapt-section {
    padding-top: var(--dgb-fluid-section-y);
    padding-bottom: var(--dgb-fluid-section-y);
  }

  .dgb-adapt-stack,
  .dgb-adapt-stack-md,
  .dgb-adapt-stack-mobile,
  .dgb-cta-panel .d-flex,
  .dgb-showcase-panel .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .dgb-adapt-grid > [class*="col-"],
  .dgb-adapt-grid-mobile > [class*="col-"],
  .dgb-main .row > [class*="col-md-"],
  .dglb-region .row > [class*="col-md-"],
  .dgb-main .row > [class*="col-lg-"],
  .dglb-region .row > [class*="col-lg-"] {
    flex: 0 0 auto;
    width: 100%;
  }

  .dgb-adapt-card,
  .dgb-card,
  .card,
  .dgb-step,
  .dgb-feature-panel,
  .dgb-cta-panel,
  .dgb-showcase-panel {
    padding: var(--dgb-fluid-card-padding);
    border-radius: var(--dgb-fluid-radius);
    margin-left: 0;
    margin-right: 0;
  }

  .dgb-adapt-text-center-mobile,
  .dgb-main .text-md-start,
  .dglb-region .text-md-start,
  .dgb-main .text-lg-start,
  .dglb-region .text-lg-start {
    text-align: center !important;
  }

  .dgb-adapt-buttons,
  .dgb-adapt-buttons .btn,
  .dgb-main .btn-group,
  .dglb-region .btn-group {
    width: 100%;
  }

  .dgb-adapt-buttons {
    display: grid !important;
    gap: .75rem;
  }

  .dgb-main .btn,
  .dglb-region .btn {
    max-width: 100%;
  }

  .dgb-main img.alignleft,
  .dgb-main img.alignright,
  .dgb-main figure.alignleft,
  .dgb-main figure.alignright {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .dgb-adapt-hide-mobile {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .dgb-main .container,
  .dglb-region .container,
  .dgb-main .container-fluid,
  .dglb-region .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: max(.95rem, env(safe-area-inset-left));
    padding-right: max(.95rem, env(safe-area-inset-right));
  }

  .dgb-main .row,
  .dglb-region .row {
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-right: calc(-.5 * var(--bs-gutter-x));
  }

  .dgb-main .fs-1,
  .dglb-region .fs-1 { font-size: clamp(1.75rem, 9vw, 2.55rem) !important; }
  .dgb-main .fs-2,
  .dglb-region .fs-2 { font-size: clamp(1.55rem, 7.8vw, 2.15rem) !important; }
  .dgb-main .fs-3,
  .dglb-region .fs-3 { font-size: clamp(1.35rem, 6.8vw, 1.85rem) !important; }
  .dgb-main .fs-4,
  .dglb-region .fs-4 { font-size: clamp(1.18rem, 5.5vw, 1.45rem) !important; }

  .dgb-main .p-5,
  .dglb-region .p-5,
  .dgb-main .px-5,
  .dglb-region .px-5 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .dgb-main .py-5,
  .dglb-region .py-5,
  .dgb-main .p-5,
  .dglb-region .p-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .dgb-main .m-5,
  .dglb-region .m-5,
  .dgb-main .mx-5,
  .dglb-region .mx-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .dgb-ratio-21x9,
  .dgb-img-ratio-21x9 {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 390px) {
  :root {
    --dgb-fluid-h1: clamp(1.75rem, 10.5vw, 2.65rem);
    --dgb-fluid-h2: clamp(1.45rem, 8.8vw, 2.15rem);
    --dgb-fluid-text: .96rem;
  }

  .dgb-main .btn,
  .dglb-region .btn,
  .navbar-nav .nav-link {
    white-space: normal;
    line-height: 1.25;
  }
}

/* ------------------------------------------------------------
   Performance front : rendu progressif et médias stables
   ------------------------------------------------------------ */
@supports (content-visibility: auto) {
  .dgb-section,
  .dgb-page-section,
  .dgb-showcase,
  .dgb-process,
  .dgb-trust,
  .dgb-cta {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
  }
}

.dgb-main img,
.dgb-main video,
.dgb-main svg,
.dgb-main canvas,
.dgb-main iframe {
  max-width: 100%;
}

.dgb-main iframe,
.dgb-fluid-iframe {
  display: block;
  width: 100%;
  border: 0;
}

.dgb-main picture,
.dgb-main figure {
  display: block;
  max-width: 100%;
}

.dgb-card,
.dgb-service-card,
.dgb-step,
.dgb-feature-panel,
.dgb-showcase-panel,
.dgb-cta-panel {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  [data-dgb-parallax] {
    transform: none !important;
  }
}

/* =========================================================
   DG LiveBuilder Plus : effets préconçus et WooCommerce
   ========================================================= */
.dgb-section-sm {
    padding: clamp(2rem, 4vw, 4rem) 0;
}

.dgb-image-frame {
    overflow: hidden;
    border-radius: 1.5rem;
}

.dgb-image-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.dgb-effect-object {
    position: relative;
    overflow: hidden;
}

.dgb-effect-orb {
    width: clamp(70px, 12vw, 130px);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.95), rgba(37,99,235,.32) 45%, rgba(15,23,42,.08));
    box-shadow: 0 24px 60px rgba(37,99,235,.22);
}

.dgbfx-float {
    animation: dgbFloat 5.5s ease-in-out infinite;
    will-change: transform;
}

.dgbfx-float-slow {
    animation: dgbFloat 8s ease-in-out infinite;
    will-change: transform;
}

.dgbfx-hover-lift {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.dgbfx-hover-lift:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .12);
}

.dgbfx-soft-glow {
    box-shadow: 0 22px 70px rgba(37, 99, 235, .18);
}

.dgbfx-tilt {
    transform-style: preserve-3d;
    transition: transform .25s ease, box-shadow .25s ease;
}

.dgbfx-tilt:hover {
    transform: perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-4px);
}

.dgbfx-blur-card {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dgbfx-reveal {
    opacity: 0;
    transition: opacity .65s ease, transform .65s ease;
}

.dgbfx-reveal.dgbfx-fade-up {
    transform: translate3d(0, 28px, 0);
}

.dgbfx-reveal.dgbfx-zoom-in {
    transform: scale(.96);
}

.dgbfx-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes dgbFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -14px, 0); }
}

/* WooCommerce : rendu de base propre avec Bootstrap */
.dgb-woo-main,
.dgb-woo-section {
    overflow-x: clip;
}

.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: 0;
    margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce .dgb-woo-product-card {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    list-style: none;
    padding: clamp(1rem, 2vw, 1.25rem);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    border-radius: .85rem;
    margin-bottom: 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: var(--bs-dark, #111827);
}

.woocommerce .price {
    color: var(--bs-primary, #0d6efd);
    font-weight: 800;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button {
    border-radius: .75rem;
    font-weight: 800;
}

.woocommerce div.product div.images img {
    border-radius: 1.1rem;
}

.woocommerce div.product .product_title {
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.04em;
}

.woocommerce-cart table.cart img {
    width: 80px;
    height: auto;
    border-radius: .6rem;
}

@media (max-width: 1199.98px) {
    .woocommerce .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .woocommerce .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .woocommerce .products {
        grid-template-columns: 1fr;
    }

    .dgbfx-hover-lift:hover,
    .dgbfx-tilt:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce), (max-width: 767.98px) {
    .dgbfx-float,
    .dgbfx-float-slow {
        animation: none !important;
    }

    .dgbfx-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
