/* =============================================================================
   Panneau "Trouvez votre avocat" — sidebar home + colonne catégorie
   @doc docs/sidebar-lawyers-panel.md
   ============================================================================= */

/* --- Conteneur principal --- */

.drz-lawyers-panel {
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 8px;
	overflow: hidden;
	font-size: 0.88rem;
	line-height: 1.45;
	box-shadow: 0 2px 12px rgba(0,0,0,.05);
	margin-bottom: 1.5rem;
}

/* --- En-tête --- */

.drz-lawyers-panel__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1rem 0.85rem;
	background: linear-gradient(135deg, #e63946 0%, #c62f3b 100%);
	color: #fff;
}

.drz-lawyers-panel__icon {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	background: rgba(255,255,255,.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}

.drz-lawyers-panel__title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.15rem;
	color: #fff;
	line-height: 1.25;
}

.drz-lawyers-panel__subtitle {
	font-size: 0.75rem;
	opacity: 0.85;
	margin: 0;
}

/* --- Liste des avocats --- */

.drz-lawyers-panel__list {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
}

/* --- Carte avocat --- */

.drz-lawyer-card {
	position: relative;
	padding: 0.65rem 1rem;
	border-bottom: 1px solid #f2f2f2;
	transition: background 0.18s;
}

.drz-lawyer-card:last-child {
	border-bottom: none;
}

.drz-lawyer-card:hover {
	background: #fafafa;
}

/* Sponsor : accent gauche */
.drz-lawyer-card--sponsor {
	border-left: 3px solid #e63946;
	padding-left: calc(1rem - 3px);
}

/* Badge sponsor */
.drz-lawyer-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #e63946;
	margin-bottom: 0.4rem;
}

.drz-lawyer-card__badge .fas {
	font-size: 0.6rem;
}

.drz-lawyer-card__inner {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

/* Avatar */
.drz-lawyer-card__avatar {
	flex-shrink: 0;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	overflow: hidden;
	background: #e8e8e8;
	display: flex;
	align-items: center;
	justify-content: center;
}

.drz-lawyer-card__avatar--sponsor {
	background: linear-gradient(135deg, #e63946, #c62f3b);
}

.drz-lawyer-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.drz-lawyer-card__initials {
	font-size: 0.82rem;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

/* Infos */
.drz-lawyer-card__info {
	flex: 1;
	min-width: 0;
}

.drz-lawyer-card__name {
	display: block;
	font-weight: 700;
	font-size: 0.88rem;
	color: #1a1a1a;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 0.1rem;
}

.drz-lawyer-card__name:hover {
	color: #e63946;
}

.drz-lawyer-card__profession,
.drz-lawyer-card__cabinet {
	display: block;
	color: #555;
	font-size: 0.78rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.drz-lawyer-card__location {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	color: #777;
	font-size: 0.76rem;
	margin-top: 0.15rem;
}

.drz-lawyer-card__location .fas {
	font-size: 0.65rem;
	color: #e63946;
}

.drz-lawyer-card__dept {
	color: #999;
}

/* Bouton "Voir le profil" */
.drz-lawyer-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0.5rem;
	font-size: 0.76rem;
	font-weight: 600;
	color: #e63946;
	text-decoration: none;
	transition: gap 0.15s;
}

.drz-lawyer-card__cta:hover {
	gap: 0.5rem;
}

.drz-lawyer-card__cta .fas {
	font-size: 0.65rem;
	transition: transform 0.15s;
}

.drz-lawyer-card__cta:hover .fas {
	transform: translateX(3px);
}

/* --- Lien "Voir tous les avocats" --- */

.drz-lawyers-panel__all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.65rem 1rem;
	background: #f7f7f7;
	color: #333;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	border-top: 1px solid #ebebeb;
	transition: background 0.18s, color 0.18s;
}

.drz-lawyers-panel__all:hover {
	background: #e63946;
	color: #fff;
}

.drz-lawyers-panel__all .fas {
	font-size: 0.7rem;
	transition: transform 0.15s;
}

.drz-lawyers-panel__all:hover .fas {
	transform: translateX(4px);
}

/* --- CTA professionnels --- */

.drz-lawyers-panel__pro-cta {
	padding: 1rem;
	background: #f9f4f5;
	border-top: 1px solid #f0e0e2;
}

.drz-lawyers-panel__pro-cta-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.85rem;
}

.drz-lawyers-panel__pro-cta-header .fas {
	color: #e63946;
	font-size: 0.85rem;
}

.drz-lawyers-panel__pro-cta-header strong {
	color: #1a1a1a;
}

.drz-lawyers-panel__pro-cta-pitch {
	font-size: 0.8rem;
	color: #444;
	margin: 0 0 0.65rem;
	line-height: 1.4;
}

.drz-lawyers-panel__pro-benefits {
	list-style: none;
	padding: 0;
	margin: 0 0 0.75rem;
}

.drz-lawyers-panel__pro-benefits li {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	font-size: 0.78rem;
	color: #333;
	margin-bottom: 0.3rem;
}

.drz-lawyers-panel__pro-benefits li .fa-check {
	color: #2d8a4e;
	font-size: 0.7rem;
	margin-top: 0.15rem;
	flex-shrink: 0;
}

.drz-lawyers-panel__pro-benefits li .fa-star {
	color: #e63946;
	font-size: 0.7rem;
	margin-top: 0.15rem;
	flex-shrink: 0;
}

.drz-lawyers-panel__pro-btn {
	display: block;
	text-align: center;
	padding: 0.6rem 1rem;
	background: #e63946;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.18s;
	cursor: pointer;
}

.drz-lawyers-panel__pro-btn:hover {
	background: #c62f3b;
	color: #fff;
}

.drz-lawyers-panel__pro-note {
	text-align: center;
	font-size: 0.7rem;
	color: #888;
	margin: 0.4rem 0 0;
}

/* --- Intégration dans la sidebar native Thevoux (archive pages) ---
   L'aside.sidebar contient un .sidebar_inner.fixed-me qui gère le sticky.
   On surcharge uniquement le padding et le margin du conteneur. */

.sidebar .sidebar_inner .drz-lawyers-panel {
	margin-top: 0;
}

/* --- Responsive compact --- */

@media screen and (max-width: 640px) {
	.drz-lawyers-panel {
		margin-left: -0.5rem;
		margin-right: -0.5rem;
		border-radius: 0;
		border-left: none;
		border-right: none;
	}
}
