@import url('common.css');

body {
    background-image:
        linear-gradient(180deg, var(--overlay-top) 0%, var(--overlay-bottom) 100%),
        url(../img/back.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--ink);
    user-select: none;
    overflow: hidden;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

.container-fluid {
    margin-top: 0;
}

.hero-card {
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    background: rgba(6, 20, 22, 0.35);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-width: 720px;
}

.titre {
    animation: rtf-rise 0.9s ease both;
}

h2 {
    margin-top: -1.2rem;
    animation: rtf-rise 0.9s 0.1s ease both;
}

h3 {
    margin-top: 1.4rem;
    font-style: italic;
    color: var(--ink-faint);
    animation: rtf-rise 0.9s 0.2s ease both;
}

.hero-card .btn-primary {
    animation: rtf-rise 0.9s 0.3s ease both;
}

@keyframes rtf-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivité pour les tablettes */
@media (max-width: 768px) {
    .hero-card {
        padding: 32px 24px;
    }
}

/* Responsivité pour les petits écrans */
@media (max-width: 576px) {
    .hero-card {
        padding: 24px 18px;
        border-radius: var(--radius-md);
    }
}
