:root {
    --primary-color: #00354D;
    --primary-color-rgb: 10, 24, 40;
    /* RGB para o azul escuro */
    /* Azul escuro principal */
    --secondary-color: #00AFCB;
    --medium-color: #E2E2E2;
    /* Ciano/Azul claro */
    --light-color: #f8f9fa;
    --text-color: #ffffff;
    --dark-text-color: #333333;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    opacity: 1;
    visibility: visible;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-content p {
    color: var(--secondary-color);
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.city-skyline {
    width: 400px;
    max-width: 90vw;
}

.city-skyline .building,
.city-skyline .ground,
.city-skyline .crane-arm,
.city-skyline .crane-tower,
.city-skyline .crane-cable {
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.city-skyline .building {
    animation: draw 2s ease-in-out forwards;
}

.city-skyline .ground {
    animation: draw 1s ease-in-out forwards;
}

.city-skyline .crane-tower {
    animation: draw 1.5s ease-in-out 0.5s forwards;
}

.city-skyline .crane-arm {
    animation: draw 1.5s ease-in-out 1s forwards;
}

.city-skyline .crane-cable {
    animation: draw-cable 1s ease-in-out 2s forwards, move-cable 1.5s infinite alternate 3s;
}

/* Animação para desenhar as linhas */
@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Animação separada para o cabo do guindaste */
@keyframes draw-cable {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes move-cable {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(20px);
    }
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* --- Navbar --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.966);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
    padding: 7px 0;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color) !important;
}

.navbar-brand img {
    max-height: 65px;
    transition: max-height 0.3s ease;
}

/* Classe aplicada com o scroll */
.navbar.scrolled {
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-brand img {
    max-height: 45px;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* 1. Muda a cor da borda do botão (o "quadrado") */
.navbar-toggler {
    border-color: rgba(0, 53, 77, 0.25) !important;
    /* Um tom suave da sua cor primária */
}

/* 2. Muda a cor do ícone (as "3 linhas") */
.navbar-toggler-icon {
    /*
     * Este é um SVG embutido (o ícone do "hamburger").
     * A cor 'stroke' está definida como '%2300354D', 
     * que é o código da sua --primary-color (#00354D) 
     * formatado para URL.
    */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300354D' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* 3. Remove o brilho (box-shadow) azul padrão do Bootstrap ao clicar */
.navbar-toggler:focus {
    box-shadow: none;
}

/* --- Carousel / Hero Section --- */
/* se for vídeo */
#inicio.video-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Alinha o container à esquerda */
    color: var(--text-color);
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 60px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.05);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* se for imagem */

#heroCarousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

#heroCarousel .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-color-rgb), 0.5);
}

#heroCarousel .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    text-align: left;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.2rem;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--light-color);
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--light-color);
}

.btn-nav-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 5px 15px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--light-color);
}

.btn-nav-custom:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--light-color);
}

/* quando estiver na pagina do mapa */
.btn-nav-mapa-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 5px 10px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--light-color);
}

.btn-nav-mapa-custom:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 5px 10px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--light-color);
}


@media (max-width: 575.98px) {

    .hero-content h1 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-color);
        margin-top: 60px;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.05);
    }
}


/* --- Seção "A Lider" --- */
#lider {
    background-color: var(--light-color);
}

.value-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    /* Garante que os cards na mesma linha tenham a mesma altura */
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.value-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    line-height: 1.7;
    color: #666;
}

/* --- Seção Eixos de Planejamento --- */
#eixos {
    background-color: #fff;
}

.eixo-card {
    background-color: #f0f7f9;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #e2e2e2;
}

.eixo-card:hover {
    background-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.eixo-card .icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: color 0.4s ease-in-out;
}

.eixo-card:hover .icon {
    color: var(--secondary-color);
}

.eixo-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color 0.4s ease-in-out;
    margin: 0;
}

.eixo-card:hover h4 {
    color: var(--text-color);
    /* Texto branco ao passar o mouse */
}

/* --- Seção Planos (antiga Soluções) --- */
#solucoes {
    background-color: var(--light-color);
}

.solution-card-flip {
    background-color: transparent;
    width: 100%;
    height: 280px;
    perspective: 1000px;
    /* Efeito de profundidade 3D */
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.solution-card-flip:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card-front {
    background-color: #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
}

.card-front .icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.card-front h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.card-back {
    background: linear-gradient(45deg, var(--primary-color), #005f7c);
    color: white;
    transform: rotateY(180deg);
    padding: 30px;
}

.card-back p {
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.btn-leia-mais {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-leia-mais:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 175, 203, 0.4);
}

/* --- Controles do Slider --- */
.slider-controls {
    text-align: center;
    margin-top: 30px;
}

.slider-controls button {
    background-color: #fff;
    border: 1px solid #ddd;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slider-controls button:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* --- CSS AJUSTADO PARA A SEÇÃO MUNICÍPIOS --- */

/* Controles do slider de municípios */
.slider-controls-municipios {
    /* (Estilo vazio, apenas um placeholder) */
}

.slider-controls-municipios button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: #fff;
    border: 1px solid #ddd;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slider-controls-municipios button:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.slider-controls-municipios .prev {
    left: -20px;
}

.slider-controls-municipios .next {
    right: -20px;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .slider-controls-municipios .prev {
        left: -10px;
    }

    .slider-controls-municipios .next {
        right: -10px;
    }
}

/* Wrapper do slider (responsável pelo scroll) */
.municipio-slider-wrapper {
    overflow-x: auto;
    position: relative;
    width: 100%;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.municipio-slider-wrapper::-webkit-scrollbar {
    display: none;
}

/* Container do slider (responsável pelo flex) */
.municipios-slider-container {
    display: flex;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Estilo para cada "slot" do slider */
.municipio-slider-item {
    width: 25%;
    /* 4 por linha em desktop */
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 10px;
    /* Espaçamento entre itens */
}

/* Media queries para responsividade dos "slots" */
@media (max-width: 992px) {
    .municipio-slider-item {
        width: 33.33%;
        /* 3 por linha */
    }
}

@media (max-width: 768px) {
    .municipio-slider-item {
        width: 50%;
        /* 2 por linha */
    }
}

@media (max-width: 576px) {
    .municipio-slider-item {
        width: 75%;
        /* 1 por linha, com "espiada" no próximo */
        padding: 0 15px;
    }
}

/* Container das Sub-categorias (Request 2) */
#subcategory-filters-container {
    margin-top: -15px;
    margin-bottom: 30px;
    min-height: 30px;
    /* "Guarda" o espaço */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Placeholder das sub-categorias */
.subcat-placeholder {
    font-style: italic;
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

#subcategory-filters-container .nav-link {
    font-size: 0.85rem;
    padding: 6px 15px;
}


/* --- CSS DO CARD DO LOGO (AJUSTADO) --- */
.municipio-logo {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: all 0.3s ease;

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    /* --- MUDANÇA PRINCIPAL AQUI --- */
    /* Remove a altura fixa e força o card a ser quadrado */
    /* height: 150px; */
    /* <-- REMOVIDO */
    aspect-ratio: 1 / 1;
}

.municipio-logo img {
    /* --- MUDANÇA PRINCIPAL AQUI --- */
    /* A imagem agora se auto-ajusta DENTRO do card quadrado */
    width: auto;
    height: auto;
    max-width: 90%;
    /* Deixa um "respiro" de 5% de cada lado */
    max-height: 90%;
    /* Deixa um "respiro" de 5% em cima/baixo */
    object-fit: contain;
    /* Garante que a imagem caiba sem distorcer */
    transition: all 0.3s ease;
}

.municipio-logo:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.municipio-logo:hover img {
    /* Some com a imagem no hover */
    opacity: 0;
}

/* Estilo para o nome da cidade (Hover) */
.municipio-nome {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--text-color);
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
}

.municipio-logo:hover .municipio-nome {
    opacity: 1;
}

/* --- Seção Equipe --- */
#equipe {
    background-color: var(--light-color);
}

/* O "slot" do slider da equipe (criado pelo JS) */
.team-slider .team-card {
    margin: 0 10px 10px 10px;
    /* Margem para espaçamento e fundo */
}

/* O card do membro */
.team-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;

    /* --- ESTA É A LÓGICA CORRETA --- */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.12);
}

/* O container da foto */
.team-card-img {
    position: relative;
    aspect-ratio: 500 / 600;
    /* Proporção 5:6 (mais curta) */
    overflow: hidden;
    background-color: #f0f0f0;
    flex-shrink: 0;
    /* Impede que a imagem encolha */
}

/* A tag <img> da foto */
.team-card-img img {
    width: 100%;
    /* --- ESTA LINHA ESTAVA FALTANDO --- */
    object-fit: cover;
    /* Cobre a área sem distorcer */
}

/* O corpo de texto do card */
.team-card-body {
    padding: 25px 20px;
    text-align: center;
    /* --- ESTA É A LÓGICA CORRETA --- */
    flex-grow: 1;
    /* Faz o corpo esticar para preencher o espaço */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centraliza o texto verticalmente se houver espaço */
}

/* Estilo do Nome (maior, bold, cor escura) */
.team-nome {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-text-color);
    margin-bottom: 5px;
}

/* Estilo do Cargo (regular, cor secundária) */
.team-cargo {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 8px;
    /* Adicionado para garantir que o flex-grow funcione */
    flex-grow: 1;
}

/* Estilo da Pós (menor, cinza) */
.team-pos {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0;
    font-style: italic;
}


/* --- Seção Números (Counter) --- */
.parallax-bg {
    position: relative;
    /* IMPORTANTE: Troque 'assets/img/sua-imagem-parallax.jpg' 
      pela imagem de fundo que você quer usar 
    */
    background-image: url('./img/sobre.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Este é o truque: um overlay branco e semi-transparente 
      para "suavizar" a imagem de fundo e destacar os cards.
    */
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 2;
}

/* Para o container do Bootstrap ficar por cima do overlay */
#numeros .container {
    position: relative;
    z-index: 3;
}

.counter-card {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    /* A sombra que faz o card "flutuar" */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.counter-card:hover {
    transform: translateY(-5px);
}

.counter-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.counter-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.counter-label {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* --- Seção Depoimentos --- */
#depoimentos {
    background-color: #fff;
    /* Fundo branco, oposto da seção de números */
}

/* Espaçamento para os cards dentro do slider */
.depoimentos-slider .testimonial-card {
    margin: 0 10px 10px 10px;
    height: 100%;
    /* Garante que os cards na mesma linha tentem ter a mesma altura */
}

.testimonial-card {
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #eee;
    padding: 30px;
    text-align: center;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Para igualar a altura (depende do Tiny Slider) */
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    object-fit: cover;
    border: 3px solid var(--medium-color);
}

.testimonial-stars {
    color: #FFC107;
    /* Amarelo das estrelas */
    margin-bottom:3px;
}

.testimonial-stars i {
    margin: 0 1px;
}

.testimonial-quote {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
    /* Faz o texto esticar para preencher espaço */
    position: relative;
    padding: 0 10px;
}

/* Aspas estilizadas */
.testimonial-quote::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 2.5rem;
    color: var(--medium-color);
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-quote::after {
    content: '”';
    font-family: Georgia, serif;
    font-size: 2.5rem;
    color: var(--medium-color);
    position: absolute;
    bottom: -20px;
    right: -10px;
}

.testimonial-nome {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 5px;
    /* Espaço depois da aspa de baixo */
    margin-bottom: 3px;
}

.testimonial-cargo {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 20px;
}


/* --- Seção Novidades (Social) --- */
#novidades {
    background-color: var(--light-color);
    /* Fundo claro */
}

.social-card {
    display: block;
    padding: 40px 30px;
    border: 2px solid #eee;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-card:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 53, 77, 0.2);
}

.social-icon {
    font-size: 3.5rem;
    /* Ícone no tom de azul padrão Lider, como solicitado */
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.social-card:hover .social-icon {
    /* No hover, o ícone fica no tom ciano (secundário) */
    color: var(--secondary-color);
    transform: scale(1.1);
}

.social-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.social-card:hover .social-title {
    color: #fff;
}

.social-handle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.social-card:hover .social-handle {
    color: #eee;
}

/* em breve Seção do mapa interativo */



/* --- Seção Contato --- */
#contato {
    background-color: #fff;
    /* Fundo branco limpo */
}

/* Os 3 cards de informação */
.contact-info-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-card-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.contact-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-text-color);
    margin-bottom: 10px;
}

.contact-info-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Estilo dos campos do formulário (limpos, sem ícones) */
#contato .form-control {
    background-color: var(--light-color);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 20px;
    height: 50px;
    font-family: 'Roboto', sans-serif;
}

#contato textarea.form-control {
    height: auto;
    /* Deixa o 'rows' do HTML definir a altura */
}

#contato .form-control:focus {
    background-color: #fff;
    border-color: var(--secondary-color);
    box-shadow: none;
}

/* Botão (reutilizando sua classe) */
#contato .btn-primary-custom {
    padding: 14px 40px;
    font-size: 1rem;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
}

footer img {
    margin: 0;
    margin-bottom: 20px;
}

footer h5 {
    color: var(--text-color);
    margin-bottom: 20px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 10px;
}

.footer-bottom {
    background-color: #060e17;
    padding: 15px 0;
    font-size: 0.9rem;
}


/* --- Página do Mapa Interativo --- */
.map-page-main {
    padding-top: 0;
    margin-top: 70px;
    /* Altura da navbar .scrolled */
    height: 100vh;
}

#mapa-container {
    width: 100%;
    height: 100%;
    z-index: 5;
    /* Garante que fique abaixo da navbar (z-index 1030) */
}

/* Ajuste fino no modal do mapa */
.modal-header {
    background-color: var(--primary-color);
    color: #fff;
}

.modal-header .modal-title {
    font-family: 'Montserrat', sans-serif;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

#mapaModalBody .list-group-item {
    padding-left: 0;
    padding-right: 0;
}

#mapaModalBody .badge {
    font-size: 0.8rem;
}

/* --- Página do Mapa Interativo (Novos Estilos) --- */

/* Ajusta a altura da navbar do mapa */
#mapNavbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

#mapa-container {
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* Deixa os filtros pequenos e rápidos */
#mapNavbar .form-select-sm {
    width: 180px;
}

/* (Estilos do Modal - Sem alteração) */
.modal-header {
    background-color: var(--primary-color);
    color: #fff;
}

.modal-header .modal-title {
    font-family: 'Montserrat', sans-serif;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

#mapaModalBody .list-group-item {
    padding-left: 0;
    padding-right: 0;
}

#mapaModalBody .badge {
    font-size: 0.8rem;
}

/* --- Estilos do Modal do Mapa (Brasão e Data) --- */

/* Container do brasão */
.modal-brasao-container {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagem do brasão */
.modal-brasao-img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}

/* Ajuste fino na lista de projetos */
#mapaModalBody .list-group-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0 !important;
}

#mapaModalBody .list-group-item:last-child {
    border-bottom: 0 !important;
}

/* Estilo para a data do contrato */
.projeto-data {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 5px;
    display: block;
}