/* layout/style.css */
/* quentin_Gostoli 
23 novembre 2025
ghostoli.com*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00472d;
    --secondary-color: #008b58;
    --tr-color: #f4e7c9;
    --for-color: #000c07;
    --blanc: #f5fffb;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 35px,
            color-mix(in srgb, var(--blanc), transparent 98%) 35px,
            color-mix(in srgb, var(--blanc), transparent 98%) 70px);
    pointer-events: none;
}

.container {
    background: var(--tr-color);
    padding: 40px;
    border-radius: 5px;
    max-width: 600px;
    position: relative;
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(500px);
    }

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

.logo {
    max-width: 100px;
    margin: 0px auto 40px;
}

h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

h2 {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.message {
    color: var(--for-color);
    opacity: 0.7;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.status {
    display: inline-block;
    background: var(--primary-color);
    color: var(--blanc);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: .95rem;
    letter-spacing: 1px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* Shimmer utilisant --blanc */
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--blanc), transparent 80%), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

.loading-dots {
    margin-left: 5px;
}

.loading-dots::after {
    content: '.';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60% {
        content: '...';
    }

    80%,
    100% {
        content: '';
    }
}

.contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid color-mix(in srgb, var(--primary-color), transparent 80%);
}

.contact p {
    color: var(--for-color);
    opacity: 0.6;
    font-size: .9rem;
    margin-bottom: 10px;
}

.contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
}

.contact a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {
        padding: 40px 30px;
        margin: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: .9rem;
    }

    .logo {
        width: 100px;
        height: 100px;
        margin-bottom: 5em;
    }
}