/* ==== VARIÁVEIS GLOBAIS ==== */
:root {
    --bg-black: #000;
    /* Plano de fundo principal — verde floresta profundo */
    --bg-dark: #000;
    /* Fundo de cards/seções escuras — verde floresta profundo */
    --color-gold: #b8914f;
    /* Dourado — destaques, hovers e acentos */
    --color-green: #0c1e14;
    /* Verde institucional — onde era #000 puro */
    --text-white: #ffffff;
    --text-gray: #8e8e93;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(184, 145, 79, 0.35);
    /* Borda dourada sutil */
    --font-main: 'Inter', sans-serif;
}

/* ==== RESET ==== */
* {
    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-black);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==== TIPOGRAFIA ==== */
h1,
h2,
h3 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* ==== ANIMAÇÕES DE SCROLL (REVEAL LENTO) ==== */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==== BOTOES ==== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--color-green);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-solid {

    border: 2px solid var(--text-white);
}

.btn-solid:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--text-white);
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

/* ==== NAVBAR ==== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s;

}

.navbar.scrolled {
    background: var(--color-green);
    border-bottom: 1px solid var(--border-gold);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo-img {
    width: 160px;
    margin-left: -16px;
    display: block;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-img {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--color-gold);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
}

/* ==== SECTIONS ESTRUTURA ==== */
.section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 100vw;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right;
    z-index: -2;
}

.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.62);
    z-index: -1;
}

.bg-hero {
    background-image: url('images/hero-decerno.jpg');
}

.bg-factory {
    background-image: url('images/visao-industrial.webp');
}

.bg-trabalhadores {
    background-image: url('images/trabalhadores.jpg');
}

.bg-monitoramento {
    background-image: url('images/monitoramento.jpg');
}

.bg-dashboard {
    background-image: url('images/dashboard-background.jpg');
}

/* Text Containers */
.content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    z-index: 1;
}

/* ==== 1. HERO ==== */
.hero {
    justify-content: flex-start;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* ==== 2. PACOTES ==== */
.packages {
    background: var(--bg-black);
    display: flex;
    align-items: center;
}

.packages::after {
    display: none;
}

.packages-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    margin-bottom: 40px;
    text-align: left;
}

.section-header.center-text {
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}


.minimal-price-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px 30px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: border-color 0.3s ease;
}

.minimal-price-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.minimal-price-card h2 {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 8px;
}

.minimal-price-card p {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.55;
    margin: 0;
    max-width: none;
}

.plan-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

.price-label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.minimal-price-card .price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}

.minimal-price-card .price-value span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-left: 4px;
}

/* ==== 3. SPLIT VISION (DOR VS SOLUCAO) ==== */
.split-vision {
    padding: 0;
}

.split-vision::after {
    display: none;
}

.split-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.split-half {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
}

.left-half {
    background-color: var(--color-green);
    justify-content: space-evenly;
}

.split-text-block {
    max-width: 450px;
}

.split-text-block h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.border-top {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.bg-workers {
    background-image: url('images/metal-workers-factory-using-automated-equipment-generated-by-ai.jpg');
}



.cam-ui {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-left: 2px solid var(--text-white);
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid var(--text-gray);
    font-size: 0.65rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.badge-white {
    background: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
    font-weight: bold;
}

/* Bounding Boxes e Simulação de Scan da IA */
.bounding-box {
    position: absolute;
    border: 1.5px solid;
    z-index: 1;
}

.alert-box {
    border-color: #ff3333;
}

.box-label {
    position: absolute;
    top: -18px;
    left: -1px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 4px;
    white-space: nowrap;
    background: #ff3333;
    color: white;
}

.tracking-ai-box {
    position: absolute;
    border: 2px solid #fff;
    animation: boxPulse 2s infinite ease-in-out;
}

.tracking-ai-box.alert-box {
    border-color: #ff3333;
}

@keyframes boxPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* ==== 4. RECURSOS DO SISTEMA ==== */


.features-list::after {
    display: none;
}

.features-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.features-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgb(20 30 20 / 0.3);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    background: var(--color-green);
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 8px 30px rgba(184, 145, 79, 0.12);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--text-white);
}

.icon-svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.highlight-card {
    border-color: var(--border-gold);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* ==== 5. TECNOLOGIA ==== */
.technology::after {
    background: rgba(12, 30, 20, 0.75);
}

.tech-content {
    max-width: 600px;
}

.tech-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tech-content>p {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 40px;
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    position: relative;
    padding-left: 30px;
}

.step-line {
    position: absolute;
    left: 0;
    top: 5px;
    bottom: -25px;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.step-item:last-child .step-line {
    display: none;
}

.step-item::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 6px;
    width: 8px;
    height: 8px;
    background: var(--text-white);
    border-radius: 50%;
}

.step-item h3 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.step-item p {
    font-size: 0.85rem;
}

/* ==== 6. O INVESTIMENTO + FECHAMENTO ==== */
.investment {
    display: flex;
    justify-content: center;
    align-items: center;
}

.investment::after {
    display: none;
}

.investment-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.investment-cta {
    flex: 1;
    position: relative;
    padding-top: 20px;
    text-align: center;
}

.contact-accent-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold) 50%, transparent);
}

.investment-cta h2 {
    font-size: 2.5rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.premium-lead {
    font-size: 1.1rem;
    color: var(--text-white);
    max-width: 100%;
    line-height: 1.6;
    margin: 0 auto;
}

.contact-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.investment-container .minimal-price-card {
    flex: 1;
    margin: 0;
    text-align: left;
}

.investment-container .minimal-price-card h2 {
    text-align: left;
}

/* GRID DE PREÇOS */
.pricing-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.pricing-grid .minimal-price-card {
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
}

.pricing-grid .minimal-price-card:hover {}

.highlight-pricing-card {
    background: rgba(184, 145, 79, 0.06) !important;
    position: relative;
}

.highlight-pricing-card .price-value {
    color: var(--color-gold) !important;
}

.highlight-pricing-card::after {
    content: 'MAIS POPULAR';
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 3px 7px;
    border-radius: 3px;
}

/* ==== 7. RODAPÉ ==== */
.footer {
    padding: 30px 40px;
    background: var(--color-green);
    border-top: 1px solid var(--border-gold);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--color-gold);
}

/* ==== WPP BOTÃO ==== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 76px;
    height: 76px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: rgba(184, 145, 79, 0.15);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: scale(1.05);
}

/* ==== RESPONSIVIDADE ==== */
@media (max-width: 992px) {
    .section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }

    .split-container {
        flex-direction: column;
        height: auto;
    }

    .split-half {
        padding: 40px;
    }

    .left-half {
        gap: 40px;
    }

    .right-half {
        min-height: 50vh;
    }

    .features-split {
        flex-direction: column;
        gap: 0;
    }

    .features-grid-cards {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .investment-cta {
        text-align: left;
    }

    .investment-cta .contact-accent-line {
        left: 0;
        transform: none;
    }

    .investment-container {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* ==== NAVBAR ==== */
    .navbar-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 10px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.85rem;
    }

    .menu-toggle {
        display: block;
    }

    /* ==== HERO ==== */
    .hero-text h1 {
        font-size: 2.4rem;
        letter-spacing: 1px;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* ==== LAYOUT GERAL ==== */
    .content-wrapper,
    .features-wrapper,
    .investment-container {
        padding: 0 20px;
    }

    /* Sections com padding inline muito grande */
    .section {
        padding: 80px 0 !important;
    }

    /* ==== PAINÉIS DE VIDRO (split-text-block com padding inline) ==== */
    .split-text-block {
        padding: 30px 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Content wrappers com flex inline — empilhar no mobile */
    .content-wrapper[style*="flex"] {
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    /* ==== TIPOGRAFIA PADRONIZADA (h2 com font-size inline) ==== */
    h2[style*="font-size"] {
        font-size: 1.8rem !important;
    }

    h3[style*="font-size"] {
        font-size: 1rem !important;
    }

    .section-title,
    .section-header h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .investment-cta h2 {
        font-size: 1.8rem !important;
        letter-spacing: 2px;
    }

    .premium-lead {
        font-size: 0.95rem !important;
    }

    /* ==== SEÇÃO SPLIT (Alertas) ==== */
    .split-half {
        padding: 50px 20px !important;
    }

    /* ==== BOUNDING BOXES / SIMULADOR DE IA ==== */
    /* Oculta no mobile para não sobrepor o conteúdo */
    .bounding-box,
    .tracking-ai-box,
    .cam-ui {
        display: none;
    }

    /* ==== GRID DE CARDS ==== */
    .features-grid-cards {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .feature-card {
        padding: 25px 20px;
    }

    /* ==== PREÇOS ==== */
    .pricing-grid {
        flex-direction: column;
        gap: 16px;
    }

    .minimal-price-card {
        padding: 24px 20px;
    }

    .minimal-price-card .price-value {
        font-size: 2.2rem;
    }

    /* ==== FOOTER ==== */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer {
        padding: 30px 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    /* ==== WHATSAPP ==== */
    .whatsapp-btn {
        bottom: 16px;
        right: 16px;
        width: 60px;
        height: 60px;
    }

    .whatsapp-btn img {
        width: 38px;
        height: 38px;
    }

    /* ==== CONTACT ACTIONS ==== */
    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* ==== HERO MUITO PEQUENO ==== */
    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    /* ==== TIPOGRAFIA ==== */
    .section-title,
    .section-header h2 {
        font-size: 1.6rem;
    }

    h2[style*="font-size"] {
        font-size: 1.6rem !important;
    }

    .badge {
        font-size: 0.6rem;
    }

    /* ==== CARDS ==== */
    .feature-card {
        padding: 20px 16px;
    }

    /* ==== PREÇOS ==== */
    .minimal-price-card {
        padding: 20px 16px;
    }

    .minimal-price-card .price-value {
        font-size: 2rem;
    }
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-gold);
    padding: 15px 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}