/* --- VARIABLES --- */
:root {
    --couleur-fond: #F4F4F0; 
    --couleur-texte: #0A0A0A; 
    --bordure-epaisse: 3px solid var(--couleur-texte);
    --bordure-fine: 1px solid var(--couleur-texte);
}

/* --- REINITIALISATION --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Masque le curseur système */
    scroll-behavior: smooth;
}

body {
    background-color: var(--couleur-fond);
    color: var(--couleur-texte);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- CURSEUR PERSONNALISÉ (CORRIGÉ ET OPTIMISÉ) --- */
.curseur-suiveur {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background-color: #FFFFFF; /* Le blanc crée l'inversion parfaite (noir sur fond clair, blanc sur fond sombre) */
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.curseur-suiveur.survol {
    width: 80px; /* Agrandissement plus prononcé pour l'effet premium */
    height: 80px;
}

/* --- TYPOGRAPHIE GLOBALE --- */
h1, h2 { font-family: 'Archivo Black', sans-serif; text-transform: uppercase; }
a { color: inherit; text-decoration: none; }

/* --- NAVIGATION --- */
.navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: var(--bordure-epaisse);
    position: sticky;
    top: 0;
    background-color: var(--couleur-fond);
    z-index: 100;
}
.nav-lien {
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-left: 30px;
    transition: opacity 0.3s;
}
.nav-gauche .nav-lien { margin-left: 0; }
.nav-lien:hover { opacity: 0.5; }

/* --- EN-TÊTE HERO --- */
.en-tete-hero {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-bottom: var(--bordure-epaisse);
}
.hero-titre {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
    margin-bottom: 40px;
    z-index: 2;
}
.titre-geant {
    font-size: clamp(4rem, 12vw, 12rem);
    margin: 0;
    letter-spacing: -3px;
}
.decale {
    padding-left: 10%;
    color: transparent;
    -webkit-text-stroke: 2px var(--couleur-texte);
    transition: color 0.4s ease;
}
.decale:hover { color: var(--couleur-texte); }

.hero-image-conteneur {
    width: 100%;
    max-width: 600px;
    height: 500px;
    align-self: flex-end;
    overflow: hidden;
    border: var(--bordure-epaisse);
    margin-top: -100px; 
    box-shadow: 15px 15px 0px var(--couleur-texte);
}
.image-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.3);
    transition: transform 0.6s ease;
}
.hero-image-conteneur:hover .image-hero {
    transform: scale(1.05);
}

/* --- BANDEAU DÉFILANT (MARQUEE) --- */
.bandeau-defilant {
    background-color: var(--couleur-texte);
    color: var(--couleur-fond);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: var(--bordure-epaisse);
}
.bandeau-piste {
    display: inline-block;
    animation: defilement 20s linear infinite;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
}
@keyframes defilement {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* --- CONTENU PRINCIPAL & LISTE PROJETS --- */
.contenu-principal { padding: 80px 40px; }

.presentation-intro {
    max-width: 900px;
    margin-bottom: 80px;
}
.texte-intro {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.liste-projets {
    display: flex;
    flex-direction: column;
    border-top: var(--bordure-epaisse);
}
.ligne-projet {
    display: grid;
    grid-template-columns: 80px 2fr 1fr 50px;
    align-items: center;
    padding: 40px 20px;
    border-bottom: var(--bordure-epaisse);
    transition: background-color 0.4s ease, color 0.4s ease;
}
.projet-numero { font-weight: 900; font-size: 1.5rem; }
.projet-titre { 
    font-size: clamp(2rem, 4vw, 4rem); 
    margin: 0; 
    transition: transform 0.4s ease;
}
.projet-description { font-weight: 500; font-size: 1.1rem; text-transform: uppercase; }
.projet-icone { font-size: 2.5rem; font-weight: 900; transition: transform 0.4s ease; }

.ligne-projet:hover {
    background-color: var(--couleur-texte);
    color: var(--couleur-fond);
}
.ligne-projet:hover .projet-titre { transform: translateX(20px); }
.ligne-projet:hover .projet-icone { transform: rotate(45deg); }

/* --- PIED DE PAGE --- */
.pied-de-page {
    padding: 80px 40px 40px 40px;
    background-color: var(--couleur-texte);
    color: var(--couleur-fond);
}
.footer-titre-conteneur {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    margin-bottom: 60px;
}
.footer-titre {
    font-size: clamp(3rem, 8vw, 8rem);
}
.footer-titre.contour {
    color: transparent;
    -webkit-text-stroke: 2px var(--couleur-fond);
}

.grille-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-top: 1px solid rgba(244, 244, 240, 0.3);
    padding-top: 40px;
}
.element-contact h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: rgba(244, 244, 240, 0.6);
}
.lien-contact {
    font-size: 1.5rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
}
.lien-contact:not(.statique)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--couleur-fond);
    transition: width 0.3s ease;
}
.lien-contact:not(.statique):hover::after { width: 100%; }

/* --- ANIMATIONS DE RÉVÉLATION --- */
.anim-texte, .ligne-projet, .element-contact {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim-texte.visible, .ligne-projet.visible, .element-contact.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .navigation { flex-direction: column; gap: 20px; padding: 20px; }
    .nav-droite { display: flex; flex-direction: column; gap: 10px; }
    .nav-droite .nav-lien { margin-left: 0; }
    
    .en-tete-hero { padding: 20px; }
    .hero-image-conteneur { margin-top: 20px; height: 350px; }
    .decale { padding-left: 0; }
    
    .contenu-principal { padding: 40px 20px; }
    .ligne-projet { 
        grid-template-columns: 1fr; 
        gap: 15px; 
        padding: 30px 10px; 
    }
    .projet-numero { display: none; }
    .projet-icone { display: none; }
    
    .pied-de-page { padding: 40px 20px; }
    .curseur-suiveur { display: none; } /* Désactivé sur mobile car tactile */
    * { cursor: auto; }
}