@import url('https://api.fontshare.com/v2/css?f[]=chillax@400,500,700&display=swap');

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Chillax', sans-serif !important;
    color: white;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/DSC_9538.jpg') no-repeat center center fixed;
    background-size: cover;
}

main {
    flex: 1 0 auto;
    text-align: center; 
    padding: 20px;
}

main h1 {
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px auto;
    padding: 15px 40px;
    width: fit-content;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header nav ul li {
    width: 130px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header nav ul li a {
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.45s;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

header nav ul li a:hover, 
header nav ul li a.active {
    color: #0084ff;
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEi%0D%0AIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhs%0D%0AaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0%0D%0AaD0iMzkwcHgiIGhlaWdodD0iNTBweCIgdmlld0JveD0iMCAwIDM5MCA1MCIgZW5hYmxlLWJhY2tn%0D%0Acm91bmQ9Im5ldyAwIDAgMzkwIDUwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZmlsbD0i%0D%0Abm9uZSIgc3Ryb2tlPSIjMDA4NGZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLW1pdGVybGlt%0D%0AaXQ9IjEwIiBkPSJNMCw0Ny41ODVjMCwwLDk3LjUsMCwxMzAsMAoJYzEzLjc1LDAsMjguNzQtMzgu%0D%0ANzc4LDQ2LjE2OC0xOS40MTZDMTkyLjY2OSw0Ni41LDI0My42MDMsNDcuNTg1LDI2MCw0Ny41ODVj%0D%0AMzEuODIxLDAsMTMwLDAsMTMwLDAiLz4KPC9zdmc+Cg==");
    background-repeat: no-repeat;
    background-position-y: center;
    animation: line 0.3s;
    font-size: 1.4rem;
    filter: none;
}

@keyframes line {
  0% { background-position-x: 390px; }
}


.fond {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px; 
    padding: 30px;
    flex: 1;
    width: 95%;
    max-width: 1080px;
    margin: 0 auto;
    box-shadow: -4px 4px 15px rgba(0,0,0,0.2);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
    cursor: default; 
}
form {
    width: 300px;
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-group { flex: 1; }

form label {
    display: block;
    margin-bottom: 8px;
    text-align: left;
    font-weight: 500;
}

form label span { color: #0084ff; }

form input[type="text"], 
form input[type="email"], 
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-family: 'Chillax', sans-serif;
    box-sizing: border-box;
}

form textarea { height: 120px; resize: none; }
input[type="file"] { margin-bottom: 15px; font-family: 'Chillax', sans-serif; }

form input[type="submit"] {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    border: 1px solid #0084ff;
    background: rgba(0, 132, 255, 0.2);
    color: white;
    font-family: 'Chillax', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

form input[type="submit"]:hover {
    background: #0084ff;
    color: white;
    box-shadow: 0 0 15px rgba(0, 132, 255, 0.4);
}

form p { color: #0084ff; text-align: right; }

.messagefinal, .creditsdiv {
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    box-sizing: border-box;
}

.textepresentation {
    font-size: 1.2rem;
}

.texteintro {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 10px;
    margin-top: 75px;
}

.containervdp, .containerfve {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 20px;
    align-items: stretch; 
    max-width: 1080px;
    margin: 0 auto 60px auto;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.4;
    transform: scale(0.9);
    cursor: pointer;
}

.containervdp.active, .containerfve.active {
    opacity: 1 !important;
    transform: scale(1.05) !important;
    padding-top: 50px;
    padding-bottom: 50px;
}

.containervdp:active, .containerfve:active { transform: scale(0.98); }

.blocinfo1, .blocinfo2 {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px 0 0 10px; 
    padding: 30px;
    flex: 1;
    max-width: 600px;
    box-shadow: -4px 4px 15px rgba(0,0,0,0.2);
    color: white;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.divinfos{
    display: flex;
}
.divorigine, .lsv{
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px; 
    padding: 30px;
    flex: 1;
    max-width: 550px;
    box-shadow: -4px 4px 15px rgba(0,0,0,0.2);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transform: scale(1);
    transition: transform 0.3s ease;
    cursor: default;
}

.divorigine p, .lsv p{
    transform: scale(1);
    transition: transform 0.3s ease;
}

.divorigine p:hover, .lsv p:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.active .blocinfo1, .active .blocinfo2 { background: rgba(255, 255, 255, 0.12); }

.photovdp, .photofve {
    flex: 1;
    max-width: 500px;
    object-fit: cover; 
    border-radius: 0 10px 10px 0;
    display: block;
    filter: grayscale(80%);
    transition: filter 0.6s ease;
}

.active .photovdp, .active .photofve { filter: grayscale(0%); }

#montableau_wrapper {
    width: 1080px;
    margin: 60px auto;
    font-family: 'Chillax', sans-serif !important;
    color: white !important;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.blocgalerie {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px; 
    padding: 30px;
    width: 95%;
    max-width: 1080px; 
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
    text-align: center;
    box-sizing: border-box;
}

.galerie {
    column-count: 4;
    width: 100%;
}

.galerie img {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    break-inside: avoid;
    filter: blur(1px);
}

.galerie img:hover {
    transform: scale(1.03);
    filter: none;
}

.zoom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.zoom:target { 
    display: flex;
}

.zoomclose {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    text-decoration: none;
}

.zoom img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.instagram, .commons, .creditslien {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.instagram:hover, .commons:hover, .creditslien:hover {
    color: #0084ff;
    text-shadow: 0 0 10px rgba(0, 132, 255, 0.5);
}

footer {
    flex-shrink: 0;
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
}

@media (max-width: 900px) { .galerie { column-count: 2; } }
@media (max-width: 600px) { 
    .galerie { column-count: 1; }
    .form-row { flex-direction: column; gap: 0; }
}

.container-videos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    width: 95%;
    max-width: 1080px;
}

.video-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.05);
    border-color: #0084ff;
}

.video-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

.flex {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px auto;
    max-width: 1080px;
}

.bloc-partenaire {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.bloc-partenaire:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.photo-profil {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.photo-profil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.salariés {
    background: rgba(0, 0, 0, 0.199);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
}

.genese {
    background: rgba(0, 0, 0, 0.199);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    margin-top: 10px;
    text-align: left;
}

.livrables {
    background: rgba(0, 0, 0, 0.199);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    margin-top: 10px;
    text-align: left;
}

.doc-action {
    margin-top: 30px;
    text-align: center;
}

.btn-red {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid #0084ff;
    border-radius: 50px;
    color: white;
    font-family: 'Chillax', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-red:hover {
    background: #0084ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.5);
}

.doc-info ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.doc-info li {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    border-right: 4px solid #0084ff;
    border-left: 1px solid #0084ff;
    border-bottom: 4px solid #0084ff;
    border-top: 1px solid #0084ff;
    transition: all 0.3s ease;
}

.doc-info li:hover {
    background: #0084ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.5);
}

.partenairestxt {
    text-align: center;
}

.radio-group {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
}

.radio-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: 0.3s ease;
}

.radio-item input[type="radio"]:checked {
    border-color: #0084ff;
    background: rgba(0, 132, 255, 0.2);
}

.radio-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #0084ff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px #0084ff;
}

.radio-item label {
    margin-bottom: 0 !important;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.3s;
}

.radio-item:hover label {
    color: #0084ff;
}