/* Importando fontes modernas da Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Reset e variáveis de design */
:root {
    --primary: #103020;         /* Verde Floresta Escuro */
    --primary-light: #215e41;   /* Verde Médio */
    --primary-soft: #eaf4ee;    /* Verde bem suave para fundos */
    --accent: #d89623;          /* Dourado / Laranja Quente para conversão */
    --accent-hover: #b87a14;    /* Dourado mais escuro para hover */
    --neutral-dark: #121814;    /* Quase preto com tom esverdeado */
    --neutral-light: #f8faf9;   /* Off-white com fundo neutro */
    --white: #ffffff;
    --gray-medium: #6b7280;
    --gray-light: #e5e7eb;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--neutral-light);
    color: var(--neutral-dark);
}

body {
    overflow-x: hidden;
    min-height: 100vh;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Sombra de Texto */
.text-shadow-strong {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.text-shadow-soft {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* Efeito de Vidro (Glassmorphism) */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Animações e Efeitos */
.pulse-grow {
    animation: pulse-grow 2s infinite;
}

@keyframes pulse-grow {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.badge-pulse {
    position: relative;
}

.badge-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 2px solid var(--accent);
    animation: badge-pulse 1.5s ease-out infinite;
    opacity: 0;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--neutral-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Grid Lazer */
.lazer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Estilo dos cards de lazer */
.lazer-card, .obra-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 240px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.lazer-card:hover, .obra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.lazer-card img, .obra-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lazer-card:hover img, .obra-card:hover img {
    transform: scale(1.08);
}

.lazer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(16, 48, 32, 0.9) 0%, rgba(16, 48, 32, 0.4) 60%, transparent 100%);
    padding: 24px 16px 16px 16px;
    color: var(--white);
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--gray-light);
}

.faq-trigger {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-trigger:hover {
    color: var(--primary-light);
}

.faq-trigger svg {
    transition: transform 0.3s ease;
    stroke: var(--primary-light);
}

.faq-trigger.active svg {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-content p {
    padding-bottom: 20px;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 24, 20, 0.95);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 15px;
    text-align: center;
    font-family: var(--font-heading);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--white);
    color: var(--neutral-dark);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* Responsividade do Lightbox */
@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        background: rgba(0,0,0,0.5);
    }
    .lightbox-close {
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Configuração das abas das plantas */
.tab-btn {
    border: 1px solid var(--gray-light);
    background-color: var(--white);
    color: var(--neutral-dark);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(16, 48, 32, 0.2);
}

.tab-btn:hover:not(.active) {
    background-color: var(--primary-soft);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-content.active {
    display: flex;
    opacity: 1;
}

/* Seção Hero Background */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 160px;
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 55vh;
        padding-top: 110px;
        padding-bottom: 50px;
    }
}

/* O overlay agora é processado dinamicamente via classes de Tailwind no HTML */
.hero-section::before {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

/* Floating WhatsApp Button (Villa Flora Standard) */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    z-index: 999;
    transition: transform 0.3s ease;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* Formulário de leads customizado */
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-light);
    background-color: #ffffff;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--neutral-dark);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(33, 94, 65, 0.15);
}
