/* ============================================================
   BASE DO STYLE.CSS (Cores, Fontes e Reset)
============================================================ */

:root {
    --color-navy: #0C0D45;
    --color-gold: #c4a747;
    --color-gold-hover: #a88d3a;
    --color-text-dark: #1a1a3a;
    --color-bg-light: #f4f7f9;
    --color-white: #ffffff;
    --color-whatsapp: #25d366;
    --font-main: 'Montserrat', sans-serif;
    --transition: 0.3s ease-in-out;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- ESTILO DOS BOTÕES (Igual ao style.css) --- */
.btn-primary {
    background-color: #c4a747;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #a88d3a;
}

/* --- HEADER (Corrigido para igualar ao Style.css) --- */
header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo img {
    height: 35px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-navy);
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold);
}

/* ============================================================
   LAYOUT DO IMÓVEL (Proporcional e Alinhado)
============================================================ */
.page-detail-v2 {
    padding-top: 50px;
    padding-bottom: 80px;
}

.top-block-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Foto 60% / Form 40% */
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

/* Galeria Proporcional */
.main-photo-v2 img {
    width: 100%;
    height: 400px;
    /* Altura controlada para não dominar a tela */
    object-fit: cover;
    border-radius: 10px;
    border: 1.5px solid #0C0D45;
}

.thumbnails-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.thumbnails-v2 a {
    position: relative;
    display: block;
}

.thumbnails-v2 a:nth-child(n+5) {
    display: none;
}

.thumbnails-v2 a:nth-child(4)::after {
    content: '+ fotos';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.5rem;
    pointer-events: none;
    border-radius: 8px;
}

.thumbnails-v2 img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.3s;
    display: block;
}

.thumbnails-v2 img:hover {
    border-color: #c4a747;
}

/* Formulário Clean (conforme a imagem) */
.contact-aside {
    background-color: #f4f7f9;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #ddd;
}

.title-header-v2 h2 {
    font-size: 1.5rem;
    color: #1a1a3a;
    margin-bottom: 10px;
}

.title-header-v2 p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

.contact-form-v2 label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0C0D45;
}

.contact-form-v2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-v2 input,
.contact-form-v2 textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    width: 100%;
    background-color: #fff;
}

.contact-form-v2 textarea {
    resize: none;
}

.price-detail {
    font-size: 2rem;
    /* Tamanho grande para destaque */
    font-weight: bold;
    color: #c4a747;
    /* Dourado oficial da Maison */
    text-align: left;
    /* Centralizado na página */
    margin-bottom: 20px;
    /* Espaço para não colar nos ícones abaixo */
    margin-top: -10px;
    /* Pequeno ajuste para subir um pouquinho e preencher o vazio */
}

/* Bloco Inferior (Ícones e Descrição) */
.icons-info-v2 {
    display: flex;
    gap: 30px;
    font-weight: bold;
    color: #0C0D45;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.icons-info-v2 i {
    color: #c4a747;
}

.description-v2 p {
    margin-bottom: 20px;
    color: #444;
}

.description-v2 h3 {
    color: #1a1a3a;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.description-v2 h4 {
    color: #c4a747;
    /* Dourado Maison nos subtítulos */
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.description-v2 p {
    margin-bottom: 15px;
    text-align: justify;
    /* Deixa o texto alinhado e elegante */
}

.description-v2 ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.description-v2 li {
    list-style-type: disc;
    margin-bottom: 8px;
    color: #444;
}

.description-v2 li strong {
    color: #1a1a3a;
}

/* Mapa e Footer */
.map-box-v2 {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin-top: 40px;
}

footer {
    background-color: #0C0D45;
    color: white;
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVIDADE (Baseada no style.css)
============================================================ */
@media (max-width: 900px) {
    .top-block-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    header nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-photo-v2 img {
        height: 300px;
    }

    .icons-info-v2 {
        gap: 15px;
        flex-wrap: wrap;
    }
}

/* ============================================================
   Whatsapp
============================================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 20px;
    /* Evitando canto extremo no mobile */
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 999;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Efeito Pulsante para o WhatsApp */
.pulse-anim {
    animation: pulsar 2s infinite;
}

@keyframes pulsar {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (min-width: 1024px) {
    /* WHATSAPP FLOAT RIGHT/BOTTOM NO DESKTOP */
    .whatsapp-float {
        bottom: 40px;
        right: 40px;
        width: 70px;
        height: 70px;
        font-size: 38px;
    }
}