/* =========================================================
   CSS GLOBAL — SECUR'AIR
========================================================= */
/* SECURAIR BORDER DASHED */
.border-dashed {
  position: relative;
  opacity: initial;
  border: none;
}

/* TOP */
.border-dashed.top::before {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: url("../../images/elements/dashed.svg") repeat-x;
  pointer-events: none;
}

/* BOTTOM */
.border-dashed.bottom::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: url("../../images/elements/dashed.svg") repeat-x;
  pointer-events: none;
}

/* LEFT */
.border-dashed.left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: url("/storage/140/dashed-vertical.svg") repeat-y;
  pointer-events: none;
}

/* RIGHT */
.border-dashed.right::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: url("/storage/140/dashed-vertical.svg") repeat-y;
  pointer-events: none;
}

/* =========================================================
   00 — CLASSES UTILITAIRES
========================================================= */
/* ---------------------------------------------------------
   HEAD MENU
--------------------------------------------------------- */
.ph-header--bg,
.ph-header {
  padding: 0 !important;
  transition: all 0.4s !important;
}

.ph-header--bg.sticky,
.ph-header.sticky {
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.ph-header.sticky {
  top: 15px !important;
  padding: 0rem 8rem !important;
}

@media (max-width: 1400px) {
  .ph-header.sticky {
    padding: 0rem 5rem !important;
  }
}

@media (max-width: 1200px) {
  .ph-header.sticky {
    padding: 0rem 4rem !important;
  }
}

@media (max-width: 992px) {
  .ph-header.sticky {
    padding: 0rem 2rem !important;
  }
}

footer .bloc-footer,
.sca-bg-grey,
.ph-header .row {
  position: relative;
  isolation: isolate;

  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(255, 255, 255, 0.045),
      transparent 40%
    ),
    rgba(55, 58, 54, 0.8);

  backdrop-filter: blur(20px) saturate(125%);

  box-shadow: 0 1px 12px #00000030;
  border-radius: 10px;
  padding: 2rem 3rem;
}

footer .bloc-footer::after,
.sca-bg-grey::after,
.ph-header .row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  opacity: 0.2;

  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23noise)'/%3E%3C/svg%3E");

  background-size: 180px 180px;
  background-repeat: repeat;

  mix-blend-mode: soft-light;
}

.ph-header.sticky .row {
  margin-left: 0 calc(var(--bs-gutter-x) * 0.5);
  margin-right: 0 calc(var(--bs-gutter-x) * 0.5);
  padding: calc(var(--bs-gutter-x) * 0.5) 0;
}

.ph-nav__link {
  font-size: 1.1rem !important;
  padding: 1rem 0.5rem !important;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
.bloc-header-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(55, 58, 54, 0.9) 0%,
    rgba(55, 58, 54, 0.7) 25%,
    rgba(55, 58, 54, 0.7) 75%,
    rgba(55, 58, 54, 0.9) 100%
  );

  pointer-events: none;
}

.bloc-header-home h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}

/* ---------------------------------------------------------
   MENU MOBILE
--------------------------------------------------------- */
.offcanvas {
  isolation: isolate;
  background: rgba(235, 51, 0, 0.85) !important;
  backdrop-filter: blur(20px);
}

.offcanvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  border-radius: 10px;
}

@media (width <= 1660px) {
  .ph-mobile-toggle {
    border-radius: 10px;
  }
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
footer .bloc-footer {
  overflow: hidden;
  padding: 8rem !important;
  border-radius: 0 !important;
}

footer .bloc-footer::before {
  width: 50%;
  aspect-ratio: 1;
  content: "";
  display: block;
  background: url(/storage/191/Securair_Logo_RVB_SymboleRouge.svg) no-repeat
    center center;
  background-size: contain;
  position: absolute;
  right: -100px;
  bottom: -140px;
  opacity: 0.4;
  pointer-events: none;
}

/* ---------------------------------------------------------
   CTA 2
--------------------------------------------------------- */
.bloc-cta-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(55, 58, 54, 0.9) 0%,
    rgba(55, 58, 54, 0.7) 25%,
    rgba(55, 58, 54, 0.7) 75%,
    rgba(55, 58, 54, 0.9) 100%
  );
  pointer-events: none;
}

/* ---------------------------------------------------------
   BLOC — PICOTGRAMME
--------------------------------------------------------- */
.bloc-pictogramme .title-picto {
  margin: 0 0 1.5rem 0 !important;
}

.bloc-pictogramme .row-title {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.bloc-pictogramme .intro {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.bloc-pictogramme .row-content {
  padding-top: 0 !important;
  align-items: stretch;
}

.bloc-pictogramme .picto-contenu {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 0 !important;
}

.bloc-pictogramme .picto-image {
  width: 40%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bloc-pictogramme .picto-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 992px) {
  .bloc-pictogramme .row-content > div {
    position: relative;
  }

  .bloc-pictogramme .row-content > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 75%;
    background-color: #eb3300;
  }
}
