﻿body {
    padding-top: 120px;
}

header.navbar {
    background-color: #2b3a50;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);

}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: 0.3s;

}

    .navbar-nav .nav-link:hover {
        color: #ffd700 !important;
        transform: translateY(-2px);

    }

.navbar-brand img {
    height: 80px;
    transition: transform 0.3s;
}

    .navbar-brand img:hover {
        transform: scale(1.05);
    }

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;

}

    .navbar-nav .nav-link:hover {
        background-color: #ffd700;
        color: #0f2b4a !important;
        transform: translateY(-2px);


    }

#msg-rotativa {
    transition: opacity 0.4s ease-in-out;
}

.navbar .dropdown-menu {
    background-color: #0f2b4a;
    border: none;
    min-width: 220px;

}

.navbar .dropdown-item {
    color: #fff;
    transition: 0.3s ease;
    font-weight: 500;

}

    .navbar .dropdown-item:hover {
        background-color: #ffd700;
        color: #0f2b4a;
        transform: translateX(4px);
    }

.navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
}


/*-------------------------------------------*/

.navbar-collapse {
    background-color: #0f2b4a; /* azul escuro elegante */
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Links dentro do menu mobile */
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: 0.3s ease;

}


/*-------------------------------------------*/
/* ==== Submenu lateral (dropend) ==== */
.dropdown-menu .dropdown.dropend .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -2px;
    margin-left: 0.25rem;
    display: none; /* esconde até ser ativado via script */
}

/* Corrige comportamento no mobile — submenu desce em cascata */
@media (max-width: 991px) {
    .dropdown-menu .dropdown.dropend .dropdown-menu {
        left: 0 !important;
        top: auto !important;
        margin-left: 1rem;
    }
}

/* Mantém o estilo azul e dourado */
.dropdown-menu {
    background-color: #0f2b4a !important;
    border: none;
    border-radius: 10px;
}

    .dropdown-menu .dropdown-item {
        color: #fff !important;
        border-radius: 6px;
        transition: 0.2s ease;
    }

        .dropdown-menu .dropdown-item:hover {
            background-color: #ffd700 !important;
            color: #0f2b4a !important;
        }

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
}


/*.dropdown-menu {
    background-color: #3d546d !important;
}
*/
/*.nav-item .dropdown {
    background-color: #ffd700;
}

.dropdown-item {
    background-color: #ffd700;
}*/

/*------------------------- alinhamento modal*/
.list-group-item {
    display: flex;
    align-items: flex-start;
}

    .list-group-item i {
        margin-top: 4px; /* alinha verticalmente o ícone */
        margin-right: 10px;
        flex-shrink: 0; /* impede o ícone de deslocar */
    }

    .list-group-item span {
        display: block;
        line-height: 1.4;
    }


/*------------------------------------paralax2intanciader*/


/*linha bdo tempo cetran----------*/
.timeline-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    padding: 20px 0;
}

    .timeline-container::before {
        content: "";
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        height: 4px;
        background: #d9d9d9;
    }

.timeline-item {
    text-align: center;
    width: 25%; /* era 33%, agora 4 etapas */
    animation: fadeInUp 0.8s ease;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #0d6efd;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-animate {
    animation: fadeInUp 0.7s ease;
}


.cardOver:hover {
    background-color: rgba(0,0,0,.2);
    color: #000;
    border-color: rgba(0,0,0,.2);
    transition: 0.3s;
    cursor: pointer;
}

/*--------------------------- bancos*/

.bank-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all .30s ease;
    text-decoration: none !important;
    color: rgb(128, 128, 128);
    margin-bottom: 14px;
    border-color:gainsboro;
}

    .bank-card img {
        max-height: 55px;
        transition: transform .25s ease;
    }

    /* HOVER */
    .bank-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.35);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

        .bank-card:hover img {
            transform: scale(1.08);
        }

#pdfWrapper {
  
    position: absolute;
    z-index: -1000;
}

/*
mapas multas prefeitura*/
.city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid #ddd;
    transition: 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .city-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    }

.city-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 12px;
}

.city-card h5 {
    font-weight: 700;
    color: #0f2b4a;
}

.city-card p {
    margin: 0;
    color: #666;
}



.pagar-agora {
    font-weight: bold;
    margin-left: 25px; /* empurra para direita */
    margin-right: 25px; /* empurra para esquerda */
}


.calcular {
    font-weight: bold;
}

/*card Freeflow*/
.card h3 {
    font-size: 1.4rem;
}

.card .btn {
    border-radius: 30px;
}

/*.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

    .card:hover {
        transform: translateZ(30px) scale(0.97);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }*/
/* HOVER */

.cardFreeFlow {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all .30s ease;
    text-decoration: none !important;
    color: rgb(128, 128, 128);
    margin-bottom: 14px;
    border-color: gainsboro;
}
    .cardFreeFlow:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.35);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

    .cardFreeFlow:hover {
        transform: scale(1.08);
    }


/*    CALCULADORA*/
.calc-card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

    .calc-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }

    .calc-card h2 {
        font-size: 1.05rem;
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .calc-card p {
        font-size: 0.9rem;
        color: #6c757d;
    }

.calc-icon {
    font-size: 2.4rem;
    background: #f4f6f8;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*magem calculo IPVA*/
.margin-custom {
    margin-top: -50px !important;
   
}




/* Nunca aparece na tela */

@media print {

    html, body {
        margin: 0 !important;
        padding: 0 !important;
    }

    @page {
        margin: 10mm;
        size: A4 portrait;
    }

    body > *:not(#print-root) {
        display: none !important;
    }

    #print-root {
        display: block !important;
        page-break-before: avoid !important;
        break-before: avoid-page !important;
    }

    body::before,
    body::after {
        content: none !important;
    }

    .btn,
    nav,
    header,
    footer {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        overflow: visible !important;
    }
    .print-only {
        display: block !important;
    }

    .screen-only {
        display: none !important;
    }

}

.print-only {
    display: none;
}

.screen-only {
    display: block;
}
















