/* HERO */
.page-hero {
  padding: 0;
}

.page-hero {
  position: relative;
  min-height: auto;
}

.page-hero::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    134.59deg,
    rgba(7, 20, 59, 0.8) 25.18%,
    rgba(141, 147, 165, 0.8) 65.47%,
    rgba(255, 255, 255, 0.8) 100%
  );
  z-index: 1;
}

.page-hero .wp-block-cover__inner-container {
  z-index: 2;
}

.page-hero .wp-block-cover__inner-container .page-hero-intro {
  column-gap: 126px;
  row-gap: 24px;
}

.page-hero-intro .page-hero-image img {
  width: 45%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}

.page-hero strong {
  font-weight: 600;
}

.page-hero-galerie {
  position: relative;
}

.page-hero-galerie .wp-block-gallery {
  position: absolute;
  left: 0;
  flex-wrap: nowrap;
  gap: 24px !important;
}

/* FIL D'ARIANE */
.breadcrumbs {
  padding: 24px 0;
}

.breadcrumbs ul {
  font-size: 0.75rem;
  list-style-type: none;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.has-blue-primary-background-color .breadcrumbs ul li {
  color: var(--mid-grey);
}

.has-blue-primary-background-color .breadcrumbs ul li a {
  color: var(--white);
}

.breadcrumbs ul li {
  color: var(--blue-primary);
  font-weight: 600;
}

.breadcrumbs ul li a {
  color: var(--blue-secondary);
  font-weight: 500;
}

.breadcrumbs img {
  height: 6px;
  width: 6px;
  object-fit: contain;
}

/* BLOC TEXTE IMAGE */
.bloc-texte-image {
  column-gap: 128px;
  row-gap: 24px;
}

.bloc-texte-image figure {
  width: 100%;
  height: 100%;
}

.bloc-texte-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BLOC ACCENT */
.bloc-accent {
  padding: 32px;
}

.bloc-accent p {
  font-weight: 500;
}

/* BANNIERE FOND */
.banniere-fond::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    134.59deg,
    rgba(7, 20, 59, 0.8) 25.18%,
    rgba(141, 147, 165, 0.8) 65.47%,
    rgba(255, 255, 255, 0.8) 100%
  );
  z-index: 1;
}

.banniere-fond .wp-block-cover__inner-container {
  z-index: 2;
}

/* BLOC GALERIE */
.bloc-galerie {
  column-gap: 128px;
  row-gap: 24px;
}

.colonnes-galerie {
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.bloc-galerie .colonne-galerie {
  margin-top: calc(-185px - 24px);
  margin-bottom: calc(-185px - 24px);
}

.bloc-galerie .colonnes-galerie img {
  height: 370px;
}

/* TEXTE CONTOUR */
.texte-contour {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
}

/* CARTES */
.bloc-cartes {
  gap: 0;
}

.grille-cartes .wp-block-column:first-child {
  border-right: 1px solid var(--mid-grey);
}

.grille-cartes .bloc-cartes:first-child {
  border-bottom: 1px solid var(--mid-grey);
}

.carte-picto,
.carte {
  padding: 32px;
  transition: background-color 0.3s ease;
}

@media all and (max-width: 781px) {
  .carte-picto:not(:last-child),
  .carte:not(:last-child) {
    border-bottom: 1px solid var(--mid-grey);
  }
}

@media all and (min-width: 782px) {
  .carte-picto:not(:last-child),
  .carte:not(:last-child) {
    border-right: 1px solid var(--mid-grey);
  }
}

@media all and (max-width: 959px) {
  .carte-picto h3 {
    font-size: 1.8rem;
  }
}

@media all and (min-width: 960px) {
  .carte-picto h3 {
    font-size: 2.375rem;
  }
}

.carte-picto .wp-block-group {
  gap: 16px;
}

.carte-picto h3 {
  font-weight: 500;
  line-height: 100%;
}

.carte h3,
.carte p {
  transition: color 0.3s ease;
}

.carte:hover {
  background-color: var(--blue-primary) !important;
}

.carte:hover h3,
.carte:hover p {
  color: var(--white) !important;
}

/* BLOC CTA */
.bloc-cta .wp-block-columns {
  position: relative;
  gap: 0;
}

.bloc-cta p.has-medium-font-size {
  line-height: 100%;
}

.bloc-cta .wp-block-button__link {
  border: none;
}

.bloc-cta .bloc-cta-colonne {
  position: relative;
}

.bloc-cta-image figure {
  height: 100%;
  width: 100%;
  margin: 0;
}

.bloc-cta img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@media all and (max-width: 599px) {
  .bloc-cta p.has-medium-font-size {
    line-height: 100%;
  }

  .bloc-cta .bloc-cta-colonne {
    padding: 32px 32px 64px 32px;
  }

  .bloc-cta .bloc-cta-image {
    margin-top: -32px;
    padding: 0 32px;
    z-index: 2;
  }
}

@media all and (min-width: 600px) and (max-width: 781px) {
  .bloc-cta .bloc-cta-colonne {
    padding: 64px 64px 128px 64px;
  }

  .bloc-cta .bloc-cta-image {
    margin-top: -64px;
    padding: 0 64px;
    z-index: 2;
  }
}

@media all and (min-width: 782px) and (max-width: 959px) {
  .bloc-cta .bloc-cta-colonne {
    flex-basis: 100%;
    padding: 64px 64px 128px 64px;
  }

  .bloc-cta .bloc-cta-image {
    position: relative;
  }
}

@media all and (min-width: 960px) {
  .bloc-cta .bloc-cta-colonne {
    padding: 64px 25% 64px 64px;
  }
  .bloc-cta .bloc-cta-image {
    position: absolute;
    top: 50%;
    height: 75%;
    right: 20px;
    transform: translateY(-50%);
    width: 500px;
    z-index: 3;
  }
}

/* ONGLETS IMAGES */
.onglets-carrousel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.onglets-paginations {
  display: flex;
  margin-bottom: -32px;
  z-index: 2;
}

.onglet-btn {
  border-radius: 50%;
  background-color: var(--blue-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

@media all and (max-width: 599px) {
  .onglet-btn {
    width: 50px;
    height: 50px;
  }

  .onglets-paginations {
    gap: 10px;
  }
}

@media all and (min-width: 600px) {
  .onglet-btn {
    width: 64px;
    height: 64px;
  }

  .onglets-paginations {
    gap: 24px;
  }
}

.onglet-btn.active {
  background-color: var(--orange-primary);
}

.onglet-btn img {
  height: 20px;
  width: 20px;
  object-fit: contain;
}

.onglets-images {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
}

.onglet-image {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.3s ease;
}

.onglet-image.active {
  display: block;
  position: relative;
}

.onglet-image img {
  height: 400px;
  width: 100%;
  object-fit: cover;
}

/* CITATION */
.bloc-citation {
  column-gap: 128px;
  row-gap: 24px;
}

blockquote p {
  padding: 48px 32px 48px 96px !important;
  font-family: var(--clash-grotesk);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 100%;
  position: relative;
}

blockquote p::before {
  content: "“";
  position: absolute;
  top: 50%;
  left: 32px;
  font-family: var(--clash-grotesk);
  font-size: 8rem;
  font-weight: 500;
}

/* BLOC LISTE */
.titre-liste {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.titre-liste {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.titre-liste p.chiffre-contour {
  width: fit-content;
  word-break: keep-all;
  font-family: var(--clash-grotesk);
  color: var(--white);
  font-weight: 500;
  font-size: 2.375rem;
  line-height: 100%;
  text-shadow: -1px -1px 0 var(--blue-secondary),
    -1px -0.5px 0 var(--blue-secondary), -1px 0px 0 var(--blue-secondary),
    -1px 0.5px 0 var(--blue-secondary), -1px 1px 0 var(--blue-secondary),
    -0.5px -1px 0 var(--blue-secondary), -0.5px -0.5px 0 var(--blue-secondary),
    -0.5px 0px 0 var(--blue-secondary), -0.5px 0.5px 0 var(--blue-secondary),
    -0.5px 1px 0 var(--blue-secondary), 0px -1px 0 var(--blue-secondary),
    0px -0.5px 0 var(--blue-secondary), 0px 0px 0 var(--blue-secondary),
    0px 0.5px 0 var(--blue-secondary), 0px 1px 0 var(--blue-secondary),
    0.5px -1px 0 var(--blue-secondary), 0.5px -0.5px 0 var(--blue-secondary),
    0.5px 0px 0 var(--blue-secondary), 0.5px 0.5px 0 var(--blue-secondary),
    0.5px 1px 0 var(--blue-secondary), 1px -1px 0 var(--blue-secondary),
    1px -0.5px 0 var(--blue-secondary), 1px 0px 0 var(--blue-secondary),
    1px 0.5px 0 var(--blue-secondary), 1px 1px 0 var(--blue-secondary);
}

.colonne-image figure {
  position: absolute;
  height: 100%;
}

.colonne-image figure img {
  object-position: top;
}

/* Carrousel images */
.carrousel-images .swiper-slide img {
  height: 340px;
  object-fit: cover;
}

.carrousel-navigation {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.carrousel-button-prev,
.carrousel-button-next {
  background-color: var(--blue-primary);
  padding: 20px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.carrousel-button-prev img,
.carrousel-button-next img {
  width: 18px;
  object-fit: contain;
}

.swiper-button-disabled {
  opacity: 0.75;
  cursor: default;
}

/* CAS CLIENTS */
.realisations-grille {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .realisations-grille {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 782px) {
  .realisations-grille {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1201px) {
  .realisations-grille {
    grid-template-columns: repeat(4, 1fr);
  }
}
