/* =========================
   ABOUT — MOBILE (FLUXO CONTÍNUO)
========================= */

@media (max-width: 768px) {

    /* =========================
     SEÇÃO GERAL — SOBRE MIM
  ========================= */

    .about-mindset {
        padding: 48px 20px 72px;
        position: relative;
        overflow: hidden;
    }

    .about-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* =========================
     IMAGEM — IDENTIDADE VISUAL
  ========================= */

    .about-wrapper::before {
        content: "";
        width: 100%;
        height: 46vh;
        max-height: 420px;

        background-image: url("/assets/img/img-3-removebg-preview.png");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: contain;

        margin-top: -192px;
        margin-bottom: -120px;

        /* ESTADO INICIAL */
        transform: translateY(220px);
        opacity: 0;

        transition:
            transform 2.4s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 1.6s ease;

        filter: brightness(0.95) contrast(1.05);

        -webkit-mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 70%,
                rgba(0, 0, 0, 0.6) 85%,
                rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 70%,
                rgba(0, 0, 0, 0.6) 85%,
                rgba(0, 0, 0, 0) 100%);
    }

    .about-mindset.show-image .about-wrapper::before {
        transform: translateY(0);
        opacity: 1;
    }

    /* =========================
     CAIXA — SOBRE MIM
  ========================= */

    .about-card {
        margin-top: 0;
        padding: 36px 26px;

        position: relative;
        z-index: 2;

        transform: translateY(240px);
        opacity: 0;

        transition:
            transform 2.6s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 1.8s ease;
    }

    .about-mindset.show-card .about-card {
        transform: translateY(0);
        opacity: 1;
    }

    /* =========================
   TÍTULO — MANIFESTO DE QUALIDADE
   "Qualidade como arquitetura,
    não como correção"
========================= */

    .about-title {
        font-size: 2.2rem;
        line-height: 1.2;
        font-weight: 600;
        letter-spacing: -0.5px;
    }

    .about-title span {
        display: inline-block;
        font-weight: 700;
    }

    @media (max-width: 480px) {
        .about-title {
            font-size: 2rem;
        }
    }

    /* =========================
   CONTEÚDO — TEXTO DESCRITIVO
========================= */

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .about-card p {
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.7;
        color: var(--text-muted);
    }

    /* PRIMEIRO BLOCO — DECLARAÇÃO PRINCIPAL */
    .about-content p:first-child {
        font-size: 1.02rem;
        line-height: 1.65;
        color: var(--text-main);
    }

    .about-content p:first-child strong {
        font-weight: 500;
        color: var(--blue-accent);
    }

    /* SEGUNDO BLOCO — CONTEXTO / VISÃO */
    .about-content p:last-child {
        font-size: 0.95rem;
        line-height: 1.75;
        opacity: 0.95;
    }

    /* =========================
   PILARES — VISÃO SOBRE QUALIDADE
   Automação • Estratégia • Decisão
========================= */

    .about-pillars {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 18px;
        margin-top: 24px;
        padding: 0;
        list-style: none;
    }

    .about-pillars li {
        font-size: 0.8rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--blue-accent);
        opacity: 0.9;
        white-space: nowrap;
    }

    /* =========================
   FOOTER — PRINCÍPIOS / ASSINATURA
========================= */

    .about-footer {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .about-highlight {
        font-size: 10px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--blue-accent);
        white-space: nowrap;
    }

    .about-divider {
        width: 20px;
        height: 1px;
        background: rgba(255, 255, 255, 0.25);
        flex-shrink: 0;
    }

    /* =========================
   MINDSET — VISÃO SOBRE QUALIDADE
========================= */

    /* HEADER — TÍTULO + TEXTO */
    .mindset-header {
        opacity: 0;
        transform: translateY(60px);

        transition:
            transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 1.2s ease;
    }

    .about-mindset.show-mindset .mindset-header {
        opacity: 1;
        transform: translateY(0);
    }

    /* =========================
   MINDSET — CARDS (ENTRADA LATERAL REAL)
========================= */

    .mindset-panel{
        padding: 40px 0;
    }

    .mindset-grid {
        overflow: hidden;
        /* evita scroll lateral */
    }

    .mindset-card {
        opacity: 0;

        transition:
            transform 2.6s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 1.6s ease;
    }

    /* Princípio — esquerda → centro */
    .mindset-card:nth-child(1) {
        transform: translateX(-120vw);
    }

    /* Estratégia — direita → centro */
    .mindset-card:nth-child(2) {
        transform: translateX(120vw);
    }

    /* Decisão — esquerda → centro */
    .mindset-card:nth-child(3) {
        transform: translateX(-120vw);
    }

    /* Estado visível */
    .about-mindset.show-mindset .mindset-card {
        opacity: 1;
        transform: translateX(0);
    }

    /* =========================
   MINDSET — CTA FINAL
========================= */

    .mindset-cta-wrapper {
        opacity: 0;
        transform: translateY(40px);

        transition:
            transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 1.2s ease;

        transition-delay: 0.4s;
    }

    .about-mindset.show-mindset .mindset-cta-wrapper {
        opacity: 1;
        transform: translateY(0);
    }




}