/*
Theme Name: Kadiwaku Foundation
Theme URI: https://kadiwaku-drc.org
Author: Kadiwaku Foundation DRC
Author URI: https://kadiwaku-drc.org
Description: Thème officiel de la Kadiwaku Foundation v9 — Bilingue FR/EN — Inclusion sociale et économique des jeunes handicapés en RDC
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadiwaku
Tags: accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===========================
   VARIABLES & RESET
=========================== */
:root {
    --kf-blue: #29ABE2;
    --kf-red: #ED1C24;
    --kf-yellow: #FFC20E;
    --kf-dark: #1a1a2e;
    --kf-gray: #6c757d;
    --kf-light: #f8f9fa;
    --kf-white: #ffffff;
    --kf-blue-dark: #1a8ab5;
    --kf-red-dark: #c0151b;
    --font-primary: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--kf-dark);
    line-height: 1.7;
    background: var(--kf-white);
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--kf-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
a { color: var(--kf-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--kf-blue-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ===========================
   UTILITIES
=========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.text-white { color: var(--kf-white) !important; }
.text-blue { color: var(--kf-blue); }
.text-red { color: var(--kf-red); }

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 120px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
/* Standalone .label — used across front-page sections */
.label {
    display: inline-block;
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-header .label {
    display: inline-block;
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; color: var(--kf-gray); font-size: 1.1rem; }

.divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--kf-blue), var(--kf-red));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border: none; cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(41,171,226,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41,171,226,0.5);
    color: white;
}
.btn-danger {
    background: linear-gradient(135deg, var(--kf-red), var(--kf-red-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(237,28,36,0.4);
}
.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237,28,36,0.5);
    color: white;
}
.btn-outline {
    background: transparent;
    color: var(--kf-blue);
    border: 2px solid var(--kf-blue);
}
.btn-outline:hover { background: var(--kf-blue); color: white; }
.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.btn-outline-white:hover { background: white; color: var(--kf-blue); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ===========================
   TOP BAR
=========================== */
/* ===========================
   TOPBAR
=========================== */
.topbar {
    background: var(--kf-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    padding: 8px 0;
}
.topbar .container {
    display: flex; justify-content: space-between; align-items: center;
}
.topbar a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.topbar a:hover { color: var(--kf-yellow); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-right a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    transition: background 0.2s, color 0.2s;
}
.topbar-right a:hover { background: var(--kf-blue); color: white; }

/* ===========================
   HEADER / NAVIGATION
=========================== */
/* WordPress admin bar compensation */
.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}
.site-header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky; top: 0; z-index: 9999;
    overflow: visible;
}
/* Header uses a wider container to give nav room to breathe */
.site-header .container {
    overflow: visible;
    max-width: 1400px;
    padding: 0 1.5rem;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
    overflow: visible;
}
/* Logo slightly smaller to free horizontal space */
.site-logo img { height: 50px; width: auto; }
.site-logo span {
    font-family: var(--font-primary);
    font-size: 1.3rem; font-weight: 800;
    color: var(--kf-dark);
}
.site-logo span em { color: var(--kf-blue); font-style: normal; }

/* ---- Nav container ---- */
.main-nav {
    display: flex; align-items: center; gap: 0;
    overflow: visible;
    flex-shrink: 0;
}

/* ---- Nav items ---- */
.nav-item {
    position: relative;
    overflow: visible;
}

/* ---- All nav links ---- */
.nav-link,
.main-nav > a {
    font-family: var(--font-primary);
    font-weight: 600; font-size: 0.80rem;
    color: var(--kf-dark);
    padding: 8px 10px; border-radius: 6px;
    display: flex; align-items: center; gap: 4px;
    position: relative; cursor: pointer;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.nav-link::after,
.main-nav > a:not(.btn-donate)::after {
    content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
    height: 2px; background: var(--kf-blue);
    transition: left 0.25s ease, right 0.25s ease;
}
.nav-link:hover::after,
.main-nav > a:not(.btn-donate):hover::after { left: 10px; right: 10px; }
.nav-link:hover,
.main-nav > a:hover { color: var(--kf-blue); }
/* Active page indicator */
.nav-link.nav-active,
.main-nav > a.nav-active { color: var(--kf-blue); }
.nav-link.nav-active::after,
.main-nav > a.nav-active::after { left: 10px; right: 10px; }


/* ---- Donate CTA ---- */
.btn-donate {
    background: linear-gradient(135deg, var(--kf-red), #c0151b);
    color: white !important; padding: 9px 18px; border-radius: 50px;
    font-family: var(--font-primary); font-weight: 700; font-size: 0.80rem;
    margin-left: 8px; display: flex; align-items: center; gap: 5px;
    text-decoration: none; white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
.btn-donate:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(237,28,36,0.35); color: white !important; }
.btn-donate::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; border: none; background: none; }
.hamburger span { width: 25px; height: 2px; background: var(--kf-dark); border-radius: 2px; transition: var(--transition); }

/* ===========================
   HERO SECTION
=========================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--kf-dark) 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 100px 0;
    overflow: hidden;
    min-height: 90vh;
    display: flex; align-items: center;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://kadiwaku-drc.org/wp-content/uploads/2025/12/490560406_10235628451000821_1099053661289304898_n-1024x683.jpg') center/cover no-repeat;
    opacity: 0.15;
}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape {
    position: absolute; border-radius: 50%;
    opacity: 0.08;
}
.hero-shape-1 {
    width: 500px; height: 500px;
    background: var(--kf-blue);
    top: -150px; right: -100px;
}
.hero-shape-2 {
    width: 300px; height: 300px;
    background: var(--kf-red);
    bottom: -80px; left: -80px;
}
.hero-shape-3 {
    width: 200px; height: 200px;
    background: var(--kf-yellow);
    top: 40%; right: 20%;
}
.hero-content { position: relative; z-index: 2; max-width: 750px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white; font-size: 0.82rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 8px 18px; border-radius: 50px;
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--kf-yellow); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 24px; color: white; }
.hero h1 span { color: var(--kf-blue); }
.hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; max-width: 600px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }

.hero-stats {
    display: flex; flex-wrap: wrap; gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat .number {
    font-family: var(--font-primary);
    font-size: 2.5rem; font-weight: 800;
    color: var(--kf-yellow); line-height: 1;
}
.hero-stat .label { font-size: 0.85rem; opacity: 0.8; margin-top: 4px; }

/* ===========================
   MISSION BAND
=========================== */
.mission-band {
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    color: white; padding: 60px 0;
}
.mission-band .container {
    display: grid; grid-template-columns: 1fr 3px 1fr;
    gap: 40px; align-items: center;
}
.mission-divider { background: rgba(255,255,255,0.3); height: 80px; }
.mission-item h3 { color: white; margin-bottom: 12px; font-size: 1.5rem; }
.mission-item p { opacity: 0.9; margin: 0; }

/* ===========================
   ABOUT SECTION
=========================== */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-main img { width: 100%; height: 450px; object-fit: cover; }
.about-badge-float {
    position: absolute; bottom: -20px; right: -20px;
    background: linear-gradient(135deg, var(--kf-red), var(--kf-red-dark));
    color: white; padding: 20px 28px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge-float .big { font-size: 2.2rem; font-weight: 800; font-family: var(--font-primary); line-height: 1; }
.about-badge-float .small { font-size: 0.78rem; opacity: 0.9; margin-top: 4px; }

.about-content .label { margin-bottom: 12px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: #555; margin-bottom: 20px; }
.about-values { list-style: none; margin: 24px 0; }
.about-values li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid #eee; font-weight: 500;
}
.about-values li:last-child { border-bottom: none; }
.about-values .icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; flex-shrink: 0;
}

/* ===========================
   PROGRAMS SECTION
=========================== */
.programs-section { background: var(--kf-light); }
.programs-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.program-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.program-card-image {
    position: relative; height: 220px; overflow: hidden;
}
.program-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.program-card:hover .program-card-image img { transform: scale(1.08); }
.program-card-icon {
    position: absolute; top: 16px; left: 16px;
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.9);
}
.program-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.program-card-body h3 { margin-bottom: 12px; font-size: 1.2rem; }
.program-card-body p { color: #666; flex: 1; margin-bottom: 20px; font-size: 0.95rem; }
.program-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px; border-top: 1px solid #eee;
    font-size: 0.85rem; color: var(--kf-gray);
}
.program-tag {
    background: #e8f4fd; color: var(--kf-blue);
    padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 600;
}

/* ===========================
   IMPACT SECTION
=========================== */
.impact-section {
    background: linear-gradient(135deg, var(--kf-dark), #16213e);
    color: white; position: relative; overflow: hidden;
}
.impact-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(41,171,226,0.1) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(237,28,36,0.1) 0%, transparent 60%);
}
.impact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px; position: relative; z-index: 1;
}
.impact-item { text-align: center; }
.impact-number {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800; color: var(--kf-yellow); line-height: 1;
}
.impact-number sup { font-size: 0.5em; }
.impact-label {
    margin-top: 8px; opacity: 0.85;
    font-size: 0.95rem; max-width: 180px; margin-left: auto; margin-right: auto;
}
.impact-icon { font-size: 2.5rem; margin-bottom: 12px; }

/* ===========================
   APPROACH SECTION
=========================== */
.approach-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.approach-card {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 2px solid #eee;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.approach-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    transition: var(--transition);
}
.approach-card:nth-child(1)::before { background: var(--kf-blue); }
.approach-card:nth-child(2)::before { background: var(--kf-red); }
.approach-card:nth-child(3)::before { background: var(--kf-yellow); }
.approach-card:nth-child(4)::before { background: linear-gradient(90deg, var(--kf-blue), var(--kf-red)); }
.approach-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lg); }
.approach-num {
    font-family: var(--font-primary); font-size: 3rem;
    font-weight: 800; opacity: 0.08; position: absolute;
    top: 10px; right: 20px; line-height: 1;
}
.approach-icon {
    width: 60px; height: 60px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
}
.approach-card:nth-child(1) .approach-icon { background: #e8f4fd; }
.approach-card:nth-child(2) .approach-icon { background: #fde8e9; }
.approach-card:nth-child(3) .approach-icon { background: #fff8e1; }
.approach-card:nth-child(4) .approach-icon { background: #e8f8f0; }
.approach-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.approach-card p { color: #666; font-size: 0.95rem; margin: 0; }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-section { background: var(--kf-light); }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: white; padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute; top: 16px; right: 24px;
    font-size: 5rem; color: var(--kf-blue); opacity: 0.15;
    font-family: Georgia, serif; line-height: 1;
}
.testimonial-stars { color: var(--kf-yellow); font-size: 1rem; margin-bottom: 16px; }
.testimonial-text { color: #555; font-style: italic; margin-bottom: 24px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 700; margin-bottom: 2px; font-size: 0.95rem; }
.testimonial-role { font-size: 0.82rem; color: var(--kf-gray); }

/* ===========================
   GET INVOLVED
=========================== */
.involved-section {
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    color: white; text-align: center;
}
.involved-section h2 { color: white; margin-bottom: 16px; }
.involved-section p { opacity: 0.9; font-size: 1.15rem; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.involved-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px; margin-bottom: 48px;
}
.involved-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 32px 24px; border-radius: var(--radius-lg);
    text-align: center; transition: var(--transition);
}
.involved-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}
.involved-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.involved-card h4 { color: white; margin-bottom: 10px; }
.involved-card p { opacity: 0.85; font-size: 0.9rem; margin: 0; }

/* ===========================
   PARTNERS
=========================== */
.partners-section { background: var(--kf-light); padding: 60px 0; }
.partners-grid {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px;
    opacity: 0.65; filter: grayscale(100%);
    transition: var(--transition);
}
.partners-grid:hover { opacity: 1; filter: none; }
.partner-logo {
    background: white; padding: 16px 28px; border-radius: var(--radius);
    box-shadow: var(--shadow); font-weight: 700; color: var(--kf-gray);
    font-family: var(--font-primary); font-size: 0.85rem;
    letter-spacing: 1px; text-transform: uppercase;
}

/* ===========================
   NEWS / BLOG
=========================== */
.news-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.news-card {
    background: white; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-image { height: 220px; overflow: hidden; }
.news-card-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; transition: transform 0.5s ease; }
.news-card:hover .news-card-image img { transform: scale(1.06); }
.news-card-body { padding: 28px; }
.news-meta {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px; font-size: 0.82rem; color: var(--kf-gray);
}
.news-category {
    background: #e8f4fd; color: var(--kf-blue);
    padding: 3px 10px; border-radius: 50px; font-weight: 600;
}
.news-card-body h3 { font-size: 1.15rem; margin-bottom: 12px; line-height: 1.4; }
.news-card-body h3 a { color: var(--kf-dark); }
.news-card-body h3 a:hover { color: var(--kf-blue); }
.news-card-body p { color: #666; font-size: 0.9rem; margin-bottom: 20px; }
.news-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px; border-top: 1px solid #eee;
}
.read-more { color: var(--kf-blue); font-weight: 600; font-size: 0.88rem; }
.read-more:hover { color: var(--kf-blue-dark); }

/* ===========================
   NEWSLETTER
=========================== */
.newsletter-section {
    background: var(--kf-dark); color: white; text-align: center; padding: 80px 0;
}
.newsletter-section h2 { color: white; margin-bottom: 12px; }
.newsletter-section p { opacity: 0.8; margin-bottom: 32px; font-size: 1.05rem; }
.newsletter-form {
    display: flex; max-width: 500px; margin: 0 auto; gap: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 8px 8px 20px; border-radius: 50px;
}
.newsletter-form input {
    flex: 1; background: none; border: none; outline: none;
    color: white; font-family: var(--font-body); font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

/* ===========================
   FOOTER
=========================== */
.site-footer {
    background: #0d1117; color: rgba(255,255,255,0.75);
}
.footer-main {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px; padding: 80px 0 60px;
}
.footer-brand .site-logo { margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.social-btn {
    width: 40px; height: 40px; border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); transition: var(--transition);
    font-size: 1rem;
}
.social-btn:hover { background: var(--kf-blue); color: white; }

.footer-col h4 {
    color: white; font-size: 1rem; margin-bottom: 20px;
    padding-bottom: 10px; border-bottom: 2px solid var(--kf-blue);
    display: inline-block;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--kf-blue); padding-left: 4px; }

.footer-contact-item {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 14px; font-size: 0.88rem; color: rgba(255,255,255,0.65);
}
.footer-contact-item .icon { color: var(--kf-blue); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.85rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: var(--kf-blue); }

/* ===========================
   PAGE TEMPLATES
=========================== */
.page-hero {
    background: linear-gradient(135deg, var(--kf-dark), #16213e);
    color: white; padding: 80px 0 60px; text-align: center;
}
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p { opacity: 0.8; font-size: 1.1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; font-size: 0.85rem; opacity: 0.6; }
.breadcrumb a { color: white; }
.breadcrumb span { color: var(--kf-yellow); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form { background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-control {
    width: 100%; padding: 12px 16px; border: 2px solid #eee;
    border-radius: var(--radius); font-family: var(--font-body);
    font-size: 0.95rem; transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--kf-blue); box-shadow: 0 0 0 3px rgba(41,171,226,0.15); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===========================
   DONATE PAGE
=========================== */
.donate-section { background: var(--kf-light); }
.donate-amounts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.amount-btn {
    padding: 12px 24px; border: 2px solid #ddd;
    border-radius: 50px; cursor: pointer;
    font-family: var(--font-primary); font-weight: 700; font-size: 1rem;
    transition: var(--transition); background: white;
}
.amount-btn.active, .amount-btn:hover {
    border-color: var(--kf-blue); background: var(--kf-blue); color: white;
}
.donate-card {
    background: white; padding: 50px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   ANIMATIONS
=========================== */
/* Elements are visible by default — only hidden once JS signals it's ready */
/* fade-up — toujours visible, JAMAIS opacity:0 par défaut */
.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
/* js-animations garde la compatibilité mais ne masque RIEN */
.js-animations .fade-up { opacity: 1 !important; transform: translateY(0) !important; }
.js-animations .fade-up.visible { opacity: 1 !important; transform: translateY(0) !important; }

@media (prefers-reduced-motion: reduce) {
    .fade-up { transition: none; }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .mission-band .container { grid-template-columns: 1fr; }
    .mission-divider { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* Nav intermédiaire : logo encore plus compact, font encore réduite */
@media (max-width: 1200px) {
    .site-logo img { height: 44px; }
    .main-nav > a,
    .nav-link { font-size: 0.76rem; padding: 8px 8px; }
    .btn-donate { font-size: 0.76rem; padding: 8px 14px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .topbar { display: none; }
    /* Mobile nav overlay */
    .main-nav {
        display: none; position: fixed; inset: 0; top: 80px;
        background: white; flex-direction: column; padding: 24px 20px;
        gap: 0; z-index: 999; overflow-y: auto;
    }
    .main-nav.open { display: flex; }
    /* Nav items stack vertically */
    .nav-item { width: 100%; }
    .nav-link,
    .main-nav > a {
        padding: 14px 0; border-bottom: 1px solid #eee;
        border-radius: 0; font-size: 1rem; width: 100%;
        justify-content: space-between;
    }
    .btn-donate { margin: 16px 0 0; border-radius: 50px; text-align: center; justify-content: center; }
    .hamburger { display: flex; }
    /* other existing mobile rules */
    .hero { padding: 80px 0 60px; min-height: auto; }
    .hero-stats { gap: 20px; }
    .footer-main { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .programs-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-badge-float { position: static; margin-top: 20px; display: inline-block; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .newsletter-form { flex-direction: column; padding: 16px; border-radius: var(--radius-lg); }
    .newsletter-form input { text-align: center; }
}

/* ===========================
   CONTEXT SECTION (ajouté)
=========================== */
.context-section { background: var(--kf-light); }
.context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}
.context-stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--kf-blue);
    transition: var(--transition);
    text-align: center;
}
.context-stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.context-stat-card--red { border-top-color: var(--kf-red); }
.context-stat-card--yellow { border-top-color: var(--kf-yellow); }
.context-stat-card--green { border-top-color: #00b894; }

.context-icon { font-size: 2.2rem; margin-bottom: 14px; }
.context-number {
    font-family: var(--font-primary);
    font-size: 3rem; font-weight: 800;
    color: var(--kf-dark); line-height: 1;
    margin-bottom: 10px;
}
.context-stat-card--red .context-number { color: var(--kf-red); }
.context-stat-card--yellow .context-number { color: #e6ab00; }
.context-stat-card--green .context-number { color: #00b894; }
.context-number sup { font-size: 0.5em; }
.context-stat-card h4 {
    font-size: 1rem; margin-bottom: 10px;
    color: var(--kf-dark);
}
.context-stat-card p {
    font-size: 0.88rem; color: var(--kf-gray);
    line-height: 1.65; margin: 0;
}
.context-cta {
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 680px;
    margin: 0 auto;
}
.context-cta p {
    font-size: 1.1rem;
    color: var(--kf-dark);
    margin-bottom: 24px;
    font-weight: 500;
}

/* ===========================
   FOUNDER SECTION (ajouté)
=========================== */
.founder-section { background: white; }
.founder-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: center;
}
.founder-photo-wrap {
    position: relative;
}
.founder-photo-wrap img {
    width: 100%; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 480px;
}
.founder-placeholder {
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    border-radius: var(--radius-lg);
    height: 480px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: white; text-align: center;
}
.founder-initials {
    font-family: var(--font-primary);
    font-size: 5rem; font-weight: 800; line-height: 1;
    margin-bottom: 16px;
}
.founder-placeholder p { opacity: 0.85; font-size: 1rem; }
.founder-quote-bubble {
    position: absolute;
    bottom: -20px; right: -24px;
    background: linear-gradient(135deg, var(--kf-red), var(--kf-red-dark));
    color: white;
    padding: 18px 22px;
    border-radius: 16px 16px 4px 16px;
    max-width: 220px;
    font-size: 0.88rem;
    font-style: italic;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    line-height: 1.5;
}
.founder-content .label { margin-bottom: 12px; }
.founder-content h2 { margin-bottom: 6px; }
.founder-title {
    color: var(--kf-blue);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 24px !important;
}
.founder-content p { color: #555; margin-bottom: 16px; line-height: 1.8; }
.founder-content em { color: var(--kf-blue); font-style: normal; font-weight: 600; }
.founder-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ===========================
   NEWSLETTER ENRICHIE (ajouté)
=========================== */
.newsletter-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* ===========================
   RESPONSIVE — nouvelles sections
=========================== */
@media (max-width: 992px) {
    .founder-grid { grid-template-columns: 1fr; gap: 50px; }
    .founder-photo-wrap img,
    .founder-placeholder { height: 340px; }
    .founder-quote-bubble { position: static; margin-top: 16px; border-radius: 12px; max-width: 100%; }
}
@media (max-width: 600px) {
    .context-grid { grid-template-columns: 1fr; }
    .context-stat-card { padding: 28px 20px; }
}

/* ===========================
   HOMEPAGE SPECIFIC (added)
=========================== */

/* Impact cards on homepage */
.impact-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative; z-index: 1;
    transition: var(--transition);
}
.impact-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}
.impact-card .impact-icon { font-size: 2.5rem; margin-bottom: 14px; }
.impact-card .impact-number {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800; color: var(--kf-yellow); line-height: 1;
    margin-bottom: 8px;
}
.impact-card .impact-number span { font-size: 0.7em; }
.impact-card .impact-label {
    font-weight: 700; font-size: 1rem; color: white;
    margin-bottom: 8px;
}
.impact-card .impact-desc {
    font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.6;
}

/* Program cards redesign for homepage */
.program-card .program-icon {
    font-size: 3rem; padding: 24px 24px 0;
}
.program-card .program-body {
    padding: 16px 24px;
    flex: 1;
}
.program-card .program-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.program-card .program-body > p { color: #555; font-size: 0.93rem; line-height: 1.7; }
.program-features {
    list-style: none; padding: 0; margin: 16px 0;
}
.program-features li {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.88rem; color: #444; padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}
.program-features li i { color: var(--kf-blue); font-size: 0.75rem; flex-shrink: 0; }
.program-meta {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid #eee;
}
.program-meta span {
    font-size: 0.8rem; color: var(--kf-gray);
    display: flex; align-items: center; gap: 5px;
}
.program-meta span i { color: var(--kf-blue); }

/* Testimonial cards on homepage */
.testimonial-card { position: relative; overflow: hidden; }
.testimonial-quote {
    font-family: Georgia, serif;
    font-size: 5rem; color: var(--kf-blue);
    opacity: 0.15; line-height: 0.8;
    margin-bottom: 12px; display: block;
}
.testimonial-card p {
    color: #555; font-style: italic;
    line-height: 1.8; margin-bottom: 24px;
}
.testimonial-author strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.testimonial-author span { font-size: 0.82rem; color: var(--kf-gray); }

/* About actions */
.about-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    margin-top: 28px;
}

/* ==============================================
   HOMEPAGE v2 — REDESIGN PROFESSIONNEL
   Toutes les nouvelles classes pour front-page
=============================================== */

/* ---- HERO v2 ---- */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    background-color: #0a0f28; /* fallback dark so white text is always visible */
}
.hero-v2-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-v2-image {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hero-v2:hover .hero-v2-image { transform: scale(1); }
.hero-v2-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,15,40,0.93) 0%,
        rgba(10,15,40,0.85) 50%,
        rgba(10,15,40,0.6) 100%
    );
}
.hero-v2-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 120px 2rem 80px;
}
.hero-v2-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    color: white;
}
.hero-v2-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.hero-v2-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    padding: 8px 20px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 28px; color: white;
}
.eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--kf-yellow);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}
.hero-v2-title {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 900; line-height: 1.15;
    color: white; margin-bottom: 24px;
    font-family: var(--font-primary);
}
.hero-accent { color: var(--kf-blue); display: block; }
.hero-sub-accent { color: var(--kf-yellow); display: block; }
.hero-v2-desc {
    font-size: 1.1rem; opacity: 0.88;
    max-width: 540px; margin-bottom: 36px;
    line-height: 1.8;
}
.hero-v2-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-v2-trust {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-label { font-size: 0.8rem; opacity: 0.65; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 14px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 600; color: white;
    transition: background 0.2s;
}
.trust-badge:hover { background: rgba(255,255,255,0.18); }

/* Hero stats grid */
.hero-v2-stats-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-bottom: 20px;
}
.hstat-card {
    padding: 28px 24px; border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hstat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.hstat-blue { background: rgba(41,171,226,0.18); border-color: rgba(41,171,226,0.35); }
.hstat-red { background: rgba(237,28,36,0.18); border-color: rgba(237,28,36,0.35); }
.hstat-yellow { background: rgba(255,194,14,0.18); border-color: rgba(255,194,14,0.35); }
.hstat-dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.hstat-num {
    font-family: var(--font-primary);
    font-size: 2.4rem; font-weight: 900;
    color: white; line-height: 1;
}
.hstat-blue .hstat-num { color: #29ABE2; }
.hstat-red .hstat-num { color: #ff6b6b; }
.hstat-yellow .hstat-num { color: var(--kf-yellow); }
.hstat-num span { font-size: 1.2rem; }
.hstat-label { font-weight: 700; margin-top: 6px; font-size: 0.9rem; color: white; }
.hstat-sub { font-size: 0.75rem; opacity: 0.65; margin-top: 2px; }

/* Hero quote */
.hero-v2-quote {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-left: 4px solid var(--kf-yellow);
    border-radius: 16px; padding: 24px 28px;
    backdrop-filter: blur(12px);
}
.quote-icon { font-size: 3rem; color: var(--kf-yellow); line-height: 0.8; margin-bottom: 12px; font-family: Georgia, serif; }
.hero-v2-quote p { opacity: 0.9; font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.quote-author strong { display: block; font-size: 0.9rem; color: white; }
.quote-author span { font-size: 0.78rem; opacity: 0.65; }

/* ---- MISSION STRIP ---- */
.mission-strip {
    background: linear-gradient(135deg, var(--kf-blue) 0%, var(--kf-blue-dark) 100%);
    padding: 56px 0;
}
.mission-strip-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    gap: 0;
    align-items: stretch;
}
.msi-sep {
    background: rgba(255,255,255,0.25);
    align-self: stretch;
}
.mission-strip-item {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 0 40px;
    color: white;
}
.msi-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.25);
}
.msi-body h4 { color: white; font-size: 1.05rem; margin-bottom: 8px; }
.msi-body p { opacity: 0.85; font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ---- ABOUT v2 ---- */
.about-v2 { background: white; }
.about-v2-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-v2-visual {
    display: flex;
    flex-direction: column;
}
.about-v2-content {
    display: flex;
    flex-direction: column;
}
.about-v2-img-wrap {
    position: relative;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-v2-img-wrap img { width: 100%; height: 480px; object-fit: cover; display: block; }
.about-img-fallback {
    display: none;
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    height: 480px;
    align-items: center; justify-content: center;
    flex-direction: column; text-align: center; padding: 40px;
}
.about-v2-since-badge {
    position: absolute; bottom: -16px; right: 24px;
    background: linear-gradient(135deg, var(--kf-red), var(--kf-red-dark));
    color: white; padding: 20px 28px; border-radius: 16px;
    box-shadow: 0 8px 30px rgba(237,28,36,0.4);
    text-align: center;
}
.since-year { font-size: 2.2rem; font-weight: 900; font-family: var(--font-primary); line-height: 1; }
.since-label { font-size: 0.75rem; opacity: 0.9; margin-top: 4px; font-weight: 600; }
.about-v2-mini-stats {
    display: flex; justify-content: space-around;
    margin-top: 36px; padding-top: 24px;
    border-top: 2px solid #f0f0f0;
}
.amini { text-align: center; }
.amini-num { font-family: var(--font-primary); font-size: 1.8rem; font-weight: 800; color: var(--kf-blue); }
.amini-label { font-size: 0.78rem; color: var(--kf-gray); margin-top: 4px; font-weight: 600; }

.about-v2-divider {
    width: 48px; height: 4px;
    background: linear-gradient(90deg, var(--kf-blue), var(--kf-red));
    border-radius: 2px; margin: 16px 0 24px;
}
.about-v2-highlights { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 16px; }
.av2h-item { display: flex; align-items: flex-start; gap: 16px; }
.av2h-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--kf-blue), var(--kf-blue-dark));
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.av2h-item strong { display: block; font-size: 0.95rem; margin-bottom: 3px; color: var(--kf-dark); }
.av2h-item p { font-size: 0.85rem; color: var(--kf-gray); margin: 0; }
.about-v2-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- IMPACT v2 ---- */
.impact-v2 {
    position: relative; padding: 100px 0;
    background: linear-gradient(135deg, #0a0f28 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}
.impact-v2-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(41,171,226,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(237,28,36,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255,194,14,0.06) 0%, transparent 40%);
}
.impact-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}
.iv2-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 36px 28px;
    transition: transform 0.3s, background 0.3s;
    backdrop-filter: blur(8px);
}
.iv2-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); }
.iv2-icon-wrap {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 20px;
}
.iv2-num {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900; color: white; line-height: 1;
}
.iv2-num span { font-size: 1.4rem; }
.iv2-label { font-weight: 700; color: rgba(255,255,255,0.9); margin: 10px 0 16px; font-size: 1rem; }
.iv2-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-bottom: 16px; overflow: hidden; }
.iv2-bar-fill { height: 100%; border-radius: 2px; transition: width 1.5s ease; }
.iv2-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; }

/* ---- PROGRAMMES v2 ---- */
.programs-v2 { background: var(--kf-light); }
.programs-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.pv2-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.pv2-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.pv2-header {
    padding: 32px 28px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.pv2-header-blue { background: linear-gradient(135deg, #29ABE2, #1a8ab5); }
.pv2-header-red { background: linear-gradient(135deg, #ED1C24, #c0151b); }
.pv2-header-yellow { background: linear-gradient(135deg, #FFC20E, #d4a00b); }
.pv2-icon-wrap {
    width: 60px; height: 60px; border-radius: 16px;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.pv2-duration { font-size: 0.78rem; color: rgba(255,255,255,0.85); font-weight: 600; text-align: right; }
.pv2-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.pv2-body h3 { font-size: 1.15rem; margin-bottom: 12px; line-height: 1.4; }
.pv2-body p { color: #666; font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.pv2-features { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.pv2-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: #555; }
.pv2-features li i { margin-top: 2px; flex-shrink: 0; }
.pv2-header-blue ~ .pv2-body .pv2-features li i { color: var(--kf-blue); }
.pv2-header-red ~ .pv2-body .pv2-features li i { color: var(--kf-red); }
.pv2-header-yellow ~ .pv2-body .pv2-features li i { color: #b8890a; }
.pv2-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.pv2-tag {
    background: #f0f4f8; color: #555;
    padding: 5px 12px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
}
.pv2-cta {
    display: block; text-align: center;
    padding: 16px 28px; font-weight: 700;
    font-family: var(--font-primary); font-size: 0.9rem;
    transition: all 0.2s; text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pv2-cta-blue { background: linear-gradient(135deg,#29ABE2,#1a8ab5); color: white; }
.pv2-cta-red { background: linear-gradient(135deg,#ED1C24,#c0151b); color: white; }
.pv2-cta-yellow { background: linear-gradient(135deg,#FFC20E,#d4a00b); color: #1a1a2e; }
.pv2-cta:hover { filter: brightness(1.1); transform: none; color: white; }
.pv2-cta-yellow:hover { color: #1a1a2e; }

/* ---- TÉMOIGNAGES v2 ---- */
.testi-v2 { background: white; }
.testi-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; align-items: start;
}
.tv2-card {
    background: var(--kf-light);
    border-radius: 20px; padding: 36px 32px;
    border: 2px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}
.tv2-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--kf-blue); }
.tv2-card-featured {
    background: linear-gradient(135deg, var(--kf-dark), #16213e);
    border-color: transparent;
}
.tv2-card-featured .tv2-text { color: rgba(255,255,255,0.85); }
.tv2-card-featured .tv2-stars { color: var(--kf-yellow); }
.tv2-card-featured strong { color: white; }
.tv2-card-featured span { color: rgba(255,255,255,0.55); }
.tv2-card-featured .tv2-prog-tag { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.tv2-stars { color: var(--kf-yellow); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 8px; }
.tv2-quote-mark { font-size: 4rem; color: var(--kf-blue); line-height: 0.8; margin-bottom: 16px; font-family: Georgia, serif; }
.tv2-card-featured .tv2-quote-mark { color: rgba(255,255,255,0.2); }
.tv2-text { font-style: italic; line-height: 1.8; color: #555; margin-bottom: 28px; font-size: 0.95rem; }
.tv2-author { display: flex; align-items: center; gap: 14px; }
.tv2-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; color: white;
    flex-shrink: 0;
}
.tv2-author strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.tv2-author span { font-size: 0.78rem; color: var(--kf-gray); display: block; }
.tv2-prog-tag {
    display: inline-block; margin-top: 6px;
    background: rgba(41,171,226,0.1); color: var(--kf-blue);
    font-size: 0.72rem; font-weight: 700;
    padding: 3px 10px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* ---- RECONNAISSANCES v2 ---- */
.recog-v2 { background: var(--kf-light); }
.recog-v2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.rv2-card {
    background: white;
    border-radius: 16px; padding: 32px 24px;
    border: 2px solid #eee;
    display: flex; flex-direction: column; gap: 16px;
    transition: all 0.3s; text-decoration: none; color: inherit;
    position: relative; overflow: hidden;
}
.rv2-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--kf-blue), var(--kf-red));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s;
}
.rv2-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.rv2-card:hover::before { transform: scaleX(1); }
.rv2-icon { font-size: 2.8rem; }
.rv2-body h4 { font-size: 1rem; margin-bottom: 8px; color: var(--kf-dark); }
.rv2-body p { font-size: 0.85rem; color: #666; line-height: 1.6; margin: 0; flex: 1; }
.rv2-link { font-size: 0.8rem; color: var(--kf-blue); font-weight: 700; margin-top: auto; }

/* ---- ACTUALITÉS v2 ---- */
.news-v2 { background: white; }
.news-v2-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 48px;
}
.news-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.nv2-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column;
}
.nv2-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.nv2-image { position: relative; height: 220px; overflow: hidden; }
.nv2-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.nv2-card:hover .nv2-image img { transform: scale(1.06); }
.nv2-img-fallback {
    height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: rgba(255,255,255,0.6);
}
.nv2-cat {
    position: absolute; top: 16px; left: 16px;
    background: var(--kf-blue); color: white;
    font-size: 0.72rem; font-weight: 700;
    padding: 4px 12px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.nv2-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.nv2-meta { font-size: 0.8rem; color: var(--kf-gray); margin-bottom: 12px; }
.nv2-meta i { margin-right: 5px; color: var(--kf-blue); }
.nv2-body h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 12px; flex: 1; }
.nv2-body h3 a { color: var(--kf-dark); text-decoration: none; }
.nv2-body h3 a:hover { color: var(--kf-blue); }
.nv2-body p { font-size: 0.87rem; color: #666; margin-bottom: 20px; line-height: 1.7; }
.nv2-readmore {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--kf-blue); font-weight: 700; font-size: 0.88rem;
    text-decoration: none; margin-top: auto;
    transition: gap 0.2s;
}
.nv2-readmore:hover { gap: 12px; color: var(--kf-blue-dark); }

/* ---- CTA FINAL v2 ---- */
.cta-v2-section {
    position: relative; padding: 100px 0; overflow: hidden;
    background: linear-gradient(135deg, #0a0f28 0%, #1a8ab5 40%, #0f3460 100%);
}
.cta-v2-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0a0f28 0%, var(--kf-blue-dark) 40%, #0f3460 100%);
}
.cta-v2-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(237,28,36,0.15) 0%, transparent 50%);
}
.cta-v2-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 80px; align-items: center;
}
.cta-v2-text { color: white; }
.cta-v2-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.cta-v2-text p { opacity: 0.8; font-size: 1rem; line-height: 1.7; margin: 0; }
.cta-v2-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.ctav2-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px; padding: 32px 24px;
    text-align: center; color: white;
    transition: background 0.3s, transform 0.3s;
    position: relative; overflow: hidden;
}
.ctav2-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-4px); }
.ctav2-card-highlight {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 40px rgba(41,171,226,0.2);
}
.ctav2-badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--kf-yellow); color: var(--kf-dark);
    font-size: 0.65rem; font-weight: 800;
    padding: 3px 10px; border-radius: 50px;
    letter-spacing: 0.5px;
}
.ctav2-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.ctav2-card h3 { color: white; font-size: 1.1rem; margin-bottom: 10px; }
.ctav2-card p { color: rgba(255,255,255,0.7); font-size: 0.87rem; margin-bottom: 20px; line-height: 1.6; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
    .recog-v2-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-v2-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .hero-v2-inner { grid-template-columns: 1fr; gap: 48px; padding: 100px 2rem 60px; }
    .hero-v2-title { font-size: 2.4rem; }
    .hero-v2-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-strip-grid { grid-template-columns: 1fr; gap: 0; }
    .msi-sep { height: 1px; width: auto; align-self: auto; margin: 24px 0; }
    .mission-strip-item { padding: 0 24px; }
    .about-v2-grid { grid-template-columns: 1fr; gap: 48px; }
    .impact-v2-grid { grid-template-columns: repeat(2, 1fr); }
    .programs-v2-grid { grid-template-columns: 1fr; }
    .testi-v2-grid { grid-template-columns: 1fr; }
    .news-v2-grid { grid-template-columns: 1fr; }
    .news-v2-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .cta-v2-inner { grid-template-columns: 1fr; gap: 48px; }
    .cta-v2-cards { grid-template-columns: 1fr; }
    .recog-v2-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero-v2-inner { padding: 90px 1rem 50px; }
    .hero-v2-stats-grid { grid-template-columns: 1fr 1fr; }
    .impact-v2-grid { grid-template-columns: 1fr; }
    .hero-v2-actions { flex-direction: column; }
    .hero-v2-actions .btn { text-align: center; justify-content: center; }
    .about-v2-mini-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
    .news-v2-grid { grid-template-columns: 1fr; }
}


/* ===========================
   TEAM CARDS — Page Équipe
   Reproduction fidèle du design https://chocolate-mosquito-438642.hostingersite.com/about/team
=========================== */

.archive-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    align-items: start;
}

/* ---- Card shell ---- */
.kf-team-card {
    background: #ffffff;
    border-radius: 12px;
    border-top: 3px solid #FFC20E;        /* yellow top accent */
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kf-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(41,171,226,0.18);
}

/* ---- Photo block ---- */
.kf-team-card__photo {
    position: relative;
    height: 280px;
    background: linear-gradient(160deg, #a8c8e8 0%, #5b9fd6 40%, #1a5fa8 100%);
    overflow: hidden;
    flex-shrink: 0;
}
.kf-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.kf-team-card__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.35);
}
/* Dark blue gradient overlay at bottom */
.kf-team-card__overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(10,40,90,0.88) 0%, rgba(10,40,90,0.45) 55%, transparent 100%);
    padding: 18px 16px 14px;
}
.kf-team-card__name {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 3px;
    line-height: 1.25;
}
/* First card: role in white; other cards: role in yellow */
.kf-team-card__role {
    font-size: 0.78rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
}
.kf-team-card__role--yellow {
    color: #FFC20E;
    font-weight: 400;
}

/* ---- Body ---- */
.kf-team-card__body {
    padding: 18px 16px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Badge pill */
.kf-team-card__badge {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #29ABE2;
    color: #29ABE2;
    background: transparent;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 13px;
    width: fit-content;
    line-height: 1.5;
}

/* Description text */
.kf-team-card__desc {
    font-size: 0.82rem;
    color: #333;
    line-height: 1.65;
    margin: 0;
}
.kf-team-card__desc p {
    margin: 0 0 4px;
}
/* Bullet ● for section headers */
.kf-team-card__desc .bullet-main {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 0.82rem;
    color: #333;
    margin: 4px 0 2px;
}
.kf-team-card__desc .bullet-main::before {
    content: '●';
    flex-shrink: 0;
    font-size: 0.6rem;
    margin-top: 4px;
    color: #333;
}
/* Sub-bullet ○ */
.kf-team-card__desc .bullet-sub {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 0.82rem;
    color: #333;
    margin: 1px 0 1px 0;
}
.kf-team-card__desc .bullet-sub::before {
    content: '○';
    flex-shrink: 0;
    font-size: 0.72rem;
    margin-top: 1px;
    color: #333;
}

/* ---- Footer ---- */
.kf-team-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 16px;
    margin-top: auto;
}
/* Email / Contact button */
.kf-team-card__email {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1.5px solid #d0d8e0;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 10px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.kf-team-card__email:hover {
    background: #29ABE2;
    border-color: #29ABE2;
    color: #fff;
}
.kf-team-card__email i {
    font-size: 0.8rem;
}
/* Social icon buttons */
.kf-team-card__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.kf-team-card__social:hover {
    opacity: 0.82;
    transform: translateY(-2px);
    color: #fff;
}
.kf-team-card__social--fb { background: #1877F2; }
.kf-team-card__social--tw { background: #000000; }
.kf-team-card__social--li { background: #0A66C2; }

/* Responsive */
@media (max-width: 900px) {
    .archive-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .archive-team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LANGUAGE SWITCHER — KF Lang
============================================================ */
.kf-lang-switcher {
    display: inline-flex;
    align-items: center;
}
.kf-lang-btn {
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.kf-lang-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}
.kf-lang-active {
    color: #fff !important;
    background: rgba(255,255,255,0.18);
}
