﻿/* --- 1. Variables & Reset (Base System) --- */
:root {
    /* Palette - Deep Forest & Cream */
    --bg-dark: #0d1812;       /* Fond principal */
    --bg-section: #14241b;    /* Fond section secondaire */
    --bg-light: #f4f1ea;      /* Fond clair (crÃ¨me) */
    --bg-card: #1e3326;       /* Fond des cartes */
    
    --text-main: #f4f1ea;     /* Texte principal */
    --text-muted: #aabcb0;    /* Texte secondaire */
    --text-dark: #0d1812;     /* Texte sur fond clair */
    
    --accent: #dcae66;        /* Or doux */
    --accent-hover: #c4954f;
    
    --border-light: rgba(244, 241, 234, 0.1);
        
        /* Espacements fluides (Clamp) */
        --container-padding: 1.5rem; /* Marge latÃ©rale mobile */
        --container-width: 1280px;
        
        --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Typographie Fluide : s'adapte automatiquement entre 320px et 1200px */
    --fs-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --fs-h2: clamp(2rem, 4vw + 1rem, 3rem);
    --fs-h3: clamp(1.25rem, 2vw + 1rem, 1.75rem);
    --fs-body: clamp(1rem, 0.5vw + 0.8rem, 1.125rem);

    --font-display: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

/* Reset Box-Sizing pour Ã©viter les dÃ©bordements */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Correctif Global pour Sticky --- */
html {
    scroll-behavior: smooth;
    /* On enlÃ¨ve overflow-x: hidden ici car il casse le sticky sur mobile */
    overflow-x: clip; /* 'clip' coupe ce qui dÃ©passe sans casser le scroll */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    font-size: var(--fs-body);
    /* Idem ici, on utilise clip ou visible pour la sÃ©curitÃ© */
    overflow-x: clip; 
    width: 100%;
}
/* Ajoutez ceci pour garantir que le conteneur principal ne bloque pas non plus */
main {
    overflow: visible !important;
    display: block;
}



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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul { list-style: none; }
button { font-family: inherit; }

/* --- 2. Typography & Utilities --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-main);
}

.eyebrow {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    display: block;
}

.section-label {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    display: block;
}

.section-title {
    font-size: var(--fs-h2);
    margin-bottom: var(--space-md);
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: var(--space-md);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.center-text { text-align: center; }

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--accent);
    color: var(--text-dark);
}
.btn--primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn--secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn--secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--small { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.btn--large { padding: 1.2rem 3rem; font-size: 1.2rem; }

/* Animations Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }


/* --- 3. Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(13, 24, 18, 0.9);
    backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img { height: 32px; width: auto; }

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
    font-style: normal;
}

.logo-link:hover .logo-text {
    color: var(--accent);
}

.nav__list { display: flex; gap: 2rem; }
.nav__link { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.nav__link:hover { color: var(--text-main); }

.header__actions { display: flex; align-items: center; gap: 1rem; }

/* Burger Menu (Hidden by default on Desktop) */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
}
.mobile-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 1001;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.mobile-menu__link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-main);
}


/* --- 4. Hero Section --- */
.hero {
    position: relative;
    min-height: 100dvh; /* dvh pour mobile browsers */
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    z-index: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    /* DÃ©gradÃ© horizontal subtil sur desktop */
    background: linear-gradient(90deg, var(--bg-dark) 10%, rgba(13,24,18,0.5) 50%, rgba(13,24,18,0) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.hero__text-col {
    max-width: 650px;
}

.hero__title {
    font-size: var(--fs-h1);
    margin-bottom: 1.5rem;
}

.hero__desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.pill {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero__btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__trust {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trust-indicator {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(46,204,113,0.4);
}


/* --- 5. Sections Common & About --- */
.section { padding: var(--space-xl) 0; }
.about { background-color: var(--bg-section); }

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.split-layout__right p + p {
    padding-top: 0.75rem;
}

.text-link {
    display: inline-block;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
    margin-top: 1rem;
}

/* --- 6. Projects --- */
.projects { background-color: var(--bg-dark); }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-pill {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.filter-pill.active, .filter-pill:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card { cursor: pointer; }
.project-card__image {
    height: 320px;
    border-radius: 16px;
    background: #222;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-image--coworking {
    object-position: 45% center;
}

.project-image--jardinier {
    object-position: 5% center;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.placeholder-art {
    width: 100%; height: 100%;
    transition: transform 0.6s ease;
}
/* DÃ©gradÃ©s abstraits pour les images */
.art-1 { background: radial-gradient(circle at top right, #4a4a4a, #1a1a1a); }
.art-2 { background: linear-gradient(45deg, #1e3326, #0d1812); }
.art-3 { background: linear-gradient(to bottom, #3f2e18, #1a120b); }

.project-card:hover .placeholder-art { transform: scale(1.05); }

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.project-card:hover .project-card__overlay { opacity: 1; }
.ghost-btn {
    border: 1px solid #fff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
}

.project-card__info h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.project-card__info p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }
.project-card__meta {
    font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem;
}


/* --- 7. Process Scrollytelling Section (CorrigÃ© & OptimisÃ©) --- */

.process-wrapper {
    /* Utilisation de min-height pour la compatibilitÃ© */
    min-height: 300vh; 
    position: relative;
    background-color: var(--bg-section);
    /* Attention : Aucun overflow: hidden ici, sinon sticky casse */
}

.process-sticky {
    position: -webkit-sticky !important; /* Force Safari */
    position: sticky !important;         /* Force les autres */
    top: 0;
    
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    will-change: transform; 
}

.process-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px; /* Hauteur fixe pour Ã©viter les sauts de mise en page */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step {
    position: absolute;
    /* Centrage absolu au milieu du conteneur */
    top: 50%;
    left: 50%;
    width: 100%;
    text-align: center;
    
    /* Ã‰tat par dÃ©faut : invisible et dÃ©calÃ© */
    opacity: 0;
    filter: blur(10px);
    transform: translate(-50%, -40%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.process-step.active {
    /* Ã‰tat actif : visible et net */
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -50%);
    pointer-events: all;
    z-index: 10;
}

/* Le NumÃ©ro GÃ©ant en arriÃ¨re-plan */
.huge-number {
    font-family: var(--font-display);
    font-size: clamp(12rem, 30vw, 20rem); /* AugmentÃ© pour Ãªtre beaucoup plus imposant */
    font-weight: 800;
    /* Couleur accent dorÃ©e avec plus d'opacitÃ© pour visibilitÃ© */
    color: rgba(220, 174, 102, 0.35); /* Or doux plus visible */
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    user-select: none;
    transition: opacity 0.3s ease;
    /* Ajout d'un stroke lumineux pour plus de prÃ©sence */
    text-shadow: 0 0 60px rgba(220, 174, 102, 0.4);
}

.step-info h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--accent);
    margin-bottom: 1rem;
}

.step-info p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-main);
    line-height: 1.6;
    background: rgba(20, 36, 27, 0.85); /* Fond plus opaque pour lisibilitÃ© */
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Barre de progression */
.process-progress {
    position: absolute;
    bottom: 10vh; /* PositionnÃ©e en bas de l'Ã©cran */
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    z-index: 20;
}

.progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.1s linear;
}

.scroll-hint {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@media (max-width: 768px) {
    .huge-number { font-size: 8rem; top: 20%; }
    .process-content { height: auto; min-height: 300px; }
}


/* --- 8. Testimonials & CTA --- */
.testimonials {
    background: #112018;
    border-y: 1px solid var(--border-light);
}
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.testimonial p { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1rem; }
.testimonial cite { color: var(--text-muted); font-style: normal; }

.cta-section { padding: var(--space-xl) 0; }
.cta-card {
    background: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
    padding: 5rem 2rem;
    border-radius: 24px;
}
.cta-title { color: var(--text-dark); font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.cta-text { color: #444; max-width: 600px; margin: 0 auto 2.5rem; }
.cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }


/* --- 9. Footer --- */
.footer { background: #080f0b; padding: 4rem 0 2rem; border-top: 1px solid #1a2920; }
.footer__content { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.footer__links a { margin-right: 1.5rem; color: var(--text-muted); font-size: 0.9rem; }
.footer__legal { font-size: 0.8rem; color: #3a4b40; display: flex; gap: 1rem; }
.footer__copy { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.02em;
    font-style: normal;
    display: block;
    margin-bottom: 0.5rem;
}


/* =========================================
   RESPONSIVE MOBILE (HIGH EFFORT)
   ========================================= */

@media (max-width: 1024px) {
    /* Tablette : on rÃ©duit les marges */
    :root {
        --container-padding: 2rem;
        --space-xl: 6rem;
    }
    .hero__title { max-width: 100%; }
    .nav { display: none; } /* Cache le menu desktop */
    .mobile-toggle { display: flex; } /* Affiche le burger */
    .header__actions .btn { display: none; } /* Cache le bouton "Book" du header sur tablette */
}


@media (max-width: 768px) {
    /* --- Mobile Global Variables --- */
    :root {
        --space-md: 1.5rem;
        --space-lg: 3rem;
        --space-xl: 4rem; /* Sections plus rapprochÃ©es */
        --container-padding: 1.25rem; /* ~20px de marge sur les bords */
    }

    /* --- Header Mobile --- */
    .header {
        padding: 1rem 0;
        position: absolute; /* Statique au lieu de fixed */
    }
    .header__container { width: 100%; }
    
    /* --- Hero Mobile (Refonte Totale) --- */
        .hero {
        position: relative;
        min-height: 100dvh;
        padding: 0;
        overflow: hidden;
    }

    .hero__bg {
        position: absolute;
        inset: 0;
        width: 100%;      /* écrase le 70% du desktop */
        height: 100%;
        right: auto;      /* important sinon ça peut rester collé à droite */
        overflow: hidden;
    }

    /* .hero__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 54% 20%;
        transform: none;
    } 
    */
    
    .hero__img {
    position: absolute;
    /* On force l'image à se coller en haut */
    top: -10%;
    left: 0;
    
    /* Largeur : prend tout l'écran */
    width: 100%;
    
    /* Hauteur : "auto" permet de respecter le ratio de l'image (effet dézoom naturel) */
    height: auto; 
    
    /* SÉCURITÉ : Si l'image est trop petite, on la force à faire au moins la hauteur de l'écran */
    min-height: 70%;
    
    object-fit: cover;
    
    /* 0% sur l'axe Y force l'affichage du HAUT de la photo (visage) */
    object-position: 58% 0%;
}
    .hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(13, 24, 18, 0.0) 0%,     /* encore plus transparent en haut */
        rgba(13, 24, 18, 0.15) 25%,   /* léger foncé, mais plus bas */
        rgba(13, 24, 18, 0.45) 50%,   /* mi-intensité */
        var(--bg-dark) 60%            /* sombre complet mais seulement en bas */
    );
    z-index: 1;
}


    .hero__content {
        /* Le contenu s'aligne en bas de l'Ã©cran */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: 100dvh;
        padding-bottom: 3rem; /* Espace en bas */
        padding-top: 50vh;    /* Laisse voir le visage en haut */
        position: relative;
        z-index: 2;
    }

    .hero__text-col {
        text-align: left;
    }

    .hero__title {
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero__desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: rgba(244, 241, 234, 0.9); /* Plus clair pour lisibilitÃ© sur dÃ©gradÃ© */
    }

    .hero__btns {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .btn {
        width: 100%; /* Boutons pleine largeur (Thumb friendly) */
    }
    
    /* --- Sections Split (About) --- */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* --- Projects Mobile --- */
    .project-grid {
        grid-template-columns: 1fr; /* 1 colonne stricte */
        gap: 2rem;
    }
    .project-card__image { height: 250px; } /* Moins haut sur mobile */
    .section-header { flex-direction: column; align-items: flex-start; }
    .filters { 
        width: 100%; 
        overflow-x: auto; 
        padding-bottom: 5px; 
        flex-wrap: nowrap; /* Scroll horizontal pour les filtres */
        -webkit-overflow-scrolling: touch;
    }
    .filter-pill { flex-shrink: 0; }

    /* --- Footer & Testimonials Mobile --- */
    .testimonial-grid { grid-template-columns: 1fr; }
    
    .footer__content {
        flex-direction: column;
        gap: 2rem;
    }
    .footer__links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-card {
        padding: 3rem 1.5rem;
        border-radius: 16px;
    }
}


/* --- ROI Section --- */
.roi-section {
    background-color: #0b1d16; /* Ajustez selon votre BG sombre */
    padding: 6rem 0;
    color: white;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Plus de place pour le graph */
    gap: 4rem;
    align-items: center;
}

/* --- Texte et Compteur (Style Doré 184%) --- */
.roi-stat-box {
    margin-top: 2.5rem;
    padding: 0; /* On retire le padding pour laisser le texte respirer */
    background: transparent; /* Fond transparent pour cleaner le look */
    border: none; /* On retire la bordure gauche pour l'effet "clean" de l'image */
}

.roi-counter-wrapper {
    display: inline-flex;
    align-items: flex-start; /* Aligne le % en haut du chiffre */
    line-height: 0.85;       /* Resserre la hauteur pour un effet compact */
    position: relative;
    padding: 10px;           /* Espace pour ne pas couper l'ombre portée (glow) */
}

/* Le chiffre (184) */
.roi-number {
    font-family: 'Syne', sans-serif; /* Ta police Syne est parfaite pour ça */
    font-weight: 800;                /* Extra Gras */
    /* Taille fluide : énorme sur PC (140px), adapté sur mobile */
    font-size: clamp(6rem, 12vw, 9rem); 
    
    /* DÉGRADÉ DORÉ MÉTALLIQUE */
    background: linear-gradient(180deg, #F9E4B7 0%, #DCAE66 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #DCAE66; /* Fallback pour vieux navigateurs */

    /* EFFET DE LUEUR (GLOW) */
    filter: drop-shadow(0 0 20px rgba(220, 174, 102, 0.4));
    
    /* Stabilisation pour le compteur JS */
    font-variant-numeric: tabular-nums;
    min-width: 1ch; 
    
}

/* Le symbole (%) et le (+) */
.roi-symbol, .roi-plus {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    /* Taille : environ la moitié du chiffre */
    font-size: clamp(3rem, 6vw, 4.5rem); 
    
    /* Ajustement de position pour l'aligner joliment */
    margin-left: 5px;
    margin-top: 10px; 

    /* MÊME DÉGRADÉ QUE LE CHIFFRE */
    background: linear-gradient(180deg, #F9E4B7 0%, #DCAE66 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* MÊME EFFET GLOW */
    filter: drop-shadow(0 0 20px rgba(220, 174, 102, 0.4));
}

/* Le texte en dessous */
.roi-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    color: #8da399; /* Couleur vert-grisâtre de ton image de ref */
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    padding-left: 10px; /* Léger alignement avec le texte */
}

/* CORRECTIF POUR ASSURER LA VISIBILITÃ‰ DU GRAPHIQUE */
.line-growth {
    fill: none;
    stroke: #DCAE66; /* Votre couleur or */
    stroke-width: 4px;
    
    /* Animation setup */
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000; /* CachÃ© au dÃ©part */
}

/* On s'assure que l'animation CSS force l'affichage */
.graph-container.animating .line-growth {
    animation: drawLine 2s ease-out forwards; /* 'forwards' garde la ligne Ã  la fin */
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.roi-plus { font-size: 3rem; margin-right: 5px; }
.roi-number { font-size: 5.5rem; font-weight: 800; }
.roi-symbol { font-size: 3rem; }

.roi-label {
    font-size: 1rem;
    color: #a0a0a0;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* --- Graphique Container --- */
.graph-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.legend-item {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.legend-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-item.stagnant .dot { 
    background-color: #FF5555; /* Rouge */
    box-shadow: 0 0 5px rgba(255, 85, 85, 0.5); /* Petit éclat rouge */
}
.legend-item.stagnant { 
    color: #ff8888; /* Texte légèrement rouge */
}


.legend-item.growth .dot { background-color: var(--accent); box-shadow: 0 0 10px var(--accent); }
.legend-item.growth { color: var(--accent); font-weight: bold; }

.graph-container {
    position: relative;
    width: 100%;
    height: 350px;
    background: linear-gradient(180deg, rgba(20,40,30,0.5) 0%, rgba(0,0,0,0.3) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Grille */
.grid-lines {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 0;
}
.grid-lines span {
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px dashed rgba(255, 255, 255, 0.05);
}

/* Labels X-Axis */
.graph-labels {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    color: #555;
    font-family: monospace;
    font-size: 0.8rem;
    pointer-events: none;
}

/* SVG Styles */
.growth-chart {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: visible;
}

/* Ligne Stagnante (Sans site) */
.line-stagnant {
    fill: none;
    stroke: #FF5555; /* Rouge vif */
    stroke-width: 3; /* Un peu moins épais que la courbe or pour la hiérarchie */
    stroke-dasharray: none; /* ENLÈVE LES POINTILLÉS */
    stroke-linecap: round;
    
    /* Ajout du Glow rouge pour être cohérent avec l'or */
    filter: drop-shadow(0 0 5px rgba(255, 85, 85, 0.5)); 
    opacity: 0.8;
}
/* --- NOUVEAU : Zone remplie rouge --- */
.area-stagnant {
    fill: url(#stagnantGradient); /* Utilise le dégradé défini dans le HTML */
    opacity: 0.8;
}

/* Ligne Croissance (Avec site) */
.line-growth {
    fill: none;
    stroke: var(--accent);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: url(#glow);
    
    /* PrÃ©paration animation de tracÃ© */
    stroke-dasharray: 2000; /* Assez long pour couvrir toute la courbe */
    stroke-dashoffset: 2000; /* CachÃ© au dÃ©part */
    /* Pas de transition CSS ici, on gÃ¨re l'Ã©tat via classe JS pour le reset */
}

.area-growth {
    fill: url(#growthGradient);
    opacity: 0;
    transition: opacity 1s ease;
}

.chart-end-dot {
    fill: #fff;
    stroke: var(--accent);
    stroke-width: 3px;
    opacity: 0;
    filter: drop-shadow(0 0 10px var(--accent));
}

/* --- Classes d'Animation (JS Controlled) --- */

/* Quand la classe .animating est ajoutÃ©e au container */
.graph-container.animating .line-growth {
    animation: drawLine 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.graph-container.animating .area-growth {
    opacity: 1;
    transition-delay: 0.5s;
    transition-duration: 2s;
}

.graph-container.animating .chart-end-dot {
    opacity: 1;
    transition: opacity 0.5s ease;
    transition-delay: 2.4s; /* ApparaÃ®t juste Ã  la fin du tracÃ© */
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .graph-container {
        height: 250px;
    }
    .roi-number {
        font-size: 4rem;
    }
}


/* --- AMÉLIORATION UX MOBILE POUR LES PROJETS --- */
@media (max-width: 768px) {
    
    /* 1. On rend l'overlay toujours visible, mais subtil */
    .project-card__overlay {
        opacity: 1; /* Toujours visible sur mobile */
        
        /* Au lieu d'un fond noir complet, on met un dégradé en bas pour que le bouton ressorte */
        background: linear-gradient(to top, rgba(13, 24, 18, 0.8) 0%, transparent 60%);
        
        /* On place le bouton tout en bas */
        align-items: flex-end; 
        padding-bottom: 1.5rem; /* Espace du bas */
    }

    /* 2. On transforme le "Ghost Button" (transparent) en bouton plein (Solid) */
    .project-card__overlay .ghost-btn {
        background-color: var(--accent); /* Fond OR */
        color: var(--bg-dark); /* Texte foncé */
        border: none;
        font-weight: 700;
        font-size: 0.9rem;
        
        /* On ajoute une icône flèche via CSS pour inciter au clic */
        padding: 0.6rem 1.2rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* Ombre pour qu'il flotte */
    }

    /* Ajout d'une petite flèche après le texte "Voir le projet" */
    .project-card__overlay .ghost-btn::after {
        content: " →";
        display: inline-block;
        margin-left: 5px;
        transition: transform 0.3s;
    }
    
    /* 3. Petit retour visuel quand on tape dessus avec le doigt */
    .project-card__overlay .ghost-btn:active {
        transform: scale(0.95);
    }
}

@media (max-width: 768px) {
    
    /* ... autres styles ... */

    .project-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
        
        /* MODIFICATION ICI : On passe de 2rem à 4rem */
        gap: 3rem; 
    }
    
    /* Optionnel : On peut aussi ajouter un peu de marge sous l'image */
    .project-card__image {
        margin-bottom: 1rem; /* Un peu plus d'espace entre l'image et le titre */
    }
}


/* --- Services Section --- */
.services {
    background-color: var(--bg-section);
    padding: var(--space-xl) 0;
    position: relative; 
}

/* Alignement Header : "Mes services" en dessous de "Ce que je fais" */
.services .section-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

/* Grille des Services (Desktop) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(220, 174, 102, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- RESPONSIVE MOBILE : Scroll Horizontal + Flèche Swipe --- */
@media (max-width: 768px) {
    
    /* Configuration du Scroll (Swipe) */
    .services-grid {
        display: flex; 
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1.5rem;
        
        /* Cache la barre de scroll */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
    }
    .services-grid::-webkit-scrollbar { display: none; }

    .service-card {
        min-width: 280px; /* Largeur fixe */
        scroll-snap-align: start;
        margin-right: 0;
    }
    
    /* 1. La Flèche flottante (Indicateur de Swipe) */
    .services::before {
        content: "→"; /* La flèche */
        position: absolute;
        right: 10px; /* Collé à droite */
        
        /* Position verticale : Ajusté pour être au milieu des cartes */
        top: 65%; 
        transform: translateY(-50%);
        
        /* Design de la bulle */
        width: 40px; height: 40px;
        background: var(--accent); /* Fond or */
        color: var(--bg-dark); /* Flèche sombre */
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-weight: 800; font-size: 1.2rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        
        z-index: 10;
        pointer-events: none; /* Permet de cliquer à travers */
        
        /* Animation de rebond vers la droite */
        animation: swipeHint 1.5s infinite ease-in-out;
    }

    @keyframes swipeHint {
        0%, 100% { transform: translate(0, -50%); opacity: 1; }
        50% { transform: translate(10px, -50%); opacity: 0.6; } /* Bouge de 10px */
    }

    /* 2. Le dégradé de fond à droite (pour l'esthétique) */
    .services::after {
        content: '';
        position: absolute;
        right: 0; bottom: 0;
        top: 50%; /* Commence à mi-hauteur pour ne pas couvrir le titre */
        height: 50%;
        width: 15%;
        background: linear-gradient(to left, var(--bg-section), transparent);
        pointer-events: none;
        z-index: 2;
    }
}