/* =========================================================
   QUEM SOMOS - ALFA TRANSPORTES
   Sem gradientes
   Arquivo: static/website/css/quem_somos.css
   ========================================================= */

   .qs-page {
    background: #ffffff;
    color: var(--alfa-neutra-clara);
}

/* Navegação lateral */

.qs-side-nav {
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 900;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: .55rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .14);
}

.qs-side-nav a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--alfa-destaque);
    background: #ffffff;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.qs-side-nav a:hover,
.qs-side-nav a:focus {
    color: #ffffff;
    background: var(--alfa-destaque);
    transform: translateY(-2px);
}

/* Hero */

.qs-hero {
    min-height: calc(100svh - var(--nav-h));
    padding: 5rem 0 4rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.qs-eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .85rem;
    margin-bottom: 1.2rem;
    border-radius: 999px;
    color: var(--alfa-destaque);
    /* background: var(--alfa-neutra-clara); */
    border: 1px solid rgba(222, 30, 62, .16);
    font-weight: 700;
}

.qs-eyebrow i {
    font-size: 1rem;
}

.qs-title {
    max-width: 680px;
    margin: 0 0 1.2rem;
    color: var(--alfa-neutra-escura);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.06em;
}

.qs-lead {
    max-width: 620px;
    color: #5f6670;
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.qs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.8rem;
}

/* Vídeo */

.qs-video-card {
    padding: .75rem;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .14);
}

.qs-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem .85rem 1rem;
}

.qs-video-header span {
    display: block;
    color: var(--alfa-destaque);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.qs-video-header strong {
    display: block;
    color: var(--alfa-neutra-escura);
    font-size: 1.15rem;
    font-weight: 700;
}

.qs-video-header i {
    color: var(--alfa-destaque);
    font-size: 2.3rem;
}

.qs-video,
.qs-video iframe {
    overflow: hidden;
    border-radius: 22px;
}

.qs-video-placeholder {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    border-radius: 22px;
    color: var(--alfa-neutra-clara);
    background: var(--alfa-background);
    border: 1px dashed rgba(15, 23, 42, .18);
    text-align: center;
}

.qs-video-placeholder i {
    color: var(--alfa-destaque);
    font-size: 2.4rem;
}

/* Seções */

.qs-section {
    padding: 5rem 0;
    background: #ffffff;
}

.qs-section-muted {
    background: var(--alfa-background);
}

.qs-section-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.qs-section-heading-left {
    margin: 0;
}

.qs-section-heading span {
    display: inline-flex;
    margin-bottom: .65rem;
    color: var(--alfa-destaque);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.qs-section-heading h2 {
    margin: 0;
    color: var(--alfa-neutra-escura);
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.qs-section-heading p {
    margin: 1rem 0 0;
    color: var(--alfa-neutra-clara);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Números */

.qs-stat-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.qs-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(222, 30, 62, .28);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.qs-stat-card i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 16px;
    color: #ffffff;
    background: var(--alfa-destaque);
    font-size: 1.35rem;
}

.qs-stat-card strong {
    display: block;
    color: var(--alfa-neutra-escura);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.qs-stat-card span {
    display: block;
    margin-top: .45rem;
    color: var(--alfa-neutra-clara);
    font-weight: 700;
}

/* Painel de diferenciais */

.qs-feature-panel {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 30px;
    background: var(--alfa-background);
    border: 1px solid rgba(15, 23, 42, .08);
}

.qs-feature-item {
    height: 100%;
    padding: 1.4rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .08);
}

.qs-feature-item i {
    color: var(--alfa-destaque);
    font-size: 2rem;
}

.qs-feature-item h3 {
    margin: 1rem 0 .65rem;
    color: var(--alfa-neutra-escura);
    font-size: 1.25rem;
    font-weight: 700;
}

.qs-feature-item p {
    margin: 0;
    color: var(--alfa-neutra-clara);
    line-height: 1.65;
}

/* Timeline */

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

.qs-timeline::before {
    content: "";
    position: absolute;
    top: .5rem;
    bottom: .5rem;
    left: 130px;
    width: 3px;
    border-radius: 999px;
    background: var(--alfa-destaque);
}

.qs-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 2rem;
    margin-bottom: 1.6rem;
}

.qs-timeline-item:last-child {
    margin-bottom: 0;
}

.qs-timeline-date {
    padding-top: 1.15rem;
    color: var(--alfa-destaque);
    font-weight: 700;
    text-align: right;
}

.qs-timeline-card {
    position: relative;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
    transition: transform .22s ease, box-shadow .22s ease;
}

.qs-timeline-card::before {
    content: "";
    position: absolute;
    top: 1.45rem;
    left: -2.65rem;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 4px solid var(--alfa-destaque);
}

.qs-timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.qs-timeline-image {
    width: 100%;
    height: 138px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #f1f3f5;
    cursor: pointer;
}

.qs-timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.qs-timeline-image:hover img {
    transform: scale(1.04);
}

.qs-timeline-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qs-timeline-content h3 {
    margin: 0 0 .5rem;
    color: var(--alfa-neutra-escura);
    font-size: 1.35rem;
    font-weight: 700;
}

.qs-timeline-content p {
    margin: 0;
    color: var(--alfa-neutra-clara);
    line-height: 1.65;
}

.qs-empty-state {
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    color: var(--alfa-neutra-clara);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
}

.qs-empty-state i {
    display: block;
    margin-bottom: .7rem;
    color: var(--alfa-destaque);
    font-size: 2rem;
}

/* Propósito */

.qs-text {
    color: #5f6670;
    font-size: 1.05rem;
    line-height: 1.8;
}

.qs-purpose-card {
    height: 100%;
    padding: 2rem;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.qs-purpose-card:hover {
    transform: translateY(-5px);
    border-color: rgba(222, 30, 62, .28);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.qs-purpose-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 20px;
    color: #ffffff;
    background: var(--alfa-destaque);
    font-size: 1.55rem;
}

.qs-purpose-card h3 {
    margin: 0 0 .75rem;
    color: var(--alfa-neutra-escura);
    font-size: 1.6rem;
    font-weight: 700;
}

.qs-purpose-card p {
    margin: 0;
    color: var(--alfa-neutra-clara);
    line-height: 1.7;
}

/* CTA */

.qs-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 30px;
    color: #ffffff;
    background: var(--alfa-destaque);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .12);
}

.qs-cta span {
    display: block;
    margin-bottom: .35rem;
    color: rgba(255, 255, 255, .82);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
}

.qs-cta h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    font-weight: 700;
}

.qs-cta .btn-alfa {
    color: var(--alfa-destaque);
    background: #ffffff;
    box-shadow: none;
    white-space: nowrap;
}

.qs-cta .btn-alfa:hover {
    color: var(--alfa-texto-sobre-destaque);
    background: var(--alfa-interacao-hover);
}

/* Responsivo */

@media (max-width: 991.98px) {
    .qs-side-nav {
        display: none;
    }

    .qs-hero {
        min-height: auto;
        padding-top: 3rem;
    }

    .qs-title,
    .qs-lead {
        max-width: 100%;
    }

    .qs-timeline::before {
        left: 12px;
    }

    .qs-timeline-item {
        grid-template-columns: 1fr;
        gap: .75rem;
        padding-left: 2.2rem;
    }

    .qs-timeline-date {
        padding-top: 0;
        text-align: left;
    }

    .qs-timeline-card {
        grid-template-columns: 1fr;
    }

    .qs-timeline-card::before {
        left: -2rem;
        top: 1.1rem;
    }

    .qs-timeline-image {
        height: 220px;
    }

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

@media (max-width: 575.98px) {
    .qs-section {
        padding: 3.5rem 0;
    }

    .qs-title {
        font-size: 2.25rem;
    }

    .qs-video-card,
    .qs-purpose-card,
    .qs-feature-panel,
    .qs-cta {
        border-radius: 24px;
    }

    .qs-timeline-image {
        height: 180px;
    }

    .qs-hero-actions {
        flex-direction: column;
    }

    .qs-hero-actions .btn,
    .qs-cta .btn {
        width: 100%;
    }
}

/* =========================================================
   PADRONIZAÇÃO DE FONTES - QUEM SOMOS
   Usa variáveis do modern.css
   ========================================================= */

.qs-page,
.qs-page p,
.qs-page li,
.qs-page a,
.qs-page button {
    font-size: var(--fs-base);
}

.qs-eyebrow,
.qs-section-heading span,
.qs-video-header span {
    font-size: var(--fs-xs);
}

.qs-title {
    font-size: var(--fs-hero);
    line-height: var(--lh-tight);
}

.qs-section-heading h2 {
    font-size: var(--fs-3xl);
    line-height: var(--lh-tight);
}

.qs-lead,
.qs-section-heading p,
.qs-text {
    font-size: var(--fs-md);
    line-height: 1.6;
}

.qs-video-header strong,
.qs-feature-item h3,
.qs-timeline-content h3,
.qs-purpose-card h3,
.qs-value-card h3 {
    font-size: var(--fs-xl);
    line-height: var(--lh-title);
}

.qs-stat-card strong {
    font-size: var(--fs-2xl);
}

.qs-stat-card span,
.qs-feature-item p,
.qs-timeline-content p,
.qs-purpose-card p,
.qs-value-card p {
    font-size: var(--fs-sm);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .qs-hero {
        padding: 4rem 0 3rem;
        min-height: auto;
    }

    .qs-section {
        padding: 4rem 0;
    }
}

@media (max-width: 991.98px) {
    .qs-hero {
        padding: 3.5rem 0 3rem;
        min-height: auto;
    }

    .qs-section {
        padding: 3.5rem 0;
    }

    .qs-title {
        font-size: var(--fs-hero);
    }

    .qs-section-heading h2 {
        font-size: var(--fs-2xl);
    }
}

@media (max-width: 575.98px) {
    .qs-title {
        font-size: var(--fs-3xl);
    }

    .qs-section-heading h2 {
        font-size: var(--fs-2xl);
    }

    .qs-lead,
    .qs-section-heading p,
    .qs-text {
        font-size: var(--fs-base);
    }
}

/* =========================================================
   QUEM SOMOS - BANNER MATRIZ HORIZONTAL
   Ocupa mais largura, com padding e bordas arredondadas
   ========================================================= */

.qs-matriz-section {
    padding: 1rem clamp(1rem, 3vw, 3rem) 1.5rem;
    background: #ffffff;
}

.qs-matriz-card {
    position: relative;
    width: 100%;
    height: clamp(360px, 42vw, 560px);
    overflow: hidden;
    border-radius: 36px;
    background: #20252b;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
}

.qs-matriz-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.qs-matriz-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .48), rgba(0, 0, 0, .15) 48%, rgba(0, 0, 0, .05)),
        linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .32));
}

.qs-matriz-info {
    position: absolute;
    left: clamp(1.25rem, 5vw, 5rem);
    bottom: clamp(1.25rem, 4vw, 3rem);
    z-index: 1;
    width: min(580px, calc(100% - 2.5rem));
    padding: clamp(1.1rem, 1.8vw, 1.65rem);
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .65);
    box-shadow: 0 18px 52px rgba(0, 0, 0, .22);
    backdrop-filter: blur(12px);
}

.qs-matriz-info span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .65rem;
    color: var(--alfa-destaque);
    font-size: var(--fs-xs, .76rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.qs-matriz-info h2 {
    margin: 0;
    color: var(--alfa-neutra-escura);
    font-size: clamp(1.65rem, 2.7vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.055em;
}

.qs-matriz-info p {
    max-width: 540px;
    margin: .85rem 0 0;
    color: var(--alfa-neutra-escura);
    font-size: var(--fs-base, .92rem);
    line-height: 1.6;
}

/* =========================================================
   NOTEBOOKS / TELAS INTERMEDIÁRIAS
   ========================================================= */

@media (min-width: 992px) and (max-width: 1399.98px) {
    .qs-matriz-section {
        padding: 1rem 1.75rem 1.25rem;
    }

    .qs-matriz-card {
        height: 430px;
        border-radius: 30px;
    }

    .qs-matriz-info {
        width: min(520px, calc(100% - 2.5rem));
        padding: 1.2rem;
        border-radius: 24px;
    }

    .qs-matriz-info h2 {
        font-size: clamp(1.55rem, 2.4vw, 2.35rem);
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {
    .qs-matriz-section {
        padding: 1rem 1rem 1.25rem;
    }

    .qs-matriz-card {
        height: 420px;
        border-radius: 28px;
    }

    .qs-matriz-info {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
        max-width: none;
        padding: 1.15rem;
        border-radius: 22px;
    }

    .qs-matriz-info h2 {
        font-size: 1.75rem;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {
    .qs-matriz-section {
        padding: 1rem 1rem 1rem;
    }

    .qs-matriz-card {
        height: auto;
        overflow: hidden;
        border-radius: 24px;
        background: #ffffff;
    }

    .qs-matriz-img {
        height: 300px;
        object-position: center;
    }

    .qs-matriz-card::after {
        display: none;
    }

    .qs-matriz-info {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin: 0;
        padding: 1.15rem;
        border-radius: 0;
        background: #ffffff;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    .qs-matriz-info h2 {
        font-size: 1.45rem;
    }

    .qs-matriz-info p {
        font-size: .9rem;
    }
}


/* =========================================================
   QUEM SOMOS - HISTÓRIA / TIMELINE HORIZONTAL
   ========================================================= */

   .qs-history-carousel {
    position: relative;
    margin-top: 2rem;
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.qs-history-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.qs-history-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .45rem;
    color: var(--alfa-destaque);
    font-size: var(--fs-xs, .76rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.qs-history-top h3 {
    margin: 0;
    color: var(--alfa-neutra-escura);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.qs-history-controls {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.qs-history-arrow {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--alfa-destaque);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.qs-history-arrow:hover,
.qs-history-arrow:focus {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .16);
}

.qs-history-track-wrap {
    position: relative;
}

.qs-history-line {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            rgba(222, 30, 62, .12),
            rgba(222, 30, 62, .55),
            rgba(222, 30, 62, .12)
        );
    z-index: 0;
}

.qs-history-track {
    position: relative;
    z-index: 1;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 340px);
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .1rem .1rem 1rem;
    scroll-snap-type: x mandatory;
    scroll-padding-left: .1rem;
    scrollbar-width: thin;
}

.qs-history-track::-webkit-scrollbar {
    height: 9px;
}

.qs-history-track::-webkit-scrollbar-track {
    background: #eef0f3;
    border-radius: 999px;
}

.qs-history-track::-webkit-scrollbar-thumb {
    background: var(--alfa-destaque);
    border-radius: 999px;
}

.qs-history-card {
    position: relative;
    scroll-snap-align: start;
    padding-top: 56px;
}

.qs-history-point {
    position: absolute;
    top: 8px;
    left: 1.15rem;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    border: 3px solid var(--alfa-destaque);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
    z-index: 2;
}

.qs-history-point span {
    color: var(--alfa-destaque);
    font-size: .74rem;
    font-weight: 950;
}

.qs-history-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .09);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.qs-history-card:hover .qs-history-card-inner {
    transform: translateY(-4px);
    border-color: rgba(222, 30, 62, .24);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .13);
}

.qs-history-image {
    position: relative;
    width: 100%;
    height: 190px;
    display: block;
    padding: 0;
    border: 0;
    background: #f3f4f6;
    overflow: hidden;
    cursor: pointer;
}

.qs-history-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease, filter .28s ease;
}

.qs-history-card:hover .qs-history-image img {
    transform: scale(1.045);
    filter: brightness(.94);
}

.qs-history-image span {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .65rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(23, 23, 23, .72);
    font-size: .72rem;
    font-weight: 850;
    backdrop-filter: blur(8px);
}

.qs-history-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--alfa-destaque);
    background: #fff5f6;
    font-size: 2.4rem;
    cursor: default;
}

.qs-history-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
}

.qs-history-date {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    margin-bottom: .65rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    color: #ffffff;
    background: var(--alfa-destaque);
    font-size: var(--fs-xs, .76rem);
    font-weight: 700;
}

.qs-history-content h3 {
    margin: 0;
    color: var(--alfa-neutra-escura);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.qs-history-content p {
    display: -webkit-box;
    margin: .75rem 0 0;
    color: var(--alfa-neutra-clara);
    font-size: var(--fs-sm, .84rem);
    line-height: 1.58;
    overflow: hidden;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.qs-history-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: .6rem;
    color: var(--alfa-neutra-clara);
    font-size: var(--fs-xs, .76rem);
    font-weight: 750;
}

/* =========================================================
   MODAL DA TIMELINE
   ========================================================= */

.qs-history-modal-content {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
}

.qs-history-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background-color: #ffffff;
    opacity: 1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
}

.qs-history-modal-header {
    padding: 1.25rem 1.5rem;
    background: var(--alfa-destaque);
    color: #ffffff;
}

.qs-history-modal-header span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .35rem;
    color: rgba(255, 255, 255, .82);
    font-size: var(--fs-xs, .76rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.qs-history-modal-header h5 {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
}

.qs-history-modal-body {
    padding: 1rem;
    text-align: center;
    background: var(--alfa-background);
}

.qs-history-modal-body img {
    max-height: 74vh;
    border-radius: 22px;
    object-fit: contain;
    background: #ffffff;
}

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

@media (max-width: 991.98px) {
    .qs-history-carousel {
        border-radius: 28px;
    }

    .qs-history-track {
        grid-auto-columns: minmax(260px, 310px);
    }

    .qs-history-hint {
        display: flex;
    }
}

@media (max-width: 575.98px) {
    .qs-history-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .qs-history-controls {
        width: 100%;
        justify-content: space-between;
    }

    .qs-history-arrow {
        width: 44px;
        height: 44px;
    }

    .qs-history-track {
        grid-auto-columns: minmax(245px, 82vw);
    }

    .qs-history-image {
        height: 170px;
    }

    .qs-history-content {
        padding: 1rem;
    }

    .qs-history-content p {
        -webkit-line-clamp: 6;
    }

    .qs-history-modal-content {
        border-radius: 24px;
    }

    .qs-history-modal-body img {
        max-height: 68vh;
        border-radius: 18px;
    }
}

/* =========================================================
   QUEM SOMOS - MODAL HISTÓRIA COMPLETA
   ========================================================= */

   .qs-history-read-more {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    padding: 0;
    border: 0;
    color: var(--alfa-red);
    background: transparent;
    font-size: var(--fs-sm, .84rem);
    font-weight: 900;
    text-decoration: none;
}

.qs-history-read-more:hover {
    color: var(--alfa-red-escuro);
}

.qs-history-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--alfa-background);
}

.qs-history-modal-image-wrap {
    text-align: center;
}

.qs-history-modal-body img {
    width: 100%;
    max-height: 72vh;
    border-radius: 22px;
    object-fit: contain;
    background: #ffffff;
}

.qs-history-modal-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .08);
}

.qs-history-modal-text span {
    width: fit-content;
    display: inline-flex;
    margin-bottom: .75rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    color: #ffffff;
    background: var(--alfa-red);
    font-size: var(--fs-xs, .76rem);
    font-weight: 900;
}

.qs-history-modal-text h3 {
    margin: 0;
    color: #171717;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 900;
    line-height: 1.08;
}

.qs-history-modal-text p {
    margin: 1rem 0 0;
    color: #555;
    font-size: var(--fs-base, .92rem);
    line-height: 1.75;
    white-space: pre-line;
}

@media (max-width: 991.98px) {
    .qs-history-modal-body {
        grid-template-columns: 1fr;
    }

    .qs-history-modal-text {
        padding: 1rem;
    }

    .qs-history-modal-body img {
        max-height: 58vh;
    }
}
