:root {
    /* --- TOKENS DE COULEUR MATERIAL YOU (M3 DARK) --- */
    --md-sys-color-background: #141218;
    --md-sys-color-on-background: #e6e1e5;
    
    /* Surfaces */
    --md-sys-color-surface: #1d1b20;
    --md-sys-color-surface-dim: #141218;
    --md-sys-color-surface-variant: #49454f;
    --md-sys-color-on-surface: #e6e1e5;
    --md-sys-color-on-surface-variant: #cac4d0;
    --md-sys-color-surface-container: #211f26;
    
    /* Accents (Dynamic Style - Bleu/Violet Tech & Suomi) */
    --md-sys-color-primary: #a8c7fa;
    --md-sys-color-on-primary: #062e6f;
    --md-sys-color-primary-container: #004a77;
    --md-sys-color-on-primary-container: #c2e7ff;
    
    --md-sys-color-secondary: #c2c6dc;
    --md-sys-color-secondary-container: #444658;
    --md-sys-color-on-secondary-container: #e2e2f9;
    
    --md-sys-color-outline: #938f99;
    --md-sys-color-outline-variant: #444746;
    --md-sys-color-success: #b4eed0;

    /* Typographie */
    --font-title: 'Montserrat', sans-serif;
    --font-subtitle: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-code: 'Space Mono', monospace;

    /* Arrondis de surface */
    --md-shape-corner-small: 8px;
    --md-shape-corner-medium: 12px;
    --md-shape-corner-large: 16px;
    --md-shape-corner-extra-large: 28px;
    --md-shape-corner-full: 50px;
}

/* --- Base Setup --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

@media (pointer: fine) {
    body, a, button, input, .project-card, .stat-card, .suomi-card, .clock-card, .value-card, .don-card, .global-banner-card {
        cursor: none !important;
    }
}

body {
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    font-family: var(--font-body);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* --- POINTEUR PERSONNALISÉ (CUSTOM CURSOR) --- */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--md-sys-color-primary);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 10000000 !important;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease, width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(168, 199, 250, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999999 !important;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.1s ease-out, width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
}

.cursor-visible { opacity: 1 !important; }

.cursor-hover .cursor-dot { width: 12px; height: 12px; background-color: #ffffff; }
.cursor-hover .cursor-outline {
    width: 54px;
    height: 54px;
    border-color: var(--md-sys-color-primary);
    background-color: rgba(168, 199, 250, 0.08);
}

iframe, .g-recaptcha, #captcha-overlay {
    cursor: auto !important;
}

/* --- Splash Screen --- */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--md-sys-color-background);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.loader-content { text-align: center; width: 80%; max-width: 300px; }
.loader-text {
    font-family: var(--font-title); font-weight: 700; font-size: 2rem;
    color: var(--md-sys-color-on-background); letter-spacing: 2px;
    display: block; margin-bottom: 24px;
}

.loader-bar {
    width: 0; height: 4px;
    background: var(--md-sys-color-primary);
    border-radius: var(--md-shape-corner-full);
    animation: progress 1s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.loader-hidden { transform: translateY(-100%); }
@keyframes progress { 0% { width: 0; } 100% { width: 100%; } }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.page-padding { padding: 140px 8% 60px 8%; }
.full-height { min-height: 100vh; }
.flex-center { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.text-center { text-align: center; }

/* --- Status Bar --- */
.status-bar {
    background: var(--md-sys-color-surface-dim);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    width: 100%; padding: 6px 0; position: fixed; top: 0; z-index: 1001;
    display: flex; justify-content: center;
}
.status-content { 
    display: flex; align-items: center; gap: 12px; 
    font-family: var(--font-subtitle); font-size: 0.75rem; font-weight: 500; 
    color: var(--md-sys-color-on-surface-variant);
}

/* --- Navigation Header --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; height: 64px; position: fixed; top: 32px; width: 100%;
    background: rgba(29, 27, 32, 0.85); backdrop-filter: blur(20px);
    z-index: 1000; border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.logo a { 
    font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; 
    color: var(--md-sys-color-primary); transition: transform 0.2s ease;
    display: inline-block;
}
.logo a:hover { transform: scale(1.03); }
.nav-links { display: flex; gap: 20px; list-style: none; font-family: var(--font-subtitle); align-items: center; }
.nav-links a { 
    font-weight: 500; font-size: 0.85rem; color: var(--md-sys-color-on-surface-variant); 
    transition: color 0.2s, transform 0.2s; display: inline-block;
}
.nav-links a:hover, .nav-links a.active { color: var(--md-sys-color-primary); transform: translateY(-1px); }

/* Distinction Nav Global */
.nav-links a.nav-global {
    color: var(--md-sys-color-primary) !important;
    background: rgba(168, 199, 250, 0.1);
    padding: 6px 14px;
    border-radius: var(--md-shape-corner-full);
    border: 1px solid rgba(168, 199, 250, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.nav-links a.nav-global:hover {
    background: var(--md-sys-color-primary-container);
    color: #c2e7ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 199, 250, 0.25);
}

.btn-contact { 
    border: 1px solid var(--md-sys-color-outline); padding: 8px 16px; 
    border-radius: var(--md-shape-corner-full); font-family: var(--font-subtitle);
    font-size: 0.85rem; transition: all 0.2s ease-in-out;
}
.btn-contact:hover { 
    background: var(--md-sys-color-primary-container); 
    color: var(--md-sys-color-on-primary-container) !important;
    border-color: transparent; box-shadow: 0 4px 12px rgba(168, 199, 250, 0.2);
}
.btn-contact.active {
    background: var(--md-sys-color-primary-container) !important;
    color: var(--md-sys-color-on-primary-container) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(168, 199, 250, 0.25);
}

/* Menu Burger Mobile & Animation Croix 'X' */
.burger { display: none; cursor: pointer; outline: none; }
.burger div { width: 22px; height: 2px; background-color: var(--md-sys-color-on-surface); margin: 5px; transition: all 0.3s cubic-bezier(0.2, 0, 0, 1); }
.burger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.burger.toggle .line2 { opacity: 0; transform: translateX(-10px); }
.burger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

/* --- Hero Section & Badge Focus --- */
.hero { display: flex; align-items: center; justify-content: space-between; padding: 0 5%; position: relative; overflow: hidden; padding-top: 40px; }
.hero-content { max-width: 600px; z-index: 2; }
h1 { font-family: var(--font-title); font-size: 3.2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -1px; }
.highlight { color: var(--md-sys-color-primary); }
h2 { font-size: 1.2rem; color: var(--md-sys-color-secondary); font-family: var(--font-code); margin-bottom: 16px; }

.focus-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-outline-variant);
    padding: 8px 18px;
    border-radius: var(--md-shape-corner-full);
    font-family: var(--font-subtitle);
    font-size: 0.82rem;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.focus-dot {
    width: 8px; height: 8px; background: #4ade80; border-radius: 50%;
    box-shadow: 0 0 0 rgba(74, 222, 128, 0.4); animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero p { font-size: 1rem; line-height: 1.6; margin-bottom: 32px; color: var(--md-sys-color-on-surface-variant); }

.btn { 
    display: inline-block; padding: 12px 24px; 
    border-radius: var(--md-shape-corner-full); font-family: var(--font-subtitle);
    font-size: 0.9rem; font-weight: 600; transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease; 
    margin-right: 12px; position: relative; overflow: hidden;
}
.btn.primary { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
.btn.secondary { border: 1px solid var(--md-sys-color-outline); color: var(--md-sys-color-primary); background: transparent; }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.btn:active { transform: translateY(-1px) scale(0.98); }

.hero-visual { position: absolute; right: 5%; top: 20%; width: 40%; height: 60%; pointer-events: none; }
.circle { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; }
.c1 { width: 350px; height: 350px; background: var(--md-sys-color-primary); top: 5%; left: 15%; animation: float 7s infinite ease-in-out; }
.c2 { width: 250px; height: 250px; background: var(--md-sys-color-secondary); bottom: 5%; right: 5%; animation: float 9s infinite ease-in-out reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.section-title { font-family: var(--font-title); font-size: 2.2rem; margin-bottom: 48px; text-align: center; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.about-text p { margin-bottom: 24px; line-height: 1.6; color: var(--md-sys-color-on-surface-variant); }
.skills-container { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.skill-tag { 
    background: var(--md-sys-color-surface-container); color: var(--md-sys-color-on-surface);
    border: 1px solid var(--md-sys-color-outline-variant); padding: 6px 12px; 
    border-radius: var(--md-shape-corner-medium); font-family: var(--font-subtitle); font-size: 0.8rem; 
    transition: transform 0.2s, border-color 0.2s, background-color 0.2s;
}
.skill-tag:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: var(--md-sys-color-primary);
    background-color: var(--md-sys-color-surface-variant);
}

.stat-card { 
    background: var(--md-sys-color-surface-container); padding: 24px; 
    border-radius: var(--md-shape-corner-extra-large); text-align: center; 
    margin-bottom: 16px; border: 1px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
}
.stat-card:hover {
    border-color: var(--md-sys-color-outline-variant);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.stat-card i { font-size: 1.75rem; color: var(--md-sys-color-primary); margin-bottom: 12px; transition: transform 0.2s; }
.stat-card:hover i { transform: scale(1.15) rotate(-5deg); }

/* --- Projects Grid --- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.project-card { 
    background: var(--md-sys-color-surface-container); border-radius: var(--md-shape-corner-extra-large); 
    overflow: hidden; border: 1px solid var(--md-sys-color-outline-variant);
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease, border-color 0.2s ease; 
    display: flex; flex-direction: column; transform-style: preserve-3d;
}
.project-card:hover { 
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.card-header { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: rgba(255,255,255,0.15); }
.roblox-bg { background: linear-gradient(135deg, #441013, var(--md-sys-color-surface-container)); }

.card-image-container { height: 320px; background: #141218; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.book-cover { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform 0.3s ease; }
.project-card:hover .book-cover { transform: scale(1.05); }

.card-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { font-family: var(--font-title); font-size: 1.25rem; margin-bottom: 8px; color: var(--md-sys-color-on-surface); }
.project-card p { font-family: var(--font-body); font-size: 0.9rem; color: var(--md-sys-color-on-surface-variant); margin-bottom: 24px; flex-grow: 1; line-height: 1.5; }

.tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tag { font-family: var(--font-subtitle); font-size: 0.65rem; padding: 4px 8px; border-radius: var(--md-shape-corner-small); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;}
.tag.lua { background: #002266; color: #dce2ff; } 
.tag.luau { background: #004a77; color: #c2e7ff; } 
.tag.roblox { background: #680003; color: #ffdad5; } 
.tag.writer { background: #562400; color: #ffdcbe; }
.tag.android { background: #005339; color: #b4eed0; }
.tag.privacy { background: #211f26; color: #cac4d0; border: 1px solid var(--md-sys-color-outline-variant); }

.buttons-group { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-small { 
    display: inline-block; padding: 6px 14px; font-family: var(--font-subtitle);
    font-size: 0.8rem; font-weight: 500; border: 1px solid var(--md-sys-color-outline); 
    color: var(--md-sys-color-primary); border-radius: var(--md-shape-corner-full); 
    transition: all 0.2s ease;
}
.btn-small:hover { background: rgba(168, 199, 250, 0.15); transform: translateY(-2px); }
.btn-buy { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); border: none; font-weight: 600; }
.btn-buy:hover { background: #90b4ee; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(168, 199, 250, 0.3); }
.btn-small.disabled { border-color: var(--md-sys-color-outline-variant); color: var(--md-sys-color-outline-variant); pointer-events: none; }
.btn-small.store-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; }
.btn-small.store-btn img { height: 16px; width: auto; vertical-align: middle; filter: grayscale(100%); opacity: 0.6; }

/* --- Footer --- */
footer { margin-top: auto; padding: 32px 0; text-align: center; color: var(--md-sys-color-on-surface-variant); font-family: var(--font-subtitle); font-size: 0.8rem; border-top: 1px solid var(--md-sys-color-outline-variant); }

/* --- Motion & Scroll Animations --- */
.scroll-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.2, 0, 0, 1), transform 0.6s cubic-bezier(0.2, 0, 0, 1); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.delay-200 { transition-delay: 0.15s; }

/* --- Timeline --- */
.timeline { position: relative; max-width: 800px; margin: 48px auto; padding-left: 32px; border-left: 2px solid var(--md-sys-color-outline-variant); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
    position: absolute; left: -42px; top: 4px; width: 18px; height: 18px;
    background: var(--md-sys-color-surface); border: 2px solid var(--md-sys-color-outline);
    border-radius: 50%; z-index: 1; transition: transform 0.2s, background-color 0.2s;
}
.timeline-item:hover .timeline-dot { transform: scale(1.3); border-color: var(--md-sys-color-primary); }
.highlight-dot { background: var(--md-sys-color-primary); border-color: var(--md-sys-color-primary); box-shadow: 0 0 12px rgba(168, 199, 250, 0.4); }
.timeline-date { font-family: var(--font-subtitle); font-weight: 600; font-size: 0.8rem; color: var(--md-sys-color-primary); margin-bottom: 6px; }
.timeline-content h3 { font-family: var(--font-title); font-size: 1.15rem; margin-bottom: 8px; color: var(--md-sys-color-on-surface); }
.timeline-content p { font-family: var(--font-body); color: var(--md-sys-color-on-surface-variant); line-height: 1.5; font-size: 0.9rem; }

/* --- WIDGET EUROPASS --- */
.europass-card {
    background: linear-gradient(135deg, #002b7f 0%, #00194d 100%);
    border: 1px solid rgba(255, 204, 0, 0.35); border-radius: var(--md-shape-corner-extra-large, 28px);
    padding: 24px; margin-top: 16px; color: #ffffff; box-shadow: 0 8px 24px rgba(0, 43, 127, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease; text-align: left; transform-style: preserve-3d;
}
.europass-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 51, 153, 0.4); }
.europass-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.europass-logo { height: 30px; background: #ffffff; padding: 4px 10px; border-radius: var(--md-shape-corner-small); }
.eu-badge { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 204, 0, 0.4); border-radius: 50px; padding: 4px 10px; font-size: 0.72rem; font-family: var(--font-subtitle); font-weight: 600; color: #ffcc00; display: inline-flex; align-items: center; gap: 6px; }
.europass-card h3 { font-family: var(--font-title); font-size: 1.2rem; color: #ffffff; margin-bottom: 8px; }
.europass-card p { font-family: var(--font-body); font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 20px; }
.europass-footer { display: flex; flex-direction: column; gap: 14px; }
.nextgen-logo { height: 36px; border-radius: 6px; background: #ffffff; padding: 4px 8px; align-self: flex-start; }
.btn-europass { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #ffcc00; color: #00194d; font-family: var(--font-subtitle); font-weight: 700; font-size: 0.85rem; padding: 10px 18px; border-radius: 50px; transition: all 0.2s ease; }
.btn-europass:hover { background: #ffe066; transform: scale(1.02); }

/* --- STYLES NORDIC & FINLANDE (SUOMI) --- */
.suomi-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 53, 128, 0.3); border: 1px solid #003580;
    color: #a8c7fa; padding: 6px 16px; border-radius: var(--md-shape-corner-full);
    font-family: var(--font-subtitle); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px;
}
.fi-flag { width: 20px; height: auto; border-radius: 2px; }

/* Double Horloge Temps Réel (Finlande / Paris) */
.clocks-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 28px auto 36px auto;
    max-width: 650px;
}
.clock-card {
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-extra-large);
    padding: 20px 24px;
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, border-color 0.2s ease;
    transform-style: preserve-3d;
}
.clock-card:hover {
    border-color: var(--md-sys-color-primary);
    transform: translateY(-3px);
}
.clock-city {
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface-variant);
    display: flex;
    align-items: center;
    gap: 8px;
}
.clock-time {
    font-family: var(--font-code);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    letter-spacing: 1px;
}
.clock-tz {
    font-family: var(--font-code);
    font-size: 0.72rem;
    color: var(--md-sys-color-outline);
}

.suomi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.suomi-card {
    background: var(--md-sys-color-surface-container); border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-extra-large); padding: 24px; text-align: left;
    position: relative; overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
}
.suomi-card:hover { transform: translateY(-4px); border-color: #003580; box-shadow: 0 12px 28px rgba(0, 53, 128, 0.2); }
.suomi-card .step-num { font-family: var(--font-code); font-size: 0.75rem; color: #003580; background: #e0f2fe; padding: 2px 8px; border-radius: 4px; font-weight: 700; margin-bottom: 12px; display: inline-block; }
.suomi-card.done .step-num { background: #b4eed0; color: #005339; }
.suomi-card h3 { font-family: var(--font-title); font-size: 1.15rem; color: var(--md-sys-color-on-surface); margin-bottom: 8px; }
.suomi-card p { font-family: var(--font-body); font-size: 0.88rem; color: var(--md-sys-color-on-surface-variant); line-height: 1.5; }

/* --- BANNIÈRE HUB GLOBAL (M3 CARD) --- */
.global-banner-card {
    background: linear-gradient(135deg, rgba(33, 31, 38, 0.9) 0%, rgba(20, 18, 24, 0.95) 100%);
    border: 1px solid var(--md-sys-color-primary);
    border-radius: var(--md-shape-corner-extra-large, 28px);
    padding: 28px 32px;
    margin-bottom: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(168, 199, 250, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    transform-style: preserve-3d;
}
.global-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(168, 199, 250, 0.16);
}
.global-banner-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-subtitle); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
    color: var(--md-sys-color-primary); background: rgba(168, 199, 250, 0.1);
    padding: 4px 10px; border-radius: var(--md-shape-corner-full, 50px); margin-bottom: 10px;
}
.global-banner-content h3 { font-family: var(--font-title); font-size: 1.3rem; color: var(--md-sys-color-on-background); margin-bottom: 6px; }
.global-banner-content p { font-family: var(--font-body); font-size: 0.9rem; color: var(--md-sys-color-on-surface-variant); margin: 0; max-width: 600px; line-height: 1.5; }
.btn-global-hub {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary);
    font-family: var(--font-subtitle); font-weight: 600; font-size: 0.9rem;
    padding: 12px 24px; border-radius: var(--md-shape-corner-full, 50px);
    white-space: nowrap; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-global-hub:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(168, 199, 250, 0.35); }

/* --- COMPOSANT BÉNÉVOLAT L214 --- */
.l214-card { text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.l214-header { margin-bottom: 14px; }
.l214-logo-wrapper {
    display: inline-flex; align-items: center; justify-content: center;
    background: #ffffff !important; padding: 8px 16px; border-radius: var(--md-shape-corner-medium, 12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.l214-logo-wrapper:hover { transform: scale(1.04); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }
.l214-logo { height: 32px; width: auto; display: block; object-fit: contain; }
.btn-l214 { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; border-color: var(--md-sys-color-outline-variant); }
.btn-l214:hover { border-color: var(--md-sys-color-primary); background: rgba(168, 199, 250, 0.1); }

/* --- CONTACT : COPIER L'EMAIL & TOAST --- */
.email-copy-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0 auto;
}
.copy-email-btn {
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-outline-variant);
    color: var(--md-sys-color-on-surface);
    padding: 8px 18px;
    border-radius: var(--md-shape-corner-full);
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.copy-email-btn:hover {
    background: var(--md-sys-color-surface-variant);
    border-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-primary);
    transform: translateY(-2px);
}
.copy-toast {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    font-family: var(--font-subtitle);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--md-shape-corner-full);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- PAGE SOUTENIR (DON) : PUCES D'IMPACT --- */
.don-impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 32px;
    width: 100%;
    text-align: left;
}
.don-impact-item {
    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-medium);
    padding: 14px;
}
.don-impact-item i {
    color: var(--md-sys-color-primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
}
.don-impact-item strong {
    display: block;
    font-family: var(--font-subtitle);
    font-size: 0.82rem;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 4px;
}
.don-impact-item span {
    font-family: var(--font-body);
    font-size: 0.74rem;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.35;
    display: block;
}

/* --- OVERRIDE WEBSITE CARBON BADGE --- */
#wcb.carbonbadge {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-radius: var(--md-shape-corner-large, 16px) !important;
    padding: 14px 22px !important;
    margin: 16px auto !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
#wcb.carbonbadge:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important; }
#wcb #wcb_g {
    background: transparent !important; border: none !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important;
    align-items: center !important; gap: 8px !important;
}
#wcb #wcb_g #wcb_a, #wcb #wcb_a {
    background: #0e6d42 !important; color: #ffffff !important; font-family: var(--font-subtitle, 'Poppins', sans-serif) !important;
    font-size: 0.75rem !important; font-weight: 600 !important; padding: 4px 14px !important;
    border-radius: var(--md-shape-corner-full, 50px) !important; text-decoration: none !important; border: none !important;
    display: inline-block !important; transition: background-color 0.2s ease !important;
}
#wcb #wcb_g #wcb_a:hover, #wcb #wcb_a:hover { background: #0b5433 !important; }
#wcb #wcb_g #wcb_2, #wcb #wcb_2, #wcb #wcb_g span {
    background: transparent !important; color: #1d1b20 !important; font-family: var(--font-subtitle, 'Poppins', sans-serif) !important;
    font-size: 0.8rem !important; font-weight: 600 !important; text-align: center !important; margin: 0 !important; padding: 0 !important; display: block !important;
}

/* --- SECTION VALEURS, CONVICTIONS & ÉTHIQUE (M3) --- */
.values-section {
    margin-top: 64px;
    background: var(--md-sys-color-surface-container, #211f26);
    border: 1px solid var(--md-sys-color-outline-variant, #444746);
    border-radius: var(--md-shape-corner-extra-large, 28px);
    padding: 44px 36px;
    text-align: left;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.values-header {
    max-width: 750px;
    margin-bottom: 36px;
}

.values-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 133, 161, 0.12);
    border: 1px solid rgba(255, 133, 161, 0.35);
    color: #ff85a1;
    font-family: var(--font-subtitle);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: var(--md-shape-corner-full, 50px);
    margin-bottom: 12px;
}

.values-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--md-sys-color-on-background);
    margin-bottom: 8px;
}

.values-intro {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--md-sys-color-surface, #1d1b20);
    border: 1px solid var(--md-sys-color-outline-variant, #444746);
    border-radius: var(--md-shape-corner-large, 16px);
    padding: 28px 20px 20px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.value-icon-floating {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-vegan .value-icon-floating {
    background: rgba(180, 238, 208, 0.15);
    color: #b4eed0;
    border: 1px solid rgba(180, 238, 208, 0.4);
}

.card-animals .value-icon-floating {
    background: rgba(168, 199, 250, 0.15);
    color: #a8c7fa;
    border: 1px solid rgba(168, 199, 250, 0.4);
}

.card-lgbt .value-icon-floating {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(168, 199, 250, 0.2));
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.4);
}

.card-equality .value-icon-floating {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.value-card h4 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 8px;
}

.value-card p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.5;
    margin: 0;
}

/* --- RESPONSIVE MOBILE AMÉLIORÉ --- */
@media screen and (max-width: 768px) {
    .page-padding { padding: 130px 6% 32px 6%; }
    
    .nav-links {
        position: fixed; 
        right: 0; 
        top: 64px;
        width: 100%;
        height: calc(100vh - 64px);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background-color: var(--md-sys-color-surface-container); 
        flex-direction: column; 
        align-items: center; 
        justify-content: flex-start;
        gap: 16px;
        padding: 32px 0 60px 0;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1); 
        border-left: 1px solid var(--md-sys-color-outline-variant); 
    }
    .nav-links-active { transform: translateX(0%); }
    .burger { display: block; }
    
    .hero { flex-direction: column; text-align: center; justify-content: center; padding-top: 60px; height: auto; min-height: calc(100vh - 96px); }
    .hero-content { margin: 0; z-index: 5; }
    h1 { font-size: 2.2rem; }
    .hero-visual { opacity: 0.15; width: 100%; height: 100%; top: 0; left: 0; }
    .hero-buttons { display: flex; flex-direction: column; gap: 12px; width: 100%; }
    .btn { margin: 0; width: 100%; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .values-section { padding: 28px 20px; }
    .global-banner-card { flex-direction: column; align-items: flex-start; padding: 24px; }
    .btn-global-hub { width: 100%; justify-content: center; }
}

/* --- APERÇU DU BLOG SUR LE PORTFOLIO (M3 SURFACES) --- */
.blog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    gap: 20px;
}

.blog-preview-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(168, 199, 250, 0.1);
    border: 1px solid rgba(168, 199, 250, 0.3);
    color: var(--md-sys-color-primary);
    font-family: var(--font-subtitle);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: var(--md-shape-corner-full);
    margin-bottom: 12px;
}

.btn-visit-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-outline-variant);
    color: var(--md-sys-color-primary);
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--md-shape-corner-full);
    white-space: nowrap;
    transition: all 0.2s ease;
}
.btn-visit-blog:hover {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(168, 199, 250, 0.25);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-preview-card {
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-extra-large);
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
}
.blog-preview-card:hover {
    border-color: var(--md-sys-color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.blog-card-cat {
    background: rgba(168, 199, 250, 0.12);
    color: var(--md-sys-color-primary);
    font-family: var(--font-subtitle);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--md-shape-corner-full);
}
.blog-card-date {
    font-family: var(--font-code);
    font-size: 0.72rem;
    color: var(--md-sys-color-outline);
}

.blog-preview-card h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 8px;
    line-height: 1.35;
}
.blog-preview-card p {
    font-family: var(--font-body);
    font-size: 0.86rem;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-subtitle);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--md-sys-color-primary);
    margin-top: auto;
    transition: transform 0.2s ease;
}
.blog-card-link:hover { transform: translateX(3px); }

.blog-loading-state {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    color: var(--md-sys-color-on-surface-variant);
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
}
.spinner-small {
    width: 20px; height: 20px;
    border: 2px solid rgba(168, 199, 250, 0.2);
    border-top-color: var(--md-sys-color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@media screen and (max-width: 768px) {
    .blog-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-visit-blog {
        width: 100%;
        justify-content: center;
    }
}

.call-direct-card {
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-extra-large);
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-call-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4ade80;
    color: #003915;
    font-family: var(--font-subtitle);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: var(--md-shape-corner-full);
    margin-top: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-call-action:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.35);
}