/* Styles pour l'animation du blob */
.blob-wrapper {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    position: relative;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.25));
}

.blob-wrapper:hover {
    transform: scale(1.03);
    filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.35));
}

.blob-wrapper * {
    pointer-events: none;
}

.blob-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

#blob-path {
    transform-origin: center;
    fill: rgba(235, 93, 29, 0.05);
}

#blob-outline {
    filter: blur(0.5px);
    stroke-width: 3px;
    /* Réduit de 4px à 3px */
    stroke: url(#gradient);
    stroke-opacity: 0.5;
    /* Réduit de 0.6 à 0.5 */
}

/* Animation simplifiée pour mobile */
@keyframes pulseBlob {
    0% {
        transform: scale(0.98);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(0.98);
    }
}

.mobile-blob {
    animation: pulseBlob 4s ease-in-out infinite;
}

.mobile-blob .blob-svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    overflow: hidden;
}

.mobile-blob #blob-path {
    d: path("M 75 0 Q 150 0 150 75 Q 150 150 75 150 Q 0 150 0 75 Q 0 0 75 0 Z");
    transform-origin: center;
    fill: rgba(235, 93, 29, 0.05);
}

.mobile-blob #blob-outline {
    d: path("M 75 0 Q 150 0 150 75 Q 150 150 75 150 Q 0 150 0 75 Q 0 0 75 0 Z");
    stroke-width: 3px;
    stroke: url(#gradient);
    stroke-opacity: 0.5;
}

/* Amélioration de la présentation de la section about */
.about-section .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

/* Styles pour l'image dans le blob sur mobile */
.mobile-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: -1;
}

.mobile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(1.02);
    /* Légèrement plus grand pour éviter les bords visibles */
}

/* Ajuster les dimensions du SVG pour mobile */
.mobile-blob .blob-svg {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Adaptation spécifique pour les très petits écrans */
@media (max-width: 360px) {

    .mobile-image-container,
    .mobile-blob .blob-svg {
        transform-origin: center;
        transform: scale(0.95);
    }
}

@media (max-width: 768px) {
    .blob-wrapper {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .blob-wrapper {
        max-width: 280px;
    }
}

@media (max-width: 360px) {
    .blob-wrapper {
        max-width: 240px;
    }
}