/* =========================================================================
   AZKA – Accueil inherent Business
   Charte inherent (inherent.fr) : orange #ff6100, citron #ccfe00,
   charbon #2c2a2a, anthracite #32323f ; dégradé de marque vertical
   citron → orange (arrêt à 30 %). Pas de dégradé sur les textes.
   Toutes les règles sont préfixées par .ibh-page pour passer devant
   Hello Elementor, le kit Elementor et le thème enfant.
   ========================================================================= */

.ibh-page {
	--ibh-lime: #ccfe00;
	--ibh-orange: #ff6100;
	--ibh-coal: #2c2a2a;
	--ibh-anthracite: #32323f;
	--ibh-carbon: #65605d;
	--ibh-gris-01: #f9f8fc;
	--ibh-gris-02: #e4e4ed;
	--ibh-grad: linear-gradient(180deg, var(--ibh-lime) 0%, var(--ibh-orange) 30%);
	--ibh-radius: 16px;
	--ibh-panel-radius: 32px;
	--ibh-header-h: 84px;

	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ibh-anthracite);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

html:has(.ibh-page) {
	scroll-behavior: smooth;
}

.ibh-page *,
.ibh-page *::before,
.ibh-page *::after {
	box-sizing: border-box;
}

.ibh-page img {
	display: block;
	max-width: 100%;
	height: auto;
}

.ibh-page p {
	margin: 0 0 1em;
}

.ibh-page a {
	color: inherit;
	text-decoration: none;
}

.ibh-page h1,
.ibh-page h2,
.ibh-page h3 {
	font-family: inherit;
	margin: 0;
}

.ibh-page section[id] {
	scroll-margin-top: calc(var(--ibh-header-h) + var(--wp-admin--admin-bar--height, 0px) + 12px);
}

.ibh-page .ibh-wrap {
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: 20px;
}

.ibh-page .ibh-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ibh-coal);
	color: #fff;
	border-radius: 6px;
}

.ibh-page .ibh-skip:focus {
	top: 16px;
}

.ibh-page :focus-visible {
	outline: 3px solid var(--ibh-coal);
	outline-offset: 3px;
}

.ibh-page .ibh-accent {
	color: var(--ibh-orange);
}

/* ---------- Boutons (pilules, comme sur inherent.fr) ---------- */

.ibh-page .ibh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ibh-page .ibh-btn .ibh-arrow {
	flex: none;
	transition: transform .2s ease;
}

.ibh-page .ibh-btn:hover .ibh-arrow {
	transform: translateX(3px);
}

.ibh-page .ibh-btn--lime {
	background: var(--ibh-lime);
	color: var(--ibh-coal);
}

.ibh-page .ibh-btn--lime:hover {
	color: var(--ibh-coal);
	box-shadow: 0 6px 16px rgba(44, 42, 42, .2);
}

.ibh-page .ibh-btn--outline {
	border-color: var(--ibh-coal);
	color: var(--ibh-coal);
}

.ibh-page .ibh-btn--outline:hover {
	background: var(--ibh-coal);
	color: #fff;
}

.ibh-page .ibh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.ibh-page .ibh-actions--center {
	justify-content: center;
}

/* ---------- En-tête ---------- */

.ibh-page .ibh-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: #fff;
	box-shadow: 0 4px 18px -10px rgba(44, 42, 42, .25);
}

.ibh-page .ibh-header__in {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: var(--ibh-header-h);
}

.ibh-page .ibh-header__logo img {
	width: auto;
	height: 52px;
}

.ibh-page .ibh-nav {
	display: flex;
	gap: 32px;
	margin-left: auto;
}

.ibh-page .ibh-nav__link {
	position: relative;
	padding: 6px 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--ibh-anthracite);
}

.ibh-page .ibh-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--ibh-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}

.ibh-page .ibh-nav__link:hover::after,
.ibh-page .ibh-nav__link:focus-visible::after {
	transform: scaleX(1);
}

.ibh-page .ibh-header__cta {
	min-height: 42px;
	padding: 9px 20px;
}

/* ---------- Hero : panneau arrondi au dégradé de marque ---------- */

.ibh-page .ibh-hero {
	padding: 24px 20px 0;
}

.ibh-page .ibh-hero__panel {
	max-width: 1240px;
	margin-inline: auto;
	padding: 72px 60px;
	border-radius: var(--ibh-panel-radius);
	background: var(--ibh-grad);
	color: var(--ibh-coal);
}

.ibh-page .ibh-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: center;
	gap: 56px;
}

.ibh-page .ibh-chip {
	display: inline-flex;
	gap: 8px;
	margin: 0;
	padding: 5px 14px;
	border-radius: 6px;
	background: var(--ibh-coal);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	color: #fff;
}

.ibh-page .ibh-hero__title {
	margin: 22px 0 18px;
	font-size: clamp(2.2rem, 4.4vw, 3.5rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -.01em;
	color: var(--ibh-coal);
}

.ibh-page .ibh-hero__title strong {
	display: inline-block;
	font-weight: 700;
}

.ibh-page .ibh-hero__lead {
	margin-bottom: 12px;
	font-size: clamp(1.15rem, 1.8vw, 1.4rem);
	font-weight: 600;
	line-height: 1.4;
	color: var(--ibh-coal);
}

.ibh-page .ibh-hero__text {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ibh-coal);
}

.ibh-page .ibh-hero__press {
	margin: 22px 0 0;
}

.ibh-page .ibh-hero__press a {
	font-size: .95rem;
	font-weight: 600;
	color: var(--ibh-coal);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1.5px;
}

.ibh-page .ibh-hero__press .ibh-arrow {
	display: inline-block;
	margin-left: 6px;
	vertical-align: -4px;
	transition: transform .2s ease;
}

.ibh-page .ibh-hero__press a:hover .ibh-arrow {
	transform: translateX(3px);
}

.ibh-page .ibh-morph {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 36px 44px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 50px -24px rgba(44, 42, 42, .45);
	text-align: center;
}

.ibh-page .ibh-morph__old {
	width: 190px;
	opacity: .9;
}

.ibh-page .ibh-morph__devient {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 18px 0;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ibh-carbon);
}

.ibh-page .ibh-morph__devient::after {
	content: "";
	width: 2px;
	height: 26px;
	background: var(--ibh-orange);
}

.ibh-page .ibh-morph__new {
	width: 100%;
	max-width: 300px;
}

.ibh-page .ibh-pictos {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 32px;
}

.ibh-page .ibh-pictos img {
	width: auto;
	height: 40px;
}

/* ---------- Introduction ---------- */

.ibh-page .ibh-intro {
	padding: 72px 0;
}

.ibh-page .ibh-intro__in {
	max-width: 940px;
	text-align: center;
}

.ibh-page .ibh-intro__in::before {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin: 0 auto 28px;
	border-radius: 4px;
	background: var(--ibh-orange);
}

.ibh-page .ibh-intro__text {
	margin: 0;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	line-height: 1.75;
}

.ibh-page .ibh-intro__text strong {
	font-weight: 600;
	color: var(--ibh-coal);
}

/* ---------- Sections / titres ---------- */

.ibh-page .ibh-section {
	padding: 96px 0;
}

.ibh-page .ibh-section--soft {
	background: var(--ibh-gris-01);
}

.ibh-page .ibh-h2 {
	margin-bottom: 24px;
	font-size: clamp(1.6rem, 2.8vw, 2.25rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--ibh-anthracite);
}

.ibh-page .ibh-h2--center {
	position: relative;
	max-width: 820px;
	margin: 0 auto 56px;
	padding-bottom: 22px;
	text-align: center;
}

.ibh-page .ibh-h2--center::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 80px;
	height: 4px;
	border-radius: 4px;
	background: var(--ibh-orange);
	transform: translateX(-50%);
}

.ibh-page .ibh-h2--light {
	color: #fff;
}

.ibh-page .ibh-eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ibh-orange);
}

/* ---------- Cartes expertises ---------- */

.ibh-page .ibh-cards {
	--ibh-cols: 5;
	--ibh-gap: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ibh-gap);
}

.ibh-page .ibh-card {
	display: flex;
	flex-direction: column;
	flex: 0 0 calc((100% - (var(--ibh-cols) - 1) * var(--ibh-gap)) / var(--ibh-cols));
	overflow: hidden;
	border-radius: var(--ibh-radius);
	background: #fff;
	box-shadow: 0 6px 24px -10px rgba(44, 42, 42, .18);
	transition: transform .25s ease, box-shadow .25s ease;
}

.ibh-page .ibh-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px -16px rgba(44, 42, 42, .3);
}

.ibh-page .ibh-card__img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ibh-page .ibh-card__body {
	flex: 1;
	padding: 22px 18px 24px;
	border-top: 4px solid var(--ibh-orange);
	text-align: center;
}

.ibh-page .ibh-card__title {
	margin-bottom: 12px;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ibh-anthracite);
}

.ibh-page .ibh-card__text {
	margin: 0;
	font-size: .9rem;
	line-height: 1.6;
	color: var(--ibh-carbon);
}

.ibh-page .ibh-card__list {
	margin: 14px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--ibh-gris-02);
	list-style: none;
}

.ibh-page .ibh-card__list li {
	margin: 0;
	padding: 3px 0;
	font-size: .85rem;
	font-weight: 500;
	color: var(--ibh-anthracite);
}

/* ---------- IA (fond charbon) ---------- */

.ibh-page .ibh-ia {
	color: rgba(255, 255, 255, .8);
	background: var(--ibh-coal);
}

.ibh-page .ibh-ia__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
}

.ibh-page .ibh-ia .ibh-h2 {
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.ibh-page .ibh-ia__lead {
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.55;
	color: #fff;
}

.ibh-page .ibh-quote {
	margin: 28px 0 0;
	padding: 4px 0 4px 22px;
	border: 0;
	border-left: 4px solid var(--ibh-orange);
	font-style: normal;
	color: rgba(255, 255, 255, .88);
}

.ibh-page .ibh-quote p {
	margin: 0;
}

.ibh-page .ibh-quote strong {
	font-weight: 600;
	color: #fff;
}

.ibh-page .ibh-hub {
	position: relative;
	width: 100%;
	max-width: 500px;
	margin-inline: auto;
	aspect-ratio: 1;
}

.ibh-page .ibh-hub__lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.ibh-page .ibh-hub__lines line {
	stroke: rgba(255, 97, 0, .6);
	stroke-width: .35;
}

.ibh-page .ibh-hub__ring {
	fill: none;
	stroke: rgba(255, 255, 255, .25);
	stroke-width: .35;
	stroke-dasharray: 1 2;
	transform-origin: 50% 50%;
	animation: ibh-spin 60s linear infinite;
}

.ibh-page .ibh-hub__core {
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 30%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--ibh-grad);
	box-shadow: 0 0 0 12px rgba(255, 97, 0, .15);
	font-size: clamp(1.6rem, 4vw, 2.8rem);
	font-weight: 700;
	color: var(--ibh-coal);
	transform: translate(-50%, -50%);
}

.ibh-page .ibh-hub__node {
	position: absolute;
	width: max-content;
	max-width: 31%;
	padding: .55em .8em;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8);
	font-size: clamp(.68rem, 1.4vw, .85rem);
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	color: var(--ibh-anthracite);
	transform: translate(-50%, -50%);
}

.ibh-page .ibh-hub__node--1 { left: 50%;   top: 14%; }
.ibh-page .ibh-hub__node--2 { left: 84.2%; top: 38.9%; }
.ibh-page .ibh-hub__node--3 { left: 71.2%; top: 79.1%; }
.ibh-page .ibh-hub__node--4 { left: 28.8%; top: 79.1%; }
.ibh-page .ibh-hub__node--5 { left: 15.8%; top: 38.9%; }

@keyframes ibh-spin {
	to { transform: rotate(360deg); }
}

/* ---------- Équipes / identité ---------- */

.ibh-page .ibh-team__grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: center;
	gap: 64px;
}

.ibh-page .ibh-team__text {
	font-size: 1.1rem;
	line-height: 1.75;
}

.ibh-page .ibh-team__text strong {
	font-weight: 600;
	color: var(--ibh-coal);
}

.ibh-page .ibh-pillars {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.ibh-page .ibh-pillars li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 18px 8px 10px;
	border: 1.5px solid var(--ibh-gris-02);
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 600;
	color: var(--ibh-anthracite);
}

/* Coche citron, comme les listes d'inherent.fr. */
.ibh-page .ibh-pillars li::before {
	content: "";
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232c2a2a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m7 12.5 3.5 3.5L17 9'/%3E%3C/svg%3E") center / 16px no-repeat,
		var(--ibh-lime);
}

.ibh-page .ibh-identity {
	padding: 40px;
	border-radius: 24px;
	background: var(--ibh-coal);
	color: rgba(255, 255, 255, .85);
}

.ibh-page .ibh-identity__pictos {
	justify-content: flex-start;
	margin: 0 0 32px;
}

.ibh-page .ibh-identity__title {
	margin-bottom: 12px;
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.ibh-page .ibh-identity__text {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.6;
}

/* ---------- Bienvenue / contact : panneau au dégradé de marque ---------- */

.ibh-page .ibh-welcome {
	padding: 0 20px 96px;
}

.ibh-page .ibh-welcome__panel {
	max-width: 1240px;
	margin-inline: auto;
	padding: 80px 40px;
	border-radius: var(--ibh-panel-radius);
	background: var(--ibh-grad);
	color: var(--ibh-coal);
	text-align: center;
}

.ibh-page .ibh-welcome__title {
	margin-bottom: 14px;
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--ibh-coal);
}

.ibh-page .ibh-welcome__text {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 500;
}

/* ---------- Pied de page ---------- */

.ibh-page .ibh-footer {
	padding: 64px 0 24px;
	background: var(--ibh-coal);
	font-size: .9rem;
	color: rgba(255, 255, 255, .75);
}

.ibh-page .ibh-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr .7fr;
	gap: 40px;
}

.ibh-page .ibh-footer p {
	margin: 0 0 8px;
}

.ibh-page .ibh-footer__brand img {
	width: 190px;
	margin-bottom: 18px;
}

.ibh-page .ibh-footer__title {
	font-size: .95rem;
	font-weight: 600;
	color: #fff;
}

.ibh-page .ibh-footer__link {
	color: rgba(255, 255, 255, .75);
	transition: color .2s ease;
}

.ibh-page .ibh-footer__link:hover {
	color: var(--ibh-orange);
}

.ibh-page .ibh-footer__social {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--ibh-coal);
	transition: background-color .2s ease;
}

.ibh-page .ibh-footer__social:hover {
	background: var(--ibh-orange);
	color: #fff;
}

.ibh-page .ibh-footer__bottom {
	margin-top: 44px;
	font-size: .8rem;
	color: rgba(255, 255, 255, .55);
}

.ibh-page .ibh-footer__bottom p {
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.ibh-page .ibh-cards { --ibh-cols: 3; }
	.ibh-page .ibh-nav { gap: 22px; }
}

@media (max-width: 960px) {
	.ibh-page .ibh-hero__grid,
	.ibh-page .ibh-ia__grid,
	.ibh-page .ibh-team__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.ibh-page .ibh-hero__panel {
		padding: 56px 40px;
	}

	.ibh-page .ibh-hero__visual {
		width: 100%;
		max-width: 440px;
	}

	.ibh-page .ibh-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.ibh-page {
		--ibh-header-h: 112px;
		--ibh-panel-radius: 24px;
	}

	.ibh-page .ibh-wrap {
		padding-inline: 16px;
	}

	.ibh-page .ibh-header__in {
		flex-wrap: wrap;
		gap: 0 16px;
		min-height: 0;
		padding-top: 10px;
	}

	.ibh-page .ibh-header__logo img {
		height: 42px;
	}

	.ibh-page .ibh-header__cta {
		margin-left: auto;
		min-height: 40px;
		padding: 8px 14px;
		font-size: 14px;
	}

	.ibh-page .ibh-nav {
		order: 3;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		margin: 8px 0 0;
		padding: 8px 0 10px;
		border-top: 1px solid var(--ibh-gris-02);
		overflow-x: auto;
	}

	.ibh-page .ibh-nav__link {
		font-size: 14px;
		white-space: nowrap;
	}

	.ibh-page .ibh-hero {
		padding: 12px 12px 0;
	}

	.ibh-page .ibh-hero__panel {
		padding: 44px 20px;
	}

	.ibh-page .ibh-morph {
		padding: 28px 24px 32px;
	}

	.ibh-page .ibh-pictos {
		gap: 16px;
	}

	.ibh-page .ibh-pictos img {
		height: 32px;
	}

	.ibh-page .ibh-section {
		padding: 64px 0;
	}

	.ibh-page .ibh-intro {
		padding: 56px 0;
	}

	.ibh-page .ibh-h2--center {
		margin-bottom: 40px;
	}

	.ibh-page .ibh-cards { --ibh-cols: 2; --ibh-gap: 16px; }

	.ibh-page .ibh-identity {
		padding: 28px;
	}

	.ibh-page .ibh-welcome {
		padding: 0 12px 64px;
	}

	.ibh-page .ibh-welcome__panel {
		padding: 56px 20px;
	}

	.ibh-page .ibh-actions .ibh-btn {
		flex: 1 1 100%;
	}
}

@media (max-width: 600px) {
	.ibh-page .ibh-header {
		top: 0;
	}
}

@media (max-width: 520px) {
	.ibh-page .ibh-cards { --ibh-cols: 1; }

	.ibh-page .ibh-card__img {
		aspect-ratio: 16 / 9;
	}

	.ibh-page .ibh-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

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

	.ibh-page *,
	.ibh-page *::before,
	.ibh-page *::after {
		animation: none !important;
		transition: none !important;
	}
}
