:root {
    --primary-color: #264e13;
}
.content-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px; /* Ajouté pour espacer les boutons des textes */
}

/* Ajoute à la fin de styles.css */
.bg-home.hero {
    margin-top: 130px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    max-height: 600px;
    overflow: hidden;
}
.bg-home.hero img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    filter: brightness(0.7);
}
.hero-content {
    background-color:#3c57488a;
    border-radius: 21px;
    padding: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 700px;
}
.hero-content h1 h2{
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.hero-content h2 {
    margin-bottom: 25px;
    margin-top: -15px;
    color: #fff;
}
.hero-content p {
    font-size: 1.3rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}


/* Style pour le conteneur des boutons hero */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-top: 32px;
}
/* Style général des boutons hero */
.hero-btns .btn {
  display: inline-flex;
  align-items: center;

  font-weight: 600;
  border-radius: 32px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  text-decoration: none;
  outline: none;
}


/* Bouton devis */
.hero-btns .btn-devis {
  background-color:  #3c5748c0 ;
  color: #fff;
  border: 2px solid  #66bb6a;
}
.hero-btns .btn-devis:hover, .hero-btns .btn-devis:focus {
  background: #fff;
  color :var(--primary-color);
  border-color: #66bb6a;

}

/* Bouton WhatsApp */
.hero-btns .btn-whatsapp {
  background: #fff;
  color: var(--primary-color);
  border: 2px solid  #66bb6a;
  font-weight: 600;
  gap: 8px;
}

.hero-btns .btn-whatsapp .fa-phone{
    color: #66bb6a;
}


.hero-btns .btn-whatsapp:hover, .hero-btns .btn-whatsapp:focus {
  background: #3c5748c0;
  color: #fff;
}
.hero-btns .btn-whatsapp svg {
  margin-right: 6px;
}
.hero-btns .btn-whatsapp span {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.08em;
}
.hero-btns .btn-whatsapp:hover span, .hero-btns .btn-whatsapp:focus span {
  color: #fff;
}

.hero-btns-mobile {
  display: none;
}
@media (max-width: 600px) {
  .hero-btns {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
    width: 100%;
    margin-top: 32px;
    border-radius: 32px;
    left: unset;
    right: unset;
    bottom: unset;
    z-index: unset;
    padding: 0;
  }
  .hero-btns-mobile {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
    padding: 10px 0 14px 0;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-top: 0;
    border-radius: 0;
    transition: transform 0.3s;
  }
  .hero-btns-mobile .btn {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    border-radius: 32px;
    padding: 15px 7px 15px 7px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    text-decoration: none;
    outline: none;
    width: auto;
    min-width: 44vw;
    font-size: 0.9em;
    justify-content: center;
  }
  .hero-btns-mobile .btn-devis {
    background-color:  #3c5748c0 ;
    color: #fff;
    border: 2px solid  #66bb6a;
  }
  .hero-btns-mobile .btn-devis:hover, .hero-btns-mobile .btn-devis:focus {
    background: #fff;
    color :var(--primary-color);
    border-color: #66bb6a;
  }
  .hero-btns-mobile .btn-whatsapp {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid  #66bb6a;
    font-weight: 600;
    gap: 8px;
  }
  .hero-btns-mobile .btn-whatsapp .fa-phone{
      color: #66bb6a;
  }
  .hero-btns-mobile .btn-whatsapp:hover, .hero-btns-mobile .btn-whatsapp:focus {
    background: #3c5748c0;
    color: #fff;
  }
  .hero-btns-mobile .btn-whatsapp span {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.08em;
  }
  .hero-btns-mobile .btn-whatsapp:hover span, .hero-btns-mobile .btn-whatsapp:focus span {
    color: #fff;
  }
}
@media (min-width: 601px) {
  .hero-btns {
    position: static !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 32px !important;
    margin-top: 32px !important;
  }
}

@media (max-width: 700px) {
    .hero-content h1 { font-size: 1.1rem; }
    .hero-sous-titre { font-size: 1.1rem; }
    .hero-content p { font-size: 0.95rem; }
    .bg-home.hero img {  width: 100%; height: 45vh; }
    .bg-home.hero {
        min-height: 350px;
        height: 80vh;
        max-height: none;
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    .bg-home.hero img {
        width: 100%;
        height: 100%;
        min-height: 350px;
        object-fit: cover;
    }
    .hero-content {
        position: absolute;
        top: 55%;
        left: 50%;
        margin-top: 30px !important;
        transform: translate(-50%, -50%);
        width: 92%;
        max-width: 420px;
        padding: 18px 6px;
        border-radius: 14px;
    }
    .hero-btns, .hero-btns-mobile {
        gap: 10px;
    }
    .hero-btns .btn, .hero-btns-mobile .btn {
        font-size: 0.95em;
        padding: 10px 10px;
        min-width: 40vw;
    }
}



.content-btn button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 36px; /* Légère augmentation pour plus de confort visuel */
    border-radius: 5px;
    font-size: 18px;
    border: none;
    cursor: pointer;
}
.content-btn 
button a {
    color: #fff;
    text-decoration: none;
}

.bg-home img {
    width: 100%;
    height: calc(90vh - 164px);
    object-fit: cover;
}

.local {
    padding: 40px 60px; /* Plus d'espace autour */
    gap: 30px;
    
}

.local h2 {
    text-align: center;
    margin-bottom: 30px;
}

.local .content-title {
    background-color: #d2cfcf;
    padding: 15px;
}

.local .content-title h2,
.local .content-title h3 {
    text-align: center;
    margin: 0;
}

.local .col {
    border: 1px solid #F2F2F2;
    padding: 20px;
}

.local .col p {
    padding: 10px 0;
}

.local .container-btn-local {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.local .container-btn-local button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 36px; /* Légère augmentation pour plus de confort visuel */
    border-radius: 5px;
    margin-top: 15px;
    margin-left: -13px;
    font-size: 18px;
    border: 2px solid #fff;

    cursor: pointer;
}
.local .container-btn-local button:hover,
.local .container-btn-local button:focus {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color) !important;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.local .container-btn-local button a {
    color: inherit;
    text-decoration: none  ;
}


.faq {
    padding: 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    margin-bottom: 30px;
}

.faq-item {
    position: relative;
}
.faq-question {
    display: block;
    width: 100%;
    background: #f8f8f8;
    border: none;
    outline: none;
    padding: 16px 56px 16px 20px; /* padding-right augmenté pour la flèche */
    font-size: 1.1rem;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: background 0.2s;
    position: relative;
    text-align: left;
}
.faq-question-text {
    display: inline;
}
.faq-arrow {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.2s;
    display: inline-block;
    text-align: right;
    pointer-events: none;
}
.faq-question.active .faq-arrow {
    transform: translateY(-50%) rotate(90deg); /* flèche vers le bas */
}
.faq-answer {
    display: none;
    padding: 16px 20px 16px 20px;
    border-radius: 0 0 6px 6px;
    margin-bottom: 10px;
    color: #222;
}

.steps {
    padding: 40px 60px;
    background-color: #f1e0b6;
}

.steps .container-steps {
    display: flex;
    gap: 30px;
}

.steps .container-steps .step {
    width: 40%;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
}

.steps .container-steps .step .content-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.steps .container-steps .step ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps .container-steps .step ul li {
    margin-bottom: 12px;
}

.valeurs {
    padding: 40px 60px;
}

.valeurs h2 {
    text-align: center;
    margin-bottom: 30px;
    
}
.valeur .titre-card-valeur{
    color: var(--primary-color);
    font-weight: bold;
}

.valeurs .container-valeurs {
    display: flex;
    gap: 30px;
}


.valeurs .container-valeurs .valeur {
    width: 33%;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #F2F2F2;
    padding-bottom: 20px;
}

.valeurs .container-valeurs .valeur img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.valeurs .container-valeurs .valeur p {
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 0;
}

.services {
    padding: 40px 60px;
}

.services h2 {
    text-align: center;
    margin-bottom: 30px;
}

.services .container-services {
    display: flex;
    gap: 30px;
}
.services .container-services .service h5 {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: -10px;
}

.services .container-services .service:first-child {
    width: 60%;
}

.services .container-services .service:last-child {
    width: 40%;
}

.services .container-services .service p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.services .container-services .service img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.local .container-local {
    display: flex;
    gap: 30px;

    
}
.container-local h3{
    color: var(--primary-color);
}
.local .container-local .col {
    
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);

    border-radius: 10px;
    padding: 20px;
}
   
@media (max-width: 768px) {
    .valeurs,
    .services,
    .local,
    .faq,
    .steps {
        padding: 20px;
    }

    .container-local{
        margin: 7px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .valeurs .container-valeurs,
    .local .container-local,
    .services .container-services,
    .steps .container-steps {
        flex-direction: column;
    }

    .valeurs .container-valeurs .valeur,
    .local .container-local .col,
    .services .container-services .service,
    .services .container-services .service:first-child,
    .services .container-services .service:last-child,
    .steps .container-steps .step {
        width: 100%;
    }

    .faq-arrow{
        font-size: 15px !important;
        margin-left: 51px;


    }
    .faq-question {
        font-size: 13px !important;
       
    }
    .local .container-local {
        display: flex;
        gap: 30px;
        margin: 0 5px 0 5px;
        
    }

}
