:root {
    --primary-color: #2A2A2A;
    --accent-color: #00ff88;
    --text-color: #ffffff;
    --transition: all 0.3s ease;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --container-width: 1000px;
    --container-padding: 20px;
}

/* Container global */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hidden {
    display: none !important;
}

.loading-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

form.submitting .loading-indicator {
    opacity: 1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #141414 100%);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
}

* {
    cursor: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Ajustement pour que le contenu soit au-dessus du fond */
.legal-container, nav, footer {
    position: relative;
    z-index: 2;
}

/* Personnalisation de la scrollbar */
::-webkit-scrollbar {
    width: 12px;
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.3), rgba(0, 255, 136, 0.5));
    border-radius: 6px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.5), rgba(0, 255, 136, 0.7));
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.05);
}

/* Loader animé */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeOut 1s ease 2s forwards;
}

.loader-content {
    display: flex;
    gap: 0.5rem;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: bounce 0.5s ease infinite;
}

.circle:nth-child(2) { animation-delay: 0.1s; }
.circle:nth-child(3) { animation-delay: 0.2s; }

/* Navigation avec effet de verre */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    height: 64px;
}

.logo img {
    filter: drop-shadow(0 2px 4px rgba(0, 255, 136, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.nav-links button, .scroll-btn {
    color: var(--text-color);
    font-size: 16px;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    background-color: transparent;
    border: none;
}

.nav-links button::after, .scroll-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links button:hover::after, .scroll-btn:hover::after {
    width: 100%;
}

/* Partie droite de la navbar */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

/* Bouton CTA Contact */
.cta-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-color), #00cc6a);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    border: 2px solid transparent;
}

.cta-contact span,
.cta-contact i {
  text-shadow:
    0 1px 1px rgba(0,0,0,0.35),
    0 2px 4px rgba(0,0,0,0.25);
}

.cta-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, #00cc6a, var(--accent-color));
}

.cta-contact i {
    font-size: 1rem;
}

.see-offers-cta{
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.see-offers-cta:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Effet Glitch sur le titre */
.glitch {
    font-size: 4rem;
    font-weight: bold;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255,0,0,0.75),
                -0.025em -0.05em 0 rgba(0,255,0,0.75),
                0.025em 0.05em 0 rgba(0,0,255,0.75);
    animation: glitch 500ms infinite;
}

/* Effet Machine à écrire */
.typewriter {
    font-size: 1.5rem;
    overflow: hidden;
    border-right: 0.15em solid var(--accent-color);
    white-space: nowrap;
    margin: 2rem auto;
    animation: typing 3.5s steps(40, end),
               blink-caret 0.75s step-end infinite;
}

/* Bouton CTA */
.cta-button {
    position: relative;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    overflow: hidden;
    margin-top: 2rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-color);
    transition: var(--transition);
    z-index: -1;
}

.cta-button:hover {
    color: var(--primary-color);
}

.cta-button:hover::before {
    width: 100%;
}

.tech-showcase {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    padding: 2rem var(--container-padding) 3rem var(--container-padding);
}

@media (max-width: 950px) {
    .tech-showcase {
        bottom: 4rem;
     }
    .mouse {
        visibility: visible;
    }
}

.tech-slider {
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.tech-track {
    display: flex;
    align-items: center;
    animation: slide 20s linear infinite;
    width: max-content;
}

.tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 6px 24px rgba(0, 255, 136, 0.1);
}

.tech-icon:hover {
    transform: translateY(-6px);
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.4);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Indicateur de défilement */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-color);
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

/* Section À Propos */
.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    padding: 0 var(--container-padding);
}

.about-image-container {
    position: relative;
    padding: 2rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    z-index: 1;
}

.about-image-wrapper:hover {
    transform: translateY(-10px);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 136, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.about-image-wrapper:hover .profile-overlay {
    border-radius: 15px;
    opacity: 1;
}

.profile-name {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: bold;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.profile-name > hr:nth-child(2) {
    color: white;
    border: solid white 2px;
    width: 55%;
    border-radius: 10px;
}

.profile-username {
    font-size: 35px;
}

.about-image-wrapper:hover .profile-name {
    transform: translateY(0);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 136, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.profile-name {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: bold;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-image-wrapper:hover .profile-overlay {
    opacity: 1;
}

.about-image-wrapper:hover .profile-name {
    transform: translateY(0);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1) brightness(1.1);
    z-index: 0;
    position: relative;
    border-radius: 10px;
}

.experience-badge {
    position: absolute;
    bottom: -12px;
    right: -15px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: .5rem;
    border-radius: 25px;
    width: 75px;
    height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,255,136,0.3);
    animation: float 3s ease-in-out infinite;
    z-index: 999;
}

.experience-badge .years {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.about-content {
    padding: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.5rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

.highlight-text {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.bio {
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.key-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.key-point:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.key-point i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.point-content h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.point-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.tech-stack {
    margin-top: 3rem;
}

.tech-stack h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-item {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.tech-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tech-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.cta-about {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.download-cv {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.download-cv:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

@keyframes float {
    0%, 100% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
}

/* Media Queries pour la section À Propos */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .highlight-text {
        font-size: 1.2rem;
    }
    
    .key-points {
        grid-template-columns: 1fr;
    }
    
    .cta-about {
        flex-direction: column;
    }
    
    .download-cv {
        text-align: center;
        justify-content: center;
    }
}

/* Ajouter dans style.css pour améliorer les performances */
@media (max-width: 768px) {
    /* Désactiver les animations complexes sur mobile */
    .glitch {
        text-shadow: none;
        animation: none;
    }
    
    /* Simplifier les effets de flou pour de meilleures performances */
    .glass-nav {
        backdrop-filter: none;
        background: rgba(0, 0, 0, 0.9);
    }
    
    /* Optimiser le rendu des gradients */
    body::before {
        background: none;
    }
    
    /* Réduire la complexité des animations */
    .tech-item:hover {
        transform: none;
    }
}

/* Section Compétences */
.skills-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 100%);
}

.skills-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Style original pour les tech-items de la section Technologies Maîtrisées */
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.tech-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.tech-icon-wrapper {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.05);
    position: relative;
}

.tech-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon-wrapper::after {
    transform: scale(1.1);
    border-color: rgba(0, 255, 136, 0.3);
}

.tech-item i {
    font-size: 3.5rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,255,136,0.3));
    line-height: 1;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-item:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 6px 12px rgba(0,255,136,0.4));
}

.tech-name {
    display: block;
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
}

@media (max-width: 768px) {
    .tech-stack-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-item {
        max-width: 100%;
    }

    .specializations-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        padding: 1rem;
    }

    .tech-item i {
        font-size: 2rem;
    }
}

/* Spécialisations */
.specializations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center; /* Centre les colonnes */
}

.specialization-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 100%;
    flex: 0 0 300px; /* Ne grandit pas, ne rétrécit pas, largeur fixe de 300px */
    max-width: 350px;
}

.card-content {
    padding: 1.5rem;
}

.card-header {
    background: rgba(0, 255, 136, 0.1);
    padding: 1.5rem;
    min-height: 75px;
    max-height: 75px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.card-header h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.skill-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 1rem;
    padding: 0.5rem;
    border-left: 3px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 8px 8px 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specializations-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        padding: 1rem;
    }

    .tech-item i {
        font-size: 2rem;
    }
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.skill-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
    padding-bottom: 0.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.skill-header i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-right: 1rem;
    width: 24px;
}

.skill-header span {
    color: var(--text-color);
}

.skill-header .percentage {
    margin-left: auto;
    color: var(--accent-color);
    font-weight: bold;
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #00ffcc);
    border-radius: 3px;
    transition: width 1.5s ease;
    width: 0;
}

.skill-details {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.skill-details p {
    line-height: 1.4;
}

.skill-category.aos-animate .skill-fill {
    animation: fillBar 1.5s ease forwards;
}

@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: var(--width);
    }
}

@media (max-width: 768px) {
    .skills-section {
        padding: 4rem 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-category {
        padding: 1.5rem;
    }
}

.skill-item:hover .skill-fill {
    filter: brightness(1.2);
    box-shadow: 0 0 10px var(--accent-color);
}

.projects-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.projects-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

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

.project-link {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    backdrop-filter: blur(5px);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: var(--text-color);
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.tech-badge {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.project-features ul {
    list-style: none;
    padding: 0;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.project-features i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.projects-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    margin: 2rem auto;
    grid-column: 1 / -1;
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.placeholder-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.placeholder-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.placeholder-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.placeholder-cta:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .projects-section {
        padding: 4rem 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        max-width: 100%;
    }

    .project-image {
        height: 200px;
    }

    .project-content {
        padding: 1.5rem;
    }

    .projects-placeholder {
        padding: 3rem 1.5rem;
        margin: 1rem;
    }

    .placeholder-title {
        font-size: 1.5rem;
    }

    .placeholder-text {
        font-size: 1rem;
    }
}

.footer {
    background: linear-gradient(to right, rgba(0,0,0,0.95), rgba(0,0,0,0.85));
    padding: 4rem 2rem 2rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    padding: 0 1rem;
}

.footer-title {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-section:hover .footer-title::after {
    width: 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
}

.social-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    background: rgba(0,255,136,0.1);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 0.9rem;
}

.footer-additional {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-link {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: var(--accent-color);
    color: var(--primary-color) !important;
}

.admin-link i {
    font-size: 0.8rem;
}

.separator {
    color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
        padding: 0;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .footer-contact p {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-additional {
        justify-content: center;
    }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

@keyframes bounce {
    50% { transform: translateY(-10px); }
}

@keyframes glitch {
    2%, 64% {
        transform: translate(2px,0) skew(0deg);
    }
    4%, 60% {
        transform: translate(-2px,0) skew(0deg);
    }
    62% {
        transform: translate(0,0) skew(5deg); 
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-color); }
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Media Queries */
@media (max-width: 1024px) {
    .specializations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .skills-wrapper {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    /* Ajustements généraux pour le centrage */
    .container, .skills-wrapper, .about-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    /* Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(42, 42, 42, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-btn {
        display: block;
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        width: 30px;
        height: 20px;
        cursor: none;
        z-index: 100;
    }

    .menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-color);
        position: absolute;
        transition: 0.3s ease;
    }

    .menu-btn span:nth-child(1) { top: 0; }
    .menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .menu-btn span:nth-child(3) { bottom: 0; }

    .menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 50%;
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 50%;
    }
    
    /* Hero Section */
    .hero-content {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .glitch {
        font-size: 2rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .typewriter {
        font-size: 1.1rem;
        margin: 1rem auto;
        padding: 0 1rem;
    }

    /* Section Titres */
    .section-title {
        font-size: 2rem;
        text-align: center;
        width: 100%;
        padding: 0 1rem 2rem;
        margin-bottom: 3rem;
    }

    .section-title::after {
        bottom: 0;
        width: 60px;
    }

    /* Section À Propos */
    .about-section {
        padding: 4rem 1rem;
    }

    .about-image-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 0;
    }

    .about-content {
        width: 100%;
        padding: 1.5rem;
        text-align: center;
    }

    .key-points {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 400px;
        margin: 2rem auto;
    }

    /* Technologies Grid */
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 1rem;
    }

    .tech-item {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    /* Spécialisations */
    .specializations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        padding: 0 1rem;
    }

    .specialization-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .card-header {
        padding: 1.5rem;
        text-align: center;
    }

    /* ...existing code... */

    .tech-list {
        justify-content: center;
    }

    .tech-tag {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Badge d'expérience */
    .experience-badge {
        width: 90px;
        height: 90px;
        right: -5px;
        bottom: -5px;
    }

    .experience-badge .years {
        font-size: 1.3rem;
    }

    .experience-badge .text {
        font-size: 0.8rem;
    }

    /* Description des compétences */
    .skill-description {
        text-align: center;
        margin: 1rem auto 0;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    /* Ajustements des titres de section */
    .section-title {
        font-size: 1.8rem;
        padding: 0 1rem 1.8rem;
        margin-bottom: 2.5rem;
    }

    .section-title::after {
        height: 3px;
        width: 50px;
    }

    /* Ajustements du contenu héro */
    .glitch {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }

    .typewriter {
        font-size: 1rem;
        padding: 0 1rem;
        width: 100%;
        white-space: normal;
        border-right: none;
        animation: none;
        text-align: center;
        line-height: 1.5;
    }

    /* Bouton CTA */
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 1rem auto;
    }

    /* Section À Propos */
    .about-section {
        padding: 3rem 0.5rem;
    }

    .about-content {
        padding: 1rem 0.5rem;
    }

    .about-image-container {
        max-width: 250px;
        padding: 0.5rem;
    }

    /* Technologies */
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        max-width: 240px;
        padding: 0.5rem;
    }

    .tech-item {
        width: 45px;
        height: 45px;
    }

    /* Texte */
    .highlight-text {
        font-size: 1.2rem;
        padding: 0 0.5rem;
    }

    .bio {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        margin: 1rem auto;
        max-width: 300px;
    }

    /* Cartes de spécialisation */
    .specialization-card {
        max-width: 320px;
    }

    .skill-description {
        font-size: 0.9rem;
        max-width: 280px;
        margin: 1rem auto 0;
    }

    /* Tech tags */
    .tech-list {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Footer */
    .social-links {
        gap: 1.5rem;
        justify-content: center;
        margin: 1rem auto;
    }

    .social-link {
        font-size: 1.2rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    /* Points clés */
    .key-points {
        max-width: 300px;
        gap: 1rem;
    }

    .key-point {
        padding: 1rem;
    }
}

/* Section Contact */
.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

.contact-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem;
}

.contact-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.contact-info-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.rate-section {
    padding: 4rem 2rem;
}

.rate-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    max-width: 1000px;
    margin: 0 auto;
    transition: all 0.35s cubic-bezier(.2,.9,.2,1), box-shadow 0.35s ease;
}

.rate-card:hover {
    transform: translateY(-4px);
    transition: all 0.35s cubic-bezier(.2,.9,.2,1), box-shadow 0.35s ease;
    box-shadow: 0 18px 40px rgba(0,255,136,0.12);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 50%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
}

.rate-left {
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0,255,136,0.03), rgba(255,255,255,0.02));
}

.rate-badge {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.65);
    color: var(--primary-color);
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(0,255,136,0.1);
    animation: float2 3s ease-in-out infinite;
}

@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.rate-left, .rate-body { transition: var(--transition); }

.rate-card:hover .rate-left { transform: translateY(-4px); }

.rate-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.rate-amount .amount {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 800;
}

.rate-amount .per {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.rate-body {
    flex: 1;
    padding: 0.5rem 0;
}

.rate-title {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.rate-note {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    background-color: rgba(0, 255, 136, 0.1);
    padding: 5px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 5px;
    width: fit-content;
}

.rate-separator{
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 1rem 0;
    width: 10%;
    transform: translateX(50%);
}

.rate-features {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.rate-features li, .rate-features p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.03);
    min-width: 120px;
    justify-content: center;
}

.rate-features i {
    color: var(--accent-color);
    font-size: 1rem;
}

.rate-cta {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Responsive */
@media (max-width: 1024px) {
    .rate-card {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.2rem;
        max-width: 98vw;
    }
    .rate-left {
        flex-direction: row;
        gap: 1.2rem;
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
    }
    .rate-body {
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
    }
    .rate-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
    }
    .rate-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .rate-note {
        color: rgba(255,255,255,0.8);
        margin-bottom: 1rem;
        background-color: rgba(0, 255, 136, 0.1);
        padding: 5px;
        border: 1px solid rgba(0, 255, 136, 0.3);
        border-radius: 5px;
        width: fit-content;
        transform: translateX(-50%);
        margin-left: 50%;
    }
}

@media (max-width: 768px) {
    .rate-section {
        padding: 2.5rem 1rem;
    }
    .rate-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
        max-width: 100vw;
    }
    .rate-left {
        flex-direction: row;
        gap: 1rem;
        padding: 0.5rem;
        width: 100%;
        justify-content: center;
    }
    .rate-badge {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    .rate-amount .amount {
        font-size: 1.3rem;
    }
    .rate-title {
        font-size: 1.1rem;
    }
    .rate-features {
        flex-direction: column;
        gap: 0.6rem;
        margin: 1rem auto;
        align-items: center;
    }
    .rate-features li, p {
        min-width: 100px;
        font-size: 0.95rem;
        padding: 0.4rem 0.6rem;
    }
    .rate-cta {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .rate-section {
        padding: 1.2rem 0.5rem;
    }
    .rate-card {
        padding: 0.7rem;
        gap: 0.7rem;
        border-radius: 10px;
    }
    .rate-left {
        gap: 0.7rem;
        padding: 0.3rem;
    }
    .rate-badge {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        border-radius: 12px;
    }
    .rate-amount .amount {
        font-size: 1rem;
    }
    .rate-title {
        font-size: 1rem;
    }
    .rate-features li, p {
        min-width: 80px;
        font-size: 0.85rem;
        padding: 0.3rem 0.4rem;
    }
    .rate-cta {
        gap: 0.5rem;
        margin-top: 0.7rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.submit-btn:hover {
    color: var(--primary-color);
}

.submit-btn:hover::before {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info-item {
        padding: 0.8rem;
    }

    .contact-info-item i {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Ajustements pour les appareils de très petite taille */
@media (max-width: 320px) {
    .glitch {
        font-size: 1.5rem;
    }

    .tech-grid {
        gap: 0.5rem;
    }

    .tech-item {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Styles pour les pages légales */
.legal-container {
    max-width: 1000px;
    margin: 120px auto 60px;
    padding: 0 2rem;
    color: var(--text-color);
}

.legal-container h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.legal-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.legal-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    padding-bottom: 0.5rem;
}

.legal-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-section ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-section ul li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: -1.5rem;
    top: 0;
}

@media (max-width: 768px) {
    .legal-container {
        margin: 100px auto 40px;
        padding: 0 1rem;
    }

    .legal-container h1 {
        font-size: 2rem;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}
.modal.open { display: flex; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,8,15,0.6);
    backdrop-filter: blur(4px);
}
.modal-wrap {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 1rem;
    z-index: 1201;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    position: relative;
    width: 100%;
    padding: 1.6rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color, #e9fbe9);
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--accent, #00ff88);
    font-size: 1.6rem;
    cursor: none;
}
.modal-content h2 {
    margin: 0 0 2rem 0;
}
.modal-sub { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }

/* grid */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
    margin: 1rem 0;
}
.modal-price { display:flex; align-items: baseline; gap:0.6rem; }
.modal-amount { font-size: 2rem; font-weight:700; color: var(--accent, #00ff88); }
.modal-per { color: rgba(255,255,255,0.65); }

.modal-subscription { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-top:0.6rem; }

.modal-features { list-style: none; padding: 0; margin: 0; }
.modal-features li { margin: 0.45rem 0; display:flex; gap:0.6rem; align-items:center; color: rgba(255,255,255,0.9); }
.modal-features li i { color: var(--accent, #00ff88); }

.modal-actions { display:flex; gap:0.8rem; justify-content:flex-end; margin-top:1rem; }
.modal-actions .cta-contact { text-decoration:none; }
.modal-actions .placeholder-cta { border: none; cursor: none; }

/* responsive */
@media (max-width: 680px) {
    .modal-wrap {
        max-width: 98vw;
        margin: 0.5rem;
        padding: 0;
    }
    .modal-content {
        padding: 1rem;
        font-size: 0.95rem;
    }
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .modal-amount {
        font-size: 1.3rem;
    }
    .modal-close {
        font-size: 1.3rem;
        top: 6px;
        right: 8px;
    }
    .modal-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    background-color: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.6);
    transition: transform .08 cubic-bezier(.2,.9,.2,1);
    mix-blend-mode: lighten;
}

.custom-cursor.clicked{
    transform: scale(1.5);
    background-color: #fff;
    transition: transform .8s ease-in, background .8s ease-in;
}