/* ==========================================================================
   Litoral Viver — Main Stylesheet
   Intermediação Imobiliária — Esposende, Apúlia e Alto Minho
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (fallbacks — Customizer outputs these on :root)
   -------------------------------------------------------------------------- */
:root {
    --lv-primary: #213443;
    --lv-primary-dark: #192831;
    --lv-primary-light: #2d4555;
    --lv-accent: #6BB64F;
    --lv-accent-dark: #5a9e42;
    --lv-text: #333333;
    --lv-light-bg: #E2E1DD;
    --lv-font-heading: 'Montserrat', sans-serif;
    --lv-font-body: 'Open Sans', sans-serif;
    --lv-radius: 12px;
    --lv-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --lv-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --lv-transition: 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. Base / Reset — Override Storefront defaults
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--lv-font-body) !important;
    color: var(--lv-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lv-font-heading) !important;
    font-weight: 700;
    color: var(--lv-primary);
    line-height: 1.3;
}

a {
    color: var(--lv-accent);
    text-decoration: none;
    transition: color var(--lv-transition);
}

a:hover,
a:focus {
    color: var(--lv-accent-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Hide Storefront defaults we replace */
#secondary,
.widget-area,
.storefront-sidebar,
.storefront-breadcrumb,
.site-header,
.site-footer,
.storefront-handheld-footer-bar,
.storefront-sorting,
p.storefront-sorting,
.storefront-product-section,
.site-header-cart,
header.woocommerce-products-header,
.storefront-primary-navigation {
    display: none !important;
}

/* Reset Storefront's content area constraints */
.site-content,
.col-full,
#content {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Force full-width content (no Storefront sidebar) */
.site-content #primary,
.lv-main #primary {
    width: 100% !important;
    float: none !important;
}

/* Clearfix for lv-main when Storefront content is inside */
.lv-main::after {
    content: '';
    display: table;
    clear: both;
}

.hentry .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hide Storefront default page title (our templates have their own) */
.hentry .entry-header {
    display: none;
}

/* Hide Storefront's default footer widgets if showing */
.footer-widgets,
.storefront-footer-widget-area {
    display: none !important;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.lv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.lv-section {
    padding: 60px 0;
}

.lv-section--light {
    background-color: var(--lv-light-bg);
}

.lv-section--dark {
    background-color: var(--lv-primary);
    color: #fff;
}

.lv-section--dark h2,
.lv-section--dark h3,
.lv-section--dark h4 {
    color: #fff;
}

.lv-section__title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 15px;
}

.lv-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--lv-accent);
    border-radius: 2px;
}

.lv-section__title--light {
    color: #fff;
}

.lv-section__subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
}

.lv-section__subtitle--light {
    color: rgba(255, 255, 255, 0.8);
}

.lv-section__cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.lv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--lv-font-body);
    cursor: pointer;
    transition: all var(--lv-transition);
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1.4;
}

.lv-btn:hover,
.lv-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.lv-btn--primary {
    background-color: var(--lv-primary);
    color: #fff;
    border-color: var(--lv-primary);
}

.lv-btn--primary:hover,
.lv-btn--primary:focus {
    background-color: var(--lv-primary-dark);
    border-color: var(--lv-primary-dark);
    color: #fff;
}

.lv-btn--accent {
    background-color: var(--lv-accent);
    color: #fff;
    border-color: var(--lv-accent);
}

.lv-btn--accent:hover,
.lv-btn--accent:focus {
    background-color: var(--lv-accent-dark);
    border-color: var(--lv-accent-dark);
    color: #fff;
}

.lv-btn--outline {
    background-color: transparent;
    color: var(--lv-primary);
    border: 2px solid var(--lv-primary);
}

.lv-btn--outline:hover,
.lv-btn--outline:focus {
    background-color: var(--lv-primary);
    color: #fff;
}

.lv-btn--lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

.lv-btn--full {
    width: 100%;
}

.lv-btn--whatsapp {
    background-color: #25D366;
    color: #fff;
    border-color: #25D366;
}

.lv-btn--whatsapp:hover,
.lv-btn--whatsapp:focus {
    background-color: #1da851;
    border-color: #1da851;
    color: #fff;
}

/* --------------------------------------------------------------------------
   5. Top Bar
   -------------------------------------------------------------------------- */
.lv-topbar {
    background-color: var(--lv-primary);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.lv-topbar .lv-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lv-topbar__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lv-topbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lv-topbar__link {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--lv-transition);
}

.lv-topbar__link:hover,
.lv-topbar__link:focus {
    color: var(--lv-accent);
}

.lv-topbar__social {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    transition: color var(--lv-transition);
}

.lv-topbar__social:hover,
.lv-topbar__social:focus {
    color: var(--lv-accent);
}

.lv-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.lv-header {
    position: relative;
    z-index: 1000;
}

.lv-header__main {
    background-color: #fff;
    padding: 12px 0;
    transition: box-shadow var(--lv-transition);
}

.lv-header__main .lv-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lv-header.is-sticky .lv-header__main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.lv-header__logo {
    flex-shrink: 0;
}

.lv-header__logo img,
.lv-header__logo .custom-logo {
    max-height: 55px;
    width: auto;
}

/* Navigation */
.lv-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.lv-nav__list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lv-nav__list li {
    margin: 0;
    padding: 0;
}

.lv-nav__list li a {
    color: var(--lv-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--lv-transition);
    padding: 8px 0;
    position: relative;
}

.lv-nav__list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--lv-accent);
    transition: width var(--lv-transition);
}

.lv-nav__list li a:hover::after,
.lv-nav__list li.current-menu-item a::after,
.lv-nav__list li.current_page_item a::after {
    width: 100%;
}

.lv-nav__list li a:hover,
.lv-nav__list li.current-menu-item a,
.lv-nav__list li.current_page_item a {
    color: var(--lv-accent);
}

.lv-header__actions {
    flex-shrink: 0;
}

.lv-header__actions .lv-btn {
    font-size: 0.85rem;
    padding: 8px 20px;
}

/* Hamburger */
.lv-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.lv-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--lv-primary);
    transition: all var(--lv-transition);
    border-radius: 2px;
}

.lv-hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.lv-hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.lv-hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.lv-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.lv-hero--has-video {
    background: #1B2A4A;
    overflow: hidden;
}

.lv-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.lv-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27, 42, 74, 0.55) 0%, rgba(27, 42, 74, 0.75) 100%);
    z-index: 1;
}

.lv-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 16px 28px;
    max-width: 720px;
    margin: 0 auto;
}

.lv-hero__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.lv-hero__subtitle {
    font-size: 0.95rem;
    margin: 0 auto;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    font-weight: 400;
}

/* Hero Search Tabs (minimal, no icons) */
.lv-hero-search__tabs {
    display: inline-flex;
    gap: 2px;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
}

.lv-hero-search__tab {
    padding: 8px 18px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--lv-font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    border-radius: 6px;
    letter-spacing: 0.01em;
}

.lv-hero-search__tab:hover {
    color: #fff;
}

.lv-hero-search__tab.is-active {
    background: #fff;
    color: var(--lv-primary);
    font-weight: 600;
}

@media (max-width: 600px) {
    .lv-hero-search__tabs {
        width: 100%;
        justify-content: center;
        border-radius: 10px 10px 0 0;
    }
    .lv-hero-search__tab {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Hero Search Form (single compact bar) */
.lv-hero__search {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.lv-hero-search {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 0 12px 12px 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.lv-hero-search__field {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(27, 42, 74, 0.08);
}

.lv-hero-search__field--main {
    flex: 1.6 1 0;
}

.lv-hero-search__icon {
    position: absolute;
    left: 14px;
    color: var(--lv-primary);
    opacity: 0.5;
    pointer-events: none;
}

.lv-hero-search__field select {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--lv-font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--lv-primary);
    padding: 16px 32px 16px 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B2A4A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.5'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.lv-hero-search__field--main select {
    padding-left: 46px;
}

.lv-hero-search__field--main .lv-hero-search__icon {
    left: 18px;
}

.lv-hero-search__field select:focus {
    outline: none;
    background-color: rgba(27, 42, 74, 0.03);
}

.lv-hero-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 26px;
    background: var(--lv-primary);
    color: #fff;
    border: none;
    font-family: var(--lv-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.lv-hero-search__submit:hover {
    background: #111e38;
}

.lv-hero-search__submit svg {
    flex-shrink: 0;
}

/* Hero search responsive */
@media (max-width: 700px) {
    .lv-hero-search {
        flex-direction: column;
        border-radius: 12px;
    }

    .lv-hero-search__field {
        border-right: none;
        border-bottom: 1px solid rgba(27, 42, 74, 0.08);
    }

    .lv-hero-search__submit {
        width: 100%;
        padding: 14px;
    }
}

/* --------------------------------------------------------------------------
   8. Property Cards
   -------------------------------------------------------------------------- */
.lv-properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.lv-properties-grid__empty,
.lv-archive__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1rem;
}

.lv-property-card {
    background: #fff;
    border-radius: var(--lv-radius);
    overflow: hidden;
    box-shadow: var(--lv-shadow);
    transition: transform var(--lv-transition), box-shadow var(--lv-transition);
}

.lv-property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lv-shadow-lg);
}

.lv-property-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.lv-property-card__link:hover {
    color: inherit;
    text-decoration: none;
}

.lv-property-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background-color: var(--lv-light-bg);
}

.lv-property-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--lv-transition);
}

.lv-property-card:hover .lv-property-card__image img {
    transform: scale(1.05);
}

.lv-property-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--lv-accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.lv-property-card__status {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--lv-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.lv-property-card__status--vendido,
.lv-property-card__status--arrendado {
    background-color: #c0392b;
}

.lv-property-card__status--reservado {
    background-color: #e67e22;
}

.lv-property-card__body {
    padding: 20px;
}

.lv-property-card__title {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--lv-primary);
    line-height: 1.4;
}

.lv-property-card__location {
    color: #666;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
}

.lv-property-card__location svg {
    flex-shrink: 0;
    color: var(--lv-accent);
}

.lv-property-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0;
    font-size: 0.85rem;
    color: #666;
}

.lv-property-card__detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lv-property-card__detail svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.lv-property-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lv-accent);
    margin-top: 8px;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Services Section (Homepage)
   -------------------------------------------------------------------------- */
.lv-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.lv-service-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px 24px;
    border-radius: var(--lv-radius);
    text-align: center;
    transition: background var(--lv-transition), transform var(--lv-transition);
}

.lv-service-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

.lv-service-card__icon {
    margin-bottom: 16px;
    color: var(--lv-accent);
}

.lv-service-card__icon svg {
    width: 48px;
    height: 48px;
}

.lv-service-card__title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #fff;
}

.lv-service-card__desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   10. About Section (Homepage)
   -------------------------------------------------------------------------- */
.lv-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.lv-about__image img {
    border-radius: var(--lv-radius);
    box-shadow: var(--lv-shadow-lg);
    width: 100%;
}

.lv-about__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.lv-about__text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
}

.lv-about__text ul {
    padding-left: 20px;
    margin: 15px 0;
}

.lv-about__text li {
    margin-bottom: 6px;
    position: relative;
}

.lv-about__content .lv-btn {
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.lv-testimonials-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.lv-testimonial-card {
    background: #fff;
    padding: 28px;
    border-radius: var(--lv-radius);
    box-shadow: var(--lv-shadow);
}

.lv-testimonial-card__stars {
    margin-bottom: 14px;
    display: flex;
    gap: 2px;
}

.lv-star--filled {
    color: #FFC107;
}

.lv-star--empty {
    color: #ddd;
}

.lv-testimonial-card__text {
    margin: 0 0 16px;
    border: none;
    padding: 0;
}

.lv-testimonial-card__text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin: 0;
}

.lv-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lv-testimonial-card__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--lv-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.lv-testimonial-card__name {
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--lv-primary);
}

/* --------------------------------------------------------------------------
   12. CTA Section
   -------------------------------------------------------------------------- */
.lv-cta {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lv-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 42, 74, 0.75);
}

.lv-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
}

.lv-cta__title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.lv-cta__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.lv-footer {
    background-color: var(--lv-primary);
    color: #fff;
    padding-top: 0;
}

.lv-footer__main {
    padding: 50px 0 30px;
}

.lv-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.lv-footer__col--brand .custom-logo-link img,
.lv-footer__col--brand .custom-logo {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 12px;
}

.lv-footer__heading {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

/* Footer menus */
.lv-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lv-footer__menu li {
    margin-bottom: 8px;
}

.lv-footer__menu li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    transition: color var(--lv-transition);
}

.lv-footer__menu li a:hover,
.lv-footer__menu li a:focus {
    color: #fff;
}

/* Footer contact */
.lv-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lv-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

.lv-footer__contact li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--lv-accent);
}

.lv-footer__contact li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--lv-transition);
}

.lv-footer__contact li a:hover {
    color: #fff;
}

/* Footer social */
.lv-footer__social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lv-footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    transition: color var(--lv-transition);
}

.lv-footer__social-link:hover,
.lv-footer__social-link:focus {
    color: #fff;
}

/* Footer widgets override */
.lv-footer .widget {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.lv-footer .widget p {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer legal row (legal name, NIF, AMI, capital) */
.lv-footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
}

.lv-footer__legal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.lv-footer__legal-list li {
    margin: 0;
    padding: 0;
}

.lv-footer__legal-list li + li::before {
    content: "•";
    margin-right: 18px;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    .lv-footer__legal-list {
        flex-direction: column;
        gap: 4px;
    }
    .lv-footer__legal-list li + li::before {
        content: none;
    }
}

/* Footer bottom */
.lv-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.lv-footer__bottom .lv-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.lv-footer__copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.lv-footer__reclamacoes {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--lv-transition);
}

.lv-footer__reclamacoes:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   14. Page Header (inner pages)
   -------------------------------------------------------------------------- */
.lv-page-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--lv-primary);
}

.lv-page-header__overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 42, 74, 0.65);
}

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

.lv-page-header h1,
.lv-page-header__title {
    color: #fff;
    font-size: 2rem;
    margin: 0;
}

.lv-page-header__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   15. Archive / Filters
   -------------------------------------------------------------------------- */
.lv-archive__results {
    padding: 40px 20px;
}

.lv-archive__count {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.lv-filters {
    background-color: var(--lv-light-bg);
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
}

.lv-filters__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.lv-filters__select,
.lv-filters__input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-family: var(--lv-font-body);
    color: var(--lv-text);
    background-color: #fff;
    transition: border-color var(--lv-transition);
    min-width: 140px;
    flex: 1;
    min-height: 42px;
}

.lv-filters__select:focus,
.lv-filters__input:focus {
    border-color: var(--lv-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 127, 98, 0.1);
}

.lv-filters__input--search {
    min-width: 160px;
}

.lv-filters__clear {
    color: #999;
    font-size: 0.85rem;
    text-decoration: underline;
    white-space: nowrap;
}

.lv-filters__clear:hover {
    color: var(--lv-accent);
}

/* Pagination */
.lv-pagination {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.lv-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--lv-text);
    background: #fff;
    border: 1px solid #ddd;
    transition: all var(--lv-transition);
    text-decoration: none;
}

.lv-pagination .page-numbers:hover {
    border-color: var(--lv-accent);
    color: var(--lv-accent);
}

.lv-pagination .page-numbers.current {
    background-color: var(--lv-primary);
    border-color: var(--lv-primary);
    color: #fff;
}

/* --------------------------------------------------------------------------
   16. Single Property
   -------------------------------------------------------------------------- */
.lv-single-property {
    padding-bottom: 60px;
}

/* Gallery */
.lv-property-gallery {
    max-height: 500px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.lv-property-gallery__main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 500px;
}

.lv-property-gallery__main-img {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
}

.lv-property-gallery__status {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--lv-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
}

.lv-property-gallery__status--vendido,
.lv-property-gallery__status--arrendado {
    background-color: #c0392b;
}

.lv-property-gallery__status--reservado {
    background-color: #e67e22;
}

.lv-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 8px 14px;
    cursor: pointer;
    z-index: 5;
    transition: background var(--lv-transition);
    line-height: 1;
    border-radius: 4px;
}

.lv-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lv-gallery-nav--prev {
    left: 10px;
}

.lv-gallery-nav--next {
    right: 10px;
}

.lv-gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    z-index: 3;
}

/* Thumbnails */
.lv-property-gallery__thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 10px;
    background: #111;
    -webkit-overflow-scrolling: touch;
}

.lv-property-gallery__thumb {
    flex-shrink: 0;
    width: 90px;
    height: 65px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--lv-transition);
    background: none;
    padding: 0;
}

.lv-property-gallery__thumb.is-active {
    border-color: var(--lv-accent);
}

.lv-property-gallery__thumb:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.lv-property-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.lv-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lv-lightbox[hidden] {
    display: none;
}

.lv-lightbox__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10001;
    padding: 8px;
    transition: opacity var(--lv-transition);
}

.lv-lightbox__close:hover {
    opacity: 0.7;
}

.lv-lightbox__prev,
.lv-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 10001;
    transition: background var(--lv-transition);
    border-radius: 4px;
    line-height: 1;
}

.lv-lightbox__prev:hover,
.lv-lightbox__next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lv-lightbox__prev {
    left: 16px;
}

.lv-lightbox__next {
    right: 16px;
}

.lv-lightbox__img-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lv-lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* Single Property Layout */
.lv-single-property__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.lv-single-property__header {
    margin-bottom: 16px;
}

.lv-single-property__title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.lv-single-property__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #666;
    font-size: 0.9rem;
}

.lv-single-property__location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lv-single-property__location svg {
    color: var(--lv-accent);
}

.lv-single-property__ref {
    color: #999;
}

.lv-single-property__type {
    background: var(--lv-light-bg);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.lv-single-property__price-block {
    margin-bottom: 24px;
}

.lv-single-property__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lv-accent);
}

/* Section titles inside single */
.lv-single-property__section-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lv-light-bg);
}

/* Details grid */
.lv-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.lv-details-grid__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lv-details-grid__label {
    font-size: 0.82rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lv-details-grid__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lv-text);
}

/* Energy certification colors */
.lv-energy-cert--a,
.lv-energy-cert--a\\+ {
    color: #2ecc71;
}

.lv-energy-cert--b,
.lv-energy-cert--b- {
    color: #3498db;
}

.lv-energy-cert--c {
    color: #f39c12;
}

.lv-energy-cert--d {
    color: #e67e22;
}

.lv-energy-cert--e,
.lv-energy-cert--f,
.lv-energy-cert--g {
    color: #e74c3c;
}

/* Features list */
.lv-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.lv-features-list__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--lv-light-bg);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--lv-text);
}

.lv-features-list__item svg {
    color: var(--lv-accent);
    flex-shrink: 0;
}

/* Description */
.lv-single-property__content {
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.lv-single-property__content p {
    margin-bottom: 16px;
}

/* Video */
.lv-single-property__video {
    margin-bottom: 30px;
}

.lv-single-property__video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--lv-radius);
}

.lv-single-property__video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Map */
.lv-single-property__map {
    margin-bottom: 30px;
}

.lv-single-property__map-wrap {
    border-radius: var(--lv-radius);
    overflow: hidden;
}

.lv-single-property__map-wrap iframe {
    display: block;
}

/* Sidebar */
.lv-single-property__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lv-sidebar-card {
    background: #fff;
    padding: 24px;
    border-radius: var(--lv-radius);
    box-shadow: var(--lv-shadow);
}

.lv-sidebar-card__title {
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.lv-sidebar-price {
    background: #fff;
    padding: 20px 24px;
    border-radius: var(--lv-radius);
    box-shadow: var(--lv-shadow);
    text-align: center;
}

.lv-sidebar-price__value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lv-accent);
    font-family: var(--lv-font-heading);
}

/* Agent card */
.lv-agent-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.lv-agent-card__photo {
    border-radius: 50%;
    object-fit: cover;
}

.lv-agent-card__name {
    font-weight: 600;
    color: var(--lv-primary);
    margin: 0;
}

.lv-agent-card__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lv-accent);
    font-size: 0.92rem;
}

/* Related properties */
.lv-related-properties {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.lv-related-properties__title {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   17. Contact Page
   -------------------------------------------------------------------------- */
.lv-contact__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.lv-contact__form-col h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

/* Alert messages */
.lv-alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border-left: 4px solid;
}

.lv-alert--success {
    background-color: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.lv-alert--error {
    background-color: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

/* Forms */
.lv-form-group {
    margin-bottom: 18px;
}

.lv-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--lv-text);
}

.lv-required {
    color: #dc3545;
}

.lv-contact-form input[type="text"],
.lv-contact-form input[type="email"],
.lv-contact-form input[type="tel"],
.lv-contact-form input[type="number"],
.lv-contact-form select,
.lv-contact-form textarea,
.lv-contact-form__input,
.lv-contact-form__textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--lv-font-body);
    color: var(--lv-text);
    transition: border-color var(--lv-transition), box-shadow var(--lv-transition);
    box-sizing: border-box;
    background: #fff;
}

.lv-contact-form input:focus,
.lv-contact-form select:focus,
.lv-contact-form textarea:focus,
.lv-contact-form__input:focus,
.lv-contact-form__textarea:focus {
    border-color: var(--lv-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 127, 98, 0.1);
}

.lv-contact-form__field {
    margin-bottom: 14px;
}

.lv-contact-form__field--submit {
    margin-top: 8px;
}

.lv-contact-form textarea,
.lv-contact-form__textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact info card */
.lv-contact__info-card {
    background: var(--lv-light-bg);
    padding: 28px;
    border-radius: var(--lv-radius);
}

.lv-contact__info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.lv-contact__info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lv-contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.92rem;
}

.lv-contact__info-icon {
    color: var(--lv-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.lv-contact__info-item strong {
    display: block;
    color: var(--lv-primary);
    margin-bottom: 2px;
}

.lv-contact__info-item a {
    color: #555;
}

.lv-contact__info-item a:hover {
    color: var(--lv-accent);
}

/* Social links */
.lv-contact__social {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
}

.lv-contact__social h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.lv-contact__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lv-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #fff;
    transition: opacity var(--lv-transition);
}

.lv-social-link:hover {
    opacity: 0.85;
    color: #fff;
}

.lv-social-link--whatsapp {
    background-color: #25D366;
}

.lv-social-link--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.lv-social-link--linkedin {
    background-color: #0077b5;
}

/* Contact map */
.lv-contact__map {
    margin-top: 20px;
    border-radius: var(--lv-radius);
    overflow: hidden;
}

.lv-contact__map iframe {
    display: block;
}

/* --------------------------------------------------------------------------
   18. About Page
   -------------------------------------------------------------------------- */
.lv-about__historia {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.lv-about__historia-image img {
    border-radius: var(--lv-radius);
    box-shadow: var(--lv-shadow-lg);
    width: 100%;
}

.lv-about__historia-content h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.lv-about__historia-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}

/* Values */
.lv-about__values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.lv-about__value-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--lv-radius);
    box-shadow: var(--lv-shadow);
}

.lv-about__value-icon {
    margin-bottom: 16px;
    color: var(--lv-accent);
}

.lv-about__value-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
}

.lv-about__value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.lv-about__value-card p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* Team */
.lv-about__team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.lv-about__team-member {
    text-align: center;
    padding: 20px;
}

.lv-about__team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    box-shadow: var(--lv-shadow);
}

.lv-about__team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-about__team-member h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.lv-about__team-cargo {
    color: var(--lv-accent);
    font-size: 0.9rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   19. Services Page
   -------------------------------------------------------------------------- */
.lv-services__intro {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.lv-services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.lv-services__card {
    background: #fff;
    padding: 30px;
    border-radius: var(--lv-radius);
    box-shadow: var(--lv-shadow);
    border-bottom: 3px solid transparent;
    transition: border-color var(--lv-transition), transform var(--lv-transition);
}

.lv-services__card:hover {
    border-bottom-color: var(--lv-accent);
    transform: translateY(-3px);
}

.lv-services__card-icon {
    margin-bottom: 16px;
    color: var(--lv-accent);
}

.lv-services__card-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
}

.lv-services__card h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.lv-services__card p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.lv-services__cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.lv-services__cta-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   20. WhatsApp Float
   -------------------------------------------------------------------------- */
.lv-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform var(--lv-transition), box-shadow var(--lv-transition);
    animation: lv-pulse 2s infinite;
}

.lv-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

@keyframes lv-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --------------------------------------------------------------------------
   21. Calculadora IMT/IMI (shortcode styles)
   -------------------------------------------------------------------------- */
.lv-calculadora {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: var(--lv-radius);
    box-shadow: var(--lv-shadow);
}

.lv-calculadora label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.lv-calculadora input,
.lv-calculadora select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: var(--lv-font-body);
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: border-color var(--lv-transition);
}

.lv-calculadora input:focus,
.lv-calculadora select:focus {
    border-color: var(--lv-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 127, 98, 0.1);
}

.lv-calculadora__result {
    background: var(--lv-light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
}

.lv-calculadora__result strong {
    font-size: 1.3rem;
    color: var(--lv-accent);
}

/* --------------------------------------------------------------------------
   22. Scroll Animation
   -------------------------------------------------------------------------- */
.lv-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lv-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   23. Utilities
   -------------------------------------------------------------------------- */
.lv-text-center {
    text-align: center;
}

.lv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   RESPONSIVE — Tablet (768px+)
   ========================================================================== */
@media (min-width: 768px) {

    /* Section */
    .lv-section {
        padding: 70px 0;
    }

    .lv-section__title {
        font-size: 2rem;
    }

    /* Hero */
    .lv-hero {
        min-height: 560px;
    }

    /* Properties grid */
    .lv-properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    /* Services grid (homepage) */
    .lv-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About */
    .lv-about {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    /* Testimonials */
    .lv-testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .lv-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Page header */
    .lv-page-header {
        min-height: 280px;
    }

    .lv-page-header h1,
    .lv-page-header__title {
        font-size: 2.4rem;
    }

    /* About page */
    .lv-about__historia {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .lv-about__values {
        grid-template-columns: repeat(3, 1fr);
    }

    .lv-about__team {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services page */
    .lv-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .lv-contact__layout {
        grid-template-columns: 3fr 2fr;
        gap: 40px;
    }

    /* Single property */
    .lv-single-property__layout {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }

    .lv-single-property__title {
        font-size: 1.8rem;
    }

    /* Details grid */
    .lv-details-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* CTA */
    .lv-cta__title {
        font-size: 2.2rem;
    }

    /* Filters */
    .lv-filters__select,
    .lv-filters__input {
        flex: 0 1 auto;
        min-width: 150px;
    }
}

/* ==========================================================================
   RESPONSIVE — Desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {

    /* Section */
    .lv-section {
        padding: 80px 0;
    }

    /* Topbar — show */
    .lv-topbar {
        display: block;
    }

    /* Nav — desktop */
    .lv-hamburger {
        display: none !important;
    }

    .lv-nav {
        display: flex !important;
    }

    /* Hero */
    .lv-hero {
        min-height: 600px;
    }

    /* Properties grid */
    .lv-properties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    /* Services grid (homepage) */
    .lv-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Testimonials */
    .lv-testimonials-slider {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .lv-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }

    /* About page */
    .lv-about__team {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Services page */
    .lv-services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Single property sidebar sticky */
    .lv-single-property__sidebar {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

/* ==========================================================================
   RESPONSIVE — Mobile (below 768px)
   ========================================================================== */
@media (max-width: 767px) {

    /* Topbar — hide */
    .lv-topbar {
        display: none;
    }

    /* Header mobile */
    .lv-hamburger {
        display: flex;
    }

    .lv-header__actions {
        display: none;
    }

    .lv-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .lv-nav.is-open {
        display: block;
    }

    .lv-nav__list {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .lv-nav__list li a {
        display: block;
        padding: 12px 24px;
        border-bottom: 1px solid #f0f0f0;
    }

    .lv-nav__list li a::after {
        display: none;
    }

    .lv-nav__list li:last-child a {
        border-bottom: none;
    }

    /* Lightbox nav */
    .lv-lightbox__prev,
    .lv-lightbox__next {
        font-size: 1.8rem;
        padding: 6px 10px;
    }

    /* Gallery */
    .lv-property-gallery {
        max-height: 300px;
    }

    .lv-property-gallery__main,
    .lv-property-gallery__main-img {
        max-height: 300px;
    }

    /* Gallery nav buttons smaller */
    .lv-gallery-nav {
        font-size: 1.5rem;
        padding: 6px 10px;
    }

    /* Sidebar price not visible on mobile (redundant) */
    .lv-sidebar-price {
        display: none;
    }

    /* Filters stack */
    .lv-filters__form {
        flex-direction: column;
    }

    .lv-filters__select,
    .lv-filters__input {
        width: 100%;
    }

    /* Footer bottom stack */
    .lv-footer__bottom .lv-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   RESPONSIVE — Large Desktop (1200px+)
   ========================================================================== */
@media (min-width: 1200px) {

    .lv-container {
        max-width: 1200px;
    }
}

/* ==========================================================================
   Homepage — minimalist navy-forward overrides
   Tone down green accents on the home page per client feedback.
   ========================================================================== */

/* Section titles: slimmer accent bar in navy with subtle green tip */
.home .lv-section__title {
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.home .lv-section__title::after {
    width: 32px;
    height: 2px;
    background-color: var(--lv-primary);
    opacity: 0.4;
}

.home .lv-section__subtitle {
    opacity: 0.7;
}

/* Property cards — navy price, navy badge */
.home .lv-property-card__price {
    color: var(--lv-primary);
}

.home .lv-property-card__badge {
    background-color: var(--lv-primary);
}

/* Services section (dark navy bg) — white icons instead of green */
.home .lv-services-section .lv-section__title::after {
    background-color: rgba(255, 255, 255, 0.4);
}

.home .lv-service-card__icon {
    color: rgba(255, 255, 255, 0.9);
}

/* CTA section — swap green button for navy */
.home .lv-cta-section .lv-btn--accent,
.home .lv-cta .lv-btn--accent {
    background-color: var(--lv-primary);
    border-color: var(--lv-primary);
    color: #fff;
}

.home .lv-cta-section .lv-btn--accent:hover,
.home .lv-cta .lv-btn--accent:hover {
    background-color: #111e38;
    border-color: #111e38;
}

/* Testimonial stars, ratings, etc keep green (intentional brand cue) */

/* ==========================================================================
   Legal pages (Termos, Política de Privacidade)
   ========================================================================== */

.lv-legal .lv-page-header {
    min-height: 320px;
    display: flex;
    align-items: center;
    text-align: center;
}

.lv-legal .lv-page-header .lv-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.lv-legal .lv-page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 10px 0 0;
    color: #fff;
    letter-spacing: -0.01em;
}

.lv-legal__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.lv-legal__subtitle {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 14px auto 0;
    font-size: 1rem;
    line-height: 1.5;
}

.lv-legal__section {
    padding: 60px 0 90px;
}

.lv-legal__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* TOC sidebar */
.lv-legal__toc {
    position: sticky;
    top: 100px;
}

.lv-legal__toc-inner {
    background: #fff;
    border: 1px solid rgba(27, 42, 74, 0.08);
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 4px 24px rgba(27, 42, 74, 0.04);
}

.lv-legal__toc-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6BB64F;
    margin: 0 0 14px;
}

.lv-legal__toc-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    counter-reset: none;
}

.lv-legal__toc-list li {
    margin: 0;
    padding: 0;
}

.lv-legal__toc-list a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 8px;
    color: #1B2A4A;
    font-size: 0.875rem;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.lv-legal__toc-list a:hover {
    background: rgba(107, 182, 79, 0.08);
    color: #2A7F62;
}

.lv-legal__toc-num {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6BB64F;
    margin-top: 1px;
    letter-spacing: 0.04em;
}

.lv-legal__toc-title {
    flex: 1;
}

.lv-legal__toc-meta {
    padding-top: 16px;
    border-top: 1px solid rgba(27, 42, 74, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lv-legal__toc-meta-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(27, 42, 74, 0.5);
    font-weight: 600;
}

.lv-legal__toc-meta-value {
    font-size: 0.85rem;
    color: #1B2A4A;
    font-weight: 500;
}

/* Content column */
.lv-legal__content {
    max-width: 760px;
    color: #3a4560;
    font-size: 1rem;
    line-height: 1.75;
}

.lv-legal__content h2 {
    position: relative;
    scroll-margin-top: 100px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1B2A4A;
    margin: 48px 0 18px;
    padding-left: 18px;
    letter-spacing: -0.01em;
}

.lv-legal__content h2:first-child {
    margin-top: 0;
}

.lv-legal__content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 4px;
    height: calc(100% - 0.5em);
    background: linear-gradient(180deg, #6BB64F 0%, #2A7F62 100%);
    border-radius: 3px;
}

.lv-legal__content p {
    margin: 0 0 18px;
    color: #4a5670;
}

.lv-legal__content p:last-child {
    margin-bottom: 0;
}

.lv-legal__content a {
    color: #2A7F62;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.lv-legal__content a:hover {
    color: #6BB64F;
}

.lv-legal__content ul,
.lv-legal__content ol {
    margin: 0 0 20px 20px;
    padding: 0;
}

.lv-legal__content li {
    margin-bottom: 8px;
}

/* Company card at end of content */
.lv-legal__company {
    margin-top: 60px;
    padding: 28px 30px;
    background: linear-gradient(135deg, rgba(107, 182, 79, 0.05) 0%, rgba(27, 42, 74, 0.03) 100%);
    border: 1px solid rgba(27, 42, 74, 0.08);
    border-radius: 14px;
}

.lv-legal__company h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1B2A4A;
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

.lv-legal__company dl {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px 20px;
    margin: 0;
}

.lv-legal__company dt {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(27, 42, 74, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-top: 2px;
}

.lv-legal__company dd {
    margin: 0;
    font-size: 0.95rem;
    color: #1B2A4A;
}

/* Responsive */
@media (max-width: 960px) {
    .lv-legal__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .lv-legal__toc {
        position: static;
    }
    .lv-legal__toc-inner {
        padding: 20px;
    }
    .lv-legal__company dl {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }
    .lv-legal__company dt {
        margin-top: 14px;
    }
    .lv-legal__company dt:first-of-type {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .lv-legal__section {
        padding: 40px 0 60px;
    }
    .lv-legal__content h2 {
        font-size: 1.25rem;
        margin: 36px 0 14px;
    }
    .lv-legal__company {
        padding: 22px 20px;
    }
}

/* Property card — offer-type badges */
.lv-property-card__offers {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	margin: 8px 0 4px;
}

.lv-property-card__offer {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 3px 8px;
	border-radius: 4px;
	background: #F3F4F6;
	color: #374151;
}

.lv-property-card__offer--venda              { background: #1B2A4A; color: #fff; }
.lv-property-card__offer--arrendamento_anual { background: #6BB64F; color: #fff; }
.lv-property-card__offer--arrendamento_ferias{ background: #F59E0B; color: #fff; }
