/* ==========================================================================
   Batifranc FSE : styles du thème
   Tokens : voir theme.json (variables --wp--preset--*).
   ========================================================================== */

:root {
	--bf-ink: var(--wp--preset--color--ink, #0C2747);
	--bf-navy: var(--wp--preset--color--navy, #0A2247);
	--bf-blue: var(--wp--preset--color--blue, #1E6FD0);
	--bf-bright: var(--wp--preset--color--blue-bright, #3DA1FF);
	--bf-orange: var(--wp--preset--color--orange, #ED6A2C);
	--bf-cream: var(--wp--preset--color--cream, #F4F1EA);
	--bf-muted: var(--wp--preset--color--muted, #5A6A7E);
	--bf-line: var(--wp--preset--color--line, #E8E3D8);
	--bf-display: var(--wp--preset--font-family--display, 'Onest', sans-serif);
	--bf-mono: var(--wp--preset--font-family--mono, 'IBM Plex Mono', monospace);
	--bf-radius-img: 10px;
	--bf-max: 1500px;
	--bf-gut: clamp(20px, 3vw, 40px);
	--bf-shadow-card: 0 30px 60px -44px rgba(12, 39, 71, .35);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Le conteneur racine du site ne doit pas ajouter d'espace entre l'en-tête, le contenu et le pied de page */
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks { padding: 0; }

/* ------------------------------------------------------------------ En-tête */
.bf-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .25s ease, box-shadow .25s ease; }
.admin-bar .bf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bf-header { top: 46px; } }
.bf-header.is-scrolled, .bf-nav-open .bf-header { background: rgba(8, 27, 58, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.bf-header__inner { max-width: var(--bf-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px var(--bf-gut); transition: padding .25s ease; }
.bf-header.is-scrolled .bf-header__inner { padding-block: 12px; }
.bf-header.is-scrolled .bf-logo img { height: 48px; }
@media (max-width: 760px) { .bf-logo img { height: 46px; } .bf-header.is-scrolled .bf-logo img { height: 40px; } }
.bf-logo { display: block; flex: none; line-height: 0; }
.bf-logo img { height: 58px; width: auto; transition: height .25s ease; filter: brightness(0) invert(1); }

.bf-nav { flex: 1; display: flex; justify-content: center; }
.bf-menu, .bf-menu ul { list-style: none; margin: 0; padding: 0; }
.bf-menu { display: flex; align-items: center; gap: 30px; }
.bf-menu > li { position: relative; }
.bf-menu a { display: block; color: rgba(255, 255, 255, .86); font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s; white-space: nowrap; }
.bf-menu a:hover, .bf-menu a:focus-visible { color: #fff; text-decoration: none; }
.bf-menu > li.current-menu-item > a, .bf-menu > li.current-menu-ancestor > a, .bf-menu > li.current-page-ancestor > a { color: #fff; border-bottom-color: var(--bf-bright); }
.bf-menu > li.menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }

/* Sous-menus (bureau) */
.bf-nav .sub-menu { position: absolute; top: 100%; left: -18px; min-width: 270px; background: #0C2A5A; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.bf-nav li:hover > .sub-menu, .bf-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bf-nav .sub-menu a { padding: 10px 14px; border: 0; border-radius: 9px; font-weight: 500; }
.bf-nav .sub-menu a:hover, .bf-nav .sub-menu .current-menu-item > a { background: rgba(255, 255, 255, .08); color: #fff; }

.bf-header__actions { display: flex; align-items: center; gap: 22px; flex: none; }
.bf-header__tel { color: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 600; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.bf-header__tel:hover { color: #fff; text-decoration: none; }
.bf-pill-btn { display: inline-block; background: var(--bf-blue); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 22px; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; }
.bf-pill-btn:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(30, 111, 208, .7); }

/* Burger + tiroir mobile */
.bf-burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.bf-burger__bar { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.bf-nav-open .bf-burger__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.bf-nav-open .bf-burger__bar:nth-child(3) { opacity: 0; }
.bf-nav-open .bf-burger__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
.bf-drawer { display: none; }

@media (max-width: 1100px) {
	.bf-nav, .bf-header__actions { display: none; }
	.bf-burger { display: flex; }
	.bf-header__inner { padding-block: 16px; }
	/* backdrop-filter créerait un bloc conteneur pour le tiroir en position fixed : on le retire en mobile */
	.bf-header.is-scrolled, .bf-nav-open .bf-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(8, 27, 58, .97); }
	.bf-nav-open .bf-header { background: transparent; box-shadow: none; }
	.bf-drawer { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: fixed; inset: 0; padding: 96px var(--bf-gut) 32px; background: linear-gradient(168deg, #091F42 0%, #0C2A5A 60%, #0E3669 100%); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; z-index: -1; }
	.bf-nav-open .bf-drawer { opacity: 1; visibility: visible; transform: none; }
	.bf-nav-open { overflow: hidden; }
	.bf-drawer .bf-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.bf-drawer .bf-menu > li { border-top: 1px solid rgba(255, 255, 255, .1); }
	.bf-drawer .bf-menu > li > a { font-family: var(--bf-display); font-weight: 600; font-size: 26px; letter-spacing: -.02em; color: #fff; padding: 16px 0 10px; border: 0; }
	.bf-drawer .bf-menu > li.menu-item-has-children > a::after { display: none; }
	.bf-drawer .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 14px; }
	.bf-drawer .sub-menu a { font-size: 16px; color: #BBD3F0; padding: 7px 0 7px 14px; border-left: 2px solid rgba(255, 255, 255, .14); border-radius: 0; }
	.bf-drawer .sub-menu a:hover { background: transparent; color: #fff; }
	.bf-drawer__foot { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
	.bf-drawer__foot .bf-pill-btn { padding: 15px 28px; font-size: 16px; }
	.bf-drawer__foot .bf-header__tel { font-size: 18px; }
}

/* ------------------------------------------------------------------ Pied de page */
.bf-nb { white-space: nowrap; }
.bf-footer { background: #081B3A; color: #fff; }
.bf-footer__grid { max-width: var(--bf-max); margin: 0 auto; padding: 64px var(--bf-gut) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.bf-footer__brand img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.bf-footer__brand p { margin: 0; font-size: 13.5px; line-height: 1.65; color: #9FB3CC; max-width: 260px; }
.bf-footer .bf-footer__social { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-size: 13.5px; font-weight: 600; color: #fff; transition: background .2s, border-color .2s; }
.bf-footer .bf-footer__social:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.bf-footer .bf-footer__social:focus-visible { outline: 3px solid rgba(61, 161, 255, .6); outline-offset: 2px; }
.bf-footer__title { margin: 0 0 14px; font-family: var(--bf-display); font-weight: 700; font-size: 14px; color: #fff; }
.bf-footer address { font-style: normal; font-size: 13.5px; line-height: 1.85; color: #9FB3CC; }
.bf-footer a { color: #9FB3CC; text-decoration: none; transition: color .2s; }
.bf-footer a:hover { color: #fff; text-decoration: none; }
.bf-footer__links { list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.95; }
.bf-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.bf-footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px max(var(--bf-gut), calc((100% - var(--bf-max)) / 2 + var(--bf-gut))); font-size: 12.5px; color: #7E92AC; }
.bf-footer__bar a { color: #7E92AC; }
@media (max-width: 900px) {
	.bf-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 48px; }
	.bf-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .bf-footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Éléments communs */
.bf-section { padding-inline: var(--bf-gut); }
.bf-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-blue); }
.bf-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.bf-eyebrow--light { color: var(--bf-bright); }
.bf-pill { display: inline-flex; align-items: center; gap: 9px; margin: 0; background: #fff; border: 1px solid var(--bf-line); border-radius: 999px; padding: 8px 17px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-blue); }
.bf-pill--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bf-orange); }
.bf-pill--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #BBD3F0; }
.bf-accent { color: var(--bf-blue); }
.bf-accent-light { color: var(--bf-bright); }

/* Boutons (bloc Bouton, classe sur le bouton) */
.wp-block-button[class*='bf-btn--'] .wp-block-button__link { text-decoration: none; }
.wp-block-button.bf-btn--primary .wp-block-button__link { background: var(--bf-blue); color: #fff; font-size: 16px; font-weight: 600; padding: 18px 36px; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease; }
.wp-block-button.bf-btn--primary .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -14px rgba(30, 111, 208, .65); }
.wp-block-button.bf-btn--ghost-light .wp-block-button__link { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 18px 30px; border-radius: 999px; transition: background .2s; }
.wp-block-button.bf-btn--ghost-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .08); }
.wp-block-button.bf-btn--ghost-dark .wp-block-button__link { background: transparent; color: var(--bf-ink); border: 1px solid rgba(12, 39, 71, .2); font-size: 16px; font-weight: 600; padding: 18px 30px; border-radius: 999px; transition: background .2s; }
.wp-block-button.bf-btn--ghost-dark .wp-block-button__link:hover { background: rgba(12, 39, 71, .04); }
.bf-link { margin: 28px 0 0; }
.bf-link a { display: inline-flex; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--bf-ink); text-decoration: none; border-bottom: 2px solid var(--bf-blue); padding-bottom: 4px; transition: opacity .2s; }
.bf-link a:hover { opacity: .6; text-decoration: none; }
.bf-link--orange a { border-bottom-color: var(--bf-orange); }

/* Grilles utilitaires */
.bf-split { display: grid; gap: 80px; align-items: start; }
.bf-split > * { margin: 0; }

h1 em, h2 em, h3 em { font-style: normal; color: var(--bf-blue); }
.bf-hero h1 em, .bf-navy em, .bf-pagehero em, .bf-band em { color: var(--bf-bright); }

/* ------------------------------------------------------------------ Héros d'accueil (variante 4 « Architecture ») */
.bf-hero { position: relative; min-height: 920px; overflow: hidden; background: radial-gradient(ellipse at 68% 42%, #133E76 0%, #0A1E3E 48%, #061328 100%); color: #fff; }
.bf-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-repeat: no-repeat; background-size: 1px 100%; background-image: linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)), linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)), linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)), linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)); background-position: 9% 0, 36% 0, 63% 0, 90% 0; }
.bf-hero__media { position: absolute; right: 0; top: 96px; width: 66%; height: 660px; margin: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(0deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(0deg, transparent 0%, #000 30%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.bf-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.75) brightness(.85); border-radius: 0; }
.bf-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 19, 40, 0) 55%, #061328 100%); }
.bf-hero__inner { position: relative; z-index: 3; max-width: var(--bf-max); margin: 0 auto; min-height: 920px; padding: 230px var(--bf-gut) 0; }
.bf-hero__badge { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #9FB6D2; }
.bf-hero__badge strong { font-weight: 600; color: var(--bf-orange); }
.bf-hero h1 { margin: 22px 0 0; max-width: 860px; font-family: var(--bf-display); font-weight: 600; font-size: clamp(40px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -.025em; text-transform: uppercase; color: #fff; }
.bf-hero h1 em { font-style: normal; color: var(--bf-bright); }
.bf-hero__sub { margin: 26px 0 0; max-width: 480px; font-size: 17.5px; line-height: 1.65; color: #AFC4DF; }
.bf-hero .wp-block-buttons { display: flex; flex-wrap: wrap; margin-top: 40px; }
.bf-hero__hots { margin: 0; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.bf-hero__hot { position: absolute; display: flex; align-items: center; gap: 14px; }
.bf-hero__plus { flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(237, 106, 44, .9); box-shadow: 0 0 0 8px rgba(237, 106, 44, .22); color: #fff; font-size: 22px; line-height: 42px; text-align: center; }
.bf-hero__hot-label { font-size: 13px; font-weight: 600; color: #fff; background: rgba(6, 19, 40, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.bf-hero__hot { right: 10%; top: 300px; }
.bf-hero__tiles { position: absolute; z-index: 5; left: 9%; width: 81%; bottom: 0; height: 178px; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(180deg, rgba(6, 19, 40, .35), rgba(6, 19, 40, .8)); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bf-hero__tiles > * { margin: 0; }
.bf-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px clamp(18px, 2vw, 32px); transition: background .2s ease, box-shadow .2s ease; }
.bf-tile + .bf-tile { border-left: 1px solid rgba(255, 255, 255, .12); }
.bf-tile > *, .bf-tile__body > * { margin: 0; }
.bf-tile::after { content: "⟶"; position: absolute; top: 24px; right: clamp(18px, 2vw, 32px); font-size: 20px; line-height: 1; color: #fff; transition: transform .2s ease; }
.bf-tile:hover { background: rgba(255, 255, 255, .05); box-shadow: inset 0 3px 0 var(--bf-bright); }
.bf-tile:hover::after { transform: translateX(4px); }
.bf-tile--orange:hover { box-shadow: inset 0 3px 0 var(--bf-orange); }
.bf-tile__num { font-family: var(--bf-mono); font-size: 13px; line-height: 1.6; color: var(--bf-bright); }
.bf-tile--orange .bf-tile__num { color: var(--bf-orange); }
.bf-tile__title { font-family: var(--bf-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.bf-tile__title a { color: inherit; text-decoration: none; }
.bf-tile__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.bf-tile__title a:focus-visible { outline: 2px solid var(--bf-bright); outline-offset: -4px; }
.bf-tile__text { margin-top: 8px !important; font-size: 15px; line-height: 1.4; color: #AFC4DF; }
@media (max-width: 1100px) {
	.bf-hero__hots { display: none; }
	.bf-hero__media { width: 100%; top: 0; height: 56%; opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
}
@media (max-width: 760px) {
	.bf-hero, .bf-hero__inner { min-height: 0; }
	.bf-hero__inner { padding-top: 130px; }
	.bf-hero__sub { font-size: 16px; }
	.bf-hero__inner { padding-bottom: 44px; }
	.bf-hero__tiles { position: relative; left: auto; bottom: auto; width: auto; height: auto; grid-template-columns: 1fr; }
	.bf-tile { min-height: 120px; padding: 22px var(--bf-gut); gap: 18px; }
	.bf-tile + .bf-tile { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
	.bf-tile::after { right: var(--bf-gut); top: 20px; }
	.bf-tile__title { font-size: 28px; }
}

/* ------------------------------------------------------------------ Démarche */
.bf-demarche { background: linear-gradient(104deg, #EDF2F9 0%, #F4F1EA 46%, #FBEFE7 100%); }
.bf-demarche .bf-split { max-width: var(--bf-max); margin: 0 auto; padding: 96px var(--bf-gut); grid-template-columns: .9fr 1.1fr; }
.bf-demarche h2 { margin: 0; letter-spacing: -.04em; }
.bf-demarche .bf-lead { margin: 8px 0 0; max-width: 620px; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; font-weight: 500; letter-spacing: -.015em; color: var(--bf-ink); }
.bf-demarche .bf-text { margin: 24px 0 0; max-width: 600px; font-size: 19px; line-height: 1.62; color: var(--bf-muted); }
.bf-demarche .bf-link { margin-top: 34px; }

/* ------------------------------------------------------------------ Solutions */
.bf-solutions { max-width: var(--bf-max); margin: 0 auto; padding: 60px var(--bf-gut) 30px; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 52px 0; border-top: 1px solid var(--bf-line); }
.bf-row > * { margin: 0; }
.bf-row--rev .bf-row__media { order: 2; }
.bf-row__media { position: relative; height: 430px; border-radius: var(--bf-radius-img); overflow: hidden; box-shadow: 0 34px 70px -40px rgba(12, 39, 71, .45); }
.bf-row__media figure { margin: 0; height: 100%; }
.bf-row__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bf-row__tag { position: absolute; top: 18px; left: 18px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bf-blue); background: #fff; padding: 7px 13px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); }
.bf-row__head { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.bf-row__head > * { margin: 0; }
.bf-num { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: var(--bf-blue); color: #fff; font-family: var(--bf-display); font-weight: 600; font-size: 15px; }
.bf-num--orange { background: var(--bf-orange); }
.bf-kicker { font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--bf-blue); }
.bf-kicker--orange { color: var(--bf-orange); }
.bf-row h3 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.06; letter-spacing: -.035em; }
.bf-row__text { margin: 18px 0 0; max-width: 470px; font-size: 17px; line-height: 1.62; color: var(--bf-muted); }

/* ------------------------------------------------------------------ Chiffres */
.bf-stats { max-width: var(--bf-max); margin: 0 auto; padding: 96px var(--bf-gut) 20px; }
.bf-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--bf-line); }
.bf-stats__grid > * { margin: 0; }
.bf-stat { padding: 52px 48px 8px; border-left: 1px solid var(--bf-line); }
.bf-stat:first-child { padding-left: 0; border-left: 0; }
.bf-stat:last-child { padding-right: 0; }
.bf-stat > * { margin: 0; }
.bf-stat__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bf-navy); display: flex; align-items: center; justify-content: center; }
.bf-stat__icon i { display: grid; gap: 3px; transform: skewX(-10deg); }
.bf-stat__icon i.c2 { grid-template-columns: 1fr 1fr; }
.bf-stat__icon i.c3 { grid-template-columns: 1fr 1fr 1fr; }
.bf-stat__icon i.c2 b { width: 9px; height: 9px; }
.bf-stat__icon i.c3 b { width: 7px; height: 7px; }
.bf-stat__icon i b { display: block; background: #fff; border-radius: 1px; }
.bf-stat__icon i b.k { background: var(--bf-bright); }
.bf-stat__icon i b.o { background: var(--bf-orange); }
.bf-stat__n { margin-top: 30px !important; font-family: var(--bf-display); font-weight: 700; font-size: clamp(54px, 5.4vw, 78px); line-height: 1; letter-spacing: -.04em; color: var(--bf-ink); }
.bf-stat__n .bf-suf { color: var(--bf-blue); }
.bf-stat__n .bf-suf--unit { color: inherit; font-size: .56em; letter-spacing: -.02em; }
.bf-stat__label { margin-top: 14px !important; font-family: var(--bf-display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.bf-stat__text { margin-top: 10px !important; max-width: 300px; font-size: 15.5px; line-height: 1.6; color: var(--bf-muted); }

/* ------------------------------------------------------------------ Bande marine (services clés) */
.bf-navy { margin-top: 96px; position: relative; overflow: hidden; background: linear-gradient(168deg, #091F42 0%, #0C2A5A 60%, #0E3669 100%); color: #fff; }
.bf-navy::before { content: ""; position: absolute; top: -180px; right: 10%; width: 700px; height: 520px; background: radial-gradient(ellipse at center, rgba(61, 161, 255, .28), rgba(61, 161, 255, 0) 64%); pointer-events: none; }
.bf-navy__inner { position: relative; max-width: var(--bf-max); margin: 0 auto; padding: 92px var(--bf-gut) 96px; }
.bf-navy__inner > * { margin-top: 0; }
.bf-navy__head { text-align: center; max-width: 680px; margin: 0 auto 58px; }
.bf-navy__head > * { margin: 0; }
.bf-navy__head h2 { margin-top: 20px; color: #fff; }
.bf-navy__head p:last-child { margin-top: 18px; font-size: 18.5px; line-height: 1.6; color: #AFC4DF; }
.bf-phases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bf-phases > * { margin: 0; }
.bf-phase { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 36px 34px; }
.bf-phase__head { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.bf-phase__head > * { margin: 0; }
.bf-phase__num { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bf-bright); color: var(--bf-navy); font-family: var(--bf-display); font-weight: 800; font-size: 15px; }
.bf-phase--2 .bf-phase__num { background: var(--bf-orange); color: #fff; }
.bf-phase__title { font-family: var(--bf-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; color: #fff; }
ul.bf-checks { list-style: none; margin: 0; padding: 0; }
ul.bf-checks li { position: relative; display: block; margin: 0; padding: 13px 0 13px 32px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 15px; line-height: 1.5; color: #D4E2F2; }
ul.bf-checks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--bf-bright); background: radial-gradient(circle, var(--bf-bright) 0 3px, transparent 3.5px); }
.bf-phase--2 ul.bf-checks li::before { border-color: var(--bf-orange); background: radial-gradient(circle, var(--bf-orange) 0 3px, transparent 3.5px); }

/* ------------------------------------------------------------------ Bandeau image « Accompagnement » */
.bf-band { position: relative; margin-top: 104px; height: 560px; overflow: hidden; background: #071B3A; }
.bf-band__img { position: absolute; inset: 0; margin: 0; }
.bf-band__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 36%; border-radius: 0; }
.bf-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(7, 27, 58, .95) 0%, rgba(7, 27, 58, .74) 40%, rgba(7, 27, 58, .1) 84%); }
.bf-band__inner { position: relative; z-index: 2; max-width: var(--bf-max); height: 100%; margin: 0 auto; padding: 0 var(--bf-gut); display: flex; flex-direction: column; justify-content: center; }
.bf-band__inner > * { margin-top: 0; margin-bottom: 0; max-width: 620px; }
.bf-band h3 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.04em; color: #fff; }
.bf-band__text { margin-top: 22px !important; max-width: 500px !important; font-size: 18px; line-height: 1.6; color: #CFDEEF; }

/* ------------------------------------------------------------------ Appel à l'action final */
.bf-cta { text-align: center; padding: 122px var(--bf-gut) 130px; }
.bf-cta > * { margin-left: auto; margin-right: auto; }
.bf-cta h2 { max-width: 900px; margin-top: 26px; margin-bottom: 0; font-size: clamp(40px, 5.2vw, 72px); line-height: 1; letter-spacing: -.045em; }
.bf-cta__text { max-width: 560px; margin-top: 24px; margin-bottom: 0; font-size: 18.5px; line-height: 1.6; color: var(--bf-muted); }
.bf-cta .wp-block-buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 40px; gap: 14px; }

/* ------------------------------------------------------------------ Pages intérieures */
.bf-pagehero { position: relative; overflow: hidden; background: linear-gradient(158deg, #091F42 0%, #0C2A5A 52%, #10417E 100%); color: #fff; padding: 170px var(--bf-gut) 90px; }
.bf-pagehero::before { content: ""; position: absolute; top: -260px; left: 58%; width: 1000px; height: 680px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(61, 161, 255, .40), rgba(61, 161, 255, 0) 62%); pointer-events: none; }
.bf-pagehero::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 120px); pointer-events: none; }
.bf-pagehero__inner { position: relative; z-index: 2; max-width: var(--bf-max); margin: 0 auto; }
.bf-pagehero__inner > * { margin-top: 0; margin-bottom: 0; }
.bf-pagehero .bf-pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #BBD3F0; }
.bf-pagehero h1, .bf-pagehero .wp-block-post-title, .bf-pagehero .wp-block-query-title { margin-top: 28px; max-width: 980px; font-size: clamp(40px, 5.4vw, 74px); line-height: 1.04; letter-spacing: -.04em; color: #fff; }
.bf-pagehero .wp-block-post-excerpt, .bf-pagehero .bf-pagehero__lead { margin-top: 26px; max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: #C5D6EC; }
.bf-pagehero .wp-block-post-excerpt p { margin: 0; }
.bf-pagehero .wp-block-post-excerpt__more-link { display: none; }

.bf-content { max-width: var(--bf-max); margin: 0 auto; padding: 80px var(--bf-gut) 110px; }
.bf-content > .wp-block-post-content > * { max-width: 100%; }
.bf-content > .wp-block-post-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
.bf-content > .wp-block-post-content.is-layout-constrained > :where(p, ul, ol, blockquote, .wp-block-quote) { max-width: 1120px; margin-right: auto !important; }
.bf-content .wp-block-post-content > .alignwide, .bf-content .wp-block-post-content > .alignfull { max-width: 100%; }
.bf-content p, .bf-content li { line-height: 1.7; }
.bf-content table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 14px; overflow: hidden; }
.bf-content th, .bf-content td { padding: 12px 16px; border-bottom: 1px solid var(--bf-line); text-align: left; }
.bf-content th { background: var(--bf-navy); color: #fff; font-weight: 600; }

/* Cartes (articles, annonces, équipe…) */
.bf-card { background: #fff; border-radius: 20px; box-shadow: var(--bf-shadow-card); overflow: hidden; padding: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.bf-card > * { margin-block: 0; padding-inline: 28px; }
.bf-card .wp-block-post-featured-image { padding: 0; margin-bottom: 10px; }
.bf-card .wp-block-post-featured-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.bf-card .wp-block-post-date { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-blue); }
.bf-card .wp-block-post-title { font-size: 22px; line-height: 1.2; }
.bf-card .wp-block-post-title a { color: var(--bf-ink); text-decoration: none; }
.bf-card .wp-block-post-excerpt { font-size: 15.5px; color: var(--bf-muted); }
.bf-card .wp-block-post-excerpt p { margin: 0; }
.wp-block-query-pagination { margin-top: 48px; gap: 8px; justify-content: center; font-weight: 600; }
.wp-block-query-pagination .page-numbers, .wp-block-query-pagination a { padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--bf-blue); color: #fff; }

/* ------------------------------------------------------------------ Responsive général */
@media (max-width: 1000px) {
	.bf-split, .bf-demarche .bf-split { grid-template-columns: 1fr; gap: 28px; padding-block: 64px; }
	.bf-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
	.bf-row--rev .bf-row__media { order: 0; }
	.bf-row__media { height: 320px; }
	.bf-stats__grid { grid-template-columns: 1fr; }
	.bf-stat, .bf-stat:first-child, .bf-stat:last-child { padding: 36px 0 12px; border-left: 0; border-top: 1px solid var(--bf-line); }
	.bf-stat:first-child { border-top: 0; }
	.bf-phases { grid-template-columns: 1fr; }
	.bf-navy__inner { padding-block: 64px; }
	.bf-band { height: 480px; margin-top: 72px; }
	.bf-cta { padding-block: 84px 88px; }
	.bf-pagehero { padding-top: 130px; padding-bottom: 64px; }
	.bf-content { padding-block: 56px 80px; }
}
@media (max-width: 560px) {
	.bf-phase { padding: 28px 22px; }
	.bf-cta .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.bf-cta .wp-block-button__link { display: block; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ------------------------------------------------------------------ Page équipe et autres pages intérieures du design */
.bf-pagehero--split .bf-pagehero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bf-pagehero--split .bf-pagehero__inner > * { margin: 0; }
.bf-pagehero--split h1 { margin-top: 28px; }
.bf-pagehero__text { margin: 20px 0 0 !important; max-width: 560px; font-size: 16.5px; line-height: 1.75; color: #9FB6D2; }
.bf-pagehero__text a { color: var(--bf-bright); font-weight: 600; }
.bf-pagehero--split .wp-block-buttons { display: flex; flex-wrap: wrap; margin-top: 36px; }
.bf-pagehero__photo { margin: 0; border-radius: var(--bf-radius-img); overflow: hidden; box-shadow: 0 44px 84px -36px rgba(0, 0, 0, .6); }
.bf-pagehero__photo img { width: 100%; height: 480px; object-fit: cover; object-position: center 30%; display: block; border-radius: 0; }
.bf-pagehero .bf-pill--dot::before { background: var(--bf-orange); }

.bf-sec { max-width: var(--bf-max); margin: 0 auto; padding: 104px var(--bf-gut) 0; }
.bf-sec__head { max-width: 700px; margin-bottom: 52px; }
.bf-sec__head > * { margin: 0; }
.bf-sec__head h2 { margin-top: 20px; }
.bf-sec__lead { margin-top: 18px !important; font-size: 18.5px; line-height: 1.6; color: var(--bf-muted); }
.bf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bf-grid-2 > * { margin: 0; }

.bf-person { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; padding: 34px; background: #fff; border-radius: 20px; box-shadow: var(--bf-shadow-card); }
.bf-person > * { margin: 0; }
.bf-person figure img { width: 100%; height: 270px; object-fit: cover; border-radius: var(--bf-radius-img); display: block; }
.bf-person h3 { margin: 0; font-size: 26px; line-height: 1.1; }
.bf-person p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--bf-muted); }
.bf-role { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bf-role__icon { display: flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--bf-blue); }
.bf-person--orange .bf-role__icon { background: var(--bf-orange); }
.bf-role__label { font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--bf-blue); }
.bf-person--orange .bf-role__label { color: var(--bf-orange); }

.bf-service { display: flex; flex-direction: column; padding: 36px 34px; background: #fff; border-radius: 20px; box-shadow: var(--bf-shadow-card); }
.bf-service > * { margin: 0; }
.bf-service__head { display: flex; align-items: center; gap: 12px; }
.bf-service__head > * { margin: 0; }
.bf-service__head h3 { font-size: 28px; line-height: 1.1; }
.bf-service__text { flex: 1; margin-top: 18px !important; font-size: 16px; line-height: 1.65; color: var(--bf-muted); }
.bf-members { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px !important; padding-top: 24px; border-top: 1px solid #EEF1F5; }
.bf-member { display: flex; align-items: center; gap: 12px; }
.bf-member > * { margin: 0; }
.bf-members > .bf-member { margin-block: 0; }
.bf-avatar { width: 60px; height: 60px; flex: none; }
.bf-avatar img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: #EEF1F5; display: block; }
.bf-member__name { font-size: 13.5px; font-weight: 600; white-space: nowrap; }

.bf-synergy { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-block: 92px; }
.bf-synergy > * { margin: 0; }
.bf-synergy h2 { margin: 0; font-size: clamp(30px, 3.7vw, 54px); color: #fff; letter-spacing: -.04em; }
.bf-synergy__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bf-synergy__cards > * { margin: 0; }
.bf-glass { padding: 30px 28px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; }
.bf-glass > * { margin: 0; }
.bf-glass__title { font-family: var(--bf-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: #fff; }
.bf-glass p:last-child { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: #AFC4DF; }

@media (max-width: 1000px) {
	.bf-pagehero--split .bf-pagehero__inner, .bf-synergy { grid-template-columns: 1fr; gap: 36px; }
	.bf-pagehero__photo img { height: 320px; }
	.bf-sec { padding-top: 72px; }
	.bf-grid-2 { grid-template-columns: 1fr; }
	.bf-synergy { padding-block: 64px; }
}
@media (max-width: 560px) {
	.bf-person { grid-template-columns: 1fr; padding: 24px; }
	.bf-person figure img { height: 300px; }
	.bf-service { padding: 28px 22px; }
	.bf-service__head h3 { font-size: 23px; }
	.bf-synergy__cards { grid-template-columns: 1fr; }
	.bf-members { gap: 16px; }
}

/* Icônes des cartes équipe (masques CSS, pas de SVG dans le contenu : survit au filtrage kses des rédacteurs) */
.bf-role__icon { position: relative; }
.bf-role__icon::after { content: ''; width: 19px; height: 19px; background: #fff; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.bf-ico--secretariat { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5V3.8A.8.8 0 019.8 3h4.4a.8.8 0 01.8.8V5M9 5h6M9 12h6M9 16h4%22/%3E%3C/svg%3E"); }
.bf-ico--megaphone { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 11v2.5a1 1 0 001 1h2l6 4V6l-6 4H4a1 1 0 00-1 1zM17 8.5a5 5 0 010 7M20 6a8.5 8.5 0 010 12%22/%3E%3C/svg%3E"); }
.bf-ico--growth { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 17l6-6 4 4 8-8M15 7h6v6%22/%3E%3C/svg%3E"); }
.bf-ico--hardhat { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 15a8 8 0 0116 0M3 15h18v3.5H3zM10 15V7.5a2 2 0 014 0V15%22/%3E%3C/svg%3E"); }
.bf-ico--leaf { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 20c0-8.5 6.5-14 16-14 0 10.5-6.5 15-13.5 14M4.5 20c2-4.5 5-7 9-8.5%22/%3E%3C/svg%3E"); }
.bf-ico--scales { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 4v16M8 20h8M6 8h12M8.5 8l-3 6h6zM15.5 8l3 6h-6z%22/%3E%3C/svg%3E"); }
.bf-ico--ledger { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 4.5h16v15H4zM8 8.5h8M8 13h3M8 16.5h3M14 12.5v5%22/%3E%3C/svg%3E"); }
.bf-ico--building { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 21h18M5 21V10l7-5 7 5v11M10 21v-6h4v6%22/%3E%3C/svg%3E"); }
.bf-ico--compass { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3a9 9 0 100 18 9 9 0 000-18zM15.6 8.4l-2.1 5.1-5.1 2.1 2.1-5.1z%22/%3E%3C/svg%3E"); }
.bf-sec .bf-grid-2 > .bf-service:last-child:nth-child(odd) { grid-column: 1 / -1; }
.bf-role__icon > * { display: none; }
.bf-role > * { margin: 0; }

/* ------------------------------------------------------------------ Page « Ils nous font confiance » */
.bf-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px !important; }
.bf-chips > * { margin: 0; }
.bf-chip a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s; }
.bf-chip a:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.bf-chip a span { color: var(--bf-bright); }
html { scroll-padding-top: 96px; }

.bf-sec--partners .bf-sec__head { max-width: 860px; }
.bf-sec__lead a { color: var(--bf-blue); font-weight: 600; }
.bf-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bf-partners > * { margin: 0; }
.bf-partner { display: flex; flex-direction: column; gap: 0; padding: 22px 22px 28px; background: #fff; border-radius: 20px; box-shadow: var(--bf-shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.bf-partner:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(12, 39, 71, .5); }
.bf-partner > * { margin: 0; }
.bf-partner__logos { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 0; margin-bottom: 18px !important; background: none; border: 0; }
.bf-partner__logos > * { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.bf-partner__logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 0; display: block; }
.bf-partner__logos--dark { background: var(--bf-ink); border-radius: var(--bf-radius-img); padding: 28px; box-sizing: border-box; }
.bf-partner__logos--multi { flex-direction: column; gap: 18px; aspect-ratio: auto; padding: 8px 0 4px; }
.bf-partner__logos--multi > * { height: auto; }
.bf-partner__logos--multi img { max-height: 84px; }
.bf-partner h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.bf-partner__text { flex: 1; margin-top: 12px !important; font-size: 14.5px; line-height: 1.65; color: var(--bf-muted); }
.bf-partner__link { margin-top: 20px !important; }
.bf-partner__link a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(30, 111, 208, .35); color: var(--bf-blue); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.bf-partner__link a::after { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-4M14 4h6v6M20 4 10 14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-4M14 4h6v6M20 4 10 14'/%3E%3C/svg%3E") center / contain no-repeat; }
.bf-partner__link a:hover { background: var(--bf-blue); border-color: var(--bf-blue); color: #fff; }
.bf-sec--partners + .bf-sec--partners { padding-top: 96px; }
.bf-sec--partners:last-of-type { padding-bottom: 20px; }

@media (max-width: 1280px) { .bf-partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .bf-partners { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 600px) {
	.bf-partners { grid-template-columns: 1fr; }
	.bf-partner { padding: 20px 20px 24px; }
	.bf-partner__logos:not(.bf-partner__logos--multi) { aspect-ratio: auto; height: 220px; }
	.bf-sec--partners + .bf-sec--partners { padding-top: 64px; }
}

/* ---------- Pages accompagnement : bâtir, financement, avantages ---------- */
.bf-pagehero--caps h1, .bf-pagehero--caps .wp-block-heading { text-transform: uppercase; font-size: clamp(42px, 5.8vw, 88px); line-height: 1; letter-spacing: -.03em; max-width: 1150px; text-wrap: balance; }
.bf-pagehero--caps .bf-pagehero__lead { max-width: 800px; }
.bf-pagehero--caps .bf-pagehero__inner { padding-block: 40px 14px; }

.bf-guide { max-width: var(--bf-max) !important; margin-left: auto !important; margin-right: auto !important; padding: 96px var(--bf-gut) 40px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 96px; align-items: start; }
.bf-guide > * { margin-block: 0 !important; margin-inline: 0 !important; max-width: none !important; }
.bf-guide__main { min-width: 0; }
.bf-fcards > *, .bf-checks > *, .bf-gstats > *, .bf-gsteps > *, .bf-split > *, .bf-toc__list > * { margin-block-start: 0; }
.bf-guide__main > * { margin-block-start: 0; }

/* Sommaire collant */
.bf-toc { position: sticky; top: 112px; }
.bf-toc > *, .bf-toc__item > * { margin-block: 0; }
.bf-toc__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bf-muted); }
.bf-toc__list { margin-top: 18px !important; border-top: 1px solid #E1DBCF; }
.bf-toc__item { border-bottom: 1px solid #E1DBCF; padding: 16px 0; }
.bf-toc__link a { display: grid; grid-template-columns: 30px 1fr; gap: 6px; font-size: 15px; line-height: 1.45; font-weight: 600; color: #7A8698; text-decoration: none; transition: color .15s ease; }
.bf-toc__n { font-family: var(--bf-display); color: #A9B2BF; transition: color .15s ease; }
.bf-toc__link a:hover, .bf-toc__sub a:hover { color: var(--bf-blue); }
.bf-toc__item.is-open .bf-toc__link a, .bf-toc__link.is-active a { color: var(--bf-ink); }
.bf-toc__item.is-open .bf-toc__n, .bf-toc__link.is-active .bf-toc__n { color: var(--bf-orange); }
.bf-toc__sub { margin: 10px 0 0 36px !important; }
.bf-toc__sub a { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; color: #7A8698; text-decoration: none; }
.bf-toc__sub a::before { content: ""; flex: none; width: 6px; height: 6px; background: #C9C1B1; transform: skewX(-18deg); }
.bf-toc__sub.is-active a { color: var(--bf-ink); }
.bf-toc__sub.is-active a::before { background: var(--bf-orange); }
.bf-toc__card { margin-top: 36px !important; background: var(--bf-ink); border-radius: 16px; padding: 26px 24px; color: #fff; }
.bf-toc__card > * { margin-block: 0; }
.bf-toc__card-title { font-family: var(--bf-display); font-weight: 600; font-size: 21px; line-height: 1.2; text-wrap: balance; }
.bf-toc__card .wp-block-buttons { margin-top: 18px; }
.bf-toc__card .wp-block-button, .bf-toc__card .wp-block-button__link { width: 100%; }
.bf-toc__card .wp-block-button.bf-btn--primary .wp-block-button__link { display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; font-size: 14.5px; box-sizing: border-box; }
.bf-toc__phones { margin-top: 18px !important; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #AFC4DF; }
.bf-toc__phone { display: flex; justify-content: space-between; margin: 0; }
.bf-toc__phone span:last-child { color: #fff; font-weight: 600; }

/* Sections numérotées */
.bf-gsec { margin-top: 88px; padding-top: 72px; border-top: 1px solid #E1DBCF; scroll-margin-top: 110px; }
.bf-gsec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bf-gsec > * { margin-block-start: 0; }
.bf-gnum { display: flex; align-items: center; gap: 14px; margin: 0; }
.bf-gnum__n { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bf-blue); color: #fff; font-family: var(--bf-display); font-weight: 600; font-size: 15px; }
.bf-gnum__n--orange { background: var(--bf-orange); }
.bf-gnum__line { width: 40px; height: 1px; background: #C9C1B1; }
.bf-gtitle { margin: 22px 0 0; max-width: 860px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }

/* Textes */
.bf-glead { margin: 0; max-width: 860px; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.5; font-weight: 500; letter-spacing: -.01em; color: var(--bf-ink); text-wrap: pretty; }
.bf-glead--md { margin-top: 30px; max-width: 820px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; }
.bf-gp { margin: 24px 0 0; max-width: 760px; font-size: 18px; line-height: 1.72; color: #3B4B60; text-wrap: pretty; }
.bf-gp--strong { margin-top: 36px; font-weight: 600; color: var(--bf-ink); }
.bf-gp--after-steps { margin-top: 48px; }
.bf-gp--after-steps + .bf-gp { margin-top: 18px; }
.bf-plus { position: relative; margin: 36px 0 0; padding-left: 44px; max-width: 780px; font-size: 19px; line-height: 1.65; color: #3B4B60; }
.bf-plus::before { content: "+"; position: absolute; left: 4px; top: 0; font-size: 26px; line-height: 1.3; font-weight: 500; color: var(--bf-orange); }
.bf-guide__main p a, .bf-glink { color: var(--bf-blue); font-weight: 600; border-bottom: 1.5px solid rgba(30, 111, 208, .35); text-decoration: none; }
.bf-guide__main p a:hover { color: var(--bf-ink); }

/* Photos */
.bf-gfig { margin: 56px 0 0; }
.bf-gfig img { display: block; width: 100%; object-fit: cover; border-radius: var(--bf-radius-img); }
.bf-gfig figcaption { margin-top: 12px; font-size: 13px; color: #7A8698; text-align: left; }
.bf-gfig--wide img { height: 460px; object-position: center 40%; box-shadow: 0 34px 70px -40px rgba(12, 39, 71, .45); }
.bf-gfig--side { margin: 0; }
.bf-gfig--side img { height: 360px; }
.bf-gfig img[src*="credit-bail.webp"] { height: 340px; object-position: center 64%; }
.bf-gfig img[src*="besancon-bureaux.webp"] { object-position: center 55%; }
.bf-gfig img[src*="accompagnement.webp"] { object-position: center 40%; }
.bf-gfig img[src*="participations.webp"] { height: 380px; object-position: center 55%; }
.bf-split { display: grid; gap: 48px; margin-top: 64px; align-items: center; }
.bf-split .bf-gp { margin: 0; max-width: none; }
.bf-split--text-first { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.bf-split--img-first { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.bf-gtitle + .bf-split { margin-top: 36px; align-items: start; }

/* Propositions « + » */
.bf-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.bf-check { display: grid; grid-template-columns: 28px 1fr; gap: 6px; margin: 0; padding: 24px 26px; background: #fff; border-radius: 14px; font-size: 17px; line-height: 1.5; font-weight: 500; color: var(--bf-ink); }
.bf-check::before { content: "+"; font-size: 20px; line-height: 1.2; color: var(--bf-orange); }
.bf-gquote { position: relative; overflow: hidden; margin: 80px 0 0; padding: 60px 64px 64px; border-radius: 18px; background: radial-gradient(ellipse at 85% 0%, #1B4C8E 0%, rgba(27, 76, 142, 0) 60%), #0C2747; font-family: var(--bf-display); font-weight: 500; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.28; letter-spacing: -.02em; color: #fff; text-wrap: pretty; }
.bf-gquote::before { content: ""; display: block; width: 64px; height: 4px; margin-bottom: 32px; background: var(--bf-orange); }
.bf-gquote strong { font-weight: 600; color: var(--bf-bright); }

/* Étapes */
.bf-gsteps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border: 1px solid #DDD6C8; background: #FBFAF7; }
.bf-gsteps::before, .bf-gstep:first-child::after, .bf-gstep:last-child::before, .bf-gstep:last-child::after { content: "+"; position: absolute; font-size: 16px; line-height: 1; color: #A79F90; }
.bf-gsteps::before { top: 0; left: 0; transform: translate(-50%, -50%); }
.bf-gstep { position: relative; padding: 32px 30px; }
.bf-gstep + .bf-gstep { border-left: 1px solid #DDD6C8; }
.bf-gstep:first-child::after { bottom: 0; left: 0; transform: translate(-50%, 50%); }
.bf-gstep:last-child::before { top: 0; right: 0; transform: translate(50%, -50%); }
.bf-gstep:last-child::after { bottom: 0; right: 0; transform: translate(50%, 50%); }
.bf-gstep > * { margin: 0; }
.bf-gstep__head { display: flex; align-items: center; justify-content: space-between; }
.bf-gstep__mark { width: 14px; height: 14px; transform: skewX(-18deg); background: var(--bf-ink); }
.bf-gstep__mark--blue { background: var(--bf-blue); }
.bf-gstep__mark--orange { background: var(--bf-orange); }
.bf-gstep__n { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-muted); }
.bf-gstep__title { margin-top: 26px !important; font-family: var(--bf-display); font-weight: 600; font-size: 22px; }
.bf-gstep__text { margin-top: 8px !important; font-size: 15.5px; line-height: 1.55; color: var(--bf-muted); }

/* Chiffres clés */
.bf-gstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid #E1DBCF; border-bottom: 1px solid #E1DBCF; }
.bf-gstat { padding: 30px 28px; }
.bf-gstat:first-child { padding-left: 0; }
.bf-gstat + .bf-gstat { border-left: 1px solid #E1DBCF; }
.bf-gstat > * { margin: 0; }
.bf-gstat__fig { font-family: var(--bf-display); font-weight: 700; font-size: clamp(40px, 4vw, 58px); line-height: 1; letter-spacing: -.04em; color: var(--bf-ink); }
.bf-gstat__u--blue { color: var(--bf-blue); }
.bf-gstat__u--orange { color: var(--bf-orange); }
.bf-gstat__text { margin-top: 12px !important; font-size: 15px; line-height: 1.5; color: var(--bf-muted); }
.bf-gstats + .bf-gp { margin-top: 44px; }

/* Cartes d'arguments */
.bf-fcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.bf-fcard { padding: 36px 34px; background: #fff; border-radius: 18px; scroll-margin-top: 110px; }
.bf-fcard > * { margin-block: 0; }
.bf-fcard--dark { background: var(--bf-ink); color: #fff; }
.bf-fcard__title { margin-top: 28px !important; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
.bf-fcard--dark .bf-fcard__title { color: #fff; }
.bf-fcard__text { margin-top: 14px !important; font-size: 16.5px; line-height: 1.68; color: #3B4B60; }
.bf-fcard__text + .bf-fcard__text { margin-top: 12px !important; }
.bf-fcard--dark .bf-fcard__text { color: #C9D7EA; }
.bf-fcard__list { margin-top: 12px !important; border-top: 1px solid #EDEAE3; }
.bf-fcard__li { display: grid; grid-template-columns: 24px 1fr; margin: 0; padding: 10px 0; border-bottom: 1px solid #EDEAE3; font-size: 16px; font-weight: 500; color: var(--bf-ink); }
.bf-fcard__li::before { content: "+"; color: var(--bf-orange); }
.bf-fcard__list + .bf-fcard__text { margin-top: 14px !important; }
.bf-fcard__big { margin-top: 24px !important; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-family: var(--bf-display); font-weight: 500; font-size: 22px; line-height: 1.35; color: #fff; }
.bf-fico { position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--bf-navy); }
.bf-fico--d { background: var(--bf-orange); }
.bf-fico::before { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 1px; transform: skewX(-10deg); }
.bf-fico--a::before, .bf-fico--c::before, .bf-fico--d::before { width: 9px; height: 9px; margin: -10.5px 0 0 -10.5px; }
.bf-fico--a::before { box-shadow: 12px 0 0 #fff, 0 12px 0 var(--bf-bright), 12px 12px 0 #fff; }
.bf-fico--c::before { background: var(--bf-bright); box-shadow: 12px 0 0 #fff, 0 12px 0 #fff, 12px 12px 0 var(--bf-bright); }
.bf-fico--d::before { box-shadow: 12px 0 0 var(--bf-navy), 0 12px 0 #fff, 12px 12px 0 #fff; }
.bf-fico--b::before { width: 7px; height: 7px; margin: -13.5px 0 0 -13.5px; box-shadow: 10px 0 0 var(--bf-bright), 20px 0 0 #fff, 0 10px 0 #fff, 10px 10px 0 #fff, 20px 10px 0 var(--bf-bright), 0 20px 0 var(--bf-bright), 10px 20px 0 #fff, 20px 20px 0 #fff; }

/* Bloc contact en majuscules */
.bf-cta--caps h2 { max-width: 900px; font-size: clamp(38px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.03em; text-transform: uppercase; }
.bf-cta--caps h2 em { color: var(--bf-blue); font-style: normal; }

@media (max-width: 1100px) {
	.bf-guide { grid-template-columns: 1fr; gap: 56px; padding-top: 56px; }
	.bf-toc { position: static; }
	.bf-toc__card { display: none; }
}
@media (max-width: 760px) {
	.bf-split--text-first, .bf-split--img-first, .bf-checks, .bf-fcards, .bf-gsteps, .bf-gstats { grid-template-columns: 1fr; }
	.bf-split--img-first .bf-gfig { order: -1; }
	.bf-split { gap: 28px; }
	.bf-gfig--wide img { height: 260px; }
	.bf-gfig--side img, .bf-gfig img[src*="credit-bail.webp"], .bf-gfig img[src*="participations.webp"] { height: 240px; }
	.bf-gsec { margin-top: 64px; padding-top: 48px; }
	.bf-gstep + .bf-gstep { border-left: 0; border-top: 1px solid #DDD6C8; }
	.bf-gstep:first-child::after { display: none; }
	.bf-gstat, .bf-gstat:first-child { padding: 24px 0; }
	.bf-gstat + .bf-gstat { border-left: 0; border-top: 1px solid #E1DBCF; }
	.bf-gquote { margin-top: 56px; padding: 40px 26px 44px; }
	.bf-gquote::before { margin-bottom: 24px; }
	.bf-fcard { padding: 28px 24px; }
}

/* ---------- Page « Notre histoire » ---------- */
.bf-glead--top { margin-top: 30px; }
.bf-hh3 { margin: 0; font-family: var(--bf-display); font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -.015em; }
.bf-hsh .bf-hh3, .bf-h25 .bf-hh3 { font-size: 22px; letter-spacing: -.01em; text-transform: uppercase; }
.bf-hh3--light { color: #fff; }
.bf-hh3--xl { margin-top: 24px; font-size: clamp(30px, 3vw, 40px); line-height: 1.06; letter-spacing: -.025em; text-transform: uppercase; text-wrap: balance; }

/* Chiffre « depuis 1983 » + photo */
.bf-hfig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); height: 400px; margin-top: 56px; border-radius: 14px; overflow: hidden; }
.bf-hfig > * { margin: 0; min-width: 0; }
.bf-hfig__card { position: relative; display: flex; flex-direction: column; padding: 40px 40px 36px; background: var(--bf-ink); color: #fff; overflow: hidden; }
.bf-hfig__card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(255, 255, 255, .07); }
.bf-hfig__card > * { margin-block: 0; }
.bf-hfig__label { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #9FB6D2; }
.bf-hfig__foot { position: relative; margin-top: auto !important; }
.bf-hfig__foot > * { margin-block: 0; }
.bf-hfig__num { font-family: var(--bf-display); font-weight: 700; font-size: clamp(84px, 8vw, 120px); line-height: .9; letter-spacing: -.05em; }
.bf-hfig__plus { color: var(--bf-orange); }
.bf-hfig__text { margin-top: 22px !important; font-family: var(--bf-display); font-weight: 500; font-size: 21px; line-height: 1.35; color: #fff; text-wrap: pretty; }
.bf-hfig .bf-hfig__img { display: block; height: 100%; }
.bf-hfig__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; border-radius: 0; }

/* Prestations */
.bf-hhead { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 72px; }
.bf-hhead > * { margin: 0; }
.bf-hhead__aside { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7A8698; }
ol.wp-block-list.bf-presta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 22px 0 0; padding: 10px 36px; list-style: none; counter-reset: bfp; background: #fff; border-radius: 18px; }
.bf-presta li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; margin: 0; padding: 18px 0; border-bottom: 1px solid #EDEAE3; font-size: 16.5px; line-height: 1.45; font-weight: 500; color: var(--bf-ink); }
.bf-presta li::before { counter-increment: bfp; content: counter(bfp, decimal-leading-zero); font-family: var(--bf-display); font-weight: 600; font-size: 15px; color: var(--bf-blue); }
.bf-presta li:nth-child(n+6)::before { color: var(--bf-orange); }
.bf-presta li:nth-last-child(-n+2) { border-bottom-color: transparent; }

/* Bandeau contact */
.bf-hcta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 28px; padding: 28px 32px; border: 1px solid #DDD6C8; border-radius: 18px; }
.bf-hcta > * { margin: 0; }
.bf-hcta__title { font-family: var(--bf-display); font-weight: 600; font-size: 24px; letter-spacing: -.01em; }
.bf-hcta__title::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 16px; background: var(--bf-orange); transform: skewX(-18deg); }
.bf-hcta__em { color: var(--bf-blue); }
.bf-hcta .wp-block-buttons { margin: 0; }
.bf-hcta .wp-block-button.bf-btn--primary .wp-block-button__link { padding: 15px 28px; font-size: 15px; }

/* Gouvernance : identité */
.bf-hid { position: relative; margin-top: 40px; border: 1px solid #DDD6C8; background: #FBFAF7; }
.bf-hid::before, .bf-hid::after, .bf-hid__row--2::after, .bf-hid__row--3::before { content: "+"; position: absolute; font-size: 16px; line-height: 1; color: #A79F90; }
.bf-hid::before { top: 0; left: 0; transform: translate(-50%, -50%); }
.bf-hid::after { bottom: 0; right: 0; transform: translate(50%, 50%); }
.bf-hid__row--2::after { top: 0; right: 0; transform: translate(50%, -50%); }
.bf-hid__row--3::before { bottom: 0; left: 0; transform: translate(-50%, 50%); }
.bf-hid > * { margin: 0; }
.bf-hid__row { display: grid; }
.bf-hid__row > *, .bf-hbar > *, .bf-h25__head > *, .bf-hhead > *, .bf-hfig > * { margin-block-start: 0; }
.bf-hid__row > * { margin: 0; }
.bf-hid__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-hid__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bf-hid__row--2 .bf-hid__cell { padding: 30px 32px; border-bottom: 1px solid #DDD6C8; }
.bf-hid__row--2 .bf-hid__cell:first-child, .bf-hid__row--3 .bf-hid__cell:not(:last-child) { border-right: 1px solid #DDD6C8; }
.bf-hid__row--3 .bf-hid__cell { padding: 26px 32px; }
.bf-hid__cell > * { margin-block: 0; }
.bf-hid__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-muted); }
.bf-hid__name { margin-top: 12px !important; font-family: var(--bf-display); font-weight: 600; font-size: 24px; }
.bf-guide__main .bf-hid__name a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--bf-ink); border-bottom: 1.5px solid rgba(30, 111, 208, .35); }
.bf-guide__main .bf-hid__name a::after { content: "↗"; font-size: 16px; color: var(--bf-blue); }
.bf-guide__main .bf-hid__name a:hover { color: var(--bf-blue); }
.bf-hid__role { margin-top: 8px !important; font-size: 15px; color: var(--bf-muted); }
.bf-hid__val { margin-top: 10px !important; font-size: 16.5px; line-height: 1.45; font-weight: 600; }
.bf-hid__val--num { margin-top: 8px !important; font-family: var(--bf-display); font-size: 24px; letter-spacing: -.01em; }

/* Actionnaires */
.bf-hsh { margin-top: 28px; padding: 36px 36px 32px; background: #fff; border-radius: 18px; }
.bf-hsh > * { margin-block: 0; }
.bf-hsh__head, .bf-h25__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bf-hsh__head > *, .bf-h25__head > * { margin: 0; }
.bf-hsh__aside { font-size: 13px; font-weight: 600; color: #7A8698; }
.bf-hbar { display: flex; gap: 4px; height: 18px; margin-top: 30px; border-radius: 6px; overflow: hidden; background: #F1EFEA; }
.bf-hbar > * { height: 100%; margin: 0; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.bf-hbar__a { width: 43%; background: var(--bf-blue); }
.bf-hbar__b { width: 2%; background: var(--bf-orange); transition-delay: .1s; }
.bf-hbar__c { width: 55%; background: var(--bf-ink); transition-delay: .2s; }
.bf-hbar.is-armed:not(.is-in) > * { width: 0; }
.bf-hsh__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
.bf-hsh__cols > * { margin-block-start: 0; }
.bf-hsh__col { padding: 0 24px; }
.bf-hsh__col:first-child { padding-left: 0; }
.bf-hsh__col:last-child { padding-right: 0; }
.bf-hsh__col + .bf-hsh__col { border-left: 1px solid #EDEAE3; }
.bf-hsh__col > * { margin-block: 0; }
.bf-hnum { font-family: var(--bf-display); font-weight: 700; font-size: clamp(48px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; }
.bf-hnum__u { font-size: .53em; }
.bf-hnum__u--blue { color: var(--bf-blue); }
.bf-hnum__u--orange { color: var(--bf-orange); }
.bf-hnum__u--ink { color: var(--bf-ink); }
.bf-hsh__lab { display: flex; align-items: center; gap: 9px; margin-top: 14px !important; font-size: 15.5px; font-weight: 600; }
.bf-hsh__lab::before { content: ""; width: 10px; height: 10px; background: var(--bf-ink); transform: skewX(-18deg); }
.bf-hsh__lab--blue::before { background: var(--bf-blue); }
.bf-hsh__lab--orange::before { background: var(--bf-orange); }

/* Chiffres de l'exercice */
.bf-h25 { position: relative; margin-top: 28px; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #091F42 0%, #0C2A5A 60%, #0E3669 100%); color: #fff; }
.bf-h25::before { content: ""; position: absolute; top: -160px; right: -80px; width: 560px; height: 420px; background: radial-gradient(ellipse at center, rgba(61, 161, 255, .26), rgba(61, 161, 255, 0) 64%); pointer-events: none; }
.bf-h25 > * { position: relative; margin-block: 0; }
.bf-h25__head { padding: 36px 36px 0; }
.bf-h25__pill { display: inline-flex; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #BBD3F0; }
.bf-h25__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px !important; border-top: 1px solid rgba(255, 255, 255, .12); }
.bf-h25__grid > * { margin: 0; }
.bf-h25__cell { padding: 34px 36px; }
.bf-h25__cell:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); }
.bf-h25__cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.bf-h25__cell > * { margin-block: 0; }
.bf-h25__l { font-size: 14px; font-weight: 600; color: #9FB6D2; }
.bf-h25__n { margin-top: 14px !important; font-family: var(--bf-display); font-weight: 700; font-size: clamp(48px, 5.4vw, 72px); line-height: 1; letter-spacing: -.04em; }
.bf-h25__u { font-size: .5em; }
.bf-h25__u--bright { color: var(--bf-bright); }
.bf-h25__u--orange { color: var(--bf-orange); }
.bf-h25__sub { margin-top: 10px !important; font-size: 14px; color: #9FB6D2; }

/* Rapport annuel */
.bf-hrap { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; margin-top: 40px; border-radius: 22px; overflow: hidden; background:
	linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) 18% 0 / 1px 100% no-repeat,
	linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) 45% 0 / 1px 100% no-repeat,
	linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) 72% 0 / 1px 100% no-repeat,
	radial-gradient(ellipse at 20% 50%, #143F78 0%, #0A1E3E 55%, #061328 100%); }
.bf-hrap > * { margin: 0; }
.bf-hrap__cover { display: flex; justify-content: center; padding: 64px 20px; }
.bf-rcover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; flex: none; width: 290px; height: 400px; border-radius: 4px 10px 10px 4px; overflow: hidden; background: var(--bf-ink); transform: rotate(-4deg); box-shadow: -10px 0 0 -4px rgba(255, 255, 255, .08), 0 50px 80px -30px rgba(0, 0, 0, .7); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.bf-rcover:hover { transform: rotate(0deg) translateY(-8px) scale(1.02); box-shadow: -10px 0 0 -4px rgba(255, 255, 255, .08), 0 60px 90px -30px rgba(0, 0, 0, .8); }
.bf-rcover > * { margin: 0; }
.bf-rcover::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: calc(58% + 4px); z-index: 1; background: linear-gradient(180deg, rgba(12, 39, 71, .1) 40%, #0C2747 100%); pointer-events: none; }
.bf-rcover::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 10px; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0)); pointer-events: none; }
.bf-rcover .bf-rcover__img { position: absolute; top: 0; left: 0; width: 100%; height: 58%; }
.bf-rcover__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; border-radius: 0; }
.bf-rcover .bf-rcover__logo { position: absolute; top: 22px; left: 24px; z-index: 2; }
.bf-rcover__logo img { display: block; width: auto; height: 28px; border-radius: 0; filter: brightness(0) invert(1); }
.bf-rcover__foot { padding: 0 24px 26px; }
.bf-rcover__foot > * { margin-block: 0; }
.bf-rcover__sq { display: flex; gap: 3px; width: max-content; transform: skewX(-14deg); }
.bf-rcover__sq span { width: 10px; height: 10px; background: var(--bf-orange); }
.bf-rcover__sq span:nth-child(2) { background: #fff; }
.bf-rcover__sq span:nth-child(3) { background: var(--bf-bright); }
.bf-rcover__label { margin-top: 18px !important; font-family: var(--bf-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #BBD3F0; }
.bf-rcover__year { margin-top: 8px !important; font-family: var(--bf-display); font-weight: 700; font-size: 76px; line-height: .9; letter-spacing: -.04em; color: #fff; }
.bf-guide__main .bf-rcover__year a { color: #fff; font: inherit; border: 0; }
.bf-rcover__year a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
/* Couverture réelle du rapport (0.1.29) */
.bf-rcover.bf-rcover--photo { display: block; width: 300px; height: auto; aspect-ratio: 900 / 1272; background: none; }
.bf-rcover.bf-rcover--photo::before { display: none; }
.bf-rcover.bf-rcover--photo .bf-rcover__img { position: static; width: 100%; height: 100%; margin: 0; }
.bf-rcover--photo .bf-rcover__img a { display: block; height: 100%; }
.bf-rcover--photo .bf-rcover__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 0; }
.bf-hrap__body { padding: 56px 56px 56px 8px; color: #fff; }
.bf-hrap__body > * { margin-block: 0; }
.bf-hrap__body .bf-hh3--xl { margin-top: 24px; }
.bf-hrap__body .bf-pill { margin-bottom: 0; }
.bf-hrap__text { margin-top: 20px !important; max-width: 440px; font-size: 18px; line-height: 1.65; color: #AFC4DF; text-wrap: pretty; }
.bf-hrap__body .wp-block-buttons { margin-top: 34px; }
.bf-hrap__alt { margin-top: 22px !important; }
.bf-guide__main .bf-hrap__alt a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 15.5px; font-weight: 600; text-decoration: none; padding-bottom: 3px; border-bottom: 1.5px solid rgba(61, 161, 255, .7); }
.bf-guide__main .bf-hrap__alt a::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='m7.5 11 4.5 4.5 4.5-4.5'/%3E%3Cpath d='M5 19.5h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='m7.5 11 4.5 4.5 4.5-4.5'/%3E%3Cpath d='M5 19.5h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.bf-guide__main .bf-hrap__alt a:hover { color: var(--bf-bright); }
.bf-hrap__fmt { margin-top: 16px !important; font-size: 13px; color: #7E92AC; }

/* Bouton orange (téléchargement) */
.wp-block-button.bf-btn--orange .wp-block-button__link { display: inline-flex; align-items: center; gap: 14px; background: var(--bf-orange); color: #fff; font-size: 15px; font-weight: 700; padding: 18px 30px; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.wp-block-button.bf-btn--orange .wp-block-button__link::after { content: "↓"; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-size: 14px; }
.wp-block-button.bf-btn--orange .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(237, 106, 44, .7); }
.bf-toc__card .wp-block-button.bf-btn--orange .wp-block-button__link { display: flex; justify-content: center; gap: 10px; height: 48px; padding: 0 20px; font-size: 14.5px; font-weight: 600; box-sizing: border-box; }
.bf-toc__card .wp-block-button.bf-btn--orange .wp-block-button__link::after { width: auto; height: auto; background: none; font-size: inherit; }
.bf-toc__card .wp-block-button.bf-btn--orange .wp-block-button__link:hover { background: #F27C42; box-shadow: none; transform: none; }

@media (max-width: 900px) {
	.bf-hrap { grid-template-columns: minmax(0, 1fr); }
	.bf-hrap__cover { padding: 56px 20px 24px; }
	.bf-hrap__body { padding: 8px 28px 48px; }
}
@media (max-width: 760px) {
	.bf-hfig { grid-template-columns: 1fr; height: auto; }
	.bf-hfig__card { min-height: 300px; }
	.bf-hfig .bf-hfig__img { height: 260px; }
	ol.wp-block-list.bf-presta { grid-template-columns: 1fr; padding: 4px 24px; }
	.bf-presta li:nth-last-child(2) { border-bottom-color: #EDEAE3; }
	.bf-hhead { flex-direction: column; align-items: flex-start; gap: 6px; }
	.bf-hcta { padding: 24px; }
	.bf-hid__row--2, .bf-hid__row--3 { grid-template-columns: 1fr; }
	.bf-hid__row--2 .bf-hid__cell, .bf-hid__row--3 .bf-hid__cell { padding: 24px; border-right: 0 !important; border-bottom: 1px solid #DDD6C8; }
	.bf-hid__row--3 .bf-hid__cell:last-child { border-bottom: 0; }
	.bf-hsh { padding: 28px 24px; }
	.bf-hsh__head, .bf-h25__head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.bf-hsh__cols { grid-template-columns: 1fr; }
	.bf-hsh__col, .bf-hsh__col:first-child, .bf-hsh__col:last-child { padding: 22px 0; }
	.bf-hsh__col + .bf-hsh__col { border-left: 0; border-top: 1px solid #EDEAE3; }
	.bf-h25__head { padding: 28px 24px 0; }
	.bf-h25__grid { grid-template-columns: 1fr; }
	.bf-h25__cell { padding: 26px 24px; }
	.bf-h25__cell:nth-child(odd) { border-right: 0; }
	.bf-h25__cell:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.bf-hrap__body .wp-block-button.bf-btn--orange .wp-block-button__link { white-space: normal; padding: 16px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.bf-hbar > *, .bf-rcover { transition: none; }
}

/* ---------- Page « Qui sommes-nous ? » ---------- */
.bf-pagehero .bf-pagehero__lead--xl { margin-top: 30px; max-width: 780px; font-family: var(--bf-display); font-weight: 500; font-size: clamp(21px, 2.1vw, 26px); line-height: 1.4; color: #fff; text-wrap: pretty; }
.bf-pagehero__lead--xl a { color: #fff; border-bottom: 2px solid var(--bf-bright); text-decoration: none; transition: color .15s ease; }
.bf-pagehero__lead--xl a:hover { color: var(--bf-bright); }
.bf-pagehero .bf-pagehero__sub { margin-top: 20px; max-width: 720px; font-size: 18px; line-height: 1.65; color: #AFC4DF; text-wrap: pretty; }
.bf-toc .bf-toc__tile { margin-top: 22px; }
.bf-toc__tile a { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 12px; background: #fff; color: var(--bf-ink); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color .15s ease; }
.bf-toc__tile a::after { content: "→"; color: var(--bf-orange); }
.bf-toc__tile a:hover { color: var(--bf-blue); }
.bf-toc__tile + .bf-toc__card { margin-top: 22px !important; }

/* En-tête de section avec mention à droite */
.bf-gnumrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; }
.bf-gnumrow > * { margin: 0; }
.bf-gaside { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7A8698; }

/* Missions */
.bf-mcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.bf-mcards > * { margin-block-start: 0; }
.bf-mcard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 18px; }
.bf-mcard > * { margin-block: 0; }
.bf-mcard__media { position: relative; height: 220px; }
.bf-mcard__media > * { margin-block: 0; }
.bf-mcard__media .bf-mcard__img { height: 100%; margin: 0; }
.bf-mcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bf-mcard__img img[src*="credit-bail.webp"] { object-position: center 64%; }
.bf-mcard__img img[src*="locations.webp"] { object-position: center 50%; }
.bf-mcard__img img[src*="participations.webp"] { object-position: center 55%; }
.bf-mcard__n { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bf-blue); color: #fff; font-family: var(--bf-display); font-weight: 600; font-size: 14px; }
.bf-mcard__n--orange { background: var(--bf-orange); }
.bf-mcard__body { display: flex; flex: 1; flex-direction: column; padding: 28px 28px 30px; }
.bf-mcard__body > * { margin-block: 0; }
.bf-mcard__title { font-family: var(--bf-display); font-weight: 600; font-size: 23px; line-height: 1.2; letter-spacing: -.015em; }
.bf-mcard__text { margin-top: 12px !important; font-size: 16px; line-height: 1.62; color: #3B4B60; }
.bf-mcard__link { margin-top: auto !important; padding-top: 22px; }
.bf-guide__main .bf-mcard__link a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 0; font-size: 15px; font-weight: 600; color: var(--bf-ink); }
.bf-mcard__link a span { padding-bottom: 3px; border-bottom: 2px solid var(--bf-blue); }
.bf-mcard__link a::after { content: "›"; }
.bf-guide__main .bf-mcard__link a:hover { color: var(--bf-blue); }
.bf-plus--cards { margin-top: 48px; max-width: 820px; }

/* Prestations en deux colonnes (ordre de lecture colonne par colonne) */
ol.wp-block-list.bf-presta.bf-presta--cols { grid-auto-flow: column; grid-template-rows: repeat(9, auto); margin-top: 36px; }
.bf-presta--cols li { padding: 17px 0; }
.bf-presta--cols li:nth-child(n+6)::before { color: var(--bf-blue); }
.bf-presta--cols li:nth-child(n+10)::before { color: var(--bf-orange); }
.bf-presta--cols li:nth-last-child(-n+2) { border-bottom-color: #EDEAE3; }
.bf-presta--cols li:nth-child(9), .bf-presta--cols li:last-child { border-bottom-color: transparent; }

/* Témoignage vidéo */
.bf-hvid { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 9; margin-top: 28px; padding: 48px 52px; border-radius: 22px; overflow: hidden; isolation: isolate; color: #fff; background:
	linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) 18% 0 / 1px 100% no-repeat,
	linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) 45% 0 / 1px 100% no-repeat,
	radial-gradient(ellipse at 30% 50%, #143F78 0%, #0A1E3E 55%, #061328 100%); }
.bf-hvid > * { margin: 0; }
.bf-hvid > .bf-hvid__photo { position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: 48%; }
.bf-hvid__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; border-radius: 0; }
.bf-hvid__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0A1E3E 0%, rgba(10, 30, 62, .35) 35%, rgba(10, 30, 62, 0) 70%); pointer-events: none; }
.bf-hvid .bf-hvid__pill { align-self: flex-start; }
.bf-hvid__foot { max-width: 46%; }
.bf-hvid__foot > * { margin-block: 0; }
.bf-hvid__a { display: block; width: 88px; height: 88px; }
.bf-guide__main .bf-hvid__a { border: 0; }
.bf-hvid__a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.bf-hvid__sq { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; background: var(--bf-orange); transform: skewX(-12deg); box-shadow: 0 24px 50px -18px rgba(237, 106, 44, .8); transition: transform .25s ease; }
.bf-hvid:hover .bf-hvid__sq { transform: skewX(-12deg) scale(1.06); }
.bf-hvid__tri { width: 0; height: 0; margin-left: 6px; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 22px solid #fff; transform: skewX(12deg); }
.bf-hvid__name { margin-top: 34px !important; font-family: var(--bf-display); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; color: #fff; }
.bf-hvid__role { margin-top: 8px !important; font-size: 16px; color: #AFC4DF; }
.bf-hvid__frame { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; border: 0; background: #000; }

@media (max-width: 1100px) {
	.bf-toc__tile { display: none; }
}
@media (max-width: 900px) {
	.bf-mcards { grid-template-columns: 1fr; }
	.bf-mcard__media { height: 240px; }
}
@media (max-width: 760px) {
	ol.wp-block-list.bf-presta.bf-presta--cols { grid-auto-flow: row; grid-template-rows: none; }
	.bf-presta--cols li:nth-child(9) { border-bottom-color: #EDEAE3; }
	.bf-gnumrow { flex-wrap: wrap; }
	.bf-hvid { aspect-ratio: auto; min-height: 460px; padding: 28px 24px; }
	.bf-hvid > .bf-hvid__photo { left: 0; width: 100%; }
	.bf-hvid__photo::after { background: linear-gradient(180deg, rgba(10, 30, 62, .8) 0%, rgba(10, 30, 62, .15) 28%, rgba(10, 30, 62, .35) 58%, #0A1E3E 100%); }
	.bf-hvid__foot { max-width: 100%; }
	.bf-hvid__a, .bf-hvid__sq { width: 72px; height: 72px; }
}

/* Très petits écrans : les mots composés insécables (.bf-nb) doivent tenir sur une ligne (0.1.30). */
@media (max-width: 400px) {
	.bf-pagehero h1, .bf-pagehero--caps h1, .bf-pagehero--caps .wp-block-heading { font-size: clamp(30px, 11vw, 42px); }
	.bf-cta h2 { font-size: clamp(28px, 9.4vw, 40px); }
	.bf-gtitle { font-size: clamp(25px, 8.4vw, 30px); }
}
