* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --primary-coral: #e74c3c;
        --secondary-coral: #c0392b;
        --accent-coral: #ff6b6b;
        --warm-terracotta: #d35400;
        --burnt-orange: #e67e22;
        --deep-forest: #27ae60;
        --sage-green: #16a085;
        --muted-teal: #2c3e50;
        --warm-cream: #f8f6f0;
        --soft-beige: #f4f1e8;
        --pearl-white: #fefcf7;
        --charcoal: #2c2c2c;
        --graphite: #34495e;
        --warm-grey: #7f8c8d;
    }

    body {
        font-family: 'Space Grotesk', sans-serif;
        background: radial-gradient(ellipse at top left, var(--warm-cream) 0%, var(--soft-beige) 40%, #e8dcc6 70%, #d4c4a8 100%);
        color: var(--charcoal);
        overflow-x: hidden;
        line-height: 1.6;
    }

    /* Noise Texture Overlay */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><filter id="noise"><feTurbulence baseFrequency="0.9" numOctaves="4" type="fractalNoise"/></filter></defs><rect width="100" height="100" filter="url(%23noise)" opacity="0.03"/></svg>');
        pointer-events: none;
        z-index: 1;
    }

    /* Animated Background Elements */
    .animated-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }

    .bg-shape {
        position: absolute;
        opacity: 0.08;
    }

    .bg-shape-1 {
        width: 300px;
        height: 300px;
        background: linear-gradient(135deg, var(--primary-coral), var(--accent-coral));
        border-radius: 50%;
        top: 10%;
        right: 15%;
        animation: float-slow 12s ease-in-out infinite;
    }

    .bg-shape-2 {
        width: 200px;
        height: 200px;
        background: linear-gradient(45deg, var(--deep-forest), var(--sage-green));
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
        bottom: 25%;
        left: 10%;
        animation: float-medium 8s ease-in-out infinite reverse;
    }

    .bg-shape-3 {
        width: 150px;
        height: 150px;
        background: linear-gradient(90deg, var(--muted-teal), var(--graphite));
        transform: rotate(45deg);
        top: 60%;
        right: 20%;
        animation: rotate-slow 20s linear infinite;
    }

    .bg-shape-4 {
        width: 100px;
        height: 250px;
        background: linear-gradient(180deg, var(--warm-terracotta), var(--burnt-orange));
        top: 40%;
        left: 5%;
        animation: float-fast 6s ease-in-out infinite;
    }

    /* Scroll Progress Bar */
    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: rgba(26, 26, 26, 0.1);
        z-index: 1000;
    }

    .scroll-progress-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--primary-coral), var(--accent-coral), var(--deep-forest));
        width: 0%;
        transition: width 0.3s ease;
        box-shadow: 0 0 15px rgba(231, 76, 60, 0.4);
    }

    /* Navigation */
    .navbar {
        position: fixed;
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
        background: rgba(248, 246, 240, 0.95);
        backdrop-filter: blur(15px);
        padding: 15px 20px;
        border-radius: 60px;
        border: 4px solid var(--charcoal);
        box-shadow: 0 15px 40px rgba(44, 44, 44, 0.2), inset 0 1px 0 rgba(255,255,255,0.3);
    }


    .nav-menu {
        display: flex;
        list-style: none;
        gap: 30px;
        margin: 0;
        padding: 0;
        align-items: center;
    }

    .nav-link {
        display: block;
        text-decoration: none;
        color: var(--charcoal);
        font-weight: 800;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        padding: 12px 20px;
        border-radius: 30px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        text-align: center;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, var(--primary-coral), var(--accent-coral));
        border-radius: 30px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        opacity: 1;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--pearl-white);
        transform: translateY(-2px);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 120px 20px 60px;
        position: relative;
        z-index: 2;
    }

    .hero-content {
        max-width: 900px;
        z-index: 3;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: var(--pearl-white);
        color: var(--deep-forest);
        padding: 15px 30px;
        border-radius: 40px;
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 40px;
        border: 3px solid var(--deep-forest);
        transform: rotate(-1.5deg);
        box-shadow: 0 8px 20px rgba(39, 174, 96, 0.15);
        transition: transform 0.3s ease;
    }

    .hero-badge:hover {
        transform: rotate(0deg) scale(1.05);
    }

    .status-dot {
        width: 10px;
        height: 10px;
        background: var(--deep-forest);
        border-radius: 50%;
        animation: pulse-glow 2s infinite;
    }

    .hero-title {
        font-size: clamp(3.5rem, 10vw, 7rem);
        font-weight: 900;
        color: var(--charcoal);
        text-shadow: 6px 6px 0px var(--primary-coral), 12px 12px 0px rgba(231, 76, 60, 0.2);
        letter-spacing: -3px;
        line-height: 0.85;
        margin-bottom: 25px;
        transform: rotate(1.2deg);
        text-transform: uppercase;
    }

    .hero-subtitle {
        font-size: clamp(1.4rem, 4vw, 2.2rem);
        color: var(--muted-teal);
        font-weight: 700;
        margin-bottom: 50px;
        text-shadow: 2px 2px 0px rgba(231, 76, 60, 0.1);
        transform: rotate(-0.8deg);
    }

    .cta-buttons {
        display: flex;
        gap: 25px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 22px 40px;
        text-decoration: none;
        font-weight: 900;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        border-radius: 0;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 5px solid var(--charcoal);
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: var(--charcoal);
        transition: all 0.4s ease;
        z-index: -1;
    }

    .btn:hover::before {
        width: 300%;
        height: 300%;
        top: -100%;
        left: -100%;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--primary-coral), var(--accent-coral));
        color: var(--pearl-white);
        transform: rotate(-1.5deg);
        box-shadow: 0 10px 25px rgba(231, 76, 60, 0.2);
    }

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

    .btn-secondary {
        background: var(--pearl-white);
        color: var(--charcoal);
        transform: rotate(1.5deg);
        box-shadow: 0 10px 25px rgba(44, 44, 44, 0.15);
    }

    .btn-secondary:hover {
        color: var(--pearl-white);
    }

    .btn:hover {
        transform: scale(1.08) rotate(0deg);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    /* Section Styles */
    .section {
        padding: 120px 20px;
        max-width: 1300px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .section-header {
        text-align: center;
        margin-bottom: 100px;
        position: relative;
    }

    .section-header::before {
        content: '';
        position: absolute;
        top: -20px;
        right: 20%;
        width: 60px;
        height: 60px;
        background: var(--primary-coral);
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
        opacity: 0.2;
        animation: float-medium 6s ease-in-out infinite;
    }

    .section-title {
        font-size: clamp(3rem, 8vw, 5rem);
        font-weight: 900;
        color: var(--charcoal);
        text-shadow: 4px 4px 0px var(--primary-coral), 8px 8px 0px rgba(231, 76, 60, 0.15);
        margin-bottom: 25px;
        transform: rotate(-1deg);
        text-transform: uppercase;
        letter-spacing: -2px;
    }

    .section-subtitle {
        font-size: 1.3rem;
        color: var(--muted-teal);
        font-weight: 600;
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.7;
        transform: rotate(0.5deg);
    }

    /* Projects Grid */
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 50px;
        margin-top: 80px;
    }

    .project-card {
        background: var(--pearl-white);
        border: 6px solid var(--charcoal);
        padding: 45px;
        position: relative;
        transform: rotate(1deg);
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 15px 35px rgba(44, 44, 44, 0.1);
        overflow: hidden;
    }

    .project-card::before {
        content: '';
        position: absolute;
        top: -20px;
        right: -20px;
        width: 40px;
        height: 40px;
        background: var(--primary-coral);
        border-radius: 50%;
        z-index: 1;
    }

    .project-card::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: -15px;
        width: 30px;
        height: 30px;
        background: var(--deep-forest);
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
        z-index: 1;
    }

    .project-card:nth-child(2n) {
        transform: rotate(-1deg);
        background: var(--deep-forest);
        color: var(--pearl-white);
    }

    .project-card:nth-child(3n) {
        transform: rotate(1.5deg);
        background: var(--muted-teal);
        color: var(--pearl-white);
    }

    .project-card:hover {
        transform: scale(1.03) rotate(0deg);
        box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        z-index: 10;
    }

    .project-title {
        font-size: 2rem;
        font-weight: 900;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        position: relative;
        z-index: 2;
    }

    .project-description {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 25px;
        font-weight: 500;
        position: relative;
        z-index: 2;
    }

    .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 30px;
        position: relative;
        z-index: 2;
    }

    .tech-tag {
        background: rgba(231, 76, 60, 0.12);
        color: var(--primary-coral);
        padding: 8px 16px;
        border-radius: 25px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        border: 2px solid var(--primary-coral);
        transition: all 0.3s ease;
    }

    .project-card:nth-child(2n) .tech-tag,
    .project-card:nth-child(3n) .tech-tag {
        background: rgba(248, 246, 240, 0.15);
        color: var(--pearl-white);
        border-color: var(--pearl-white);
    }

    .tech-tag:hover {
        transform: scale(1.1);
        background: var(--primary-coral);
        color: var(--pearl-white);
    }

    .project-links {
        display: flex;
        gap: 18px;
        position: relative;
        z-index: 2;
    }

    .project-link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 24px;
        text-decoration: none;
        font-weight: 800;
        font-size: 14px;
        text-transform: uppercase;
        border: 3px solid currentColor;
        color: inherit;
        transition: all 0.3s ease;
        letter-spacing: 1px;
    }

    .project-link:hover {
        background: currentColor;
        color: var(--pearl-white);
        transform: scale(1.05);
    }

    /* Skills Section */
    .skills-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 50px;
        margin-top: 80px;
    }

    .skill-category {
        background: var(--pearl-white);
        padding: 50px;
        text-align: center;
        border: 6px solid var(--charcoal);
        position: relative;
        transform: rotate(1deg);
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        overflow: hidden;
    }

    .skill-category::before {
        content: '';
        position: absolute;
        top: -25px;
        left: -25px;
        width: 50px;
        height: 50px;
        background: var(--primary-coral);
        border-radius: 50%;
        opacity: 0.2;
    }

    .skill-category:nth-child(2n) {
        transform: rotate(-1deg);
        background: var(--deep-forest);
        color: var(--pearl-white);
    }

    .skill-category:nth-child(4n) {
        transform: rotate(1.5deg);
        background: var(--muted-teal);
        color: var(--pearl-white);
    }

    .skill-category:hover {
        transform: scale(1.05) rotate(0deg);
        box-shadow: 0 20px 40px rgba(44, 44, 44, 0.15);
    }

    .skill-icon {
        font-size: 3.5rem;
        margin-bottom: 25px;
        color: var(--primary-coral);
        transition: transform 0.3s ease;
    }

    .skill-category:nth-child(2n) .skill-icon,
    .skill-category:nth-child(4n) .skill-icon {
        color: var(--pearl-white);
    }

    .skill-category:hover .skill-icon {
        transform: scale(1.2) rotate(10deg);
    }

    .skill-title {
        font-size: 1.8rem;
        font-weight: 900;
        margin-bottom: 25px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }

    .skill-list {
        font-size: 1.1rem;
        line-height: 2;
        font-weight: 600;
    }

    /* Footer */
    .footer {
        background: linear-gradient(135deg, var(--charcoal), var(--muted-teal), var(--deep-forest));
        color: var(--pearl-white);
        padding: 80px 20px;
        text-align: center;
        position: relative;
        overflow: hidden;
        margin-top: 100px;
    }

    .footer::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(231, 76, 60, 0.06) 15px,
            rgba(231, 76, 60, 0.06) 30px
        );
        animation: slide 25s linear infinite;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 25px;
        margin-bottom: 40px;
        position: relative;
        z-index: 2;
    }

    .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background: var(--pearl-white);
        color: var(--charcoal);
        text-decoration: none;
        font-size: 1.4rem;
        border: 4px solid var(--primary-coral);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        transform: rotate(45deg);
        position: relative;
        overflow: hidden;
    }

    .social-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: var(--primary-coral);
        transition: all 0.4s ease;
        z-index: -1;
    }

    .social-link:hover::before {
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
    }

    .social-link i {
        transform: rotate(-45deg);
        transition: transform 0.3s ease;
    }

    .social-link:hover {
        color: var(--pearl-white);
        transform: rotate(0deg) scale(1.15);
        border-color: var(--pearl-white);
    }

    .social-link:hover i {
        transform: rotate(0deg);
    }

    .footer p {
        font-size: 1.1rem;
        font-weight: 600;
        position: relative;
        z-index: 2;
    }

    /* Animations */
    @keyframes float-slow {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-30px) rotate(5deg); }
    }

    @keyframes float-medium {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-20px); }
    }

    @keyframes float-fast {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
    }

    @keyframes rotate-slow {
        0% { transform: rotate(45deg); }
        100% { transform: rotate(405deg); }
    }

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

    @keyframes pulse-glow {
        0%, 100% { 
            opacity: 1; 
            box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6);
        }
        50% { 
            opacity: 0.7; 
            box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
        }
    }

    /* Contact Section */
    .contact-container {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 80px;
        margin-top: 80px;
        align-items: start;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 25px;
        padding: 30px;
        background: var(--pearl-white);
        border: 4px solid var(--charcoal);
        transform: rotate(1deg);
        transition: all 0.3s ease;
    }

    .contact-item:nth-child(2n) {
        transform: rotate(-1deg);
        background: var(--deep-forest);
        color: var(--pearl-white);
    }

    .contact-item:hover {
        transform: scale(1.05) rotate(0deg);
        box-shadow: 0 15px 30px rgba(44, 44, 44, 0.12);
    }

    .contact-icon {
        font-size: 2rem;
        color: var(--primary-coral);
        min-width: 60px;
    }

    .contact-item:nth-child(2n) .contact-icon {
        color: var(--pearl-white);
    }

    .contact-details h4 {
        font-size: 1.3rem;
        font-weight: 800;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .contact-details p {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .contact-form {
        background: var(--pearl-white);
        padding: 50px;
        border: 6px solid var(--charcoal);
        transform: rotate(-0.5deg);
        transition: all 0.3s ease;
    }

    .contact-form:hover {
        transform: scale(1.02) rotate(0deg);
        box-shadow: 0 20px 40px rgba(44, 44, 44, 0.1);
    }

    .form-group {
        display: flex;
        gap: 20px;
        margin-bottom: 25px;
    }

    .form-group input,
    .form-group textarea {
        flex: 1;
        padding: 18px 25px;
        border: 3px solid var(--charcoal);
        background: var(--soft-beige);
        font-family: 'Space Grotesk', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: var(--charcoal);
        border-radius: 0;
        transition: all 0.3s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-coral);
        background: var(--pearl-white);
        transform: scale(1.02);
    }

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

    .contact-btn {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        transform: rotate(0deg) !important;
    }

    /* --- CV Section Modern & Aérée --- */
    .cv-container {
        display: flex;
        gap: 50px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 60px;
        margin-bottom: 40px;
    }

    .cv-section {
        background: var(--pearl-white);
        border: 4px solid var(--charcoal);
        border-radius: 24px;
        box-shadow: 0 8px 32px rgba(44,44,44,0.08);
        padding: 40px 36px;
        min-width: 320px;
        max-width: 400px;
        flex: 1 1 320px;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .cv-header h3 {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary-coral);
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 18px;
        letter-spacing: 1px;
    }

    .cv-content {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .cv-item {
        display: flex;
        align-items: flex-start;
        gap: 22px;
        padding: 18px 0;
        border-bottom: 1px solid var(--soft-beige);
    }

    .cv-item:last-child {
        border-bottom: none;
    }

    .cv-date {
        min-width: 80px;
        font-weight: 700;
        color: var(--deep-forest);
        font-size: 1.1rem;
        margin-top: 2px;
        letter-spacing: 0.5px;
    }

    .cv-info h4 {
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: 4px;
        color: var(--charcoal);
    }

    .cv-info p {
        font-size: 1rem;
        color: var(--muted-teal);
        margin: 0;
        font-weight: 600;
    }

    @media (max-width: 768px) {
        .navbar {
            position: fixed;
            bottom: 20px;
            top: auto;
            left: 50%;
            transform: translateX(-50%);
            padding: 12px 20px;
            border-radius: 50px;
        }

        .nav-menu {
            gap: 20px;
        }

        .nav-link {
            padding: 10px 16px;
            font-size: 12px;
        }

        .hero {
            padding: 140px 20px 80px;
        }

        .hero-title {
            font-size: clamp(2.5rem, 12vw, 4rem);
            text-shadow: 4px 4px 0px var(--primary-coral), 8px 8px 0px rgba(231, 76, 60, 0.15);
        }

        .cta-buttons {
            flex-direction: column;
            align-items: center;
        }

        .btn {
            width: 100%;
            max-width: 320px;
            justify-content: center;
            padding: 18px 30px;
        }

        .projects-grid,
        .skills-grid {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .project-card,
        .skill-category {
            padding: 35px;
            transform: rotate(0deg);
        }

        .section {
            padding: 80px 20px;
        }

        .section-title {
            font-size: clamp(2rem, 10vw, 3.5rem);
        }

        .social-links {
            flex-wrap: wrap;
            gap: 20px;
        }

        .social-link {
            width: 50px;
            height: 50px;
            font-size: 1.2rem;
        }

        .contact-container {
            grid-template-columns: 1fr;
            gap: 50px;
        }

        .contact-item,
        .contact-form {
            transform: rotate(0deg);
            padding: 25px;
        }

        .form-group {
            flex-direction: column;
            gap: 15px;
        }
    }

    @media (max-width: 480px) {
        .projects-grid,
        .skills-grid {
            grid-template-columns: 1fr;
        }

        .project-card,
        .skill-category {
            padding: 25px;
        }

        .nav-menu {
            gap: 15px;
        }

        .nav-link {
            padding: 8px 12px;
            font-size: 11px;
        }
    }

    /* Contact Section */
    @media (max-width: 768px) {
        .contact-container {
            grid-template-columns: 1fr;
            gap: 50px;
        }

        .contact-item,
        .contact-form {
            transform: rotate(0deg);
            padding: 25px;
        }

        .form-group {
            flex-direction: column;
            gap: 15px;
        }
    }
