/* Global Styles - Luxury Redesign */
:root {
    --bg-dark: #050505;
    --bg-panel: #0a0a0a;
    --primary-gold: #D4AF37;
    --gold-dim: #8a7035;
    --text-main: #E5E5E5;
    --text-muted: #888888;
    --border-thin: rgba(212, 175, 55, 0.2);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    /* Wider for luxury feel */
    margin: 0 auto;
    padding: 0 40px;
}

.text-gold {
    color: var(--primary-gold);
}

/* Discrete Top Bar */
.top-bar-discrete {
    background-color: #000;
    color: #ffffff;
    /* FORCE WHITE */
    text-align: center;
    padding: 10px 0;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-weight: 500;
}

.top-bar-discrete a {
    color: #ffffff;
    margin-left: 10px;
    border-bottom: 1px dotted var(--primary-gold);
    font-weight: 600;
}

/* Navigation - Minimalist */
.navbar {
    position: absolute;
    top: 40px;
    /* Below top bar */
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    filter: brightness(1.2) contrast(1.1);
    /* Enhance gold logo if needed */
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.acronym {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.1em;
}

.full-name {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary-gold);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    position: relative;
    opacity: 0.8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    border: 1px solid var(--border-thin);
    padding: 10px 25px;
    border-radius: 0;
    /* Sharp edges for luxury */
}

.btn-nav:hover {
    background: var(--primary-gold);
    color: #000 !important;
    border-color: var(--primary-gold);
}

/* Hero Section Watermark */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: url('logo.png') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(100%);
}

@media (max-width: 768px) {
    .hero::after {
        width: 300px;
        /* Reduced for mobile */
        height: 300px;
    }
}

/* Hero Section - Cinematic */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 30% 50%, #151515 0%, #000000 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-left: 5%;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: .95;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
    border-left: 1px solid var(--primary-gold);
    padding-left: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-gold);
    color: #000;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* Services - Architectural */
.services {
    padding: 150px 0;
    background: var(--bg-panel);
}

.section-header {
    margin-bottom: 100px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 3.5rem;
}

.section-header p {
    max-width: 400px;
    text-align: right;
    font-size: 0.9rem;
    opacity: 0.7;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    /* Thin lines between cards */
    background: var(--border-thin);
    /* The gap color */
}

.card {
    background: var(--bg-dark);
    padding: 60px 40px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background: #0f0f0f;
}

.icon-box {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 30px;
    opacity: 0.8;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Feature/Solutions Teaser */
.solutions-teaser {
    padding: 150px 0;
    position: relative;
}

.split-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.text-side {
    max-width: 900px;
    /* Slightly wider for larger text */
    width: 100%;
}

.text-side h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.text-side p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.feature-list {
    text-align: center;
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-list li {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    /* Stack icon and text for perfect centering */
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 25px;
    max-width: 600px;
    width: 100%;
}

.feature-list i {
    font-size: 1.8rem;
}

.feature-list strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.glass-card {
    border: 1px solid var(--border-thin);
    padding: 50px;
    background: radial-gradient(circle at top right, rgba(30, 30, 30, 0.5), transparent);
}

.news-item {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.news-item p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: #ccc;
}

/* Ecosystem Section */
.ecosystem-section {
    padding: 100px 0;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.ecosystem-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.eco-item {
    text-align: center;
    opacity: 0.85;
    transition: var(--transition);
    text-decoration: none;
}

.eco-item:hover,
.eco-item.active-eco {
    opacity: 1;
}

.eco-item.active-eco .eco-name {
    color: var(--primary-gold);
}

.eco-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 5px;
    display: block;
}

.eco-desc {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--primary-gold);
}

/* Contact / Sale Box Section */
.contact {
    padding: 120px 0;
    display: flex;
    justify-content: center;
}

.sale-contact-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 40px;
    background: radial-gradient(circle at center, #0f0f0f 0%, #000 100%);
    border: 1px solid var(--border-thin);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.05);
}

.sale-contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

.sale-status {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary-gold);
    margin-bottom: 20px;
    display: block;
}

.email-link {
    display: inline-block;
    font-size: 2rem;
    color: #fff;
    font-family: var(--font-heading);
    border-bottom: 1px solid var(--primary-gold);
    padding-bottom: 5px;
    margin-bottom: 30px;
}

.email-link:hover {
    color: var(--primary-gold);
}

.final-note {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020202;
    font-size: 0.8rem;
    color: #555;
    text-align: center;
}

.footer-logo h3 {
    margin-bottom: 5px;
}

.footer-logo p {
    margin-bottom: 25px;
    opacity: 0.8;
}

.footer-socials {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-socials a {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-socials a:hover {
    color: var(--primary-gold);
}

.footer-urls {
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.url-divider {
    color: var(--primary-gold);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .top-bar-discrete {
        font-size: 0.65rem;
        padding: 12px 10px;
        line-height: 1.6;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .top-bar-discrete a {
        margin-left: 0;
        margin-top: 5px;
        display: inline-block;
    }

    .navbar {
        position: relative;
        top: 0;
        background: #000;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
        min-height: 50px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        flex-direction: column;
        padding: 40px 0;
        gap: 30px;
        z-index: 1000;
        border-bottom: 2px solid var(--primary-gold);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        text-align: center;
        /* Centraliza o texto */
        align-items: center;
        /* Centraliza as LIs se necessário */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        width: 100%;
        display: block;
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: #fff;
        cursor: pointer;
        z-index: 1001;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }

    .logo {
        flex-direction: row;
        gap: 12px;
        align-items: center;
        margin: 0;
    }

    .logo img {
        height: 35px;
    }

    .brand-text {
        align-items: flex-start;
    }

    .acronym {
        font-size: 1.3rem;
    }

    .full-name {
        font-size: 0.5rem;
        letter-spacing: 0.1em;
    }

    .hero {
        height: auto;
        min-height: 70vh;
        padding: 50px 0 70px 0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.3rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .hero h1 br {
        display: none;
        /* Better title flow on narrow screens */
    }

    .hero p {
        font-size: 0.95rem;
        margin: 0 auto 2.5rem auto;
        border-left: none;
        border-top: 1px solid var(--primary-gold);
        padding: 20px 0 0 0;
        text-align: center;
        max-width: 90%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        padding: 15px 20px;
    }

    .services {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 0;
    }

    .section-header p {
        text-align: center;
        margin: 0 auto;
        font-size: 1rem;
        max-width: 100%;
    }

    .grid-cards {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .card {
        padding: 40px 25px;
        text-align: center;
        align-items: center;
        border: 1px solid var(--border-thin);
        background: #0a0a0a;
    }

    .solutions-teaser {
        padding: 60px 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .split-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0;
    }

    .text-side {
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .text-side h2 {
        font-size: 2.2rem;
        text-align: center;
        margin: 0 0 30px 0;
        width: 100%;
        display: block;
    }

    .text-side p {
        text-align: center;
        margin: 0 auto 40px auto;
        width: 100%;
        max-width: 90%;
    }

    .feature-list {
        width: 100%;
        padding: 0;
    }

    .feature-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .feature-list i {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .feature-list strong {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .feature-list span {
        font-size: 0.95rem;
        line-height: 1.5;
        display: block;
        max-width: 280px;
        margin: 0 auto;
    }

    .glass-card {
        padding: 30px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .news-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact {
        padding: 60px 0;
    }

    .sale-contact-box {
        width: 100%;
        padding: 40px 20px;
    }

    .sale-contact-box h2 {
        font-size: 1.8rem;
    }

    .email-link {
        font-size: 1.25rem;
    }

    .ecosystem-section {
        padding: 60px 0;
    }

    .ecosystem-logos {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .footer-content {
        align-items: center;
        text-align: center;
        padding-top: 40px;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-logo h3 {
        font-size: 1.8rem;
        margin-bottom: 0px;
    }

    .footer-logo p {
        font-size: 0.8rem;
        margin-bottom: 30px;
    }

    .footer-socials {
        flex-direction: column;
        gap: 15px;
    }

    .footer-urls {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .footer-urls a {
        font-size: 0.9rem;
        color: var(--text-main);
        letter-spacing: 0.05em;
    }

    .footer-urls span {
        display: none;
    }
}