/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.blur-hero {
	backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* -------------------------------- Style aperam.com -------------------------------- */
@media screen and (min-width: 720px) and (max-width: 959px) {
  .bloc-intro.convert > div > div {
    flex-direction: column-reverse;
  }
}
.bloc-intro__photo {
  min-height: 430px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100% !important;
  padding-right: 0;
  width: 100%;
}
@media (min-width: 720px) {
  .bloc-intro__photo {
    min-height: 460px;
  }
}
@media (min-width: 960px) {
  .bloc-intro__photo {
    padding-right: 1.875rem;
  }
  .bloc-intro__photo.convert {
    padding-left: 1.875rem;
    padding-right: 0;
  }
}
@media (min-width: 960px) {
  .bloc-intro__photo {
    min-height: 550px;
    width: 50% !important;
  }
}
.bloc-intro__photo-btn {
  position: absolute;
  bottom: 20%;
}
@media (min-width: 576px) {
  .bloc-intro__photo-btn {
    bottom: 20%;
  }
}
@media (min-width: 960px) {
  .bloc-intro__photo-btn {
    bottom: 30px;
  }
}
.bloc-intro__text {
  padding-right: 0;
  width: 100% !important;
  margin-top: -20%;
}
@media (min-width: 720px) {
  .bloc-intro__text {
    min-height: 460px;
  }
}
@media (min-width: 960px) {
  .bloc-intro__text {
    width: 50% !important;
    margin-top: 0;
  }
}
.bloc-intro__text-inner {
  background: white;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.12), 0 4px 4px rgba(0, 0, 0, 0.16), 0 8px 8px rgba(0, 0, 0, 0.2);
  width: 80% !important;
  padding: 30px;
  margin: 0 auto;
  z-index: 10;
}
@media (min-width: 960px) {
  .bloc-intro__text-inner {
    width: calc((1170px / 2) + 10%) !important;
    padding: 30px 5% 30px 10%;
    margin-right: 5%;
    margin-left: -10%;
    margin-top: 0;
  }
  .bloc-intro__text-inner.convert {
    margin-left: 5%;
    margin-right: -10%;
    z-index: 10;
    padding: 30px 10% 30px 5%;
  }
}
@media (min-width: 1200px) {
  .bloc-intro__text-inner {
    margin-right: auto;
  }
  .bloc-intro__text-inner.convert {
    margin-left: auto;
  }
}
.bloc-intro__text-inner__btn {
  display: inline-block;
  float: left;
  width: auto !important;
  margin-right: 10px;
}

/* Repli full-bleed : force la section .bloc-intro en pleine largeur viewport,
   quel que soit le wrapper parent (gabarit de page / largeur de contenu Elementor).
   Restaure le rendu bord a bord + le chevauchement texte/image comme sur aperam.com.
   Note : 100vw inclut la scrollbar, un leger scroll horizontal est possible. */
@media (min-width: 960px) {
  .bloc-intro,
  .bloc-intro > .elementor-container {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

/* Remplissage de l'image dans sa colonne.
   La version d'Elementor de Recycling rend l'image directement sous
   .elementor-widget-image, sans le wrapper .elementor-image present sur
   aperam.com. Les regles copiees ciblant .elementor-image img ne
   s'appliquaient donc pas : l'image restait a sa taille native (ex. 800px)
   centree dans la colonne, sans la remplir, d'ou l'absence de chevauchement
   avec la carte texte. On force l'image a remplir la colonne (hauteurs par
   palier reprises des anciennes regles .elementor-image img). */
.bloc-intro__photo .elementor-widget-image img {
  width: 100%;
  min-height: 430px;
  height: 430px;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (min-width: 720px) {
  .bloc-intro__photo .elementor-widget-image img {
    min-height: 460px;
    height: 460px;
  }
}
@media (min-width: 960px) {
  .bloc-intro__photo .elementor-widget-image img {
    min-height: 550px;
    height: 550px;
  }
}

.bloc-local-normal__info {
  padding: 20px 20px 30px 20px;
  text-align: center;
}
@media (min-width: 720px) {
  .bloc-local-normal__info {
    padding-left: 20px;
    padding-right: 10px;
    text-align: left;
  }
}
@media (min-width: 960px) {
  .bloc-local-normal__info {
    padding-right: 5%;
  }
}
@media (min-width: 1200px) {
  .bloc-local-normal__info {
    padding-left: calc((100% - 1140px) / 2);
  }
}
.bloc-local-normal__info h2 {
  margin-top: 0;
}
.bloc-local-normal__info-des {
  text-align: left;
}
.bloc-local-normal__photo {
  /* img {
      height: 300px;
      width: 100%;
      object-fit: cover;

      @include sm {
          height: 400px;
      }

      @include lg {
          height: 400px;
      }
  } */
}
.bloc-local-normal__photo .elementor-widget-image {
  height: 100%;
}
.bloc-local-normal__photo .elementor-widget-image .elementor-widget-container {
  height: 100%;
}
.bloc-local-normal__photo .elementor-widget-image .elementor-widget-container .elementor-image {
  height: 100%;
}
.bloc-local-normal__photo .elementor-widget-image .elementor-widget-container .elementor-image img {
  height: 300px;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (min-width: 576px) {
  .bloc-local-normal__photo .elementor-widget-image .elementor-widget-container .elementor-image img {
    height: 100%;
  }
}

/* ------------------------------ BLOC Service ------------------------------ */
.bloc-sale-service {
  margin: 0;
  padding: 40px 0 0 0;
}
@media (min-width: 576px) {
  .bloc-sale-service {
    margin: 40px 0 0 0;
  }
}
@media (min-width: 720px) {
  .bloc-sale-service {
    margin: 0;
  }
}
@media (min-width: 960px) {
  .bloc-sale-service {
    margin: 40px 0 0 0;
  }
}
.bloc-sale-service__title {
  text-align: center;
}
@media (min-width: 576px) {
  .bloc-sale-service__title {
    text-align: left;
  }
}

.service {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
@media (min-width: 576px) {
  .service {
    justify-content: flex-start;
  }
}
.service__item {
  margin-bottom: 30px;
  width: 75%;
}
@media (min-width: 576px) {
  .service__item {
    width: 48%;
    margin-right: 2%;
    margin-bottom: 30px;
  }
  .service__item:nth-child(2n) {
    margin-right: 0;
  }
}
@media (min-width: 720px) {
  .service__item {
    width: 23%;
    margin-right: 2%;
    margin-bottom: 30px;
  }
  .service__item:nth-child(2n) {
    margin-right: 2%;
  }
  .service__item:nth-child(4n) {
    margin-right: 0;
  }
}
.service__item:nth-child(4n) {
  margin-right: 0;
}
.service__item-photo {
  height: 160px;
}
@media screen and (min-width: 576px) and (max-width: 719px) {
  .service__item-photo {
    height: 170px;
  }
}
.service__item-photo img {
  height: inherit;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.service__item-info-title h5 {
  margin: 20px 0 10px 0;
  font-size: 1.1428571429rem;
}
.service__item-info-file {
  margin-top: 20px;
}
.service__item-info-file i {
  font-size: 1.5rem;
  transition: all 0.3s ease-in;
}
.service__item-info-file i:hover {
  transform: translate(5px, 0);
}

.service-bloc {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 40px;
}
.service-bloc-title {
  padding: 20px;
}
@media (min-width: 960px) {
  .service-bloc-title {
    padding: 10px;
  }
}
@media (min-width: 960px) {
  .service-bloc {
    flex-direction: row;
    margin-bottom: 60px;
  }
}
.service-bloc.convert {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media (min-width: 960px) {
  .service-bloc.convert {
    flex-direction: row-reverse;
  }
}
.service-bloc__photo {
  min-height: 430px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100% !important;
  padding-right: 0;
  width: 100%;
  /* &-btn{
      position: absolute;
      bottom: 15%;

      @include sm{
          bottom: 20%;
      }            

      @include lg{
          bottom: 30px;
      }
  } */
}
@media (min-width: 720px) {
  .service-bloc__photo {
    min-height: 460px;
  }
}
@media (min-width: 960px) {
  .service-bloc__photo {
    padding-right: 1.875rem;
  }
  .service-bloc__photo.convert {
    padding-left: 1.875rem;
    padding-right: 0;
  }
}
@media (min-width: 960px) {
  .service-bloc__photo {
    min-height: 550px;
    width: 50% !important;
  }
}
.service-bloc__photo img {
  min-height: 430px;
  height: 430px;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 720px) {
  .service-bloc__photo img {
    min-height: 460px;
    height: 460px;
  }
}
@media (min-width: 960px) {
  .service-bloc__photo img {
    min-height: 550px;
    height: 550px;
  }
}
.service-bloc__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 0;
  width: 100% !important;
  margin-top: -10%;
}
@media (min-width: 720px) {
  .service-bloc__text {
    min-height: 460px;
  }
}
@media (min-width: 960px) {
  .service-bloc__text {
    width: 50% !important;
    margin-top: 0;
  }
}
.service-bloc__text-inner {
  background: white;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.12), 0 4px 4px rgba(0, 0, 0, 0.16), 0 8px 8px rgba(0, 0, 0, 0.2);
  width: 80% !important;
  padding: 30px;
  margin: 0 auto;
  margin-top: -10%;
  z-index: 10;
}
@media (min-width: 960px) {
  .service-bloc__text-inner {
    width: calc((1170px / 2) + 10%) !important;
    padding: 30px 5% 30px 10%;
    margin-right: 5%;
    margin-left: -10%;
    margin-top: 0;
  }
  .service-bloc__text-inner.convert {
    margin-left: 5%;
    margin-right: -10%;
    z-index: 10;
  }
}
@media (min-width: 1200px) {
  .service-bloc__text-inner {
    margin-right: auto;
  }
  .service-bloc__text-inner.convert {
    margin-left: auto;
  }
}
.service-bloc__text-inner__btn {
  display: inline-block;
  width: auto !important;
  margin-top: 20px;
}
.service-bloc__text-inner h2 {
  margin-top: 0;
}

/* Icône SVG inline (remplace fa-arrow-circle-right, Font Awesome non chargé sur ce site) */
.service__item-info-file svg {
  width: 24px;
  height: 24px;
  color: #eb5e0b;
  transition: all 0.3s ease-in;
}
.service__item-info-file a:hover svg {
  transform: translate(5px, 0);
  color: #5f2869;
}

/* Bouton "Read more" du template bloc, porté du .btn-aperam global d'aperam.com */
.service-bloc__text-inner__btn .btn-aperam {
  display: inline-block;
  background: #5f2869;
  text-transform: uppercase;
  border-radius: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  color: white;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s ease-in;
}
.service-bloc__text-inner__btn .btn-aperam:hover {
  transform: translateX(5px);
  background-color: #5f2869;
  color: white;
}

/* -------------------------------------------------------------------------- */

.bloc-title {
  width: 100%;
  text-align: center;
  margin-top: 0 !important;
}
@media (min-width: 720px) {
  .bloc-title {
    width: 70%;
    margin: 30px 15% !important;
  }
}
@media (min-width: 1200px) {
  .bloc-title {
    width: 50%;
    margin: 30px 25% !important;
  }
}
.bloc-title h1 {
  font-size: 2.7142857143rem;
}

.bloc-depliants table,
.bloc-table table {
  border-collapse: separate;
  border: none;
  margin: 20px 0;
  width: 100%;
}
.bloc-depliants table tr,
.bloc-table table tr {
  background: #f2f2f2;
}
.bloc-depliants table tr:first-child,
.bloc-table table tr:first-child {
  background: #eaeaea;
  font-size: 16px;
}
.bloc-depliants table tr,
.bloc-table table tr {
  margin: 2px 0;
}
.bloc-depliants table tr td,
.bloc-table table tr td {
  border: solid 2px white;
  border-right: solid 1px #dddcdc;
  border-left: none;
  text-align: center;
  font-weight: 600;
}
.bloc-depliants table tr td:first-child,
.bloc-table table tr td:first-child {
  text-align: left;
}
.bloc-depliants table tr td:last-child,
.bloc-table table tr td:last-child {
  border-right: none;
}
.bloc-depliants table tr td i,
.bloc-table table tr td i {
  color: #eb5e0b;
}

/* ------------------------------- Fin style aperam.com ------------------------------- */