
/* Cartes Tarifs */
.tarif-card {
    background: var(--rs-white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.tarif-card-header {
    background: var(--rs-theme-blue);
    padding: 25px 15px;
    text-align: center;
    color: var(--rs-white);
}

.tarif-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarif-icon svg {
    stroke: var(--rs-white);
}

.tarif-icon img {
    max-width: 36px;
    max-height: 36px;
    filter: brightness(0) invert(1);
}

.tarif-title {
    font-family: var(--rs-ff-title);
    font-size: 22px;
    font-weight: var(--rs-fw-bold);
    margin-bottom: 5px;
    color: var(--rs-white);
}

.tarif-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.tarif-card-body {
    padding: 20px 15px;
}

/* Blocs Régimes - Style pour le contenu SPIP */
.tarif-card-body h5 {
    font-family: var(--rs-ff-title);
    font-size: 16px;
    font-weight: var(--rs-fw-sbold);
    color: var(--rs-title-primary);
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid var(--rs-theme-blue);
}

.tarif-card-body ul {
    background: var(--rs-bg-primary);
    padding: 12px;
    border-radius: 6px;
    list-style: none;
    margin-bottom: 20px;
}

.tarif-card-body ul:last-child {
    margin-bottom: 0;
}

.tarif-card-body li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--rs-border-primary);
    font-size: 14px;
}

.tarif-card-body li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tarif-card-body li strong {
    font-weight: var(--rs-fw-bold);
    color: var(--rs-theme-blue);
    font-size: 15px;
}

.tarif-card-body p {
    margin-bottom: 20px;
}

.tarif-card-body p:last-child {
    margin-bottom: 0;
}

/* Informations complémentaires */
.info-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--rs-bg-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.info-box:hover {
    background: var(--rs-theme-blue);
    color: var(--rs-white);
    transform: translateY(-3px);
}

.info-box:hover .info-icon i {
    color: var(--rs-white);
}

.info-box:hover h5,
.info-box:hover p {
    color: var(--rs-white);
}

.info-icon {
    margin-bottom: 15px;
}

.info-icon i {
    font-size: 2.5rem;
    color: var(--rs-theme-blue);
    transition: color 0.3s ease;
}

.info-box h5 {
    font-family: var(--rs-ff-title);
    font-size: var(--rs-fs-h6);
    font-weight: var(--rs-fw-sbold);
    color: var(--rs-title-primary);
    margin-bottom: 10px;
}

.info-box p {
    font-size: 14px;
    color: var(--rs-text-secondary);
    margin: 0 0 10px 0;
    line-height: 1.6;
}

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

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.info-box ul li {
    font-size: 14px;
    color: var(--rs-text-secondary);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.info-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--rs-theme-blue);
    font-weight: bold;
    transition: color 0.3s ease;
}

.info-box:hover ul li {
    color: var(--rs-white);
}

.info-box:hover ul li:before {
    color: var(--rs-theme-yellow);
}

.info-box strong {
    font-weight: var(--rs-fw-bold);
    color: var(--rs-theme-blue);
    transition: color 0.3s ease;
}

.info-box:hover strong {
    color: var(--rs-theme-yellow);
}

.info-box em {
    font-style: italic;
    opacity: 0.9;
}

/* Bannière Contact */
.contact-banner {
    background: var(--rs-theme-blue);
    padding: 30px;
    border-radius: 10px;
}

.contact-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--rs-white);
}

.contact-banner-content > i {
    font-size: 3rem;
    opacity: 0.9;
}

.contact-text h4 {
    font-family: var(--rs-ff-title);
    font-size: 22px;
    font-weight: var(--rs-fw-sbold);
    margin-bottom: 8px;
    color: var(--rs-white);
}

.contact-text p {
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
}

.contact-text strong {
    color: var(--rs-theme-yellow);
}

/* Responsive */
@media (max-width: 991px) {
    .tarif-card-header {
        padding: 25px 15px;
    }

    .tarif-title {
        font-size: 20px;
    }

    .tarif-card-body {
        padding: 20px 15px;
    }

    .tarif-card-body li {
        font-size: 13px;
    }

    .tarif-card-body li strong {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .tarif-card-header {
        padding: 30px 20px;
    }

    .tarif-icon {
        width: 70px;
        height: 70px;
    }

    .tarif-icon svg {
        width: 40px;
        height: 40px;
    }

    .tarif-title {
        font-size: 24px;
    }

    .tarif-card-body {
        padding: 25px;
    }

    .tarif-card-body h5 {
        font-size: 18px;
    }

    .tarif-card-body li {
        font-size: 14px;
    }

    .tarif-card-body li strong {
        font-size: 15px;
    }

    .contact-banner-content {
        flex-direction: column;
        text-align: center;
    }
}
