/* Page « Impact chez HAA » */
:root { --ih-green: var(--dark-green, #09871b); --ih-green-soft: #eaf6ee; --ih-ink: #17241a; --ih-muted: #5d6d63; --ih-line: #e3ebe6; --ih-orange: #ff5c00; }

.ih-head { text-align: center; max-width: 720px; margin: 0 auto 2.4rem; }
.ih-head .eyebrow { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ih-orange); margin-bottom: .5rem; }
.ih-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; margin: 0 0 .6rem; color: var(--ih-ink); }
.ih-head p { color: var(--ih-muted); margin: 0; line-height: 1.7; }
.ih-head .bar { width: 56px; height: 4px; border-radius: 4px; margin: 0 auto 1rem; background: linear-gradient(90deg, var(--ih-green), var(--ih-orange)); }

/* ---- Chiffres clés ---- */
.ih-kpis { background: linear-gradient(180deg, #f3faf5 0%, #fff 100%); padding: 3.5rem 0 3rem; }
.ih-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 992px) { .ih-kpi-grid { grid-template-columns: repeat(2, 1fr); } .ih-kpi.hero { grid-row: auto; } }
@media (max-width: 420px) { .ih-kpi-grid { grid-template-columns: 1fr; } }
.ih-kpi { position: relative; background: #fff; border: 1px solid var(--ih-line); border-radius: 18px; padding: 1.5rem 1.4rem 1.35rem; display: flex; flex-direction: column; gap: .35rem; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.ih-kpi:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,36,26,.1); }
.ih-kpi::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ih-green); opacity: .85; }
.ih-kpi .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--ih-green-soft); color: var(--ih-green); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: .6rem; }
.ih-kpi .num { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--ih-ink); margin: 0; }
.ih-kpi .lbl { font-size: .9rem; color: var(--ih-muted); line-height: 1.4; margin: 0; }
/* Carte phare : bénéficiaires */
.ih-kpi.hero { grid-column: span 2; grid-row: span 2; justify-content: center; background: linear-gradient(135deg, #09871b 0%, #0f9a2a 60%, #19a05b 100%); color: #fff; border: none; padding: 1.8rem 1.8rem 1.6rem; }
.ih-kpi.hero::after { display: none; }
.ih-kpi.hero .ic { background: rgba(255,255,255,.18); color: #fff; width: 54px; height: 54px; font-size: 1.5rem; }
.ih-kpi.hero .num { color: #fff; font-size: clamp(2.6rem, 5vw, 3.8rem); }
.ih-kpi.hero .lbl { color: rgba(255,255,255,.9); font-size: 1rem; }
.ih-kpi.hero::before { content: ''; position: absolute; right: -50px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
@media (max-width: 420px) { .ih-kpi.hero { grid-column: auto; } }
.ih-note { text-align: center; font-size: .78rem; color: var(--ih-muted); margin: 1.4rem 0 0; }

/* ---- Rapports ---- */
.ih-reports { background: #f4f7f5; padding: 3.5rem 0; }
.ih-rep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 992px) { .ih-rep-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ih-rep-grid { grid-template-columns: 1fr; } }
.ih-rep { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ih-line); border-radius: 18px; padding: 1.4rem 1.4rem 1.25rem; transition: transform .22s ease, box-shadow .22s ease; height: 100%; }
.ih-rep:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,36,26,.1); }
.ih-rep-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.ih-rep-ic { width: 48px; height: 48px; border-radius: 13px; background: #fdecec; color: #d6342b; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.ih-tag { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ih-green); background: var(--ih-green-soft); border-radius: 999px; padding: .3rem .75rem; }
.ih-rep h3 { font-size: 1.02rem; line-height: 1.4; font-weight: 700; margin: 0 0 .5rem; color: var(--ih-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.2em; }
.ih-rep p { font-size: .86rem; line-height: 1.6; color: var(--ih-muted); margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; min-height: 4.1em; }
.ih-rep-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-top: 1px solid var(--ih-line); padding-top: 1rem; }
.ih-rep-foot time { font-size: .8rem; color: var(--ih-muted); display: flex; align-items: center; gap: .4rem; }
.ih-dl { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .82rem; text-decoration: none; color: #fff; background: var(--ih-green); border-radius: 10px; padding: .55rem 1rem; transition: background .2s; }
.ih-dl:hover { background: #076816; color: #fff; }
.ih-dl.off { background: #eef2f0; color: #8a9a90; pointer-events: none; }
.ih-pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.ih-pager a, .ih-pager span { min-width: 40px; height: 40px; padding: 0 .6rem; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; text-decoration: none; border: 1px solid var(--ih-line); background: #fff; color: var(--ih-green); }
.ih-pager a:hover { background: var(--ih-green-soft); }
.ih-pager .on { background: var(--ih-green); color: #fff; border-color: var(--ih-green); }
.ih-pager .off { color: #b3beb7; background: #f7f9f8; }

/* ---- Financement ---- */
.ih-fund { padding: 3.5rem 0; }
.ih-fund-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 1.5rem; align-items: stretch; }
@media (max-width: 992px) { .ih-fund-grid { grid-template-columns: 1fr; } }
.ih-panel { background: #fff; border: 1px solid var(--ih-line); border-radius: 20px; padding: 1.8rem; height: 100%; box-shadow: 0 4px 18px rgba(23,36,26,.04); }
.ih-panel h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 1.4rem; display: flex; align-items: center; gap: .6rem; }
.ih-panel h3 i { color: var(--ih-green); }
.ih-stack { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: #eef2f0; margin-bottom: 1.4rem; }
.ih-stack span { display: block; height: 100%; }
.ih-legend { list-style: none; margin: 0; padding: 0; }
.ih-legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--ih-line); font-size: .9rem; }
.ih-legend li:last-child { border-bottom: none; }
.ih-legend i { width: 14px; height: 14px; border-radius: 4px; display: block; }
.ih-legend b { font-size: 1rem; }
.ih-callout { margin-top: 1.2rem; background: var(--ih-green-soft); border-radius: 12px; padding: .9rem 1.1rem; font-size: .84rem; line-height: 1.55; color: #1f4f2a; display: flex; gap: .7rem; }
.ih-callout i { margin-top: .15rem; }

.ih-gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
@media (max-width: 600px) { .ih-gifts { grid-template-columns: repeat(2, 1fr); } }
.ih-gift { background: #f7faf8; border: 1px solid var(--ih-line); border-radius: 14px; padding: 1.15rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; transition: all .2s ease; }
.ih-gift:hover { background: #fff; border-color: #b9dcc4; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(23,36,26,.08); }
.ih-gift .ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--ih-green); border: 1px solid var(--ih-line); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.ih-gift .amt { font-size: 1.45rem; font-weight: 800; color: var(--ih-orange); line-height: 1; }
.ih-gift p { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--ih-muted); }

/* ---- Transparence ---- */
.ih-trans { margin-top: 1.5rem; background: linear-gradient(135deg, #17241a 0%, #1f3a26 100%); color: #fff; border-radius: 22px; padding: 2.2rem 2.4rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
@media (max-width: 768px) { .ih-trans { grid-template-columns: 1fr; padding: 1.7rem 1.4rem; } }
.ih-trans h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 .5rem; }
.ih-trans p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.7; max-width: 640px; }
.ih-trans .btns { display: flex; gap: .7rem; flex-wrap: wrap; }
.ih-trans .btns a { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.3rem; border-radius: 11px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.ih-trans .btns a.p { background: #fff; color: var(--ih-green); }
.ih-trans .btns a.p:hover { background: var(--ih-green-soft); }
.ih-trans .btns a.g { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.ih-trans .btns a.g:hover { background: rgba(255,255,255,.1); }
