/*
    prestations.css - Styles pour la page prestations
    
    Ce module contient les styles spécifiques 
    à la page prestations, ainsi que les styles 
    pour la section prestations.

    @author Alexandre BURIN
    @version 1.0.0
*/

/* Styles pour la section intro prestations */
.intro-prestations {
    background: linear-gradient(135deg, rgba(122, 155, 110, 0.08) 0%, rgba(201, 169, 97, 0.06) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.intro-prestations h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.3px;
}

.intro-prestations p {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Styles pour la section prestations content */
.prestations-content {
    background: linear-gradient(135deg, rgba(122, 155, 110, 0.08) 0%, rgba(201, 169, 97, 0.06) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    border: 2px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(122, 155, 110, 0.12);
}

.prestations-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.4px;
    text-shadow: 0 2px 8px rgba(122, 155, 110, 0.15);
}

/* Styles pour l'accordion des prestations */
.prestations-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.accordion-item {
    background: white;
    border-radius: 16px;
    border: 2px solid var(--border-light);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.accordion-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 24px rgba(122, 155, 110, 0.2);
    transform: translateY(-2px);
}

.accordion-item.active {
    border-color: var(--primary-green);
    box-shadow: 0 8px 24px rgba(122, 155, 110, 0.25);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(122, 155, 110, 0.08) 0%, rgba(201, 169, 97, 0.05) 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-green), var(--accent-gold));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::before {
    transform: scaleY(1);
}

.accordion-header:hover {
    background: linear-gradient(135deg, rgba(122, 155, 110, 0.12) 0%, rgba(201, 169, 97, 0.08) 100%);
}

.accordion-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: left;
    letter-spacing: -0.2px;
}

.accordion-icon {
    font-size: 1.1rem;
    color: var(--primary-green);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    font-weight: bold;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-description {
    padding: 2rem;
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    border-bottom: 2px solid var(--border-light);
    background: linear-gradient(135deg, rgba(122, 155, 110, 0.02) 0%, rgba(201, 169, 97, 0.01) 100%);
}

.infos-prestations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    margin: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 100%);
}

.infos-prestations dt {
    font-weight: 700;
    color: var(--primary-brown);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.2px;
}

.infos-prestations dd {
    color: var(--text-dark);
    font-size: 0.8rem;
    line-height: 1.3;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(122, 155, 110, 0.08) 0%, rgba(201, 169, 97, 0.05) 100%);
    border-radius: 6px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    min-height: 36px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Responsive pour la page prestations */
@media (max-width: 768px) {
    .infos-prestations {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.6rem;
        padding: 0.8rem;
    }

    .infos-prestations dt {
        font-size: 0.75rem;
    }

    .infos-prestations dd {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        min-height: 32px;
    }
}

@media (max-width: 480px) {
    .infos-prestations {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .infos-prestations dt {
        font-size: 0.7rem;
    }

    .infos-prestations dd {
        font-size: 0.7rem;
        padding: 0.4rem;
        min-height: auto;
    }
}
