@font-face {
    font-family: 'LAVIOSSA';
    src: url('Assets/Fonts/Laviossa-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'LAVIOSSA', sans-serif;
}

body {
    background-color: #596B59;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    padding-top: 0;
    position: relative;
}

.logo {
    max-width: 400px;
    margin: 0;
    filter: brightness(0) invert(1);
    z-index: 2;
}

.tagline {
    color: white;
    font-size: 1.4rem;
    text-align: center;
    margin: 1rem 0;
    max-width: 600px;
    line-height: 1.4;
}

.text-container {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(89, 107, 89, 0.40);
    padding: 0.7rem 1.2rem;
    border-radius: 18px;
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 90vw;
    min-width: 220px;
    border: 3px solid #fff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 1s ease, transform 1s ease;
}

/* Responsive design pour mobile */
@media (max-width: 768px) {
    .text-container {
        max-width: 95vw;
        min-width: 200px;
        padding: 0.5rem 1rem;
        top: 25%;
    }

    .text-container .logo {
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .text-container .tagline {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .text-container {
        max-width: 98vw;
        min-width: 180px;
        padding: 0.4rem 0.8rem;
        top: 22%;
    }

    .text-container .logo {
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .text-container .tagline {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        line-height: 1.1;
    }
}

.text-container .logo {
    margin-bottom: 0;
    margin-top: 0;
    max-width: 420px;
    display: block;
    align-self: center;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.text-container .tagline {
    margin-top: 0;
    margin-bottom: 1.1rem;
    line-height: 1.1;
    text-align: center;
}

.images-container {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
}

.image-frame {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: filter 0.3s ease;
    display: block;
}

.image-frame:hover {
    transform: scale(1.02);
}

.image-frame:hover img {
    filter: brightness(0.7);
}

.image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.8rem;
    text-align: center;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'LAVIOSSA', sans-serif;
    font-weight: normal;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
}

.image-frame:hover .image-title {
    opacity: 1;
}

/* Animation d'apparition uniquement flou/déflou */
.organic-img {
    filter: blur(12px);
    transition: filter 1.2s ease;
}

.organic-img.visible {
    filter: blur(0);
}

/* Désactivation des formes organiques */
.organic1.visible,
.organic2.visible {
    clip-path: none;
}



/* Animation de l'encadrement */
.text-container.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}