/* Styles spécifiques pour la page ERP */

/* Style du titre principal avec dégradé */
.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(46, 134, 255, 0.3));
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Style personnalisé pour le hero avec image ERP */
.hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
        url('../img/nosserviceserp.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    filter: blur(2.5px) brightness(0.95) !important;
    z-index: -1 !important;
}

/* Centrage du conteneur mais justification du texte */
.intro-centered {
    max-width: 900px;
    margin: 0 auto;
}

.intro-centered p {
    text-align: justify;
}

.intro-centered .highlight-box {
    border-left: none;
    border-bottom: 4px solid var(--secondary-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.intro-centered .highlight-box p {
    text-align: justify;
}

/* Disposition en grille pour les cartes de service */
.services-grid-erp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Amélioration de la lisibilité du texte */
.text-content p {
    margin-bottom: 1.8rem;
    line-height: 1.8;
    text-align: justify;
}

/* Cartes de service ERP */
.service-card-erp {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-erp:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card-erp .icon-erp {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card-erp h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.8rem;
}

.service-card-erp p {
    color: var(--text-color);
    line-height: 1.7;
    flex-grow: 1;
}

/* Style des listes à puces dans les cartes de service */
.service-card-erp .service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.service-card-erp .service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-color);
    line-height: 1.6;
}

.service-card-erp .service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-card-erp .service-list li:last-child {
    margin-bottom: 0;
}

/* Section d'introduction */
.section-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Boîte de mise en évidence */
.highlight-box {
    background-color: var(--light-gray);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.highlight-box p {
    margin-bottom: 0.8rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Valeurs écologiques */
.eco-values {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.eco-value-item {
    margin-bottom: 0;
    padding: 1rem;
    flex: 0 0 auto;
    text-align: center;
}

/* Section FAQ */
.faq-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Logo ERP */
.erp-logo {
    max-width: 200px;
    margin: 2rem auto;
    display: block;
}

/* Styles responsives */
@media (max-width: 992px) {
    .services-grid-erp {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid-erp {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .service-card-erp {
        padding: 1.5rem;
    }

    .service-card-erp h3 {
        font-size: 1.2rem;
    }

    .highlight-box {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .service-card-erp {
        padding: 1.2rem;
    }

    .faq-item {
        padding: 1.2rem;
    }
}