:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --cta: #f97316;
    --success: #22c55e;
    --available: #20ec6b;
    --white: #fff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 4px 6px -1px rgb(0 0 0/.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0/.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0/.25)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased
}

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

a {
    color: inherit;
    text-decoration: none
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

ul {
    list-style: none
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow .3s
}

.header.scrolled {
    box-shadow: var(--shadow-lg)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-dark)
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    color: var(--white)
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px
    background-color: var(--primary);
    margin-left: 16px;
    
}

.nav-list {
    display: flex;
    gap: 8px
    background-color: var(--primary);
    margin-right: 16px;
}

.nav-link {
    padding: 10px 16px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 8px;
    transition: all .2s
}

.nav-link:hover {
    background: var(--primary-light);
    color: var(--primary-dark)
}

.lang-selector {
    display: flex;
    background: var(--gray-100);
    border-radius: 50px;
    padding: 4px
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-500);
    border-radius: 50px;
    transition: all .2s;
    cursor: pointer
    
}

.lang-btn:hover {
    color: var(--gray-700)
}

.lang-btn.active {
    background: var(--white);
    color: var(--gray-800);
    box-shadow: var(--shadow)
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--white);
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: all .3s
    margin-left: 16px;
}

.btn-whatsapp-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg)
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    border-radius: 8px
    background-color: var(--primary);
}

/* =====================================================
   MOBILE NAV
   ===================================================== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    padding: 24px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .3s ease
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
    background: var(--primary);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: var(--primary);
}

.mobile-nav-link {
    display: block;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 12px;
    transition: all .2s
    background-color: var(--primary);
}

.mobile-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary-dark)
}

.mobile-lang {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200)
    background-color: var(--primary);
}

.mobile-lang-btn {
    flex: 1;
    padding: 14px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: 10px;
    transition: all .2s;
    cursor: pointer;
    text-align: center
}

.mobile-lang-btn:hover {
    background: var(--gray-200)
}

.mobile-lang-btn.active {
    background: var(--primary);
    color: var(--white)
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(160deg, var(--primary-light) 0%, var(--white) 50%, var(--gray-50) 100%);
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(14, 165, 233, .1) 0%, transparent 70%);
    pointer-events: none
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(245, 158, 11, .1);
    border: 1px solid rgba(245, 158, 11, .2);
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInUp .6s ease-out
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
    animation: fadeInUp .6s ease-out .1s both
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp .6s ease-out .2s both
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp .6s ease-out .3s both
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: all .3s
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: var(--shadow-lg)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(14, 165, 233, .3)
}

.btn-secondary {
    color: var(--gray-700);
    background: var(--white);
    border: 2px solid var(--gray-200)
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark)
}

/* =====================================================
   HERO SLIDER - CORRIGIDO PARA MOBILE!
   ===================================================== */
.hero-visual {
    position: relative;
    animation: fadeInRight .8s ease-out .2s both
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px)
    }
    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.hero-slider-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    /* IMPORTANTE: garante que o container seja visível */
    min-height: 300px;
    background: var(--gray-100)
}

.hero-slider {
    position: relative;
    height: 520px;
    width: 100%;
    overflow: hidden
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .8s ease-in-out;
    /* IMPORTANTE: garante visibilidade */
    visibility: hidden
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* IMPORTANTE: garante que a imagem carregue */
    display: block
}

/* Navegação do Slider */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: all .3s;
    border: 2px solid transparent
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2)
}

.slider-dot:hover {
    background: rgba(255, 255, 255, .8)
}

/* Setas do Slider */
.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 10;
    pointer-events: none
}

.slider-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    color: var(--gray-800);
    cursor: pointer;
    transition: all .3s;
    pointer-events: auto;
    box-shadow: var(--shadow)
}

.slider-arrow:hover {
    background: var(--white);
    transform: scale(1.1)
}

/* Cards flutuantes do Hero */
.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: bounceIn .6s ease-out .8s both;
    z-index: 20
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(.8)
    }
    60% {
        transform: scale(1.05)
    }
    100% {
        opacity: 1;
        transform: scale(1)
    }
}

.floating-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--success), #16a34a);
    border-radius: 12px;
    color: var(--white)
}

.floating-content h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900)
}

.floating-content p {
    font-size: .85rem;
    color: var(--gray-500)
}

.hero-rating-card {
    position: absolute;
    top: 20px;
    right: -16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: bounceIn .6s ease-out 1s both;
    z-index: 20
}

.rating-stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--accent)
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900)
}

.rating-label {
    font-size: .75rem;
    color: var(--gray-500)
}

/* =====================================================
   SEARCH SECTION
   ===================================================== */
.search-section {
    position: relative;
    z-index: 10;
    margin-top: -48px;
    padding-bottom: 64px
}

.search-bar {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100)
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-700)
}

.form-input {
    padding: 14px 16px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    transition: all .2s
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .1)
}

.btn-search {
    padding: 14px 40px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--cta) 0%, #ea580c 100%);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all .3s;
    height: 52px
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg)
}

/* =====================================================
   TRUST SECTION
   ===================================================== */
.trust-section {
    padding: 64px 0;
    background: var(--gray-50)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px
}

.trust-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all .3s
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg)
}

.trust-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 16px;
    color: var(--primary)
}

.trust-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px
}

.trust-label {
    font-size: .9rem;
    color: var(--gray-500);
    font-weight: 500
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
    padding: 96px 0
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px
}

.section-badge {
    display: inline-flex;
    padding: 8px 16px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 50px;
    margin-bottom: 16px
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7
}

/* =====================================================
   APARTMENTS
   ===================================================== */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.apartment-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: all .3s
}

.apartment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl)
}

.apartment-image {
    position: relative;
    height: 240px;
    overflow: hidden
}

.apartment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.apartment-card:hover .apartment-img {
    transform: scale(1.08)
}

.apartment-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(10px);
    border-radius: 50px
}

.apartment-badge.featured {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: var(--gray-900)
}

.apartment-favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    color: var(--gray-400);
    transition: all .2s
}

.apartment-favorite:hover,
.apartment-favorite.favorited {
    color: #ef4444;
    transform: scale(1.1)
}

.apartment-content {
    padding: 24px
}

.apartment-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: var(--gray-500);
    margin-bottom: 8px
}

.apartment-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px
}

.apartment-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100)
}

.apartment-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: var(--gray-600)
}

.apartment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.apartment-price {
    display: flex;
    align-items: baseline;
    gap: 4px
}

.price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900)
}

.price-period {
    font-size: .85rem;
    color: var(--gray-500)
}

.apartment-cta {
    padding: 12px 20px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    transition: all .3s
}

.apartment-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow)
}

/* =====================================================
   FNRH SECTION
   ===================================================== */
.fnrh-section {
    padding: 96px 0;
    background: linear-gradient(135deg, #075985 0%, #0c4a6e 100%);
    position: relative;
    overflow: hidden
}

.fnrh-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E")
}

.fnrh-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1
}

.fnrh-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl)
}

.fnrh-image img {
    width: 100%;
    height: 400px;
    object-fit: cover
}

.fnrh-content {
    color: var(--white)
}

.fnrh-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(245, 158, 11, .15);
    border: 1px solid rgba(245, 158, 11, .3);
    border-radius: 50px;
    margin-bottom: 24px
}

.fnrh-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px
}

.fnrh-desc {
    font-size: 1.1rem;
    opacity: .9;
    line-height: 1.7;
    margin-bottom: 24px
}

.fnrh-list {
    margin-bottom: 32px
}

.fnrh-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    margin-bottom: 12px
}

.fnrh-list li i {
    color: var(--success);
    font-size: 1.2rem
}

.btn-fnrh {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-weight: 700;
    color: var(--gray-900);
    background: var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: all .3s
}

.btn-fnrh:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl)
}

.fnrh-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: .85rem;
    opacity: .7
}

/* =====================================================
   AMENITIES
   ===================================================== */
.amenities-section {
    background: var(--gray-50)
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.amenity-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all .3s
}

.amenity-card:hover {
    transform: translateY(-5px);
    border: 2px solid var(--available);
    box-shadow: var(--shadow-lg)
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 14px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all .3s
}

.amenity-card:hover .amenity-icon {
    background: var(--success);
    color: var(--white)
}

.amenity-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px
}

.amenity-description {
    font-size: .95rem;
    color: var(--gray-500);
    line-height: 1.7
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    border: 2px solid var(--gray-100);
    transition: all .3s
}

.testimonial-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg)
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white)
}

.testimonial-author h4 {
    font-weight: 700;
    color: var(--gray-900)
}

.testimonial-author p {
    font-size: .85rem;
    color: var(--gray-500)
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: var(--accent)
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    padding: 96px 0;
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 50%);
    animation: rotate 30s linear infinite
}

@keyframes rotate {
    from { transform: rotate(0deg) }
    to { transform: rotate(360deg) }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 32px
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cta);
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    transition: all .3s
}

.btn-cta-white:hover {
    transform: translateY(-4px) scale(1.02)
}

/* =====================================================
   BEACH SCENE
   ===================================================== */
.beach-scene {
    position: relative;
    height: 280px;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 40%, #F5DEB3 100%);
    overflow: hidden
}

.wave {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 200%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%2338bdf8' fill-opacity='0.4' d='M0,50 C360,100 720,0 1080,50 C1260,75 1440,50 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") repeat-x;
    background-size: 50% 100%;
    animation: wave 8s linear infinite
}

@keyframes wave {
    from { transform: translateX(0) }
    to { transform: translateX(-50%) }
}

.beach-umbrella {
    position: absolute;
    bottom: 70px;
    left: 25%;
    animation: umbrellaFloat 4s ease-in-out infinite
}

@keyframes umbrellaFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg) }
    50% { transform: translateY(-10px) rotate(2deg) }
}

.umbrella-top {
    width: 90px;
    height: 45px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFD93D 100%);
    border-radius: 45px 45px 0 0
}

.umbrella-pole {
    width: 5px;
    height: 70px;
    background: #8B4513;
    margin: 0 auto
}

.beach-ball {
    position: absolute;
    bottom: 90px;
    left: 55%;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: conic-gradient(#FF6B6B 0deg 90deg, #4ECDC4 90deg 180deg, #FFD93D 180deg 270deg, white 270deg 360deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    animation: ballBounce 2s ease-in-out infinite
}

@keyframes ballBounce {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-25px) }
}

.beach-surfboard {
    position: absolute;
    bottom: 80px;
    right: 20%;
    width: 100px;
    height: 30px;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    border-radius: 50px;
    transform: rotate(-25deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    animation: surfFloat 5s ease-in-out infinite
}

@keyframes surfFloat {
    0%, 100% { transform: rotate(-25deg) translateY(0) }
    50% { transform: rotate(-25deg) translateY(-15px) }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 64px 0 32px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px
}

.footer-brand {
    max-width: 280px
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 16px
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.7
}

.footer-section h3 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .05em
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.footer-links a {
    color: var(--gray-400);
    transition: all .2s
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    margin-bottom: 12px
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    color: var(--gray-500);
    font-size: .875rem
}

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    z-index: 9999;
    transition: all .3s;
    animation: pulse-wa 2s ease-in-out infinite
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, .6)
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, .4) }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, .6) }
}

/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto
    }

    .apartments-grid,
    .amenities-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .fnrh-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .fnrh-image {
        order: 2;
        max-width: 480px;
        margin: 0 auto
    }

    .fnrh-content {
        text-align: center
    }

    .fnrh-list {
        display: inline-block;
        text-align: left
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */
@media (max-width: 768px) {
    /* Header mobile */
    .nav-list,
    .lang-selector,
    .btn-whatsapp-header {
        display: none
    }

    .menu-toggle {
        display: flex
    }

    .mobile-nav {
        display: block
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 60px
    }

    .hero-floating-card,
    .hero-rating-card {
        display: none
    }

    /* SLIDER MOBILE - IMPORTANTE! */
    .hero-slider {
        height: 350px !important;
        min-height: 300px
    }

    .hero-slider-container {
        min-height: 300px;
        border-radius: 16px
    }

    .slider-arrow {
        width: 40px;
        height: 40px
    }

    .slider-dot {
        width: 10px;
        height: 10px
    }

    .hero-cta {
        flex-direction: column
    }

    .btn {
        width: 100%
    }

    /* Search mobile */
    .search-section {
        margin-top: 32px
    }

    .search-form {
        grid-template-columns: 1fr
    }

    /* Trust mobile */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px
    }

    /* Grids mobile */
    .apartments-grid,
    .amenities-grid,
    .testimonials-grid {
        grid-template-columns: 1fr
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center
    }

    .footer-brand {
        max-width: none
    }

    .footer-logo {
        justify-content: center
    }

    .footer-links {
        align-items: center
    }

    .footer-contact p {
        justify-content: center
    }

    /* WhatsApp float mobile */
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px
    }
}

/* =====================================================
   RESPONSIVE - MOBILE PEQUENO
   ===================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px
    }

    .trust-grid {
        grid-template-columns: 1fr
    }

    .hero-title {
        font-size: 2rem
    }

    /* SLIDER MOBILE PEQUENO */
    .hero-slider {
        height: 280px !important
    }

    .hero-slider-container {
        min-height: 250px
    }

    .section {
        padding: 64px 0
    }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}