/* --- DESIGN SYSTEM --- */
:root {
    --soul-dark: #26320f;
    --soul-deep: #0f140a;
    --soul-moss: #637041;
    --soul-light: #f4f4f0;
    --soul-white: #ffffff;
    --text-main: #1a2012;   
    --cor-5julho: #667241;
    --cor-alberto: #f4c509;
    --cor-fatima: #c1c2c2;
    --cor-barata: #8ab3d3;
    --cor-princesa: #701e28;
    --ease-art: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-premium: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Manrope', sans-serif; 
    background-color: var(--soul-light); 
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- ANIMAÇÕES GERAIS --- */
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: all 1s var(--ease-art); }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh; 
    width: 100%; 
    position: relative;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    overflow: hidden; text-align: center;
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('rio_back.webp') no-repeat center center/cover; 
    animation: kenBurns 40s infinite alternate ease-in-out; z-index: 1;
}
@keyframes kenBurns {
    0% { transform: scale(1); transform-origin: center center; }
    100% { transform: scale(1.15); transform-origin: top center; }
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15,20,10,0.3) 0%, rgba(15,20,10,0.5) 50%, rgba(15,20,10,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative; z-index: 10;
    max-width: 900px; padding: 0 2rem;
    display: flex; flex-direction: column; align-items: center;
    margin-bottom: 120px; 
}

.hero-logo-small {
    width: 140px; 
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    opacity: 0; animation: zoomInFade 1.2s var(--ease-premium) forwards 0.2s;
}

.hero-title {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.1; color: #fff; font-weight: 300; margin-bottom: 1rem;
    letter-spacing: -0.02em;
    opacity: 0; transform: translateY(30px); animation: slideUp 1s var(--ease-premium) forwards 0.5s;
}
.hero-title strong { 
    font-weight: 800; color: #d4e89e; display: inline-block;
    text-shadow: 0 0 30px rgba(212, 232, 158, 0.4);
}

.hero-lead {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 2rem;
    font-weight: 400; line-height: 1.6;
    opacity: 0; transform: translateY(30px); animation: slideUp 1s var(--ease-premium) forwards 0.7s;
}

.hero-cta {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 40px; border-radius: 50px;
    background: #fff; color: var(--soul-dark);
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem;
    text-decoration: none; transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0; transform: translateY(30px); animation: slideUp 1s var(--ease-premium) forwards 0.9s;
}
.hero-cta::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: 0.5s; animation: shimmer 3s infinite;
}
.hero-cta:hover { 
    transform: translateY(-5px) scale(1.05); background: #d4e89e; 
    box-shadow: 0 20px 40px rgba(212, 232, 158, 0.4);
}

.market-specs-bar {
    position: absolute; 
    bottom: 40px; 
    left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 900px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.2rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    opacity: 0;
    animation: slideUpCentered 1s var(--ease-premium) forwards 1.2s, floatYCentered 6s ease-in-out infinite 2s;
}

.spec-unit {
    display: flex; align-items: center; gap: 15px; text-align: left;
    flex: 1; justify-content: center;
}
.spec-unit i { 
    font-size: 2rem; color: #d4e89e; 
    filter: drop-shadow(0 0 10px rgba(212, 232, 158, 0.3));
}
.spec-data strong { display: block; font-size: 1rem; color: #fff; font-weight: 700; line-height: 1.2; margin-bottom: 2px; }
.spec-data span { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }
.divider-v { width: 1px; height: 35px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent); }

@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUpCentered { from { opacity: 0; transform: translate(-50%, 30px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes floatYCentered { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
@keyframes zoomInFade { from { opacity: 0; transform: scale(1.2); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { left: -100%; } 20% { left: 100%; } 100% { left: 100%; } }

/* =========================================
   MASTER SECTION & GRID
   ========================================= */
.master-section { position: relative; padding: 8rem 2rem; background: var(--soul-light); overflow: hidden; color: var(--text-main); }
.bg-leaf { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(99, 112, 65, 0.15) 0%, transparent 70%); border-radius: 50%; pointer-events: none; z-index: 1; }
.bg-leaf-1 { top: -100px; right: -100px; }
.bg-leaf-2 { bottom: -100px; left: -100px; background: radial-gradient(circle, rgba(244, 197, 9, 0.1) 0%, transparent 70%); }
.container-master { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
 
.concept-block { margin-bottom: 5rem; max-width: 800px; }
.concept-block h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 300; line-height: 1.1; margin-bottom: 2rem; color: var(--soul-dark); }
.concept-block h2 strong { font-weight: 800; color: var(--soul-moss); }
.concept-block p { font-size: 1.2rem; line-height: 1.7; color: #555; font-weight: 400; }
 
.award-badge { display: inline-flex; align-items: center; gap: 15px; background: var(--soul-moss); box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 12px 30px; border-radius: 12px; margin-bottom: 4rem; transition: 0.3s; color: #fff; }
.award-badge:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(99, 112, 65, 0.3); }
.award-badge img { height: 40px; width: auto; object-fit: contain; opacity: 1; }
.award-text { text-align: left; }
.award-text strong { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
.award-text span { font-size: 0.8rem; color: rgba(255,255,255,0.8); }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; width: 100%; }
.feature-item { background: #fff; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 4px 20px rgba(0,0,0,0.02); padding: 2.5rem 1.5rem; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; transition: all 0.4s var(--ease-art); cursor: default; }
.feature-item i { font-size: 2.5rem; color: var(--soul-moss); transition: 0.4s; }
.feature-item span { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--soul-dark); text-align: center; }
.feature-item:hover { background: var(--soul-dark); border-color: var(--soul-dark); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(38, 50, 15, 0.2); }
.feature-item:hover i { color: #d4e89e; transform: scale(1.1); }
.feature-item:hover span { color: #fff; }

/* =========================================
   GALLERY WRAP (DESKTOP)
   ========================================= */
.gallery-wrap { height: 90vh; display: flex; width: 100%; background: #000; padding: 0; position: relative; }
.project-panel { position: relative; flex: 1; height: 100%; border-right: 1px solid rgba(255,255,255,0.1); transition: flex 0.8s var(--ease-art); cursor: pointer; overflow: hidden; }
 
.img-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: opacity 0.8s ease, transform 1.2s ease, filter 0.5s ease; filter: brightness(0.85); }
.project-panel:hover .img-layer { filter: brightness(1.1) saturate(1.2) !important; transform: scale(1.05); }
 
.gallery-wrap.has-active .project-panel:not(.active) .img-layer { filter: grayscale(100%) brightness(0.4); }
.gallery-wrap.has-active .project-panel:not(.active):hover .img-layer { filter: grayscale(0%) brightness(1) saturate(1.2); }

.layer-closed { z-index: 1; opacity: 1; }
.layer-open { z-index: 2; opacity: 0; }

.bottom-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 12px; z-index: 5; transition: height 0.3s var(--ease-art); box-shadow: 0 -10px 30px rgba(0,0,0,0.8); }
 
.vertical-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; z-index: 10; font-size: 1.1rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #FFF; text-shadow: 0 5px 20px rgba(0,0,0,1); transition: all 0.5s var(--ease-art); }
.project-panel:not(.active):hover .bottom-bar { height: 25px; filter: brightness(1.3); }
.project-panel:not(.active):hover .vertical-label { letter-spacing: 0.35em; color: #FFF; }

.info-box { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%); padding: 3rem; z-index: 20; opacity: 0; transform: translateY(30px); transition: all 0.6s var(--ease-art) 0.2s; pointer-events: none; }
.info-content { max-width: 100%; pointer-events: auto; }
.street-name { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; color: #FFF; margin-bottom: 5px; }
.street-number { display: block; font-size: 1.1rem; font-weight: 400; opacity: 0.9; margin-bottom: 2rem; letter-spacing: 0.05em; color: #ddd; }
 
.specs-mini { display: flex; gap: 2rem; margin-bottom: 2rem; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 1.5rem; }
.spec-item strong { display: block; font-size: 1.4rem; font-weight: 700; color: #FFF; }
.spec-item span { font-size: 0.7rem; text-transform: uppercase; opacity: 0.8; color: #ccc; }
 
.btn-know-more { display: inline-block; padding: 12px 30px; background: #FFF; color: #000; font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.1em; text-decoration: none; transition: 0.3s; border: none; cursor: pointer; }
.btn-know-more:hover { transform: translateY(-3px); box-shadow: 0 0 20px rgba(255,255,255,0.4); }

.project-panel.active { flex: 6; }
.project-panel.active .layer-closed { opacity: 0; }
.project-panel.active .layer-open { opacity: 1; transform: scale(1); }
.project-panel.active .bottom-bar { height: 0; opacity: 0; }
.project-panel.active .vertical-label { opacity: 0; }
.project-panel.active .info-box { opacity: 1; transform: translateY(0); }

/* =========================================
   FORM & FOOTER
   ========================================= */
.footer-form-section { position: relative; width: 100%; aspect-ratio: 2810 / 1100; padding: 0 2rem; display: flex; justify-content: center; align-items: center; background-color: var(--soul-dark); background-image: radial-gradient(circle at 70% 20%, #364424 0%, var(--soul-dark) 70%); overflow: hidden; min-height: 800px; }
/* --- COLE ISSO NO SEU CSS SUBSTITUINDO A CLASSE .shapes-bg ANTIGA --- */

.shapes-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* CAMINHO DA IMAGEM */
    background-image: url('formas.webp'); 
    background-position: center center;
    background-size: cover; /* Cobre a área toda. Se cortar muito, mude para 'contain' */
    background-repeat: no-repeat;
    
    /* VISIBILIDADE TOTAL */
    opacity: 1 !important; 
    mix-blend-mode: normal !important; 
    filter: none !important;
    
    /* ORDEM DAS CAMADAS */
    /* Fundo Verde (Pai) < Shapes (1) < Formulário (2) */
    z-index: 1;
    pointer-events: none;
}
.leaf-decor { position: absolute; width: 400px; height: 400px; background: url('leaf_shadow.png') no-repeat center/contain; opacity: 0.1; pointer-events: none; filter: invert(1); z-index: 1; }
.leaf-1 { bottom: -50px; left: -50px; transform: rotate(45deg); }
.leaf-2 { top: -50px; right: -50px; transform: rotate(-45deg); }

.form-glass-card { width: 100%; max-width: 1000px; position: relative; z-index: 2; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.2); border-radius: 24px; padding: 4rem; box-shadow: 0 30px 60px rgba(0,0,0,0.3); display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.form-txt h3 { font-size: 2.2rem; color: #fff; margin-bottom: 1rem; font-weight: 700; }
.form-txt p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; line-height: 1.6; }
.checks-area p { display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem; color: #fff; font-weight: 500; font-size: 0.95rem; }
.checks-area i { color: #d4e89e !important; }

.glass-input-group { position: relative; margin-bottom: 1.2rem; }
.glass-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.5); font-size: 1.2rem; z-index: 2; }
.glass-input, .glass-select { width: 100%; padding: 1.2rem 1.2rem 1.2rem 3.5rem; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: #fff; font-family: 'Manrope', sans-serif; font-size: 1rem; transition: 0.3s; cursor: pointer; outline: none; appearance: none; box-shadow: none; }
.glass-input::placeholder { color: rgba(255,255,255,0.4); }
.glass-input:focus, .glass-select:focus { border-color: #d4e89e; background: rgba(0, 0, 0, 0.4); }
.glass-select option { background: #26320f; color: #fff; padding: 10px; }

.btn-glass-submit { width: 100%; padding: 1.2rem; border-radius: 8px; margin-top: 1rem; background: #d4e89e; color: #1a2012; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; border: none; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-glass-submit:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 15px 30px rgba(255,255,255,0.2); }

.main-footer { background: #000; padding: 3rem; text-align: center; border-top: none; font-size: 0.8rem; color: #666; }

/* SEÇÃO QUEM FAZ */
.partners-section { padding: 6rem 2rem; background: #fff; text-align: center; position: relative; z-index: 5; }
 
.logos-row { display: flex; justify-content: center; align-items: center; gap: 5rem; flex-wrap: wrap; margin-top: 4rem; }
 
.logo-box { display: flex; flex-direction: column; align-items: center; } 

.logo-partner { 
    height: 110px; width: auto; object-fit: contain; 
    filter: invert(1) opacity(0.7); 
    transition: 0.3s; display: block; margin: 0 auto; 
}
.logo-partner:hover { 
    filter: invert(1) opacity(1); 
    transform: scale(1.05); 
}

.logo-box span { 
    font-size: 0.8rem; color: #777; font-weight: 700; line-height: 1.4; 
    text-transform: uppercase; letter-spacing: 0.05em; margin-top: 1rem; 
}

@media (max-width: 900px) {
    .partners-section { padding: 4rem 1.5rem; }
    .logos-row { 
        gap: 15px; 
        flex-direction: row; 
        flex-wrap: nowrap; 
        justify-content: center;
        align-items: flex-start;
    }
    .logo-box { width: 30%; }
    .logo-partner { height: 85px; width: 100%; }
    .logo-box span { font-size: 0.6rem; margin-top: 5px; }
}

/* WHATSAPP DESKTOP PADRÃO */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: #FFF; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 1000; text-decoration: none; overflow: hidden; animation: pulseAndExpand 8s infinite ease-in-out; transition: all 0.5s ease; }
.whatsapp-text { max-width: 0; opacity: 0; white-space: nowrap; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.05em; margin-left: 0; transition: all 0.5s ease; animation: showWppText 8s infinite ease-in-out; }
 
@keyframes pulseAndExpand { 
    0% { transform: scale(1); width: 60px; border-radius: 50%; } 
    40% { transform: scale(1); width: 60px; border-radius: 50%; } 
    42% { transform: scale(1.15); } 
    44% { transform: scale(1); } 
    46% { transform: scale(1.15); } 
    48% { transform: scale(1); width: 60px; } 
    55% { width: 280px; border-radius: 40px; justify-content: center; } 
    90% { width: 280px; border-radius: 40px; justify-content: center; } 
    100% { width: 60px; border-radius: 50%; } 
}
@keyframes showWppText { 
    0%, 50% { opacity: 0; max-width: 0; margin-left: 0; } 
    55%, 90% { opacity: 1; max-width: 200px; margin-left: 10px; } 
    95%, 100% { opacity: 0; max-width: 0; margin-left: 0; } 
}
 
.whatsapp-float:hover { animation: none; width: 280px; border-radius: 40px; transform: scale(1.05); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5); }
.whatsapp-float:hover .whatsapp-text { animation: none; opacity: 1; max-width: 200px; margin-left: 10px; }

/* MODAL */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 20, 10, 0.85); z-index: 9999; display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); padding: 4rem 3rem; border-radius: 24px; text-align: center; max-width: 500px; width: 90%; box-shadow: 0 30px 80px rgba(0,0,0,0.6); transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); border: 1px solid rgba(255,255,255,0.5); }
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-icon-success { font-size: 4rem; color: var(--soul-moss); margin-bottom: 1.5rem; animation: popIcon 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.modal-box h4 { font-size: 2rem; color: var(--soul-dark); margin-bottom: 1rem; line-height: 1.1; }
.modal-box p { color: #555; margin-bottom: 2rem; font-size: 1rem; line-height: 1.6; }
.btn-modal-whatsapp { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #FFF; padding: 15px 30px; border-radius: 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; transition: 0.3s; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2); }
.btn-modal-whatsapp:hover { background: #1ebc57; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }
@keyframes popIcon { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* =========================================
   MOBILE EXTREME (FINALISSIMO)
   ========================================= */
@media (max-width: 900px) {
    
    /* HERO */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 130px; 
        padding-bottom: 60px;
        justify-content: flex-start;
    }

    .hero-content {
        margin-bottom: 3rem; 
        width: 100%;
        padding: 0 1.5rem;
    }

    .hero-logo-small { width: 120px; margin-bottom: 1.5rem; }
    .hero-title { font-size: 2.2rem; margin-bottom: 1rem; } 
    .hero-lead { font-size: 1rem; margin-bottom: 2rem; }
    .hero-cta { width: 100%; justify-content: center; padding: 18px; }

    .market-specs-bar {
        position: relative; 
        bottom: auto; left: auto; transform: none; 
        width: 100%;
        max-width: 450px; 
        flex-direction: column; 
        align-items: flex-start;
        gap: 25px;
        padding: 2rem;
        background: rgba(15, 20, 10, 0.7); 
        border: 1px solid rgba(255, 255, 255, 0.1);
        animation: slideUpSimple 1s var(--ease-premium) forwards 1s;
        margin-bottom: 2rem;
    }

    @keyframes slideUpSimple { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
    
    .spec-unit { width: 100%; justify-content: flex-start; }
    .spec-unit i { font-size: 2rem; } 
    .divider-v { display: none; } 

    /* --- FEATURE GRID 2x2 --- */
    .features-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 15px; 
    }
    .feature-item { padding: 1.5rem 1rem; }
    .feature-item i { font-size: 2rem; }
    .feature-item span { font-size: 0.75rem; }

    /* --- GAVETAS (GALLERY) BLOCO DELUXE --- */
    .gallery-wrap { 
        flex-direction: column; 
        height: auto; 
        background: #000;
        padding: 0; 
    }
    
    .project-panel { 
        width: 100%; 
        height: 160px; 
        border-right: none; 
        flex: none; 
        z-index: 1; 

        /* O "SEPARADOR" 3PX GROSSO + SOMBRA PRA CIMA */
        margin-bottom: 0; 
        border-bottom: none;
        border-top: 3px solid rgba(255, 255, 255, 0.15); 
        border-radius: 0; 
        
        box-shadow: 0 -4px 15px rgba(0,0,0,0.6); 
        
        transition: height 0.8s cubic-bezier(0.19, 1, 0.22, 1); 
        overflow: hidden;
    }
    
    .project-panel:first-child { 
        border-top: none; 
        box-shadow: none; 
    }

    /* CARD ABERTO */
    .project-panel.active { 
        height: 620px; 
        flex: none;
        z-index: 10; 
        box-shadow: 0 0 50px rgba(0,0,0,0.8);
        border-top: 3px solid rgba(255, 255, 255, 0.3); 
    }

    /* --- MÁGICA DA IMAGEM INSTANTÂNEA --- */
    .img-layer {
        background-attachment: scroll !important; 
        transition: opacity 0.01s ease, transform 1s ease-out; 
    }

    .project-panel:not(.active) .layer-closed { opacity: 0 !important; z-index: 1; }
    .project-panel:not(.active) .layer-open { 
        opacity: 1 !important; 
        z-index: 2; 
        filter: brightness(0.5); 
    }

    .project-panel.active .layer-open { opacity: 0 !important; }
    .project-panel.active .layer-closed {
        opacity: 1 !important; 
        z-index: 5; 
        transform: scale(1.05); 
        filter: brightness(1);
    }

    .vertical-label { 
        transform: translate(-50%, -50%) rotate(0deg); 
        letter-spacing: 0.1em; 
        font-size: 1.3rem; 
        width: 100%;
        text-align: center;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        padding: 0 1rem;
        pointer-events: none;
    }

    .bottom-bar { 
        height: 100%; 
        width: 8px; 
        left: 0; 
        bottom: auto; 
        top: 0; 
        transition: width 0.6s var(--ease-elastic);
    }
    .project-panel.active .bottom-bar {
        width: 0; 
        transition: width 0.3s ease-out;
    }
    
    .info-box { padding: 2rem; }
    .street-name { font-size: 2rem; }

    .award-badge { width: 100%; justify-content: center; }
    .footer-form-section { aspect-ratio: auto; padding: 4rem 1.5rem; min-height: auto; }
    .form-glass-card { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
    .glass-input, .glass-select { font-size: 16px; }

    /* --- WHATSAPP MOBILE CENTRADO E CORRIGIDO --- */
    .whatsapp-float { 
        bottom: 15px !important; 
        right: 15px !important;
        
        width: 50px; 
        height: 50px;
        font-size: 24px;
        
        /* Garantindo que fique redondo e centralizado */
        border-radius: 50%;
        display: flex;
        justify-content: center; 
        align-items: center;
        padding: 0; 
        
        animation: mobilePulseAndExpand 8s infinite ease-in-out !important;
        overflow: hidden;
        max-width: 80vw; 
    }
    
    .whatsapp-text {
        display: inline-block !important; 
        font-size: 0.75rem; 
        white-space: nowrap;
        margin-left: 0; 
        animation: showWppTextMobile 8s infinite ease-in-out !important;
    }
}

/* ANIMAÇÃO WHATSAPP MOBILE */
@keyframes mobilePulseAndExpand { 
    0% { transform: scale(1); width: 50px; border-radius: 50%; } 
    40% { transform: scale(1); width: 50px; border-radius: 50%; } 
    42% { transform: scale(1.15); border-radius: 50%; } 
    44% { transform: scale(1); border-radius: 50%; }
    46% { transform: scale(1.15); border-radius: 50%; }
    48% { transform: scale(1); width: 50px; border-radius: 50%; } 
    55% { width: 260px; border-radius: 40px; } 
    90% { width: 260px; border-radius: 40px; } 
    100% { width: 50px; border-radius: 50%; } 
}

@keyframes showWppTextMobile { 
    0%, 50% { opacity: 0; max-width: 0; margin-left: 0; } 
    55%, 90% { opacity: 1; max-width: 200px; margin-left: 10px; } 
    95%, 100% { opacity: 0; max-width: 0; margin-left: 0; } 
}