/* Globals & Variables */
:root {
    --bg-main: #06070B;
    --text-main: #E5E7EB;
    --text-muted: #9CA3AF;
    --theme-primary: #CBA135;
    --theme-secondary: #2A2A2A;
    --gradient-primary: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    --surface: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo, .badge {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Background Glow Effects */
.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}
.glow-bg.top-left {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--theme-secondary);
    opacity: 0.3;
}
.glow-bg.bottom-right {
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--theme-primary);
    opacity: 0.15;
}

/* Layout Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background: rgba(6, 7, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.slogan {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    margin-top: 2px;
}

.logo .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-border);
    border-radius: 50px;
    padding: 0.4rem 0.8rem;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--theme-primary);
    background: rgba(203, 161, 53, 0.05);
}

.search-box svg {
    color: var(--text-muted);
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: inherit;
    width: 120px;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.35);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-main);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
    background: transparent;
    border: 1px solid #333;
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Left Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    z-index: 2;
}

.badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--theme-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--theme-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--theme-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    font-weight: 800;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 90%;
    text-align: justify;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.stat h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.stat h3 .unit {
    font-size: 1.1rem;
    color: var(--theme-primary);
}

.stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 45px;
    background: var(--surface-border);
}

/* Fullscreen Background Video */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* Alinha o centro da ação (a máquina) à direita */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient de baixo para cima, de cima para baixo e nas laterais para suavizar */
    background: 
        linear-gradient(to top, var(--bg-main) 0%, transparent 25%),
        linear-gradient(to bottom, var(--bg-main) 0%, transparent 20%),
        linear-gradient(90deg, var(--bg-main) 0%, rgba(6, 7, 11, 0.95) 35%, rgba(6, 7, 11, 0.45) 75%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.floating-card {
    position: relative;
    background: rgba(10, 11, 15, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 3;
    animation: float 5s ease-in-out infinite;
    transform: translateZ(60px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.metric-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.metric-text {
    display: flex;
    flex-direction: column;
}

.metric-text strong {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
}

.metric-text span {
    font-size: 0.8rem;
    color: var(--theme-primary);
    font-weight: 600;
}

@keyframes float {
    0% { transform: translateY(0px) translateZ(60px); }
    50% { transform: translateY(-20px) translateZ(60px); }
    100% { transform: translateY(0px) translateZ(60px); }
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        gap: 4rem;
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-description {
        margin: 0 auto;
    }
    .badge {
        align-self: center;
    }
    .stats-row {
        justify-content: center;
    }
    .floating-card {
        right: 20px;
        top: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .divider {
        width: 60px;
        height: 1px;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}

/* Placa "Em Breve" */
.construction-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(145deg, rgba(20, 22, 28, 0.9), rgba(6, 7, 11, 0.95));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(203, 161, 53, 0.4);
    padding: 1.2rem 1.8rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 15px rgba(203, 161, 53, 0.1);
    animation: float-badge 4s ease-in-out infinite;
}

.badge-icon {
    width: 45px;
    height: 45px;
    background: rgba(203, 161, 53, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary);
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.badge-text strong {
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    letter-spacing: 1px;
}

@keyframes float-badge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.badge-countdown {
    font-size: 0.75rem;
    color: var(--theme-primary);
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 1.5px;
    font-family: 'Inter', monospace;
}

/* --- Seção de Galeria --- */
.gallery-section {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.gallery-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.all-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.gallery-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.gallery-arrow {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    color: var(--theme-primary);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.gallery-arrow:hover {
    background: var(--theme-primary);
    color: #000;
    transform: scale(1.1);
}

.left-arrow {
    margin-right: -24px;
}

.right-arrow {
    margin-left: -24px;
}

.product-grid {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.product-grid::-webkit-scrollbar {
    display: none;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 240px;
    scroll-snap-align: center;
    flex: 0 0 auto;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(203, 161, 53, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(203, 161, 53, 0.05);
    background: rgba(255, 255, 255, 0.04);
}

.product-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: #0B0D12;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.product-price {
    font-size: 1.1rem;
    color: var(--theme-primary);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.btn-product {
    margin-top: auto;
    width: 100%;
    background: transparent;
    border: 1px solid var(--theme-primary);
    color: var(--theme-primary);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-product:hover {
    background: var(--theme-primary);
    color: #000;
}

/* --- Seção de Contato / Orçamento --- */
.contact-section {
    padding: 6rem 2rem 8rem 2rem;
    position: relative;
    z-index: 5;
    background: var(--bg-main);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 11, 15, 0.4);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.chip {
    cursor: pointer;
    position: relative;
}

.chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.chip span {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.chip input[type="radio"]:checked + span {
    background: rgba(203, 161, 53, 0.15);
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    box-shadow: 0 0 15px rgba(203, 161, 53, 0.2);
}

.chip:hover span {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.project-form textarea, 
.project-form input[type="text"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 1.2rem;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

.project-form textarea:focus, 
.project-form input[type="text"]:focus {
    outline: none;
    border-color: var(--theme-primary);
    background: rgba(203, 161, 53, 0.05);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}

/* Footer */
.footer {
    background: #111216;
    border-top: 1px solid var(--surface-border);
    padding: 3.5rem 0 2.5rem 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.footer-social a:hover {
    color: var(--theme-primary);
    background: rgba(203, 161, 53, 0.08);
    border-color: rgba(203, 161, 53, 0.4);
    transform: translateY(-2px);
}

.footer-legal {
    text-align: center;
    color: var(--text-muted);
    width: 100%;
    max-width: 800px;
}

.footer-legal p {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.footer-legal p:last-child {
    margin-bottom: 0;
    margin-top: 1.2rem;
    color: rgba(156, 163, 175, 0.5);
    font-size: 0.70rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Popup Modal --- */
.launch-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(6, 7, 11, 0.75);
    backdrop-filter: blur(12px); /* Fundo embaçado lindíssimo */
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.launch-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.launch-modal {
    position: relative;
    background: rgba(20, 22, 28, 0.85); /* Cores elegantes */
    border: 1px solid rgba(203, 161, 53, 0.4);
    border-radius: 20px;
    padding: 2.2rem 2.5rem; /* Reduzido o padding vertical */
    max-width: 480px;
    width: 90%;
    max-height: 85vh; /* Garante que nunca topará no teto/rodapé em telas pequenas */
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 40px rgba(203, 161, 53, 0.15);
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.launch-modal-overlay.active .launch-modal {
    transform: translateY(0) scale(1);
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-close-modal:hover {
    color: var(--theme-primary);
}

.modal-icon {
    width: 70px; /* Pouco menor para economizar espaço */
    height: 70px;
    background: rgba(203, 161, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary);
    margin: 0 auto 1rem auto; /* Ajuste inferior */
}

.launch-modal h2 {
    font-size: 1.8rem; /* Reduzido para encaixe perfeito */
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.launch-modal p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-countdown {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Inter', monospace;
    color: var(--theme-primary);
    letter-spacing: 2px;
    background: rgba(0,0,0,0.4);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
    .launch-modal {
        padding: 2.5rem 1.5rem;
    }
    .modal-countdown {
        font-size: 1.8rem;
    }
}


@media (max-width: 768px) {
    .search-box {
        display: none;
    }
    
    .construction-badge {
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: center;
    }
}
