:root {
    --black: #050505;
    --gray-dark: #121212;
    --gray-light: #8e8e93;
    --gold: #c5a059;
    --white: #ffffff;
}

* { box-sizing: border-box; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo-container {
    height: 35px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-img, .logo {
    height: 100%;
    width: auto;
    display: block;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 25px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    padding-bottom: 5px;
}

nav a:hover { color: var(--gold); }
nav a.active-link { color: var(--gold); font-weight: 600; }
nav a.active-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gold);
    animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn { from { width: 0; } to { width: 100%; } }

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 65px;
    padding: 0 5%;
}

.section { 
    width: 100%;
    max-width: 1200px;
    display: none; 
    animation: fadeIn 0.8s ease forwards; 
    text-align: center;
}

.section.active { 
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 56px);
    margin: 20px 0 30px 0;
    line-height: 1.2;
    max-width: 900px;
}

.hero p {
    font-size: 18px;
    color: var(--gray-light);
    max-width: 750px;
    margin: 0 auto 45px auto;
    font-weight: 300;
    line-height: 1.6;
}

.btn {
    padding: 18px 45px;
    background-color: var(--gold);
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.4s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn:hover { background-color: var(--white); transform: scale(1.05); }

/* ALIX */
.niche-content-box { width: 100%; max-width: 1000px; margin: 0 auto; }
.niche-content-box h2 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 2.8vw, 34px); margin-bottom: 20px; }
.niche-content-box p { font-size: 17px; line-height: 1.7; font-weight: 300; text-align: justify; }
.alix-image-container { max-width: 700px; margin: 0 auto 25px auto; border: 1px solid #222; padding: 6px; background: #0a0a0a; }
.alix-image-container img { width: 100%; height: auto; display: block; }

/* TOTENS / Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

.gallery-item {
    border: 1px solid #222;
    transition: 0.4s;
    cursor: pointer;
    background: #0a0a0a;
}

.gallery-item:hover { border-color: var(--gold); transform: translateY(-5px); }

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    display: block;
    opacity: 0.8;
    transition: 0.4s;
    padding: 10px;
}

.gallery-caption {
    padding: 12px;
    background: var(--gray-dark);
    border-top: 1px solid #222;
}

.gallery-caption h3 { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 15px; margin: 0 0 5px 0; }
.gallery-caption p { color: var(--gray-light); font-size: 11px; margin: 0; }

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeInLightbox 0.4s ease forwards;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeInLightbox { from { opacity: 0; } to { opacity: 1; } }

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn 0.5s ease forwards;
}

@keyframes zoomIn { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border: 2px solid var(--gold);
    cursor: pointer;
}

.lightbox-caption {
    text-align: center;
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--gold);
}

/* SETORES */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.card {
    background: var(--gray-dark);
    padding: 30px;
    border: 1px solid #222;
    transition: 0.4s;
    cursor: pointer;
    text-align: left;
}

.card:hover { border-color: var(--gold); transform: translateY(-5px); }
.card h3 { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 22px; margin-top: 0; }
.card p { color: var(--gray-light); font-size: 13px; line-height: 1.5; }

.fluxo-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    font-size: 14px;
    text-transform: lowercase;
    color: var(--gray-light);
    border-top: 1px solid #222;
    padding-top: 20px;
    width: 100%;
}
.fluxo-item { color: var(--white); }

footer {
    padding: 15px 10%;
    text-align: center;
    border-top: 1px solid #222;
    color: var(--gray-light);
    font-size: 12px;
    background-color: var(--black);
    width: 100%;
}

.tagline { color: var(--gold); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 2px; margin-bottom: 10px; display: block; }

/* Landing Pages specific (merged) */
.hero-lp { 
    height: 100vh; 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; 
    align-items: center; 
    padding: 0 5% 0 8%; 
    background: radial-gradient(circle at left, #1a1a1a 0%, #050505 100%);
    gap: 40px;
}
.hero-content { text-align: left; }
.alix-container { width: 100%; display: flex; justify-content: center; align-items: center; }
.alix-big-img { 
    width: 100%; 
    max-width: 600px; 
    height: auto; 
    border: 1px solid #333; 
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.1);
    transition: 0.5s;
}
.alix-big-img:hover { border-color: var(--gold); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.feature-card { background: var(--gray-dark); padding: 35px; border: 1px solid #222; transition: 0.3s; text-align: left; }
.feature-card:hover { border-color: var(--gold); }
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 15px; color: var(--gold); }

.footer-cta { text-align: center; background: var(--gray-dark); padding: 80px 10%; border-top: 1px solid #222; }
.footer-cta p { text-align: center; max-width: 850px; margin: 0 auto 40px auto; font-size: 22px; color: var(--white); line-height: 1.4; }

@media (max-width: 1024px) { 
    .hero-lp { grid-template-columns: 1fr; text-align: center; padding-top: 80px; height: auto; min-height: 100vh; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .alix-container { order: -1; margin-bottom: 20px; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    h1 { font-size: 32px; }
}
