/* ========== PALETA DE CORES PROFISSIONAL ========== */
:root {
    --cor-primaria: #2c3e50;
    --cor-secundaria: #e74c3c;
    --cor-whatsapp: #25D366;
    --cor-fundo-claro: #f8f9fa;
    --cor-texto: #34495e;
    --cor-hover: rgba(44, 62, 80, 0.1);
}

.hero {
    background-color: var(--cor-primaria);
    color: white;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.search-box {
    max-width: 600px;
    margin: 30px auto;
}
.price {
    color: var(--cor-secundaria);
    font-weight: bold;
}
#mapa-interativo {
    height: 500px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

/* ESTILOS PARA O NOVO POPUP DO MAPA */
.leaflet-popup-content-wrapper {
    border-radius: 8px !important;
    padding: 1px !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: auto !important;
}
.card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    min-height: 380px;
    position: relative;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.navbar-brand span { font-weight: bold; }
.text-red { color: var(--cor-secundaria); }
.btn-red { 
    background-color: var(--cor-secundaria); 
    border-color: var(--cor-secundaria); 
}
.btn-red:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}
.btn-whatsapp {
    background-color: var(--cor-whatsapp);
    border-color: var(--cor-whatsapp);
    color: white;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}
.icon-section .icon-box {
    text-align: center;
    padding: 20px;
    background-color: var(--cor-fundo-claro);
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}
.icon-section .icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px var(--cor-hover);
}
.icon-section .icon-box i {
    font-size: 3rem;
    color: var(--cor-primaria);
    margin-bottom: 15px;
}
.modal-body .img-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.modal-body .img-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}
.modal-body .img-gallery img:hover {
    transform: scale(1.05);
}
.modal-body .main-img-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}
.payment-option {
    background: var(--cor-fundo-claro);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.payment-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px var(--cor-hover);
}
.payment-option i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--cor-texto);
}
.payment-option h5 {
    font-weight: bold;
}
.spinner-border {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}
.seta-tooltip {
    background: var(--cor-secundaria);
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    max-width: 250px;
}
.seta-tooltip a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.seta-tooltip a:hover {
    text-decoration: underline;
}
#carouselDestaqueGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.carousel-item-grid {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    position: absolute;
    width: 100%;
    pointer-events: none;
}
.carousel-item-grid.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}
@media (max-width: 768px) {
    #carouselDestaqueGrid {
        grid-template-columns: 1fr;
    }
}
.btn-floating {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.badge {
    font-weight: bold;
    font-size: 0.8rem;

}

/* ESTILO PARA OS CARDS DE SERVIÇO DE MUDANÇAS */
.transporte-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transporte-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* CAIXA PARA OS FILTROS DE PREÇO NA PÁGINA INICIAL */
.price-filter-box {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px); /* Efeito de vidro fosco, moderno */
    padding: 15px;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Estilos para a Seção de Ajuda com Mudanças */
#secao-transportes {
    background-color: transparent; /* Remove o fundo branco principal */
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
}

#secao-transportes h2 {
    color: #f8f9fa; /* Cor clara para o título */
    font-weight: 300; /* Fonte mais leve */
    font-size: 2.5rem;
}

/* Destaque para a palavra "Mudanças" */
#secao-transportes h2 span {
    color: #e74c3c; /* Cor vermelha, igual à dos preços */
    font-weight: 700; /* Fonte mais forte para destaque */
}

#secao-transportes .subtitulo-transporte {
    color: #adb5bd; /* Cor cinza claro para o subtítulo */
    margin-bottom: 30px;
}

/* Melhorias no card do motorista */
.transporte-card {
    background-color: #ffffff; /* Fundo branco para o card, para criar contraste */
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    border: 1px solid #eee;
}

.transporte-card:hover {
    transform: translateY(-5px); /* Efeito suave ao passar o mouse */
}
