/* Styles spécifiques pour la page À propos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    border-radius: 0 0 50px 50px;
    padding: 120px 0 100px 0;
    margin: 0;
    overflow: hidden;
    background-image: url('svg/hero-section-background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--text-color);
}

.hero-title {
    font: var(--font-size-xxl);
    background: var(--dgrad-bleu);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.hero-subtitle {
    font: var(--font-size-l);
    background: var(--dgrad-bleu);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 32px;
}

.hero-description {
    margin-bottom: 32px;
}

.cta-button {
    align-self: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animation flottante pour l'illustration de la hero section */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Application de l'animation à l'image de la hero section */
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    animation: float 8s ease-in-out infinite;
}


/* About Section */
.about-section {
    margin: 144px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #C4B7FF;
}

.about-content {
    padding: 0px 0px 0px 48px;
}

.about-title {
    font: var(--font-size-l);
    background: var(--dgrad-bleu);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom:32px;
}

.about-text p {
    color: var(--text-color);
    margin-bottom: 16px;
}

.signature {
    margin-top: 40px;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .top-right {
        top: -500px;
        right: -100px;
    }

    .bottom-right {
        bottom: -400px;
        right: -150px;
    }

    .bottom-left {
        bottom: -300px;
        left: -150px;
    }

    .cta-button {
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        padding: 0;
    }
    
    .about-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-title {
        font: var(--font-size-xl);
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-image: url('svg/hero-section-background-mobile.svg');
        margin-bottom: 40px;
        padding: 120px 0 20px 0;
    }

    .header {
        margin: 15px;
        padding: 15px 20px;
    }
    
    .hero-container {
        padding: 0 25px;
    }
    
    .hero-title {
        font: var(--font-size-l);
    }
    
    .about-content {
        padding: 25px;
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
    }
    
    .hero-image img {
        animation: float 6s ease-in-out infinite;
        width: 50%;
    }

    
    .contact-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    * {
        font-size: 16px;
    }
    
    .hero-container {
        padding: 0 16px;
    }

    .hero-container p {
        text-align: left;
    }
    
    .hero-title {
        font: var(--font-size-xxl-m);
    }
    
    .hero-subtitle, .about-title {
        font: var(--font-size-l-m);
    }

    .about-content {
        padding: 0 16px;
    }

    .signature {
        text-align: center;
    }
    
}