:root {
    --bg: #05070a;
    --primary: #6366f1;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-dim: #94a3b8;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Arrière-plan animé */
.bg-glow {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 85% 85%, rgba(168, 85, 247, 0.1) 0%, transparent 35%);
    z-index: -1;
    filter: blur(60px);
    animation: moveGlow 15s ease-in-out infinite alternate;
}

@keyframes moveGlow {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.1) translate(2%, 2%); }
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 850px;
    width: 92%;
    padding: 20px;
}

/* Animation d'arrivée (Lente) */
.box {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
    animation: reveal 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes reveal {
    to { opacity: 1; transform: translateY(0); }
}

.box:nth-child(1) { animation-delay: 0.2s; }
.box:nth-child(2) { animation-delay: 0.5s; }
.box:nth-child(3) { animation-delay: 0.8s; }

.box:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Contenu du bloc Nom */
.name-box { grid-column: span 2; }
.label {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.intro {
    margin: 0 0 8px 0;
    color: var(--text-dim);
    font-size: 1.1rem;
}
.name-box h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

/* Bloc Statut */
.status-box { grid-column: span 1; align-items: flex-start; }
.status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.status-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 12px #22c55e;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.status-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #22c55e;
    text-transform: uppercase;
}
.status-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0;
}

/* Bloc Contact */
.contact-box {
    grid-column: span 3;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.contact-text h2 { margin: 0; font-size: 1.8rem; font-weight: 800; }
.contact-text p { margin: 8px 0 0; color: var(--text-dim); font-size: 1.1rem; }

.cta-button {
    background: #ffffff;
    color: #05070a;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 800px) {
    .bento-grid { grid-template-columns: 1fr; padding: 40px 20px; }
    .name-box, .status-box, .contact-box { grid-column: span 1; }
    .contact-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .cta-button { width: 100%; box-sizing: border-box; }
}