* {
    box-sizing: border-box;
}

.error-page {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    color: #f8f6f3;
    /* Textura e laranja do menu de escapehotel.com.br, conferidos em 27/10/2026.
       Imagem: /wp-content/uploads/2023/08/texture-bg-color-eh.jpg (servida como WebP). */
    background: #191118 url("/images/texture-bg-color-eh.webp") repeat center center;
    font-family: "Quattrocento Sans", sans-serif;
}

.error-page__main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.error-page__content {
    width: 100%;
    max-width: 640px;
}

.error-page__logo {
    display: block;
    width: auto;
    height: 88px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 40px;
}

.error-page__code {
    margin: 0 0 18px;
    color: #ff4600;
    font-family: "Roboto", sans-serif;
    font-size: clamp(96px, 18vw, 160px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.06em;
    text-shadow: 0 8px 48px rgba(255, 70, 0, 0.12);
}

.error-page h1 {
    margin: 0 0 16px;
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.error-page__description {
    margin: 0;
    color: #c6bdb7;
    font-size: 18px;
    line-height: 1.6;
}

.error-page .footer-alt {
    padding: 22px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
}

.error-page .copy-rights {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 12px;
    margin: 0;
    color: #aaa19b;
    font-size: 14px;
    line-height: 1.6;
}

.error-page a {
    color: #f8f6f3;
    text-decoration: none;
    text-underline-offset: 4px;
}

.error-page a:hover {
    color: #ff4600;
    text-decoration: underline;
}

.error-page a:focus-visible {
    outline: 2px solid #ff4600;
    outline-offset: 5px;
    border-radius: 2px;
}

@media (max-width: 480px) {
    .error-page__main {
        padding: 36px 20px;
    }

    .error-page__logo {
        height: 72px;
        margin-bottom: 32px;
    }

    .error-page__description {
        font-size: 16px;
    }

    .error-page .copy-rights {
        flex-direction: column;
    }

    .error-page__separator {
        display: none;
    }
}
