/* Single pathologie page — drainage-lymphatique / pathologie layout */

.path-page {
	--path-color-primary: #702c39;
	--path-color-heading: #170f49;
	--path-color-text: #2c2930;
	--path-color-muted: #6f6c8f;
	--path-color-muted-soft: #6b6770;
	--path-color-bg: #fdfcfb;
	--path-color-bg-soft: #f3f1f0;
	--path-color-border: #eef0f4;
	--path-color-border-card: #e6e6e6;
	--path-color-white: #fff;
	--path-radius-lg: 18px;
	--path-radius-md: 12px;
	--path-radius-btn: 30px;
	--path-shadow-card: 0 16px 32px rgba(25, 33, 61, 0.04);
	--path-shadow-btn: 0 10px 24px -8px rgba(112, 44, 57, 0.25);
	--path-space-section: clamp(48px, 8vw, 120px);
	color: var(--path-color-text);
	font-family: Montserrat, sans-serif;
	background: var(--path-color-bg);
}

.path-container {
	/* Figma: 1512px canvas − 100px gutters → 1312px content */
	width: min(100%, 1312px);
	margin: 0 auto;
	padding-inline: clamp(16px, 3vw, 24px);
	box-sizing: border-box;
}

.path-section {
	padding-block: var(--path-space-section);
}

.path-section__header {
	margin-bottom: clamp(32px, 5vw, 64px);
}

.path-section__header--left {
	text-align: left;
	max-width: 44rem;
}

.path-section__header--center {
	text-align: center;
	max-width: 48rem;
	margin-inline: auto;
	margin-bottom: clamp(32px, 5vw, 48px);
}

.path-section__title {
	margin: 0 0 16px;
	color: var(--path-color-heading);
	font-size: clamp(24px, 2.8vw, 32px);
	font-weight: 500;
	line-height: 1.3;
}

.path-section__subtitle {
	margin: 0;
	color: var(--path-color-muted);
	font-size: clamp(15px, 1.6vw, 18px);
	font-weight: 400;
	line-height: 1.55;
}

/* Hero — Figma node 1994:108 / Hero Content Overlay 1994:110
   Fixed header overlays the hero; card starts at ~200px like Figma. */

.path-section--hero {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-top: 0;
	min-height: clamp(560px, 100svh, 900px);
	height: auto;
	padding-top: clamp(160px, 22vh, 200px);
	padding-bottom: clamp(48px, 7vh, 80px);
	background-color: #1a1a1a;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	box-sizing: border-box;
}

.path-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.path-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: flex-start;
	align-self: flex-start;
}

.path-hero__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
	width: min(100%, 620px);
	margin: 0;
	padding: 64px;
	border-radius: var(--path-radius-lg);
	background: rgba(255, 255, 255, 0.95);
	box-shadow: var(--path-shadow-card);
	box-sizing: border-box;
}

.path-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.path-hero__badge-line {
	display: block;
	width: 24px;
	height: 1.5px;
	background: var(--path-color-primary);
	flex: 0 0 auto;
}

.path-hero__badge-text {
	color: var(--path-color-primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.95px;
	text-transform: uppercase;
}

.path-hero__title {
	margin: 0;
	color: var(--path-color-heading);
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 500;
	line-height: 1.3;
}

.path-hero__divider {
	width: 100%;
	margin: 0;
	border: 0;
	border-top: 1px solid #eef0f4;
}

.path-hero__subtitle {
	margin: 0;
	color: var(--path-color-text);
	font-size: clamp(15px, 1.5vw, 16px);
	font-weight: 400;
	line-height: 1.75;
}

/* Buttons */

.path-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 32px;
	border: 0;
	border-radius: var(--path-radius-btn);
	background: var(--path-color-primary);
	color: var(--path-color-white) !important;
	font-family: inherit;
	font-size: clamp(13px, 1.3vw, 14px);
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--path-shadow-btn);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.path-btn:hover {
	background: #641423;
	transform: translateY(-1px);
	box-shadow: 0 14px 20px rgba(112, 44, 57, 0.3);
}

.path-btn__arrow {
	font-size: 1em;
	line-height: 1;
	letter-spacing: 0;
}

/* Section 1 — causes / 2 cards */

.path-section--causes {
	background: var(--path-color-white);
	border-block: 1px solid var(--path-color-border);
}

.path-cards-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(16px, 3vw, 48px);
}

.path-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(12px, 2vw, 20px);
	min-width: 0;
	padding: clamp(24px, 3.5vw, 40px) clamp(20px, 3vw, 32px);
	border: 1px solid var(--path-color-border-card);
	border-radius: var(--path-radius-lg);
	background: var(--path-color-white);
	box-sizing: border-box;
}

.path-card__title {
	margin: 0;
	color: var(--path-color-heading);
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 500;
	line-height: 1.3;
}

.path-card__text {
	margin: 0;
	color: var(--path-color-text);
	font-size: clamp(14px, 1.4vw, 15px);
	line-height: 1.6;
}

/* Section 2 — approach */

.path-section--approach {
	background: var(--path-color-bg);
}

.path-approach__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
	margin-bottom: clamp(32px, 5vw, 80px);
}

.path-approach__intro,
.path-approach__item {
	min-width: 0;
}

.path-approach__intro .path-section__title {
	margin-bottom: 16px;
}

.path-approach__intro .path-section__subtitle {
	color: var(--path-color-muted-soft);
	font-size: clamp(15px, 1.5vw, 16px);
	line-height: 1.6;
}

.path-approach__item-title {
	margin: 0 0 10px;
	color: var(--path-color-heading);
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 500;
	line-height: 1.3;
}

.path-approach__item-text {
	margin: 0;
	color: var(--path-color-text);
	font-size: clamp(14px, 1.4vw, 15px);
	line-height: 1.6;
}

.path-approach__media {
	width: 100%;
	overflow: hidden;
	border-radius: var(--path-radius-lg);
	aspect-ratio: 16 / 7;
	background: var(--path-color-bg-soft);
}

.path-approach__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Responsive */

@media screen and (min-width: 900px) {
	.path-cards-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.path-approach__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		gap: clamp(48px, 8vw, 120px);
	}
}

@media screen and (max-width: 767px) {
	.path-section--hero {
		margin-top: 0;
		min-height: 0;
		align-items: flex-start;
		padding-top: clamp(120px, 18vh, 160px);
		padding-bottom: 40px;
	}

	.path-hero__card {
		width: 100%;
		gap: 20px;
		padding: 32px 24px;
	}

	.path-btn {
		width: 100%;
		letter-spacing: 0.8px;
	}

	.path-approach__media {
		aspect-ratio: 16 / 10;
	}
}

@media screen and (max-height: 700px) {
	.path-section--hero {
		min-height: 0;
		padding-top: clamp(120px, 18vh, 160px);
		padding-bottom: 40px;
	}
}
