/* ==========================================================================
   Thème E3R – feuille de styles principale
   Sommaire : 1. Variables & base  2. En-tête  3. Bandeau titre  4. Pied de page
   5. Boutons  6. Sections communes  7. Accueil  8. Vous êtes  9. Nous sommes
   10. Vos déchets  11. Nos solutions  12. Formulaires  13. Agences  14. Divers
   ========================================================================== */

/* 1. Variables & base ------------------------------------------------------ */
:root {
	--e3r-green: #5cad29;
	--e3r-green-dark: #4b9620;
	--e3r-green-light: #bddeab;
	--e3r-green-pale: #d2e9c4;
	--e3r-green-process: #c6e3b5;
	--e3r-orange: #ee721d;
	--e3r-orange-light: #fbe3d2;
	--e3r-red: #aa3225;
	--e3r-red-bright: #c8202f;
	--e3r-cream: #f6edde;
	--e3r-cream-light: #faf6ef;
	--e3r-grey: #485254;
	--e3r-grey-light: #efefeb;
	--e3r-text: #1e2322;
	--e3r-muted: #4f5655;
	--e3r-radius: 14px;
	--e3r-shadow: 0 6px 18px rgba(30, 35, 34, .12);
	--e3r-shadow-soft: 0 4px 14px rgba(30, 35, 34, .08);
	--e3r-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--e3r-font-alt: "Open Sans", Inter, system-ui, sans-serif;
	--e3r-font-cond: "IBM Plex Sans Condensed", "Roboto Condensed", "Arial Narrow", Inter, sans-serif;
	--e3r-header-h: 130px;
	--e3r-tab-w: 300px;
	--e3r-container: 1180px;
	--e3r-gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: #fff;
	color: var(--e3r-text);
	font-family: var(--e3r-font);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--e3r-green); }
a:hover { color: var(--e3r-green-dark); }
:focus-visible { outline: 2px solid var(--e3r-orange); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: var(--e3r-text); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

.e3r-container,
.entry-content > :not(.e3r-section):not(.e3r-hero):not(.e3r-form-hero):not(.e3r-ag-hero):not(.e3r-map):not(.alignfull) {
	width: 100%;
	max-width: var(--e3r-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--e3r-gutter);
	padding-right: var(--e3r-gutter);
}
.entry-content .e3r-container > *:first-child { margin-top: 0; }
.entry-content > :not(.e3r-section):first-child:not(.e3r-hero):not(.e3r-form-hero):not(.e3r-ag-hero) { margin-top: 48px; }
.entry-content > :not(.e3r-section):last-child:not(.e3r-map) { margin-bottom: 64px; }
.entry-content .e3r-section { margin: 0; }
/* Espacements internes (le thème fixe l'écart global des blocs à 0 dans theme.json). */
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 0 0 .6em; }
.entry-content .wp-block-buttons { gap: 12px; }
.entry-content .wp-block-group > :last-child { margin-bottom: 0; }
.entry-content > * + * { margin-top: 0; }
.entry-content .wp-block-image { margin: 0; }
.entry-content .wp-block-image img { width: 100%; }

/* 2. En-tête --------------------------------------------------------------- */
.site-header {
	position: relative;
	z-index: 50;
	height: var(--e3r-header-h);
	background: #fff;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
}
.site-branding {
	position: absolute;
	left: 0;
	top: 0;
	width: var(--e3r-tab-w);
	height: calc(var(--e3r-header-h) + 70px);
	background: #fff;
	clip-path: polygon(0 0, 100% 0, 100% calc(var(--e3r-header-h) - 2px), calc(100% - 38px) 100%, 0 100%);
	padding: 26px 0 0 56px;
	z-index: 2;
}
.site-logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.site-logo__img { width: 196px; max-width: 100%; height: auto; }
.site-logo__img--mark { width: 172px; }
.site-logo__tagline {
	margin-top: 4px;
	color: var(--e3r-red);
	font: 700 13px/1.1 var(--e3r-font-alt);
	text-transform: uppercase;
	letter-spacing: .02em;
}
.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-left: calc(var(--e3r-tab-w) + 20px);
	flex: 1;
	padding-top: 40px;
}
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; justify-content: space-around; gap: 12px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a {
	display: inline-block;
	padding: 6px 2px 4px;
	color: var(--e3r-green);
	font: 700 16px/1.2 var(--e3r-font-alt);
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: .01em;
	border-bottom: 1.5px solid var(--e3r-red);
	white-space: nowrap;
}
.site-nav .menu > li > a:hover,
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current-page-ancestor > a { color: var(--e3r-green-dark); border-bottom-color: var(--e3r-green); }
.site-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	left: 50%;
	top: 100%;
	min-width: 250px;
	transform: translate(-50%, 8px);
	background: #fff;
	border-radius: 10px;
	box-shadow: var(--e3r-shadow);
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s, transform .18s, visibility .18s;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu,
.site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.site-nav .sub-menu a {
	display: block;
	padding: 8px 20px;
	color: var(--e3r-text);
	font: 600 14px/1.3 var(--e3r-font-alt);
	text-decoration: none;
}
.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { background: var(--e3r-cream); color: var(--e3r-green-dark); }
.submenu-toggle { display: none; }
.header-cta {
	flex: none;
	background: var(--e3r-green);
	color: #fff;
	font: 700 16px/1 var(--e3r-font-alt);
	text-transform: uppercase;
	text-decoration: none;
	padding: 18px 30px;
	letter-spacing: .01em;
	margin-top: -6px;
}
.header-cta:hover { background: var(--e3r-green-dark); color: #fff; }
.nav-toggle { display: none; }

/* En-tête des mini-sites */
.site-header--agence .site-nav--agence { justify-content: flex-end; padding-right: 48px; }
.site-header--agence .site-nav--agence .menu { flex: none; gap: 64px; }
.site-header--agence .site-nav--agence .menu > li > a { border-bottom-color: var(--e3r-green); font-size: 15px; }

/* 3. Bandeau titre --------------------------------------------------------- */
.page-banner {
	position: relative;
	background: var(--e3r-cream);
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px var(--e3r-gutter) 12px calc(var(--e3r-tab-w) + 20px);
}
.page-banner__title {
	margin: 0;
	color: var(--e3r-green);
	font-size: 25px;
	font-weight: 400;
	text-align: center;
}
.page-banner--upper .page-banner__title { text-transform: uppercase; font-size: 22px; font-weight: 600; }
.page-banner--left { justify-content: flex-start; padding-left: calc(var(--e3r-tab-w) + 40px); }
.page-banner--left .page-banner__title { font-size: 20px; font-weight: 700; text-align: left; }

/* 4. Pied de page ---------------------------------------------------------- */
.site-footer { background: var(--e3r-grey); color: #fff; font-family: var(--e3r-font-alt); font-size: 13px; line-height: 1.5; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 36px 36px 70px;
	display: grid;
	grid-template-columns: minmax(200px, 300px) minmax(160px, 260px) minmax(0, 300px) 1fr;
	gap: 32px 56px;
	align-items: start;
}
.site-footer__col p { margin: 0; }
.site-footer__title { font-weight: 700; font-size: 15px; text-transform: uppercase; margin: 0 0 4px !important; }
.site-footer__col--about .site-footer__title + p { margin-bottom: 18px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li + li { margin-top: 2px; }
.site-footer__legal { margin-top: 18px !important; }
.site-footer__col:not(.site-footer__col--about) .site-footer__title { margin-bottom: 16px !important; }
.site-footer__tagline {
	grid-column: 4;
	justify-self: end;
	margin: 0;
	color: var(--e3r-green);
	font: 300 42px/1.18 var(--e3r-font-cond);
	text-align: left;
}
.site-footer__tagline span { display: block; }
.site-footer__tagline-1 { letter-spacing: .3em; }
.site-footer__tagline-2 { letter-spacing: .06em; }
.site-footer__bottom { max-width: 1020px; margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, .75); padding: 14px 20px 18px; text-align: center; font-size: 12px; }
.site-footer__bottom p { margin: 0; }

/* 5. Boutons --------------------------------------------------------------- */
.wp-block-button .wp-block-button__link,
.e3r-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 2px;
	padding: 10px 18px;
	font: 600 14px/1.2 var(--e3r-font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, box-shadow .15s, transform .15s;
	border: 0;
}
.wp-block-button:not([class*="is-style-e3r"]) .wp-block-button__link { background: var(--e3r-green); color: #fff; }
.is-style-e3r-green .wp-block-button__link,
.e3r-btn--green {
	background: var(--e3r-green);
	color: #fff;
	border-radius: 4px;
	padding: 12px 16px;
	font-weight: 700;
	box-shadow: 0 6px 12px rgba(30, 35, 34, .18);
}
.is-style-e3r-green .wp-block-button__link:hover, .e3r-btn--green:hover { background: var(--e3r-green-dark); color: #fff; transform: translateY(-1px); }
.is-style-e3r-outline .wp-block-button__link {
	background: transparent;
	color: var(--e3r-text);
	border: 1.5px solid #333;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 500;
}
.is-style-e3r-outline .wp-block-button__link:hover { background: var(--e3r-text); color: #fff; }
.is-style-e3r-outline-green .wp-block-button__link {
	background: transparent;
	color: var(--e3r-green);
	border: 1.5px solid var(--e3r-green);
	padding: 10px 18px;
	font-weight: 500;
	font-size: 15px;
}
.is-style-e3r-outline-green .wp-block-button__link:hover { background: var(--e3r-green); color: #fff; }
.is-style-e3r-white .wp-block-button__link {
	background: #fff;
	color: var(--e3r-text);
	border-radius: 4px;
	padding: 12px 18px;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}
.is-style-e3r-white .wp-block-button__link:hover { color: var(--e3r-green-dark); transform: translateY(-1px); }
.is-style-e3r-orange .wp-block-button__link, .e3r-btn--orange {
	background: var(--e3r-orange);
	color: #fff;
	border-radius: 999px;
	padding: 9px 20px;
	font-size: 13px;
}
.is-style-e3r-orange .wp-block-button__link:hover, .e3r-btn--orange:hover { background: #d9600f; color: #fff; }
.e3r-btn img { width: 16px; height: 16px; }
.wp-block-button.e3r-btn-small .wp-block-button__link { font-size: 12px; padding: 6px 14px; }

/* 6. Sections communes ----------------------------------------------------- */
.e3r-section { position: relative; }

/* Bandeau « Besoin de nos services ? » */
.e3r-cta { background: var(--e3r-cream); padding: 22px 0 26px; }
.entry-content .e3r-cta__text { margin: 0 0 12px; font-size: 15px; color: var(--e3r-text); }
.e3r-cta--green .e3r-cta__text { color: var(--e3r-green); }
.e3r-cta--home { background: #fff; padding: 64px 0 72px; }
.entry-content .e3r-cta--home .e3r-cta__text { font-size: 20px; font-weight: 600; color: var(--e3r-muted); margin-bottom: 20px; }
.e3r-cta--home .is-style-e3r-outline-green .wp-block-button__link { color: var(--e3r-text); font-weight: 700; font-size: 14px; border-width: 2px; padding: 10px 14px; }
.e3r-cta--home .is-style-e3r-outline-green .wp-block-button__link:hover { color: #fff; }

/* Slogan */
.e3r-slogan { background: var(--e3r-cream); padding: 40px 0; }
.entry-content .e3r-slogan__text { margin: 0; color: var(--e3r-green); font-size: 18px; }

/* Atouts transport */
.e3r-atouts { background: var(--e3r-grey-light); padding: 40px 0 34px; }
.e3r-atouts__list { display: flex; justify-content: center; gap: 24px 90px; flex-wrap: wrap; }
.entry-content .e3r-atout { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 170px; }
.entry-content .e3r-atout > * { margin: 0; }
.entry-content .e3r-atout__icon img { width: 44px; height: 44px; margin: 0 auto 8px; }
.entry-content .e3r-atout__text { font-size: 13px; line-height: 1.35; }

/* Notre processus */
.e3r-process { background: var(--e3r-green-process); padding: 40px 0 44px; }
.entry-content .e3r-process__title { font-size: 16px; margin: 0 0 30px; }
.e3r-process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.entry-content .e3r-step { text-align: center; }
.entry-content .e3r-step > * { margin: 0; }
.entry-content .e3r-step__icon img { width: 54px; height: 54px; margin: 0 auto 14px; }
.entry-content .e3r-step__title { font-size: 14px; }
.entry-content .e3r-step__text { font-size: 13.5px; line-height: 1.35; }

/* Cartes photo */
.e3r-cards { display: grid; gap: 40px 22px; }
.e3r-cards--3 { grid-template-columns: repeat(3, 1fr); }
.e3r-cards--4 { grid-template-columns: repeat(4, 1fr); }
.e3r-cards--5 { grid-template-columns: repeat(5, 1fr); gap: 40px 14px; }
.entry-content .e3r-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--e3r-shadow);
	transition: transform .2s, box-shadow .2s;
}
.entry-content .e3r-card > * { margin: 0; }
.entry-content .e3r-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(30, 35, 34, .16); }
.entry-content .e3r-card__img img { aspect-ratio: 16 / 5.2; object-fit: cover; width: 100%; }
.e3r-cards--5 .e3r-card__img img { aspect-ratio: 2 / 1; }
.entry-content .e3r-card__label { padding: 18px 14px 20px; font-size: 13px; font-weight: 700; text-transform: uppercase; line-height: 1.25; }
.e3r-card__label a { color: var(--e3r-green); text-decoration: none; }
.e3r-card__label a::after { content: ""; position: absolute; inset: 0; }
.e3r-cards--5 .e3r-card__label { font-size: 12px; padding: 14px 10px 26px; }

/* Introduction centrée */
.e3r-intro { max-width: 1040px; margin: 0 auto 48px; }
.entry-content .e3r-intro > * { margin: 0 0 6px; }
.entry-content .e3r-intro__lead { color: var(--e3r-green); font-weight: 700; font-size: 17px; line-height: 1.45; margin-bottom: 18px; }
.entry-content .e3r-intro__text { font-size: 14px; line-height: 1.75; }

/* Pastilles */
.e3r-pills { display: flex; flex-wrap: wrap; gap: 16px 30px; }
.entry-content .e3r-pills > * { margin: 0; }
.entry-content .e3r-pill {
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 4px 10px rgba(30, 35, 34, .16);
	padding: 12px 26px;
	font-size: 12.5px;
	line-height: 1.4;
	text-align: center;
	min-width: 180px;
}
.e3r-pills--orange .e3r-pill { box-shadow: none; border: 1.5px solid var(--e3r-orange); border-radius: 6px; min-width: 100px; padding: 6px 14px; font-size: 11px; }
.e3r-pills--eco { justify-content: center; gap: 20px 28px; max-width: 840px; margin: 30px auto 10px; }
.e3r-pills--eco .e3r-pill { min-width: 140px; font-family: var(--e3r-font-alt); font-size: 13px; padding: 14px 18px; }

/* Barre mise en avant */
.entry-content .e3r-note {
	position: relative;
	margin: 48px 0 0;
	padding: 18px 26px;
	border: 1.5px solid var(--e3r-orange);
	border-left-width: 2px;
	border-radius: 4px 999px 999px 4px;
	font-size: 14px;
	background: #fff;
}
.entry-content .e3r-note::before { content: ""; position: absolute; left: -2px; top: -2px; width: 150px; height: 4px; background: #fff; }
.entry-content .e3r-note--green { border-color: transparent transparent transparent var(--e3r-green); border-left-width: 4px; background: var(--e3r-cream-light); border-radius: 0 999px 999px 0; }
.entry-content .e3r-note--green::before { display: none; }
.entry-content .e3r-note--short { display: inline-block; max-width: 100%; padding-right: 48px; }

/* Arcs décoratifs */
.e3r-decor::before, .e3r-decor::after {
	content: "";
	position: absolute;
	top: 20px;
	width: 22px;
	height: 260px;
	border: 1.5px solid var(--e3r-orange);
	pointer-events: none;
}
.e3r-decor::before { left: -2px; border-left: 0; border-radius: 0 30px 30px 0; top: 230px; }
.e3r-decor::after { right: -2px; border-right: 0; border-radius: 30px 0 0 30px; border-color: var(--e3r-green); }
.e3r-decor { overflow: hidden; }

/* 7. Accueil --------------------------------------------------------------- */
.e3r-hero { position: relative; height: clamp(260px, 30vw, 440px); overflow: hidden; background: var(--e3r-grey); margin-top: 0 !important; }
.e3r-hero .wp-block-image, .e3r-hero .wp-block-video, .e3r-hero .wp-block-embed { position: absolute; inset: 0; margin: 0; }
.e3r-hero img, .e3r-hero video { width: 100%; height: 100%; object-fit: cover; }
.home .site-main > .entry > .entry-content > :first-child.e3r-hero { margin-top: 0; }

.e3r-home-intro { background: var(--e3r-green-light); padding: 84px 0 90px; }
.e3r-home-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.entry-content .e3r-home-intro__title { color: var(--e3r-orange); font-size: 27px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 34px; line-height: 1.25; }
.entry-content .e3r-home-intro__lead { font-size: 17px; line-height: 1.4; margin: 0 0 30px; }
.entry-content .e3r-home-intro__text p:not(.e3r-home-intro__lead) { font-size: 14px; line-height: 1.5; margin-bottom: 36px; }
.e3r-home-intro__buttons { gap: 12px; }
.e3r-collage { position: relative; min-height: 380px; }
.entry-content .e3r-collage > * { margin: 0; }
.e3r-collage__a, .e3r-collage__b { position: absolute; border-radius: var(--e3r-radius); overflow: hidden; border: 4px solid #fff; box-shadow: var(--e3r-shadow-soft); }
.e3r-collage__a { left: 0; top: 0; width: 56%; z-index: 2; }
.e3r-collage__b { right: 0; bottom: 0; width: 84%; }
.e3r-collage img { aspect-ratio: 4 / 3; object-fit: cover; }
.e3r-collage__b img { aspect-ratio: 5 / 3; }

/* Nos implantations */
.e3r-implantations { background: var(--e3r-cream); padding: 84px 0 64px; border-radius: 90px 90px 0 0; margin-top: -32px !important; }
.e3r-implantations--page { border-radius: 0; margin-top: 0 !important; padding-top: 48px; background: linear-gradient(var(--e3r-cream-light), #fff); }
.e3r-implantations__grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 56px; align-items: start; }
.entry-content .e3r-implantations__title { color: var(--e3r-green); font-size: 27px; margin: 10px 0 8px; }
.entry-content .e3r-implantations__lead { font-size: 13.5px; margin: 0 0 36px; }
.e3r-implantations--page .e3r-implantations__title { display: none; }
.e3r-implantations--page .e3r-implantations__lead { color: var(--e3r-green); font-weight: 700; font-size: 15px; margin-top: 40px; }
.e3r-implantations__card { background: #fff; border-radius: 10px; padding: 26px 24px; }
.e3r-implantations--page .e3r-implantations__card { border: 1px solid var(--e3r-green); }
ul.e3r-implantations-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
ul.e3r-implantations-list li { break-inside: avoid; padding: 7px 0; font: 700 12.5px/1.2 var(--e3r-font-alt); text-transform: uppercase; }
ul.e3r-implantations-list a { color: var(--e3r-green); text-decoration: none; }
ul.e3r-implantations-list a:hover { text-decoration: underline; }
ul.e3r-implantations-list span { color: var(--e3r-green); }
.e3r-implantations__map img { width: 100%; max-width: 760px; margin-left: auto; }

/* Services de proximité */
.e3r-services__grid { display: grid; grid-template-columns: 1fr 47%; min-height: 560px; }
.e3r-services__photos { position: relative; margin: 0 !important; }
.entry-content .e3r-services__photos > * { margin: 0; }
.e3r-services__photos::before { content: ""; position: absolute; left: 27%; top: 22%; width: 42%; height: 78%; background: var(--e3r-orange-light); border-radius: 12px 12px 0 0; }
.e3r-services__p1, .e3r-services__p2, .e3r-services__p3 { position: absolute; border-radius: 22px; overflow: hidden; }
.e3r-services__p1 { left: 7%; top: 14%; width: 33%; }
.e3r-services__p2 { left: 43%; top: 27%; width: 34%; }
.e3r-services__p3 { left: 7%; top: 61%; width: 33%; }
.e3r-services__photos img { aspect-ratio: 3 / 2; object-fit: cover; }
.e3r-services__p2 img { aspect-ratio: 8 / 7; }
.e3r-services__panel { background: var(--e3r-green); color: #fff; padding: 96px 64px 80px 106px; }
.entry-content .e3r-services__panel > * { margin: 0; }
.entry-content .e3r-services__title { font-size: 23px; margin-bottom: 8px; }
.entry-content .e3r-services__sub { font-size: 16px; margin-bottom: 40px; }
.entry-content .e3r-services__item { margin-bottom: 30px; font-size: 14.5px; line-height: 1.4; }
.entry-content .e3r-services__item p { margin: 0; }
.entry-content .e3r-services__panel .wp-block-buttons { margin-top: 18px; }

/* Solutions de recyclage industriel */
.e3r-industrial__grid { display: grid; grid-template-columns: 38% 1fr; }
.e3r-industrial__visual { position: relative; min-height: 640px; display: flex; align-items: center; padding: 40px 56px; overflow: hidden; border-right: 2px solid var(--e3r-green); }
.entry-content .e3r-industrial__visual > * { margin: 0; }
.e3r-industrial__bg { position: absolute; inset: 0; }
.e3r-industrial__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.entry-content .e3r-industrial__title { position: relative; color: #fff; font-size: clamp(28px, 2.8vw, 41px); line-height: 1.32; }
.e3r-hl { color: var(--e3r-green); }
.e3r-industrial__visual::after { content: ""; position: absolute; right: -8px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--e3r-green); transform: translateY(-50%); }
.e3r-industrial__cards { background: #cfe6c0; padding: 120px 58px 120px 72px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 24px; align-content: center; }
.entry-content .e3r-icard { background: #fff; border-radius: 5px; padding: 28px 24px 26px; font-size: 12.5px; line-height: 1.45; box-shadow: var(--e3r-shadow-soft); }
.entry-content .e3r-icard > * { margin: 0; }
.entry-content .e3r-icard h3 { font-size: 15px; text-transform: uppercase; margin-bottom: 16px; }
.entry-content .e3r-icard p { text-align: justify; }
.entry-content .e3r-icard--green { background: var(--e3r-green); color: #fff; }
.e3r-industrial__cards .e3r-icard:nth-child(3) { grid-column: 1; margin-right: 22%; }
.e3r-industrial__cards .e3r-icard:nth-child(4) { margin-left: -22%; }

/* 8. Vous êtes ------------------------------------------------------------- */
.e3r-audience { padding: 56px 0 120px; }

/* 9. Nous sommes ----------------------------------------------------------- */
.e3r-video { padding: 40px 0 40px; }
.entry-content .e3r-video__frame { max-width: 740px; margin: 0 auto; border-radius: 12px; overflow: hidden; position: relative; }
.e3r-video .wp-block-video, .e3r-video .wp-block-embed { max-width: 740px; margin: 0 auto; border-radius: 12px; overflow: hidden; }
.e3r-video .wp-block-video video { width: 100%; display: block; }
.e3r-editor-hint { display: none; }

/* Notre histoire */
.e3r-history { padding: 34px 0 30px; overflow: hidden; }
.e3r-history__grid { display: grid; grid-template-columns: 38% 1fr; gap: 40px 90px; }
.e3r-history__photos { display: flex; flex-direction: column; gap: 70px; padding-top: 50px; }
.entry-content .e3r-history__photos > * { margin: 0; }
.e3r-framed { position: relative; width: 82%; }
.e3r-framed::before { content: ""; position: absolute; left: -18px; top: -18px; width: 92%; height: 100%; z-index: -1; }
.e3r-framed img { aspect-ratio: 1 / 1.03; object-fit: cover; position: relative; }
.e3r-framed--green img { aspect-ratio: auto; }
.e3r-framed--green::before { background: var(--e3r-green); }
.e3r-framed--red { margin-left: 14%; }
.e3r-framed--red::before { left: auto; right: -18px; background: var(--e3r-red); }
.e3r-framed--orange::before { background: var(--e3r-orange); }
.e3r-history__photos { isolation: isolate; }
.e3r-history__content { position: relative; }
.entry-content .e3r-history__content > * { margin: 0; }
.entry-content .e3r-history__badge {
	background: var(--e3r-green);
	color: #fff;
	border-radius: 40px 0 0 40px;
	padding: 16px 40px;
	text-align: center;
	font-size: 15px;
	margin: 0 calc(var(--e3r-gutter) * -1 - 120px) 30px auto !important;
	max-width: 430px;
	position: relative;
	right: -1px;
}
.e3r-timeline { display: flex; flex-direction: column; gap: 18px; }
.entry-content .e3r-timeline__item { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; min-height: 52px; }
.entry-content .e3r-timeline__item > * { margin: 0; }
.entry-content .e3r-timeline__year { color: var(--e3r-orange); font-size: 23px; font-weight: 400; }
.entry-content .e3r-timeline__text { font-size: 12.5px; }
.entry-content .e3r-history__more { display: inline-block; margin-top: 34px !important; color: var(--e3r-orange); background: var(--e3r-cream-light); border-radius: 999px; padding: 8px 22px; font-size: 14px; }
.e3r-stats-band { background: var(--e3r-cream); padding: 22px 0; }
.e3r-stats-band__list { display: flex; justify-content: space-around; gap: 24px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.entry-content .e3r-stat { text-align: center; color: var(--e3r-green); }
.entry-content .e3r-stat > * { margin: 0; }
.entry-content .e3r-stat__num { font-size: 20px; }
.entry-content .e3r-stat__label { font-size: 13px; }

/* Nos valeurs */
.e3r-values { padding: 56px 0 70px; }
.e3r-value { display: grid; grid-template-columns: minmax(0, 470px) 1fr; gap: 50px; align-items: center; max-width: 1180px; margin: 0 auto 22px !important; }
.entry-content .e3r-value > * { margin: 0; }
.e3r-corner { position: relative; padding: 4px; }
.e3r-corner::before, .e3r-corner::after { content: ""; position: absolute; width: 38%; height: 40px; }
.e3r-corner img { position: relative; aspect-ratio: 2.6 / 1; object-fit: cover; }
.e3r-corner--green::before { left: 0; top: 0; border-left: 4px solid var(--e3r-green); border-top: 4px solid var(--e3r-green); height: 70%; }
.e3r-corner--orange::before { right: 0; top: 0; border-right: 4px solid var(--e3r-orange); border-top: 4px solid var(--e3r-orange); height: 70%; }
.e3r-corner--red::before { left: 0; bottom: 0; border-left: 4px solid var(--e3r-red); border-bottom: 4px solid var(--e3r-red); height: 70%; }
.entry-content .e3r-value__title { color: var(--e3r-green); font-size: 17px; font-weight: 400; margin-bottom: 14px; }
.entry-content .e3r-value__body p { font-size: 13.5px; line-height: 1.55; margin: 0; }

/* Nos chiffres clés */
.e3r-figures { background: #f6f6f4; padding: 40px 0 120px; }
.entry-content .e3r-figures__lead { color: var(--e3r-green); font-size: 21px; line-height: 1.4; margin: 0 0 50px; }
.e3r-figures__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 44px; max-width: 1000px; margin: 0 auto; }
.entry-content .e3r-figure {
	background: #fff;
	border: 1px solid currentColor;
	border-radius: 12px;
	aspect-ratio: 4 / 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 12px;
	box-shadow: var(--e3r-shadow-soft);
}
.entry-content .e3r-figure > * { margin: 0; }
.entry-content .e3r-figure__icon img { width: 28px; height: 28px; margin: 0 auto 4px; }
.entry-content .e3r-figure__num { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; font-weight: 400; }
.entry-content .e3r-figure__label { font-size: 12px; margin-top: 8px; }
.e3r-figure--orange { color: var(--e3r-orange); }
.e3r-figure--green { color: var(--e3r-green); }
.e3r-figure--red { color: var(--e3r-red-bright); }
.entry-content .e3r-figure-photo { border-radius: 12px; overflow: hidden; box-shadow: var(--e3r-shadow-soft); }
.entry-content .e3r-figure-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry-content .e3r-figure-photo--wide { grid-column: span 2; }
.entry-content .e3r-figure-photo--wide img { aspect-ratio: 2.85 / 1; }

/* Notre réseau national */
.e3r-network { padding: 50px 0 80px; }
.e3r-network__row { display: grid; grid-template-columns: 41% 1fr; align-items: center; margin-bottom: 80px !important; }
.entry-content .e3r-network__row > * { margin: 0; }
.e3r-network__img img { aspect-ratio: 1.6 / 1; object-fit: cover; }
.e3r-network__card { position: relative; background: #fff; border-radius: 22px; padding: 40px 40px 36px; box-shadow: 0 8px 24px rgba(238, 114, 29, .18); z-index: 1; font-size: 12px; }
.entry-content .e3r-network__card > * { margin: 0 0 12px; }
.e3r-network__row--reverse { grid-template-columns: 1fr 41%; }
.e3r-network__row--reverse .e3r-network__img { order: 2; }
.e3r-network__row--reverse .e3r-network__card { margin-right: -2px !important; padding-top: 56px; }
.entry-content .e3r-network__badge { position: absolute; width: 140px; height: 140px; top: -30px; right: -20px; border-radius: 50%; border: 3px solid var(--e3r-green); background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; margin: 0 !important; padding: 12px; }
.e3r-network__row--reverse .e3r-network__badge { right: auto; left: -60px; top: -60px; }
.e3r-network__badge img { object-fit: contain; width: 100%; height: auto; }
.entry-content .e3r-network__title { color: var(--e3r-orange); font-weight: 700; font-size: 14px; margin-bottom: 0; }
.entry-content .e3r-network__sub { font-size: 12px; margin-bottom: 18px; }
.e3r-network__card .e3r-pills { gap: 12px 26px; margin-top: 20px; }

/* Certifications */
.e3r-certif { padding: 40px 0 80px; }
.entry-content .e3r-certif__intro { font-size: 14px; margin: 0 0 40px; }
.e3r-certif__intro strong { color: var(--e3r-green); }
.e3r-certif__panels { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1120px; margin: 0 auto; }
.entry-content .e3r-certif__panel { position: relative; min-height: 290px; padding: 46px 34px; display: flex; align-items: flex-start; overflow: hidden; margin: 0; }
.entry-content .e3r-certif__panel > * { margin: 0; }
.e3r-certif__panel--green { background: var(--e3r-green); }
.e3r-certif__bg { position: absolute; inset: 0; }
.e3r-certif__bg img { width: 100%; height: 100%; object-fit: cover; }
.e3r-certif__card { position: relative; background: #fff; border-radius: 12px; padding: 22px 22px 26px; width: 100%; min-height: 200px; font-size: 12.5px; }
.entry-content .e3r-certif__card > * { margin: 0 0 12px; }
.entry-content .e3r-certif__icon img { width: 22px; height: 22px; }
.entry-content .e3r-certif__title { color: var(--e3r-green); font-size: 13.5px; }
.e3r-certif__band { background: var(--e3r-orange); padding: 22px 34px; max-width: 1120px; margin: 0 auto !important; }
.e3r-certif__band .e3r-certif__card { min-height: 0; border-radius: 16px; padding: 14px 22px; }
.entry-content .e3r-certif__band .e3r-certif__card > * { margin: 0; }
.e3r-certif__title--shield::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; background: url("../icons/shield-green.svg") center / contain no-repeat; }

/* 10. Vos déchets ---------------------------------------------------------- */
.e3r-waste { padding: 40px 0 46px; }
.e3r-waste__intro { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.entry-content .e3r-waste__intro > * { margin: 0; }
.e3r-bubbles { position: relative; height: 270px; }
.entry-content .e3r-bubbles > * { margin: 0; }
.e3r-bubble { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, .14); }
.e3r-bubble img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.e3r-bubble--1 { left: 84px; top: 0; width: 190px; height: 190px; }
.e3r-bubble--2 { left: 0; top: 60px; width: 175px; height: 175px; z-index: 2; }
.e3r-bubble--3 { left: 124px; top: 132px; width: 132px; height: 132px; z-index: 3; }
.e3r-bubbles--2 .e3r-bubble--1 { left: 90px; top: 0; }
.e3r-bubbles--2 .e3r-bubble--2 { left: 34px; top: 64px; width: 165px; height: 165px; }
.e3r-waste__body { position: relative; padding-top: 20px; font-size: 13.5px; }
.entry-content .e3r-waste__body > p { margin: 0 0 14px; }
.entry-content .e3r-waste__lead { color: var(--e3r-green); font-weight: 700; font-size: 15px; margin-bottom: 22px !important; }
.e3r-waste__lead small { font-size: 11px; color: var(--e3r-text); font-weight: 400; }
.e3r-waste__body .e3r-pills { margin-top: 28px; }
.entry-content .e3r-waste__badge { position: absolute; right: -30px; top: -26px; width: 90px; margin: 0 !important; }
.entry-content .e3r-waste__after { margin: 26px 0 0 340px; font-size: 13.5px; }
.e3r-waste__extra { margin-top: 36px !important; padding-left: 340px; }
.entry-content .e3r-waste__extra > * { margin: 0; }
.entry-content .e3r-waste__subtitle { color: var(--e3r-green); font-size: 13px; }
.e3r-bcards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 22px; max-width: 980px; margin: 46px auto 0 !important; }
.entry-content .e3r-bcard { border: 1.5px solid var(--e3r-orange); border-radius: 20px; padding: 18px 22px 22px; background: #fff; font-size: 12.5px; box-shadow: 0 6px 12px rgba(0, 0, 0, .08); }
.entry-content .e3r-bcard > * { margin: 0 0 12px; }
.e3r-bcard--green { border-color: var(--e3r-green) !important; }
.e3r-bcard--wide { grid-column: 1 / -1; }
.e3r-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.entry-content .e3r-tags .e3r-pill { box-shadow: none; border: 1px solid #333; border-radius: 999px; padding: 4px 9px; font-size: 10.5px; min-width: 0; }
.e3r-logos { display: flex; justify-content: center; align-items: center; gap: 100px; margin-top: 40px !important; flex-wrap: wrap; }
.entry-content .e3r-logos__item img { max-height: 70px; width: auto; }

/* 11. Nos solutions -------------------------------------------------------- */
.e3r-solution { padding: 50px 0 56px; }
.e3r-solution__head { display: grid; grid-template-columns: minmax(0, 470px) 1fr; align-items: start; position: relative; }
.entry-content .e3r-solution__head > * { margin: 0; }
.e3r-solution__img { border-radius: 26px 26px 0 26px; overflow: hidden; grid-row: 1 / span 2; }
.e3r-solution__img img { aspect-ratio: 1.12 / 1; object-fit: cover; }
.e3r-solution__body { padding: 32px 0 0 20px; }
.entry-content .e3r-solution__body > * { margin: 0; }
.entry-content .e3r-tag { display: inline-block; background: var(--e3r-green); color: #fff; font-weight: 700; font-size: 21px; padding: 3px 8px; margin-bottom: 16px !important; line-height: 1.3; }
.entry-content .e3r-solution__lead { color: var(--e3r-green); font-weight: 700; font-size: 19px; line-height: 1.4; margin-bottom: 30px !important; max-width: 640px; }
.e3r-solution__card { background: #fff; position: relative; margin-left: -150px !important; padding: 30px 32px 10px; font-size: 14.5px; }
.entry-content .e3r-solution__card > * { margin: 0 0 18px; }
.e3r-text-green { color: var(--e3r-green); }
ul.e3r-checklist { list-style: none; margin: 0 0 22px; padding: 0; }
ul.e3r-checklist li { position: relative; padding-left: 20px; margin-bottom: 4px; }
ul.e3r-checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 11px; height: 11px; background: url("../icons/check-green.svg") center / contain no-repeat; }
.e3r-solution .e3r-checklist--2 { columns: 2; column-gap: 40px; }
.e3r-solution .e3r-checklist--2 li { break-inside: avoid; color: var(--e3r-green); }
ul.e3r-arrowlist { list-style: none; margin: 0 0 22px; padding: 0; }
ul.e3r-arrowlist li { padding-left: 20px; position: relative; margin-bottom: 4px; }
ul.e3r-arrowlist li::before { content: "→"; position: absolute; left: 0; }
ul.e3r-bullets { margin: 0 0 14px; padding-left: 18px; }
.e3r-solution__aside { display: grid; grid-template-columns: 1fr 460px; gap: 40px; align-items: center; margin-top: 60px !important; }
.entry-content .e3r-solution__aside > * { margin: 0; }
.e3r-solution__aside-text { text-align: center; }
.entry-content .e3r-solution__aside-text .e3r-solution__lead { font-size: 15.5px; max-width: none; text-align: justify; }
.e3r-solution__aside-img { border-radius: 26px; overflow: hidden; }
.e3r-solution__aside-img img { aspect-ratio: 1.65 / 1; object-fit: cover; }
.e3r-containers { background: var(--e3r-grey-light); padding: 34px 0 30px; }
.entry-content .e3r-containers__title { font-size: 16px; margin-bottom: 18px; }
.e3r-containers__img img { max-width: 880px; margin: 0 auto; mix-blend-mode: multiply; }

.e3r-feature { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 24px; align-items: center; margin-bottom: 40px !important; }
.entry-content .e3r-feature > * { margin: 0; }
.e3r-feature__img { border-radius: 22px; overflow: hidden; }
.e3r-feature__img img { aspect-ratio: 1.36 / 1; object-fit: cover; }
.e3r-feature__body { font-size: 14px; padding: 0 0 0 4px; }
.entry-content .e3r-feature__body > * { margin: 0 0 12px; }
.entry-content .e3r-feature__body .e3r-tag { margin-bottom: 18px !important; font-size: 19px; }
.entry-content .e3r-feature__body p { text-align: justify; }
.e3r-feature__body .wp-block-buttons { margin-top: 22px !important; }
.e3r-feature--reverse { grid-template-columns: 1fr minmax(0, 440px); }
.e3r-feature--reverse .e3r-feature__img { order: 2; }

/* 12. Formulaires ---------------------------------------------------------- */
.e3r-form-hero { position: relative; height: 150px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0 var(--e3r-gutter); }
.entry-content .e3r-form-hero > * { margin: 0; }
.e3r-form-hero__bg { position: absolute; inset: 0; }
.e3r-form-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.entry-content .e3r-form-hero__text { position: relative; background: rgba(232, 245, 222, .86); color: var(--e3r-green); padding: 2px 8px; font-size: clamp(18px, 2vw, 25px); text-align: center; }
.e3r-form { padding: 50px 0 60px; }
section.e3r-form { padding: 48px 0 56px; }
.e3r-form__layout { display: grid; grid-template-columns: 200px 1fr; gap: 16px; max-width: 760px; margin: 0 auto; align-items: start; }
.e3r-form-card { border: 1px solid var(--e3r-green); border-radius: 8px; padding: 22px 28px 26px; background: #fff; }
.e3r-form-card--narrow { max-width: 690px; margin: 0 auto; padding: 26px 54px 30px; }
.e3r-contact-aside { display: flex; flex-direction: column; gap: 12px; }
.e3r-contact-card { border: 1px solid var(--e3r-green); border-radius: 8px; padding: 18px 16px; font-size: 11.5px; }
.e3r-contact-card p { margin: 0 0 10px; }
.e3r-contact-card--orange { border-color: var(--e3r-orange); padding: 26px 16px 20px; }
.e3r-contact-card--orange img { width: 32px; height: 32px; margin-bottom: 18px; }
.e3r-contact-card__title { font-size: 12.5px; font-weight: 500; margin-bottom: 18px !important; }
.e3r-contact-list { list-style: none; margin: 0; padding: 0; }
.e3r-contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; line-height: 1.35; }
.e3r-contact-list li > img { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.e3r-contact-list--round li > img { width: 22px; height: 22px; padding: 3px; border: 1px solid var(--e3r-green); border-radius: 50%; }
.e3r-contact-list strong { display: block; font-weight: 500; font-size: .95em; }
.e3r-contact-list a { color: inherit; text-decoration: none; }
.e3r-contact-list a:hover { text-decoration: underline; }

form.e3r-form { padding: 0; font-size: 12px; }
.e3r-form__title { font-size: 13px; margin: 0 0 18px; }
.e3r-form__group { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.e3r-form__legend { font-size: 13px; padding: 0; margin: 4px 0 14px -22px; }
.e3r-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.e3r-field { display: flex; flex-direction: column; gap: 5px; }
.e3r-field--wide { grid-column: 1 / -1; }
.e3r-field label { font-size: 11.5px; }
.e3r-req { color: var(--e3r-red-bright); }
.e3r-field input[type="text"], .e3r-field input[type="email"], .e3r-field input[type="tel"], .e3r-field textarea,
.search-form__input {
	width: 100%;
	border: 1px solid #555;
	border-radius: 999px;
	padding: 6px 14px;
	font: inherit;
	font-size: 13px;
	background: #fff;
	color: var(--e3r-text);
}
.e3r-field textarea { border-radius: 14px; min-height: 120px; resize: vertical; }
.e3r-field input:focus, .e3r-field textarea:focus { outline: 2px solid var(--e3r-green); outline-offset: 0; border-color: var(--e3r-green); }
.e3r-field.has-error input, .e3r-field.has-error textarea, .e3r-field.has-error .e3r-file__label { border-color: var(--e3r-red-bright); }
.e3r-field__error { color: var(--e3r-red-bright); font-size: 11px; }
.e3r-file { position: relative; display: block; }
.e3r-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.e3r-file__label { display: flex; align-items: center; gap: 8px; border: 1px solid #555; border-radius: 999px; padding: 5px 12px; font-size: 11.5px; color: var(--e3r-muted); }
.e3r-file input:focus-visible + .e3r-file__label { outline: 2px solid var(--e3r-green); }
.e3r-file__label img { width: 14px; height: 14px; }
.e3r-file__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e3r-field--consent { margin: 6px 0 4px; }
.e3r-field--consent label { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; }
.e3r-field--consent input { margin-top: 2px; accent-color: var(--e3r-green); }
.e3r-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.e3r-form__actions { text-align: center; margin: 18px 0 6px; }
.e3r-form__legal { text-align: center; font-size: 10.5px; color: var(--e3r-muted); margin: 0; }
.e3r-form__notice { border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; font-size: 13px; }
.e3r-form__notice--ok { background: #eaf6e1; color: #2c6512; border: 1px solid var(--e3r-green); }
.e3r-form__notice--error { background: #fdecea; color: #8d1c14; border: 1px solid #e3a49c; }
.e3r-map { width: 100%; height: var(--e3r-map-h, 340px); }
.e3r-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* 13. Agences (mini-sites) ------------------------------------------------- */
.e3r-is-agence .site-branding { height: calc(var(--e3r-header-h) + 30px); }
.e3r-ag-hero { position: relative; height: clamp(260px, 22vw, 330px); display: flex; align-items: center; overflow: hidden; }
.entry-content .e3r-ag-hero > * { margin: 0; }
.e3r-ag-hero__bg { position: absolute; inset: 0; }
.e3r-ag-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.e3r-ag-hero__content { position: relative; width: 100%; max-width: 1440px; margin: 0 auto !important; padding: 40px 36px 0; color: #fff; }
.entry-content .e3r-ag-hero__content > * { margin: 0; }
.entry-content .e3r-ag-hero__title { font-family: Poppins, var(--e3r-font); font-weight: 700; font-size: clamp(22px, 2.3vw, 31px); line-height: 1.35; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); margin-bottom: 22px; }
.entry-content .e3r-ag-hero__sub { font-family: Poppins, var(--e3r-font); font-size: 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.e3r-ag-services { padding: 40px 0 34px; }
.e3r-ag-services .e3r-container, .e3r-ag-where .e3r-container, .e3r-ag-figures .e3r-container { max-width: 1300px; }
.entry-content .e3r-ag-title { color: var(--e3r-green); font-size: 17px; margin: 0 0 36px; }
.entry-content .e3r-ag-title--orange { color: var(--e3r-orange); }
.e3r-ag-services__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 34px !important; }
.entry-content .e3r-ag-service { border: 1px solid var(--e3r-green); border-radius: 8px; padding: 26px 12px 30px; text-align: center; min-height: 190px; box-shadow: var(--e3r-shadow-soft); font-size: 12.5px; }
.entry-content .e3r-ag-service > * { margin: 0 0 8px; }
.entry-content .e3r-ag-service__icon img { width: 44px; height: 44px; padding: 8px; margin: 0 auto 16px; border-radius: 50%; background: var(--e3r-cream-light); }
.entry-content .e3r-ag-service__title { font-size: 14px; }
.entry-content .e3r-ag-services .is-style-e3r-outline-green .wp-block-button__link { color: var(--e3r-text); font-weight: 700; font-size: 13px; padding: 7px 14px; }
.entry-content .e3r-ag-services .is-style-e3r-outline-green .wp-block-button__link:hover { color: #fff; }
.e3r-ag-where { background: linear-gradient(#f7f3ec, #fdfcfa); padding: 20px 0 50px; }
.e3r-agence-infos__title { color: var(--e3r-orange); font-size: 17px; text-align: right; margin: 0 0 20px; }
.e3r-agence-infos__grid { display: grid; grid-template-columns: 240px 1fr; gap: 54px; align-items: stretch; }
.e3r-agence-infos__card { background: #fff; border: 1px solid var(--e3r-orange); border-radius: 22px; padding: 20px 22px; font-size: 11px; }
.e3r-agence-infos__name { text-align: center; font-size: 12.5px; margin: 0 0 20px; }
.e3r-agence-infos__card .e3r-contact-list li { margin-bottom: 14px; }
.e3r-agence-infos__card .e3r-contact-list a { text-decoration: underline; }
.e3r-agence-infos__map { border-radius: 22px; overflow: hidden; min-height: 300px; }
.e3r-agence-infos__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.e3r-ag-figures { padding: 20px 0 70px; }
.e3r-ag-figures .e3r-ag-title { margin-left: 46px; }
.e3r-ag-figures__panel { background: #a9d48d; border-radius: 22px; padding: 46px 30px; display: flex; justify-content: space-around; gap: 24px; flex-wrap: wrap; max-width: 1040px; margin-left: 46px !important; }
.entry-content .e3r-ag-figure { text-align: center; min-width: 150px; font-size: 12px; }
.entry-content .e3r-ag-figure > * { margin: 0; }
.entry-content .e3r-ag-figure__icon img { width: 60px; height: 60px; padding: 14px; border-radius: 50%; background: #fff; margin: 0 auto 10px; }
.entry-content .e3r-ag-figure__num { font-size: 18px; }
.e3r-ag-about { background: var(--e3r-cream); }
.e3r-ag-about__grid { display: grid; grid-template-columns: 44% 1fr; align-items: center; }
.entry-content .e3r-ag-about__grid > * { margin: 0; }
.e3r-ag-about__img img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.e3r-ag-about__card { background: #fff; border: 1px solid var(--e3r-orange); border-radius: 22px; padding: 30px 24px 26px; margin: 50px 36px 50px 46px !important; font-size: 12px; }
.entry-content .e3r-ag-about__card > * { margin: 0 0 14px; }
.entry-content .e3r-ag-about__card .e3r-ag-title { margin-bottom: 24px; font-size: 16px; }
.e3r-is-agence .e3r-cta--home { padding: 56px 0 46px; }
.e3r-is-agence .e3r-cta--home .e3r-cta__text { font-size: 15px !important; color: var(--e3r-text) !important; }
.e3r-is-agence .e3r-slogan { padding: 24px 0; }
.e3r-is-agence .e3r-slogan__text { font-size: 15px; }

/* 14. Divers --------------------------------------------------------------- */
.e3r-listing { padding: 48px var(--e3r-gutter) 80px; }
.e3r-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.e3r-post-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--e3r-shadow); }
.e3r-post-card__img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.e3r-post-card__body { padding: 18px 20px 22px; font-size: 14px; }
.e3r-post-card__title { font-size: 17px; margin-bottom: 6px; }
.e3r-post-card__title a { color: var(--e3r-text); text-decoration: none; }
.e3r-post-card__date { color: var(--e3r-muted); font-size: 12px; }
.e3r-404 { padding: 60px var(--e3r-gutter) 90px; text-align: center; }
.e3r-404__lead { font-size: 18px; }
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 20px auto; }
.entry-meta { color: var(--e3r-muted); font-size: 13px; }
.entry-thumb img { border-radius: var(--e3r-radius); margin-bottom: 24px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers { padding: 6px 12px; border-radius: 4px; border: 1px solid var(--e3r-green); text-decoration: none; }
.nav-links .current { background: var(--e3r-green); color: #fff; }
.entry-content h2:not([class*="e3r-"]) { color: var(--e3r-green); font-size: 24px; }
.entry-content h3:not([class*="e3r-"]) { font-size: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	:root { --e3r-tab-w: 260px; }
	.site-branding { padding-left: 32px; }
	.site-nav { gap: 16px; }
	.site-nav .menu > li > a, .header-cta { font-size: 14.5px; }
	.header-cta { padding: 16px 20px; }
	.e3r-services__panel { padding: 70px 40px 60px 56px; }
	.e3r-industrial__cards { padding: 70px 36px; }
	.e3r-history__badge { margin-right: 0 !important; border-radius: 40px; }
}

@media (max-width: 1080px) {
	:root { --e3r-header-h: 84px; --e3r-tab-w: 210px; }
	.site-header { align-items: center; }
	.site-branding { height: var(--e3r-header-h); clip-path: none; padding: 10px 0 0 20px; }
	.e3r-is-agence .site-branding { height: var(--e3r-header-h); }
	.site-logo__img { width: 92px; }
	.site-logo__img--mark { width: 88px; }
	.site-branding { padding-top: 6px; }
	.site-header--agence .site-branding { width: 170px; }
	.site-logo__tagline { font-size: 10px; }
	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin-right: 14px;
		width: 48px;
		height: 48px;
		border: 0;
		background: transparent;
		cursor: pointer;
		position: relative;
		z-index: 3;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 30px; height: 3px; background: var(--e3r-green); border-radius: 2px; transition: transform .2s, opacity .2s; }
	.nav-toggle__bars { position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -9px; }
	.nav-toggle__bars::after { top: 9px; }
	.nav-open .nav-toggle__bars { background: transparent; }
	.nav-open .nav-toggle__bars::before { transform: translateY(9px) rotate(45deg); }
	.nav-open .nav-toggle__bars::after { transform: translateY(-9px) rotate(-45deg); }
	.site-nav:not(.site-nav--agence) {
		position: fixed;
		inset: var(--e3r-header-h) 0 0 0;
		margin: 0;
		padding: 18px 24px 40px;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .25s ease, visibility .25s;
		border-top: 1px solid var(--e3r-cream);
	}
	.nav-open .site-nav:not(.site-nav--agence) { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.site-nav:not(.site-nav--agence) .menu { flex-direction: column; gap: 0; flex: none; }
	.site-nav:not(.site-nav--agence) .menu > li { border-bottom: 1px solid var(--e3r-cream); display: flex; flex-wrap: wrap; align-items: center; }
	.site-nav:not(.site-nav--agence) .menu > li > a { flex: 1; border: 0; padding: 16px 0; font-size: 17px; }
	.submenu-toggle {
		display: inline-flex;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		border: 0;
		background: transparent;
		color: var(--e3r-green);
		cursor: pointer;
	}
	.submenu-toggle::before { content: ""; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
	.is-open > .submenu-toggle::before { transform: rotate(-135deg) translate(-2px, -2px); }
	.site-nav .sub-menu { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; min-width: 0; width: 100%; padding: 0 0 12px 8px; display: none; border-radius: 0; }
	.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { transform: none; }
	.site-nav .menu > li.is-open > .sub-menu { display: block; }
	.site-nav .sub-menu a { padding: 9px 0 9px 10px; font-size: 15px; }
	.header-cta { text-align: center; margin: 8px 0 0; }
	.site-header--agence .site-nav--agence { padding: 0 16px 0 0; margin-left: 0; justify-content: flex-end; }
	.site-header--agence .site-nav--agence { margin-left: 170px !important; }
	.site-header--agence .site-nav--agence .menu { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
	.site-header--agence .site-nav--agence .menu > li > a { font-size: 12px; }
	.page-banner, .page-banner--left { padding: 14px var(--e3r-gutter); min-height: 0; justify-content: center; }
	.page-banner__title, .page-banner--left .page-banner__title { font-size: 21px; text-align: center; }

	.e3r-home-intro { padding: 56px 0 70px; }
	.e3r-home-intro__grid, .e3r-implantations__grid { grid-template-columns: 1fr; gap: 36px; }
	.e3r-collage { min-height: 0; aspect-ratio: 1.45 / 1; max-width: 560px; margin: 0 auto !important; width: 100%; }
	.e3r-implantations { border-radius: 40px 40px 0 0; }
	.e3r-services__grid, .e3r-industrial__grid { grid-template-columns: 1fr; }
	.e3r-services__photos { min-height: 0; aspect-ratio: 1.2 / 1; max-width: 640px; margin: 0 auto !important; width: 100%; }
	.e3r-services__panel { padding: 54px var(--e3r-gutter) 60px; }
	.e3r-industrial__visual { min-height: 300px; border-right: 0; border-bottom: 2px solid var(--e3r-green); }
	.e3r-industrial__visual::after { display: none; }
	.e3r-industrial__cards { padding: 50px var(--e3r-gutter); }
	.e3r-cards--5 { grid-template-columns: repeat(3, 1fr); }
	.e3r-cards--4 { grid-template-columns: repeat(3, 1fr); }
	.e3r-history__grid { grid-template-columns: 1fr; }
	.e3r-history__photos { flex-direction: row; gap: 30px; padding: 20px 0 0 18px; }
	.e3r-history__badge { margin: 0 0 28px !important; max-width: none; }
	.e3r-network__row, .e3r-network__row--reverse { grid-template-columns: 1fr; }
	.e3r-network__row--reverse .e3r-network__img { order: 0; }
	.e3r-network__card { margin: -40px 16px 0 !important; }
	.e3r-network__row--reverse .e3r-network__card { margin: -40px 16px 0 !important; }
	.e3r-network__row--reverse .e3r-network__badge { left: auto; right: -10px; top: -50px; }
	.e3r-certif__panels { grid-template-columns: 1fr; }
	.e3r-solution__head { grid-template-columns: 1fr; }
	.e3r-solution__img { grid-row: auto; max-width: 560px; }
	.e3r-solution__body { padding: 24px 0 0; }
	.e3r-solution__card { margin: 0 !important; padding: 0; }
	.e3r-feature, .e3r-feature--reverse { grid-template-columns: 1fr; }
	.e3r-feature--reverse .e3r-feature__img { order: 0; }
	.e3r-feature__img { max-width: 560px; }
	.e3r-solution__aside { grid-template-columns: 1fr; }
	.e3r-ag-services__grid { grid-template-columns: repeat(3, 1fr); }
	.e3r-ag-about__grid { grid-template-columns: 1fr; }
	.e3r-ag-about__img img { min-height: 260px; max-height: 360px; }
	.e3r-ag-about__card { margin: 30px var(--e3r-gutter) 40px !important; }
	.e3r-ag-figures__panel, .e3r-ag-figures .e3r-ag-title { margin-left: 0 !important; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; padding: 36px var(--e3r-gutter) 40px; }
	.site-footer__tagline { grid-column: 1 / -1; justify-self: start; font-size: 34px; }
	.e3r-decor::before, .e3r-decor::after { display: none; }
}

@media (max-width: 782px) {
	:root { --e3r-gutter: 16px; }
	body { font-size: 14.5px; }
	.e3r-cards--3, .e3r-cards--4, .e3r-cards--5 { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
	.e3r-audience { padding: 36px 0 60px; }
	.e3r-process__steps { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
	.e3r-atouts__list { flex-direction: column; align-items: center; gap: 22px; }
	.e3r-industrial__cards { grid-template-columns: 1fr; }
	.e3r-industrial__cards .e3r-icard:nth-child(3), .e3r-industrial__cards .e3r-icard:nth-child(4) { margin: 0; }
	.e3r-home-intro__buttons { flex-direction: column; align-items: center; }
	.e3r-home-intro__buttons .wp-block-button { width: min(260px, 100%); }
	.e3r-home-intro__buttons .wp-block-button__link { width: 100%; }
	.entry-content .e3r-home-intro__title { font-size: 21px; margin-bottom: 20px; }
	.e3r-history__photos { flex-direction: column; align-items: flex-start; }
	.e3r-framed { width: 76%; }
	.e3r-value { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px !important; }
	.e3r-figures__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.entry-content .e3r-figure-photo--wide { grid-column: span 2; }
	.e3r-waste__intro { grid-template-columns: 1fr; }
	.e3r-bubbles { width: 240px; margin: 0 auto !important; }
	.entry-content .e3r-waste__after { margin-left: 0; }
	.e3r-waste__extra { padding-left: 0; }
	.entry-content .e3r-waste__badge { right: 0; top: -10px; width: 70px; }
	.e3r-bcards { grid-template-columns: 1fr; }
	.e3r-pills { gap: 12px; justify-content: center; }
	.entry-content .e3r-pill { min-width: 0; flex: 1 1 140px; }
	.entry-content .e3r-note { border-radius: 4px 30px 30px 4px; }
	.e3r-solution .e3r-checklist--2 { columns: 1; }
	.e3r-form__layout { grid-template-columns: 1fr; }
	.e3r-form__grid { grid-template-columns: 1fr; gap: 12px; }
	.e3r-form-card--narrow { padding: 22px 18px; }
	.e3r-form__legend { margin-left: 0; }
	.e3r-form-hero { height: 120px; }
	.e3r-ag-services__grid { grid-template-columns: 1fr 1fr; }
	.e3r-agence-infos__grid { grid-template-columns: 1fr; gap: 20px; }
	.e3r-agence-infos__title { text-align: left; }
	.e3r-ag-figures__panel { padding: 30px 16px; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 26px; }
	.site-footer__tagline { font-size: 26px; }
	.e3r-logos { gap: 30px; }
	.e3r-cta--home { padding: 44px 0 50px; }
}

@media (max-width: 480px) {
	.e3r-cards--3, .e3r-cards--4, .e3r-cards--5 { grid-template-columns: 1fr; }
	.e3r-ag-services__grid { grid-template-columns: 1fr; }
	.e3r-process__steps { grid-template-columns: 1fr; }
	.e3r-figures__grid { grid-template-columns: 1fr; }
	.entry-content .e3r-figure-photo--wide { grid-column: auto; }
	.e3r-history__photos .e3r-framed { width: 84%; }
	.e3r-timeline__item { grid-template-columns: 60px 1fr !important; }
	.e3r-timeline__year { font-size: 19px !important; }
}

/* Barre d'administration WordPress (utilisateur connecté) */
@media (max-width: 1080px) {
	.admin-bar .site-nav:not(.site-nav--agence) { top: calc(var(--e3r-header-h) + 46px); }
}
@media (min-width: 783px) and (max-width: 1080px) {
	.admin-bar .site-nav:not(.site-nav--agence) { top: calc(var(--e3r-header-h) + 32px); }
}
