/* ===================================
   Custom Styles - ROU Theme
   =================================== */

/* Fonte Catavalo */
@font-face {
    font-family: 'Catavalo';
    src: url('../fonts/Catavalo-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Títulos com fonte Catavalo */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Catavalo', sans-serif !important;
    font-weight: 300 !important;
}

/* Menu (menu-item-list e navbar) com fonte Catavalo */
.alt-font,
.menu-item-list,
.header-rou .navbar-nav .nav-link {
    font-family: 'Catavalo', sans-serif !important;
    font-weight: 300 !important;
}

/* Header fixo ao fazer scroll com fundo #B8786F */
body header.header-rou.header-scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
    background-color: #B8786F !important;
    transition: background-color 0.25s ease;
}
body header.header-rou.header-scrolled .navbar {
    background-color: #B8786F !important;
    -webkit-transform: translateY(0) !important;
    transform: translateY(0) !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    min-height: auto !important;
}
/* Logo mais baixo quando o header está fixo */
body header.header-rou.header-scrolled .navbar-brand {
    padding: 0.25rem 0 !important;
}
body header.header-rou.header-scrolled .navbar-brand img {
    max-height: 38px !important;
    width: auto !important;
}
/* Container do header mais compacto quando fixo */
body header.header-rou.header-scrolled .container-fluid {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Architecture Swiper Fullscreen Styles */
@media (max-width: 991px) {
    .navbar.bg-transparent, .navbar-modern-inner.bg-transparent, .navbar-full-screen-menu-inner.bg-transparent {
        background-color: transparent !important;
    }
    
    /* Remover margin-top das páginas em mobile para imagem ir até o topo */
    .ipad-top-space-margin {
        margin-top: 0 !important;
    }
    
    /* Garantir que o header fique visível sobre a imagem */
    header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        width: 100%;
    }
    /* Ao fazer scroll, header fixo com cor #B8786F (mobile) */
    body header.header-rou.header-scrolled {
        position: fixed !important;
        background-color: #B8786F !important;
    }
    
    /* Ajustar padding do site-main em mobile */
    .site-main {
        padding-top: 0;
    }
    
    /* Logotipo mais pequeno em mobile */
    .navbar-brand img {
        max-height: 40px !important;
        width: auto !important;
    }
    
    /* Esconder segunda imagem dos pontos de interesse em mobile */
    .porto-image-front {
        display: none !important;
    }
}
.site-main {
    padding-top: 100px;
    padding-bottom: 100px;
}

#architecture-slider_wrapper {
    overflow: hidden;
}

.architecture-swiper {
    width: 100%;
    height: 100vh;
}

.architecture-swiper .swiper-slide {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.architecture-swiper .swiper-slide > div {
    width: 100%;
    height: 100%;
}

/* Navigation buttons */
.architecture-swiper-button-next,
.architecture-swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.architecture-swiper-button-next:hover,
.architecture-swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.4);
}

.architecture-swiper-button-next::after,
.architecture-swiper-button-prev::after {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: white !important;
}

.architecture-swiper-button-next::after {
    content: '\f061' !important; /* fa-chevron-right */
}

.architecture-swiper-button-prev::after {
    content: '\f060' !important; /* fa-chevron-left */
}

/* Pagination */
.architecture-swiper-pagination {
    bottom: 30px !important;
}

.architecture-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
}

.architecture-swiper-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

/* Responsive - Architecture Swiper */
@media (max-width: 768px) {
    .architecture-swiper-button-next,
    .architecture-swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .architecture-swiper-button-next::after,
    .architecture-swiper-button-prev::after {
        font-size: 16px !important;
    }
}

/* Estilos para as imagens sobrepostas dos pontos de interesse */
.porto-images-wrapper {
    min-height: 500px;
}

.porto-image-back {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.porto-image-back img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.porto-image-front {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 60%;
    max-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    z-index: 2;
    background: #fff;
}

.porto-image-front img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive - Porto Images */
@media (max-width: 991px) {
    .porto-images-wrapper {
        min-height: 400px;
        margin-bottom: 60px;
    }
    
    .porto-image-front {
        width: 50%;
        max-width: 280px;
        bottom: -20px;
        left: -20px;
    }
}

@media (max-width: 767px) {
    .porto-images-wrapper {
        min-height: 300px;
        margin-bottom: 50px;
    }
    
    .porto-image-back {
        padding-bottom: 70%;
    }
    
    .porto-image-front {
        width: 45%;
        max-width: 200px;
        bottom: -15px;
        left: -15px;
    }
}

/* Estilos personalizados para Fluent Forms */
.contact-form-wrapper .fluentform input[type="text"],
.contact-form-wrapper .fluentform input[type="email"],
.contact-form-wrapper .fluentform input[type="tel"],
.contact-form-wrapper .fluentform input[type="number"],
.contact-form-wrapper .fluentform input[type="url"],
.contact-form-wrapper .fluentform textarea,
.contact-form-wrapper .fluentform select {
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #ddd !important;
    padding: 12px 0 !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
}

.contact-form-wrapper .fluentform input[type="text"]:focus,
.contact-form-wrapper .fluentform input[type="email"]:focus,
.contact-form-wrapper .fluentform input[type="tel"]:focus,
.contact-form-wrapper .fluentform input[type="number"]:focus,
.contact-form-wrapper .fluentform input[type="url"]:focus,
.contact-form-wrapper .fluentform textarea:focus,
.contact-form-wrapper .fluentform select:focus {
    outline: none !important;
    border-bottom-color: var(--rou-title) !important;
    box-shadow: none !important;
}

.contact-form-wrapper .fluentform textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Botão de submit - estilo do botão "Ver todas as moradias" */
.contact-form-wrapper .fluentform .ff-btn-submit,
.contact-form-wrapper .fluentform .ff_btn_style,
.contact-form-wrapper form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style),
.contact-form-wrapper .fluentform button[type="submit"] {
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 20px   !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-align: center !important;
    transition: none !important;
    box-shadow: none !important;
    text-transform: uppercase !important;
    background-color: var(--rou-title) !important;
    color: #fff !important;
    text-decoration: none !important;
    position: relative !important;
}

/* Wrapper do botão para aplicar o estilo btn-switch-text */
.contact-form-wrapper .fluentform .ff-btn-submit-wrapper,
.contact-form-wrapper .fluentform .ff_submit_btn_wrapper {
    text-align: center !important;
    margin-top: 30px !important;
}

/* Aplicar classes do tema ao botão */
.contact-form-wrapper .fluentform .ff-btn-submit,
.contact-form-wrapper form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style),
.contact-form-wrapper .fluentform button[type="submit"] {
    font-weight: 500 !important;
    letter-spacing: 1px !important;
}

/* Labels */
.contact-form-wrapper .fluentform label {
    color: var(--rou-text-dark) !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Mensagens de erro/sucesso */
.contact-form-wrapper .fluentform .ff-message-success,
.contact-form-wrapper .fluentform .ff-message-error {
    border-radius: 0 !important;
    padding: 15px !important;
    margin-top: 20px !important;
}

/* Ícones sociais do header - cor branca */
.header-icon .header-social-icon a i {
    color: white !important;
}

/* Ícones sociais do menu hamburger - cor branca */
.hamburger-menu-simple .elements-social .social-icon-style-02 ul li a i {
    color: white !important;
}

/* Links do menu hamburger - cor branca */
.hamburger-menu-simple .menu-item-list .nav-link {
    color: white !important;
}

.hamburger-menu-simple .menu-item-list .nav-link:hover {
    color: white !important;
    opacity: 0.8;
}

/* Botão hamburger - cor branca */
.header-push-button .push-button span {
    background-color: white !important;
}

/* Galeria do Imóvel */
.imovel-gallery-swiper {
    margin-bottom: 20px;
}

.imovel-gallery-swiper .swiper-slide {
    height: auto;
}

.imovel-gallery-thumbs .swiper-slide {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.imovel-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.imovel-gallery-thumbs .swiper-slide:hover {
    opacity: 1;
}

.imovel-gallery-thumbs .thumbnail-item.active {
    border-color: var(--rou-title) !important;
}

.imovel-gallery-swiper .swiper-button-next,
.imovel-gallery-swiper .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.imovel-gallery-swiper .swiper-button-next:hover,
.imovel-gallery-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.imovel-gallery-swiper .swiper-button-next::after,
.imovel-gallery-swiper .swiper-button-prev::after {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: white !important;
}

.imovel-gallery-swiper .swiper-button-next::after {
    content: '\f061' !important; /* fa-chevron-right */
}

.imovel-gallery-swiper .swiper-button-prev::after {
    content: '\f060' !important; /* fa-chevron-left */
}

.imovel-gallery-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.imovel-gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--rou-title);
}

/* Lightbox */
.lightbox-modal {
    display: none;
}

.lightbox-modal.active {
    display: flex !important;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}

/* Responsive - Galeria */
@media (max-width: 768px) {
    .imovel-gallery-swiper .swiper-button-next,
    .imovel-gallery-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .imovel-gallery-swiper .swiper-button-next::after,
    .imovel-gallery-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
}

/* Características do Imóvel - Flexbox */
.caracteristicas-wrapper {
    padding: 60px 0;
    gap: 30px;
}

.caracteristica-item-wrapper {
    flex: 0 0 auto;
    min-width: 150px;
    max-width: 200px;
    padding: 20px;
}

@media (max-width: 768px) {
    .caracteristicas-wrapper {
        padding: 40px 0;
        gap: 20px;
    }
    
    .caracteristica-item-wrapper {
        min-width: 120px;
        max-width: 150px;
        padding: 15px;
    }
}

/* Conteúdo do Imóvel - Efeito Moderno */
.imovel-content-wrapper {
    position: relative;
    overflow: hidden;
}

.imovel-content {
    font-size: 18px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.imovel-content p {
    margin-bottom: 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.imovel-content p:nth-child(1) { animation-delay: 0.2s; }
.imovel-content p:nth-child(2) { animation-delay: 0.4s; }
.imovel-content p:nth-child(3) { animation-delay: 0.6s; }
.imovel-content p:nth-child(4) { animation-delay: 0.8s; }
.imovel-content p:nth-child(5) { animation-delay: 1s; }
.imovel-content p:nth-child(n+6) { animation-delay: 1.2s; }

.imovel-content h1,
.imovel-content h2,
.imovel-content h3,
.imovel-content h4,
.imovel-content h5,
.imovel-content h6 {
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.imovel-content h1 { animation-delay: 0.1s; }
.imovel-content h2 { animation-delay: 0.2s; }
.imovel-content h3 { animation-delay: 0.3s; }

.imovel-content a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.imovel-content a:hover {
    opacity: 0.8;
}

.imovel-content ul,
.imovel-content ol {
    color: white;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.imovel-content li {
    margin-bottom: 0.5rem;
    color: white;
}

/* Efeito de reveal moderno com overlay */
.imovel-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--rou-title);
    transform: translateX(-100%);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.imovel-content-wrapper[data-anime]::before {
    animation: slideReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes slideReveal {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Conteúdo */
@media (max-width: 768px) {
    .imovel-content {
        font-size: 16px;
        line-height: 1.7;
    }
}

.btn-rou {
    background-color: var(--rou-title) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
}

.btn-rou:hover {
    background-color: var(--rou-title-hover) !important;
    border-color: var(--rou-title-hover) !important;
    color: var(--rou-title)e !important;
}

