/* ======================================================
   RESET
====================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ======================================================
   BODY
====================================================== */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #333;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


/* ======================================================
   HEADER
====================================================== */

header {
    width: 100%;
    height: 55px;

    background: #05013a;
    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}

header .btn {
    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0;
    margin: 0;

    border: none;
    background: transparent;

    color: #fff;

    font-size: 28px;
    line-height: 42px;

    cursor: pointer;
}


/* ======================================================
   ÁREA CENTRAL
====================================================== */

main {
    flex: 1;

    width: 100%;
    max-width: 700px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    background-color: white;
}


/* ======================================================
   LOGOMARCA
====================================================== */

.logomarca {
    margin: 20px 0 30px;
    padding: 0;

    text-align: center;
}

.logomarca > figure {
    margin: 0;
}

.logomarca > figure > img {
    width: 260px;

    display: block;

    margin: 0 auto 4px;
}

.logomarca > p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #3b3555;
}


/* ======================================================
   CARD DO PLANO
====================================================== */

.recipiente {
    background: #efe6f6;
    border-radius: 30px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.cabecalho {
    background-color: #05013a;
    color: white;

    text-align: center;

    padding: 15px;

    font-size: 24px;
    font-weight: bold;

    border-radius: 30px 0;
}

.conteudo {
    padding: 30px;
}

.anuncio {
    width: 100%;
    max-width: 700px;

    margin: 0 auto 20px;

    padding: 30px 65px;
}


/* ======================================================
   IMAGEM
====================================================== */

.anuncio .imagem {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.anuncio .imagem img {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 12px;

    box-shadow: 0 5px 12px rgba(0, 0, 0, .08);
}


/* ======================================================
   RODAPÉ DO PLANO
====================================================== */

.rodape {
    margin-top: 18px;

    text-align: center;

    font-size: 22px;
    color: #222;

    line-height: 1.6;
}

.umavezporano {
    display: inline-block;

    margin-left: 6px;
    padding: 4px 12px;

    background: #ffd84d;
    color: #000;

    font-weight: bold;

    border-radius: 4px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
}


/* ======================================================
   CARD VANTAGENS DO ANÚNCIO
====================================================== */

.vantagens-anuncio {
    width: 100%;

    margin: 0 auto 50px;

    padding: 30px 65px;

    background: white;

    border-radius: 20px;
}

.vantagens-anuncio ul {
    list-style: none;

    margin: 0;
    padding: 10px;

    background: #efe6f6;

    border-radius: 30px;

    overflow: hidden;
}

.vantagens-anuncio li {
    position: relative;

    padding: 18px 20px 18px 58px;

    font-size: 17px;
    color: #333;

    line-height: 1.6;

    transition: .25s;
}

.vantagens-anuncio li:last-child {
    border-bottom: none;
}


/* ======================================================
   ÍCONE DAS VANTAGENS
====================================================== */

.vantagens-anuncio li::before {
    content: "✓";

    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: #060a42;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 15px;
    font-weight: bold;

    box-shadow: 0 2px 6px rgba(11, 0, 168, .25);
}


/* ======================================================
   FORMULÁRIO
====================================================== */

.container {
    width: 100%;
    max-width: 700px;

    background-color: #0b1f4d;

    border-radius: 0;

    padding: 35px 65px 70px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}


/* ======================================================
   TÍTULOS
====================================================== */

h1 {
    text-align: center;

    margin-bottom: 10px;

    color: #05013a; /*color: #66769c;*/

    font-size: 34px;
    
    font-family: Arial, Helvetica, sans-serif;

    font-weight: bold;
}

/*
h1 p {
    font-size: 15px;
    color: #666;

    font-family: Arial, Helvetica, sans-serif;
}
*/

h2 {
    text-align: center;

    color: white;

    margin: 35px 0;

    font-size: 28px;
}

h2 > span {
    color: #4896c7;
}


/* ======================================================
   FORM
====================================================== */

form {
    display: flex;
    flex-direction: column;

    gap: 22px;

    background: #fff;

    padding: 25px;

    border-radius: 10px;
}


/* ======================================================
   LABELS
====================================================== */

label {
    display: block;

    margin-bottom: 8px;

    font-weight: bold;

    color: #444;
}


/* ======================================================
   CAMPOS
====================================================== */

input,
select,
textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #cfd7df;
    border-radius: 10px;

    background: #fff;

    font-size: 16px;

    transition: .25s;
}

textarea {
    min-height: 130px;
    resize: vertical;
}


/* ======================================================
   FOCO DOS CAMPOS
====================================================== */

input:focus,
select:focus,
textarea:focus {
    outline: none;

    border-color: #0b5d91;

    box-shadow: 0 0 0 4px rgba(11, 93, 145, .10);
}

/* ======================================================
   CATEGORIAS
====================================================== */

div#categorias-container {
    gap: 10px;
    display: grid;
}

/* ======================================================
   BOTÃO
====================================================== */

button {
    width: 100%;

    padding: 16px;

    background: #0b1f4d;
    color: #fff;

    border: none;
    border-radius: 10px;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition: .25s;
}

button:hover {
    background: #16357c;

    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}


/* ======================================================
   AVISO DOS CAMPOS
====================================================== */

.aviso-campo {
    display: none;

    position: relative;

    margin-top: 8px;
    padding: 12px 14px;

    background: #fff7d8;
    color: #8a6200;

    border: 1px solid #f2d37a;
    border-radius: 8px;

    font-size: 14px;
    line-height: 1.5;
}

.aviso-campo::before {
    content: "";

    position: absolute;

    top: -10px;
    left: 18px;

    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f2d37a;
}

.aviso-campo::after {
    content: "";

    position: absolute;

    top: -8px;
    left: 19px;

    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff7d8;
}


/* ======================================================
   ERROS DOS CAMPOS
====================================================== */

.erro-campo {
    display: none;

    margin-top: 6px;

    color: #d93025;

    font-size: 13px;
}

.campo-valido {
    border-color: #1e9c52 !important;
}

.campo-invalido {
    border-color: #d93025 !important;
}


/* ======================================================
   SUCESSO / ERRO GERAL
====================================================== */

.aviso-sucesso {
    margin-bottom: 20px;
    padding: 15px;

    background: #e8f7ee;
    color: #1b6f3c;

    border: 1px solid #b7dfc4;
    border-radius: 8px;

    font-weight: bold;
}

.aviso-erro-geral {
    margin-bottom: 20px;
    padding: 15px;

    background: #fdeaea;
    color: #b3261e;

    border: 1px solid #f1b0ab;
    border-radius: 8px;

    font-weight: bold;
}


/* ======================================================
   CAMPOS DESABILITADOS
====================================================== */

input:disabled,
select:disabled,
button:disabled {
    opacity: .6;
    cursor: not-allowed;
}


/* ======================================================
   HONEYPOT
====================================================== */

.campo-oculto {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

/* ======================================================
   RESPONSIVO - TABLET
====================================================== */

@media (max-width: 768px) {

    .anuncio {
        padding: 15px 45px;
        border-radius: 15px;
    }

    .rodape {
        font-size: 18px;
    }

    .cabecalho {
        padding: 12px;
    }

    .vantagens-anuncio {
        padding: 15px 45px;
    }

    .vantagens-anuncio li {
        font-size: 15px;
        padding: 16px 16px 16px 52px;
    }

    .container {
        padding: 25px 45px 50px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 23px;
        margin: 25px 0;
    }

    input,
    select,
    textarea,
    button {
        font-size: 15px;
    }
}


/* ======================================================
   RESPONSIVO - CELULAR
====================================================== */

@media (max-width: 480px) {

    header {
        padding: 0 15px;
        height: 58px;
    }

    .logomarca > figure > img {
        width: 200px;
    }

    .anuncio {
        padding: 12px 25px;
        border-radius: 12px;
    }

    .rodape {
        font-size: 16px;
        line-height: 1.5;
    }

    .umavezporano {
        display: block;

        margin: 8px auto 0;

        width: max-content;
    }

    .cabecalho {
        padding: 10px;
    }

    .vantagens-anuncio {
        padding: 12px 25px;
        border-radius: 14px;
    }

    .vantagens-anuncio ul {
        border-radius: 30px;
    }

    .vantagens-anuncio li {
        font-size: 14px;
        line-height: 1.5;

        padding: 14px 14px 14px 46px;
    }

    .vantagens-anuncio li::before {
        width: 24px;
        height: 24px;

        left: 14px;

        font-size: 13px;
    }

    .container {
        padding: 18px 25px 43px;
    }

    h1 {
        font-size: 24px;
    }
}

