/*
 * Centre Beaba – Thérapeutes
 * Reprend à l'identique le rendu des anciennes sections Elementor (grille)
 * et des popups Elementor Pro (fiche).
 */

/* ---------- Grille ---------- */

.bt-grid a {
	color: inherit;
	text-decoration: none;
}

.bt-grid a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.bt-row {
	background: #68a0a7;
	margin-top: 5px;
}

.bt-row:first-child {
	margin-top: 26px;
}

.bt-row__inner {
	display: flex;
	align-items: center;
	max-width: 1140px;
	margin: 0 auto;
}

.bt-row__col--metier { width: 55.964%; }
.bt-row__col--photo  { width: 12.945%; }
.bt-row__col--nom    { width: 30.019%; }

.bt-row__metier,
.bt-row__nom {
	margin: 0;
	padding: 0;
	line-height: 1;
	color: #fff;
}

.bt-row__metier {
	font-family: "Antic Didone", sans-serif;
	font-size: 29px;
	font-weight: 100;
	text-transform: uppercase;
	text-align: right;
}

.bt-row__metier p {
	margin: 0 0 .9rem;
}

.bt-row__nom {
	font-family: "DM Sans", sans-serif;
	font-size: 20px;
	font-weight: 100;
	letter-spacing: 2.9px;
}

.bt-row__col--photo a {
	display: block;
}

.bt-row__img {
	display: block;
	width: 50%;
	height: auto;
	max-width: 100%;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.bt-row {
		padding: 13px;
	}

	.bt-row__inner {
		display: block;
	}

	.bt-row__col--metier,
	.bt-row__col--photo,
	.bt-row__col--nom {
		width: 100%;
	}

	.bt-row__metier,
	.bt-row__nom {
		text-align: center;
	}

	.bt-row__img {
		width: 35%;
	}
}

/* ---------- Fiche (popup) ---------- */

html.bt-lock {
	overflow: hidden;
}

.bt-pop {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 20px;
	border: 0;
	background: transparent;
	overflow-y: auto;
	box-sizing: border-box;
}

.bt-pop[open] {
	display: flex;
}

.bt-pop::backdrop {
	background: #68a0a7c9;
}

.bt-pop__box {
	position: relative;
	display: flex;
	width: min(1200px, 100%);
	margin: auto;
	box-sizing: border-box;
	background: #fffef9 var(--bt-bg, none) no-repeat 87.3% -74px / 25% auto;
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 12px;
	line-height: 18px;
	animation: bt-fade 1.25s;
}

@keyframes bt-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Sélecteurs renforcés : le thème colore tous les <button> en rose. */
.bt-pop .bt-pop__close,
.bt-pop .bt-pop__close:hover,
.bt-pop .bt-pop__close:focus {
	position: absolute;
	top: -72px;
	right: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 61px;
	font-weight: 100;
	line-height: 1;
	cursor: pointer;
}

.bt-pop__col {
	width: 33.333%;
	box-sizing: border-box;
	padding: 10px;
}

.bt-pop__col--texte,
.bt-pop__col--infos {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.bt-pop__img {
	display: block;
	width: 100%;
	height: auto;
}

.bt-pop__nom {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
}

.bt-pop__titre {
	margin: 0 0 19px;
	padding: 0;
	color: #68a0a7;
	font-family: "Antic Didone", sans-serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.bt-pop__texte {
	font-size: 14px;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: -.9px;
}

.bt-pop__texte p {
	margin: 0 0 .9rem;
}

.bt-pop__col--infos {
	padding: 0 28px 0 0;
	text-align: right;
}

.bt-pop__label {
	margin: 0;
	padding: 0;
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 29px;
	text-transform: uppercase;
}

.bt-pop__value {
	margin: 0 0 24px;
	font-size: 13px;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: 1.1px;
}

.bt-pop__value--rdv {
	margin-bottom: 0;
	color: #68a0a7;
}

.bt-pop__social {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
	margin-top: 30px;
	padding: 10px 0;
}

.bt-pop__social img {
	display: block;
	width: 31px;
	height: auto;
}

@media (max-width: 767px) {
	.bt-pop {
		padding: 0;
	}

	.bt-pop__box {
		display: block;
		width: 100%;
		min-height: 100%;
	}

	.bt-pop .bt-pop__close,
	.bt-pop .bt-pop__close:hover,
	.bt-pop .bt-pop__close:focus {
		top: 14px;
		right: 7.2%;
	}

	.bt-pop__col {
		width: 100%;
	}

	.bt-pop__col--texte {
		padding: 9px 27px 0 25px;
	}

	.bt-pop__col--infos {
		padding: 0 28px 0 0;
	}

	.bt-pop__social {
		justify-content: flex-start;
		gap: 0;
	}

	.bt-pop__social a {
		width: 50%;
		text-align: center;
	}

	.bt-pop__social img {
		display: inline-block;
		width: 49px;
	}
}
