/* ========================================
   VARIÁVEIS E RESET
   ======================================== */

:root {
    --azul-escuro: #050A14;
    --azul-medio: #0A1628;
    --dourado: #D6B56A;
    --dourado-escuro: #B38F3D;
    --branco: #F0F2F5;
    --cinza-claro: #94A3B8;
    --cinza-escuro: #0a0f1a;
    --alerta: #FF4D4D;
    --sucesso: #4ADE80;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold-gradient: linear-gradient(135deg, #D6B56A 0%, #B38F3D 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: transparent !important;
    color: var(--branco);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fundo Navy Elite — gradiente radial sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(214, 181, 106, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(214, 181, 106, 0.02) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(10, 22, 40, 0.8) 0%, transparent 60%);
    z-index: -1;
}

html {
    background: #050A14 !important;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   URGENCY BAR (tela intro)
   ======================================== */

.urgency-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: #000000;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--branco);
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 77, 77, 0.25);
    animation: geoSlideDown 0.5s ease-out;
}

.urgency-bar.hidden {
    display: none !important;
}

.urgency-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.urgency-text strong {
    color: var(--alerta);
    text-transform: capitalize;
}

.urgency-timer {
    color: var(--alerta);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
    animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@media (max-width: 768px) {
    .urgency-bar {
        font-size: 0.8rem;
        padding: 0.55rem 1rem;
        text-align: center;
        line-height: 1.4;
    }
}

/* ========================================
   GEO TOPBAR
   ======================================== */

.geo-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: linear-gradient(90deg, #050A14 0%, #0a1225 40%, #0a1225 60%, #050A14 100%);
    border-bottom: 1px solid rgba(214, 181, 106, 0.12);
    padding: 0.35rem 0;
    animation: geoSlideDown 0.5s ease-out;
    transition: opacity 0.15s ease;
}

.geo-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.geo-topbar-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: geoPulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
}

.geo-topbar-text strong {
    color: var(--dourado);
}

/* Número de advogados — dourado no tema quiz */
#geoCount {
    display: inline-block;
    color: var(--dourado) !important;
    font-weight: 700;
    transition: transform 0.3s ease, color 0.3s ease;
}
#geoCount.geo-count-flash {
    color: #f0d68a !important;
    transform: scale(1.45);
    text-shadow: 0 0 8px rgba(214, 181, 106, 0.6);
}

/* Quiz header empurrado pela topbar */
body.has-geo-topbar .quiz-header {
    top: var(--geo-topbar-h, 32px);
}
body.has-geo-topbar .quiz-wrapper {
    padding-top: calc(var(--geo-topbar-h, 32px) + 10px);
}

@keyframes geoSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes geoPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(214, 181, 106, 0.6); }
    50% { opacity: 0.5; box-shadow: 0 0 12px rgba(214, 181, 106, 0.9); }
}

/* Mobile topbar */
@media (max-width: 768px) {
    .geo-topbar {
        position: fixed;
        z-index: 1001;
        padding: 0;
        background: none;
        border-bottom: none;
        pointer-events: none;
    }
    .geo-topbar-inner {
        pointer-events: auto;
        font-size: 0.72rem;
        white-space: nowrap;
        gap: 0.5rem;
        padding: 0.55rem 1.2rem;
        margin: 0;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
        background: linear-gradient(135deg, rgba(5, 10, 20, 0.97), rgba(10, 18, 37, 0.95));
        border: 1px solid rgba(214, 181, 106, 0.2);
        border-top: none;
        border-radius: 0 0 14px 14px;
        box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.5),
            0 1px 0 rgba(214, 181, 106, 0.1) inset;
        position: relative;
        overflow: hidden;
    }
    .geo-topbar-inner::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--dourado), transparent);
        opacity: 0.6;
    }
    .geo-topbar-text {
        font-weight: 500;
    }
    .geo-topbar-text strong {
        font-size: 1.05em;
    }
    .geo-topbar-pulse {
        width: 7px;
        height: 7px;
    }
    /* Mobile: header sticky precisa ser empurrado pela topbar */
    body.has-geo-topbar .quiz-header {
        top: var(--geo-topbar-h, 70px);
    }
    body.has-geo-topbar .quiz-wrapper {
        padding-top: calc(var(--geo-topbar-h, 70px) + 8px);
    }
}

/* ========================================
   HEADER
   ======================================== */

.quiz-header {
    padding: 0.8rem 0;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(214, 181, 106, 0.15);
    position: sticky;
    top: 0;
    z-index: 1002;
}

@media (max-width: 768px) {
    .quiz-header {
        padding: 0.45rem 0;
    }
}

.quiz-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-quiz {
    height: 65px;
    transition: transform 0.3s ease;
}

.logo-quiz:hover {
    transform: scale(1.05);
}

/* Desktop: nav mais compacta */
@media (min-width: 769px) {
    .quiz-header {
        padding: 0.35rem 0;
    }
    .logo-quiz {
        height: 40px;
    }
}

/* ========================================
   PLEXUS BACKGROUND
   ======================================== */

.quiz-wrapper {
    position: relative;
    min-height: calc(100vh - 120px);
}

.plexus-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

/* ========================================
   SCREENS BASE
   ======================================== */

.quiz-screen {
    position: relative;
    z-index: 1;
    display: none;
    padding: 0.25rem 0;
    min-height: calc(100vh - 200px);
    animation: fadeIn 0.5s ease;
}

.quiz-screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   NOTIFICAÇÃO DE PROGRESSO RESTAURADO
   ======================================== */

.resume-notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    z-index: 1000;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    display: none;
    animation: slideDown 0.5s ease forwards;
}

@media (max-width: 768px) {
    .resume-notification {
        padding: 0.75rem 1rem;
        max-width: 90%;
        top: 80px;
    }
    
    .resume-content {
        gap: 0.5rem;
    }
    
    .resume-icon {
        font-size: 1.2rem;
    }
    
    .resume-text {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

.resume-notification.show {
    display: block;
}

@keyframes slideDown {
    to {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    to {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
}

.resume-notification.hide {
    animation: slideUp 0.5s ease forwards;
}

.resume-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.resume-icon {
    font-size: 1.5rem;
}

.resume-text {
    font-weight: 600;
    font-size: 1rem;
}


/* ========================================
   TELA INICIAL (INTRO)
   ======================================== */

.quiz-intro-content {
    text-align: left;
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Perfil estilo rede social */
.intro-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.intro-alex-img {
    display: block;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.intro-profile-name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .intro-alex-img {
        width: 200px;
        height: 200px;
    }
    .intro-profile-name {
        font-size: 0.9rem;
    }
}

.quiz-main-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    color: var(--branco);
}

/* Citação estilo livro */
.intro-quote {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-size: 1.55rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 1rem 0 0;
    text-align: center;
    letter-spacing: 0.2px;
}
.intro-quote strong {
    color: var(--dourado);
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
    text-decoration-color: rgba(214, 181, 106, 0.4);
    text-underline-offset: 4px;
}

.intro-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 181, 106, 0.5), transparent);
    margin: 0.8rem auto;
}

.quiz-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--cinza-claro);
    line-height: 1.4;
}

.quiz-cta-area {
    text-align: center;
}

.quiz-cta-highlight {
    margin: 0 0 1rem 0;
    animation: bounce 2s ease-in-out infinite;
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dourado);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
    text-shadow: 0 0 20px rgba(214, 181, 106, 0.5);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.btn-quiz-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gold-gradient);
    color: #050A14;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 2rem;
    box-shadow: 
        0 8px 24px rgba(214, 181, 106, 0.3),
        0 0 40px rgba(214, 181, 106, 0.15);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    justify-content: center;
    animation: ctaPulseGlow 2.5s ease-in-out infinite;
}

@keyframes ctaPulseGlow {
    0%, 100% {
        box-shadow: 
            0 8px 24px rgba(214, 181, 106, 0.3),
            0 0 40px rgba(214, 181, 106, 0.15);
    }
    50% {
        box-shadow: 
            0 8px 32px rgba(214, 181, 106, 0.5),
            0 0 60px rgba(214, 181, 106, 0.25);
    }
}

.btn-quiz-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.btn-quiz-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(214, 181, 106, 0.5);
}

.btn-quiz-primary:hover::before {
    animation: shine 1.5s infinite;
}

.btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.btn-quiz-primary:hover .btn-arrow {
    transform: translateX(8px);
    animation: none;
}

.btn-start-quiz {
    font-size: 1.05rem !important;
    padding: 1.2rem 2.5rem !important;
    animation: ctaPulseGlow 2.5s ease-in-out infinite;
    box-shadow: 
        0 4px 20px rgba(214, 181, 106, 0.3),
        0 0 40px rgba(214, 181, 106, 0.15) !important;
    letter-spacing: 2px;
}

.btn-start-quiz:hover {
    animation: none;
    transform: scale(1.03) translateY(-2px) !important;
    box-shadow: 
        0 8px 30px rgba(214, 181, 106, 0.5),
        0 0 60px rgba(214, 181, 106, 0.25) !important;
}

@keyframes pulseIntense {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(214, 181, 106, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 25px rgba(214, 181, 106, 0.45);
    }
}

.quiz-disclaimer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* ========================================
   BARRA DE PROGRESSO
   ======================================== */

.progress-bar-container {
    margin-bottom: 3rem;
}

.progress-bar-container.header-progress {
    display: block;
    margin-bottom: 0;
    flex: 1;
    max-width: 250px;
}

.quiz-questions .progress-bar-container:not(.header-progress) {
    display: none;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.header-progress .progress-bar {
    margin-bottom: 0;
}

/* Indicador "Analisando respostas..." no header — apenas mobile */
.header-progress.header-analyzing {
    max-width: 100%;
    display: none;
}

@media (max-width: 768px) {
    .header-progress.header-analyzing {
        display: block;
    }
}

.analyzing-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.analyzing-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(214, 181, 106, 0.25);
    border-top-color: var(--dourado);
    border-radius: 50%;
    animation: spin-analyzing 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin-analyzing {
    to { transform: rotate(360deg); }
}

.analyzing-text {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--dourado);
    white-space: normal;
    line-height: 1.3;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.analyzing-pct {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--dourado);
    flex-shrink: 0;
    min-width: 26px;
    text-align: right;
}

/* Mini barra de progresso no header */
.analyzing-bar-wrap {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 3px;
}

.analyzing-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #D6B56A, #B38F3D);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D6B56A 0%, #B38F3D 100%);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

.progress-text {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dourado);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   PERGUNTAS
   ======================================== */

.question-container {
    max-width: 750px;
    margin: 0 auto;
}

.question-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-number {
    display: none !important;
}

.question-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--branco);
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.q-highlight {
    color: var(--dourado);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(214, 181, 106, 0.35);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(214, 181, 106, 0.1), transparent);
    transition: left 0.5s ease;
}

.option-item:hover::before {
    left: 100%;
}

.option-item:hover {
    border-color: var(--dourado);
    background: rgba(214, 181, 106, 0.08);
    transform: translateX(8px);
}

.option-item.selected {
    border-color: var(--dourado);
    background: rgba(214, 181, 106, 0.1);
    box-shadow: 0 4px 20px rgba(214, 181, 106, 0.2);
}

.option-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.option-radio {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.option-item.selected .option-radio {
    border-color: var(--dourado);
    background: var(--dourado);
}

.option-item.selected .option-radio::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--azul-escuro);
    font-weight: 700;
    font-size: 0.9rem;
}

.option-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--branco);
}

.question-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* ========================================
   FEEDBACK POR SELEÇÃO
   ======================================== */

.selection-feedback {
    background: rgba(214, 181, 106, 0.08);
    border: 1px solid rgba(214, 181, 106, 0.25);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Conteúdo interno — blur durante loading */
.feedback-content-inner {
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.selection-feedback.feedback-loading .feedback-content-inner {
    filter: blur(8px);
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
}

.selection-feedback.feedback-revealed .feedback-content-inner {
    filter: blur(0);
    opacity: 1;
}

/* Overlay de loading (spinner + texto) */
.feedback-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.selection-feedback.feedback-loading .feedback-loading-overlay {
    opacity: 1;
}

.selection-feedback.feedback-revealed .feedback-loading-overlay {
    opacity: 0;
}

.feedback-loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(214, 181, 106, 0.2);
    border-top-color: var(--dourado);
    border-radius: 50%;
    animation: spin-analyzing 0.7s linear infinite;
}

.feedback-loading-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dourado);
    animation: feedbackCtaPulse 1.5s ease-in-out infinite;
}

/* Mini barra de progresso no loading do feedback */
.feedback-loading-bar-wrap {
    width: 60%;
    max-width: 180px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.feedback-loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #D6B56A, #B38F3D);
    border-radius: 4px;
    transition: width 0.05s linear;
}

.feedback-loading-countdown {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
}

.selection-feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dourado), transparent);
    opacity: 0.6;
}

.selection-feedback.feedback-animate {
    animation: feedbackSlideIn 0.4s ease-out;
}

@keyframes feedbackSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-icon {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.feedback-text {
    font-size: 0.92rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}

.feedback-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dourado);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    animation: feedbackCtaPulse 2s ease-in-out infinite;
}

@keyframes feedbackCtaPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@media (max-width: 768px) {
    .selection-feedback {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .feedback-icon {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .feedback-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .feedback-cta {
        font-size: 0.78rem;
    }
}

.btn-next {
    background: var(--gold-gradient);
    color: #050A14;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(214, 181, 106, 0.3);
    opacity: 0.5;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.btn-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-next.active {
    opacity: 1;
    pointer-events: all;
}

.btn-next.active::before {
    animation: shine 3s infinite;
}

/* Animação de destaque quando selecionado */
.btn-next.active.highlight {
    animation: pulseButton 0.6s ease-in-out 3, shakeButton 0.5s ease-in-out 1.8s;
    box-shadow: 0 0 30px rgba(214, 181, 106, 0.8),
                0 0 60px rgba(214, 181, 106, 0.4),
                0 8px 28px rgba(214, 181, 106, 0.5);
}

.btn-next.active:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 40px rgba(214, 181, 106, 0.9),
                0 8px 35px rgba(214, 181, 106, 0.6);
}

.btn-next.active:hover::before {
    animation: shine 1s infinite;
}

/* Keyframes para animações */
@keyframes pulseButton {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes shakeButton {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* ========================================
   LOADING SCREEN
   ======================================== */

.loading-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0 0.5rem 0;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 500px;
}

.loading-video {
    flex: 1;
    max-width: 320px;
    min-width: 300px;
    width: 100%;
}

.loading-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

/* ---- Premium Report Card ---- */
.loading-report-card {
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem 1.8rem 1.8rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.loading-report-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(160deg, rgba(214, 181, 106, 0.25), transparent 40%, transparent 60%, rgba(214, 181, 106, 0.12));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.report-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(214, 181, 106, 0.12);
}

.report-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.report-status {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dourado);
    animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Scan Area — linhas borradas com scanner */
.report-scan-area {
    position: relative;
    padding: 1rem 0;
    margin-bottom: 1rem;
    min-height: 120px;
}

.report-lines-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.report-line-blur {
    height: 10px;
    border-radius: 4px;
    background: rgba(214, 181, 106, 0.06);
    position: relative;
    overflow: hidden;
}

.report-line-blur::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(214, 181, 106, 0.08),
        rgba(214, 181, 106, 0.18),
        rgba(214, 181, 106, 0.08));
    filter: blur(3px);
    animation: lineShimmer 2.5s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.15s);
}

.report-line-blur:nth-child(1) { --i: 0; }
.report-line-blur:nth-child(2) { --i: 1; }
.report-line-blur:nth-child(3) { --i: 2; }
.report-line-blur:nth-child(4) { --i: 3; }
.report-line-blur:nth-child(5) { --i: 4; }
.report-line-blur:nth-child(6) { --i: 5; }

@keyframes lineShimmer {
    0% { opacity: 0.3; transform: translateX(-10%); }
    50% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0.3; transform: translateX(10%); }
}

/* Scanner line — laser dourado que varre */
.report-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dourado), transparent);
    box-shadow: 0 0 12px rgba(214, 181, 106, 0.6), 0 0 30px rgba(214, 181, 106, 0.2);
    animation: scanDown 2.8s ease-in-out infinite;
    z-index: 2;
}

@keyframes scanDown {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Message (abaixo do scan) */
.loading-message {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.2rem;
    min-height: 22px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: opacity 0.3s ease;
}

/* Progress bar + percentage */
.loading-progress-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.loading-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D6B56A 0%, #D6B56A 100%);
    background-size: 200% 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 0.5s ease, background 0.8s ease;
    animation: progressShine 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(214, 181, 106, 0.5);
}

.loading-progress-fill.progress-success {
    background: linear-gradient(90deg, var(--sucesso) 0%, #22c55e 100%);
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}

@keyframes progressShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.loading-progress-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dourado);
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

.video-wait-message {
    text-align: center;
    color: var(--dourado);
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(214, 181, 106, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(214, 181, 106, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.result-content-inline {
    flex: 1;
    max-width: 600px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* Accordion Mobile */
.result-accordion-mobile {
    display: none;
}

.result-content-desktop {
    display: block;
}

@media (max-width: 768px) {
    .result-accordion-mobile {
        display: block;
        width: 100%;
    }
    
    .result-content-desktop {
        display: none;
    }
}

.result-accordion-toggle {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.result-accordion-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.result-accordion-toggle:active {
    transform: scale(0.98);
}

.accordion-text {
    font-size: 0.9rem;
}

.accordion-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.result-accordion-toggle.active .accordion-arrow {
    transform: rotate(180deg);
}

/* Animação de destaque pulsante para chamar atenção para a sanfona (auto-scroll 10s após pitch) */
.result-accordion-toggle.pip-highlight-pulse {
    animation: accordionPulse 0.6s ease-in-out 3;
    box-shadow: 0 0 20px rgba(214, 181, 106, 0.6), 0 0 40px rgba(214, 181, 106, 0.3);
}

@keyframes accordionPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(214, 181, 106, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 25px rgba(214, 181, 106, 0.7), 0 0 50px rgba(214, 181, 106, 0.3);
    }
}

.result-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin-top: 1rem;
}

.result-accordion-content.active {
    max-height: 2000px;
    transition: max-height 0.6s ease-in;
}

/* Seção de CTA centralizada abaixo do vídeo e resultado */
.result-cta-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@media (max-width: 768px) {
    .result-cta-section {
        padding: 0 1rem 1.5rem 1rem;
    }
}

/* ========================================
   RESULTADO
   ======================================== */

.result-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

.result-badge {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: scaleIn 0.6s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.result-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dourado);
    margin-bottom: 1.2rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.result-description {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.result-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: var(--branco);
}

.result-description p:last-child {
    margin-bottom: 0;
}

.result-description strong {
    color: var(--dourado);
    font-weight: 700;
}

.result-highlight {
    background: rgba(214, 181, 106, 0.15);
    border-left: 4px solid var(--dourado);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.result-cta {
    margin: 0.5rem 0 1rem 0;
}

.result-cta-prompt {
    margin: 1rem 0 0.5rem 0;
    animation: bouncePrompt 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
    .result-cta-prompt {
        margin: 0.5rem 0 0.25rem 0;
    }
}

.cta-prompt-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dourado);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
    text-shadow: 0 0 20px rgba(214, 181, 106, 0.6),
                 0 0 40px rgba(214, 181, 106, 0.3);
    animation: glowText 1.5s ease-in-out infinite;
}

@keyframes bouncePrompt {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes glowText {
    0%, 100% {
        text-shadow: 0 0 20px rgba(214, 181, 106, 0.6),
                     0 0 40px rgba(214, 181, 106, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(214, 181, 106, 0.9),
                     0 0 60px rgba(214, 181, 106, 0.5),
                     0 0 80px rgba(214, 181, 106, 0.3);
    }
}

.result-cta .btn-quiz-primary {
    animation: pulseCTA 1.5s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(214, 181, 106, 0.6),
                0 0 80px rgba(214, 181, 106, 0.3),
                0 10px 30px rgba(214, 181, 106, 0.4);
    transform: scale(1);
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.result-cta .btn-quiz-primary:hover {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(214, 181, 106, 0.8),
                0 0 100px rgba(214, 181, 106, 0.5),
                0 12px 35px rgba(214, 181, 106, 0.6);
}

@keyframes pulseCTA {
    0%, 100% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(214, 181, 106, 0.6),
                    0 0 80px rgba(214, 181, 106, 0.3),
                    0 10px 30px rgba(214, 181, 106, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 50px rgba(214, 181, 106, 0.8),
                    0 0 100px rgba(214, 181, 106, 0.5),
                    0 12px 35px rgba(214, 181, 106, 0.6);
    }
}

.result-extra {
    background: linear-gradient(135deg, rgba(214, 181, 106, 0.15) 0%, rgba(214, 181, 106, 0.05) 100%);
    border: 2px solid var(--dourado);
    border-radius: 15px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    animation: pulseExtra 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(214, 181, 106, 0.3);
}

@keyframes pulseExtra {
    0%, 100% {
        box-shadow: 0 0 20px rgba(214, 181, 106, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(214, 181, 106, 0.5);
        transform: scale(1.02);
    }
}

.result-extra p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--branco);
    margin: 0;
    line-height: 1.5;
}

.result-extra strong {
    color: var(--dourado);
    font-size: 0.95rem;
    text-shadow: 0 0 10px rgba(214, 181, 106, 0.5);
}

.btn-quiz-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--branco);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-quiz-secondary:hover {
    border-color: var(--dourado);
    color: var(--dourado);
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */

.quiz-footer {
    background: #050A14;
    border-top: 1px solid rgba(214, 181, 106, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
}

.quiz-footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.quiz-footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.quiz-footer a {
    color: var(--dourado);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.quiz-footer a:hover {
    color: var(--branco);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    /* Loading - Mobile: Vídeo em cima, loading embaixo */
    .loading-wrapper {
        flex-direction: column;
        gap: 1rem;
        align-items: center; /* Centraliza itens horizontalmente */
    }
    
    .loading-video {
        max-width: 100%;
        width: 100%; /* Ocupa toda a largura disponível */
        order: -1; /* Força o vídeo a ficar no topo */
        flex-shrink: 0; /* Não permite que o vídeo encolha */
        display: flex;
        justify-content: center; /* Centraliza o conteúdo do vídeo */
    }
    
    .loading-content {
        max-width: 100%;
        width: 100%;
        order: 1;
    }
    
    .result-content-inline {
        max-width: 100%;
        width: 100%;
        order: 2;
        margin-top: -0.5rem;
    }
    
    .loading-title {
        font-size: 1.5rem;
    }
    
    .loading-message {
        font-size: 0.85rem;
    }
    
    .loading-report-card {
        padding: 1.2rem 1rem 1.4rem;
    }
    
    .logo-quiz {
        height: 55px;
    }

    .header-progress .progress-bar {
        height: 6px;
    }

    .header-progress .progress-text {
        font-size: 0.85rem;
    }

    /* Navbar não-fixa durante vídeo (mobile) */
    .quiz-header.header-unsticky {
        position: relative;
    }

    .quiz-intro-content {
        padding: 1.5rem;
        margin: 0 0.25rem;
    }

    .quiz-main-title {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .quiz-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .quiz-promise {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .promise-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Esconde bullets em mobile para dar foco ao CTA */
    .quiz-bullets {
        display: none;
    }
    
    /* CTA ganha destaque total */
    .quiz-cta-area {
        margin-top: 1rem;
    }
    
    .highlight-text {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .btn-quiz-primary {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
        animation: pulseButton 2s ease-in-out infinite;
        width: 100%;
        max-width: 100%;
        gap: 0.5rem;
    }
    
    @keyframes pulseButton {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 0 30px rgba(214, 181, 106, 0.6);
        }
        50% {
            transform: scale(1.02);
            box-shadow: 0 0 40px rgba(214, 181, 106, 0.8);
        }
    }
    
    .quiz-disclaimer {
        font-size: 0.75rem;
        margin-top: 1rem;
    }

    .question-card {
        padding: 1.8rem;
    }

    .question-text {
        font-size: 1.2rem;
    }

    .option-item {
        padding: 1.2rem;
    }

    .option-text {
        font-size: 0.95rem;
    }

    .result-title {
        font-size: 1.5rem;
    }

    .result-description p {
        font-size: 1rem;
    }

    .quiz-footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Garantir que o vídeo permaneça visível em mobile pequeno */
    .loading-wrapper {
        min-height: 600px !important;
        overflow: visible !important;
    }
    
    .loading-video {
        min-height: 200px !important;
        flex-shrink: 0 !important;
        position: relative !important;
    }
    
    .result-content-inline {
        margin-top: 1rem;
    }
    
    .loading-report-card {
        padding: 1rem 0.8rem 1.2rem;
    }
    
    .report-scan-area {
        min-height: 100px;
    }
    
    .loading-title {
        font-size: 1.3rem;
    }

    .quiz-main-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .quiz-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    /* Promise box compacta em mobile pequeno */
    .quiz-promise {
        padding: 0.75rem;
        margin: 1rem 0;
    }

    .quiz-promise .promise-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .btn-quiz-primary {
        font-size: 0.85rem;
        padding: 1rem 1.2rem;
        margin-top: 1rem;
        width: 100%;
        max-width: 100%;
        line-height: 1.3;
        gap: 0.3rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }

    .question-card {
        padding: 1.5rem;
    }

    .question-text {
        font-size: 1.1rem;
    }
}

/* ========================================
   VIDEO PIP (Picture-in-Picture)
   ======================================== */

/* Wrapper base */
.pip-wrapper {
    position: relative;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

/* Placeholder mantém o espaço quando o vídeo sai do fluxo */
.video-placeholder {
    display: none;
}

/* Botão de controle PiP */
.pip-btn {
    display: none;
    position: absolute;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    color: white;
    z-index: 10000;
    cursor: move;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.pip-wrapper.video-pip .pip-btn {
    display: flex;
}

.pip-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.pip-move {
    top: 0;
    left: auto;
    right: 100%;
    cursor: move;
}

/* ============= VIDEO PIP MOBILE ============= */
@media (max-width: 768px) {
    .pip-wrapper.video-pip {
        position: fixed !important;
        bottom: 10px;
        right: 10px;
        top: auto;
        left: auto;
        transform: none;
        width: 100px !important;
        height: auto !important;
        z-index: 9999;
        border-radius: 12px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
        border: 2px solid var(--dourado);
        transition: width 0.3s, height 0.3s, opacity 0.3s;
        animation: slideUpPipMobile 0.4s ease-out;
        overflow: visible !important;
    }

    .pip-wrapper.video-pip .pip-btn {
        display: flex;
        width: 28px;
        height: 28px;
    }

    @keyframes slideUpPipMobile {
        from {
            transform: translateY(100px) scale(0.8);
            opacity: 0;
        }
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
}

/* ============= VIDEO PIP DESKTOP ============= */
@media (min-width: 769px) {
    .pip-wrapper.video-pip {
        position: fixed !important;
        bottom: 20px;
        right: 20px;
        width: 160px !important;
        height: auto !important;
        z-index: 9999;
        border-radius: 12px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
        border: 2px solid var(--dourado);
        animation: slideUpPipDesktop 0.4s ease-out;
        min-width: 150px;
        max-width: 320px;
        overflow: visible !important;
    }

    @keyframes slideUpPipDesktop {
        from {
            transform: translateY(100px) scale(0.8);
            opacity: 0;
        }
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
}

/* Player dentro do PiP - border radius */
.pip-wrapper.video-pip vturb-smartplayer,
.pip-wrapper.video-pip iframe,
.pip-wrapper.video-pip video {
    border-radius: 10px;
    overflow: hidden;
    display: block;
}
