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

:root {
    --bg-black: #000000;
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    --border-gray: #333333;
    --card-bg: #0A0A0A;
    --tag-bg: #1A1A1A;
}

body {
    font-family: 'Recursive', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

* {
    cursor: none !important;
}

html, body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

*::-webkit-scrollbar {
    display: none;
}

/* Animated Canvas Background */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-black);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 40px 60px;
    display: flex;
    gap: 40px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 8px 12px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--text-white);
}

.lang-btn.active {
    background: var(--text-white);
    color: var(--bg-black);
}

.lang-separator {
    color: var(--border-gray);
    font-size: 12px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.burger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    transform: scale(1.05);
}

.burger-menu span {
    width: 24px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--text-white), var(--text-gray));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
}

.burger-menu.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-white);
}

.burger-menu.active span {
    background: var(--text-white);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--text-white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 180px 60px 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/* Alternance Banner */
.alternance-banner {
    position: absolute;
    top: 80px;
    left: -80px;
    width: 400px;
    background-color: var(--text-white);
    color: var(--bg-black);
    padding: 10px 0;
    transform: rotate(-45deg);
    transform-origin: center;
    z-index: 10;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    overflow: hidden;
}

.banner-content {
    display: flex;
    animation: scroll 8s linear infinite;
    width: fit-content;
}

.banner-content span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 30px;
    display: inline-block;
}

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

.hero-title {
    margin-bottom: 20px;
}

.hero-name {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 210px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 0.9;
    color: var(--text-white);
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-surname {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 210px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 0.9;
    color: var(--text-gray);
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-white);
    text-align: right;
    margin-right: 255px;
    margin-top: -20px;
    margin-bottom: 80px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-description {
    max-width: 600px;
    margin-left: 615px;
    margin-bottom: 60px;
}

.hero-description p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    font-weight: 400;
}

.hero-cta {
    font-size: 16px;
    color: var(--text-white);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Section Title */
.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 80px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 80px;
    line-height: 1;
}

/* Projects Section */
.projects {
    padding: 120px 60px;
    border-top: 1px solid var(--border-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border-gray);
    min-height: 400px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card-no-image {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 1px solid var(--border-gray);
}

.project-card-no-image .project-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.project-card-no-image:hover .project-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: background 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.project-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--text-white);
}

.project-number,
.project-title,
.project-desc,
.project-tags {
    position: relative;
    z-index: 2;
}

.project-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.project-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 20px;
    color: #ffc107;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-title {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.project-card:hover .tag {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
}

.project-link-primary {
    background: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.project-link-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

.project-link svg {
    transition: transform 0.3s ease;
}

.project-link:hover svg {
    transform: scale(1.1);
}

/* About Section */
.about {
    padding: 120px 60px;
    border-top: 1px solid var(--border-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-intro {
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.about-intro:hover {
    color: var(--text-white);
}

.about-paragraph {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.about-paragraph:hover {
    color: var(--text-white);
}

.about-skills {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.skill-category-title {
    font-size: 14px;
    color: var(--text-white);
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.skill-category-title:hover {
    color: var(--text-gray);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--tag-bg);
    border: 1px solid var(--border-gray);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Legal Notice Dropdown in Footer */
.footer-legal-toggle {
    background: none;
    border: none;
    font-size: 12px;
    color: var(--text-gray);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    margin-top: 0;
    justify-self: end;
    grid-column: 3;
}

.footer-legal-toggle:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.footer-legal-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin-top 0.5s ease;
    margin-top: 0;
    grid-column: 1 / -1;
}

.footer-legal-content.active {
    max-height: 1000px;
    margin-top: 30px;
}

.footer-legal-content .legal-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
}

.footer-legal-content .legal-section h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.footer-legal-content .legal-section p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.footer-legal-content .legal-section p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 120px 60px;
    border-top: 1px solid var(--border-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.contact-text {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 16px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--text-gray);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-white), transparent);
    opacity: 0.3;
}

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

.form-label {
    font-size: 13px;
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 11px;
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border-gray);
    color: var(--text-white);
    padding: 16px 18px;
    font-size: 15px;
    font-family: 'Recursive', sans-serif;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.form-input:hover,
.form-textarea:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

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

.form-submit {
    background: linear-gradient(135deg, var(--text-white) 0%, #e0e0e0 100%);
    color: var(--bg-black);
    border: none;
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Recursive', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, var(--text-white) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    padding: 60px 60px 40px;
    border-top: 1px solid var(--border-gray);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    grid-column: 2;
}

.footer-legal {
    font-size: 12px;
    color: var(--text-gray);
    text-decoration: none;
    text-align: center;
    transition: color 0.3s ease;
}

.footer-legal:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.footer-credit {
    font-size: 12px;
    color: var(--text-gray);
    text-align: right;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--text-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.scroll-top svg {
    color: var(--bg-black);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--card-bg);
    border: 1px solid var(--border-gray);
    padding: 16px 20px;
    border-radius: 8px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease-out;
    opacity: 0;
    transform: translateX(100%);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    animation: slideOut 0.3s ease-out forwards;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-white);
}

.toast.success {
    border-left: 3px solid #00cc00;
}

.toast.error {
    border-left: 3px solid #ff4444;
}

.toast.info {
    border-left: 3px solid #4444ff;
}

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

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Responsive Design */

/* Tablette (1024px et moins) */
@media (max-width: 1024px) {
    .navbar {
        padding: 30px 40px;
        gap: 25px;
    }

    .nav-link {
        font-size: 13px;
    }

    .hero {
        padding: 160px 40px 100px;
    }

    .hero-name,
    .hero-surname {
        font-size: 90px;
        letter-spacing: -3px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-right: 0;
        text-align: left;
        margin-top: 20px;
    }

    .hero-description {
        margin-left: 0;
        max-width: 100%;
    }

    .alternance-banner {
        width: 350px;
        top: 70px;
        left: -70px;
    }

    .banner-content span {
        font-size: 11px;
    }

    .section-title {
        font-size: 60px;
    }

    .projects,
    .about,
    .contact {
        padding: 100px 40px;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-details {
        gap: 20px;
    }
}

/* Mobile (768px et moins) */
@media (max-width: 768px) {
    .navbar {
        padding: 20px;
        justify-content: flex-end;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 100px 40px 40px;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-left: 2px solid var(--border-gray);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

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

    .nav-link {
        font-size: 18px;
        font-weight: 600;
        padding: 22px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        position: relative;
        overflow: hidden;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: -100%;
        top: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(180deg, var(--text-white), var(--text-gray));
        transition: left 0.4s ease;
    }

    .nav-link:hover {
        padding-left: 15px;
        color: var(--text-white);
        background: rgba(255, 255, 255, 0.03);
    }

    .nav-link:hover::before {
        left: 0;
    }

    .nav-link:active {
        transform: scale(0.98);
    }

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

    .project-card {
        min-height: 350px;
    }

    .project-content {
        padding: 30px;
    }

    .project-title {
        font-size: 24px;
    }

    .project-desc {
        font-size: 14px;
    }

    .hero {
        padding: 140px 20px 80px;
        min-height: 80vh;
    }

    .hero-name,
    .hero-surname {
        font-size: 56px;
        letter-spacing: -2px;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 14px;
        max-width: 100%;
        margin-right: 0;
        text-align: left;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .hero-description {
        margin-left: 0;
        font-size: 14px;
        line-height: 1.6;
    }

    .alternance-banner {
        width: 280px;
        top: 60px;
        left: -60px;
        padding: 8px 0;
    }

    .banner-content span {
        font-size: 10px;
        padding: 0 20px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .projects,
    .about,
    .contact {
        padding: 60px 20px;
    }

    .project-card {
        padding: 25px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-description {
        font-size: 13px;
    }

    .project-tech {
        font-size: 11px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-skills {
        gap: 8px;
    }

    .skill-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .contact-item {
        padding: 15px 0;
    }

    .contact-label {
        font-size: 12px;
    }

    .contact-value {
        font-size: 14px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-input,
    .form-textarea {
        font-size: 14px;
        padding: 12px 15px;
    }

    .form-submit {
        padding: 14px;
        font-size: 13px;
    }

    .footer {
        padding: 40px 20px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-link {
        font-size: 13px;
    }

    .footer-copyright {
        grid-column: 1;
    }

    .footer-legal-toggle {
        grid-column: 1;
        justify-self: center;
    }

    .footer-credit {
        text-align: center;
        font-size: 12px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
        padding: 14px 16px;
    }

    .toast-title {
        font-size: 13px;
    }

    .toast-message {
        font-size: 12px;
    }
}

/* Petit mobile (480px et moins) */
@media (max-width: 480px) {
    .navbar {
        padding: 15px;
    }

    .burger-menu {
        padding: 10px;
    }

    .burger-menu span {
        width: 22px;
        height: 2px;
    }

    .nav-links {
        width: 85%;
        padding: 90px 25px 30px;
    }

    .nav-link {
        font-size: 16px;
        padding: 20px 0;
    }

    .hero {
        padding: 120px 15px 60px;
    }

    .hero-name,
    .hero-surname {
        font-size: 42px;
        letter-spacing: -1.5px;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-right: 0;
        text-align: left;
        margin-top: 15px;
        margin-bottom: 30px;
    }

    .hero-description {
        margin-left: 0;
        font-size: 13px;
        line-height: 1.6;
    }

    .alternance-banner {
        width: 240px;
        top: 50px;
        left: -50px;
        padding: 6px 0;
    }

    .banner-content span {
        font-size: 9px;
        padding: 0 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .projects,
    .about,
    .contact {
        padding: 50px 15px;
    }

    .project-card {
        padding: 20px;
    }

    .project-title {
        font-size: 18px;
    }

    .project-description {
        font-size: 12px;
    }

    .project-tech {
        font-size: 10px;
        padding: 4px 8px;
    }

    .about-text {
        font-size: 14px;
    }

    .skill-tag {
        font-size: 11px;
        padding: 5px 10px;
    }

    .contact-item {
        padding: 12px 0;
    }

    .contact-label {
        font-size: 11px;
    }

    .contact-value {
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-input,
    .form-textarea {
        font-size: 13px;
        padding: 10px 12px;
    }

    .form-submit {
        padding: 12px;
        font-size: 12px;
    }

    .footer {
        padding: 30px 15px 20px;
    }

    .footer-link {
        font-size: 12px;
    }

    .footer-credit {
        font-size: 11px;
    }

    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .toast {
        padding: 12px 14px;
    }

    .toast-icon {
        font-size: 16px;
    }

    .toast-title {
        font-size: 12px;
    }

    .toast-message {
        font-size: 11px;
    }
}
