/* ==========================================================================
   1. Global Styles
   ========================================================================== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
}


/* ==========================================================================
   2. Header & Navigation Styles
   ========================================================================== */
/* --- Header Styles --- */
header {
    background: white;
    color: black;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -12px;
    margin-bottom: -20px;
}

/* Bouton hamburger et menu par défaut */
.menu-toggle {
    display: none;
    /* Masqué sur grand écran */
}

.nav-menu {
    display: block;
    /* Affiché sur grand écran */
    margin-bottom: 12px;
    /* Espace pour qu'il apparaisse sous le bouton */
}

.logo {
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

/* --- Navigation Links --- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 19px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

/* Bouton "Contact" dans la navigation */
.nav-links .btn-contact {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    transition: background 0.3s, color 0.3s;
}

.nav-links .btn-contact:hover {
    background: #218838;
    color: white;
}

/* Hover pour les autres liens */
.nav-links a:hover:not(.btn-contact) {
    text-decoration: underline;
    color: #218838;
}

/* --- Header Duplication (Header commenté en seconde partie) --- */
/* Header */
header {
    background: white;
    /* Fond blanc */
    color: black;
    padding: 1rem 0;
    position: fixed;
    /* Rendre le header fixe */
    width: 100%;
    top: 0;
    z-index: 1000;
    /* Assurer que le header reste au-dessus des autres éléments */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Ajouter une ombre pour un effet visuel */
}

/* Style pour le logo */
.logo {
    color: black;
    /* Couleur noire */
    text-decoration: none;
    /* Supprimer la décoration du texte */
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    /* Couleur gris foncé */
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

/* --- Fixed Header --- */
.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    /* Fond blanc */
    color: #333333;
    /* Couleur du texte */
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Ombre légère */
    z-index: 1000;
    /* Assurer que le header reste au-dessus du contenu */
}

.fixed-header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.fixed-header nav ul li {
    margin: 0 15px;
}

.fixed-header nav ul li a {
    text-decoration: none;
    color: #333333;
    /* Couleur du texte */
    font-weight: bold;
    transition: color 0.3s;
}

.fixed-header nav ul li a:hover {
    color: #218838;
    /* Couleur verte au survol */
}


/* ==========================================================================
   3. Web-Mobile-Integration Section
   ========================================================================== */
.web-mob-ic {
    padding-left: 188px;
    padding-right: 195px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    background-color: #f0f0f0;
    /* Fond gris clair */
    padding-top: 80px;
    /* Ajouter un espace pour compenser le header fixe */
}

.web-mob-ic-content {
    display: flex;
    align-items: center;
}

.web-mob-ic-image {
    flex: 1;
    text-align: center;
}

.web-mob-ic-image img {
    max-width: 100%;
    height: auto;
    padding-top: 5rem;
}

.web-mob-ic-text {
    flex: 2;
    padding-left: 20px;
}

.web-mob-ic-title {
    color: #28a745;
    /* Couleur verte */
    font-size: 20px;
    /* Taille de police plus petite */
    margin-bottom: 19px;
    padding-top: 100px;
}

.web-mob-ic-description {
    font-size: 1.2rem;
    color: #333333;
    /* Noir plus clair */
    margin-bottom: 20px;
}

.btn-appointment {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    /* Couleur verte */
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-appointment:hover {
    background-color: #218838;
    /* Couleur verte plus foncée au survol */
}


/* ==========================================================================
   4. "Parlons-en" Section
   ========================================================================== */
.parlons-en {
    background-color: #32aa27;
    /* Couleur verte */
    color: white;
    padding: 50px;
    /* Réduire le padding */
    padding-right: 200px;
    padding-left: 200px;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Occuper toute la largeur de la section */
    box-sizing: border-box;
    /* Inclure le padding dans la largeur totale */
}

.parlons-en-text {
    flex: 2;
    padding-right: 20px;
}

.parlons-en-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: -40px;
}

.parlons-en-description {
    font-size: 1.9rem;
    margin-bottom: 0;
    padding-bottom: 3rem;
}

.btn-contactez-nous {
    flex: 1;
    display: inline-block;
    padding: 10px 20px;
    margin-top: 4rem;
    background-color: #32aa27;
    /* Couleur verte */
    color: white;
    /* Couleur du texte */
    text-decoration: none;
    border: 2px solid white;
    /* Contour blanc */
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.btn-contactez-nous:hover {
    background-color: #162415;
    /* Couleur noire au survol */
    color: white;
    /* Couleur du texte au survol */
}

.parlons-en-section {
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    background-color: #f0f0f0;
    /* Fond gris clair */
    padding-top: 60px;
    /* Ajouter un espace pour compenser le header fixe */
}


/* ==========================================================================
   5. Footer & Third Section
   ========================================================================== */
/* --- Footer --- */
footer {
    background: #162415;
    color: white;
    text-align: center;
    padding: 1px;
}

/* --- Third Section --- */
.third-section {
    background: #162415;
    color: white;
    /* Texte en blanc */
    padding: 100px;
    text-align: center;
    /* Centrer le texte */
    margin-bottom: -40px;
}

.third-section a {
    color: white;
    /* Couleur des liens en blanc */
    font-size: 1.2rem;
    /* Taille de police */
    transition: color 0.3s;
    /* Transition pour la couleur */
}

.third-section a:hover {
    color: #218838;
    /* Couleur verte au survol */
}

header svg {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ==========================================================================
   6. Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
    .header-container {
        padding: 18px 0;
    }

    /* Affichage du bouton hamburger */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
    }

    /* Masquer le menu par défaut */
    .nav-menu {
        display: none;
    }

    /* Lorsque le menu est actif, l'afficher en bloc */
    .nav-menu.active {
        display: block;
    }

    /* Afficher la liste des liens verticalement */
    .nav-links {
        display: block;
        text-align: center;
        padding-bottom: 2rem;
    }

    .nav-links li {
        margin: 5px 0;
        display: block;
    }

    .nav-links a {
        text-decoration: none;
        color: #333;
        font-size: 0.7rem;
        font-weight: bold;
        transition: color 0.3s;
    }

    .web-mob-ic {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
    }

    .web-mob-ic-image {
        padding-top: 2rem;
    }

    .web-mob-ic-title {
        font-size: 1.5rem;
        padding-top: 50px;
    }

    .web-mob-ic-description {
        font-size: 1rem;
    }

    .parlons-en {
        flex-direction: column;
        padding: 20px;
    }

    .parlons-en-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .parlons-en-description {
        font-size: 1.2rem;
        padding-bottom: 1rem;
    }

    .btn-contactez-nous {
        margin-top: 2rem;
    }

    .third-section {
        padding: 50px 20px;
    }
}