/**
 * Fichier: css/contact.css
 * Ajouté le: 2026-01-21 06:23:36
 */

/* Styles pour la page de contact */

/* Hero section */
.contact-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-text {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact main section */
.contact-main {
    padding: 60px 0;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
}

/* Contact info */
.contact-info {
    flex: 1;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
    height: fit-content;
}

.info-card {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 20px;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-content p {
    color: #555;
    line-height: 1.5;
}

.info-content a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 40px;
}

.social-links h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Contact form */
.contact-form-container {
    flex: 2;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.required {
    color: #e53935;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.captcha-group {
    max-width: 200px;
}

.privacy-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.privacy-group input {
    margin-top: 3px;
}

.privacy-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-group a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 10px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1b5e20;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.section-title {
    font-size: 28px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

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

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 17px;
    color: #444;
    margin: 0;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 16px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .page-title {
        font-size: 30px;
    }
    
    .contact-main {
        padding: 40px 0;
    }
    
    .map-section, .faq-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 40px 0;
    }
    
    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-form-container {
        padding: 20px 15px;
    }
}