@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&family=Lobster&family=Oswald:wght@500&display=swap');
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #4d2600;
    text-align: center;
}
header {
    background: url('header-bg.jpg') center/cover no-repeat;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 50px;
}
.title {
    font-size: 2em;
}

.font-oswald {
    font-family: 'Oswald', sans-serif;
}
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #8b5a2b;
    padding: 10px;
    border-radius: 20px 20px 20px 20px;
margin-right: 10px;
margin-left: 10px;opacity: 80%;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 5px 10px;
    font-size: 18px;
}
.hero {
    width: 100%;
    max-width: 1200px;
  margin: 20px auto; 
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 100%; /* largeur des bloc */
    margin: auto;
     padding: 20px;
}
.service-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 90%;
}
.service-item img {
    width: 100%;
    border-radius: 8px;
    height: 80%;
    width: 80%;

}
.contact-section {
    background-color: #4d2600;
    color: white;
    padding: 50px;
    margin-top: 20px;
}
footer {
    background-color: #8b5a2b;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    border-radius: 20px 20px 20px 20px;
    opacity: 90%;
}
.centre-texte {
text-align: center;



}

.a-boximage {
display: inline-block;
text-align: center;
margin-right: 30px;
margin-left: 30px;
}
@media (max-width: 768px) {
    header {
        padding: 30px;
    }
    nav {
        flex-direction: column;
        align-items: center;
    }
    .services-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .contact-section {
        padding: 30px;
        border-radius: 20px 20px 20px 20px;
        opacity: 90%;
        margin-left: 5px;
        margin-right: 5px;
    }

.texte-cadre p  {
border: 2px solid #8b5a2b; /* Bordure marron */
padding: 10px;
border-radius: 8px; /* Coins arrondis */
background-color: #fff; /* Fond blanc */
margin: 20px auto;
max-width: 60%; /* Limite la largeur à 90% de l'écran */
}

@media (max-width: 768px)  { /* Pour les écrans plus petits */
.texte-cadre p  {
max-width: 60%; /* Laisse un peu plus de marge sur les petits écrans */
padding: 8px; /* Réduit le padding */
font-size: 16px; /* Réduit la taille du texte */
}
}


}



#chargement {
border: 12px solid #000;
border-radius: 50%;
border-top: 12px solid #674b77;
width: 80px;
height: 80px;
animation: spin 2s linear infinite;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}

@keyframes spin {
100% {
transform: rotate(360deg);
}
}



 .btn-telephone {
            background-color: #4d2600;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 25px; /* Pour les coins arrondis */
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .btn-telephone:hover {
            background-color: #3a1c00; /* Légèrement plus foncé au survol */
        }
        
        .btn-telephone:active {
            transform: translateY(2px); /* Effet d'enfoncement */
        }




           .presentation {
            font-family: 'Arial', sans-serif;
           
            margin: 0 auto;
            line-height: 1.6;
            color: #000000;
        }
        
        .intro {
            font-size: 1.1em;
            margin-bottom: 20px;
            color: #000000;
        }
        
        .departements {
            background-color: #f5f5f5;
           /* border-left: 4px solid #4d2600;*/
            padding: 15px;
            margin: 20px 0;
            font-size: 0.95em;
        }
        
        .departements span {
          /*  display: inline-block;*/
            margin: 5px 10px 5px 0;
            font-weight: bold;
        }
        
        .engagement {
            font-style: italic;
            border-top: 1px dashed #ccc;
            border-bottom: 1px dashed #ccc;
            padding: 15px 0;
            margin: 25px 0;
            color: #000000;
        }
        
        .hors-region {
            background-color: #fff8e6;
            padding: 15px;
            border-radius: 5px;
            font-weight: 500;
        }
        
        .hors-region:before {
            content: "ℹ️ ";
        }