/* ==================================================
   FAVORITOS
   FREDELIN TURISMO
================================================== */


/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: "Poppins", sans-serif;
    background: #f5f7fb;
    color: #222;
    min-height: 100vh;
}


/* ==================================================
   CABEÇALHO
================================================== */

.painel-header {
    background: #0b3d91;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}


.topo-favoritos {
    max-width: 1400px;
    margin: auto;

    padding: 22px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.marca h1 {
    font-size: 24px;
    font-weight: 700;
}


.marca p {
    margin-top: 3px;
    font-size: 13px;
    opacity: 0.85;
}


.usuario-area {
    font-size: 14px;
    opacity: 0.9;
}


/* ==================================================
   MENU
================================================== */

.menu-cliente {
    max-width: 1400px;
    margin: auto;

    padding: 0 30px 18px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.menu-cliente a {
    color: white;

    text-decoration: none;

    padding: 9px 13px;

    border-radius: 8px;

    font-size: 13px;

    transition: 0.2s;
}


.menu-cliente a:hover,
.menu-cliente a.ativo {
    background: white;
    color: #0b3d91;
}


.menu-cliente a.sair {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.12);
}


.menu-cliente a.sair:hover {
    background: #c62828;
    color: white;
}


/* ==================================================
   CONTAINER
================================================== */

.favoritos-container {
    max-width: 1400px;

    margin: auto;

    padding: 35px 30px 60px;
}


/* ==================================================
   TÍTULO
================================================== */

.titulo-pagina {
    background: white;

    padding: 25px;

    border-radius: 16px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);

    margin-bottom: 25px;
}


.titulo-pagina > div {
    display: flex;
    align-items: center;
    gap: 18px;
}


.icone-titulo {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #fff0f2;

    font-size: 30px;
}


.titulo-pagina h2 {
    font-size: 25px;
    color: #0b3d91;
}


.titulo-pagina p {
    margin-top: 5px;

    color: #777;

    font-size: 14px;
}


/* ==================================================
   FILTROS
================================================== */

.filtros {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 25px;
}


.filtro {
    border: 1px solid #ddd;

    background: white;

    color: #555;

    padding: 10px 18px;

    border-radius: 25px;

    font-family: "Poppins", sans-serif;

    cursor: pointer;

    transition: 0.2s;
}


.filtro:hover,
.filtro.ativo {
    background: #0b3d91;

    color: white;

    border-color: #0b3d91;
}


/* ==================================================
   GRID
================================================== */

.favoritos-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 22px;
}


/* ==================================================
   CARD
================================================== */

.favorito-card {
    background: white;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);

    transition: transform 0.2s, box-shadow 0.2s;
}


.favorito-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}


/* ==================================================
   IMAGEM
================================================== */

.imagem-card {
    height: 190px;

    position: relative;

    overflow: hidden;
}


.imagem-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


.btn-remover {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: white;

    cursor: pointer;

    font-size: 18px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}


/* ==================================================
   ÍCONES DOS CARDS
================================================== */

.icone-card {
    height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 70px;

    background: #eef4ff;
}


.icone-card.voo {
    background: #edf7ff;
}


.icone-card.pacote {
    background: #effaf2;
}


/* ==================================================
   CONTEÚDO
================================================== */

.conteudo-card {
    padding: 20px;
}


.categoria {
    display: inline-block;

    font-size: 11px;

    font-weight: 700;

    color: #0b3d91;

    margin-bottom: 8px;
}


.conteudo-card h3 {
    font-size: 19px;

    margin-bottom: 8px;

    color: #222;
}


.conteudo-card p {
    font-size: 13px;

    color: #777;

    margin-bottom: 18px;
}


/* ==================================================
   AÇÕES
================================================== */

.card-acoes {
    display: flex;

    gap: 8px;

    align-items: center;
}


.btn-ver {
    flex: 1;

    text-align: center;

    text-decoration: none;

    background: #0b3d91;

    color: white;

    padding: 10px;

    border-radius: 8px;

    font-size: 12px;

    transition: 0.2s;
}


.btn-ver:hover {
    background: #082f70;
}


.btn-excluir {
    background: #fff;

    color: #c62828;

    border: 1px solid #e1e1e1;

    padding: 9px 12px;

    border-radius: 8px;

    cursor: pointer;

    font-family: "Poppins", sans-serif;

    font-size: 11px;
}


.btn-excluir:hover {
    background: #fff0f0;

    border-color: #c62828;
}


/* ==================================================
   FAVORITOS VAZIOS
================================================== */

.favoritos-vazios {
    background: white;

    border-radius: 16px;

    padding: 60px 25px;

    text-align: center;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}


.icone-vazio {
    font-size: 55px;

    margin-bottom: 15px;

    opacity: 0.7;
}


.favoritos-vazios h3 {
    font-size: 21px;

    color: #333;

    margin-bottom: 8px;
}


.favoritos-vazios p {
    color: #777;

    font-size: 14px;

    max-width: 500px;

    margin: 0 auto 20px;
}


.btn-principal {
    display: inline-block;

    text-decoration: none;

    background: #0b3d91;

    color: white;

    padding: 12px 22px;

    border-radius: 9px;

    font-size: 13px;
}


.btn-principal:hover {
    background: #082f70;
}


/* ==================================================
   FOOTER
================================================== */

.footer {
    background: #0b3d91;

    color: white;

    text-align: center;

    padding: 25px;

    margin-top: 30px;
}


.footer p {
    font-weight: 600;

    margin-bottom: 5px;
}


.footer span {
    font-size: 12px;

    opacity: 0.8;
}


/* ==================================================
   RESPONSIVO
================================================== */

@media (max-width: 900px) {

    .topo-favoritos {
        padding: 20px;
    }


    .menu-cliente {
        padding: 0 20px 15px;
    }


    .menu-cliente a.sair {
        margin-left: 0;
    }


    .favoritos-container {
        padding: 25px 20px 45px;
    }

}


@media (max-width: 600px) {

    .topo-favoritos {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }


    .marca h1 {
        font-size: 20px;
    }


    .menu-cliente {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 6px;
    }


    .menu-cliente a {
        text-align: center;

        font-size: 11px;

        padding: 9px 5px;
    }


    .menu-cliente a.sair {
        grid-column: 1 / -1;
    }


    .favoritos-container {
        padding: 20px 12px 40px;
    }


    .titulo-pagina {
        padding: 18px;
    }


    .titulo-pagina h2 {
        font-size: 20px;
    }


    .titulo-pagina p {
        font-size: 12px;
    }


    .icone-titulo {
        width: 50px;
        height: 50px;

        font-size: 24px;
    }


    .favoritos-grid {
        grid-template-columns: 1fr;
    }


    .card-acoes {
        flex-direction: column;
    }


    .btn-ver,
    .btn-excluir {
        width: 100%;
    }

}