/* ==========================================================================
   CodeTrix · o escritório de IA (out/2026)
   Crachá, sala em pixel art, expediente simulado e os quatro serviços.
   O temporada.css continua cuidando da base das seções.
   ========================================================================== */

.tx-cracha .tx-cracha-topo,
.tx-cracha .tx-cracha-num,
.tx-cracha .tx-cracha-tipo,
.tx-cracha dt,
.tx-cracha .tx-cracha-base,
.tx-cracha .tx-cracha-codigo em,
.tx-legenda,
.tx-placa,
.tx-letreiro,
.tx-relogio,
.tx-expediente-bar,
.tx-linha time,
.tx-pede,
.tx-gente,
.tx-publico,
.tx-oferta-num,
.tx-blog-link {
    font-family: var(--t2-mono) !important;
}

/* Painéis de aba e conversas escondidas não podem voltar por causa de um display do temporada.css. */
.t2 [hidden] {
    display: none !important;
}

/* Títulos sem palavra sozinha na última linha */
.t2-head h2,
.t2-contact-text h2,
.tx-oferta h3,
#header .header-content .firstline {
    text-wrap: balance;
}

/* ==========================================================================
   Crachá
   ========================================================================== */
.tx-cracha {
    --cor: #39ff14;
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    perspective: 1000px;
    text-align: left;
}

.tx-cracha-pendurado {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: 50% 0;
}

.tx-cracha--balanca .tx-cracha-pendurado {
    animation: tx-balanco 7s ease-in-out infinite;
}

.tx-cordao {
    display: block;
    width: 20px;
    height: 74px;
    border-radius: 3px 3px 0 0;
    background:
        linear-gradient(90deg, transparent 0 7px, var(--cor) 7px 13px, transparent 13px),
        #1c1e23;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    transition: background .4s;
}

.tx-presilha {
    position: relative;
    z-index: 2;
    display: block;
    width: 38px;
    height: 24px;
    margin-top: -2px;
    border-radius: 6px 6px 10px 10px;
    background: linear-gradient(180deg, #d9dce1, #8f949c 55%, #b9bdc4);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .35);
}

.tx-presilha::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -9px;
    width: 12px;
    height: 14px;
    margin-left: -6px;
    border-radius: 3px;
    background: linear-gradient(180deg, #a5aab2, #6f747c);
}

.tx-cracha-card {
    position: relative;
    width: 100%;
    margin-top: 2px;
    padding: 26px 22px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7f7f3 0%, #ecede7 100%);
    border-top: 7px solid var(--cor);
    color: #16171a;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 2px 0 rgba(255, 255, 255, .7) inset;
    transition: transform .23s ease, border-color .4s;
    backface-visibility: hidden;
}

.tx-cracha-card::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    width: 46px;
    height: 7px;
    margin-left: -23px;
    border-radius: 6px;
    background: #cfd1ca;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35);
}

.tx-cracha.is-virando .tx-cracha-card {
    transform: rotateY(90deg);
}

.tx-cracha-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    color: #6b6e75;
    font-size: 9.5px;
    letter-spacing: .14em;
}

.tx-cracha-tipo {
    padding: 3px 8px;
    border-radius: 999px;
    background: #16171a;
    color: var(--cor);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .16em;
}

.tx-cracha-id {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #c9cbc3;
}

.tx-cracha-foto {
    flex: none;
    width: 84px;
    height: 84px;
    border: 3px solid #16171a;
    border-radius: 12px;
    background: #16171a;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.tx-cracha-id > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tx-cracha-num {
    color: #8a8d93;
    font-size: 11px;
    letter-spacing: .1em;
}

.tx-cracha-id strong {
    margin-top: 2px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #111214;
}

.tx-cracha-cargo {
    margin-top: 4px;
    color: #4d5058;
    font-size: 13.5px;
    line-height: 1.35;
}

.tx-cracha-regras {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
}

.tx-cracha-regras > div {
    display: grid;
    gap: 3px;
}

.tx-cracha-regras dt {
    color: #84878e;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tx-cracha-regras dd {
    margin: 0;
    color: #23252a;
    font-size: 14px;
    line-height: 1.5;
}

.tx-cracha-regras .tx-cracha-trava {
    margin-top: 2px;
    padding: 11px 13px;
    border-radius: 12px;
    background: #16171a;
}

.tx-cracha-trava dt {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--cor);
}

.tx-cracha-trava dd {
    color: #f1f2ee;
}

.tx-cracha-base {
    margin-top: 12px;
    color: #6f7279;
    font-size: 11px;
    line-height: 1.5;
}

.tx-cracha-base span:first-child {
    color: #a0a3a9;
}

.tx-cracha-codigo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.tx-cracha-codigo > span {
    flex: 1;
    height: 22px;
    background: repeating-linear-gradient(90deg, #16171a 0 2px, transparent 2px 4px, #16171a 4px 5px, transparent 5px 8px, #16171a 8px 11px, transparent 11px 13px);
    opacity: .8;
}

.tx-cracha-codigo em {
    color: #6f7279;
    font-size: 11px;
    font-style: normal;
    letter-spacing: .12em;
}

.tx-legenda {
    display: block;
    margin-bottom: 10px;
    color: var(--t2-green);
    font-size: 12px;
    letter-spacing: .06em;
    text-align: center;
}

/* Crachá no topo da página */
.tx-hero-cracha {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 360px;
    justify-self: center;
    margin-top: -40px;
}

.tx-hero-cracha .tx-cordao {
    height: 96px;
}

/* ==========================================================================
   O escritório
   ========================================================================== */
.tx-escritorio-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.tx-esquerda {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.tx-direita {
    position: sticky;
    top: 96px;
}

.tx-sala {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    background: #0d0f13;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
}

.tx-parede {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 20px 22px 18px;
    border-bottom: 8px solid #232836;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .025), transparent),
        repeating-linear-gradient(90deg, #171a22 0 46px, #181b24 46px 92px);
}

.tx-janela {
    display: block;
    width: 100%;
    height: auto;
    border: 6px solid #2c3242;
    border-radius: 4px;
    background: #0a0e1c;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 8px 20px rgba(0, 0, 0, .3);
}

.tx-letreiro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.tx-letreiro-marca {
    color: var(--t2-green);
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
    text-shadow: 0 0 10px rgba(57, 255, 20, .55), 0 0 28px rgba(57, 255, 20, .25);
}

.tx-letreiro-sub {
    color: #b9bec6;
    font-size: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.tx-relogio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: #0b0c10;
    color: #ffbd2e;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-shadow: 0 0 8px rgba(255, 189, 46, .4);
}

.tx-relogio i {
    font-size: 12px;
    color: #7d838c;
    text-shadow: none;
}

.tx-chao {
    padding: 22px 20px 26px;
    background:
        radial-gradient(600px 220px at 50% 0%, rgba(57, 255, 20, .05), transparent 70%),
        repeating-conic-gradient(#14171d 0 25%, #111419 0 50%) 0 0 / 44px 44px;
}

.tx-fila-chefe {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.tx-fila-chefe .tx-mesa {
    width: calc((100% - 28px) / 3);
}

.tx-mesas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tx-mesa {
    --cor: #39ff14;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 40px 8px 10px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: background .25s, border-color .25s, box-shadow .35s, transform .2s;
}

.tx-mesa:hover,
.tx-mesa.is-sel {
    background: rgba(255, 255, 255, .035);
    border-color: rgba(255, 255, 255, .14);
}

.tx-mesa.is-sel {
    border-color: var(--cor);
}

.tx-mesa.is-ativa {
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 0 0 1px var(--cor), 0 0 34px -6px var(--cor);
}

.tx-mesa:focus-visible {
    outline: 2px solid var(--t2-purple);
    outline-offset: 3px;
}

.tx-mesa-cena {
    display: block;
    width: 100%;
    max-width: 210px;
    height: auto;
    aspect-ratio: 48 / 36;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.tx-bolha {
    position: absolute;
    top: 6px;
    left: 50%;
    z-index: 2;
    max-width: calc(100% - 10px);
    padding: 5px 10px;
    overflow: hidden;
    border-radius: 9px;
    background: #f4f4f1;
    color: #16171a;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    transform: translateX(-50%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.tx-bolha::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 2px;
    z-index: -1;
}

.tx-bolha.is-evento {
    background: var(--cor);
    color: #0b0b0c;
}

.tx-bolha.is-pop {
    animation: tx-pop .35s var(--t2-ease);
}

.tx-placa {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    background: #0a0b0d;
    color: #ececee;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tx-led {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cor);
    box-shadow: 0 0 8px var(--cor);
}

.tx-mesa--chefe .tx-placa {
    border-color: var(--cor);
}

.tx-mesa--chefe .tx-placa::after {
    content: 'gente';
    margin-left: 2px;
    padding: 0 5px;
    border-radius: 3px;
    background: var(--cor);
    color: #0b0b0c;
    font-size: 9px;
    letter-spacing: .1em;
}

/* Expediente */
.tx-expediente {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: #090a0d;
}

.tx-expediente-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #c6c9cc;
    font-size: 11px;
    letter-spacing: .14em;
}

.tx-expediente-bar em {
    margin-left: auto;
    color: #737a83;
    font-style: normal;
    letter-spacing: .04em;
    text-transform: none;
}

.tx-ao-vivo {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--t2-green);
    animation: t2-ping 1.8s infinite;
}

.tx-feed {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 11px;
    height: 286px;
    margin: 0;
    padding: 16px 18px 18px;
    overflow: hidden;
    list-style: none;
}

.tx-linha {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    color: #d6d9dd;
    font-size: 14px;
    line-height: 1.5;
    animation: tx-entra .45s var(--t2-ease) both;
}

.tx-linha time {
    padding-top: 1px;
    color: #747b84;
    font-size: 12.5px;
}

.tx-linha b {
    color: var(--cor);
    font-weight: 600;
}

.tx-gente {
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 4px;
    color: #cfd3d8;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    vertical-align: 1px;
}

.tx-pede {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 1px 9px;
    border-radius: 999px;
    background: rgba(255, 189, 46, .14);
    color: #ffbd2e;
    font-size: 11.5px;
    font-style: normal;
    white-space: nowrap;
}

.tx-pede i {
    font-size: 10px;
}

/* Crachá da mesa escolhida: fixo ao lado no computador, gaveta que sobe no celular */
.tx-legenda--sala {
    margin-bottom: 0;
}

.tx-direita .tx-cordao {
    height: 40px;
}

.tx-folha {
    display: none;
}

.tx-folha-fundo {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(0, 0, 0, .62);
    backdrop-filter: blur(2px);
}

.tx-folha-fundo[hidden] {
    display: none;
}

.tx-agente-def {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 18px;
    align-items: baseline;
    margin-top: 28px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-left: 3px solid var(--t2-green);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
}

.tx-agente-def strong {
    color: #fff;
    font-size: 15px;
}

.tx-agente-def p {
    color: var(--t2-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   Onde eu entro
   ========================================================================== */
.tx-fonte {
    max-width: 760px;
    margin-top: 22px;
    color: #8d939b;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   Serviços
   ========================================================================== */
.tx-publico {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
    padding: 0;
    list-style: none;
}

.tx-publico li {
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: #c9cdd2;
    font-size: 12.5px;
}

.tx-ofertas {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    grid-template-areas:
        "faco ensino"
        "faco reviso"
        "blog blog";
    gap: 20px;
}

.tx-oferta {
    --cor: var(--t2-green);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--t2-radius);
    background: #121316;
    transition: transform .25s, border-color .25s;
}

.tx-oferta::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--cor), transparent 75%);
}

.tx-oferta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .045), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.tx-oferta:hover {
    border-color: rgba(255, 255, 255, .16);
}

.tx-oferta:hover::after {
    opacity: 1;
}

.tx-oferta > * {
    position: relative;
    z-index: 1;
}

.tx-oferta--faco { grid-area: faco; }
.tx-oferta--ensino { grid-area: ensino; }
.tx-oferta--reviso { grid-area: reviso; }

.tx-oferta-num {
    margin-bottom: 14px;
    color: var(--cor);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tx-oferta h3 {
    color: #fff;
    font-size: clamp(23px, 2.3vw, 31px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.tx-oferta p {
    margin-top: 12px;
    color: var(--t2-muted);
    font-size: 16px;
    line-height: 1.7;
}

.tx-oferta .t2-checks {
    margin-top: 6px;
}

.tx-oferta .t2-checks i {
    color: var(--cor);
}

.tx-oferta .t2-weeks {
    margin-top: 20px;
    width: 100%;
}

.tx-oferta .t2-pill {
    margin-top: 18px;
}

.tx-oferta {
    --accent: var(--cor);
}

.tx-oferta-fim {
    margin-top: auto;
    padding-top: 26px;
}

.tx-oferta-fim .t2-cta {
    margin-top: 0;
}

.tx-passos {
    width: 100%;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px dashed rgba(255, 255, 255, .12);
}

.tx-passos-titulo {
    display: block;
    margin-bottom: 14px;
    color: #8d939b;
    font-family: var(--t2-mono) !important;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tx-passos ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: passo;
}

.tx-passos li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px 12px 46px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
    counter-increment: passo;
}

.tx-passos li::before {
    content: '0' counter(passo);
    position: absolute;
    top: 12px;
    left: 14px;
    color: var(--cor);
    font-family: var(--t2-mono);
    font-size: 12px;
    font-weight: 600;
}

.tx-passos b {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.tx-passos li span {
    color: var(--t2-muted);
    font-size: 13px;
    line-height: 1.45;
}

.tx-passos li:first-child span {
    color: var(--t2-green);
}

.tx-oferta--ensino .t2-weeks li span,
.tx-oferta--ensino .t2-pill .t2-badge-dot {
    color: var(--t2-purple);
}

.tx-oferta--ensino .t2-pill .t2-badge-dot {
    background: var(--t2-purple);
    animation-name: t2-ping-purple;
}

.tx-riscos {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

.tx-riscos li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dfe2e6;
    font-size: 15px;
}

.tx-riscos i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(0, 207, 255, .1);
    color: var(--cor);
    font-size: 13px;
}

.tx-oferta-nota {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
}

.tx-oferta--blog {
    grid-area: blog;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
    color: inherit;
    text-decoration: none;
}

.tx-oferta--blog .tx-oferta-num {
    margin: 0;
    flex: none;
}

.tx-oferta--blog > div {
    flex: 1;
}

.tx-oferta--blog h3 {
    font-size: 21px;
}

.tx-oferta--blog p {
    margin-top: 4px;
    font-size: 15px;
}

.tx-blog-link {
    flex: none;
    color: #fff;
    font-size: 13px;
    transition: color .2s;
}

.tx-oferta--blog:hover .tx-blog-link {
    color: var(--t2-green);
}

/* Abas (exemplos de agente e de conversa) */
.tx-abas {
    display: inline-flex;
    gap: 4px;
    margin: 22px 0 8px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
}

.tx-aba {
    margin: 0;
    padding: 8px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--t2-muted);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.tx-aba:hover {
    color: #fff;
}

.tx-aba[aria-selected="true"] {
    background: var(--cor, var(--t2-green));
    color: #0b0b0c;
}

.tx-aba:focus-visible {
    outline: 2px solid var(--t2-purple);
    outline-offset: 2px;
}

.tx-abas--chat {
    --cor: var(--t2-green);
    margin: 0 0 26px;
}

/* ==========================================================================
   Projetos: ZapTrix e SocialTrix
   ========================================================================== */
.tx-bento .t2-proj--next {
    grid-column: auto;
    min-height: 0;
}

.tx-mock-zap {
    flex-direction: column;
    gap: 12px;
}

.tx-zap-lista {
    display: grid;
    gap: 7px;
    width: min(250px, 90%);
}

.tx-zap-lista span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 207, 255, .25);
    border-radius: 9px;
    background: #121c20;
    color: #dfeef2;
    font-size: 12px;
}

.tx-zap-lista i {
    color: var(--t2-cyan);
}

.tx-zap-lista .is-fora {
    border-color: rgba(255, 95, 86, .3);
    background: #201416;
    color: #b9a6a8;
    text-decoration: line-through;
}

.tx-zap-lista .is-fora i {
    color: var(--t2-red);
}

.tx-zap-janela {
    color: #8fd7ea;
    font-size: 11px;
    letter-spacing: .1em;
}

.tx-mock-social {
    position: relative;
}

.tx-post {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
    width: 74px;
    height: 92px;
    margin: 0 -10px;
    padding: 10px;
    border: 1px solid rgba(213, 128, 255, .3);
    border-radius: 10px;
    background: linear-gradient(160deg, #2b1f33, #17121b);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.tx-post:nth-child(1) { transform: rotate(-9deg) translateY(6px); }
.tx-post:nth-child(2) { z-index: 1; transform: translateY(-6px); background: linear-gradient(160deg, #3a2546, #1b1320); }
.tx-post:nth-child(3) { transform: rotate(9deg) translateY(6px); }

.tx-post i {
    display: block;
    height: 5px;
    border-radius: 3px;
    background: rgba(213, 128, 255, .55);
}

.tx-post i + i {
    width: 60%;
    background: rgba(255, 255, 255, .25);
}

.tx-carimbo {
    position: absolute;
    right: 12%;
    bottom: 16%;
    z-index: 2;
    padding: 4px 10px;
    border: 2px solid #ffbd2e;
    border-radius: 6px;
    color: #ffbd2e;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    transform: rotate(-8deg);
    background: rgba(11, 11, 12, .7);
}

.tx-sobre-blog {
    margin-top: 26px;
    color: var(--t2-green);
}

/* Menu com um item a mais */
@media (max-width: 1180px) and (min-width: 769px) {
    .nav-container { padding: 0 28px; }
    .nav-links { gap: 18px; }
    .nav-links a { font-size: 12.5px; letter-spacing: .5px; }
    .nav-contact { padding: 7px 14px !important; }
}

/* ==========================================================================
   Topo da página: título mais longo e o crachá no lugar do fluxo
   ========================================================================== */
#header .header-content .firstline {
    font-size: clamp(44px, 4.6vw, 72px);
}

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes tx-balanco {
    0%, 100% { transform: rotate(-1.6deg); }
    50% { transform: rotate(1.6deg); }
}

@keyframes tx-pop {
    0% { transform: translateX(-50%) translateY(4px) scale(.92); opacity: .4; }
    100% { transform: translateX(-50%); opacity: 1; }
}

@keyframes tx-entra {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
    .tx-escritorio-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .tx-mesa {
        padding: 38px 4px 8px;
    }

    .tx-bolha {
        font-size: 10.5px;
        padding: 4px 8px;
    }
}

/* Na prática: com uma coluna só, a conversa vem logo depois das abas que a trocam */
@media (max-width: 1024px) {
    .t2-demo-grid {
        gap: 0;
    }

    .t2-demo-text {
        display: contents;
    }

    .t2-demo-text > .t2-head { order: 1; }
    .t2-demo-text > .tx-abas--chat { order: 2; justify-self: start; }
    .t2-demo-grid > .t2-phone-wrap { order: 3; margin-bottom: 36px; }
    .t2-demo-text > .t2-math { order: 4; }
}

@media (max-width: 900px) {
    .tx-escritorio-grid {
        grid-template-columns: 1fr;
    }

    .tx-direita {
        display: none;
    }

    .tx-folha {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        max-height: 92vh;
        max-height: 92svh;
        padding: 14px 16px calc(22px + env(safe-area-inset-bottom));
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, .12);
        border-radius: 24px 24px 0 0;
        background: #0e1014;
        transform: translateY(105%);
        visibility: hidden;
        transition: transform .38s var(--t2-ease), visibility 0s .38s;
    }

    .tx-folha.is-aberta {
        transform: none;
        visibility: visible;
        transition: transform .38s var(--t2-ease), visibility 0s;
    }

    .tx-folha-fechar {
        position: absolute;
        top: 12px;
        right: 14px;
        z-index: 3;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        margin: 0;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 50%;
        background: #1a1d23;
        color: #fff;
        font-size: 16px;
        cursor: pointer;
    }

    .tx-folha .tx-legenda--sala {
        margin: 4px 0 6px;
        padding-right: 48px;
        text-align: left;
    }

    .tx-folha .tx-cordao {
        height: 18px;
    }

    .tx-ofertas {
        grid-template-columns: 1fr;
        grid-template-areas:
            "faco"
            "ensino"
            "reviso"
            "blog";
    }
}

@media (max-width: 760px) {
    .tx-hero-cracha {
        max-width: 330px;
        margin: 6px auto 0;
    }

    .tx-hero-cracha .tx-cordao {
        height: 34px;
    }

    #header .header-content .firstline {
        font-size: clamp(36px, 9.4vw, 52px);
    }
}

@media (max-width: 640px) {
    .tx-parede {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding: 14px 14px 12px;
        border-bottom-width: 6px;
    }

    .tx-janela {
        border-width: 4px;
    }

    .tx-letreiro-marca {
        font-size: 18px;
    }

    .tx-letreiro-sub {
        font-size: 9px;
        letter-spacing: .18em;
    }

    .tx-relogio {
        margin-top: 8px;
        padding: 4px 8px;
        font-size: 12px;
    }

    .tx-chao {
        padding: 16px 10px 18px;
        background-size: auto, 34px 34px;
    }

    .tx-mesas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .tx-fila-chefe .tx-mesa {
        width: calc((100% - 8px) / 2);
    }

    .tx-mesa {
        padding: 46px 2px 8px;
    }

    .tx-bolha {
        display: -webkit-box;
        width: max-content;
        max-width: calc(100% - 6px);
        padding: 4px 8px;
        font-size: 10.5px;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .tx-placa {
        font-size: 10px;
        padding: 3px 8px;
    }

    .tx-feed {
        height: 330px;
        padding: 14px 14px 16px;
    }

    .tx-linha {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 8px;
        font-size: 13.5px;
    }

    .tx-expediente-bar em {
        display: none;
    }

    .tx-agente-def {
        grid-template-columns: 1fr;
        padding: 16px 18px;
    }

    .tx-oferta {
        padding: 26px 22px;
    }

    .tx-passos ol {
        grid-template-columns: 1fr;
    }

    .tx-oferta--blog {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 24px 22px;
    }

    .tx-abas {
        width: 100%;
    }

    .tx-aba {
        flex: 1;
        padding: 9px 10px;
    }

    .tx-post {
        width: 62px;
        height: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tx-cracha--balanca .tx-cracha-pendurado,
    .tx-bolha.is-pop,
    .tx-linha,
    .tx-ao-vivo {
        animation: none !important;
    }

    .tx-cracha-card,
    .tx-folha,
    .tx-mesa {
        transition: none !important;
    }
}
