/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

h1 {
  font-size: 50px;
  line-height: 1.1em;
}
h2 {
  font-size: 34px;
  line-height: 1.2em;
}

@media screen and only (max-width) {
  
 h1 {
   font-size: 34px;
   line-height: 1.1em;
 }
 h2 {
   font-size: 34px;
   line-height: 1.2em;
 } 
    
}


.projects-carousel .swiper {
    width: 100%;
}
.projects-carousel .swiper-slide {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.project-slide-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    position: relative;
}
.project-slide-content {
    width: 100%;
    background-color:rgba(0,102,131,0.80);
    color: #fff;
    border-radius: 0 0 12px 12px;
    padding: 28px 18px 20px 18px; /* Plus de padding */
    position: absolute;
    bottom: 0;
}
.project-slide-content h3 {
    margin: 6px 0 4px;
    font-size: 1.2em;
    color: #fff; /* Titre bien en blanc */
}
.project-cat {
    font-size: 0.9em;
    opacity: 0.95;
    margin-bottom: 2px;
}
.projects-carousel-container {
    width: 100%;
    margin: 0 auto;
}
.swiper-pagination {
    margin-top: 18px;
    text-align: center;
    position: relative;
    bottom: unset;
    z-index: 2;
}

/* Dots modernes : plus larges pour le dot actif */
.swiper-pagination-bullet {
    display: inline-block;
    width: 18px;
    height: 8px;
    background: #95c11f;
    opacity: 0.4;
    border-radius: 8px;
    margin: 0 4px;
    transition: width 0.2s, opacity 0.2s;
}
.swiper-pagination-bullet-active {
    width: 32px;
    opacity: 1;
    background: #95c11f;
}


.projects-swiper-pagination {
    margin-top: 18px;
    text-align: center;
    position: relative;
    bottom: unset;
    z-index: 2;
}
.projects-swiper-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #95c11f;
    opacity: 0.4;
    border-radius: 8px;
    margin: 0 4px;
    transition: width 0.2s, opacity 0.2s;
}
.projects-swiper-pagination .swiper-pagination-bullet-active {
    width: 32px;
    opacity: 1;
    background: #95c11f;
}



/* Container principal du slider */
.avis-clients-slider .swiper {
    width: 100%;
}

/* Slide */
.avis-clients-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
}

/* Carte avis */
.avis-slide-item {
    background: rgba(0,102,131,0.08);
    border-radius: 18px;
    box-shadow: 0 3px 18px 0 rgba(0,102,131,0.09);
    padding: 36px 36px 36px 36px;
    max-width: 420px;
    min-height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Bloc interne de l'avis */
.avis-slide-content {
    width: 100%;
    text-align: center;
    position: relative;
    padding-top: 4px;
}

/* Guillemets décoratifs */
.avis-guillemets {
    font-size: 2.2em;
    color: #bfe5f0;
    line-height: 0.7em;
    font-family: Georgia, serif;
    font-style: italic;
    display: block;
    margin-bottom: 8px;
    opacity: 0.6;
}

/* Contenu de l'avis */
.avis-contenu {
    font-size: 0.90em;
    color: #222;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 18px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Etoiles */
.avis-stars {
    margin-bottom: 12px;
}
.avis-stars .star {
    color: #ffc633;
    font-size: 1.15em;
    margin: 0 1px;
    display: inline-block;
    vertical-align: middle;
    text-shadow: 0 1px 2px #ddd;
}

/* Nom du client */
.avis-nom-client {
    font-weight: bold;
    font-size: 1.1em;
    color: #000;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

/* Container général du slider */
.avis-clients-slider-container {
    width: 100%;
    margin: 0 auto;
}

/* Pagination : bullets */
.avis-swiper-pagination {
    margin-top: 18px;
    text-align: center;
    position: relative;
    bottom: unset;
    z-index: 2;
}

/* Bullets modernes personnalisées */
.avis-swiper-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #006683;
    opacity: 0.4;
    border-radius: 8px;
    margin: 0 4px;
    transition: width 0.2s, opacity 0.2s;
}
.avis-swiper-pagination .swiper-pagination-bullet-active {
    width: 24px;
    opacity: 1;
    background: #006683;
}

/* Responsive : padding plus léger sur mobile */
@media (max-width: 700px) {
  .avis-slide-item {
    padding: 20px 10px;
  }
  .avis-guillemets {
    font-size: 1.4em;
  }
}



/* Champs côte à côte : méthode float */
.cf7-double {
  float: left;
  width: calc(50% - 10px);
  margin-right: 20px;
  box-sizing: border-box;
}

/* Tous les 2e éléments (à droite) n’ont pas de marge droite */
.cf7-double:nth-of-type(2n) {
  margin-right: 0;
}


.clear {
  clear: both;
}

/* Appliquer les styles à tous les champs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid #ecefee;
  background-color: #d4e4e85c;
  color: #455F53;
  font-family: 'Urbanist', Helvetica, Arial, sans-serif;
  font-size: 16px;
  width: 100%;
  margin-bottom: 20px;
  box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
  color: #455F53;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #006683;
  background-color: #d4e4e8ab;
}

/* Bouton */
input[type="submit"] {
  color: #FFFFFF !important;
  background-color: #006683 !important;
  border: none !important;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700 !important;
  font-family: 'Urbanist', Helvetica, Arial, Lucida, sans-serif !important;
  padding: 14px 32px !important;
  margin-top: 30px !important;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #024254 !important;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .cf7-double {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}



@media (min-width: 768px) {

.menu-item {
  padding : 16px 18px 10px 18px;
}

.btn-rdv-menu  {
 background-color : #95c11f;
 padding : 16px 12px 10px;
 border-radius : 8px;
}
}


