﻿/* =========================================
   VARIABLES GLOBALES (PALETTE NEBULA LIGHT)
   ========================================= */
:root {
    --bg-dark: #1e2230; /* Bleu Nuit Profond */
    --bg-card: #2a2f45; /* Ardoise Cosmique */
    --primary-cyan: #00f2ff; /* Cyan Électrique */
    --primary-pink: #ff0099; /* Rose Magenta Néon */
    --text-light: #ffffff; /* Blanc Stellaire */
    --text-muted: #b8b8b8; /* Gris Argenté */
}

/* =========================================
   STYLE GÉNÉRAL
   ========================================= */
body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; /* Important pour éviter les marges blanches par défaut */
}

/* =========================================
   SECTION HERO (ACCUEIL) - MODIFIÉE
   ========================================= */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, var(--bg-card) 0%, var(--bg-dark) 80%);
}

/* Le conteneur qui va créer l'effet de rotation */
.logo-container {
    position: relative;
    display: inline-block; /* S'adapte à la taille de l'image */
    margin-bottom: 25px;
    border-radius: 50%;
    z-index: 1; /* S'assure d'être au dessus du fond */
}

/* L'anneau coloré (Cyan/Rose) qui tourne */
.logo-container::before {
    content: "";
    position: absolute;
    inset: -5px; /* L'anneau dépasse de 5px */
    border-radius: 50%;
    background: conic-gradient( var(--primary-cyan), var(--primary-pink), var(--primary-cyan) );
    z-index: -1; /* Derrière l'image */
    animation: spinRing 2s linear infinite; /* Rotation continue */
}

/* Une seconde couche floue pour l'effet "Néon/Glow" */
.logo-container::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient( var(--primary-cyan), var(--primary-pink), var(--primary-cyan) );
    z-index: -1;
    filter: blur(15px); /* Flou artistique */
    animation: spinRing 2s linear infinite;
    opacity: 0.7;
}

/* L'image du logo elle-même */
.hero-logo {
    max-width: 200px;
    border-radius: 50%;
    display: block;
    background-color: var(--bg-dark); /* Cache le centre de l'anneau */
    position: relative; /* Reste au dessus */
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05); /* Petit zoom au survol */
}

/* L'animation de rotation */
@keyframes spinRing {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   CARTES PROJETS (ALIGNEMENT PARFAIT)
   ========================================= */

.project-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 0; /* Important : on laisse la grille gérer les marges */
    /* C'est ICI que la magie opère pour la hauteur uniforme */
    height: 100%;
    width : 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ecarte le haut du bas */

    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Effet Hover */
.project-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15);
}

/* La barre colorée du haut */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-pink));
    opacity: 0.7;
    transition: opacity 0.3s;
}

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

/* Titre */
.project-title {
    color: var(--primary-cyan);
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Description (L'élément flexible) */
.project-desc {
    color: #b8b8b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    /* Ceci force la description à prendre toute la place vide 
       pour pousser le bouton tout en bas */
    flex-grow: 1;
}

/* Tags (WordPress, C#...) */
.tech-tag {
    background-color: rgba(255, 0, 153, 0.15);
    color: var(--primary-pink);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: Consolas, monospace;
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 15px; /* Espace sous les tags */
}

/* --- BOUTONS DANS LES CARTES --- */

/* Bouton "Visiter" (Actif) */
.btn-visit-card {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-visit-card:hover {
    background-color: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

/* Bouton "Bientôt" (Inactif) */
.btn-soon {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px dashed #666; /* Bordure en pointillés */
    color: #888;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: not-allowed;
    width: auto;
}

.display-icon {
    margin-right: 5px;
}

/* =========================================
   BOUTONS HERO SECTION
   ========================================= */
.btn-visit {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-visit:hover {
    background-color: var(--primary-cyan);
    color: #1e2230;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
    transform: translateY(-2px);
}

.cta-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-github {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--primary-pink);
    color: var(--primary-pink);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-github:hover {
    background-color: var(--primary-pink);
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 153, 0.4);
    transform: translateY(-2px);
}

/* =========================================
   BARRE DE NAVIGATION (NAVBAR)
   ========================================= */
.navbar-custom {
    background-color: rgba(30, 34, 48, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.nav-item-custom {
    margin-left: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
    position: relative;
}

.nav-item-custom:hover, .nav-item-custom.active {
    color: var(--primary-cyan) !important;
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.6);
}

.navbar-brand-custom {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1049;
    background-color: transparent; /* Invisible ou rgba(0,0,0,0.5) pour assombrir le fond */
}

/* =========================================
   PIED DE PAGE (FOOTER)
   ========================================= */
.footer-custom {
    background-color: #151822;
    border-top: 2px solid var(--primary-pink);
    color: var(--text-muted);
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: auto;
    position: relative; /* Nécessaire pour le z-index */
    z-index: 9999 !important; /* Force le footer à être AU-DESSUS de tout le reste */
}

.footer-title {
    color: var(--text-light);
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 1rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s;
    position: relative;
    z-index: 10000 !important; /* Le lien passe encore au-dessus */
    cursor: pointer !important; /* Force le curseur "main" */
    pointer-events: auto !important; /* Réactive les clics si jamais ils étaient désactivés */
}

.footer-link:hover {
    color: var(--primary-cyan);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

/* =========================================
   SECTION QUI SUIS-JE (PROFIL)
   ========================================= */
.about-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(42, 47, 69, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background-color: var(--primary-pink);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--primary-pink);
}

.section-title {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.role-subtitle {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-family: monospace;
    letter-spacing: 1px;
}

.about-text {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.highlight-text {
    color: var(--text-light);
    font-weight: 600;
}

.skills-container {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    background-color: rgba(0, 242, 255, 0.1);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 242, 255, 0.2);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tech-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-family: 'Segoe UI', monospace;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.stat-val {
    color: var(--primary-cyan);
    font-weight: bold;
}

.stat-bar {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 15px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background-color: var(--primary-pink);
    box-shadow: 0 0 10px var(--primary-pink);
}
/* =========================================
   PAGE CONTACT (STYLE DARK & GLOW - FINAL)
   ========================================= */

.contact-wrapper {
    padding: 60px 0;
    min-height: 80vh;
}

/* --- CARTES (CONTAINERS) --- */
.info-card, .form-card {
    background-color: var(--bg-card); /* Fond sombre */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    /* On force la couleur de base en blanc pour tout le texte dans la carte */
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Effet Hover (Glow) */
.info-card:hover, .form-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15);
}

/* Barre supérieure colorée */
.info-card::before, .form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-pink));
    opacity: 0.7;
    transition: opacity 0.3s;
}

.info-card:hover::before, .form-card:hover::before {
    opacity: 1;
}

/* --- CORRECTIF VISIBILITÉ "MES COORDONNÉES" --- */

/* Titres principaux (H4) */
.info-card h4, .form-card h4 {
    color: #ffffff !important; /* BLANC PUR */
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Sous-titres (Email, Loc...) */
.info-item h5 {
    color: var(--primary-cyan) !important; /* CYAN */
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Le contenu texte (l'email, l'adresse) */
.info-item p, .info-item a, .info-item span {
    color: #e0e0e0 !important; /* BLANC CASSÉ (Très clair) */
    font-size: 1rem;
    text-decoration: none;
}

/* Les petits textes "text-muted" */
.info-card .text-muted {
    color: #b0b0b0 !important; /* Gris clair */
}

/* Liens au survol */
.info-item a:hover {
    color: var(--primary-pink) !important;
}

/* Icônes (Ronds Cyan) */
.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 242, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.2rem;
    margin-right: 20px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

/* --- NOUVEAU : STYLE ENGAGEMENT QUALITÉ --- */

/* Titre "Engagement Qualité" */
.freelance-info h5 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-pink);
    display: inline-block;
    padding-bottom: 5px;
}

/* Liste à puces (les lignes de texte) */
.freelance-info ul li {
    color: #e0e0e0 !important;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Couleur des petites coches (✓) */
.text-cyan {
    color: var(--primary-cyan) !important;
}

/* Petit texte "Disponible en télétravail" */
.text-highlight {
    color: #a0a0a0 !important;
    font-style: italic;
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
}


/* --- CORRECTIF FORMULAIRE & INPUTS --- */

.form-label {
    color: #ffffff !important; /* Label en blanc */
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

/* Champ de saisie (Repos + Focus) */
.custom-input {
    background-color: var(--bg-dark) !important; /* Fond toujours sombre */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important; /* TEXTE TOUJOURS BLANC */
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Quand on clique dedans (Focus) */
.custom-input:focus {
    background-color: var(--bg-dark) !important; /* Reste sombre */
    color: #ffffff !important; /* Reste blanc */
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
    outline: none;
}

/* Placeholder (le texte "ex: M. Dupont") */
.custom-input::placeholder {
    color: #888888;
    opacity: 1;
}

/* Gestion de l'Autofill (Quand le navigateur remplit tout seul) */
.custom-input:-webkit-autofill,
.custom-input:-webkit-autofill:hover,
.custom-input:-webkit-autofill:focus,
.custom-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-dark) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Menu déroulant (Select) */
select.custom-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

/* Les options du menu déroulant */
select.custom-input option {
    background-color: var(--bg-dark);
    color: white;
}

/* Bouton Envoyer */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-cyan), #0099ff);
    color: #000;
    font-weight: 800;
    border: none;
    padding: 15px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
    color: white;
}

.validation-message {
    color: var(--primary-pink);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* =========================================
   PAGE 404 (STYLE GLITCH)
   ========================================= */
.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    background-color: var(--bg-dark);
    padding: 20px;
}

.content-box {
    max-width: 600px;
}

/* LE TITRE 404 GLITCH */
.glitch {
    font-size: 8rem;
    font-weight: 900;
    color: var(--text-light);
    position: relative;
    margin: 0;
    letter-spacing: 5px;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

.error-subtitle {
    color: var(--primary-cyan);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: -20px;
    margin-bottom: 20px;
}

.error-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Bouton Retour Base */
.btn-home {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .btn-home:hover {
        background-color: var(--primary-cyan);
        color: var(--bg-dark);
        box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
        transform: translateY(-3px);
    }

    .btn-home i {
        margin-right: 8px;
    }

/* --- ANIMATIONS CLES (KEYFRAMES) --- */
@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }

    20% {
        clip: rect(6px, 9999px, 86px, 0);
    }

    40% {
        clip: rect(69px, 9999px, 14px, 0);
    }

    60% {
        clip: rect(96px, 9999px, 16px, 0);
    }

    80% {
        clip: rect(2px, 9999px, 63px, 0);
    }

    100% {
        clip: rect(48px, 9999px, 83px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }

    20% {
        clip: rect(4px, 9999px, 67px, 0);
    }

    40% {
        clip: rect(93px, 9999px, 10px, 0);
    }

    60% {
        clip: rect(11px, 9999px, 76px, 0);
    }

    80% {
        clip: rect(39px, 9999px, 32px, 0);
    }

    100% {
        clip: rect(81px, 9999px, 34px, 0);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(1deg);
    }

    10% {
        transform: skew(-1deg);
    }

    20% {
        transform: skew(0.5deg);
    }

    30% {
        transform: skew(-0.5deg);
    }

    40% {
        transform: skew(0deg);
    }

    100% {
        transform: skew(0deg);
    }
}
/* =========================================
PAGE RÉALISATIONS (STYLE PRO)
========================================= */
/* Wrapper global */
.projects-wrapper {
    /* Pas de padding-top car le hero s'en charge */
    padding-bottom: 150px; /* ENORME MARGE EN BAS pour ne pas toucher le footer */
    min-height: 100vh;
}
/* =========================================
FILTRES (STYLE CYBER / ME CONTACTER)
========================================= */

.filter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
/* LE STYLE DU BOUTON (Au repos) */
.btn-filter {
    /* 1. Reset du style par défaut */
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    /* 2. Le style "Me Contacter" */
    border: 2px solid var(--primary-cyan) !important; /* Bordure Cyan visible */
    color: var(--primary-cyan) !important; /* Texte Cyan */
    border-radius: 8px !important; /* Coins légèrement arrondis */
    padding: 10px 30px !important; /* Largeur confortable */
    /* 3. Texte */
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700 !important;
    text-transform: none !important; /* Pas de majuscules forcées si tu veux garder "Me contacter" style */
    font-size: 1rem !important;
    /* 4. Animation */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 5px rgba(0, 242, 255, 0.1);
}
/* LE STYLE AU SURVOL (Hover) */
.btn-filter:hover {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6) !important; /* Glow externe */
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.8); /* Glow texte */
    transform: translateY(-2px); /* Petit saut */
    background-color: rgba(0, 242, 255, 0.05) !important; /* Fond très léger */
}
/* LE STYLE ACTIF (Bouton sélectionné) */
.btn-filter.active {
    background-color: var(--primary-cyan) !important; /* Remplissage Cyan */
    color: var(--bg-dark) !important; /* Texte Sombre pour contraste */
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.5) !important;
    font-weight: 800 !important;
}
/* =========================================
   BANDEAU COOKIES (STYLE CYBER)
   ========================================= */

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%); /* Centré horizontalement */
    width: 90%;
    max-width: 800px;
    background: rgba(30, 34, 48, 0.95); /* Fond sombre presque opaque */
    backdrop-filter: blur(12px); /* Effet de flou derrière */
    border: 1px solid rgba(0, 242, 255, 0.3); /* Bordure Cyan subtile */
    border-radius: 12px;
    padding: 20px 30px;
    z-index: 10000; /* Toujours au dessus de tout ! */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Contenu Texte + Icone */
.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cookie-icon {
    font-size: 2rem;
    color: var(--primary-pink);
    animation: float 4s ease-in-out infinite;
}

.cookie-text h5 {
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 700;
}

.cookie-text p {
    color: #b8b8b8;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text a {
    color: var(--primary-cyan);
    text-decoration: underline;
}

/* Boutons */
.cookie-actions {
    display: flex;
    gap: 15px;
}

/* Bouton Accepter (Cyan Plein) */
.btn-cookie-accept {
    background-color: var(--primary-cyan);
    color: #1e2230;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
}

/* Bouton Refuser (Contour Rose) */
.btn-cookie-refuse {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cookie-refuse:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
    box-shadow: 0 0 10px rgba(255, 0, 153, 0.2);
}

/* Animation d'apparition */
.animate-slide-up {
    animation: slideUpFade 0.5s ease-out forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translate(-50%, 50px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        border-bottom: none;
    }

    .cookie-content {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}