/* Reset CSS de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* Police moderne et fine */
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Fond légèrement gris pour un look épuré */
}

/* Header */
/* Header */
header {
    background: linear-gradient(135deg, #2c3e50, #34495e); /* Dégradé plus doux */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

header .logo img {
    height: 55px;
    border-radius: 50%;
    padding-right: 15px;
}

header .menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

header .menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 400; /* Police plus fine */
    font-size: 0.9rem; /* Taille de police réduite */
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 30px; /* Espacement pour un meilleur clic */
    border-radius: 5px; /* Bordures arrondies */
    gap: 10px;
}

header .menu a:hover {
    color: #f1c40f;
    background-color: rgba(255, 255, 255, 0.1); /* Fond léger au survol */
}

header .menu .cta-btn {
    background-color: #f1c40f;
    padding: 10px 20px;
    border-radius: 25px; /* Bords plus arrondis */
    color: #2c3e50;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

header .menu .cta-btn:hover {
    background-color: #e67e22;
    transform: scale(1.05); /* Effet de zoom au survol */
}

header .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1000;
}

header .hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

header .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

header .hamburger.active span:nth-child(2) {
    opacity: 0;
}

header .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

header .hero {
    padding: 100px 20px;
}

header .hero h1 {
    font-size: 2.5rem; /* Taille de police réduite */
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
    font-weight: 600; /* Police semi-grasse */
}

header .hero p {
    font-size: 1rem; /* Taille de police réduite */
    margin-bottom: 30px;
    animation: fadeIn 2.5s ease-in-out;
    font-weight: 300; /* Police fine */
}

header .hero .cta-btn {
    background-color: #f1c40f;
    padding: 12px 25px;
    border-radius: 25px;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

header .hero .cta-btn:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 820px) {
    header .menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: #2c3e50;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        padding: 20px;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    header .menu.active {
        display: flex;
    }

    header .hamburger {
        display: flex;
    }

    header .hero h1 {
        font-size: 2rem;
    }

    header .hero p {
        font-size: 0.9rem;
    }
}

/* Sections générales */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2rem; /* Taille de police réduite */
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
    font-weight: 600; /* Police semi-grasse */
}

/* Section À Propos */
#about p {
    font-size: 1rem; /* Taille de police réduite */
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300; /* Police fine */
}

/* Section Services */
#services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#services .service {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services .service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

#services .service h3 {
    font-size: 1.25rem; /* Taille de police réduite */
    margin-bottom: 10px;
    color: #3498db;
    font-weight: 500; /* Police semi-grasse */
}

#services .service p {
    font-size: 0.9rem; /* Taille de police réduite */
    color: #666;
    font-weight: 300; /* Police fine */
}

/* Section Notre Équipe */
#team .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#team .team-member {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#team .team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

#team .team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

#team .team-member h3 {
    font-size: 1.25rem; /* Taille de police réduite */
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 500; /* Police semi-grasse */
}

#team .team-member p {
    font-size: 0.9rem; /* Taille de police réduite */
    color: #666;
    font-weight: 300; /* Police fine */
}

/* Section Témoignages */
#testimonials .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

#testimonials .testimonial {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#testimonials .testimonial p {
    font-size: 0.9rem; /* Taille de police réduite */
    color: #666;
    margin-bottom: 10px;
    font-weight: 300; /* Police fine */
}

#testimonials .testimonial h4 {
    font-size: 1rem; /* Taille de police réduite */
    color: #3498db;
    font-weight: 500; /* Police semi-grasse */
}

/* Section FAQ */
#faq details {
    background-color: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    cursor: pointer;
}

#faq details summary {
    font-size: 1rem; /* Taille de police réduite */
    font-weight: 500; /* Police semi-grasse */
    color: #2c3e50;
}

#faq details p {
    font-size: 0.9rem; /* Taille de police réduite */
    color: #666;
    margin-top: 10px;
    font-weight: 300; /* Police fine */
}

/* Section Contact */
#contact {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

#contact h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Informations de contact */
.contact-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #3498db;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
}

.contact-info ul li strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Formulaire de contact */
#contact-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#contact-form label {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre l'icône et le texte */
    margin-bottom: 5px;
}

#contact-form label i {
    font-size: 1rem;
    color: #3498db;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

#contact-form textarea {
    resize: vertical; /* Permet de redimensionner verticalement */
    min-height: 100px;
}

#contact-form button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre l'icône et le texte */
}

#contact-form button:hover {
    background-color: #2980b9;
}

#contact-form button i {
    font-size: 1rem;
}

/* Informations supplémentaires */
.contact-details {
    text-align: center;
    margin-top: 30px;
}

.contact-details p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.contact-details p a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details p a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.contact-details p.address {
    margin-top: 10px;
}

.contact-details p.address i {
    margin-right: 5px; /* Espacement entre l'icône et le texte */
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    #contact-form button {
        width: 100%;
        justify-content: center;
    }
}
/* Section Call to Action */
#cta {
    background-color: #3498db;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

#cta h2 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600; /* Police semi-grasse */
}

#cta .cta-btn {
    background-color: #f1c40f;
    padding: 12px 25px;
    border-radius: 25px;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#cta .cta-btn:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}

/* Section Notre Mission */
#mission {
    background-color: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
}

#mission p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #666;
}

/* Section Pourquoi Nous Choisir ? */
#why-us {
    padding: 60px 20px;
    background-color: #fff;
}

#why-us .why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#why-us .reason {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#why-us .reason:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

#why-us .reason i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

#why-us .reason h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

#why-us .reason p {
    font-size: 0.9rem;
    color: #666;
}

/* Section Nos Partenaires */
#partners {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

#partners .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
}

#partners .partner img {
    width: 100%;
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

#partners .partner img:hover {
    filter: grayscale(0%);
}
/* Section Tarifs */
#tarifs {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

#tarifs h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
}

.tarifs-table {
    overflow-x: auto; /* Permet de faire défiler le tableau horizontalement sur les petits écrans */
    margin: 0 auto;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tarifs-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.tarifs-table th,
.tarifs-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.tarifs-table th {
    background-color: #3498db;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
}

.tarifs-table td {
    color: #555;
    font-size: 0.95rem;
}

.tarifs-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.tarifs-table tbody tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

.tarifs-table td[colspan="3"] {
    background-color: #3498db;
    color: #fff;
    font-weight: 500;
    text-align: center;
    font-size: 1.1rem;
    padding: 10px;
}

/* Icônes et badges */
.tarifs-table .badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #e67e22;
    color: #fff;
}

/* Responsive Design pour le tableau */
@media (max-width: 768px) {
    .tarifs-table {
        box-shadow: none;
        border-radius: 0;
    }

    .tarifs-table table {
        display: block;
        width: 100%;
    }

    .tarifs-table th,
    .tarifs-table td {
        padding: 12px;
        font-size: 0.9rem;
    }

    .tarifs-table td[colspan="3"] {
        font-size: 1rem;
    }
}
/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #f1c40f;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #e67e22;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Bouton de scroll vers le haut */
#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px; /* Positionné en bas à droite */
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px; /* Taille augmentée */
    height: 50px;
    font-size: 1.2rem; /* Taille de police augmentée */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000; /* Pour s'assurer qu'il est au-dessus des autres éléments */
    display: flex;
    align-items: center;
    justify-content: center;
}

#scroll-to-top:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

/* Bouton WhatsApp */
#whatsapp-button {
    position: fixed;
    bottom: 95px; /* Positionné au-dessus du bouton de scroll */
    right: 20px; /* Positionné en bas à droite */
    background-color: #25d366; /* Couleur WhatsApp */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px; /* Taille augmentée */
    height: 60px;
    font-size: 1.9rem; /* Taille de police augmentée */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000; /* Pour s'assurer qu'il est au-dessus des autres éléments */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

#whatsapp-button:hover {
    background-color: #128c7e; /* Couleur WhatsApp au survol */
    transform: scale(1.1);
}