/* ==========================================================================
   DECFinEx — feuille de styles du thème
   Identité : orange #F77F00, blanc, vert #00774A / #0B3D2C
   Polices hébergées localement : Sora (titres), Source Sans 3 (texte)
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/sora-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

/* ---------- Jetons ---------- */
:root {
	--dfx-orange: #F77F00;
	--dfx-orange-text: #A04B00;
	--dfx-orange-pale: #FFF1E3;
	--dfx-orange-soft: #FFF8F0;
	--dfx-green: #00774A;
	--dfx-green-flag: #009E60;
	--dfx-green-deep: #0B3D2C;
	--dfx-green-pale: #E6F3EC;
	--dfx-bg-alt: #F4F7F5;
	--dfx-ph: #DCE6E0;
	--dfx-ink: #1B2420;
	--dfx-ink-2: #3A4A42;
	--dfx-muted: #55635C;
	--dfx-muted-on-dark: #B9CFC4;
	--dfx-soft-on-dark: #D6E3DC;
	--dfx-line: #E3EAE6;
	--dfx-line-2: #EEF2F0;
	--dfx-field: #C9D6CF;
	--dfx-white: #FFFFFF;
	--dfx-black: #1B1B1B;
	--dfx-font-head: "Sora", system-ui, sans-serif;
	--dfx-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dfx-container: 1240px;
	--dfx-radius: 18px;
	--dfx-shadow: 0 1px 2px rgba(11, 61, 44, .06), 0 12px 32px rgba(11, 61, 44, .08);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--dfx-white);
	color: var(--dfx-ink);
	font-family: var(--dfx-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--dfx-green); text-underline-offset: 3px; }
a:hover { color: var(--dfx-green-deep); }
:focus-visible { outline: 3px solid var(--dfx-orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--dfx-font-head); color: var(--dfx-green-deep); line-height: 1.2; letter-spacing: -0.01em; }
button, input, select, textarea { font: inherit; color: inherit; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.dfx-skip:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: 12px; left: 12px; z-index: 1000;
	background: var(--dfx-white); color: var(--dfx-green-deep); padding: 12px 18px; border-radius: 10px; box-shadow: var(--dfx-shadow); font-weight: 700;
}

.dfx-container { max-width: var(--dfx-container); margin: 0 auto; padding: 0 24px; }
.dfx-section { padding: 72px 0; }
.dfx-section--tight { padding: 48px 0; }
.dfx-section--alt { background: var(--dfx-bg-alt); }
.dfx-section--dark { background: var(--dfx-green-deep); color: var(--dfx-white); }
.dfx-section--dark h2, .dfx-section--dark h3 { color: var(--dfx-white); }
.dfx-stack { display: flex; flex-direction: column; gap: 36px; }

/* ---------- Bandeau tricolore ---------- */
.dfx-tricolore { display: flex; height: 6px; }
.dfx-tricolore span { flex: 1; }
.dfx-tricolore span:nth-child(1) { background: var(--dfx-orange); }
.dfx-tricolore span:nth-child(2) { background: var(--dfx-white); }
.dfx-tricolore span:nth-child(3) { background: var(--dfx-green-flag); }
.dfx-tricolore--thin { height: 4px; }

/* ---------- Barre institutionnelle ---------- */
.dfx-topbar { background: var(--dfx-green-deep); color: var(--dfx-white); font-size: 14px; }
.dfx-topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.dfx-topbar__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.dfx-topbar a { color: var(--dfx-white); text-decoration: none; }
.dfx-topbar a:hover { text-decoration: underline; color: var(--dfx-white); }

/* ---------- En-tête ---------- */
.dfx-header { background: var(--dfx-white); border-bottom: 1px solid var(--dfx-line); position: relative; z-index: 50; }
.dfx-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 16px; padding-bottom: 0; }
.dfx-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--dfx-green-deep); min-width: 0; }
.dfx-brand:hover { color: var(--dfx-green-deep); }
.dfx-brand__mark { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--dfx-green-deep); display: flex; align-items: center; justify-content: center; gap: 4px; }
.dfx-brand__mark span { width: 8px; height: 26px; border-radius: 2px; }
.dfx-brand__mark span:nth-child(1) { background: var(--dfx-orange); }
.dfx-brand__mark span:nth-child(2) { background: var(--dfx-white); }
.dfx-brand__mark span:nth-child(3) { background: var(--dfx-green-flag); }
.dfx-brand__text { display: flex; flex-direction: column; min-width: 0; }
.dfx-brand__name { font-family: var(--dfx-font-head); font-weight: 800; font-size: 24px; letter-spacing: -0.5px; line-height: 1.1; }
.dfx-brand__desc { font-size: 13px; color: var(--dfx-muted); max-width: 300px; line-height: 1.3; }
.dfx-brand .custom-logo { max-height: 60px; width: auto; }

.dfx-header__actions { display: flex; align-items: center; gap: 10px; }
.dfx-header__actions { order: 2; }
.dfx-nav { order: 3; width: 100%; border-top: 1px solid var(--dfx-line-2); padding: 6px 0; }
.dfx-iconbtn {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid #D5DED9; background: var(--dfx-white);
	color: var(--dfx-green-deep); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.dfx-iconbtn:hover { border-color: var(--dfx-green); }
.dfx-burger { display: none; }

/* Navigation principale */
.dfx-nav { display: flex; align-items: center; }
.dfx-menu, .dfx-menu ul { list-style: none; margin: 0; padding: 0; }
.dfx-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-weight: 600; font-size: 16px; }
.dfx-menu > li.menu-cta { margin-left: auto; }
.dfx-menu > li { position: relative; display: flex; align-items: center; }
.dfx-menu > li > a { display: inline-flex; align-items: center; gap: 4px; color: var(--dfx-ink); text-decoration: none; padding: 8px 0; border-bottom: 3px solid transparent; }
.dfx-menu > li > a:hover,
.dfx-menu > li.current-menu-item > a,
.dfx-menu > li.current-menu-ancestor > a,
.dfx-menu > li.current-menu-parent > a,
.dfx-menu > li.current_page_parent > a { color: var(--dfx-green-deep); border-bottom-color: var(--dfx-orange); }
.dfx-menu .dfx-chevron { transition: transform .2s; }
.dfx-menu > li.menu-cta > a { background: var(--dfx-green); color: var(--dfx-white); padding: 11px 20px; border-radius: 999px; border-bottom: 0; font-weight: 700; }
.dfx-menu > li.menu-cta > a:hover, .dfx-menu > li.menu-cta.current-menu-item > a { background: var(--dfx-green-deep); color: var(--dfx-white); }
.dfx-subtoggle { display: none; }

.dfx-menu .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 260px; padding: 10px; margin-top: 4px;
	background: var(--dfx-white); border: 1px solid var(--dfx-line); border-radius: 14px; box-shadow: var(--dfx-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60;
}
.dfx-menu > li:hover > .sub-menu,
.dfx-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.dfx-menu > li:hover .dfx-chevron, .dfx-menu > li:focus-within .dfx-chevron { transform: rotate(180deg); }
.dfx-menu .sub-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--dfx-ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.dfx-menu .sub-menu a:hover, .dfx-menu .sub-menu .current-menu-item > a { background: var(--dfx-orange-pale); color: var(--dfx-green-deep); }
.dfx-menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; margin: 0; min-width: 0; }

/* Recherche */
.dfx-search-panel { border-top: 1px solid var(--dfx-line); background: var(--dfx-bg-alt); padding: 18px 0; }
.dfx-search-panel[hidden] { display: none; }
.dfx-searchform { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--dfx-field); border-radius: 999px; padding: 0 6px 0 18px; background: var(--dfx-white); max-width: 640px; }
.dfx-searchform:focus-within { border-color: var(--dfx-green); }
.dfx-searchform input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 0; background: transparent; font-size: 16px; }
.dfx-searchform button { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--dfx-green); color: var(--dfx-white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.dfx-searchform button:hover { background: var(--dfx-green-deep); }

/* ---------- Flash infos ---------- */
.dfx-flash { background: var(--dfx-orange); color: var(--dfx-black); }
.dfx-flash__inner { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; overflow: hidden; }
.dfx-flash__label { flex: none; background: var(--dfx-green-deep); color: var(--dfx-white); font-family: var(--dfx-font-head); font-weight: 700; font-size: 13px; letter-spacing: 1px; padding: 6px 12px; border-radius: 6px; text-transform: uppercase; }
.dfx-flash__viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.dfx-flash__track { display: flex; gap: 40px; width: max-content; margin: 0; padding: 0; list-style: none; animation: dfx-marquee 60s linear infinite; }
.dfx-flash:hover .dfx-flash__track, .dfx-flash:focus-within .dfx-flash__track { animation-play-state: paused; }
.dfx-flash__track a { display: inline-flex; align-items: center; gap: 10px; color: var(--dfx-black); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.dfx-flash__track a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dfx-green-deep); }
.dfx-flash__track a:hover { text-decoration: underline; }
@keyframes dfx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.dfx-flash__track { animation: none; flex-wrap: wrap; width: auto; row-gap: 6px; }
	.dfx-flash__track [aria-hidden="true"] { display: none; }
}

/* ---------- Éléments communs ---------- */
.dfx-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; color: var(--dfx-orange-text); text-transform: uppercase; }
.dfx-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--dfx-orange); flex: none; }
.is-dark .dfx-eyebrow, .dfx-section--dark .dfx-eyebrow { color: var(--dfx-orange); }
.dfx-h2 { margin: 0; font-family: var(--dfx-font-head); font-weight: 700; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -0.5px; color: var(--dfx-green-deep); }
.is-dark .dfx-h2 { color: var(--dfx-white); }
.dfx-lead { margin: 0; color: var(--dfx-muted); max-width: 760px; }
.dfx-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.dfx-section-head__text { display: flex; flex-direction: column; gap: 10px; max-width: 780px; }

.dfx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start;
	background: var(--dfx-green); color: var(--dfx-white); text-decoration: none; padding: 12px 22px; border-radius: 999px;
	font-weight: 700; font-size: 16px; line-height: 1.2; border: 1.5px solid var(--dfx-green); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.dfx-btn:hover { background: var(--dfx-green-deep); border-color: var(--dfx-green-deep); color: var(--dfx-white); }
.dfx-btn--accent { background: var(--dfx-orange); border-color: var(--dfx-orange); color: var(--dfx-black); }
.dfx-btn--accent:hover { background: #E57200; border-color: #E57200; color: var(--dfx-black); }
.dfx-btn--outline { background: transparent; color: var(--dfx-green); }
.dfx-btn--outline:hover { background: var(--dfx-green); color: var(--dfx-white); }
.dfx-btn--ghost-light { background: transparent; color: var(--dfx-white); border-color: rgba(255, 255, 255, .5); }
.dfx-btn--ghost-light:hover { background: var(--dfx-white); color: var(--dfx-green-deep); border-color: var(--dfx-white); }
.dfx-btn--small { padding: 9px 16px; font-size: 15px; }

.dfx-tag { display: inline-block; background: var(--dfx-orange-pale); color: var(--dfx-orange-text); font-weight: 700; font-size: 12px; letter-spacing: .5px; padding: 3px 9px; border-radius: 6px; text-transform: uppercase; line-height: 1.5; }
.dfx-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; color: var(--dfx-muted); }
.dfx-more { font-weight: 700; font-size: 15px; text-decoration: none; }
.dfx-more:hover { text-decoration: underline; }
.dfx-empty { color: var(--dfx-muted); font-style: italic; margin: 0; }

.dfx-ph { background: var(--dfx-ph); color: var(--dfx-ink-2); display: flex; align-items: center; justify-content: center; }

.dfx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.dfx-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dfx-grid--tight { gap: 18px; }
.dfx-grid--services { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }

/* ---------- Cartes d'actualité ---------- */
.dfx-card { background: var(--dfx-white); border: 1px solid var(--dfx-line); border-radius: var(--dfx-radius); overflow: hidden; display: flex; flex-direction: column; }
.dfx-card__link { display: block; }
.dfx-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.dfx-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.dfx-card:hover .dfx-card__media img { transform: scale(1.03); }
.dfx-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dfx-card__title { margin: 0; font-size: 19px; line-height: 1.3; }
.dfx-card__title a { color: var(--dfx-green-deep); text-decoration: none; }
.dfx-card__title a:hover { text-decoration: underline; }
.dfx-card__excerpt { margin: 0; font-size: 15px; color: var(--dfx-muted); }
.dfx-card .dfx-more { margin-top: auto; }

/* ---------- Accueil : à la une ---------- */
.dfx-hero { background: var(--dfx-bg-alt); padding: 48px 0 56px; }
.dfx-hero__inner { display: flex; flex-wrap: wrap; gap: 32px; }
.dfx-feature { flex: 999 1 560px; min-width: 0; background: var(--dfx-white); border-radius: 20px; overflow: hidden; box-shadow: var(--dfx-shadow); display: flex; flex-direction: column; }
.dfx-feature__media { aspect-ratio: 16 / 8.5; overflow: hidden; }
.dfx-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dfx-feature__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.dfx-feature__title { margin: 0; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; letter-spacing: -0.5px; }
.dfx-feature__title a { color: var(--dfx-green-deep); text-decoration: none; }
.dfx-feature__title a:hover { text-decoration: underline; }
.dfx-une { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dfx-une__head { display: flex; align-items: center; justify-content: space-between; }
.dfx-une__head h2 { margin: 0; font-size: 22px; }
.dfx-une__item { display: flex; gap: 14px; background: var(--dfx-white); border-radius: 14px; padding: 12px; text-decoration: none; color: var(--dfx-ink); border: 1px solid var(--dfx-line); transition: border-color .15s, box-shadow .15s; }
.dfx-une__item:hover { border-color: var(--dfx-green); box-shadow: var(--dfx-shadow); color: var(--dfx-ink); }
.dfx-une__thumb { flex: none; width: 96px; height: 80px; border-radius: 10px; overflow: hidden; }
.dfx-une__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dfx-une__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dfx-une__meta { font-size: 12px; font-weight: 700; color: var(--dfx-orange-text); letter-spacing: .5px; text-transform: uppercase; }
.dfx-une__meta span { color: var(--dfx-muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.dfx-une__title { font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--dfx-green-deep); }

/* ---------- Sous-directions ---------- */
.dfx-domain { background: var(--dfx-white); border: 1px solid var(--dfx-line); border-radius: var(--dfx-radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, box-shadow .15s; }
.dfx-domain:hover { border-color: var(--dfx-green); box-shadow: var(--dfx-shadow); }
.dfx-domain__icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.dfx-domain__icon--green { background: var(--dfx-green-pale); color: var(--dfx-green); }
.dfx-domain__icon--orange { background: var(--dfx-orange-pale); color: var(--dfx-orange-text); }
.dfx-domain__sigle { font-family: var(--dfx-font-head); font-weight: 800; font-size: 14px; color: var(--dfx-orange-text); letter-spacing: 1px; }
.dfx-domain__title { margin: 0; font-size: 20px; line-height: 1.25; }
.dfx-domain__text { margin: 0; font-size: 15px; color: var(--dfx-muted); }
.dfx-domain__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 700; font-size: 15px; }

/* ---------- Indicateurs ---------- */
.dfx-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.dfx-stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--dfx-radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.dfx-stat__value { font-family: var(--dfx-font-head); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -1px; color: var(--dfx-orange); }
.dfx-stat__label { font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--dfx-white); }
.dfx-stat__date { font-size: 13px; color: var(--dfx-muted-on-dark); }
.dfx-stats__note { margin: 20px 0 0; font-size: 14px; color: var(--dfx-muted-on-dark); }
.dfx-stats--light .dfx-stat { background: var(--dfx-white); border-color: var(--dfx-line); }
.dfx-stats--light .dfx-stat__value { color: var(--dfx-green); }
.dfx-stats--light .dfx-stat__label { color: var(--dfx-green-deep); }
.dfx-stats--light .dfx-stat__date { color: var(--dfx-muted); }
.dfx-stats--light + .dfx-stats__note { color: var(--dfx-muted); }

/* ---------- Mot du Directeur ---------- */
.dfx-director { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.dfx-director__photo { flex: 1 1 340px; min-width: 0; position: relative; padding: 0 0 24px 24px; }
.dfx-director__photo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: 24px; background: var(--dfx-orange); }
.dfx-director__photo img, .dfx-director__photo .dfx-ph { position: relative; display: block; width: 100%; height: 420px; object-fit: cover; object-position: top center; border-radius: 24px; }
.dfx-director__body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.dfx-director__role { margin: 0; font-style: italic; color: var(--dfx-muted); }
.dfx-director__quote { margin: 0; font-size: 19px; line-height: 1.6; border-top: 1px solid var(--dfx-line); padding-top: 18px; }
.dfx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 12px; }
.dfx-fact { background: var(--dfx-bg-alt); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.dfx-fact__value { font-family: var(--dfx-font-head); font-weight: 800; font-size: 32px; color: var(--dfx-green); line-height: 1; }
.dfx-fact__value--small { font-size: 20px; line-height: 1.2; }
.dfx-fact__label { font-size: 15px; color: var(--dfx-muted); }

/* ---------- Listes de documents ---------- */
.dfx-doclists { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.dfx-doclist { border: 1px solid var(--dfx-line); border-radius: var(--dfx-radius); overflow: hidden; background: var(--dfx-white); }
.dfx-doclist__head { padding: 16px 22px; font-family: var(--dfx-font-head); font-weight: 700; font-size: 17px; }
.dfx-doclist__head a { color: inherit; text-decoration: none; }
.dfx-doclist__head a:hover { text-decoration: underline; }
.dfx-doclist__head--vert { background: var(--dfx-green); color: var(--dfx-white); }
.dfx-doclist__head--orange { background: var(--dfx-orange); color: var(--dfx-black); }
.dfx-doclist__head--sombre { background: var(--dfx-green-deep); color: var(--dfx-white); }
.dfx-doclist__items { list-style: none; margin: 0; padding: 0; }
.dfx-doclist__item { border-bottom: 1px solid var(--dfx-line-2); }
.dfx-doclist__item:last-child { border-bottom: 0; }
.dfx-doclist__item > a { display: flex; gap: 12px; padding: 14px 22px; text-decoration: none; color: var(--dfx-ink); }
.dfx-doclist__item > a:hover { background: var(--dfx-bg-alt); color: var(--dfx-ink); }
.dfx-doclist__item .dfx-icon { flex: none; margin-top: 2px; color: var(--dfx-green); }
.dfx-doclist__item > .dfx-empty { display: block; padding: 14px 22px; }
.dfx-doclist__title { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; }
.dfx-doclist__date { display: block; font-size: 13px; color: var(--dfx-muted); }
.dfx-doclist__note { padding: 18px 22px; background: var(--dfx-orange-soft); font-size: 14px; color: var(--dfx-muted); border-top: 1px solid var(--dfx-line-2); }

/* ---------- Médiathèque ---------- */
.dfx-media-band { background: var(--dfx-orange-pale); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.dfx-media-band__title { margin: 0; font-size: 30px; }
.dfx-media-tile { background: var(--dfx-white); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--dfx-green-deep); border: 1px solid transparent; transition: border-color .15s, box-shadow .15s; }
.dfx-media-tile:hover { border-color: var(--dfx-green); box-shadow: var(--dfx-shadow); color: var(--dfx-green-deep); }
.dfx-media-tile--bordered { border-color: var(--dfx-line); }
.dfx-media-tile--green .dfx-icon { color: var(--dfx-green); }
.dfx-media-tile--orange .dfx-icon { color: var(--dfx-orange-text); }
.dfx-media-tile__title { font-family: var(--dfx-font-head); font-weight: 700; font-size: 18px; }
.dfx-media-tile__text { font-size: 15px; color: var(--dfx-muted); }

/* ---------- Pied de page ---------- */
.dfx-footer { background: var(--dfx-green-deep); color: var(--dfx-white); }
.dfx-footer__inner { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.dfx-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.dfx-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.dfx-footer__brand { font-family: var(--dfx-font-head); font-weight: 800; font-size: 24px; }
.dfx-footer__desc { color: var(--dfx-muted-on-dark); }
.dfx-footer__title { font-family: var(--dfx-font-head); font-weight: 700; color: var(--dfx-orange); font-size: 16px; margin: 0 0 2px; }
.dfx-footer a { color: var(--dfx-white); text-decoration: none; }
.dfx-footer a:hover { text-decoration: underline; color: var(--dfx-white); }
.dfx-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dfx-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--dfx-muted-on-dark); }
.dfx-socials { display: flex; gap: 10px; margin-top: 6px; }
.dfx-social { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: inline-flex; align-items: center; justify-content: center; color: var(--dfx-white); }
.dfx-social:hover { background: var(--dfx-white); color: var(--dfx-green-deep) !important; }
.dfx-contact-card .dfx-social { border-color: var(--dfx-field); color: var(--dfx-green-deep); }
.dfx-contact-card .dfx-social:hover { background: var(--dfx-green); color: var(--dfx-white) !important; }

/* ---------- Bandeau de titre des pages ---------- */
.dfx-page-hero { background: var(--dfx-green-deep); color: var(--dfx-white); padding: 48px 0 52px; }
.dfx-page-hero--tabs { padding-bottom: 0; }
.dfx-page-hero--overlap { padding-bottom: 120px; }
.dfx-page-hero__inner { display: flex; flex-direction: column; gap: 12px; }
.dfx-page-hero h1 { margin: 0; color: var(--dfx-white); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -0.5px; }
.dfx-page-hero__lead { margin: 0; max-width: 760px; color: var(--dfx-soft-on-dark); }
.dfx-page-hero__lead p { margin: 0; }
.dfx-breadcrumb { font-size: 14px; color: var(--dfx-muted-on-dark); }
.dfx-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dfx-breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.dfx-breadcrumb a { color: var(--dfx-muted-on-dark); }
.dfx-breadcrumb a:hover { color: var(--dfx-white); }
.dfx-breadcrumb [aria-current] { color: var(--dfx-white); }

.dfx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.dfx-tabs a { background: rgba(255, 255, 255, .1); color: var(--dfx-white); text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 14px 14px 0 0; }
.dfx-tabs a:hover { background: rgba(255, 255, 255, .2); color: var(--dfx-white); }
.dfx-tabs a[aria-current="page"] { background: var(--dfx-white); color: var(--dfx-green-deep); font-weight: 700; }

/* ---------- Mise en page avec colonne latérale ---------- */
.dfx-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.dfx-layout__side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.dfx-layout__main { flex: 999 1 620px; min-width: 0; }
.dfx-sidenav { border: 1px solid var(--dfx-line); border-radius: var(--dfx-radius); padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.dfx-sidenav__label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--dfx-orange-text); padding: 8px 12px; text-transform: uppercase; }
.dfx-sidenav a { padding: 10px 12px; border-radius: 10px; color: var(--dfx-ink); text-decoration: none; }
.dfx-sidenav a:hover { background: var(--dfx-bg-alt); color: var(--dfx-green-deep); }
.dfx-sidenav a[aria-current="page"] { background: var(--dfx-green); color: var(--dfx-white); font-weight: 700; }
.dfx-sidenav--toc a { padding: 8px 12px; font-size: 15px; }
.dfx-sidenav--toc[hidden] { display: none; }

/* ---------- Contenu éditorial ---------- */
.dfx-entry { max-width: 820px; }
.dfx-entry--wide { max-width: none; }
.dfx-entry > *:first-child { margin-top: 0; }
.dfx-entry h2 { font-size: 28px; margin: 1.6em 0 .6em; scroll-margin-top: 24px; }
.dfx-entry h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.dfx-entry h4 { font-size: 18px; margin: 1.2em 0 .4em; }
.dfx-entry p, .dfx-entry ul, .dfx-entry ol, .dfx-entry table, .dfx-entry blockquote, .dfx-entry figure { margin: 0 0 1.1em; }
.dfx-entry ul, .dfx-entry ol { padding-left: 1.4em; }
.dfx-entry li { margin-bottom: .35em; }
.dfx-entry blockquote { border-left: 4px solid var(--dfx-orange); padding: 6px 0 6px 20px; font-size: 19px; color: var(--dfx-green-deep); }
.dfx-entry table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.dfx-entry th, .dfx-entry td { border: 1px solid var(--dfx-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.dfx-entry th { background: var(--dfx-bg-alt); color: var(--dfx-green-deep); }
.dfx-entry img { border-radius: 12px; }
.dfx-entry > p > img, .dfx-entry > img, .dfx-entry > p > a > img { max-height: 560px; width: auto; }
.dfx-entry figcaption { font-size: 14px; color: var(--dfx-muted); margin-top: 6px; }
.dfx-entry .dfx-intro, .dfx-intro { font-size: 19px; color: var(--dfx-ink); }
.dfx-entry .gallery, .dfx-entry .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.dfx-entry .gallery-item, .dfx-entry .wp-block-gallery figure { margin: 0; }
.dfx-entry .wp-block-gallery figure.wp-block-image { width: auto !important; margin: 0 !important; display: block !important; }
.dfx-entry .wp-block-gallery img { width: 100% !important; height: 180px !important; object-fit: cover; display: block; }
.dfx-entry .wp-block-gallery a { display: block; border-radius: 12px; overflow: hidden; }
.dfx-entry .gallery-item img { width: 100%; height: 180px; object-fit: cover; }
.dfx-entry iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.dfx-entry .wp-block-file, .dfx-entry a[href$=".pdf"] { font-weight: 600; }

/* Les composants placés dans un contenu (shortcodes, Elementor) gardent leurs marges propres. */
.dfx-entry :is(.dfx-form__title, .dfx-media-band__title, .dfx-domain__title, .dfx-card__title, .dfx-service__title, .dfx-doc-row__title, .dfx-h2, .dfx-widget h2, .dfx-callout h2) { margin: 0; }
.dfx-entry :is(.dfx-doclist__items, .dfx-filter-box__list) { padding-left: 0; margin: 0; }
.dfx-entry :is(.dfx-doclist__item, .dfx-filter-box__list li) { margin: 0; }
.dfx-entry :is(.dfx-card__excerpt, .dfx-domain__text, .dfx-service__text, .dfx-lead, .dfx-stats__note) { margin-bottom: 0; }

/* Encadrés de la page Missions */
.dfx-panel { background: var(--dfx-bg-alt); border-radius: 20px; padding: 32px; margin: 0 0 1.6em; }
.dfx-panel h2 { margin-top: 0 !important; font-size: 26px; }
.dfx-attributions { list-style: none; counter-reset: dfx; padding-left: 0 !important; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.dfx-attributions li { counter-increment: dfx; display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.dfx-attributions li::before { content: counter(dfx); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--dfx-orange); color: var(--dfx-black); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.dfx-sd { border: 1px solid var(--dfx-line); border-radius: 20px; overflow: hidden; margin: 0 0 28px; scroll-margin-top: 24px; }
.dfx-sd__head { padding: 22px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.dfx-sd__head h2 { margin: 0 !important; font-size: 22px; line-height: 1.3; color: inherit; }
.dfx-sd__head span { font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.dfx-sd__head--vert { background: var(--dfx-green); color: var(--dfx-white); }
.dfx-sd__head--orange { background: var(--dfx-orange); color: var(--dfx-black); }
.dfx-sd__head--sombre { background: var(--dfx-green-deep); color: var(--dfx-white); }
.dfx-sd__head--clair { background: var(--dfx-green-pale); color: var(--dfx-green-deep); }

details { border-top: 1px solid var(--dfx-line-2); padding: 0 28px; }
details > summary { list-style: none; padding: 16px 32px 16px 0; font-weight: 700; color: var(--dfx-green-deep); cursor: pointer; position: relative; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--dfx-green); border-bottom: 2.5px solid var(--dfx-green); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
details > summary:hover { color: var(--dfx-green); }
details > *:not(summary) { color: var(--dfx-ink-2); font-size: 16px; }
details > ul { margin: 0 0 18px; }
details > p { margin: 0 0 18px; }
.dfx-entry > details { border: 1px solid var(--dfx-line); border-radius: 14px; margin-bottom: 12px; }

/* ---------- Textes réglementaires ---------- */
.dfx-filter-box { border: 1px solid var(--dfx-line); border-radius: var(--dfx-radius); overflow: hidden; }
.dfx-filter-box__head { background: var(--dfx-bg-alt); color: var(--dfx-green-deep); padding: 14px 20px; font-family: var(--dfx-font-head); font-weight: 700; display: block; text-decoration: none; }
.dfx-filter-box__head:hover { color: var(--dfx-green); }
.dfx-filter-box.is-active .dfx-filter-box__head { background: var(--dfx-green); color: var(--dfx-white); }
.dfx-filter-box__list { list-style: none; margin: 0; padding: 8px 0; }
.dfx-filter-box__list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 20px; color: var(--dfx-ink); text-decoration: none; }
.dfx-filter-box__list a:hover { background: var(--dfx-bg-alt); }
.dfx-filter-box__list a[aria-current="page"] { background: var(--dfx-orange-pale); color: var(--dfx-green-deep); font-weight: 700; }
.dfx-filter-box__list .dfx-count { color: var(--dfx-orange-text); font-weight: 700; }
.dfx-results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.dfx-results-head h2 { margin: 4px 0 0; font-size: 30px; }
.dfx-results-head .dfx-eyebrow::before { display: none; }
.dfx-results-head form { flex: 0 1 360px; display: flex; flex-direction: column; gap: 6px; }
.dfx-results-head label { font-size: 14px; font-weight: 600; color: var(--dfx-muted); }
.dfx-doc-rows { display: flex; flex-direction: column; gap: 14px; }
.dfx-doc-row { border: 1px solid var(--dfx-line); border-radius: 16px; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; background: var(--dfx-white); transition: border-color .15s; }
.dfx-doc-row:hover { border-color: var(--dfx-green); }
.dfx-doc-row__icon { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--dfx-orange-pale); color: var(--dfx-orange-text); display: flex; align-items: center; justify-content: center; }
.dfx-doc-row__body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dfx-doc-row__title { margin: 0; font-family: var(--dfx-font-body); font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.dfx-doc-row__title a { color: var(--dfx-green-deep); text-decoration: none; }
.dfx-doc-row__title a:hover { text-decoration: underline; }
.dfx-doc-row__meta { font-size: 14px; color: var(--dfx-muted); }
.dfx-note { font-size: 14px; color: var(--dfx-muted); margin: 22px 0 0; }

/* Fiche d'un texte */
.dfx-docview { display: flex; flex-direction: column; gap: 20px; }
.dfx-docview__facts { display: flex; flex-wrap: wrap; gap: 12px; }
.dfx-docview__fact { background: var(--dfx-bg-alt); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.dfx-docview__fact strong { display: block; font-size: 13px; color: var(--dfx-muted); font-weight: 600; }
.dfx-docview__pdf { width: 100%; height: 80vh; min-height: 520px; border: 1px solid var(--dfx-line); border-radius: 14px; background: var(--dfx-bg-alt); }

/* ---------- Prestations ---------- */
.dfx-service { border: 1px solid var(--dfx-line); border-radius: var(--dfx-radius); padding: 24px; display: flex; gap: 18px; align-items: flex-start; background: var(--dfx-white); }
.dfx-service__num { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--dfx-green-pale); color: var(--dfx-green); display: flex; align-items: center; justify-content: center; font-family: var(--dfx-font-head); font-weight: 800; font-size: 17px; }
.dfx-service__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.dfx-service__title { margin: 0; font-size: 18px; line-height: 1.35; }
.dfx-service__text { margin: 0; font-size: 15px; color: var(--dfx-muted); }
.dfx-service__actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.dfx-service__actions a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.dfx-service__actions a:hover { text-decoration: underline; }
.dfx-callout { background: var(--dfx-orange-pale); border-radius: 20px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: 28px; }
.dfx-callout__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 6px; }
.dfx-callout h2 { margin: 0; font-size: 22px; }
.dfx-callout p { margin: 0; color: var(--dfx-ink-2); }

/* ---------- Article ---------- */
.dfx-article-hero { background: var(--dfx-bg-alt); padding: 44px 0 0; }
.dfx-article-hero__inner { display: flex; flex-direction: column; gap: 16px; }
.dfx-article-hero .dfx-breadcrumb, .dfx-article-hero .dfx-breadcrumb a { color: var(--dfx-muted); }
.dfx-article-hero .dfx-breadcrumb a:hover { color: var(--dfx-green-deep); }
.dfx-article-hero .dfx-breadcrumb [aria-current] { color: var(--dfx-ink); }
.dfx-article-hero h1 { margin: 0; max-width: 960px; font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.5px; }
.dfx-article-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--dfx-muted); }
.dfx-article-hero__media { margin-top: 16px; border-radius: 20px 20px 0 0; overflow: hidden; aspect-ratio: 16 / 7; }
.dfx-article-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dfx-article-hero__spacer { height: 24px; }
.dfx-article { font-size: 18px; line-height: 1.7; }
.dfx-article > p:first-child { font-size: 21px; line-height: 1.6; color: var(--dfx-green-deep); font-weight: 600; }
.dfx-share { border-top: 1px solid var(--dfx-line); padding-top: 20px; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dfx-share__label { font-weight: 700; font-size: 15px; color: var(--dfx-green-deep); }
.dfx-share a, .dfx-share button { border: 1px solid var(--dfx-field); border-radius: 999px; padding: 8px 16px; font-size: 15px; text-decoration: none; background: var(--dfx-white); color: var(--dfx-green); cursor: pointer; line-height: 1.4; }
.dfx-share a:hover, .dfx-share button:hover { border-color: var(--dfx-green); }
.dfx-widget { border: 1px solid var(--dfx-line); border-radius: var(--dfx-radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.dfx-widget h2 { margin: 0; font-size: 19px; }
.dfx-widget--dark { background: var(--dfx-green-deep); border-color: var(--dfx-green-deep); color: var(--dfx-white); }
.dfx-widget--dark h2 { color: var(--dfx-white); }
.dfx-recent { display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding-bottom: 12px; border-bottom: 1px solid var(--dfx-line-2); }
.dfx-recent:last-child { border-bottom: 0; padding-bottom: 0; }
.dfx-recent__date { font-size: 13px; color: var(--dfx-muted); }
.dfx-recent__title { font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--dfx-green-deep); }
.dfx-recent:hover .dfx-recent__title { text-decoration: underline; }
.dfx-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.dfx-chips a { color: var(--dfx-white); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 6px 12px; text-decoration: none; }
.dfx-chips a:hover { background: var(--dfx-white); color: var(--dfx-green-deep); }
.dfx-postnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 32px; }
.dfx-postnav a { flex: 1 1 260px; border: 1px solid var(--dfx-line); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--dfx-green-deep); font-weight: 700; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.dfx-postnav a span { font-size: 13px; font-weight: 600; color: var(--dfx-muted); }
.dfx-postnav a:hover { border-color: var(--dfx-green); }
.dfx-postnav__next { text-align: right; }

/* ---------- Contact ---------- */
.dfx-contact-wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.dfx-page-hero--overlap + .dfx-section .dfx-contact-wrap { margin-top: -152px; }
.dfx-contact-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.dfx-contact-card { background: var(--dfx-white); border-radius: 20px; padding: 28px; box-shadow: var(--dfx-shadow); display: flex; flex-direction: column; gap: 22px; border: 1px solid var(--dfx-line); }
.dfx-contact-line { display: flex; gap: 16px; align-items: flex-start; }
.dfx-contact-line__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.dfx-contact-line__icon--green { background: var(--dfx-green-pale); color: var(--dfx-green); }
.dfx-contact-line__icon--orange { background: var(--dfx-orange-pale); color: var(--dfx-orange-text); }
.dfx-contact-line__label { font-weight: 700; color: var(--dfx-green-deep); }
.dfx-contact-line__value { color: var(--dfx-ink-2); }
.dfx-map { border-radius: 20px; overflow: hidden; height: 280px; border: 1px solid var(--dfx-line); }
.dfx-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.dfx-form { flex: 999 1 560px; min-width: 0; background: var(--dfx-white); border-radius: 20px; padding: 32px; box-shadow: var(--dfx-shadow); border: 1px solid var(--dfx-line); display: flex; flex-direction: column; gap: 18px; }
.dfx-form__title { margin: 0; font-size: 26px; }
.dfx-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dfx-field { display: flex; flex-direction: column; gap: 6px; }
.dfx-field label { font-weight: 600; font-size: 15px; }
.dfx-field input, .dfx-field select, .dfx-field textarea { font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--dfx-field); border-radius: 12px; background: var(--dfx-white); width: 100%; }
.dfx-field input:focus, .dfx-field select:focus, .dfx-field textarea:focus { border-color: var(--dfx-green); outline: 3px solid rgba(0, 119, 74, .18); outline-offset: 0; }
.dfx-field textarea { resize: vertical; min-height: 150px; }
.dfx-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--dfx-ink-2); }
.dfx-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--dfx-green); flex: none; }
.dfx-form__req { margin: 0; font-size: 14px; color: var(--dfx-muted); }
.dfx-form__hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.dfx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dfx-alert { border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.dfx-alert--ok { background: var(--dfx-green-pale); color: var(--dfx-green-deep); }
.dfx-alert--err { background: #FDECEA; color: #8A1C12; }

/* ---------- Pagination, recherche, 404 ---------- */
.dfx-pagination { margin-top: 40px; }
.dfx-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dfx-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--dfx-line); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; color: var(--dfx-green-deep); }
.dfx-pagination .page-numbers:hover { border-color: var(--dfx-green); }
.dfx-pagination .page-numbers.current { background: var(--dfx-green); border-color: var(--dfx-green); color: var(--dfx-white); }
.dfx-pagination .page-numbers.dots { border: 0; }
.dfx-result { border-bottom: 1px solid var(--dfx-line); padding: 20px 0; display: flex; flex-direction: column; gap: 6px; }
.dfx-result h2 { margin: 0; font-size: 20px; }
.dfx-result h2 a { color: var(--dfx-green-deep); text-decoration: none; }
.dfx-result h2 a:hover { text-decoration: underline; }
.dfx-result p { margin: 0; color: var(--dfx-muted); font-size: 16px; }
.dfx-404 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 0; }
.dfx-404__code { font-family: var(--dfx-font-head); font-weight: 800; font-size: 120px; line-height: 1; color: var(--dfx-orange); }
.dfx-404 .dfx-searchform { width: 100%; }
.dfx-404 .dfx-btn { align-self: center; }

/* ---------- Elementor ---------- */
.dfx-elementor-full { width: 100%; }
.elementor-page .dfx-entry { max-width: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.dfx-burger { display: inline-flex; }
	.dfx-header__inner { padding-bottom: 16px; }
	.dfx-nav { display: none; border-top: 0; padding: 0; }
	.dfx-menu > li.menu-cta { margin-left: 0; }
	.dfx-nav.is-open { display: block; }
	.dfx-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; border-top: 1px solid var(--dfx-line); }
	.dfx-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--dfx-line-2); }
	.dfx-menu > li > a { flex: 1; padding: 14px 0; border-bottom: 0; }
	.dfx-menu > li > a .dfx-chevron { display: none; }
	.dfx-menu > li.current-menu-item > a, .dfx-menu > li.current-menu-ancestor > a { border-bottom: 0; box-shadow: inset 4px 0 0 var(--dfx-orange); padding-left: 12px; }
	.dfx-menu > li.menu-cta { border-bottom: 0; padding-top: 12px; }
	.dfx-menu > li.menu-cta > a { flex: none; }
	.dfx-subtoggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--dfx-green-deep); cursor: pointer; }
	.dfx-subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.dfx-menu .sub-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 12px; margin: 0; display: none; min-width: 0; }
	.dfx-menu > li.is-open > .sub-menu { display: block; }
	.dfx-menu > li:hover > .sub-menu { display: none; }
	.dfx-menu > li.is-open:hover > .sub-menu { display: block; }
}
@media (max-width: 720px) {
	body { font-size: 16px; }
	.dfx-section { padding: 52px 0; }
	.dfx-brand__desc { display: none; }
	.dfx-feature__body, .dfx-form, .dfx-contact-card, .dfx-panel { padding: 22px; }
	.dfx-media-band { padding: 24px; }
	.dfx-director__photo img, .dfx-director__photo .dfx-ph { height: 340px; }
	.dfx-stat__value { font-size: 36px; }
	.dfx-grid, .dfx-grid--services, .dfx-stats, .dfx-doclists { grid-template-columns: 1fr; }
	details { padding: 0 18px; }
	.dfx-sd__head { padding: 18px; }
	.dfx-tabs a { padding: 12px 14px; font-size: 15px; }
	.dfx-docview__pdf { height: 70vh; min-height: 420px; }
}

/* ---------- Impression ---------- */
@media print {
	.dfx-topbar, .dfx-header, .dfx-flash, .dfx-footer, .dfx-share, .dfx-layout__side, .dfx-search-panel { display: none !important; }
	.dfx-page-hero, .dfx-article-hero { background: none; color: #000; padding: 0 0 16px; }
	.dfx-page-hero h1 { color: #000; }
	details { display: block; }
	details > * { display: block !important; }
}
