.projet-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f8f8;
    padding: 2rem 1rem;
    text-align: center;
}

.projet-header h1 {
    font-size: clamp(2.5rem, 8vw, 60px);
    color: #980000;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.projet-header p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #666;
    line-height: 1.6;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.projet-tls {
    background-color: #fff;
    width: 90%;
    max-width: 250mm;
    margin: 3rem auto;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.projet-tls:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.projet-tls h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #980000;
    text-align: center;
    margin-bottom: 1.5rem;
}

.projet-tls-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.projet-tls-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem 0;
}

.projet-tls-images img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 2px solid #000;
    border-radius: 4px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.projet-tls-images img:hover {
    transform: scale(1.03);
}

.projet-tls h3 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    color: #980000;
    margin: 1.5rem 0 0.5rem 0;
}

.projet-tls p {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: #333;
    line-height: 1.6;
    margin: 0.75rem 0;
}

.projet-tls-competences {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.projet-tls-competences div {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.projet-tls-competences img {
    width: auto;
    height: clamp(60px, 10vw, 100px);
    margin-bottom: 0.5rem;
}

.projet-tls-competences p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    text-align: center;
}

.projet-tls-competences h4 {
    color: black;
    font-size: clamp(0.875rem, 2vw, 1rem);
    text-align: center;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

@media (max-width: 768px) {
    .projet-tls {
        padding: 1.5rem;
    }

    .projet-tls-content {
        flex-direction: column;
    }

    .projet-tls-competences {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .projet-header {
        min-height: 80vh;
    }

    .projet-tls {
        padding: 1rem;
    }

    .projet-tls-images {
        flex-direction: column;
    }
}