@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

/* Container Global para limitar a largura da página */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navegação */
.header {
    background-color: #14213d; /* Azul mais profundo, sofisticado */
    color: #ffffff;
    padding: 22px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    border-bottom: 2px solid #C9A26B; /* Detalhe dourado clássico */
}

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

.header .logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #C9A26B; /* Dourado luxuoso */
}

/* Seção Inicial (Hero) */
.hero {
    /* Imagem de fundo arquitetônica com um overlay escuro (azul marinho) para garantir a leitura do texto */
    background: linear-gradient(rgba(20, 33, 61, 0.7), rgba(12, 21, 36, 0.85)),
                url('../assets/img/landingPage/cabecalhoImg.webp') center center / cover no-repeat;
    padding: 160px 0; /* Aumentei um pouco o respiro para destacar mais a imagem */
    text-align: center;
}

.hero h1 {
    font-size: 3.8rem;
    color: #ffffff; /* Título em branco para contrastar com o fundo escuro da imagem */
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Sombra para o texto saltar da imagem */
}

.hero p {
    font-size: 1.25rem;
    color: #eaeaea; /* Parágrafo em tom claro */
    max-width: 750px;
    margin: 0 auto 40px auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Botão padrão */
.btn {
    display: inline-block;
    background-color: #C9A26B;
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 2px; /* Bordas mais retas, padrão arquitetônico */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #b58d56;
    transform: translateY(-2px);
}

/* Seções Gerais */
.about, .services, .releases {
    padding: 90px 0;
    text-align: center;
}

.about {
    background-color: #ffffff;
}

.about h2, .services h2, .releases h2 {
    font-size: 2.6rem;
    color: #14213d;
    margin-bottom: 35px;
}

.about p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #555;
}

/* Seção de Áreas de Atuação (Cards) */
.services {
    background-color: #f4f3ef;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.card {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    padding: 40px 30px;
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card h3 {
    color: #14213d;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.card p {
    color: #666;
    font-size: 1rem;
}

/* Seção de Lançamentos Imobiliários (Estilo Naaby) */
.releases {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 90px 0;
    text-align: left;
}

.releases h2 {
    color: #f8fafc; /* Título claro para contrastar no fundo escuro */
    text-align: center;
}

.naaby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 50px;
}

/* Card Styling (Glassmorphism) */
.naaby-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
    text-align: left;
}

.naaby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.naaby-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.naaby-card:hover .naaby-card-img {
    transform: scale(1.05);
}

.naaby-card-content {
    padding: 2rem;
    color: #f8fafc;
}

.naaby-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.naaby-card-location {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.naaby-card-features {
    display: flex;
    gap: 0.8rem; /* Espaço reduzido para caber tudo com folga */
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    justify-content: space-between; /* Distribui os itens pela largura do card */
}

.naaby-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #94a3b8;
    font-size: 0.85rem; /* Ajuste suave para garantir encaixe perfeito */
    font-family: 'Inter', sans-serif;
    white-space: nowrap; /* Impede absolutamente que o texto vá para a linha de baixo do ícone */
}

.naaby-feature svg {
    width: 18px;
    height: 18px;
    fill: #C9A26B; /* Mantive o dourado que definimos para o Passiani */
}

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

.naaby-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #C9A26B;
}

.btn-outline {
    background: transparent;
    color: #C9A26B;
    border: 1px solid #C9A26B;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.btn-outline:hover {
    background: #C9A26B;
    color: #000;
}

/* Footer (Contato) */
.footer {
    background-color: #0c1524; /* Azul quase preto */
    color: #fff;
    text-align: center;
    padding: 60px 0 30px 0;
    border-top: 4px solid #C9A26B; /* Faixa dourada separadora */
}

.footer h2 {
    margin-bottom: 25px;
    font-size: 2rem;
    color: #C9A26B;
}

.footer p {
    font-size: 1rem;
    color: #d1d1d1;
    margin-bottom: 15px;
}

.footer p:last-child {
    margin-top: 50px;
    font-size: 0.85rem;
    color: #666;
}

/* =========================================
   Responsividade (Mobile & Tablets)
   ========================================= */
@media (max-width: 768px) {
    /* Header e Menu de Navegação */
    .header {
        padding: 15px 0;
    }
    .header .container {
        flex-direction: column;
        gap: 12px;
    }
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav a {
        font-size: 0.85rem;
    }

    /* Seção Início (Hero) */
    .hero {
        padding: 100px 15px;
    }
    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Espaçamentos e Títulos Gerais */
    .about, .services, .releases {
        padding: 60px 15px;
    }
    .about h2, .services h2, .releases h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    /* Cards de Áreas de Atuação */
    .cards {
        gap: 20px;
    }
    .card {
        min-width: 100%;
        padding: 30px 20px;
    }

    /* Cards Imobiliários (Lançamentos) */
    .naaby-grid {
        grid-template-columns: 1fr; /* 1 card por linha no celular */
        gap: 2rem;
    }
    .naaby-card-features {
        flex-wrap: wrap; /* Caso a tela seja extremamente pequena, os ícones se adaptam */
        justify-content: center;
        gap: 15px;
    }
    .naaby-card-footer {
        flex-direction: column; /* Coloca o botão embaixo do preço para facilitar o toque (touch) */
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }
    .btn-outline {
        text-align: center;
    }

    /* Footer */
    .footer {
        padding: 40px 15px 20px 15px;
    }
    .footer h2 {
        font-size: 1.6rem;
    }
}
