/* Estilos Globais */
body {
    font-family: 'Lato', sans-serif;
}

:root {
    --primary-red: #c8102e;
    --whatsapp-green: #25D366;
}

/* Barra de Navegação */
.navbar.bg-dark {
    border-bottom: 3px solid var(--primary-red);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red) !important;
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 60px;
    }
}

/* Etiquetas de estado dos empreendimentos */
.badge-estado {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.estado-construcao {
    background-color: var(--primary-red);
    color: #fff;
}

.estado-brevemente {
    background-color: #fff;
    color: #212529;
}

.estado-concluido {
    background-color: #212529;
    color: #fff;
}

/* Cartões de empreendimentos na página inicial */
.empreendimento-destaque {
    border: 0;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.empreendimento-destaque:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.empreendimento-destaque img {
    height: 260px;
    object-fit: cover;
}

/* Números da empresa */
.numeros-empresa {
    background-color: #212529;
    color: #fff;
}

.numeros-empresa .numero {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

/* Rodapé legal */
.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer-legal a:hover {
    color: #fff;
}

/* Banner da Página Inicial (Obras e Projetos) */
.hero-carousel {
    border-bottom: 5px solid var(--primary-red);
}

.hero-carousel .carousel-item {
    height: 80vh;
    min-height: 480px;
    background-color: #212529;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-carousel .hero-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-carousel .hero-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2rem;
    background-color: var(--primary-red);
}

.hero-carousel .hero-badge.futuro {
    background-color: #fff;
    color: #212529;
}

.hero-carousel .carousel-indicators {
    z-index: 3;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 3;
    width: 6%;
}

/* Rodapé */
.main-footer.bg-dark {
    border-top: 3px solid var(--primary-red);
}

/* Botão WhatsApp */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    color: white;
}

/* Outros Estilos */
.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background-color: #a60d25;
    border-color: #a60d25;
}