/* ==========================================================================
   PEBCS – feuille de style du thème enfant
   Chargée après les styles du parent (Inspiry MedicalPress).
   Préfixe des classes : .pb-
   ========================================================================== */

:root {
	--pb-primary: #1f6fb2;
	--pb-primary-dark: #15507f;
	--pb-primary-light: #e8f1fa;
	--pb-teal: #2392ad;
	--pb-accent: #76a92f;
	--pb-accent-dark: #5f8c22;
	--pb-navy: #0f2233;
	--pb-ink: #1b2a3a;
	--pb-text: #3b4a5a;
	--pb-muted: #6b7a8a;
	--pb-bg: #ffffff;
	--pb-bg-soft: #f4f8fb;
	--pb-border: #e3eaf0;
	--pb-radius: 14px;
	--pb-radius-sm: 8px;
	--pb-shadow: 0 10px 30px rgba(15, 34, 51, 0.08);
	--pb-shadow-lg: 0 18px 44px rgba(15, 34, 51, 0.16);
	--pb-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--pb-font-head: 'Poppins', var(--pb-font-body);
	--pb-container: 1180px;
	--pb-gutter: 20px;
	--pb-header-h: 92px;
	--pb-header-h-compact: 70px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body.pebcs-theme {
	margin: 0;
	background: var(--pb-bg);
	color: var(--pb-text);
	font-family: var(--pb-font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.pebcs-theme *,
.pebcs-theme *::before,
.pebcs-theme *::after {
	box-sizing: border-box;
}

:where(.pebcs-theme) h1,
:where(.pebcs-theme) h2,
:where(.pebcs-theme) h3,
:where(.pebcs-theme) h4,
:where(.pebcs-theme) h5,
:where(.pebcs-theme) h6 {
	font-family: var(--pb-font-head);
	color: var(--pb-ink);
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 0.6em;
	letter-spacing: -0.01em;
}

:where(.pebcs-theme) h1 { font-size: 2.25rem; }
:where(.pebcs-theme) h2 { font-size: 1.75rem; }
:where(.pebcs-theme) h3 { font-size: 1.375rem; }
:where(.pebcs-theme) h4 { font-size: 1.125rem; }
:where(.pebcs-theme) h5 { font-size: 1rem; }
:where(.pebcs-theme) h6 { font-size: 0.9rem; }

:where(.pebcs-theme) p {
	margin: 0 0 1.1em;
}

:where(.pebcs-theme) a {
	color: var(--pb-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

:where(.pebcs-theme) a:hover {
	color: var(--pb-primary-dark);
}

.pebcs-theme a:focus-visible,
.pebcs-theme button:focus-visible,
.pebcs-theme input:focus-visible,
.pebcs-theme [tabindex]:focus-visible {
	outline: 3px solid rgba(31, 111, 178, 0.45);
	outline-offset: 2px;
	border-radius: 6px;
}

:where(.pebcs-theme) img {
	max-width: 100%;
	height: auto;
}

.pebcs-theme ::selection {
	background: var(--pb-primary);
	color: #fff;
}

.pb-container {
	width: 100%;
	max-width: var(--pb-container);
	margin: 0 auto;
	padding: 0 var(--pb-gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.skip-link.screen-reader-text:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 2000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	background: var(--pb-navy);
	color: #fff;
	border-radius: 10px;
	font-weight: 600;
}

.pb-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.pb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--pb-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pb-btn .pb-icon {
	width: 17px;
	height: 17px;
}

.pb-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(15, 34, 51, 0.15);
}

.pb-btn--primary {
	background: var(--pb-primary);
	color: #fff;
}

.pb-btn--primary:hover {
	background: var(--pb-primary-dark);
	color: #fff;
}

.pb-btn--accent {
	background: var(--pb-accent);
	color: #fff;
}

.pb-btn--accent:hover {
	background: var(--pb-accent-dark);
	color: #fff;
}

.pb-btn--white {
	background: #fff;
	color: var(--pb-primary-dark);
}

.pb-btn--white:hover {
	background: #f1f6fa;
	color: var(--pb-primary-dark);
}

.pb-btn--outline {
	background: transparent;
	color: var(--pb-primary);
	border-color: currentColor;
}

.pb-btn--outline:hover {
	background: var(--pb-primary-light);
}

.pb-btn--block {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Barre d'information
   -------------------------------------------------------------------------- */
.pb-topbar {
	background: var(--pb-navy);
	color: #c7d3de;
	font-size: 13px;
	line-height: 1.4;
}

.pb-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.pb-topbar__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-topbar__list li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.pb-topbar__list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
}

.pb-topbar__list a:hover {
	color: #fff;
}

.pb-topbar .pb-icon {
	width: 15px;
	height: 15px;
	color: var(--pb-accent);
}

.pb-topbar__social {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-topbar__social a {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: background-color 0.2s ease;
}

.pb-topbar__social a:hover {
	background: var(--pb-primary);
}

.pb-topbar__social .pb-icon {
	width: 14px;
	height: 14px;
	color: #fff;
}

/* --------------------------------------------------------------------------
   En-tête : rangée logo / contact / bouton
   -------------------------------------------------------------------------- */
.pb-header {
	position: relative;
	z-index: 1001;
	background: #fff;
}

.pb-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--pb-header-h);
}

.pb-logo {
	flex: 0 0 auto;
	line-height: 0;
}

.pb-logo a {
	display: inline-block;
	line-height: 0;
}

.pb-logo img {
	display: block;
	height: 74px;
	width: auto;
	max-width: 260px;
	object-fit: contain;
}

.pb-header__contact {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-left: auto;
}

.pb-chip {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--pb-ink);
	text-decoration: none;
}

.pb-chip__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--pb-primary-light);
	color: var(--pb-primary);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pb-chip__icon .pb-icon {
	width: 20px;
	height: 20px;
}

.pb-chip__label {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pb-muted);
	line-height: 1.2;
}

.pb-chip__value {
	display: block;
	font-family: var(--pb-font-head);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.35;
	color: var(--pb-ink);
	transition: color 0.2s ease;
}

a.pb-chip:hover .pb-chip__value {
	color: var(--pb-primary);
}

a.pb-chip:hover .pb-chip__icon {
	background: var(--pb-primary);
	color: #fff;
}

.pb-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

/* Barre de navigation (collante) ------------------------------------------ */
.pb-navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.97);
	-webkit-backdrop-filter: saturate(180%) blur(8px);
	backdrop-filter: saturate(180%) blur(8px);
	border-top: 1px solid var(--pb-border);
	border-bottom: 1px solid var(--pb-border);
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.admin-bar .pb-navbar {
	top: 32px;
}

body.pb-scrolled .pb-navbar {
	box-shadow: 0 8px 28px rgba(15, 34, 51, 0.10);
	border-top-color: transparent;
}

.pb-navbar__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 58px;
}

.pb-navbar__logo {
	display: none;
	flex: 0 0 auto;
	line-height: 0;
	margin-right: 8px;
}

.pb-navbar__logo a {
	display: inline-block;
	line-height: 0;
}

.pb-navbar__logo img {
	display: block;
	height: 40px;
	width: auto;
	max-width: 150px;
	object-fit: contain;
}

body.pb-scrolled .pb-navbar__logo {
	display: block;
	animation: pb-fade 0.25s ease;
}

.pb-navbar__cta {
	display: none;
	flex: 0 0 auto;
	margin-left: auto;
	padding: 8px 16px;
	font-size: 14px;
}

body.pb-scrolled .pb-navbar__cta {
	display: inline-flex;
	animation: pb-fade 0.25s ease;
}

@keyframes pb-fade {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Navigation principale --------------------------------------------------- */
.pb-nav {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	justify-content: flex-start;
	align-self: stretch;
	align-items: center;
}

.pb-nav:not(.is-ready) {
	overflow: hidden;
}

.pb-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.pb-nav__item {
	position: relative;
	margin: 0;
	padding: 0;
}

.pb-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 12px;
	border-radius: 9px;
	font-weight: 500;
	font-size: 14.5px;
	line-height: 1.2;
	color: var(--pb-ink);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.pb-nav__link:hover,
.pb-nav__item:hover > .pb-nav__link,
.pb-nav__item.is-open > .pb-nav__link,
.pb-nav__item.current-menu-item > .pb-nav__link,
.pb-nav__item.current-menu-ancestor > .pb-nav__link,
.pb-nav__item.current-menu-parent > .pb-nav__link,
.pb-nav__item.current_page_parent > .pb-nav__link,
.pb-nav__item--more.has-current > .pb-nav__link {
	color: var(--pb-primary);
	background: var(--pb-primary-light);
}

.pb-nav__caret {
	display: inline-flex;
	width: 14px;
	height: 14px;
	opacity: 0.7;
	transition: transform 0.2s ease;
}

.pb-nav__caret .pb-icon {
	width: 14px;
	height: 14px;
}

.pb-nav__item:hover > .pb-nav__link .pb-nav__caret,
.pb-nav__item.is-open > .pb-nav__link .pb-nav__caret {
	transform: rotate(180deg);
}

/* Sous-menus (déroulants) */
.pb-nav__list .pb-nav__sub {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--pb-border);
	border-radius: 12px;
	box-shadow: var(--pb-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	white-space: normal;
}

.pb-nav__list .pb-nav__sub::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -12px;
	height: 12px;
}

.pb-nav__item:hover > .pb-nav__sub,
.pb-nav__item:focus-within > .pb-nav__sub,
.pb-nav__item.is-open > .pb-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(8px);
}

.pb-nav__sub .pb-nav__item {
	display: block;
}

.pb-nav__sub .pb-nav__link {
	display: flex;
	justify-content: space-between;
	padding: 9px 12px;
	font-size: 14px;
	border-radius: 8px;
}

.pb-nav__sub .pb-nav__link:hover {
	background: var(--pb-bg-soft);
}

.pb-nav__sub .pb-nav__caret {
	transform: none !important;
}

/* 3e niveau : à droite du 2e niveau */
.pb-nav__sub .pb-nav__sub {
	top: -8px;
	left: 100%;
	margin-left: 4px;
}

/* Alignement à droite quand le déroulant dépasse de l'écran */
.pb-nav__item--right > .pb-nav__sub {
	left: auto;
	right: 0;
}

.pb-nav__item--right .pb-nav__sub .pb-nav__sub {
	left: auto;
	right: 100%;
	margin-left: 0;
	margin-right: 4px;
}

/* Élément « Plus » : contient les entrées qui ne tiennent pas sur une ligne */
.pb-nav__item--more > .pb-nav__link {
	font-weight: 600;
}

.pb-nav__item--more .pb-nav__sub {
	min-width: 260px;
}

.pb-nav__item--more .pb-nav__sub .pb-nav__sub {
	position: static;
	min-width: 0;
	margin: 0 0 2px 10px;
	padding: 0 0 0 10px;
	border: 0;
	border-left: 2px solid var(--pb-border);
	border-radius: 0;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}

.pb-nav__item--more .pb-nav__sub .pb-nav__sub .pb-nav__link {
	font-size: 13.5px;
	color: var(--pb-muted);
}

.pb-nav__item--more .pb-nav__sub .pb-nav__sub .pb-nav__link:hover {
	color: var(--pb-primary);
}

/* Menu de secours (liste de pages) */
.pb-nav__list--fallback li {
	position: relative;
}

.pb-nav__list--fallback a {
	display: inline-block;
	padding: 9px 12px;
	border-radius: 9px;
	font-weight: 500;
	color: var(--pb-ink);
}

.pb-nav__list--fallback ul {
	display: none;
}

/* Bouton burger ------------------------------------------------------------ */
.pb-burger {
	display: none;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border: 1px solid var(--pb-border);
	border-radius: 12px;
	background: #fff;
	color: var(--pb-ink);
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

.pb-burger__box {
	position: relative;
	display: block;
	width: 22px;
	height: 16px;
}

.pb-burger__line,
.pb-burger__line::before,
.pb-burger__line::after {
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
	content: '';
}

.pb-burger__line {
	top: 7px;
}

.pb-burger__line::before {
	top: -7px;
}

.pb-burger__line::after {
	top: 7px;
}

.pb-burger[aria-expanded="true"] .pb-burger__line {
	background: transparent;
}

.pb-burger[aria-expanded="true"] .pb-burger__line::before {
	top: 0;
	transform: rotate(45deg);
}

.pb-burger[aria-expanded="true"] .pb-burger__line::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Menu mobile (panneau latéral) ------------------------------------------- */
.pb-mobile {
	position: fixed;
	inset: 0;
	z-index: 1100;
	overflow: hidden;
	visibility: hidden;
	transition: visibility 0s linear 0.3s;
}

.pb-mobile.is-open {
	visibility: visible;
	transition-delay: 0s;
}

.pb-mobile__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 34, 51, 0.55);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.pb-mobile.is-open .pb-mobile__overlay {
	opacity: 1;
}

.pb-mobile__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(380px, 88vw);
	background: #fff;
	box-shadow: var(--pb-shadow-lg);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.pb-mobile.is-open .pb-mobile__panel {
	transform: none;
}

.pb-mobile__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--pb-border);
}

.pb-mobile__logo {
	line-height: 0;
}

.pb-mobile__logo img {
	display: block;
	height: 46px;
	width: auto;
}

.pb-mobile__close {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--pb-border);
	border-radius: 50%;
	background: #fff;
	color: var(--pb-ink);
	cursor: pointer;
}

.pb-mobile__close .pb-icon {
	width: 20px;
	height: 20px;
}

.pb-mobile__nav {
	padding: 10px 12px;
}

.pb-mobile__list,
.pb-mobile__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-mobile__item {
	position: relative;
	margin: 0;
}

.pb-mobile__link,
.pb-mobile__list--fallback a {
	display: block;
	padding: 12px 14px;
	border-radius: 10px;
	color: var(--pb-ink);
	font-weight: 500;
	font-size: 16px;
}

.pb-mobile__item--parent > .pb-mobile__link {
	padding-right: 56px;
}

.pb-mobile__link:hover,
.pb-mobile__item.current-menu-item > .pb-mobile__link,
.pb-mobile__item.current-menu-ancestor > .pb-mobile__link {
	background: var(--pb-primary-light);
	color: var(--pb-primary);
}

.pb-mobile__toggle {
	position: absolute;
	top: 4px;
	right: 4px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--pb-muted);
	cursor: pointer;
}

.pb-mobile__toggle .pb-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s ease;
}

.pb-mobile__item.is-open > .pb-mobile__toggle .pb-icon {
	transform: rotate(180deg);
}

.pb-mobile__sub {
	display: none;
	padding: 2px 0 6px 14px;
	border-left: 2px solid var(--pb-border);
	margin: 0 0 4px 16px;
}

.pb-mobile__item.is-open > .pb-mobile__sub {
	display: block;
}

.pb-mobile__sub .pb-mobile__link {
	padding: 10px 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--pb-text);
}

.pb-mobile__foot {
	display: grid;
	gap: 10px;
	margin-top: auto;
	padding: 18px;
	border-top: 1px solid var(--pb-border);
	background: var(--pb-bg-soft);
}

.pb-mobile__contact,
.pb-mobile__hours {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	color: var(--pb-ink);
}

.pb-mobile__contact .pb-icon,
.pb-mobile__hours .pb-icon {
	width: 18px;
	height: 18px;
	color: var(--pb-primary);
}

body.pb-menu-open {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Bandeau de titre
   -------------------------------------------------------------------------- */
.pb-band {
	position: relative;
	padding: 54px 0 62px;
	background: linear-gradient(120deg, #0f3a5f 0%, var(--pb-primary) 55%, var(--pb-teal) 100%);
	color: #fff;
	overflow: hidden;
}

.pb-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 42%),
		radial-gradient(circle at 8% 95%, rgba(118, 169, 47, 0.38), transparent 38%);
	pointer-events: none;
}

.pb-band__inner {
	position: relative;
}

.pb-band__title {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 600;
}

.pb-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.82);
}

.pb-crumbs__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.pb-crumbs__item + .pb-crumbs__item::before {
	content: '›';
	opacity: 0.7;
}

.pb-crumbs a {
	color: #fff;
	opacity: 0.88;
}

.pb-crumbs a:hover {
	opacity: 1;
	text-decoration: underline;
}

/* Bandeau du parent (archives, recherche…) harmonisé */
.pebcs-theme .page-top {
	background: linear-gradient(120deg, #0f3a5f 0%, var(--pb-primary) 55%, var(--pb-teal) 100%);
	padding: 44px 0;
	margin: 0;
	border: 0;
}

.pebcs-theme .page-top .entry-title,
.pebcs-theme .page-top .breadcrumb,
.pebcs-theme .page-top .breadcrumb a,
.pebcs-theme .page-top .breadcrumb li {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Contenu
   -------------------------------------------------------------------------- */
.pb-content {
	padding: 48px 0 72px;
	background: #fff;
}

.pb-content--bleed {
	padding: 0 0 56px;
}

.pb-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
}

/* Les zones de la grille ne doivent jamais s'élargir à la largeur intrinsèque de leur
   contenu : Live Composer fixe une largeur en pixels (ex. 878 px) à ses sections, et
   sans ce garde-fou les pages intérieures débordent de l'écran sur smartphone. */
.pb-layout__main,
.pb-layout__side {
	min-width: 0;
}

.pb-layout--sidebar {
	grid-template-columns: minmax(0, 1fr) 320px;
}

.pb-entry__thumb {
	margin: 0 0 28px;
	line-height: 0;
}

.pb-entry__thumb img {
	width: 100%;
	border-radius: var(--pb-radius);
	box-shadow: var(--pb-shadow);
}

.pb-entry__content > :first-child {
	margin-top: 0;
}

.pebcs-theme .entry-content img {
	border-radius: var(--pb-radius-sm);
}

.pebcs-theme .entry-content ul,
.pebcs-theme .entry-content ol {
	padding-left: 1.4em;
	margin: 0 0 1.2em;
}

.pebcs-theme .entry-content li {
	margin-bottom: 0.35em;
}

.pebcs-theme .entry-content blockquote {
	margin: 1.5em 0;
	padding: 18px 24px;
	border-left: 4px solid var(--pb-accent);
	background: var(--pb-bg-soft);
	border-radius: 0 var(--pb-radius-sm) var(--pb-radius-sm) 0;
	font-size: 1.05em;
	color: var(--pb-ink);
}

.pebcs-theme .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5em;
	font-size: 15px;
}

.pebcs-theme .entry-content th,
.pebcs-theme .entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--pb-border);
	text-align: left;
}

.pebcs-theme .entry-content th {
	background: var(--pb-bg-soft);
	color: var(--pb-ink);
}

.pebcs-theme .entry-content iframe,
.pebcs-theme .entry-content video {
	max-width: 100%;
}

.pb-pagelinks {
	margin: 24px 0 0;
	font-weight: 600;
}

/* Formulaires ---------------------------------------------------------------- */
.pebcs-theme input[type="text"],
.pebcs-theme input[type="email"],
.pebcs-theme input[type="tel"],
.pebcs-theme input[type="url"],
.pebcs-theme input[type="number"],
.pebcs-theme input[type="search"],
.pebcs-theme input[type="password"],
.pebcs-theme input[type="date"],
.pebcs-theme textarea,
.pebcs-theme select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fff;
	color: var(--pb-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pebcs-theme input[type="checkbox"],
.pebcs-theme input[type="radio"] {
	width: auto;
	accent-color: var(--pb-primary);
}

.pebcs-theme input:focus,
.pebcs-theme textarea:focus,
.pebcs-theme select:focus {
	outline: none;
	border-color: var(--pb-primary);
	box-shadow: 0 0 0 4px rgba(31, 111, 178, 0.15);
}

.pebcs-theme input[type="submit"],
.pebcs-theme button[type="submit"],
.pebcs-theme .nf-form-content .ninja-forms-field[type="button"],
.pebcs-theme .nf-form-content input[type="button"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--pb-primary);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.pebcs-theme input[type="submit"]:hover,
.pebcs-theme button[type="submit"]:hover,
.pebcs-theme .nf-form-content input[type="button"]:hover {
	background: var(--pb-primary-dark);
	transform: translateY(-1px);
}

.pebcs-theme .nf-form-content label {
	font-weight: 600;
	color: var(--pb-ink);
}

/* Recherche */
.pb-search {
	position: relative;
	display: flex;
	max-width: 420px;
}

.pb-search__input {
	padding-right: 48px;
}

.pb-search__submit {
	position: absolute;
	top: 4px;
	right: 4px;
	bottom: 4px;
	display: grid;
	place-items: center;
	width: 40px;
	border: 0;
	border-radius: 8px;
	background: var(--pb-primary);
	color: #fff;
	cursor: pointer;
}

.pb-search__submit .pb-icon {
	width: 16px;
	height: 16px;
}

/* --------------------------------------------------------------------------
   Live Composer : harmonisation des contenus existants
   -------------------------------------------------------------------------- */
.pebcs-theme .dslc-modules-section-wrapper {
	max-width: 100%;
}

.pebcs-theme #dslc-content,
.pebcs-theme .dslc-content {
	font-family: inherit;
}

.pebcs-theme .dslc-html-module-content,
.pebcs-theme .dslc-text-module-content {
	font-family: var(--pb-font-body);
	color: var(--pb-text);
	line-height: 1.7;
}

.pebcs-theme .dslc-html-module-content h1,
.pebcs-theme .dslc-html-module-content h2,
.pebcs-theme .dslc-html-module-content h3,
.pebcs-theme .dslc-html-module-content h4,
.pebcs-theme .dslc-text-module-content h1,
.pebcs-theme .dslc-text-module-content h2,
.pebcs-theme .dslc-text-module-content h3,
.pebcs-theme .dslc-text-module-content h4 {
	font-family: var(--pb-font-head);
	line-height: 1.3;
}

.pebcs-theme .dslc-html-module-content h4 {
	font-size: 1.125rem;
	letter-spacing: 0.01em;
}

.pebcs-theme .dslc-html-module-content h4 a {
	color: inherit;
}

.pebcs-theme .dslc-html-module-content h4 a:hover {
	color: var(--pb-primary);
}

.pebcs-theme .dslc-html-module-content p {
	color: var(--pb-text);
}

.pebcs-theme .dslc-module-DSLC_Image .dslc-image img {
	border-radius: var(--pb-radius-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Cartes de présentation (3 colonnes) */
.pebcs-theme .dslc-module-DSLC_Image.dslc-4-col .dslc-image img {
	box-shadow: var(--pb-shadow);
}

.pebcs-theme .dslc-module-DSLC_Image.dslc-4-col:hover .dslc-image img {
	transform: translateY(-4px);
	box-shadow: var(--pb-shadow-lg);
}

/* Logos partenaires (page d'accueil) */
body.pebcs-front .dslc-module-DSLC_Image.dslc-2-col .dslc-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--pb-border);
	border-radius: 12px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.pebcs-front .dslc-module-DSLC_Image.dslc-2-col .dslc-image:hover {
	box-shadow: var(--pb-shadow);
	transform: translateY(-2px);
}

body.pebcs-front .dslc-module-DSLC_Image.dslc-2-col .dslc-image img {
	max-height: 72px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	border-radius: 0;
	box-shadow: none;
}

/* Icônes (guillemets de la citation) */
.pebcs-theme .dslc-module-DSLC_Icon .dslc-icon {
	color: var(--pb-teal);
}

/* --------------------------------------------------------------------------
   Diaporamas (Slider Revolution)
   Les images sont affichées entières (sans recadrage) sur un fond flouté de la
   même image : les photos verticales, les bannières larges et les petites images
   restent nettes et lisibles quel que soit leur format.
   -------------------------------------------------------------------------- */
.pebcs-theme .rev_slider .tp-bgimg {
	position: relative;
	z-index: 2;
	background-size: contain !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

.pebcs-theme .rev_slider .slotslide div {
	background-size: contain !important;
	background-position: center center !important;
}

.pebcs-theme .pb-slide-blur {
	position: absolute;
	top: -40px;
	right: -40px;
	bottom: -40px;
	left: -40px;
	z-index: 1;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	filter: blur(26px) saturate(1.15) brightness(0.72);
	transform: scale(1.08);
	pointer-events: none;
}

.pebcs-theme .rev_slider .slotholder {
	overflow: hidden;
}

/* Diaporama de la page d'accueil : encadré dans la largeur du site, hauteur maîtrisée */
.pebcs-front .dslc-module-DSLC_Sliders {
	float: none;
	max-width: var(--pb-container);
	margin: 28px auto 8px;
	padding: 0 var(--pb-gutter);
}

.pebcs-front .dslc-module-DSLC_Sliders .rev_slider_wrapper {
	max-width: 100% !important;
	border-radius: 18px;
	overflow: hidden;
	background: var(--pb-navy);
	box-shadow: var(--pb-shadow-lg);
}

.pebcs-front .dslc-module-DSLC_Sliders .rev_slider_wrapper,
.pebcs-front .dslc-module-DSLC_Sliders .rev_slider,
.pebcs-front .dslc-module-DSLC_Sliders .tp-revslider-mainul,
.pebcs-front .dslc-module-DSLC_Sliders .tp-revslider-slidesli {
	height: clamp(220px, 36vw, 460px) !important;
	max-height: none !important;
}

/* Flèches et puces plus discrètes */
.pebcs-theme .tparrows {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(15, 34, 51, 0.45);
	transition: background-color 0.2s ease;
}

.pebcs-theme .tparrows::before {
	line-height: 44px;
	font-size: 18px;
}

.pebcs-theme .tparrows:hover {
	background: var(--pb-primary);
}

.pebcs-theme .tp-bullet {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
}

.pebcs-theme .tp-bullet.selected,
.pebcs-theme .tp-bullet:hover {
	background: #fff;
}

@media (max-width: 767px) {
	.pebcs-front .dslc-module-DSLC_Sliders {
		margin-top: 16px;
	}

	.pebcs-front .dslc-module-DSLC_Sliders .rev_slider_wrapper {
		border-radius: 12px;
	}

	.pebcs-theme .tparrows {
		width: 36px;
		height: 36px;
	}

	.pebcs-theme .tparrows::before {
		line-height: 36px;
		font-size: 15px;
	}
}

/* WPBakery */
.pebcs-theme .vc_row[data-vc-full-width] {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Appel à l'action avant le pied de page
   -------------------------------------------------------------------------- */
.pb-cta {
	background: linear-gradient(120deg, var(--pb-primary-dark) 0%, var(--pb-primary) 50%, var(--pb-teal) 100%);
	color: #fff;
	padding: 44px 0;
}

.pb-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.pb-cta__text {
	flex: 1 1 420px;
}

.pb-cta__title {
	margin: 0 0 6px;
	color: #fff;
	font-size: 1.5rem;
}

.pb-cta__text p {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
}

.pb-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.pb-footer {
	background: var(--pb-navy);
	color: #b9c6d2;
	font-size: 14.5px;
	line-height: 1.7;
}

.pb-footer a {
	color: #dbe5ee;
}

.pb-footer a:hover {
	color: var(--pb-accent);
}

.pb-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 36px;
	padding: 56px 0 44px;
}

.pb-footer .widget {
	margin: 0 0 24px;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.pb-footer .widget:last-child {
	margin-bottom: 0;
}

.pb-footer .widget-title,
.pb-footer .widget > h2,
.pb-footer .widget > h3,
.pb-footer .textwidget > strong:first-child {
	display: block;
	margin: 0 0 14px;
	color: #fff;
	font-family: var(--pb-font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pb-footer .textwidget div {
	margin-bottom: 8px;
}

.pb-footer .textwidget img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 10px 0;
	border-radius: 8px;
}

.pb-footer .textwidget strong {
	color: #fff;
	font-weight: 600;
}

.pb-footer .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-footer .widget li {
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pb-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 18px 0;
}

.pb-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	font-size: 13px;
	color: #8fa1b3;
}

.pb-footer__copy {
	margin: 0;
}

.pb-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pb-footer__menu a {
	color: #b9c6d2;
}

/* Retour en haut */
.pb-backtop {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 900;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--pb-primary);
	color: #fff;
	box-shadow: var(--pb-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.2s ease;
}

.pb-backtop .pb-icon {
	width: 20px;
	height: 20px;
}

.pb-backtop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.pb-backtop:hover {
	background: var(--pb-primary-dark);
	color: #fff;
}

.pebcs-theme #scroll-top {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.pb-chip--hours {
		display: none;
	}

	.pb-nav__link {
		padding: 9px 10px;
		font-size: 14px;
	}
}

@media (max-width: 1023px) {
	:root {
		--pb-header-h: 76px;
	}

	.pb-navbar {
		display: none;
	}

	.pb-header {
		position: sticky;
		top: 0;
		z-index: 1000;
		box-shadow: 0 1px 0 var(--pb-border);
		transition: box-shadow 0.25s ease;
	}

	.admin-bar .pb-header {
		top: 32px;
	}

	body.pb-scrolled .pb-header {
		box-shadow: 0 8px 28px rgba(15, 34, 51, 0.10);
	}

	.pb-header__contact,
	.pb-header__cta {
		display: none;
	}

	.pb-header__actions {
		margin-left: auto;
	}

	.pb-burger {
		display: inline-flex;
	}

	.pb-logo img {
		height: 56px;
	}

	.pb-layout--sidebar {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 782px) {
	.admin-bar .pb-header {
		top: 46px;
	}
}

@media (max-width: 767px) {
	:root {
		--pb-header-h: 68px;
	}

	.pb-topbar__inner {
		justify-content: center;
	}

	.pb-topbar__list .pb-topbar__extra,
	.pb-topbar__social {
		display: none;
	}

	.pb-logo img {
		height: 48px;
	}

	.pb-burger__label {
		display: none;
	}

	.pb-band {
		padding: 36px 0 42px;
	}

	.pb-content {
		padding: 32px 0 48px;
	}

	.pb-cta {
		padding: 32px 0;
	}

	.pb-cta__actions {
		width: 100%;
	}

	.pb-cta__actions .pb-btn {
		flex: 1 1 auto;
	}

	.pb-footer__grid {
		gap: 28px;
		padding: 40px 0 32px;
	}

	.pb-footer__bottom-inner {
		justify-content: center;
		text-align: center;
	}

	.pb-backtop {
		right: 14px;
		bottom: 14px;
		width: 42px;
		height: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.pebcs-theme *,
	.pebcs-theme *::before,
	.pebcs-theme *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

@media print {
	.pb-topbar,
	.pb-header__actions,
	.pb-mobile,
	.pb-cta,
	.pb-backtop {
		display: none !important;
	}

	.pb-header {
		position: static;
		box-shadow: none;
	}

	.pb-band {
		background: none;
		color: #000;
		padding: 12px 0;
	}

	.pb-band__title {
		color: #000;
	}
}
