/**
 * Pages single Expertise / Besoin – layout type ancien site Elementor
 */

.beley-medical-single {
	padding-top: 0;
}

.admin-bar .beley-medical-single {
	padding-top: 0;
}

/* —— Hero bannière —— */
.beley-medical-page-hero {
	position: relative;
	min-height: clamp(220px, 34vh, 340px);
	margin-top: var(--beley-header-offset, 100px);
	background-color: var(--beley-primary-dark, #062a6d);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
}

.admin-bar .beley-medical-page-hero {
	margin-top: calc(var(--beley-header-offset, 100px) + 32px);
}

.beley-medical-page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(6, 42, 109, 0.88) 0%, rgba(13, 56, 142, 0.72) 100%);
}

.beley-medical-page-hero__inner {
	position: relative;
	z-index: 1;
	padding: 2.5rem var(--beley-gap, 1.5rem);
}

.beley-medical-page-hero__title {
	margin: 0 0 0.5rem;
	font-family: var(--beley-font-sans, "Metropolis", sans-serif);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	color: #fff !important;
}

.beley-medical-page-hero__breadcrumb {
	margin: 0;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.92);
}

.beley-medical-page-hero__breadcrumb a {
	color: #fff !important;
	text-decoration: none;
}

.beley-medical-page-hero__breadcrumb a:hover {
	text-decoration: underline;
}

/* —— Layout 2 colonnes —— */
.beley-medical-page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 2rem;
	padding: 2.5rem var(--beley-gap, 1.5rem) 3rem;
	align-items: start;
}

.beley-medical-page-main {
	min-width: 0;
}

/* —— Intro contenu —— */
.beley-medical-page-intro {
	margin-bottom: 1.75rem;
}

.beley-medical-page-intro__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	color: #1a202c !important;
}

.beley-medical-page-intro__subtitle {
	margin: 0 0 1rem;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 600;
	line-height: 1.4;
	color: #2d3748 !important;
}

.beley-medical-page-intro__lead {
	font-size: 1rem;
	line-height: 1.65;
	color: #2d3748;
}

/* —— Prose contenu —— */
.beley-medical-prose {
	font-family: var(--beley-font-sans, "Metropolis", sans-serif);
	font-size: 1rem;
	line-height: 1.65;
	color: #2d3748 !important;
}

.beley-medical-prose h2,
.beley-medical-prose h3,
.beley-medical-prose h4 {
	color: #1a202c !important;
	font-weight: 700;
	line-height: 1.35;
	margin: 1.75rem 0 0.75rem;
}

.beley-medical-prose h2 { font-size: 1.5rem; }
.beley-medical-prose h3,
.beley-medical-prose h4 { font-size: 1.125rem; }

.beley-medical-prose p,
.beley-medical-prose li {
	color: #2d3748 !important;
}

.beley-medical-prose a {
	color: #0d388e !important;
}

.beley-medical-prose ul {
	list-style: none;
	margin: 0.75rem 0 1rem;
	padding: 0;
}

.beley-medical-prose ul li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.45rem;
}

.beley-medical-prose ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #0d388e;
}

.beley-medical-inline-icon {
	margin-right: 0.35rem;
	color: #0d388e;
}

.beley-medical-inline-icon--check { color: #2f855a; }
.beley-medical-inline-icon--pin { color: #0d388e; }
.beley-medical-inline-icon--idea { color: #d69e2e; }

.beley-medical-icon-list {
	list-style: none;
	margin: 0.75rem 0;
	padding: 0;
}

.beley-medical-icon-list li {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	margin-bottom: 0.5rem;
}

.beley-medical-list-icon {
	color: #2f855a;
	margin-top: 0.2rem;
	flex-shrink: 0;
}

/* —— Sidebar —— */
.beley-medical-sidebar {
	position: sticky;
	top: calc(var(--beley-header-offset, 100px) + 1rem);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.beley-medical-sidebar-card__title {
	margin: 0 0 1rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

.beley-medical-sidebar-rdv {
	position: relative;
	min-height: 220px;
	border-radius: 8px;
	overflow: hidden;
	background-color: var(--beley-primary-dark, #062a6d);
	background-size: cover;
	background-position: center;
}

.beley-medical-sidebar-rdv__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 42, 109, 0.92) 0%, rgba(6, 42, 109, 0.45) 100%);
}

.beley-medical-sidebar-rdv__inner {
	position: relative;
	z-index: 1;
	padding: 1.5rem 1.25rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 220px;
}

.beley-medical-sidebar-rdv .beley-medical-sidebar-card__title {
	color: #fff !important;
	margin-bottom: 1rem;
}

.beley-medical-sidebar-rdv__btn {
	display: inline-block;
	align-self: center;
	padding: 0.85rem 1.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff !important;
	background: #0d388e;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	transition: background 0.2s ease;
}

.beley-medical-sidebar-rdv__btn:hover {
	background: #1350e8;
	color: #fff !important;
}

.beley-medical-sidebar-besoins,
.beley-medical-sidebar-expertises {
	background: #0d388e;
	border-radius: 8px;
	padding: 1.5rem 1.25rem;
	color: #fff;
}

.beley-medical-sidebar-besoins .beley-medical-sidebar-card__title,
.beley-medical-sidebar-expertises .beley-medical-sidebar-card__title {
	color: #fff !important;
	border-bottom: 2px solid rgba(255, 255, 255, 0.25);
	padding-bottom: 0.65rem;
}

.beley-medical-sidebar-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.beley-medical-sidebar-links li {
	margin-bottom: 0.6rem;
}

.beley-medical-sidebar-links li:last-child {
	margin-bottom: 0;
}

.beley-medical-sidebar-links a {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	color: #fff !important;
	text-decoration: none;
	font-size: 0.9375rem;
	line-height: 1.45;
	transition: opacity 0.2s ease;
}

.beley-medical-sidebar-links a:hover {
	opacity: 0.88;
}

.beley-medical-sidebar-links i {
	margin-top: 0.2rem;
	font-size: 0.75rem;
	flex-shrink: 0;
}

.beley-medical-sidebar-links li.is-current a {
	font-weight: 700;
	text-decoration: underline;
}

/* —— Section vidéo —— */
.beley-medical-video-section {
	padding: 3rem var(--beley-gap, 1.5rem);
	background: #fff;
	text-align: center;
}

.beley-medical-video-section__inner {
	max-width: 900px;
	margin: 0 auto;
}

.beley-medical-video-section__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #0d388e;
}

.beley-medical-video-section__title {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #1a202c !important;
}

.beley-medical-video-section__text {
	max-width: 680px;
	margin: 0 auto 1.5rem;
	text-align: center;
	color: #2d3748;
}

.beley-medical-video-section__player {
	position: relative;
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(6, 42, 109, 0.12);
	background: #000;
}

.beley-medical-video-section__player iframe,
.beley-medical-block-video iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

/* —— FAQ —— */
.beley-medical-faq {
	padding: 3rem var(--beley-gap, 1.5rem);
	background: #eef2f7;
}

.beley-medical-faq__title {
	margin: 0 0 1.5rem;
	text-align: center;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: #1a202c !important;
}

.beley-medical-faq__list {
	max-width: 900px;
	margin: 0 auto;
	display: grid;
	gap: 0.65rem;
}

.beley-medical-faq__item {
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.beley-medical-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.15rem;
	font-weight: 600;
	font-size: 1rem;
	color: #fff !important;
	background: #0d388e;
	cursor: pointer;
	list-style: none;
}

.beley-medical-faq__question::-webkit-details-marker {
	display: none;
}

.beley-medical-faq__icon::before {
	content: "+";
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
}

.beley-medical-faq__item[open] .beley-medical-faq__icon::before {
	content: "−";
}

.beley-medical-faq__answer {
	padding: 1rem 1.15rem 1.15rem;
	background: #fff;
	color: #2d3748;
	border: 1px solid #e2e8f0;
	border-top: none;
}

/* —— Bandeau médecin —— */
.beley-medical-doctor-band {
	padding: 3rem var(--beley-gap, 1.5rem);
	background: linear-gradient(135deg, #062a6d 0%, #0d388e 100%);
	color: #fff;
	text-align: center;
}

.beley-medical-doctor-band__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 700;
	color: #fff !important;
}

.beley-medical-doctor-band__text {
	max-width: 720px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.95) !important;
}

.beley-medical-doctor-band__text strong {
	color: #fff;
}

/* —— CTA bas de page —— */
.beley-medical-page-cta {
	position: relative;
	padding: 3.5rem var(--beley-gap, 1.5rem);
	background-color: #062a6d;
	background-size: cover;
	background-position: center;
	text-align: center;
	color: #fff;
}

.beley-medical-page-cta__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(6, 42, 109, 0.9) 0%, rgba(13, 56, 142, 0.78) 100%);
}

.beley-medical-page-cta__inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto;
}

.beley-medical-page-cta__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: #fff !important;
}

.beley-medical-page-cta__btn {
	display: inline-block;
	padding: 0.9rem 1.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff !important;
	background: transparent;
	border: 2px solid #fff;
	border-radius: 4px;
	transition: background 0.2s ease, color 0.2s ease;
}

.beley-medical-page-cta__btn:hover {
	background: #fff;
	color: #0d388e !important;
}

/* —— Blocs flexibles dans le main —— */
.beley-medical-blocks {
	margin-top: 1.5rem;
}

.beley-medical-block {
	margin-bottom: 1.5rem;
}

.beley-medical-block h2 {
	font-size: 1.35rem;
	color: #1a202c !important;
}

.beley-medical-form-block {
	margin-top: 2rem;
}

@media (max-width: 1024px) {
	.beley-medical-page-layout {
		grid-template-columns: 1fr;
	}

	.beley-medical-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: 1rem;
	}
}

@media (max-width: 640px) {
	.beley-medical-sidebar {
		grid-template-columns: 1fr;
	}
}
