/* =========================================
   VARIABLES & SETUP
   ========================================= */
:root {
    /* Core Colors (Dark Theme focus) */
    --bg-dark: #0a0a0c;
    --bg-card: #141418;
    --bg-lighter: #1e1e24;
    
    /* CMYK Accents */
    --c-cyan: #00FFFF;
    --c-magenta: #FF00FF;
    --c-yellow: #FFFF00;
    
    /* Text */
    --text-main: #f0f0f0;
    --text-muted: #a0a0a5;
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Transitions & Shadows */
    --trans-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-neon: 0 0 20px rgba(0, 255, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* =========================================
   TYPOGRAPHY & UTILITIES
   ========================================= */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title span {
    font-family: var(--font-heading);
    font-style: italic;
    background: linear-gradient(45deg, var(--c-cyan), var(--c-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.text-cyan { color: var(--c-cyan); }
.text-magenta { color: var(--c-magenta); }
.text-yellow { color: var(--c-yellow); }

.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--trans-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--c-cyan), var(--c-magenta));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline {
    border: 2px solid var(--c-cyan);
    color: var(--c-cyan);
    padding: 0.5rem 1.5rem;
}

.btn-outline:hover {
    background: var(--c-cyan);
    color: var(--bg-dark);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: var(--trans-smooth);
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar.scrolled {
    padding: 0.1rem 0; /* Extra thin margin when scrolled */
    background: rgba(10, 10, 12, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.navbar.scrolled .logo img {
    height: 80px; /* Shrink upon scrolling for better UX on desktop */
}

@media (max-width: 768px) {
    .navbar.scrolled .logo img {
        height: 48px; /* Slightly smaller on mobile when scrolling */
    }
}

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

.logo {
    display: flex;
    align-items: center; /* Changed from baseline to center for better logo alignment */
    text-decoration: none;
    gap: 0.5rem;
}

.logo img {
    height: 72px;
    max-height: 100%;
    width: auto;
    transition: var(--trans-smooth);
}

@media (min-width: 993px) {
    .logo img {
        height: 160px; /* Conforme nova solicitação (original 72px -> 144px -> 160px) */
    }
}

.logo-g {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--trans-smooth);
    position: relative;
}

.nav-links nav li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-cyan);
    transition: var(--trans-smooth);
}

.nav-links a:not(.btn):hover {
    color: var(--c-cyan);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 240px; /* Increased to accommodate 160px logo on desktop */
    overflow: hidden;
}

@media (max-width: 992px) {
    .hero {
        padding-top: 150px;
    }
}

/* Ambient Glow Effects */
.glow-cyan {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.glow-magenta {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,0,255,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-title span {
    font-family: var(--font-heading);
    font-style: italic;
    background: linear-gradient(to right, #fff, var(--c-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.hero-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
    50% { transform: translateY(-20px) rotateX(10deg) rotateY(-2deg); }
    100% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
}

/* =========================================
   PRODUCTS SHOWCASE (ZIG-ZAG)
   ========================================= */
.products-container {
    background-color: var(--bg-dark);
    position: relative;
    z-index: 2;
    padding: 2rem 0 6rem 0;
}

.showcase-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.showcase-section:nth-child(even) {
    background: linear-gradient(180deg, rgba(20,20,24,0) 0%, rgba(20,20,24,0.5) 50%, rgba(20,20,24,0) 100%);
}

.showcase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    width: 100%;
}

/* Alternate Layout Check */
.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.showcase-text {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-text.centered {
    max-width: 900px;
    text-align: center;
    transform: translateY(30px);
}

.showcase-text.centered.visible {
    transform: translateY(0);
}

.showcase-row.reverse .showcase-text {
    transform: translateX(50px);
}

.showcase-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.showcase-row.reverse .showcase-text.visible {
    transform: translateX(0);
}

.showcase-subtitle {
    font-size: 1rem;
    color: var(--c-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.showcase-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.showcase-title span {
    font-family: var(--font-heading);
    font-style: italic;
    background: linear-gradient(to right, #fff, var(--c-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.showcase-image {
    flex: 1.2;
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-image.visible {
    opacity: 1;
    transform: scale(1);
}

.showcase-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    pointer-events: none;
}

.showcase-img-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.showcase-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1);
    display: block;
}

/* Specific Glows for Sections */
.glow-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.section-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
}

.showcase-text, .showcase-image {
    position: relative;
    z-index: 1;
}

/* =========================================
   COLOR MANAGEMENT (FLEX ROW SECTION)
   ========================================= */
.flex-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.col-text {
    flex: 1;
}

.col-text h2.section-title {
    text-align: left;
}

.col-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-list i {
    font-size: 1.5rem;
}

.col-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* Abstract CMYK Art */
.cmyk-rings {
    position: relative;
    width: 300px;
    height: 300px;
}

.ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    mix-blend-mode: screen;
    opacity: 0.8;
    filter: blur(5px);
    animation: orbit 10s linear infinite;
}

.r-cyan {
    background: rgba(0,255,255,0.6);
    top: 0; left: 50px;
    animation-duration: 8s;
}
.r-magenta {
    background: rgba(255,0,255,0.6);
    bottom: 0; left: 0;
    animation-duration: 12s;
    animation-direction: reverse;
}
.r-yellow {
    background: rgba(255,255,0,0.6);
    bottom: 0px; right: 0;
    animation-duration: 10s;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translate(20px) rotate(0deg); }
    100% { transform: rotate(360deg) translate(20px) rotate(-360deg); }
}


/* =========================================
   CLIENTES SECTION (DYNAMIC SLIDER)
   ========================================= */
.clientes-section {
    background-color: var(--bg-dark);
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.clientes-header {
    text-align: center;
    margin-bottom: 2rem;
}

.clientes-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.clientes-slider-container {
    flex: 1;
    overflow: hidden;
    padding: 1rem 0;
}

.showcase-vertical .clientes-slider-container {
    padding-bottom: 0;
}

.clientes-track {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.cliente-slide {
    flex: 0 0 calc(25% - 1.125rem); /* Default: 4 items (calculating gap) */
    aspect-ratio: 4 / 3;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--bg-card);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid transparent;
    cursor: pointer;
}

#embalagens-track .cliente-slide,
#cartuchos-track .cliente-slide,
#coloracao-track .cliente-slide,
#sacolas-track .cliente-slide {
    flex: 0 0 calc(33.333% - 1rem);
    aspect-ratio: 1 / 1;
}

@media (max-width: 992px) {
    #embalagens-track .cliente-slide,
    #cartuchos-track .cliente-slide,
    #coloracao-track .cliente-slide,
    #sacolas-track .cliente-slide { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 768px) {
    #embalagens-track .cliente-slide,
    #cartuchos-track .cliente-slide,
    #coloracao-track .cliente-slide,
    #sacolas-track .cliente-slide { flex: 0 0 100%; }
}

/* Arrow Navigation */
.cliente-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--trans-smooth);
    z-index: 10;
    flex-shrink: 0;
    font-size: 1rem;
}

.cliente-nav-btn:hover {
    background: var(--c-cyan);
    color: var(--bg-dark);
    transform: scale(1.1);
}

/* Dots Pagination */
.clientes-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.showcase-vertical .clientes-dots {
    margin-top: 0.2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--trans-smooth);
}

.dot.active {
    background: var(--c-cyan);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--c-cyan);
}

/* Responsividade */
@media (max-width: 992px) {
    .cliente-slide { flex: 0 0 calc(33.33% - 1rem); } /* 3 items */
}

@media (max-width: 768px) {
    .cliente-slide { flex: 0 0 100%; } /* 1 item on mobile */
    .clientes-dots { display: none; } /* Hide dots on mobile */
    .cliente-nav-btn { width: 40px; height: 40px; }
    
    .showcase-vertical .clientes-slider-wrapper {
        width: calc(100% + 4rem);
        margin-left: -2rem;
        margin-right: -2rem;
        padding: 0;
    }
    .showcase-vertical .clientes-slider-container {
        padding: 0;
    }
    .showcase-vertical .cliente-slide {
        border-radius: 15px;
    }
    .showcase-vertical .prev-btn {
        margin-left: 0.5rem;
    }
    .showcase-vertical .next-btn {
        margin-right: 0.5rem;
    }
}

.cliente-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cliente-slide:hover {
    transform: translateY(-10px);
    z-index: 5;
}

.cliente-slide:nth-child(3n+1):hover {
    border-color: var(--c-cyan);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}
.cliente-slide:nth-child(3n+2):hover {
    border-color: var(--c-magenta);
    box-shadow: 0 10px 25px rgba(255, 0, 255, 0.2);
}
.cliente-slide:nth-child(3n+3):hover {
    border-color: var(--c-yellow);
    box-shadow: 0 10px 25px rgba(255, 255, 0, 0.2);
}


/* =========================================
   FOOTER / CONTACT ORIGINAL
   ========================================= */
.footer {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 300px;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-lighter);
    color: #fff;
    text-decoration: none;
    transition: var(--trans-smooth);
}

.socials a:hover {
    background: var(--c-cyan);
    transform: translateY(-3px);
}

.footer-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--trans-smooth);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.form-group.half {
    flex: 1;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--c-magenta);
    background: rgba(255,255,255,0.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   IMPRESSÃO DIGITAL SECTION
   ========================================= */
.impressao-digital {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.impressao-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.digital-feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--trans-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    backdrop-filter: blur(10px);
}

.digital-feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.06);
}

.digital-feature-card.cmyk-cyan:hover { box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15); border-color: rgba(0, 255, 255, 0.3); }
.digital-feature-card.cmyk-magenta:hover { box-shadow: 0 10px 30px rgba(255, 0, 255, 0.15); border-color: rgba(255, 0, 255, 0.3); }
.digital-feature-card.cmyk-yellow:hover { box-shadow: 0 10px 30px rgba(255, 255, 0, 0.15); border-color: rgba(255, 255, 0, 0.3); }
.digital-feature-card.cmyk-black:hover { box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }

.digital-feature-card .feature-icon {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.digital-feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.digital-feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.feature-line {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 0;
    transition: width 0.4s ease;
}

.digital-feature-card:hover .feature-line {
    width: 60%;
}

.bg-cyan { background-color: var(--c-cyan); }
.bg-magenta { background-color: var(--c-magenta); }
.bg-yellow { background-color: var(--c-yellow); }
.bg-white { background-color: #fff; }

.glow-move {
    animation: moveGlow 15s infinite alternate ease-in-out;
}
.glow-move-reverse {
    animation: moveGlowRev 20s infinite alternate ease-in-out;
}

@keyframes moveGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.2); }
}

@keyframes moveGlowRev {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -50px) scale(1.1); }
}

/* Responsiveness wrapper for impressao */
@media (max-width: 768px) {
    .impressao-features {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MAPA / LOCALIZAÇÃO
   ========================================= */
.localizacao-section {
    background-color: var(--bg-dark);
    position: relative;
    z-index: 2;
    padding-bottom: 0;
}

.map-responsive {
    width: 100%;
    line-height: 0;
}

.map-responsive iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(110%);
}

/* =========================================
   WELCOME / BEM-VINDO SECTION
   ========================================= */
.welcome-section {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    padding: 8rem 0;
    overflow: hidden;
}

.welcome-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.welcome-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.line-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--c-cyan), var(--c-magenta));
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.welcome-section:hover .line-accent {
    width: 100px;
}

.welcome-title {
    font-size: 3rem;
    color: #fff;
}

.welcome-title span {
    font-family: var(--font-heading);
    font-style: italic;
    background: linear-gradient(45deg, var(--c-cyan), var(--c-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-content {
    align-items: flex-start;
}

.welcome-text {
    flex: 1;
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s ease;
}

.welcome-text.visible {
    opacity: 1;
    transform: scale(1);
}

.welcome-subtitle {
    font-size: 1.25rem;
    color: var(--c-cyan);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
}

.welcome-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.welcome-gallery {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-item.large {
    height: 300px;
}

.gallery-row {
    display: flex;
    gap: 1rem;
    height: 180px;
}

.gallery-row .gallery-item {
    flex: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.8) contrast(1.1);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

/* Mission Highlight Section */
.welcome-mission-full {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    padding-bottom: 8rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.welcome-mission {
    text-align: center;
    padding: 8rem 4rem;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    position: relative;
}

.welcome-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-magenta), transparent);
}

.welcome-mission p {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.3;
    max-width: 1000px;
    margin: 0 auto;
    font-weight: 600;
}

.mission-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--c-magenta), var(--c-yellow));
    margin: 3rem auto 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .welcome-mission p {
        font-size: 1.5rem;
    }
    .welcome-mission {
        padding: 4rem 1.5rem;
    }
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: border-color 0.5s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    border-color: var(--c-cyan);
}

/* Base animations that were expected by JS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}


/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    .welcome-content { flex-direction: column; gap: 3rem; }
    .welcome-subtitle { font-size: 1.15rem; }
    .gallery-item.large { height: 250px; }
    .gallery-row { height: 140px; }
    .hero-title { font-size: 3rem; }
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }
    .hero-cta { justify-content: center; }
    .flex-row { flex-direction: column; }
    .col-text h2.section-title { text-align: center; }
    .footer-content { grid-template-columns: 1fr; gap: 3rem; }
    .showcase-row, .showcase-row.reverse { flex-direction: column; gap: 3rem; }
    .showcase-text { text-align: center; }
    .showcase-image { width: 100%; height: 400px; }
    .contato-container { grid-template-columns: 1fr; }
    .contato-form-box { padding: 2rem; }
    .contato-info-box { padding: 2rem; }
    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background-color: var(--bg-dark);
        padding: 2rem 0;
        transition: left 0.3s ease;
        text-align: center;
        gap: 2rem;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
        z-index: 99;
    }
    .nav-links.active {
        left: 0;
    }
    .hamburger { display: block; font-size: 1.8rem; cursor: pointer; color: #fff; }
    .hero-title { font-size: 2.5rem; }
}

/* =========================================
   COMPONENTS (WHATSAPP & SLIDER)
   ========================================= */

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--trans-smooth);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Image Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    /* Ensure no weird spacing */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1);
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through empty space */
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer; /* Custom cursor handles this visually, but keep for fallback */
    pointer-events: auto;
    transition: var(--trans-smooth);
}

.slider-btn:hover {
    background: rgba(0, 255, 255, 0.8);
    color: var(--bg-dark);
    transform: scale(1.1);
}

/* =========================================
   NEW ANIMATIONS & INTERACTIVITY
   ========================================= */

/* Overriding Body & Root for Smooth Custom Cursor */
body, * {
    cursor: none; /* Hide default cursor */
}
a, button, .btn, input, textarea {
    cursor: none; /* Hide on interactables too, handled by JS */
}

/* Custom Cursor Styles */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 36px;
    height: 36px;
    /* SVG Arrow matching the attached gradient design */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><defs><linearGradient id="g" x1="20%25" y1="100%25" x2="80%25" y2="0%25"><stop offset="0%25" stop-color="%2300FFFF"/><stop offset="100%25" stop-color="%23FF00FF"/></linearGradient><filter id="s" x="-20%25" y="-20%25" width="140%25" height="140%25"><feDropShadow dx="1" dy="3" stdDeviation="3" flood-color="%23000" flood-opacity="0.6"/></filter></defs><path d="M4 3 L12 30 L17 19 L28 15 Z" fill="url(%23g)" filter="url(%23s)" stroke="%23FFFFFF" stroke-width="1.5" stroke-linejoin="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    /* Adjust so the actual tip at (4,3) aligns with the mouse pointer coordinates */
    transform: translate(-4px, -3px);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cursor-outline {
    display: none; /* Removed the trailing circle per new aesthetic */
}

/* Hover state for interactable elements */
.cursor-hover .cursor-dot {
    /* Swap to a hand pointer SVG while retaining the exact same gradient theme */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 24 24"><defs><linearGradient id="g" x1="20%25" y1="100%25" x2="80%25" y2="0%25"><stop offset="0%25" stop-color="%2300FFFF"/><stop offset="100%25" stop-color="%23FF00FF"/></linearGradient><filter id="s" x="-20%25" y="-20%25" width="140%25" height="140%25"><feDropShadow dx="0.5" dy="1.5" stdDeviation="1.5" flood-color="%23000" flood-opacity="0.6"/></filter></defs><path d="M12.5 1.5 C11.4 1.5 10.5 2.4 10.5 3.5 V14.1 L8.9 12.9 C8.1 12.3 7 12.4 6.3 13.2 L5 14.8 L11 21.3 C11.9 22.3 13.2 22.9 14.6 22.9 H19.5 C21.8 22.9 23.7 21 23.7 18.7 V13.5 C23.7 12.4 22.8 11.5 21.7 11.5 C21.5 11.5 21.3 11.5 21.1 11.6 V11.1 C21.1 10 20.2 9.1 19.1 9.1 C18.7 9.1 18.3 9.2 18 9.4 V8.9 C18 7.8 17.1 6.9 16 6.9 C15.8 6.9 15.6 6.9 15.5 7 V3.5 C15.5 2.4 14.6 1.5 13.5 1.5 Z" fill="url(%23g)" filter="url(%23s)" stroke="%23FFFFFF" stroke-width="1" stroke-linejoin="round"/></svg>');
    /* Adjust origin differently because the finger tip is in the middle-top of the viewBox */
    transform: translate(-18px, -4px) scale(1.10);
}

/* Disable Custom Cursor on Mobile & Tablet */
@media (max-width: 992px), (pointer: coarse) {
    body, *, .cursor-hover { cursor: auto !important; }
    a, button, .btn { cursor: pointer !important; }
    input, textarea { cursor: text !important; }
    .cursor-dot, .cursor-outline { display: none !important; }
}

/* Dynamic Ambient Background Gradients */
.bg-gradient-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float-ambient 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: var(--c-cyan);
    top: -20%;
    left: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: var(--c-magenta);
    bottom: -10%;
    right: -20%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.orb-3 {
    width: 40vw;
    height: 40vw;
    background: var(--c-yellow);
    top: 40%;
    left: 30%;
    opacity: 0.08;
    animation-duration: 30s;
    animation-delay: -10s;
}

@keyframes float-ambient {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 15%) scale(1.1); }
    100% { transform: translate(-5%, 5%) scale(0.9); }
}

/* Scroll Reveal Animations (Triggered by JS intersection observer) */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Product Card Hover (Glowing Borders) */
.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px; /* Border thickness */
    background: linear-gradient(45deg, transparent, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.5s ease;
    z-index: 10;
    pointer-events: none;
}

.product-card:hover::before {
    background: linear-gradient(45deg, var(--c-cyan), var(--c-magenta), transparent);
}

/* =========================================
   MOBILE RESPONSIVENESS (WELCOME SECTION)
   ========================================= */
@media (max-width: 768px) {
    .welcome-section .flex-row {
        flex-direction: column;
        gap: 2rem;
    }
    
    .welcome-text {
        width: 100% !important;
        order: 1; /* Ensure text is first */
    }

    .welcome-gallery {
        width: 100% !important;
        order: 2; /* Ensure gallery is second */
        margin-top: 1rem;
    }

    .gallery-row {
        flex-direction: row !important; /* Forces side-by-side as requested */
        height: auto !important;
        gap: 0.5rem !important;
    }

    .gallery-item.large {
        height: 200px !important;
    }

    .gallery-row .gallery-item {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        flex: 1 !important;
    }
    
    .welcome-title {
        font-size: 2.2rem !important;
    }
    
    /* Logo adjusted (Increase 20% from 50% baseline) + 5px top spacing */
    .logo img {
        height: 93px !important; /* Aumentado em 60% (original 58px -> 93px) */
        margin-top: 5px !important;
    }
    
    /* Optimized padding reduction on mobile for the navbar as requested (0.2rem) */
    .navbar {
        padding: 0.2rem 0 !important;
    }
}

/* Base styles refinement for gallery-row */
.gallery-row {
    display: flex;
    gap: 1rem;
    height: auto; /* Remove fixed height for better aspect ratio control */
}

.gallery-row .gallery-item {
    aspect-ratio: 1 / 1;
    flex: 1;
}
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
}
