/**
 * ============================================
 * FICHIER CSS PRINCIPAL DU PORTFOLIO
 * ============================================
 * 
 * Ce fichier contient tous les styles du site :
 * - Réinitialisation et styles de base
 * - Styles du header et navigation
 * - Styles des pages (accueil, CV, projets, etc.)
 * - Styles du lecteur audio
 * - Responsive design (mobile, tablette, desktop)
 * 
 * STRUCTURE :
 * 1. Importations et réinitialisation
 * 2. Variables CSS et styles globaux
 * 3. Header et navigation
 * 4. Pages spécifiques
 * 5. Lecteur audio
 * 6. Media queries (responsive)
 */

/* Importation de la police Google Fonts Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Police distinctive pour le logo */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;800;900&display=swap');

/* ============================================
   VARIABLES CSS GLOBALES
   ============================================ */
:root {
    --accent: #3caee4;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --radius-full: 4rem;
}

/* ============================================
   RÉINITIALISATION DE BASE
   ============================================
   On remet à zéro tous les styles par défaut du navigateur
   pour avoir un contrôle total sur l'apparence
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Désactiver le surlignage bleu lors de la sélection */
::selection {
    background: transparent;
    color: inherit;
}

::-moz-selection {
    background: transparent;
    color: inherit;
}

/* Exceptions : permettre la sélection pour les champs de formulaire */
input,
textarea,
[contenteditable="true"],
[contenteditable="true"] * {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Permettre la sélection dans les champs de formulaire */
input::selection,
textarea::selection {
    background: rgba(60, 174, 228, 0.3);
    color: inherit;
}

input::-moz-selection,
textarea::-moz-selection {
    background: rgba(60, 174, 228, 0.3);
    color: inherit;
}

/* Cacher la barre de scroll tout en gardant le défilement */
html {
    font-size: 62.5%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE / Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/*MODIFICATION DU CORPS DE LA PAGE*/
body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: transparent;
    color: white;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Désactiver le scroll horizontal sur les pages CV, lettre de motivation et contact */
/* Permettre le scroll vertical si nécessaire pour accéder au contenu */
body:has(.cv-container),
body:has(.contact-wrapper) {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100vh;
}


main {
    padding: 125px 125px 0;
    min-height: calc(100vh - 125px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----- CANVAS EN ARRIÈRE PLAN ----- */
canvas.background {
    position: fixed;
    /* reste collé à l'écran */
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    z-index: 0;
    /* en arrière-plan */
    pointer-events: none;
    /* clics passent à travers */
    display: block;
}

/* Tous les éléments HTML sauf le canvas passent au-dessus */
body>*:not(canvas) {
    position: relative;
    z-index: 1;
}

/* ----- HEADER ET NAVIGATION ----- */
header {
    position: fixed !important;
    /* reste visible même au scroll */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 1.2rem 8% !important;
    background-color: rgba(0, 0, 0, 0.12) !important;
    /* léger voile pour la lisibilité */
    backdrop-filter: blur(10px) !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 999999 !important;
    /* Très haut */
}

/* ----- LOGO NAV ----- */
.nav-logo {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #3caee4 !important;
    text-decoration: none !important;
    letter-spacing: 3px !important;
    border-bottom: none !important;
    transition: opacity var(--transition-fast), text-shadow var(--transition-fast) !important;
    flex-shrink: 0;
}

.nav-logo:hover {
    opacity: 0.9;
    border-bottom: none !important;
    transform: none !important;
    text-shadow: 0 0 12px rgba(60, 174, 228, 0.6);
}

nav a {
    font-size: 2.0rem !important;
    color: white !important;
    margin-left: 2.4rem !important;
    font-weight: 500 !important;
    transition: color var(--transition-fast), transform var(--transition-fast) !important;
    border-bottom: 2px solid transparent !important;
    padding: .6rem .2rem !important;
    letter-spacing: .2px !important;
}

/* Règle spécifique pour la page d'accueil */
body:has(.home) header nav a {
    font-size: 2.0rem !important;
}

/* Correction pour le dropdown sur la page d'accueil */
body:has(.home) .dropdown-content a {
    font-size: 1.6rem !important;
}

/* Effet hover et lien actif */
nav a:hover,
nav a.active {
    color: var(--accent) !important;
    border-bottom: 2px solid var(--accent) !important;
    transform: translateY(-1px);
}

/* =====================
   BOUTON HAMBURGER 
   ===================== */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 999999;
    /* Même niveau que header */
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 3rem;
    height: 0.3rem;
    background: white;
    border-radius: 0.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-line:not(:last-child) {
    margin-bottom: 0.6rem;
}

/* Animation vers X */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(0.7rem, 0.7rem);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(0.7rem, -0.7rem);
}

/* Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 500000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/*BARRE DE NAVIGATION POUR LES APPAREILS MOBILES ET TABLETTES*/
@media (max-width: 995px) {

    /* Logo réduit sur mobile */
    .nav-logo {
        font-size: 2.4rem !important;
    }

    /* Afficher le hamburger */
    .hamburger-menu {
        display: flex;
    }

    /* Menu mobile */
    nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 60% !important;
        height: 100vh !important;
        background-color: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-left: 3px solid #3caee4 !important;
        border-bottom-left-radius: 2rem !important;
        padding: 8rem 1.5rem 2rem !important;
        z-index: 800000 !important;
        /* Très haut mais sous le header */
        display: none !important;
        flex-direction: column !important;
        gap: 2rem !important;
        box-sizing: border-box !important;
        opacity: 0 !important;
        transform: translateX(100%) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* Menu actif */
    nav.active {
        display: flex !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    /* Liens du menu mobile */
    nav a {
        font-size: 2rem !important;
        color: white !important;
        margin: 0 !important;
        padding: 1.5rem 2rem !important;
        border-radius: 1rem !important;
        transition: all 0.3s ease !important;
        border-bottom: 3px solid transparent !important;
    }

    nav a:hover,
    nav a.active {
        background: rgba(119, 158, 148, 0.2) !important;
        color: #3caee4 !important;
        transform: translateX(10px) !important;
        border-left: 4px solid #3caee4 !important;
        border-bottom: 3px solid #3caee4 !important;
        padding: 1.5rem 2rem !important;
        border-radius: 1rem !important;
    }
}

/* S'assurer que le desktop reste normal */
@media (min-width: 996px) {
    .hamburger-menu {
        display: none !important;
    }

    nav {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        z-index: auto !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/*TAILLE MINIMUM POUR LES APPAREILS MOBILES ET TABLETTES*/
section {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

/*MODIFICATION IMAGE PRINCIPALE*/
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    background-color: transparent;
}

/*MODIFICATION DU CONTENEUR DE TEXTE*/
.home-content {
    overflow: visible;
    max-width: 100%;
}

/*MODIFICATION PHRASE DE PRESENTATION*/
.home .home-content h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .2px;
}

span {
    color: #3caee4
}

/*MODIFICATION PHRASE DE PRESENTATION*/
.home-content h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text);
    opacity: .95;
    max-width: 100%;
    overflow: hidden;
}

.home-img img {
    position: relative;
    width: 15vw;
    margin-right: 5vw;
    animation: floatImage 4s ease-in-out infinite;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(60, 174, 228, 0.35);
    cursor: pointer;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2.4rem);
    }

    100% {
        transform: translateY(0);
    }
}

.home-img img:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 34px #3caee4;
}

/*MODIFICATION LOGO RESEAUX SOCIAUX*/
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #3caee4;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #3caee4;
}

.social-icons a:hover {
    color: white;
    transform: scale(1.15) translateY(-4px);
    background-color: #3caee4;
    box-shadow: 0 8px 24px rgba(60, 174, 228, 0.35);
}

/* Style spécial pour le bouton alien - identique aux autres */
.alien-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 4rem !important;
    height: 4rem !important;
    background-color: transparent !important;
    border: 0.2rem solid #3caee4 !important;
    font-size: 2rem !important;
    border-radius: 50% !important;
    margin: 3rem 1.5rem 3rem 0 !important;
    transition: 0.3s ease !important;
    color: #3caee4 !important;
}

.alien-btn:hover {
    color: white !important;
    transform: scale(1.15) translateY(-4px) !important;
    background-color: #3caee4 !important;
    box-shadow: 0 8px 24px rgba(60, 174, 228, 0.35) !important;
}

/*MODIFICATION BOUTONS RESEAUX SOCIAUX*/
.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: transparent;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #3caee4;
    letter-spacing: 0.3px;
    font-weight: 600;
    border: 2px solid #3caee4;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.03);
    background-color: #3caee4;
    color: black;
    box-shadow: 0 10px 28px rgba(60, 174, 228, 0.35);
}

.icon-container {
    position: fixed;
    /* reste visible même au scroll */
    top: 30%;
    /* centré verticalement */
    left: 50px;
    /* collé à gauche */
    display: flex;
    flex-direction: column;
    /* icônes en colonne */
    gap: 1.5rem;
    /* espace entre elles */
    z-index: 1000;
    /* devant les autres éléments */
}

/*MODIFICATION PHRASE DE PRESENTATION*/
.typing-text {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.typing-text span {
    position: relative;
    color: var(--accent);
    border-right: 3px solid var(--accent);
    animation: typing 4s steps(20, end) infinite, blink-cursor 0.75s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    max-width: 100%;
}

/* =====================
   CORRECTION TYPING TEXT MOBILE - VERSION SIMPLIFIÉE
   ===================== */

/* Sur mobile : désactiver l'animation typing pour éviter le débordement */
@media (max-width: 995px) {
    .typing-text {
        font-size: 2.8rem !important;
        min-width: 0 !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .typing-text span {
        width: auto !important;
        display: inline !important;
        border-right: none !important;
        animation: none !important;
        overflow: visible !important;
        white-space: normal !important;
    }
}

@media (max-width: 768px) {
    .typing-text {
        font-size: 2.4rem !important;
    }
}


/*MODIFICATION DE LA PHRASE D'ACCROCHE*/
.sentence {
    font-size: 2rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* letter-spacing déjà défini dans les règles principales ci-dessus */

/*ANIMATION DE TYPING - ÉCRITURE LETTRE PAR LETTRE*/
@keyframes typing {
    0% {
        width: 0;
    }

    35% {
        width: 18ch;
    }

    55% {
        width: 18ch;
    }

    100% {
        width: 0;
    }
}

/*ANIMATION DU CURSEUR QUI CLIGNOTE*/
@keyframes blink-cursor {

    0%,
    50% {
        border-color: var(--accent);
    }

    51%,
    100% {
        border-color: transparent;
    }
}

/*MODIFICATION POUR LES APPAREILS MOBILES ET TABLETTES*/
@media (max-width: 1000px) {
    .home {
        gap: 4rem;
    }
}

@media(max-width:995px) {
    .home {
        flex-direction: column;
        margin: 5rem 3rem;
    }

    .home .home-content h3 {
        font-size: 2.5rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-img img {
        width: 68vw;
        margin-top: 4rem;
        margin-right: 0;
    }

    main {
        padding: 100px 30px 0;
        min-height: auto;
    }

    .cv-img,
    .lettre-img {
        width: 50vw;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 80px 20px 0;
    }

    .home {
        margin: 4rem 2rem;
        gap: 3rem;
    }

    .home .home-content h1 {
        font-size: 3.8rem;
    }

    .home .home-content h3 {
        font-size: 2.2rem;
    }

    .sentence {
        font-size: 1.6rem;
    }

    .social-icons a,
    .alien-btn {
        width: 3.5rem !important;
        height: 3.5rem !important;
        font-size: 1.7rem !important;
        margin: 2rem 1rem 2rem 0 !important;
    }

    .btn {
        font-size: 1.4rem;
        padding: 0.9rem 2.4rem;
    }

    .cv-img,
    .lettre-img {
        width: 70vw;
        max-width: 100%;
        min-width: 240px;
    }

    .cv-content {
        gap: 1.5rem;
    }

    .btn-cv {
        font-size: 1.4rem;
        padding: 0.8rem 2rem;
    }

    .home-img img {
        width: 50vw;
    }
}

@media (max-width: 480px) {
    main {
        padding: 70px 15px 0;
    }

    .home {
        margin: 3rem 1.5rem;
    }

    .home .home-content h1 {
        font-size: 3rem;
    }

    .home .home-content h3 {
        font-size: 2rem;
    }

    .sentence {
        font-size: 1.4rem;
    }

    .home-img img {
        width: 65vw;
    }

    .cv-img,
    .lettre-img {
        width: 85vw;
    }
}

/*MODIFICATION DE L'IMAGE DU CV ET LETTRE DE MOTIVATION*/
.cv-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 125px);
    padding: 2rem 0;
    box-sizing: border-box;
}

.cv-img {
    width: 22vw;
    max-width: 500px;
    min-width: 280px;
    border: 5px solid #3caee4;
}

.lettre-img {
    width: 22vw;
    max-width: 500px;
    min-width: 280px;
    border: 5px solid #3caee4;
}

/*MODIFICATION DU BOUTON TELECHARGER CV*/
.btn-cv {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #3caee4;
    letter-spacing: 0.3px;
    font-weight: 600;
    border: 2px solid #3caee4;
    transition: 0.3s ease;
    cursor: pointer;
    justify-content: center;
    align-items: flex-start;
}

.btn-cv:hover {
    transform: scale(1.03);
    background-color: #3caee4;
    color: black;
    box-shadow: 0 10px 28px rgba(60, 174, 228, 0.35);
}

.cv-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
    max-width: 100%;
}

/* Ajustements responsive pour les écrans 1080p et moins */
@media (max-height: 1080px) {
    .cv-container {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .cv-content {
        gap: 1.5rem;
        padding: 0.5rem 0;
    }
    
    .cv-img,
    .lettre-img {
        max-width: 450px;
        width: 28vw;
    }
    
    main {
        padding: 100px 100px 20px;
    }
}

/* Ajustements pour les écrans encore plus petits */
@media (max-height: 900px) {
    .cv-container {
        padding: 1rem 0;
    }
    
    .cv-img,
    .lettre-img {
        max-width: 400px;
        width: 30vw;
    }
    
    main {
        padding: 90px 90px 20px;
    }
    
    .btn-cv {
        padding: 0.8rem 2.2rem;
        font-size: 1.4rem;
    }
}

/*POSITIONNEMENT DE LA PHRASE DE C#3caee4IT*/
.credit {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: rgba(0, 0, 0, 0.12) !important;
    backdrop-filter: blur(10px) !important;
    padding: 24px 32px !important;
    font-size: 1.2rem !important;
    opacity: 0.85 !important;
    z-index: 1000 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transform: translateY(0) !important;
    transition: transform 0.3s ease-in-out !important;
}

/* Classe pour cacher le footer lors du scroll */
.credit.hidden {
    transform: translateY(100%) !important;
}

/* Sur mobile, cacher le footer sur la page d'accueil (le lecteur occupe le bas) */
@media (max-width: 995px) {
    body:has(.home) .credit {
        display: none !important;
    }
}

/* Conteneur principal centré */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    /* texte au-dessus, formulaire en dessous */
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    gap: 30px;
    /* espace entre le texte et le formulaire */
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Titre centré */
.contact-title {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    text-align: center;
}

/* Formulaire */
.formulaire-container {
    width: 100%;
    max-width: 750px;
    background-color: transparent;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 50px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

input,
textarea {
    resize: vertical;
    width: 100%;
    padding: 10px;
    font-size: 1.6rem;
    border: 2px solid #3caee4;
    border-radius: 5px;
    background-color: black;
    color: white;
    box-shadow: 0 0 15px rgba(60, 174, 228, 0.3);
    transition: 0.3s ease;
}

button {
    padding: 1rem 2rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #3caee4;
    background-color: black;
    border: 2px solid #3caee4;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background-color: #3caee4;
    color: black;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(60, 174, 228, 0.5);
}

/* Responsive pour tablette */
@media (max-width: 1024px) {
    body:has(.contact-wrapper) main {
        padding: 8rem 3rem 2rem;
    }

    .contact-wrapper {
        max-width: 90%;
        padding: 30px 20px;
    }

    .formulaire-container {
        max-width: 100%;
        padding: 25px;
    }

    .contact-title {
        font-size: 3.5rem;
    }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    body:has(.contact-wrapper) main {
        padding: 8rem 1.5rem 2rem;
    }

    .contact-wrapper {
        padding: 20px 15px;
        min-height: auto;
        max-width: 100%;
    }

    .formulaire-container {
        padding: 20px;
        max-width: 100%;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    input,
    textarea {
        font-size: 1.5rem;
        padding: 12px;
    }

    button {
        padding: 1.2rem 2rem;
        font-size: 1.5rem;
        width: 100%;
    }

    form {
        gap: 20px;
    }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
    body:has(.contact-wrapper) main {
        padding: 7rem 1rem 1.5rem;
    }

    .contact-wrapper {
        padding: 15px 10px;
    }

    .formulaire-container {
        padding: 15px;
    }

    .contact-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    input,
    textarea {
        font-size: 1.4rem;
        padding: 10px;
    }

    button {
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
    }

    form {
        gap: 15px;
    }
}

/* =====================
   ANIMATIONS CV SOBRES ET PROFESSIONNELLES
   ===================== */

/* Animation d'apparition douce */
.cv-img,
.lettre-img {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(60, 174, 228, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.cv-img.animate-in,
.lettre-img.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Loader subtil */
.image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #3caee4;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

/* =====================
   MODAL PROFESSIONNEL
   ===================== */

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999 !important; 
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal.closing {
    opacity: 0;
    transform: scale(0.95);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    padding: 40px; 
    box-sizing: border-box;
}

.modal-content {
    background: #000; 
    border-radius: 20px;
    width: 100%;
    max-width: 1200px; 
    height: 90vh; 
    display: flex;
    flex-direction: column;
    border: 1px solid #3caee4; 
    box-shadow: 0 0 50px rgba(60, 174, 228, 0.15); 
    overflow: hidden;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(60, 174, 228, 0.1);
    border-bottom: 1px solid rgba(60, 174, 228, 0.3);
    flex-shrink: 0; 
}

.modal-title {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.modal-close {
    background: transparent;
    border: none;
    color: #3caee4;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(60, 174, 228, 0.2);
    transform: rotate(90deg);
}

.modal-image-container {
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto; 
    position: relative;
    background-color: #050505;
    padding: 20px;
    width: 100%;
    min-height: 0; 
}


.modal-image {
    display: block;
    margin: auto; 
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: width 0.3s ease; 
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* --- NOUVEAU DESIGN DES BOUTONS --- */
.modal-controls {
    display: flex;
    gap: 20px;
    padding: 20px 30px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(60, 174, 228, 0.3);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.modal-btn {
    background: transparent;
    color: #3caee4;
    border: 2px solid #3caee4;
    padding: 10px 25px;
    border-radius: 50px; 
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    min-width: 140px;
    justify-content: center;
}

.modal-btn:hover {
    background: #3caee4;
    border-color: #3caee4;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(60, 174, 228, 0.4);
    color: #000000 !important; 
}

.modal-btn:hover i,
.modal-btn:hover span {
    color: #000000 !important;
}

.modal-btn.modal-download:hover {
    background: #3caee4;
    box-shadow: 0 5px 15px rgba(60, 174, 228, 0.4);
    color: #000000 !important;
}

.modal-btn.modal-download:hover i,
.modal-btn.modal-download:hover span {
    color: #000000 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-overlay { padding: 5px; }
    .modal-content { height: 100%; max-height: 100vh; border-radius: 0; }
    .modal-header { padding: 10px 15px; }
    .modal-title { font-size: 1.4rem; }
    .modal-image-container {
        padding: 10px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: none;
    }
    .modal-controls { gap: 8px; padding: 10px 15px; }
    .modal-btn { 
        padding: 8px 12px; 
        font-size: 1.2rem; 
        min-width: auto;
        flex: 1; 
    }
    .modal-btn span { display: none; } 
    .modal-btn i { margin: 0; }
}

@media (max-width: 480px) {
    .modal-overlay { padding: 0; }
    .modal-image-container { padding: 5px; }
    .modal-controls { padding: 8px 10px; gap: 6px; }
    .modal-btn { padding: 6px 10px; font-size: 1.1rem; }
}

/* =====================================================
   VEILLE TECHNOLOGIQUE - STYLES #3caee4ESIGN
   ===================================================== */

/* Variables CSS pour la cohérence - SCOPÉES À LA PAGE VEILLE */
.veille-page {
    --accent-color: #3caee4;
    --accent-hover: #3caee4;
    --nvidia-green: #76b900;
    --amd-red: #ed1c24;
    --claude-orange: #d97706;
    --gpt-blue: #10a37f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(60, 174, 228, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    /* Alias et transitions génériques */
    --accent: var(--accent-color);
    --transition-fast: 0.2s ease;
}

/* Couleurs complètes pour NVIDIA */
.nvidia-card .card-title,
.nvidia-card .stat-value,
.nvidia-card .card-features h4,
.nvidia-card .card-features li i,
.nvidia-card .stat-source {
    color: #76b900 !important;
}

/* Couleurs complètes pour AMD */
.amd-card .card-title,
.amd-card .stat-value,
.amd-card .card-features h4,
.amd-card .card-features li i,
.amd-card .stat-source {
    color: #ed1c24 !important;
}

/* Hover spécifique NVIDIA */
.nvidia-card:hover {
    border-color: #76b900 !important;
    box-shadow: 0 20px 60px rgba(118, 185, 0, 0.4) !important;
}

/* Hover spécifique AMD */
.amd-card:hover {
    border-color: #ed1c24 !important;
    box-shadow: 0 20px 60px rgba(237, 28, 36, 0.4) !important;
}

/* Reset et base pour la page veille */
.veille-page {
    background-color: transparent;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Override des styles généraux des sections pour la page veille */
.veille-page section {
    min-height: auto;
    padding: 0;
}

/* Variables globales maintenant définies dans :root */

/* =====================================================
   HERO SECTION
   ===================================================== */
.veille-page .veille-hero {
    min-height: 50vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12rem 2rem 4rem !important;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: heroFadeIn 1s ease-out;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    color: var(--text-primary);
}

.title-accent {
    display: block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.5px;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   MISE EN PAGE IMAGES CÔTE À CÔTE
   ============================================ */
.visual-row {
    display: flex;          /* Active l'alignement horizontal */
    gap: 2rem;             /* Espace entre les deux images */
    justify-content: center;
    align-items: flex-start;
    margin-top: 3rem;
    width: 100%;
}

/* Force les sections visuelles à prendre 50% chacune quand elles sont dans une ligne */
.visual-row .visual-section {
    flex: 1;
    margin-top: 0 !important; /* Enlève la marge du haut pour l'alignement */
    width: 50%;
}

/* Ajustement pour que l'image remplisse bien son bloc */
.visual-row .block-image {
    width: 100%;
    height: 400px; /* Hauteur fixe pour que les deux images soient égales */
    object-fit: cover; /* Recadre l'image proprement sans la déformer */
}

/* RESPONSIVE : Sur mobile, on remet les images l'une en dessous de l'autre */
@media (max-width: 768px) {
    .visual-row {
        flex-direction: column;
    }
    .visual-row .visual-section {
        width: 100%;
    }
}

/* ============================================
   AMÉLIORATION METHODOLOGIE (STYLE PRO)
   ============================================ */
/* Conteneur interne pour aligner le texte proprement */
.method-details {
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: auto;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Chaque groupe (ex: Hardware, IA...) */
.method-group {
    margin-bottom: 1.5rem;
}

.method-group:last-child {
    margin-bottom: 0;
}

/* Titre des groupes (ex: "Hardware") */
.method-group h4 {
    color: var(--accent); /* Bleu du site */
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Texte des groupes */
.method-group p {
    font-size: 1.8rem !important; /* Un peu plus petit que le texte principal */
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.5 !important;
    margin: 0;
}

/* ============================================
   COLORISATION ET STYLES IA (CALQUÉ SUR GPU)
   ============================================ */

/* --- CLAUDE (Orange) --- */
/* Applique la couleur à TOUS les éléments importants (Titre, Valeurs stats, Titres listes, Icônes, Liens) */
.claude-card .card-title,
.claude-card .stat-value,
.claude-card .card-features h4,
.claude-card .card-features li i,
.claude-card .stat-source {
    color: #d97706 !important; /* Orange Claude */
}

/* Hover spécifique Claude (Bordure + Ombre colorée) */
.claude-card:hover {
    border-color: #d97706 !important;
    box-shadow: 0 20px 60px rgba(217, 119, 6, 0.4) !important;
}

/* Petit effet de zoom sur le lien source au survol */
.claude-card .stat-source:hover {
    background: rgba(217, 119, 6, 0.1);
    transform: scale(1.2);
}


/* --- GPT (Vert OpenAI) --- */
/* Applique la couleur à TOUS les éléments importants */
.gpt-card .card-title,
.gpt-card .stat-value,
.gpt-card .card-features h4,
.gpt-card .card-features li i,
.gpt-card .stat-source {
    color: #10a37f !important; /* Vert GPT */
}

/* Hover spécifique GPT (Bordure + Ombre colorée) */
.gpt-card:hover {
    border-color: #10a37f !important;
    box-shadow: 0 20px 60px rgba(16, 163, 127, 0.4) !important;
}

/* Petit effet de zoom sur le lien source au survol */
.gpt-card .stat-source:hover {
    background: rgba(16, 163, 127, 0.1);
    transform: scale(1.2);
}

/* =====================================================
   INTRODUCTION SECTION
   ===================================================== */
.veille-page .veille-intro-section {
    padding: 4rem 0 !important;
}

.intro-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 1.6rem;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.intro-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(60, 174, 228, 0.1);
    transform: translateY(-2px);
}

.intro-icon {
    font-size: 4rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.intro-text {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.intro-text strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* --- Séparateur --- */
.separateur-section {
    /* Supprime les bordures par défaut de la balise hr */
    border: 0;
    /* Définit la hauteur de la ligne (similaire à l'épaisseur de vos soulignements h2) */
    height: 2px;
    /* Crée un dégradé horizontal : transparent -> orange -> transparent */
    /* Cela donne un effet de ligne lumineuse qui s'estompe sur les côtés */
    background-image: linear-gradient(to right, rgba(255, 102, 0, 0), #3caee4, rgba(255, 102, 0, 0));
    /* Ajoute un grand espace au-dessus et en dessous pour bien aérer les sections */
    margin: 150px 0;
    /* Optionnel : réduit légèrement la largeur pour qu'elle ne touche pas les bords du conteneur */
    width: 100%;
    /* Centre la ligne si la largeur est inférieure à 100% */
    margin-left: auto;
    margin-right: auto;
}
/* =====================================================
   COMPARISONS SECTION
   ===================================================== */
.veille-page .comparisons-section {
    padding: 6rem 0 !important;
}

/* =====================================================
   COMPARISON BLOCK (GPU & AI)
   ===================================================== */
.comparison-block {
    margin-bottom: 8rem;
    animation: blockFadeIn 0.6s ease-out;
}

@keyframes blockFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Block Header */
.block-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.header-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    font-size: 3.2rem;
    border-radius: 1.6rem;
    background: linear-gradient(135deg, rgba(60, 174, 228, 0.15), rgba(60, 174, 228, 0.05));
    border: 2px solid var(--border-color);
    color: var(--accent-color);
    flex-shrink: 0;
}

.header-text {
    flex: 1;
}

.header-text h2 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.header-tag {
    display: inline-block;
    font-size: 1.4rem;
    color: var(--accent-color);
    background: rgba(60, 174, 228, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(60, 174, 228, 0.3);
}

/* Block Content */
.block-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Info Card */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.info-card h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-card p {
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* =====================================================
   VERSUS CONTAINER
   ===================================================== */
.versus-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    padding: 2rem 0;
}

@media (min-width: 992px) {
    .versus-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* VS Badge */
.vs-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #000000, #333333);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 3px rgba(255, 255, 255, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
}

.vs-badge-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
}

.vs-badge:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 991px) {
    .vs-badge {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0 auto;
    }

    .vs-badge:hover {
        transform: scale(1.1);
    }

}

/* =====================================================
   GPU CARDS
   ===================================================== */
.gpu-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gpu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, transparent, transparent);
    /* CHANGER ICI */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gpu-card:hover::before {
    opacity: 1;
}

.gpu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Nvidia Card */
.nvidia-card {
    border-color: rgba(118, 185, 0, 0.3);
}

.nvidia-card:hover {
    border-color: var(--nvidia-green);
    box-shadow: 0 20px 60px rgba(118, 185, 0, 0.2);
}

.nvidia-card::before {
    background: linear-gradient(90deg, transparent, var(--nvidia-green), transparent);
}

/* AMD Card */
.amd-card {
    border-color: rgba(237, 28, 36, 0.3);
}

.amd-card:hover {
    border-color: var(--amd-red);
    box-shadow: 0 20px 60px rgba(237, 28, 36, 0.2);
}

.amd-card::before {
    background: linear-gradient(90deg, transparent, var(--amd-red), transparent);
}

/* Card Badge */
.card-badge {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.nvidia-badge {
    background: rgba(118, 185, 0, 0.15);
    color: var(--nvidia-green);
    border: 1px solid rgba(118, 185, 0, 0.3);
}

.amd-badge {
    background: rgba(237, 28, 36, 0.15);
    color: var(--amd-red);
    border: 1px solid rgba(237, 28, 36, 0.3);
}

/* Card Title */
.card-title {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

/* Card Stats */
.card-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-label {
    font-size: 1.4rem;
    color: var(--text-secondary);
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-right: 1rem;
}

.stat-source {
    color: var(--accent-color);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.stat-source:hover {
    background: rgba(60, 174, 228, 0.1);
    transform: scale(1.2);
}

/* Card Features */
.card-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-features h4 {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-features li {
    font-size: 1.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
}

.card-features li:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(5px);
}

.card-features li i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.nvidia-card .card-features li i.fa-check {
    color: var(--nvidia-green);
}

.nvidia-card .card-features li i.fa-minus {
    color: rgba(255, 255, 255, 0.4);
}

.amd-card .card-features li i.fa-check {
    color: var(--amd-red);
}

.amd-card .card-features li i.fa-minus {
    color: rgba(255, 255, 255, 0.4);
}

/* =====================================================
   AI CARDS
   ===================================================== */
.ai-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-card:hover::before {
    opacity: 1;
}

.ai-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Claude Card */
.claude-card {
    border-color: rgba(217, 119, 6, 0.3);
}

.claude-card:hover {
    border-color: var(--claude-orange);
    box-shadow: 0 20px 60px rgba(217, 119, 6, 0.2);
}

.claude-card::before {
    background: linear-gradient(90deg, transparent, var(--claude-orange), transparent);
}

.claude-badge {
    background: rgba(217, 119, 6, 0.15);
    color: var(--claude-orange);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.claude-card .card-features li i {
    color: var(--claude-orange);
}

/* GPT Card */
.gpt-card {
    border-color: rgba(16, 163, 127, 0.3);
}

.gpt-card:hover {
    border-color: var(--gpt-blue);
    box-shadow: 0 20px 60px rgba(16, 163, 127, 0.2);
}

.gpt-card::before {
    background: linear-gradient(90deg, transparent, var(--gpt-blue), transparent);
}

.gpt-badge {
    background: rgba(16, 163, 127, 0.15);
    color: var(--gpt-blue);
    border: 1px solid rgba(16, 163, 127, 0.3);
}

.gpt-card .card-features li i {
    color: var(--gpt-blue);
}

/* =====================================================
   ANALYSIS CARD
   ===================================================== */
.analysis-card {
    background: linear-gradient(135deg, rgba(60, 174, 228, 0.08), rgba(60, 174, 228, 0.02));
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 1.2rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.analysis-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.analysis-card h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.analysis-card p {
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.analysis-card p:last-child {
    margin-bottom: 0;
}

.analysis-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

.source-credit {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.source-credit a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.source-credit a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* =====================================================
   VISUAL SECTION
   ===================================================== */
.visual-section {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.block-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 1.6rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.block-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(60, 174, 228, 0.15);
    border-color: var(--accent-color);
}

.image-caption {
    font-size: 1.5rem;
    color: var(--accent-color);
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(60, 174, 228, 0.08);
    border: 1px solid rgba(60, 174, 228, 0.3);
    border-radius: 2rem;
    max-width: 800px;
}

/* =====================================================
   METHODOLOGY SECTION
   ===================================================== */
.veille-page .methodology-section {
    padding: 6rem 0 8rem !important;
    background: transparent;
    margin-bottom: 4rem !important;
}

/* .section-title défini dans la section Projets ci-dessous */

.veille-page .section-title i {
    color: var(--accent-color);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 3rem;
    align-items: stretch;
}

.method-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.6rem;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.method-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(60, 174, 228, 0.15);
    transform: translateY(-8px);
}

.method-icon {
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    font-size: 3.5rem;
    color: var(--accent-color);
    background: transparent;
    border: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.method-card:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
}

.method-card h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.method-card p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablettes */
@media (max-width: 768px) {
    .veille-page .veille-hero {
        min-height: 45vh !important;
        padding: 10rem 2rem 3rem !important;
    }

    .hero-title {
        font-size: clamp(3.5rem, 10vw, 6rem);
    }

    .hero-subtitle {
        font-size: clamp(1.6rem, 3vw, 2rem);
    }

    .intro-card {
        flex-direction: column;
        padding: 2.5rem;
    }

    .intro-icon {
        font-size: 3.5rem;
    }

    .intro-text {
        font-size: 1.6rem;
    }

    .block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .header-icon {
        width: 60px;
        height: 60px;
        font-size: 2.8rem;
    }

    .header-text h2 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

    .gpu-card,
    .ai-card {
        padding: 2.5rem;
    }

    .card-title {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .veille-page .veille-hero {
        padding: 9rem 1.5rem 2.5rem !important;
    }

    .intro-card {
        padding: 2rem;
    }

    .intro-icon {
        font-size: 3rem;
    }

    .intro-text {
        font-size: 1.5rem;
    }

    .block-header {
        margin-bottom: 3rem;
    }

    .header-icon {
        width: 50px;
        height: 50px;
        font-size: 2.4rem;
    }

    .info-card,
    .analysis-card {
        padding: 2rem;
    }

    .info-card h3,
    .analysis-card h3 {
        font-size: 1.8rem;
    }

    .info-card p,
    .analysis-card p {
        font-size: 1.5rem;
    }

    .gpu-card,
    .ai-card {
        padding: 2rem;
    }

    .card-stats {
        padding: 1.5rem;
    }

    .stat-label {
        font-size: 1.3rem;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .card-features li {
        font-size: 1.4rem;
    }

    .vs-badge {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }


    .method-icon {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }

    .method-card h3 {
        font-size: 1.8rem;
    }

    .method-card p {
        font-size: 1.5rem;
    }
}

/* Animations supplémentaires */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.card-badge {
    animation: pulse 3s ease-in-out infinite;
}

/* Accessibilité - Focus visible */
.stat-source:focus,
.source-credit a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ===================== LECTEUR DE MUSIQUE ===================== */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(60, 174, 228, 0.3);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(60, 174, 228, 0.3);
    min-width: 280px;
    max-width: 340px;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.95;
}

/* Centrer le lecteur sous le bouton dans le bloc de contenu sur la page d'accueil */
.home-content .music-player {
    position: static;
    margin-left: 0;
    margin-right: 0;
    margin-top: 2rem;
    max-width: 340px;
    min-width: 280px;
    box-shadow: none;
    border-color: rgba(60, 174, 228, 0.15);
}

.home-content .music-player:hover {
    box-shadow: none;
}

.music-player:hover {
    opacity: 1;
    box-shadow: 0 15px 40px rgba(60, 174, 228, 0.3);
}

.music-player.minimized {
    min-width: 220px;
    max-width: 300px;
    padding: 10px 15px;
    transform: translateY(calc(100% - 100px));
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Sur la page d'accueil, le minimisé reste en place */
.home-content .music-player.minimized {
    transform: none;
}

.music-player.minimized .music-controls,
.music-player.minimized .volume-container {
    display: none;
}

/* En mode minimisé, afficher seulement le titre et l'artiste */
.music-player.minimized .music-info {
    display: block;
    margin-bottom: 0;
    text-align: center;
}

.music-player.minimized .progress-container,
.music-player.minimized .time-info {
    display: none;
}

/* Style pour le titre et l'artiste en mode minimisé */
.music-player.minimized .song-title {
    font-size: 12px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.music-player.minimized .song-artist {
    font-size: 10px;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    padding: 0 5px;
}

.player-header {
    display: flex;
    justify-content: space-between;
    /* au lieu de flex-end */
    align-items: center;
    margin-bottom: 15px;
}

/* En mode minimisé, ajuster le header */
.music-player.minimized .player-header {
    margin-bottom: 5px;
    flex-shrink: 0;
}

/* Ajuster l'espacement en mode minimisé */
.music-player.minimized .music-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    text-align: center;
    padding-top: 0;
    flex: 1;
    min-height: 50px;
}

.player-title {
    color: #3caee4;
    margin: 0;
}

/* Forcer une taille réduite du titre du lecteur malgré .home-content h3 */
.home-content .music-player .player-title {
    font-size: 14px !important;
    line-height: 1.2;
}

.minimize-btn {
    background: transparent;
    border: none;
    color: #3caee4;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimize-btn:hover {
    background: rgba(60, 174, 228, 0.3);
    transform: scale(1.1);
}

.music-info {
    text-align: center;
    margin-bottom: 20px;
}

.song-title {
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-bottom: 10px;
}

.progress-container {
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin-bottom: 15px;
}

.progress-bar {
    background: linear-gradient(90deg, #3caee4, #3caee4);
    height: 100%;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

.time-info {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    margin-bottom: 15px;
}

.music-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.control-btn {
    background: rgba(60, 174, 228, 0.1);
    border: 1px solid rgba(60, 174, 228, 0.3);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Style pour le bouton de loop actif */
.control-btn.active.loop-all,
.control-btn.active.loop-one {
    background: rgba(60, 174, 228, 0.2);
    border-color: #3caee4;
    color: #3caee4;
}

/* Indicateur "1" pour le mode loop one */
.loop-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #3caee4;
    color: white;
    font-size: 8px;
    font-weight: bold;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.9);
    line-height: 1;
}

/* Animation pour le bouton de loop actif */
.control-btn.active.loop-all i,
.control-btn.active.loop-one i {
    animation: loopPulse 2s ease-in-out infinite;
}

@keyframes loopPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

.control-btn.play-pause {
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.control-btn.secondary {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.control-btn:hover {
    background: rgba(60, 174, 228, 0.3);
    border-color: rgba(60, 174, 228, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(60, 174, 228, 0.3);
}

.control-btn:active {
    transform: translateY(0);
}

.control-btn.active {
    background: rgba(60, 174, 228, 0.3);
    border-color: #3caee4;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-icon {
    color: #3caee4;
    font-size: 14px;
    min-width: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.volume-icon:hover {
    color: white;
}

.volume-slider {
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

/* Style pour les navigateurs WebKit (Chrome, Safari, Edge) */
.volume-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3caee4;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border: none;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #3caee4;
    transform: scale(1.2);
}

/* Style pour Firefox */
.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3caee4;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.volume-slider::-moz-range-thumb:hover {
    background: #3caee4;
    transform: scale(1.2);
}

/* Style pour la piste dans Firefox */
.volume-slider::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
}

.equalizer {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 2px;
    height: 20px;
    margin-top: 10px;
}

.eq-bar {
    width: 3px;
    background: #3caee4;
    border-radius: 1px;
    transition: height 0.1s ease;
}

/* Animation equalizer */
@keyframes eq1 {

    0%,
    100% {
        height: 4px;
    }

    50% {
        height: 16px;
    }
}

@keyframes eq2 {

    0%,
    100% {
        height: 8px;
    }

    50% {
        height: 12px;
    }
}

@keyframes eq3 {

    0%,
    100% {
        height: 12px;
    }

    50% {
        height: 4px;
    }
}

@keyframes eq4 {

    0%,
    100% {
        height: 6px;
    }

    50% {
        height: 18px;
    }
}

@keyframes eq5 {

    0%,
    100% {
        height: 10px;
    }

    50% {
        height: 8px;
    }
}

.eq-bar:nth-child(1) {
    animation: eq1 1.2s infinite;
}

.eq-bar:nth-child(2) {
    animation: eq2 1.4s infinite;
}

.eq-bar:nth-child(3) {
    animation: eq3 1.1s infinite;
}

.eq-bar:nth-child(4) {
    animation: eq4 1.3s infinite;
}

.eq-bar:nth-child(5) {
    animation: eq5 1.5s infinite;
}

.equalizer.paused .eq-bar {
    animation: none;
    height: 4px;
}

/* Notification toast retirée */

/* Sur mobile, cacher le lecteur sur les pages autres que l'accueil */
/* La musique continue de jouer car l'élément <audio> reste dans le DOM */
@media (max-width: 995px) {
    body:not(:has(.home)) .music-player {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .music-player {
        right: 15px;
        bottom: 15px;
        min-width: 250px;
        padding: 15px;
    }

    .music-player.minimized {
        transform: translateY(calc(100% - 95px));
        padding: 8px 12px;
        min-width: 200px;
        max-width: 280px;
        min-height: 95px;
    }
    
    .music-player.minimized .song-title {
        max-width: 100%;
        font-size: 11px;
        line-height: 1.4;
    }
    
    .music-player.minimized .song-artist {
        max-width: 100%;
        font-size: 9px;
        line-height: 1.4;
        overflow: visible;
        text-overflow: clip;
        padding: 0 5px;
    }
    
    .music-player.minimized .music-info {
        min-height: 45px;
    }

    /* Sur la page d'accueil, le minimisé reste en place */
    .home-content .music-player.minimized {
        transform: none;
    }

    .music-notification {
        right: 15px;
        font-size: 12px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .music-player {
        right: 10px;
        min-width: 220px;
        padding: 12px;
    }

    .music-notification {
        right: 10px;
        font-size: 11px;
        padding: 10px 14px;
    }
}

/* =====================================================
   REALISATIONS - DESIGN MODERNE
   ===================================================== */

/* Override du main pour la page réalisations */
body:has(.realisations-container) main {
    padding: 8rem 2rem 2rem;
    display: block;
}

.realisations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.realisations-container>h1 {
    font-size: clamp(4rem, 6vw, 6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    letter-spacing: 0.2px;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    min-height: 400px;
}

.nav-arrow {
    background: rgba(60, 174, 228, 0.1);
    border: 2px solid rgba(60, 174, 228, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    color: #3caee4;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-arrow:hover {
    background: rgba(60, 174, 228, 0.3);
    border-color: #3caee4;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(60, 174, 228, 0.3);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.project-display {
    flex: 1;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(60, 174, 228, 0.3);
    border-radius: 2rem;
    padding: 4rem 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.project-display:hover {
    border-color: #3caee4;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(60, 174, 228, 0.15);
    transform: translateY(-5px);
}

.project-display h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: white;
    margin-bottom: 2rem;
    font-weight: 600;
}

.project-display p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
}

.view-button {
    display: inline-block;
    padding: 1.4rem 3.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #3caee4;
    background-color: transparent;
    border: 2px solid #3caee4;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.view-button:hover {
    background-color: #3caee4;
    color: black;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(60, 174, 228, 0.4);
}

/* Indicateur de pagination */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(60, 174, 228, 0.3);
    border: 2px solid rgba(60, 174, 228, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3caee4;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(60, 174, 228, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    body:has(.realisations-container) main {
        padding: 6rem 1rem 2rem;
    }

    .realisations-container {
        padding: 2rem 1rem;
    }

    .realisations-container>h1 {
        margin-bottom: 3rem;
    }

    .carousel {
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
    }

    .nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    /* Flèches horizontales sur mobile */
    .carousel-mobile-nav {
        display: flex;
        justify-content: center;
        gap: 2rem;
        order: 3;
    }

    .project-display {
        padding: 3rem 2rem;
        min-height: 300px;
        order: 2;
    }

    .project-display h2 {
        font-size: clamp(2rem, 5vw, 2.8rem);
        margin-bottom: 1.5rem;
    }

    .project-display p {
        font-size: 1.6rem;
        margin-bottom: 2.5rem;
    }

    .view-button {
        padding: 1.2rem 3rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .project-display {
        padding: 2.5rem 1.5rem;
    }

    .project-display h2 {
        margin-bottom: 1.2rem;
    }

    .project-display p {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* =====================================================
   MENU DÉROULANT RÉALISATIONS - COHÉRENT AVEC LE DESIGN
   ===================================================== */

.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Lien principal Réalisations - reste identique aux autres liens */
.dropdown>a {
    font-size: 2.0rem !important;
    color: white !important;
    margin-left: 2.4rem !important;
    font-weight: 500 !important;
    transition: color var(--transition-fast), border-color var(--transition-fast) !important;
    border-bottom: 2px solid transparent !important;
    padding: .6rem .2rem !important;
    letter-spacing: .2px !important;
    transform: none !important;
}

.dropdown>a:hover,
.dropdown>a.active {
    color: #3caee4 !important;
    border-bottom: 2px solid #3caee4 !important;
}

/* Contenu du menu déroulant */
.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(60, 174, 228, 0.15);
    z-index: 1000;
    border: 1px solid rgba(60, 174, 228, 0.3);
    border-radius: 1rem;
    top: calc(100% + 0.2rem);
    left: 0;
    padding: 0.8rem 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* --- CODE POUR LE CLIC --- */
/* La classe .show sera ajoutée par le Javascript quand on clique */
.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    animation: fadeInDrop 0.3s ease;
}

/* Petite animation pour rendre l'apparition fluide */
@keyframes fadeInDrop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Garder le lien "Réalisations" coloré quand le menu est ouvert */
.dropdown a.dropbtn.active {
    color: #3caee4 !important;
    border-bottom: 2px solid #3caee4 !important;
}

/* Liens dans le menu déroulant */
.dropdown-content a {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 1.2rem 2rem !important;
    text-decoration: none;
    display: block;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
    border-bottom: none !important;
    margin: 0.2rem 0 !important;
}

.dropdown-content a:hover {
    background: rgba(60, 174, 228, 0.15) !important;
    color: #3caee4 !important;
    border-left: 3px solid #3caee4 !important;
    padding-left: 2.5rem !important;
    transform: none !important;
}

/* Effet de flèche subtile en haut du menu */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 2rem;
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.95);
    border-left: 1px solid rgba(60, 174, 228, 0.3);
    border-top: 1px solid rgba(60, 174, 228, 0.3);
    transform: rotate(45deg);
}

/* =====================================================
   RESPONSIVE - MENU MOBILE
   ===================================================== */

@media (max-width: 995px) {

    /* Dans le menu mobile, le dropdown devient une liste normale */
    .dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .dropdown>a {
        margin: 0 !important;
        padding: 1.5rem 2rem !important;
        border-radius: 1rem !important;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none;
        background: rgba(60, 174, 228, 0.05);
        border: none;
        border-left: 3px solid rgba(60, 174, 228, 0.3);
        border-radius: 0 1rem 1rem 0;
        box-shadow: none;
        min-width: auto;
        margin-left: 1rem;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        opacity: 1;
        transform: none;
        backdrop-filter: none;
    }

    .dropdown-content::before {
        display: none;
    }

    /* Affichage au clic sur mobile (nécessite JS) */
    .dropdown.active .dropdown-content {
        display: block;
        pointer-events: all;
    }

    .dropdown-content a {
        font-size: 1.5rem !important;
        padding: 1rem 1.5rem !important;
        border-left: none !important;
    }

    .dropdown-content a:hover {
        padding-left: 2rem !important;
        background: rgba(60, 174, 228, 0.3) !important;
        border-left: 3px solid #3caee4 !important;
    }

    /* Cacher la flèche du HTML sur mobile (car on en ajoute une avec CSS) */
    .dropdown>a .fa-caret-down {
        display: none;
    }

    /* Icône pour indiquer que c'est déroulable */
    .dropdown>a::after {
        content: '\f107';
        /* FontAwesome chevron-down */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: 0.5rem;
        font-size: 1.4rem;
        transition: transform 0.3s ease;
    }

    .dropdown.active>a::after {
        transform: rotate(180deg);
    }
}

/* Styles spécifiques à la page Stages */
.stages-page {
    --accent: #3caee4;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(60, 174, 228, 0.3);
}

.stages-page main {
    padding: 10rem 2rem 4rem;
    display: block;
    min-height: 100vh;
}

.stages-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.stages-hero {
    text-align: center;
    margin-bottom: 6rem;
    animation: heroFadeIn 1s ease-out;
}

.stages-hero h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2px;
}

.stages-hero .subtitle {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--text-secondary);
    font-weight: 300;
}

/* heroFadeIn déjà défini plus haut */

/* Timeline Container */
.timeline {
    position: relative;
    padding: 2rem 0;
}

/* Ligne verticale centrale */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg,
            transparent,
            var(--accent) 10%,
            var(--accent) 90%,
            transparent);
}

/* Stage Item */
.stage-item {
    position: relative;
    margin-bottom: 6rem;
    opacity: 0;
    animation: stageAppear 0.8s ease-out forwards;
}

.stage-item:nth-child(1) {
    animation-delay: 0.2s;
}

.stage-item:nth-child(2) {
    animation-delay: 0.4s;
}

.stage-item:nth-child(3) {
    animation-delay: 0.6s;
}

.stage-item:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes stageAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alternance gauche/droite */
.stage-item:nth-child(odd) {
    padding-right: calc(50% + 4rem);
    text-align: right;
    transform: translateX(-30px);
}

.stage-item:nth-child(even) {
    padding-left: calc(50% + 4rem);
    text-align: left;
    transform: translateX(30px);
}

/* Point sur la timeline */
.stage-item::before {
    content: '';
    position: absolute;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border: 4px solid rgba(0, 0, 0, 0.9);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(60, 174, 228, 0.3),
        0 0 20px rgba(60, 174, 228, 0.4);
    transition: all 0.3s ease;
}

.stage-item:nth-child(odd)::before {
    right: calc(50% - 10px);
}

.stage-item:nth-child(even)::before {
    left: calc(50% - 10px);
}

.stage-item:hover::before {
    transform: scale(1.5);
    box-shadow: 0 0 0 6px rgba(60, 174, 228, 0.3),
        0 0 30px rgba(60, 174, 228, 0.6);
}

/* Stage Card */
.stage-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 1.6rem;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stage-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(60, 174, 228, 0.15);
}

.stage-card:hover::before {
    opacity: 1;
}

/* Header du stage */
.stage-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stage-item:nth-child(odd) .stage-header {
    flex-direction: row-reverse;
}

.stage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(60, 174, 228, 0.15), rgba(60, 174, 228, 0.05));
    border: 2px solid var(--border-color);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stage-card:hover .stage-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent);
}

.stage-title-group {
    flex: 1;
}

.stage-period {
    display: inline-block;
    font-size: 1.3rem;
    color: var(--accent);
    background: rgba(60, 174, 228, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    border: 1px solid rgba(60, 174, 228, 0.3);
    margin-bottom: 0.8rem;
}

.stage-card h2 {
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stage-company {
    font-size: 1.6rem;
    color: var(--accent);
    font-weight: 500;
}

/* Content du stage */
.stage-content {
    margin-top: 2rem;
}

.stage-description {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Missions */
.stage-missions {
    margin-top: 2rem;
}

.stage-missions h3 {
    font-size: 1.7rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stage-item:nth-child(odd) .stage-missions h3 {
    flex-direction: row-reverse;
}

.stage-missions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stage-missions li {
    font-size: 1.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.stage-item:nth-child(odd) .stage-missions li {
    flex-direction: row-reverse;
    text-align: right;
}

.stage-missions li:hover {
    background: rgba(60, 174, 228, 0.1);
    transform: translateX(5px);
}

.stage-item:nth-child(odd) .stage-missions li:hover {
    transform: translateX(-5px);
}

.stage-missions li i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* Tags/Technologies */
.stage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.stage-item:nth-child(odd) .stage-tags {
    justify-content: flex-end;
}

.tag {
    display: inline-block;
    font-size: 1.3rem;
    color: var(--text-primary);
    background: rgba(60, 174, 228, 0.15);
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    border: 1px solid rgba(60, 174, 228, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(60, 174, 228, 0.25);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }

    .stage-item:nth-child(odd),
    .stage-item:nth-child(even) {
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
        transform: translateX(0);
    }

    .stage-item::before {
        left: 20px !important;
        right: auto !important;
    }

    .stage-item:nth-child(odd) .stage-header,
    .stage-item:nth-child(odd) .stage-missions h3 {
        flex-direction: row;
    }

    .stage-item:nth-child(odd) .stage-missions li {
        flex-direction: row;
        text-align: left;
    }

    .stage-item:nth-child(odd) .stage-missions li:hover {
        transform: translateX(5px);
    }

    .stage-item:nth-child(odd) .stage-tags {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .stages-page main {
        padding: 8rem 1.5rem 3rem;
    }

    .stages-hero {
        margin-bottom: 4rem;
    }

    .stage-item {
        margin-bottom: 4rem;
        padding-left: 60px;
    }

    .timeline::before {
        left: 20px;
    }

    .stage-item::before {
        left: 10px !important;
    }

    .stage-card {
        padding: 2rem;
    }

    .stage-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .stage-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .stage-card h2 {
        font-size: 2rem;
    }

    .stage-missions li {
        font-size: 1.4rem;
    }
}

/* Styles spécifiques à la page Projets */
.projets-page {
    --accent: #3caee4;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(60, 174, 228, 0.3);
}

.projets-page main {
    padding: 10rem 2rem 4rem;
    display: block;
    min-height: 100vh;
}

.projets-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.projets-hero {
    text-align: center;
    margin-bottom: 6rem;
    animation: heroFadeIn 1s ease-out;
}

.projets-hero h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2px;
}

.projets-hero .subtitle {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--text-secondary);
    font-weight: 300;
}

/* heroFadeIn déjà défini plus haut */

/* Filtres de catégories */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.filter-btn {
    padding: 1rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--accent);
    background: var(--bg-card);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(60, 174, 228, 0.3);
}

.filter-btn.active {
    color: black;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(60, 174, 228, 0.3);
}

.filter-btn.active:hover {
    color: black;
    background: var(--accent);
}

/* Grille de projets */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: stretch;
}

/* Carte de projet */
.project-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 1.6rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: projectAppear 0.6s ease-out forwards;
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

.project-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes projectAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(60, 174, 228, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

/* Image du projet */
.project-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(60, 174, 228, 0.1), rgba(60, 174, 228, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-image-placeholder {
    font-size: 8rem;
    color: var(--accent);
    opacity: 0.3;
}

/* Badge de catégorie */
.project-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: var(--accent);
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: 1px solid rgba(60, 174, 228, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

/* Contenu du projet */
.project-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-header {
    margin-bottom: 1.5rem;
}

.project-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-title i {
    color: var(--accent);
    font-size: 2rem;
}

.project-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 4.5rem;
    flex: 1;
}

/* Technologies utilisées */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tech-tag {
    display: inline-block;
    font-size: 1.2rem;
    color: var(--text-primary);
    background: rgba(60, 174, 228, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    border: 1px solid rgba(60, 174, 228, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(60, 174, 228, 0.25);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Footer du projet */
.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.project-date {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 174, 228, 0.1);
    border: 1px solid rgba(60, 174, 228, 0.3);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.6rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-link:hover {
    background: var(--accent);
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(60, 174, 228, 0.3);
}

/* Section de projet en vedette */
.featured-project {
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 2rem;
    padding: 0;
    margin-bottom: 5rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(60, 174, 228, 0.3);
    animation: featured 3s ease-in-out infinite;
}

@keyframes featured {

    0%,
    100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(60, 174, 228, 0.3);
    }

    50% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(60, 174, 228, 0.35);
    }
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-image {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(60, 174, 228, 0.15), rgba(60, 174, 228, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--accent);
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 24px rgba(60, 174, 228, 0.4);
}

.featured-badge i {
    animation: starRotate 2s linear infinite;
}

@keyframes starRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.featured {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.featured-content h2 {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.featured-content p {
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    text-align: left;
    width: 100%;
}

.featured-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 0;
}

.featured-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-stats .stat-item:last-child {
    border-bottom: none;
}

.featured-stats .stat-label {
    font-size: 1.4rem !important;
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 120px;
    text-align: left;
}

.featured-stats .stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    text-align: left;
    flex: 1;
}

.featured-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
}

.featured-actions {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
}

.featured-btn {
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.featured-btn.primary {
    background: var(--accent);
    color: black;
    border: 2px solid var(--accent);
}

.featured-btn.primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(60, 174, 228, 0.3);
}

.featured-btn.secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.featured-btn.secondary:hover {
    background: rgba(60, 174, 228, 0.1);
    transform: translateY(-3px);
}

/* Section titre */
.section-title {
    font-size: 3rem;
    color: var(--text-primary);
    margin: 5rem 0 3rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.section-title i {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 300px;
    }

    .featured-content {
        padding: 3rem;
    }

    .featured-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .projets-page main {
        padding: 8rem 1.5rem 3rem;
    }

    .projets-hero {
        margin-bottom: 4rem;
    }

    .filters {
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .filter-btn {
        padding: 0.8rem 2rem;
        font-size: 1.4rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-content {
        padding: 2rem;
    }

    .featured-content {
        padding: 2.5rem;
    }

    .featured-content h2 {
        font-size: 2.5rem;
    }

    .featured-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-actions {
        flex-direction: column;
    }

    .featured-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-image {
        height: 200px;
    }

    .project-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1.2rem;
        font-size: 1.1rem;
    }

    .project-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
}

/* Animation au survol des icônes */
@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.project-link:hover i,
.project-title i {
    animation: iconBounce 0.6s ease infinite;
}