/* CSS Variables for Premium Industrial Theme */
:root {
    --primary-orange: #FF5A00; /* Laranja mais vibrante, de alerta industrial */
    --primary-orange-hover: #FF3C00;
    --dark-bg: #1A1A1A; /* Fundo escuro texturizado com alto contraste */
    --darker-bg: #0A0A0A; /* Fundo Absoluto (Preto de metal) */
    --light-bg: #F4F5F6; /* Cinza claro ultra premium do aço escovado */
    --silver-bg: #EAECEF; /* Prata sólido de base */
    --text-dark: #222222;
    --text-light: #F5F5F5;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Bordas industriais (mais agudas) */
    --border-radius: 2px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.flex { display: flex; }
.space-between { justify-content: space-between; }
.align-center { align-items: center; }
.centered { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Colors */
.text-orange { color: var(--primary-orange); }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); }
.bg-silver { background-color: var(--silver-bg); }
.text-white { color: var(--text-light); }

/* Industrial Details */
.industrial-border {
    border-top: 4px solid var(--primary-orange);
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Botões Modernos e Mais Destacados */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 90, 0, 0.5);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--darker-bg);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-whatsapp-huge {
    background-color: var(--primary-orange);
    color: #fff;
    padding: 22px 45px;
    font-size: 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(255, 90, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-huge::after {
    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);
    transition: left 0.7s;
}

.btn-whatsapp-huge:hover::after {
    left: 150%;
}

.btn-whatsapp-huge:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 90, 0, 0.6);
}

.btn-whatsapp-header {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--darker-bg);
    border-bottom: 2px solid var(--primary-orange);
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.logo {
    color: #fff;
    font-weight: 900;
    font-size: 1.7rem;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-orange);
}

.logo small {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--silver-bg);
    margin-left: 10px;
    display: inline-block;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 18px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; right: 0; width: 0; height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}
.nav-links a:hover {
    color: #fff;
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-intro {
    max-width: 800px; /* Maior leitura */
    margin: 0 auto 70px;
}

.section-intro h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: inherit;
    line-height: 1.1;
}

.section-intro p {
    font-size: 1.25rem;
    color: inherit;
    opacity: 0.8;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--darker-bg);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Padrão quadriculado sutil de indústria ao fundo */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1.2;
    color: white;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 90, 0, 0.15);
    color: var(--primary-orange);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 90, 0, 0.3);
    margin-bottom: 25px;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 30px;
    letter-spacing: -2.5px;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--silver-bg);
    margin-bottom: 45px;
    max-width: 550px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    filter: grayscale(30%) contrast(1.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-orange);
    filter: blur(160px);
    opacity: 0.25;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Grid & Cards (Aço Section) */
.flex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: #fff;
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: var(--transition);
    border-top: 5px solid var(--darker-bg);
}

.card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary-orange);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.premium-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid #eaeaea;
    border-top: 5px solid var(--darker-bg);
}

.premium-card:hover { border-top-color: var(--primary-orange); }

.card-img-wrapper {
    width: 100%;
    height: 300px;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ==================================
   MÁSCARA E LOGO UNIFICADA (FIX IA)
   ================================== */
.logo-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px; 
    background: linear-gradient(to bottom, #000000 70%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.unified-logo {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    z-index: 3;
    text-align: center;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.unified-logo strong {
    color: var(--primary-orange);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
}

.unified-logo strong span {
    color: #fff;
}

.unified-logo small {
    display: block;
    color: #ccc;
    font-size: 0.55rem;
    letter-spacing: 4px;
    border-top: 1.5px solid var(--primary-orange);
    width: 110px;
    margin-top: 5px;
    padding-top: 5px;
    font-weight: 600;
}

.card-img-wrapper img {
    width: 100%;
    height: calc(100% - 30px);
    margin-top: 30px;
    object-fit: contain;
    transition: transform 0.5s ease;
    z-index: 1;
}

.premium-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 35px 30px;
    text-align: center;
    background: #fff;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.card h3, .card-body h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--darker-bg);
    text-transform: uppercase;
}

.card p, .card-body p {
    color: #555;
    font-size: 1.05rem;
    margin: 0;
}

.highlight-text {
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Split Section (Máquinas & Diferenciais) */
.split-section {
    gap: 80px;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    position: relative;
}

.split-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--darker-bg);
    letter-spacing: -1.5px;
}

.split-text p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 35px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    font-size: 1.15rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--dark-bg);
    font-weight: 500;
}

.feature-list li::before {
    content: '■';
    color: var(--primary-orange);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Grades Específicas */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.app-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 50px 30px;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.app-box::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 3px;
    background-color: var(--primary-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.app-box:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.app-box:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.app-box h4 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Diferenciais Item */
.diferencial-item {
    margin-bottom: 30px;
    padding-left: 25px;
    border-left: 4px solid var(--primary-orange);
    background: linear-gradient(90deg, rgba(234, 236, 239, 0.6) 0%, rgba(255,255,255,0) 100%);
    padding-top: 10px;
    padding-bottom: 10px;
}

.diferencial-item strong {
    display: block;
    font-size: 1.3rem;
    color: var(--darker-bg);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.diferencial-item p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.orange-block {
    background: var(--primary-orange);
    padding: 100px 50px;
    border-radius: var(--border-radius);
    color: #fff;
    text-align: center;
    box-shadow: 0 25px 50px rgba(255, 90, 0, 0.35);
    background-image: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-hover) 100%);
}

.orange-block h3 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.orange-block p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    background: var(--darker-bg);
    color: #fff;
    padding: 140px 0;
    border-top: 5px solid var(--primary-orange);
}

.final-cta h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.final-cta p {
    font-size: 1.35rem;
    color: var(--silver-bg);
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 300;
}

.whatsapp-btn-wrapper .subtext {
    display: block;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    background: #000;
    padding: 60px 0;
    border-top: 1px solid #222;
}

.footer p {
    color: #666;
    font-size: 1rem;
}

/* Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 90, 0, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 90, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 90, 0, 0); }
}

.bounce {
    animation: pulseGlow 2.5s infinite;
}

/* ======== Responsividade / Mobile Improvements ======== */

@media (max-width: 991px) {
    .section { padding: 90px 0; }
    
    .hero-content, .split-section {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text h1 { font-size: 3.2rem; }
    .split-text h2 { font-size: 2.6rem; }
    .section-intro h2 { font-size: 2.4rem; }
    .final-cta h2 { font-size: 2.8rem; }
    
    .hero-actions {
        justify-content: center;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-list li {
        justify-content: center;
    }
    
    .diferencial-item {
        text-align: left; /* Keep left alignment for text inside boxes on mobile */
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
    
    /* Leitura no Mobile (Aumento de contraste e fontes) */
    .hero-text h1 {
        font-size: 2.6rem;
        line-height: 1.1;
    }
    
    .hero-text p, .split-text p, .section-intro p {
        font-size: 1.15rem; /* Aumentado para melhor leitura no mobile */
        padding: 0 10px;
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: 1rem;
        width: 100%; /* Botão full width no mobile para toque fácil */
        margin-bottom: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .btn-outline {
        width: 100%;
    }
    
    .grid-4, .grid-3, .flex-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 40px 25px;
    }
    
    .btn-whatsapp-huge {
        font-size: 1rem;
        padding: 18px 20px;
        width: 100%;
        text-align: center;
    }
    
    .orange-block {
        padding: 60px 30px;
    }
    
    .orange-block h3 {
        font-size: 2.2rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo small {
        display: none; /* Simplifica o logo no mobile */
    }
    
    .btn-whatsapp-header { /* Botão top header */
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* ======== BANNER CODIFICADO (Máquina Laser Custom) ======== */
.banner-codificado {
    background-color: #000000; /* Fundo hiper-escuro para mesclar perfeitamente com a foto de fundo sólido */
    padding: 100px 0 0 0;
    color: #fff;
    border-bottom: 2px solid var(--primary-orange);
    position: relative;
    overflow: hidden;
}

/* Brilho laranja sutil no fundo para integrar a imagem */
.banner-codificado::before {
    content: '';
    position: absolute;
    top: -20%; right: 0; width: 60%; height: 140%;
    background: radial-gradient(circle, rgba(255,90,0,0.05) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 1;
}

.banner-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 5;
}

.banner-text-area {
    flex: 1.1;
    max-width: 650px;
    padding-bottom: 40px;
}

.banner-logo {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -2px;
    line-height: 1;
}
.banner-logo small {
    font-size: 0.9rem;
    letter-spacing: 4px;
    font-weight: 600;
    color: #bbb;
    display: block;
    margin-top: 5px;
}

.banner-specs {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.spec-col {
    text-align: center;
}

.spec-icone {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 12px;
}

.spec-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #eee;
    line-height: 1.3;
}

.banner-image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 48%; /* Previne overflow */
}

.banner-text-area {
    flex: 1;
    max-width: 48%;
}

.banner-image-area img {
    height: auto;
    position: relative;
    z-index: 2;
}

.machine-wrapper {
    position: relative; 
    display: inline-block; 
    width: 100%; 
    margin: 0; 
    z-index: 2; 
    pointer-events: none;
}

.machine-wrapper img {
    width: 100%; 
    height: auto; 
    max-width: none; 
    margin: 0; 
    pointer-events: auto;
}

.banner-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 90, 0, 0.3);
    margin-top: 20px;
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 5;
}

.bar-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ccc;
    line-height: 1.3;
}

.bar-item .icon {
    font-size: 2.2rem;
    color: var(--primary-orange);
    margin-right: 15px;
}

/* Modificador para inverter posicionamento (Imagem Esquerda, Texto Direita) */
.banner-reverse .banner-grid {
    flex-direction: row-reverse;
}
.banner-reverse .machine-wrapper {
    margin: 0;
}
.banner-reverse .banner-text-area {
    padding-left: 50px;
}

/* Melhorias mobile do banner codificado */
@media(max-width: 1100px) {
    .machine-wrapper { width: 100%; margin: 0; }
    .banner-reverse .machine-wrapper { margin: 0; }
}

@media(max-width: 991px) {
    .banner-codificado { padding-top: 60px; }
    .banner-grid { flex-direction: column; text-align: left; }
    .banner-reverse .banner-grid { flex-direction: column; } 
    .banner-image-area, .banner-text-area { max-width: 100%; width: 100%; } /* Liberando 48% no mobile */
    .machine-wrapper { width: 100%; margin-left: 0; margin-right: 0 !important; }
    .banner-bottom-bar { justify-content: flex-start; }
    .bar-item { width: 45%; }
    .banner-logo { font-size: 3rem; }
    .banner-reverse .banner-text-area { padding-left: 0; }
}

@media(max-width: 600px) {
    .bar-item { width: 100%; margin-bottom: 12px; }
    .banner-specs { gap: 15px; justify-content: space-between; }
    .spec-col { width: 45%; margin-bottom: 15px; }
    .banner-logo { font-size: 2.5rem; }
}
