/* ==========================================================================
   Thème CAG – feuille de style principale
   Design « Terroir » (pages institutionnelles) + « Portail » (annonces, emplois, actualités)
   Mobile d'abord, compatible iOS Safari, accessible (WCAG 2.1 AA)
   ========================================================================== */

:root {
	--green-dark: #143D1D;
	--green: #1E5B2B;
	--yellow: #F2B91D;
	--red: #C81E28;
	--cream: #F7EFDC;
	--ink: #1B2A1E;
	--ink-portal: #14231A;
	--body2: #33443A;
	--muted: #4A5B50;
	--muted-portal: #3A4D40;
	--line: #E2D6B8;
	--input-bd: #CBBF9E;
	--input-bg: #FDFAF2;
	--soft: #F4F7F2;
	--soft-bd: #D5E0D0;
	--soft-line: #E3EAE0;
	--on-dark: #D6E3D0;
	--logo-dark: #111611;
	--logo-green: #3E9B2F;
	--logo-light: #8FD17A;
	--blue: #1F5FBF;
	--f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--f-portal: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--gutter: 24px;
	--radius: 22px;
	--shadow: 0 18px 40px -18px rgba(20, 61, 29, .35);
	--focus: 0 0 0 3px #fff, 0 0 0 6px #1F5FBF;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: rgba(30, 91, 43, .15);
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn:hover, .card--link:hover, .chip:hover, .nav a:hover, .filiere-card:hover, .news-item:hover, .news-feature:hover, .logo-space:hover, .filiere-more:hover { text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
p, li, dd, td, th, a { overflow-wrap: break-word; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.site-main:focus { outline: none; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--green-dark); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
	width: 100%;
	max-width: calc(1240px);
	margin-inline: auto;
	padding-left: max(var(--gutter), env(safe-area-inset-left));
	padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.container--wide { max-width: 1280px; }

/* Utilitaires */
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.text-soft { color: var(--on-dark); }
.text-body2 { color: var(--body2); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.fw-800 { font-weight: 800; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Typographie ---------- */
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); color: var(--green-dark); margin: 0 0 6px; }
.band--dark .h2, .panel--dark .h2 { color: var(--cream); }
.h2--mb { margin-bottom: 28px; }
.h2--mb-sm { margin-bottom: 20px; }
.h2--sm { font-size: clamp(27px, 3.2vw, 38px); margin-top: 8px; }
.h2--md { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.h2--xl { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 20px; }
.h2--sm.h2--mb-sm { margin-top: 0; }
.h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 26px); color: var(--green-dark); }
.h3--sm { font-size: 24px; margin-bottom: 8px; color: inherit; }
.h3--mb { margin-bottom: 16px; }
.h3--mb-sm { margin-bottom: 14px; }
.h3--rub { font-size: 28px; margin: 4px 0 12px; }
.h4 { display: block; font-family: var(--f-display); font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.h-portal { font-family: var(--f-portal); font-size: 24px; font-weight: 800; color: var(--ink-portal); margin: 0 0 14px; }
.h-portal--lg { color: var(--green-dark); }
.kicker { display: block; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.kicker--red { color: var(--red); }
.kicker--yellow { color: var(--yellow); }
.kicker--sm { font-size: 12px; }
.badge-yellow {
	display: inline-block; background: var(--yellow); color: var(--green-dark); font-weight: 800; font-size: 13px;
	letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin: 0;
}
.link-strong { font-weight: 800; color: var(--green); }
.prose > *:last-child { margin-bottom: 0; }
.prose--lg { font-size: 17px; }
.prose a { color: var(--green); text-decoration: underline; }
.prose--article { font-size: 17px; line-height: 1.7; }
.prose--article h2 { font-family: var(--f-portal); font-size: 24px; margin: 1.4em 0 .5em; color: var(--green-dark); }
.prose--article h3 { font-size: 20px; margin: 1.2em 0 .4em; }
.prose--article img { border-radius: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
	min-height: 48px; padding: 13px 24px; border-radius: 12px; border: 2px solid transparent;
	font-weight: 700; line-height: 1.2; transition: filter .15s, transform .15s, background-color .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn--green { background: var(--green); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--green-dark); }
.btn--red { background: var(--red); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark-green { background: var(--green-dark); color: #fff; }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: rgba(30, 91, 43, .06); }
.btn--outline-dark { border-color: var(--green-dark); color: var(--green-dark); background: transparent; }
.btn--logo { background: var(--logo-green); color: #fff; font-weight: 800; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--pill-red { background: var(--red); color: #fff; border-radius: 999px; padding: 11px 22px; white-space: nowrap; }
.btn--sm { min-height: 44px; padding: 10px 12px; font-size: 14px; }
.btn--lg { min-height: 50px; padding: 14px 28px; }
.btn--xl { min-height: 54px; padding: 16px 30px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn--start { align-self: flex-start; }
.btn--field { height: 48px; min-height: 48px; padding: 0 28px; }
.btn--mt { margin-top: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.btn-pair { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-pair .btn { flex: 1 1 130px; }
.link-btn { background: none; border: 0; padding: 8px 0; color: inherit; text-decoration: underline; min-height: 44px; }

/* ---------- Bande tricolore, barre supérieure ---------- */
.site-top { position: relative; z-index: 50; }
.site-top.is-sticky { position: sticky; top: 0; }
.tricolor { display: flex; height: 6px; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--red); }
.tricolor span:nth-child(2) { background: var(--yellow); }
.tricolor span:nth-child(3) { background: var(--green); }
.topbar { background: var(--green-dark); color: var(--cream); font-size: 13px; }
.topbar .container { max-width: 1360px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.topbar__contacts { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.topbar__contacts a { white-space: nowrap; }
.topbar__group { display: inline-flex; align-items: center; gap: 0 .3em; flex-wrap: wrap; }
.topbar__group > .ico { color: var(--yellow); margin-right: 4px; flex: 0 0 auto; }
.topbar__sep { opacity: .45; }
.topbar abbr { text-decoration: none; border: 0; }
.t-short { display: none; }
.topbar__platforms { display: flex; gap: 4px; font-weight: 700; flex: 0 0 auto; }
.topbar__platforms a { position: relative; display: inline-flex; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 8px; transition: background-color .2s ease, color .2s ease; }
.topbar__platforms a::after {
	content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px;
	background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.topbar__platforms a:hover, .topbar__platforms a:focus-visible { background: rgba(247, 239, 220, .1); text-decoration: none; }
.topbar__platforms a:hover::after, .topbar__platforms a:focus-visible::after { transform: scaleX(1); }
.topbar__platforms a .ico { transition: transform .2s ease; }
.topbar__platforms a:hover .ico { transform: translate(2px, -2px); }
.topbar__platforms .is-current { color: var(--yellow); }
/* Une seule ligne sur ordinateur : intitulés abrégés (DG, DC) quand la place manque */
@media (min-width: 960px) {
	.topbar__inner, .topbar__contacts, .topbar__group { flex-wrap: nowrap; white-space: nowrap; }
}
@media (max-width: 1439px) {
	.t-long { display: none; }
	.t-short { display: inline; }
}

/* ---------- En-tête ---------- */
.masthead { background: var(--cream); border-bottom: 1px solid var(--line); }
.masthead .container { max-width: 1360px; }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 14px; padding-bottom: 14px; position: relative; }
.brand { flex: 0 0 auto; display: block; }
.brand__logo { height: 60px; width: auto; }
.nav-panel { display: flex; align-items: center; gap: 16px 24px; flex: 1 1 auto; justify-content: flex-end; flex-wrap: wrap; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 2px; font-weight: 600; font-size: 15px; }
/* Pastille au survol / page active (effet agrobolts) */
.nav__list a {
	position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 12px; border-radius: 10px; color: var(--ink);
	transition: color .2s ease;
}
.nav__list a::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: var(--nav-hover, #EAF0E3); opacity: 0; transform: scale(.88);
	transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .3, 1.2), background-color .2s ease;
}
.nav__list a:hover::before, .nav__list a:focus-visible::before { opacity: 1; transform: scale(1); }
.nav__list a:hover { color: var(--green-dark); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list .current-menu-ancestor > a, .nav__list .current_page_parent > a, .nav__list a[aria-current="page"] {
	color: var(--green);
}
.nav__list .current-menu-item > a::before, .nav__list .current_page_item > a::before, .nav__list .current-menu-ancestor > a::before, .nav__list .current_page_parent > a::before, .nav__list a[aria-current="page"]::before {
	opacity: 1; transform: none; background: var(--nav-active, #DDEBD6);
}
.nav__list .sub-menu { list-style: none; margin: 0; padding: 0; }
/* Icônes : masquées sur ordinateur sauf option « icônes du menu » */
.nav__chev { display: none; }
.nav .ico-tile { display: none; }
.nav--icons .ico-tile { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; margin-left: -4px; }
.nav__list a:hover .ico-tile { transform: rotate(-6deg) scale(1.06); }

/* Pastilles d'icônes */
.ico-tile {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 46px; height: 46px; border-radius: 14px;
	transition: transform .25s cubic-bezier(.2, .8, .3, 1.2), background-color .2s ease;
}
.ico-tile--sm { width: 40px; height: 40px; border-radius: 12px; }
.ico-tile--lg { width: 56px; height: 56px; border-radius: 16px; }
.ico-tile--green { background: #E3EFDD; color: var(--green); }
.ico-tile--yellow { background: #FBEFC9; color: #7A5A00; }
.ico-tile--red { background: #FBE3E4; color: var(--red); }
.ico-tile--dark { background: var(--green-dark); color: var(--yellow); }
.ico-tile svg { display: block; }
.card--link:hover .ico-tile, .card:hover > .ico-tile, .card:hover .card__body > .ico-tile { transform: translateY(-2px) rotate(-4deg); }
.nav-panel__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav-toggle { display: none; }
.nav-panel__contacts { display: none; }
@media (max-width: 600px) {
	.topbar__contacts { display: none !important; }
	.nav-panel__contacts { display: block; font-size: 14px; line-height: 1.9; color: var(--body2); }
	.nav-panel__contacts a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
}

/* Sélecteur de langue */
.lang { position: relative; display: inline-flex; align-items: center; }
.lang__icon { position: absolute; left: 12px; pointer-events: none; color: var(--green); }
.lang__select {
	-webkit-appearance: none; appearance: none; min-height: 44px; border: 1.5px solid var(--input-bd); border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E5B2B' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
	padding: 0 36px 0 38px; font-weight: 700; font-size: 14px; color: var(--green-dark); max-width: 190px;
}

@media (min-width: 1181px) {
	.nav-panel { flex-wrap: nowrap; gap: 16px; }
	.nav__list { flex-wrap: nowrap; gap: 2px; white-space: nowrap; }
	.nav-panel__actions { flex-wrap: nowrap; }
	.lang__select { max-width: 132px; }
}
/* Écrans moyens : pastilles plus serrées pour garder le menu sur une ligne */
@media (min-width: 1181px) and (max-width: 1399px) {
	.masthead__inner { gap: 16px; }
	.nav-panel { gap: 10px; }
	.nav__list { font-size: 14px; }
	.nav__list a { padding: 8px 7px; }
	.lang__select { max-width: 104px; padding-right: 28px; background-position: right 10px center; }
	.nav-panel__actions { gap: 8px; }
	.nav-panel__actions .btn--pill-red { padding: 10px 16px; }
}

/* Navigation mobile (≤ 1180px) */
@media (max-width: 1180px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
		border: 1.5px solid var(--input-bd); border-radius: 12px; background: #fff; color: var(--green-dark);
	}
	.nav-toggle__close { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }
	.nav-panel {
		display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
		background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -20px rgba(20, 61, 29, .45);
		flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 16px;
		padding: 12px max(var(--gutter), env(safe-area-inset-right)) 20px max(var(--gutter), env(safe-area-inset-left));
		max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
	}
	.nav-panel.is-open { display: flex; }
	/* Liste en lignes à icône (style agrobolts) */
	.nav__list { flex-direction: column; align-items: stretch; gap: 6px; font-size: 16px; }
	.nav__list a {
		display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; border-radius: 14px;
		background: #fff; border: 1px solid transparent; transition: border-color .2s ease, color .2s ease, transform .15s ease;
	}
	.nav__list a::before { display: none; }
	.nav__list a:hover { border-color: var(--soft-bd); }
	.nav__list a:active { transform: scale(.99); }
	.nav .ico-tile { display: inline-flex; }
	.nav__txt { flex: 1 1 auto; }
	.nav__chev { display: inline-flex; color: #8A928C; transition: transform .2s ease, color .2s ease; }
	.nav__list a:hover .nav__chev { transform: translateX(3px); color: var(--green); }
	.nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list .current_page_parent > a, .nav__list a[aria-current="page"] {
		border-color: #BFD8B5; background: #EEF5EA;
	}
	.nav__list .current-menu-item > a .ico-tile, .nav__list a[aria-current="page"] .ico-tile { background: var(--green); color: #fff; }
	.nav__list .sub-menu { margin-top: 6px; padding-left: 16px; display: flex; flex-direction: column; gap: 6px; }
	.nav__list .sub-menu a { font-size: 15px; min-height: 48px; }
	.nav-panel__actions { justify-content: space-between; }
	.nav-panel__actions .btn { flex: 1 1 auto; }
	.lang__select { max-width: none; }
	.brand__logo { height: 52px; }
}

/* ---------- Publicités ---------- */
.ad-band { background: var(--cream); }
.ad-band--top .container { padding-top: 14px; }
.ad-band--bottom .container { padding-top: 32px; }
.ad-band:empty, .ad-band .container:empty { display: none; }
.ad { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; border-radius: 14px; font-family: var(--f-body); }
.ad--placeholder {
	border: 2px dashed #E0A800; background: #FFF8E1; color: #7A5A00; font-size: 13px; font-weight: 700;
	gap: 8px 10px; flex-wrap: wrap; padding: 12px;
}
.ad--placeholder:hover { text-decoration: none; background: #FFF3C9; }
.ad__tag { background: var(--yellow); color: var(--green-dark); border-radius: 999px; padding: 2px 10px; font-size: 11px; letter-spacing: .06em; font-weight: 700; }
.ad--header, .ad--footer { min-height: 90px; }
.ad--article { min-height: 120px; }
.ad--sidebar { min-height: 250px; }
.ad--live { position: relative; overflow: hidden; background: #fff; min-height: 0; }
.ad--live .ad__tag { position: absolute; top: 6px; left: 6px; z-index: 1; font-size: 10px; }
.ad--live a, .ad--live picture { display: block; width: 100%; }
.ad--live img { width: 100%; height: auto; }
.ad--spaced { margin-top: 40px; }
.ad--mt { margin-top: 16px; }

/* ---------- Sections ---------- */
.section { padding-top: 56px; padding-bottom: 24px; }
.section--last { padding-bottom: 72px; }
.section--tight { padding-top: 40px; padding-bottom: 8px; }
.section--tight-top { padding-top: 40px; }
.section--band { padding-top: 72px; padding-bottom: 72px; }
.section--portal { padding-top: 28px; padding-bottom: 24px; }
.section--chain { padding-top: 32px; padding-bottom: 8px; }
.section__lead { margin: 0 0 24px; color: var(--body2); max-width: 680px; }
.section__lead--light { color: var(--on-dark); max-width: 640px; margin-bottom: 36px; }
.section__head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.section__head .h2 { margin: 0; }
.band--dark { background: var(--green-dark); color: var(--cream); margin-top: 48px; }
.band--white { background: #fff; color: var(--ink-portal); font-family: var(--f-portal); margin-top: 40px; }

/* ---------- Grilles et cartes ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card--pad { padding: 26px; }
.card--pad-lg { padding: 28px; }
.card--sm { border-radius: 18px; padding: 22px; }
.card--accent-top::before { content: ""; display: block; height: 8px; background: var(--accent); }
.card__body > .ico-tile, .card--sm > .ico-tile { margin-bottom: 14px; }
.service__title { display: block; }
.card--top { border-top: 6px solid var(--accent); }
.card--top-yellow { border-top: 6px solid var(--yellow); }
.card--top-red { border-top: 6px solid var(--red); }
.card--green { background: var(--green); color: #fff; }
.card--link { transition: transform .15s, box-shadow .15s; }
.card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__grow { flex: 1; margin: 0; color: var(--body2); }
.card__text { margin: 8px 0 0; font-size: 15px; }
.card--green .card__text, .card--green .text-muted { color: var(--on-dark); }
.bar { display: block; width: 44px; height: 6px; background: var(--accent); border-radius: 3px; margin-bottom: 16px; }
.pain__who { font-weight: 800; margin: 0 0 6px; }
.pain__quote { margin: 0; font-size: 18px; }

/* Pastilles */
.pill { display: inline-block; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 4px 10px; margin: 0; }
.pill--white { background: #fff; color: var(--green-dark); }
.pill--green { background: var(--green); color: #fff; }
.pill--yellow { background: var(--yellow); color: var(--green-dark); font-weight: 800; }
.pill--lg { font-size: 13px; font-weight: 800; letter-spacing: .06em; padding: 7px 16px; margin-bottom: 10px; }
.pill--start { align-self: flex-start; padding: 4px 12px; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.badge--green { background: #E5F1DF; color: var(--green); padding: 4px 12px; }
.chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-weight: 600; font-size: 14px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; background: #fff; padding: 8px 16px; border-radius: 999px; color: var(--ink); }
.chip.is-active { background: var(--green); color: #fff; }
a.chip:hover { box-shadow: inset 0 0 0 2px var(--green); }
.chips--yellow { margin: 24px 0 0; }
.chips--yellow .chip { background: var(--yellow); color: var(--green-dark); font-weight: 700; min-height: 36px; }
.chips--white .chip { background: #fff; font-weight: 700; padding: 10px 18px; }
.chips--cream { margin: 10px 0 22px; }
.chips--cream .chip { background: var(--cream); min-height: 36px; }

/* ---------- Accueil : hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.hero__text { flex: 1 1 480px; min-width: 0; }
.hero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08; margin: 20px 0 18px; color: var(--green-dark); }
.hero__lead { font-size: 18px; max-width: 540px; margin: 0 0 28px; color: var(--body2); }
.hero__media { flex: 1 1 400px; min-width: 0; display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.hero__stack { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hero__img { flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--green); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--arch { height: 430px; border-radius: 999px 999px 24px 24px; }
.hero__img--sm { flex: none; height: 190px; border-radius: 24px; }
.hero__img--leaf { flex: none; height: 224px; border-radius: 24px 24px 999px 24px; }
.brand-hero .hero__img--arch, .brand-hero .hero__img--leaf { height: 380px; flex: 1 1 0; }
.hero__img--offset { margin-top: 40px; }

/* Recherche */
.search-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.search-card .field { flex: 1 1 150px; margin: 0; }
.search-card .field--grow { flex: 2 1 240px; }
.overlap { margin-top: -40px; position: relative; z-index: 2; }

/* Formulaires */
.field { display: block; min-width: 0; }
.field label, .form legend { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea, .job-search input, .job-search select {
	width: 100%; min-height: 48px; border: 1.5px solid var(--input-bd); border-radius: 12px; padding: 0 14px;
	background: var(--input-bg); font-size: 16px; /* 16px : évite le zoom automatique d'iOS */
	-webkit-appearance: none; appearance: none; color: var(--ink);
}
.field textarea { padding: 12px 14px; min-height: 110px; resize: vertical; line-height: 1.5; }
.field select, .job-search select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A5B50' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.field input[type="date"] { display: block; line-height: 44px; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input::placeholder, .job-search input::placeholder { color: #6B7A70; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus, .job-search input:focus, .job-search select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 91, 43, .2); }
.field--sm input, .field--sm select { min-height: 44px; }
.req { color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(200, 30, 40, .15); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: flex; flex-wrap: wrap; gap: 14px; }
.form__row > .field { flex: 1 1 200px; }
.form__hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.form-notice { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-notice.is-ok { background: #E5F1DF; color: var(--green-dark); border: 1.5px solid #A9CF9B; }
.form-notice.is-error { background: #FDE7E8; color: #8A1219; border: 1.5px solid #F2AEB2; }
.cag-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; min-height: 36px; }
.check input { width: 20px; height: 20px; accent-color: var(--green); flex: 0 0 auto; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }

/* Espaces / chiffres */
.live { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; color: var(--red); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.live__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(200, 30, 40, .5); } 50% { box-shadow: 0 0 0 7px rgba(200, 30, 40, 0); } }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-top: 16px; }
.figure { border-top: 4px solid var(--accent); padding-top: 12px; }
.figure__value { font-family: var(--f-display); font-size: clamp(34px, 3.6vw, 44px); font-weight: 700; color: var(--green); line-height: 1; }
.figure__label { font-weight: 600; margin-top: 6px; }

/* Écosystème */
.eco { align-items: stretch; }
.eco__card { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.eco__card--cag { background: var(--cream); }
.eco__card--logo { background: #fff; }
.eco__card--yandi { background: var(--red); color: #fff; }
.eco__card .kicker, .eco__card p { margin: 0; }
.eco__card .card__grow { color: inherit; }
.eco__logo { height: 56px; width: auto; align-self: flex-start; }
.eco__logo--square { height: 76px; width: 76px; object-fit: contain; }
.eco__wordmark { font-weight: 800; font-size: 34px; letter-spacing: .04em; height: 56px; display: flex; align-items: center; }

/* Produits */
.product-card { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.product-card__media { position: relative; height: 150px; background: var(--card-bg, #E8D9A8); display: flex; align-items: flex-end; justify-content: space-between; padding: 12px; gap: 8px; }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card__media .pill { position: relative; }
.product-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__title { font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.product-card__meta { font-size: 14px; color: var(--muted); margin: 0; }
.product-card__specs { font-size: 14px; color: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; }
.product-card__specs dd { margin: 0; font-weight: 700; color: var(--ink); }
.product-card__buy { margin-top: auto; padding: 12px; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.step { border-left: 4px solid var(--yellow); padding-left: 16px; display: flex; flex-direction: column; }
.step__n { font-family: var(--f-display); font-size: 44px; color: var(--red); line-height: 1; }
.step__text { font-size: 15px; color: var(--body2); }

/* Impact */
.impact { background: var(--green); color: var(--cream); border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.impact__title { flex: 2 1 360px; font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; }
.impact__stats { flex: 3 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.impact__value { font-family: var(--f-display); font-size: clamp(38px, 4vw, 48px); color: var(--yellow); line-height: 1; }
.impact__label { font-size: 14px; }

/* Bloc annonces / emplois / actualités */
.split3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-bottom: 16px; }
.split3__main { min-width: 0; }
.list-card { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--soft-bd); border-radius: 18px; overflow: hidden; }
.list-card__item { padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--soft-line); }
.list-card__item:last-child { border-bottom: 0; }
.list-card__link { display: flex; flex-direction: column; }
.list-card__sub { font-size: 14px; color: var(--muted-portal); }
.list-card__date { font-size: 13px; color: var(--muted-portal); white-space: nowrap; }
.soft-card { background: var(--soft); border-radius: 18px; padding: 24px; }
.soft-card p { color: var(--muted-portal); font-size: 15px; margin: 0 0 14px; }
.soft-card--sm { padding: 20px; font-size: 14px; color: var(--muted-portal); }
.soft-card--sm b { color: var(--green-dark); }
.soft-card--sm a { color: var(--green); text-decoration: underline; }
.final { text-align: center; }
.final__note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Pages intérieures (Terroir) ---------- */
.page-hero { background: var(--green); color: var(--cream); }
.page-hero .container { padding-top: 44px; padding-bottom: 56px; }
.page-hero--tabs .container { padding-bottom: 0; }
.page-hero--overlap .container { padding-bottom: 72px; }
.page-hero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; margin: 12px 0 10px; }
.page-hero--tabs .page-hero__title { margin-bottom: 28px; }
.page-hero__text { margin: 0; font-size: 18px; max-width: 680px; color: #E4EDDF; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--on-dark); }
.crumb li + li::before { content: "/"; margin: 0 8px; opacity: .8; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.portal-hero .crumb ol, .is-portal .crumb ol { color: var(--muted-portal); }
.portal-hero .crumb a { text-decoration-color: rgba(20, 61, 29, .3); }
.subnav { display: flex; gap: 4px 6px; font-weight: 700; font-size: 15px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
.subnav::-webkit-scrollbar { display: none; }
.subnav__link { padding: 12px 20px; white-space: nowrap; border-radius: 14px 14px 0 0; min-height: 44px; display: inline-flex; align-items: center; }
.subnav__link.is-active { background: var(--cream); color: var(--green-dark); }
.subnav__link:hover { background: rgba(247, 239, 220, .15); text-decoration: none; }
.subnav__link.is-active:hover { background: var(--cream); }

.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split__main { flex: 3 1 460px; min-width: 0; }
.split__side { flex: 2 1 320px; min-width: 0; }
.split--even { gap: 24px; }
.split--even .split__main { flex: 1 1 440px; }
.split--even .split__side { flex: 1 1 400px; }
.split--form { gap: 24px; }
.rounded-img { border-radius: 24px; overflow: hidden; background: var(--card-bg, transparent); }
.rounded-img img { width: 100%; height: 100%; object-fit: cover; }
.rounded-img--260 { height: 260px; margin-top: 24px; }
.rounded-img--220 { height: 220px; border-radius: 18px; }
.rounded-img--340 { height: 340px; border-radius: 20px; }
.rounded-img--article { aspect-ratio: 2 / 1; margin-bottom: 24px; border-radius: 22px; }
.identity { margin: 14px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.identity dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.identity dd { margin: 0; }
.panel { border-radius: 28px; padding: 48px; }
.panel--dark { background: var(--green-dark); color: var(--cream); }
.vision { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 36px; }
.vision__mission { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.3; margin: 12px 0 20px; }
.numlist { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.numlist li { display: flex; gap: 14px; align-items: flex-start; }
.numlist__n { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }

.org { display: flex; align-items: stretch; margin-bottom: 28px; }
.org__col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; }
.org__box { flex: 1; background: #fff; border-radius: 20px; padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.org__box--yellow { border: 2px solid var(--yellow); }
.org__box--center { flex: 1 1 240px; background: var(--green); color: #fff; font-size: 14px; }
.org > .org__box:last-child { flex: 1 1 200px; }
.org__logo { height: 44px; width: auto; margin: 0 auto 6px; }
.org__arrow { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 26px; }
.big-number { font-family: var(--f-display); font-size: 48px; color: var(--yellow); line-height: 1; }
.team { text-align: center; align-items: center; padding: 20px; }
.team__photo { width: 96px; height: 96px; border-radius: 50%; background: #E8D9A8; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); overflow: hidden; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.phase__head { padding: 18px 24px; font-weight: 800; color: #fff; }
.phase--yellow .phase__head { background: var(--yellow); color: var(--green-dark); }
.phase--green .phase__head { background: var(--green); }
.phase--red .phase__head { background: var(--red); }
.phase__body { padding: 22px 24px; }
.partners { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.partners__group { flex: 1 1 300px; }
.partners__group--wide { flex: 2 1 400px; }
.partners__label { font-size: 13px; letter-spacing: .06em; }
.partners__logos { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.partner-logo { flex: 1 1 140px; min-height: 72px; border: 1.5px dashed var(--input-bd); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); text-align: center; padding: 8px; }
.partner-logo.has-logo { border-style: solid; border-color: #EDE5D0; }
.partner-logo img { max-height: 56px; width: auto; }
.partners + .chips { margin-bottom: 24px; }

.contact-card { background: #fff; border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; }
.contact-card__form { flex: 3 1 420px; min-width: 0; }
.contact-card__form .btn { align-self: flex-start; }
.contact-card__info { flex: 2 1 300px; min-width: 0; background: var(--green-dark); color: var(--cream); border-radius: 22px; padding: 28px; font-size: 15px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info__title { color: var(--yellow); }
.contact-info__row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__row > div { min-width: 0; }
.contact-info .ico-tile--dark { background: rgba(247, 239, 220, .12); color: var(--yellow); }
.contact-info a { text-decoration: underline; text-decoration-color: rgba(247, 239, 220, .4); }

/* Catalogue */
.results-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.results-bar b { color: var(--green-dark); }
.sort { display: flex; align-items: center; gap: 8px; }
.sort select { -webkit-appearance: none; appearance: none; min-height: 44px; border: 1.5px solid var(--input-bd); border-radius: 10px; background: #fff; padding: 0 30px 0 12px; font-weight: 700; color: var(--green-dark); font-size: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E5B2B' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.empty { background: #fff; border-radius: 18px; padding: 28px; text-align: center; color: var(--muted); }
.is-portal .empty { background: var(--soft); }
.pagination ul { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-weight: 700; font-size: 14px; }
.pagination--center ul { justify-content: center; margin-top: 32px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.is-portal .pagination .page-numbers { border: 1.5px solid var(--soft-bd); border-radius: 10px; }
.pagination .current { background: var(--green) !important; color: #fff; border-color: var(--green) !important; }
.pagination a.page-numbers:hover { text-decoration: none; box-shadow: inset 0 0 0 2px var(--green); }
.nav-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--soft-line); }
.nav-links a { display: block; max-width: 320px; }

.section--tight-top .grid { margin-top: 0; }
.filiere-card { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.filiere-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.filiere-card__media { position: relative; height: 170px; background: var(--card-bg); display: flex; align-items: flex-end; padding: 16px; overflow: hidden; }
.filiere-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.filiere-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 61, 29, 0) 35%, rgba(20, 61, 29, .78)); }
.filiere-card__name { position: relative; font-family: var(--f-display); font-size: 34px; font-weight: 700; color: #fff; line-height: 1; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.filiere-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.filiere-card__counts { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-top: auto; }
.filiere-card__counts b { color: var(--green-dark); }
.filiere-more { background: var(--yellow); color: var(--green-dark); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.filiere-more__title { font-family: var(--f-display); font-size: 28px; font-weight: 700; line-height: 1.1; }
.calendar { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.calendar__m { text-align: center; min-width: 0; }
.calendar__bar { display: block; height: 34px; border-radius: 8px; background: #EFE6CC; }
.calendar__m.is-on .calendar__bar { background: var(--green); }
.calendar__label { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; }
.map-box { margin-top: 12px; border-radius: 14px; overflow: hidden; background: #2E7A3D; }

.product { background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-wrap: wrap; gap: 32px; }
.product__media { flex: 1 1 360px; min-width: 0; }
.product__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.product__title { font-family: var(--f-display); font-size: clamp(28px, 3vw, 34px); line-height: 1.1; }
.thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 10px; }
.thumbs li { flex: 1; height: 64px; border-radius: 12px; overflow: hidden; background: #E8D9A8; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 14px; margin: 0; }
.specs > div { background: var(--cream); border-radius: 12px; padding: 12px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; }
.specs__wide { grid-column: span 2; }
.portal-hero--cream { background: transparent; border: 0; }
.portal-hero--cream .container { padding-top: 24px; }

/* Services */
.rubrique { flex-direction: row; flex-wrap: wrap; border-radius: 24px; }
.rubrique__media { flex: 1 1 200px; min-height: 200px; position: relative; background: var(--green-dark); display: flex; align-items: center; justify-content: center; }
.rubrique__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rubrique__icon { color: var(--yellow); display: inline-flex; }
.rubrique__body { flex: 2 1 280px; padding: 26px; }
.bullets { margin: 0; padding-left: 18px; font-size: 15px; display: flex; flex-direction: column; gap: 5px; }
.table-card { background: #fff; border-radius: 22px; overflow: hidden; }
.table-card--green { border-top: 6px solid var(--green); }
.table-card--yellow { border-top: 6px solid var(--yellow); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: -3px; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table--narrow { min-width: 520px; }
.price-table thead th { padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 800; white-space: nowrap; }
.table-card--green thead th { background: var(--green); color: #fff; }
.table-card--yellow thead th { background: var(--yellow); color: var(--green-dark); }
.price-table th.num, .price-table td.num { text-align: right; white-space: nowrap; }
.price-table tbody tr { border-top: 1px solid #EADFC4; }
.price-table tbody th, .price-table tbody td { padding: 16px; text-align: left; font-weight: 400; vertical-align: middle; }
.price-table tbody th b { display: block; }
.price-table tbody th span { display: block; font-size: 13px; color: var(--muted); }
.price-table__hl { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--green-dark); background: #F1F6EC; }
.offer { background: var(--green-dark); color: var(--cream); border-radius: 22px; padding: 22px 26px; margin-bottom: 16px; }
.offer__title { font-family: var(--f-display); font-size: 20px; color: var(--yellow); }
.offer p { margin: 8px 0 0; font-size: 15px; color: #E4EDDF; }
.offer p b { color: #fff; }
.pub-block + .pub-block { margin-top: 56px; }
.pub-block { scroll-margin-top: 90px; }
.where { margin-top: 20px; flex-direction: row; flex-wrap: wrap; gap: 28px; align-items: center; padding: 24px; }
.where__map { flex: 1 1 360px; min-width: 0; background: var(--cream); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.where__mid { display: flex; gap: 10px; }
.where__content { flex: 3; display: flex; flex-direction: column; gap: 10px; }
.where__slot { min-height: 46px; background: #FFF8E1; border: 2px dashed #E0A800; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; color: #7A5A00; text-align: center; padding: 4px; }
.where__slot span { width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: 0 0 auto; }
.where__slot--side { flex: 1.2; min-height: 120px; }
.where__line { height: 12px; background: #E9EFE4; border-radius: 6px; }
.where__line--title { height: 34px; border-radius: 8px; }
.where__line--short { width: 70%; }
.where__text { flex: 1 1 260px; min-width: 0; }
.where__text p { margin: 8px 0 0; font-size: 15px; color: var(--body2); }

/* LOGÖ / YANDI */
.brand-hero { color: #fff; }
.brand-hero--logo { background: var(--logo-dark); }
.brand-hero--yandi { background: var(--red); }
.brand-hero__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.brand-hero__text { flex: 1 1 480px; min-width: 0; }
.brand-hero__side, .brand-hero__media { flex: 1 1 360px; min-width: 0; }
.brand-hero__media { display: flex; gap: 14px; justify-content: center; }
.brand-hero__id { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.brand-hero__badge { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto; }
.brand-hero__badge img { width: 84px; height: 84px; object-fit: contain; }
.brand-hero__logo { height: 64px; width: auto; }
.brand-hero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; margin: 0 0 16px; }
.brand-hero__lead { margin: 0 0 28px; font-size: 18px; max-width: 560px; color: #D5DDD2; }
.brand-hero--yandi .brand-hero__lead { color: #FDEDEE; }
.yandi-word { font-family: var(--f-display); font-weight: 700; font-size: 40px; letter-spacing: .04em; border: 2px solid #FBC9CC; padding: 2px 16px; border-radius: 12px; }
.logo-space { background: #1D261D; border: 1px solid #324032; border-radius: 18px; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo-space:hover { border-color: var(--logo-light); }
.logo-space b { font-size: 18px; }
.logo-space__text { font-size: 14px; color: #BCC8B8; }
.logo-space__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.logo-space__tags span { border: 1px solid var(--logo-light); color: var(--logo-light); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 3px 10px; }
.chain { background: #fff; border-radius: 20px; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: center; font-weight: 700; text-align: center; margin: 0; }
.chain__pill { padding: 6px 16px; border-radius: 999px; }
.chain__pill--logo { background: var(--logo-dark); color: var(--logo-light); }
.chain__pill--yandi { background: var(--red); color: #fff; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.process--col { grid-template-columns: 1fr; gap: 12px; }
.process__item { background: #fff; border-radius: 20px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; font-size: 15px; }
.process__n { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--logo-dark); color: var(--logo-light); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.process--red .process__item { border-radius: 18px; padding: 16px 20px; }
.process--red .process__n { flex-basis: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; }
.buy-steps { list-style: none; margin: 0; padding: 0; gap: 16px; }
.buy-step { background: var(--green); color: #fff; border-radius: 20px; padding: 22px; font-size: 15px; display: flex; flex-direction: column; gap: 8px; }
.buy-step__n { font-family: var(--f-display); font-size: 40px; color: var(--yellow); line-height: 1; }
.guarantees { list-style: none; margin: 20px 0 0; padding: 20px 24px; background: #fff; border-radius: 20px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 700; font-size: 14px; color: var(--green-dark); }
.guarantees li { display: flex; align-items: center; gap: 6px; }
.guarantees svg { color: var(--green); }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: #fff; border-radius: 16px; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--green); font-weight: 800; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 22px 18px; font-size: 15px; color: var(--body2); }

/* Bandeaux d'appel à l'action */
.cta-band { border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta-band__title { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 28px); margin: 0 0 4px; }
.cta-band--yellow { background: var(--yellow); color: var(--green-dark); }
.cta-band--dark { background: var(--green-dark); color: var(--cream); }
.cta-band--dark .cta-band__text { color: var(--on-dark); }
.cta-band--dark .btn--yellow, .cta-band--dark .btn { }
.cta-band--red { background: var(--red); color: #fff; }
.cta-band--red .cta-band__text { color: #FDE7E8; }
.cta-band--black { background: var(--logo-dark); color: #fff; padding: 36px; }
.cta-band--black .cta-band__text { color: #BCC8B8; }
.cta-band--dark .btn--yellow { color: var(--green-dark); }

/* ---------- Pages « Portail » ---------- */
.is-portal .site-main { background: #fff; color: var(--ink-portal); font-family: var(--f-portal); }
.is-portal .field input, .is-portal .field select, .is-portal .field textarea { border-color: var(--soft-bd); border-radius: 10px; background: #fff; }
.is-portal .field label { color: var(--muted-portal); }
.portal-hero { background: var(--soft); border-bottom: 1px solid var(--soft-line); }
.portal-hero > .container { padding-top: 28px; padding-bottom: 28px; }
.portal-hero__inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: flex-end; justify-content: space-between; }
.portal-hero__title { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.1; margin: 8px 0 0; letter-spacing: -.02em; font-weight: 800; color: var(--green-dark); }
.portal-hero__title--mb { margin-bottom: 18px; }
.portal-hero .badge { margin-top: 12px; }
.layout-side { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.layout-side__main { flex: 3 1 580px; min-width: 0; }
.layout-side__aside { flex: 1 1 300px; max-width: 360px; min-width: 260px; }
.layout-side--left .filters { order: 0; }
.filters { flex: 1 1 240px; max-width: 280px; background: var(--soft); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.filters__form { display: flex; flex-direction: column; gap: 12px; }
.filters__title { font-weight: 800; color: var(--ink-portal); font-size: 16px; margin-bottom: 6px; }
.layout-side--left .layout-side__main { flex: 4 1 600px; }
.rows-card { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--soft-bd); border-radius: 18px; overflow: hidden; }
.row-item { padding: 16px 20px; border-bottom: 1px solid var(--soft-line); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }
.row-item:last-child { border-bottom: 0; }
.row-item__main { flex: 1 1 300px; min-width: 0; }
.row-item__title { font-size: 16px; font-weight: 700; margin: 4px 0 2px; }
.row-item__sub { font-size: 13px; color: var(--muted-portal); margin: 0; }
.row-item__date { font-size: 13px; color: var(--muted-portal); white-space: nowrap; }
.row-item__link { font-weight: 800; font-size: 14px; color: var(--green); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.form-card { border: 1.5px solid var(--soft-bd); border-radius: 22px; padding: 26px; }
.split--form .form-card { flex: 3 1 460px; }
.dark-card { flex: 2 1 300px; min-width: 0; background: var(--ink-portal); color: #fff; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.dark-card__title { font-size: 22px; line-height: 1.25; }
.dark-card__text { margin: 0; font-size: 14px; color: #BFD0C3; }
.dark-card__btn { margin-top: auto; }
.job-search { display: flex; flex-wrap: wrap; gap: 10px; background: #fff; border: 1.5px solid var(--soft-bd); border-radius: 16px; padding: 12px; }
.job-search__kw { flex: 2 1 240px; }
.job-search__region { flex: 1 1 160px; }
.job-search input, .job-search select { border: 0; background-color: #fff; }
.job-search__region select { border-left: 1.5px solid var(--soft-line); border-radius: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-weight: 700; font-size: 14px; }
.tab { border: 1.5px solid var(--soft-bd); padding: 10px 20px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.tab.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.tab:hover { text-decoration: none; border-color: var(--green); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 24px; }
.facts > div { background: var(--soft); border-radius: 14px; padding: 14px 16px; }
.facts dt { font-size: 12px; font-weight: 700; color: var(--muted-portal); }
.facts dd { margin: 2px 0 0; font-weight: 700; }

/* Actualités */
.news-feature { border: 1.5px solid var(--soft-bd); border-radius: 22px; overflow: hidden; display: flex; flex-wrap: wrap; }
.news-feature__media { flex: 1 1 280px; min-height: 220px; position: relative; background: var(--soft); }
.news-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-feature__body { flex: 1 1 300px; padding: 24px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.news-feature__title { font-size: 24px; line-height: 1.2; color: var(--green-dark); }
.news-cat { font-size: 12px; font-weight: 800; color: var(--red); display: block; }
.news-cat--mt { margin-top: 12px; }
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.news-item { border: 1.5px solid var(--soft-bd); border-radius: 18px; overflow: hidden; display: flex; flex-wrap: wrap; }
.news-item:hover, .news-feature:hover { border-color: var(--green); }
.news-item__media { flex: 0 0 180px; min-height: 110px; position: relative; background: var(--soft); }
.news-item__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-item__body { flex: 1 1 260px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.news-item__title { font-size: 18px; line-height: 1.25; }
.side-menu { border: 1.5px solid var(--soft-bd); border-radius: 18px; overflow: hidden; }
.side-menu__title { padding: 14px 18px; background: var(--green); color: #fff; font-weight: 700; }
.side-menu ul { list-style: none; margin: 0; padding: 0; }
.side-menu a { display: flex; align-items: center; min-height: 46px; padding: 10px 18px; border-top: 1px solid var(--soft-line); font-size: 15px; }
.side-menu a[aria-current="page"] { font-weight: 800; color: var(--green); }
.video-card { background: var(--ink-portal); color: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.video-card__screen { margin: 10px 0; height: 120px; border-radius: 12px; background: #24402D; display: flex; align-items: center; justify-content: center; color: var(--yellow); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--green-dark); color: var(--on-dark); font-size: 14px; font-family: var(--f-body); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; padding-top: 40px; padding-bottom: 32px; }
.site-footer__col { flex: 1 1 260px; }
.site-footer__brand { flex-basis: 280px; }
.site-footer__col p { margin: 0; }
.site-footer__logo { height: 56px; width: auto; margin-bottom: 12px; }
.site-footer__title { color: #fff; }
.site-footer .hl { color: var(--yellow); }
.site-footer a { text-decoration: underline; text-decoration-color: rgba(214, 227, 208, .35); text-underline-offset: 3px; }
.site-footer__bottom { border-top: 1px solid rgba(214, 227, 208, .15); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: max(14px, env(safe-area-inset-bottom)); font-size: 13px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
/* Soulignement animé au survol (pied de page) */
.site-footer .menu a, .footer-links a {
	text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left calc(100% - 10px) / 0 2px;
	transition: background-size .25s ease, color .2s ease;
}
.site-footer .menu a:hover, .footer-links a:hover, .site-footer .menu a:focus-visible, .footer-links a:focus-visible { background-size: 100% 2px; color: #fff; }

/* ---------- Consentement (traduction) ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 12px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.consent[hidden] { display: none; }
.consent__box { max-width: 720px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 18px; padding: 20px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .35); border-top: 6px solid var(--yellow); font-size: 15px; }
.consent__title { font-weight: 800; font-size: 17px; margin: 0 0 6px; color: var(--green-dark); }
.consent__box a { color: var(--green); text-decoration: underline; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__actions .btn { flex: 1 1 140px; }

/* ---------- Google Traduction : masquer la barre et le décalage ---------- */
body { top: 0 !important; position: static !important; }
.goog-te-banner-frame, .skiptranslate > iframe, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-tooltip:hover,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-l4eHX-hSRGPd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; visibility: hidden !important; }
.goog-text-highlight, font[style] { background: transparent !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }
html.translated-rtl body { direction: rtl; text-align: right; }
html.translated-rtl .lang__select { background-position: left 14px center; padding: 0 38px 0 36px; }

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1024px) {
	.split3 { grid-template-columns: 1fr 1fr; }
	.split3__main { grid-column: 1 / -1; }
	.layout-side__aside { max-width: none; }
	.filters { max-width: none; }
}

@media (max-width: 782px) {
	:root { --gutter: 16px; --radius: 18px; }
	.section { padding-top: 40px; }
	.section--band { padding-top: 48px; padding-bottom: 48px; }
	.section--last { padding-bottom: 48px; }
	.hero { padding-top: 32px; gap: 32px; }
	.hero__lead { font-size: 17px; }
	.hero__img--arch { height: 320px; }
	.hero__img--sm { height: 140px; }
	.hero__img--leaf { height: 164px; }
	.brand-hero .hero__img--arch, .brand-hero .hero__img--leaf { height: 280px; }
	.brand-hero__inner { padding-top: 40px; padding-bottom: 40px; }
	.page-hero .container { padding-top: 28px; padding-bottom: 40px; }
	.page-hero--overlap .container { padding-bottom: 64px; }
	.page-hero__text, .brand-hero__lead { font-size: 17px; }
	.panel, .impact { padding: 28px 22px; border-radius: 22px; }
	.contact-card { padding: 22px; gap: 24px; border-radius: 22px; }
	.contact-card__info { padding: 22px; }
	.product { padding: 18px; border-radius: 22px; }
	.rounded-img--340 { height: 260px; }
	.cta-band, .cta-band--black { padding: 24px; }
	.cta-band .btn-row, .cta-band .btn-row .btn { width: 100%; }
	.split3 { grid-template-columns: 1fr; }
	.org { flex-direction: column; }
	.org__arrow { transform: rotate(90deg); flex-basis: 36px; }
	.org__col, .org__box--center, .org > .org__box:last-child { flex: 0 0 auto; }
	.search-card { padding: 16px; }
	.search-card .field, .search-card .field--grow { flex: 1 1 100%; }
	.search-card .btn { width: 100%; }
	.where__map { flex-basis: 100%; }
	.layout-side__aside, .filters { min-width: 0; flex-basis: 100%; }
	.news-item__media { flex-basis: 110px; }
	.list-card__item { flex-direction: column; gap: 2px; }
	.btn-row > .btn { flex: 1 1 auto; }
	.final .btn-row > .btn { flex: 1 1 100%; }
	.specs { grid-template-columns: 1fr; }
	.specs__wide { grid-column: auto; }
	.calendar { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 8px; }
	.figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.figure__value { font-size: 28px; }
	.topbar__inner { justify-content: center; text-align: center; }
	.topbar__contacts { justify-content: center; font-size: 12px; }
	.topbar__sep { display: none; }
	.subnav { margin-right: calc(-1 * var(--gutter)); }
	.ad--header, .ad--footer { min-height: 60px; }
	.ad--sidebar { min-height: 120px; }
}

/* Tableaux de tarifs → cartes empilées sur mobile */
@media (max-width: 640px) {
	.price-table, .price-table--narrow { min-width: 0; }
	.price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
	.price-table tbody tr { padding: 6px 0 10px; }
	.price-table tbody tr:first-child { border-top: 0; }
	.price-table tbody th { padding: 14px 16px 6px; }
	.price-table tbody td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 16px; text-align: right; white-space: normal; }
	.price-table tbody td::before { content: attr(data-label); text-align: left; color: var(--muted); font-family: var(--f-body); font-size: 13px; font-weight: 600; }
	.price-table__hl { border-radius: 10px; margin: 4px 16px 0; width: auto !important; padding: 10px 12px !important; align-items: center; }
	.layout-side--left .filters { order: 2; }
}

@media (max-width: 420px) {
	.hero__media { gap: 10px; }
	.hero__stack { gap: 10px; }
	.hero__img--arch { height: 260px; }
	.hero__img--sm { height: 110px; }
	.hero__img--leaf { height: 140px; }
	.brand-hero__media .hero__img--offset { margin-top: 24px; }
	.figure__value { font-size: 30px; }
	.eco__card { padding: 22px; }
	.rubrique__media { min-height: 160px; }
	.row-item { padding: 14px 16px; }
}

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Contraste renforcé (Windows) */
@media (forced-colors: active) {
	.btn, .chip, .tab { border: 1px solid CanvasText; }
}

/* Impression */
@media print {
	.site-top, .ad-band, .site-footer, .consent, .nav-toggle, .search-card { display: none !important; }
	body { background: #fff; }
}
