/* Enterprise Template Design System */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Cairo:wght@400;700&family=Fjalla+One&family=Alex+Brush&display=swap');

:root {
    --brand-navy: #282868;
    --brand-orange: #d67c1b;
    --text-primary: #111111;
    --text-secondary: #7a7a7a;
    --bg-light: #f3f3f3;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-primary);
    background-color: #fff;
    margin: 0;
    padding: 0;
    padding-top: 80px; /* Offset for fixed site header */
}

.back-button-container {
    max-width: 1200px;
    margin: 0px 0px -62px 0px;
    padding: 0 20px;
    position: relative;
    z-index: 900; /* Layer below fixed header but above hero content */
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: var(--brand-navy);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-back:hover {
    background: var(--brand-orange);
    color: #fff;
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(214, 124, 27, 0.3);
}

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

/* Hero Section */
.emp-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    z-index: 3;
}

.emp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.emp-hero-content {
    position: relative;
    padding-bottom: 40px;
    width: 100%;
}

.emp-hero-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
}

.emp-hero-subtitle {
    font-family: 'Alex Brush', cursive;
    color: var(--brand-orange);
    font-size: 2.0rem;
    margin-top: -7px;
    margin-left: 22px;
}

.emp-hero-features {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    color: #fff;
}

.emp-hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Technical Info & Gallery Sections */
.emp-section {
    padding: 60px 0;
}

.emp-section-light {
    background-color: var(--bg-light);
}

.emp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.section-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.8rem;
    color: var(--brand-navy);
    border-bottom: 3px solid var(--brand-orange);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.signature-text {
    font-family: 'Alex Brush', cursive;
    font-size: 2.8rem;
    color: var(--brand-navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Gallery Slider (Simplificado) */
.emp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

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

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

/* Technical Data Blocks */
.tech-data-grid {
    gap: 20px;
}

.tech-data-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.tech-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.tech-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
}

/* Amenities List (Old) - Keep if used elsewhere */
.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 8px;
    background: #f1f5f9;
    border-radius: 6px;
}

.amenity-item i {
    color: var(--brand-orange);
}

/* Diferenciais Section (New Style) */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.diff-card {
    background-color: #f8f9fa;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
    transition: var(--transition);
}

.diff-card:hover {
    background-color: #f1f3f5;
    transform: translateY(-5px);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--brand-navy);
    margin-bottom: 20px;
}

.diff-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #444;
    margin: 0;
}

@media (max-width: 1024px) {
    .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .diff-grid { grid-template-columns: 1fr; }
}

/* Location Card */
.location-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.location-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.location-address {
    padding: 20px 25px 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.location-btns {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.btn-loc {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-gmaps { background: #4285F4; color: #fff; }
.btn-waze { background: #33CCFF; color: #fff; }

.btn-loc:hover { filter: brightness(1.1); }

/* Floor Plans Slider Section */
.floor-plans-section {
    width: 100%;
    background-color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.floor-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.floor-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.floor-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
    text-align: center;
}

.floor-slide img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 20px 0;
    cursor: pointer;
}

.floor-plan-title {
    font-family: 'Cairo', sans-serif;
    color: var(--brand-navy);
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
}

.floor-plan-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(40, 40, 104, 0.8);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--brand-orange);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.floor-plans-title {
    margin-bottom: 50px;
}

/* Info Legais Section */
.info-legais {
    background-color: var(--brand-navy);
    color: #fff;
    padding: 40px 0;
    border-top: none;
}

.info-legais-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: flex-start;
}

.info-legais-img {
    text-align: center;
}

.realizacao-title {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.realizacao-link {
    font-size: 1.1rem;
    margin-top: 20px;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.info-legais-img img {
    max-width: 250px;
    height: auto;
}

.info-legais-text {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #fff;
    text-align: justify;
}

.info-legais-text p {
    margin-bottom: 25px;
    opacity: 0.95;
}

@media (max-width: 1024px) {
    .info-legais-grid { 
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .info-legais-text { text-align: center; }
}

/* Ficha Técnica Footer (Dark Style) */
.emp-tech-footer {
    background-color: var(--brand-navy);
    color: #fff;
    padding-top: 80px;
    padding-bottom: 40px;
}

.tech-footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.tech-footer-main-title {
    font-family: 'Cairo', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.tech-footer-column h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-footer-item {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tech-footer-item strong {
    font-weight: 700;
}

@media (max-width: 1024px) {
    .tech-footer-grid { 
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .tech-footer-main-title { font-size: 2rem; }
}

/* Responsive */
@media (max-width: 1024px) {
    .emp-grid-2 { grid-template-columns: 1fr; }
    .emp-hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .emp-hero { height: 50vh; }
    .emp-hero-features { flex-direction: column; gap: 10px; }
    .location-img { height: 300px; }
}

/* Lightbox Enhancements */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-btn:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}
