/* Tiakeda Opportunités : cartes, bandeau, fiche. Fonctionne avec n'importe quel thème. */
.tk-opp-grille {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin: 0 0 24px;
}
.tk-opp-carte {
	background: #fff;
	border: 1px solid #E3E1DD;
	border-radius: 4px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}
.tk-opp-carte__haut {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.tk-opp-type {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #5E5A55;
}
.tk-opp-carte__titre {
	margin: 0;
	font-size: 19px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -.01em;
}
.tk-opp-carte__titre a { color: #1C1B1A; text-decoration: none; }
.tk-opp-carte__titre a:hover { color: #B00000; }

.tk-badge {
	display: inline-block;
	font-weight: 800;
	font-size: 13px;
	line-height: 1.3;
	padding: 3px 8px;
	border-radius: 3px;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	background: #ECEAE6;
	color: #1C1B1A;
}
.tk-badge--urgent { background: #B00000; color: #fff; }
.tk-badge--bientot { background: #F1DCDC; color: #1C1B1A; }
.tk-badge--close { background: #E3E1DD; color: #5E5A55; }

.tk-opp-infos {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 12px;
	font-size: 14px;
	line-height: 1.45;
}
.tk-opp-infos dt { color: #5E5A55; margin: 0; }
.tk-opp-infos dd { margin: 0; min-width: 0; }
.tk-opp-infos .tk-fort { font-weight: 600; }

.tk-opp-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: auto;
}
.tk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 10px 14px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none !important;
	box-sizing: border-box;
}
.tk-btn--plein { flex: 1 1 auto; background: #1C1B1A; color: #fff !important; border: 1px solid #1C1B1A; }
.tk-btn--plein:hover { background: #B00000; border-color: #B00000; }
.tk-btn--contour { background: #fff; color: #1C1B1A !important; border: 1px solid #CFCBC5; }
.tk-btn--contour:hover { border-color: #1C1B1A; }

.tk-opp-vide {
	padding: 24px;
	background: #F6F5F3;
	border-radius: 4px;
	color: #3D3A36;
}

/* Filtres */
.tk-filtres {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 14px;
	font-weight: 600;
}
.tk-filtres a {
	padding: 9px 14px;
	border: 1px solid #CFCBC5;
	border-radius: 20px;
	background: #fff;
	color: #1C1B1A;
	text-decoration: none;
}
.tk-filtres a:hover { border-color: #1C1B1A; }
.tk-filtres a.est-actif { background: #1C1B1A; border-color: #1C1B1A; color: #fff; }

/* Bandeau « Dernière chance » */
.tk-bandeau { background: #B00000; color: #fff; }
.tk-bandeau__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 10px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
}
.tk-bandeau__label {
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.tk-bandeau a { color: #fff; text-decoration: underline; font-weight: 600; }
.tk-bandeau a:hover { color: #fff; text-decoration: none; }

/* Fiche détaillée */
.tk-fiche {
	border: 1px solid #E3E1DD;
	border-top: 4px solid #B00000;
	border-radius: 4px;
	padding: 22px;
	margin: 0 0 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: #F6F5F3;
}
.tk-fiche--close { border-top-color: #CFCBC5; }
.tk-fiche__haut { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tk-fiche__alerte { margin: 0; font-weight: 600; }
.tk-opp-infos--fiche { font-size: 16px; gap: 8px 20px; }
.tk-fiche .tk-opp-actions, .tk-fiche-bas .tk-opp-actions { margin-top: 0; }
.tk-fiche-bas { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #E3E1DD; }

/* Page liste */
.tk-opp-page__tete { display: flex; flex-direction: column; gap: 12px; margin: 0 0 28px; }
.tk-opp-page__titre { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }
.tk-opp-page__intro { margin: 0; color: #3D3A36; max-width: 60ch; }
.tk-point { color: #B00000; }

@media (max-width: 600px) {
	.tk-bandeau__inner { padding: 10px 16px; }
	.tk-opp-carte { padding: 16px; }
}
