/*
Theme Name: Synergy
Theme URI: http://nir-info.mg
Author: Mamy
Author URI: http://nir-info.mg
Description: Un thème WordPress fait main
Version: 1.0
*/
body {
  
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

}
.date {
  margin-top: 10px ;
  font-size: 13px!important;
}
#logo {
  width: 100px;
}

h2 {
  font-weight: bold;
  font-size: 25px;
}

body {
  background: #f4f4f4;
}

#banniere-produit {
  padding: 0px !important;
  ;
  background-image: url('../image/banniere.jpg');
  background-size: cover;
  background-position: : center center;
  padding: 0px !important;
  ;
}
#masque-produit {
  padding-top: 15vh!important;
  padding-bottom: 15vh;
}
.masque-produit {
  padding-top: 20vh;
  padding-bottom: 15vh;
  background: rgba(0, 0, 0, 0.4);
}

.masque-produit h1 {
  color: white;
  font-weight: bold;
}

.masque-produit p {
  color: white;
}

#banniere-produit input {
  height: 60px;
  margin-right: 20px;
  width: 300px;
}

#banniere-produit button {
  height: 60px;
  width: 200px;
}

.merge {
  padding-left: 10%;
  padding-right: 10%;
}

#navigation a {
  color: #343a40;
  font-weight: bold;

}

#get-devis {
  color: white !important;
}

#banniere-image,
#banniere-detail {
  background-image: url('../image/banniere.jpg');

  background-size: cover;
  background-position: : center center;
  padding: 0px !important;
  ;
}

#banniere-detail,
#banniere-image p {
  text-align: justify;
  color: white;
}

#banniere-detail h1,
#banniere-image h1 {


  color: white !important;
  font-weight: bold;
}

#banniere-image p {
  text-align: justify;
}

.masque {
  background: rgba(0, 0, 0, 0.4);
  padding-top: 25vh;
  padding-bottom: 20vh;

}

.masque-detail {
  background: rgba(0, 0, 0, 0.4);
  padding-top: 18vh;
  padding-bottom: 10vh;
}

#resume-service {
  background: white;


}

.icon-rond {

  font-size: 30px;
  color: orange;
  height: 100px;


}

.icon-desc {
  padding-left: 0px !important;
  ;
  height: 100Px;
  
}

.icon-desc h3 {
  font-size: 15px;
  font-weight: bold;
}
.icon-desc p {
  font-size: 14px;
 
  
}

.place-icon {
  border-left: 1px solid #dee2e6;
  padding-top: 20px;
}

.place-icon:hover {
  cursor: pointer;
}

.first {
  border-left: none !important;

}

.presentation {
  background: #f5f5f5;
  padding-top: 20px;
  padding-bottom: 20px;
}

#propos p {
  text-align: justify;
}

.propos-image {
  padding-top: 30px;
}

.propos-image img {
  margin-bottom: 10px;
}

#services {
  background: white;
  padding-top: 20px;
  padding-bottom: 20px;
}

.image-service {
  margin-top: 20px;
}

.bloc-service {

  height: 300px;


}

.bloc-service {
  background-size: cover;
  background-position: center center;
  /* <-- correction */
  transition: background-size 2s ease;
}

.bloc-service:hover {
  background-size: cover;
}

.bloc-service a:hover {
  text-decoration: none;
}

.bloc-service a {
  background: #28a745;
  display: block;
  width: 300px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  margin: auto;
  color: white;
  font-size: 14px;
}

.place-service {
  padding: 25px;
  padding-top: 0px !important;
}

#logo-bas {
  width: 150Px;
  margin-bottom: 20px;
}

#contact {
  background: #2b3d46;
  padding-top: 40px;

}

#contact h3 {
  color: white;
}

#contact p {
  text-align: justify;
  color: white;
}

#contact ul {
  color: white;
}

#place-contact ul {
  margin: 0px !important;
  ;
  padding: 0px !important;
}

#place-contact li {
  list-style-type: none;
}

#place-contact li i {
  margin-right: 10px;

}

#place-follow ul {
  list-style-type: none;
  margin: 0px !important;
  ;
  padding: 0px !important;

}

#place-follow ul li {
  display: inline-block;
  font-size: 25px;
  margin-right: 10px;

  width: 50Px;
  height: 50px;
  line-height: 45px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #ffba00;
}

#place-follow ul li a {
  color: white !important;
}

#blog {
  background: #f5f5f5;
  padding-top: 20px;
  padding-block: 20px;
}

.place-un-blog {

  padding: 10Px;
}

.place-image {
  height: 200px;

}

.place-image img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.un-blog {
  background: white;
  border: #eaeaea solid 1px;
  padding: 10px;
  border-radius: 5px;
}

.un-blog h3 {

  height: 60px;
  font-size: 20px;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
}

.un-blog p {
  text-align: justify;
  height: auto;
}

.active {
  color: #4eaa58 !important;
}

#categorie .place-icon {

  border-left: none !important;
}

#categorie {
  margin-top: -80px;

}

#categorie .place-categorie {


  padding: 5px;
}

.un-categorie {
  width: 100% !important;
  ;
  border-radius: 5px;
  border: 1px solid #e8e9ea;
  padding: 5px;
  background: white;
}

.un-categorie:hover {
  cursor: pointer;
  border: 1px solid #ffc107;
}

.col-custom-3 {

  width: 30%;
  float: left;
  display: inline-block;

}

.col-custom-9 {


  width: 70%;
  display: inline-block;
  float: right;
}

#liste-produits {
  background: #f4f4f4;
  padding-top: 20px;
}

.un-produit h3 {

  font-size: 15px;
  height: 40px !important;
  ;
}

.lib-categorie {
  font-size: 13px;
  color: #007bff;
}

#contact h3 {
  font-weight: bold;
  font-size: 22px;
}

.place-image {
  overflow: hidden;
}

.place-image img:hover {
  width: 200%;

}

#copy {
  text-align: right !important;
  ;


}

#policy a {
  color: white;
}

#autre-info {

  padding: 0px !important;
  ;
  padding-top: 20px !important;
  ;
  margin-top: 40px;
}

#autre-info hr {
  background: #596e78;
}

.propos-image {

  height: 770px;
  overflow: hidden;

  padding-right: 0px !important;
  padding-top: 0px;
  position: relative;
}

#slide-pagination {
  width: 50px;
  position: absolute !important;
  ;
  right: 0px;
  top: 350px;
  padding-bottom: 10px;
  z-index: 10;
}

#slide-pagination span {
  width: 15px;
  height: 15px;
  border: 1px solid white;
  margin: auto;
  display: block;
  margin-top: 10px;
  border-radius: 50%;
}

.slide-active {
  background: orange !important;
  ;
}

#slide-pagination span:hover {
  background: orange;
  cursor: pointer;
}

#slider {
  height: 2000px;

  transition: transform 0.6s ease;

}

.un-slide {

  width: 100%;
  height: 400px;
  margin-bottom: 10px;
}

.un-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.detail-service {}

.detail {

  padding-left: 0px !important;

}

.titre-widget h3 {
  font-weight: bold;
  font-size: 20px;
  margin-top: 10px;
}

.text-widget p {
  font-size: 13px;

  margin: 0px ! !important;
}

.text-widget a {
  font-size: 13px;
  color: #28a745;
  margin: 0px ! !important;
}

.text-widget h4 {
  font-weight: bold;
  font-size: 15px;
}

.place-details h1 {
  font-weight: bold;
  font-size: 30px;

}

.place-details h3 {
  font-weight: bold;
  font-size: 20px;
}

.text-widget {

  padding-left: 0px;

  /*ici*/
}

.detail p {
  text-align: justify;

}

.image-widget img {
  border-radius: 5px;
}

.place-service {


  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.place-details {
  background: white;
  padding: 20px;
}

.detail-service {}

.widget .row {
  background: white;
  padding-bottom: 15px !important;

}

.titre-widget {
  padding-left: 15px;

}

.place-titre2 hr {
  background: #ef9b0f;
  height: 3px;
  border-radius: 2px;
  width: 100px;
  margin-bottom: 0px !important;
}

.place-titre2 {
  text-align: center;
}

.place-titre2 h2 {
  font-weight: bold;
  font-size: 40px;


}

.extrait2 {
  display: none;
}

#ban-produit {

  text-align: center;
}

#ban-produit form {

  text-align: center;
  margin-top: 20px;
}

#ban-produit form input {
  height: 50px;
}

#ban-produit form input {
  height: 50px;
  width: 400px;
}

#search-product {
  margin-left: 10px;
  height: 50px;
}

#masque-produit {
  padding-top: 10vh;
  padding-bottom: 7vh;
}

#ban-produit p {

  width: 768px;
  margin: auto;
  
}



.image-detail-prod img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.image-widget-produit {
  height: 80px;

}

.image-widget-produit img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.icon-desc h3{

}
.mini-title {
  color : #50ab59!important ;
  font-weight: bold;
}
.hr-mini {
  background: #ffc107;
  height: 1px;
  width: 195px;
  margin : 0px!important ;
  margin-bottom: 10px!important ;
}
#propos h2 {
  font-size: 30px!important;
}
@media screen and (max-width:1827px) {
  .merge {
    padding-left: 5% !important;
    padding-right: 5% !important;


  }

}

@media screen and (max-width:1782px) {
  .place-icon {
    height: 150px !important;

  }

}

@media screen and (max-width:1670px) {

  .un-blog h3 {

    height: 80px;
    font-size: 20px;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;

  }
}

@media screen and (max-width:1670px) {

  .un-blog h3 {

    height: 80px;
    font-size: 20px;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;

  }
  .place-image.place-image-produit {
    height: 150px!important;
  }
  .place-texte.place-texte-produit h3 {
      font-size : 17px !important;
  }
}
@media screen and (max-width:1305px) {

  .un-blog h3 {

    height: 100px;
    font-size: 20px;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;

  }
}

@media screen and (width:1200px) {


  .icon-rond {

    text-align: left !important;
    height: auto;

  }

  .icon-desc {
    text-align: left;
  }
  .icon-desc {
    padding-left: 0px !important;
    ;
    height: 100Px;
    padding-right: 0px!important;
  }


  .image-widget-produit {
    height: 60px;

  }
  

}

@media screen and (max-width:1199px) {

  .un-blog h3 {

    height: 85px;
    font-size: 20px;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;

  }

  .icon-rond {

    text-align: center;
    height: auto;
  }

  .icon-desc {
    text-align: center;
  }

  .place-icon {
    border-bottom: 1px solid #dee2e6;
    height: 190px !important;
  }
  .icon-desc {
    padding-left: 0px !important;
    ;
    height: 100Px;
    padding-right: 0px!important;
  }
  .icon-desc p {
    padding-left: 10px ;
    padding-right: 10px ;
    /*ici*/
  }
    .image-widget-produit {
    height: 60px;

  }
}

@media screen and (max-width:1090px) {

  .bloc-service a {

    width: 220px;
  }
}

@media screen and (max-width:1020px) {
  .merge {
    padding-left: 5% !important;
    padding-right: 5% !important;

  }
}

/*@media screen and (max-width:819px) {
  
  .bloc-service a {
    
    width: 200px ;
  }
}*/
@media screen and (max-width:992px) {
  .navbar-nav {
    border-top: 1px solid #dee2e6;
    margin-top: 10px;
  }
  .bloc-service a {
    width: 400px;
  }
 


}
@media screen and (max-width:930px) {
  
  .bloc-service a {
    width: 380px;
  }

}
@media screen and (max-width:883px) {
  
  .bloc-service a {
    width: 320px;
  }

}

@media screen and (max-width:850px) {
  
  #ban-produit p {

    width: 560px;
    margin: auto;
    
  }

}
@media screen and (max-width:768px) {

  .bloc-service a {

    width: 290px;
  }
  
  .widget {
    margin-top: 20px;
  }

  .extrait2 {
    display: block;
  }

  .extrait1 {
    display: none;
  }

  .detail {

    padding-left: 0px !important;
    background: green;
    padding-right: 0px !important;
  }

  .text-widget {

    padding-left: 15px;
    margin-top: 20px;


  }
  .place-image.place-image-produit {
    height: 170px!important;
  }
  .place-texte.place-texte-produit h3 {
      font-size : 17px !important;
  }
   .image-widget-produit {
    height: 120px;

  }
  .text-widget {

    padding-left: 0px;
    margin-top: 0px;


  }
}

@media screen and (max-width:706px) {
  .place-titre {}

  #banniere-image h1 {


    color: white !important;
    font-weight: bold;
    font-size: 25px;
  }

  .masque {
    background: rgba(0, 0, 0, 0.4);
    padding-top: 29vh;
    padding-bottom: 21vh;

  }
}


@media screen and (max-width:688px) {

 .bloc-service a {

    width: 280px;
    font-size: 14px;
  }
}
@media screen and (max-width:634px) {

  .un-blog h3 {

    height: 100px;


  }
  #ban-produit p {

      width: 460px;
      margin: auto;
      
  }
}

@media screen and (max-width:576px) {

  .un-blog h3 {

    height: auto !important;



  }

  .un-blog p {
    height: auto !important;


  }
  .text-widget {

    padding-left: 0px;
    margin-top: 0px;


  }
}

@media screen and (max-width:575px) {

  
  .place-image.place-image-produit {
    height: 250px!important;
  }
  .place-texte.place-texte-produit h3 {
      font-size : 17px !important;
  }
  .text-widget {

    padding-left: 15px;
    margin-top: 10px;


  }
  .image-widget-produit {
    height: 250px;

  }
}
@media screen and (max-width:575px) {

  #search-product {
    width: 400px!important;
    margin-left: 0px!important;
    margin-top: 10Px!important;
  }
  /*ici*/
}
@media screen and (max-width:520px) {

  
  #ban-produit p {

      width: 360px;
      margin: auto;
      
  }
 
}
@media screen and (max-width:410px) {

  
  #ban-produit p {

      width: 100%;
      margin: auto;
      
  }
 
}
/* === ALERTES DEVIS === */
.devis-alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: devisSlideIn 0.3s ease;
}

.devis-alert-icon {
  font-size: 18px;
  font-weight: bold;
}

.devis-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #2e7d32;
}

.devis-error {
  background-color: #ffebee;
  color: #c62828;
  border-left: 4px solid #c62828;
}

/*  Recherche et pagination des produits */
#resultats-info {
  font-size: 14px;
  color: #667075;
  margin-bottom: 15px;
}

.aucun-resultat {
  text-align: center;
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 60px 20px;
  margin: 20px auto;
  max-width: 500px;
}

.aucun-resultat i {
  font-size: 48px;
  color: #ffc107;
  margin-bottom: 20px;
  display: inline-block;
}

.aucun-resultat h3 {
  font-weight: bold;
  font-size: 20px;
  color: #2b3d46;
  margin-bottom: 10px;
}

.aucun-resultat p {
  color: #667075;
  font-size: 14px;
  margin-bottom: 25px;
}

.aucun-resultat .btn-warning {
  padding: 10px 28px;
  font-weight: 600;
}

#pagination-produits {
  margin-top: 30px;
  margin-bottom: 40px;
}

#pagination-produits .pagination {
  gap: 6px;
  flex-wrap: wrap;
}

#pagination-produits .page-item {
  display: flex;
}

#pagination-produits .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  background: white;
  color: #2b3d46;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#pagination-produits .page-link:hover {
  border-color: #4eaa58;
  background: #f4f4f4;
  color: #2b3d46;
  text-decoration: none;
}

#pagination-produits .page-item.active .page-link {
  background: #4eaa58;
  border-color: #4eaa58;
  color: white;
}

#pagination-produits .page-item.disabled .page-link {
  background: #f9f9f9;
  color: #b5bcc0;
  border-color: #e8e9ea;
  cursor: not-allowed;
}

#pagination-produits .page-item.ellipsis .page-link {
  border: none;
  background: transparent;
  cursor: default;
}

#pagination-produits .page-item.ellipsis .page-link:hover {
  background: transparent;
}

/* === HAUTEUR ÉGALE DES CARTES BLOG === */
.un-blog {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.place-texte {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.place-texte p:last-of-type {
  flex: 1;
}

.place-texte .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media screen and (max-width:706px) {
  #pagination-produits .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }
}
@media screen and (max-width:290px) {

 .bloc-service a {

    width: 220px;
    font-size: 12px;
  }
}

#error404 {
  background: white ;
  text-align: center ;
  width: 800px;
  margin-top: 10vh;
  padding-top: 40px ;
  padding-bottom: 40px;
}
#error404 h2 {
  font-size: 30px;
}
@media screen and (max-width:612px) {

    #error404 {
    background: white ;
    text-align: center ;
    width: 85%!important;
    margin-top: 10vh;
    padding-top: 40px ;
    padding-bottom: 40px;
  }
  #error404 h2 {
  font-size: 20px;
}
}