:root {
    --primary-color: #0c1c38;
    --primary-light: #162f59;
    --secondary-color: #a38c64;
    --secondary-light: #c4ae88;
    --accent-color: #f7f5f0;
    --text-color: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-soft: 0 10px 30px rgba(12, 28, 56, 0.08);
    --shadow-hover: 0 18px 40px rgba(12, 28, 56, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

/* Barra de Navegação Superior */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 28, 56, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(163, 140, 100, 0.25);
    padding: 14px 5%;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-logo span {
    color: var(--secondary-light);
    font-weight: 400;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-light);
}

.nav-cta {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 9px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.nav-cta:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.whatsapp-icon {
    width: 48px;
    height: 48px;
}

/* Secção Principal (Hero) */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 5% 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 28, 56, 0.72) 0%, rgba(12, 28, 56, 0.55) 50%, rgba(12, 28, 56, 0.85) 100%);
    z-index: 2;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;
}

.hero-image-1 {
    background-image: url('img/fachada.webp');
}

.hero-image-2 {
    background-image: url('img/piscina-adulto.webp');
}

.hero-image-3 {
    background-image: url('img/living-a.webp');
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    max-width: 880px;
}

.hero-badge {
    display: inline-block;
    background: rgba(163, 140, 100, 0.25);
    border: 1px solid var(--secondary-light);
    color: #f3e5ab;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 1.15;
    margin: 0 0 1.2rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.highlight-pill {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #8c734b);
    color: var(--white);
    padding: 16px 36px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(163, 140, 100, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(163, 140, 100, 0.55);
}

/* Cabeçalhos de Secção Padrão */
section {
    padding: 90px 5%;
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0 0 1.2rem;
    color: var(--primary-color);
}

.section-description {
    max-width: 720px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Secção de Diferenciais (Benefícios) */
.benefits-section {
    background-color: var(--accent-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 2.5rem auto 0;
}

.benefit-item {
    background: var(--white);
    padding: 40px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border-bottom: 4px solid var(--secondary-color);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.icon-wrapper {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.2rem;
    background: rgba(163, 140, 100, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon {
    width: 42px;
    height: 42px;
}

.benefit-item h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-color);
    margin: 0 0 0.8rem;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Galeria de Fotos do Empreendimento */
.photo-carousel-section {
    background-color: var(--white);
}

.carousel-container {
    width: 100%;
    max-width: 960px;
    margin: 1.5rem auto 0;
}

.main-photo-container {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    background-color: var(--primary-color);
}

#main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease-in-out;
}

.photo-caption-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(12, 28, 56, 0.85);
    backdrop-filter: blur(6px);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 500;
    border-left: 3px solid var(--secondary-color);
    z-index: 5;
}

.thumbnails-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 4px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #eaeaea;
}

.thumbnails-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-container::-webkit-scrollbar-track {
    background: #eaeaea;
    border-radius: 10px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.thumbnail {
    flex: 0 0 130px;
    height: 86px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail:hover,
.thumbnail.active-thumbnail {
    opacity: 1;
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(12, 28, 56, 0.75);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background-color: var(--secondary-color);
}

.main-photo-container .prev-button {
    left: 16px;
}

.main-photo-container .next-button {
    right: 16px;
}

/* Secção de Implantação e Mapa de Lazer */
.implantation-section {
    background-color: var(--accent-color);
}

.implantation-wrapper {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
}

.implantation-image-card {
    background: var(--white);
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.implantation-image-card:hover {
    transform: scale(1.02);
}

.implantation-image-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.zoom-hint {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.leisure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    text-align: left;
}

.leisure-card {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.leisure-card span {
    background: var(--primary-color);
    color: var(--secondary-light);
    font-weight: 700;
    font-size: 0.78rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Secção de Plantas */
.plants-section {
    background-color: var(--white);
}

.plants-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 1rem;
    padding: 0 25px;
}

.plants-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 28px;
    padding: 15px 5px 25px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.plants-grid::-webkit-scrollbar {
    display: none;
}

.plants-grid .plant-item {
    flex: 0 0 320px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eeeeee;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    text-align: left;
}

.plants-grid .plant-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.plant-img-wrapper {
    position: relative;
    background: var(--accent-color);
    padding: 15px;
}

.plant-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.garden-badge {
    background: var(--secondary-color);
}

.plant-image {
    width: 100%;
    height: 230px;
    object-fit: contain;
    display: block;
}

.plant-info {
    padding: 22px;
}

.plant-item h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 0 0 8px;
}

.plant-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 14px;
}

.plant-zoom-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.legal-plant-note {
    font-size: 0.8rem;
    color: #888;
    max-width: 750px;
    margin: 0 auto;
}

.plants-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.plants-nav:hover {
    background-color: var(--secondary-color);
}

.plants-carousel-container .prev-button.plants-nav {
    left: -5px;
}

.plants-carousel-container .next-button.plants-nav {
    right: -5px;
}

/* Secção de Localização */
.location-section {
    background-color: var(--accent-color);
}

.location-content {
    max-width: 1000px;
    margin: 0 auto;
}

.address-box {
    background: var(--white);
    border-left: 4px solid var(--secondary-color);
    padding: 18px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    display: inline-block;
    margin: 1rem auto 2.5rem;
    font-size: 1rem;
    color: var(--primary-color);
}

.proximity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.proximity-card {
    background: var(--white);
    padding: 24px 18px;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

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

.time-badge {
    display: inline-block;
    background: rgba(163, 140, 100, 0.18);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.proximity-card h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.05rem;
}

/* Modal Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(12, 28, 56, 0.94);
    backdrop-filter: blur(6px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 850px;
    max-height: 75vh;
    object-fit: contain;
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
}

.lightbox-caption {
    margin: 15px auto 0;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--white);
    padding: 10px 0;
}

.lightbox-content,
.lightbox-caption {
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 42px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--secondary-light);
}

/* Secção Final CTA */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a335e 100%);
    color: var(--white);
    padding: 90px 5%;
}

.final-cta-section .section-title {
    color: var(--white);
}

.final-cta-section p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 760px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.large-cta {
    font-size: 1.1rem;
    padding: 18px 42px;
}

/* Rodapé */
footer {
    background-color: #071124;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 40px 5%;
    font-size: 0.9rem;
    border-top: 1px solid rgba(163, 140, 100, 0.2);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--secondary-light);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 920px;
    margin: 15px auto 0;
    line-height: 1.5;
}

/* Animações de Scroll */
.benefit-item,
.plant-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.benefit-item.visible,
.plant-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade Mobile */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .implantation-wrapper {
        grid-template-columns: 1fr;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .plants-carousel-container {
        padding: 0;
    }

    .plants-grid {
        flex-direction: column;
        align-items: center;
        overflow-x: visible;
    }

    .plants-grid .plant-item {
        flex: none;
        width: 100%;
        max-width: 350px;
    }

    .plants-nav {
        display: none;
    }
}