/* DevPrestaDev v1.1 — sites publics des clients.
   Aucune police ni ressource externe : chargement rapide et aucun transfert de données à des tiers.
   La couleur du client arrive par --accent (et --on-accent pour le texte posé dessus). */

/* ---------- Valeurs par défaut (chaque design les remplace via l'attribut style du <body>) ---------- */
:root {
  --bg: #ffffff; --surface: #f5f7fa; --fg: #172033; --muted: #5a6476; --line: #e3e7ee;
  --accent: #2563eb; --on-accent: #ffffff; --accent-text: #2563eb;
  --head-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px; --btn-radius: 10px; --head-weight: 750; --head-spacing: -0.02em; --head-case: none;
  --header-bg: var(--bg); --header-fg: var(--fg);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.65 var(--body-font);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head-font); font-weight: var(--head-weight); letter-spacing: var(--head-spacing); text-transform: var(--head-case); line-height: 1.18; }
h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 18px; }
h2 { font-size: clamp(24px, 3vw, 32px); margin: 42px 0 14px; }
h3 { font-size: 21px; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.dpd-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.dpd-muted { color: var(--muted); }
.dpd-small { font-size: 14px; }
.dpd-center { text-align: center; padding-top: 60px; padding-bottom: 80px; }
.dpd-skip { position: absolute; left: -9999px; }
.dpd-skip:focus { left: 12px; top: 12px; background: var(--bg); padding: 8px 12px; z-index: 50; }

/* ---------- Boutons ---------- */
.dpd-btn, .dpd-content .btn {
  display: inline-block; background: var(--accent) !important; color: var(--on-accent) !important;
  border: 0; border-radius: var(--btn-radius); padding: 13px 22px;
  font: 700 16px/1.2 var(--body-font); text-decoration: none; cursor: pointer;
  transition: transform .15s, filter .15s;
}
.dpd-btn:hover, .dpd-content .btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.dpd-btn-ghost { background: transparent !important; color: var(--fg) !important; box-shadow: inset 0 0 0 2px var(--line); }
.dpd-btn-alt { background: var(--fg) !important; color: var(--bg) !important; }
.dpd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- En-tête ---------- */
.dpd-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.dpd-header-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.dpd-brand { margin-right: auto; color: var(--fg) !important; text-decoration: none; font: var(--head-weight) 22px/1.1 var(--head-font); letter-spacing: var(--head-spacing); }
.dpd-logo { display: block; max-height: 48px; width: auto; }
.dpd-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.dpd-nav a { color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; }
.dpd-nav-mobile a:hover, .dpd-nav-mobile a[aria-current="page"] { color: var(--accent-text); }
.dpd-call { padding: 10px 16px; font-size: 15px; }
.dpd-nav-mobile { display: none; position: relative; }
.dpd-nav-mobile summary {
  list-style: none; cursor: pointer; padding: 9px 14px; border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px); font-weight: 700; font-size: 15px;
}
.dpd-nav-mobile summary::-webkit-details-marker { display: none; }
.dpd-nav-mobile nav {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: 0 16px 40px #0000001f;
}
.dpd-nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.dpd-nav-mobile a { display: block; padding: 10px 12px; color: var(--fg); text-decoration: none; font-weight: 600; }
.dpd-notice { background: #fff4d6; color: #6b4b00; text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; }

/* ---------- Accueil ---------- */
.dpd-hero { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); padding: 76px 0 64px; border-bottom: 1px solid var(--line); }
.dpd-hero h1 { font-size: clamp(38px, 6vw, 64px); max-width: 820px; }
.dpd-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 800; color: var(--accent-text); margin: 0 0 14px; }
.dpd-lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 680px; margin: 0; }

/* ---------- Contenu ---------- */
.dpd-content { padding-top: 48px; padding-bottom: 56px; }
.dpd-content > * { max-width: 780px; }
.dpd-content > .dpd-contact-grid, .dpd-content > .dpd-posts { max-width: none; }
.dpd-content > h1:first-child, .dpd-content > h2:first-child { margin-top: 0; }
.dpd-intro { font-size: 19px; color: var(--muted); }
.dpd-content figure { margin: 28px 0; }
.dpd-content figure img { border-radius: var(--radius); display: block; }
.dpd-content figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.dpd-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.dpd-card-title { font: var(--head-weight) 21px/1.3 var(--head-font); margin: 0 0 14px; }
.dpd-posts { display: grid; gap: 18px; margin-top: 26px; }
.dpd-posts h2 { margin: 6px 0 8px; font-size: 24px; }
.dpd-posts h2 a { color: var(--fg); text-decoration: none; }
.dpd-more, .dpd-back { font-weight: 700; text-decoration: none; }
.dpd-legal h2 { font-size: 22px; margin-top: 34px; }
.dpd-legal ul { padding-left: 20px; }

/* ---------- Appel à l'action ---------- */
.dpd-cta { background: var(--surface); border-top: 1px solid var(--line); padding: 52px 0; }
.dpd-cta-title { font: var(--head-weight) clamp(26px, 3.4vw, 36px)/1.2 var(--head-font); letter-spacing: var(--head-spacing); margin: 0 0 8px; }
.dpd-cta p { margin: 0; color: var(--muted); }
.dpd-cta .dpd-cta-title { color: var(--fg); margin-bottom: 8px; }

/* ---------- Contact ---------- */
.dpd-contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 22px; align-items: start; margin-top: 10px; }
.dpd-contact-grid .dpd-content { padding: 0; }
.dpd-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.dpd-form input, .dpd-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 16px/1.4 var(--body-font);
  color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: calc(var(--radius) - 4px);
}
.dpd-form input:focus, .dpd-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.dpd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dpd-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dpd-errors { background: #fdecef; color: #8f1f38; border-radius: 10px; padding: 4px 16px; margin-bottom: 16px; font-weight: 600; }
.dpd-success { padding: 8px 0; }

/* ---------- Pied de page ---------- */
.dpd-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 26px; font-size: 15px; }
.dpd-footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dpd-footer-title { font: var(--head-weight) 17px/1.3 var(--head-font); margin: 0 0 10px; }
.dpd-footer p { margin: 0; color: var(--muted); }
.dpd-footer .dpd-footer-title { color: var(--fg); }
.dpd-footer a { color: var(--fg); }
.dpd-footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.dpd-made { margin-left: auto; }

/* ---------- Barre mobile & bouton Modifier ---------- */
.dpd-bar { display: none; }
.dpd-edit {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; background: #111827; color: #fff !important;
  padding: 10px 16px; border-radius: 999px; font: 700 14px/1 var(--body-font); text-decoration: none; box-shadow: 0 8px 24px #0000003a;
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .dpd-nav-desktop, .dpd-call { display: none; }
  .dpd-nav-mobile { display: block; }
  .dpd-hero { padding: 48px 0 40px; }
  .dpd-contact-grid, .dpd-footer-grid, .dpd-form-row { grid-template-columns: 1fr; }
  .dpd-made { margin-left: 0; }
  body.has-bar { padding-bottom: 74px; }
  .dpd-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
  }
  .dpd-bar .dpd-btn { flex: 1; text-align: center; }
  .dpd-edit { bottom: 86px; }
}

/* ---------- v1.0 : nouveaux blocs ---------- */
.dpd-block { margin: 40px 0; }
.dpd-content > .dpd-block { max-width: none; }
.dpd-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.dpd-gallery-grid figure { margin: 0; }
.dpd-gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) - 4px); transition: transform .2s; }
.dpd-gallery-grid a:hover img { transform: scale(1.02); }
.dpd-gallery-grid figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.dpd-ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dpd-ba-grid figure { margin: 0; position: relative; }
.dpd-ba-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.dpd-ba-grid figcaption {
  position: absolute; left: 12px; top: 12px; background: var(--bg); color: var(--fg); font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em; padding: 6px 10px; border-radius: 99px;
}
.dpd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.dpd-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; }
.dpd-card h3 { margin: 0 0 8px; font-size: 19px; }
.dpd-card p { margin: 0; color: var(--muted); }
.dpd-review p { color: var(--fg); font-size: 17px; }
.dpd-review footer { margin-top: 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.dpd-stars { color: var(--accent-text); letter-spacing: 2px; margin-left: 6px; }
.dpd-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.dpd-faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.dpd-faq summary::after { content: '+'; color: var(--accent-text); font-weight: 800; }
.dpd-faq details[open] summary::after { content: '–'; }
.dpd-faq summary::-webkit-details-marker { display: none; }
.dpd-faq details p { margin: 10px 0 0; color: var(--muted); }
.dpd-hours table { border-collapse: collapse; min-width: min(420px, 100%); }
.dpd-hours th, .dpd-hours td { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); }
.dpd-hours th { font-weight: 700; }
.dpd-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.dpd-stat { background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.dpd-stat strong { display: block; font: var(--head-weight) clamp(34px, 4vw, 46px)/1.1 var(--head-font); color: var(--fg); }
.dpd-stat span { color: var(--muted); }
@media (max-width: 820px) {
  .dpd-ba-grid { grid-template-columns: 1fr; }
}
.dpd-form select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 16px/1.4 var(--body-font); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: calc(var(--radius) - 4px); }
.dpd-form input[type=file] { padding: 10px; }

/* ---------- Designs : en-têtes ---------- */
.dpd-header { background: var(--header-bg); }
.dpd-header .dpd-brand, .dpd-nav-desktop a, .dpd-nav-mobile summary { color: var(--header-fg) !important; }
.dpd-nav-desktop a { opacity: .86; }
.dpd-nav-desktop a:hover, .dpd-nav-desktop a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.d-hdr-dark .dpd-header, .d-hdr-accent .dpd-header { border-bottom-color: transparent; }
.d-hdr-dark .dpd-nav-mobile summary, .d-hdr-accent .dpd-nav-mobile summary { border-color: currentColor; }
.d-hdr-accent .dpd-call { background: var(--header-fg) !important; color: var(--header-bg) !important; }

/* ---------- Designs : bandeau d'accueil ---------- */
.d-hero-plain .dpd-hero { background: var(--bg); border-bottom: 0; padding-bottom: 24px; }
.d-hero-center .dpd-hero { background: var(--surface); text-align: center; }
.d-hero-center .dpd-hero h1, .d-hero-center .dpd-lead { margin-left: auto; margin-right: auto; }
.d-hero-center .dpd-actions { justify-content: center; }
.d-hero-band .dpd-hero { background: var(--surface); }
.d-hero-band .dpd-hero .dpd-wrap > * { border-left: 6px solid var(--accent); padding-left: 24px; }
.d-hero-band .dpd-hero .dpd-actions { border-left-color: transparent; }
.d-hero-accent .dpd-hero { background: var(--accent); color: var(--on-accent); border-bottom: 0; }
.d-hero-accent .dpd-hero .dpd-lead, .d-hero-accent .dpd-hero .dpd-eyebrow { color: var(--on-accent); opacity: .92; }
.d-hero-accent .dpd-hero .dpd-btn { background: var(--on-accent) !important; color: var(--accent) !important; }
.d-hero-accent .dpd-hero .dpd-btn-ghost, .d-hero-dark .dpd-hero .dpd-btn-ghost, .dpd-hero.has-image .dpd-btn-ghost { background: transparent !important; color: inherit !important; box-shadow: inset 0 0 0 2px currentColor; }
.d-hero-dark .dpd-hero { background: radial-gradient(900px 380px at 15% -20%, color-mix(in srgb, var(--accent) 40%, transparent), transparent), #0c111b; color: #f3f5f9; border-bottom: 0; }
.d-hero-dark .dpd-hero .dpd-lead { color: #cfd6e3; }
.d-hero-dark .dpd-hero .dpd-eyebrow, .dpd-hero.has-image .dpd-eyebrow { color: #ffffff; opacity: .85; }
.dpd-hero.has-image {
  background: linear-gradient(rgba(10, 12, 18, .58), rgba(10, 12, 18, .42)), var(--hero-image) center / cover no-repeat;
  color: #ffffff; padding: 120px 0 104px; border-bottom: 0;
}
.dpd-hero.has-image .dpd-lead { color: #eef0f4; }

/* ---------- Designs : cartes ---------- */
.d-cards-shadow .dpd-card, .d-cards-shadow .dpd-stat { background: var(--bg); border-color: transparent; box-shadow: 0 12px 32px rgba(15, 23, 42, .09); }
.d-cards-flat .dpd-card, .d-cards-flat .dpd-stat { border-color: transparent; }
.d-dark.d-cards-shadow .dpd-card { box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.d-dark .dpd-footer { background: color-mix(in srgb, var(--bg) 70%, #000000); }
.d-dark .dpd-notice { background: #3b2f0b; color: #fde68a; }

/* =====================================================================
   v1.1 — sections pleine largeur, diaporama, nouveaux blocs, animations
   ===================================================================== */
.dpd-flow { padding-top: 8px; padding-bottom: 8px; }
.dpd-flow:first-child { padding-top: 48px; }
.dpd-flow:last-child { padding-bottom: 56px; }
.dpd-page-head { padding-bottom: 0; }
.dpd-page-head + .dpd-flow { padding-top: 0; }
.dpd-page-head > :last-child { margin-bottom: 8px; }

/* ---------- Sections mises en forme ---------- */
.dpd-sec { position: relative; padding: 64px 0; }
.dpd-sec.sp-compact { padding: 36px 0; }
.dpd-sec.sp-large { padding: 104px 0; }
.dpd-sec .dpd-block { margin: 0; }
.dpd-sec .dpd-block > h2:first-child { margin-top: 0; }
.dpd-sec.w-narrow .dpd-sec-inner { max-width: 760px; }
.dpd-sec.w-wide .dpd-sec-inner { max-width: 1320px; }
.dpd-sec.w-full .dpd-sec-inner { max-width: none; padding: 0 clamp(16px, 4vw, 56px); }
.dpd-sec.al-center { text-align: center; }
.dpd-sec.al-center .dpd-actions { justify-content: center; }
.dpd-sec.al-center .dpd-block > h2, .dpd-sec.al-center .dpd-block > p { margin-left: auto; margin-right: auto; max-width: 760px; }
.dpd-sec.bg-surface { background: var(--surface); }
.dpd-sec.bg-accent { background: var(--accent); color: var(--on-accent); }
.dpd-sec.bg-dark { background: #0d1118; color: #eef1f6; }
.dpd-sec.bg-image { background: linear-gradient(rgba(10, 12, 18, .62), rgba(10, 12, 18, .5)), var(--sec-image) center / cover no-repeat; color: #ffffff; }
.dpd-sec.bg-accent a:not(.dpd-btn), .dpd-sec.bg-dark a:not(.dpd-btn), .dpd-sec.bg-image a:not(.dpd-btn) { color: inherit; }
.dpd-sec.bg-accent .dpd-btn { background: var(--on-accent) !important; color: var(--accent) !important; }
.dpd-sec.bg-accent .dpd-btn-ghost, .dpd-sec.bg-dark .dpd-btn-ghost, .dpd-sec.bg-image .dpd-btn-ghost { background: transparent !important; color: inherit !important; box-shadow: inset 0 0 0 2px currentColor; }
.dpd-sec.bg-accent .dpd-muted, .dpd-sec.bg-dark .dpd-muted, .dpd-sec.bg-image .dpd-muted,
.dpd-sec.bg-accent p, .dpd-sec.bg-dark p, .dpd-sec.bg-image p { color: inherit; }
.dpd-sec.bg-dark .dpd-card, .dpd-sec.bg-image .dpd-card, .dpd-sec.bg-dark .dpd-feature, .dpd-sec.bg-image .dpd-feature,
.dpd-sec.bg-dark .dpd-price-card, .dpd-sec.bg-dark .dpd-team-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: inherit; }
.dpd-sec.bg-accent .dpd-card, .dpd-sec.bg-accent .dpd-feature { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: inherit; }
.dpd-sec.bg-accent .dpd-icon, .dpd-sec.bg-dark .dpd-icon, .dpd-sec.bg-image .dpd-icon { color: inherit; background: rgba(255, 255, 255, .14); }

/* ---------- Illustrations IA : toujours signalées ---------- */
.dpd-ai-label {
  position: absolute; right: 10px; bottom: 10px; z-index: 3; padding: 3px 8px; border-radius: 999px;
  background: rgba(10, 12, 18, .62); color: #ffffff; font: 600 11px/1.4 var(--body-font); letter-spacing: .01em; pointer-events: none;
}
.block-image, .dpd-imgtext-media, .dpd-col-media { position: relative; }
.dpd-sec > .dpd-ai-label { right: 14px; bottom: 14px; }

/* ---------- Diaporama ---------- */
.dpd-slider { position: relative; overflow: hidden; background: #0d1118; color: #ffffff; isolation: isolate; }
.dpd-slider.h-medium { --slider-h: clamp(380px, 62vh, 640px); }
.dpd-slider.h-large { --slider-h: clamp(440px, 80vh, 860px); }
.dpd-slider.h-full { --slider-h: max(480px, calc(100vh - 72px)); --slider-h: max(480px, calc(100svh - 72px)); }
.dpd-slides { position: relative; height: var(--slider-h); touch-action: pan-y; }
.dpd-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, transform .9s ease, visibility 0s linear .9s; }
.dpd-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease, transform .9s ease, visibility 0s; }
.dpd-slide-bg { position: absolute; inset: 0; z-index: -1; background: var(--slide-image, none) center / cover no-repeat, linear-gradient(135deg, var(--accent) 0%, #0d1118 100%); }
.dpd-slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 16, var(--ov, .55)) 0%, rgba(8, 10, 16, calc(var(--ov, .55) * .55)) 70%, rgba(8, 10, 16, calc(var(--ov, .55) * .35)) 100%); }
.dpd-slider.al-center .dpd-slide-bg::after { background: rgba(8, 10, 16, var(--ov, .55)); }
.dpd-slide.no-image .dpd-slide-bg::after { background: rgba(8, 10, 16, .18); }
.dpd-slider.ov-light { --ov: .32; }
.dpd-slider.ov-medium { --ov: .52; }
.dpd-slider.ov-strong { --ov: .7; }
.dpd-slide-content { position: relative; width: 100%; }
.dpd-slide-content > * { max-width: 720px; }
.dpd-slider.al-center .dpd-slide-content { text-align: center; }
.dpd-slider.al-center .dpd-slide-content > * { margin-left: auto; margin-right: auto; }
.dpd-slide-title { font-size: clamp(34px, 5.6vw, 66px); line-height: 1.08; margin: 0 0 18px; color: #ffffff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.dpd-slide-text { font-size: clamp(17px, 2vw, 21px); margin: 0 0 26px; color: rgba(255, 255, 255, .92); }
.dpd-slide-actions { margin: 0; }
/* Effets de transition */
.dpd-slider.fx-slide .dpd-slide { opacity: 1; transform: translateX(100%); transition: transform .8s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .8s; }
.dpd-slider.fx-slide .dpd-slide.is-active { transform: translateX(0); transition: transform .8s cubic-bezier(.65, 0, .35, 1), visibility 0s; }
.dpd-slider.fx-slide .dpd-slide.is-leaving { transform: translateX(-100%); visibility: visible; }
.dpd-slider.fx-slide.is-reverse .dpd-slide:not(.is-active):not(.is-leaving) { transform: translateX(-100%); }
.dpd-slider.fx-slide.is-reverse .dpd-slide.is-leaving { transform: translateX(100%); }
.dpd-slider.fx-zoom .dpd-slide { transform: scale(1.08); }
.dpd-slider.fx-zoom .dpd-slide.is-active { transform: scale(1); }
/* Effet Ken Burns : la photo avance doucement pendant que la diapositive est affichée */
.dpd-slider.kenburns .dpd-slide.is-active .dpd-slide-bg { animation: dpd-kenburns 12s ease-out both; }
.dpd-slider.kenburns .dpd-slide:nth-child(even).is-active .dpd-slide-bg { animation-name: dpd-kenburns-alt; }
@keyframes dpd-kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes dpd-kenburns-alt { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1); } }
/* Textes animés (calques) */
.dpd-slide.is-active .dpd-slide-content > * { animation: dpd-in-fade-up .9s cubic-bezier(.2, .7, .2, 1) both; }
.dpd-slide.is-active .dpd-slide-content > :nth-child(2) { animation-delay: .18s; }
.dpd-slide.is-active .dpd-slide-content > :nth-child(3) { animation-delay: .36s; }
.dpd-slider.ta-slide-left .dpd-slide.is-active .dpd-slide-content > * { animation-name: dpd-in-slide-left; }
.dpd-slider.ta-zoom .dpd-slide.is-active .dpd-slide-content > * { animation-name: dpd-in-zoom; }
.dpd-slider.ta-none .dpd-slide.is-active .dpd-slide-content > * { animation: none; }
@keyframes dpd-in-fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes dpd-in-slide-left { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes dpd-in-zoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
/* Commandes */
.dpd-slider-arrow {
  position: absolute; top: 50%; z-index: 4; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .16); color: #ffffff; font: 400 34px/44px var(--body-font); cursor: pointer; backdrop-filter: blur(4px);
  transition: background .2s;
}
.dpd-slider-arrow:hover, .dpd-slider-arrow:focus-visible { background: rgba(255, 255, 255, .32); }
.dpd-slider-prev { left: 18px; }
.dpd-slider-next { right: 18px; }
.dpd-slider-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 4; display: flex; justify-content: center; gap: 10px; }
.dpd-slider-dot { width: 11px; height: 11px; padding: 0; border: 2px solid #ffffff; border-radius: 50%; background: transparent; cursor: pointer; transition: transform .2s, background .2s; }
.dpd-slider-dot.is-active { background: #ffffff; transform: scale(1.15); }
.dpd-slider-pause { position: absolute; left: 18px; bottom: 16px; z-index: 4; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #ffffff; font: 700 12px/1 var(--body-font); padding: 8px 11px; cursor: pointer; }
.dpd-slider-pause.is-paused span::before { content: "▶"; }
.dpd-slider-pause.is-paused span { font-size: 0; }
.dpd-slider-pause.is-paused span::before { font-size: 12px; }
.dpd-slider:not(.js-ready) .dpd-slider-arrow, .dpd-slider:not(.js-ready) .dpd-slider-dots, .dpd-slider:not(.js-ready) .dpd-slider-pause { display: none; }
.dpd-slider .dpd-ai-label { bottom: 18px; right: 18px; }
.dpd-slider .dpd-slider-dots ~ .dpd-slides .dpd-ai-label { bottom: 52px; }
.dpd-slider .dpd-btn-ghost { color: #ffffff !important; box-shadow: inset 0 0 0 2px #ffffff; background: transparent !important; }

/* ---------- Image + texte ---------- */
.dpd-imgtext { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.dpd-imgtext.side-right .dpd-imgtext-media { order: 2; }
.dpd-imgtext.no-media { grid-template-columns: 1fr; }
.dpd-imgtext-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 44px rgba(15, 23, 42, .14); }
.dpd-imgtext-body > h2:first-child { margin-top: 0; }
.dpd-imgtext-body p { color: inherit; }

/* ---------- Bandeau d'appel à l'action ---------- */
.dpd-cta-block { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.dpd-cta-block h2 { margin: 0 0 8px; }
.dpd-cta-block p { margin: 0; }
.dpd-cta-block .dpd-actions { margin-top: 0; }
.dpd-sec.al-center .dpd-cta-block { flex-direction: column; justify-content: center; }
.dpd-flow .dpd-cta-block { background: var(--accent); color: var(--on-accent); border-radius: var(--radius); padding: 34px; }

/* ---------- Atouts avec icônes ---------- */
.dpd-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.dpd-features.cols-2 .dpd-features-grid { grid-template-columns: repeat(2, 1fr); }
.dpd-features.cols-4 .dpd-features-grid { grid-template-columns: repeat(4, 1fr); }
.dpd-feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: left; }
.dpd-sec.al-center .dpd-feature { text-align: center; }
.dpd-feature h3 { margin: 14px 0 8px; font-size: 19px; }
.dpd-feature p { margin: 0; color: var(--muted); font-size: 16px; }
.dpd-icon { display: inline-block; width: 52px; height: 52px; padding: 12px; border-radius: 14px; color: var(--accent-text); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.d-cards-shadow .dpd-feature, .d-cards-shadow .dpd-price-card, .d-cards-shadow .dpd-team-card { border-color: transparent; box-shadow: 0 12px 32px rgba(15, 23, 42, .09); }

/* ---------- Étapes ---------- */
.dpd-steps-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; counter-reset: none; }
.dpd-steps-list li { position: relative; display: block; text-align: left; }
.dpd-step-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 800 18px/1 var(--head-font); margin-bottom: 14px; }
.dpd-steps-list h3 { margin: 0 0 6px; font-size: 19px; }
.dpd-steps-list p { margin: 0; color: var(--muted); font-size: 16px; }
.dpd-sec.bg-accent .dpd-step-num { background: var(--on-accent); color: var(--accent); }

/* ---------- Colonnes ---------- */
.dpd-columns-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; margin-top: 22px; }
.dpd-col h3 { margin: 12px 0 6px; }
.dpd-col p { margin: 0; color: var(--muted); }
.dpd-col-media { margin: 0; }
.dpd-col-media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

/* ---------- Tarifs ---------- */
.dpd-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 26px; align-items: stretch; }
.dpd-price-card { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: left; }
.dpd-price-card.is-highlight { border: 2px solid var(--accent); box-shadow: 0 16px 40px rgba(15, 23, 42, .12); }
.dpd-price-badge { position: absolute; top: -13px; left: 22px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.dpd-price-card h3 { margin: 0 0 6px; font-size: 20px; }
.dpd-price { font: var(--head-weight) 30px/1.2 var(--head-font); margin: 0 0 14px; color: var(--accent-text); }
.dpd-price-card ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.dpd-actions-center { justify-content: center; margin-top: 26px; }

/* ---------- Équipe ---------- */
.dpd-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 24px; }
.dpd-team-card { text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; }
.dpd-team-card img, .dpd-team-initial { display: block; width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; }
.dpd-team-initial { display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--accent-text); font: 800 40px/1 var(--head-font); }
.dpd-team-card h3 { margin: 0 0 4px; font-size: 19px; }
.dpd-team-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Citation ---------- */
.dpd-quote { margin: 40px 0; padding: 0 0 0 26px; border-left: 4px solid var(--accent); }
.dpd-quote blockquote { margin: 0; }
.dpd-quote blockquote p { font: var(--head-weight) clamp(22px, 2.8vw, 30px)/1.35 var(--head-font); letter-spacing: var(--head-spacing); margin: 0; }
.dpd-quote figcaption { margin-top: 14px; color: var(--muted); font-weight: 600; }
.dpd-sec.al-center .dpd-quote { border-left: 0; padding: 0; max-width: 860px; margin: 0 auto; }

/* ---------- Logos ---------- */
.dpd-logos-row { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 44px; }
.dpd-logos-row img { display: block; max-height: 56px; max-width: 160px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.dpd-logos-row img:hover { filter: none; opacity: 1; }

/* ---------- Vidéo (chargée au clic) ---------- */
.dpd-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 55%, #0d1118), #0d1118); }
.dpd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dpd-video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--accent) !important; text-decoration: none; }
.dpd-video-play span { color: #ffffff; font-weight: 700; }
.dpd-video-play svg { transition: transform .2s; }
.dpd-video-play:hover svg { transform: scale(1.06); }
.dpd-video-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* ---------- Apparition au défilement (uniquement les sections encore hors de l'écran) ---------- */
.dpd-reveal-pending { opacity: 0; transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.dpd-reveal-pending[data-reveal="fade-up"] { transform: translateY(36px); }
.dpd-reveal-pending[data-reveal="zoom"] { transform: scale(.95); }
.dpd-reveal-pending[data-reveal="slide-left"] { transform: translateX(-48px); }
.dpd-reveal-pending.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .dpd-imgtext { grid-template-columns: 1fr; }
  .dpd-imgtext.side-right .dpd-imgtext-media { order: 0; }
  .dpd-features-grid, .dpd-features.cols-2 .dpd-features-grid, .dpd-features.cols-4 .dpd-features-grid { grid-template-columns: 1fr; }
  .dpd-sec { padding: 46px 0; }
  .dpd-sec.sp-large { padding: 70px 0; }
  .dpd-slider-arrow { display: none !important; }
  .dpd-slide-title { font-size: clamp(30px, 8vw, 42px); }
}
@media (min-width: 821px) and (max-width: 1040px) {
  .dpd-features.cols-4 .dpd-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .dpd-slide, .dpd-slide.is-active, .dpd-slider.fx-slide .dpd-slide { transition: none !important; transform: none !important; }
  .dpd-slide-bg, .dpd-slide-content > * { animation: none !important; }
  .dpd-reveal-pending { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- v1.1 : en-tête avec beaucoup de pages, diaporama et flèches ---------- */
.dpd-header .dpd-wrap.dpd-header-inner { max-width: 1280px; }
.dpd-nav ul { gap: 18px; flex-wrap: nowrap; }
.dpd-nav a, .dpd-call, .dpd-brand { white-space: nowrap; }
.dpd-brand { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (min-width: 821px) {
  .dpd-slider:not(.is-single) .dpd-slide-content { padding-left: 84px; padding-right: 84px; }
}
.dpd-slide-actions .dpd-btn { box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
/* Menu long (6 entrées et plus) : menu déroulant dès que la place manque. */
@media (max-width: 1279px) {
  .dpd-header:has(.dpd-nav-desktop li:nth-child(6)) .dpd-nav-desktop { display: none; }
  .dpd-header:has(.dpd-nav-desktop li:nth-child(6)) .dpd-nav-mobile { display: block; }
}
@media (max-width: 1439px) {
  .dpd-header:has(.dpd-nav-desktop li:nth-child(7)) .dpd-nav-desktop { display: none; }
  .dpd-header:has(.dpd-nav-desktop li:nth-child(7)) .dpd-nav-mobile { display: block; }
}
.dpd-slider .dpd-ai-label { top: 14px; bottom: auto; right: 14px; }
.dpd-sec.bg-surface .dpd-card, .dpd-sec.bg-surface .dpd-feature, .dpd-sec.bg-surface .dpd-price-card, .dpd-sec.bg-surface .dpd-team-card { background: var(--bg); }

/* ---------- Réalisations, pages locales et avis vérifiés (v1.5) ---------- */
.dpd-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 18px 0; }
.dpd-project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.dpd-project-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.dpd-project-photo { overflow: hidden; }
.dpd-project-photo:hover img { transform: scale(1.03); }
.dpd-project-body { padding: 14px 16px 16px; }
.dpd-project-body h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.dpd-project-body h3 a { color: var(--fg); text-decoration: none; }
.dpd-project-body p { margin: 0; }
.dpd-small { font-size: 14px; }
.dpd-local-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0; }
.dpd-local-links a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; background: var(--bg); }
.dpd-local-links a:hover { border-color: var(--accent); }
.dpd-review-list { display: grid; gap: 16px; }
.dpd-verified-review { margin: 0; }
.dpd-verified-review .dpd-stars { margin: 0 0 8px; letter-spacing: 2px; color: #c07a00; }
.dpd-verified-review footer { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.dpd-review-reply { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 10px 10px 0; }
.dpd-review-reply p { margin: 0 0 4px; }
.dpd-stars { color: #f5a623; }
.dpd-review-notice ul { padding-left: 20px; line-height: 1.6; color: var(--muted); }
.dpd-review-notice li { margin-bottom: 8px; }
.dpd-review-form { max-width: 720px; }
.dpd-rating { border: 0; padding: 0; margin: 0 0 18px; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.dpd-rating legend { font-weight: 700; margin-bottom: 6px; float: left; width: 100%; }
.dpd-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dpd-rating label { font-size: 38px; line-height: 1; cursor: pointer; color: #cfd5df; padding: 0 2px; }
.dpd-rating label:hover, .dpd-rating label:hover ~ label, .dpd-rating input:checked ~ label { color: #f5a623; }
.dpd-rating input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.dpd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dpd-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 6px 0 18px; }
.dpd-consent input { width: auto; margin-top: 4px; }
.dpd-footer-rating a { text-decoration: none; font-weight: 700; }

/* Photos en grand (fenêtre ouverte au clic sur une photo de chantier ou de galerie) */
.dpd-zoom { display: block; cursor: zoom-in; }
html.dpd-lightbox-open { overflow: hidden; }
.dpd-lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(12, 14, 18, .94); color: #fff; overflow: hidden;
}
.dpd-lightbox[open] { display: flex; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.dpd-lightbox::backdrop { background: rgba(12, 14, 18, .94); }
.dpd-lightbox .dpd-lightbox-figure { margin: 0; padding: 64px 76px 24px; width: 100%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.dpd-lightbox .dpd-lightbox-img { display: block; max-width: 100%; max-height: calc(100% - 44px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 18px 60px rgba(0, 0, 0, .45); transition: opacity .2s; }
.dpd-lightbox.is-loading .dpd-lightbox-img { opacity: .3; }
.dpd-lightbox .dpd-lightbox-caption { margin: 0; font: 500 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; color: #f3f4f6; text-align: center; max-width: 70ch; }
.dpd-lightbox .dpd-lightbox-count { color: #a1a1aa; margin-left: 6px; white-space: nowrap; }
.dpd-lightbox .dpd-lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font: 400 32px/1 system-ui, sans-serif; cursor: pointer;
}
.dpd-lightbox .dpd-lightbox-btn:hover { background: rgba(255, 255, 255, .26); }
.dpd-lightbox .dpd-lightbox-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.dpd-lightbox .dpd-lightbox-close { top: 12px; right: 12px; }
.dpd-lightbox .dpd-lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.dpd-lightbox .dpd-lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
.dpd-lightbox.is-single .dpd-lightbox-prev, .dpd-lightbox.is-single .dpd-lightbox-next { display: none; }
@media (max-width: 640px) {
  .dpd-lightbox .dpd-lightbox-figure { padding: 64px 10px 84px; }
  .dpd-lightbox .dpd-lightbox-prev, .dpd-lightbox .dpd-lightbox-next { top: auto; bottom: 18px; transform: none; }
  .dpd-lightbox .dpd-lightbox-prev { left: calc(50% - 60px); }
  .dpd-lightbox .dpd-lightbox-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) { .dpd-lightbox .dpd-lightbox-img { transition: none; } }

/* =====================================================================
   v1.8 — blocs des modèles complets : bandeau d'accueil, prestations en photos, atouts en bandeau,
   réalisations et avis automatiques, coordonnées, zone d'intervention, démonstration
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dpd-icon-inline { width: 1.15em; height: 1.15em; padding: 0; background: none; border-radius: 0; vertical-align: -0.18em; margin-right: .45em; color: currentColor; }
.dpd-section-intro { color: var(--muted); max-width: 680px; margin: -4px 0 8px; font-size: 18px; }
.dpd-sec.al-center .dpd-section-intro { margin-left: auto; margin-right: auto; }
.dpd-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text);
  font: 800 13px/1.2 var(--body-font); letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Bandeau d'accueil ---------- */
.dpd-hero2 { position: relative; overflow: hidden; isolation: isolate; }
.dpd-hero2-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(44px, 7vw, 96px); padding-bottom: clamp(44px, 7vw, 96px); }
.dpd-hero2 h1, .dpd-hero2 h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; margin: 0 0 20px; }
.dpd-hero2 .dpd-lead { color: var(--muted); max-width: 600px; }
.dpd-hero2 .dpd-actions { margin-top: 30px; }
.dpd-hero2-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; font-size: 15px; }
.dpd-hero2-points .dpd-icon-inline { color: var(--accent-text); }
.dpd-hero2-media { position: relative; margin: 0; }
.dpd-hero2-media img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: calc(var(--radius) + 6px); box-shadow: 0 30px 70px rgba(15, 23, 42, .22); }
.dpd-hero2-media::before {
  content: ""; position: absolute; z-index: -1; inset: 8% -6% -7% 9%; border-radius: calc(var(--radius) + 10px);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.dpd-hero2.side-left .dpd-hero2-media { order: -1; }
.dpd-hero2.side-left .dpd-hero2-media::before { inset: 8% 9% -7% -6%; }
/* Sans photo : une composition abstraite aux couleurs du design (jamais une image cassée ni un cadre vide). */
.dpd-hero2-media.is-empty, .dpd-card-media.is-empty, .dpd-project-photo.is-empty {
  background:
    radial-gradient(38% 46% at 24% 30%, color-mix(in srgb, var(--accent) 70%, transparent), transparent 70%),
    radial-gradient(34% 40% at 76% 68%, color-mix(in srgb, var(--accent) 45%, var(--fg) 12%), transparent 72%),
    radial-gradient(30% 36% at 70% 22%, color-mix(in srgb, var(--accent) 22%, var(--bg)), transparent 70%),
    radial-gradient(42% 44% at 30% 86%, color-mix(in srgb, var(--surface) 70%, var(--accent) 30%), transparent 70%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 34%, var(--surface)), color-mix(in srgb, var(--accent) 12%, var(--surface)));
}
.dpd-hero2-media.is-empty { aspect-ratio: 5 / 4; border-radius: calc(var(--radius) + 6px); box-shadow: 0 30px 70px rgba(15, 23, 42, .16); }
.d-font-condensed .dpd-hero2 h1, .d-font-condensed .dpd-hero2 h2, .d-font-slab .dpd-hero2 h1, .d-font-slab .dpd-hero2 h2 { font-size: clamp(32px, 4.4vw, 54px); }
.dpd-hero2.l-split { background: linear-gradient(180deg, var(--surface), var(--bg) 92%); }
.dpd-hero2.l-center .dpd-hero2-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 0; }
.dpd-hero2.l-center .dpd-hero2-text { max-width: 860px; margin: 0 auto; }
.dpd-hero2.l-center .dpd-lead { margin: 0 auto; }
.dpd-hero2.l-center .dpd-actions, .dpd-hero2.l-center .dpd-hero2-points { justify-content: center; }
.dpd-hero2.l-center .dpd-hero2-media { margin-top: 12px; }
.dpd-hero2.l-center .dpd-hero2-media img, .dpd-hero2.l-center .dpd-hero2-media.is-empty { aspect-ratio: 21 / 8; border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }
.dpd-hero2.l-center .dpd-hero2-media::before { display: none; }
.dpd-hero2.l-overlay {
  color: #ffffff; min-height: clamp(460px, 78vh, 820px); display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(8, 10, 16, .78) 0%, rgba(8, 10, 16, .5) 55%, rgba(8, 10, 16, .25) 100%), var(--hero-image) center / cover no-repeat;
}
.dpd-hero2.l-overlay.no-image { background: radial-gradient(900px 420px at 18% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent), #0d1118; }
.dpd-hero2.l-overlay .dpd-hero2-inner { grid-template-columns: minmax(0, 760px); width: 100%; }
.dpd-hero2.l-overlay .dpd-lead { color: rgba(255, 255, 255, .9); }
.dpd-hero2.l-overlay .dpd-kicker { background: rgba(255, 255, 255, .16); color: #ffffff; }
.dpd-hero2.l-overlay .dpd-hero2-points .dpd-icon-inline { color: #ffffff; }
.dpd-hero2.l-overlay .dpd-btn-ghost { color: #ffffff !important; box-shadow: inset 0 0 0 2px #ffffff; background: transparent !important; }
.dpd-hero2.l-overlay > .dpd-ai-label { bottom: 16px; right: 16px; }
.d-dark .dpd-hero2.l-split { background: linear-gradient(180deg, var(--surface), var(--bg)); }
.d-hero-dark .dpd-hero2.l-split, .d-hero-accent .dpd-hero2.l-split { background: radial-gradient(900px 420px at 10% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent), var(--surface); }

/* ---------- Prestations en photos ---------- */
.dpd-services.has-photos .dpd-cards, .dpd-services.is-cols.cols-3 .dpd-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dpd-services.is-cols.cols-2 .dpd-cards { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dpd-services.has-photos.cols-2 .dpd-cards { grid-template-columns: repeat(2, 1fr); }
.dpd-card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.dpd-card-photo:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); }
.dpd-card-media { position: relative; margin: 0 !important; }
.dpd-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 !important; }
.dpd-card-media.is-empty { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.dpd-card-media.is-empty span { font: var(--head-weight) 44px/1 var(--head-font); color: var(--on-accent); opacity: .9; text-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.dpd-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dpd-card-body p { flex: 1; }
.dpd-card-link { display: inline-block; margin-top: 14px; font-weight: 800; text-decoration: none; }
.dpd-card-link:hover { text-decoration: underline; }

/* ---------- Atouts en bandeau ---------- */
.dpd-features.is-strip .dpd-features-grid { gap: 14px 28px; margin-top: 18px; }
.dpd-features.is-strip .dpd-feature { display: flex; gap: 14px; align-items: flex-start; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: left; }
.dpd-features.is-strip .dpd-icon { flex: none; width: 46px; height: 46px; padding: 11px; }
.dpd-features.is-strip h3 { margin: 2px 0 4px; font-size: 17px; }
.dpd-features.is-strip p { font-size: 15px; }
.dpd-sec.al-center .dpd-features.is-strip .dpd-feature { text-align: left; }

/* ---------- Réalisations et avis automatiques ---------- */
.dpd-projects-block .dpd-projects { margin-top: 22px; }
.dpd-project-photo { position: relative; display: block; }
.dpd-project-photo.is-empty { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.dpd-project-photo.is-empty .dpd-icon { width: 54px; height: 54px; padding: 12px; background: var(--bg); opacity: .92; }
.dpd-actions-center { justify-content: center; }
.dpd-reviews-summary { font-size: 18px; margin: 0 0 18px; }
.dpd-reviews-summary .dpd-stars { margin-left: 0; }
.dpd-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.dpd-reviews-grid .dpd-review { margin: 0; }
.dpd-review-placeholder { border-style: dashed; display: flex; flex-direction: column; gap: 10px; }
.dpd-review-placeholder .dpd-stars { margin: 0 0 4px; color: var(--accent-text); opacity: .45; letter-spacing: 2px; }
.dpd-skeleton { display: block; height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--fg) 11%, transparent); }
.dpd-skeleton.is-short { width: 62%; }
.dpd-skeleton.is-name { width: 34%; height: 9px; }
.dpd-review-placeholder-who { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; }
.dpd-skeleton-dot { width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); flex: none; }
.dpd-demo-note { display: inline-flex; align-items: flex-start; gap: 2px; margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; font-size: 15px; color: var(--muted);
  background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px dashed color-mix(in srgb, var(--accent) 35%, transparent); }
.dpd-demo-note .dpd-icon-inline { color: var(--accent-text); margin-top: .2em; }
.dpd-owner-hint { border: 2px dashed var(--line); border-radius: var(--radius); padding: 22px 24px; background: color-mix(in srgb, var(--accent) 5%, transparent); }
.dpd-owner-hint > h2:first-child { margin-top: 0; }
.dpd-owner-hint p { margin: 0; color: var(--muted); }

/* ---------- Coordonnées ---------- */
.dpd-contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 56px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); }
.dpd-contact-card h2 { margin-top: 0; }
.dpd-contact-card-text p { color: var(--muted); }
.dpd-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.dpd-contact-list li { display: flex; gap: 14px; align-items: center; }
.dpd-contact-list li > div { display: flex; flex-direction: column; min-width: 0; }
.dpd-contact-list a, .dpd-contact-list span:not(.dpd-muted) { font-weight: 700; overflow-wrap: anywhere; color: var(--fg); }
.dpd-contact-list .dpd-icon { flex: none; width: 46px; height: 46px; padding: 11px; }
.dpd-sec.bg-dark .dpd-contact-card, .dpd-sec.bg-accent .dpd-contact-card, .dpd-sec.bg-image .dpd-contact-card { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.dpd-sec.bg-dark .dpd-contact-list a, .dpd-sec.bg-dark .dpd-contact-list span:not(.dpd-muted), .dpd-sec.bg-accent .dpd-contact-list a { color: inherit; }

/* ---------- Zone d'intervention ---------- */
.dpd-zone { text-align: center; }
.dpd-zone-icon { margin: 0 auto 4px; display: block; }
.dpd-zone > h2 { margin-top: 10px; }
.dpd-zone > p { color: var(--muted); max-width: 680px; margin-left: auto; margin-right: auto; }
.dpd-zone-list { list-style: none; padding: 0; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.dpd-zone-list li { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.dpd-zone-list a { color: inherit; text-decoration: none; }
.dpd-zone-list a:hover { color: var(--accent-text); }

/* ---------- Démonstration des modèles ---------- */
.dpd-demo-bar {
  position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px;
  padding: 10px 16px; background: #17123a; color: #ffffff; font: 600 14px/1.4 ui-sans-serif, system-ui, sans-serif;
}
.dpd-demo-bar p { margin: 0; }
.dpd-demo-bar a { color: #ffffff; }
.dpd-demo-bar .dpd-demo-cta { background: #6048db; color: #ffffff; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 800; white-space: nowrap; }
.dpd-demo-bar form { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; align-items: center; margin: 0; max-width: 100%; }
.dpd-demo-bar select { font: inherit; padding: 5px 8px; border-radius: 8px; border: 0; max-width: 46vw; }
.dpd-demo-bar button { font: inherit; padding: 5px 10px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .18); color: #ffffff; cursor: pointer; }
body.dpd-demo .dpd-header { top: 0; }
.dpd-demo-tag { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: #ffd65a; color: #17123a; font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.dpd-demo-toast {
  position: fixed; left: 50%; bottom: 88px; z-index: 80; max-width: min(92vw, 460px); padding: 12px 16px; border-radius: 12px;
  background: #17123a; color: #ffffff; font: 600 14px/1.45 ui-sans-serif, system-ui, sans-serif; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.dpd-demo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
body.dpd-static { overflow: hidden; }
body.dpd-static .dpd-reveal-pending { opacity: 1 !important; transform: none !important; transition: none !important; }
body.dpd-static .dpd-slide-content > *, body.dpd-static .dpd-slide-bg { animation: none !important; }

@media (max-width: 920px) {
  .dpd-hero2-inner { grid-template-columns: 1fr; }
  .dpd-hero2.side-left .dpd-hero2-media { order: 0; }
  .dpd-hero2-media::before { inset: 6% -3% -5% 6%; }
  .dpd-services.has-photos .dpd-cards, .dpd-services.has-photos.is-cols.cols-3 .dpd-cards, .dpd-services.is-cols.cols-3 .dpd-cards, .dpd-reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .dpd-contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dpd-services.has-photos .dpd-cards, .dpd-services.has-photos.cols-2 .dpd-cards, .dpd-services.is-cols.cols-3 .dpd-cards, .dpd-services.is-cols.cols-2 .dpd-cards,
  .dpd-services.has-photos.is-cols.cols-3 .dpd-cards, .dpd-services.has-photos.is-cols.cols-2 .dpd-cards, .dpd-reviews-grid { grid-template-columns: 1fr; }
  .dpd-hero2.l-center .dpd-hero2-media img, .dpd-hero2.l-center .dpd-hero2-media.is-empty { aspect-ratio: 4 / 3; }
  .dpd-demo-bar { position: static; gap: 8px; padding: 10px 12px; font-size: 13px; }
  .dpd-demo-bar p { width: 100%; text-align: center; }
  .dpd-demo-bar .dpd-demo-all { display: none; }
  .dpd-demo-bar select { max-width: 44vw; }
  .dpd-demo-bar .dpd-demo-cta { padding: 7px 12px; }
}
