/* Single profession page — kinesitherapie-ottignies-page */

.prof-page {
	--prof-color-primary: #702c39;
	--prof-color-heading: #333333;
	--prof-color-heading-dark: #170f49;
	--prof-color-text: #333333;
	--prof-color-muted: #6f6c8f;
	--prof-color-role: #6a7c94;
	--prof-color-bg: #f8f9fb;
	--prof-color-border: #eef0f4;
	--prof-color-border-soft: #d9e5ee;
	--prof-color-white: #fff;
	--prof-radius-lg: 18px;
	--prof-radius-md: 12px;
	--prof-radius-btn: 22px;
	--prof-shadow-btn: 0 10px 12px rgba(112, 44, 57, 0.25);
	--prof-space-section: clamp(48px, 8vw, 100px);
	--prof-container-max: 1220px;
	color: var(--prof-color-text);
	font-family: Montserrat, sans-serif;
	background: var(--prof-color-bg);
}

.prof-page a,
.prof-page a:hover,
.prof-page a:focus,
.prof-page a:active,
.prof-page .prof-btn,
.prof-page .prof-btn:hover,
.prof-page button,
.prof-page button:hover {
	text-decoration: none !important;
}

.prof-container {
	width: min(100%, var(--prof-container-max));
	margin: 0 auto;
	padding-inline: clamp(16px, 3vw, 24px);
	box-sizing: border-box;
}

.prof-section {
	padding-block: var(--prof-space-section);
}

.prof-section__header {
	max-width: 48rem;
	margin: 0 auto clamp(32px, 5vw, 56px);
	text-align: center;
}

.prof-section__title {
	margin: 0 0 16px;
	color: var(--prof-color-heading);
	font-size: clamp(24px, 2.8vw, 32px);
	font-weight: 500;
	line-height: 1.25;
}

.prof-section__subtitle {
	margin: 0 auto;
	max-width: 48rem;
	color: var(--prof-color-muted);
	font-size: clamp(15px, 1.5vw, 16px);
	font-weight: 400;
	line-height: 1.5;
}

/* Hero — fits remaining viewport under fixed header */

.prof-section--hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	min-height: 0;
	height: 100svh;
	/* max-height: 640px; */
	padding-block: clamp(32px, 6vh, 72px);
	background-color: #1a1a1a;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	box-sizing: border-box;
}

.prof-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: none;
}

.prof-hero__inner {
	position: relative;
	z-index: 1;
	align-self: center;
}

.prof-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(16px, 2.5vh, 24px);
	max-width: min(100%, 50rem);
}

.prof-hero__badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 100px;
	background: var(--prof-color-white);
	color: var(--prof-color-primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.21px;
	text-transform: uppercase;
}

.prof-hero__title {
	margin: 0;
	color: var(--prof-color-white);
	font-size: clamp(24px, 3.2vw, 36px);
	font-weight: 500;
	line-height: 1.2;
}

.prof-hero__subtitle {
	margin: 0;
	max-width: 42rem;
	color: var(--prof-color-white);
	font-size: clamp(15px, 1.6vw, 17px);
	font-weight: 400;
	line-height: 1.55;
}

/* Practitioners */

.prof-section--praticiens {
	background: var(--prof-color-white);
}

.prof-praticiens-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(16px, 2.5vw, 24px);
}

.prof-praticien-card {
	display: flex;
	flex-direction: column;
	background: var(--prof-color-white);
	border: 1px solid var(--prof-color-border);
	border-radius: var(--prof-radius-lg);
	overflow: hidden;
	min-width: 0;
}

.prof-praticien-card__image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--prof-color-bg);
}

.prof-praticien-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.prof-praticien-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 12px;
	padding: clamp(18px, 2.5vw, 24px);
	min-width: 0;
}

.prof-praticien-card__name {
	margin: 0;
	color: var(--prof-color-primary);
	font-size: clamp(16px, 1.8vw, 18px);
	font-weight: 700;
	line-height: 1.25;
}

.prof-praticien-card__role {
	margin: 0;
	color: var(--prof-color-role);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}

.prof-praticien-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.prof-praticien-card__tags li {
	padding: 4px 12px;
	border-radius: 100px;
	background: var(--prof-color-bg);
	color: var(--prof-color-muted);
	font-size: 11px;
	font-weight: 500;
}

.prof-praticien-card__desc {
	margin: 0;
	color: var(--prof-color-text);
	font-size: 13px;
	line-height: 1.55;
	flex: 1;
}

.prof-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	color: var(--prof-color-primary) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
}

.prof-link-arrow:hover {
	text-decoration: none !important;
}

.prof-link-arrow__icon {
	display: inline-flex;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
}

.prof-link-arrow__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Pathologies / spécialités */

.prof-section--pathologies {
	background: var(--prof-color-bg);
}

.prof-pathologies-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(16px, 2.5vw, 24px);
}

.prof-pathologie-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(12px, 2vw, 16px);
	min-width: 0;
	padding: clamp(22px, 3vw, 28px);
	border: 1px solid var(--prof-color-border-soft);
	border-radius: var(--prof-radius-lg);
	background: var(--prof-color-white);
	box-sizing: border-box;
	cursor: pointer;
}

.prof-pathologie-card:hover {
	border-color: var(--prof-color-primary);
}

.prof-pathologie-card__icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: var(--prof-radius-md);
	overflow: hidden;
	background: var(--prof-color-white);
}

.prof-pathologie-card__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.prof-pathologie-card__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex: 1;
	min-width: 0;
	width: 100%;
}

.prof-pathologie-card__title {
	margin: 0;
	color: var(--prof-color-heading-dark);
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 500;
	line-height: 1.25;
}

.prof-pathologie-card__excerpt {
	margin: 0;
	color: var(--prof-color-text);
	font-size: clamp(12px, 1.3vw, 13px);
	line-height: 1.55;
	flex: 1;
}

.prof-pathologie-card__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	color: var(--prof-color-primary) !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
}

.prof-pathologie-card__link:hover {
	text-decoration: none !important;
}

.prof-pathologie-card__chevron {
	position: relative;
	display: inline-block;
	width: 12px;
	height: 12px;
}

.prof-pathologie-card__chevron::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translate(-60%, -50%) rotate(-45deg);
}

/* First session — full-bleed image, text aligned to page grid */

.prof-section--session {
	background: var(--prof-color-white);
	padding-block: 0;
}

.prof-session {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	width: 100%;
	min-height: 0;
}

.prof-session__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: clamp(16px, 2.5vw, 24px);
	min-width: 0;
	box-sizing: border-box;
	padding-block: clamp(48px, 6vw, 64px);
	padding-inline: 16px;
}

.prof-session__title {
	margin: 0;
	color: var(--prof-color-heading-dark);
	font-size: clamp(24px, 2.8vw, 32px);
	font-weight: 500;
	line-height: 1.25;
}

.prof-session__intro {
	margin: 0;
	max-width: none;
	color: var(--prof-color-text);
	font-size: clamp(15px, 1.5vw, 16px);
	line-height: 1.6;
}

.prof-session__box {
	width: 100%;
	max-width: none;
	padding: clamp(14px, 2vw, 18px);
	border-radius: var(--prof-radius-md);
	background: var(--prof-color-bg);
	box-sizing: border-box;
}

.prof-session__box-title {
	margin: 0 0 8px;
	color: var(--prof-color-primary);
	font-size: clamp(14px, 1.4vw, 15px);
	font-weight: 700;
	line-height: 1.35;
}

.prof-session__box-text {
	margin: 0;
	color: var(--prof-color-muted);
	font-size: clamp(13px, 1.3vw, 14px);
	line-height: 1.55;
}

.prof-session__media {
	min-width: 0;
	overflow: hidden;
	border-radius: 0;
	aspect-ratio: 16 / 10;
	background: var(--prof-color-bg);
}

.prof-session__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Buttons */

.prof-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border: 0;
	border-radius: var(--prof-radius-btn);
	background: var(--prof-color-primary);
	color: var(--prof-color-white) !important;
	font-family: inherit;
	font-size: clamp(13px, 1.3vw, 15px);
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: var(--prof-shadow-btn);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	white-space: normal;
	text-align: center;
}

.prof-btn:hover {
	background: #641423;
	transform: translateY(-1px);
	box-shadow: 0 14px 20px rgba(112, 44, 57, 0.3);
}

.prof-btn__arrow {
	font-size: 1em;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
}

/* Recruitment banner */

.prof-section--recruitment {
	background: var(--prof-color-bg);
}

.prof-recruitment {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(20px, 3vw, 40px);
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--prof-color-border);
	border-radius: var(--prof-radius-lg);
	background: var(--prof-color-white);
	box-sizing: border-box;
}

.prof-recruitment__title {
	margin: 0 0 8px;
	color: var(--prof-color-primary);
	font-size: clamp(18px, 2vw, 20px);
	font-weight: 700;
	line-height: 1.3;
}

.prof-recruitment__text {
	margin: 0;
	color: var(--prof-color-text);
	font-size: clamp(15px, 1.5vw, 16px);
	line-height: 1.5;
}

/* Responsive */

@media screen and (min-width: 640px) {
	.prof-praticiens-grid,
	.prof-pathologies-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (min-width: 900px) {
	.prof-praticiens-grid,
	.prof-pathologies-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.prof-session {
		grid-template-columns: minmax(0, 1.17fr) minmax(280px, 1fr);
		gap: 0;
		min-height: 600px;
	}

	.prof-session__content {
		padding-left: max(16px, calc((100vw - var(--prof-container-max)) / 2));
		padding-right: clamp(40px, 5vw, 80px);
	}

	.prof-session__media {
		aspect-ratio: auto;
		height: 100%;
		min-height: 600px;
	}

	.prof-recruitment {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.prof-recruitment__content {
		flex: 1 1 auto;
		min-width: 0;
	}

	.prof-recruitment .prof-btn {
		flex: 0 0 auto;
	}
}

@media screen and (max-width: 767px) {
	.prof-section--hero {
		margin-top: 0;
		height: 100svh;
		/* max-height: 520px; */
	}

	.prof-btn {
		letter-spacing: 0.8px;
	}
}

@media screen and (max-height: 700px) {
	.prof-section--hero {
		height: auto;
		max-height: none;
		min-height: 0;
		padding-block: 40px;
	}
}

/* Carousel praticiens — align with Figma Prac-Card */

.prof-page .carousel-card {
	border: 1px solid var(--prof-color-border);
	border-radius: var(--prof-radius-lg);
	box-shadow: none;
}

.prof-page .carousel-card p {
	margin: 0;
	padding: 0 24px;
	color: var(--prof-color-primary);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.prof-page .carousel-card > p:first-of-type {
	margin-top: 24px;
}

.prof-page .carousel-card .p-prof {
	margin-top: 12px;
	padding: 0 24px;
	color: var(--prof-color-role);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}

.prof-page .carousel-card .p-excerpt {
	margin-top: 12px;
	padding: 0 24px;
	color: var(--prof-color-text);
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0;
}

.prof-page .specialites-bubbles {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0 24px;
	box-sizing: border-box;
}

.prof-page .specialite-bubble {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 4px 12px;
	border-radius: 100px;
	background: var(--prof-color-bg);
	color: var(--prof-color-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
}

.prof-page .container-arrow {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	margin-top: auto;
	padding: 8px 24px 24px;
	box-sizing: border-box;
}

.prof-page .btn-rdv-card,
.prof-page a.btn-rdv-card {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: var(--prof-color-primary) !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	box-shadow: none;
	position: relative;
	z-index: 2;
}

.prof-page .btn-rdv-card::after {
	content: "→";
	font-size: 14px;
	line-height: 1;
}

.prof-page .btn-rdv-card:hover,
.prof-page a.btn-rdv-card:hover {
	background: transparent !important;
	color: var(--prof-color-primary) !important;
	text-decoration: none !important;
}
