/* ==================== QUEM SOMOS - CORES AJUSTADAS ==================== */
/* Prefixo: qs- (quem-somos) para evitar conflitos */

:root {
    --qs-blue: #012A55;
    --qs-orange: #FC791A;
    --qs-green: #15B239;
    --qs-dark: #012A55;
    --qs-darker: #011d3d;
    --qs-light: #f8f9fa;
    --qs-card-bg: rgba(255, 255, 255, 0.03);
    --qs-card-border: rgba(255, 255, 255, 0.08);
}

/* ========== SEÇÃO PRINCIPAL ========== */
.qs-section {
    position: relative;
    background: #012A55;
    overflow: hidden;
    padding: 30px 0;
}

/* ========== CANVAS DE PARTÍCULAS ========== */
#qs-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

/* ========== EFEITO DE LUZ NEON PASSANDO ========== */
.qs-light-beam {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(252, 121, 26, 0.05) 45%,
        rgba(252, 121, 26, 0.1) 50%,
        rgba(252, 121, 26, 0.05) 55%,
        transparent 100%
    );
    transform: rotate(-45deg);
    animation: qs-light-sweep 8s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes qs-light-sweep {
    0%, 100% {
        transform: translateX(-100%) rotate(-45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateX(0%) rotate(-45deg);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
}

/* ========== CONTAINER ========== */
.qs-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 3;
}

/* ========== HERO SECTION ========== */
.qs-hero {
    text-align: center;
    margin-bottom: 100px;
}

.qs-hero-content {
    max-width: 800px;
    margin: 0 auto 60px;
}

.qs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(252, 121, 26, 0.1);
    border: 1px solid rgba(252, 121, 26, 0.3);
    border-radius: 50px;
    color: var(--qs-orange);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: qs-badge-pulse 3s ease-in-out infinite;
}

.qs-badge-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    animation: qs-icon-rotate 4s linear infinite;
}

@keyframes qs-badge-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(252, 121, 26, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(252, 121, 26, 0.4);
    }
}

@keyframes qs-icon-rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.qs-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(252, 121, 26, 0.2);
}

.qs-title-gradient {
    display: block;
    color: var(--qs-orange);
}

.qs-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== ESTATÍSTICAS ========== */
.qs-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.qs-stat-card {
    position: relative;
    background: var(--qs-card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--qs-card-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.qs-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 121, 26, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.qs-stat-card:hover::before {
    opacity: 1;
}

.qs-stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(252, 121, 26, 0.3);
    box-shadow: 0 20px 60px rgba(252, 121, 26, 0.15);
}

.qs-stat-icon {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    z-index: 2;
}

.qs-stat-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--qs-orange);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(252, 121, 26, 0.4));
    animation: qs-icon-float 3s ease-in-out infinite;
}

@keyframes qs-icon-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.qs-stat-number {
    position: relative;
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    z-index: 2;
}

.qs-stat-label {
    position: relative;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    z-index: 2;
}

/* ========== MISSÃO, VISÃO E VALORES ========== */
.qs-mission {
    margin: 100px 0;
}

.qs-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.qs-mission-card {
    position: relative;
    background: var(--qs-card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--qs-card-border);
    border-radius: 24px;
    padding: 50px 40px;
    transition: all 0.4s ease;
}

.qs-mission-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--qs-orange);
    border-radius: 0 0 24px 24px;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.qs-mission-card:hover::after {
    transform: scaleX(1);
}

.qs-mission-card:hover {
    transform: translateY(-10px);
    border-color: rgba(252, 121, 26, 0.3);
    box-shadow: 0 30px 60px rgba(252, 121, 26, 0.1);
}

.qs-mission-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 30px;
}

.qs-mission-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--qs-orange);
    stroke-width: 2;
    filter: drop-shadow(0 0 15px rgba(252, 121, 26, 0.4));
}

.qs-mission-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.qs-mission-card p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== TÍTULOS DE SEÇÃO ========== */
.qs-section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin-bottom: 16px;
}

.qs-section-title span {
    color: var(--qs-orange);
}

/* Título da timeline com fundo claro */
.qs-timeline-section .qs-section-title {
    color: #1a1a1a;
}

.qs-timeline-section .qs-section-title span {
    color: var(--qs-orange);
}

.qs-section-subtitle {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 60px;
}

/* Subtítulo da timeline com fundo claro */
.qs-timeline-section .qs-section-subtitle {
    color: rgba(26, 26, 26, 0.7);
}

/* ========== TIMELINE ========== */
.qs-timeline-section {
    margin: 100px 0;
    background: #f4f4f4;
    padding: 80px 20px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.qs-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Container interno da timeline para centralizar */
.qs-timeline-section .qs-section-title,
.qs-timeline-section .qs-section-subtitle {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.qs-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(252, 121, 26, 0.2),
        var(--qs-orange),
        rgba(252, 121, 26, 0.2)
    );
    transform: translateX(-50%);
}

.qs-timeline-item {
    position: relative;
    display: flex;
    justify-content: flex-start;
    padding: 30px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: qs-timeline-fade-in 0.6s ease forwards;
}

.qs-timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.qs-timeline-item:nth-child(1) { animation-delay: 0.1s; }
.qs-timeline-item:nth-child(2) { animation-delay: 0.2s; }
.qs-timeline-item:nth-child(3) { animation-delay: 0.3s; }
.qs-timeline-item:nth-child(4) { animation-delay: 0.4s; }
.qs-timeline-item:nth-child(5) { animation-delay: 0.5s; }
.qs-timeline-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes qs-timeline-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qs-timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--qs-orange);
    border: 4px solid #f4f4f4;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(252, 121, 26, 0.6);
    z-index: 10;
    animation: qs-dot-pulse 2s ease-in-out infinite;
}

@keyframes qs-dot-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(252, 121, 26, 0.6);
    }
    50% {
        box-shadow: 0 0 40px rgba(252, 121, 26, 1);
    }
}

.qs-timeline-content {
    width: calc(50% - 50px);
    background: #ffffff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.qs-timeline-item:nth-child(even) .qs-timeline-content {
    text-align: right;
}

.qs-timeline-content:hover {
    transform: scale(1.05);
    border-color: rgba(252, 121, 26, 0.3);
    box-shadow: 0 10px 40px rgba(252, 121, 26, 0.2);
}

.qs-timeline-year {
    display: inline-block;
    padding: 6px 16px;
    background: var(--qs-orange);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.qs-timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.qs-timeline-content p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(26, 26, 26, 0.7);
}

/* ========== SERVIÇOS ========== */
.qs-services {
    margin: 100px 0;
}

.qs-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.qs-services-grid a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.qs-service-card {
    position: relative;
    background: var(--qs-card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--qs-card-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
}

.qs-service-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(252, 121, 26, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.qs-service-card:hover .qs-service-glow {
    opacity: 1;
    animation: qs-glow-rotate 4s linear infinite;
}

@keyframes qs-glow-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.qs-service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(252, 121, 26, 0.4);
    box-shadow: 0 30px 60px rgba(252, 121, 26, 0.2);
}

.qs-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
}

.qs-service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--qs-orange);
    stroke-width: 2;
    filter: drop-shadow(0 0 15px rgba(252, 121, 26, 0.5));
}

.qs-service-card h3 {
    position: relative;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    z-index: 2;
}

.qs-service-card p {
    position: relative;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    z-index: 2;
}

.qs-service-tech {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    z-index: 2;
}

.qs-tech-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(252, 121, 26, 0.1);
    border: 1px solid rgba(252, 121, 26, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--qs-orange);
}

/* ========== DIFERENCIAIS ========== */
.qs-differentials {
    margin: 100px 0;
    background: #f4f4f4;
    padding: 80px 20px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.qs-diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Centralizar títulos da seção de diferenciais */
.qs-differentials .qs-section-title {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.qs-diff-card {
    position: relative;
    background: #1e3a5f;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 95, 0.5);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.qs-diff-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(252, 121, 26, 0.15);
    transition: all 0.4s ease;
}

.qs-diff-card:hover .qs-diff-number {
    color: rgba(252, 121, 26, 0.3);
    transform: scale(1.2);
}

.qs-diff-card:hover {
    transform: translateY(-10px);
    border-color: rgba(252, 121, 26, 0.5);
    box-shadow: 0 10px 40px rgba(252, 121, 26, 0.25);
    background: #2a4a6f;
}

.qs-diff-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.qs-diff-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--qs-orange);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(252, 121, 26, 0.4));
}

.qs-diff-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.qs-diff-card p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== CTA FINAL ========== */
.qs-cta {
    margin: 100px 0 60px;
    text-align: center;
}

.qs-cta-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--qs-card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--qs-card-border);
    border-radius: 30px;
    overflow: hidden;
}

.qs-cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(252, 121, 26, 0.05) 0%,
        transparent 70%
    );
    animation: qs-glow-rotate 8s linear infinite;
}

.qs-cta-content h2 {
    position: relative;
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    z-index: 2;
}

.qs-cta-content p {
    position: relative;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    z-index: 2;
}

.qs-cta-buttons {
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 2;
}

.qs-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.qs-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
}

.qs-btn-primary {
    background: var(--qs-orange);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(252, 121, 26, 0.3);
}

.qs-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(252, 121, 26, 0.5);
}

.qs-btn-secondary {
    background: transparent;
    color: var(--qs-orange);
    border-color: var(--qs-orange);
}

.qs-btn-secondary:hover {
    background: var(--qs-orange);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(252, 121, 26, 0.3);
}

/* ========== RESPONSIVO ========== */

/* Tablets */
@media (max-width: 768px) {
    .qs-section {
        padding: 30px 0;
    }

    .qs-title {
        font-size: 40px;
    }

    .qs-subtitle {
        font-size: 16px;
    }

    .qs-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .qs-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qs-section-title {
        font-size: 32px;
    }

    .qs-section-subtitle {
        font-size: 16px;
    }

    /* Timeline mobile */
    .qs-timeline-line {
        left: 30px;
    }

    .qs-timeline-item {
        justify-content: flex-end !important;
        padding-left: 60px;
    }

    .qs-timeline-dot {
        left: 30px;
    }

    .qs-timeline-content {
        width: 100%;
        text-align: left !important;
    }

    .qs-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qs-diff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qs-cta-content h2 {
        font-size: 28px;
    }

    .qs-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .qs-btn {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .qs-section {
        padding: 30px 0;
    }

    .qs-container {
        padding: 0 15px;
    }

    .qs-title {
        font-size: 32px;
    }

    .qs-subtitle {
        font-size: 15px;
    }

    .qs-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .qs-stat-card {
        padding: 30px 20px;
    }

    .qs-mission-card {
        padding: 30px 25px;
    }

    .qs-section-title {
        font-size: 28px;
    }

    .qs-timeline-item {
        padding-left: 50px;
    }

    .qs-timeline-content {
        padding: 20px;
    }

    .qs-service-card {
        padding: 30px 20px;
    }

    .qs-diff-card 
/* ===
/* Título dos diferenciais com fundo claro - AZUL */
.qs-differentials h2.qs-section-title {
    color: #012A55 !important;
}

.qs-differentials h2.qs-section-title span {
    color: #FC791A !important;
}
80px) {
    .qs-differentials {
        padding: 40px 10px;
    }
}
ont-size: 15px;
    }
}

/* Extra small */
@media (max-width: 360px) {
    .qs-title {
        font-size: 28px;
    }

    .qs-section-title {
        font-size: 24px;
    }
}

/* ========== AJUSTES MOBILE TIMELINE ========== */
@media (max-width: 768px) {
    .qs-timeline-section {
        padding: 60px 15px;
        margin: 60px 0;
    }
}

@media (max-width: 480px) {
    .qs-timeline-section {
        padding: 40px 10px;
    }
}