/* Header Banner */
.header-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 1;
    min-height: 90vh;
    height: 90vh;
    padding: 4rem 0;
}

.header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.7)
    );
    z-index: -1;
}

.header-banner .container {
    position: relative;
    z-index: 2;
}

.header-banner h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 400;
}

@media (max-width: 768px) {
    .header-banner {
        min-height: 60vh;
        height: 60vh;
        padding: 2rem 0;
    }
}

.card .btn-primary,
.card .btn-outline-success {
    border-radius: 0;
    padding: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.card .btn-primary {
    background: #232F3F;
    border-color: #232F3F;
    box-shadow: 0 4px 14px rgba(24, 34, 45, 0.35);
}

.card .btn-primary:hover {
    background: #1b2431;
    border-color: #1b2431;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 34, 45, 0.5);
}

.btn-ver-detalhes {
    background: #232F3F;
    border-color: #232F3F;
    box-shadow: 0 4px 14px rgba(24, 34, 45, 0.35);
}

.btn-ver-detalhes:hover {
    background: #1b2431;
    border-color: #1b2431;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 34, 45, 0.5);
}

.card .btn-outline-success {
    border-width: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card .btn-outline-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.2);
}

.card .btn-outline-success::before {
    content: "\F618";
    font-family: "bootstrap-icons";
    font-size: 1.1em;
}

/* Botão Ver Mais */
.btn-ver-mais {
    border-radius: 0;
    color: #243040;
    border-color: #243040;
    padding: 1rem 2.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border-width: 2px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ver-mais::after {
    content: "\F231";
    font-family: "bootstrap-icons";
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.btn-ver-mais:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36,48,64,0.2);
    border-color: #243040;
    background-color: #243040;
}

.btn-ver-mais:hover::after {
    transform: translateX(3px);
}

/* Seção Quem Somos Destaque */
.quem-somos-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.quem-somos-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #232F3F;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.quem-somos-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quem-somos-content {
    padding: 3rem 3.5rem;
    color: #ffffff;
}

.quem-somos-label {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5a623;
    margin-bottom: 1rem;
    font-weight: 600;
}

.quem-somos-title {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.quem-somos-text {
    color: #e4e4e4;
    font-size: 1rem;
    line-height: 1.8;
}

.quem-somos-btn {
    border-radius: 0;
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-width: 2px;
}

.quem-somos-btn:hover {
    background-color: #ffffff;
    color: #232F3F;
}

@media (max-width: 992px) {
    .quem-somos-content {
        padding: 2.5rem 2rem;
        text-align: center;
    }
}

/* Seção Depoimentos */
.depoimentos-section {
    padding: 5rem 0;
    background-color: #F8F9FA;
    overflow: hidden;
    position: relative;
}

.depoimentos-section .container {
    overflow: hidden;
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 70%;
}

.depoimentos-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0;
}

.depoimentos-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #232F3F;
    margin-bottom: 1rem;
}

.depoimentos-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.depoimento-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    min-height: 280px;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Swiper para depoimentos */
.depoimentos-swiper {
    padding: 20px 0 60px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    max-width: 100%;
}

.depoimentos-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.depoimentos-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    width: auto;
}

.depoimentos-swiper .swiper-slide .depoimento-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    flex-shrink: 0;
}

.depoimentos-swiper .swiper-button-next,
.depoimentos-swiper .swiper-button-prev {
    color: #232F3F !important;
    background-color: #ffffff !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.depoimentos-swiper .swiper-button-next:after,
.depoimentos-swiper .swiper-button-prev:after {
    font-size: 20px !important;
}

.depoimentos-swiper .swiper-button-next {
    right: 10px !important;
}

.depoimentos-swiper .swiper-button-prev {
    left: 10px !important;
}

.depoimentos-swiper .swiper-pagination-bullet {
    background-color: #232F3F;
    opacity: 0.5;
}

.depoimentos-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #232F3F;
}

.depoimento-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.depoimento-foto {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #232F3F;
}

.depoimento-foto-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #232F3F;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
}

.depoimento-info {
    flex: 1;
}

.depoimento-nome {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #232F3F;
    margin-bottom: 0.5rem;
}

.depoimento-stars {
    display: flex;
    gap: 3px;
}

.depoimento-stars i {
    color: #ffc107;
    font-size: 1rem;
}

.depoimento-texto {
    position: relative;
    padding-left: 2rem;
}

.depoimento-texto i.bi-quote {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: #232F3F;
    opacity: 0.2;
}

.depoimento-texto p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

.depoimento-texto-conteudo {
    margin-bottom: 0;
}

.btn-leia-mais {
    color: #232F3F;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.btn-leia-mais:hover {
    color: #1a2530;
    text-decoration: underline;
}

/* Modal Depoimento Completo */
.depoimento-modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

.depoimento-modal-header {
    background-color: #232F3F;
    color: #ffffff;
    border: none;
    padding: 1.5rem 2rem;
}

.depoimento-modal-body {
    padding: 2rem;
}

.depoimento-modal-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.depoimento-modal-foto {
    flex-shrink: 0;
}

.depoimento-modal-foto .depoimento-foto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #232F3F;
}

.depoimento-modal-foto .depoimento-foto-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #232F3F;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.5rem;
}

.depoimento-modal-info {
    flex: 1;
}

.depoimento-modal-nome {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #232F3F;
    margin-bottom: 0.5rem;
}

.depoimento-modal-stars {
    display: flex;
    gap: 3px;
}

.depoimento-modal-stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.depoimento-modal-texto {
    position: relative;
    padding-left: 2.5rem;
}

.depoimento-modal-texto i.bi-quote {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    color: #232F3F;
    opacity: 0.15;
}

.depoimento-modal-texto p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .depoimentos-section {
        padding: 3rem 0;
    }
    
    .depoimentos-title {
        font-size: 2rem;
    }
    
    .depoimento-card {
        padding: 1.5rem;
    }
}

/* Seção Contato */
.contato-section {
    position: relative;
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.contato-content {
    position: relative;
    z-index: 1;
}

.contato-mapa {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
}

.contato-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contato-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contato-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contato-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #243040, #1e2a38);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contato-icon i {
    font-size: 1.5rem;
    color: white;
}

.contato-card h5 {
    color: #2c2c2c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contato-card p {
    color: #6c757d;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contato-social {
    margin-top: 1rem;
}

.contato-social a {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    color: #243040;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.contato-social a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contato-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contato-card {
        padding: 1.5rem;
    }
}

.imoveisSwiper {
    padding: 20px 0 10px 0;
    position: relative;
}

.imoveisSwiper .swiper-slide {
    width: 320px;
    max-width: 90vw;
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
}

.imoveisSwiper .swiper-pagination {
    margin-top: 30px;
    position: static;
    text-align: center;
}

.imoveisSwiper .swiper-button-next,
.imoveisSwiper .swiper-button-prev {
    display: none !important;
}

.imoveisSwiper .swiper-pagination-bullet-active {
    background: var(--bs-primary);
}
/* Estilo para os cards dentro do carrossel */
.imoveisSwiper .card {
    margin: 0 auto;
    width: 320px !important;      /* largura fixa do card */
    max-width: 100%;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
    border: 0;
}

.imoveisSwiper .card:hover {
    transform: translateY(-5px);
}

/* Cabeçalho da seção Imóveis em Destaque (centralizado + botão à direita, igual ao anexo) */
.imoveis-destaque-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 0.25rem 0;
}

.imoveis-destaque-header-center {
    text-align: center;
}

.imoveis-destaque-title {
    font-size: 2.25rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: #232F3F;
}

.imoveis-destaque-subtitle {
    font-size: 1.05rem;
    color: #6c757d;
}

.imoveis-destaque-header-right {
    display: flex;
    justify-content: flex-end;
}

/* Botão "VER TODOS OS IMÓVEIS" estilo split com seta */
.btn-imoveis-split {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #cfd6de;
    background: #fff;
    color: #232F3F;
    text-decoration: none;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-imoveis-split:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    color: #232F3F;
}

.btn-imoveis-split-text {
    padding: 0.9rem 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.btn-imoveis-split-icon {
    width: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #232F3F;
    color: #fff;
}

.btn-imoveis-split-icon i {
    font-size: 1.4rem;
}

@media (max-width: 992px) {
    .imoveis-destaque-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .imoveis-destaque-header-right {
        justify-content: center;
        margin-top: 1rem;
    }
}

.imoveisSwiper .card-img-top,
.imoveisSwiper .card-imovel-gallery {
    width: 320px !important;      /* largura fixa */
    max-width: 100%;              /* não ultrapassa o card */
    height: 220px !important;     /* altura padrão */
    object-fit: cover;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background: #f5f5f5;
    display: block;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
}

.imoveisSwiper .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.imoveisSwiper .card-title {
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botão "Ver detalhes" com aparência do anexo */
.imoveisSwiper .btn-ver-detalhes {
    border-radius: 6px !important;
    padding: 0.9rem 1rem !important;
}

/* Rodapé do card: Cod à esquerda + WhatsApp em círculo branco à direita */
.card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-codigo {
    color: #6c757d;
    font-size: 0.95rem;
}

.card-whatsapp-mini {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-whatsapp-mini i {
    color: #25D366;
    font-size: 1.6rem;
}

.card-whatsapp-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

/* Características dos Imóveis */
.caracteristicas-imovel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: #6c757d;
}

.caracteristica-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.caracteristica-item:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
}

.caracteristica-item i {
    font-size: 1.1em;
    color: #243040;
}

/* Melhorias nos badges dos cards */
.card .badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
}

.card .badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%) !important;
    color: #000 !important;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.card .badge.bg-dark {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px);
}

/* Efeito especial para cards destacados */
.imoveisSwiper .card {
    position: relative;
}

.imoveisSwiper .card .badge.bg-warning {
    position: relative;
}

/* Botão flutuante antigo removido: agora usamos .card-whatsapp-mini no rodapé do card */


/* Banner Acima do Footer */
.banner-footer-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.banner-footer-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mini Carrossel de Imagens nos Cards */
.card-imovel-gallery {
    overflow: hidden;
    height: 220px;
    width: 100%;
}

.mini-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.mini-carousel-main {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mini-carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mini-carousel-img.active {
    opacity: 1;
}

.mini-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #232F3F;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mini-carousel-btn:hover {
    background: #232F3F;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(35, 47, 63, 0.3);
}

.mini-carousel-prev {
    left: 10px;
}

.mini-carousel-next {
    right: 10px;
}

@media (max-width: 768px) {
    .card-imovel-gallery {
        height: 200px;
    }
    
    .mini-carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .mini-carousel-prev {
        left: 5px;
    }
    
    .mini-carousel-next {
        right: 5px;
    }
}
