body.preview-unified {
  --unified-action: #55648f;
  --unified-title: #3d4970;
  --unified-pale: #eef0f8;
  --unified-rule: #e5e5e5;
  --primary: #55648f;
  --primary-dark: #3d4970;
  --primary-light: #6977a0;
  --primary-bg: #eef0f8;
  --secondary: #eef0f8;
  --cta: #55648f;
  --cta-dark: #3d4970;
  --font-family: Montserrat, system-ui, sans-serif;
  margin: 0;
  background: #fff;
  color: #1a1a1a;
  font-family: Montserrat, system-ui, sans-serif;
  letter-spacing: 0;
}

body.preview-unified .lab-video { width: min(100%, 400px); margin: 32px auto; text-align: center; }
body.preview-unified .lab-video video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #111; }
body.preview-unified .lab-video figcaption { margin-top: 8px; font-size: .875rem; line-height: 1.4; color: #4b5563; }
body.preview-unified .blog-table { display: block; max-width: 100%; overflow-x: auto; }
body.preview-unified,
body.preview-unified :is(h1, h2, h3, h4, p, a, span, li, label, summary, button, input, select, textarea, legend, td, th, strong, small),
body.preview-unified.theme-cream :is(h1, h2, h3, h4, p, a, span, li, label, summary, button, input, select, textarea, legend, td, th, strong, small),
body.preview-unified.front-harmony :is(h1, h2, h3, h4, p, a, span, li, label, summary, button, input, select, textarea, legend, td, th, strong, small) {
  font-family: Montserrat, system-ui, sans-serif !important;
  letter-spacing: 0 !important;
}
body.preview-subpage :is(.lot1-call, .lot1-header, .lot1-nav, .lot1-menu, .lot1-bottom, .lot1-bottom-nav, .lot1-footer) { display: none !important; }

body.preview-unified:not(.lot1-home) .header,
body.preview-unified:not(.lot1-home) .front-header,
body.preview-unified:not(.lot1-home) .site-footer,
body.preview-unified:not(.lot1-home) .mobile-bottom-nav,
body.preview-unified:not(.lot1-home) .mobile-nav,
body.preview-unified:not(.lot1-home) .bottom-nav {
  display: none !important;
}
body.preview-unified:not(.lot1-home) .entete,
body.preview-unified:not(.lot1-home) .onglets,
body.preview-unified:not(.lot1-home) > footer:not(.unified-footer) {
  display: none !important;
}
body.preview-unified:not(.lot1-home) > .appel { display: none !important; }
body.preview-unified:not(.lot1-home) > .phone-banner { display: none !important; }
body.preview-unified:not(.lot1-home) > section { padding-top: 28px !important; padding-bottom: 28px !important; }
body.preview-unified.header-needs-offset > section:first-of-type { padding-top: 36px !important; }
body.preview-unified:not(.lot1-home) > .trust-banner { background: #eef0f8; }
body.preview-unified:not(.lot1-home) .trust-banner .container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.preview-unified:not(.lot1-home) .trust-banner .trust-number { color: #3d4970; }

body.preview-unified:not(.lot1-home) {
  padding-top: 0 !important;
  padding-bottom: 76px !important;
}

body.preview-unified:not(.lot1-home) main,
body.preview-unified:not(.lot1-home) #main-content {
  margin-top: 0 !important;
  padding-top: 0;
}

body.preview-unified:not(.lot1-home) h1,
body.preview-unified:not(.lot1-home) h2,
body.preview-unified:not(.lot1-home) h3 {
  color: var(--unified-title) !important;
  letter-spacing: 0;
}
body.preview-unified:not(.lot1-home) :is(h1, h2, h3) :is(span, strong, em, b) {
  color: inherit !important;
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
}
body.preview-unified.front-harmony .devis-hero h1 .highlight { color: #3d4970 !important; -webkit-text-fill-color: #3d4970 !important; }
body.preview-unified #wizard-section .wizard-option:not(.selected) { background: #fff !important; border-color: #d9deeb !important; border-radius: 8px !important; box-shadow: none !important; }
body.preview-unified #wizard-section i:not(.fa-circle-check),
body.preview-unified .devis-promises i,
body.preview-unified .progress-encourage,
body.preview-unified .service-icon-fa,
body.preview-unified .fa-hard-drive { color: #55648f !important; }
body.preview-unified .fa-triangle-exclamation { color: #a34c45 !important; }

body.preview-unified:not(.lot1-home) .reviews-section { background: #f5f6fa !important; }
body.preview-unified:not(.lot1-home) .review-platform {
  background: #fff !important;
  border: 1px solid #d9deeb !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
body.preview-unified:not(.lot1-home) .review-platform .platform-name,
body.preview-unified:not(.lot1-home) .review-platform .platform-cta { color: #3d4970 !important; }
body.preview-unified:not(.lot1-home) .review-platform .platform-count { color: #55648f; font-size: 12px; }
body.preview-unified:not(.lot1-home) .review-platform.trustpilot .platform-icon { color: #00b67a; }

body.preview-unified:not(.lot1-home) :is(.pillar-card, .service-card, .value-card, .info-box, .cta-box, .author-box, .lab-feature) {
  background: #fff !important;
  border: 1px solid #d9deeb !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #232936 !important;
}
body.preview-unified:not(.lot1-home) :is(.pillar-card, .service-card, .value-card, .info-box, .cta-box, .author-box, .lab-feature) :is(p, li, small) { color: #3f4858 !important; }
body.preview-unified:not(.lot1-home) :is(.pillar-card, .service-card, .value-card, .info-box, .cta-box, .author-box, .lab-feature) :is(i, .pillar-card-icon) { color: #55648f !important; }

body.preview-unified:not(.lot1-home) button,
body.preview-unified:not(.lot1-home) input,
body.preview-unified:not(.lot1-home) select,
body.preview-unified:not(.lot1-home) textarea {
  font-family: Montserrat, system-ui, sans-serif;
  letter-spacing: 0;
}

body.preview-unified:not(.lot1-home) .btn-primary,
body.preview-unified:not(.lot1-home) .button-primary,
body.preview-unified:not(.lot1-home) .cta-button,
body.preview-unified:not(.lot1-home) .front-cta,
body.preview-unified:not(.lot1-home) .btn {
  background: var(--unified-action) !important;
  border-color: var(--unified-action) !important;
  color: #fff !important;
  border-radius: 4px !important;
}
body.preview-unified:not(.lot1-home) :is(.btn, .btn-primary, .button-primary, .cta-button, .front-cta) :is(span, small, i) { color: #fff !important; }

body.preview-unified .trust-banner { background: #eef0f8 !important; border-block: 1px solid #d9deeb !important; }
body.preview-unified .trust-banner :is(.trust-number, .trust-label) { color: #3d4970 !important; font-family: Montserrat, system-ui, sans-serif !important; }

body.preview-unified .unified-contact { padding-top: 36px !important; background: #fff !important; }
body.preview-unified .unified-contact-card {
  background: #fff !important;
  border: 1px solid #cbd2e3 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
body.preview-unified .unified-contact-card :is(p, a, h2) { color: #253045 !important; }
body.preview-unified .unified-contact-card a { text-decoration: underline !important; text-decoration-color: #aeb7d2 !important; }
body.preview-unified .unified-contact-card i { color: #55648f !important; }
body.preview-unified .unified-about-card {
  background: #fff !important;
  border: 1px solid #d9deeb !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
body.preview-unified .unified-about-card :is(h2, h3, p, strong, span) { color: #253045 !important; }
body.preview-unified .unified-tracking-form { border: 1px solid #d9deeb; border-radius: 8px !important; box-shadow: none !important; }
body.preview-unified .unified-tracking-controls { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
body.preview-unified #tracking-input { min-width: 0; width: 100%; box-sizing: border-box; }
body.preview-unified #track-btn { background: #55648f !important; color: #fff !important; }

body.preview-unified.preview-enterprises main { background: #fff !important; }
body.preview-unified.preview-enterprises :is(.biz-hero, .biz-tarifs) {
  background: #eef0f8 !important;
  color: #253045 !important;
}
body.preview-unified.preview-enterprises .biz-hero { padding: 40px 20px 48px !important; }
body.theme-cream.preview-unified.preview-enterprises section.biz-hero h1,
body.theme-cream.preview-unified.preview-enterprises section.biz-tarifs h2,
body.theme-cream.preview-unified.preview-enterprises section.biz-hero p,
body.theme-cream.preview-unified.preview-enterprises section.biz-tarifs p { color: #3d4970 !important; }
body.preview-unified.preview-enterprises :is(.biz-hero, .biz-tarifs) :is(p, span, div) { color: #253045; }
body.preview-unified.preview-enterprises :is(.biz-hero, .biz-tarifs) > div[style*="position:absolute"] { background: #55648f !important; }
body.preview-unified.preview-enterprises .biz-hero [style*="background:#d97706"],
body.preview-unified.preview-enterprises.theme-cream .biz-hero a[href="#formulaire-entreprise"] {
  background: #55648f !important;
  border-color: #55648f !important;
  color: #fff !important;
}
body.preview-unified.preview-enterprises [style*="color:#f59e0b"],
body.preview-unified.preview-enterprises [style*="color:#7c3aed"],
body.preview-unified.preview-enterprises [style*="color:#d97706"] { color: #55648f !important; }
body.preview-unified.preview-enterprises [style*="border:2.5px solid #7c3aed"] { border-color: #cbd2e3 !important; border-width: 1px !important; border-radius: 8px !important; }
body.preview-unified.preview-enterprises [style*="background:#faf5ff"] { background: #eef0f8 !important; border-color: #55648f !important; }
body.preview-unified.preview-enterprises #bizSubmit { background: #55648f !important; border-color: #55648f !important; color: #fff !important; }

body.preview-unified .unified-legal { background: #fff !important; }
body.preview-unified .unified-legal .container { max-width: 860px; }
body.preview-unified .unified-legal h1 { font-size: clamp(25px, 4vw, 36px); line-height: 1.25; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid #d9deeb !important; }
body.preview-unified .unified-legal h2 { font-size: 19px; line-height: 1.35; margin: 40px 0 14px; padding-top: 10px; border-top: 1px solid #d9deeb; scroll-margin-top: 24px; }
body.preview-unified .unified-legal p { line-height: 1.7; margin: 0 0 15px; }
.unified-legal-toc { margin: 30px 0 40px; padding: 20px; background: #eef0f8; border-left: 3px solid #55648f; }
.unified-legal-toc strong { display: block; color: #3d4970; margin-bottom: 12px; }
.unified-legal-toc div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; }
.unified-legal-toc a { color: #3d4970; font-size: 12px; line-height: 1.4; }

.unified-call {
  min-height: 48px;
  display: grid;
  place-items: center;
  background: #55648f;
  color: white;
  font: 700 14px/1.3 Montserrat, system-ui, sans-serif;
}
body.preview-unified .unified-call a:not(.btn):not(.nav-link):not(.footer-logo a),
body.preview-unified .unified-call i { color: #fff !important; text-decoration: none; }
.unified-call i { margin-right: 7px; }

.unified-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 9px max(18px, calc((100vw - 1140px)/2));
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}
.unified-header .unified-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  text-decoration: none;
  color: #1a1a1a;
  font: 300 18px/1.2 Montserrat, system-ui, sans-serif;
}
.unified-brand strong { font-weight: 700; }
.unified-brand svg { width: 46px; height: 46px; color: #55648f; flex: 0 0 46px; }
.unified-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.unified-header nav a { color: #3d4970; font: 600 13px/1.4 Montserrat, system-ui, sans-serif; text-decoration: none; }
.unified-header nav a:hover, .unified-header nav a:focus-visible { text-decoration: underline; }

.unified-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 24px max(18px, calc((100vw - 1140px)/2));
  border-top: 1px solid #e5e5e5;
  background: #fff;
  color: #6b6b6b;
  font: 400 12px/1.6 Montserrat, system-ui, sans-serif;
}
.unified-footer > a { color: #3d4970; font-weight: 700; text-decoration: none; }
.unified-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.unified-footer nav a { color: #3d4970; text-decoration: underline; }
.unified-footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.unified-footer-brand .disk-arm-logo,
.unified-footer-full .footer-logo-img { width: 44px; height: 44px; flex: 0 0 44px; color: #55648f; }
body.preview-unified .unified-footer-full { display: block !important; }
.unified-footer-full > .container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0; }
.unified-footer-full .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 28px; }
.unified-footer-full .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.unified-footer-full .footer-logo-text { font-size: 17px; }
body.preview-unified .unified-footer-full :is(p, small, li, strong, h4, a, span) { color: #253045 !important; }
.unified-footer-full p { font-size: 12px; line-height: 1.6; margin-bottom: 10px; }
.unified-footer-full h4 { font-size: 13px; margin: 0 0 12px; }
.unified-footer-full ul { padding: 0; margin: 0; list-style: none; }
.unified-footer-full li { margin-bottom: 8px; }
.unified-footer-full .footer-bottom { padding-top: 20px; margin-top: 20px; border-top: 1px solid #d9deeb; }
.unified-footer-full :is(.footer-social, .lot1-social) { display: flex; gap: 16px; margin-block: 12px; }
.disk-arm-logo { color: #55648f; }
.disk-arm-platter { transform-box: view-box; transform-origin: 42px 44px; animation: disk-arm-spin 7s linear infinite; }
.disk-arm-reader { transform-box: view-box; transform-origin: 86px 86px; animation: disk-arm-seek 6s ease-in-out infinite; }
@keyframes disk-arm-spin { to { transform: rotate(360deg); } }
@keyframes disk-arm-seek { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(20deg); } }
@media (prefers-reduced-motion: reduce) { .disk-arm-platter, .disk-arm-reader { animation: none; } }

.unified-bottom {
  position: fixed;
  z-index: 200;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  min-height: 70px;
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
  border-top: 1px solid #e5e5e5;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}
.unified-bottom a,
.unified-bottom summary {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #6b6b6b;
  text-decoration: none;
  font: 400 10px/1.3 Montserrat, system-ui, sans-serif;
}
.unified-bottom details { flex: 1 1 0; min-width: 0; }
.unified-bottom summary { list-style: none; cursor: pointer; height: 100%; }
.unified-bottom summary::-webkit-details-marker { display: none; }
.unified-mobile-panel {
  position: absolute;
  bottom: calc(100% + 1px);
  right: 0;
  width: min(310px, 100vw);
  padding: 12px 18px;
  border: 1px solid #d9deeb;
  background: #fff;
  box-shadow: 0 -6px 18px rgb(0 0 0 / 10%);
}
.unified-mobile-panel a { display: block; padding: 10px 4px; color: #3d4970; font-size: 13px; }
.unified-bottom a[href="/devis"] { color: #55648f; font-weight: 600; }
.unified-bottom i { display: grid; place-items: center; width: 38px; height: 30px; font-size: 17px; }
.unified-bottom a[href="/devis"] i { background: #55648f; color: #fff; }

.unified-video { width: min(100%, 400px); margin: 18px auto; }
.unified-video video,
body.preview-unified video:not(.lot1-review-reel video) {
  display: block;
  width: min(100%, 400px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-inline: auto;
}
.unified-video figcaption, .unified-video-credit { margin: 5px auto 0; text-align: center; color: #6b6b6b; font-size: 11px; }
.unified-lab-section { padding: 24px 18px; }

body.preview-unified #cookie-banner #cookie-accept { background: #55648f; border-color: #55648f; }
body.preview-unified .blog-breadcrumb-wrapper {
  background: #eef0f8 !important;
  padding: 12px 20px !important;
  margin: 0 !important;
}
body.preview-unified .blog-breadcrumb-wrapper .breadcrumb { padding: 0; color: #3d4970; opacity: 1; }
body.preview-unified .blog-breadcrumb-wrapper .breadcrumb a { color: #3d4970; }
body.preview-unified .blog-header { background: #ffffff !important; }

@media (max-width: 760px) {
  body.preview-unified #cookie-banner {
    bottom: calc(70px + env(safe-area-inset-bottom)) !important;
    max-height: calc(100dvh - 70px - env(safe-area-inset-bottom));
    overflow-y: auto;
  }
}

@media (max-width: 760px) {
  .unified-header { min-height: 70px; padding: 10px 18px; }
  .unified-header nav { display: none; }
  .unified-footer { display: block; padding: 22px 18px 28px; }
  .unified-footer nav { margin: 10px 0; }
  .unified-footer-full .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  body.preview-unified .unified-tracking-controls { grid-template-columns: minmax(0, 1fr); }
  body.preview-unified:not(.lot1-home) .trust-banner .trust-number { font-size: 15px; line-height: 1.25; }
  body.preview-unified .trust-banner .trust-item { min-width: 0; }
  body.preview-unified .trust-banner .trust-number { display: grid; align-items: center; min-height: 2.5em; white-space: normal !important; }
  body.preview-unified:not(.lot1-home) .trust-banner .trust-label { font-size: 10px; }
  body.preview-unified .unified-contact-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  body.preview-unified .unified-contact-card { padding: 20px !important; }
  .unified-legal-toc div { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
  nav.unified-bottom { display: none !important; }
  body.preview-unified:not(.lot1-home) { padding-bottom: 0 !important; }
}
