body {
    height: 100vh;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, black, #710106, black);
    background-color: black;
    color: #FFFFFF;
    margin: 0;
            padding: 0;
            width: 100vw;
            height: 100vh;
            overflow-x: hidden;
}
video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Pour mettre en arrière-plan */
}
/* Styles pour la section intro avec vidéo */
.intro-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    isolation: isolate; /* Crée un nouveau contexte d'empilement */
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Désactive la vidéo pour les autres sections */
.home, .Parcours, .Contacts {
    background-color: linear-gradient(to bottom, black, #710106, black);
}

/* Supprime le style vidéo global */
video:not(.bg-video) {
    display: none;
}

i {
    color: red;
    letter-spacing: 0.5px; /* Corrigé */
}

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            background-color: #710106; /* Fond 100% transparent */
            top: 0;
            width: 100%;
            background-color: #710106;
            position: fixed;
            z-index: 1000;
            top: 0;
        }

        nav ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        nav ul li {
            margin: 15px;
        }

        nav ul li a {
            text-decoration: none;
            color: white;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            text-transform: uppercase;
            font-weight: 600;
        }

        nav ul li a:hover {
            color: black;
            text-shadow: 0 0 5px red,
            0 0 25px red,
            0 0 50px red,
            0 0 100px red  
        }
        i {
            color: white;
        }
        i:hover{
            color: white;
            text-shadow: 0 0 5px red,
            0 0 25px red,
            0 0 50px red,
            0 0 100px red  
        }

/* Styles pour la première plage */
h1{
    color: #00000000;
    font-size: 100px;
    margin-right: 90px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0,3s;
    margin-top: 15%;
    margin-left: 7%;
}
h1:hover{
    color: white;
    text-shadow: 0 0 5px red,
    0 0 25px red,
    0 0 50px red,
    0 0 100px red  
}
h3{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: white;
    margin-left: 20px;
    cursor: pointer;
    text-transform: none;
    transition: 0,3s ease-in-out;
    text-align: center;
} 

.hero-title span {
            color: var(--hoop);
            display: inline-block;
            animation: bounce 2s infinite;
        }

.plage {
    height: 100vh; /* Prend toute la hauteur de la fenêtre */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-align: center;
    background-color: #1C1C1C;
}
/* Styles pour la seconde plage */
.plage-1 {
    background-color: #1C1C1C;
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
*{
    margin: auto;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    justify-content: center;
}
html{
    font-size: 62.5%;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: #1C1C1C;
    color: white;
}
header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo{
    font-size: 3rem;
    color: #b74b4b;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}
.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}
nav a:hover,
nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}
@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
    }
}
nav.active{
    display: block;
}

nav a{
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
}
nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b74b4b;
    }
    section{
        min-height: 100vh;
        padding: 5rem 9% 5rem;
    }
    .home{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8rem;
        background: linear-gradient(to bottom, black, #710106, black);
    }
    .home .home-content h1{
        font-size: 6rem;
        font-weight: 700;
        line-height: 1.3;
    }
    
    span{
        color: #b74b4b;
    }
    .home-content h3{
        font-size: 4rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }
    .home-content p{
        font-size: 1rem;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }
    
    .home-img img{
        position: relative;
        width: 32vw;
        border-radius: 100%;
        box-shadow: 0 0 25px solid #b74b4b;
        cursor: pointer;
        transition: 0.2s linear;
        height: 400px;
        width: 400px;
    }
    .home-img img:hover{
        font-size: 1.8rem;
        font-weight: 500;
    }
    .social-icons a{
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 4rem;
        height: 4rem;
        background-color: transparent;
        border: 0.2rem solid #b74b4b;
        font-size: 2rem;
        border-radius: 50%;
        margin: 3rem 1.5rem 3rem 0;
        transition: 0.3s ease;
        color: #b74b4b;
    }
    .social-icons a:hover{
        color: black;
        transform: scale(1.3) translateY(-5px);
        background-color: #b74b4b;
        box-shadow: 0  0 25px #b74b4b;
    }
    .btn{
        display: inline-block;
        padding: 1rem 2.8rem;
        background-color: #1C1C1C;
        border-radius: 4rem;
        font-size: 1.6rem;
        color: #b74b4b;
        letter-spacing: 0.3rem;
        font-weight: 600;
        border: 2px solid #b74b4b;
        transition: 0.3s ease;
        cursor: pointer;
    }
    .btn:hover{
        transform: scale3d(1.03);
        background-color: #b74b4b;
        color: #1C1C1C;
        box-shadow: 0 0 25px #b74b4b;
    }
    
    .typing-text{
        font-size: 34px;
        font-weight: 600;
        min-width: 280px;
    }
    .typing-text span{
        position: relative;
    }
    
    .typing-text span::before{
        content: "Ingénieur en I.A";
        font-size: 50px;
        color: #b74b4b;
        animation: words 2s infinite;
    }
    .typing-text span::after{
        content: "";
        background-color: #1C1C1C;
        position: absolute;
        height: 100%;
    border-left: 3px solid #1C1C1C;
    right: -8;
    animation: cursor 0.6s infinite;
}
@keyframes cursor{
    to{
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words{
    0%, 20%{
        content: "Web Developer";
    }
    21%, 40%{
        content: "Developer";
    }
    41%, 60%{
        content: "Web Designer";
    }
    61%, 80%{
        content: "Youtuber";
    }
    81%, 100%{
        content: "Script Writer";
    }
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }
    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}
}
/* Styles pour la rubrique projets */
/* Projects Section - Gallery 3D */

#projects {

      background:linear-gradient(to bottom, black, #710106, black);
}
.section-title {
    font-size: 3em;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    padding: 0 1rem;
}

.project-card {
    background: rgba(0, 0, 0, 0.7); /* Fond noir semi-transparent */
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.3); /* Bordure rouge */
    position: relative;
}


.project-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3), /* Ombre rouge */
                0 0 20px whitesmoke; /* Lumière bleue */
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    white-space: nowrap; /* Empêche le retour à la ligne */
    display: inline-block;
}

.project-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tag {
    background: rgba(0, 0, 255, 0.2); /* Fond bleu */
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 0, 0, 0.3); /* Bordure rouge */
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.project-link:hover {
    color: red; /* Rouge au survol */
}

.project-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #710106 0%, #b74b4b 100%);
    color: #fff;
    padding: 0.7em 1.5em;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 10px rgba(113, 1, 6, 0.2);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    cursor: pointer;
    outline: none;
}

.project-btn-link:hover, .project-btn-link:focus {
    background: linear-gradient(90deg, #b74b4b 0%, #710106 100%);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(113, 1, 6, 0.4);
    text-decoration: none;
}

.project-btn-link i {
    font-size: 1em;
    margin-left: 0.3em;
}

/* Styles pour la rubrique Compétences */
#competences {
  padding: 70px 20px;
  color: #fff;
  text-align: center;
  border-top: 1px solid #ff0000; /* Barre rouge */
  border-bottom: 2px solid #0000ff; /* Barre bleue */
  background: linear-gradient(to bottom, black, #710106, black);
  
}

#competences h2 {
  font-size: 3.5em;
  margin-bottom: 40px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  position: relative;
  display: inline-block;
}


.skills {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.skills li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skills li:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.skill-icon {
  font-size: 4.5rem !important;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.fa-html5 {
  color: #ff0000; /* Rouge */
}

.fa-css3-alt {
  color: #0000ff; /* Bleu */
}

.fa-js-square {
  color: #f7df1e; /* Jaune JavaScript */
}

.skills li:hover .fa-html5 {
  transform: scale(1.2);
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

.skills li:hover .fa-css3-alt {
  transform: scale(1.2);
  text-shadow: 0 0 15px rgba(0, 0, 255, 0.7);
}

.skills li:hover .fa-js-square {
  transform: scale(1.2);
  text-shadow: 0 0 15px rgba(247, 223, 30, 0.7);
}

.skills span {
  font-size: 1.2em;
  margin-top: 10px;
  display: block;
}

/* Styles pour la 3e plage */
.plage-2{
    background: linear-gradient(to bottom, black, #710106, black);
}
h2 {
    font-size: 3.5rem;
    text-align: center;
}

.cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
}

.card {
    background-color: red;
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    height: 100px;
    width: 200px;
}

/* Effets au survol */
.card:hover {
    transform: scale(1.1);
    background-color: darkred;
    transform: translateY(-20px) rotateX(15deg) rotateY(15deg);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3), /* Ombre rouge */
                0 0 30px rgba(0, 0, 255, 0.3); /* Lumière bleue */
}

/* Focus pour accessibilité */
.card:focus {
    outline: 2px solid white;
}

/* Description cachée par défaut */
.description {
    display: none;
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: black;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    text-align: center;
    z-index: 10;
    width: 200px;
}

/* Afficher la description au focus */
.card:focus .description {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .description {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .cards {
        flex-direction: column;
        gap: 1rem;
    }

    .card {
        width: 80%;
    }
}
.school {
  font-size: 1.5em;
  margin-bottom: 20px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;  
}
.parcours-section h3 {

  font-size: 1.5em;

  color: white;
  
}

footer {
            background: linear-gradient(to bottom, black, #710106, black);
            padding: 3rem 5%;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        .footer-logo {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            display: inline-block;
            color: var(--light);
            text-decoration: none;
            font-family: 'Basketball', sans-serif;
        }
        
        .footer-logo span {
            color: var(--hoop);
        }
        
        .footer-logo i {
            color: var(--ball);
        }
        
        .footer-slogan {
            color: var(--accent);
            font-size: 1.2rem;
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-link {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.3s;
            font-weight: 600;
        }
        
        .footer-link:hover {
            color: var(--hoop);
        }
        
        .footer-social {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s;
        }
        
        .social-icon:hover {
            background: var(--hoop);
            color: var(--dark);
            transform: translateY(-5px) scale(1.1);
        }
        
        .footer-copyright {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }
        
        .footer-court {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiBmaWxsPSIjMTYyMTNlIj48L3JlY3Q+PHBhdGggZD0iTTAgNjBMNjAgMFoiIHN0cm9rZT0iIzJhNjIzZCIgc3Ryb2tlLXdpZHRoPSIxIj48L3BhdGg+PHBhdGggZD0iTTYwIDBMMCA2MFoiIHN0cm9rZT0iIzJhNjIzZCIgc3Ryb2tlLXdpZHRoPSIxIj48L3BhdGg+PC9zdmc+');
            opacity: 0.1;
            z-index: 1;
        }
        
        .footer-ball {
            position: absolute;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle at 30% 30%, var(--ball), #e63946);
            border-radius: 50%;
            box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.3);
            animation: float 6s ease-in-out infinite;
            z-index: 1;
        }
        
        .footer-ball:nth-child(2) {
            top: 20%;
            left: 10%;
            width: 60px;
            height: 60px;
            animation-delay: 1s;
            animation-duration: 8s;
        }
        
        .footer-ball:nth-child(3) {
            top: 70%;
            right: 15%;
            width: 40px;
            height: 40px;
            animation-delay: 2s;
            animation-duration: 7s;
        }
        
        /* Animations */
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        
        @keyframes dots {
            0%, 20% { content: '.'; }
            40% { content: '..'; }
            60%, 100% { content: '...'; }
        }
        
        @keyframes particle-float {
            0% { transform: translateY(0) translateX(0); opacity: 0; }
            10% { opacity: 0.6; }
            90% { opacity: 0.6; }
            100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 20px var(--hoop), inset 0 0 20px var(--hoop); }
            100% { box-shadow: 0 0 40px var(--hoop), inset 0 0 30px var(--hoop); }
        }
        
        @keyframes ball-shoot {
            0% { top: 30%; transform: translateX(-50%) scale(1); opacity: 0; }
            10% { opacity: 1; }
            40% { top: 50%; transform: translateX(-50%) scale(1); }
            50% { top: 52%; transform: translateX(-50%) scale(0.9); }
            60% { top: 48%; transform: translateX(-50%) scale(1.1); }
            70% { top: 50%; transform: translateX(-50%) scale(1); }
            80% { top: 50%; transform: translateX(-50%) scale(1); opacity: 1; }
            100% { top: 50%; transform: translateX(-50%) scale(0); opacity: 0; }
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }
        
        @keyframes shine {
            0% { transform: translateX(-100%); opacity: 0; }
            20% { opacity: 1; }
            100% { transform: translateX(100%); opacity: 0; }
        }
        
        @keyframes net-swing {
            0%, 100% { transform: rotate(0deg); }
            50% { transform: rotate(5deg); }
        }
        
        /* Effets Spéciaux */
        .cursor {
            position: fixed;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgba(255, 159, 28, 0.5);
            pointer-events: none;
            mix-blend-mode: screen;
            z-index: 999;
            transform: translate(-50%, -50%);
            transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
        }
        
        .cursor.active {
            width: 60px;
            height: 60px;
            background: rgba(255, 159, 28, 0.2);
        }
        
        /* Responsive */
        @media (max-width: 1200px) {
            .hero-image {
                width: 500px;
                height: 500px;
            }
            
            .court {
                height: 500px;
            }
        }
        
        @media (max-width: 1024px) {
            .hero {
                flex-direction: column;
                text-align: center;
                padding-top: 6rem;
            }
            
            .hero-content {
                margin-bottom: 3rem;
            }
            
            .hero-stats {
                justify-content: center;
            }
            
            .hero-cta-container {
                justify-content: center;
            }
            
            .hero-image {
                width: 400px;
                height: 400px;
            }
            
            .skills-container, .contact-container {
                flex-direction: column;
            }
            
            .projects-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100vh;
                background: rgba(29, 53, 87, 0.95);
                backdrop-filter: blur(10px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: right 0.3s;
                z-index: 100;
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .hamburger {
                display: block;
            }
            
            .hero-title {
                font-size: 3rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
            
            .player-stats {
                flex-direction: column;
                align-items: center;
            }
            
            .stat-card {
                width: 100%;
                max-width: 300px;
            }
            
            .projects-container {
                grid-template-columns: 1fr;
                padding: 1rem;
            }
            
            .court {
                height: 800px;
            }
        }
        
        @media (max-width: 480px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-cta-container {
                flex-direction: column;
            }
            
            .hero-cta {
                width: 100%;
                text-align: center;
                justify-content: center;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .tech-logos {
                gap: 1rem;
            }
            
            .tech-logo {
                font-size: 2rem;
            }
        }


       .contact {
    background: linear-gradient(to bottom, black, #710106, black);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100vw; /* Largeur totale de la fenêtre */
    min-height: 90vh; /* Hauteur totale (optionnel) */
    padding: 4rem 0;
    margin: 0; /* Supprime toute marge externe */
    box-sizing: border-box;
    left: 0; /* Alignement à gauche */
    right: 0; /* Alignement à droite */
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #710106;
    opacity: 0.1;
    z-index: 1;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px; /* Largeur max du contenu */
    gap: 3rem;
    z-index: 2;
    padding: 0 2rem; /* Marge interne sur petits écrans */
    margin: 0 auto; /* Centrage horizontal */
}

.contact-info, 
.contact-form {
    flex: 1;
    min-width: 0; /* Évite le débordement */
}
        
        .contact-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        
        .contact-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            padding: 1.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
        }
        
        .contact-card:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            border-color: var(--hoop);
        }
        
        .contact-icon {
            font-size: 1.5rem;
            color: var(--hoop);
            margin-bottom: 1rem;
        }
        
        .contact-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--light);
            margin-bottom: 0.5rem;
        }
        
        .contact-text {
            color: var(--accent);
        }
        
        .contact-link {
            color: var(--hoop);
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .contact-link:hover {
            text-decoration: underline;
            color: var(--primary);
        }
        
        .contact-form {
            flex: 1;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
        }
        
        .contact-form:hover {
            border-color: var(--hoop);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
                        0 0 20px rgba(255, 159, 28, 0.2);
        }
        
        .form-group {
            margin-bottom: 3rem;
            position: relative;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--light);
        }
        
        .form-input {
            width: 100%;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: white;
            font-family: inherit;
            transition: all 0.3s;
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--hoop);
            box-shadow: 0 0 10px rgba(255, 159, 28, 0.3);
            background: rgba(255, 255, 255, 0.15);
        }
        
        .form-textarea {
            min-height: 150px;
            resize: vertical;
        }
        
        .form-submit {
            background: linear-gradient(135deg, var(--primary), var(--hoop));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }
        
        .form-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(230, 57, 70, 0.5);
            background-color: #710106;
        }


.cv-download-container {
  display: inline-block;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cv-download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #710106 0%, #8a0108 100%);
  color: white;
  text-decoration: none;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(113, 1, 6, 0.3);
  z-index: 1;
}

.cv-btn-icon {
  transition: transform 0.3s ease;
}

.cv-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(5, 1, 113, 0.4);
  color: white;
}

.cv-download-btn:hover .cv-btn-icon {
  transform: translateY(3px);
}

.cv-btn-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
            transparent, 
            rgb(139, 130, 130), 
            transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.cv-download-btn:hover .cv-btn-hover-effect {
  left: 100%;
}

/* Animation du bouton au chargement */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cv-download-container {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

