/* ============================================================
   Pages À propos et Se financer : maquettes Figma de Clémence,
   LIF_A_PROPOS 165:255 et LIF_SE_FINANCER 167:310 (intégrées le 23/10/2026).
   Chaque cote vient du relevé `figma_api.py spec` (LIF/figma-165-255.txt,
   LIF/figma-167-310.txt) ; le nœud est cité en commentaire.
   Chargée seulement sur ces deux gabarits (inc/pages-lif.php), après main.css.
   ============================================================ */

.page-template-tpl-a-propos, .page-template-tpl-se-financer {
	--pf-gris-texte: #939393; /* textes gris des deux maquettes */
	--pf-fond-gris: #eff2f4;
	--pf-filet: #d6e0e5;
}

/* ---------- Bandeau (165:278, 167:333) ---------- */
/* Contenu centré verticalement dans la carte de 560 px, 24 px entre chaque élément (165:284). */
.pf-hero .iv-hero__texte { padding-bottom: 0; }
.pf-hero .iv-hero__titre { margin-top: 0; font: 700 38px/45.6px var(--f-titre); }
.pf-hero .iv-hero__chapeau { max-width: 580px; font-size: 16px; line-height: 24px; }
.pf-hero .iv-btns { margin-top: 0; }
@media (min-width: 1101px) {
	/* À propos : visuel 620 × 456, à 22 px du bord droit de la carte (165:280) */
	.pf-hero--ap .iv-hero__carte { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); padding-right: 22px; }
	.pf-hero--ap .iv-hero__photo { height: 456px; }
	/* Se financer : visuel 600 × 480, à 42 px du bord droit (167:335), comme le bandeau existant */
}

/* ---------- Menu de la page (165:295, 167:350) ---------- */
/* Collé sous l'en-tête sticky (demande de Thomas, 23/10/2026) ; --pf-entete est mesurée par pages-lif.js. */
.pf-menu { position: sticky; top: var(--pf-entete, 100px); z-index: 40; border-bottom: 1px solid var(--pf-filet); background: #fbfbfb; }
.pf-menu__liste { display: flex; gap: 40px; width: 100%; max-width: calc(var(--contenu) + 2 * var(--gouttiere)); margin: 0 auto; padding: 20px var(--gouttiere); list-style: none; overflow-x: auto; scrollbar-width: none; }
.pf-menu__liste::-webkit-scrollbar { display: none; }
.pf-menu__lien { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 14px; line-height: 17.1px; white-space: nowrap; color: var(--pf-gris-texte); text-decoration: none; }
.pf-menu__lien::after { content: ""; width: 24px; height: 3px; background: transparent; } /* 165:298 */
.pf-menu__lien:hover, .pf-menu__lien.is-actif { color: var(--encre); }
.pf-menu__lien.is-actif::after { background: var(--rouge); }

/* ---------- Sections et en-têtes (165:314, 166:256) ---------- */
.pf-section { padding-block: 120px; }
/* Une ancre s'arrête sous l'en-tête et le menu collé (remplace les 110 px de main.css). */
html:has([data-pf-menu]) { scroll-padding-top: calc(var(--pf-entete, 100px) + var(--pf-menu, 69px)); }
.pf-section--gris { background: var(--pf-fond-gris); }
.pf-section--nuit { background: var(--encre); color: var(--blanc); }
.pf-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 80px; margin-bottom: 56px; }
.pf-h2 { max-width: 620px; font: 700 40px/46px var(--f-titre); color: var(--encre); }
.pf-tete__intro { max-width: 480px; font-weight: 500; font-size: 16px; line-height: 24.8px; color: var(--pf-gris-texte); }
.pf-tete--clair .pf-h2 { color: var(--blanc); }
.pf-tete--clair .pf-tete__intro { color: rgba(255, 255, 255, .7); }

/* ---------- Grilles et cartes ---------- */
.pf-grille { display: grid; gap: 24px; list-style: none; }
.pf-grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pf-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-carte { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 24px; background: var(--blanc); }
.pf-carte--filet { border: 1px solid var(--pf-filet); } /* 166:260 */
.pf-carte--verre { border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); } /* 167:392 */
.pf-carte__titre { font: 700 22px/26.4px var(--f-titre); color: var(--encre); }
.pf-carte__texte { font-weight: 500; font-size: 14px; line-height: 21.7px; color: var(--pf-gris-texte); }
.pf-ico { flex: none; width: 30px; height: 30px; } /* tuile rouge 30 × 30, rayon 6 (166:261) */
.pf-tag { display: inline-flex; padding: 10px 16px; border: 1px solid var(--pf-filet); border-radius: 30px; background: var(--blanc); font-weight: 600; font-size: 13px; line-height: 15.8px; color: var(--encre); } /* 168:376 */
.pf-logo { display: flex; align-items: center; flex: none; max-width: 100%; }
.pf-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }

/* ---------- Logos de partenaires (199:372, 221:360) ---------- */
.pf-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.pf-logos__item { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 130px; padding: 0 16px; border-radius: 20px; background: var(--pf-fond-gris); }
.pf-logos--120 .pf-logos__item { min-height: 120px; }
.pf-logos__item .pf-logo img { object-position: center; }
.pf-logos__legende { font: 700 20px/24px var(--f-titre); color: var(--encre); } /* 221:373 */

/* ---------- À propos : Vision (165:314) ---------- */
.ap-vision__corps { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 720px); justify-content: space-between; gap: 80px; align-items: start; }
.ap-vision__mission { display: flex; flex-direction: column; gap: 24px; }
.ap-vision__chapeau { font-weight: 600; font-size: 17px; line-height: 26.3px; color: var(--bleu); } /* 165:317, #024582 */
.ap-vision__texte { font-weight: 500; font-size: 16px; line-height: 25.6px; color: var(--pf-gris-texte); }
.ap-vision__signature { font-weight: 700; font-size: 15px; line-height: 18.3px; color: var(--rouge); }
/* Signature en quatre cartouches (retour LIF du 12/11/2026) */
.ap-vision__etapes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin-top: 8px; }
.ap-etape { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 20px; background: var(--pf-fond-gris); }
.ap-etape__num { font-weight: 700; font-size: 12.5px; line-height: 15px; letter-spacing: .04em; color: var(--rouge); }
.ap-etape__mot { font: 700 22px/26.4px var(--f-titre); color: var(--encre); }
.ap-etape:last-child { background: var(--encre); }
.ap-etape:last-child .ap-etape__mot { color: var(--blanc); }
.ap-vision__these { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.ap-point { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; padding: 32px; border-radius: 24px; background: var(--pf-fond-gris); } /* 165:321 */
.ap-point__titre { font: 700 22px/26.4px var(--f-titre); color: var(--encre); }
.ap-point__texte { font-weight: 500; font-size: 15px; line-height: 23.2px; color: var(--pf-gris-texte); }
.ap-point--reponse { background: var(--encre); } /* 165:327 */
.ap-point--reponse .ap-point__titre { color: var(--blanc); }
.ap-point--reponse .ap-point__texte { color: rgba(255, 255, 255, .8); }

/* ---------- À propos : Notre histoire (165:330) ---------- */
.ap-frise { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 36px; list-style: none; }
.ap-frise::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .25); } /* 165:335 */
.ap-frise__etape { position: relative; display: flex; flex-direction: column; gap: 8px; max-width: 220px; padding-top: 36px; }
.ap-frise__point { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 50%; background: var(--encre); } /* 165:336 */
.ap-frise__etape.is-actuelle .ap-frise__point { border-color: var(--rouge); background: var(--rouge); } /* 165:348 */
.ap-frise__date { font-weight: 600; font-size: 13px; line-height: 15.8px; color: var(--rouge); }
.ap-frise__texte { font-weight: 500; font-size: 14px; line-height: 21px; color: var(--blanc); }
.ap-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; list-style: none; }
.ap-chiffres__item { display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: rgba(255, 255, 255, .06); } /* 165:357 */
.ap-chiffres__valeur { font: 700 40px/48px var(--f-titre); color: var(--blanc); }
.ap-chiffres__libelle { font-weight: 500; font-size: 14px; line-height: 17.1px; color: rgba(255, 255, 255, .65); }

/* ---------- À propos : Engagements (166:259) ---------- */
.ap-engagement { gap: 18px; }

/* ---------- À propos : Équipe (166:286) et comité (166:322) ---------- */
.ap-membre { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--blanc); }
.ap-membre__visuel { height: 300px; background: var(--pf-filet); } /* 166:298 : aplat #d6e0e5 sans photo */
.ap-membre__photo { width: 100%; height: 100%; object-fit: cover; }
.ap-membre__corps { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 24px 24px 28px; }
.ap-membre__nom { font: 700 20px/24px var(--f-titre); color: var(--encre); }
.ap-membre__fonction { font-weight: 600; font-size: 13px; line-height: 18.2px; color: var(--rouge); }
.ap-membre__texte { font-weight: 500; font-size: 13px; line-height: 20.1px; color: var(--pf-gris-texte); }
.ap-membre__linkedin { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-top: auto; border-radius: 8px; background: var(--encre); color: #fff; } /* 215:354 */
.ap-membre__texte { margin-bottom: 9px; } /* 215:357 : au moins 8 + 1 + 8 px avant le bouton LinkedIn */
.ap-comite { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 56px; padding: 44px; border-radius: 24px; background: var(--encre); }
.ap-comite__texte { display: flex; flex-direction: column; gap: 14px; }
.ap-comite__titre { font: 700 28px/33.6px var(--f-titre); color: var(--blanc); }
.ap-comite__para { font-weight: 500; font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .75); }
.ap-comite__liste { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.ap-comite__membre { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .06); font-weight: 600; font-size: 15px; line-height: 18.3px; color: var(--blanc); } /* 166:327 */
.ap-comite__membre::before { content: ""; flex: none; width: 16px; height: 2px; background: var(--rouge); }

/* ---------- À propos : Ils parlent de nous (166:411) ---------- */
.ap-article { gap: 16px; }
.ap-article__titre { font: 500 18px/24.3px var(--f-titre); color: var(--encre); }
.ap-article__date { font-weight: 600; font-size: 12px; line-height: 14.6px; color: var(--pf-gris-texte); }
.ap-article__lien { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 13px; line-height: 15.8px; color: var(--rouge); text-decoration: none; }
.ap-article__lien:hover { text-decoration: underline; }

/* ---------- À propos : Agréments (166:436) ---------- */
.ap-agrement { gap: 14px; }
.ap-agrement__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; min-height: 44px; }
.ap-agrement .pf-carte__titre { max-width: 300px; } /* 166:439 : bloc de titre de 300 px */
.ap-agrement__filet { width: 32px; height: 3px; background: var(--rouge); } /* 166:440 */

/* ---------- Appel final (166:452, 168:533) ---------- */
.pf-fin { padding: 120px 0 100px; background: var(--encre); color: var(--blanc); }
.pf-fin__corps { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.pf-fin__titre { max-width: 900px; font: 700 44px/50.6px var(--f-titre); color: var(--blanc); }
.pf-fin__texte { font-weight: 500; font-size: 16px; line-height: 19.5px; color: rgba(255, 255, 255, .7); }
.pf-fin__btns { justify-content: center; }

/* ---------- Se financer : Notre rôle (167:370) ---------- */
.sf-chaine { gap: 16px; }
.sf-maillon { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 24px; background: var(--pf-fond-gris); transition: background-color .2s; } /* 167:371 */
.sf-maillon__num { font: 700 32px/38.4px var(--f-titre); color: var(--rouge); }
.sf-maillon__titre { font: 700 24px/28.8px var(--f-titre); color: var(--encre); }
.sf-maillon__texte { font-weight: 500; font-size: 14px; line-height: 21.7px; color: var(--pf-gris-texte); }
/* La carte bleu nuit de la maquette (167:379) est l'état survolé d'une carte. */
.sf-maillon:hover { background: var(--encre); }
.sf-maillon:hover .sf-maillon__titre { color: var(--blanc); }
.sf-maillon:hover .sf-maillon__texte { color: rgba(255, 255, 255, .8); }

/* ---------- Se financer : Leviers (167:391) ---------- */
.sf-levier { gap: 16px; }
.sf-levier__surtitre { font-weight: 700; font-size: 11px; line-height: 13.4px; color: var(--rouge); }
.sf-levier .pf-carte__titre { color: var(--blanc); }
.sf-levier .pf-carte__texte { color: rgba(255, 255, 255, .75); }
.sf-reforge { display: flex; align-items: center; gap: 20px; margin-top: 56px; } /* 219:325 */
.sf-reforge__logo { flex: none; width: 130px; height: 40px; object-fit: contain; }
.sf-reforge__texte { font-weight: 500; font-size: 13px; line-height: 15.8px; color: rgba(255, 255, 255, .6); }

/* ---------- Se financer : Bénéfices (167:460) ---------- */
.sf-benefices { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 760px); justify-content: space-between; gap: 80px; align-items: start; }
.sf-benefices__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.sf-benefices__texte { font-weight: 500; font-size: 16px; line-height: 25.6px; color: var(--pf-gris-texte); }
.sf-benefices__liste { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.sf-benefice { display: flex; gap: 20px; padding: 24px; border-radius: 20px; background: var(--pf-fond-gris); } /* 167:468 */
.sf-benefice__corps { display: flex; flex-direction: column; gap: 6px; }
.sf-benefice__titre { font: 700 20px/24px var(--f-titre); color: var(--encre); }

/* ---------- Se financer : Entreprises (168:369) ---------- */
.sf-entreprise { align-items: flex-start; gap: 16px; }
.sf-entreprise__id { display: flex; flex-direction: column; gap: 4px; }
.sf-entreprise__nom { font: 700 20px/24px var(--f-titre); color: var(--encre); }
.sf-entreprise__activite { font-weight: 500; font-size: 13px; line-height: 15.8px; color: var(--pf-gris-texte); }

/* ---------- Se financer : Apporteurs d'affaires (168:410) ---------- */
.sf-apport { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.sf-apport__boite { display: flex; flex-direction: column; gap: 28px; padding: 40px; border-radius: 24px; background: var(--pf-fond-gris); } /* 168:411 */
.sf-apport__boite--nuit { gap: 20px; background: var(--encre); } /* 168:443 */
.sf-apport__titre { font: 700 24px/28.8px var(--f-titre); color: var(--encre); }
.sf-apport__boite--nuit .sf-apport__titre { color: var(--blanc); }
.sf-apport__surtitre { font-weight: 700; font-size: 11px; line-height: 13.4px; color: var(--rouge); }
.sf-apport__tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.sf-raisons { display: flex; flex-direction: column; gap: 20px; list-style: none; }
.sf-raison { position: relative; display: flex; flex-direction: column; gap: 4px; padding-left: 32px; }
.sf-raison::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 2px; background: var(--rouge); } /* 168:446 */
.sf-raison__titre { font-weight: 700; font-size: 15px; line-height: 18.3px; color: var(--blanc); }
.sf-raison__texte { font-weight: 500; font-size: 14px; line-height: 21.7px; color: rgba(255, 255, 255, .7); }

/* ---------- Se financer : Déroulé (168:464) et apports (168:485) ---------- */
.sf-etapes { gap: 16px; }
.sf-etape { gap: 14px; padding: 28px; }
.sf-etape__num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 20px; background: var(--encre); font: 700 16px/19.2px var(--f-titre); color: var(--blanc); transition: background-color .2s; } /* 168:471 */
/* La pastille rouge de la maquette (168:466) est l'état survolé d'une étape. */
.sf-etape:hover .sf-etape__num { background: var(--rouge); }
.sf-etape__titre { margin: 0; font: 700 20px/24px var(--f-titre); color: var(--encre); } /* h4 dans « Ce que LIF vous apporte » : le reset de main.css s'arrête à h3 */
.sf-apports { display: flex; flex-direction: column; gap: 24px; margin-top: 56px; }
.sf-apports__titre { font: 700 28px/33.6px var(--f-titre); color: var(--encre); }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1100px) {
	.pf-tete { flex-direction: column; align-items: flex-start; }
	.pf-grille--4, .pf-logos, .ap-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pf-grille--3 { grid-template-columns: minmax(0, 1fr); }
	.ap-vision__corps, .sf-benefices, .ap-comite, .sf-apport { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.ap-frise { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 36px; }
	.ap-frise::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
	.ap-frise__etape { max-width: none; padding-top: 0; }
	.ap-frise__point { left: -36px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	.pf-section { padding-block: 72px; }
	.pf-tete { margin-bottom: 40px; }
	.pf-h2 { font-size: var(--t-h2); line-height: 1.2; }
	.pf-hero .iv-hero__titre { font-size: var(--t-h1); line-height: 1.2; }
	.pf-fin { padding: 72px 0; }
	.pf-fin__titre { font-size: 30px; line-height: 1.2; }
	.pf-menu__liste { gap: 28px; padding-inline: 20px; }
	.ap-point { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px; }
	.ap-comite, .sf-apport__boite { padding: 28px; }
	.pf-fin__btns .btn, .sf-benefices__intro .btn { justify-content: center; width: 100%; }
	.sf-reforge { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	.pf-grille--4, .ap-chiffres { grid-template-columns: minmax(0, 1fr); }
	.pf-logos { gap: 12px; }
	.pf-logos__item { min-height: 100px; }
}
