/* These overlays are painted into an unused pseudo-element, above the existing surface. */
body.dronoxair-site.dxa-dore-active [data-dxa-reflet-anchor] {
  position: relative;
}

body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="edge"]:not(:focus-visible) {
  outline: 1px solid #dfb66773;
  outline-offset: -1px;
}

body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card] {
  --dxa-dore-glint: linear-gradient(112deg, transparent 14%, #d49a2d04 24%, #e6ba6538 43%, #fff1c15c 52%, #e9b65037 63%, transparent 85%);
}

body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="before"]::before,
body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="after"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #dfb66776, inset 0 1px 0 #fff2cb85;
  background: none -230% 0 / 68% 100% no-repeat;
  transition: box-shadow .3s ease;
}

/* CSS percentages travel across the free 32% of the width. Both endpoints
   place the entire 68%-wide band out of view. */
@keyframes dxa-dore-sweep {
  from { background-position: -230% 0; }
  to { background-position: 330% 0; }
}

body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="before"]:is(:focus-visible, :has(:focus-visible))::before,
body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="after"]:is(:focus-visible, :has(:focus-visible))::after {
  background-image: var(--dxa-dore-glint);
  animation: dxa-dore-sweep .86s cubic-bezier(.23, .75, .2, 1) both;
  box-shadow: inset 0 0 0 1px #e7bc6bc9, inset 0 1px 0 #fff2cbc9;
}

@media (hover: hover) {
  body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card]:hover:not(:focus-visible) {
    outline: 1px solid #dfb15cbf;
    outline-offset: -1px;
    box-shadow: 0 0 0 1px #ddb15c50, 0 12px 34px #d5a45738 !important;
  }
  body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="before"]:hover::before,
  body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="after"]:hover::after {
    background-image: var(--dxa-dore-glint);
    animation: dxa-dore-sweep .86s cubic-bezier(.23, .75, .2, 1) both;
    box-shadow: inset 0 0 0 1px #e7bc6bc9, inset 0 1px 0 #fff2cbc9;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="before"]::before,
  body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="after"]::after {
    transition: none;
    animation: none !important;
    background-image: none !important;
  }
}

/* Quiet gold tracing on a few sections; original photos and fills are underneath. */
body.dronoxair-site.dxa-dore-active [data-dxa-reflet-pattern^="lines"] {
  --dxa-dore-pattern: repeating-linear-gradient(122deg, transparent 0 17px, #bd843c22 17px 18px, transparent 18px 36px);
}

body.dronoxair-site.dxa-dore-active [data-dxa-reflet-pattern^="diamonds"] {
  --dxa-dore-pattern:
    repeating-linear-gradient(45deg, transparent 0 23px, #bd843c1b 23px 24px, transparent 24px 47px),
    repeating-linear-gradient(-45deg, transparent 0 23px, #bd843c1b 23px 24px, transparent 24px 47px);
}

body.dronoxair-site.dxa-dore-active [data-dxa-reflet-pattern$="-before"]::before,
body.dronoxair-site.dxa-dore-active [data-dxa-reflet-pattern$="-after"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--dxa-dore-pattern);
  -webkit-mask-image: linear-gradient(110deg, #000 0%, transparent 30%, transparent 65%, #000 100%);
  mask-image: linear-gradient(110deg, #000 0%, transparent 30%, transparent 65%, #000 100%);
}

@media print, (forced-colors: active) {
  body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="before"]::before,
  body.dronoxair-site.dxa-dore-active [data-dxa-reflet-card="after"]::after,
  body.dronoxair-site.dxa-dore-active [data-dxa-reflet-pattern$="-before"]::before,
  body.dronoxair-site.dxa-dore-active [data-dxa-reflet-pattern$="-after"]::after {
    content: none;
  }
}

body.dronoxair-site.dxa-dore-active #page-container :is(a, button, summary):focus-visible {
  outline-color: #d9a641 !important;
}

/* Same four stops and angle as the Audit de visibilité heading. */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  body.dronoxair-site.dxa-dore-active #page-container :is(
    :is(h1, h2, h3) .dxa-gold-text,
    h1 .dxa-lg-seo-h1-prefix,
    .dxa-lg-hero-copy h1 > span
  ) {
    color: #f0bd42 !important;
    background: var(--dxa-dore-title-fill, linear-gradient(106deg, #fff0c2 0%, #f0bd42 42%, #ffe7a0 72%, #c18b2a 100%)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: var(--dxa-dore-title-ink, transparent) !important;
    text-shadow: none !important;
  }
}

/* Opt out only when a browser explicitly enables forced colours. */
@media (forced-colors: active) {
  body.dronoxair-site.dxa-dore-active #page-container {
    --dxa-dore-title-fill: none;
    --dxa-dore-title-ink: CanvasText;
  }
}
