/* ===================================
   Reset e Configurações Basicas
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean-blue: #0EA5E9;
    --deep-ocean: #0284C7;
    --turquoise: #06B6D4;
    --sand-white: #F8FAFC;
    --sand-beige: #FEF3C7;
    --coral: #FB923C;
    --dark-text: #1E293B;
    --light-text: #64748B;
    --success-green: #10B981;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===================================
   Header
   =================================== */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-image {
    height: 90px;
    width: auto;
}

.logo-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 800;
    color: var(--ocean-blue);
    margin-bottom: 5px;
}

.logo .tagline {
    font-size: 1.2em;
    color: var(--light-text);
    font-weight: 400;
    text-align: center;
}

.header-contact .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    flex-shrink: 0;
    white-space: nowrap;
}

.header-contact .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.header-contact .btn-whatsapp .icon {
    font-size: 1.3em;
}

/* ===================================
   Menu de Navegação
   =================================== */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: 600;
    color: var(--dark-text);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--ocean-blue);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--ocean-blue);
}

.nav-link:hover::after {
    width: 60%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--ocean-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.7) 0%, rgba(6, 182, 212, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3em;
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--white);
    color: var(--ocean-blue);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--ocean-blue);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-large .icon {
    font-size: 1.4em;
}

/* ===================================
   Sections
   =================================== */
.properties-section,
.benefits-section {
    padding: 55px 0;
}

.properties-section {
    background: var(--sand-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2em;
    color: var(--light-text);
}

/* ===================================
   Properties Grid
   =================================== */
.properties-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: left;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.properties-grid-centro {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.property-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark-text);
    display: block;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--ocean-blue), var(--turquoise));
    color: var(--white);
    font-weight: 700;
    font-size: 0.85em;
    border-radius: 0 20px 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-badge.destaque {
    background: linear-gradient(135deg, var(--coral), #F97316);
}

.property-content {
    padding: 25px;
}

.property-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-text);
    font-family: 'Montserrat', sans-serif;
}

.property-location {
    color: var(--light-text);
    font-size: 0.95em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    color: var(--light-text);
}

.feature .icon {
    font-size: 1.3em;
}

.property-price {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--ocean-blue);
    font-family: 'Montserrat', sans-serif;
}

.property-price small {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--light-text);
}

/* ===================================
   Benefits Grid
   =================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15);
}

.benefit-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.benefit-card p {
    font-size: 1em;
    color: var(--light-text);
    line-height: 1.7;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--ocean-blue), var(--turquoise));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
}

/* ===================================
   Footer
   =================================== */
.main-footer {
    background: linear-gradient(135deg, var(--deep-ocean), var(--ocean-blue));
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-contact h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-info p,
.footer-contact p {
    font-size: 1em;
    margin-bottom: 15px;
}

.btn-footer-whatsapp {
    display: inline-block;
    padding: 12px 24px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-footer-whatsapp:hover {
    background: #1FA855;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.developed-by {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.developed-by a {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.developed-by a:hover {
    opacity: 0.8;
}

.dev-logo {
    height: 30px;
    width: auto;
    display: block;
}

/* ===================================
   WhatsApp Float Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

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

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

.mt-50 {
    margin-top: 50px;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 992px) {
    .properties-grid-centro {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .properties-grid,
    .properties-grid-centro {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 24px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        order: 1;
        flex: 1;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .header-contact {
        order: 2;
    }

    .header-contact .btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .header-contact .btn-whatsapp .text {
        display: none;
    }

    .header-contact .btn-whatsapp svg {
        margin-right: 0;
    }

    .section-header h2 {
        font-size: 2em;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 2em;
        bottom: 20px;
        right: 20px;
    }

    /* Menu Mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 30px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--sand-white);
    }

    .nav-link {
        display: block;
        padding: 20px 30px;
        font-size: 1.1em;
    }

    .nav-link::after {
        display: none;
    }
}

/* ===================================
   Gallery Slider Section
   =================================== */
.gallery-slider-section {
    padding: 55px 0;
    background: var(--white);
}

.gallery-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-slider {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide-item {
    min-width: 100%;
    height: 500px;
}

.gallery-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2em;
    color: var(--ocean-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-nav:hover {
    background: var(--ocean-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--ocean-blue);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .gallery-slide-item {
        height: 350px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    .gallery-prev {
        left: 10px;
    }

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

@media (max-width: 480px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .logo-image {
        height: 60px;
    }

    .footer-info {
        text-align: center;
        font-size: 0.875rem;
    }

    .footer-contact {
        text-align: center;
        font-size: 0.875rem;
    }

    .logo .tagline {
        font-size: 0.85em;
    }

    .btn {
        padding: 14px 24px;
        font-size: 1em;
    }

    .properties-section,
    .benefits-section {
        padding: 50px 0;
    }
}