/* Modal "Obtenir une prestation" - independant des variables du theme
   pour fonctionner sur toutes les pages du site (anciennes et refondues).
   Charte : Inter, navy #071A44, bleu #087AF5, bordures #DCE6F2. */

.presta-swal {
    width: 700px !important;
    max-width: calc(100vw - 32px) !important;
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(7, 26, 68, .25) !important;
}

.presta-swal .swal2-html-container {
    margin: 0 !important;
}

.presta-swal .swal2-close {
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F2;
    border-radius: 50%;
    color: #637083;
    font-size: 18px;
    transition: background .15s ease, color .15s ease;
}

.presta-swal .swal2-close:hover {
    background: #F7FAFE;
    color: #071A44;
}

.presta-modal {
    max-height: 82vh;
    padding: 26px 30px 22px;
    overflow-y: auto;
    text-align: left;
    font-family: "Inter", Arial, sans-serif;
    color: #071A44;
}

.presta-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-right: 34px;
}

.presta-modal__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #087AF5;
    color: #fff;
    font-size: 18px;
}

.presta-modal__title {
    margin: 0 0 4px;
    color: #071A44;
    font-size: 19px;
    font-weight: 800;
}

.presta-modal__desc {
    margin: 0;
    color: #637083;
    font-size: 13px;
    line-height: 1.5;
}

.presta-modal__divider {
    height: 1px;
    margin: 20px 0 16px;
    background: #DCE6F2;
}

.presta-modal__section-label {
    margin: 0 0 12px;
    color: #637083;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.presta-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.presta-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #fff;
    border: 1px solid #DCE6F2;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.presta-card:hover {
    border-color: #087AF5;
    background: #F7FAFE;
    box-shadow: 0 8px 18px rgba(8, 122, 245, .14);
    transform: translateY(-2px);
    text-decoration: none;
}

.presta-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.presta-card__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #EAF3FE;
    color: #087AF5;
    font-size: 16px;
}

.presta-card__arrow {
    color: #087AF5;
    font-size: 13px;
    transition: transform .15s ease;
}

.presta-card:hover .presta-card__arrow {
    transform: translateX(3px);
}

.presta-card__title {
    margin: 0 0 3px;
    color: #071A44;
    font-size: 14.5px;
    font-weight: 800;
}

.presta-card__desc {
    color: #637083;
    font-size: 12.5px;
    line-height: 1.45;
}

.presta-card--highlight {
    background: #EEF6FF;
    border-color: #087AF5;
}

.presta-card--highlight:hover {
    background: #E4F0FE;
}

.presta-card--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.presta-card--wide .presta-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.presta-card--wide .presta-card__arrow {
    flex: none;
}

.presta-modal__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #637083;
    font-size: 12.5px;
}

.presta-modal__footer i {
    color: #087AF5;
}

@media (max-width: 640px) {
    .presta-modal {
        max-height: 80vh;
        padding: 22px 20px 18px;
    }

    .presta-modal__grid {
        grid-template-columns: 1fr;
    }
}
