/* --- page-header-modern SECTION --- */
    .page-header-modern {
		background-image: 
			linear-gradient(to right, rgba(15, 23, 42, 0.95) 20%, rgba(15, 23, 42, 0.8) 100%),
			url('../img/header-background.webp');  
		background-size: cover;
		background-position: center;
		background-attachment: fixed;
		/* IGUALADO À PÁGINA SOLUÇÕES */
		padding: 180px 0 120px;
		min-height: 70vh; 
		display: flex;
		align-items: center;
		position: relative;
    }
	
	.page-header-modern-img-anim { animation: float 6s ease-in-out infinite; }
    @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }
    
    /* Botões page-header-modern */
    .btn-neon {
      background: linear-gradient(90deg, var(--qsti-orange), #ff8c00);
      color: white; border: none; padding: 12px 35px; border-radius: 6px; font-weight: 700;
      box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3); transition: 0.3s; text-decoration: none; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px;
    }
    .btn-neon:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255, 106, 0, 0.5); color: white;}

    .btn-outline-neon {
      background: transparent; border: 1px solid rgba(255, 255, 255, 0.3);
      color: white; padding: 12px 30px; border-radius: 6px; font-weight: 600; margin-left: 15px;
      transition: 0.3s; text-decoration: none; font-size: 0.9rem;
    }
    .btn-outline-neon:hover { border-color: var(--qsti-blue-tech); color: var(--qsti-blue-tech); background: rgba(59, 130, 246, 0.1); }

    .breadcrumb-modern {
		background: rgba(255, 106, 0, 0.2);
		color: var(--qsti-orange);
		padding: 8px 18px;
		border-radius: 50px;
		font-size: 0.8rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 1px;
	}

    .floating-icon {
      position: absolute; width: 50px; height: 50px; background: rgba(255,255,255,0.1); backdrop-filter: blur(5px);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.3); font-size: 1.2rem; z-index: 2;
    }

    /* --- BENTO GRID (DESKTOP) --- */
    .bento-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr); 
      gap: 10px;
      max-width: 720px; 
      margin: 0 auto 0 0; 
    }

    .bento-card {
      aspect-ratio: 1/1; 
      border-radius: 10px; 
      background: transparent;
      border: 1px solid rgba(15, 23, 42, 0.15); 
      color: var(--qsti-dark);
      padding: 4px; 
      position: relative;
      cursor: pointer;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    }

    .bento-card:hover {
      background: var(--qsti-orange);
      border-color: var(--qsti-orange);
      color: white !important; 
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(255, 106, 0, 0.25);
    }

    .card-content { z-index: 5; width: 100%; padding: 0 2px; position: relative; }
    .card-content h5 { font-weight: 700; font-size: 0.72rem; margin: 0; line-height: 1.2; }

    .icon-corner { 
        font-size: 3rem; 
        position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        color: var(--qsti-dark); opacity: 0.08; z-index: 1; transition: 0.3s ease;
    }
    
    .arrow-corner { 
        position: absolute; bottom: 4px; right: 4px; font-size: 0.7rem; opacity: 0.4; 
        color: var(--qsti-dark); transition: 0.3s; z-index: 5;
    }

    .bento-card:hover .icon-corner { color: white; opacity: 0.15; transform: translate(-50%, -50%) scale(1.1); }
    .bento-card:hover .arrow-corner { color: white; opacity: 1; }

    @media (max-width: 1400px) { .bento-grid { max-width: 100%; } }
    
    /* --- ACCORDION (MOBILE) --- */
    .accordion-button:not(.collapsed) {
        color: var(--qsti-dark);
        background-color: rgba(255, 106, 0, 0.1);
        box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
    }
    .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(0,0,0,.125);
    }
    .accordion-button i {
        color: var(--qsti-orange);
        width: 25px;
        margin-right: 10px;
    }
    .accordion-item { border-color: rgba(0,0,0,0.05); }

    /* --- MARQUEE INTELIGENTE --- */
    
	/* O container pai fica fixo e relativo */
	.marquee-area {
		position: relative;
		width: 100%;
		display: block;
	}
	
	.marquee-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding: 40px 0;
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        display: flex;
    }
    .marquee-track { display: flex; gap: 30px; width: max-content; margin: 0 auto; }
    .marquee-track.active { animation: scroll 40s linear infinite; margin: 0; }
    .marquee-track:hover { animation-play-state: paused; }
    @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
	
	.marquee-nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 40px;
		height: 40px;
		background: var(--qsti-orange);
		color: white;
		border: none;
		border-radius: 50%;
		z-index: 100;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
		transition: 0.3s;
		opacity: 0; /* Começam escondidas */
	}

	/* Mostra as setas quando o mouse passa sobre o marquee */
	.marquee-area:hover .marquee-nav {
		opacity: 1;
	}

	.marquee-nav:hover {
		background: var(--qsti-orange-hover);
		transform: translateY(-50%) scale(1.1);
	}

	.marquee-nav.prev { left: 10px; }
	.marquee-nav.next { right: 10px; }
	
	/* --- VELOCIDADE DO MARQUEE DE LOGOS --- */
	/* Aumentando o tempo de 40s para 80s, a velocidade cai pela metade */
	#logoMarqueeTrack.active {
		animation: scroll 90s linear infinite; 
	}

	/* Se quiser que os depoimentos também fiquem mais lentos, 
	   ajuste a regra geral ou use o ID dele: */
	#marqueeTrack.active {
		animation: scroll 70s linear infinite;
	}

	/* Garante que a pausa funcione mesmo com a regra de ID */
	#logoMarqueeTrack:hover {
		animation-play-state: paused !important;
	}

	/* Faça o mesmo para os depoimentos se eles pararem de pausar também */
	#marqueeTrack:hover {
		animation-play-state: paused !important;
	}

	/* --- RESPONSIVIDADE PARA TELAS MENORES (ATÉ 768px) --- */
	@media (max-width: 768px) {
		/* 1. Para a animação automática do Marquee */
		.marquee-track.active {
			animation: none !important; /* Desativa o movimento automático */
			width: max-content !important; /* Garante que os cards fiquem em linha */
			display: flex !important;
		}

		/* 2. Garante que o wrapper permita o movimento via setas */
		.marquee-wrapper {
			overflow-x: hidden; /* Mantém as barras de scroll escondidas */
			display: flex !important;
			-webkit-mask-image: none !important; /* Remove o degradê lateral no mobile se preferir mais clareza */
			mask-image: none !important;
		}

		/* 3. Torna as setas visíveis e operacionais no mobile */
		.marquee-nav {
			display: flex !important; /* Força a exibição (antes era none) */
			opacity: 1 !important;    /* Garante visibilidade total */
			width: 35px;              /* Um pouco menores para não cobrir muito o card */
			height: 35px;
			background: var(--qsti-orange);
		}

		.marquee-nav.prev { left: 5px; }
		.marquee-nav.next { right: 5px; }
	}
	
	/* --- LOGO CLIENTES --- */
	.logo-item {
		width: 200px;           /* Espaço horizontal fixo para cada marca */
		height: 100px;          /* Altura fixa do "box" de contenção */
		flex-shrink: 0;
		display: flex;
		align-items: center;    /* Centraliza verticalmente */
		justify-content: center; /* Centraliza horizontalmente */
		padding: 0 20px;        /* Respiro lateral entre as logos */
	}

	.cliente-logo {
		max-width: 160px;       /* Largura máxima que a logo pode ter */
		max-height: 50px;       /* Altura máxima que a logo pode ter */
		width: auto;            /* Mantém a proporção original */
		height: auto;           /* Mantém a proporção original */
		object-fit: contain;    /* Garante que a imagem caia dentro do box sem cortar */
		filter: grayscale(100%);
		opacity: 0.5;
		transition: all 0.4s ease;
	}

	.cliente-logo:hover {
		filter: grayscale(0%);
		opacity: 1;
		transform: scale(1.1);
	}

    /* Cards de Depoimento */
    .testimonial-card {
        background: white; padding: 25px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.03); width: 320px; flex-shrink: 0; transition: transform 0.3s; display: flex; flex-direction: column; justify-content: space-between;
    }
    .testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
    .stars { color: #FFD700; margin-bottom: 12px; font-size: 0.85rem; }
    .quote-text { font-style: italic; color: var(--qsti-dark-light); font-size: 0.9rem; line-height: 1.5; margin-bottom: 15px; }
    .author-info { display: flex; align-items: center; gap: 10px; border-top: 1px solid #eee; padding-top: 15px; margin-top: auto; }
    .author-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
    .author-name h6 { margin: 0; font-weight: 700; font-size: 0.85rem; }
    .author-name span { font-size: 0.7rem; color: var(--qsti-gray); display: block;}

    /* Ramos */
    .ramos-container { display: flex; height: 400px; gap: 15px; width: 100%; }
    .ramo-card { flex: 1; border-radius: 20px; background-size: cover; background-position: center; position: relative; overflow: hidden; cursor: pointer; transition: flex 0.5s ease; display: flex; align-items: flex-end; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .ramo-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.1)); transition: background 0.3s; }
    .ramo-card:hover { flex: 1.5; }
    .ramo-card:hover::before { background: linear-gradient(to top, var(--qsti-orange), rgba(255, 106, 0, 0.2)); opacity: 0.9; }
    .ramo-content { position: relative; z-index: 2; padding: 30px; color: white; width: 100%; }
    .ramo-content h3 { font-weight: 700; margin: 0; font-size: 1.8rem;}
    .ramo-content p { opacity: 0; max-height: 0; transition: all 0.5s ease; margin-top: 10px; font-weight: 300;}
    .ramo-card:hover .ramo-content p { opacity: 1; max-height: 100px; }
		
    /* Ecossistema */
    .ecosistema-orbital { position: relative; background-color: var(--qsti-bg-light); padding: 80px 0; overflow: hidden; }
    .ecosistema-orbital::before { content: ""; position: absolute; inset: 0; background: url('../img/mapa-ecosistema.webp') center center / cover no-repeat; opacity: 0.2; z-index: 0; filter: grayscale(20%); }
    .ecosistema-orbital::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, var(--qsti-bg-light) 0%, rgba(255,255,255,0) 15%, rgba(255,255,255,0) 85%, #ffffff 100%); }
    .ecosistema-orbital .container { position: relative; z-index: 2; }
    
    .orbit-container { position: relative; width: 420px; height: 420px; margin: 40px auto; display: flex; align-items: center; justify-content: center; z-index: 5; }
    .orbit-center { position: relative; width: 180px; height: 180px; background: #fff; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 60px rgba(255, 106, 0, 0.15); z-index: 20; padding: 15px; border: 4px solid rgba(255,255,255,0.9); transition: all 0.3s ease; }
    .orbit-center h3 { font-size: 1.2rem; margin: 0; transition: all 0.3s; }
    .orbit-center p { font-size: 0.75rem; color: var(--qsti-gray); margin-top: 5px; opacity: 0; height: 0; overflow: hidden; transition: all 0.3s; line-height: 1.2; }
    .orbit-center.active { transform: scale(1.05); border-color: var(--qsti-orange); }
    .orbit-center.active h3 { color: var(--qsti-orange); font-size: 1rem; margin-bottom: 5px; }
    .orbit-center.active p { opacity: 1; height: auto; }
    .core-span { color: var(--qsti-orange); font-size: 0.7em; display: block; }
    .orbit-center.active .core-span { display: none; }
    .pulse-ring { position: absolute; width: 100%; height: 100%; border: 2px solid var(--qsti-orange); border-radius: 50%; animation: orbit-pulse 3s infinite; z-index: -1; opacity: 0.5; }
    .satellite-item { position: absolute; z-index: 30; transition: all 0.3s ease; cursor: pointer; }
    .sat-0 { top: -20px; left: 50%; transform: translateX(-50%); }
    .sat-1 { top: 70px; right: -40px; }
    .sat-2 { bottom: 70px; right: -40px; }
    .sat-3 { bottom: -20px; left: 50%; transform: translateX(-50%); }
    .sat-4 { bottom: 70px; left: -40px; }
    .sat-5 { top: 70px; left: -40px; }
    .sat-card { background: #fff; padding: 10px 18px; border-radius: 50px; box-shadow: 0 5px 20px rgba(0,0,0,0.06); display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; font-size: 0.85rem; border: 1px solid rgba(0,0,0,0.05); transition: 0.3s; }
    .sat-card i { color: var(--qsti-orange); font-size: 1rem; }
    .satellite-item:hover .sat-card { background: var(--qsti-dark); color: #fff; transform: scale(1.1); box-shadow: 0 10px 25px rgba(0,0,0,0.15); border-color: var(--qsti-dark); }
    .orbit-svg-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10; }
    .conn-line { stroke: var(--qsti-orange); stroke-width: 1.5; stroke-dasharray: 5; opacity: 0.1; transition: all 0.4s ease; }
    .conn-line.active { opacity: 1; stroke-dasharray: 0; stroke-width: 2; filter: drop-shadow(0 0 5px rgba(255, 106, 0, 0.6)); }
    @keyframes orbit-pulse { 0% { transform: scale(0.85); opacity: 0.7; } 100% { transform: scale(1.4); opacity: 0; } }
	
  