/* =========================================
   1. GLOBAL RESET & VARIABLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyan: #00FFD1;
    --dark-bg: #000;
    --card-bg: #0a0a0a;
    --text-primary: #fff;
    --text-secondary: #888;
    --text-muted: #555;
    --border-color: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at center, #0a0a0a 0%, #000 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* =========================================
   2. LOADER
   ========================================= */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
    font-family: 'JetBrains Mono', monospace;
}

#loader.slide-up {
    transform: translateY(-100%);
}

.loader-container {
    width: 320px;
    text-align: center;
}

.status-top {
    color: var(--cyan);
    font-size: 14px;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

#percentage {
    font-size: 80px;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #1a1a1a;
    margin-bottom: 25px;
    border-radius: 2px;
    overflow: hidden;
}

#progress-fill {
    width: 0%;
    height: 100%;
    background: var(--cyan);
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--cyan);
}

.task-list {
    list-style: none;
    text-align: left;
    font-size: 13px;
    color: var(--text-muted);
}

.task-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.task-list li.done {
    color: var(--cyan);
}

.task-list li span {
    font-size: 16px;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    background: transparent; 
}

.status-badge {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(0, 255, 209, 0.05);
}

.dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 10px #2ecc71;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.main-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -2px;
}

.chevron {
    color: var(--cyan);
    margin-right: 10px;
}

.subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.chevron-small {
    color: var(--cyan);
    margin-right: 5px;
}

.specialization {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.tech-highlight {
    color: var(--cyan);
    font-weight: bold;
    font-family: 'JetBrains Mono', monospace;
}

.blinking-cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.btn-cyan {
    background: var(--cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 209, 0.3);
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 255, 209, 0.5);
}

.btn-outline {
    border: 1px solid #333;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 255, 209, 0.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-decoration: none;
}

.scroll-indicator:hover {
    color: var(--cyan);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.arrow {
    margin-top: 10px;
    font-size: 20px;
}

/* =========================================
   4. ABOUT SECTION (Style "GM" Minimalist)
   ========================================= */
#about {
    min-height: 100vh;
    padding: 120px 50px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sober-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.mono-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 30px;
}

.statement-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400;
    color: #888;
    line-height: 1.3;
    max-width: 900px;
    margin-bottom: 60px;
}

.statement-title .white {
    color: #fff;
    font-weight: 500;
}

.sober-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 100px;
    row-gap: 80px;
}

.grid-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: opacity 0.3s ease;
}

.sober-grid:hover .grid-box {
    opacity: 0.5;
}

.sober-grid .grid-box:hover {
    opacity: 1;
}

.box-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    border-left: 2px solid var(--cyan);
    padding-left: 10px;
}

.box-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #d0d0d0;
    line-height: 1.7;
    font-weight: 300;
    max-width: 450px;
}

.status-indicator {
    display: inline-block;
    margin-top: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: bold;
}

.status-indicator.open {
    color: var(--cyan);
}

/* =========================================
   5. COMPETENCES SECTION (STACKED CARDS)
   ========================================= */
#competences {
    /* Important pour le sticky : permet de scroller longtemps */
    padding: 100px 20px 150px 20px;
    background: transparent;
    display: block; 
}

.cards-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

/* --- Style des Cartes --- */
.stack-card {
    position: sticky;
    top: 120px;
    height: 400px; 
    margin-bottom: 40px;
    transform-origin: center top;
    transition: transform 0.1s linear, filter 0.1s linear;
}

.card-inner {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
    height: 100%;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changé pour aligner le contenu vers le haut */
    overflow: hidden;
    position: relative;
}

.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.5;
}

.card-header {
    display: flex;
    justify-content: space-between; /* Titre à gauche, Icone à droite */
    align-items: flex-start;
    margin-bottom: 20px;
    /* J'ai retiré la bordure du bas pour faire comme sur tes images */
}

.card-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 32px; /* Un peu plus grand */
    font-weight: 600;
    color: #fff;
    max-width: 70%; /* Laisse de la place pour l'icône */
    line-height: 1.2;
}

.card-icon {
    width: 64px; /* Taille de l'emplacement icone */
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan);
    background: rgba(0, 255, 209, 0.05); /* Fond subtil optionnel */
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 209, 0.1);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.card-body p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #888;
    line-height: 1.6;
    max-width: 600px;
    margin-top: 10px;
}

/* --- Style des Étiquettes (Tags) --- */
.card-tags {
    display: flex;
    flex-wrap: wrap; /* Passe à la ligne si trop de tags */
    gap: 10px;       /* Espace entre les étiquettes */
    margin-top: auto; /* Pousse les tags tout en bas de la carte */
    padding-top: 30px;
}

.tag {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary); /* Gris par défaut */
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Bordure subtile */
    border-radius: 100px; /* Forme de pillule arrondie */
    background: transparent;
    transition: all 0.3s ease;
    cursor: default;
}

/* Effet au survol (Optionnel, pour le style) */
.tag:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 255, 209, 0.05);
}

/* =========================================
   6. BOTTOM DOCK NAVIGATION
   ========================================= */
.bottom-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 200%); 
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 100px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none; 
    opacity: 0;
}

.bottom-nav.visible {
    transform: translate(-50%, 0);
    pointer-events: auto;
    opacity: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    color: #888; 
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.nav-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
    stroke: currentColor; 
    transition: stroke 0.3s ease;
}

.nav-item:hover {
    color: #00E5B0;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    background-color: #00E5B0;
    color: #0d0d0d;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 229, 176, 0.3);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 8px;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0.6; 
}

/* =========================================
   7. MEDIA QUERIES (RESPONSIVE)
   ========================================= */

/* --- Tablettes et Écrans moyens (Max 968px) --- */
@media (max-width: 968px) {
    #about {
        padding: 100px 30px;
    }
    
    .statement-title {
        margin-bottom: 60px;
    }

    .sober-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .box-text {
        max-width: 100%;
    }

    /* Cartes */
    .stack-card {
        top: 100px;
        height: auto;
        min-height: 300px;
    }
    
    .card-inner {
        padding: 30px;
    }

    /* Nav */
    .bottom-nav {
        gap: 20px;
        padding: 12px 20px;
    }
    
    .nav-item span {
        display: none;
    }
}

/* --- Mobiles (Max 600px) --- */
@media (max-width: 600px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    /* Cartes Mobile */
    .stack-card {
        top: 80px;
    }
    
    .card-header h3 {
        font-size: 20px;
    }
    
    .card-body p {
        font-size: 14px;
    }

    .nav-item {
        padding: 12px;
    }
    
    .nav-item.active span {
        display: block; 
    }
}

/* =========================================
   8. SECTION PROJETS
   ========================================= */

#projets {
    padding: 100px 50px;
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: #0d0d0d;
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.project-card:hover {
    border-color: #333;
    transform: translateY(-5px);
}

/* --- Partie Média (Image + Overlay) --- */
.project-media {
    position: relative;
    width: 100%;
    height: 280px; 
    background: #111;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Numéro sur l'image (01, 02...) */
.project-number-overlay {
    position: absolute;
    top: 15px;
    left: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 40px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1); /* Transparent/Gris */
    z-index: 2;
    pointer-events: none;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

/* Le bouton carré au survol */
/* Le bouton au survol (Modifié pour être arrondi) */
.square-btn {
    border-radius: 50px; /* C'est la valeur magique pour l'effet pillule (avant c'était 4px) */
    padding: 12px 32px;  /* Un peu plus large pour l'esthétique */
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(0, 255, 209, 0.3); /* Lueur un peu plus douce */
    border: none;
    cursor: pointer;
    background: var(--cyan);
    color: #000;
    transition: all 0.3s ease;
}

.square-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 209, 0.6);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

/* --- Partie Contenu --- */
.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    color: var(--cyan);
    margin-bottom: 8px;
    font-weight: 600;
}

.project-short-desc {
    color: #888;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* --- Tags spécifiques aux projets (Vert sombre) --- */
.project-card .tag, .modal-content .tag {
    background-color: #062d26; /* Fond vert très sombre */
    color: var(--cyan);        /* Texte Cyan */
    border: none;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 50px;
}

/* =========================================
   9. MODAL / LIGHTBOX
   ========================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 20px;
    width: 100%;
    max-width: 950px;
    display: flex;
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-direction: column; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

@media (min-width: 768px) {
    .modal-container {
        flex-direction: row; 
        height: 500px; /* Hauteur fixe sur PC */
    }
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

/* Image à gauche */
.modal-media {
    flex: 1.2;
    background: #000;
    position: relative;
}

.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenu à droite */
.modal-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0d0d0d;
}

.modal-header-group {
    margin-bottom: 20px;
}

.modal-number-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 40px;
    font-weight: bold;
    color: #222;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.modal-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
}

.modal-content p {
    color: #999;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Bouton Fermer */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 10;
}

.close-btn:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

/* Bouton "Voir en ligne" large en bas */
.btn-full {
    width: 100%;
    text-align: center;
    margin-top: auto; /* Pousse le bouton vers le bas */
    padding: 16px;
    font-size: 16px;
    border-radius: 50px;
}

/* Responsive Grid Mobile */
@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-media {
        min-height: 200px;
    }
    
    .modal-content {
        padding: 30px;
    }
}

/* =========================================
   9. MODAL / LIGHTBOX
   ========================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    display: flex;
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-direction: column; 
}

@media (min-width: 768px) {
    .modal-container {
        flex-direction: row; /* Image à gauche, texte à droite sur PC */
    }
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-media {
    flex: 1.5;
    background: #111;
    min-height: 300px;
}

.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 10;
}

.close-btn:hover {
    background: var(--cyan);
    color: #000;
}

.mt-30 {
    margin-top: 30px;
    display: inline-block;
    text-align: center;
}

/* Responsive Grid Mobile */
@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* =========================================
   10. SECTION CONTACT
   ========================================= */

#contact {
    padding: 100px 20px 150px 20px;
    background: transparent;
}

.contact-subtitle {
    color: #888;
    font-size: 18px;
    margin-top: -30px; /* Remonte le texte sous le titre */
    margin-bottom: 60px;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Carte Générique --- */
.contact-card {
    background-color: #0d0d0d;
    border: 1px solid #1f1f1f;
    border-radius: 24px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

/* --- Grande Carte Email --- */
.email-card {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.email-card:hover {
    border-color: #333;
}

.icon-outline {
    color: var(--cyan);
    margin-bottom: 20px;
}

.icon-outline svg {
    width: 32px;
    height: 32px;
}

.label-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.email-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    position: relative;
}

.email-link {
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 4vw, 28px); /* Responsive font size */
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.email-link:hover {
    color: var(--cyan);
}

.copy-btn {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
}

.copy-btn:hover {
    color: var(--cyan);
}

/* Petit message "Copié" qui apparaît */
#copy-feedback {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--cyan);
    opacity: 0;
    transition: opacity 0.3s;
}
#copy-feedback.visible {
    opacity: 1;
}

.contact-cta {
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
}

/* --- Ligne Sociale (LinkedIn / GitHub) --- */
.social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.social-card {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.social-card:hover {
    border-color: #333;
    background: #111;
    transform: translateY(-2px);
}

.social-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 209, 0.05); /* Fond vert très léger */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan);
    border: 1px solid rgba(0, 255, 209, 0.1);
}

.social-info {
    display: flex;
    flex-direction: column;
}

.social-info h3 {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.social-info span {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 14px;
}

/* Responsive Mobile */
@media (max-width: 600px) {
    .social-row {
        grid-template-columns: 1fr; /* Empile les cartes sociales sur mobile */
    }
    
    .email-display {
        flex-direction: column;
        gap: 5px;
    }
    
    #copy-feedback {
        position: static;
        transform: none;
        margin-top: 5px;
    }
}