/* === STYLES EXCLUSIFS DE LA PAGE CHOIX DE RÔLE === */

.text-center {
    text-align: center;
}

.role-selection-section {
    padding: 50px 20px 80px 20px;
}

.role-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark-blue);
    margin-bottom: 10px;
}

.role-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 45px;
}

/* GRILLE DES CARTES */
.role-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 950px;
    margin: 0 auto 40px auto;
}

/* CARTE DE CHOIX */
.role-card {
    background: var(--bg-white);
    border: 3px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    box-shadow: 0 6px 18px rgba(13, 35, 58, 0.08);
    transition: all 0.3s ease;
}

.role-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: 0 12px 25px rgba(232, 97, 20, 0.15);
}

.role-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary-orange);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}

.badge-free {
    background-color: #10B981; /* Vert réassurance gratuit */
}

.role-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.role-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark-blue);
    margin-bottom: 15px;
}

.role-desc {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.role-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.role-benefits li {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark-blue);
    margin-bottom: 8px;
}

/* BOUTONS D'ACTION DES CARTES */
.btn-role {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 10px;
}

.btn-dark-blue {
    background-color: var(--text-dark-blue);
    color: #FFFFFF;
}

.btn-dark-blue:hover {
    background-color: #081726;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark-blue);
}

.btn-outline:hover {
    background-color: var(--bg-page);
}

.back-home-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
}

.back-home-text a {
    color: var(--primary-orange);
    font-weight: 700;
    text-decoration: underline;
}

/* ADAPTATION MOBILE */
@media (max-width: 768px) {
    .role-title {
        font-size: 28px;
    }
    .role-cards-grid {
        grid-template-columns: 1fr;
    }
}