/* ============================================
   VARIÁVEIS E RESET
============================================ */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --success-color: #27ae60;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER E NAVEGAÇÃO
============================================ */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232c3e50" width="1200" height="600"/><g fill="%233498db" opacity="0.1"><circle cx="100" cy="100" r="80"/><circle cx="600" cy="300" r="120"/><circle cx="1000" cy="200" r="100"/></g></svg>');
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ============================================
   FILTROS
============================================ */
.filtros-section {
    margin-top: -60px;
    position: relative;
    z-index: 100;
    margin-bottom: 3rem;
}

.filtros-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.filtros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.filtro-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filtro-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.filtro-group label i {
    color: var(--secondary-color);
}

.filtro-select {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    cursor: pointer;
}

.filtro-select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-buscar {
    padding: 0.8rem 2rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-buscar:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-limpar {
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.btn-limpar:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ============================================
   IMÓVEIS GRID
============================================ */
.imoveis-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.resultados-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 500;
}

.resultados-info p {
    margin: 0;
}

/* Ordenação */
.ordenacao-container {
    position: relative;
}

.btn-ordenacao {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ordenacao:hover {
    border-color: var(--secondary-color);
    background: var(--bg-light);
}

.btn-ordenacao i {
    font-size: 1rem;
    color: var(--secondary-color);
}

.ordenacao-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.ordenacao-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ordenacao-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.ordenacao-item:last-child {
    border-bottom: none;
}

.ordenacao-item:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
}

.ordenacao-item i {
    font-size: 0.9rem;
    color: var(--secondary-color);
    width: 16px;
}

.ordenacao-item.active {
    background: var(--bg-light);
    color: var(--secondary-color);
    font-weight: 600;
}

.imoveis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.imovel-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.imovel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.imovel-image {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.imovel-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.7);
}

.imovel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.imovel-badge.aluguel {
    background: var(--success-color);
}

.imovel-content {
    padding: 1.5rem;
}

.imovel-tipo {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.imovel-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.imovel-localizacao {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.imovel-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.feature i {
    color: var(--secondary-color);
}

.imovel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.imovel-preco {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
}

.btn-ver-mais {
    padding: 0.6rem 1.2rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ver-mais:hover {
    background: #2980b9;
}

/* ============================================
   PÁGINA DE DETALHES
============================================ */
.detalhes-section {
    padding: 3rem 0;
    min-height: 60vh;
}

.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--bg-white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.btn-voltar:hover {
    background: var(--secondary-color);
    color: white;
}

.detalhes-container {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.detalhes-header {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detalhes-header i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.7);
}

.detalhes-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.detalhes-badge.aluguel {
    background: var(--success-color);
}

.detalhes-body {
    padding: 2.5rem;
}

.detalhes-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detalhes-localizacao {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.detalhes-preco {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.detalhes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.detalhe-item {
    text-align: center;
}

.detalhe-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.detalhe-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.detalhe-valor {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.detalhes-descricao {
    margin-bottom: 2rem;
}

.detalhes-descricao h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detalhes-descricao p {
    line-height: 1.8;
    color: var(--text-light);
}

.detalhes-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-contato {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-contato:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: #25d366;
}

.btn-whatsapp:hover {
    background: #20ba5a;
}

.relacionados-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.loading {
    text-align: center;
    padding: 3rem;
}

.loading i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* ============================================
   SOBRE
============================================ */
.sobre-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sobre-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.sobre-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sobre-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sobre-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.sobre-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.sobre-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.sobre-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    height: 400px;
}

.sobre-image i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   MAPA
============================================ */
.mapa-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.mapa-legenda {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.legenda-cor {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.2);
}

.legenda-cor.azul {
    background: #4285F4;
}

.legenda-cor.verde {
    background: #34A853;
}

.legenda-cor.amarelo {
    background: #FBBC04;
}

.mapa-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

#map {
    width: 100%;
    height: 600px;
}

/* Estilos para marcadores customizados do Leaflet */
.custom-marker {
    background: transparent;
    border: none;
}

/* Estilos para popups do Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    padding: 0;
}

.leaflet-popup-content {
    margin: 0;
    min-width: 250px;
}

.map-info-window {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 1rem;
}

.map-info-window h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map-info-window p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.map-info-window .preco {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--success-color);
    margin: 0.5rem 0;
}

.map-info-window .detalhes {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.map-info-window .btn-ver-detalhes {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.map-info-window .btn-ver-detalhes:hover {
    background: var(--primary-color);
}

/* ============================================
   CONTATO
============================================ */
.contato-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contato-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contato-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contato-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contato-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contato-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   WHATSAPP FLUTUANTE
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* ============================================
   ANIMAÇÕES
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVO
============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .filtros-grid {
        grid-template-columns: 1fr;
    }

    .resultados-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .ordenacao-container {
        width: 100%;
    }

    .btn-ordenacao {
        width: 100%;
        justify-content: center;
    }

    .ordenacao-menu {
        right: auto;
        left: 0;
        width: 100%;
    }

    .imoveis-grid {
        grid-template-columns: 1fr;
    }

    .sobre-content {
        grid-template-columns: 1fr;
    }

    .sobre-image {
        height: 300px;
    }

    #map {
        height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }

    .detalhes-title {
        font-size: 1.5rem;
    }

    .detalhes-preco {
        font-size: 2rem;
    }

    .detalhes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detalhes-actions {
        flex-direction: column;
    }

    .btn-contato {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 350px;
    }

    .imovel-card {
        margin: 0 10px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ============================================
   PÁGINA DE CONSTRUÇÃO
============================================ */

/* Hero Construção */
.hero-construcao {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-construcao::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-construcao .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    font-size: 1.2rem;
}

.hero-construcao .hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-construcao .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item strong {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--primary-color);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Diferenciais */
.diferenciais-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.diferencial-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    background: var(--bg-light);
    transition: var(--transition);
}

.diferencial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferencial-icon i {
    font-size: 2.5rem;
    color: white;
}

.diferencial-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.diferencial-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Obras em Andamento */
.obras-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.obras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.obra-card {
    background: var(--bg-white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.obra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

/* Seção de Imagem */
.obra-image-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.obra-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
}

.obra-main-icon {
    position: relative;
    z-index: 1;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.obra-main-icon i {
    font-size: 3rem;
    color: white;
}

.obra-badge-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.obra-badge-status i {
    color: var(--success-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Conteúdo */
.obra-content {
    padding: 2rem;
}

.obra-header-info {
    margin-bottom: 1.2rem;
}

.obra-titulo {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.obra-localizacao {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.9rem;
}

.obra-localizacao i {
    color: var(--accent-color);
}

.obra-descricao {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
}

/* Specs */
.obra-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.spec-item i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Galeria de Mídia */
.obra-galeria {
    margin-bottom: 1.5rem;
}

.galeria-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.galeria-header i {
    color: var(--secondary-color);
}

.galeria-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.galeria-item {
    position: relative;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.galeria-item:hover {
    background: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.galeria-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.galeria-item:hover .galeria-icon {
    background: var(--secondary-color);
}

.galeria-item:hover .galeria-icon i {
    color: white;
}

.galeria-icon i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.galeria-item.video .galeria-icon i {
    color: var(--accent-color);
}

.galeria-item:hover.video .galeria-icon {
    background: var(--accent-color);
}

.galeria-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.play-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-overlay i {
    font-size: 0.7rem;
    color: white;
}

/* Details Row */
.obra-details-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.detail-box {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.detail-box i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.detail-box small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.detail-box strong {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Price Section */
.obra-price-section {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.1));
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.price-value {
    font-size: 2rem;
    color: var(--success-color);
    font-weight: 700;
}

/* Actions */
.obra-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem 2rem 2rem;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-action.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-action.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-action.btn-secondary {
    background: #25D366;
    color: white;
}

.btn-action.btn-secondary:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Financiamento */
.financiamento-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.financiamento-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.financiamento-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    height: 400px;
}

.financiamento-image i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

.financiamento-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.financiamento-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.financiamento-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.financiamento-beneficios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.beneficio-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.beneficio-item i {
    font-size: 1.2rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.beneficio-item span {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.financiamento-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

/* Processo */
.processo-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.processo-timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.processo-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary-color), var(--success-color));
}

.processo-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.processo-numero {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    z-index: 1;
}

.processo-content {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    flex: 1;
    box-shadow: var(--shadow-sm);
}

.processo-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.processo-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-content {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-primary {
    background: #25D366;
    color: white;
}

.btn-cta-primary:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: white;
    color: var(--primary-color);
}

.btn-cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contato-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contato-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contato-info-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.contato-info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.contato-info-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Link ativo no menu */
.nav-menu a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Responsivo Página Construção */
@media (max-width: 768px) {
    .hero-construcao {
        padding: 5rem 0 4rem;
    }
    
    .hero-construcao .hero-title {
        font-size: 2rem;
    }
    
    .hero-construcao .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item strong {
        font-size: 1.8rem;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    .obras-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .obra-actions {
        grid-template-columns: 1fr;
    }
    
    .obra-specs {
        grid-template-columns: 1fr;
    }
    
    .obra-details-row {
        grid-template-columns: 1fr;
    }
    
    .financiamento-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .financiamento-image {
        height: 250px;
    }
    
    .financiamento-image i {
        font-size: 5rem;
    }
    
    .financiamento-text h2 {
        font-size: 1.8rem;
    }
    
    .financiamento-beneficios {
        grid-template-columns: 1fr;
    }
    
    .processo-timeline::before {
        left: 20px;
    }
    
    .processo-numero {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .processo-item {
        gap: 1rem;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Bot�o Ver Detalhes */
.btn-detalhes {
    width: auto;
    min-width: 200px;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-detalhes:hover {
    background: linear-gradient(135deg, #2980b9, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   P�GINA DE DETALHES DA OBRA
============================================ */

.detalhes-obra-section {
    padding: 2rem 0;
    min-height: 100vh;
    background: var(--bg-light);
}

.voltar-container {
    margin-bottom: 2rem;
}

.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-voltar:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateX(-5px);
}

/* Galeria Principal */
.galeria-principal {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.imagem-principal-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: #000;
    overflow: hidden;
}

.imagem-principal {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.imagem-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imagem-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    z-index: 1;
}

.galeria-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 10;
}

.galeria-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.galeria-nav.prev {
    left: 20px;
}

.galeria-nav.next {
    right: 20px;
}

/* Miniaturas */
.miniaturas-container {
    padding: 1.5rem;
    background: white;
    overflow-x: auto;
}

.miniaturas-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
}

.miniaturas-scroll::-webkit-scrollbar {
    height: 8px;
}

.miniaturas-scroll::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.miniaturas-scroll::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.miniatura {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.miniatura.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px white, 0 0 0 5px var(--secondary-color);
}

.miniatura:hover {
    transform: scale(1.05);
}

.miniatura-video {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    display: flex;
    align-items: center;
    justify-content: center;
}

.miniatura-video-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: white;
}

.miniatura-video-overlay .fa-youtube {
    font-size: 2rem;
}

.miniatura-video-overlay .fa-play {
    font-size: 1.2rem;
}

/* Indicadores */
.galeria-indicators {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 1rem;
    background: white;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 5px;
}

.indicator:hover {
    background: var(--secondary-color);
}

/* V�deo Principal */
.video-principal {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.video-principal:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
}

.video-thumbnail-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.video-thumbnail-principal .fa-youtube {
    font-size: 5rem;
}

.video-thumbnail-principal .fa-play-circle {
    font-size: 4rem;
    animation: pulse 2s infinite;
}

.video-thumbnail-principal span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Informa��es da Obra */
.obra-detalhes-content {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.obra-detalhes-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.obra-categoria-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.obra-titulo-principal {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.obra-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.meta-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.meta-info-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Especifica��es */
.obra-especificacoes {
    margin-bottom: 2rem;
}

.obra-especificacoes h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.spec-item-detalhes {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.spec-item-detalhes:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.spec-item-detalhes:hover i {
    color: white;
}

.spec-item-detalhes i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.spec-item-detalhes div {
    display: flex;
    flex-direction: column;
}

.spec-item-detalhes strong {
    font-size: 1.5rem;
    font-weight: 700;
}

.spec-item-detalhes span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.spec-item-detalhes:hover span {
    color: rgba(255, 255, 255, 0.9);
}

/* Descri��o */
.obra-descricao-completa {
    margin-bottom: 2rem;
}

.obra-descricao-completa h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.obra-descricao-completa p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* V�deo Section */
.obra-video-section {
    margin-bottom: 2rem;
}

.obra-video-section h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.video-wrapper {
    border-radius: 15px;
    overflow: hidden;
}

.video-thumbnail {
    display: block;
    height: 300px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.video-thumbnail:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: scale(1.02);
}

.video-play-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
}

.video-play-overlay .fa-youtube {
    font-size: 4rem;
}

.video-play-overlay .fa-play-circle {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

.video-play-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* CTA Section */
.obra-cta-section {
    margin-top: 3rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-card .btn-primary {
    background: white;
    color: var(--secondary-color);
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.cta-card .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Contato Section */
.contato-obra-section {
    padding: 3rem 0;
    background: white;
    margin-top: 3rem;
}

.contato-obra-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contato-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contato-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    min-width: 150px;
    transition: var(--transition);
}

.contato-option:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contato-option i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.contato-option:hover i {
    color: white;
}

.contato-option span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsivo - Detalhes Obra */
@media (max-width: 768px) {
    .imagem-principal-container {
        height: 300px;
    }
    
    .galeria-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .galeria-nav.prev {
        left: 10px;
    }
    
    .galeria-nav.next {
        right: 10px;
    }
    
    .miniatura {
        width: 100px;
        height: 70px;
    }
    
    .obra-detalhes-content {
        padding: 1.5rem;
    }
    
    .obra-titulo-principal {
        font-size: 1.8rem;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .spec-item-detalhes {
        padding: 1rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .contato-options {
        gap: 1rem;
    }
}

/* Container para v�deo do YouTube */
.video-iframe-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.video-iframe-container .video-thumbnail {
    height: 450px;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* Mensagem de erro de v�deo */
.video-erro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
    gap: 1rem;
}

.video-erro i {
    font-size: 3rem;
    color: #e74c3c;
}

.video-erro p {
    font-size: 1.2rem;
    margin: 0;
}



/* Badge de categoria da obra */
.obra-badge-categoria {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.obra-badge-categoria span {
    color: white;
}

/* Hero da pgina de imveis */
.hero-imoveis {
    height: 50vh;
    min-height: 400px;
}

/* Imagem de obra em construo */
.obra-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.obra-badge-entrega {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.obra-badge-entrega i {
    font-size: 0.9rem;
}

/* Layout meta de obras - espaamento */
.obra-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.obra-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.obra-meta .meta-item:first-child {
    flex: 1;
    justify-content: flex-start;
}

.obra-meta .meta-item:last-child {
    justify-content: flex-end;
}
