:root {
    /* Palette - Ultra Premium Dark */
    --color-bg: #050505;
    /* Even darker, almost pure black */
    --color-text: #F8F9FA;
    --color-text-muted: #71717A;
    /* Darker muted text for high contrast */
    --color-primary: #8E0000;
    --color-primary-light: #B91C1C;
    --color-border: rgba(255, 255, 255, 0.1);

    /* Spacing System */
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    --spacing-xl: 12rem;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.8;
    /* Increased line-height for readability */
}

/* Utilities */
.container {
    max-width: 1400px;
    /* Wider container */
    margin: 0 auto;
    padding: 0 60px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

/* Navbar - Translucent Frosted Glass Effect */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.6rem 0;
    z-index: 9005;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Translucent Frosted Glass - Light but not solid */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* On scroll - slightly more visible */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Wrapper - Full height frosted glass panel (More Dissolved) */
.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    margin: -0.6rem 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        4px 0 20px rgba(0, 0, 0, 0.05),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    min-height: calc(100% + 1.2rem);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho de vidro (Glass Shine) */
.logo-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 1;
    pointer-events: none;
}

.logo-link:hover {
    transform: none;
    opacity: 1;
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        6px 0 25px rgba(0, 0, 0, 0.1),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
}

.logo-link:hover::before {
    animation: glassShine 0.7s;
}

@keyframes glassShine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}



.logo-img {
    height: 60px;
    width: auto;
}

/* Mobile Toggle - Default Hidden */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 10000;
}

.mobile-toggle svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 4rem;
    /* Increased gap */
    align-items: center;
}

.nav-item {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFFFFF;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.nav-item:hover {
    color: #FFFFFF;
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-item:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.9rem 2rem;
    background: var(--color-primary);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(142, 0, 0, 0.3);
}

.btn-nav:hover {
    background: #6B0000;
    color: white;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 0, 0, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.85);
    /* Darker overlay for text pop */
}

/* Main Content Card - Removed Glass Box for cleaner look, now floating text */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.premium-badge {
    display: inline-block;
    color: var(--color-primary-light);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    position: relative;
}

.premium-badge::before,
.premium-badge::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--color-primary-light);
    vertical-align: middle;
    margin: 0 15px;
    opacity: 0.5;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    /* Reduced from 5.5rem */
    line-height: 1.2;
    font-weight: 300;
    margin-bottom: 2rem;
    color: white;
    letter-spacing: -0.02em;
    max-width: 1000px;
}

.text-highlight {
    font-weight: 600;
    color: white;
    /* Keep white for minimalist luxury */
    border-bottom: 2px solid var(--color-primary);
    /* Subtle underline accent */
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 5rem;
    font-weight: 300;
    border-left: 1px solid var(--color-primary);
    padding-left: 2rem;
    text-align: left;
    /* Editorial alignment */
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.btn-liquid {
    padding: 1.2rem 3.5rem;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 0;
}

.btn-liquid:hover {
    background: white;
    color: black;
    transform: translateY(-5px);
}

.btn-outline-light {
    display: none;
    /* Simplify actions to one primary call */
}

/* Services Section - Architectural Layout */
.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.section-header {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}

.section-tag {
    color: var(--color-primary-light);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Strict 3 column */
    gap: 4rem;
    /* Huge gap */
}

.service-card {
    background: transparent;
    /* Remove background card look */
    border: none;
    border-left: 1px solid var(--color-border);
    /* Architectural line separator */
    padding: 0 0 0 2rem;
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(0);
    border-color: var(--color-primary);
    /* Highlight line on hover */
    padding-left: 3rem;
    /* Slide effect */
}

.icon-box {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    transition: all 0.3s;
}

.service-card:hover .icon-box {
    background: white;
    color: black;
    border-color: white;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: white;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.card-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    opacity: 0.6;
    visibility: hidden;
}

.card-link:hover {
    opacity: 1;
    gap: 15px;
}

/* Scroll Indicator - Minimal Line */
.scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 100px;
    width: 1px;
    background: linear-gradient(to bottom, white, transparent);
    transform: translateX(-50%);
}

.mouse {
    display: none;
}

/* Remove icon, using line instead */

/* ===========================================
   RESPONSIVE DESIGN - Complete Mobile First
   =========================================== */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-links {
        gap: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Mobile Large - 768px and below */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Navbar Mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 9000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: flex !important;
        z-index: 9999;
    }

    /* Hero Mobile */
    .hero {
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero-content {
        padding: 0 1rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin: 0 auto 2rem;
        text-align: center;
        border-left: none;
        padding-left: 0;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
        justify-content: center;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
    }

    .section-tag {
        font-size: 0.65rem;
    }

    /* Logo */
    .logo-link {
        padding: 0.5rem 1rem;
    }

    .logo-img {
        height: 40px;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        display: none;
    }

    /* Buttons */
    .btn-liquid,
    .btn-outline-light {
        padding: 0.9rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Mobile Small - 480px and below */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 35px;
    }

    /* Footer adjustments */
    .btn-nav {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
}