/* F2IN Accueil : hero d'après la maquette Claude Design « Hero F2IN 2026 » */
.f2in-hero { --vert: #005c45; --vert-f: #00402f; --or: #f6b91e; --orange: #ea5323; --texte: #1a1a2e; --gris: #33384a; --gris2: #545a6b;
	position: relative; overflow: hidden; isolation: isolate; background: #eef3f1; display: flex; flex-direction: column;
	min-height: max(600px, min(calc(100svh - 140px), 860px)); width: 100%; font-family: Lato, system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--texte); text-align: left; }
.f2in-hero *, .f2in-hero *::before, .f2in-hero *::after { box-sizing: border-box; }
.f2in-hero p, .f2in-hero h1, .f2in-hero dl, .f2in-hero dd, .f2in-hero dt { margin: 0; padding: 0; }
.f2in-hero :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Image et voiles */
.f2in-hero__bg { position: absolute; inset: -3%; z-index: -3; will-change: transform; }
.f2in-hero__bg img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.f2in-hero--kenburns .f2in-hero__bg { animation: f2inHeroKB 2.6s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes f2inHeroKB { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.f2in-hero__veil, .f2in-hero__veil2 { position: absolute; z-index: -2; pointer-events: none; }
.f2in-hero--clair .f2in-hero__veil { inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.55) 58%, rgba(255,255,255,.08) 82%, rgba(255,255,255,0) 100%); }
.f2in-hero--clair .f2in-hero__veil2 { inset: auto 0 0 0; height: 42%; background: linear-gradient(0deg, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.f2in-hero--franche .f2in-hero__veil { inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.1) 50%, rgba(255,255,255,.7)); }

/* Contenu */
.f2in-hero__main { position: relative; flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 56px) clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px; }
.f2in-hero__content { flex: 1 1 560px; min-width: 0; max-width: 900px; display: grid; gap: clamp(20px, 2.4vw, 32px); align-self: center; }
.f2in-hero__eyebrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.f2in-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: #fff; border: 1px solid rgba(0,64,47,.15); color: var(--vert); }
.f2in-hero__badge > span { width: 8px; height: 8px; background: var(--orange); }
.f2in-hero .f2in-hero__title { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(40px, 5.6vw, 108px); line-height: 1; white-space: nowrap; letter-spacing: -.045em; color: var(--vert-f); text-wrap: balance; text-transform: none; }
.f2in-hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.f2in-hero__line > span { display: block; animation: f2inHeroLine 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.f2in-hero__line > span[data-line="1"] { animation-delay: .27s; }
.f2in-hero__line > span[data-line="0"] { animation-delay: .15s; }
@keyframes f2inHeroLine { from { transform: translateY(105%); } to { transform: none; } }
.f2in-hero__dot { color: var(--orange); }
/* Retour à la ligne du titre : uniquement sur mobile (« Investir » / « au Niger ») */
.f2in-hero__br { display: none; }
.f2in-hero__lead { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-start; }
.f2in-hero__lead p { flex: 1 1 360px; min-width: 0; max-width: 52ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--gris); text-wrap: pretty; }
.f2in-hero__lead strong { font-family: Montserrat, sans-serif; font-weight: 700; color: var(--vert); }
.f2in-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.f2in-hero a.f2in-hero__cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 248px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; border-radius: 0; transition: background .25s, color .25s, transform .25s; }
.f2in-hero a.f2in-hero__cta--primary { background: var(--or); color: var(--vert-f); padding: 18px 22px; }
.f2in-hero a.f2in-hero__cta--primary:hover, .f2in-hero a.f2in-hero__cta--primary:focus-visible { background: #e9a800; color: var(--vert-f); transform: translateY(-2px); }
.f2in-hero a.f2in-hero__cta--ghost { background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--vert-f); padding: 16px 20px; border: 2px solid var(--vert); }
.f2in-hero a.f2in-hero__cta--ghost:hover, .f2in-hero a.f2in-hero__cta--ghost:focus-visible { background: var(--vert); color: #fff; }

/* Compte à rebours */
.f2in-hero__cd { flex: 0 1 380px; min-width: 0; margin-left: auto; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 24px 60px -24px rgba(0,64,47,.35); }
/* Couleurs du logo F2IN, une bande égale par couleur */
.f2in-hero__cd-bar { height: 4px; display: grid; grid-template-columns: repeat(6, 1fr); }
.f2in-hero__cd-bar span:nth-child(1) { background: #005c45; }
.f2in-hero__cd-bar span:nth-child(2) { background: #ea5323; }
.f2in-hero__cd-bar span:nth-child(3) { background: #f6b91e; }
.f2in-hero__cd-bar span:nth-child(4) { background: #da392f; }
.f2in-hero__cd-bar span:nth-child(5) { background: #3169b1; }
.f2in-hero__cd-bar span:nth-child(6) { background: #00993c; }
.f2in-hero__cd-body { padding: 22px 24px 24px; display: grid; gap: 18px; }
.f2in-hero__cd-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; font-family: Montserrat, sans-serif; }
.f2in-hero__cd-head > span:first-child { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--vert); }
/* Compte à rebours compact, à droite du titre */
.f2in-hero__cd-mini { display: inline-flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
.f2in-hero__cd-mini > span { display: inline-flex; align-items: baseline; gap: 2px; }
.f2in-hero__cd-mini .f2in-hero__cd-v { font-weight: 800; font-size: 15px; line-height: 1; color: var(--vert-f); }
.f2in-hero__cd-mini .f2in-hero__cd-l { font-weight: 600; font-size: 11px; color: var(--gris2); text-decoration: none; border: 0; cursor: help; }
/* Dates du forum, en grand, en jaune F2IN (#f6b91e) */
.f2in-hero__cd-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-top: 14px; border-top: 2px solid var(--vert-f); }
.f2in-hero__cd-grand { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(44px, 4.2vw, 60px); line-height: 1; letter-spacing: -.04em; color: #f6b91e; }
.f2in-hero__cd-sous { display: grid; gap: 2px; }
.f2in-hero__cd-mois { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 17px; line-height: 1.2; color: #f6b91e; }
.f2in-hero .f2in-hero__cd-lieu { display: flex; align-items: center; gap: 10px; margin: 0; padding-top: 6px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--vert); }
.f2in-hero__cd-lieu svg { flex: none; width: 36px; height: 36px; stroke-width: 1.8; color: var(--orange); }
.f2in-hero a.f2in-hero__cd-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(0,64,47,.15); font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; color: var(--vert); text-decoration: none; }
.f2in-hero a.f2in-hero__cd-link:hover { color: var(--orange); }

/* Indicateur de défilement */
.f2in-hero__scroll { position: absolute; right: clamp(20px, 4vw, 56px); top: 50%; width: 2px; height: 64px; background: rgba(0,64,47,.15); overflow: hidden; pointer-events: none; }
.f2in-hero__scroll span { display: block; width: 100%; height: 100%; background: var(--orange); animation: f2inHeroScroll 1.8s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes f2inHeroScroll { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* Apparitions successives */
.f2in-hero [data-in] { animation: f2inHeroIn .9s cubic-bezier(.16, 1, .3, 1) both; }
.f2in-hero [data-in="0"] { animation-delay: .45s; }
.f2in-hero [data-in="1"] { animation-delay: .57s; }
.f2in-hero [data-in="2"] { animation-delay: .69s; }
.f2in-hero [data-in="3"] { animation-delay: .81s; }
@keyframes f2inHeroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* Mobile */
@media (max-width: 767px) {
	.f2in-hero { min-height: 0; }
	.f2in-hero .f2in-hero__title { white-space: normal; font-size: clamp(52px, 14vw, 76px); }
	.f2in-hero__br { display: inline; }
	.f2in-hero__scroll { display: none; }
	.f2in-hero--clair .f2in-hero__veil { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 60%, rgba(255,255,255,.75) 100%); }
	.f2in-hero a.f2in-hero__cta { min-width: 0; width: 100%; }
	.f2in-hero__cd { flex-basis: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.f2in-hero *, .f2in-hero__bg { animation: none !important; transition: none !important; }
}

/* ===================== Section « Le forum » (couleurs du brand book) ===================== */
.f2in-forum { --vert: #005c45; --vert-f: #00402f; --vif: #00993c; --or: #f6b91e; --orange: #ea5323; --bleu: #3169b1; --texte: #1a1a2e; --gris: #33384a;
	position: relative; width: 100%; background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%); padding: clamp(56px, 7vw, 104px) clamp(20px, 4vw, 56px); font-family: Lato, system-ui, sans-serif; color: var(--texte); }
.f2in-forum *, .f2in-forum *::before, .f2in-forum *::after { box-sizing: border-box; }
.f2in-forum__wrap { max-width: 1240px; margin: 0 auto; display: grid; gap: clamp(40px, 5vw, 64px); }
.f2in-forum__head { display: grid; justify-items: center; gap: 18px; text-align: center; }
.f2in-forum .f2in-forum__title, .f2in-pq .f2in-forum__title { margin: 0; font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; color: var(--vert); text-transform: none; }
.f2in-forum__title::after { content: ""; display: block; width: 132px; height: 5px; margin: 22px auto 0; background: linear-gradient(90deg, var(--vert) 0 25%, var(--or) 25% 50%, var(--orange) 50% 75%, var(--bleu) 75% 100%); }
.f2in-forum__sous { margin: 0; font-family: Montserrat, sans-serif; font-weight: 700; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.3; color: var(--vif); max-width: 32ch; text-wrap: balance; }
.f2in-forum__texte { margin: 0; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; color: var(--gris); max-width: 64ch; text-wrap: pretty; }

/* Cartes, numéro géant en filigrane */
.f2in-forum__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.f2in-forum__card { --c: var(--vert); position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: start; gap: 12px; min-height: 230px; padding: 34px 30px 32px; background: #fff; border-radius: 18px; border-top: 5px solid var(--c); box-shadow: 0 14px 40px -18px rgba(0, 64, 47, .28); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.f2in-forum__card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -18px rgba(0, 64, 47, .34); }
.f2in-forum__card--2 { --c: var(--or); }
.f2in-forum__card--3 { --c: var(--orange); }
.f2in-forum__num { position: absolute; z-index: -1; right: -6px; bottom: -34px; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 190px; line-height: 1; letter-spacing: -.06em; color: var(--c); opacity: .12; pointer-events: none; user-select: none; }
.f2in-forum .f2in-forum__card-t { margin: 0; font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; color: var(--vert-f); text-transform: none; }
.f2in-forum__card-x { margin: 0; font-size: 16px; line-height: 1.6; color: var(--gris); max-width: 36ch; }

/* Chiffres clés en cercles, texte centré */
.f2in-forum__chiffres { list-style: none; margin: 0; padding: 16px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.f2in-forum__chiffre { --c: var(--vert); --t: #fff; --halo: rgba(0, 92, 69, .14); display: grid; justify-items: center; gap: 16px; text-align: center; }
.f2in-forum__chiffre--2 { --c: var(--bleu); --halo: rgba(49, 105, 177, .16); }
.f2in-forum__chiffre--3 { --c: var(--or); --halo: rgba(246, 185, 30, .28); }
.f2in-forum__chiffre--4 { --c: var(--orange); --halo: rgba(234, 83, 35, .16); }
.f2in-forum__cercle { width: clamp(156px, 15vw, 204px); aspect-ratio: 1; border-radius: 50%; background: var(--c); color: var(--t); box-shadow: 0 0 0 16px var(--halo); display: grid; place-content: center; justify-items: center; gap: 6px; padding: 18px; }
a.f2in-forum__cercle { text-decoration: none; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
/* Halo permanent (sélecteur renforcé : Elementor annule box-shadow sur les liens) */
.f2in-forum .f2in-forum__chiffre .f2in-forum__cercle { box-shadow: 0 0 0 16px var(--halo); }
.f2in-forum .f2in-forum__chiffre a.f2in-forum__cercle:hover, .f2in-forum .f2in-forum__chiffre a.f2in-forum__cercle:focus-visible { color: var(--t); transform: scale(1.05); box-shadow: 0 0 0 16px var(--halo), 0 18px 40px -16px rgba(0, 64, 47, .45); }
.f2in-forum__v, .f2in-forum__l { color: #fff; }
a.f2in-forum__cercle:focus-visible { outline: 3px solid var(--orange); outline-offset: 20px; }
#pays-invites { scroll-margin-top: 140px; }
.f2in-forum__v { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(48px, 4.4vw, 64px); line-height: 1; letter-spacing: -.04em; }
.f2in-forum__l { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; line-height: 1.25; max-width: 14ch; }

@media (max-width: 1024px) {
	.f2in-forum__cards { grid-template-columns: minmax(0, 1fr); }
	.f2in-forum__chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .f2in-forum__chiffres { gap: 40px 12px; } .f2in-forum .f2in-forum__chiffre .f2in-forum__cercle { width: 120px; padding: 10px; box-shadow: 0 0 0 12px var(--halo); } .f2in-forum__v { font-size: 36px; } .f2in-forum__l { font-size: 12px; } .f2in-forum__num { font-size: 150px; } }
@media (prefers-reduced-motion: reduce) { .f2in-forum__card, .f2in-forum__card:hover, a.f2in-forum__cercle, a.f2in-forum__cercle:hover { transition: none; transform: none; } }

/* ===================== Section « Pourquoi investir au Niger ? » (harmonisée avec « Le forum ») ===================== */
.f2in-pq { --vert: #005c45; --vert-f: #00402f; --vif: #00993c; --or: #f6b91e; --orange: #ea5323; --bleu: #3169b1;
	position: relative; width: 100%; background: linear-gradient(160deg, #005c45 0%, #00402f 100%); color: #fff; padding: clamp(56px, 7vw, 104px) clamp(20px, 4vw, 56px); font-family: Lato, system-ui, sans-serif; }
.f2in-pq *, .f2in-pq *::before, .f2in-pq *::after { box-sizing: border-box; }
/* Motif « vagues » (pattern-vagues-v3-tile, tracé en lignes blanches) par-dessus le dégradé vert, qui reste inchangé */
.f2in-pq { isolation: isolate; }
.f2in-pq::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("pattern-vagues-lignes.svg") repeat center top / 600px 400px; opacity: .05; }
.f2in-pq__wrap { max-width: 1240px; margin: 0 auto; display: grid; gap: clamp(40px, 5vw, 64px); }
.f2in-pq .f2in-pq__title { color: #fff; }
.f2in-pq .f2in-forum__title::after { background: linear-gradient(90deg, var(--or) 0 25%, var(--orange) 25% 50%, var(--vif) 50% 75%, var(--bleu) 75% 100%); }
.f2in-pq .f2in-pq__sous { color: var(--or); }
.f2in-pq .f2in-pq__texte { color: rgba(255, 255, 255, .86); }
/* Sous-titre et texte sur une seule ligne quand la largeur le permet */
.f2in-pq .f2in-pq__sous, .f2in-pq .f2in-pq__texte { max-width: none; text-wrap: wrap; }
@media (min-width: 900px) { .f2in-pq .f2in-pq__sous { white-space: nowrap; } }
/* Texte centré sur 2 lignes équilibrées */
.f2in-pq .f2in-pq__texte { max-width: 760px; text-wrap: balance; }
.f2in-pq__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
/* Atouts numérotés */
.f2in-pq__atouts { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.f2in-pq__atouts li { display: flex; gap: 22px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-family: Montserrat, sans-serif; font-weight: 700; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.35; color: #fff; transition: padding-left .3s cubic-bezier(.2, .7, .2, 1), background .3s; }
.f2in-pq__atouts li:hover { padding-left: 14px; background: rgba(255, 255, 255, .04); }
.f2in-pq__n { flex: none; font-weight: 800; font-size: 14px; letter-spacing: .04em; color: var(--or); }
/* Chiffres sourcés, en cartes comme celles de « Le forum » */
.f2in-pq__stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.f2in-pq__stat { --c: var(--or); position: relative; display: grid; align-content: start; gap: 10px; padding: 26px 26px 24px; background: rgba(255, 255, 255, .2); border-radius: 18px; border-top: 5px solid var(--c); }
.f2in-pq__stat--2 { --c: var(--orange); }
.f2in-pq__stat--3 { --c: var(--vif); }
.f2in-pq__stat--4 { --c: var(--bleu); }
.f2in-pq__v { margin: 0; font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.035em; color: #fff; }
.f2in-pq__l { margin: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.f2in-pq__s { font-size: 12px; color: rgba(255, 255, 255, .62); }
@media (max-width: 1024px) { .f2in-pq__body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .f2in-pq__stats { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .f2in-pq__atouts li { transition: none; } }

/* ===================== Section Elementor « Secteurs clés d'investissement » : mêmes tailles que « Le forum » et « Pourquoi investir » ===================== */
body .elementor-37 .elementor-element.elementor-element-c731737 { --padding-top: clamp(56px, 7vw, 104px); --padding-bottom: clamp(56px, 7vw, 104px); --gap: clamp(18px, 2vw, 24px); }
body .elementor-element-c731737 .elementor-element-e0278a8 .elementor-heading-title { font-family: Montserrat, sans-serif !important; font-weight: 800 !important; font-size: clamp(44px, 6vw, 84px) !important; line-height: 1 !important; letter-spacing: -.035em !important; color: #005c45 !important; text-align: center !important; text-transform: none !important; }
body .elementor-element-c731737 .elementor-element-e0278a8 .elementor-heading-title::after { content: ""; display: block; width: 132px; height: 5px; margin: 22px auto 0; background: linear-gradient(90deg, #005c45 0 25%, #f6b91e 25% 50%, #ea5323 50% 75%, #3169b1 75% 100%); }
body .elementor-element-c731737 .elementor-element-e8d361a { max-width: 760px; margin-inline: auto !important; }
body .elementor-element-c731737 .elementor-element-e8d361a, body .elementor-element-c731737 .elementor-element-e8d361a p { font-family: Lato, system-ui, sans-serif !important; font-size: clamp(16px, 1.2vw, 18px) !important; line-height: 1.7 !important; color: #33384a !important; text-align: center !important; text-wrap: balance; }
body .elementor-element-c731737 .elementor-element-e8d361a p:last-child { margin-bottom: 0; }

/* ===================== Pays invités d'honneur et pays invités spéciaux : drapeaux posés sur la page, sans carte ===================== */
#pays-invites .f2in-card, .elementor-element-e123efc .f2in-card { background: transparent; box-shadow: none; border: 0; transform: none; }
#pays-invites .f2in-card:hover, .elementor-element-e123efc .f2in-card:hover { transform: none; box-shadow: none; }
#pays-invites .f2in-card img, .elementor-element-e123efc .f2in-card img {
	width: 132px !important; max-width: 100%; block-size: auto; border-radius: 6px;
	filter: drop-shadow(0 16px 14px rgba(0, 64, 47, .18));
}
#pays-invites .f2in-card .elementor-widget-image, .elementor-element-e123efc .f2in-card .elementor-widget-image { width: 100%; }

/* ===================== Accueil : un seul style de titre de section ===================== */
:root { --f2in-titre-taille: clamp(36px, 4.2vw, 60px); }
.f2in-forum .f2in-forum__title, .f2in-pq .f2in-forum__title { font-size: var(--f2in-titre-taille); letter-spacing: -.03em; }
body .elementor-element-c731737 .elementor-element-e0278a8 .elementor-heading-title { font-size: var(--f2in-titre-taille) !important; letter-spacing: -.03em !important; }
body .elementor-element-5dfb4ca h2.elementor-heading-title,
body .elementor-element-e123efc h2.elementor-heading-title,
body .elementor-element-b112b9f h2.elementor-heading-title { font-family: Montserrat, sans-serif !important; font-weight: 800 !important; font-size: var(--f2in-titre-taille) !important; line-height: 1 !important; letter-spacing: -.03em !important; color: #005c45 !important; text-align: center !important; text-transform: none !important; }
body .elementor-element-5dfb4ca h2.elementor-heading-title::after,
body .elementor-element-e123efc h2.elementor-heading-title::after,
body .elementor-element-b112b9f h2.elementor-heading-title::after { content: ""; display: block; width: 132px; height: 5px; margin: 22px auto 0; background: linear-gradient(90deg, #005c45 0 25%, #f6b91e 25% 50%, #ea5323 50% 75%, #3169b1 75% 100%); }
body .elementor-element-5dfb4ca .elementor-widget-heading + .elementor-widget-text-editor,
body .elementor-element-e123efc .elementor-widget-heading + .elementor-widget-text-editor,
body .elementor-element-b112b9f .elementor-widget-heading + .elementor-widget-text-editor { max-width: 760px; margin-inline: auto !important; }
body .elementor-element-5dfb4ca .elementor-widget-heading + .elementor-widget-text-editor p,
body .elementor-element-e123efc .elementor-widget-heading + .elementor-widget-text-editor p,
body .elementor-element-b112b9f .elementor-widget-heading + .elementor-widget-text-editor p { font-family: Lato, system-ui, sans-serif !important; font-size: clamp(16px, 1.2vw, 18px) !important; line-height: 1.7 !important; color: #33384a !important; text-align: center !important; text-wrap: balance; margin-block: 0; }

/* ===================== Hero : diaporama des images de fond ===================== */
.f2in-hero__bg--diapo img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.06); }
.f2in-hero__bg--diapo img.is-actif { opacity: 1; animation: f2inHeroDiapo var(--f2in-diapo, 7s) linear both; }
@keyframes f2inHeroDiapo { from { transform: scale(1.06); } to { transform: scale(1); } }
.f2in-hero__puces { position: absolute; z-index: 3; inset-block-end: 22px; inset-inline-end: clamp(16px, 4vw, 56px); display: flex; gap: 8px; }
.f2in-hero .f2in-hero__puce { position: relative; display: block; inline-size: 34px; block-size: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; box-shadow: none; }
.f2in-hero .f2in-hero__puce span { position: absolute; inset-inline: 0; inset-block-start: 7px; block-size: 4px; border-radius: 4px; background: rgba(0, 64, 47, .22); overflow: hidden; transition: background .3s; }
.f2in-hero .f2in-hero__puce:hover span { background: rgba(0, 64, 47, .4); }
.f2in-hero .f2in-hero__puce span::after { content: ""; position: absolute; inset: 0; background: #005c45; transform: scaleX(0); transform-origin: left; }
.f2in-hero .f2in-hero__puce.is-actif span::after { animation: f2inHeroPuce var(--f2in-diapo, 7s) linear both; }
@keyframes f2inHeroPuce { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .f2in-hero__bg--diapo img { transition: none; animation: none !important; transform: none; } }

/* ===================== Hero : fond sombre (images assombries, voiles vert nuit, textes clairs) ===================== */
.f2in-hero { background: #00291e !important; }
.f2in-hero__bg--diapo { filter: brightness(.55) saturate(1.1); }
.f2in-hero .f2in-hero__veil { inset: 0; background: linear-gradient(100deg, rgba(0,41,30,.85) 0%, rgba(0,41,30,.65) 40%, rgba(0,41,30,.25) 75%, rgba(0,41,30,.1) 100%) !important; }
.f2in-hero .f2in-hero__veil2 { inset: auto 0 0 0; height: 42%; background: linear-gradient(0deg, rgba(0,41,30,.9), rgba(0,41,30,0)) !important; }
.f2in-hero .f2in-hero__title { color: #fff !important; }
.f2in-hero .f2in-hero__lead p { color: rgba(255,255,255,.85) !important; }
.f2in-hero .f2in-hero__lead strong { color: #f6b91e !important; }
.f2in-hero .f2in-hero__eyebrow { color: rgba(255,255,255,.85); }
.f2in-hero .f2in-hero__eyebrow > span:last-child { color: rgba(255,255,255,.85) !important; }
.f2in-hero .f2in-hero__badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
/* Bouton « Voir les opportunités » : contour blanc épais, fond verre, plein blanc au survol */
.f2in-hero a.f2in-hero__cta--ghost { background: rgba(255,255,255,.14) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff !important; border: 2px solid #fff !important; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.f2in-hero a.f2in-hero__cta--ghost:hover, .f2in-hero a.f2in-hero__cta--ghost:focus-visible { background: #fff !important; color: #00402f !important; border-color: #fff !important; }
/* Puces du diaporama sur fond sombre */
.f2in-hero .f2in-hero__puce span { background: rgba(255,255,255,.3); }
.f2in-hero .f2in-hero__puce:hover span { background: rgba(255,255,255,.5); }
.f2in-hero .f2in-hero__puce span::after { background: #f6b91e; }
/* Menu transparent en haut de l'accueil : liens et logo en blanc */
body.home #site-header:not(.is-defile) .site-navigation ul.menu > li > a { color: #fff !important; }
body.home #site-header:not(.is-defile) .site-navigation ul.menu > li.menu-item-has-children::after { color: #fff !important; }
body.home #site-header:not(.is-defile) .custom-logo { filter: brightness(0) invert(1); }
body.home #site-header:not(.is-defile) .site-navigation-toggle { color: #fff; }
/* Bandeau + menu + hero = hauteur de l'écran */
body.home .f2in-hero { box-sizing: border-box; min-height: max(560px, calc(100svh - var(--f2in-bh, 0px) - var(--wp-admin--admin-bar--height, 0px))); }
@media (max-width: 767px) {
	.f2in-hero .f2in-hero__veil { background: linear-gradient(180deg, rgba(0,41,30,.75), rgba(0,41,30,.6)) !important; }
}

/* Partenaires : cartes cliquables vers le site de chaque institution */
body .elementor-element-b112b9f .f2in-card { transition: transform .25s, box-shadow .25s; }
body .elementor-element-b112b9f .f2in-card:has(a:hover) { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 64, 47, .14); }
body .elementor-element-b112b9f .f2in-card .elementor-heading-title a { color: inherit; text-decoration: none; }
body .elementor-element-b112b9f .f2in-card .elementor-heading-title a:hover { color: #ea5323; }
body .elementor-element-b112b9f .f2in-card a:focus-visible { outline: 3px solid #ea5323; outline-offset: 4px; border-radius: 6px; }

/* ===================== Accueil : pays participants (drapeaux selon les inscriptions) ===================== */
.f2in-pays { padding: clamp(56px, 7vw, 104px) clamp(16px, 4vw, 48px); background: #fff; text-align: center; font-family: Lato, system-ui, sans-serif; }
.f2in-pays__tete { display: grid; justify-items: center; gap: 18px; max-width: 900px; margin: 0 auto clamp(32px, 4vw, 48px); }
.f2in-pays .f2in-pays__titre { margin: 0; font-family: Montserrat, sans-serif; font-weight: 800; font-size: var(--f2in-titre-taille, clamp(36px, 4.2vw, 60px)); line-height: 1; letter-spacing: -.03em; color: #005c45; text-transform: none; }
.f2in-pays__titre::after { content: ""; display: block; width: 132px; height: 5px; margin: 22px auto 0; background: linear-gradient(90deg, #005c45 0 25%, #f6b91e 25% 50%, #ea5323 50% 75%, #3169b1 75% 100%); }
.f2in-pays__sous { margin: 0; max-width: 760px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; color: #33384a; text-wrap: balance; }
.f2in-pays__sous strong { color: #005c45; }
.f2in-pays__liste { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 24px; }
.f2in-pays__item { flex: 0 0 140px; }
.f2in-pays__item { display: grid; justify-items: center; gap: 12px; margin: 0; }
.f2in-pays__item img { display: block; width: 104px; height: auto; border-radius: 6px; filter: drop-shadow(0 12px 12px rgba(0, 64, 47, .18)); }
.f2in-pays__item span { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 15px; line-height: 1.25; color: #005c45; }
.f2in-pays__cta { margin: clamp(32px, 4vw, 48px) 0 0; }
body .f2in-pays .f2in-pays__cta a { display: inline-flex; align-items: center; gap: 8px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 15px; color: #005c45; text-decoration: none; border-bottom: 2px solid #f6b91e; padding-bottom: 2px; box-shadow: none; }
body .f2in-pays .f2in-pays__cta a:hover { color: #ea5323; border-color: #ea5323; }
@media (max-width: 640px) { .f2in-pays__liste { gap: 24px 12px; } .f2in-pays__item { flex-basis: calc((100% - 24px) / 3); } .f2in-pays__item img { width: 76px; } .f2in-pays__item span { font-size: 13px; } }
/* Section pays vide (aucun pays hors Niger) : le conteneur Elementor disparaît */
.elementor-element-f2inpays:not(:has(.f2in-pays)) { display: none !important; }

/* Bouton « Rencontres B2B / G2G » sous les cercles du bloc Le forum */
.f2in-forum__rdv { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-block-start: 8px; padding: 22px 28px; border-radius: 999px; background: #eef6f2; border: 1px solid #cfe5da; text-align: center; }
.f2in-forum__rdv-x { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.5; color: #1a1a2e; text-align: left; }
.f2in-forum__rdv-x strong { color: #005c45; }
.f2in-forum a.f2in-forum__rdv-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: #005c45; color: #fff; font: 700 16px/1.2 Montserrat, Arial, sans-serif; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(0, 64, 47, .6); transition: background .25s, transform .25s; }
.f2in-forum a.f2in-forum__rdv-btn:hover, .f2in-forum a.f2in-forum__rdv-btn:focus-visible { background: #00402f; color: #fff; transform: translateY(-2px); }
.f2in-forum a.f2in-forum__rdv-btn:focus-visible { outline: 3px solid var(--orange, #ea5323); outline-offset: 3px; }
@media (max-width: 760px) { .f2in-forum__rdv { border-radius: 20px; padding: 20px; } .f2in-forum__rdv-x { text-align: center; } }
@media (prefers-reduced-motion: reduce) { .f2in-forum a.f2in-forum__rdv-btn { transition: none; transform: none; } }

.f2in-forum__rdv-x { display: grid; gap: 4px; }
.f2in-forum__rdv-x strong.f2in-forum__rdv-t { display: flex; align-items: center; gap: 10px; font: 800 clamp(20px, 2vw, 24px)/1.2 Montserrat, Arial, sans-serif; color: #005c45; letter-spacing: -.01em; }
.f2in-forum__rdv-x strong.f2in-forum__rdv-t::before { content: ""; flex: none; inline-size: 10px; block-size: 10px; border-radius: 50%; background: #ea5323; box-shadow: 0 0 0 4px rgba(234, 83, 35, .2); }
@media (max-width: 760px) { .f2in-forum__rdv-x strong.f2in-forum__rdv-t { justify-content: center; } }

/* Partenaires institutionnels : cartes centrées quel que soit leur nombre */
.elementor-element-7cbb93b.e-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 320px)) !important; justify-content: center !important; }

/* ---------- Section « Au programme » (2.5.0) : cartes photo, face qui s'efface en diagonale ---------- */
.f2in-forum.f2in-prog { background: #fff; border-top: 1px solid #e3ebe7; }
.f2in-prog__theme { display: grid; gap: 6px; margin: 0; max-width: 62ch; font-family: Montserrat, sans-serif; font-weight: 600; font-style: italic; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; color: var(--vert-f); text-wrap: balance; }
.f2in-prog__theme span { font-style: normal; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.f2in-prog__cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.f2in-prog__carte { position: relative; isolation: isolate; overflow: hidden; min-height: 340px; border-radius: 18px; background: transparent; box-shadow: 0 16px 40px -22px rgba(0, 64, 47, .55); outline: none; cursor: pointer; }
.f2in-prog__carte:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--orange); }
/* Dos : texte et bouton */
.f2in-prog__dos { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 28px 24px; color: #fff; background: linear-gradient(160deg, #005c45 0%, #00402f 100%); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); transition: clip-path .3s ease; }
/* Coin réellement ouvert au repos : on voit le fond de la page derrière le rabat */
.f2in-prog__carte:hover .f2in-prog__dos, .f2in-prog__carte:focus-within .f2in-prog__dos, .f2in-prog__carte.is-ouverte .f2in-prog__dos { clip-path: polygon(0 0, 100% 0, 100% 0, 100% 100%, 0 100%); }
.f2in-forum .f2in-prog__dos .f2in-prog__carte-t { margin: 0; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 20px; line-height: 1.25; color: #fff; text-transform: none; }
.f2in-prog__dos .f2in-prog__carte-x { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.f2in-forum .f2in-prog__lien { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 6px; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--or); color: var(--vert-f); font: 700 14px/1.2 Montserrat, sans-serif; text-decoration: none; cursor: pointer; transition: background .25s, transform .25s; }
.f2in-forum .f2in-prog__lien:hover, .f2in-forum .f2in-prog__lien:focus-visible { background: #fff; color: var(--vert-f); transform: translateY(-2px); }
.f2in-forum .f2in-prog__lien:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.f2in-prog__lien svg { inline-size: 16px; block-size: 16px; }
/* Face : photo + titre ; s'efface du coin haut droit vers le coin bas gauche */
.f2in-prog__face { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 26px 24px; background-color: #00402f; background-size: cover; background-position: center; clip-path: polygon(0 100%, 0 calc(100% - var(--s0, 200%)), var(--s0, 200%) 100%); transition: clip-path .7s cubic-bezier(.65, 0, .35, 1); }
.f2in-prog__face::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 41, 30, 0) 35%, rgba(0, 41, 30, .82) 100%); }
.f2in-prog__face-t { position: relative; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 21px; line-height: 1.2; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
/* Coin corné (2.6.2) : la face est un triangle ancré en bas à gauche dont l'hypotenuse (45°) entame le coin haut droit
   de 34 px (--s0 = largeur + hauteur - 34, calculé par programme.js). Au survol, le même triangle se réduit jusqu'au coin bas gauche. */
.f2in-prog__carte:hover .f2in-prog__face, .f2in-prog__carte:focus-within .f2in-prog__face, .f2in-prog__carte.is-ouverte .f2in-prog__face { clip-path: polygon(0 100%, 0 100%, 0 100%); }
.f2in-prog__carte::after { content: ""; position: absolute; top: 0; right: 0; z-index: 3; inline-size: 34px; block-size: 34px; background: linear-gradient(to bottom left, transparent 49.5%, #c3d3cb 50%, #eef3f0 62%, #ffffff 82%, #f3f6f4 100%); border-bottom-left-radius: 12px; filter: drop-shadow(-2px 3px 3px rgba(0, 41, 30, .32)); pointer-events: none; animation: f2in-prog-pli 4.8s ease-in-out infinite; transition: opacity .25s ease; }
.f2in-prog__carte:nth-child(2n)::after { animation-delay: -1.2s; }
.f2in-prog__carte:nth-child(3n)::after { animation-delay: -2.6s; }
@keyframes f2in-prog-pli { 0%, 70%, 100% { transform: none; filter: drop-shadow(-2px 3px 3px rgba(0, 41, 30, .32)); } 82% { transform: translate(-1.5px, 1.5px); filter: drop-shadow(-4px 6px 5px rgba(0, 41, 30, .4)); } }
.f2in-prog__carte:hover::after, .f2in-prog__carte:focus-within::after, .f2in-prog__carte.is-ouverte::after { opacity: 0; animation: none; }
/* Dos : apparition légèrement retardée */
.f2in-prog__dos > * { opacity: 0; transform: translateY(10px); transition: opacity .35s ease .2s, transform .35s ease .2s; }
.f2in-prog__carte:hover .f2in-prog__dos > *, .f2in-prog__carte:focus-within .f2in-prog__dos > *, .f2in-prog__carte.is-ouverte .f2in-prog__dos > * { opacity: 1; transform: none; }
/* Fenêtre des thématiques */
.f2in-prog__modal { inline-size: min(680px, calc(100% - 32px)); max-block-size: calc(100% - 32px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: #fff; color: #1a1a2e; box-shadow: 0 30px 80px -20px rgba(0, 41, 30, .5); }
.f2in-prog__modal::backdrop { background: rgba(0, 41, 30, .72); backdrop-filter: blur(3px); }
.f2in-prog__modal-boite { position: relative; padding: 34px clamp(22px, 4vw, 40px) 30px; border-top: 6px solid #f6b91e; font-family: Lato, system-ui, sans-serif; }
.f2in-prog__modal-sur { margin: 0 0 6px; font: 800 12px/1.2 Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #ea5323; }
.f2in-forum .f2in-prog__modal-t, .f2in-prog__modal-t { margin: 0 0 18px; padding-right: 44px; font: 800 clamp(24px, 2.4vw, 30px)/1.15 Montserrat, sans-serif; color: #005c45; text-transform: none; }
.f2in-prog__modal-liste { margin: 0; padding: 0; list-style: none; counter-reset: th; display: grid; gap: 10px; }
.f2in-prog__modal-liste li { counter-increment: th; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: #f4f7fb; font-size: 16px; line-height: 1.5; color: #33384a; }
.f2in-prog__modal-liste li::before { content: counter(th); display: grid; place-items: center; inline-size: 30px; block-size: 30px; border-radius: 50%; background: #005c45; color: #fff; font: 800 14px/1 Montserrat, sans-serif; }
.f2in-forum .f2in-prog__fermer { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; inline-size: 40px; block-size: 40px; padding: 0; border: 0; border-radius: 50%; background: #eef6f2; color: #005c45; cursor: pointer; }
.f2in-prog__fermer svg { inline-size: 20px; block-size: 20px; transform: rotate(45deg); }
.f2in-forum .f2in-prog__fermer:hover, .f2in-forum .f2in-prog__fermer:focus-visible { background: #005c45; color: #fff; }
.f2in-prog__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.f2in-forum a.f2in-prog__btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 2px solid var(--vert); color: var(--vert); background: #fff; font: 700 16px/1.2 Montserrat, sans-serif; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.f2in-forum a.f2in-prog__btn--plein { background: var(--vert); color: #fff; }
.f2in-forum a.f2in-prog__btn:hover, .f2in-forum a.f2in-prog__btn:focus-visible { background: var(--vert-f); border-color: var(--vert-f); color: #fff; transform: translateY(-2px); }
.f2in-prog__btn svg { inline-size: 18px; block-size: 18px; }
@media (max-width: 1100px) { .f2in-prog__cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .f2in-prog__cartes { grid-template-columns: 1fr; } .f2in-prog__carte { min-height: 300px; } }
@media (prefers-reduced-motion: reduce) {
	.f2in-prog__face { transition: opacity .2s; }
	.f2in-prog__carte:hover .f2in-prog__face, .f2in-prog__carte:focus-within .f2in-prog__face, .f2in-prog__carte.is-ouverte .f2in-prog__face { clip-path: none; opacity: 0; }
	.f2in-prog__dos > * { transition: none; transform: none; }
	.f2in-forum a.f2in-prog__btn, .f2in-forum .f2in-prog__lien { transition: none; }
}

/* Sous-titres de section sur une seule ligne en grand écran */
@media (min-width: 1024px) { .f2in-forum__sous { max-width: none; white-space: nowrap; } }

/* Chiffres longs (« 1 000 », « 5 500 ») : une seule ligne dans le cercle */
.f2in-forum__v { white-space: nowrap; }
.f2in-forum__v.f2in-forum__v--long { font-size: clamp(38px, 3.3vw, 50px); letter-spacing: -.05em; }
@media (max-width: 480px) { .f2in-forum__v.f2in-forum__v--long { font-size: 28px; } }

@media (prefers-reduced-motion: reduce) {
	.f2in-prog__carte::after { animation: none; }
}
