/* V51 — rapprocher les carrousels et suivre leur diagonale. */
body.page-complete-gallery .realisation-intro {
  padding-bottom: 0;
}

body.page-complete-gallery .compass-gallery {
  gap: clamp(32px, 3.2vw, 60px);
  padding-top: 14px;
}

body.page-complete-gallery .compass-carousel__copy > p:not(.eyebrow):not(.compass-carousel__caption) {
  text-align: justify;
  text-align-last: left;
}

@media (min-width: 851px) {
  body.page-complete-gallery .compass-carousel--northwest .compass-carousel__copy > p:not(.eyebrow):not(.compass-carousel__caption)::before {
    content: "";
    float: left;
    width: clamp(40px, 4vw, 60px);
    height: 11em;
    margin-right: 10px;
    shape-outside: polygon(0 0, 100% 0, 100% 100%);
  }

  body.page-complete-gallery .compass-carousel--southeast .compass-carousel__copy > p:not(.eyebrow):not(.compass-carousel__caption)::after {
    content: "";
    float: right;
    width: clamp(40px, 4vw, 60px);
    height: 11em;
    margin-left: 10px;
    shape-outside: polygon(100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 850px) {
  body.page-complete-gallery .compass-gallery {
    gap: 32px;
    padding-top: 10px;
  }

  body.page-complete-gallery .compass-carousel__copy > p:not(.eyebrow):not(.compass-carousel__caption) {
    text-align: left;
  }
}

/* Relief biseauté pour les boutons gris à texte sombre. */
body.site-v02 .button,
body.site-v02 .masthead__nav a:not([aria-current="page"]),
body.site-v02 .back-to-top,
body.site-v02 .progression-open,
body.site-v02 .progression-carousel__control,
body.site-v02 .compass-carousel__controls button:not([aria-pressed="true"]) {
  border-color: #bfc6c2;
  background: linear-gradient(145deg, #f5f6f5 0%, #e7eae8 52%, #d8ddda 100%);
  color: #2c302e;
  box-shadow:
    inset 1px 1px 0 rgb(255 255 255 / 96%),
    inset -1px -1px 0 rgb(101 110 105 / 22%),
    0 2px 0 rgb(95 104 99 / 28%),
    0 5px 10px rgb(36 42 38 / 13%);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.site-v02 .button:hover,
body.site-v02 .back-to-top:hover,
body.site-v02 .progression-open:hover,
body.site-v02 .progression-carousel__control:hover,
body.site-v02 .compass-carousel__controls button:not([aria-pressed="true"]):hover {
  border-color: #aeb8b3;
  background: linear-gradient(145deg, #fbfcfb 0%, #edf0ee 52%, #e0e4e1 100%);
  box-shadow:
    inset 1px 1px 0 rgb(255 255 255 / 98%),
    inset -1px -1px 0 rgb(92 101 96 / 18%),
    0 3px 0 rgb(95 104 99 / 30%),
    0 7px 13px rgb(36 42 38 / 17%);
  transform: translateY(-1px);
}

body.site-v02 .button:active,
body.site-v02 .back-to-top:active,
body.site-v02 .progression-open:active,
body.site-v02 .progression-carousel__control:active,
body.site-v02 .compass-carousel__controls button:not([aria-pressed="true"]):active {
  box-shadow:
    inset 1px 1px 2px rgb(70 78 73 / 20%),
    inset -1px -1px 0 rgb(255 255 255 / 76%),
    0 1px 0 rgb(95 104 99 / 24%);
  transform: translateY(1px);
}

body.site-v02 .masthead__nav a:not([aria-current="page"]):hover,
body.site-v02 .masthead__nav a:not([aria-current="page"]):focus-visible,
body.site-v02 .masthead__nav a[aria-current="page"] {
  border-color: #171717;
  background: #171717;
  color: #fff;
  box-shadow: 0 2px 7px rgb(0 0 0 / 18%);
}

@media (prefers-reduced-motion: reduce) {
  body.site-v02 .button,
  body.site-v02 .masthead__nav a,
  body.site-v02 .back-to-top,
  body.site-v02 .progression-open,
  body.site-v02 .progression-carousel__control,
  body.site-v02 .compass-carousel__controls button {
    transition: none;
  }
}