:root {
    --neon: #ccff00; /* Jaune néon sportif */
    --black: #0a0a0a;
    --white: #ffffff;
    --grey: #1c1c1c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background-color: var(--black); 
    color: var(--white); 
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}

h1, h2 { font-family: 'Syne', sans-serif; text-transform: uppercase; font-weight: 800; }

/* Navigation */
.glass-nav {
    position: fixed; width: 100%; padding: 20px 5%;
    background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(10px);
    z-index: 100; border-bottom: 1px solid #333;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 45px; filter: invert(1); } /* Invert pour le logo blanc sur noir */
.links a { color: var(--white); text-decoration: none; margin-left: 30px; font-weight: 500; font-size: 0.8rem; letter-spacing: 1px; }
.btn-calendly { background: var(--neon); color: var(--black) !important; padding: 10px 20px; border-radius: 50px; }

/* Hero Section */
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    height: 100vh; align-items: center;
}
.hero-text { padding: 10%; }
.hero-text h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 0.9; margin-bottom: 20px; }
.badges { margin-top: 30px; display: flex; gap: 10px; }
.badges span { border: 1px solid var(--neon); color: var(--neon); padding: 5px 15px; font-size: 0.7rem; border-radius: 20px; }
.hero-image { height: 100%; background-size: cover; background-position: center; border-left: 5px solid var(--neon); }
/* Section Présentation */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: var(--black);
    border-top: 1px solid #333;
}

.about-image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.profile-pic {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    z-index: 2;
    border: 2px solid var(--neon);
    filter: grayscale(1);
    transition: 0.5s ease;
}

/* Carré décoratif derrière la photo qui rappelle votre style brutaliste */
.image-deco {
    position: absolute;
    width: 300px;
    height: 400px;
    border: 3px solid var(--neon);
    top: 60px;
    left: 60px;
    z-index: 1;
}

.about-text {
    padding: 10%;
}

.about-badge {
    color: var(--neon);
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 500;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 20px 0;
    line-height: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Effet au survol de la section */
.about-grid:hover .profile-pic {
    filter: grayscale(0);
    transform: translate(10px, -10px);
}

/* Mobile */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image-container {
        min-height: 400px;
        order: 2; /* Texte d'abord sur mobile */
    }
    .about-text {
        order: 1;
        text-align: center;
    }
    .image-deco {
        display: none; /* Plus propre sur petit écran */
    }
}
/* Pricing Brutaliste */
.pricing { padding: 100px 10%; display: flex; gap: 40px; background: var(--white); color: var(--black); }
.pricing-card { 
    flex: 1; padding: 50px; border: 3px solid var(--black); 
    transition: all 0.3s ease; position: relative;
}
.pricing-card.accent { background: var(--neon); }
.num { font-size: 5rem; font-weight: 800; opacity: 0.1; position: absolute; top: 10px; right: 20px; }
.price-tag { font-size: 3.5rem; font-weight: 700; margin: 20px 0; }
.price-tag span { font-size: 1rem; }
.pricing-card a { color: var(--black); font-weight: 700; text-decoration: none; margin-top: 20px; display: block; }
.pricing-card:hover { transform: translate(-10px, -10px); box-shadow: 10px 10px 0px var(--black); }
/* Mobile */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image-container {
        min-height: 400px;
        order: 2; /* Texte d'abord sur mobile */
    }
    .about-text {
        order: 1;
        text-align: center;
    }
    .image-deco {
        display: none; /* Plus propre sur petit écran */
    }
}
/* Avis */
.reviews { padding: 80px 10%; background: var(--grey); }
.review-scroll { display: flex; overflow-x: auto; gap: 20px; padding-bottom: 20px; }
.review-bubble { 
    min-width: 300px; background: #222; padding: 30px; 
    border-radius: 0 30px 30px 30px; border-left: 4px solid var(--neon);
}

footer { text-align: center; padding: 50px; font-size: 0.7rem; color: #555; }

/* Mobile */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-image { display: none; }
    .pricing { flex-direction: column; }
}
/* Mobile */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image-container {
        min-height: 400px;
        order: 2; /* Texte d'abord sur mobile */
    }
    .about-text {
        order: 1;
        text-align: center;
    }
    .image-deco {
        display: none; /* Plus propre sur petit écran */
    }
}
/* Section Contact */
.contact-section {
    padding: 100px 10%;
    background: var(--black);
    border-top: 1px solid #333;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item .label {
    display: block;
    color: var(--neon);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.info-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: 0.3s;
}

.info-item a:hover {
    color: var(--neon);
    padding-left: 10px;
}

.contact-cta p {
    font-size: 1.8rem;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

.btn-neon {
    background: var(--neon);
    color: var(--black);
    text-decoration: none;
    padding: 20px 40px;
    font-weight: 800;
    display: inline-block;
    transition: 0.3s;
    border-radius: 4px;
}

.btn-neon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
}

/* Adaptabilité mobile */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .info-item a {
        font-size: 1.2rem;
    }
}
/* Pour s'assurer que les réseaux sociaux s'affichent bien l'un sous l'autre */
.info-item a {
    display: block;
    margin-bottom: 10px;
}
/* Style du Pop-up */
.offer-popup {
    position: fixed;
    bottom: -100%; /* Caché par défaut */
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: var(--white);
    color: var(--black);
    padding: 25px;
    z-index: 1000;
    border: 3px solid var(--black);
    box-shadow: 10px 10px 0px var(--neon);
    transition: bottom 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.offer-popup.active {
    bottom: 20px; /* Apparaît en bas */
}

.offer-badge {
    background: var(--black);
    color: var(--neon);
    font-size: 0.7rem;
    padding: 4px 8px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 10px;
}

.offer-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.offer-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-offer {
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-offer:hover {
    background: var(--neon);
    color: var(--black);
}

.btn-close {
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8rem;
    color: #666;
}

/* Mobile */
@media (max-width: 480px) {
    .offer-popup { left: 10px; right: 10px; }
}
/* --- ADAPTATION MOBILE (Écrans de moins de 768px) --- */
@media (max-width: 768px) {
    
    /* On empile les éléments au lieu de les mettre côte à côte */
    .about-grid, .contact-grid, .cv-stats {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }

    /* La photo de profil prend une taille adaptée */
    .about-image-container {
        max-width: 100%;
        text-align: center;
    }

    .profile-pic {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    /* On ajuste la taille des titres pour qu'ils ne sortent pas de l'écran */
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    /* Les boîtes de votre CV (Master, Expérience) passent en pleine largeur */
    .stat-item {
        width: 100%;
        min-width: unset;
    }

    /* On adapte les marges globales pour ne pas coller aux bords */
    section {
        padding: 40px 15px;
    }
}