/* Modernisation des sections contact, mentions légales et footer */

/* Design commun aux sections */
.contact-section,
.legal-section,
footer {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    z-index: 1;
}

.contact-section::before,
.legal-section::before,
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCI+CjxyZWN0IHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgZmlsbD0ibm9uZSI+PC9yZWN0Pgo8cGF0aCBkPSJNMzAgMzBMNjAgMTVMMzAgMEwwIDE1TDMwIDMwTDYwIDQ1TDMwIDYwTDAgNDVMMzAgMzAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzhFNDRBRCIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2Utb3BhY2l0eT0iMC4wNSI+PC9wYXRoPgo8L3N2Zz4=');
    opacity: 0.05;
    z-index: -1;
}

/* Section Contact */
.contact-section {
    background: linear-gradient(135deg, #1a1a1a, #2D1F3D);
    border-radius: 16px;
    padding: 40px;
    margin-top: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(155, 89, 182, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
}

.contact-form button {
    align-self: flex-start;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Section Mentions Légales */
.legal-section {
    background: linear-gradient(135deg, #1a1a1a, #2D1F3D);
    border-radius: 16px;
    padding: 40px;
    margin-top: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(155, 89, 182, 0.1);
    display: block !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
}

.legal-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.legal-content h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.legal-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.legal-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer */
footer {
    padding-top: 60px;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2D1F3D 100%);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-section h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-section ul li a i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section ul li a:hover i {
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-credit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit i {
    color: #e74c3c;
    margin: 0 3px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsivité */
@media (max-width: 768px) {
    .contact-section,
    .legal-section {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0 30px;
    }
    
    .contact-form button {
        align-self: stretch;
        width: 100%;
    }
}

/* Animation d'entrée pour les titres de section */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* Cartes pour les mentions légales */
.legal-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(155, 89, 182, 0.1);
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(155, 89, 182, 0.3);
}

.legal-card h3 {
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.legal-card h3 i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.legal-card h3::after {
    left: 0;
    bottom: -10px;
    width: 50px;
}

.legal-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .legal-content {
        grid-template-columns: 1fr;
    }
}

/* Animation d'apparition pour les cartes */
.legal-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.legal-card:nth-child(1) { animation-delay: 0.1s; }
.legal-card:nth-child(2) { animation-delay: 0.2s; }
.legal-card:nth-child(3) { animation-delay: 0.3s; }
.legal-card:nth-child(4) { animation-delay: 0.4s; }
.legal-card:nth-child(5) { animation-delay: 0.5s; }
.legal-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Améliorations pour la section contact */
.contact-intro {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(155, 89, 182, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    background: rgba(155, 89, 182, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-intro p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.contact-intro a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-intro a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 1rem;
}

.form-group label i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    margin-top: 10px;
    padding: 16px 35px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form button i {
    margin-right: 8px;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Améliorations pour le footer */
.footer-wave {
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.about-section, .links-section, footer .contact-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(155, 89, 182, 0.1);
    transition: all 0.3s ease;
}

.about-section:hover, .links-section:hover, footer .contact-section:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(155, 89, 182, 0.3);
    transform: translateY(-5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(155, 89, 182, 0.2);
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(155, 89, 182, 0.1);
    border-radius: 50px;
    margin-top: 10px;
    max-width: fit-content;
    color: var(--accent-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-email:hover {
    background: rgba(155, 89, 182, 0.2);
    transform: translateX(5px);
}

.app-coming {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-notify {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-notify input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(155, 89, 182, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.footer-notify button {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-notify button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-credit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit i {
    color: #e74c3c;
    margin: 0 3px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .about-section, .links-section, footer .contact-section {
        padding: 20px;
    }
} 