/* =========================================================
   Critical Building — feuille de style principale
   ========================================================= */

/* ---------- 1. Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; }

/* ---------- 2. Design tokens ---------- */
:root {
	--cb-blue: #3a6bb4;
	--cb-blue-dark: #315893;
	--cb-navy: #204171;
	--cb-navy-2: #315c98;
	--cb-red: #ea384c;
	--cb-gray-lightest: #fafafa;
	--cb-gray-light: #f8f8f8;
	--cb-gray-line: #ececec;
	--cb-gray-border: #d4d4d4;
	--cb-text: #2a2f36;
	--cb-text-light: #888888;
	--cb-white: #ffffff;

	--cb-font-heading: 'Century Gothic', Futura, Helvetica, Arial, sans-serif;
	--cb-font-body: 'Lato', Helvetica, Arial, sans-serif;

	--cb-container: 1200px;
	--cb-section-pad: 50px;
	--cb-radius: 2px;
}

@media (max-width: 767px) {
	:root { --cb-section-pad: 56px; }
}

body {
	font-family: var(--cb-font-body);
	color: var(--cb-text);
	font-size: 16px;
	line-height: 1.65;
	background: var(--cb-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--cb-font-heading);
	font-weight: 400;
	line-height: 1.25;
	color: var(--cb-navy);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.cb-skip-link {
	position: absolute; top: -50px; left: 0;
	background: var(--cb-blue); color: #fff; padding: 12px 20px; z-index: 10000;
	transition: top .2s ease;
}
.cb-skip-link:focus { top: 0; position: fixed; }

/* ---------- 3. Layout ---------- */
.cb-container {
	max-width: var(--cb-container);
	margin: 0 auto;
	padding: 0 24px;
}
.cb-container--narrow { 
	max-width: 900px; 
}

.cb-section { padding: var(--cb-section-pad) 0; }
.cb-bg-white { background: var(--cb-gray-light); }
.cb-bg-dark { background: var(--cb-navy-2); color: #fff; }
.cb-bg-dark h2, .cb-bg-dark h3 { color: #fff; }

/* Titre de section avec grand chiffre décoratif en fond ("01", "02", "03") */
.cb-section-head {
	position: relative;
	z-index: 2;
	margin-bottom: 40px;
}
.cb-section-head__number {
	position: absolute;
	top: -0.3em; left: -7%;
	z-index: 1;
	font-family: var(--cb-font-heading);
	font-size: clamp(70px, 9vw, 142px);
	font-weight: 400;
	line-height: 1;
	color: #f7f7f7;
	user-select: none;
	pointer-events: none;
}
.cb-section-head--muted .cb-section-head__number { color: #eaeaea; }
.cb-section-head--dark .cb-section-head__number { color: rgba(255,255,255,.08); }
.cb-section-head__title {
	position: relative;
	z-index: 2;
	font-family: var(--cb-font-heading);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: -.02em;
	font-size: clamp(26px, 3vw, 38px);
	color: var(--cb-blue);
	margin: 0;
}
.cb-section-head--dark .cb-section-head__title { color: #fff; }

/* Ancien composant, conservé pour les titres simples sans chiffre (CTA, intros) */
.cb-heading-numbered span {
	display: inline-block;
	font-family: var(--cb-font-heading);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: -.645px;
	font-size: 38px;
	line-height: 43px;
	color: var(--cb-blue);
}
.cb-heading-numbered--light span { color: #fff; }

/* ---------- 4. Boutons ---------- */
.cb-btn {
	display: inline-block;
	padding: 15px 34px;
	background: var(--cb-blue);
	color: #fff;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	border-radius: var(--cb-radius);
	transition: background-color .2s ease, transform .2s ease;
}
.cb-btn:hover { background: var(--cb-navy); transform: translateY(-1px); }
.cb-btn--inverse { background: transparent; border: 1px solid #fff; color: #fff; }
.cb-btn--inverse:hover { background: #fff; color: var(--cb-navy); }
.cb-btn--mt { margin-top: 28px; }

.cb-btn-plus {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--cb-font-heading); font-size: 16px; font-weight: 400;
	line-height: 16px; letter-spacing: normal; text-transform: none;
}
.cb-btn-plus svg { width: 24px; height: 24px; flex-shrink: 0; }
.cb-btn-plus__label { border-bottom: 1px solid currentColor; padding-bottom: 6px; }

.cb-back-link { display: inline-block; margin-bottom: 18px; color: var(--cb-blue); font-weight: 700; font-size: 14px; }

/* ---------- 5. Header / navigation ---------- */
.cb-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	background: #fff;
	transition: box-shadow .25s ease;
}
.cb-header.is-scrolled {
	box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.cb-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	padding: 15px 0 15px;
}
.cb-logo img { width: 220px; height: auto; max-width: 44vw; }

.cb-nav__list { display: flex; align-items: center; gap: 6px; }
.cb-nav__list > li { position: static; }
.cb-nav__list > li > a {
	display: block; padding: 10px 16px;
	font-family: var(--cb-font-heading); font-size: 14px; font-weight: 400;
	color: #000;
	position: relative;
}
.cb-nav__list > li > a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
	background: var(--cb-blue); transform: scaleX(0); transform-origin: left;
	transition: transform .2s ease;
}
.cb-nav__list > li > a:hover::after,
.cb-nav__list > li.current-menu-item > a::after,
.cb-nav__list > li.current_page_item > a::after { transform: scaleX(1); }

/* Sous-menu "Métier" : bandeau plein largeur qui se déplie sous le header (pas une petite boîte flottante) */
.cb-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; right: 0;
	display: flex; align-items: center; justify-content: center;
	background: #ececec; border-bottom: 1px solid #ececec;
	max-height: 0; overflow: hidden; opacity: 0;
	transition: max-height .25s ease, opacity .2s ease;
}
.cb-nav__list li.menu-item-has-children:hover > .sub-menu,
.cb-nav__list li.menu-item-has-children:focus-within > .sub-menu {
	max-height: 120px; opacity: 1;
}
.cb-nav__list .sub-menu li {
	position: relative;
	padding: 20px 40px;
}
.cb-nav__list .sub-menu li:not(:first-child)::before {
	content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 2px; background: #b3b3b3;
}
.cb-nav__list .sub-menu a {
	display: block; font-family: var(--cb-font-heading); font-size: 14px; font-weight: 400; color: #000;
	position: relative; padding-bottom: 4px;
}
.cb-nav__list .sub-menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--cb-blue); transform: scaleX(0); transform-origin: left;
	transition: transform .2s ease;
}
.cb-nav__list .sub-menu a:hover::after { transform: scaleX(1); }

.cb-nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; }
.cb-nav-toggle span { display: block; height: 2px; background: var(--cb-navy); border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.cb-nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cb-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.cb-nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero / slider accueil ---------- */
.cb-hero {
	position: relative; height: 100vh; min-height: 560px;
	overflow: hidden; display: flex; align-items: flex-start; color: #fff;
}
.cb-hero__slides { position: absolute; inset: 0; }
.cb-hero__slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: 50% 50%;
	opacity: 0; transition: opacity 1.2s ease;
}
.cb-hero__slide.is-active { opacity: 1; }
.cb-hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(15,30,55,.72) 0%, rgba(15,30,55,.35) 55%, rgba(15,30,55,.15) 100%);
}
.cb-hero__content {
	position: relative; z-index: 2; align-self: flex-start;
	width: 100%; margin-top: 200px; padding-left: 50px;
}
.cb-hero__title {
	color: #fff; text-shadow: 0 -3px 6px rgba(0,0,0,.09);
	font-family: var(--cb-font-heading); font-weight: 400; text-transform: uppercase;
	letter-spacing: -.01em; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.15;
	max-width: 640px; text-align: left;
}

/* Flèches du slider : regroupées en bas à droite, boutons blancs / icône bleue */
.cb-hero__nav { position: absolute; right: 0; bottom: 0; z-index: 3; display: flex; }
.cb-hero__arrow {
	width: 90px; height: 80px;
	display: flex; align-items: center; justify-content: center;
	background: #fff; color: var(--cb-blue);
	transition: background-color .2s ease;
}
.cb-hero__arrow:hover { background: var(--cb-gray-light); }
.cb-hero__arrow svg { width: 22px; height: 22px; }
.cb-hero__arrow--prev svg { transform: rotate(180deg); }

.cb-hero__dots { position: absolute; bottom: 16px; left: 50px; z-index: 3; display: flex; gap: 10px; }
.cb-hero__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background-color .2s ease, transform .2s ease; }
.cb-hero__dot.is-active { background: #fff; transform: scale(1.2); }

/* ---------- 7. Qui sommes-nous ---------- */
.cb-qsn__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px 40px; align-items: start; }
.cb-qsn__head { margin-bottom: 0; }
.cb-qsn__body p {
	margin-bottom: 20px; color: #000;
	font-family: var(--cb-font-heading); font-size: 16px; font-weight: 400;
	line-height: 19px; letter-spacing: -.24px;
}
.cb-qsn__body p:last-of-type { margin-bottom: 0; }
@media (max-width: 767px) {
	.cb-qsn__grid { grid-template-columns: 1fr; }
	.cb-section-head { margin-bottom: 24px; }
}

/* ---------- 8. Nos métiers ---------- */
.cb-metiers__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cb-metier-card { position: relative; display: block; overflow: hidden; border-radius: var(--cb-radius); min-height: 420px; background: var(--cb-navy); }
.cb-metier-card__img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .5s ease; }
.cb-metier-card:hover .cb-metier-card__img { transform: scale(1.06); }
.cb-metier-card__overlay {
	position: absolute; z-index: 2; right: 0; bottom: 0; max-width: 380px;
	background: rgba(58,107,180,.9);
	padding: 36px 40px; display: flex; flex-direction: column; gap: 10px;
	color: #fff; text-align: right;
}
.cb-metier-card__overlay h3 {
	color: #fff; text-transform: uppercase; font-weight: 400;
	font-size: 22px; line-height: 27px; letter-spacing: -.33px; margin: 0;
}
.cb-metier-card__overlay p {
	color: #fff; font-weight: 400;
	font-size: 15px; line-height: 18px; letter-spacing: -.22px; margin: 0;
}
.cb-metier-card .cb-btn-plus { align-self: flex-end; color: #fff; margin-top: 6px; }
@media (max-width: 480px) {
	.cb-metier-card__overlay { max-width: 100%; }
}

/* ---------- 9. Nos clients ---------- */
.cb-clients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; margin-top: 40px; }
.cb-client-card { position: relative; display: block; overflow: hidden; border-radius: var(--cb-radius); background: #f4f4f4; }
.cb-client-card__img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s ease; }
.cb-client-card:hover .cb-client-card__img { transform: scale(1.06); }
.cb-client-card__body { position: relative; z-index: 2; margin-top: -40px; background: rgba(255,255,255,.95); padding: 24px 26px 22px; }
.cb-client-card__body h3 {
	color: var(--cb-blue); font-family: var(--cb-font-heading); text-transform: none; font-weight: 400;
	font-size: 22px; line-height: 27px; letter-spacing: -.33px; margin: 0 0 12px;
}
.cb-client-card__body p {
	color: #000; font-family: var(--cb-font-heading); font-weight: 400;
	font-size: 15px; line-height: 18px; letter-spacing: -.22px; margin: 0 0 12px;
}
.cb-client-card .cb-btn-plus { color: var(--cb-blue); }

.cb-quote {
	position: relative;
	width: 70%; max-width: 720px; margin: 67px auto 40px; text-align: center;
	font-family: var(--cb-font-body); font-weight: 400;
	font-size: 26px; color: #fff; line-height: 1.15;
	letter-spacing: .04em;
}
.cb-quote::before, .cb-quote::after {
	content: ""; position: absolute; width: 24px; height: 22px;
	background: url(../img/quote-mark.svg) no-repeat center / contain;
	/* opacity: .55; */
}
.cb-quote::before { top: -8px; left: -3%; }
.cb-quote::after { bottom: -8px; right: 0%; transform: rotate(180deg); }
@media (max-width: 767px) {
	.cb-quote { width: 100%; font-size: 19px; }
}
.cb-clients__cta { text-align: center; margin-top: 44px; }

/* ---------- 10. Partenaires ---------- */
.cb-partenaires__grid {
	display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 30px;
}
.cb-partenaires__item { display: flex; align-items: center; justify-content: center; }
.cb-partenaires__logo { width: 100%; height: auto; }
@media (max-width: 991px) {
	.cb-partenaires__grid { grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
}
@media (max-width: 480px) {
	.cb-partenaires__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 11. Bandeau titre (pages simples) ---------- */
.cb-page-band {
	padding: 168px 0 60px; background: var(--cb-gray-light);
	background-size: cover; background-position: center;
}
.cb-page-band__title { font-size: clamp(28px, 3.6vw, 43px); color: var(--cb-navy); }
.cb-page-band__subtitle { margin-top: 10px; color: var(--cb-text-light); font-size: 17px; }

.cb-page-content .cb-heading-numbered { margin-bottom: 20px; display: block; }
.cb-page-content h2 { font-size: 24px; margin: 36px 0 16px; }
.cb-page-content h3 { font-size: 19px; margin: 26px 0 12px; color: var(--cb-blue); }
.cb-page-content p { margin-bottom: 16px; }
.cb-page-content ul { margin: 0 0 20px; padding-left: 0; }
.cb-page-content ul li {
	position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--cb-text);
}
.cb-page-content ul li::before {
	content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--cb-blue);
}
.cb-page-content__children { margin-top: 48px; }

/* ---------- 12. Réalisations ---------- */
/* Photo pleine largeur sans teinte, suivie d'un bandeau titre séparé (mêmes classes .cb-rejoindre-title que Nous rejoindre) */
.cb-real-hero { height: 583px; background-color: var(--cb-navy); background-size: cover; background-position: 50%; }
@media (max-width: 767px) {
	.cb-real-hero { height: 320px; }
}
.cb-realisations__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.cb-real-card__media { position: relative; overflow: hidden; border-radius: var(--cb-radius); }
.cb-real-card__img { width: 100%; height: 260px; object-fit: cover; transition: transform .5s ease; }
.cb-real-card:hover .cb-real-card__img { transform: scale(1.06); }
.cb-real-card__overlay {
	position: absolute; inset: 0; background: rgba(32,65,113,0);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	opacity: 0; transition: opacity .25s ease, background-color .25s ease; padding: 20px;
}
.cb-real-card:hover .cb-real-card__overlay { opacity: 1; background: rgba(32,65,113,.88); }
.cb-real-card__gallery-btn { color: #fff; margin-bottom: 14px; }
.cb-real-card__infos { color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.8; }
.cb-real-card__title { margin-top: 18px; font-size: 18px; color: var(--cb-navy); }
.cb-real-card__subtitle { color: var(--cb-text-light); font-size: 14px; margin-top: 4px; }

.cb-real-meta { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--cb-gray-line); }
.cb-real-meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--cb-text-light); margin-bottom: 4px; }
.cb-real-meta dd { font-weight: 700; color: var(--cb-navy); margin: 0; }
.cb-real-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.cb-real-gallery__img { border-radius: var(--cb-radius); height: 200px; width: 100%; object-fit: cover; }

.cb-lightbox {
	position: fixed; inset: 0; z-index: 2000; background: #fff;
	display: flex; align-items: center; justify-content: center; padding: 40px;
}
.cb-lightbox[hidden] { display: none; }
/* Le défilement de la page est verrouillé tant que la modale est ouverte */
body.cb-lightbox-open { overflow: hidden; }
.cb-lightbox__slide { display: none; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.cb-lightbox__slide.is-active { display: flex; }
.cb-lightbox__slide img { max-width: 90vw; max-height: 75vh; object-fit: contain; border-radius: 2px; }
.cb-lightbox__caption {
	margin: 0; color: var(--cb-blue); font-family: var(--cb-font-heading);
	font-size: 14px; letter-spacing: .03em; text-align: center;
}
.cb-lightbox__close { position: fixed; top: 24px; right: 30px; color: var(--cb-blue); z-index: 2001; }
.cb-lightbox__close svg { width: 28px; height: 28px; }
.cb-lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); color: var(--cb-blue); z-index: 2001; }
.cb-lightbox__nav svg { width: 30px; height: 30px; }
.cb-lightbox__nav--prev { left: 24px; }
.cb-lightbox__nav--prev svg { transform: rotate(180deg); }
.cb-lightbox__nav--next { right: 24px; }
.cb-lightbox__counter {
	position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2001;
	color: var(--cb-blue); font-family: var(--cb-font-heading); font-size: 14px; letter-spacing: .05em;
}

/* ---------- 13. Offres d'emploi ---------- */

/* En-tête : photo pleine largeur teintée de bleu, suivie d'un bandeau titre séparé */
.cb-rejoindre-hero {
	position: relative; height: 500px; margin-top: 100px;
	background-color: var(--cb-navy); background-size: cover; background-position: 50% 20%;
}
.cb-rejoindre-hero__tint { position: absolute; inset: 0; background: rgba(58,107,180,.64); }
.cb-rejoindre-title { padding: 60px 0 40px; }
.cb-rejoindre-title__text {
	color: var(--cb-blue); text-align: left; text-transform: uppercase; font-weight: 400;
	font-size: 43px; line-height: 50px; letter-spacing: -.645px; margin: 0;
}

/* Liste d'offres injectée par le widget externe WelcomeKit/WTTJ (#welcomekit-embed,
   voir page-nous-rejoindre.php) — classes générées par leur script (assets/embed.js),
   pas les nôtres, d'où le sélecteur préfixé #welcomekit-embed plutôt que .cb-*.
   Repris visuellement à l'identique de l'ancienne grille de cartes CPT (3 colonnes,
   fond gris clair, titre bleu, chips blancs avec icône), sans photo par offre :
   l'API WelcomeKit ne fournit aucune image. */
#welcomekit-embed .welcomekit-jobs-list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
#welcomekit-embed .welcomekit-jobs-list-item-link {
	display: block; background: var(--cb-gray-light); padding: 35px;
	transition: box-shadow .2s ease, transform .2s ease;
}
#welcomekit-embed .welcomekit-jobs-list-item-link:hover { box-shadow: 0 14px 34px rgba(32,65,113,.14); transform: translateY(-3px); }
#welcomekit-embed .welcomekit-job-name {
	color: var(--cb-blue); font-family: var(--cb-font-heading); font-weight: 400; text-transform: none;
	font-size: 22px; line-height: 25px; letter-spacing: 2px; margin: 0 0 15px;
}
#welcomekit-embed .welcomekit-job-infos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#welcomekit-embed .welcomekit-job-infos li {
	position: relative; display: flex; align-items: center; background: #fff; padding: 10px 15px 10px 43px;
	color: #000; font-family: var(--cb-font-heading); font-size: 14px; line-height: 19px;
}
#welcomekit-embed .welcomekit-job-infos li::before {
	content: ""; position: absolute; left: 15px; top: 50%; width: 18px; height: 18px;
	transform: translateY(-50%);
	background-repeat: no-repeat; background-position: center; background-size: contain;
}
#welcomekit-embed .welcomekit-job-department::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
#welcomekit-embed .welcomekit-job-officeCity::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
#welcomekit-embed .welcomekit-job-contractType::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E");
}
#welcomekit-embed .welcomekit-warning {
	text-align: center; color: var(--cb-text-light); font-family: var(--cb-font-heading); font-size: 16px;
	padding: 40px 0;
}

@media (max-width: 991px) {
	#welcomekit-embed .welcomekit-jobs-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.cb-rejoindre-hero { height: 300px; margin-top: 90px; }
	.cb-rejoindre-title__text { font-size: 30px; line-height: 36px; }
	#welcomekit-embed .welcomekit-jobs-list { grid-template-columns: 1fr; }
}

/* ---------- 14. Contact ---------- */
.cb-contact-hero { height: 583px; background-color: var(--cb-navy); background-size: cover; background-position: 50%; }

.cb-contact-formulaire { padding: 0; }
.cb-contact-grid {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: .5fr 1fr;
	margin-top: -130px;
}

.cb-contact-coords {
	background: linear-gradient(218deg, #3a6bb4, #315893 60%, #204171);
	padding: 69px 44px 60px;
}
.cb-contact-coords__item { margin-bottom: 40px; }
.cb-contact-coords__label {
	color: #ccc; text-transform: uppercase; font-family: var(--cb-font-heading);
	font-size: 12px; line-height: 16px; letter-spacing: 1px; margin-bottom: 12px;
}
.cb-contact-coords__value, .cb-contact-coords__value a {
	color: #fff; font-family: var(--cb-font-heading); font-size: 18px; line-height: 32px;
}
.cb-contact-coords__social { display: inline-flex; margin-top: 75px; color: #fff; }
.cb-contact-coords__social svg { width: 24px; height: 24px; }

.cb-contact-form-panel { background: #fcfcfc; padding: 44px 60px 50px; }
.cb-contact-form-panel .wpcf7-form label {
	display: block; color: var(--cb-blue); text-transform: uppercase; font-family: var(--cb-font-heading);
	font-size: 12px; font-weight: 400; line-height: 16px; letter-spacing: 1px;
	margin-top: 30px; margin-bottom: 15px;
}
.cb-contact-form-panel .wpcf7-form label:first-child { margin-top: 0; }
.cb-contact-form-panel .wpcf7-form input:not([type=submit]),
.cb-contact-form-panel .wpcf7-form textarea {
	width: 100%; background: none; border: none; border-bottom: 2px solid var(--cb-gray-line);
	border-radius: 0; padding: 0 0 15px; color: var(--cb-text-light);
	font-family: var(--cb-font-body); font-weight: 300; font-size: 16px; line-height: 18px;
}
.cb-contact-form-panel .wpcf7-form textarea { min-height: 100px; margin-bottom: 20px; }
.cb-contact-form-panel .wpcf7-form input[type=submit] { margin-top: 20px; }

.cb-contact-statement {
	text-align: center; padding-top: 100px;
	font-family: var(--cb-font-heading); font-size: 27px; line-height: 37px; letter-spacing: 2.25px; color: var(--cb-text);
}
.cb-contact-statement p { margin: 0 0 20px; }
.cb-contact-statement p:last-child { margin-bottom: 0; }

.cb-contact-map-section { padding: 130px 0 100px; }
.cb-map { height: 600px; border-radius: var(--cb-radius); overflow: hidden; background: var(--cb-gray-light); }

@media (max-width: 767px) {
	.cb-contact-hero { height: 320px; }
	.cb-contact-grid { grid-template-columns: 1fr; margin-top: 0; }
	.cb-contact-form-panel { padding: 40px 24px; }
	.cb-contact-coords { padding: 40px 24px; }
	.cb-contact-statement { padding-top: 56px; font-size: 21px; line-height: 30px; }
	.cb-contact-map-section { padding: 56px 0; }
}

.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=tel], .wpcf7-form textarea {
	width: 100%; padding: 20px 24px; border: 1px solid var(--cb-gray-border); border-radius: var(--cb-radius);
	background: #fff; font-family: var(--cb-font-body); font-weight: 300; font-size: 16px; line-height: 18px;
	color: var(--cb-text-light);
	transition: border-color .2s ease, background-color .2s ease;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--cb-blue); background: #fff; }
.wpcf7-form textarea { min-height: 160px; resize: vertical; }
.wpcf7-form input[type=submit] {
	padding: 15px 36px; background: var(--cb-blue); color: #fff; border-radius: var(--cb-radius); border: 0;
	font-family: var(--cb-font-heading); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	transition: background-color .2s ease;
}
.wpcf7-form input[type=submit]:hover { background: var(--cb-navy); }
.wpcf7-form .wpcf7-not-valid-tip { color: var(--cb-red); font-size: 13px; margin-top: 6px; }
.wpcf7-form .wpcf7-response-output { margin-top: 20px; padding: 14px 18px; border-radius: var(--cb-radius); border: 1px solid var(--cb-gray-border); }
.wpcf7-mail-sent-ok { border-color: #2e7d32 !important; color: #2e7d32; }
.wpcf7-validation-errors, .wpcf7-mail-sent-ng { border-color: var(--cb-red) !important; color: var(--cb-red); }

.captcha-image { border: 1px solid var(--cb-gray-border); width: 100%; }

/* ---------- 15. CTA "nous contacter" (pied de la plupart des pages) ---------- */
.cb-cta { background: #fff; text-align: center; }
.cb-cta .cb-heading-numbered { display: block; margin-bottom: 20px; text-align: left; }
.cb-cta .cb-heading-numbered span { color: var(--cb-blue); }
.cb-cta__intro {
	margin: 0; color: var(--cb-text-light); font-family: var(--cb-font-heading);
	font-size: 16px; line-height: 19px; letter-spacing: -.24px; text-align: left;
}
.cb-cta .wpcf7-form { text-align: left; margin-top: 88px; }

.cb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cb-form-cell--full { grid-column: 1 / -1; }
.cb-form-submit { margin-top: 20px; }
@media (max-width: 600px) {
	.cb-form-grid { grid-template-columns: 1fr; }
	.cb-cta .wpcf7-form { margin-top: 50px; }
}

/* ---------- 16. Footer ---------- */
.cb-footer { background: var(--cb-navy-2); color: #ccc; padding-top: 70px; font-family: var(--cb-font-heading); }
.cb-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 50px; }
.cb-footer .footer-heading { color: #fff; font-weight: 400; font-size: 24px; letter-spacing: .02em; margin-bottom: 22px; text-transform: uppercase;}
.cb-footer__infos li { display: flex; align-items: center; margin-bottom: 20px; }
.cb-footer__infos li:last-child { margin-bottom: 0; }
.cb-footer__infos svg { width: 20px; height: 20px; margin-right: 15px; flex-shrink: 0; color: #fff; }
.cb-footer__infos a, .cb-footer__infos span { color: #ccc; }
.cb-footer__infos a:hover { text-decoration: underline; }
.cb-footer__linkedin { display: inline-flex; align-items: center; color: #fff; }
.cb-footer__linkedin svg { width: 24px; height: 24px; margin-right: 15px; }
.cb-footer__list li { margin-bottom: 15px; }
.cb-footer__list a { color: #ccc; }
.cb-footer__list a:hover { text-decoration: underline; }
.cb-footer__bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0; margin-top: 10px; }
.cb-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #ffffff; }
.cb-footer__bottom-inner a:hover { text-decoration: underline; }
.cb-footer__legal-links { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- 16a. Pages métier ---------- */
.cb-metier-hero {
	height: 583px; background-color: var(--cb-navy); background-size: cover; background-position: 50%;
	display: flex; align-items: center; justify-content: center; color: #fff;
}
.cb-metier-hero__title {
	color: #fff; text-align: center; text-transform: uppercase; font-weight: 400;
	font-size: 43px; line-height: 43px; letter-spacing: -.645px; margin: 0;
}

.cb-metier-body { padding-top: 100px; }
.cb-metier-block { margin-bottom: 0; }
.cb-metier-block:last-child { margin-bottom: 0; }

.cb-metier-block__heading {
	color: var(--cb-blue); font-family: var(--cb-font-heading); font-weight: 400; text-transform: uppercase;
	font-size: 28px; line-height: 28px; letter-spacing: -.42px; margin: 0 0 20px;
}
.cb-metier-block__text p {
	color: #000; font-family: var(--cb-font-heading); font-weight: 400;
	font-size: 16px; line-height: 19px; letter-spacing: -.24px; margin: 0 0 20px;
}
.cb-metier-block__text p:last-child { margin-bottom: 0; }
.cb-metier-block__text ul { margin: 0 0 20px; padding-left: 0; }
.cb-metier-block__text ul li {
	position: relative; padding-left: 22px;
	color: #000; font-family: var(--cb-font-heading); font-size: 16px; line-height: 19px; letter-spacing: -.24px;
}
.cb-metier-block__text ul li::before {
	content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; background: var(--cb-blue);
}
.cb-metier-block__image img { width: 100%; height: auto; display: block; }

.cb-metier-block--side { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.cb-metier-block--side .cb-metier-block__text { padding: 40px 60px; }

@media (max-width: 767px) {
	.cb-metier-hero { height: 380px; }
	.cb-metier-body { padding-top: 56px; }
	.cb-metier-block--side { grid-template-columns: 1fr; gap: 0; }
	.cb-metier-block--side .cb-metier-block__text { padding: 24px 24px; max-width: 100%; }
}

/* ---------- 16b. Page Profil ---------- */
.cb-profil-hero {
	position: relative; height: 583px;
	background-color: var(--cb-navy); background-size: cover; background-position: 50%;
	display: flex; align-items: flex-end; justify-content: center;
	padding-bottom: 60px; color: #fff;
}
.cb-profil-hero__title {
	color: #fff; text-transform: uppercase; font-weight: 400; text-align: left;
	font-size: 43px; line-height: 50px; letter-spacing: -.645px; margin: 0;
}

.cb-profil-intro { padding: 50px 0 40px; }
.cb-profil-intro__row { margin-bottom: 20px; }
.cb-profil-intro__row:last-child { margin-bottom: 0; }
.cb-profil-intro__txt {
	color: #000; font-family: var(--cb-font-heading); font-weight: 400;
	font-size: 24px; line-height: 25px; letter-spacing: 2px;
}
.cb-profil-intro__txt--blue { color: var(--cb-blue); }

.cb-profil-vm { padding-top: 100px; }
.cb-profil-vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cb-profil-vm__card { position: relative; overflow: hidden; min-height: 460px; }
.cb-profil-vm__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cb-profil-vm__card::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: var(--cb-blue); opacity: 0;
	transition: opacity .3s ease;
}
.cb-profil-vm__card:hover::after,
.cb-profil-vm__card:focus-within::after { opacity: .85; }
.cb-profil-vm__overlay {
	position: relative; z-index: 2; height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 40px;
}
.cb-profil-vm__title {
	color: #fff; text-shadow: 2px 2px 6px rgba(0,0,0,.2);
	font-family: var(--cb-font-heading); font-weight: 400; text-transform: uppercase;
	font-size: 38px; line-height: 43px; letter-spacing: -.645px; margin: 0 0 22px;
}
.cb-profil-vm__text {
	display: none; flex-direction: column; align-items: center; gap: 14px;
	width: 70%; opacity: 0; transition: opacity .2s ease;
}
.cb-profil-vm__text p {
	color: #fff; font-family: var(--cb-font-body); font-size: 16px; line-height: 19px; letter-spacing: -.24px; margin: 0;
}
.cb-profil-vm__title--inline { display: none; }
.cb-profil-vm__card:hover .cb-profil-vm__overlay > .cb-profil-vm__title,
.cb-profil-vm__card:focus-within .cb-profil-vm__overlay > .cb-profil-vm__title { display: none; }
.cb-profil-vm__card:hover .cb-profil-vm__text,
.cb-profil-vm__card:focus-within .cb-profil-vm__text { display: flex; opacity: 1; }
.cb-profil-vm__card:hover .cb-profil-vm__title--inline,
.cb-profil-vm__card:focus-within .cb-profil-vm__title--inline { display: block; }

@media (max-width: 767px) {
	.cb-profil-hero { height: 380px; padding-bottom: 30px; }
	.cb-profil-vm__grid { grid-template-columns: 1fr; }
	/* Pas de survol tactile fiable : le texte et le filtre bleu restent affichés en permanence */
	.cb-profil-vm__card::after { opacity: .85; }
	.cb-profil-vm__overlay > .cb-profil-vm__title { display: none; }
	.cb-profil-vm__text { display: flex; opacity: 1; width: 90%; }
	.cb-profil-vm__title--inline { display: block; }
}

/* ---------- 17. Animations ---------- */
.cb-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.cb-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 991px) {
	.cb-metiers__grid, .cb-clients__grid, .cb-realisations__grid { grid-template-columns: repeat(2, 1fr); }
	.cb-contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.cb-nav {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
		background: #fff; padding: 110px 30px 40px; box-shadow: -10px 0 30px rgba(0,0,0,.15);
		transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
	}
	.cb-nav.is-open { transform: translateX(0); }
	.cb-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
	.cb-nav__list > li { width: 100%; }
	.cb-nav__list > li > a { padding: 12px 4px; }
	.cb-nav__list .sub-menu {
		position: static; opacity: 1; max-height: none; overflow: visible; display: none;
		flex-direction: column; align-items: flex-start;
		background: none; border-bottom: 0;
		padding-left: 14px; width: 100%;
	}
	.cb-nav__list li.menu-item-has-children.is-open > .sub-menu { display: flex; }
	.cb-nav__list .sub-menu li { padding: 8px 0; width: 100%; }
	.cb-nav__list .sub-menu li:not(:first-child)::before { display: none; }
	.cb-nav-toggle { display: flex; }

	.cb-metiers__grid, .cb-clients__grid, .cb-realisations__grid { grid-template-columns: 1fr; }
	.cb-footer__grid { grid-template-columns: 1fr; padding-bottom: 30px; }
	.cb-footer__col--logo { justify-content: flex-start; }
	.cb-hero__title { max-width: 100%; }
	.cb-real-gallery { grid-template-columns: 1fr 1fr; }
}
