/* =========================================
   PAGE PRESTATIONS PROFESSIONNELLES
========================================= */

.prestapro-page {
    width: 100%;
    padding: 50px 20px 80px;
}

/* =========================================
   EN-TÊTE
========================================= */

.prestapro-list-header {
    max-width: 900px;
    margin: 0 auto 60px;
}

.prestapro-list-header h1 {
    margin-bottom: 25px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
}

.prestapro-list-header p {
    color: #666;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* =========================================
   GRILLE DES DOCUMENTS
========================================= */

.prestapro-list-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.prestapro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* =========================================
   CARTES
========================================= */

.prestapro-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.prestapro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* =========================================
   IMAGE
========================================= */

.prestapro-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px;
    padding: 20px;
    background: #f8f7f4;
}

.prestapro-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================
   CONTENU CARTE
========================================= */

.prestapro-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
    text-align: center;
}

.prestapro-card-body h2 {
    flex: 1;
    margin-bottom: 25px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

/* =========================================
   BOUTON
========================================= */

.prestapro-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    color: #fff;
    background: rgb(155, 187, 148);
    border: 2px solid rgb(155, 187, 148);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.prestapro-card-button:hover {
    color: #557b50;
    background: #fff;
    border-color: rgb(155, 187, 148);
}

.prestapro-card-button span {
    font-size: 1.2rem;
}

/* =========================================
   AUCUN DOCUMENT
========================================= */

.prestapro-empty {
    grid-column: 1 / -1;
    padding: 40px 20px;
    color: #777;
    text-align: center;
    font-size: 1.1rem;
}

/* =========================================
   PRÉSENTATION
========================================= */

.prestapro-presentation {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 50px;
    background: #f8f7f4;
    border-radius: 20px;
}

.prestapro-presentation-content {
    width: 100%;
}

.prestapro-subtitle {
    display: block;
    margin-bottom: 15px;
    color: #789474;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.prestapro-presentation h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
}

.prestapro-separator {
    width: 60px;
    height: 4px;
    margin: 20px auto 0;
    background: rgb(155, 187, 148);
    border-radius: 5px;
}

/* =========================================
   TEXTE
========================================= */

.prestapro-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
}

.prestapro-text p {
    margin-bottom: 22px;
}

/* =========================================
   VIDÉO
========================================= */

.prestapro-video {
    margin-top: 50px;
    text-align: center;
}

.prestapro-video a {
    position: relative;
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.prestapro-video img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.prestapro-video a:hover img {
    transform: scale(1.04);
}

.prestapro-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    color: #fff;
    background: rgba(155, 187, 148, 0.9);
    border-radius: 50%;
    font-size: 1.8rem;
    transform: translate(-50%, -50%);
    transition: background 0.2s ease;
}

.prestapro-video a:hover .prestapro-video-overlay {
    background: rgba(100, 140, 95, 0.95);
}

.prestapro-video p {
    margin-top: 20px;
    color: #555;
    font-weight: 600;
}

/* =========================================
   TABLETTES
========================================= */

@media (max-width: 991.98px) {
    .prestapro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .prestapro-presentation {
        padding: 45px 30px;
    }
}

/* =========================================
   SMARTPHONES
========================================= */

@media (max-width: 575.98px) {
    .prestapro-page {
        padding: 35px 15px 50px;
    }

    .prestapro-list-header {
        margin-bottom: 40px;
    }

    .prestapro-list-header p {
        font-size: 1rem;
    }

    .prestapro-list-section {
        margin-bottom: 50px;
    }

    .prestapro-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .prestapro-card {
        max-width: 380px;
        width: 100%;
        margin: 0 auto;
    }

    .prestapro-card-image {
        height: 210px;
    }

    .prestapro-card-body {
        padding: 22px;
    }

    .prestapro-presentation {
        padding: 35px 20px;
        border-radius: 14px;
    }

    .prestapro-text {
        font-size: 1rem;
        text-align: left;
        line-height: 1.8;
    }

    .prestapro-video {
        margin-top: 35px;
    }

    .prestapro-video-overlay {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}
