/* ===== RESET ET BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===== ANIMATION D'ARRIÈRE-PLAN ===== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(74, 144, 226, 0.08) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

/* ===== CONTENEUR PRINCIPAL ===== */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* ===== LOGO ===== */
.logo-container {
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.logo {
    text-align: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 20px rgba(74, 144, 226, 0.2));
}

.logo-text {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 0.5rem;
}

.logo-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6c757d;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== CONTENU PRINCIPAL ===== */
.content {
    text-align: center;
    max-width: 600px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.message {
    font-size: 1.25rem;
    color: #495057;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

.email-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.email-link:hover {
    color: #357abd;
    border-bottom-color: #4a90e2;
    transform: translateY(-1px);
}

/* ===== INDICATEUR DE PROGRESSION ===== */
.progress-indicator {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(74, 144, 226, 0.2);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a90e2, #357abd);
    border-radius: 2px;
    animation: progressAnimation 3s ease-in-out infinite;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes progressAnimation {
    0%, 100% {
        width: 30%;
        transform: translateX(0);
    }
    50% {
        width: 70%;
        transform: translateX(30%);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
}

/* ===== FOOTER ===== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(74, 144, 226, 0.1);
    animation: fadeInUp 1s ease-out 1.2s both;
}

.footer p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    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);
    }
}

/* ===== RESPONSIVITÉ ===== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 2.5rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .message {
        font-size: 1.1rem;
    }
    
    .contact {
        font-size: 1rem;
    }
    
    .progress-bar {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1.75rem;
    }
    
    .message {
        font-size: 1rem;
    }
    
    .footer {
        padding: 1rem;
    }
    
    .footer p {
        font-size: 0.8rem;
    }
}

/* ===== EFFETS DE SURVOL ET INTERACTIONS ===== */
@media (hover: hover) {
    .logo:hover .logo-text {
        background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .email-link:hover {
        text-shadow: 0 2px 4px rgba(74, 144, 226, 0.2);
    }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== MODE SOMBRE (OPTIONNEL) ===== */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        color: #e9ecef;
    }
    
    .background-animation {
        background: 
            radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(74, 144, 226, 0.12) 0%, transparent 50%);
    }
    
    .title {
        color: #e9ecef;
    }
    
    .message {
        color: #adb5bd;
    }
    
    .contact {
        color: #6c757d;
    }
    
    .logo-subtitle {
        color: #adb5bd;
    }
    
    .progress-text {
        color: #adb5bd;
    }
    
    .footer {
        background: rgba(26, 26, 26, 0.8);
        border-top-color: rgba(74, 144, 226, 0.2);
    }
    
    .footer p {
        color: #6c757d;
    }
} 