/* Appliquer à toutes les sections */
#hero, #features, #modules, #avis-clients {
    width: 100%; /* Assure que les sections prennent toute la largeur */
    margin: 0 auto; /* Centre horizontalement */
    text-align: center; /* Centre le texte à l'intérieur */
    align-items: center;
}


/* Style pour le lading page */
.hero {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-image-container {
    position: relative;

}


.landing-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre l'image sans la déformer */
    display: block;
}

/* Style pour le bouton d'action */
.cta-button-essai-gratut {
    position: absolute;
    top: 12%; /* Placer le bouton 10% en dessous du haut de l'image */
    left: 54%;
    transform: translateX(-50%); /* Centrer le bouton horizontalement */
    background-color: #ff6600; /* Orange vif */
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 1.2em;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10; /* S'assurer que le bouton reste au-dessus de l'image */
}

.cta-button-essai-gratut:hover {
    background-color: #cc5500;
}


/* Section Fonctionnalités Clés */
.features {
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
    padding: 3px 20px;
    text-align: center;
}

/* Container des fonctionnalités */
.features-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
}


/* Élément de chaque fonctionnalité */
.feature {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 10px 20px;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
}

.features h2 {
    font-size: 2em;
    font-weight: bold;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
}

.features h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #ff6600;
    margin: 10px auto 0;
    border-radius: 2px;
}




/* Animation au survol */
.feature::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: #ff6600;
    bottom: 0;
    left: -100%;
    transition: left 0.4s ease-in-out;
}

.feature:hover {
    color: #ff6600;
}

.feature:hover::before {
    left: 0;
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature {
    animation: fadeInUp 0.8s ease-in-out both;
}

/* Ajout d'un délai pour un effet en cascade */
.feature:nth-child(1) {
    animation-delay: 0.2s;
}

.feature:nth-child(2) {
    animation-delay: 0.4s;
}

.feature:nth-child(3) {
    animation-delay: 0.6s;
}


/* Style pour la version mobile */
@media screen and (max-width: 768px) {
    /* PARTIE LANDING PAGE */
    .hero {
        flex-direction: column; /* Change l'affichage en colonne */
        text-align: center;
        margin: 0 auto; /* Centre horizontalement */
        padding-bottom: 10px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2em; /* Réduit la taille pour mobile */
    }

    .hero-content p {
        font-size: 1em;
    }

    /* Image centrée et occupant toute la largeur */
    .hero-image-container {
        position: relative; /* Assurer que l'image a un positionnement relatif pour être le conteneur de l'élément fixe */
        width: 100%;
        height: auto; /* Permet à l'image de garder son ratio d'aspect */
    }

    .landing-image {
        width: 100%; /* L'image occupe toute la largeur */
        height: auto; /* Pour garder le ratio d'aspect */
        object-fit: contain; /* L'image s'ajuste sans être déformée. Vous pouvez essayer cover si vous voulez une couverture totale */
        margin: 0 auto; /* Centrer l'image horizontalement */
    }

    .hero-content h1 {
        font-size: 1.8em; /* Réduit la taille du titre */
        line-height: 1.2; /* Réduit l'espacement vertical */
    }

    .hero-content p {
        font-size: 1em; /* Réduit la taille du texte */
    }

    /* Bouton centré en bas de l'image */
    .cta-button-essai-gratut {
        position: absolute;
        top: 75%; /* Placer le bouton 10% en dessous du haut de l'image */
        left: 50%;
        transform: translateX(-50%); /* Centrer le bouton horizontalement */
        padding: 6px 8px; /* Réduire la taille du padding pour un bouton plus petit */
        font-size: 0.6em; /* Réduire la taille de la police */
        background-color: #ff6600;
        color: white;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    }

    .cta-button-essai-gratut:hover {
        background-color: #cc5500;
        transform: scale(1.02); /* Légère augmentation du bouton au survol */
    }
}



/* Style de la section des modules */
.modules {
    background-color: #f8f9fa;
    text-align: center;
    width: 100%;
}

.modules h2 {
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 20px;
}

.modules-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.module-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    width: 22%; /* Par défaut pour écran de bureau */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.module-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* 👇 Responsive tablette */
@media (max-width: 992px) {
    .module-card {
        width: 45%; /* Deux cartes côte à côte sur tablette */
    }
}

/* 👇 Responsive téléphone */
@media (max-width: 600px) {
    .module-card {
        width: 90%; /* Une seule carte par ligne sur mobile */
    }

    .module-card h3 {
        font-size: 1.2em;
    }

    .module-description {
        font-size: 0.9em;
    }
}


.module-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.module-card h3 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #000000; /* Couleur du texte du nom de chaque module */
}

.module-description {
    font-size: 0.95em;
    color: #6c757d;
    margin: 10px 0;
}


.pricing {
    display: flex;
    gap: 10px;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.1em;
}

.new-price {
    color: #2E8B57; /* Met en valeur le prix réduit */
    font-size: 1.3em;
    font-weight: bold;
}

.see-more-button {
    margin-top: 10px;
    padding: 8px 16px;
    color: white;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s;
}

.see-more-button:hover {
    background-color: #0056b3;
}


