/* === STYLES GÉNÉRAUX PAGES LÉGALES === */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 40px;
    line-height: 1.7;
    color: #2c3e50;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 20px;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.legal-subtitle {
    color: #7f8c8d;
    font-style: italic;
    font-size: 1rem;
}

.legal-content {
    font-size: 1.1rem;
}

.legal-content h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

.legal-content h3 {
    color: #34495e;
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul, .legal-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.legal-footer-note {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid #e74c3c;
}

.legal-footer-note p {
    margin: 0;
    font-style: italic;
    color: #2c3e50;
}

/* === STYLES FAQ === */
.faq-section {
    margin-bottom: 40px;
}

.faq-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0 0 15px;
    font-weight: 600;
}

.faq-item p {
    margin: 0;
    color: #34495e;
    line-height: 1.6;
}

/* === STYLES PAGE CONTACT === */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px;
    color: #2c3e50;
}

.contact-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateX(-50px) translateY(-50px); }
    100% { transform: translateX(50px) translateY(50px); }
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.contact-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 700px;
}

.contact-form-section {
    padding: 50px 40px;
    background: white;
}

.contact-info-section {
    padding: 50px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    border-left: 1px solid #e9ecef;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.contact-info-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

/* === MESSAGES D'ÉTAT === */
.contact-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.contact-errors {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.contact-errors p {
    margin: 0 0 8px 0;
    font-weight: 500;
}

.contact-errors p:last-child {
    margin-bottom: 0;
}

/* === FORMULAIRE === */
.contact-form {
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #2c3e50;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233498db" stroke-width="2"><polyline points="6,9 12,15 18,9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 500 !important;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
    transform: scale(1.2);
    accent-color: #3498db;
}

.contact-submit {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.contact-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.contact-submit:hover::before {
    left: 100%;
}

.contact-submit:active {
    transform: translateY(-1px);
}

/* === INFORMATIONS DE CONTACT === */
.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3498db, #2980b9);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #7f8c8d;
    line-height: 1.6;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.response-time {
    background: linear-gradient(135deg, #e8f6f3, #d5f4e6);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #1abc9c;
    position: relative;
}

.response-time::before {
    content: '⏱️';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.response-time h3 {
    color: #16a085;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.response-time p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
}

/* === SECTION ADDITIONNELLE === */
.contact-additional {
    background: white;
    padding: 50px 40px;
    margin-top: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-additional h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.contact-additional h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-item {
    background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-item h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.info-item p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* === STYLES TABLEAUX RESPONSIVE === */
.table-container {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.legal-table th,
.legal-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.legal-table th {
    background: #34495e;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.legal-table tr:hover {
    background: #f8f9fa;
}

.legal-table td {
    color: #2c3e50;
}

/* === STYLES FOOTER === */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-column h4 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-column a,
.footer-column span {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #3498db;
}

.footer-column span {
    color: #7f8c8d;
    cursor: default;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-legal-warnings {
    margin-bottom: 20px;
}

.footer-legal-warnings p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #95a5a6;
    line-height: 1.5;
}

.copyright {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info-section {
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 80px 15px 30px;
    }
    
    .contact-header {
        padding: 40px 30px;
    }
    
    .contact-header h1 {
        font-size: 2.2rem;
    }
    
    .contact-description {
        font-size: 1.1rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 40px 30px;
    }
    
    .contact-additional {
        padding: 40px 30px;
    }
    
    .legal-container {
        padding: 80px 15px 30px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        font-size: 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 70px 10px 20px;
    }
    
    .contact-header {
        padding: 30px 20px;
    }
    
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 30px 20px;
    }
    
    .contact-additional {
        padding: 30px 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 15px;
    }
    
    .contact-submit {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .response-time {
        padding: 20px;
    }
    
    .info-item {
        padding: 25px 20px;
    }
    
    .legal-container {
        padding: 70px 10px 20px;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .faq-item {
        padding: 15px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}