/*
Projeto CSS para o Tema do Website LMS Manutenção Industrial
Desenvolvedor: Criartweb - Consultoria e Desenvolvimento WEB
Data: Novembro 2025
Contato: Douglas Rick - 19 9.8343-8372
*/

/* ==========================
       RESET
    =========================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans Mono", monospace;
    background: #f5f6fa;
    color: #202142;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================
       VARIÁVEIS
    =========================== */
:root {
    --azul-escuro: #202142;
    --vermelho: #BE3438;
    --azul-medio: #16517B;
    --cinza-claro: #f5f6fa;
    --texto-claro: #ffffff;
    --sombra-card: 0 10px 25px rgba(0, 0, 0, 0.08);
    --radius-lg: 18px;
    --transition-base: all 0.3s ease;
}

/* ==========================
       LAYOUT BASE
    =========================== */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--azul-escuro);
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--azul-medio);
    margin-bottom: 8px;
}

.section-description {
    max-width: 900px;
    margin-bottom: 24px;
    color: #555;
    font-size: 0.95rem;
}

/* ==========================
       HEADER FIXO
    =========================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* TOPBAR */
.topbar {
    background: #202142;
    color: #fff;
    font-size: 0.8rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.topbar-left a i {
    font-size: 1rem;
    margin-right: 12px;
    transition: 0.2s;
}

.topbar-left a i:hover {
    color: #BE3438;
    transform: translateY(-2px);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    animation: pulse 1.3s infinite;
}

.status-open .status-dot {
    background: #2ecc71;
    box-shadow: 0 0 0 0 rgba(204, 204, 46, 0.6);
}

.status-closed .status-dot {
    background: #e74c3c;
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* MAIN HEADER */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #ececec;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 21px 0;
    gap: 20px;
}

.logo-lms-header {
    font-size: 1.3rem;
    font-weight: 700;
    color: #202142;
    letter-spacing: 1px;
}

.logo-lms-header span {
    color: #BE3438;
}

/* MENU DESKTOP */
.main-nav ul {
    display: flex;
    gap: 28px;
}

.main-nav ul li a {
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #202142;
    font-weight: 600;
    padding-bottom: 4px;
    position: relative;
}

.main-nav ul li a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #BE3438, #16517B);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.25s;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.logo-img {
    height: 68px;
    /* ajuste o tamanho do logo aqui */
    width: auto;
    display: block;
}

.header-logo {
    display: flex;
    align-items: center;
}

/* HEADER AÇÕES */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-whatsapp {
    background: #25D366;
    padding: 8px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.header-whatsapp i {
    font-size: 1.1rem;
}

/* HAMBURGUER */
.hamburger {
    width: 28px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #202142;
    transition: 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* MENU MOBILE */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid #dcdcdc;
    padding: 16px 0;
}

.mobile-nav a {
    padding: 10px 0;
    text-transform: uppercase;
    color: #202142;
    font-weight: 600;
    border-bottom: 1px solid #efefef;
    font-size: 0.85rem;
}

/* COMPENSAÇÃO DO HEADER FIXO */
main {
    padding-top: 120px;
}

/* ==========================
       HERO NOVO
    =========================== */
#hero {
    background: radial-gradient(circle at top left, #2b2c57, #141527);
    color: #ffffff;
    padding: 80px 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

/* TEXTO */
.hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cfd3ff;
    margin-bottom: 10px;
}

.hero-headline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 22px;
    font-size: 0.95rem;
}

.hero-benefits li {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
    color: #e5e7ff;
}

.hero-benefits i {
    color: #ffb347;
}

/* BOTÕES */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.hero-cta.primary {
    background-image: linear-gradient(135deg, #BE3438, #16517B);
    color: #fff;
}

.hero-cta.secondary {
    background-image: linear-gradient(135deg, #16517B, #202142);
    color: #fff;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.55);
}

/* KPIs */
.hero-kpis {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-kpi {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.8rem;
}

.hero-kpi strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 2px;
}

/* PAINEL DIREITO */
.hero-panel {
    border-radius: 18px;
    background: radial-gradient(circle at top, #30315c, #101123);
    padding: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.hero-panel-inner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
    border-radius: 16px;
    padding: 20px;
}

.hero-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.45);
    font-size: 0.78rem;
    margin-bottom: 16px;
}

.hero-panel-badge i {
    color: #ffb347;
}

.hero-panel-main {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.hero-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #BE3438, #16517B);
}

.hero-panel-icon i {
    font-size: 1.3rem;
    color: #ffffff;
}

.hero-panel-text h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.hero-panel-text p {
    font-size: 0.85rem;
    color: #e2e5ff;
}

.hero-panel-list {
    list-style: none;
}

.hero-panel-list li {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #d7dbff;
}

.hero-panel-list i {
    margin-top: 3px;
    color: #2ecc71;
}

/* ==========================
       SEÇÃO EMPRESA / SOBRE
    =========================== */
#empresa {
    background: #ffffff;
    padding: 80px 0;
}

.empresa-inner {
    max-width: 1180px;
}

.empresa-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.empresa-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4ff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 14px;
}

.empresa-tag i {
    color: #BE3438;
}

.empresa-text {
    color: #555;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.empresa-highlights {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.empresa-box {
    background: #f6f7ff;
    border-radius: 14px;
    padding: 14px;
    border-left: 3px solid #BE3438;
    font-size: 0.85rem;
    color: #444;
}

.empresa-box strong {
    color: #16517B;
    display: block;
    margin-bottom: 4px;
}

.empresa-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    padding: 20px;
    border: 1px solid #eef0ff;
}

.empresa-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #202142;
}

.empresa-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.empresa-row .label {
    color: #777;
}

.empresa-row .value {
    font-weight: 600;
    color: #16517B;
}

.empresa-card hr {
    border: none;
    border-top: 1px solid #e4e6f5;
    margin: 14px 0;
}

.empresa-list {
    list-style: none;
}

.empresa-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #444;
    font-size: 0.88rem;
}

.empresa-list i {
    color: #BE3438;
}

/* ==========================
       PORTFÓLIO / SERVIÇOS
    =========================== */
#portfolio {
    background: linear-gradient(180deg, #f9f9ff, #eef1ff);
    padding: 80px 0;
}

.servicos-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.servico-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #eceefc;
    text-align: center;
    transition: 0.25s ease;
}

.servico-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
    border-color: #BE3438;
}

.servico-icone {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: radial-gradient(circle at top, #BE3438, #16517B);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.servico-titulo {
    font-size: 1.2rem;
    margin-bottom: 4px;
    font-weight: 700;
    color: #202142;
}

.servico-subtitulo {
    font-size: 0.85rem;
    color: #16517B;
    text-transform: uppercase;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.servico-lista {
    list-style: none;
    margin-bottom: 18px;
    font-size: 0.88rem;
    color: #444;
}

.servico-lista li {
    margin-bottom: 6px;
}

.servico-cta {
    background: linear-gradient(135deg, #BE3438, #16517B);
    color: #fff;
    padding: 10px 16px;
    font-size: 0.82rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.25s;
}

.servico-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ==========================
       CLIENTES – CARROSSEL
    =========================== */
#clientes {
    background: #ffffff;
    padding: 80px 0;
}

.clientes-carousel {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.clientes-carousel::-webkit-scrollbar {
    height: 6px;
}

.clientes-carousel::-webkit-scrollbar-thumb {
    background: #c5c6d8;
    border-radius: 10px;
}

.cliente-logo {
    flex: 0 0 160px;
    height: 90px;
    border-radius: 14px;
    background: #f1f2f9;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: 1px solid #e6e7f3;
    transition: 0.25s;
}

.cliente-logo:hover {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    color: #16517B;
}

/* ==========================
       CONTATO
    =========================== */
#contato {
    background: #ffffff;
    padding: 80px 0;
}

.contato-linha {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.contato-bloco {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    border: 1px solid #e6e7f3;
    transition: 0.25s;
}

.contato-bloco:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
}

.contato-icone {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #BE3438, #16517B);
    color: #fff;
    font-size: 1.9rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);
}

.contato-bloco h3 {
    margin-bottom: 6px;
    font-size: 1.2rem;
    font-weight: 700;
}

.contato-bloco p {
    margin-bottom: 14px;
    color: #666;
    font-size: 0.9rem;
}

.contato-btn {
    display: inline-block;
    background: linear-gradient(135deg, #BE3438, #16517B);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.25s;
}

.contato-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #138A3D);
}

.contato-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.contato-info-dado {
    margin-top: 12px;
    font-size: 0.88rem;
    color: #202142;
    font-weight: 600;
}

@media (max-width: 900px) {
    .contato-linha {
        grid-template-columns: 1fr;
    }
}

/* ==========================
       FOOTER
    =========================== */
footer {
    background: #111125;
    color: #b8b9d8;
    font-size: 0.8rem;
    padding-top: 22px;
}

.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 16px 10px;
}

.logo-lms {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo-lms span {
    color: #BE3438;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    padding: 8px 16px 14px;
    text-align: center;
    font-size: 0.78rem;
    color: #9495b8;
}

.footer-bottom strong {
    color: #ffffff;
}

/* ==========================
       ANIMAÇÃO SCROLL
    =========================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================
       RESPONSIVO
    =========================== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        order: -1;
    }

    .empresa-grid {
        grid-template-columns: 1fr;
    }

    .empresa-highlights {
        grid-template-columns: 1fr;
    }

    .servicos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contato-grid {
        grid-template-columns: 1fr;
    }

    .header-whatsapp span {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .hero-headline {
        font-size: 1.6rem;
    }
}

section {
    scroll-margin-top: 105px;
    /* ajuste conforme seu header */
}

/* ===========================
   TRABALHOS / GALERIA
=========================== */

#trabalhos {
    background: linear-gradient(180deg, #f9f9ff, #eef1ff);
    ;
    padding: 80px 0;
}

.trabalhos-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 30px;
}

.trabalhos-carousel {
    display: flex;
    gap: 16px;
    transition: transform 0.6s ease;
}

.trabalho-img {
    width: 360px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: 0.25s;
}

.trabalho-img:hover {
    transform: scale(1.03);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 14px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transition: 0.3s ease;
}

.lightbox.visible {
    display: flex;
}

/* ===========================
   SCROLL TO TOP BUTTON
=========================== */

#scrollTopBtn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #BE3438, #16517B);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

#scrollTopBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.30);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

section {
    border: 1px solid #dbe6ff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

/* ======== CARROSSEL ======== */

.trabalhos-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 30px;
    padding: 30px 0;
    background: linear-gradient(180deg, #f9f9ff, #eef1ff);
    border-radius: 18px;
}

.trabalhos-carousel {
    display: flex;
    gap: 20px;
    white-space: nowrap;
}

.trabalho-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trabalho-item img {
    width: 360px;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: 0.25s;
}

.trabalho-item img:hover {
    transform: scale(1.04);
}

.trabalho-item span {
    font-size: 0.85rem;
    margin-top: 6px;
    color: #444;
    font-weight: 600;
}

/* ====== LIGHTBOX ====== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.90);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox.visible {
    display: flex;
}

.lightbox-content {
    position: relative;
    text-align: center;
}

.lightbox img {
    max-width: 92%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
    margin-top: 14px;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

/* Botão fechar */
.lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #BE3438;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close i {
    color: #fff;
    font-size: 1.3rem;
}