:root {
    /* Colors */
    --primary-color: #213555;
    --primary-light: #3a5682;
    --primary-dark: #121f35;
    --secondary-color: #c9a25b;
    /* Soft gold for luxury accent */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --bg-offwhite: #f8f9fa;
    --bg-dark: #0f172a;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing & Utilities */
    --section-pad: 100px 0;
    --border-radius: 4px;
    /* minimal curve for a sophisticated look */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animations Core */
.reveal-up {
    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-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.default-solid {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Base Nav Links when resting on the white header */
.navbar.default-solid .nav-links a {
    color: var(--primary-color);
}

.navbar.default-solid .hamburger {
    color: var(--primary-color);
}

.navbar.default-solid .text-logo {
    color: var(--primary-color);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--primary-color);
}

.navbar.scrolled .text-logo {
    color: var(--primary-color);
}

.navbar.scrolled .hamburger {
    color: var(--primary-color);
}

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

.logo-img {
    height: 52px;
    /* Increased by 30% */
    width: auto;
    object-fit: contain;
}

.text-logo {
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
}

/* Luxury Hero Section */
.hero-luxury {
    position: relative;
    height: 100vh;
    min-height: 800px;
    /* Generous height for majestic feel */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary-dark);
}

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

.hero-fullscreen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Ensure the tower looks good */
    transform: scale(1.02);
    /* Slight scale to prevent edge bleed during potential load animations */
}

.hero-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay mimicking tailwind's bg-gradient-to-r */
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-luxury-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
}

.hero-luxury-content {
    /* Tailwind-like glassmorphism and precision spacing */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 4rem;
    /* Equivalent to p-12 px-16 */
    border-radius: 2px;
    /* Very sharp, premium corners */
    max-width: 650px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* shadow-2xl */
    position: relative;
}

.luxury-accent-line {
    position: absolute;
    top: -1px;
    /* Align with border */
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.hero-luxury-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 300;
    /* Sophisticated thin font */
}

.hero-luxury-content h1 span {
    color: var(--secondary-color);
    font-style: italic;
    font-weight: 400;
}

.hero-luxury-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.75);
    /* text-muted equivalent */
    font-weight: 300;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Luxury button override */
.btn-luxury {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 18px 36px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    border-radius: 0;
    /* Sharp corners for luxury */
    transition: var(--transition);
}

.btn-luxury:hover {
    background-color: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}

@keyframes slowZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Base Sections */
.section {
    padding: var(--section-pad);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: var(--transition);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Sobre Section */
.sobre {
    background-color: var(--bg-light);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sobre-content h2 {
    font-size: 3rem;
    margin-bottom: 32px;
}

.sobre-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.sobre-list {
    list-style: none;
    margin-top: 32px;
}

.sobre-list li {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.sobre-list li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.sobre-list li strong {
    color: var(--primary-color);
}

.sobre-text p.highlight {
    font-size: 1.4rem;
    color: var(--primary-color);
    line-height: 1.5;
    position: relative;
    padding-left: 24px;
    border-left: 4px solid var(--secondary-color);
}

.sobre-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sobre-img img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.6s ease;
}

.sobre-img:hover img {
    transform: scale(1.03);
}

/* Diferenciais Section */
.diferenciais {
    background-color: var(--bg-offwhite);
}

.diferenciais-header {
    text-align: center;
    margin-bottom: 64px;
}

.diferenciais-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.diferenciais-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.dif-card {
    background: var(--bg-light);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.dif-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--secondary-color);
}

.dif-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.dif-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 600;
}

.dif-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Galeria Section */
.galeria {
    background-color: var(--bg-light);
}

.galeria-header {
    text-align: center;
    margin-bottom: 64px;
}

.galeria-header h2,
.videos-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.galeria-header p,
.videos-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Modern Masonry Gallery Grid */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

/* Specific item sizing for asymmetrical look */
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.tall {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.08);
    /* slightly more dramatic zoom */
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 32px 32px;
    /* Increased top padding for smoother gradient transition */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay span {
    font-size: 1.3rem;
    /* slightly larger */
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 500;
}

/* Videos Section */
.videos {
    background-color: var(--bg-offwhite);
}

.videos-header {
    text-align: center;
    margin-bottom: 64px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.video-card {
    position: relative;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: var(--secondary-color);
    z-index: 10;
    opacity: 0.9;
    transition: var(--transition);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.video-card:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Depoimentos Section */
.depoimentos {
    background-color: var(--primary-color);
    color: #fff;
}

.depoimentos-header {
    text-align: center;
    margin-bottom: 64px;
}

.google-rating h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.google-rating .stars {
    color: #fbbc04;
    /* Google star color */
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.depoimentos-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
}

.review-author h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.review-author .stars {
    color: #fbbc04;
    font-size: 1rem;
}

.review-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Footer Section */
.footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.text-logo-footer {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 24px;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    /* Inverting for dark background if needed */
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-info h3,
.footer-contact h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: #fff;
}

.footer-info p,
.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-info p i,
.footer-contact p i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 24px 0;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.travessia a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.travessia a:hover {
    text-decoration: underline;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* Responsive constraints */
@media (max-width: 1024px) {

    /* Mobile Luxury Hero */
    .hero-luxury {
        min-height: auto;
        padding: 140px 0 80px 0;
        /* Clear navbar and give bottom breathing room */
        align-items: flex-start;
    }

    .hero-luxury-container {
        padding: 0 20px;
        width: 100%;
    }

    .hero-luxury-content {
        padding: 2rem 1.5rem;
        /* Reduced padding for mobile */
        border-radius: 2px;
        text-align: center;
        margin: 0 auto;
    }

    .luxury-accent-line {
        /* Move accent line to top center for mobile */
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }

    .hero-luxury-content h1 {
        font-size: 2.5rem;
        /* Scaled down for mobile */
        margin-bottom: 20px;
    }

    .hero-luxury-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-actions {
        justify-content: center;
    }

    .btn-luxury {
        padding: 15px 25px;
        font-size: 0.85rem;
    }

    .sobre-grid,
    .gallery-masonry {
        grid-template-columns: 1fr;
    }

    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.tall,
    .gallery-item.small {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }
}

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

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Mobile nav menu shown state */
    .nav-links.active-mobile {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 16px;
    }

    .nav-links.active-mobile a {
        color: var(--primary-color);
        font-size: 1.1rem;
    }
}

/* Placeholders Styles */
.placeholder-img {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px dashed #ccc;
    color: var(--text-muted);
}

.placeholder-img.dark {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px dashed #444;
    color: #888;
}

.placeholder-text {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    text-align: center;
    padding: 20px;
}

/* Mapa Section */
.mapa-section {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-offwhite);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.02);
}

.mapa-section iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) opacity(0.8) contrast(1.1);
    /* Subtle dark map effect to look more premium */
}