/* ==========================================
 *  CORES DA MARCA
 *  ========================================== */

:root {
    --preto: #292929;
    --vermelho: #d71920;
    --cinza: #666666;
    --cinza-claro: #f5f5f5;
    --branco: #ffffff;
}


/* ==========================================
 *  CONFIGURAÇÕES GERAIS
 *  ========================================== */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family:
    Arial,
    Helvetica,
    sans-serif;

    background: var(--cinza-claro);
    color: var(--preto);
}


/* ==========================================
 *  PÁGINA
 *  ========================================== */

.pagina {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;
}


/* ==========================================
 *  CONTEÚDO PRINCIPAL
 *  ========================================== */

.conteudo {
    width: min(1100px, 100%);

    display: grid;

    grid-template-columns:
    minmax(0, 1fr)
    minmax(300px, 420px);

    align-items: center;

    gap: clamp(50px, 8vw, 110px);
}


/* ==========================================
 *  TEXTO
 *  ========================================== */

.texto {
    max-width: 600px;
}


/* Título */

.texto h1 {
    margin: 0 0 28px;

    font-size:
    clamp(42px, 5.2vw, 68px);

    line-height: 1.03;

    letter-spacing: -2px;

    font-weight: 800;
}


/* Palavra destacada */

.texto h1 span {
    color: var(--vermelho);
}


/* Texto secundário */

.texto p {
    margin: 0 0 35px;

    font-size: 20px;

    line-height: 1.6;

    color: var(--cinza);
}

.texto p i {
    color: var(--preto);
}


/* ==========================================
 *  BOTÃO PRINCIPAL
 *  ========================================== */

.btn-avise {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 170px;

    padding:
    16px 30px;

    border: 0;

    border-radius: 5px;

    background: var(--vermelho);
    color: var(--branco);

    font-size: 16px;

    font-weight: 800;

    letter-spacing: 0.5px;

    cursor: pointer;

    box-shadow:
    0 5px 15px
    rgba(215, 25, 32, 0.20);

    transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}


.btn-avise:hover {
    background: #b9151b;

    transform:
    translateY(-2px);

    box-shadow:
    0 8px 20px
    rgba(215, 25, 32, 0.28);
}


.btn-avise:active {
    transform:
    translateY(0);
}


/* ==========================================
 *  LOGO
 *  ========================================== */

.logo-area {
    display: flex;

    align-items: center;
    justify-content: center;
}


.logo {
    display: block;

    width: 100%;
    max-width: 330px;

    height: auto;
}


/* Escondido no desktop */

.marca-mobile {
    display: none;
}


/* ==========================================
 *  MODAL
 *  ========================================== */

.modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 1000;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
    rgba(0, 0, 0, 0.68);

    backdrop-filter: blur(3px);
}


.modal.aberto {
    display: flex;
}


/* Caixa */

.modal-conteudo {
    position: relative;

    width:
    min(450px, 100%);

    padding:
    35px 40px 40px;

    border-top:
    5px solid var(--vermelho);

    border-radius: 8px;

    background: var(--branco);

    box-shadow:
    0 20px 60px
    rgba(0, 0, 0, 0.30);

    animation:
    aparecer 0.2s ease;
}


@keyframes aparecer {

    from {
        opacity: 0;

        transform:
        translateY(-12px)
        scale(0.98);
    }

    to {
        opacity: 1;

        transform:
        translateY(0)
        scale(1);
    }

}


/* ==========================================
 *  LOGO DO MODAL
 *  ========================================== */

.modal-marca {
    display: flex;

    justify-content: center;

    margin-bottom: 20px;
}


.modal-marca img {
    width: 120px;

    height: auto;
}


/* ==========================================
 *  TÍTULO DO MODAL
 *  ========================================== */

.modal-conteudo h2 {
    margin:
    0 0 10px;

    text-align: center;

    font-size: 30px;

    line-height: 1.1;
}


.modal-conteudo p {
    margin:
    0 0 25px;

    text-align: center;

    font-size: 16px;

    line-height: 1.5;

    color: var(--cinza);
}


/* ==========================================
 *  BOTÃO FECHAR
 *  ========================================== */

.fechar {
    position: absolute;

    top: 10px;
    right: 14px;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #777;

    font-size: 30px;

    line-height: 36px;

    cursor: pointer;
}


.fechar:hover {
    color: var(--preto);
}


/* ==========================================
 *  CAMPOS
 *  ========================================== */

.campo {
    margin-bottom: 18px;
}


.campo label {
    display: block;

    margin-bottom: 7px;

    font-size: 15px;

    font-weight: 700;
}


.campo input {
    display: block;

    width: 100%;

    padding:
    13px 14px;

    border:
    1px solid #cccccc;

    border-radius: 5px;

    background: #fafafa;

    color: var(--preto);

    font-family: inherit;

    font-size: 16px;

    outline: none;

    transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}


.campo input:focus {
    border-color:
    var(--vermelho);

    background: var(--branco);

    box-shadow:
    0 0 0 3px
    rgba(215, 25, 32, 0.10);
}


/* ==========================================
 *  HONEYPOT
 *  ========================================== */

.campo-escondido {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* ==========================================
 *  BOTÃO DO FORMULÁRIO
 *  ========================================== */

.btn-enviar {
    display: block;

    width: 100%;

    margin-top: 8px;

    padding:
    15px;

    border: 0;

    border-radius: 5px;

    background: var(--vermelho);

    color: var(--branco);

    font-family: inherit;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 0.4px;

    cursor: pointer;

    transition:
    background 0.15s ease,
    opacity 0.15s ease;
}


.btn-enviar:hover {
    background: #b9151b;
}


.btn-enviar:disabled {
    opacity: 0.55;

    cursor: wait;
}


/* ==========================================
 *  MENSAGENS
 *  ========================================== */

.mensagem {
    min-height: 20px;

    margin-top: 15px;

    text-align: center;

    font-size: 14px;

    line-height: 1.4;
}


.mensagem.sucesso {
    color: #267326;
}


.mensagem.erro {
    color: #a00000;
}


/* ==========================================
 *  RESPONSIVIDADE
 *  ========================================== */

@media (max-width: 800px) {

    .pagina {
        padding:
        40px 25px;
    }


    .conteudo {
        grid-template-columns: 1fr;

        gap: 45px;

        text-align: center;
    }


    .texto {
        max-width: 600px;

        margin:
        0 auto;
    }


    .logo-area {
        order: -1;
    }


    .logo {
        width: 220px;
    }


    .texto h1 {
        letter-spacing: -1.5px;
    }


    .texto p {
        font-size: 18px;
    }

}


/* ==========================================
 *  CELULARES PEQUENOS
 *  ========================================== */

@media (max-width: 480px) {

    .pagina {
        padding:
        30px 20px;
    }


    .conteudo {
        gap: 30px;
    }


    .logo {
        width: 180px;
    }


    .texto h1 {
        font-size: 40px;

        line-height: 1.05;
    }


    .texto p {
        font-size: 17px;

        line-height: 1.5;
    }


    .btn-avise {
        width: 100%;

        max-width: 280px;
    }


    .modal {
        padding:
        15px;
    }


    .modal-conteudo {
        padding:
        30px 22px 25px;
    }


    .modal-marca img {
        width: 100px;
    }


    .modal-conteudo h2 {
        font-size: 27px;
    }

}


/* ==========================================
 *  ACESSIBILIDADE
 *  ========================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}
