/* ============================================================ */
/* WG-PHRASER v1 + v2 — 2026                                   */
/* Ultra clean fade (v1) + Typewriter effect (v2)              */
/* Tipografia 100% controlável no HTML                         */
/* Upgrade 2026 by Wolf Carls D´ (NO USE !) */
/* ============================================================ */

/* ============================================= */
/* v1 — Estrutura clean com fade & scale         */
/* ============================================= */

.wg-phraser-v1 {
    position: relative;
    width: 90%;
    max-width: 1400px;
    min-height: 6vh;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.wg-phrase-v1 {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.97);
    text-align: center;
    white-space: nowrap;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.wg-phrase-v1.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* v1 — Mobile: empilha as frases */
@media (max-width: 480px) {
    .wg-phraser-v1 {
        min-height: 140px;
        padding: 20px 15px;
        flex-direction: column;
        gap: 16px;
    }

    .wg-phrase-v1 {
        position: static;
        transform: none;
        width: 100%;
        max-width: 95%;
        white-space: normal;
        opacity: 0;
        transition: opacity 0.7s ease;
    }

    .wg-phrase-v1.show {
        opacity: 1;
    }
}

/* ============================================= */
/* WG-PHRASER FREE — Fonte e tamanho totalmente fluidos */
/* ============================================= */

.wg-phraser-v1-free {
    position: relative;
    width: 90%;
    max-width: 1400px;
    min-height: 6vh;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.wg-phrase-v1-free {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.97);
    text-align: center;
    white-space: nowrap;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.wg-phrase-v1-free.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* v1 — Mobile: empilha as frases */
@media (max-width: 480px) {
    .wg-phraser-v1-free {
        min-height: 140px;
        padding: 20px 15px;
        flex-direction: column;
        gap: 16px;
    }

    .wg-phrase-v1-free {
        position: static;
        transform: none;
        width: 100%;
        max-width: 95%;
        white-space: normal;
        opacity: 0;
        transition: opacity 0.7s ease;
    }

    .wg-phrase-v1-free.show {
        opacity: 1;
    }
}


/* ============================================= */
/* v2 — Typewriter / Máquina de escrever         */
/* ============================================= */

.wg-phraser-v2-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.wg-phraser-v2 {
    position: relative;
    width: 100%;
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.wg-phrase-wrapper-v2 {
    position: relative;
    display: inline-block;
    text-align: center;
    max-width: 100%;
}

.wg-phrase-v2 {
    opacity: 0;
    line-height: 1.4;
    word-wrap: break-word;
    transition: opacity 0.65s ease;
}

.wg-phrase-v2.visible {
    opacity: 1;
}

/* Cursor piscante (cor e velocidade controláveis via classe ou inline) */
.wg-cursor-v2 {
    display: inline-block;
    width: 2.5px;
    height: 1.15em;
    background: currentColor;          /* herda a cor do texto pai */
    vertical-align: middle;
    margin-left: 4px;
    animation: wg-blink 0.9s step-end infinite;
    opacity: 0;
}

.wg-phrase-wrapper-v2.typing .wg-cursor-v2 {
    opacity: 1;
}

@keyframes wg-blink {
    50% { opacity: 0; }
}

/* Mobile v2 — mais espaço vertical */
@media (max-width: 480px) {
    .wg-phraser-v2 {
        min-height: 110px;
    }

    .wg-phrase-v2 {
        padding: 0 12px;
    }
}

/* ============================================= */
/* Opcional: Destaque gradiente em <strong>      */
/* (remova se quiser 100% neutro)                */
/* ============================================= */

.wg-phraser-v1 strong,
.wg-phrase-v2 strong {
    background: linear-gradient(90deg, #d9b44a, #fff3a1, #d9b44a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}