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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
}

a {
    text-decoration: none;
}


/* ==================================================
   CABEÇALHO / MENU
   ================================================== */

.cabecalho {
    width: 100%;
    padding: 20px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #222;
}

.logo span {
    color: #1769ff;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    color: #333;
    font-weight: 600;
}

.menu a:hover {
    color: #1769ff;
}

.acoes-cabecalho {
    display: flex;
    align-items: center;
    gap: 10px;
}

.conta-menu {
    position: relative;
}

.menu-conta-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 12px 35px rgba(0,0,0,.14);
    z-index: 1000;
}

.menu-conta-dropdown.aberto {
    display: block;
}

.menu-conta-dropdown a,
.menu-conta-dropdown button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #222;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.menu-conta-dropdown a:hover,
.menu-conta-dropdown button:hover {
    background: #f1f5ff;
    color: #1769ff;
}

.menu-conta-dropdown button {
    color: #dc2626;
}

.menu-conta-dropdown button:hover {
    background: #fff1f2;
    color: #dc2626;
}

.botao-conta {
    background: white;
    color: #1769ff;
    border: 2px solid #1769ff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s;
}

.botao-conta:hover,
.botao-conta.logado {
    background: #1769ff;
    color: white;
}

.botao-anunciar {
    background: #1769ff;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
}


/* ==================================================
   BANNER PRINCIPAL
   ================================================== */

.banner {
    padding: 90px 6%;
    background: #1769ff;
    color: white;
    text-align: center;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

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


/* ==================================================
   ÁREA DE PESQUISA
   ================================================== */

.pesquisa {
    width: 88%;
    max-width: 1000px;
    margin: -30px auto 50px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.pesquisa input,
.pesquisa select {
    flex: 1;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.pesquisa button {
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    background: #1769ff;
    color: white;
    font-weight: bold;
    cursor: pointer;
}


/* ==================================================
   CATEGORIAS
   ================================================== */

.categorias {
    padding: 40px 6%;
    text-align: center;
}

.categorias h2 {
    margin-bottom: 30px;
}

.categorias-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.categoria-card {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    color: #222;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: 0.2s;
}

.categoria-card:hover {
    transform: translateY(-5px);
}

.categoria-icone {
    font-size: 40px;
    margin-bottom: 15px;
}

.categoria-card h3 {
    margin-bottom: 10px;
}

.categoria-card p {
    color: #777;
}


/* ==================================================
   PATROCINADORES
   ================================================== */

.area-patrocinadores {
    padding: 60px 6%;
    text-align: center;
    background: white;
}

.area-patrocinadores h2 {
    margin-bottom: 10px;
}

.area-patrocinadores p {
    color: #777;
    margin-bottom: 30px;
}

.patrocinadores-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.patrocinador-card {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
    border-radius: 12px;
    color: #999;
}


/* ==================================================
   ANÚNCIOS EM DESTAQUE
   ================================================== */

.destaques {
    padding: 60px 6%;
}

.destaques h2 {
    margin-bottom: 30px;
}

.anuncios-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.anuncio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.anuncio-imagem {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9edf3;
    color: #888;
}

.anuncio-card h3,
.anuncio-card p {
    margin: 15px 20px 0;
}


/* ==================================================
   RODAPÉ
   ================================================== */

.rodape {
    padding: 40px 6%;
    text-align: center;
    background: #111;
    color: white;
}

.rodape p {
    margin-top: 10px;
    color: #aaa;
}


/* ==================================================
   RESPONSIVIDADE — CELULAR
   ================================================== */

@media (max-width: 760px) {
    .acoes-cabecalho {
        gap: 6px;
    }
    .botao-conta, .botao-anunciar {
        padding: 9px 11px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {

    .cabecalho {
        flex-direction: column;
        gap: 20px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pesquisa {
        flex-direction: column;
    }

    .categorias-container,
    .patrocinadores-container,
    .anuncios-container {
        grid-template-columns: 1fr;
    }

    .banner h1 {
        font-size: 30px;
    }
}


/* ==================================================
   PÁGINA — ESCOLHA DO TIPO DE ANÚNCIO
   ================================================== */

.pagina-anunciar {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 0 80px;
}

.anunciar-cabecalho {
    text-align: center;
    margin-bottom: 40px;
}

.anunciar-etapa {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 20px;
    background: #eaf1ff;
    color: #1769ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.anunciar-cabecalho h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.anunciar-cabecalho p {
    color: #777;
    font-size: 17px;
}


/* ==================================================
   OPÇÕES DE ANÚNCIO
   ================================================== */

.opcoes-anuncio {
    display: grid;
    gap: 16px;
}

.opcao-anuncio {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 15px;
    color: #222;
    border: 1px solid #e8ebf0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.opcao-anuncio:hover {
    transform: translateY(-3px);
    border-color: #1769ff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}

.opcao-icone {
    width: 65px;
    height: 65px;
    flex-shrink: 0;

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

    border-radius: 14px;
    background: #f1f5ff;
    font-size: 32px;
}

.opcao-texto {
    flex: 1;
}

.opcao-texto h2 {
    font-size: 20px;
    margin-bottom: 7px;
}

.opcao-texto p {
    color: #777;
    line-height: 1.5;
}

.opcao-seta {
    font-size: 28px;
    color: #1769ff;
    font-weight: bold;
}


/* ==================================================
   AVISO DE PAGAMENTO
   ================================================== */

.aviso-pagamento {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border: 1px solid #e8ebf0;
    border-radius: 12px;
    text-align: center;
}

.aviso-pagamento strong {
    display: block;
    margin-bottom: 8px;
}

.aviso-pagamento p {
    color: #777;
    line-height: 1.5;
}


/* ==================================================
   RESPONSIVIDADE — PÁGINA DE ANÚNCIO
   ================================================== */

@media (max-width: 768px) {

    .pagina-anunciar {
        padding-top: 45px;
    }

    .anunciar-cabecalho h1 {
        font-size: 28px;
    }

    .opcao-anuncio {
        padding: 18px;
    }

    .opcao-icone {
        width: 52px;
        height: 52px;
        font-size: 25px;
    }

    .opcao-texto h2 {
        font-size: 17px;
    }

    .opcao-texto p {
        font-size: 14px;
    }

    .opcao-seta {
        font-size: 22px;
    }
}


/* ==================================================
   BUSCA — TÍTULO E FORMULÁRIO
   ================================================== */

.pesquisa {
    display: block;
}

.pesquisa-cabecalho {
    text-align: center;
    margin-bottom: 18px;
}

.pesquisa-cabecalho h2 {
    margin-bottom: 7px;
}

.pesquisa-cabecalho p {
    color: #777;
}

.pesquisa-formulario {
    display: flex;
    gap: 10px;
}

.pesquisa-formulario input,
.pesquisa-formulario select {
    min-width: 0;
    flex: 1;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

.pesquisa-formulario button {
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    background: #1769ff;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.pesquisa-formulario button:hover {
    background: #0f57dc;
}


/* ==================================================
   ANÚNCIOS RECENTES
   ================================================== */

.anuncios-recentes {
    padding: 20px 6% 60px;
}

.secao-titulo {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 25px;
}

.etiqueta-secao {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 20px;
    background: #eaf1ff;
    color: #1769ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.link-ver-todos {
    color: #1769ff;
    font-weight: bold;
}


/* ==================================================
   CARD DE ANÚNCIO
   ================================================== */

.anuncio-card {
    padding-bottom: 0;
}

.anuncio-conteudo {
    padding: 18px 20px 20px;
}

.anuncio-tipo {
    display: inline-block;
    margin-bottom: 8px;
    color: #1769ff;
    font-size: 13px;
    font-weight: bold;
}

.anuncio-descricao {
    color: #777;
    line-height: 1.5;
    margin-top: 8px;
}

.anuncio-valor {
    display: block;
    margin-top: 14px;
    font-size: 18px;
}

.anuncio-localizacao {
    color: #666;
    margin-top: 8px;
}

.anuncio-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.botao-ver-anuncio {
    width: 100%;
    margin-top: 15px;
    padding: 11px;
    border: none;
    border-radius: 8px;
    background: #f0f4ff;
    color: #1769ff;
    font-weight: bold;
    cursor: pointer;
}

.botao-ver-anuncio:hover {
    background: #e3ebff;
}


/* ==================================================
   PÁGINA DE RESULTADOS
   ================================================== */

.pagina-resultados {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0 80px;
}

.resultados-cabecalho {
    margin-bottom: 30px;
}

.resultados-cabecalho h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.resultados-cabecalho p {
    color: #777;
}

.pesquisa-resultados {
    width: 100%;
    max-width: none;
    margin: 0 0 35px;
}

.resultados-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.resultados-info span {
    color: #777;
}

.grade-resultados {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nenhum-resultado {
    grid-column: 1 / -1;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.nenhum-resultado div {
    font-size: 45px;
    margin-bottom: 15px;
}

.nenhum-resultado p {
    color: #777;
    margin-top: 8px;
}


/* ==================================================
   RESPONSIVIDADE — BUSCA E RESULTADOS
   ================================================== */

@media (max-width: 768px) {

    .pesquisa-formulario {
        flex-direction: column;
    }

    .secao-titulo,
    .resultados-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .grade-resultados {
        grid-template-columns: 1fr;
    }

    .resultados-cabecalho h1 {
        font-size: 28px;
    }
}


/* ==================================================
   SUBTÍTULO DAS CATEGORIAS
   ================================================== */

.categorias-subtitulo {
    color: #777;
    margin-top: -18px;
    margin-bottom: 30px;
}


/* ==================================================
   CATEGORIAS — ENCONTRAR ANÚNCIOS
   ================================================== */

.categoria-card {
    cursor: pointer;
}

.categoria-card h3 {
    font-size: 21px;
}

.categoria-card p {
    line-height: 1.5;
}


/* ==================================================
   PÁGINA — PLANOS DE TRABALHO
   ================================================== */

.pagina-planos {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 0 80px;
}

.planos-cabecalho {
    text-align: center;
    margin-bottom: 45px;
}

.voltar-planos {
    display: inline-block;
    margin-bottom: 25px;
    color: #1769ff;
    font-weight: bold;
}

.planos-cabecalho h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.planos-cabecalho p {
    color: #777;
    font-size: 17px;
}


/* ==================================================
   CARDS DOS PLANOS
   ================================================== */

.planos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.plano-card {
    position: relative;
    display: flex;
    flex-direction: column;

    padding: 30px 25px 25px;

    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.plano-card:hover {
    transform: translateY(-4px);
    transition: 0.2s;
}

.plano-destaque {
    border: 2px solid #1769ff;
    box-shadow: 0 12px 35px rgba(23,105,255,0.15);
}

.plano-premium {
    border: 2px solid #6c3cff;
}

.plano-topo {
    text-align: center;
}

.plano-indicador {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
}

.plano-topo h2 {
    margin-top: 14px;
    font-size: 34px;
}

.plano-topo p {
    margin-top: 5px;
    color: #777;
}

.plano-linha {
    height: 1px;
    background: #e8ebf0;
    margin: 25px 0;
}

.plano-inclui {
    margin-bottom: 12px;
    font-weight: bold;
    color: #444;
}


/* ==================================================
   BENEFÍCIOS DOS PLANOS
   ================================================== */

.plano-beneficios {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
    flex: 1;
}

.plano-beneficios li {
    color: #555;
    line-height: 1.4;
}

.plano-beneficios strong {
    color: #222;
}


/* ==================================================
   SELO MAIS ESCOLHIDO
   ================================================== */

.selo-mais-escolhido {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);

    white-space: nowrap;

    padding: 7px 14px;

    border-radius: 20px;

    background: #1769ff;
    color: white;

    font-size: 12px;
    font-weight: 800;
}


/* ==================================================
   BOTÕES DOS PLANOS
   ================================================== */

.botao-plano {
    display: block;
    width: 100%;

    padding: 14px;

    border-radius: 9px;

    text-align: center;

    font-weight: bold;

    transition: .2s;
}

.botao-essencial {
    background: #eef3ff;
    color: #1769ff;
}

.botao-destaque {
    background: #1769ff;
    color: white;
}

.botao-premium {
    background: #6c3cff;
    color: white;
}

.botao-plano:hover {
    transform: translateY(-2px);
}


/* ==================================================
   AVISO DOS PLANOS
   ================================================== */

.aviso-planos {
    max-width: 850px;
    margin: 35px auto 0;

    padding: 20px;

    background: white;
    border: 1px solid #e4e8ef;
    border-radius: 12px;

    text-align: center;
}

.aviso-planos strong {
    display: block;
    margin-bottom: 8px;
}

.aviso-planos p {
    color: #777;
    line-height: 1.5;
}


/* ==================================================
   PÁGINA — PAGAMENTO
   ================================================== */

.pagina-pagamento {
    min-height: 70vh;

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

    padding: 60px 20px;
}

.pagamento-card {
    width: 100%;
    max-width: 620px;

    padding: 40px;

    background: white;
    border-radius: 18px;

    text-align: center;

    box-shadow: 0 10px 35px rgba(0,0,0,0.07);
}

.pagamento-card h1 {
    margin: 12px 0 10px;
}

.pagamento-subtitulo {
    color: #777;
}

.pagamento-resumo {
    margin: 30px 0;

    padding: 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

    background: #f5f7fa;
    border-radius: 12px;
    text-align: left;
}

.pagamento-resumo span {
    color: #777;
}

.pagamento-resumo strong {
    text-align: right;
}

.pix-em-breve {
    padding: 25px;

    border: 2px dashed #cfd6e2;
    border-radius: 14px;
}

.pix-em-breve div {
    font-size: 38px;
    margin-bottom: 10px;
}

.pix-em-breve h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.pix-em-breve p {
    color: #777;
    line-height: 1.5;
}

.botao-voltar-pagamento {
    display: inline-block;
    margin-top: 25px;
    color: #1769ff;
    font-weight: bold;
}


/* ==================================================
   OPÇÕES AINDA NÃO CONFIGURADAS
   ================================================== */

.opcao-em-breve {
    cursor: default;
}

.opcao-em-breve:hover {
    transform: none;
    border-color: #e8ebf0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}


/* ==================================================
   RESPONSIVIDADE — PLANOS
   ================================================== */

@media (max-width: 900px) {

    .planos-container {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }

    .planos-cabecalho h1 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {

    .pagamento-card {
        padding: 28px 20px;
    }

    .pagamento-resumo {
        grid-template-columns: 1fr;
    }

    .pagamento-resumo strong {
        text-align: left;
    }
}

/* =========================================================
   CADASTRO DO ANÚNCIO PROFISSIONAL
   ========================================================= */

.cadastro-trabalho {
    max-width: 1050px;
    margin: 0 auto;
    padding: 55px 20px 80px;
}

.titulo-pagina {
    text-align: center;
    margin-bottom: 30px;
}

.etiqueta-formulario {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.titulo-pagina h1 {
    margin: 0 0 10px;
}

.titulo-pagina p {
    margin: 0;
    opacity: .75;
}


/* =========================================================
   PLANO SELECIONADO
   ========================================================= */

.plano-selecionado-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px;
    margin-bottom: 25px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
}

.plano-selecionado-box small {
    opacity: .65;
    font-weight: 700;
}

.plano-selecionado-box h2 {
    margin: 6px 0;
}

.plano-selecionado-box p {
    margin: 0;
    opacity: .75;
}


/* =========================================================
   FORMULÁRIO
   ========================================================= */

.formulario-anuncio {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bloco-form {
    padding: 25px;
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.10);
}

.bloco-form h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.linha-campos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.campo {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.campo:last-child {
    margin-bottom: 0;
}

.campo label {
    margin-bottom: 8px;
    font-weight: 600;
}

.campo input,
.campo textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(0,0,0,.18);
    color: inherit;
    font: inherit;
    outline: none;
}

.campo textarea {
    resize: vertical;
    min-height: 130px;
}

.campo input:focus,
.campo textarea:focus {
    border-color: rgba(255,255,255,.45);
}

.ajuda-media {
    opacity: .75;
    margin-top: -10px;
}

.campo small {
    margin-top: 8px;
}

.erro-media {
    opacity: 1;
}

.sucesso-media {
    opacity: .8;
}


/* =========================================================
   AVISO E BOTÃO
   ========================================================= */

.aviso-prototipo {
    padding: 18px;
    border-radius: 12px;
    background: rgba(255, 193, 7, .10);
    border: 1px solid rgba(255, 193, 7, .25);
    line-height: 1.5;
}

.btn-enviar-anuncio {
    border: 0;
    border-radius: 12px;
    padding: 16px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.mensagem-formulario {
    display: none;
    padding: 18px;
    border-radius: 12px;
    line-height: 1.6;
}

.mensagem-formulario.sucesso {
    display: block;
    border: 1px solid rgba(0, 200, 100, .3);
    background: rgba(0, 200, 100, .10);
}


/* =========================================================
   RESPONSIVO — CADASTRO
   ========================================================= */

@media (max-width: 700px) {
    .linha-campos {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .plano-selecionado-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .bloco-form {
        padding: 18px;
    }
}

