/* 
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 */

body {
  overflow-x: hidden;
}

.temoignage-sirbatec
  .elementor-element
  .swiper
  ~ .elementor-swiper-button.swiper-button-disabled {
  opacity: 0.6 !important;
}

.temoignage-sirbatec .elementor-swiper-button-next {
  padding: 10px 30px !important;
}
.project-counter {
  color: #1f2345;
  font-family: "Indivisible", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.32px;
  text-transform: uppercase;
}

.footer-bas .e-con-inner {
  border-top: 1px solid #1f234540 !important;
}

.e-n-accordion .e-n-accordion-item:first-child .e-n-accordion-item-title {
  border-width: 0 !important;
}

.image-galery
  .elementor-image-carousel-wrapper
  .elementor-image-carousel
  .swiper-slide-image {
  border-style: none;
  object-fit: cover;
  height: 264px;
  width: 100%;
  object-position: center center;
}

@media (max-width: 768px) {
  .image-galery
    .elementor-image-carousel-wrapper
    .elementor-image-carousel
    .swiper-slide-image {
    height: 209px;
  }
}

.sirbatec-video .elementor-custom-embed-play {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7) 0.36%,
    rgba(255, 255, 255, 0.3) 100.36%
  );
  padding: 20px;
  backdrop-filter: blur(0.5px);
}

.logo-blanc-card img {
  filter: brightness(0) invert(1);
}
.logo-blanc img {
  filter: invert(1) sepia(0%) saturate(00%) hue-rotate(0deg);
}

/* ================================
   GLOBAL FORM STYLE
==================================*/

/* Champs */
.contact-form .fluentform .ff-el-form-control {
  border: none !important;
  border-bottom: 2px solid #1f2345 !important;
  border-radius: 0 !important;
  padding: 10px 0 !important;
  background: transparent !important;
  color: #1f2345 !important;
  box-shadow: none !important;
}

/* Placeholder style */
.contact-form .fluentform .ff-el-form-control::placeholder {
  color: #1f2345;
  font-weight: 700;
  text-transform: uppercase;
}

/*  SELECT (menu déroulant) */
.contact-form .fluentform select.ff-el-form-control {
  appearance: none;
  -webkit-appearance: none; /* pour Safari/Chrome */
  -moz-appearance: none; /* pour Firefox */
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_76_1942)'%3E%3Cpath d='M10 1.37585V18.6241' stroke='%231F2345' stroke-width='1.425' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1.37598 9.94684H18.6242' stroke='%231F2345' stroke-width='1.425' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_76_1942'%3E%3Crect width='20' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0 top 60% !important;
  padding-right: 25px !important;

  color: #1f2345;
  font-family: "Indivisible", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.4px;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .contact-form .fluentform select.ff-el-form-control {
    font-size: 18px;
    line-height: 18px;
    letter-spacing: -0.36px;
  }
}

/* Styles spécifiques pour les options */
.contact-form .fluentform select.ff-el-form-control option {
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  color: #1f2345;
}

/*  TEXTAREA  */
.contact-form .fluentform textarea.ff-el-form-control {
  resize: none;
}

/*  DOUBLE COLONNES – IDENTIQUE DESIGN  */
.contact-form .frm-fluent-form .ff-t-container {
  gap: 50px;
}

/*  BOUTON  */

.contact-form .ff-btn-submit {
  display: inline-flex !important;
  align-items: center;
  background-color: #1f2345 !important;
  padding: 10px 10px 10px 15px !important;
  border: 1px solid #1f2345;
  cursor: pointer !important;
  transition: 0.3s ease !important;
  border-radius: 0 !important;

  color: #fff !important;
  font-family: "Indivisible", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.32px;
  text-transform: capitalize !important;
}

/* Carré blanc + flèche SVG */
.contact-form .ff-btn-submit::after {
  content: "";
  width: 35px;
  height: 35px;
  margin-left: 12px;
  background-color: #fff;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.432617 10.2332L5.33262 5.33315L0.432617 0.433155' stroke='%231F2345' stroke-width='1.225'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Hover */
.contact-form .ff-btn-submit:hover {
  background-color: #fff !important;
  color: #1f2345 !important;
}

.contact-form .ff-btn-submit:hover::after {
  background-color: #1f2345 !important;
  background-image: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.432617 10.2332L5.33262 5.33315L0.432617 0.433155' stroke='%23ffffff' stroke-width='1.225'/%3E%3C/svg%3E");
}

/* ESPACEMENTS */
.contact-form .fluentform .ff-el-group {
  margin-bottom: 50px !important;
}

.ff-message-success {
  border: none;
  box-shadow: none;
}

/* NEWSLETTER */
.newsletter .frm-fluent-form .ff-t-container {
  display: flex;
  gap: 0px;
  width: 100%;
}

.newsletter .frm-fluent-form .ff-t-cell .ff_submit_btn_wrapper_custom {
  margin-top: 0 !important;
}

.newsletter .fluentform .ff-el-form-control::placeholder {
  color: #1f2345;
}

/* ================================
 styles Blanc 
==================================*/

.bg_blanc .footer-top .elementor-divider .elementor-divider-separator,
.bg_blanc .footer-top .border-nombre,
.bg_blanc .footer-top .border-titre {
  border-color: #fff !important;
}

.bg_blanc .temoignage-sirbatec .elementor-widget-theme-post-content {
  color: #fff;
}
.bg_blanc
  .temoignage-sirbatec
  .elementor-widget-icon.elementor-view-stacked
  .elementor-icon {
  background-color: #fff !important;
}

.bg_blanc .temoignage-sirbatec .elementor-icon svg path {
  fill: #1f2345;
}

.bg_blanc
  .temoignage-sirbatec
  :is(.elementor-swiper-button-prev, .elementor-swiper-button-next) {
  background-color: #fff !important;
}

.bg_blanc
  .temoignage-sirbatec.elementor-widget-loop-carousel
  .elementor-swiper-button.elementor-swiper-button-next:hover
  svg,
.bg_blanc
  .temoignage-sirbatec.elementor-widget-loop-carousel
  .elementor-swiper-button.elementor-swiper-button-prev:hover
  svg {
  fill: #1f2345;
}

.bg_blanc .footer-middel .elementor-icon-box-title {
  color: #fff !important;
}

.bg_blanc .footer-middel .elementor-icon svg {
  fill: #fff !important;
}

.bg_blanc .footer-center .elementor-icon svg {
  fill: #1f2345 !important;
}

.bg_blanc .footer-center {
  border-color: #fff !important;
}

.bg_blanc .footer-bas .e-con-inner {
  border-top: 1px solid #ffffff40 !important;
}

.bg_blanc
  .footer-center
  .contact-footer
  .elementor-widget-icon-box.elementor-view-stacked
  .elementor-icon {
  background-color: #fff !important;
}

.bg_blanc footer,
.bg_blanc .site-main {
  background: #1f2345 !important;
}

.bg_blanc footer .elementor-heading-title,
.bg_blanc footer p,
.bg_blanc footer a,
.bg_blanc footer span {
  color: #fff !important;
}

.bg_blanc .newsletter .contact-form .fluentform .ff-el-form-control {
  color: #fff !important;
}
.bg_blanc .newsletter .contact-form .fluentform .ff-el-form-control:focus {
  color: #fff !important;
}

.bg_blanc .newsletter .fluentform .ff-el-form-control::placeholder {
  color: #fff !important;
}

.bg_blanc .newsletter .fluentform-widget-wrapper .ff-el-group .ff-btn-submit {
  color: #fff !important;
}

.bg_blanc
  .newsletter
  .fluentform-widget-wrapper
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
    [type="button"]
  ):not([type="image"]):not([type="file"]) {
  color: #fff !important;
}

/* ================================
 styles Vert
==================================*/

.bg_vert .footer-top .elementor-divider .elementor-divider-separator,
.bg_vert .footer-top .border-nombre,
.bg_vert .footer-top .border-titre {
  border-color: #a1cd97 !important;
}

.bg_vert
  .footer-top
  .temoignage-sirbatec
  .elementor-widget-icon.elementor-view-stacked
  .elementor-icon {
  background-color: #a1cd97 !important;
}

.bg_vert
  .footer-top
  .temoignage-sirbatec
  :is(.elementor-swiper-button-prev, .elementor-swiper-button-next) {
  background-color: #a1cd97 !important;
}

.bg_vert .footer-middel .elementor-icon-box-title {
  color: #a1cd97 !important;
}

.bg_vert .footer-middel .elementor-icon svg {
  fill: #a1cd97 !important;
}

.bg_vert
  .footer-center
  .contact-footer
  .elementor-widget-icon-box.elementor-view-stacked
  .elementor-icon {
  background-color: #a1cd97 !important;
}

/* ================================
 styles Brown
==================================*/

.bg_brown .footer-top .elementor-divider .elementor-divider-separator,
.bg_brown .footer-top .border-nombre,
.bg_brown .footer-top .border-titre {
  border-color: #bc864b !important;
}

.bg_brown
  .footer-top
  .temoignage-sirbatec
  .elementor-widget-icon.elementor-view-stacked
  .elementor-icon {
  background-color: #bc864b !important;
}

.bg_brown
  .footer-top
  .temoignage-sirbatec
  :is(.elementor-swiper-button-prev, .elementor-swiper-button-next) {
  background-color: #bc864b !important;
}

.bg_brown .footer-middel .elementor-icon-box-title {
  color: #bc864b !important;
}

.bg_brown .footer-middel .elementor-icon svg {
  fill: #bc864b !important;
}

.bg_brown
  .footer-center
  .contact-footer
  .elementor-widget-icon-box.elementor-view-stacked
  .elementor-icon {
  background-color: #bc864b !important;
}

/* ================================
 styles lightbox projets
==================================*/
.e-loop-item.projets {
  cursor: pointer;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  display: flex;
  overflow: hidden;
  overflow-y: auto;
  max-height: 100vh;
  transition: all 0.3s;
}

#lightbox.opend {
  opacity: 1;
  visibility: visible;
}

#lightbox .content {
  background-color: #fff;
  height: auto;
  max-height: 100%;
}

#lightbox .content .inner-content {
  padding: 40px;
  position: relative;
}

#lightbox .content .inner-content .btn-close {
  position: absolute;
  top: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  right: 20px;
  cursor: pointer;
}

#lightbox .content .inner-content .btn-close:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f2345;
  height: 2px;
  margin: auto;
  transform: rotate(45deg);
}

#lightbox .content .inner-content .btn-close:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f2345;
  height: 2px;
  margin: auto;
  transform: rotate(-45deg);
}

#lightbox .content .inner-content .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#lightbox .content .inner-content .row .col-6 {
  max-width: calc(50% - 10px);
  flex: 0 0 calc(50% - 10px);
  display: flex;
  flex-wrap: wrap;
}

#lightbox .content .inner-content .row .col-12 {
  max-width: 100%;
  flex: 0 0 100%;
}

#lightbox .content .inner-content .gallery {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

#lightbox .content .inner-content .gallery .item {
  display: flex;
  flex: 0 0 calc(33.333333% - 27px);
  max-width: calc(33.333333% - 27px);
}

#lightbox .content .inner-content .gallery .item img {
  object-fit: cover;
  height: 350px;
  width: 100%;
}

#lightbox .content .inner-content .btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: calc(var(--content-width) + 40px);
  position: fixed;
  left: -20px;
  right: -20px;
  bottom: 40px;
  margin: auto;
}

#lightbox .content .inner-content .btns .btn {
  position: relative;
  background-image: url(./images/arrown.svg);
  background-repeat: no-repeat;
  background-position: -10px center;
  width: 40px;
  height: 40px;
  z-index: 9999;
  background-size: cover;
  overflow: hidden;
  cursor: pointer;
}

#lightbox .content .inner-content .btns .btn.hide {
  visibility: hidden;
  opacity: 0;
}

#lightbox .content .inner-content .btns .btn.btn-prev:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #000000;
  margin: auto;
}

#lightbox .content .inner-content .btns .btn.btn-next {
  transform: rotate(180deg);
}
#lightbox .content .inner-content .btns .btn.btn-next:before {
  content: "";
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #000000;
  margin: auto;
}

/* --------------------------- */
/* TABLETTE (768px à 1024px)   */
/* --------------------------- */

@media (max-width: 1024px) and (min-width: 768px) {
  #lightbox .content .inner-content .gallery {
    gap: 30px;
  }

  #lightbox .content .inner-content .gallery .item {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  #lightbox .content .inner-content .gallery .item img {
    height: 300px;
  }
}

/* --------------------------- */
/* MOBILE (<768px)             */
/* --------------------------- */

@media (max-width: 768px) {
  #lightbox .content .inner-content .row {
    gap: 10px;
  }

  #lightbox .content .inner-content .row .col-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* Galerie : 1 image par ligne */
  #lightbox .content .inner-content .gallery {
    gap: 20px;
  }

  #lightbox .content .inner-content .gallery .item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #lightbox .content .inner-content .gallery .item img {
    height: 250px;
  }
}
