/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #f8f9fa;
    --text-main: #111111;
    --text-muted: #4a4a4a;
    --accent-color: #0071e3; /* Bleu technologique style Apple */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Layout */
.container {
    width: 100%;
    max-width: 650px;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
}

/* Logo - Agrandi et rapproché du texte */
.logo-area {
    margin-bottom: 0.5rem; /* Espace réduit pour rapprocher le texte (anciennement 3.5rem) */
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease forwards;
}

.main-logo {
    width: 480px !important; 
    max-width: 100%; 
    height: auto;
    object-fit: contain;
}

/* Content */
.content {
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.4s forwards;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #111111 0%, #444444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
    max-width: 540px;
    margin: 0 auto;
}

/* Badge Status - AGRANDI */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem; /* Espace légèrement agrandi */
    background-color: rgba(0, 0, 0, 0.07); /* Fond légèrement plus visible */
    padding: 0.75rem 1.5rem; /* Padding augmenté */
    border-radius: 30px; /* Bordure plus arrondie */
    font-size: 1.1rem; /* Police nettement plus grande */
    font-weight: 600; /* Plus gras */
    color: var(--text-main);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Bordure subtile ajoutée */
}

.pulse-dot {
    width: 12px; /* Point plus grand */
    height: 12px; /* Point plus grand */
    background-color: #34c759; /* Vert actif */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    animation: pulse 1.6s infinite;
}

/* Footer */
.footer {
    font-size: 0.813rem;
    color: #8e8e93;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

/* Animations */
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); /* Zone de pulsation agrandie */
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    h1 {
        font-size: 1.95rem;
    }
    .subtitle {
        font-size: 1.05rem;
    }
    /* Adaptation du badge sur mobile */
    .badge-status {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    .pulse-dot {
        width: 10px;
        height: 10px;
    }
}