@font-face {font-family: "Mulish"; src: url("../assets/fontes/Mulish-VariableFont_wght.ttf") format("truetype");}
@font-face {font-family: "Qurova"; src: url("../assets/fontes/Qurova-VF.ttf") format("truetype");}

*{ box-sizing: border-box; }

body
{
    --fundo: url("../assets/imagens/fundo-2.jpg");
    --gradient1: rgba(0, 0, 0, 0.2);
    --gradient2: rgba(0, 0, 0, 0.5);
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(var(--gradient1), var(--gradient2)), var(--fundo);
    background-size: cover;
    background-position: center left;
    font-family: "Mulish", sans-serif;
    color: white;
}

body.pagina-manutencao
{
    --fundo: url("../assets/imagens/fundo-1.jpg");
    --gradient1: rgba(0, 0, 0, 0.8);
    --gradient2: rgba(0, 0, 0, 0.35);
    background-position: center center;
}

.logo { position: absolute; top: -35px; left: 10px; z-index: 10; }

.logo img { width: 150px; height: auto; display: block; }

.textbox 
{
    width: min(90%, 960px);
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 15px;
}

.textbox h1 { margin-bottom: 10px; }

.textbox p
{
    width: 100%;
    max-width: 100%;
    margin: 0 auto 18px;
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.textbox button 
{
    font-family: "Mulish", sans-serif;
    padding: clamp(8px, 1.2vw, 12px) clamp(18px, 2.5vw, 30px);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 600;
}

.especial { font-family: "Qurova", sans-serif; }

.cabecalho
{
    position: absolute;
    top: clamp(16px, 3vw, 32px);
    right: clamp(16px, 3vw, 32px);
}

.navegacao
{
    display: flex;
    gap: clamp(8px, 1.2vw, 16px);
}

.frase
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-20%, -50%) scale(0.9);
    width: 50%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: center;
    font-size: clamp(20px, 2vw, 48px);
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 1000ms ease, transform 700ms ease;
    cursor: pointer;
}

.frase:focus-visible { outline: 2px solid white; outline-offset: 8px; }

.frase.visivel { opacity: 1; transform: translate(-20%, -50%) scale(1); }

.destaque { font-family: "Qurova"; font-weight: 600; color: #88110B; text-shadow: none; }
.oculta { display: none; }

@media (max-width: 700px)
{
    body { padding: 24px 16px; }

    body:has(.cabecalho)
    {
        right: clamp(16px, 3vw, 32px);
        justify-content: center;
    }

    body:has(.cabecalho) .cabecalho
    {
        top: 30%;
        left: 4%;
        transform: translateY(-50%);
    }

    .logo { left: 50%; transform: translateX(-50%); }

    .textbox { width: 100%; padding: 16px; }

    .textbox h1 { margin: 0 0 8px; font-size: 28px; }

    .textbox p { width: auto; font-size: 18px; }

    .textbox button { display: block; margin: 0 auto; }

    .navegacao
    {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .navegacao a
    {
        width: max-content;
        font-size: clamp(13px, 3.8vw, 16px);
    }

    .frase
    {
        top: 75%;
        width: 75%;
        transform: translate(-50%, -50%) scale(0.9);
        font-size: clamp(24px, 1vw, 40px);
    }

    .frase.visivel { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}