/* Free & Talk – annuaire des thérapeutes et pages de profil */

.ftc-annuaire,
.ftc-profil,
.ftc-choix-therapeute {
	--ftc-accent: var(--wp--preset--color--fuchsia-fonce, #c2357f);
	--ftc-accent-pale: var(--wp--preset--color--fuchsia-pale, #fae7f1);
	--ftc-bleu: var(--wp--preset--color--bleu-fonce, #1e6db0);
	--ftc-bleu-pale: var(--wp--preset--color--bleu-pale, #e8f2fb);
	--ftc-texte: var(--wp--preset--color--encre, #1e2a38);
	--ftc-doux: var(--wp--preset--color--encre-douce, #4a5866);
	--ftc-bord: rgba(30, 42, 56, 0.1);
	color: var(--ftc-texte);
}

/* ---------- Boutons ---------- */

.ftc-th-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.6rem 1.15rem;
	border-radius: 999px;
	border: 2px solid var(--ftc-accent);
	background: var(--ftc-accent);
	color: #fff !important;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ftc-th-bouton:hover,
.ftc-th-bouton:focus-visible {
	background: #a82b6c;
	border-color: #a82b6c;
}

.ftc-th-bouton-contour {
	background: transparent;
	color: var(--ftc-accent) !important;
}

.ftc-th-bouton-contour:hover,
.ftc-th-bouton-contour:focus-visible {
	background: var(--ftc-accent-pale);
	border-color: var(--ftc-accent);
}

.ftc-th-bouton:focus-visible {
	outline: 3px solid var(--ftc-bleu);
	outline-offset: 2px;
}

/* ---------- Filtres ---------- */

.ftc-annuaire {
	max-width: 1200px;
	margin-inline: auto;
}

.ftc-filtres {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem 1rem;
	padding: 1rem 1.25rem;
	margin: 0 0 1rem;
	background: #fff;
	border: 1px solid var(--ftc-bord);
	border-radius: 18px;
	box-shadow: 0 6px 18px rgba(30, 42, 56, 0.06);
}

.ftc-filtres[hidden] {
	display: none;
}

.ftc-filtre {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	flex: 1 1 11rem;
	min-width: 0;
}

.ftc-filtre span {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ftc-doux);
}

.ftc-filtre select {
	font: inherit;
	font-size: 0.95rem;
	width: 100%;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--wp--preset--color--gris, #dadada);
	border-radius: 12px;
	background: #fff;
	color: var(--ftc-texte);
}

.ftc-filtre select:focus-visible {
	outline: 3px solid var(--ftc-bleu-pale);
	border-color: var(--ftc-bleu);
}

.ftc-filtres-effacer {
	font: inherit;
	font-size: 0.9rem;
	padding: 0.55rem 0.9rem;
	border: 0;
	background: none;
	color: var(--ftc-bleu);
	text-decoration: underline;
	cursor: pointer;
}

.ftc-annuaire-compte {
	font-size: 0.95rem;
	color: var(--ftc-doux);
	margin: 0 0 1rem;
}

/* ---------- Cartes ---------- */

.ftc-annuaire-liste {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: 1.25rem;
}

.ftc-th-carte {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.35rem;
	background: #fff;
	border: 1px solid var(--ftc-bord);
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(30, 42, 56, 0.07);
}

.ftc-th-carte[hidden] {
	display: none;
}

.ftc-th-tete {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.ftc-th-photo,
.ftc-profil-photo {
	flex: none;
	border-radius: 50%;
	object-fit: cover;
}

.ftc-th-photo {
	width: 88px;
	height: 88px;
}

.ftc-th-initiales {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--wp--preset--color--fuchsia, #d63f91) 0%, var(--wp--preset--color--bleu, #2989d6) 100%);
	color: #fff;
	font-family: var(--wp--preset--font-family--varela-round, inherit);
	font-size: 1.5rem;
	letter-spacing: 0.04em;
}

.ftc-th-nom {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.3;
}

.ftc-th-nom a {
	color: var(--ftc-texte);
	text-decoration: none;
}

.ftc-th-nom a:hover,
.ftc-th-nom a:focus-visible {
	color: var(--ftc-accent);
	text-decoration: underline;
}

.ftc-th-titre {
	margin: 0.2rem 0 0;
	font-size: 0.9rem;
	color: var(--ftc-accent);
}

.ftc-th-verifie {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin: 0.4rem 0 0;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	background: #e6f4ea;
	color: #1a6b35;
	font-size: 0.8rem;
	font-weight: 600;
}

.ftc-th-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ftc-th-tags li {
	margin: 0;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--ftc-bleu-pale);
	color: var(--ftc-bleu);
	font-size: 0.82rem;
	font-weight: 500;
}

.ftc-th-infos {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	color: var(--ftc-doux);
}

.ftc-th-infos li {
	margin: 0 0 0.25rem;
}

.ftc-th-infos strong {
	color: var(--ftc-texte);
	font-weight: 600;
}

.ftc-th-pied {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid var(--ftc-bord);
}

.ftc-th-prix {
	margin: 0;
	font-weight: 700;
	font-size: 1.05rem;
}

.ftc-th-prix span {
	font-weight: 400;
	color: var(--ftc-doux);
	font-size: 0.9rem;
}

.ftc-th-prix-vide {
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--ftc-doux);
}

.ftc-th-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ftc-annuaire-aucun,
.ftc-annuaire-attente {
	padding: 1.5rem;
	margin: 1rem 0 0;
	text-align: center;
	background: var(--wp--preset--color--gris-clair, #f6f6f8);
	border-radius: 18px;
}

.ftc-annuaire-aucun[hidden] {
	display: none;
}

.ftc-annuaire-aucun p:last-child {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.ftc-annuaire-aide {
	margin: 1.5rem 0 0;
	text-align: center;
	color: var(--ftc-doux);
}

.ftc-annuaire-aide a {
	color: var(--ftc-accent);
	font-weight: 600;
}

/* ---------- Page de profil ---------- */

.ftc-profil {
	max-width: 960px;
	margin-inline: auto;
}

.ftc-profil-entete {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: center;
	padding: clamp(1.25rem, 4vw, 2rem);
	background: #fff;
	border: 1px solid var(--ftc-bord);
	border-radius: 24px;
	box-shadow: 0 10px 30px rgba(30, 42, 56, 0.08);
}

.ftc-profil-photo {
	width: 160px;
	height: 160px;
}

.ftc-profil-identite {
	flex: 1 1 15rem;
	min-width: 0;
}

.ftc-profil-photo.ftc-th-initiales {
	font-size: 2.6rem;
}

.ftc-profil-titre {
	margin: 0;
	color: var(--ftc-accent);
	font-weight: 600;
	font-size: 0.95rem;
}

.ftc-profil-nom {
	margin: 0.2rem 0 0.35rem;
	font-size: clamp(1.75rem, 4vw, 2.4rem);
	line-height: 1.15;
}

.ftc-profil-lieu {
	margin: 0;
	color: var(--ftc-doux);
}

.ftc-profil-resa {
	flex: 1 1 15rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.1rem;
	border-radius: 18px;
	background: var(--ftc-accent-pale);
	text-align: center;
}

.ftc-profil-resa .ftc-th-prix {
	font-size: 1.3rem;
}

.ftc-profil-formats,
.ftc-profil-paiement {
	margin: 0;
	font-size: 0.85rem;
	color: var(--ftc-doux);
}

.ftc-profil-section {
	margin: 2rem 0 0;
}

.ftc-profil-section h2 {
	font-size: 1.35rem;
	margin: 0 0 0.75rem;
}

.ftc-profil-infos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
	gap: 0.75rem;
	margin: 0;
}

.ftc-profil-infos div {
	padding: 0.9rem 1rem;
	border-radius: 14px;
	background: var(--wp--preset--color--gris-clair, #f6f6f8);
}

.ftc-profil-infos dt {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ftc-doux);
}

.ftc-profil-infos dd {
	margin: 0.2rem 0 0;
}

.ftc-profil-fin {
	padding: clamp(1.25rem, 4vw, 2rem);
	border-radius: 20px;
	background: var(--ftc-bleu-pale);
}

.ftc-profil-fin ol {
	padding-left: 1.25rem;
}

.ftc-profil-fin li {
	margin-bottom: 0.4rem;
}

.ftc-profil-retour {
	margin: 2rem 0 0;
}

.ftc-profil-retour a {
	color: var(--ftc-bleu);
	font-weight: 600;
}

.ftc-profil-urgence {
	margin: 1rem 0 0;
	font-size: 0.85rem;
	color: var(--ftc-doux);
}

@media (max-width: 600px) {
	.ftc-profil-entete {
		flex-direction: column;
		text-align: center;
	}

	.ftc-profil-identite {
		flex-basis: auto;
	}

	.ftc-profil-photo {
		width: 128px;
		height: 128px;
	}

	.ftc-profil-resa {
		flex: none;
		width: 100%;
		box-sizing: border-box;
	}
}

/* ---------- Formulaire : thérapeute choisi ---------- */

.ftc-choix-therapeute {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.15rem;
	margin: 0 0 1.25rem;
	border-radius: 16px;
	background: var(--ftc-accent-pale);
}

.ftc-choix-therapeute .ftc-th-photo {
	width: 64px;
	height: 64px;
}

.ftc-choix-therapeute .ftc-th-initiales {
	font-size: 1.15rem;
}

.ftc-choix-therapeute p {
	margin: 0;
}

.ftc-choix-therapeute .ftc-choix-autre {
	font-size: 0.9rem;
	margin-top: 0.25rem;
}

.ftc-choix-therapeute a {
	color: var(--ftc-bleu);
}
