/* Styles spécifiques à la page d'accueil */

:root {
    --bleu-nuit: #6222CC;
    --blanc: #ffffff;
    --vert-fluo: #00ff8c;
    --jaune-doux: #FBA504;
    --gris-clair: #f5f5f5;
    --gris-fonce: #333333;
    --dark: #04000B;
    --light: #F6F4F9;
}

/* Section Hero */
.hero {
    margin-top: 80px;
    min-height: 100vh;
    width: 100%;
    color: var(--blanc);
    padding: 6rem 5% 2rem;
    overflow: hidden;
    background: url(../images/bg-dot.png), url(../images/bg-dot.png), url(../images/bg-bottom.png);
    background-position: 10px 10px, bottom 190px right 10px, center bottom -1px;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    min-height: 80vh;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 36px);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light);
    line-height: 1.2;
}

.hero-slogan {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


.hero-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}


/* Animation flottante */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* Section Formules */
.formules {
    background: white;
}

.formules-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.formule-card {
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}



.formule-icon {
    font-size: 2.5rem;
    color: var(--bleu-nuit);
    margin-bottom: 20px;
}

.formule-card h3 {
    color: var(--dark);
}

.formule-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 15px 0;
}

.formule-card .btn {
    margin-top: 20px;
}

/* Section Pourquoi nous choisir */
.why-us {
    background-color: var(--gris-clair);
}

.why-us-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.why-us-item {
    background-color: var(--blanc);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.why-us-icon {
    font-size: 2rem;
    color: var(--bleu-nuit);
    margin-bottom: 20px;
    height: 60px;
    width: 60px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-us-container h3 {
    color: var(--dark);
}

.why-us-cta {
    text-align: center;
    margin-top: 50px;
}

/* Section Témoignages */

.testimonials {
    background: white;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--blanc);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: rgba(0, 255, 140, 0.2);
    position: absolute;
    top: -20px;
    left: -15px;
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    font-size: 2rem;
    color: var(--bleu-nuit);
    margin-right: 15px;
}

.testimonial-info h4 {
    margin-bottom: 0;
    color: var(--dark);
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gris-fonce);
}

/* Section CTA */
.cta {
    background: var(--light);;
    text-align: center;
}



.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}


/* Styles généraux pour les sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

/* Media Queries */

@media (max-width: 992px) {
    .hero {
        padding: 7rem 5% 3rem;
        background-position: 1px 1px, bottom 100px right 10px, center bottom -1px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}


@media (max-width: 768px) {

    .hero {
        padding: 6rem 5% 2rem;
        min-height: auto;
        background-position: 1px 1px, bottom 100px right 10px, center bottom -1px;
    
    }

    .hero-content {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .formule-card,
    .why-us-item,
    .testimonial-card {
        min-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .hero {
        padding: 5rem 5% 2rem;
        background-position: 1px 1px, bottom 100px right 10px, center bottom -1px;
    }

    .hero h1 {
        margin-bottom: 1rem;
    }

    .hero-slogan {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .formule-price {
        font-size: 1.25rem;
    }
}