/* =========================================================
   Groupe Jénome — Design System
   Palette source : cahier des charges §10 (charte graphique)
   ========================================================= */

:root {
	--gj-navy: #183d5c;
	--gj-ink: #14213d;
	--gj-blue-dark: #2a3c58;
	--gj-mint: #2e9272;
	--gj-lime: #cbd92e;
	--gj-lime-dark: #b3c024;
	--gj-white: #ffffff;
	--gj-gray-50: #f8f5ef;
	--gj-gray-100: #efe8db;
	--gj-gray-300: #d8cbb3;
	--gj-gray-500: #8a7d68;
	--gj-gray-700: #574c3c;
	--gj-red: #c0392b;

	--gj-icon-blue: #2f6fed;
	--gj-icon-teal: #17a3ae;
	--gj-icon-lime: #9fc22e;
	--gj-icon-orange: #f2942d;

	--gj-font-heading: 'Source Sans 3', 'Poppins', 'Montserrat', sans-serif;
	--gj-font-body: 'Source Sans 3', 'Inter', sans-serif;

	--gj-radius-sm: 6px;
	--gj-radius-md: 12px;
	--gj-radius-lg: 20px;
	--gj-radius-pill: 999px;

	--gj-shadow-sm: 0 2px 8px rgba(20, 33, 61, .08);
	--gj-shadow-md: 0 8px 24px rgba(20, 33, 61, .12);
	--gj-shadow-lg: 0 20px 48px rgba(20, 33, 61, .18);

	--gj-container: 1440px;
	--gj-gutter: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--gj-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gj-navy);
	background: var(--gj-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.wp-block-image img { width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 .5em;
	color: var(--gj-navy);
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
header h1 { text-transform: uppercase; }
.gj-page-title { text-align: center; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gj-mint); outline-offset: 2px; }

/* ---------- Layout ---------- */
.gj-container {
	max-width: var(--gj-container);
	margin-inline: auto;
	padding-inline: var(--gj-gutter);
}
/* Fond beige du contenu de page, uniquement sur "Nos services"/"Qui sommes-nous" et leurs pages enfants. */
body.page-id-24 #gj-content .gj-container,
body.page-id-25 #gj-content .gj-container,
body.parent-pageid-24 #gj-content .gj-container {
	/* background: var(--gj-gray-50); */
}
/* Marge titre/bouton de la bande CTA, un peu plus généreuse sur ces mêmes pages. */
body.page-id-24 .gj-cta-band,
body.page-id-24 .is-style-bande-cta,
body.parent-pageid-24 .gj-cta-band,
body.parent-pageid-24 .is-style-bande-cta {
	gap: 32px;
}
/* Pas de marge sous le H1 sur ces mêmes pages (évite le liseré blanc entre le titre et le contenu). */
body.page-id-24 h1,
body.parent-pageid-24 h1 {
	margin: 0;
}
/* Premier paragraphe (intro) plus grand et en gras sur les pages de service (Impression, Digital, etc.). */
body.parent-pageid-24 .entry-content > p:first-child {
	font-size: 1.5rem;
	font-weight: 700;
}
.gj-section {
	padding-block: 50px;
}
.gj-section--dark { background: var(--gj-ink); color: var(--gj-white); }
.gj-section--dark h2, .gj-section--dark h3 { color: var(--gj-white); }
.gj-section--gray { background: var(--gj-gray-50); }
.gj-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 40px;
	max-width: var(--gj-container);
	margin-inline: auto;
	padding-inline: var(--gj-gutter);
}
.gj-section-head--top {
	align-items: flex-start;
	margin-bottom: 16px;
	margin-top: 50px;
}
.gj-eyebrow {
	font-family: var(--gj-font-heading);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: .0em;
	text-transform: uppercase;
	color: var(--gj-mint);
	margin: 0 0 8px;
}
.gj-section--dark .gj-eyebrow { color: var(--gj-lime); }
.gj-eyebrow--orange { color: var(--gj-icon-orange); }
.gj-eyebrow--blue { color: var(--gj-icon-blue); }
.gj-eyebrow--teal { color: var(--gj-icon-teal); }
.gj-eyebrow--lime { color: var(--gj-icon-lime); }
.gj-title-bar {
	display: inline-block;
	width: 56px;
	height: 4px;
	background: var(--gj-lime);
	border-radius: var(--gj-radius-pill);
	margin: 10px 0 0;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--gj-font-heading);
	font-weight: 400;
	font-size: 1rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 7px 14px;
	/* border-radius: var(--gj-radius-pill); */
	border: 2px solid transparent;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
	white-space: nowrap;
	border-radius: var(--gj-radius-md);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gj-lime); color: var(--gj-ink); }
.btn--primary:hover { background: var(--gj-lime-dark); color: var(--gj-ink); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: var(--gj-white); }
.btn--outline-light:hover { border-color: var(--gj-white); background: rgba(255,255,255,.08); }
.btn--outline-dark { background: transparent; border-color: var(--gj-navy); color: var(--gj-navy); }
.btn--outline-dark:hover { background: var(--gj-navy); color: var(--gj-white); }
.btn--outline-dark::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 4px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid var(--gj-navy);
	transition: border-left-color .15s ease;
}
.btn--outline-dark:hover::after { border-left-color: var(--gj-white); }
.btn--link { padding: 0; border-radius: 0; text-transform: none; font-size: .95rem; color: var(--gj-mint); }
.btn--link:hover { color: var(--gj-navy); }
.gj-readmore-btn {
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
	font-size: .95rem;
	color: var(--gj-mint);
	cursor: pointer;
}
.gj-readmore-btn:hover { color: var(--gj-navy); }
.gj-readmore-text.is-collapsed { display: none; }
.btn--sm { padding: 10px 20px; font-size: .75rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.gj-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--gj-white);
	box-shadow: var(--gj-shadow-sm);
	margin: 0;
	padding: 0;
	border-top: 1px solid transparent;
	border-bottom: 4px solid var(--gj-lime);
}
.gj-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	/* margin: 0; */
	padding-block: 16px;
}
.gj-logo { flex-shrink: 0; }
.gj-logo img { height: 56px; width: auto; max-width: none; }
@media (min-width: 1024px) {
	.gj-logo img { height: 88px; }
}
.gj-nav { display: none; }
.gj-nav__list { display: flex; align-items: center; gap: 65px; }
.gj-nav__item { position: relative; }
.gj-nav__item > a {
	font-family: var(--gj-font-heading);
	font-weight: 600;
	font-size: 1.05rem;
	text-transform: uppercase;
	color: var(--gj-navy);
	padding: 8px 0;
}
.gj-nav__item > a:hover { color: var(--gj-mint); }

.gj-nav__item.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 6px;
	margin-bottom: 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	opacity: .6;
	transform: rotate(45deg);
}

.gj-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	min-width: 230px;
	background: var(--gj-white);
	border-radius: var(--gj-radius-md);
	box-shadow: var(--gj-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.gj-nav__item.menu-item-has-children:hover > .sub-menu,
.gj-nav__item.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.gj-nav .sub-menu .gj-nav__item { width: 100%; }
.gj-nav .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--gj-radius-sm);
	font-family: var(--gj-font-body);
	font-weight: 500;
	font-size: .88rem;
	color: var(--gj-navy);
	white-space: nowrap;
}
.gj-nav .sub-menu a:hover { background: var(--gj-gray-50); color: var(--gj-mint); }

.gj-header__actions { display: flex; align-items: center; gap: 16px; }
.gj-menu-toggle {
	background: none;
	border: none;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
}
.gj-menu-toggle span { width: 24px; height: 2px; background: var(--gj-navy); border-radius: 2px; }
.gj-mobile-nav {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--gj-ink);
	z-index: 200;
	padding: 24px;
	overflow-y: auto;
}
.gj-mobile-nav.is-open { display: block; }
.gj-mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.gj-mobile-nav__close { background: none; border: none; color: var(--gj-white); font-size: 1.8rem; line-height: 1; }
.gj-mobile-nav .gj-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
.gj-mobile-nav .gj-nav__item { width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); }
.gj-mobile-nav .gj-nav__item > a { color: var(--gj-white); display: block; padding: 14px 0; }
.gj-mobile-nav .gj-nav__item.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	opacity: .6;
	transform: rotate(45deg);
}
.gj-mobile-nav .sub-menu {
	list-style: none;
	margin: 0 0 8px;
	padding-left: 16px;
	border-left: 2px solid rgba(255, 255, 255, .15);
}
.gj-mobile-nav .sub-menu .gj-nav__item { border-bottom: none; }
.gj-mobile-nav .sub-menu a { padding: 10px 0; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.gj-mobile-nav .sub-menu a:hover { color: var(--gj-lime); }

@media (min-width: 1024px) {
	.gj-nav { display: block; }
	.gj-menu-toggle { display: none; }
}

/* ---------- Breadcrumb ---------- */
.gj-breadcrumb {
	padding-block: 20px;
	font-size: .875rem;
	color: var(--gj-gray-500);
}
.gj-breadcrumb a { color: var(--gj-gray-500); }
.gj-breadcrumb a:hover { color: var(--gj-mint); }
.gj-breadcrumb__sep { margin: 0 8px; }
.gj-breadcrumb__current { color: var(--gj-navy); font-weight: 600; }

.gj-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 20px;
	font-size: .875rem;
	font-weight: 600;
	color: var(--gj-gray-500);
}
.gj-back-link:hover { color: var(--gj-mint); }

/* ---------- Hero (Accueil) ---------- */
.gj-hero {
	position: relative;
	background: var(--gj-ink);
	color: var(--gj-white);
	overflow: hidden;
	min-height: 600px;
	display: flex;
	align-items: flex-end;
}
.gj-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gj-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 33, 61, .92) 0%, rgba(20, 33, 61, .75) 40%, rgba(20, 33, 61, .25) 75%, rgba(20, 33, 61, 0) 100%);
}
.gj-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-block: 64px 64px;
}
.gj-hero__text { max-width: 900px; }
.gj-hero h1 { color: var(--gj-white); }
.gj-hero__subtitle { font-size: 1.1rem; font-weight: 600; margin-bottom: 28px; color: var(--gj-lime); }
.gj-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.gj-stats {
	position: relative;
	z-index: 2;
	margin-top: -64px;
	margin-bottom: -64px;
	margin-inline: auto;
	max-width: var(--gj-container);
	background: var(--gj-white);
	border-radius: var(--gj-radius-lg);
	box-shadow: var(--gj-shadow-lg);
	padding: 32px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.gj-stat { text-align: center; }
.gj-stat__icon { width: 70px; height: auto; margin-bottom: 10px; margin-inline: auto; }
.gj-stat__value { font-family: var(--gj-font-heading); font-size: 2rem; font-weight: 800; color: var(--gj-navy); text-align: center; }
.gj-stat__label { font-size: .875rem; color: var(--gj-gray-500); }
@media (min-width: 768px) {
	.gj-stats { grid-template-columns: repeat(4, 1fr); padding: 40px; }
}

.gj-stats--flow { position: static; margin-top: 0; margin-bottom: 0; }
@media (min-width: 1024px) {
	.gj-stats--flow { grid-template-columns: repeat(5, 1fr); }
}
.gj-stats--plain { background: transparent; box-shadow: none; padding: 0; }

.gj-feature-box {
	background: var(--gj-gray-50);
	border-radius: var(--gj-radius-lg);
	padding: 40px 44px;
}
.gj-feature-box h2 { margin-top: 0; margin-bottom: 24px; font-size: 1.4rem; }
.gj-feature-box ul { margin: 0; padding-left: 22px; }
.gj-feature-box li { margin-bottom: 14px; font-size: 1.05rem; line-height: 1.6; color: var(--gj-ink); }
.gj-feature-box li:last-child { margin-bottom: 0; }

/* ---------- Section "Notre ADN" ---------- */
.gj-adn-tinted { padding-block: 24px 64px; }
.gj-adn-tinted p { line-height: 1.7; }
.gj-adn-tinted .gj-stat__label { color: var(--gj-navy); }
.gj-adn-tinted .wp-block-columns { margin-top: 40px; column-gap: 80px; }
.gj-adn-tinted .wp-block-column:last-child .wp-block-image img { width: 100%; margin-inline: auto; }
.gj-adn-heading { text-align: center; margin: 0 0 36px; }
.gj-adn-heading h1 { margin: 0; font-weight: normal; }
.gj-adn-heading__lead { display: block; font-size: 1.4rem; font-weight: 600; color: var(--gj-navy); margin: 0 0 4px; }
.gj-adn-tinted .gj-adn-heading__title {
	display: block;
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	font-weight: 800;
	text-transform: uppercase;
	color: var(--gj-navy);
	margin: 0;
}

/* ---------- Titres de section (niveau H2) pages service ---------- */
.gj-section-heading { font-size: 2rem; }
.gj-stats--adn { margin-block: 40px; }
.gj-adn-closing { color: var(--gj-mint); font-weight: 700; font-size: 1.8rem; line-height: 1.7; margin-top: 32px; }

.gj-photo-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-block: 32px;
}
@media (min-width: 768px) {
	.gj-photo-row { grid-template-columns: repeat(4, 1fr); }
}
.gj-photo-row img { aspect-ratio: 4 / 3; object-fit: cover; }

.gj-cert-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-block: 32px;
	text-align: center;
}
@media (min-width: 768px) {
	.gj-cert-row { grid-template-columns: repeat(5, 1fr); }
}
.gj-cert-item__logo { height: 56px; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.gj-cert-item__label { margin-top: 10px; font-size: .85rem; font-weight: 600; color: var(--gj-navy); line-height: 1.4; }

/* ---------- Cards grid : 4 piliers ---------- */
.gj-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gj-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.gj-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.gj-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.gj-card {
	background: var(--gj-white);
	border: 1px solid var(--gj-gray-100);
	border-radius: var(--gj-radius-md);
	padding: 28px;
	box-shadow: var(--gj-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.gj-card:hover { transform: translateY(-4px); box-shadow: var(--gj-shadow-md); }
.gj-card__icon {
	width: 60px;
	height: 48px;
	border-radius: var(--gj-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gj-white);
	margin-bottom: 20px;
	font-size: 1.3rem;
}
.gj-card__icon img { width: 65px; height: 65px; object-fit: contain; }
.gj-card__icon--blue { /* background: var(--gj-icon-blue); */ }
.gj-card__icon--teal { /* background: var(--gj-icon-teal); */ }
.gj-card__icon--lime { /* background: var(--gj-icon-lime); */ }
.gj-card__icon--orange { /* background: var(--gj-icon-orange); */ }
.gj-card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.gj-card p { color: var(--gj-gray-500); font-size: .95rem; }

.gj-card--pilier { padding: 0; overflow: hidden; }
.gj-card__photo { position: relative; }
.gj-card__photo-img { width: 100%; height: 140px; object-fit: cover; display: block; }
.gj-card__badge {
	position: absolute;
	bottom: -24px;
	left: 20px;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 4px solid var(--gj-white);
	box-shadow: var(--gj-shadow-sm);
	background: var(--gj-white);
}
.gj-card--pilier .gj-card__body { padding: 32px 24px 24px; }
.gj-card--pilier { position: relative; border-top: 4px solid transparent; }
.gj-card--pilier-blue { border-top-color: var(--gj-icon-blue); }
.gj-card--pilier-teal { border-top-color: var(--gj-icon-teal); }
.gj-card--pilier-lime { border-top-color: var(--gj-icon-lime); }
.gj-card--pilier-orange { border-top-color: var(--gj-icon-orange); }
.gj-card--pilier-blue .btn--link { color: var(--gj-icon-blue); }
.gj-card--pilier-teal .btn--link { color: var(--gj-icon-teal); }
.gj-card--pilier-lime .btn--link { color: var(--gj-icon-lime); }
.gj-card--pilier-orange .btn--link { color: var(--gj-icon-orange); }

/* ---------- Secteurs (grille sombre) ---------- */
.gj-sectors-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) {
	.gj-sectors-layout { grid-template-columns: 400px 1fr; align-items: start; gap: 40px; }
}
.gj-sectors-layout__subtitle { margin-top: 12px; color: var(--gj-gray-300); }
.gj-sector-grid { display: flex; flex-direction: column; gap: 8px; }
.gj-sector-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.gj-sector-row .gj-sector { flex: 0 0 calc(50% - 4px); }
@media (min-width: 640px) {
	.gj-sector-row .gj-sector { flex: 0 0 calc(33.333% - 6px); }
}
@media (min-width: 1024px) {
	.gj-sector-row .gj-sector { flex: 0 0 calc((100% - 40px) / 6); }
	.gj-sector-row--top { justify-content: flex-end; }
}
.gj-sector {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: transparent;
	border: none;
	padding: 0;
	text-align: center;
	transition: transform .2s ease;
}
.gj-sector:hover { transform: translateY(-4px); }
.gj-sector:hover .gj-sector__icon { border-color: var(--gj-lime); background: rgba(203, 217, 46, .08); }
.gj-sector__icon {
	background: transparent;
	border: 2px solid var(--gj-icon-teal);
	border-top-width: .5px;
	border-bottom-width: 4px;
	border-radius: var(--gj-radius-md);
	/* padding: 28px; */
	/* margin-bottom: 10px; */
	font-size: 1.6rem;
	color: var(--gj-lime);
	display: flex;
	justify-content: center;
	transition: border-color .2s ease, background-color .2s ease;
}
.gj-sector__icon-img {
	width: 100px;
	height: auto;
	object-fit: contain;
	margin: 10px 5px;
}
.gj-sector__label {
	width: 100%;
	text-align: center;
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: .75rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--gj-white);
}

/* ---------- Réalisations (carrousel) ---------- */
.gj-carousel {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: none;
}
.gj-carousel::-webkit-scrollbar { display: none; }
.gj-carousel__item {
	scroll-snap-align: start;
	flex: 0 0 260px;
	background: var(--gj-white);
	border-radius: var(--gj-radius-lg);
	overflow: hidden;
	box-shadow: var(--gj-shadow-sm);
	border: 1px solid var(--gj-gray-100);
	transition: transform .3s ease, box-shadow .3s ease;
}
.gj-carousel__item:hover { transform: translateY(-6px); box-shadow: var(--gj-shadow-lg); }
.gj-carousel__media {
	position: relative;
	height: 150px;
	background: var(--gj-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gj-white);
	font-family: var(--gj-font-heading);
	font-weight: 700;
	overflow: hidden;
}
.gj-carousel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gj-carousel__item:hover .gj-carousel__media img { transform: scale(1.08); }
.gj-carousel__body { padding: 20px; }
.gj-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.gj-tag {
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: 4px 10px;
	border-radius: var(--gj-radius-pill);
	background: rgba(46, 146, 114, .1);
	color: var(--gj-mint);
}

/* ---------- Bande "Réalisations" en vert (pages service) ---------- */
.gj-realisations-band {
	background: var(--gj-lime);
	/* padding: 40px var(--gj-gutter); */
	/* border-radius: var(--gj-radius-lg); */
	max-width: none;
}
.gj-carousel-viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.gj-carousel--auto {
	display: flex;
	width: max-content;
	scroll-snap-type: none;
	animation: gj-actus-scroll 30s linear infinite;
}
.gj-carousel-viewport:hover .gj-carousel--auto { animation-play-state: paused; }
.gj-carousel--auto .gj-carousel__item { scroll-snap-align: none; }
.gj-carousel .gj-ref-card { flex: 0 0 280px; }
@media (prefers-reduced-motion: reduce) {
	.gj-carousel--auto { animation: none; }
	.gj-carousel-viewport { overflow-x: auto; }
}
.gj-carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.gj-carousel-nav button {
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 1px solid var(--gj-gray-300);
	background: var(--gj-white);
	font-size: 1.1rem;
}
.gj-carousel-nav button:hover { background: var(--gj-ink); color: var(--gj-white); border-color: var(--gj-ink); }

/* ---------- Barre de filtre (archive Études de cas) ---------- */
.gj-filter-bar {
	position: relative;
	z-index: 2;
	margin-top: -48px;
	background: var(--gj-white);
	border-radius: var(--gj-radius-lg);
	box-shadow: var(--gj-shadow-lg);
	padding: 28px 32px;
}

.gj-filter-form {
	display: flex;
	align-items: flex-end;
	gap: 20px;
	flex-wrap: wrap;
}
.gj-filter-form__field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; min-width: 180px; }
.gj-filter-form__field label {
	font-family: var(--gj-font-heading);
	font-weight: 600;
	font-size: .78rem;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--gj-gray-500);
}
.gj-select-wrap { position: relative; display: block; }
.gj-select-wrap::after {
	content: '';
	position: absolute;
	right: 16px;
	top: 45%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--gj-gray-500);
	border-bottom: 2px solid var(--gj-gray-500);
	transform: translateY(-50%) rotate(45deg);
	pointer-events: none;
}
.gj-filter-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 100%;
	padding: 12px 40px 12px 16px;
	border: 1px solid var(--gj-gray-300);
	border-radius: var(--gj-radius-sm);
	font-family: inherit;
	font-size: .9rem;
	background: var(--gj-white);
	color: var(--gj-navy);
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.gj-filter-select:hover { border-color: var(--gj-gray-500); }
.gj-filter-select:focus-visible {
	outline: none;
	border-color: var(--gj-mint);
	box-shadow: 0 0 0 3px rgba(46, 146, 114, .15);
}

.gj-filter-active {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--gj-gray-100);
}
.gj-filter-active__label {
	font-size: .8rem;
	font-weight: 600;
	color: var(--gj-gray-500);
}
.gj-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	padding: 6px 10px 6px 14px;
	border-radius: var(--gj-radius-pill);
	background: var(--gj-gray-100);
	color: var(--gj-navy);
	transition: background-color .15s ease;
}
.gj-filter-chip:hover { background: var(--gj-gray-300); }
.gj-filter-chip__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--gj-navy);
	color: var(--gj-white);
	font-size: .6rem;
	line-height: 1;
}
.gj-filter-chip:hover .gj-filter-chip__remove { background: var(--gj-red); }

@media (max-width: 640px) {
	.gj-filter-bar { padding: 24px 20px; }
	.gj-filter-form { align-items: stretch; }
	.gj-filter-form__field { flex-basis: 100%; }
}

/* ---------- Cartes réalisation (photo + logo, survol) ---------- */
.gj-ref-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) { .gj-ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gj-ref-grid { grid-template-columns: repeat(3, 1fr); } }

.gj-ref-grid.is-loading { opacity: .5; pointer-events: none; transition: opacity .15s ease; }

.gj-ref-card {
	border-radius: var(--gj-radius-md);
	overflow: hidden;
	box-shadow: var(--gj-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.gj-ref-card:hover { transform: translateY(-4px); box-shadow: var(--gj-shadow-md); }

.gj-ref-card__link-wrap { display: block; position: relative; }

.gj-ref-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--gj-ink);
	overflow: hidden;
}
.gj-ref-card__media .gj-ref-card__img { width: 100%; height: 100%; object-fit: cover; }

.gj-ref-card__logo {
	position: absolute;
	top: 16px;
	left: 16px;
	max-width: 96px;
	max-height: 40px;
	padding: 6px 10px;
	border-radius: var(--gj-radius-sm);
	background: var(--gj-white);
	box-shadow: var(--gj-shadow-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.gj-ref-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gj-ref-card__logo--hero {
	position: relative;
	z-index: 2;
	width: 100px;
	/* height: 100px; */
	max-width: none;
	max-height: none;
	margin-top: -100px;
	margin-bottom: 12px;
	padding: 0;
	/* border-radius: 50%; */
	background: #293b58;
	box-shadow: var(--gj-shadow-md);
	overflow: visible;
}
.gj-ref-card__logo--hero img { /* max-width: 60%; */ /* max-height: 60%; */ object-fit: contain; filter: brightness(0) invert(1); }

.gj-has-tooltip { cursor: help; }

.gj-logo-tooltip {
	position: absolute;
	top: 50%;
	left: calc(100% + 14px);
	transform: translateY(-50%) translateX(-6px);
	width: max-content;
	max-width: 280px;
	background: var(--gj-gray-50);
	color: var(--gj-ink);
	border-radius: var(--gj-radius-md);
	box-shadow: var(--gj-shadow-lg);
	padding: 16px 18px;
	text-align: left;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.gj-logo-tooltip::after {
	content: '';
	position: absolute;
	right: 100%;
	top: 50%;
	transform: translateY(-50%);
	border: 8px solid transparent;
	border-right-color: var(--gj-gray-50);
}
.gj-has-tooltip:hover .gj-logo-tooltip,
.gj-has-tooltip:focus .gj-logo-tooltip,
.gj-has-tooltip:focus-within .gj-logo-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
	pointer-events: auto;
}
.gj-logo-tooltip__quote {
	display: block;
	font-size: .9rem;
	font-style: italic;
	line-height: 1.5;
	margin: 0 0 8px;
}
.gj-logo-tooltip__auteur {
	display: block;
	font-size: .8rem;
	font-weight: 700;
	color: var(--gj-gray-500);
}

.gj-ref-card__logo-text {
	display: inline-block;
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: .95rem;
	text-transform: uppercase;
	color: var(--gj-white);
	background: #293b58;
	padding: 8px 16px;
	border-radius: var(--gj-radius-pill);
	box-shadow: var(--gj-shadow-md);
	margin: 0 0 12px;
}
.gj-ref-card__logo--text {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: .75rem;
	color: var(--gj-navy);
	white-space: nowrap;
}

/* Vignette "brandée" : photo assombrie + logo client centré en grand,
   à la manière des visuels ENGIE / BPRP fournis par le client. */
.gj-ref-card__media--branded .gj-ref-card__img { filter: brightness(.55) saturate(1.05); }
.gj-ref-card__brand-logo {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16%;
}
.gj-ref-card__brand-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, .4));
}
.gj-ref-card__brand-logo--text {
	font-family: var(--gj-font-heading);
	font-weight: 800;
	font-size: clamp(1.05rem, 3vw, 1.5rem);
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--gj-white);
	text-align: center;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

.gj-ref-card__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--gj-lime);
	color: var(--gj-ink);
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: .78rem;
	letter-spacing: .02em;
	padding: 8px 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gj-ref-card__hover {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	padding: 20px;
	background: linear-gradient(0deg, rgba(20, 33, 61, .92) 0%, rgba(20, 33, 61, .55) 55%, rgba(20, 33, 61, 0) 100%);
	color: var(--gj-white);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease;
}
.gj-ref-card__link-wrap:hover .gj-ref-card__hover,
.gj-ref-card__link-wrap:focus-visible .gj-ref-card__hover {
	opacity: 1;
	transform: translateY(0);
}
.gj-ref-card__client {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: 2rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--gj-lime);
}
.gj-ref-card__title { color: var(--gj-white); margin: 0; font-size: 1.05rem; }
.gj-ref-card__text { color: var(--gj-gray-300); font-size: .85rem; margin: 0; }
.gj-ref-card__cta {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: .78rem;
	color: var(--gj-lime);
}

.gj-ref-empty { color: var(--gj-gray-500); }

/* ---------- Bande stats lime ---------- */
.gj-band {
	background: var(--gj-lime);
	padding-block: 32px;
}
.gj-band .gj-stats { box-shadow: none; margin-top: 0; margin-bottom: 0; background: transparent; padding: 0; }
.gj-band .gj-stat__value, .gj-band .gj-stat__label { color: var(--gj-ink); }

/* ---------- Logos clients ---------- */
.gj-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .gj-logos { grid-template-columns: repeat(4, 1fr); } }
.gj-logos img {
	width: 100%;
	height: auto;
	border-radius: var(--gj-radius-md);
	box-shadow: var(--gj-shadow-sm);
	transition: opacity .2s ease;
}
.gj-logos--compact { grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 640px) { .gj-logos--compact { grid-template-columns: repeat(6, 1fr); } }
.gj-logos--compact img { max-height: 100px; width: auto; object-fit: contain; margin-inline: auto; }
.gj-logo-tile { position: relative; display: block; overflow: visible; }
.gj-avis-title { margin: 0 0 8px; text-align: center; }
.gj-avis-subheading { color: var(--gj-mint); }

/* ---------- Avis clients (carrousel) ---------- */
.gj-avis-carousel-band { background: var(--gj-gray-100); padding-block: 56px; }
.gj-carousel .gj-avis-card { flex: 0 0 calc(100% - 40px); scroll-snap-align: start; }
@media (min-width: 640px) { .gj-carousel .gj-avis-card { flex-basis: calc(50% - 30px); } }
@media (min-width: 1024px) { .gj-carousel .gj-avis-card { flex-basis: calc(33.333% - 27px); } }
.gj-avis-card {
	margin: 0;
	background: var(--gj-white);
	border-left: 4px solid var(--gj-lime);
	border-radius: var(--gj-radius-md);
	box-shadow: var(--gj-shadow-sm);
	padding: 24px;
}
.gj-avis-card__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gj-avis-card__logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
.gj-avis-card__logo-name { font-family: var(--gj-font-heading); font-weight: 700; color: var(--gj-navy); }
.gj-avis-card__quote { font-size: 1.05rem; font-style: italic; margin: 0 0 12px; }
.gj-avis-card__footer { font-weight: 700; }
.gj-avis-card__client { font-weight: 400; color: var(--gj-gray-500); }
.gj-avis-rotator { transition: opacity .2s ease; }

/* ---------- Pagination ---------- */
.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
	flex-wrap: wrap;
}
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--gj-radius-pill);
	font-family: var(--gj-font-heading);
	font-weight: 600;
	font-size: .9rem;
	color: var(--gj-navy);
	border: 1px solid var(--gj-gray-100);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.nav-links a.page-numbers:hover {
	background: var(--gj-mint);
	border-color: var(--gj-mint);
	color: var(--gj-white);
}
.nav-links .page-numbers.current {
	background: var(--gj-navy);
	border-color: var(--gj-navy);
	color: var(--gj-white);
}
.nav-links .page-numbers.dots {
	border: none;
	color: var(--gj-gray-500);
}
.nav-links .next.page-numbers,
.nav-links .prev.page-numbers {
	padding-inline: 18px;
	background: var(--gj-lime);
	border-color: var(--gj-lime);
	color: var(--gj-ink);
}
.nav-links .next.page-numbers:hover,
.nav-links .prev.page-numbers:hover {
	background: var(--gj-lime-dark);
	border-color: var(--gj-lime-dark);
	color: var(--gj-ink);
}

/* ---------- Blog cards ---------- */
.gj-blog-grid { gap: 40px; }
.gj-blog-grid .gj-post-card {
	border: 1px solid var(--gj-gray-100);
	border-radius: var(--gj-radius-md);
	padding: 16px;
	box-shadow: var(--gj-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gj-blog-grid .gj-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--gj-shadow-md);
	border-color: var(--gj-mint);
}
.gj-post-card { display: block; }
.gj-post-card__media {
	position: relative;
	height: 180px;
	border-radius: var(--gj-radius-md);
	overflow: hidden;
	background: var(--gj-gray-100);
	margin-bottom: 16px;
}
.gj-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gj-post-card__badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--gj-lime);
	color: var(--gj-ink);
	font-size: .68rem; font-weight: 700; text-transform: uppercase;
	padding: 4px 10px; border-radius: var(--gj-radius-pill);
}
.gj-post-card__date { font-size: .8rem; color: var(--gj-gray-500); margin-bottom: 6px; }
.gj-post-card h3 { font-size: 1.05rem; }

/* ---------- Actualités : bande défilante ---------- */
.gj-actus-marquee {
	overflow: hidden;
	margin-inline: calc(-1 * var(--gj-gutter));
	padding-inline: var(--gj-gutter);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.gj-actus-track {
	display: flex;
	gap: 24px;
	width: max-content;
	animation: gj-actus-scroll 30s linear infinite;
}
.gj-actus-marquee:hover .gj-actus-track { animation-play-state: paused; }
.gj-actus-track .gj-post-card {
	flex: 0 0 320px;
	border: 1px solid var(--gj-gray-100);
	border-radius: var(--gj-radius-md);
	padding: 16px;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.gj-actus-track .gj-post-card:hover {
	border-color: var(--gj-mint);
	box-shadow: var(--gj-shadow-md);
	transform: translateY(-4px);
}
.gj-post-card--icon { display: flex; flex-direction: column; height: 100%; padding: 20px; }
.gj-post-card__top { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; }
.gj-post-card__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--gj-radius-sm);
	background: rgba(46, 146, 114, .1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	flex-shrink: 0;
}
.gj-post-card__arrow {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--gj-ink);
	color: var(--gj-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .9rem;
	flex-shrink: 0;
	transition: background-color .2s ease;
}
.gj-post-card--icon:hover .gj-post-card__arrow { background: var(--gj-mint); }
.gj-post-card--icon .gj-post-card__date { text-transform: uppercase; font-size: .7rem; font-weight: 700; letter-spacing: .03em; color: var(--gj-mint); }
.gj-post-card--icon h3 {
	margin: 4px 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gj-post-card__excerpt {
	font-size: .85rem;
	color: var(--gj-gray-500);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gj-post-card--icon .gj-post-card__media { margin-bottom: 16px; height: 160px; }
@keyframes gj-actus-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.gj-actus-track { animation: none; }
}

/* ---------- CTA band ---------- */
.gj-cta-band {
	background: var(--gj-blue-dark);
	color: var(--gj-white);
	border-radius: var(--gj-radius-lg);
	padding: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.gj-cta-band__icon {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--gj-lime);
	color: var(--gj-ink);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.4rem;
	flex-shrink: 0;
}
.gj-cta-band__text { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 240px; }
.gj-cta-band h3 { color: var(--gj-white); margin: 0 0 4px; }
.gj-cta-band p { margin: 0; color: var(--gj-gray-300); }
.gj-cta-band--strip {
	border-radius: 0;
	padding: 0;
	margin-bottom: 0;
}
.gj-cta-band--strip__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding-block: 32px;
}

/* ---------- Footer ---------- */
.gj-footer { background: var(--gj-ink); color: var(--gj-gray-300); padding-top: 40px; }
.gj-footer a:hover { color: var(--gj-lime); }
.gj-footer h3 {
	color: var(--gj-lime);
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-bottom: 16px;
}
.gj-footer__col ul li { margin-bottom: 10px; font-size: .9rem; }

/* ---------- Bande CTA + contact du footer ---------- */
.gj-footer-cta {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 1024px) {
	.gj-footer-cta { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
}
.gj-footer-cta__brand { display: flex; flex-direction: column; gap: 16px; }
.gj-footer-cta__logo {
	height: 44px;
	width: auto;
	max-width: none;
}
@media (min-width: 1024px) {
	.gj-footer-cta__logo { height: 64px; }
}
.gj-footer__logo img { height: 48px; width: auto; max-width: none; }
@media (min-width: 1024px) {
	.gj-footer__logo img { height: 64px; }
}
.gj-footer__social { display: flex; gap: 12px; }
.gj-footer__social a {
	width: 36px; height: 36px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.2);
	display: flex; align-items: center; justify-content: center;
}
.gj-footer-cta__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.gj-footer-cta__icon {
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	border-radius: 50%;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	/* padding: 10px; */
	object-fit: contain;
}
.gj-footer-cta__heading h2 { color: var(--gj-white); text-transform: none; letter-spacing: 0; font-size: 1.3rem; margin: 0; }
.gj-footer-cta__subtitle { color: var(--gj-gray-300); font-size: .9rem; margin: 4px 0 0; }
.gj-footer-cta__desc { color: var(--gj-gray-300); font-size: .92rem; margin: 0; max-width: 480px; }
.gj-footer-cta__card {
	background: rgba(255,255,255,.08);
	border-radius: var(--gj-radius-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 280px;
}
.gj-footer-cta__devis { justify-content: center; text-align: center; }
.gj-footer-cta__info { display: flex; flex-direction: column; gap: 12px; }
.gj-footer-cta__info li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--gj-gray-300); }
.gj-footer-cta__info-icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid var(--gj-lime);
	color: var(--gj-lime);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .85rem;
}
.gj-footer-cta__info-icon svg {
	width: 26px; height: 26px;
}
.gj-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding-block: 24px;
	font-size: .8rem;
}
.gj-footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Accordéon FAQ ---------- */
.gj-accordion details {
	border-bottom: 1px solid var(--gj-gray-100);
	padding-block: 16px;
}
.gj-accordion summary {
	font-family: var(--gj-font-heading);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.gj-accordion summary::-webkit-details-marker { display: none; }
.gj-accordion summary::after { content: '+'; font-size: 1.4rem; color: var(--gj-mint); }
.gj-accordion details[open] summary::after { content: '–'; }
.gj-accordion p { margin-top: 12px; color: var(--gj-gray-700); }

/* ---------- FAQ (étude de cas) ---------- */
.gj-faq-item__q { font-weight: 700; color: var(--gj-mint); margin: 0 0 4px; font-size: 1.15rem; }
.gj-faq-item__a { color: var(--gj-gray-500); font-size: 1.05rem; margin: 0; }
.gj-faq-item__a p { margin: 0 0 8px; }
.gj-faq-item__a p:last-child { margin-bottom: 0; }
.gj-faq-item { margin-bottom: 22px; }
.gj-faq-item:last-child { margin-bottom: 0; }

.gj-faq-badge-wrap { display: flex; justify-content: center; margin-block: 8px 40px; }
.gj-faq-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: #cbd92e;
	color: var(--gj-white);
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .03em;
	box-shadow: var(--gj-shadow-md);
}
img.gj-faq-badge__icon {
	width: 71%;
}
.gj-faq-panel {
	background: var(--gj-gray-50);
	border-radius: var(--gj-radius-lg);
	padding: 44px;
}

/* ---------- Formulaires ---------- */
.gj-form fieldset { border: none; padding: 0; margin: 0 0 32px; }
.gj-form legend {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 16px;
	padding: 0;
}
.gj-form__row { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 20px; }
@media (min-width: 640px) { .gj-form__row--2 { grid-template-columns: 1fr 1fr; } }
.gj-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.gj-field .required { color: var(--gj-red); }
.gj-field input[type="text"],
.gj-field input[type="email"],
.gj-field input[type="tel"],
.gj-field input[type="date"],
.gj-field select,
.gj-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--gj-gray-300);
	border-radius: var(--gj-radius-sm);
	font-family: inherit;
	font-size: .95rem;
	background: var(--gj-white);
	color: var(--gj-navy);
}
.gj-field input:focus, .gj-field select:focus, .gj-field textarea:focus {
	border-color: var(--gj-mint);
	outline: none;
	box-shadow: 0 0 0 3px rgba(46, 146, 114, .15);
}
.gj-field textarea { resize: vertical; min-height: 120px; }
.gj-field__hint { text-align: right; font-size: .78rem; color: var(--gj-gray-500); }
.gj-dropzone {
	border: 2px dashed var(--gj-gray-300);
	border-radius: var(--gj-radius-md);
	padding: 32px;
	text-align: center;
	color: var(--gj-gray-500);
	font-size: .9rem;
}
.gj-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; margin-bottom: 24px; }
.gj-checkbox input { margin-top: 4px; }
.gj-form-notice { padding: 16px 20px; border-radius: var(--gj-radius-sm); margin-bottom: 24px; font-weight: 600; }
.gj-form-notice--success { background: rgba(46, 146, 114, .12); color: var(--gj-mint); }
.gj-form-notice--error { background: rgba(192, 57, 43, .1); color: var(--gj-red); }

/* ---------- Page Contact ---------- */
.gj-contact-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .gj-contact-grid { grid-template-columns: 1.6fr 1fr; } }

.gj-contact-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.gj-contact-table td { padding: 10px 0; border-bottom: 1px solid var(--gj-gray-100); vertical-align: top; }
.gj-contact-table tr:last-child td { border-bottom: none; }
.gj-contact-table a { color: var(--gj-navy); }
.gj-contact-table a:hover { color: var(--gj-mint); }

.gj-contact-routing-note {
	margin: 16px 0;
	padding: 10px 14px;
	background: rgba(46, 146, 114, .1);
	color: var(--gj-mint);
	border-radius: var(--gj-radius-sm);
	font-size: .82rem;
}

.gj-map-placeholder {
	height: 130px;
	background: var(--gj-gray-50);
	border-bottom: 1px solid var(--gj-gray-100);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gj-gray-500);
	font-size: .85rem;
}

/* ---------- Devis page layout ---------- */
.gj-devis { display: grid; gap: 32px; grid-template-columns: 1fr; padding-block: 40px 80px; }
@media (min-width: 1024px) { .gj-devis { grid-template-columns: 1.6fr 1fr; } }
.gj-devis__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.gj-devis__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 2px solid var(--gj-lime);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gj-mint);
	font-size: 1.4rem;
	flex-shrink: 0;
	/* padding: 10px; */
	object-fit: contain;
}
.gj-sidebar-card {
	background: var(--gj-ink);
	color: var(--gj-white);
	border-radius: var(--gj-radius-lg);
	padding: 32px;
	margin-bottom: 24px;
}
.gj-sidebar-card h3 { color: var(--gj-white); }
.gj-sidebar-card strong { color: var(--gj-lime); }
.gj-benefit { display: flex; gap: 14px; padding-block: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.gj-benefit:last-child { border-bottom: none; }
.gj-benefit__icon { font-size: 1.2rem; color: var(--gj-lime); flex-shrink: 0; }
.gj-benefit p { margin: 0; font-size: .85rem; color: var(--gj-gray-300); }
.gj-sidebar-card--light { background: var(--gj-white); border: 1px solid var(--gj-gray-100); color: var(--gj-navy); box-shadow: var(--gj-shadow-sm); }
.gj-sidebar-card--light h3 { color: var(--gj-navy); }
.gj-contact-line { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.gj-contact-line__icon {
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--gj-lime); color: var(--gj-ink);
	display: flex; align-items: center; justify-content: center;
}

/* ---------- Page générique (service / secteur) ---------- */
.gj-page-hero { background: var(--gj-ink); color: var(--gj-white); padding-block: 56px; }
.gj-page-hero__grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .gj-page-hero__grid { grid-template-columns: 1.2fr 1fr; } }
.gj-page-hero__media { border-radius: var(--gj-radius-lg); overflow: hidden; }
.gj-page-hero__banner { width: 100%; overflow: hidden; }
.gj-page-hero__banner-img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
}
@media (min-width: 768px) { .gj-page-hero__banner-img { height: 400px; } }
@media (min-width: 1280px) { .gj-page-hero__banner-img { height: auto; } }
.gj-page-hero h1 { color: var(--gj-white); }

.single-gj_realisation h1 { text-align: center; text-transform: uppercase; }
.gj-project-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.gj-project-meta .gj-eyebrow { margin-bottom: 0; }
.single-gj_realisation .gj-tags { justify-content: center; margin-bottom: 30px; }
.gj-page-hero p { color: var(--gj-gray-300); font-size: 1.05rem; }

.gj-page-hero--article {
	position: relative;
	background: linear-gradient(135deg, var(--gj-ink) 0%, var(--gj-navy) 100%);
	border-bottom: 3px solid var(--gj-lime);
	padding-block: 64px;
	overflow: hidden;
	isolation: isolate;
}
.gj-article-hero-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}
.gj-article-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.15);
	filter: blur(20px) brightness(.55) saturate(1.1);
}
.gj-article-hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(203 217 46 / 35%) 0%, rgba(20, 33, 61, .55) 100%);
}
.gj-article-hero-fg {
	position: absolute;
	inset: 0;
	z-index: -1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: 32px;
}
.gj-article-hero-fg img {
	max-width: min(90%, 640px);
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--gj-radius-lg);
	box-shadow: var(--gj-shadow-lg);
}
.gj-article-hero-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 720px;
}
.gj-page-hero--article .gj-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
}
.gj-page-hero--article .gj-eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gj-lime);
	flex-shrink: 0;
}
.gj-article-date-wrap {
	display: flex;
	justify-content: center;
	margin-top: -36px;
	position: relative;
	z-index: 1;
}
.gj-article-date {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--gj-white);
	color: var(--gj-navy);
	border: 3px solid var(--gj-lime);
	box-shadow: var(--gj-shadow-md);
	font-size: .7rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .02em;
	padding: 4px;
}
.gj-page-hero--article h1 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	line-height: 1.2;
	letter-spacing: -.01em;
	margin-bottom: 0;
}

/* ---------- Article : texte à gauche, images à droite ---------- */
.gj-post-columns { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: stretch; }
@media (min-width: 1024px) {
	.gj-post-columns { grid-template-columns: 2fr 1fr; }
	.gj-post-columns--full { grid-template-columns: 1fr; }
}
.gj-post-columns__media { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.gj-post-columns__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--gj-radius-md);
	box-shadow: var(--gj-shadow-sm);
}

/* ---------- Photos (fiche réalisation) ---------- */
.gj-slider {
	display: flex;
	flex-direction: column;
	gap: 0px;
	width: 100%;
}
.gj-slider__slide {
	margin: 8px;
	border-radius: var(--gj-radius-lg);
}
.gj-slider__slide img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--gj-radius-lg);
	box-shadow: var(--gj-shadow-sm);
}

.entry-content { font-size: 1rem; }
.entry-content p { margin: 0 0 .4em; }
.entry-content h2 { margin-top: 1em; color: var(--gj-mint); }
.entry-content .gj-grid { margin-block: 24px; }
.entry-content .wp-block-columns { row-gap: 32px; column-gap: 48px; margin-block: 40px; }

/* ---------- Article de blog : touches "magazine" ---------- */
.single-post .entry-content > p:first-of-type::first-letter {
	float: left;
	font-family: var(--gj-font-heading);
	font-weight: 800;
	font-size: 3.4rem;
	line-height: .82;
	color: var(--gj-mint);
	padding: 4px 8px 0 0;
}
.single-post .entry-content blockquote {
	background: var(--gj-lime);
	border-radius: var(--gj-radius-md);
	padding: 28px 32px;
	margin: 32px 0;
	position: relative;
}
.single-post .entry-content blockquote::before {
	content: '“';
	display: block;
	font-family: var(--gj-font-heading);
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	color: var(--gj-ink);
	opacity: .35;
	margin-bottom: 4px;
}
.single-post .entry-content blockquote p {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.3;
	color: var(--gj-ink);
	margin: 0;
}
.single-gj_realisation .entry-content > p:first-child {
	/* color: var(--gj-mint); */
	font-size: 1.5rem;
	font-weight: 700;
	/* line-height: 1.3; */
}

/* ---------- Article de blog : mise en page magazine ---------- */
.gj-article-photos {
	position: relative;
	background-color: var(--gj-lime);
	background-image: url('../images/article-photos-bg.jpg');
	background-size: cover;
	background-position: center;
	padding-block: 48px;
	overflow: hidden;
}
.gj-article-photos__row { position: relative; display: grid; grid-template-columns: 1fr; gap: 24px; z-index: 1; }
@media (min-width: 640px) {
	.gj-article-photos__row { grid-template-columns: repeat(2, 1fr); }
}
.gj-article-photos__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--gj-radius-sm); }

.gj-article2 {
	/* position: relative; */
	/* padding-block: 56px 80px; */
	/* overflow: hidden; */
}
.gj-article2--news {
	background-color: var(--gj-gray-50);
	background-image: url('../images/article-bg-left.jpg'), url('../images/article-bg-right.jpg');
	background-position: top left, top right;
	background-repeat: no-repeat, no-repeat;
}

.gj-article2__meta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.gj-article2__meta-text { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.gj-article2__date {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--gj-navy);
}
.gj-article2__eyebrow { margin: 0; font-size: 1rem; line-height: 1; }
.gj-article2__date-icon { width: 60px; height: 60px; border-radius: 50%; box-shadow: var(--gj-shadow-sm); position: relative; /* top: -60px; */ }
.gj-article2__title {
	font-size: clamp(1.8rem, 4vw, 2.75rem);
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
	margin: 24px;
	/* max-width: 897px; */
	color: var(--gj-lime-dark);
}
.gj-article2__body { position: relative; }
.gj-article2__lead {
	position: relative;
	font-family: var(--gj-font-heading);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--gj-mint);
	/* max-width: 900px; */
	margin-bottom: 24px;
}
.gj-article2__columns { position: relative; }
@media (min-width: 900px) {
	.gj-article2__columns { column-count: 2; column-gap: 48px; }
	.gj-article2__columns h2,
	.gj-article2__columns h3,
	.gj-article2__columns p { break-inside: avoid; }
}
.gj-article2__columns h2 { color: var(--gj-icon-orange); font-size: 1.15rem; }
.gj-article2__callout {
	position: relative;
	margin-top: 8px;
	background: var(--gj-icon-teal);
	color: var(--gj-white);
	padding: 32px 100px 32px 40px;
	border-radius: var(--gj-radius-lg);
	font-weight: 700;
	font-size: 1.1rem;
	line-height: 1.5;
}
.gj-article2__callout p { margin: 0; max-width: 90%; }
.gj-article2__callout-mark {
	position: absolute;
	bottom: 16px;
	right: 24px;
	font-family: var(--gj-font-heading);
	font-size: 1.8rem;
	font-weight: 800;
	color: rgba(255, 255, 255, .5);
}

/* ---------- Styles de blocs Gutenberg (alias du design system) ---------- */
/* Alias volontairement dupliqués depuis les règles ci-dessus (plutôt que des
   sélecteurs combinés) pour ne jamais modifier une classe déjà en prod. */

.wp-block-paragraph { text-align: justify; }

.is-style-primaire-lime .wp-block-button__link {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: .85rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: var(--gj-radius-pill);
	border: 2px solid transparent;
	background: var(--gj-lime);
	color: var(--gj-ink);
	transition: transform .15s ease, background-color .15s ease;
}
.is-style-primaire-lime .wp-block-button__link:hover { background: var(--gj-lime-dark); transform: translateY(-2px); }

.is-style-contour-clair .wp-block-button__link {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: .85rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: var(--gj-radius-pill);
	background: transparent;
	border: 2px solid rgba(255,255,255,.5);
	color: var(--gj-white);
	transition: border-color .15s ease, background-color .15s ease;
}
.is-style-contour-clair .wp-block-button__link:hover { border-color: var(--gj-white); background: rgba(255,255,255,.08); }

.is-style-contour-sombre .wp-block-button__link {
	font-family: var(--gj-font-heading);
	font-weight: 700;
	font-size: .85rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: var(--gj-radius-pill);
	background: transparent;
	border: 2px solid var(--gj-navy);
	color: var(--gj-navy);
	transition: background-color .15s ease, color .15s ease;
}
.is-style-contour-sombre .wp-block-button__link:hover { background: var(--gj-navy); color: var(--gj-white); }

.is-style-carte {
	background: var(--gj-white);
	border: 1px solid var(--gj-gray-100);
	border-radius: var(--gj-radius-md);
	padding: 28px;
	box-shadow: var(--gj-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.is-style-carte:hover { transform: translateY(-4px); box-shadow: var(--gj-shadow-md); }

.is-style-bande-cta {
	background: var(--gj-ink);
	color: var(--gj-white);
	border-radius: var(--gj-radius-lg);
	padding: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.is-style-bande-cta h3 { color: var(--gj-white); margin: 0 0 4px; }
.is-style-bande-cta p { margin: 0; color: var(--gj-gray-300); }

.is-style-section-sombre {
	background: var(--gj-ink);
	color: var(--gj-white);
	padding-block: 64px;
}
.is-style-section-sombre h2, .is-style-section-sombre h3 { color: var(--gj-white); }

.is-style-arrondi img { border-radius: var(--gj-radius-md); }

/* ---------- Utilities ---------- */
.gj-text-center { text-align: center; }
.gj-mt-0 { margin-top: 0; }
.sr-only, .screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
