/* ==============================================================
   AFLED Child Theme - Main CSS
   Design moderne inspiré du site React AFLED
   ============================================================== */

:root {
    --afled-purple-50: #faf5ff;
    --afled-purple-100: #f3e8ff;
    --afled-purple-500: #a855f7;
    --afled-purple-700: #7e22ce;
    --afled-purple-800: #6b21a8;
    --afled-purple-900: #581c87;
    --afled-purple-950: #3b0764;
    --afled-fuchsia-700: #a21caf;
    --afled-fuchsia-800: #86198f;
    --afled-amber-400: #fbbf24;
    --afled-amber-500: #f59e0b;
    --afled-orange-500: #f97316;
    --afled-slate-100: #f1f5f9;
    --afled-slate-200: #e2e8f0;
    --afled-slate-500: #64748b;
    --afled-slate-600: #475569;
    --afled-slate-700: #334155;
    --afled-slate-800: #1e293b;
    --afled-slate-900: #0f172a;
    --afled-white: #ffffff;

    --afled-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --afled-font-display: 'Playfair Display', serif;

    --afled-radius: 0.75rem;
    --afled-radius-lg: 1.5rem;
    --afled-radius-full: 9999px;

    --afled-shadow-md: 0 4px 6px -1px rgba(0,0,0,.1);
    --afled-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1);
    --afled-shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1);
    --afled-shadow-2xl: 0 25px 50px -12px rgba(88,28,135,.25);
}

/* Reset minimal */
body.afled-body {
    font-family: var(--afled-font-body);
    color: var(--afled-slate-800);
    background: #fdfbff;
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.afled-body h1, .afled-body h2, .afled-body h3, .afled-body h4 {
    font-family: var(--afled-font-display);
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--afled-slate-900);
}

.afled-body a { color: var(--afled-purple-800); text-decoration: none; }
.afled-body a:hover { color: var(--afled-purple-900); }

.afled-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* Gradient text */
.afled-gradient-text {
    background: linear-gradient(135deg, var(--afled-purple-800) 0%, var(--afled-fuchsia-700) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badges */
.afled-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.375rem 0.875rem; border-radius: var(--afled-radius-full);
    background: var(--afled-purple-100); color: var(--afled-purple-800);
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; margin-bottom: 1rem;
}
.afled-badge-glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); backdrop-filter: blur(8px); }
.afled-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--afled-amber-400); animation: pulse 2s ease-in-out infinite; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ===================== HEADER ===================== */
.afled-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    transition: all 0.3s ease;
}
.afled-header.is-scrolled .afled-nav { background: rgba(255,255,255,.95); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); backdrop-filter: blur(10px); }
.afled-header.is-scrolled .afled-topbar { display: none; }
.afled-header.is-scrolled .afled-menu-list a, .afled-header.is-scrolled .afled-logo-name { color: var(--afled-purple-900); }
.afled-header.is-scrolled .afled-logo-sub { color: rgba(107,33,168,.7); }

.afled-topbar {
    background: linear-gradient(90deg, var(--afled-purple-800), var(--afled-fuchsia-700));
    color: white; font-size: 12px;
}
.afled-topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.afled-topbar-left, .afled-topbar-right { display: flex; align-items: center; gap: 0.5rem; }
.afled-topbar-sep { opacity: 0.5; margin: 0 0.5rem; }
@media (max-width: 767px) { .afled-topbar { display: none; } }

.afled-nav { transition: background 0.3s ease; }
.afled-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.afled-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.afled-logo-circle {
    width: 56px; height: 56px; border-radius: 50%; background: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.15); ring: 2px solid rgba(255,255,255,.4);
    overflow: hidden;
}
.afled-logo-circle img { width: 44px; height: 44px; object-fit: contain; }
.afled-logo-text { line-height: 1.2; }
.afled-logo-name { font-family: var(--afled-font-display); font-weight: 900; font-size: 18px; color: white; text-shadow: 0 1px 2px rgba(0,0,0,.2); letter-spacing: -0.01em; }
.afled-logo-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .afled-logo-text { display: none; } }

.afled-menu-list {
    display: flex; align-items: center; gap: 0.25rem;
    list-style: none; margin: 0; padding: 0;
}
.afled-menu-list li { position: relative; }
.afled-menu-list a {
    display: block; padding: 0.5rem 0.75rem; font-size: 14px; font-weight: 500;
    border-radius: var(--afled-radius); transition: all 0.2s ease;
    color: rgba(255,255,255,.95); text-decoration: none;
}
.afled-menu-list a:hover { background: rgba(255,255,255,.1); color: white; }
.afled-header.is-scrolled .afled-menu-list a:hover { background: var(--afled-purple-50); color: var(--afled-purple-800); }

.afled-menu-toggle {
    display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; color: white;
}
.afled-header.is-scrolled .afled-menu-toggle { color: var(--afled-purple-900); }
@media (max-width: 1023px) {
    .afled-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; box-shadow: 0 10px 25px rgba(0,0,0,.15); }
    .afled-menu.is-open { display: block; }
    .afled-menu .afled-menu-list { flex-direction: column; padding: 1rem 1.5rem; align-items: stretch; gap: 0; }
    .afled-menu .afled-menu-list a { color: var(--afled-slate-700); padding: 0.75rem 0; border-bottom: 1px solid var(--afled-slate-100); }
    .afled-menu .afled-menu-list a:hover { color: var(--afled-purple-800); background: transparent; }
    .afled-menu-toggle { display: block; }
}

/* ===================== HERO ===================== */
.afled-hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.afled-hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
}
.afled-hero-slide.is-active { opacity: 1; }
.afled-hero-image {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.afled-hero-slide.is-active .afled-hero-image { transform: scale(1.1); }
.afled-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(59,7,100,.85), rgba(88,28,135,.65), rgba(190,24,93,.5)),
                linear-gradient(0deg, rgba(0,0,0,.6), transparent 50%);
}
.afled-hero-content {
    position: relative; z-index: 10; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    max-width: 900px; padding-top: 5rem;
}
.afled-hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; color: white;
    line-height: 1.05; margin: 1.5rem 0; text-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.afled-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.9);
    max-width: 620px; margin-bottom: 2.25rem; line-height: 1.6;
}
.afled-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.afled-hero-controls {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 1rem; z-index: 10;
}
.afled-hero-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.3); color: white; cursor: pointer;
    font-size: 20px; transition: background 0.2s;
}
.afled-hero-btn:hover { background: rgba(255,255,255,.2); }
.afled-hero-dots { display: flex; gap: 0.5rem; }
.afled-hero-dot {
    width: 20px; height: 6px; border-radius: var(--afled-radius-full);
    background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: all 0.3s ease;
}
.afled-hero-dot.is-active { width: 40px; background: var(--afled-amber-400); }

/* ===================== BOUTONS ===================== */
.afled-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0 2rem; height: 56px; border-radius: var(--afled-radius-full);
    font-weight: 600; font-size: 16px; text-decoration: none;
    transition: all 0.2s ease; cursor: pointer; border: none;
}
.afled-btn-primary {
    background: linear-gradient(90deg, var(--afled-purple-700), var(--afled-fuchsia-700));
    color: white; box-shadow: 0 20px 25px -5px rgba(126,34,206,.4);
}
.afled-btn-primary:hover { background: linear-gradient(90deg, var(--afled-purple-800), var(--afled-fuchsia-800)); color: white; transform: translateY(-2px); }
.afled-btn-glass { background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); color: white; }
.afled-btn-glass:hover { background: rgba(255,255,255,.2); color: white; }
.afled-btn-white { background: white; color: var(--afled-purple-900); }
.afled-btn-white:hover { background: var(--afled-amber-400); color: var(--afled-purple-950); }

/* ===================== SECTIONS ===================== */
.afled-section { padding: 6rem 0; background: white; }
.afled-section-alt { background: linear-gradient(180deg, var(--afled-purple-50) 40%, white); }
.afled-section-header { max-width: 800px; margin-bottom: 3.5rem; }
.afled-section-header-center { margin-left: auto; margin-right: auto; text-align: center; }
.afled-section-header-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.afled-section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.1; margin: 0 0 1rem; }
.afled-section-title-small { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.afled-section-title-inverse { color: white; }
.afled-link-more { color: var(--afled-purple-800); font-weight: 600; font-size: 14px; text-decoration: none; }
.afled-link-more:hover { color: var(--afled-purple-900); }

/* ===================== IMPACT ===================== */
.afled-impact {
    padding: 5rem 0; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--afled-purple-900), var(--afled-purple-800), var(--afled-fuchsia-800));
    color: white;
}
.afled-impact-pattern {
    position: absolute; inset: 0; opacity: 0.1;
    background-image: radial-gradient(circle at 20% 30%, white 1px, transparent 1px),
                      radial-gradient(circle at 70% 70%, white 1px, transparent 1px);
    background-size: 60px 60px;
}
.afled-impact-header { text-align: center; margin-bottom: 3rem; position: relative; }
.afled-impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
@media (max-width: 767px) { .afled-impact-grid { grid-template-columns: repeat(2, 1fr); } }
.afled-impact-card {
    padding: 1.75rem; border-radius: 1rem;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
}
.afled-impact-value {
    font-family: var(--afled-font-display); font-weight: 900;
    font-size: 3rem; line-height: 1; color: white; margin-bottom: 0.5rem;
}
.afled-impact-label { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 500; }

/* ===================== AXES (accueil) ===================== */
.afled-axes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1023px) { .afled-axes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .afled-axes-grid { grid-template-columns: 1fr; } }
.afled-axe-card {
    position: relative; min-height: 380px; border-radius: var(--afled-radius-lg);
    overflow: hidden; background: var(--afled-slate-900);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.afled-axe-card:hover { transform: translateY(-8px); box-shadow: var(--afled-shadow-2xl); }
.afled-axe-featured { grid-column: span 2; grid-row: span 2; min-height: 480px; }
@media (max-width: 1023px) { .afled-axe-featured { grid-column: span 2; grid-row: auto; } }
@media (max-width: 639px) { .afled-axe-featured { grid-column: span 1; } }
.afled-axe-card img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0.7; transition: transform 0.7s ease, opacity 0.3s ease;
}
.afled-axe-card:hover img { opacity: 0.9; transform: scale(1.05); }
.afled-axe-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,.2) 50%, transparent); }
.afled-axe-content { position: absolute; inset: 0; padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; }
.afled-axe-index { color: rgba(255,255,255,.7); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.afled-axe-title { color: white; font-size: 1.5rem; font-weight: 900; margin: 0 0 0.75rem; line-height: 1.2; }
.afled-axe-featured .afled-axe-title { font-size: 2.25rem; }
.afled-axe-desc { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.6; margin: 0; }

/* ===================== NEWS ===================== */
.afled-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 1023px) { .afled-news-grid { grid-template-columns: 1fr; } }
.afled-news-featured a { display: block; text-decoration: none; color: inherit; }
.afled-news-image { position: relative; aspect-ratio: 16/11; border-radius: var(--afled-radius-lg); overflow: hidden; margin-bottom: 1.25rem; box-shadow: var(--afled-shadow-lg); }
.afled-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.afled-news-featured a:hover .afled-news-image img { transform: scale(1.05); }
.afled-news-date-badge { position: absolute; bottom: 1.25rem; left: 1.25rem; padding: 0.25rem 0.75rem; border-radius: var(--afled-radius-full); background: rgba(255,255,255,.9); color: var(--afled-purple-800); font-size: 12px; font-weight: 700; backdrop-filter: blur(8px); }
.afled-news-title { font-size: 1.875rem; font-weight: 900; line-height: 1.15; margin: 0 0 0.75rem; }
.afled-news-featured a:hover .afled-news-title { color: var(--afled-purple-800); }
.afled-news-excerpt { color: var(--afled-slate-600); line-height: 1.7; }
.afled-news-list { display: grid; gap: 1.25rem; }
.afled-news-item a { display: flex; gap: 1.25rem; align-items: center; text-decoration: none; color: inherit; }
.afled-news-item img { width: 160px; aspect-ratio: 4/3; object-fit: cover; border-radius: 1rem; transition: transform 0.5s ease; }
.afled-news-item a:hover img { transform: scale(1.1); }
.afled-news-date { font-size: 12px; color: var(--afled-purple-800); font-weight: 600; margin-bottom: 0.375rem; }
.afled-news-item-title { font-size: 1.125rem; font-weight: 700; line-height: 1.35; margin: 0; }
.afled-news-item a:hover .afled-news-item-title { color: var(--afled-purple-800); }

/* Cards list (page /actualites) */
.afled-news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 1023px) { .afled-news-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .afled-news-cards { grid-template-columns: 1fr; } }
.afled-news-card { background: white; border-radius: var(--afled-radius-lg); overflow: hidden; border: 1px solid var(--afled-slate-100); box-shadow: var(--afled-shadow-md); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.afled-news-card:hover { transform: translateY(-8px); box-shadow: var(--afled-shadow-2xl); }
.afled-news-card a { display: block; color: inherit; text-decoration: none; }
.afled-news-card-image { aspect-ratio: 16/10; overflow: hidden; background: var(--afled-purple-100); }
.afled-news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.afled-news-card:hover .afled-news-card-image img { transform: scale(1.1); }
.afled-news-card-body { padding: 1.5rem; }
.afled-news-card-date { font-size: 12px; color: var(--afled-purple-800); font-weight: 600; margin-bottom: 0.75rem; }
.afled-news-card h2 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; margin: 0 0 0.75rem; }
.afled-news-card p { color: var(--afled-slate-600); font-size: 14px; line-height: 1.6; margin: 0 0 1rem; }
.afled-news-card-link { color: var(--afled-purple-800); font-weight: 600; font-size: 14px; }

.afled-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.afled-pagination a, .afled-pagination span { padding: 0.5rem 0.875rem; border-radius: var(--afled-radius); color: var(--afled-slate-700); text-decoration: none; font-weight: 600; }
.afled-pagination .current { background: var(--afled-purple-900); color: white; }
.afled-pagination a:hover { background: var(--afled-purple-50); color: var(--afled-purple-900); }

/* ===================== TEAM ===================== */
.afled-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 767px) { .afled-team-grid { grid-template-columns: 1fr; } }
.afled-team-card { background: white; border-radius: var(--afled-radius-lg); overflow: hidden; border: 1px solid var(--afled-slate-100); box-shadow: var(--afled-shadow-md); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.afled-team-card:hover { transform: translateY(-8px); box-shadow: var(--afled-shadow-2xl); }
.afled-team-image { aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, var(--afled-purple-100), #fce7f3); }
.afled-team-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.afled-team-card:hover .afled-team-image img { transform: scale(1.05); }
.afled-team-body { padding: 1.5rem; text-align: center; }
.afled-team-body h3 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.afled-team-role { color: var(--afled-purple-800); font-weight: 600; font-size: 13px; margin: 0.25rem 0 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.afled-team-body p { color: var(--afled-slate-600); font-size: 14px; line-height: 1.6; margin: 0; }

.afled-team-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 767px) { .afled-team-grid-full { grid-template-columns: 1fr; } }
.afled-team-card-large .afled-team-image-large { position: relative; aspect-ratio: 4/5; border-radius: var(--afled-radius-lg); overflow: hidden; box-shadow: var(--afled-shadow-lg); margin-bottom: 1.25rem; }
.afled-team-card-large .afled-team-image-large img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.afled-team-number { position: absolute; top: 1rem; left: 1rem; padding: 0.25rem 0.75rem; border-radius: var(--afled-radius-full); background: rgba(255,255,255,.95); color: var(--afled-purple-800); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; backdrop-filter: blur(8px); }
.afled-team-social { position: absolute; bottom: 1rem; left: 1rem; display: flex; gap: 0.5rem; }
.afled-team-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--afled-purple-800); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.afled-team-card-large h3 { font-size: 1.5rem; margin: 0 0 0.25rem; }

/* ===================== PAGE HERO ===================== */
.afled-page-hero {
    position: relative; padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--afled-purple-900), var(--afled-purple-800), var(--afled-fuchsia-800));
    color: white; overflow: hidden;
}
.afled-page-hero-pattern {
    position: absolute; inset: 0; opacity: 0.1;
    background-image: radial-gradient(circle at 20% 30%, white 1px, transparent 1px),
                      radial-gradient(circle at 70% 70%, white 1px, transparent 1px);
    background-size: 60px 60px;
}
.afled-page-hero-blob { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(80px); }
.afled-page-hero-blob-1 { top: -5rem; left: -5rem; background: rgba(190,24,93,.2); }
.afled-page-hero-blob-2 { bottom: -5rem; right: -5rem; background: rgba(245,158,11,.1); }
.afled-page-hero-inner { position: relative; z-index: 1; }
.afled-back-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,.7); font-size: 14px; text-decoration: none;
    margin-bottom: 1.5rem; transition: color 0.2s;
}
.afled-back-link:hover { color: white; }
.afled-page-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: white; margin: 0 0 1rem; line-height: 1.05; }
.afled-page-subtitle { font-size: clamp(1rem, 2vw, 1.125rem); color: rgba(255,255,255,.8); max-width: 720px; margin: 0; line-height: 1.6; }

/* ===================== ABOUT PAGE ===================== */
.afled-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 1023px) { .afled-two-col { grid-template-columns: 1fr; } }
.afled-two-col-image { position: relative; }
.afled-image-main { position: relative; aspect-ratio: 4/5; border-radius: var(--afled-radius-lg); overflow: hidden; box-shadow: var(--afled-shadow-2xl); }
.afled-image-main img { width: 100%; height: 100%; object-fit: cover; }
.afled-image-side { position: absolute; bottom: -2rem; right: -1rem; width: 220px; aspect-ratio: 1; border-radius: var(--afled-radius-lg); overflow: hidden; box-shadow: var(--afled-shadow-2xl); border: 8px solid white; }
.afled-image-side img { width: 100%; height: 100%; object-fit: cover; }
.afled-image-badge { position: absolute; top: -1.5rem; left: -1rem; background: white; border-radius: var(--afled-radius); padding: 1rem 1.25rem; box-shadow: var(--afled-shadow-xl); border: 1px solid var(--afled-purple-100); }
.afled-image-badge-number { font-family: var(--afled-font-display); font-weight: 900; font-size: 1.75rem; color: var(--afled-purple-900); line-height: 1; }
.afled-image-badge-label { font-size: 11px; color: var(--afled-slate-500); text-transform: uppercase; letter-spacing: 0.15em; margin-top: 0.25rem; }

.afled-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 767px) { .afled-mission-grid { grid-template-columns: 1fr; } }
.afled-mission-card { background: white; border-radius: var(--afled-radius-lg); padding: 2rem; box-shadow: var(--afled-shadow-lg); border: 1px solid var(--afled-purple-100); }
.afled-mission-icon { width: 56px; height: 56px; border-radius: var(--afled-radius); background: linear-gradient(135deg, var(--afled-purple-700), var(--afled-fuchsia-700)); display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 1.25rem; }
.afled-mission-card h3 { font-size: 1.5rem; font-weight: 900; margin: 0 0 0.75rem; }
.afled-mission-card p { color: var(--afled-slate-600); line-height: 1.7; margin: 0; }

/* ===================== AXES DETAIL PAGE ===================== */
.afled-axes-detail { display: flex; flex-direction: column; gap: 4rem; max-width: 1100px; margin: 0 auto; }
.afled-axe-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 1023px) { .afled-axe-detail { grid-template-columns: 1fr; } }
.afled-axe-detail-reverse .afled-axe-detail-image { order: 2; }
@media (max-width: 1023px) { .afled-axe-detail-reverse .afled-axe-detail-image { order: 0; } }
.afled-axe-detail-image { position: relative; aspect-ratio: 4/3; border-radius: var(--afled-radius-lg); overflow: hidden; box-shadow: var(--afled-shadow-xl); }
.afled-axe-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.afled-axe-detail-badge { position: absolute; bottom: 1.25rem; left: 1.25rem; color: rgba(255,255,255,.95); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }
.afled-axe-detail-content h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 900; margin: 0 0 1rem; }
.afled-axe-detail-desc { color: var(--afled-slate-600); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; }
.afled-check-list { list-style: none; padding: 0; margin: 0; }
.afled-check-list li { position: relative; padding-left: 2rem; margin-bottom: 0.625rem; color: var(--afled-slate-700); }
.afled-check-list li:before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--afled-purple-100); border: 1px solid var(--afled-purple-200, #e9d5ff); color: var(--afled-purple-800); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ===================== PROJECTS ===================== */
.afled-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 1023px) { .afled-projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .afled-projects-grid { grid-template-columns: 1fr; } }
.afled-project-card { background: white; border-radius: var(--afled-radius-lg); overflow: hidden; border: 1px solid var(--afled-slate-100); box-shadow: var(--afled-shadow-md); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.afled-project-card:hover { transform: translateY(-8px); box-shadow: var(--afled-shadow-2xl); }
.afled-project-card a { display: block; color: inherit; text-decoration: none; }
.afled-project-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--afled-purple-100); }
.afled-project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.afled-project-card:hover .afled-project-image img { transform: scale(1.1); }
.afled-project-tag { position: absolute; top: 1rem; left: 1rem; padding: 0.25rem 0.75rem; border-radius: var(--afled-radius-full); background: rgba(255,255,255,.95); color: var(--afled-purple-800); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; backdrop-filter: blur(8px); }
.afled-project-body { padding: 1.5rem; }
.afled-project-body h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; margin: 0 0 0.75rem; }
.afled-project-body p { color: var(--afled-slate-600); font-size: 14px; line-height: 1.6; margin: 0 0 1.25rem; }
.afled-project-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--afled-slate-500); padding-top: 1rem; border-top: 1px solid var(--afled-slate-100); }

/* ===================== CTA SECTION ===================== */
.afled-cta-section {
    padding: 4rem 0; background: linear-gradient(135deg, var(--afled-purple-900), var(--afled-fuchsia-900));
    color: white; text-align: center;
}
.afled-cta-inner h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 900; margin: 0 0 1rem; color: white; }
.afled-cta-inner p { font-size: 1.125rem; color: rgba(255,255,255,.85); margin: 0 0 1.5rem; }

/* ===================== GALLERY ===================== */
.afled-gallery-controls { padding: 1rem 0; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--afled-slate-100); position: sticky; top: 80px; z-index: 30; backdrop-filter: blur(10px); }
.afled-gallery-search { max-width: 400px; }
.afled-gallery-search input { width: 100%; height: 44px; padding: 0 1rem; border: 1px solid var(--afled-slate-200); border-radius: var(--afled-radius-full); font-size: 14px; }
.afled-gallery-search input:focus { outline: none; border-color: var(--afled-purple-500); box-shadow: 0 0 0 3px rgba(168,85,247,.2); }
.afled-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1023px) { .afled-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .afled-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.afled-gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--afled-radius); background: var(--afled-purple-100); border: none; padding: 0; cursor: pointer; box-shadow: var(--afled-shadow-md); transition: box-shadow 0.3s ease; }
.afled-gallery-item:hover { box-shadow: var(--afled-shadow-2xl); }
.afled-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.afled-gallery-item:hover img { transform: scale(1.1); }
.afled-gallery-caption { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 50%); display: flex; align-items: flex-end; padding: 1rem; opacity: 0; transition: opacity 0.3s; text-align: left; }
.afled-gallery-item:hover .afled-gallery-caption { opacity: 1; }
.afled-gallery-caption span { color: white; font-family: var(--afled-font-display); font-weight: 700; font-size: 14px; }

.afled-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.95); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 2rem; }
.afled-lightbox.is-open { display: flex; }
.afled-lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: white; border: none; font-size: 20px; cursor: pointer; }
.afled-lightbox-close:hover { background: rgba(255,255,255,.2); }
.afled-lightbox-body { max-width: 1100px; max-height: 90vh; text-align: center; }
.afled-lightbox-body img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 0.5rem; }
.afled-lightbox-title { color: white; font-family: var(--afled-font-display); font-weight: 700; font-size: 1.125rem; margin-top: 1rem; }

/* ===================== SINGLE ARTICLE ===================== */
.afled-single-hero { position: relative; padding: 8rem 0 4rem; overflow: hidden; }
.afled-single-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--afled-purple-900), var(--afled-fuchsia-800)); }
.afled-single-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.afled-single-hero-inner { position: relative; max-width: 900px; }
.afled-single-meta { display: flex; gap: 1rem; color: rgba(255,255,255,.8); font-size: 14px; margin: 1rem 0; }
.afled-single-cat { padding: 0.125rem 0.75rem; border-radius: var(--afled-radius-full); background: rgba(251,191,36,.2); color: var(--afled-amber-400); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; }
.afled-single-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: white; margin: 0; line-height: 1.1; }
.afled-single-featured { margin-top: -3rem; position: relative; z-index: 2; max-width: 1100px; margin-left: auto; margin-right: auto; padding: 0 1.5rem; }
.afled-single-featured img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--afled-radius-lg); box-shadow: var(--afled-shadow-2xl); border: 4px solid white; }
.afled-single { padding: 4rem 0; }
.afled-single-content { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; font-size: 1.05rem; line-height: 1.8; color: var(--afled-slate-700); }
.afled-single-content h2, .afled-single-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.afled-single-content p { margin-bottom: 1rem; }
.afled-single-content img { max-width: 100%; height: auto; border-radius: var(--afled-radius); box-shadow: var(--afled-shadow-md); margin: 1.5rem 0; }
.afled-single-content a { color: var(--afled-purple-800); font-weight: 600; }

.afled-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 767px) { .afled-related-grid { grid-template-columns: 1fr; } }
.afled-related-card { background: white; border-radius: var(--afled-radius-lg); overflow: hidden; border: 1px solid var(--afled-slate-100); box-shadow: var(--afled-shadow-md); transition: transform 0.35s ease; }
.afled-related-card:hover { transform: translateY(-4px); }
.afled-related-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.afled-related-card div { padding: 1.25rem; }
.afled-related-date { color: var(--afled-purple-800); font-size: 12px; font-weight: 600; margin-bottom: 0.5rem; }
.afled-related-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0; line-height: 1.35; }

/* ===================== CONTACT ===================== */
.afled-contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 2.5rem; }
@media (max-width: 1023px) { .afled-contact-grid { grid-template-columns: 1fr; } }
.afled-contact-info { display: flex; flex-direction: column; gap: 1rem; }
.afled-contact-item { padding: 1.25rem; background: white; border-radius: var(--afled-radius); border: 1px solid var(--afled-purple-100); box-shadow: var(--afled-shadow-md); }
.afled-contact-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--afled-purple-800); font-weight: 700; }
.afled-contact-value { font-weight: 600; color: var(--afled-slate-800); margin-top: 0.25rem; }
.afled-contact-sub { font-size: 13px; color: var(--afled-slate-500); margin-top: 0.125rem; }
.afled-contact-form { background: white; padding: 2rem; border-radius: var(--afled-radius-lg); box-shadow: var(--afled-shadow-xl); border: 1px solid var(--afled-purple-100); }
.afled-form-intro { color: var(--afled-slate-500); margin-bottom: 1.5rem; }
.afled-form-empty { padding: 1rem; background: var(--afled-purple-50); border: 1px solid var(--afled-purple-100); border-radius: var(--afled-radius); color: var(--afled-slate-600); }
/* Contact Form 7 styling */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
    width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--afled-slate-200); border-radius: var(--afled-radius); font-family: inherit; font-size: 15px; margin-top: 0.375rem;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--afled-purple-500); box-shadow: 0 0 0 3px rgba(168,85,247,.15); }
.wpcf7 label { display: block; margin-top: 1rem; font-weight: 600; color: var(--afled-slate-700); font-size: 14px; }
.wpcf7 .wpcf7-submit { background: linear-gradient(90deg, var(--afled-purple-800), var(--afled-fuchsia-700)); color: white; border: none; padding: 0.875rem 2rem; border-radius: var(--afled-radius); font-weight: 700; cursor: pointer; width: 100%; margin-top: 1.5rem; }
.wpcf7 .wpcf7-submit:hover { background: linear-gradient(90deg, var(--afled-purple-900), var(--afled-fuchsia-800)); }

/* ===================== FOOTER ===================== */
.afled-footer { position: relative; padding: 5rem 0 2rem; background: linear-gradient(135deg, var(--afled-purple-950), var(--afled-purple-900), var(--afled-fuchsia-950, #4a044e)); color: white; overflow: hidden; }
.afled-footer-decor { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(80px); }
.afled-footer-decor-1 { top: -8rem; left: -8rem; background: rgba(168,85,247,.1); }
.afled-footer-decor-2 { bottom: -8rem; right: -8rem; background: rgba(217,70,239,.1); }
.afled-footer-inner { position: relative; }
.afled-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 1023px) { .afled-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .afled-footer-grid { grid-template-columns: 1fr; } }
.afled-footer h4 { color: white; font-size: 1.125rem; margin: 0 0 1.25rem; }
.afled-footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.afled-footer-logo { width: 56px; height: 56px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; box-shadow: var(--afled-shadow-lg); overflow: hidden; }
.afled-footer-logo img { width: 44px; height: 44px; object-fit: contain; }
.afled-footer-name { font-family: var(--afled-font-display); font-weight: 900; font-size: 1.25rem; color: white; }
.afled-footer-since { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,.6); }
.afled-footer-desc { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; margin: 0 0 1.25rem; }
.afled-footer-social { display: flex; gap: 0.5rem; }
.afled-footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: white; transition: background 0.2s; }
.afled-footer-social a:hover { background: var(--afled-amber-500); color: white; }
.afled-footer-links { list-style: none; padding: 0; margin: 0; }
.afled-footer-links li { margin-bottom: 0.625rem; }
.afled-footer-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.afled-footer-links a:hover { color: white; }
.afled-footer-contact { list-style: none; padding: 0; margin: 0; }
.afled-footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.875rem; color: rgba(255,255,255,.7); font-size: 14px; }
.afled-footer-contact svg { color: var(--afled-amber-400); flex-shrink: 0; margin-top: 4px; }
.afled-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 12px; color: rgba(255,255,255,.5); }
.afled-footer-bottom-links { display: flex; gap: 1.25rem; }
.afled-footer-bottom-links a { color: rgba(255,255,255,.5); text-decoration: none; }
.afled-footer-bottom-links a:hover { color: white; }

/* ===================== HELPERS ===================== */
.afled-empty { text-align: center; padding: 3rem 1rem; color: var(--afled-slate-500); }
.afled-prose { max-width: 800px; margin: 0 auto; }
.afled-prose p { color: var(--afled-slate-700); line-height: 1.8; margin-bottom: 1rem; }
.afled-prose h2, .afled-prose h3 { margin-top: 2rem; margin-bottom: 1rem; }
.is-hidden { display: none !important; }
