/* ══════════════════════════════════════════════
   MOBILE
   ══════════════════════════════════════════════ */
.soporte-section-n8y1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 16px);
    max-width: 1920px;
    margin: 8px auto 0;
    padding: 8px;
    background: #282834;
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.soporte-text-n8y1 {
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Badge "Siempre disponible" */
.soporte-badge-n8y1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 16px 2px 2px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 999px;
    width: fit-content;
}

.soporte-badge-n8y1::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    padding: 1px;
    background: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.50) 0%,
        rgba(255, 255, 255, 0.04) 25%,
        rgba(255, 255, 255, 0.04) 75%,
        rgba(255, 255, 255, 0.50) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.soporte-badge-icon-n8y1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1f8923;
    overflow: hidden;
    flex-shrink: 0;
}

.soporte-badge-text-n8y1 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0;
}

.soporte-headline-n8y1 {
    font-size: 32px;
    font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
    font-feature-settings: 'salt' 1, 'calt' 0;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.28px;
    color: #fff;
    margin: 0;
}

/* Painel da foto */
.soporte-image-n8y1 {
    position: relative;
    width: 100%;
    height: 336px;
    min-height: 336px;
    border-radius: 12px;
    overflow: hidden;
}

/* Layer 1: foto panorâmica (background — mostra o lado direito onde está o consultor) */
.soporte-bg-layer1-n8y1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* Layer 2: retrato quadrado do consultor centralizado por cima */
.soporte-bg-layer2-n8y1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Chat bubbles */
.soporte-chat-n8y1 {
    position: absolute;
    top: 50%;
    right: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble-n8y1 {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    padding: 12px 14px;
    background: rgba(40, 40, 52, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    max-width: 85%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.chat-bubble-visible-n8y1 {
    opacity: 1;
    transform: translateY(0);
}

.chat-bubble-user-n8y1 {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    transition-delay: 0s;
}

.chat-bubble-support-n8y1 {
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    transition-delay: 0.4s;
}

.chat-text-n8y1 {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.chat-meta-n8y1 {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    align-self: flex-end;
}

.chat-time-n8y1 {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.chat-check-n8y1 {
    width: 14px;
    height: 9px;
    opacity: 0.7;
}

/* ══════════════════════════════════════════════
   DESKTOP ≥ 1024px
   Dois painéis iguais com padding/gap na seção.
   Ambos flex: 0 0 calc(50% - 4px) + border-box.
   Painel esq: dark + rounded. Painel dir: foto + rounded.
   ══════════════════════════════════════════════ */
@media (min-width: 768px) {
    .soporte-section-n8y1 {
        flex-direction: row;
        height: 500px;
        min-height: 500px;
        padding: 8px;
        gap: 8px;
        overflow: hidden;
    }

    .soporte-text-n8y1 {
        flex: 0 0 calc(50% - 4px);
        box-sizing: border-box;
        width: auto;
        height: 100%;
        background: #282834;
        border-radius: 12px;
        padding: 24px 32px;
        gap: 20px;
        justify-content: flex-start;
    }

    .soporte-image-n8y1 {
        flex: 0 0 calc(50% - 4px);
        box-sizing: border-box;
        width: auto;
        height: 100%;
        min-height: unset;
        max-height: unset;
        border-radius: 12px;
        overflow: hidden;
        margin: 0;
    }

    .soporte-headline-n8y1 {
        font-size: 40px;
        letter-spacing: -1.6px;
    }

    .soporte-chat-n8y1 {
        top: auto;
        left: auto;
        right: 20px;
        top: 38%;
        width: 280px;
        max-width: calc(100% - 40px);
    }

    .chat-text-n8y1 {
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    .soporte-section-n8y1 {
        flex-direction: row;
        height: calc(100vh - 68px);
        min-height: 600px;
        padding: 8px;
        gap: 8px;
        overflow: hidden;
    }

    .nav-header ~ .soporte-section-n8y1,
    .nav-header ~ div .soporte-section-n8y1,
    .nav-header ~ section .soporte-section-n8y1,
    .nav-header ~ main .soporte-section-n8y1 {
        height: calc(100vh - 84px);
    }

    /* Painel esquerdo — mesmo box-model que o direito */
    .soporte-text-n8y1 {
        flex: 0 0 calc(50% - 4px);
        box-sizing: border-box;
        width: auto;
        height: 100%;
        background: #282834;
        border-radius: 12px;
        padding: 32px 60px 32px 40px;
        gap: 24px;
        justify-content: flex-start;
    }

    /* Painel direito — mesmo box-model */
    .soporte-image-n8y1 {
        flex: 0 0 calc(50% - 4px);
        box-sizing: border-box;
        width: auto;
        height: 100%;
        min-height: unset;
        max-height: unset;
        border-radius: 12px;
        overflow: hidden;
        margin: 0;
    }

    /* Título: 72px fixo no desktop (igual ao Figma) */
    .soporte-headline-n8y1 {
        font-size: 72px;
        letter-spacing: -2.88px;
        line-height: 1;
    }

    /* Chat: centralizado verticalmente no painel da foto, alinhado à direita */
    .soporte-chat-n8y1 {
        top: auto;
        left: auto;
        right: 20px;
        bottom: auto;
        width: 320px;
        max-width: calc(100% - 40px);
        /* posiciona a ~40% do topo, conforme a metadata do Figma (y=284/712) */
        top: 38%;
    }

    .chat-text-n8y1 {
        font-size: 12px;
        line-height: 1.33;
    }
}

@media (min-width: 1920px) {
    .soporte-headline-n8y1 {
        font-size: 100px;
        letter-spacing: -4px;
    }
}
