/* =========================================
   DOCUMENT PRESTAPRO
========================================= */

.prestapro-document {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* =========================================
   TITRE
========================================= */

.prestapro-header {
    margin-bottom: 35px;
}

.prestapro-header h1 {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    overflow-wrap: anywhere;
}

/* =========================================
   BOUTONS
========================================= */

.prestapro-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.prestapro-actions .bouton {
    min-width: 180px;
    text-align: center;
}

/* =========================================
   APERÇU PDF
========================================= */

.prestapro-preview {
    width: 100%;
    height: 850px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f5f5f5;
}

.prestapro-preview iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

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

@media (max-width: 991.98px) {
    .prestapro-document {
        padding: 15px;
    }

    .prestapro-preview {
        height: 750px;
    }
}

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

@media (max-width: 767.98px) {
    .prestapro-document {
        padding: 15px 10px;
    }

    .prestapro-header {
        margin-bottom: 25px;
    }

    .prestapro-header h1 {
        font-size: 1.5rem;
    }

    .prestapro-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }

    .prestapro-actions .bouton {
        width: 100%;
        max-width: 320px;
    }

    /* Le lecteur PDF intégré est masqué sur smartphone */
    .prestapro-preview {
        display: none;
    }
}
