/* Styles de base */
.cse-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Section Titre */
.cse-title-section {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 0.8s ease forwards;
}

.cse-main-title {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cse-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Infos */
.cse-info-section {
    margin-bottom: 60px;
}

.cse-info-container {
    overflow: hidden;
    position: relative;
}

.cse-slide-track {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cse-info-block {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-100px);
}

.cse-info-block:nth-child(2) {
    transform: translateY(100px);
    opacity: 0;
}

.cse-info-block:nth-child(3) {
    transform: translateX(100px);
    opacity: 0;
}

.cse-info-block.visible {
    opacity: 1;
    transform: translate(0, 0) !important;
}

.cse-info-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.cse-icon {
    color: #3498db;
    margin-bottom: 20px;
}

.cse-info-block h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.cse-info-block p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Section Formulaire */
.cse-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px;
    border-radius: 20px;
    margin-top: 40px;
}

.cse-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.cse-info-message h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.cse-info-message p {
    color: #5d6d7e;
    line-height: 1.7;
    margin-bottom: 25px;
}

.cse-response-time, .cse-support {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #2ecc71;
}

.cse-support {
    border-left-color: #3498db;
}

.cse-response-time h4, .cse-support h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Formulaire */
.cse-contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cse-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cse-form-group {
    margin-bottom: 20px;
}

.cse-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.cse-form-group input,
.cse-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.cse-form-group input:focus,
.cse-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.cse-submit-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cse-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.cse-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#cse-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.cse-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cse-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

/* Responsive */
@media (max-width: 992px) {
    .cse-form-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cse-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .cse-slide-track {
        flex-direction: column;
        align-items: center;
    }
    
    .cse-info-block {
        max-width: 100%;
    }
    
    .cse-form-section {
        padding: 30px 20px;
    }
    
    .cse-contact-form {
        padding: 30px 20px;
    }
    
    .cse-main-title {
        font-size: 2.2rem;
    }
}