/*
 * 2F Électricité — charte tirée du logo et de la charte graphique (décembre 2024).
 *
 * Couleurs : bleu 2F #1F2F3A · bleu nuit #16222A (pied de page) · bleu acier #2C4250
 *            jaune 2F #EDA300 (boutons, éclairs, filets) · ambre #8C5E00 (petits textes jaunes sur fond clair, contraste AA)
 *            fond #FAFAF8 · gris clair #EEF1F3 · filets #DCE2E6 · gris #5A6670
 * Polices  : Archivo large et grasse pour les titres (le site d'origine utilisait Archivo Black),
 *            Figtree pour le texte (géométrique, proche d'Avenir, la police du logo).
 * Signature : l'éclair du logo (surtitres, puces, bouton d'envoi), le filet jaune décalé des deux F
 *             (cadres des photos), la pente des F (barrettes inclinées sous les titres) et le fond « plan »
 *             quadrillé du bureau d'études. En haut de l'accueil, le double F du logo s'allume comme un néon.
 */

:root {
	--ffe-bleu: #1F2F3A;
	--ffe-nuit: #16222A;
	--ffe-acier: #2C4250;
	--ffe-jaune: #EDA300;
	--ffe-jaune-vif: #FFC233;
	--ffe-ambre: #8C5E00;
	--ffe-fond: #FAFAF8;
	--ffe-gris-clair: #EEF1F3;
	--ffe-ligne: #DCE2E6;
	--ffe-gris: #5A6670;
	--ffe-texte: #1B262E;
	--ffe-sur-fonce: #C3CDD4;
	--ffe-titre: var(--wp--preset--font-family--titre, Archivo, 'Arial Black', sans-serif);
	--ffe-sans: var(--wp--preset--font-family--texte, Figtree, Avenir, system-ui, sans-serif);
	--ffe-large: 112%;
	--ffe-wrap: 1240px;
	--ffe-pad: clamp(20px, 5vw, 56px);
	--ffe-section: clamp(64px, 8vw, 112px);
	--ffe-radius: 4px;
	--ffe-pente: -14deg;
	--mm-header-height: 84px;
	--mm-color-brand: var(--ffe-bleu);
	--mm-color-accent: var(--ffe-jaune);
	--mm-color-line: var(--ffe-ligne);
	--mm-color-bg-alt: var(--ffe-gris-clair);

	/* Éclair du logo */
	--ffe-eclair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 530'%3E%3Cpath d='M200 2 20 315h72L0 527l167-275H87Z'/%3E%3C/svg%3E");
	/* Fond « plan » : quadrillage fin + quadrillage principal */
	--ffe-plan:
		linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 160px 160px,
		linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 160px 160px,
		linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px;
}

/* ---------- Base ---------- */
body { background: var(--ffe-fond); color: var(--ffe-texte); font-family: var(--ffe-sans); font-size: 17px; line-height: 1.65; }
h1, h2, h3, h4, h5 { font-family: var(--ffe-titre); font-weight: 800; font-stretch: var(--ffe-large); letter-spacing: -.01em; color: var(--ffe-bleu); text-wrap: balance; }
h2 { line-height: 1.04; }
p { text-wrap: pretty; }
strong, b { font-weight: 700; }
::selection { background: var(--ffe-jaune); color: var(--ffe-bleu); }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ffe-jaune); outline-offset: 3px; border-radius: 2px; }
.mm-main { padding-bottom: 0; }
.mm-content--full > [class*="ffe-"] { max-width: none !important; margin-inline: 0; }
.mm-content--full > p:empty { display: none; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.ffe-wrap { max-width: calc(var(--ffe-wrap) + 2 * var(--ffe-pad)); margin-inline: auto; padding-inline: var(--ffe-pad); }

/* Surtitre : éclair jaune + petites capitales */
.is-style-surtitre, .ffe-surtitre {
	display: flex; align-items: center; gap: 9px;
	font-family: var(--ffe-sans); font-size: 13.5px !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ffe-ambre); margin: 0 0 14px;
}
.is-style-surtitre::before, .ffe-surtitre::before {
	content: ""; width: 10px; height: 18px; flex: none; background: var(--ffe-jaune);
	-webkit-mask: var(--ffe-eclair) center / contain no-repeat; mask: var(--ffe-eclair) center / contain no-repeat;
}
.is-style-chapeau, .ffe-chapeau { font-size: clamp(18.5px, 1.5vw, 21px) !important; line-height: 1.55; max-width: 40em; }

/* Liste à puces éclairs */
.is-style-eclairs { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.is-style-eclairs li { position: relative; padding-left: 26px; }
.is-style-eclairs li::before {
	content: ""; position: absolute; left: 2px; top: .22em; width: 11px; height: 19px; background: var(--ffe-jaune);
	-webkit-mask: var(--ffe-eclair) center / contain no-repeat; mask: var(--ffe-eclair) center / contain no-repeat;
}

/* Photo avec le filet jaune décalé des deux F du logo */
.is-style-cadre { position: relative; isolation: isolate; }
.is-style-cadre::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border: 3px solid var(--ffe-jaune); border-radius: var(--ffe-radius);
	transform: translate(10px, 10px); transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.is-style-cadre img { border-radius: var(--ffe-radius); }

/* Fond « plan » bleu nuit quadrillé */
.is-style-plan { background: var(--ffe-plan), var(--ffe-bleu) !important; color: var(--ffe-sur-fonce); }
.is-style-plan h1, .is-style-plan h2, .is-style-plan h3 { color: #fff; }
.is-style-plan .is-style-surtitre, .is-style-plan .ffe-surtitre { color: var(--ffe-jaune); }
.is-style-plan a:not(.wp-block-button__link):not(.ffe-btn) { color: #fff; }

/* Lien avec flèche */
.ffe-lien {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
	color: var(--ffe-bleu); text-decoration: none; border-bottom: 2px solid var(--ffe-jaune); padding-bottom: 2px; transition: color .25s, border-color .25s;
}
.ffe-lien::after { content: "→"; transition: transform .3s; }
.ffe-lien:hover { color: var(--ffe-ambre); }
.ffe-lien:hover::after { transform: translateX(4px); }

/* ---------- Boutons ---------- */
.wp-block-button__link,
.ffe-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--ffe-sans); font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase;
	background: var(--ffe-jaune); color: var(--ffe-bleu); border: 2px solid var(--ffe-jaune);
	border-radius: 3px; padding: 15px 26px; text-decoration: none; cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.wp-block-button__link:hover, .wp-block-button__link:focus-visible,
.ffe-btn:hover, .ffe-btn:focus-visible { background: var(--ffe-bleu); border-color: var(--ffe-bleu); color: #fff; }
.wp-block-button__link:active, .ffe-btn:active { transform: translateY(1px); }
.wp-block-button.is-style-contour .wp-block-button__link, .ffe-btn--contour { background: transparent; color: var(--ffe-bleu); border-color: var(--ffe-bleu); }
.wp-block-button.is-style-contour .wp-block-button__link:hover, .ffe-btn--contour:hover { background: var(--ffe-bleu); color: #fff; }
.wp-block-button.is-style-clair .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.wp-block-button.is-style-clair .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--ffe-bleu); }
.is-style-plan .wp-block-button:not(.is-style-clair):not(.is-style-contour) .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--ffe-bleu); }
.ffe-btn .mm-icon { width: 15px; height: 15px; }
.ffe-btn--tel .ffe-btn__num { font-weight: 600; letter-spacing: .02em; }
.wp-block-buttons { gap: 12px; }

/* ---------- En-tête ---------- */
.ffe-header .mm-navbar { background: rgba(250, 250, 248, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.ffe-header.is-scrolled .mm-navbar { box-shadow: 0 1px 0 var(--ffe-ligne), 0 8px 24px rgba(31, 47, 58, .07); }
.ffe-navbar { max-width: calc(var(--ffe-wrap) + 2 * var(--ffe-pad)); margin-inline: auto; padding-inline: var(--ffe-pad); min-height: var(--mm-header-height); gap: 28px; }
.ffe-navbar .mm-nav { margin-left: auto; }

.ffe-logo { display: inline-flex; align-items: center; text-decoration: none; }
.ffe-logo__img, .mm-brand img.ffe-logo__img { width: auto; height: 50px; max-height: none; display: block; }
/* Logo : calque « courant » (filet jaune des F + éclair) superposé au logo.
 * À l'arrivée, il s'allume comme un néon ; toutes les 9 s, un courant le traverse ; au survol, il crépite. */
.ffe-logo__visuel { position: relative; display: block; }
.ffe-logo__courant, .mm-brand img.ffe-logo__courant {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-height: none; pointer-events: none; opacity: 0;
	filter: brightness(1.2) drop-shadow(0 0 3px rgba(255, 194, 51, .95)) drop-shadow(0 0 9px rgba(237, 163, 0, .55));
	--ffe-bande: linear-gradient(100deg, transparent 38%, #000 47%, #000 53%, transparent 62%);
	-webkit-mask: var(--ffe-bande) 120% 0 / 260% 100% no-repeat;
	mask: var(--ffe-bande) 120% 0 / 260% 100% no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
	.ffe-logo--header .ffe-logo__courant { animation: ffe-logo-allume 1.6s linear .5s both, ffe-logo-courant 9s cubic-bezier(.45, 0, .55, 1) 4s infinite; }
	.ffe-logo:hover .ffe-logo__courant, .ffe-logo:focus-visible .ffe-logo__courant { animation: ffe-logo-crepite .9s linear both; }
}
/* Allumage : tout le calque, sans masque, clignote puis s'éteint doucement */
@keyframes ffe-logo-allume {
	0% { opacity: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-image: none; mask-image: none; }
	8% { opacity: .9; } 13% { opacity: .1; } 20% { opacity: .75; } 25% { opacity: .15; } 38% { opacity: 1; }
	60% { opacity: 1; }
	100% { opacity: 0; -webkit-mask-image: none; mask-image: none; }
}
/* Courant : une bande lumineuse traverse le filet et l'éclair, de gauche à droite */
@keyframes ffe-logo-courant {
	0% { opacity: 1; -webkit-mask-position: 120% 0; mask-position: 120% 0; }
	12% { opacity: 1; -webkit-mask-position: -20% 0; mask-position: -20% 0; }
	13%, 100% { opacity: 0; -webkit-mask-position: -20% 0; mask-position: -20% 0; }
}
/* Survol : le courant passe, puis l'éclair crépite */
@keyframes ffe-logo-crepite {
	0% { opacity: 1; -webkit-mask-image: var(--ffe-bande); mask-image: var(--ffe-bande); -webkit-mask-position: 120% 0; mask-position: 120% 0; }
	45% { opacity: 1; -webkit-mask-image: var(--ffe-bande); mask-image: var(--ffe-bande); -webkit-mask-position: -20% 0; mask-position: -20% 0; }
	46% { opacity: .2; -webkit-mask-image: none; mask-image: none; }
	54% { opacity: .9; -webkit-mask-image: none; mask-image: none; }
	60% { opacity: .25; -webkit-mask-image: none; mask-image: none; }
	70% { opacity: .8; -webkit-mask-image: none; mask-image: none; }
	100% { opacity: 0; -webkit-mask-image: none; mask-image: none; }
}

.mm-nav__menu { gap: 0 30px; }
.mm-nav__menu a { font-size: 15px; font-weight: 700; color: var(--ffe-bleu); position: relative; padding: 10px 0; }
.mm-nav__menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 3px; background: var(--ffe-jaune);
	transform: scaleX(0) skewX(var(--ffe-pente)); transform-origin: 0 50%; transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.mm-nav__menu > li > a:hover::after,
.mm-nav__menu > li.is-active > a::after,
.mm-nav__menu > .current-menu-item:not(.menu-item-type-custom) > a::after { transform: scaleX(1) skewX(var(--ffe-pente)); }
.mm-nav__menu .sub-menu { background: var(--ffe-fond); border-top: 3px solid var(--ffe-jaune); padding: 10px 0; min-width: 250px; }
.mm-nav__menu .sub-menu a { font-size: 15.5px; font-weight: 600; padding: 9px 22px; }

/* Dernier élément du menu en bouton (classe « ffe-nav-cta ») */
.mm-nav__menu > .ffe-nav-cta > a {
	background: var(--ffe-jaune); color: var(--ffe-bleu); border-radius: 3px; padding: 12px 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 14px;
	transition: background-color .25s, color .25s;
}
.mm-nav__menu > .ffe-nav-cta > a:hover { background: var(--ffe-bleu); color: #fff; }
.mm-nav__menu > .ffe-nav-cta > a::after { display: none; }

.ffe-navphone {
	display: inline-flex; align-items: center; gap: 9px; flex: none;
	color: var(--ffe-bleu); text-decoration: none; font-weight: 800; font-size: 15.5px; white-space: nowrap; letter-spacing: .01em;
}
.ffe-navphone .mm-icon { width: 15px; height: 15px; color: var(--ffe-ambre); }
.ffe-navphone:hover { color: var(--ffe-ambre); }
.ffe-navbar .ffe-navphone { order: 2; }
.ffe-navbar .mm-nav { order: 3; }

@media (max-width: 1180px) {
	.mm-nav__menu { gap: 0 22px; }
	.ffe-navphone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.ffe-navphone { width: 42px; height: 42px; justify-content: center; border: 2px solid var(--ffe-ligne); border-radius: 50%; }
}
@media (max-width: 1024px) {
	:root { --mm-header-height: 72px; }
	.ffe-logo__img, .mm-brand img.ffe-logo__img { height: 42px; }
	.ffe-navbar { gap: 10px; }
	.ffe-navbar .ffe-navphone { margin-left: auto; }
	.ffe-navbar .mm-nav { margin-left: 0; }
	.mm-nav__toggle { color: var(--ffe-bleu); }

	/* Menu mobile : panneau qui se déroule depuis le haut, liens en cascade, voile derrière. */
	.mm-nav__menu,
	.mm-nav.is-open .mm-nav__menu {
		display: flex !important;
		background: var(--ffe-fond);
		padding: 8px 0 32px;
		max-height: calc(100vh - var(--mm-header-height));
		box-shadow: 0 30px 40px rgba(22, 34, 42, .2);
		visibility: hidden; pointer-events: none;
		clip-path: inset(0 0 100% 0);
		transition: clip-path .5s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .5s;
		z-index: 2;
	}
	.mm-nav.is-open .mm-nav__menu { visibility: visible; pointer-events: auto; clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
	.mm-nav::before {
		content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh;
		background: rgba(22, 34, 42, .5); opacity: 0; visibility: hidden;
		transition: opacity .45s ease, visibility 0s linear .45s;
	}
	.mm-nav.is-open::before { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
	.mm-nav__menu > li {
		margin-inline: var(--ffe-pad); border-bottom: 1px solid var(--ffe-ligne);
		opacity: 0; transform: translate3d(0, -8px, 0); transition: opacity .2s ease, transform .2s ease;
	}
	.mm-nav.is-open .mm-nav__menu > li { opacity: 1; transform: none; transition: opacity .45s ease, transform .55s cubic-bezier(.22, 1, .36, 1); }
	.mm-nav.is-open .mm-nav__menu > li:nth-child(1) { transition-delay: .1s; }
	.mm-nav.is-open .mm-nav__menu > li:nth-child(2) { transition-delay: .16s; }
	.mm-nav.is-open .mm-nav__menu > li:nth-child(3) { transition-delay: .22s; }
	.mm-nav.is-open .mm-nav__menu > li:nth-child(4) { transition-delay: .28s; }
	.mm-nav.is-open .mm-nav__menu > li:nth-child(n+5) { transition-delay: .34s; }
	.mm-nav__menu a { font-family: var(--ffe-titre); font-stretch: var(--ffe-large); font-weight: 800; font-size: 25px; padding: 16px 2px; display: flex; align-items: center; gap: 12px; }
	.mm-nav__menu > li > a::after { display: none; }
	.mm-nav__menu > li:not(.ffe-nav-cta) > a::before {
		content: ""; width: 11px; height: 20px; flex: none; background: var(--ffe-jaune); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s;
		-webkit-mask: var(--ffe-eclair) center / contain no-repeat; mask: var(--ffe-eclair) center / contain no-repeat;
	}
	.mm-nav__menu > li:not(.ffe-nav-cta) > a:hover::before, .mm-nav__menu > li.is-active > a::before { opacity: 1; transform: none; }
	.mm-nav__menu > .ffe-nav-cta { border-bottom: 0; margin-top: 18px; }
	.mm-nav__menu > .ffe-nav-cta > a { font-family: var(--ffe-sans); font-stretch: 100%; font-size: 16px; justify-content: center; padding: 16px; }
}
@media (max-width: 420px) {
	.ffe-logo__img, .mm-brand img.ffe-logo__img { height: 36px; }
}

/* ---------- Burger (mobile) ----------
 * Trois traits fins. Un courant (étincelle jaune) les parcourt toutes les 7 s et au survol ;
 * à l'ouverture, le trait du milieu grille en éclair (comme un néon qui claque) et les deux autres forment la croix.
 */
.ffe-burger { width: 46px; height: 46px; padding: 0; align-items: center; justify-content: center; border-radius: 50%; color: var(--ffe-bleu); -webkit-tap-highlight-color: transparent; }
.ffe-burger__boite { position: relative; display: block; width: 26px; height: 15.5px; }
.ffe-burger__trait {
	position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 1px; background: currentColor; overflow: hidden;
	transition: transform .45s cubic-bezier(.7, 0, .3, 1), opacity .25s ease, width .35s ease, background-color .3s ease;
}
.ffe-burger__trait--1 { top: 0; }
.ffe-burger__trait--2 { top: 7px; left: auto; right: 0; width: 68%; }
.ffe-burger__trait--3 { top: 14px; }
/* L'étincelle qui court le long d'un trait */
.ffe-burger__trait::after {
	content: ""; position: absolute; top: 0; left: -14px; width: 12px; height: 100%;
	background: linear-gradient(90deg, rgba(255, 194, 51, 0), var(--ffe-jaune-vif) 60%, #fff);
	opacity: 0;
}
.ffe-burger__eclair { position: absolute; left: 50%; top: 50%; width: 9px; height: 24px; margin: -12px 0 0 -4.5px; fill: var(--ffe-jaune-vif); opacity: 0; pointer-events: none; overflow: visible; filter: drop-shadow(0 0 3px rgba(255, 194, 51, .9)); }
.ffe-burger:hover .ffe-burger__trait--2, .ffe-burger:focus-visible .ffe-burger__trait--2 { width: 100%; }

/* Ouvert : croix fine, l'éclair claque au centre */
.mm-nav.is-open .ffe-burger__trait--1 { transform: translateY(7px) rotate(45deg); }
.mm-nav.is-open .ffe-burger__trait--3 { transform: translateY(-7px) rotate(-45deg); }
.mm-nav.is-open .ffe-burger__trait--2 { opacity: 0; transform: scaleX(.2); }

@media (prefers-reduced-motion: no-preference) {
	.mm-nav:not(.is-open) .ffe-burger__trait::after { animation: ffe-courant 7s cubic-bezier(.45, 0, .55, 1) infinite; }
	.mm-nav:not(.is-open) .ffe-burger__trait--1::after { animation-delay: 2s; }
	.mm-nav:not(.is-open) .ffe-burger__trait--2::after { animation-delay: 2.12s; }
	.mm-nav:not(.is-open) .ffe-burger__trait--3::after { animation-delay: 2.24s; }
	.mm-nav:not(.is-open) .ffe-burger:hover .ffe-burger__trait::after { animation: ffe-courant-vite .55s cubic-bezier(.45, 0, .55, 1) infinite; }
	.mm-nav:not(.is-open) .ffe-burger:hover .ffe-burger__trait--2::after { animation-delay: .08s; }
	.mm-nav:not(.is-open) .ffe-burger:hover .ffe-burger__trait--3::after { animation-delay: .16s; }
	.mm-nav.is-open .ffe-burger__eclair { animation: ffe-claque .7s linear both; }
	.mm-nav.is-open .ffe-burger__trait--1, .mm-nav.is-open .ffe-burger__trait--3 { animation: ffe-arc .7s linear both; }
}
@keyframes ffe-courant {
	0% { left: -14px; opacity: 0; }
	1% { opacity: 1; }
	9% { left: 100%; opacity: 1; }
	10%, 100% { left: 100%; opacity: 0; }
}
@keyframes ffe-courant-vite {
	0% { left: -14px; opacity: 1; }
	90% { left: 100%; opacity: 1; }
	100% { left: 100%; opacity: 0; }
}
@keyframes ffe-claque {
	0% { opacity: 0; transform: scale(.6); }
	10% { opacity: 1; transform: scale(1.05); }
	18% { opacity: .15; }
	28% { opacity: 1; }
	36% { opacity: .35; }
	46% { opacity: 1; transform: scale(1); }
	75% { opacity: .9; }
	100% { opacity: 0; transform: scale(1.15); }
}
@keyframes ffe-arc {
	0%, 15% { color: var(--ffe-bleu); }
	22%, 48% { color: var(--ffe-jaune); box-shadow: 0 0 2px rgba(255, 194, 51, .45); }
	100% { color: var(--ffe-bleu); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ffe-burger__trait { transition: none; }
}

/* ---------- Sections ---------- */
.ffe-section { padding: var(--ffe-section) var(--ffe-pad); position: relative; }
.ffe-section > * { max-width: var(--ffe-wrap); margin-inline: auto; }
.ffe-section .ffe-wrap { padding-inline: 0; }
.ffe-section--gris { background: var(--ffe-gris-clair); }
.ffe-section--compact { padding-block: clamp(56px, 7vw, 88px); }

.ffe-section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); }
.ffe-section-head .is-style-surtitre, .ffe-section-head .ffe-surtitre { justify-content: center; }
.ffe-section-head h2 { margin: 0; }
.ffe-section-head p:not(.is-style-surtitre) { margin: 18px auto 0; color: var(--ffe-gris); }
/* Barrette inclinée, à la pente des F du logo */
.ffe-section-head h2::after, .ffe-bandeau__titre::after, .ffe-questions__tete h2::after, .ffe-apropos__texte h2::after, .ffe-avis__tete h2::after, .ffe-contact__infos h2::after {
	content: ""; display: block; width: 64px; height: 7px; margin: 20px auto 0; background: var(--ffe-jaune); transform: skewX(var(--ffe-pente));
}
.ffe-questions__tete h2::after, .ffe-apropos__texte h2::after, .ffe-avis__tete h2::after, .ffe-contact__infos h2::after, .ffe-bandeau__titre::after { margin-left: 3px; }

/* Grilles : pas de marge haute « flow » de WordPress entre les éléments */
.ffe-cartes > *, .ffe-chiffres > *, .ffe-avis__grille > *, .ffe-reals > *, .ffe-questions__liste > * { margin-block: 0 !important; }

/* ---------- Accueil : haut de page ---------- */
.ffe-hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) var(--ffe-pad) clamp(64px, 9vw, 120px); min-height: min(86vh, 860px); display: flex; align-items: center; }
.ffe-hero::after {
	/* Halo jaune derrière le double F */
	content: ""; position: absolute; right: -10%; top: 50%; width: min(900px, 80vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none;
	background: radial-gradient(closest-side, rgba(237, 163, 0, .16), rgba(237, 163, 0, 0));
}
.ffe-hero > .ffe-hero__grille { position: relative; z-index: 1; width: 100%; max-width: var(--ffe-wrap); margin-inline: auto; gap: clamp(32px, 5vw, 80px); }
.ffe-hero__titre { color: #fff; font-size: clamp(40px, 6vw, 80px) !important; line-height: .98 !important; letter-spacing: -.02em; margin: 0 0 24px; }
.ffe-surligne { color: var(--ffe-jaune); }
.ffe-hero__chapeau { color: #DCE3E8; margin: 0 0 32px; max-width: 36em; }
.ffe-hero__actions { margin-bottom: 40px; }
.ffe-hero__actions .is-style-clair .wp-block-button__link { letter-spacing: .06em; }
.ffe-hero__atouts { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.ffe-hero__atouts li { display: inline-flex; align-items: center; gap: 9px; }
.ffe-hero__atouts li::before {
	content: ""; width: 9px; height: 16px; background: var(--ffe-jaune);
	-webkit-mask: var(--ffe-eclair) center / contain no-repeat; mask: var(--ffe-eclair) center / contain no-repeat;
}
.ffe-hero__visuel { display: flex; justify-content: center; }
.ffe-icone-wrap { display: block; width: 100%; max-width: 440px; }
.ffe-icone { display: block; width: 100%; height: auto; overflow: visible; }
.ffe-hero .ffe-icone path:first-child { fill: #2A3F4D; }
.ffe-hero .ffe-icone path:last-child { fill: var(--ffe-jaune-vif); filter: drop-shadow(0 0 6px rgba(255, 194, 51, .55)) drop-shadow(0 0 22px rgba(237, 163, 0, .35)); }
@media (max-width: 781px) {
	.ffe-hero { min-height: 0; }
	.ffe-hero__visuel { order: -1; justify-content: flex-start; }
	.ffe-icone-wrap { max-width: 150px; }
}

/* ---------- Services ---------- */
.ffe-cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 2.6vw, 36px); }
.ffe-carte { position: relative; display: flex; flex-direction: column; }
.ffe-carte__img { margin: 0 10px 26px 0 !important; }
.ffe-carte__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ffe-carte:hover .is-style-cadre::before { transform: translate(5px, 5px); }
.ffe-carte__num { margin: 0 0 6px; font-family: var(--ffe-titre); font-stretch: var(--ffe-large); font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--ffe-ambre); }
.ffe-carte h3 { font-size: 21px; line-height: 1.18; margin: 0 0 12px; }
.ffe-carte p:not([class]) { margin: 0 0 18px; color: var(--ffe-gris); font-size: 16px; }
.ffe-carte__lien { margin: auto 0 0; }
@media (max-width: 1080px) { .ffe-cartes { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 560px) { .ffe-cartes { grid-template-columns: 1fr; } }

/* ---------- Réalisations (grilles) ---------- */
.ffe-reals { list-style: none; margin: 0 auto 44px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.ffe-real__lien { display: block; text-decoration: none; color: inherit; height: 100%; background: #fff; border-radius: var(--ffe-radius); overflow: hidden; box-shadow: 0 1px 0 var(--ffe-ligne); transition: box-shadow .35s, transform .35s; }
.ffe-real__lien:hover, .ffe-real__lien:focus-visible { box-shadow: 0 18px 40px rgba(31, 47, 58, .12); transform: translateY(-3px); }
.ffe-real__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ffe-ligne); position: relative; }
.ffe-real__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.ffe-real__media::after {
	content: "Voir l’intervention →"; position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 3px;
	background: var(--ffe-jaune); color: var(--ffe-bleu); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.ffe-real__lien:hover .ffe-real__media img, .ffe-real__lien:focus-visible .ffe-real__media img { transform: scale(1.05); }
.ffe-real__lien:hover .ffe-real__media::after, .ffe-real__lien:focus-visible .ffe-real__media::after { opacity: 1; transform: none; }
.ffe-real__corps { display: grid; gap: 5px; padding: 18px 20px 22px; border-top: 4px solid var(--ffe-jaune); }
.ffe-real__tags { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ffe-ambre); }
.ffe-real__titre { font-family: var(--ffe-titre); font-stretch: var(--ffe-large); font-weight: 800; font-size: 19px; line-height: 1.2; color: var(--ffe-bleu); }
.ffe-real__lieu { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--ffe-gris); }
.ffe-real__lieu .mm-icon { width: 12px; height: 12px; color: var(--ffe-ambre); }
/* Accueil : la première réalisation en grand */
.ffe-reals--accueil .ffe-real:first-child { grid-column: span 2; grid-row: span 2; }
.ffe-reals--accueil .ffe-real:first-child .ffe-real__lien { display: flex; flex-direction: column; }
.ffe-reals--accueil .ffe-real:first-child .ffe-real__media { aspect-ratio: auto; flex: 1 1 0; min-height: 320px; }
.ffe-reals--accueil .ffe-real:first-child .ffe-real__media img { position: absolute; inset: 0; }
.ffe-reals--accueil .ffe-real:first-child .ffe-real__titre { font-size: 26px; }
@media (max-width: 900px) {
	.ffe-reals { grid-template-columns: repeat(2, 1fr); }
	.ffe-reals--accueil .ffe-real:first-child { grid-row: auto; }
	.ffe-reals--accueil .ffe-real:first-child .ffe-real__media { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
	.ffe-reals--accueil .ffe-real:first-child .ffe-real__media img { position: static; }
}
@media (max-width: 560px) {
	.ffe-reals { grid-template-columns: 1fr; }
	.ffe-reals--accueil .ffe-real:first-child { grid-column: auto; }
	.ffe-reals--accueil .ffe-real:first-child .ffe-real__media { aspect-ratio: 4 / 3; }
	.ffe-reals--accueil .ffe-real:first-child .ffe-real__titre { font-size: 21px; }
}
.ffe-vide { text-align: center; color: var(--ffe-gris); padding: 32px; border: 1px dashed var(--ffe-ligne); border-radius: var(--ffe-radius); }

/* Filtres par domaine */
.ffe-filtres ul { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ffe-filtres a {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2px solid rgba(255, 255, 255, .22); border-radius: 3px;
	font-size: 13.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: #fff !important;
	transition: border-color .25s, background-color .25s, color .25s;
}
.ffe-filtres a:hover { border-color: var(--ffe-jaune); }
.ffe-filtres a[aria-current="page"] { background: var(--ffe-jaune); border-color: var(--ffe-jaune); color: var(--ffe-bleu) !important; }
.ffe-filtres__n { font-size: 12px; opacity: .7; }

/* ---------- Fiche réalisation ---------- */
.ffe-fiche__head { position: relative; background: var(--ffe-bleu); color: #fff; }
.ffe-fiche__media { position: relative; height: clamp(320px, 58vh, 600px); overflow: hidden; }
.ffe-fiche__media img { width: 100%; height: 100%; object-fit: cover; }
.ffe-fiche__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 47, 58, .2) 0%, rgba(31, 47, 58, .35) 40%, rgba(22, 34, 42, .94) 100%); }
.ffe-fiche__head .ffe-fil, .ffe-fiche__head h1 { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.ffe-fiche__media + .ffe-fiche__titre { position: absolute; left: 0; right: 0; bottom: 0; }
.ffe-fiche__titre { padding-block: clamp(32px, 5vw, 56px); }
.ffe-fiche__titre h1 { color: #fff; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; margin: 0; max-width: 20ch; }
.ffe-fiche__titre .ffe-chapeau { color: #DCE3E8; margin: 16px 0 0; }
.ffe-fil { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ffe-jaune); display: flex; flex-wrap: wrap; gap: 8px; }
.ffe-fil a { color: inherit; text-decoration: none; }
.ffe-fil a:hover { color: #fff; }
.ffe-fiche__grille { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 80px); align-items: start; }
.ffe-fiche__texte.mm-content { padding: 0; }
.ffe-fiche__texte.mm-content > * { max-width: none; }
.ffe-fiche__texte > p:first-child { font-size: 19px; }
.ffe-fiche__texte .wp-block-gallery { margin-top: 32px; }
.ffe-fiche__texte .wp-block-gallery img { border-radius: 3px; }
.ffe-fiche__infos { position: sticky; top: calc(var(--mm-header-height) + 24px); background: var(--ffe-gris-clair); border-radius: var(--ffe-radius); padding: 28px; border-top: 4px solid var(--ffe-jaune); }
.ffe-fiche__infos-titre { font-size: 22px; margin: 0 0 16px; }
.ffe-fiche__infos dl { margin: 0 0 22px; display: grid; gap: 12px; }
.ffe-fiche__infos dl div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--ffe-ligne); }
.ffe-fiche__infos dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ffe-ambre); }
.ffe-fiche__infos dd { margin: 0; font-weight: 600; }
.ffe-fiche__infos-cta { font-family: var(--ffe-titre); font-stretch: var(--ffe-large); font-weight: 800; font-size: 20px; margin: 0 0 12px; color: var(--ffe-bleu); }
.ffe-fiche__infos .ffe-btn { width: 100%; }
.ffe-fiche__nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding-block: 28px; border-top: 1px solid var(--ffe-ligne); font-weight: 600; font-size: 15.5px; }
.ffe-fiche__nav a { color: var(--ffe-bleu); text-decoration: none; }
.ffe-fiche__nav a:hover { color: var(--ffe-ambre); }
.ffe-fiche__nav > span:last-child { text-align: right; }
.ffe-fiche__tout { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13.5px; }
@media (max-width: 900px) {
	.ffe-fiche__grille { grid-template-columns: 1fr; }
	.ffe-fiche__infos { position: static; }
	.ffe-fiche__nav { grid-template-columns: 1fr 1fr; }
	.ffe-fiche__tout { grid-column: 1 / -1; grid-row: 1; text-align: center; }
}

/* ---------- À propos ---------- */
.ffe-apropos__grille { gap: clamp(36px, 6vw, 96px) !important; margin-bottom: clamp(56px, 7vw, 96px); }
.ffe-citation.wp-block-quote { margin: 0; padding: 0; position: relative; }
.ffe-citation::before {
	content: "“"; display: block; font-family: Georgia, serif; font-size: 150px; line-height: .7; height: 72px; color: var(--ffe-jaune);
}
.ffe-citation p { font-family: var(--ffe-titre); font-stretch: var(--ffe-large); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.015em; color: #fff; margin: 0 0 24px; text-wrap: balance; }
.ffe-citation cite { display: block; font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ffe-jaune); }
.ffe-apropos__citation { position: sticky; top: calc(var(--mm-header-height) + 32px); align-self: flex-start; }
.ffe-apropos__texte h2 { margin: 0 0 22px; }
.ffe-apropos__texte .is-style-chapeau { color: #fff; }
.ffe-apropos__texte p { color: var(--ffe-sur-fonce); }
.ffe-apropos .is-style-eclairs li { color: #fff; font-weight: 600; }
.ffe-chiffres { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); padding-top: clamp(32px, 4vw, 48px); }
.ffe-chiffre { padding: 0 20px; }
.ffe-chiffre:first-child { padding-left: 0; }
.ffe-chiffre + .ffe-chiffre { border-left: 1px solid rgba(255, 255, 255, .14); }
.ffe-chiffre__nombre { font-family: var(--ffe-titre); font-stretch: 125%; font-weight: 800; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; color: var(--ffe-jaune); margin: 0 0 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ffe-chiffre__label { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ffe-sur-fonce); }
@media (max-width: 781px) {
	.ffe-apropos__citation { position: static; }
	.ffe-chiffres { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
	.ffe-chiffre:nth-child(3) { border-left: 0; padding-left: 0; }
	.ffe-chiffre { min-width: 0; padding-right: 8px; }
	.ffe-chiffre__nombre { font-size: clamp(30px, 9vw, 44px); font-stretch: var(--ffe-large); }
}

/* ---------- Questions ---------- */
.ffe-questions__grille { gap: clamp(32px, 6vw, 96px) !important; }
.ffe-questions__tete h2 { margin: 0 0 18px; }
.ffe-questions__tete p:not(.is-style-surtitre) { color: var(--ffe-gris); margin-top: 18px; }
.ffe-question.wp-block-details { border-bottom: 1px solid var(--ffe-ligne); padding: 0; }
.ffe-question:first-child { border-top: 1px solid var(--ffe-ligne); }
.ffe-question summary {
	list-style: none; cursor: pointer; position: relative; padding: 22px 52px 22px 0;
	font-family: var(--ffe-titre); font-stretch: var(--ffe-large); font-weight: 700; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; color: var(--ffe-bleu);
	transition: color .25s;
}
.ffe-question summary::-webkit-details-marker { display: none; }
.ffe-question summary::after, .ffe-question summary::before {
	content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 3px; margin-top: -1.5px; background: var(--ffe-jaune); transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.ffe-question summary::before { transform: rotate(90deg); }
.ffe-question[open] summary::before { transform: rotate(0deg); }
.ffe-question summary:hover { color: var(--ffe-ambre); }
.ffe-question > p { margin: 0; padding: 0 52px 24px 0; color: var(--ffe-gris); }

/* ---------- Avis ---------- */
.ffe-avis { background: var(--ffe-gris-clair); }
.ffe-avis__grille { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: stretch; }
.ffe-avis__tete h2 { margin: 0 0 22px; }
.ffe-avis__item.wp-block-quote { margin: 0; padding: 32px 30px 28px; background: #fff; border-radius: var(--ffe-radius); position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; font-size: 18.5px; line-height: 1.5; color: var(--ffe-bleu); box-shadow: 0 1px 0 var(--ffe-ligne); }
.ffe-avis__item::before { content: ""; position: absolute; left: 30px; top: 0; width: 48px; height: 5px; background: var(--ffe-jaune); transform: skewX(var(--ffe-pente)); }
.ffe-avis__item p { margin: 0; font-weight: 500; }
.ffe-avis__item cite { font-style: normal; font-weight: 800; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ffe-ambre); }
@media (max-width: 900px) { .ffe-avis__grille { grid-template-columns: 1fr 1fr; } .ffe-avis__tete { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ffe-avis__grille { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.ffe-contact { background: var(--ffe-fond); }
.ffe-contact__grille { gap: clamp(32px, 6vw, 88px) !important; }
.ffe-contact__infos h2 { margin: 0 0 18px; }
.ffe-contact__form { background: #fff; border-radius: var(--ffe-radius); padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 24px 60px rgba(31, 47, 58, .09); border-top: 5px solid var(--ffe-jaune); }

.ffe-coord { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.ffe-coord__item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.ffe-coord__item > .mm-icon { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--ffe-bleu); color: var(--ffe-jaune); }
.ffe-coord__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ffe-ambre); }
.ffe-coord a { color: var(--ffe-bleu); font-weight: 600; text-decoration: none; }
.ffe-coord a:hover { color: var(--ffe-ambre); text-decoration: underline; }
.ffe-coord__item--tel a { font-family: var(--ffe-titre); font-stretch: var(--ffe-large); font-weight: 800; font-size: 26px; letter-spacing: .01em; }
.ffe-coord__more { font-size: 14.5px; }

/* Formulaire */
.ffe-form { display: flex; flex-wrap: wrap; gap: 0 20px; }
.ffe-field { flex: 1 1 100%; margin: 0 0 18px; }
.ffe-field--half { flex: 1 1 calc(50% - 10px); min-width: 220px; }
.ffe-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ffe-bleu); }
.ffe-field__opt { font-weight: 400; color: var(--ffe-gris); }
.ffe-field input[type="text"], .ffe-field input[type="email"], .ffe-field input[type="tel"], .ffe-field select, .ffe-field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ffe-texte); background: var(--ffe-fond);
	border: 1.5px solid #C6CFD5; border-radius: 3px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.ffe-field textarea { resize: vertical; min-height: 130px; }
.ffe-field input:focus, .ffe-field select:focus, .ffe-field textarea:focus { outline: none; background: #fff; border-color: var(--ffe-bleu); box-shadow: 0 0 0 3px rgba(237, 163, 0, .35); }
.ffe-field select.is-flash { animation: ffe-flash 1s ease; }
@keyframes ffe-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(237, 163, 0, 0); } 30% { box-shadow: 0 0 0 4px rgba(237, 163, 0, .55); } }
.ffe-field--check { display: flex; gap: 12px; align-items: flex-start; }
.ffe-field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ffe-bleu); flex: none; }
.ffe-field--check label { font-weight: 400; font-size: 15px; margin: 0; }
.ffe-form__submit { flex: 1 1 100%; margin: 6px 0 0; }
.ffe-form__submit .ffe-btn .mm-icon { width: 12px; height: 18px; }
.ffe-form__note { flex: 1 1 100%; margin: 14px 0 0; font-size: 14px; color: var(--ffe-gris); }
.ffe-form__note a { color: var(--ffe-bleu); font-weight: 700; white-space: nowrap; }
.ffe-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ffe-notice { padding: 16px 20px; border-radius: 3px; margin-bottom: 22px; font-size: 16px; }
.ffe-notice ul { margin: 0; padding-left: 18px; }
.ffe-notice--ok { background: #FFF4D6; border-left: 4px solid var(--ffe-jaune); }
.ffe-notice--erreur { background: #FBE7E3; border-left: 4px solid #B5382B; }

/* ---------- En-tête des pages intérieures (réalisations, mentions) ---------- */
.ffe-page-head { position: relative; overflow: hidden; background: var(--ffe-plan), var(--ffe-bleu); color: var(--ffe-sur-fonce); padding: clamp(64px, 9vw, 120px) var(--ffe-pad) clamp(48px, 6vw, 80px); }
.ffe-page-head > *, .ffe-page-head > .ffe-wrap > * { max-width: var(--ffe-wrap); margin-inline: auto; position: relative; z-index: 1; }
.ffe-page-head > .ffe-wrap { padding-inline: 0; max-width: var(--ffe-wrap); }
.ffe-page-head > .ffe-wrap > * { margin-left: 0; }
.ffe-page-head .ffe-surtitre { color: var(--ffe-jaune); }
.ffe-page-head h1 { color: #fff; font-size: clamp(42px, 6.4vw, 88px); line-height: .98; margin-top: 0; margin-bottom: 22px; }
.ffe-page-head > h1 { margin-left: auto; margin-right: auto; max-width: var(--ffe-wrap); }
.ffe-page-head .ffe-chapeau { margin-bottom: 0; color: #DCE3E8; max-width: 44em; }
.ffe-page-head::after {
	content: ""; position: absolute; right: max(-80px, calc((100% - var(--ffe-wrap)) / 2 - 120px)); bottom: -18%; width: min(420px, 46vw); aspect-ratio: 1188 / 1000;
	background: url("../img/icone-2f.svg") center / contain no-repeat; opacity: .08; pointer-events: none; filter: grayscale(1) brightness(3);
}
.ffe-page-head--court h1 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 0; }

/* ---------- Bandeau devis ---------- */
.ffe-bandeau { background: var(--ffe-jaune); color: var(--ffe-bleu); padding: clamp(48px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.ffe-bandeau::before {
	content: ""; position: absolute; right: 4%; top: 50%; width: 120px; height: 318px; transform: translateY(-50%) rotate(8deg); background: rgba(31, 47, 58, .08);
	-webkit-mask: var(--ffe-eclair) center / contain no-repeat; mask: var(--ffe-eclair) center / contain no-repeat; pointer-events: none;
}
.ffe-bandeau__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; position: relative; }
.ffe-bandeau .ffe-surtitre { color: var(--ffe-bleu); }
.ffe-bandeau .ffe-surtitre::before { background: var(--ffe-bleu); }
.ffe-bandeau__titre { color: var(--ffe-bleu); font-size: clamp(32px, 4vw, 52px); margin: 0 0 10px; }
.ffe-bandeau__titre::after { background: var(--ffe-bleu) !important; }
.ffe-bandeau p { margin: 0; }
.ffe-bandeau__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ffe-bandeau .ffe-btn { background: var(--ffe-bleu); border-color: var(--ffe-bleu); color: #fff; }
.ffe-bandeau .ffe-btn:hover { background: #fff; border-color: #fff; color: var(--ffe-bleu); }
.ffe-bandeau .ffe-btn--contour { background: transparent; color: var(--ffe-bleu); border-color: var(--ffe-bleu); }
.ffe-bandeau .ffe-btn--contour:hover { background: var(--ffe-bleu); color: #fff; }

/* Pages simples (mentions légales…) */
.ffe-texte-legal { padding: clamp(40px, 5vw, 64px) var(--ffe-pad) clamp(64px, 8vw, 104px); }
.ffe-texte-legal h2 { font-size: 26px; margin: 1.8em 0 .5em; }
.ffe-texte-legal h2:first-child { margin-top: 0; }
.mm-page-header { padding-top: clamp(48px, 7vw, 96px); }
.mm-content:not(.mm-content--full) h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.8em; }
.navigation.pagination .page-numbers { border-radius: 3px; font-weight: 700; }
.navigation.pagination .page-numbers.current { background: var(--ffe-bleu); color: #fff; }

/* ---------- Pied de page ---------- */
.ffe-footer { background: var(--ffe-nuit); color: #B8C4CC; position: relative; padding-top: clamp(56px, 7vw, 88px); border-top: 5px solid var(--ffe-jaune); }
.ffe-footer a { color: inherit; }
.ffe-footer a:hover { color: #fff; }
.ffe-footer__main { max-width: calc(var(--ffe-wrap) + 2 * var(--ffe-pad)); margin-inline: auto; padding: 0 var(--ffe-pad) clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ffe-footer .ffe-logo__img { height: auto; width: 230px; }
.ffe-footer .ffe-logo__courant { width: 100%; }
.ffe-footer__lead { margin: 22px 0 0; font-size: 15.5px; max-width: 28em; }
.ffe-footer__title { font-size: 17px; font-stretch: var(--ffe-large); color: var(--ffe-jaune); margin: 6px 0 16px; letter-spacing: .02em; text-transform: uppercase; }
.ffe-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15.5px; }
.ffe-footer__list address { font-style: normal; }
.ffe-footer__list a { text-decoration: none; }
.ffe-footer__list a:hover { text-decoration: underline; }
.ffe-footer__phone a { font-family: var(--ffe-titre); font-stretch: var(--ffe-large); font-weight: 800; font-size: 24px; color: #fff; }
.ffe-footer__more { margin: 18px 0 0; font-size: 15.5px; font-weight: 700; }
.ffe-footer .mm-social { margin: 0; }
.ffe-footer .mm-social a { width: 42px; height: 42px; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .25s, color .25s; }
.ffe-footer .mm-social a:hover { background: var(--ffe-jaune); color: var(--ffe-bleu); }
.ffe-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px var(--ffe-pad); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font-size: 14px; color: #8D9AA4; }
.ffe-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .ffe-footer__main { grid-template-columns: 1fr 1fr; } .ffe-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ffe-footer__main { grid-template-columns: 1fr; } }

/* ---------- Divers ---------- */
.wp-block-separator { border: 0; border-top: 1px solid var(--ffe-ligne); }
.wp-lightbox-overlay .scrim { background-color: rgba(22, 34, 42, .95) !important; }
.mm-content--full .ffe-section .wp-block-columns { margin-bottom: 0; }

/* ---------- Mouvements ----------
 * Haut de l'accueil : le filet jaune du double F s'allume comme un néon (une fois), puis « respire » doucement.
 * Au défilement : textes, cartes et images apparaissent en fondu et en montant légèrement (classes posées par site.js).
 * Les chiffres défilent jusqu'à leur valeur. Rien de tout cela si le visiteur a réduit les animations.
 */
@media (prefers-reduced-motion: no-preference) {
	.ffe-reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--ffe-delay, 0s); }
	.ffe-reveal.is-in { opacity: 1; transform: none; }
	.ffe-js .ffe-hero .is-style-surtitre,
	.ffe-js .ffe-hero__titre,
	.ffe-js .ffe-hero__chapeau,
	.ffe-js .ffe-hero__actions,
	.ffe-js .ffe-hero__atouts,
	.ffe-js .ffe-page-head h1,
	.ffe-js .ffe-page-head .ffe-chapeau { animation: ffe-rise 1s cubic-bezier(.22, 1, .36, 1) both; }
	.ffe-js .ffe-hero__titre, .ffe-js .ffe-page-head h1 { animation-delay: .08s; }
	.ffe-js .ffe-hero__chapeau, .ffe-js .ffe-page-head .ffe-chapeau { animation-delay: .2s; }
	.ffe-js .ffe-hero__actions { animation-delay: .32s; }
	.ffe-js .ffe-hero__atouts { animation-delay: .44s; }

	.ffe-js .ffe-hero .ffe-icone path:first-child { animation: ffe-pose 1.2s cubic-bezier(.22, 1, .36, 1) .1s both; }
	.ffe-js .ffe-hero .ffe-icone path:last-child { animation: ffe-neon 1.6s linear .7s both, ffe-respire 5s ease-in-out 2.6s infinite; }
}
@keyframes ffe-rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes ffe-pose { from { opacity: 0; transform: translate3d(24px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes ffe-neon {
	0% { opacity: 0; }
	8% { opacity: .9; }
	12% { opacity: .1; }
	20% { opacity: .7; }
	24% { opacity: .15; }
	40% { opacity: 1; }
	46% { opacity: .5; }
	52%, 100% { opacity: 1; }
}
@keyframes ffe-respire {
	0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 194, 51, .55)) drop-shadow(0 0 22px rgba(237, 163, 0, .35)); }
	50% { filter: drop-shadow(0 0 3px rgba(255, 194, 51, .4)) drop-shadow(0 0 12px rgba(237, 163, 0, .18)); }
}
@media (prefers-reduced-motion: reduce) {
	.mm-nav__menu, .mm-nav__menu > li { transition: none !important; }
}
@media print { .ffe-reveal { opacity: 1 !important; transform: none !important; } .ffe-header, .ffe-footer { display: none; } }
