/* ==========================================================================
   DLB Empreendimentos - Design System & Stylesheet
   Luxury Real Estate Developer Landing Page
   ========================================================================== */

/* --- Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Power Grotesk';
    src: url('assets/fonts/PowerGrotesk-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- CSS variables (Design Tokens) --- */
:root {
    /* DLB Corporate Palette */
    --dlb-slate: #3F5B73;
    --dlb-gold: #AB7333;
    --dlb-dark: #1D272E;
    --dlb-light: #F1F2F6;
    --dlb-white: #FFFFFF;
    --dlb-grey: #CCCCCC;
    --dlb-dark-grey: #555555;
    
    /* Zhaire Reserve Palette */
    --zhaire-terracotta: #A67F71;
    --zhaire-rose: #C6AEA8;
    --zhaire-sand: #E9DCD7;
    --zhaire-lavender: #988D98;
    --zhaire-slate: #99A2A6;
    
    /* Global Settings */
    --font-display: 'Power Grotesk', 'Poppins', sans-serif;
    --font-primary: 'Poppins', sans-serif;
    --font-zhaire: 'Raleway', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    
    --header-height: 90px;
    --container-padding: 8%;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dlb-white);
    color: var(--dlb-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dlb-light);
}
::-webkit-scrollbar-thumb {
    background: var(--dlb-slate);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--dlb-gold);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, .display-num {
    font-family: var(--font-display);
    font-weight: normal;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

p {
    font-weight: 300;
    color: var(--dlb-dark-grey);
    font-size: 1rem;
    line-height: 1.8;
}

/* --- Reusable Components --- */
section {
    padding: 140px var(--container-padding);
    position: relative;
}

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--dlb-gold);
    margin-bottom: 20px;
    font-weight: 500;
    display: inline-block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--dlb-dark);
    max-width: 800px;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: 1px solid var(--dlb-gold);
    color: var(--dlb-gold);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--dlb-gold);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-premium:hover {
    color: var(--dlb-white) !important;
}

.btn-premium:hover::before {
    left: 0;
}

.btn-premium-light {
    border-color: var(--dlb-white);
    color: var(--dlb-white);
}

.btn-premium-light::before {
    background: var(--dlb-white);
}

.btn-premium-light:hover {
    color: var(--dlb-dark) !important;
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--container-padding);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    height: 80px;
    background: rgba(29, 39, 46, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    height: 40px;
}

.logo-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* Default state: Logo clear in transparency, logo dark if scrolled or light page */
header .logo-light {
    display: block;
}
header .logo-dark {
    display: none;
}

header.scrolled .logo-light {
    display: block; /* Keep white logo on dark scrolled background */
}

/* Nav Menu */
.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 400;
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--dlb-gold);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--dlb-white);
}

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

header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

header.scrolled .nav-link:hover {
    color: var(--dlb-white);
}

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta .btn-premium {
    padding: 11px 22px;
    font-size: 0.8rem;
}

/* Menu Mobile Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--dlb-white);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding: calc(var(--header-height) + 40px) 20px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dlb-dark);
    overflow: hidden;
}

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

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

.hero-slide.active {
    opacity: 0.45; /* Dark overlay effect */
}

/* Ken Burns Effect */
.hero-slide.active {
    animation: kenburns 20s ease-out forwards;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(29,39,46,0.5) 0%, rgba(29,39,46,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin-top: 0;
}

.hero-logo {
    max-width: 240px;
    margin: 0 auto 40px auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--dlb-white);
    margin-bottom: 25px;
    font-family: var(--font-display);
    font-weight: normal;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.05em;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-actions {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

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

/* --- Section: Sobre --- */
.about {
    background-color: var(--dlb-light);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 80px;
}

.about-content {
    flex: 1 1 500px;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--dlb-dark-grey);
}

.about-highlight {
    font-size: 1.4rem;
    color: var(--dlb-slate);
    border-left: 2px solid var(--dlb-gold);
    padding-left: 24px;
    /* Sem margem inferior: é o último elemento do bloco após a remoção do
       botão "Agendar uma Visita"; evita vão desproporcional no bloco centrado. */
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1.6;
}

.about-gallery {
    flex: 1 1 500px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 550px;
    position: relative;
}

.gallery-item {
    position: absolute;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-1 {
    top: 0;
    left: 10%;
    width: 65%;
    height: 70%;
    z-index: 2;
}

.gallery-item-2 {
    bottom: 0;
    right: 5%;
    width: 55%;
    height: 60%;
    z-index: 3;
    border: 8px solid var(--dlb-light);
}

.gallery-item-3 {
    top: 15%;
    right: 0;
    width: 30%;
    height: 35%;
    z-index: 1;
}

/* --- Section: Empreendimentos (Zhaire Reserve) --- */
.showcase-zhaire {
    background-color: var(--zhaire-sand);
    font-family: var(--font-zhaire);
    overflow: hidden;
    padding-bottom: 160px;
}

/* Override Tag and Title for Zhaire */
.showcase-zhaire .section-tag {
    color: var(--zhaire-terracotta);
    font-family: var(--font-zhaire);
    font-weight: 600;
}

.showcase-zhaire .section-title {
    font-family: var(--font-zhaire);
    color: var(--zhaire-terracotta);
    font-weight: 300;
    letter-spacing: 0.05em;
    font-size: 3.5rem;
    display: none;
}

.zhaire-header-logo {
    display: none;
}

.zhaire-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.zhaire-visual {
    position: relative;
    height: 600px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.zhaire-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.zhaire-visual:hover .zhaire-main-img {
    transform: scale(1.02);
}

.zhaire-badge {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: var(--zhaire-terracotta);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--zhaire-sand);
    box-shadow: 0 15px 30px rgba(166, 127, 113, 0.4);
    z-index: 5;
    padding: 20px;
    text-align: center;
}

.zhaire-badge img {
    width: 70px;
    height: auto;
    margin-bottom: 8px;
    filter: brightness(0) invert(1); /* make logo white */
}

.zhaire-badge span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.zhaire-info {
    padding-right: 40px;
}

.zhaire-logo-img {
    max-width: 280px;
    margin-bottom: 30px;
}

/* Centraliza a logomarca Zhaire no eixo central da coluna de conteúdo
   (descrição + campos), pois a arte do PNG é uma composição centralizada.
   Escopo em .zhaire-info para não afetar a mesma logo dentro do modal. */
.zhaire-info .zhaire-logo-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.zhaire-desc {
    font-size: 1.15rem;
    color: var(--dlb-dark-grey);
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.8;
}

.zhaire-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    border-top: 1px solid rgba(166, 127, 113, 0.2);
    border-bottom: 1px solid rgba(166, 127, 113, 0.2);
    padding: 25px 0;
}

.zhaire-meta-item {
    display: flex;
    flex-direction: column;
}

.zhaire-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--zhaire-terracotta);
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.zhaire-meta-val {
    font-size: 1.4rem;
    font-family: var(--font-zhaire);
    color: var(--dlb-dark);
    font-weight: 300;
}

.btn-zhaire {
    border-color: var(--zhaire-terracotta);
    color: var(--zhaire-terracotta);
    font-family: var(--font-zhaire);
}

.btn-zhaire::before {
    background: var(--zhaire-terracotta);
}

.btn-zhaire:hover {
    color: var(--zhaire-sand) !important;
}

/* --- Section: Diferenciais --- */
.features {
    background-color: var(--dlb-white);
}

.features-grid {
    display: grid;
    /* 4 colunas fixas no desktop (1 linha). 'align-items: stretch' (padrão do
       grid) garante que todos os cards tenham a mesma altura por linha,
       eliminando a "linha solta" do layout anterior com 5 cards. */
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* Telas médias (tablet): 2x2 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Telas estreitas (mobile): empilhado em 1 coluna */
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 50px 40px;
    background: var(--dlb-light);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--dlb-gold);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.feature-card:hover::after {
    width: 100%;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 30px;
    color: var(--dlb-gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dlb-dark);
    font-family: var(--font-display);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--dlb-dark-grey);
    font-weight: 300;
}

/* --- Section: Manifesto --- */
.manifesto {
    /* 'scroll' em vez de 'fixed': o parallax fixo não renderiza de forma
       confiável (mobile/iOS e captura headless deixam a foto invisível). */
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    padding: 160px var(--container-padding);
    color: var(--dlb-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.manifesto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay clareado para revelar a foto da orla mantendo o texto legível:
       mais leve que o original (0.92/0.96), denso o suficiente para o contraste. */
    background: linear-gradient(to bottom, rgba(29,39,46,0.84) 0%, rgba(29,39,46,0.90) 100%);
    z-index: 1;
}

.manifesto-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.manifesto-title {
    color: var(--dlb-white);
    font-size: 3rem;
    margin-bottom: 40px;
    font-family: var(--font-display);
    /* Sombra em duas camadas: contraste local justo + halo suave,
       garantindo leitura sobre as áreas claras da foto da orla */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 2px 22px rgba(0, 0, 0, 0.5);
}

.manifesto-text {
    font-size: 1.4rem;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 200;
    /* Sombra em duas camadas: legibilidade sobre a foto sem pesar a tipografia */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65), 0 1px 16px rgba(0, 0, 0, 0.45);
}

.manifesto-signature {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.manifesto-logo {
    max-width: 160px;
}

/* --- Section: Contato --- */
.contact {
    background-color: var(--dlb-light);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: flex-start;
}

.contact-info {
    padding-top: 20px;
}

.contact-title {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--dlb-dark);
}

.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: var(--dlb-dark-grey);
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--dlb-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.contact-item-text h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dlb-slate);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item-text p, .contact-item-text a {
    font-size: 1rem;
    color: var(--dlb-dark-grey);
    text-decoration: none;
    font-weight: 300;
    transition: var(--transition-fast);
}

.contact-item-text a:hover {
    color: var(--dlb-gold);
}

/* Form Styling */
.contact-form-container {
    background: var(--dlb-white);
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.04);
}

.form-group {
    position: relative;
    margin-bottom: 40px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--dlb-grey);
    background: transparent;
    font-size: 1rem;
    color: var(--dlb-dark);
    font-family: var(--font-primary);
    font-weight: 300;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-bottom-color: var(--dlb-slate);
}

.form-label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 0.95rem;
    color: var(--dlb-dark-grey);
    font-weight: 300;
    pointer-events: none;
    transition: var(--transition-fast);
}

/* Float labels */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--dlb-slate);
    font-weight: 500;
}

textarea.form-input {
    height: 100px;
    resize: none;
}

.form-submit-btn {
    width: 100%;
    background: var(--dlb-slate);
    color: var(--dlb-white);
    border: none;
    padding: 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.form-submit-btn:hover {
    background: var(--dlb-gold);
}

/* --- Footer --- */
footer {
    background-color: var(--dlb-dark);
    padding: 80px var(--container-padding) 40px var(--container-padding);
    color: var(--dlb-white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    max-width: 180px;
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--dlb-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 40px;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.footer-dev {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.footer-dev a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

/* --- Premium Modal / Popup (Zhaire Reserve Details) --- */
.modal-zhaire {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 39, 46, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-zhaire.active {
    display: flex;
    opacity: 1;
}

.modal-zhaire-container {
    background: var(--zhaire-sand);
    width: 100%;
    max-width: 1100px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    font-family: var(--font-zhaire);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-zhaire-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--zhaire-terracotta);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-zhaire-close:hover {
    transform: rotate(90deg);
}

.modal-zhaire-gallery {
    height: 100%;
    min-height: 450px;
    position: relative;
    background-color: #000;
}

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

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

.modal-gallery-nav {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.modal-nav-btn {
    background: rgba(233, 220, 215, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--zhaire-terracotta);
}

.modal-nav-btn:hover {
    background: var(--zhaire-terracotta);
    color: var(--zhaire-sand);
}

.modal-zhaire-content {
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-zhaire-logo {
    display: block;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.modal-zhaire-title {
    font-family: var(--font-zhaire);
    color: var(--zhaire-terracotta);
    font-size: 2.2rem;
    margin-bottom: 16px;
    font-weight: 300;
    text-align: center;
}

.modal-zhaire-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--zhaire-terracotta);
    margin-bottom: 16px;
    font-weight: 600;
    text-align: center;
}

.modal-zhaire-text {
    font-size: 1rem;
    color: var(--dlb-dark-grey);
    margin-bottom: 24px;
    line-height: 1.8;
}

.zhaire-features-list {
    margin-bottom: 24px;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    align-items: start;
}

.zhaire-features-list li {
    font-size: 0.9rem;
    color: var(--dlb-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.zhaire-features-list li::before {
    content: '•';
    color: var(--zhaire-terracotta);
    font-size: 1.2rem;
}

/* --- Scroll Animation Classes --- */
.reveal-el {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-el.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Responsive Media Queries --- */

@media (max-width: 1200px) {
    :root {
        --container-padding: 6%;
    }
    
    .section-title {
        font-size: 2.6rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    header {
        height: 80px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dlb-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-smooth);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .about {
        gap: 50px;
    }
    
    .zhaire-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Em coluna única, remove o recuo lateral usado no layout de duas
       colunas para que logo, descrição e campos fiquem simétricos no eixo. */
    .zhaire-info {
        padding-right: 0;
    }
    
    .zhaire-visual {
        height: 450px;
    }
    
    .zhaire-badge {
        bottom: -20px;
        right: -20px;
        width: 140px;
        height: 140px;
    }
    
    .zhaire-badge img {
        width: 50px;
    }
    
    .contact {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .modal-zhaire-container {
        grid-template-columns: 1fr;
        max-height: 90vh;
    }
    
    .modal-zhaire-gallery {
        min-height: 300px;
    }
    
    .modal-zhaire-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-cta .btn-premium {
        padding: 8px 16px;
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .zhaire-header-logo {
        display: block;
        max-width: 140px;
        margin-top: 12px;
        margin-bottom: -20px;
    }

    .zhaire-info .zhaire-logo-img {
        display: none;
    }

    section {
        padding: 90px var(--container-padding);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-logo {
        max-width: 180px;
    }

    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .about-gallery {
        height: 400px;
    }
    
    .manifesto-title {
        font-size: 2.2rem;
    }
    
    .manifesto-text {
        font-size: 1.15rem;
        line-height: 1.8;
    }
    
    .contact-form-container {
        padding: 40px 30px;
    }
    
    .modal-zhaire {
        padding: 15px;
    }
    
    .modal-zhaire-content {
        padding: 30px 20px;
    }
    
    .modal-zhaire-title {
        font-size: 2rem;
    }
    
    .zhaire-features-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 5%;
    }
    
    .hero-logo {
        max-width: 190px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about-gallery {
        height: 300px;
    }
    
    .zhaire-meta {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================
   ASSINATURA VISUAL DLB — Veios de Mármore (VERSÃO DE TESTE)
   --------------------------------------------------------------------------
   Aplica os padrões gráficos da marca (assets/Padrões) como transições
   sutis entre as seções, usando apenas pseudo-elementos CSS.

   Arquivos utilizados (todos com fundo transparente):
   - 03.png ................. veios ESCUROS  → usados em fundos claros
   - 6.png .................. veios DOURADOS → usados na seção Zhaire (sand)
   - Padrão DLB Branco.png .. veios BRANCOS  → usados em fundos escuros

   Princípios:
   - Opacidade baixa (0.04 a 0.12) para nunca competir com o conteúdo
   - mask-image em gradiente: o veio "nasce" na divisa entre seções e
     desvanece para dentro do bloco, como se atravessasse a transição
   - pointer-events: none + conteúdo elevado com z-index → zero impacto
     na interação e na leitura
   ========================================================================== */

/* Garante que o conteúdo das seções decoradas pinte ACIMA dos veios.
   (Os pseudo-elementos ficam no nível 0; o conteúdo sobe para o nível 1) */
.about > *,
.showcase-zhaire > *,
.features > *,
.contact > * {
    position: relative;
    z-index: 1;
}

/* Base comum de todos os veios decorativos */
.about::before,
.showcase-zhaire::before,
.features::after,
.contact::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;       /* nunca bloqueia cliques */
    background-repeat: no-repeat;
    z-index: 0;
}

/* --- Sobre (topo) --------------------------------------------------------
   Veios escuros descendo da divisa com o Hero. (Os veios do Hero foram
   removidos a pedido — ficavam muito aparentes nessa seção específica.) */
.about::before {
    top: 0;
    height: 480px;
    background-image: url('assets/Padr%C3%B5es/03.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

/* --- Transição Sobre → Zhaire --------------------------------------------
   Na seção do empreendimento os veios são dourados, dialogando com o
   terracota do Zhaire sobre o fundo sand. */
.showcase-zhaire::before {
    top: 0;
    height: 520px;
    background-image: url('assets/Padr%C3%B5es/6.png');
    background-size: cover;
    background-position: center;
    opacity: 0.10;
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

/* --- Transição Zhaire → Diferenciais (rodapé da seção branca) ------------
   Veios escuros quase imperceptíveis subindo da base dos Diferenciais,
   preparando a entrada no Manifesto escuro. */
.features::after {
    bottom: 0;
    height: 420px;
    background-image: url('assets/Padr%C3%B5es/03.png');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    -webkit-mask-image: linear-gradient(to top, black 30%, transparent 100%);
    mask-image: linear-gradient(to top, black 30%, transparent 100%);
}

/* --- Manifesto -------------------------------------------------------------
   (Sobreposição de ranhuras removida a pedido — manter a seção limpa para
   avaliar a foto de fundo isolada.) */

/* --- Transição Manifesto → Contato ----------------------------------------
   Veios escuros descendo do topo do Contato, fechando o ciclo visual. */
.contact::before {
    top: 0;
    height: 460px;
    background-image: url('assets/Padr%C3%B5es/03.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

/* --- Responsividade dos veios ----------------------------------------------
   Em telas menores os padrões diminuem de altura, ficando ainda mais
   discretos. (cover/center do base mantém o enquadramento consistente.) */
@media (max-width: 768px) {
    .about::before,
    .showcase-zhaire::before,
    .contact::before {
        height: 320px;
    }

    .features::after {
        height: 280px;
    }
}
