/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #1f2937;
    margin: 0;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.maintenance-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 80px 60px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out;
}

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

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

/* Logo et titre */
.logo-section {
    margin-bottom: 32px;
}

.logo {
    margin-bottom: 24px;
    animation: logoFade 1s ease-out 0.3s both;
}

@keyframes logoFade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-section h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #181E50;
    margin: 0 0 8px 0;
    letter-spacing: 0.05em;
    animation: titleFade 1s ease-out 0.5s both;
}

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

.company-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 0.025em;
    animation: subtitleFade 1s ease-out 0.7s both;
}

@keyframes subtitleFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contenu principal */
.content h2 {
    font-size: 1.75rem;
    font-weight: 300;
    color: #181E50;
    margin-bottom: 16px;
    letter-spacing: 0.025em;
    animation: contentFade 1s ease-out 0.9s both;
}

@keyframes contentFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 40px;
    animation: contentFade 1s ease-out 1.1s both;
}

/* Contact simple */
.simple-contact {
    margin-top: 32px;
}

.simple-contact p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.phone-number {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 36px;
    background: #181E50;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
    box-shadow: 0 4px 15px rgba(24, 30, 80, 0.3);
    position: relative;
    overflow: hidden;
    animation: buttonFade 1s ease-out 1.3s both;
}

.phone-number::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;
}

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

.phone-number:hover {
    background: #0f1629;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 30, 80, 0.4);
}

.phone-number:hover::before {
    left: 100%;
}

.phone-number:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(229, 231, 235, 0.3);
    padding-top: 32px;
    margin-top: 40px;
    animation: footerFade 1s ease-out 1.5s both;
}

@keyframes footerFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer p {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
}

.social-links {
    display: none;
}

/* Responsive */
@media (max-width: 640px) {
    .maintenance-card {
        padding: 24px;
        margin: 10px;
    }
    
    .logo-section h1 {
        font-size: 2rem;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .status-info {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .contact-info {
        padding: 16px;
    }
    
    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .contact-methods {
        gap: 8px;
    }
    
    .contact-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .maintenance-card {
        padding: 20px;
    }
    
    .logo-section h1 {
        font-size: 1.75rem;
    }
    
    .content h2 {
        font-size: 1.25rem;
    }
}

/* Animation d'entrée pour les éléments */
.status-info,
.progress-section,
.contact-info {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.footer {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}