/* ==========================================================================
   AFDES Impact — feuille de style du thème
   Design : vert profond (confiance, agriculture), safran (énergie), crème (chaleur)
   Toutes les classes « afd-* » sont posées sur les éléments Elementor
   (Avancé › Classes CSS) : vous pouvez les retirer ou les réutiliser.
   ========================================================================== */

:root {
	--afd-primary: #0F4C45;
	--afd-primary-dark: #0A332F;
	--afd-primary-soft: #E7F0EE;
	--afd-accent: #E9A23B;
	--afd-accent-dark: #C9831F;
	--afd-rose: #C2553F;
	--afd-cream: #FBF7F1;
	--afd-sand: #F2E9DC;
	--afd-ink: #1E1B1C;
	--afd-text: #4A4245;
	--afd-muted: #7A6F72;
	--afd-line: rgba(30, 27, 28, .10);
	--afd-white: #fff;
	--afd-radius: 22px;
	--afd-radius-sm: 14px;
	--afd-shadow: 0 1px 2px rgba(15, 76, 69, .06), 0 12px 32px -12px rgba(15, 76, 69, .18);
	--afd-shadow-lg: 0 2px 4px rgba(15, 76, 69, .06), 0 28px 60px -24px rgba(10, 51, 47, .35);
	--afd-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--afd-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--afd-header-h: 84px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--afd-header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--afd-sans);
	font-size: 17px;
	line-height: 1.7;
	color: var(--afd-text);
	background: var(--afd-cream);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--afd-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--afd-rose); }
h1, h2, h3, h4, h5, h6 { font-family: var(--afd-serif); color: var(--afd-ink); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5em; }
::selection { background: var(--afd-accent); color: var(--afd-ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 10000; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--afd-ink); color: #fff; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--afd-accent); outline-offset: 3px; }

/* ============================================================== HEADER */
.afd-topbar { background: var(--afd-primary-dark); color: #CFE0DC; font-size: 13.5px; }
.afd-topbar__inner { max-width: 1248px; margin: 0 auto; padding: 8px 24px; display: flex; gap: 22px; align-items: center; justify-content: space-between; }
.afd-topbar__group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.afd-topbar a { color: #CFE0DC; text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.afd-topbar a:hover { color: #fff; }
.afd-topbar svg { width: 14px; height: 14px; fill: var(--afd-accent); flex: none; }

.afd-header { position: sticky; top: 0; z-index: 999; border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
/* le flou est posé sur un pseudo-élément : un backdrop-filter sur l'en-tête lui-même casserait le menu mobile (position: fixed) */
.afd-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 247, 241, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.admin-bar .afd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .afd-header { top: 46px; } }
.afd-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 51, 47, .35); border-color: var(--afd-line); }
.afd-header__inner { max-width: 1248px; margin: 0 auto; padding: 0 24px; height: var(--afd-header-h); display: flex; align-items: center; gap: 20px; }
.afd-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--afd-ink); flex: none; }
.afd-brand img, .afd-brand .custom-logo { max-height: 58px; width: auto; display: block; }
.afd-brand__mark { width: 48px; height: 48px; border-radius: 14px; background: var(--afd-primary); color: var(--afd-accent); display: grid; place-items: center; font-family: var(--afd-serif); font-weight: 700; font-size: 22px; }
.afd-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.afd-brand__name { font-family: var(--afd-serif); font-weight: 700; font-size: 24px; letter-spacing: .02em; color: var(--afd-primary); }
.afd-brand__tag { font-size: 11px; letter-spacing: .04em; color: var(--afd-muted); max-width: 230px; }

.afd-nav { margin-left: auto; min-width: 0; }
.afd-menu, .afd-menu ul { list-style: none; margin: 0; padding: 0; }
.afd-menu { display: flex; align-items: center; gap: 2px; }
.afd-menu > li { position: relative; }
.afd-menu a { display: flex; align-items: center; gap: 6px; padding: 10px 11px; color: var(--afd-ink); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 10px; transition: color .2s, background .2s; white-space: nowrap; }
.afd-menu > li > a:hover, .afd-menu > li.current-menu-item > a, .afd-menu > li.current-menu-ancestor > a, .afd-menu > li.current_page_item > a, .afd-menu > li.current_page_ancestor > a { color: var(--afd-primary); background: var(--afd-primary-soft); }
.afd-menu .menu-item-has-children > a::after, .afd-menu .page_item_has_children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .6; }
.afd-menu .sub-menu, .afd-menu .children { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 290px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--afd-shadow-lg); border: 1px solid var(--afd-line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.afd-menu .sub-menu::before, .afd-menu .children::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.afd-menu li:hover > .sub-menu, .afd-menu li:focus-within > .sub-menu, .afd-menu li:hover > .children, .afd-menu li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.afd-menu .sub-menu a, .afd-menu .children a { font-weight: 500; font-size: 14.5px; white-space: normal; line-height: 1.35; padding: 10px 14px; }
.afd-menu .sub-menu a:hover, .afd-menu .children a:hover { background: var(--afd-cream); color: var(--afd-primary); }
.afd-submenu-toggle { display: none; }

.afd-header__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--afd-accent); color: var(--afd-ink) !important; text-decoration: none; font-weight: 700; font-size: 15px; transition: transform .2s, background .2s; flex: none; }
.afd-header__cta:hover { background: var(--afd-accent-dark); transform: translateY(-1px); }
.afd-header__cta svg { width: 16px; height: 16px; fill: currentColor; }
.afd-burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--afd-line); background: #fff; cursor: pointer; position: relative; }
.afd-burger span, .afd-burger span::before, .afd-burger span::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--afd-ink); border-radius: 2px; transition: transform .25s, opacity .2s; content: ""; }
.afd-burger span { top: 22px; }
.afd-burger span::before { left: 0; top: -6px; }
.afd-burger span::after { left: 0; top: 6px; }
.afd-nav-open .afd-burger span { background: transparent; }
.afd-nav-open .afd-burger span::before { transform: translateY(6px) rotate(45deg); }
.afd-nav-open .afd-burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1280px) {
	.afd-brand__tag { display: none; }
	.afd-menu a { padding: 10px 9px; font-size: 14.5px; }
}
@media (max-width: 1140px) {
	.afd-topbar__group--right .afd-hide-md { display: none; }
	.afd-burger { display: block; }
	.afd-header__cta { display: none; }
	.afd-nav { position: fixed; inset: var(--afd-nav-top, var(--afd-header-h)) 0 0 0; background: var(--afd-cream); overflow-y: auto; padding: 18px 20px 40px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; margin: 0; z-index: 998; }
	.afd-nav-open .afd-nav { transform: none; visibility: visible; transition: transform .3s ease; }
	.afd-nav-open { overflow: hidden; }
	.afd-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.afd-menu > li { border-bottom: 1px solid var(--afd-line); }
	.afd-menu a { font-size: 17px; padding: 15px 52px 15px 6px; white-space: normal; }
	.afd-menu .menu-item-has-children > a::after, .afd-menu .page_item_has_children > a::after { display: none; }
	.afd-submenu-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
	.afd-submenu-toggle::before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--afd-ink); border-bottom: 2px solid var(--afd-ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
	.is-open > .afd-submenu-toggle::before { transform: rotate(-135deg) translateY(-3px); }
	.afd-menu .sub-menu, .afd-menu .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 12px; min-width: 0; display: none; }
	.afd-menu .is-open > .sub-menu, .afd-menu .is-open > .children { display: block; }
	.afd-nav .afd-nav__cta { display: flex !important; margin-top: 24px; justify-content: center; }
}
.afd-nav__cta { display: none !important; }
@media (max-width: 640px) {
	:root { --afd-header-h: 72px; }
	.afd-topbar__inner { justify-content: center; }
	.afd-topbar__group--right { display: none; }
	.afd-brand__name { font-size: 21px; }
	.afd-brand img, .afd-brand .custom-logo { max-height: 48px; }
}

/* ============================================================== FOOTER */
.afd-footer { background: var(--afd-primary-dark); color: #BFD3CF; font-size: 15px; position: relative; overflow: hidden; }
.afd-footer::before { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 162, 59, .16), transparent 65%); pointer-events: none; }
.afd-footer__inner { max-width: 1248px; margin: 0 auto; padding: 84px 24px 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; position: relative; }
.afd-footer h2 { font-family: var(--afd-sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--afd-accent); margin: 0 0 20px; font-weight: 700; }
.afd-footer a { color: #E6EFED; text-decoration: none; }
.afd-footer a:hover { color: var(--afd-accent); }
.afd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.afd-footer__brand .afd-brand__name { color: #fff; font-size: 30px; }
.afd-footer__brand .afd-brand__mark { background: var(--afd-accent); color: var(--afd-primary-dark); }
.afd-footer__brand img { max-height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px; }
.afd-footer__about { margin: 18px 0 22px; line-height: 1.7; }
.afd-footer__social { display: flex; gap: 10px; }
.afd-footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); transition: background .2s, border-color .2s; }
.afd-footer__social a:hover { background: var(--afd-accent); border-color: var(--afd-accent); }
.afd-footer__social svg { width: 18px; height: 18px; fill: #fff; }
.afd-footer__social a:hover svg { fill: var(--afd-primary-dark); }
.afd-footer__axes li { display: flex; gap: 10px; align-items: baseline; }
.afd-footer__axes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--afd-accent); flex: none; transform: translateY(-2px); }
.afd-footer__people li { line-height: 1.4; }
.afd-footer__people span { display: block; font-size: 13px; color: #8FB0AA; }
.afd-footer__contact { margin-top: 22px; display: grid; gap: 8px; }
.afd-footer__contact p { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.afd-footer__contact svg { width: 15px; height: 15px; fill: var(--afd-accent); flex: none; margin-top: 5px; }
.afd-footer__bottom { max-width: 1248px; margin: 64px auto 0; padding: 22px 24px 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #8FB0AA; position: relative; }
@media (max-width: 1024px) { .afd-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .afd-footer__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; } }

.afd-totop { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--afd-primary); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--afd-shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; z-index: 998; }
.afd-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.afd-totop svg { width: 18px; height: 18px; fill: currentColor; }

/* ===================================================== CONTENU STANDARD (hors Elementor) */
.afd-content { max-width: 820px; margin: 0 auto; padding: 80px 24px 100px; }
.afd-content .entry-title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.afd-content .entry-meta { color: var(--afd-muted); font-size: 14px; margin-bottom: 28px; }
.afd-posts { display: grid; gap: 28px; }
.afd-post-card { background: #fff; border-radius: var(--afd-radius); padding: 32px; box-shadow: var(--afd-shadow); }
.afd-post-card h2 { font-size: 1.6rem; }
.afd-post-card h2 a { color: var(--afd-ink); text-decoration: none; }
.afd-404 { text-align: center; padding: 140px 24px; }
.afd-404 .afd-404__code { font-family: var(--afd-serif); font-size: clamp(5rem, 14vw, 9rem); color: var(--afd-accent); line-height: 1; margin: 0; }

/* ======================================================================
   ELEMENTOR — Sections
   ====================================================================== */
.afd-sec { position: relative; }
.afd-sec--cream { background-color: var(--afd-cream); }
.afd-sec--sand { background-color: var(--afd-sand); }
.afd-sec--dark { background-color: var(--afd-primary); }

/* ---- Hero d'accueil */
.afd-hero { overflow: hidden; }
.afd-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to top, rgba(8, 40, 37, .45), transparent); pointer-events: none; }
.afd-hero__content { max-width: 780px; position: relative; z-index: 2; }
body .afd-display .elementor-heading-title { font-family: var(--afd-serif); font-size: clamp(2.8rem, 6.2vw, 5.4rem); line-height: 1.02; font-weight: 600; letter-spacing: -.025em; color: #fff; }
body .afd-display .elementor-heading-title em { font-style: italic; color: var(--afd-accent); font-weight: 500; }
.afd-hero__badges { margin-top: 18px; }
.afd-badge { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); min-width: 150px; }
.afd-badge strong { font-family: var(--afd-serif); font-size: 26px; color: #fff; line-height: 1.1; }
.afd-badge span { font-size: 13px; color: #CFE0DC; }

/* ---- Hero des pages internes */
.afd-page-hero .afd-hero__content { max-width: 860px; }
body .afd-h1 .elementor-heading-title { font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.06; letter-spacing: -.02em; }
.afd-crumbs { margin: 0; font-size: 13.5px; color: #A8C4BF; font-weight: 500; letter-spacing: .02em; }
.afd-crumbs span { margin: 0 6px; color: var(--afd-accent); }

/* ---- CTA */
.afd-cta .afd-cta__inner { max-width: 980px; margin: 0 auto; width: 100%; align-items: center; }

/* ======================================================================
   ELEMENTOR — Layout (grilles CSS robustes, responsive)
   ====================================================================== */
.e-con.afd-grid { display: grid !important; align-items: stretch; }
.e-con.afd-grid > .e-con-inner { display: contents; }
.e-con.afd-grid > .elementor-element { width: auto !important; max-width: none !important; margin: 0 !important; min-width: 0; }
.e-con.afd-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.e-con.afd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.e-con.afd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) {
	.e-con.afd-grid-3, .e-con.afd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.e-con.afd-grid-2, .e-con.afd-grid-3, .e-con.afd-grid-4 { grid-template-columns: minmax(0, 1fr); }
	.e-con.afd-stats.afd-grid-4, .e-con.afd-gallery.afd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.e-con.afd-split { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.e-con.afd-split > .elementor-element { width: auto !important; max-width: none !important; min-width: 0; }
.e-con.afd-split--wide-left { grid-template-columns: 1.15fr .85fr; }
.e-con.afd-split--top { align-items: start; }
.e-con.afd-split--center { align-items: center; }
.e-con.afd-split--quote { grid-template-columns: .8fr 1.2fr; }
@media (min-width: 1025px) { .e-con.afd-split--rev > .elementor-element:first-child { order: 2; } }
@media (max-width: 1024px) {
	.e-con.afd-split, .e-con.afd-split--wide-left, .e-con.afd-split--quote { grid-template-columns: minmax(0, 1fr); }
}

.e-con.afd-narrow, .elementor-widget.afd-narrow { max-width: 820px; margin-left: auto !important; margin-right: auto !important; width: 100%; }
.e-con.afd-head { max-width: 760px; width: 100%; margin-bottom: 18px; }
.e-con.afd-head--center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
.e-con.afd-head-row { justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.e-con.afd-head-row .afd-head { margin-bottom: 0; }
.e-con.afd-btns { flex-direction: row !important; flex-wrap: wrap !important; }
.e-con.afd-btns > .elementor-element { width: auto !important; }
.e-con.afd-btns--center { justify-content: center; }

/* ======================================================================
   ELEMENTOR — Typographie
   ====================================================================== */
body .afd-eyebrow .elementor-heading-title { font-family: var(--afd-sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--afd-rose); display: inline-flex; align-items: center; gap: 12px; line-height: 1.4; }
body .afd-eyebrow .elementor-heading-title::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }
body .afd-eyebrow--light .elementor-heading-title { color: var(--afd-accent); }
body .afd-h2 .elementor-heading-title { font-family: var(--afd-serif); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; font-weight: 600; color: var(--afd-ink); letter-spacing: -.02em; }
body .afd-h2--sm .elementor-heading-title { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
body .afd-h3 .elementor-heading-title { font-family: var(--afd-serif); font-size: 1.32rem; line-height: 1.25; font-weight: 600; color: var(--afd-ink); }
body .afd-on-dark .elementor-heading-title, body .afd-on-dark, body .afd-on-dark p { color: #fff; }
body .elementor-widget-text-editor.afd-on-dark { color: #D7E6E3; }
body .elementor-widget-text-editor.afd-on-dark p { color: #D7E6E3; }
body .afd-accent-title .elementor-heading-title { color: var(--afd-primary); font-style: italic; }
.afd-lead { font-size: 1.2rem; line-height: 1.65; }
.afd-intro { font-size: 1.12rem; line-height: 1.75; color: var(--afd-text); }
.afd-body { font-size: 1.04rem; }
.afd-small { font-size: .97rem; line-height: 1.65; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor p { margin: 0 0 1em; }

.afd-tag { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--afd-primary-soft); color: var(--afd-primary); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.afd-tag--rose { background: #F7E3DE; color: var(--afd-rose); }
.afd-date { margin: 0; font-size: 13.5px; color: var(--afd-muted); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.afd-date i { color: var(--afd-rose); }
.afd-num { margin: 0; font-family: var(--afd-serif); font-size: 46px; line-height: 1; font-weight: 600; color: var(--afd-accent); }
.afd-num--sm { width: 40px; height: 40px; border-radius: 50%; background: var(--afd-primary); color: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.afd-year { margin: 0; font-family: var(--afd-serif); font-size: 96px; line-height: .9; font-weight: 600; color: transparent; -webkit-text-stroke: 2px var(--afd-accent); }
.afd-bignum { margin: 0; font-family: var(--afd-serif); font-size: 56px; line-height: 1; color: var(--afd-primary); font-weight: 600; }
.afd-bignum--sm { font-size: 34px; }
.afd-sec--dark .afd-bignum { color: var(--afd-accent); }
.afd-role { margin: 0; color: var(--afd-rose); font-weight: 600; font-size: 14.5px; }
.afd-mono { margin: 0; width: 56px; height: 56px; border-radius: 16px; background: var(--afd-primary); color: var(--afd-accent); display: grid; place-items: center; font-family: var(--afd-serif); font-weight: 700; font-size: 20px; flex: none; }
.afd-quote-mark { margin: 0; font-family: var(--afd-serif); font-size: 90px; line-height: .6; color: var(--afd-accent); height: 40px; }
.afd-pullquote { margin: 12px 0; padding: 26px 30px; border-left: 4px solid var(--afd-accent); background: #fff; border-radius: 0 var(--afd-radius-sm) var(--afd-radius-sm) 0; font-family: var(--afd-serif); font-size: 1.4rem; line-height: 1.45; color: var(--afd-primary); font-style: italic; }
.afd-manifesto { margin: 0; font-family: var(--afd-serif); font-size: 1.45rem; line-height: 1.6; color: var(--afd-accent); font-style: italic; }
.afd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.afd-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--afd-line); font-size: 14px; font-weight: 600; color: var(--afd-ink); }
.afd-chip i { color: var(--afd-rose); }

/* ======================================================================
   ELEMENTOR — Boutons
   ====================================================================== */
body .afd-btn .elementor-button { font-family: var(--afd-sans); font-weight: 700; font-size: 15.5px; letter-spacing: .01em; padding: 16px 28px; border-radius: 999px; line-height: 1.2; transition: transform .2s ease, background-color .2s, color .2s, box-shadow .2s, border-color .2s; border: 2px solid transparent; }
body .afd-btn .elementor-button:hover { transform: translateY(-2px); }
body .afd-btn .elementor-button-icon { font-size: 13px; transition: transform .2s; }
body .afd-btn .elementor-button:hover .elementor-button-icon { transform: translateX(3px); }
body .afd-btn-primary .elementor-button { background: var(--afd-accent); color: var(--afd-ink); box-shadow: 0 10px 24px -12px rgba(233, 162, 59, .9); }
body .afd-btn-primary .elementor-button:hover { background: var(--afd-accent-dark); color: var(--afd-ink); }
body .afd-btn-dark .elementor-button { background: var(--afd-primary); color: #fff; }
body .afd-btn-dark .elementor-button:hover { background: var(--afd-primary-dark); color: #fff; }
body .afd-btn-light .elementor-button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
body .afd-btn-light .elementor-button:hover { background: #fff; color: var(--afd-primary); border-color: #fff; }
body .afd-btn-outline .elementor-button { background: transparent; color: var(--afd-primary); border-color: var(--afd-primary); }
body .afd-btn-outline .elementor-button:hover { background: var(--afd-primary); color: #fff; }
body .afd-btn-link .elementor-button { background: transparent; color: var(--afd-primary); padding: 4px 0; border-radius: 0; border: 0; box-shadow: none; }
body .afd-btn-link .elementor-button:hover { color: var(--afd-rose); transform: none; }
body .afd-btn-link .elementor-button-text { border-bottom: 2px solid var(--afd-accent); padding-bottom: 2px; }

/* ======================================================================
   ELEMENTOR — Cartes
   ====================================================================== */
.e-con.afd-card { background: #fff; border-radius: var(--afd-radius); box-shadow: var(--afd-shadow); border: 1px solid rgba(15, 76, 69, .06); height: 100%; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.e-con.afd-card--media { overflow: hidden; }
.e-con.afd-card .afd-card__body { flex-grow: 1; }
.e-con.afd-card--hover:hover, .e-con.afd-team:hover, .e-con.afd-partner:hover { transform: translateY(-6px); box-shadow: var(--afd-shadow-lg); }
.e-con.afd-card--media .afd-img-cover img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.e-con.afd-card--media:hover .afd-img-cover img { transform: scale(1.05); }
.e-con.afd-card--soft { background: var(--afd-primary-soft); box-shadow: none; border-color: transparent; }
.e-con.afd-card--dark { background: var(--afd-primary); border-color: transparent; }
.e-con.afd-card--glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; }
.e-con.afd-card--num { border-top: 4px solid var(--afd-accent); }
.e-con.afd-card--panel { box-shadow: none; border: 1px solid var(--afd-line); border-left: 4px solid var(--afd-primary); border-radius: var(--afd-radius-sm); height: auto; }
.e-con.afd-card--stat { text-align: center; align-items: center; box-shadow: none; border: 1px solid var(--afd-line); }
.afd-sec--dark .e-con.afd-card--stat { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.afd-sec--dark .e-con.afd-card--stat .afd-small, .afd-sec--dark .e-con.afd-card--stat p { color: #D7E6E3; }
.e-con.afd-card--pillar { border-top: 4px solid var(--afd-primary); }
.e-con.afd-partner { justify-content: flex-start; }
.e-con.afd-partner__head { flex-wrap: nowrap !important; }

/* ---- Images */
.afd-img-cover, .afd-img-cover .elementor-widget-container { overflow: hidden; }
.afd-img-cover img { width: 100% !important; height: 260px !important; object-fit: cover; display: block; border-radius: 0; }
.e-con:not(.afd-card--media) > .afd-img-cover img, .afd-media-stack .afd-img-cover img, .afd-img-pair .afd-img-cover img { border-radius: var(--afd-radius); }
.afd-img-tall img { height: 520px !important; }
.afd-img-portrait img { height: 330px !important; object-position: center 20%; }
.afd-img-article img { height: 440px !important; border-radius: var(--afd-radius) !important; }
.afd-img-logo img { height: 180px !important; object-fit: contain; background: var(--afd-cream); border-radius: var(--afd-radius-sm) !important; padding: 12px; }
.afd-img-pair .afd-img-cover img { height: 250px !important; }
@media (max-width: 1024px) { .afd-img-tall img { height: 400px !important; } }
@media (max-width: 767px) { .afd-img-tall img { height: 300px !important; } .afd-img-article img { height: 260px !important; } }

.e-con.afd-media-stack { position: relative; }
.afd-float { position: absolute !important; left: -24px; bottom: -28px; width: auto !important; max-width: 300px; z-index: 2; }
.afd-float-card { margin: 0; padding: 22px 24px; background: var(--afd-primary); color: #D7E6E3; border-radius: 18px; box-shadow: var(--afd-shadow-lg); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.afd-float-card strong { font-family: var(--afd-serif); font-size: 1.2rem; line-height: 1.35; color: #fff; font-weight: 500; font-style: italic; }
.afd-float-card span { color: var(--afd-accent); font-weight: 600; }
@media (max-width: 767px) { .afd-float { position: relative !important; left: 0; bottom: 0; margin-top: -40px !important; margin-left: 16px !important; } }

/* ---- Galerie */
.e-con.afd-gallery > .elementor-element:first-child { grid-column: span 2; grid-row: span 2; }
.afd-gallery .afd-img-cover img { height: 220px !important; border-radius: var(--afd-radius-sm) !important; }
.afd-gallery > .elementor-element:first-child .afd-img-cover img, .afd-gallery > .elementor-element:first-child img { height: 456px !important; }
@media (max-width: 767px) { .afd-gallery > .elementor-element:first-child img { height: 220px !important; } .afd-gallery .afd-img-cover img { height: 160px !important; } .e-con.afd-gallery > .elementor-element:first-child { grid-row: span 1; } }

/* ======================================================================
   ELEMENTOR — Widgets natifs
   ====================================================================== */
/* Icon box */
body .afd-iconbox .elementor-icon { background: var(--afd-primary-soft) !important; color: var(--afd-primary) !important; fill: var(--afd-primary); font-size: 24px; padding: 18px; }
body .afd-iconbox .elementor-icon i, body .afd-iconbox .elementor-icon svg { width: 1em; height: 1em; }
body .afd-iconbox .elementor-icon-box-title { font-family: var(--afd-serif); font-size: 1.3rem; font-weight: 600; color: var(--afd-ink); margin: 0 0 8px; }
body .afd-iconbox .elementor-icon-box-title a { color: inherit; }
body .afd-iconbox .elementor-icon-box-description { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--afd-text); }
body .afd-iconbox--inline .elementor-icon { font-size: 18px; padding: 14px; }
body .afd-iconbox--inline .elementor-icon-box-wrapper { gap: 0; }
body .afd-iconbox--dark .elementor-icon { background: rgba(233, 162, 59, .16) !important; color: var(--afd-accent) !important; fill: var(--afd-accent); }
body .afd-iconbox--dark .elementor-icon-box-title { color: #fff; }
body .afd-iconbox--dark .elementor-icon-box-description { color: #C9DCD8; }
body .afd-iconbox--dark { padding: 26px; border-radius: var(--afd-radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); height: 100%; }
body .afd-iconbox--contact .elementor-icon-box-title { font-size: 1.15rem; margin-bottom: 2px; }
body .afd-iconbox--contact .elementor-icon-box-description { font-weight: 600; color: var(--afd-primary); }

/* Icon list */
body .afd-list .elementor-icon-list-items { display: grid; gap: 10px; }
body .afd-list .elementor-icon-list-item { align-items: flex-start !important; }
body .afd-list .elementor-icon-list-icon { width: 24px; height: 24px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--afd-primary-soft); display: grid !important; place-items: center; }
body .afd-list .elementor-icon-list-icon i { color: var(--afd-primary) !important; font-size: 11px !important; width: auto; }
body .afd-list .elementor-icon-list-icon svg { fill: var(--afd-primary); width: 11px; }
body .afd-list .elementor-icon-list-text { color: var(--afd-text); padding-left: 12px !important; line-height: 1.6; }
body .afd-list a { align-items: flex-start !important; }
body .afd-list--big .elementor-icon-list-text { font-size: 1.05rem; }
body .afd-list--light .elementor-icon-list-icon { background: rgba(233, 162, 59, .18); }
body .afd-list--light .elementor-icon-list-icon i { color: var(--afd-accent) !important; }
body .afd-list--light .elementor-icon-list-text, body .afd-list--light a .elementor-icon-list-text { color: #E6EFED; }
body .afd-list--light a:hover .elementor-icon-list-text { color: var(--afd-accent); }
body .afd-list--contact .elementor-icon-list-text { font-size: .95rem; word-break: break-word; }
body .afd-list--contact a:hover .elementor-icon-list-text, body .afd-list--links a:hover .elementor-icon-list-text { color: var(--afd-rose); }
body .afd-list--meta .elementor-icon-list-text { font-size: .95rem; }
body .afd-list--links .elementor-icon-list-icon { background: transparent; }
body .afd-list--links .elementor-icon-list-text { font-weight: 600; color: var(--afd-ink); font-size: .97rem; }
body .afd-list--links .elementor-icon-list-item { padding-bottom: 10px; border-bottom: 1px solid var(--afd-line); }
@media (min-width: 768px) { body .afd-list--cols .elementor-icon-list-items { grid-template-columns: 1fr 1fr; } }

/* Counter */
body .afd-counter .elementor-counter { display: flex; flex-direction: column; gap: 8px; text-align: left; }
body .afd-counter .elementor-counter-number-wrapper { order: 1; }
body .afd-counter .elementor-counter-title { order: 2; }
body .afd-counter .elementor-counter-number-wrapper { font-family: var(--afd-serif); font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 600; line-height: 1; color: var(--afd-accent); justify-content: flex-start; }
body .afd-counter .elementor-counter-title { font-family: var(--afd-sans); font-size: 15px; color: #D7E6E3; text-align: left; line-height: 1.4; }
.e-con.afd-stats > .elementor-element { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .16); }

/* Testimonial */
body .afd-testimonial .elementor-testimonial-wrapper { text-align: left; }
body .afd-testimonial .elementor-testimonial-content { font-family: var(--afd-serif); font-size: 1.18rem; line-height: 1.55; font-style: italic; color: var(--afd-ink); position: relative; padding-top: 40px; }
body .afd-testimonial .elementor-testimonial-content::before { content: "“"; position: absolute; top: -14px; left: -4px; font-size: 84px; line-height: 1; color: var(--afd-accent); font-style: normal; }
body .afd-testimonial .elementor-testimonial-meta { margin-top: 22px; }
body .afd-testimonial .elementor-testimonial-image img { width: 56px !important; height: 56px !important; object-fit: cover; border-radius: 50%; border: 3px solid var(--afd-sand); }
body .afd-testimonial .elementor-testimonial-name { font-weight: 700; color: var(--afd-ink); font-size: 15.5px; }
body .afd-testimonial .elementor-testimonial-job { font-size: 13.5px; color: var(--afd-rose); font-weight: 600; }
body .afd-testimonial .elementor-testimonial-meta-inner { display: flex; align-items: center; gap: 14px; }

/* Toggle */
body .afd-toggle { margin-top: auto !important; }
body .afd-toggle .elementor-toggle-item { border-top: 1px solid var(--afd-line); }
body .afd-toggle .elementor-tab-title { border: 0 !important; padding: 16px 0 0 !important; font-weight: 700; font-size: 14.5px; cursor: pointer; display: flex; gap: 10px; align-items: center; }
body .afd-toggle .elementor-toggle-title, body .afd-toggle .elementor-tab-title a { color: var(--afd-primary) !important; text-decoration: none; }
body .afd-toggle .elementor-toggle-icon { color: var(--afd-accent); width: auto !important; }
body .afd-toggle .elementor-tab-content { border: 0 !important; padding: 14px 0 0 !important; font-size: .97rem; line-height: 1.7; color: var(--afd-text); }

/* Social icons */
body .afd-social .elementor-social-icon { background: rgba(255, 255, 255, .1) !important; width: 46px; height: 46px; display: grid; place-items: center; }
body .afd-social .elementor-social-icon i { color: #fff; font-size: 17px; }
body .afd-social .elementor-social-icon:hover { background: var(--afd-accent) !important; }
body .afd-social .elementor-social-icon:hover i { color: var(--afd-primary-dark); }

/* Map + formulaire */
.afd-map iframe, .afd-map .elementor-custom-embed { border-radius: var(--afd-radius); overflow: hidden; display: block; filter: saturate(.9); }
.afd-map-wrap { border-radius: var(--afd-radius); overflow: hidden; box-shadow: var(--afd-shadow-lg); }
.afd-form-embed { border-radius: var(--afd-radius-sm); overflow: hidden; }
.afd-form-embed iframe { display: block; width: 100%; border: 0; }
.afd-form-fallback { margin: 16px 0 0; font-size: 14px; text-align: center; color: var(--afd-muted); }

/* Article */
.e-con.afd-article-layout { display: grid !important; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.e-con.afd-article-layout > .elementor-element { width: auto !important; min-width: 0; }
.e-con.afd-aside { position: sticky; top: calc(var(--afd-header-h) + 24px); }
.e-con.afd-aside .afd-card { height: auto; }
.afd-article .afd-body { font-size: 1.08rem; line-height: 1.85; }
.e-con.afd-axis { flex-wrap: nowrap !important; align-items: flex-start; background: #fff; border-radius: var(--afd-radius-sm); border: 1px solid var(--afd-line); }
.e-con.afd-axis > .elementor-element { width: auto !important; }
.e-con.afd-axis > .elementor-element:last-child { flex: 1; }
@media (max-width: 1024px) { .e-con.afd-article-layout { grid-template-columns: minmax(0, 1fr); } .e-con.afd-aside { position: static; } }

/* Hero : badges en ligne */
.e-con.afd-hero__badges { flex-direction: row !important; flex-wrap: wrap !important; }
.e-con.afd-hero__badges > .elementor-element { width: auto !important; }

/* Stats band */
.afd-stats-band { position: relative; overflow: hidden; }
.afd-stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(233, 162, 59, .18), transparent 70%); pointer-events: none; }

/* Projet (index des projets) */
.e-con.afd-project + .e-con.afd-project { padding-top: 0; }

/* Animation d'apparition (désactivée si l'utilisateur préfère moins d'animations) */
@media (prefers-reduced-motion: no-preference) {
	.afd-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
	.afd-reveal.is-in { opacity: 1; transform: none; }
}
.elementor-editor-active .afd-reveal { opacity: 1 !important; transform: none !important; }

/* Mobile spacing */
@media (max-width: 767px) {
	body { font-size: 16px; }
	.afd-year { font-size: 72px; }
	.afd-pullquote { font-size: 1.2rem; padding: 20px 22px; }
	.e-con.afd-stats > .elementor-element { padding-left: 14px; }
}

/* Carte « domaine » : icône flottante sur la photo */
body .afd-iconbox--float .elementor-icon-box-icon { margin-top: -62px; }
body .afd-iconbox--float .elementor-icon { background: #fff !important; box-shadow: 0 10px 24px -10px rgba(10, 51, 47, .45); border: 4px solid #fff; }
body .afd-iconbox--float .elementor-icon-box-wrapper { gap: 14px; }

/* Rangées qui restent horizontales sur mobile */
.e-con.afd-partner__head, .e-con.afd-axis { flex-direction: row !important; }
.e-con.afd-partner__head > .elementor-element:last-child { flex: 1; min-width: 0; }

/* Le logo seul dans l'en-tête quand un logo est défini */
.afd-brand--logo .afd-brand__text { display: none; }

/* Partenaires */
.afd-sector { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--afd-rose); line-height: 1.45; }
.afd-mono--light { background: rgba(233, 162, 59, .18); color: var(--afd-accent); font-size: 28px; }

/* Hero : badges compacts sur mobile */
@media (max-width: 767px) {
	.e-con.afd-hero__badges { flex-wrap: nowrap !important; gap: 8px; }
	.e-con.afd-hero__badges > .elementor-element { flex: 1 1 0; min-width: 0; }
	.afd-badge { min-width: 0; padding: 10px 12px; border-radius: 12px; }
	.afd-badge strong { font-size: 20px; }
	.afd-badge span { font-size: 11.5px; line-height: 1.3; }
}
