/* ═════════════════════════════════════════════════════════════════
   Ophtapod : page Chirurgie et laser (template-chirurgie-et-laser.php)
   Tailles en rem pour que le module d'accessibilité mette le texte à
   l'échelle. Le gabarit de fiche .op-trouble-item et l'en-tête
   .op-page-hero vivent dans main.css.
   ═════════════════════════════════════════════════════════════════ */

.op-chir-liste {
	background: var(--c-white);
}

.op-chir-liste .op-container {
	padding: 7.5rem 0 8.75rem;
}

/* Groupes et fiches ancrés (menu) : on compense le header. */
.op-chir-groupe,
.op-chir-groupe .op-trouble-item {
	scroll-margin-top: 7rem;
}

.op-chir-groupe + .op-chir-groupe {
	margin-top: 5rem;
}

.op-chir-groupe__title {
	max-width: 34rem;
	margin: 0 0 2.75rem;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 2.75rem;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--c-navy);
}

/* Les entrées se touchent : leur filet bas fait la séparation. */
.op-chir-groupe__corps {
	display: flex;
	flex-direction: column;
}

/* ── Bande finale ─────────────────────────────────────────────────── */

.op-chir-cta {
	background: var(--c-white);
	padding: 5.625rem var(--section-px);
}

.op-chir-cta .op-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 2.5rem;
}

.op-chir-cta__title {
	margin: 0;
	max-width: 34rem;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 2.25rem;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--c-navy);
}

.op-chir-cta__btn {
	margin: 0;
}

/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 1279px) {
	.op-chir-liste .op-container {
		padding: 5.625rem 0 6.875rem;
	}
}

@media (max-width: 767px) {
	.op-chir-liste .op-container {
		padding: 3.75rem 0 4.375rem;
	}
	.op-chir-groupe + .op-chir-groupe {
		margin-top: 3rem;
	}
	.op-chir-groupe__title,
	.op-chir-cta__title {
		font-size: 1.75rem;
	}
	.op-chir-groupe__title {
		margin-bottom: 1.5rem;
	}
	.op-chir-cta {
		padding: 3.75rem var(--section-px);
	}
	.op-chir-cta .op-container {
		flex-direction: column;
		align-items: stretch;
		gap: 1.5rem;
	}
	.op-chir-cta__title {
		max-width: none;
	}
	.op-chir-cta__btn .op-btn {
		width: 100%;
	}
}
