/* Contact Section Styles */
.contact-section {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

.contact-section h1 {
    color: #ff6b6b;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 300;
}

.contact-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-info-main {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-method {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.contact-method h2 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-method a {
    color: #ff6b6b;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: #ff5252;
}

/* FAQ Section Styles */
.faq-section {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.75rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #ff6b6b, #ff8585);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::before {
    transform: scaleY(1);
}

.faq-question:hover {
    background-color: rgba(255, 107, 107, 0.05);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    color: #ff6b6b;
    opacity: 0.8;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to bottom, rgba(255, 107, 107, 0.03), transparent);
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    padding: 0 1.75rem 1.75rem;
    font-size: 1.05rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

/* Animation d'entrée pour les FAQ items */
.faq-item {
    animation: fadeInUp 0.6s ease backwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajout d'un titre stylisé pour la section FAQ */
.faq-section::before {
    content: attr(data-title);
    display: block;
    text-align: center;
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 2.5rem;
    font-weight: 300;
    position: relative;
    padding-bottom: 1rem;
}

.faq-section::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #ff6b6b, #ff8585);
    margin: -2.5rem auto 2.5rem;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-info-main {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-section h1 {
        font-size: 2rem;
    }

    .contact-method {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 4rem 0;
    }

    .contact-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-method h2 {
        font-size: 1.1rem;
    }

    .contact-method a {
        font-size: 1rem;
    }
}

