/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Thème enfant pour Blocksy
Author: Isoleco
Author URI: https://isoleco.ch
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/


/* General */

.btn-global-1, .elementor-button.btn-global-1 {
    clip-path: polygon(8% 0, 100% 0, 100% 90%, 92% 100%, 0 100%, 0 10%);
    transition: all 0.3s ease;
}

.elementor-slide-button, .btn-demande-devis {
    clip-path: polygon(8% 0, 100% 0, 100% 90%, 92% 100%, 0 100%, 0 10%);
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

/* .ct-contact-info ul {
    border: 1px solid #d67a2a !important;
    padding: 10px 20px 10px 20px;
} */

.home-slider {
    clip-path: polygon(8% 0, 100% 0, 100% 90%, 92% 100%, 0 100%, 0 10%);
    transition: all 0.3s ease;
}



/* Realisations archive */

.archive-realisations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.card-realisations {
  position: relative;
  background: #fff;
  border: 1px solid #E17832;
  clip-path: polygon(6% 0, 100% 0, 100% 94%, 94% 100%, 0 100%, 0 6%);
  transition: all 0.35s ease;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-realisations:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(225, 120, 50, 0.25);
}

.card-realisations img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}





/* Realisation Single */

.img-realisation-single {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 0;
}
.img-realisation-single img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(6% 0, 100% 0, 100% 94%, 94% 100%, 0 100%, 0 6%);
  transition: transform 0.3s ease;
  z-index: 1;
  position: relative;
}

.img-realisation-single::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(6% 0, 100% 0, 100% 94%, 94% 100%, 0 100%, 0 6%);
  border: 1px solid #E17832;
  pointer-events: none;
  z-index: 2;
  border-radius: 0;
}

.img-prestations {
      position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 0;
}

.img-prestations img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(6% 0, 100% 0, 100% 94%, 94% 100%, 0 100%, 0 6%);
  transition: transform 0.3s ease;
  z-index: 1;
  position: relative;
}

.img-prestations::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(6% 0, 100% 0, 100% 94%, 94% 100%, 0 100%, 0 6%);
  border: 2px solid #E17832;
  pointer-events: none;
  z-index: 2;
  border-radius: 0;
}


/* 
* Footer
* */

/* Bloc inscription newsletter */

.newsletter-block {
  background: #fafafa;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.newsletter-title {
  font-size: 1.6rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}

.newsletter-text {
  color: #555;
  font-size: 1rem;
  margin-bottom: 25px;
}

.newsletter-input {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.newsletter-input input[type="email"] {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 300px;
  font-size: 1rem;
}

.newsletter-input button {
  background-color: #D9772C;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-input button:hover {
  background-color: #b75f1d;
}

.newsletter-rgpd {
  color: #777;
  font-size: 0.85rem;
  margin-top: 15px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .newsletter-input {
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter-input input[type="email"] {
    width: 100%;
  }
  .newsletter-input button {
    width: 100%;
  }
}
