/* Contact Section Styling */
.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Messages de succès et d'erreur */
.error-notification {
    animation: slideInDown 0.5s ease-out;
}

.error-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #f87171;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.error-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.error-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.error-text {
    flex: 1;
}

.error-title {
    font-size: 16px;
    font-weight: 600;
    color: #991b1b;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.error-description {
    font-size: 14px;
    color: #b91c1c;
    margin: 0;
    line-height: 1.5;
}

/* Message de succès Enterprise (Google Style) */
.enterprise-success-message {
    animation: slideInFromTop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 16px 0;
}

.success-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #10b981;
    border-radius: 8px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.success-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.success-icon-wrapper {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.success-check-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
}

.success-message-content {
    flex: 1;
    min-width: 0;
}

.success-title {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    line-height: 1.4;
    margin: 0 0 2px 0;
}

.success-subtitle {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.success-dismiss-btn {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    margin-top: -2px;
}

.success-dismiss-btn:hover {
    background-color: #f3f4f6;
    color: #6b7280;
}

.success-dismiss-btn:active {
    background-color: #e5e7eb;
    transform: scale(0.95);
}

.dismiss-icon {
    width: 16px;
    height: 16px;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Animations personnalisées */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes float-vertical {
    0%, 100% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
}

@keyframes pulse-orange {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Classes utilitaires pour les animations */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-float-slow {
    animation: float-slow 3s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 2s ease-in-out infinite;
}

.animate-float-fast {
    animation: float-fast 1.5s ease-in-out infinite;
}

.animate-float-vertical {
    animation: float-vertical 3s ease-in-out infinite;
}

.animate-pulse-orange {
    animation: pulse-orange 2s ease-in-out infinite;
}

.animate-slideInDown {
    animation: slideInDown 0.5s ease-out;
}

.animate-slideOutUp {
    animation: slideOutUp 0.3s ease-in forwards;
}