* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-dark: #1B1B30;
    --primary: #00F5F1;
    --secondary: #FF7AF3;
    --text-light: #F0F0F0;
    --text-muted: #B0B0C0;
    --card-bg: #232340;
    --hover-primary: #00D4D0;
    --hover-secondary: #FF6AE5;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    background-color: rgba(27, 27, 48, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.logo-name {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.85;
}

nav ul {
    display: flex;
    list-style: none;
    margin-left: 0;
    margin-top: 30px;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    margin: -8px -15px;
    border-radius: 20px;
}

nav ul li a:hover:not(.active) {
    color: var(--primary);
    background: rgba(0, 245, 241, 0.1);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -5px;
    left: 15px;
    right: 15px;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: calc(100% - 30px);
}

/* Navigation active */
nav ul li a.active {
    color: var(--bg-dark) !important;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 15px rgba(0, 245, 241, 0.3);
}

nav ul li a.active::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections communes */
section {
    padding: 100px 5%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Accueil */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 150px;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 245, 241, 0.3);
}

/* NOUVEAU : boutons et liens sociaux dans le hero */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-social-links {
    display: flex;
    gap: 15px;
}

.hero-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--bg-dark);
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 245, 241, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.profile-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.5s ease;
}

.profile-img::before {
    content: '👩‍💻';
    font-size: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Parcours - Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 245, 241, 0.2);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content .date {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 1rem;
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--bg-dark);
    border: 4px solid var(--primary);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item.left::after {
    right: -12px;
}

.timeline-item.right::after {
    left: -12px;
}

/* Formation */
.formation-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.formation-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.formation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 245, 241, 0.2);
}

.formation-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.option-card {
    background-color: rgba(0, 245, 241, 0.1);
    border-left: 4px solid var(--primary);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 245, 241, 0.15);
}

.option-card.selected {
    background-color: rgba(255, 122, 243, 0.1);
    border-left-color: var(--secondary);
}

.option-card h4 {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.option-card p {
    color: var(--text-muted);
}

/* Badges de compétences (version simple) */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    transition: transform 0.3s;
}

.skill:hover {
    transform: scale(1.05);
}

/* ============================================
   SECTION COMPÉTENCES (CARTES AVEC JAUGES)
   ============================================ */
#competences {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

#competences::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 245, 241, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

#competences::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 122, 243, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.competences-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.competence-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.competence-card:nth-child(1) { animation-delay: 0.1s; }
.competence-card:nth-child(2) { animation-delay: 0.2s; }
.competence-card:nth-child(3) { animation-delay: 0.3s; }
.competence-card:nth-child(4) { animation-delay: 0.4s; }
.competence-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.competence-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 245, 241, 0.2);
}

.competence-img {
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--bg-dark);
}

.competence-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.competence-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid rgba(0, 245, 241, 0.2);
    padding-bottom: 10px;
}

.competences-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 5px;
}

.competence-item {
    width: 100%;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideIn 0.5s ease forwards;
}

.competence-card:nth-child(1) .competence-item:nth-child(1) { animation-delay: 0.1s; }
.competence-card:nth-child(1) .competence-item:nth-child(2) { animation-delay: 0.2s; }
.competence-card:nth-child(1) .competence-item:nth-child(3) { animation-delay: 0.3s; }
.competence-card:nth-child(1) .competence-item:nth-child(4) { animation-delay: 0.4s; }
.competence-card:nth-child(1) .competence-item:nth-child(5) { animation-delay: 0.5s; }
.competence-card:nth-child(1) .competence-item:nth-child(6) { animation-delay: 0.6s; }

.competence-card:nth-child(2) .competence-item:nth-child(1) { animation-delay: 0.15s; }
.competence-card:nth-child(2) .competence-item:nth-child(2) { animation-delay: 0.25s; }
.competence-card:nth-child(2) .competence-item:nth-child(3) { animation-delay: 0.35s; }
.competence-card:nth-child(2) .competence-item:nth-child(4) { animation-delay: 0.45s; }
.competence-card:nth-child(2) .competence-item:nth-child(5) { animation-delay: 0.55s; }
.competence-card:nth-child(2) .competence-item:nth-child(6) { animation-delay: 0.65s; }

.competence-card:nth-child(3) .competence-item:nth-child(1) { animation-delay: 0.2s; }
.competence-card:nth-child(3) .competence-item:nth-child(2) { animation-delay: 0.3s; }
.competence-card:nth-child(3) .competence-item:nth-child(3) { animation-delay: 0.4s; }
.competence-card:nth-child(3) .competence-item:nth-child(4) { animation-delay: 0.5s; }
.competence-card:nth-child(3) .competence-item:nth-child(5) { animation-delay: 0.6s; }
.competence-card:nth-child(3) .competence-item:nth-child(6) { animation-delay: 0.7s; }
.competence-card:nth-child(3) .competence-item:nth-child(7) { animation-delay: 0.8s; }

.competence-card:nth-child(4) .competence-item:nth-child(1) { animation-delay: 0.25s; }
.competence-card:nth-child(4) .competence-item:nth-child(2) { animation-delay: 0.35s; }
.competence-card:nth-child(4) .competence-item:nth-child(3) { animation-delay: 0.45s; }
.competence-card:nth-child(4) .competence-item:nth-child(4) { animation-delay: 0.55s; }
.competence-card:nth-child(4) .competence-item:nth-child(5) { animation-delay: 0.65s; }
.competence-card:nth-child(4) .competence-item:nth-child(6) { animation-delay: 0.75s; }
.competence-card:nth-child(4) .competence-item:nth-child(7) { animation-delay: 0.85s; }
.competence-card:nth-child(4) .competence-item:nth-child(8) { animation-delay: 0.95s; }

.competence-card:nth-child(5) .competence-item:nth-child(1) { animation-delay: 0.3s; }
.competence-card:nth-child(5) .competence-item:nth-child(2) { animation-delay: 0.4s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.competence-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.competence-nom {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.competence-pourcent {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 122, 243, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 122, 243, 0.3);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 10px;
    position: relative;
    transition: width 1s ease-in-out;
    animation: progressGlow 2s infinite alternate;
}

@keyframes progressGlow {
    0% {
        box-shadow: 0 0 5px var(--primary);
    }
    100% {
        box-shadow: 0 0 15px var(--secondary);
    }
}

.competence-card:hover .progress-fill {
    animation: progressPulse 1s ease-in-out;
}

@keyframes progressPulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1.02);
    }
    100% {
        opacity: 1;
    }
}

/* Projets */
.projets-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.projet-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.projet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 245, 241, 0.2);
}

.projet-img {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--bg-dark);
}

.projet-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.projet-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.projet-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.projet-technos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.techno {
    background-color: rgba(0, 245, 241, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 245, 241, 0.3);
    transition: transform 0.3s, background 0.3s, color 0.3s;
    display: inline-block;
}

.techno:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    border-color: transparent;
}

.projet-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.projet-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.projet-link:hover i {
    transform: translateX(5px);
}

/* Veille - Onglets */
.veille-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.veille-tab {
    padding: 10px 30px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.veille-tab:hover {
    background: rgba(0, 245, 241, 0.1);
}

.veille-tab.active {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 245, 241, 0.3);
}

.veille-panel {
    display: none;
}

.veille-panel.active {
    display: block;
}

/* Veille - Tags et badges */
.veille-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 12px;
}

.veille-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
}

.badge-oral {
    background: rgba(255, 122, 243, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(255, 122, 243, 0.4);
}

.badge-soon {
    background: rgba(0, 245, 241, 0.08);
    color: var(--text-muted);
    border: 1px solid rgba(0, 245, 241, 0.2);
}

.veille-coming-soon {
    opacity: 0.75;
}

.veille-coming-soon:hover {
    opacity: 1;
}

/* Veille */
.veille-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.veille-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.veille-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 245, 241, 0.2);
}

.veille-img {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.veille-content {
    padding: 20px;
}

.veille-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.veille-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.veille-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.veille-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.veille-link:hover i {
    transform: translateX(5px);
}

/* CV */
.cv-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.cv-preview {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg,
        #99FFFC 0%,
        #E2DBFF 33%,
        #FFDBFB 66%,
        #FFDBFB 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: #1B1B30;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cv-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 245, 241, 0.2);
}

.cv-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 20px;
}

.cv-name {
    font-size: 2rem;
    color: var(--bg-dark);
    font-weight: 700;
}

.cv-title {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.cv-section {
    margin-bottom: 25px;
}

.cv-section h3 {
    color: var(--primary);
    border-bottom: 1px solid rgba(27, 27, 48, 0.1);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.cv-section p {
    color: #1B1B30;
    opacity: 0.9;
}

.cv-section strong {
    color: var(--secondary);
}

.cv-download {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.cv-download p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.cv-download h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Stages */
.stage-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 900px;
}

.stage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 245, 241, 0.2);
}

.stage-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.stage-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stage-icon {
    width: 55px;
    height: 55px;
    background: rgba(27, 27, 48, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-dark);
    flex-shrink: 0;
}

.stage-header h3 {
    color: var(--bg-dark);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.stage-entreprise {
    color: var(--bg-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    opacity: 0.85;
}

.stage-meta {
    color: var(--bg-dark);
    font-size: 0.9rem;
    opacity: 0.75;
}

.stage-link {
    color: var(--bg-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    background: rgba(27, 27, 48, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.3s;
    white-space: nowrap;
}

.stage-link:hover {
    background: rgba(27, 27, 48, 0.4);
}

.stage-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stage-section h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.stage-coming {
    color: var(--text-muted) !important;
    font-style: italic;
}

/* Formulaire de contact */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.contact-row {
    display: flex;
    gap: 15px;
}

.contact-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 245, 241, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.contact-input-full {
    width: 100%;
}

.contact-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 245, 241, 0.15);
}

.contact-input::placeholder {
    color: var(--text-muted);
}

.contact-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 245, 241, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    resize: vertical;
    min-height: 130px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.contact-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 245, 241, 0.15);
}

.contact-textarea::placeholder {
    color: var(--text-muted);
}

/* Footer - uniquement le copyright (social links supprimés) */
footer {
    background-color: #151525;
    padding: 50px 5%;
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Grille d'évaluation */
.grille-container {
    margin-top: 60px;
    width: 100%;
    grid-column: 1 / -1;
}

.grille-card {
    background: linear-gradient(135deg, rgba(0, 245, 241, 0.05), rgba(255, 122, 243, 0.05));
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    border: 1px solid rgba(0, 245, 241, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.grille-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 245, 241, 0.15);
    border-color: rgba(0, 245, 241, 0.5);
}

.grille-icon {
    font-size: 3rem;
    color: var(--primary);
    background: rgba(0, 245, 241, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.grille-card:hover .grille-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    transform: scale(1.05);
}

.grille-content {
    flex: 1;
}

.grille-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.grille-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.grille-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--bg-dark);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grille-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 245, 241, 0.3);
}

.grille-btn i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .grille-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .grille-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .grille-content h3 {
        font-size: 1.3rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        left: 0 !important;
    }

    .timeline-item::after {
        left: 20px !important;
        right: auto !important;
    }

    .competences-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
    }

    nav ul li a {
        padding: 10px 20px;
        margin: 0;
        display: block;
    }

    nav ul li a.active {
        padding: 10px 20px;
        margin: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin-bottom: 50px;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-social-links {
        justify-content: center;
    }

    .profile-img {
        width: 300px;
        height: 300px;
    }

    .competences-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .competence-info {
        font-size: 0.9rem;
    }

    .competence-nom {
        font-size: 0.9rem;
    }

    .competence-pourcent {
        font-size: 0.8rem;
        padding: 2px 6px;
    }
}

@media (max-width: 480px) {
    .competences-container {
        grid-template-columns: 1fr;
    }

    .competence-content h3 {
        font-size: 1.3rem;
    }
}