/* ==========================================================================
   CHECKUP ATLAS - NEXT-GEN HUD & DESIGN SYSTEM (DARK LUXURY 3D GLASS)
   Referência Original Autêntica: Plataforma 360° (129-121-38-180.sslip.io)
   Palette: Dark Obsidian #0B0E14 | Slate Charcoal #141926 | Neon Orange #FF6B00 | Solar Amber #FFB300 | White #FFFFFF
   ========================================================================== */

:root {
    --atlas-dark-bg: #0B0E14;
    --atlas-dark-surface: #141926;
    --atlas-dark-card: rgba(22, 27, 38, 0.78);
    --atlas-dark-card-hover: rgba(30, 38, 54, 0.92);
    
    --atlas-orange: #FF6B00;
    --atlas-orange-glow: rgba(255, 107, 0, 0.45);
    --atlas-amber: #FFB300;
    --atlas-amber-glow: rgba(255, 179, 0, 0.35);
    
    --atlas-border-subtle: rgba(255, 255, 255, 0.08);
    --atlas-border-light-rim: rgba(255, 255, 255, 0.22);
    
    --atlas-text-main: #FFFFFF;
    --atlas-text-muted: #94A3B8;
    --atlas-text-dim: #64748B;
    
    --atlas-radius-sm: 10px;
    --atlas-radius-md: 16px;
    --atlas-radius-lg: 22px;
    --atlas-radius-pill: 50px;
}

/* RESET E CORPO GLOBAL DARK LUXURY */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--atlas-dark-bg) !important;
    color: var(--atlas-text-main) !important;
    background-image: 
        radial-gradient(circle at 50% 15%, rgba(11, 14, 20, 0.72) 0%, rgba(11, 14, 20, 0.94) 80%),
        url('../images/atlas_dark_nebula_gold.jpg') !important;
    background-size: cover, cover !important;
    background-position: center top, center top !important;
    background-repeat: no-repeat, no-repeat !important;
    background-attachment: fixed, fixed !important;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ─── CABEÇALHO EXECUTIVO (LAYOUT 2) ─── */
.atlas-dark-header {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 28px 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.atlas-user-profile-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.atlas-user-titles h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.3px;
    margin-bottom: 3px;
}

.atlas-user-titles p {
    font-size: 0.82rem;
    color: var(--atlas-text-muted);
    font-weight: 500;
}

.atlas-pill-badge-admin {
    background: linear-gradient(135deg, #FFB300 0%, #FF8F00 100%);
    color: #0B0E14;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: var(--atlas-radius-pill);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 179, 0, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.atlas-pill-badge-mode {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #CBD5E1;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--atlas-radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.atlas-header-actions-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.atlas-btn-profile-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(0, 255, 135, 0.35);
    color: #FFFFFF;
    padding: 7px 16px;
    border-radius: var(--atlas-radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.atlas-btn-profile-pill:hover {
    background: rgba(0, 255, 135, 0.12);
    border-color: #00FF87;
    box-shadow: 0 4px 16px rgba(0, 255, 135, 0.35);
}

.atlas-notif-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 15px;
    height: 15px;
    background: #FF3B30;
    border: 2px solid var(--atlas-dark-bg);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.85);
    animation: coralPulse 1.8s infinite ease-in-out;
}

@keyframes coralPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(255, 59, 48, 0.7); }
    50% { transform: scale(1.18); box-shadow: 0 0 16px rgba(255, 59, 48, 1); }
}

.atlas-btn-logout-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94A3B8;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.atlas-btn-logout-icon:hover {
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.1);
}

/* ─── CONTAINER PRINCIPAL ─── */
.atlas-main-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 60px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* ─── BANNER 1: PAINEL ESTRATÉGICO KPIS & RELATÓRIOS BI (VERSÃO 1.3) ─── */
.atlas-banner-kpi-card {
    background: linear-gradient(135deg, rgba(16, 22, 36, 0.28) 0%, rgba(10, 14, 22, 0.36) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-top: 1.5px solid rgba(255, 255, 255, 0.28);
    border-left: 2px solid rgba(255, 107, 0, 0.55); /* Luz lateral */
    border-radius: var(--atlas-radius-lg);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    transform: translateZ(0);
    box-shadow: 
        0 14px 35px rgba(0, 0, 0, 0.45),
        inset 1px 1px 2px rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.atlas-banner-kpi-card:hover {
    transform: translateY(-3px) scale(1.01);
    background: linear-gradient(135deg, rgba(22, 30, 48, 0.45) 0%, rgba(14, 18, 28, 0.52) 100%);
    border-color: rgba(255, 107, 0, 0.6);
    border-top-color: rgba(255, 179, 0, 0.7);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 107, 0, 0.25);
}

.atlas-banner-kpi-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.atlas-banner-kpi-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF6B00 0%, #FFB300 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.35rem;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.4);
    flex-shrink: 0;
}

.atlas-banner-kpi-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}

.atlas-banner-kpi-text p {
    font-size: 0.8rem;
    color: var(--atlas-text-muted);
}

.atlas-btn-kpi-action {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8F00 100%);
    color: #FFFFFF;
    border: none;
    padding: 10px 22px;
    border-radius: var(--atlas-radius-pill);
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.atlas-btn-kpi-action:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(255, 107, 0, 0.6);
}

/* ─── BANNER 2: CLUBE DE VANTAGENS (VERSÃO 1.3) ─── */
.atlas-banner-club-card {
    background: linear-gradient(135deg, rgba(24, 16, 8, 0.26) 0%, rgba(12, 8, 4, 0.32) 100%);
    border: 1.5px solid rgba(255, 179, 0, 0.22);
    border-top: 1.5px solid rgba(255, 179, 0, 0.42);
    border-left: 2px solid rgba(255, 179, 0, 0.65); /* Luz lateral ouro */
    border-radius: var(--atlas-radius-lg);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    transform: translateZ(0);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.atlas-banner-club-card:hover {
    background: linear-gradient(135deg, rgba(32, 22, 10, 0.42) 0%, rgba(18, 12, 6, 0.48) 100%);
    border-color: rgba(255, 179, 0, 0.65);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 179, 0, 0.25);
}

.atlas-banner-club-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.atlas-banner-club-left h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFB300;
    margin-bottom: 2px;
}

.atlas-banner-club-left p {
    font-size: 0.78rem;
    color: #CBD5E1;
}

.atlas-btn-club-action {
    background: #FFB300;
    color: #0B0E14;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 8px 18px;
    border-radius: var(--atlas-radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.atlas-btn-club-action:hover {
    background: #FFC107;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.5);
}

/* ─── SEÇÃO: MÓDULOS DA PLATAFORMA 360º (CARROSSEL HORIZONTAL) ─── */
.atlas-section-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    margin-bottom: 4px;
}

.atlas-section-title-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.atlas-section-title-left h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}

.atlas-section-title-left span.icon {
    color: var(--atlas-orange);
    font-size: 1.25rem;
}

.atlas-carousel-counter {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--atlas-text-muted);
}

/* ==========================================================================
   IPOD COVER FLOW 3D CIRCULAR & INFINITE ENGINE (ESTILO APPLE IPOD CLASSIC)
   ========================================================================== */
.atlas-coverflow-wrapper {
    position: relative;
    width: 100%;
    margin: 8px 0 16px 0;
    padding-top: 36px !important; /* Espaço para o card central em 3D crescer sem cortar o topo */
    padding-bottom: 8px !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    perspective: 1100px;
    -webkit-perspective: 1100px;
}

.atlas-coverflow-stage {
    position: relative;
    width: 100%;
    height: 375px !important;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    perspective-origin: 50% 48%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible !important;
    background: radial-gradient(ellipse at 50% 86%, rgba(255, 179, 0, 0.08) 0%, rgba(13, 17, 23, 0) 70%);
}

/* Glassy Navigation Chevrons */
.coverflow-nav-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 26, 38, 0.75);
    border: 1.5px solid rgba(255, 215, 0, 0.40);
    color: #FFB300;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 120;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.coverflow-nav-btn:hover {
    background: rgba(255, 179, 0, 0.25);
    border-color: #FFD54F;
    color: #FFF;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.55);
}

.coverflow-nav-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.coverflow-nav-btn.prev {
    left: 8px;
}

.coverflow-nav-btn.next {
    right: 8px;
}

/* Os 9 Cards no Estágio 3D com Efeito Espelho / Reflexo Cover Flow */
.atlas-coverflow-stage .atlas-dark-module-card {
    position: absolute;
    top: 25px !important; /* Espaço superior garantido: nunca é cortado pelo topo */
    left: 50%;
    margin-left: -125px !important; /* Centralizado horizontalmente */
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    height: 310px !important;
    box-sizing: border-box !important;
    transform-origin: 50% 50%;
    cursor: pointer;
    /* SEM TRANSITION CSS NO TRANSFORM: Evita jank e stutter com o motor JS de física */
    transition: filter 0.2s ease;
    will-change: transform, opacity, filter;
    -webkit-box-reflect: below 6px linear-gradient(to bottom, transparent 65%, rgba(0, 0, 0, 0.45) 100%);
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-tap-highlight-color: transparent;
    display: flex;
}

/* O Chassis 3D interno recebe todas as propriedades visuais, bordas, vidro */
.atlas-coverflow-stage .atlas-card-3d-chassis {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 16px;
    background: rgba(12, 16, 26, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-top: 1.5px solid rgba(255, 215, 0, 0.50);
    border-left: 2.5px solid rgba(255, 179, 0, 0.75);
    border-radius: var(--atlas-radius-lg);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 
        0 14px 35px rgba(0, 0, 0, 0.55),
        inset 1px 1px 2px rgba(255, 255, 255, 0.18),
        inset -1px -1px 2px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Arte 3D Central do Módulo no Card (Estilo Capa de Álbum do iPod) */
.atlas-coverflow-art {
    width: 100%;
    height: 175px;
    border-radius: 14px;
    overflow: hidden;
    margin: 8px 0;
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 179, 0, 0.15);
    position: relative;
    background: #080B12;
}

.atlas-coverflow-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

/* Card Ativo Central no Coverflow: Destaque Dourado */
.atlas-coverflow-stage .atlas-dark-module-card.coverflow-center-card .atlas-card-3d-chassis {
    border-color: rgba(255, 179, 0, 0.85) !important;
    border-top-color: #FFE082 !important;
    border-left-color: #FFB300 !important;
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.75),
        0 0 30px rgba(255, 179, 0, 0.35),
        inset 1px 1px 2px rgba(255, 255, 255, 0.28) !important;
}

/* Dynamic iPod Album Info Dock */
.ipod-coverflow-info-dock {
    text-align: center;
    padding: 10px 16px 4px 16px;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ipod-coverflow-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    /* Gradiente com a parte inferior em ouro âmbar vibrante e encorpado */
    background: linear-gradient(180deg, #FFFFFF 15%, #FFCA28 58%, #FF8F00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255, 143, 0, 0.45));
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ipod-coverflow-subtitle {
    margin: 5px 0 0 0;
    font-size: 0.84rem;
    color: #E2E8F0;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    transition: opacity 0.2s ease;
}

/* Dots Clicáveis Aprimorados com Hit Area */
.atlas-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    padding: 8px 0 14px 0;
}

.atlas-dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.atlas-dot .dot-hit {
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -10px;
    right: -10px;
}

.atlas-dot:hover {
    background: rgba(255, 179, 0, 0.6);
    border-color: #FFB300;
    transform: scale(1.3);
}

.atlas-dot.active {
    width: 26px;
    border-radius: 12px;
    background: linear-gradient(90deg, #FF9000, #FFB300);
    border-color: #FFB300;
    box-shadow: 0 0 14px rgba(255, 179, 0, 0.65);
}

/* ==========================================================================
   TRANSIÇÃO DE CLIQUE: FLIP CARD 180° COM EXPANSÃO DE ZOOM (EXCLUSIVO HOME)
   ========================================================================== */
@keyframes atlasHomeFlipCardZoom {
    0% {
        transform: translate3d(0, 0, 35px) rotateY(0deg) scale(1.05);
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 179, 0, 0.3);
        filter: brightness(1.15);
    }
    45% {
        transform: translate3d(0, 0, 160px) rotateY(90deg) scale(1.24);
        box-shadow: 0 30px 75px rgba(255, 179, 0, 0.8), 0 0 55px rgba(255, 107, 0, 0.7);
        border-color: #FFB300;
        filter: brightness(1.45);
    }
    100% {
        transform: translate3d(0, 0, 280px) rotateY(180deg) scale(1.42);
        box-shadow: 0 45px 100px rgba(255, 179, 0, 0.95), 0 0 80px rgba(255, 107, 0, 0.85);
        filter: brightness(1.6);
        opacity: 0.95;
    }
}

.atlas-dark-module-card.atlas-flip-zoom-active .atlas-card-3d-chassis {
    animation: atlasHomeFlipCardZoom 0.42s cubic-bezier(0.2, 0.85, 0.32, 1.2) forwards !important;
    pointer-events: none !important;
}

.atlas-dark-module-card.atlas-flip-zoom-active {
    z-index: 99999 !important;
    pointer-events: none !important;
}

/* Animação de Entrada Orgânica do Modal (Shared Element Expansion) */
@keyframes atlasModalSharedZoomEnter {
    0% {
        opacity: 0;
        transform: scale(0.82) rotateY(-12deg);
        filter: blur(8px);
    }
    60% {
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
        filter: blur(0px);
    }
}

.atlas-zoom-modal.active .atlas-zoom-window {
    animation: atlasModalSharedZoomEnter 0.36s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ─── MARCA D'ÁGUA / PAPEL DE PAREDE TEMÁTICO INTERNO ─── */
.atlas-card-3d-chassis::before,
.atlas-dark-module-card::before {
    content: "";
    position: absolute;
    right: -8px;
    bottom: -10px;
    width: 175px;
    height: 175px;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 0.16;
    filter: drop-shadow(0 0 10px rgba(255, 179, 0, 0.35));
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

.atlas-dark-module-card:hover .atlas-card-3d-chassis::before,
.atlas-dark-module-card:hover::before {
    opacity: 0.35;
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 0 18px rgba(255, 179, 0, 0.7));
}

/* 9 Papeis de Parede Exclusivos para Cada Seção */
.card-mod-telemedicina .atlas-card-3d-chassis::before, .card-mod-telemedicina::before    { background-image: url('../images/watermarks/watermark_telemedicina.svg'); }
.card-mod-personal .atlas-card-3d-chassis::before, .card-mod-personal::before            { background-image: url('../images/watermarks/watermark_personal.svg'); }
.card-mod-nutricao .atlas-card-3d-chassis::before, .card-mod-nutricao::before            { background-image: url('../images/watermarks/watermark_nutricao.svg'); }
.card-mod-psicologo .atlas-card-3d-chassis::before, .card-mod-psicologo::before          { background-image: url('../images/watermarks/watermark_psicologo.svg'); }
.card-mod-fisioterapia .atlas-card-3d-chassis::before, .card-mod-fisioterapia::before    { background-image: url('../images/watermarks/watermark_fisioterapia.svg'); }
.card-mod-estudantil .atlas-card-3d-chassis::before, .card-mod-estudantil::before        { background-image: url('../images/watermarks/watermark_educacional.svg'); }
.card-mod-educacional .atlas-card-3d-chassis::before, .card-mod-educacional::before       { background-image: url('../images/watermarks/watermark_educacional.svg'); }
.card-mod-clube-descontos .atlas-card-3d-chassis::before, .card-mod-clube-descontos::before { background-image: url('../images/watermarks/watermark_clube_descontos.svg'); }
.card-mod-relatorios .atlas-card-3d-chassis::before, .card-mod-relatorios::before        { background-image: url('../images/watermarks/watermark_relatorios.svg'); }
.card-mod-suporte .atlas-card-3d-chassis::before, .card-mod-suporte::before              { background-image: url('../images/watermarks/watermark_suporte.svg'); }

/* Garantir que o Conteúdo fique em camada superior à Marca d'Água */
.atlas-card-content-wrap,
.atlas-card-bottom-link {
    position: relative;
    z-index: 3;
}

/* Faixa de Reflexo Especular que Cruza o Card de Vidro */
.atlas-card-3d-chassis::after,
.atlas-dark-module-card::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -130%;
    width: 240%;
    height: 240%;
    background: linear-gradient(65deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
    transform: rotate(25deg);
    transition: left 0.75s ease, opacity 0.5s ease;
    pointer-events: none;
    opacity: 0;
    z-index: 4;
}

/* Card Ativo (Destaque Inicial no Carrossel) */
.atlas-dark-module-card.active-module .atlas-card-3d-chassis,
.atlas-dark-module-card.active-module {
    background: rgba(18, 24, 38, 0.32) !important;
    border-color: var(--atlas-orange) !important;
    border-top-color: #FFD54F !important;
    border-left-color: #FFB300 !important;
    box-shadow: 
        0 18px 45px rgba(255, 107, 0, 0.38),
        0 0 25px rgba(255, 179, 0, 0.22),
        inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.3) !important;
}

/* ─── HOVER: REALCE INTENSO DE VIDRO, COR E HALO NEON (SEM QUEBRAR O TRANSFORM 3D) ─── */
.atlas-dark-module-card:hover .atlas-card-3d-chassis,
.atlas-dark-module-card:hover {
    background: rgba(20, 28, 46, 0.42);
    border-color: rgba(255, 179, 0, 0.8) !important;
    border-top-color: #FFE082 !important;
    border-left-color: #FFB300 !important;
    box-shadow: 
        0 26px 55px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(255, 179, 0, 0.35),
        inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.45) !important;
}

.atlas-dark-module-card:hover .atlas-card-3d-chassis::after,
.atlas-dark-module-card:hover::after {
    left: 130%;
    opacity: 1;
}

.atlas-dark-module-card:hover .atlas-card-top-icon {
    transform: scale(1.14) rotate(4deg);
    border-color: #FFB300;
    box-shadow: 0 0 18px rgba(255, 179, 0, 0.55);
}

.atlas-dark-module-card:hover .atlas-card-bottom-link {
    color: #FFB300;
    transform: translateX(4px);
}

/* Estrutura Interna do Card */
.atlas-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.atlas-card-top-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.atlas-card-top-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.atlas-card-badge-status {
    background: #FF6B00;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: var(--atlas-radius-pill);
    text-transform: uppercase;
}

.atlas-card-info-middle h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.atlas-card-info-middle p {
    font-size: 0.82rem;
    color: var(--atlas-text-muted);
    line-height: 1.45;
    margin-bottom: 22px;
}

.atlas-card-bottom-link {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--atlas-orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

/* PAGINAÇÃO DE DOTS DO CARROSSEL */
.atlas-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 14px;
}

.atlas-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
}

.atlas-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--atlas-orange);
    box-shadow: 0 0 10px var(--atlas-orange-glow);
}

/* ─── SEÇÃO: RELATO DE DESCONFORTOS OU LIMITAÇÕES FÍSICAS (VERSÃO 1.3) ─── */
.atlas-discomfort-card {
    background: linear-gradient(135deg, rgba(16, 20, 30, 0.26) 0%, rgba(10, 12, 18, 0.32) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-top: 1.5px solid rgba(255, 255, 255, 0.22);
    border-left: 2.5px solid rgba(255, 107, 0, 0.5);
    border-radius: var(--atlas-radius-lg);
    padding: 22px 26px;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    transform: translateZ(0);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.atlas-discomfort-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.atlas-discomfort-header h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #FFFFFF;
}

.atlas-discomfort-header span.icon {
    color: var(--atlas-orange);
    font-size: 1.2rem;
}

.atlas-discomfort-card p {
    font-size: 0.84rem;
    color: var(--atlas-text-muted);
    line-height: 1.5;
}

.atlas-discomfort-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.atlas-discomfort-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: var(--atlas-radius-pill);
    font-size: 0.76rem;
    color: #E2E8F0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.atlas-discomfort-tag:hover {
    border-color: var(--atlas-orange);
    background: rgba(255, 107, 0, 0.12);
    color: #FFB300;
}

/* ─── MODAL ZOOM WINDOW ESCURO (ABERTURA COM WALLPAPER TEMÁTICO) ─── */
.atlas-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07090E;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.atlas-zoom-modal.active {
    opacity: 1;
    visibility: visible;
}

.atlas-zoom-window {
    position: relative;
    width: 92vw;
    max-width: 900px;
    height: 86vh;
    max-height: 740px;
    background: #0B0E16 !important;
    backdrop-filter: blur(30px) saturate(180%);
    border: 1.5px solid rgba(255, 107, 0, 0.4);
    border-top: 2px solid rgba(255, 214, 0, 0.6);
    border-radius: var(--atlas-radius-lg);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 107, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-zoom-modal.active .atlas-zoom-window {
    transform: scale(1) translateY(0);
}

.atlas-modal-wallpaper {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.atlas-modal-wallpaper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 480px;
    height: auto;
    max-height: 60%;
    object-fit: contain;
    opacity: 0.18;
    filter: drop-shadow(0 0 25px rgba(255, 144, 0, 0.25));
    pointer-events: none;
}

.atlas-modal-wallpaper-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(18, 23, 34, 0.7) 0%, rgba(11, 14, 20, 0.95) 100%);
}

.atlas-zoom-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1.5px solid rgba(255, 107, 0, 0.2);
}

.atlas-zoom-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.atlas-zoom-title-group h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
}

.atlas-zoom-title-group span {
    font-size: 0.8rem;
    color: var(--atlas-orange);
    font-weight: 700;
    text-transform: uppercase;
}

.atlas-btn-close-zoom {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.atlas-btn-close-zoom:hover {
    background: #FF6B00;
    color: #FFFFFF;
    border-color: #FF6B00;
    transform: rotate(90deg);
}

.atlas-zoom-body {
    position: relative;
    z-index: 5;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.atlas-zoom-hero-row {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}

.atlas-zoom-hero-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
    flex-shrink: 0;
    background: #0B0E14;
}

.atlas-zoom-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atlas-zoom-desc-box {
    flex: 1;
    min-width: 240px;
}

.atlas-zoom-desc-box h4 {
    font-size: 1.1rem;
    color: #FFB300;
    font-weight: 800;
    margin-bottom: 8px;
}

.atlas-zoom-desc-box p {
    font-size: 0.88rem;
    color: #CBD5E1;
    line-height: 1.5;
}

.atlas-zoom-submodules-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.atlas-zoom-submodule-dark-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--atlas-orange);
    border-radius: var(--atlas-radius-md);
    padding: 14px 18px;
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease;
}

.atlas-zoom-submodule-dark-btn:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: var(--atlas-orange);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
}

.atlas-zoom-footer-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.atlas-btn-action-open {
    background: linear-gradient(135deg, #FF6B00 0%, #FFB300 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 12px 28px;
    border-radius: var(--atlas-radius-pill);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px var(--atlas-orange-glow);
    transition: all 0.25s ease;
}

.atlas-btn-action-open:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 0, 0.55);
}

.atlas-btn-action-cancel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #CBD5E1;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 22px;
    border-radius: var(--atlas-radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

.atlas-btn-action-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

/* ==========================================================================
   DOCK DE MINI-CARDS 3D VITRIFICADOS (SUB-ABAS INTERNAS - VERSÃO 1.4)
   ========================================================================== */
.atlas-subtabs-dock {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 4px 14px 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 179, 0, 0.4) transparent;
    -webkit-overflow-scrolling: touch;
}

.atlas-subtabs-dock::-webkit-scrollbar {
    height: 4px;
}

.atlas-subtabs-dock::-webkit-scrollbar-thumb {
    background: rgba(255, 179, 0, 0.4);
    border-radius: 4px;
}

.atlas-subtab-mini-card {
    position: relative;
    min-width: 110px;
    max-width: 135px;
    flex: 1 0 auto;
    background: rgba(14, 18, 28, 0.35); /* 80% translúcido */
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 215, 0, 0.4); /* Chanfro superior de luz ouro */
    border-radius: 14px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.atlas-subtab-mini-card:hover {
    transform: translateY(-3px) scale(1.03);
    background: rgba(24, 32, 50, 0.55);
    border-color: rgba(255, 179, 0, 0.6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 179, 0, 0.25);
}

.atlas-subtab-mini-card.active {
    background: rgba(28, 36, 56, 0.65) !important;
    border-color: #FFB300 !important;
    border-top-color: #FFE082 !important;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35), 0 0 16px rgba(255, 179, 0, 0.3) !important;
}

.atlas-subtab-mini-card.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #FF6B00, #FFB300);
    border-radius: 3px;
    box-shadow: 0 0 8px #FFB300;
}

.atlas-subtab-mini-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.atlas-subtab-mini-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atlas-subtab-mini-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #CBD5E1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: -0.2px;
}

.atlas-subtab-mini-card.active .atlas-subtab-mini-label {
    color: #FFB300;
    font-weight: 800;
}

/* ─── FICHA DE EXERCÍCIOS OFICIAL (PERSONAL TRAINER) ─── */
.trainer-sheet-card {
    background: rgba(255, 144, 0, 0.05);
    border: 1px solid rgba(255, 144, 0, 0.28);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(16px);
}

.trainer-sheet-greeting {
    color: #FF9000;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trainer-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 16px;
    margin-bottom: 14px;
}

.trainer-meta-item {
    font-size: 0.78rem;
    color: #E2E8F0;
    line-height: 1.4;
}

.trainer-meta-item strong {
    color: #FAD93C;
    font-weight: 800;
}

.trainer-alert-box {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.78rem;
    color: #4ADE80;
    margin-bottom: 16px;
    line-height: 1.45;
}

.trainer-format-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.trainer-format-options {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.trainer-format-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94A3B8;
    margin-right: 4px;
}

.trainer-format-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trainer-format-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.trainer-format-btn.active {
    background: rgba(255, 144, 0, 0.2);
    border-color: #FF9000;
    color: #FF9000;
    font-weight: 800;
}

.trainer-whatsapp-btn {
    background: #22C55E;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
    transition: all 0.2s ease;
}

.trainer-whatsapp-btn:hover {
    background: #16A34A;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.trainer-division-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.trainer-division-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trainer-division-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.trainer-division-tab.active {
    background: rgba(255, 144, 0, 0.25);
    border-color: #FF9000;
    color: #FFB300;
    font-weight: 800;
}

/* Lista de Exercícios */
.exercise-list-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exercise-item-card {
    background: rgba(18, 24, 36, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
}

.exercise-item-card:hover {
    border-color: rgba(255, 179, 0, 0.4);
    background: rgba(24, 32, 50, 0.6);
}

.exercise-item-info h5 {
    font-size: 0.88rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 3px;
}

.exercise-item-info p {
    font-size: 0.76rem;
    color: #94A3B8;
}

.exercise-item-badge {
    background: rgba(255, 107, 0, 0.18);
    color: #FFB300;
    border: 1px solid rgba(255, 107, 0, 0.35);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

/* RESPONSIVIDADE MOBILE & TABLET */
@media (max-width: 768px) {
    .atlas-dark-header {
        padding: 16px;
    }
    .atlas-main-content {
        padding: 0 16px 40px 16px;
        gap: 16px;
    }
    .atlas-banner-kpi-card, .atlas-banner-club-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .atlas-btn-kpi-action, .atlas-btn-club-action {
        width: 100%;
        justify-content: center;
    }
    .atlas-dark-module-card {
        width: 275px !important;
        min-width: 275px !important;
        max-width: 275px !important;
        padding: 20px 16px;
    }
}


/* ========================================================
   BARRA SUPERIOR DO RESPONSIVE LAB 360° (HEADER FIXO)
   ======================================================== */
.sim-control-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(8, 10, 16, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1.5px solid rgba(255, 179, 0, 0.35);
    padding: 0 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
    box-sizing: border-box;
}

.sim-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 12px;
}

.sim-badge {
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: #FFB300;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sim-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 8px #22C55E;
}

.sim-device-selectors {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sim-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94A3B8;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sim-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.sim-btn.active {
    background: linear-gradient(135deg, rgba(255, 144, 0, 0.3), rgba(255, 179, 0, 0.18));
    border-color: #FFB300;
    color: #FFB300;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(255, 179, 0, 0.25);
}

.sim-zoom-selectors {
    display: flex;
    align-items: center;
    gap: 4px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 10px;
}

.sim-label {
    font-size: 0.66rem;
    color: #64748B;
    font-weight: 700;
    margin-right: 2px;
}

.sim-zoom-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sim-zoom-btn.active {
    background: #FFB300;
    color: #0A0E17;
    border-color: #FFB300;
    font-weight: 800;
}

/* ==========================================================================
   LAYOUT RESPONSIVO NATIVO MULTI-PLATAFORMA (IOS SAFARI, ANDROID & DESKTOP)
   Simulador de moldura artificial desativado permanentemente.
   ========================================================================== */
.sim-control-bar,
.device-stage-wrapper,
.device-chassis,
.dynamic-island,
.device-punch-hole,
.ios-home-indicator {
    display: none !important;
}

.atlas-native-app-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    /* Suporte a Safe Area do iPhone (Notch / Dynamic Island / Status Bar) - Rebaixado milímetros extras para proteção total */
    padding-top: max(env(safe-area-inset-top, 0px), 36px) !important;
    padding-bottom: 40px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Botão de Fechamento Sticky Flutuante Discreto que Acompanha a Rolagem */
.atlas-sticky-close-btn {
    position: sticky !important;
    top: 10px !important;
    margin-left: auto !important;
    margin-right: 4px !important;
    margin-bottom: -36px !important;
    z-index: 10000 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(18, 24, 38, 0.88) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    color: #CBD5E1 !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
.atlas-sticky-close-btn:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: #EF4444 !important;
    color: #FFF !important;
    transform: scale(1.08) !important;
}
.atlas-sticky-close-btn:active {
    transform: scale(0.92) !important;
}

/* Durante a Splash Screen: A aplicação permanece 100% invisível (elimina qualquer prelúdio) */
body.splash-active {
    overflow: hidden !important;
    height: 100vh !important;
    height: 100dvh !important;
}

body.splash-active .atlas-native-app-container {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Modais Nativos Flutuantes em Tela Cheia */
.atlas-zoom-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 100000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    background: #07090E !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-sizing: border-box;
}

.atlas-zoom-modal.active {
    display: flex !important;
}

.atlas-zoom-window {
    position: relative !important;
    width: 92% !important;
    max-width: 860px !important;
    max-height: 90vh !important;
    border-radius: 24px !important;
    border: 1.5px solid rgba(255, 179, 0, 0.4) !important;
    border-top: 2px solid #FFE082 !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 179, 0, 0.2) !important;
    padding: 30px 24px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    background: rgba(11, 14, 22, 0.98) !important;
    scrollbar-width: thin;
}

@media (max-width: 768px) {
    .atlas-native-app-container {
        /* Deslocamento completo para iPhone 14/15/16 Pro Max / Android (Dynamic Island + Câmera Frontal Punch-hole + Barra Superior) */
        padding-top: calc(max(env(safe-area-inset-top, 0px), 64px) + 20px) !important;
        padding-bottom: 24px;
    }

    .atlas-dark-header {
        padding: 16px 14px 10px 14px;
    }

    .atlas-zoom-window {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        border-radius: 0 !important;
        border: none !important;
        padding: 24px 14px 40px 14px !important;
    }
}

/* ==========================================================================
   MODAL DE AUTENTICAÇÃO DARK LUXURY (CADASTRO DO ABSOLUTO ZERO & LOGIN)
   ========================================================================== */
.atlas-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    background: rgba(7, 9, 14, 0.92);
}

.atlas-auth-backdrop {
    position: absolute;
    inset: 0;
}

.atlas-auth-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(15, 20, 30, 0.98);
    border: 1.5px solid rgba(255, 179, 0, 0.55);
    border-top: 2.5px solid #FFE082;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.95),
        0 0 45px rgba(255, 179, 0, 0.22),
        inset 1px 1px 2px rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
    z-index: 2;
    animation: atlasModalSharedZoomEnter 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.atlas-auth-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.atlas-auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.atlas-auth-logo h2 {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #FFFFFF;
}

.atlas-auth-sub {
    font-size: 0.78rem;
    color: #94A3B8;
    font-weight: 500;
}

.atlas-auth-close-btn {
    position: absolute;
    top: -6px;
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #CBD5E1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.atlas-auth-close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}

.atlas-auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
}

.atlas-auth-tab {
    flex: 1;
    padding: 10px 8px;
    background: transparent;
    border: none;
    border-radius: 9px;
    color: #94A3B8;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.atlas-auth-tab.active {
    background: linear-gradient(135deg, #FF6B00 0%, #FFB300 100%);
    color: #0B0E14;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(255, 179, 0, 0.35);
}

.atlas-auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.atlas-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.atlas-form-group label {
    font-size: 0.74rem;
    font-weight: 700;
    color: #CBD5E1;
    letter-spacing: 0.3px;
}

.atlas-form-group input {
    width: 100%;
    background: rgba(10, 14, 22, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 12px 14px;
    color: #FFFFFF;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.atlas-form-group input:focus {
    border-color: #FFB300;
    box-shadow: 0 0 12px rgba(255, 179, 0, 0.3);
    background: rgba(12, 18, 30, 0.95);
}

.atlas-btn-auth-submit {
    background: linear-gradient(135deg, #FF6B00 0%, #FFB300 100%);
    color: #0B0E14;
    border: none;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 0.88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.atlas-btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.55);
}

.atlas-btn-auth-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ========================================================
   HARMONIZAÇÃO VISUAL, FONTES E ENQUADRAMENTO RESPONSIVO
   ======================================================== */

/* Header Mobile */
.device-stage-wrapper.mode-iphone14 .atlas-dark-header,
.device-stage-wrapper.mode-android .atlas-dark-header {
    padding: 12px 14px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 520px) {
    .atlas-dark-header {
        padding: 12px 14px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .atlas-user-titles h1 {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .atlas-user-titles p {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .atlas-pill-badge-admin,
    .atlas-pill-badge-mode {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .atlas-btn-profile-pill {
        padding: 5px 10px;
        font-size: 0.72rem;
    }

    .atlas-main-content {
        padding: 0 14px 30px 14px;
        gap: 12px;
    }

    /* Banners no Mobile */
    .atlas-banner-kpi-card, 
    .atlas-banner-club-card {
        padding: 14px;
        border-radius: 14px;
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .atlas-banner-kpi-text h3,
    .atlas-banner-club-text h3 {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .atlas-banner-kpi-text p,
    .atlas-banner-club-text p {
        font-size: 0.74rem;
        line-height: 1.4;
    }

    .atlas-btn-kpi-action, 
    .atlas-btn-club-action {
        width: 100%;
        justify-content: center;
        padding: 10px;
        font-size: 0.8rem;
    }

    /* Carrossel Legado no Mobile (não afeta o Cover Flow 3D) */
    .atlas-modules-carousel:not(.atlas-coverflow-stage) {
        padding: 4px 4px 14px 4px;
        gap: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .atlas-modules-carousel:not(.atlas-coverflow-stage) .atlas-dark-module-card {
        width: 275px !important;
        min-width: 275px !important;
        max-width: 275px !important;
        padding: 18px 14px;
        scroll-snap-align: center;
        border-radius: 16px;
    }

    .atlas-coverflow-stage .atlas-dark-module-card {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        margin-left: -125px !important;
        height: 310px !important;
        padding: 0 !important;
    }

    .atlas-module-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .atlas-module-desc {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .atlas-module-avatar-3d {
        width: 100px;
        height: 100px;
    }
}

/* ========================================================
   CARDS DE EXERCÍCIOS E SUB-ABAS (SEM TEXTOS ESPREMIDOS)
   ======================================================== */
.exercise-list-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.exercise-item-card {
    background: rgba(18, 24, 36, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.exercise-item-card:hover {
    border-color: rgba(255, 179, 0, 0.4);
    background: rgba(24, 32, 50, 0.7);
}

.exercise-item-info {
    width: 100%;
}

.exercise-item-info h5 {
    font-size: 0.88rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.35;
    margin-bottom: 3px;
    word-break: normal;
}

.exercise-item-info p {
    font-size: 0.74rem;
    color: #94A3B8;
    line-height: 1.4;
}

.exercise-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 2px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.exercise-item-badge {
    background: rgba(255, 107, 0, 0.18);
    color: #FFB300;
    border: 1px solid rgba(255, 107, 0, 0.35);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.exercise-item-rest {
    font-size: 0.74rem;
    color: #FFB300;
    font-weight: 700;
    white-space: nowrap;
}

/* Ficha do Treinador */
.trainer-sheet-card {
    background: rgba(255, 144, 0, 0.05);
    border: 1px solid rgba(255, 144, 0, 0.25);
    border-radius: 14px;
    padding: 14px 12px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.trainer-sheet-greeting {
    color: #FF9000;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 144, 0, 0.2);
    text-align: left;
}

.trainer-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.trainer-meta-item {
    font-size: 0.78rem;
    color: #E2E8F0;
    line-height: 1.45;
    word-break: break-word;
}

.trainer-meta-item strong {
    color: #FFB300;
}

.trainer-alert-box {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.76rem;
    color: #4ADE80;
    line-height: 1.45;
    margin-bottom: 12px;
}

.trainer-format-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
    width: 100%;
}

.trainer-format-options {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    width: 100%;
}

.trainer-format-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
    flex: 1 1 auto;
    text-align: center;
}

.trainer-format-btn.active {
    background: #FF9000;
    color: #000;
    font-weight: 800;
    border-color: #FF9000;
}

.trainer-whatsapp-btn {
    background: #22C55E;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.trainer-division-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    flex-wrap: nowrap;
    width: 100%;
}

.trainer-division-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
}

.trainer-division-tab.active {
    background: #FF9000;
    color: #000000;
    font-weight: 800;
    border-color: #FF9000;
}

/* Dock de Mini-Cards 3D */
.atlas-subtabs-dock {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 12px 2px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.atlas-subtab-mini-card {
    position: relative;
    min-width: 90px;
    max-width: 105px;
    flex: 0 0 auto;
    background: rgba(14, 18, 28, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.atlas-subtab-mini-card.active {
    border-color: #FFB300;
    background: rgba(255, 179, 0, 0.15);
    box-shadow: 0 0 15px rgba(255, 179, 0, 0.3), inset 0 0 10px rgba(255, 179, 0, 0.1);
}

.atlas-subtab-mini-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.atlas-subtab-mini-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atlas-subtab-mini-label {
    font-size: 0.66rem;
    font-weight: 700;
    color: #CBD5E1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
}

.atlas-subtab-mini-card.active .atlas-subtab-mini-label {
    color: #FFB300;
    font-weight: 800;
}

/* Botões do Rodapé do Modal */
.atlas-zoom-footer-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-bottom: 6px;
    width: 100%;
    box-sizing: border-box;
}

.atlas-btn-action-open {
    flex: 2;
    background: linear-gradient(135deg, #FF9000 0%, #FF5500 100%);
    border: none;
    color: #000000;
    font-weight: 900;
    font-size: 0.82rem;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 144, 0, 0.3);
}

.atlas-btn-action-cancel {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
}


/* ========================================================
   CARROSSEL INTERATIVO: DRAG-TO-SCROLL & DOTS CLICÁVEIS
   ======================================================== */
.atlas-360-carousel-viewport,
.atlas-subtabs-dock {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.atlas-360-carousel-viewport.is-dragging,
.atlas-subtabs-dock.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
}

.atlas-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 6px 0;
}

.atlas-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-dot:hover {
    background: rgba(255, 179, 0, 0.6);
    border-color: #FFB300;
    transform: scale(1.2);
}

.atlas-dot.active {
    width: 24px;
    border-radius: 12px;
    background: linear-gradient(90deg, #FF9000, #FFB300);
    border-color: #FFB300;
    box-shadow: 0 0 10px rgba(255, 179, 0, 0.5);
}

/* Checkbox / Botão de Exercício Concluído */
.exercise-check-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94A3B8;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.exercise-check-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
}

.exercise-check-btn.completed {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22C55E;
    color: #22C55E;
    font-weight: 800;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.exercise-item-card.completed {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.05);
}

/* ─── ESTILOS VITRIFICADOS & ALINHAMENTO PRO ─── */
.quick-chat-widget-pro {
    background: rgba(14, 18, 27, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    margin-top: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.quick-chat-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFB300;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.quick-chat-bubble {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    color: #CBD5E1;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.quick-chat-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(7, 9, 14, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 6px 14px;
}
.quick-chat-input-row input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 0.85rem;
}
.quick-chat-input-row input::placeholder {
    color: #64748B;
}
.quick-chat-btn-mic {
    background: transparent;
    border: none;
    font-size: 1.15rem;
    cursor: pointer;
}
.quick-chat-btn-send {
    background: linear-gradient(135deg, #FF9000, #FF5E00);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    color: #FFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.workout-table-wrap-pro {
    width: 100%;
    overflow-x: auto;
    background: rgba(14, 18, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 20px;
}
.workout-table-pro {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-size: 0.84rem;
}
.workout-table-pro th {
    background: rgba(255, 255, 255, 0.04);
    color: #FFB300;
    text-align: left;
    padding: 12px 14px;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.workout-table-pro td {
    padding: 12px 14px;
    color: #E2E8F0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}
.workout-ord-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 144, 0, 0.15);
    border: 1px solid rgba(255, 144, 0, 0.3);
    color: #FFB300;
    font-weight: 800;
    border-radius: 6px;
    font-size: 0.8rem;
}
.workout-load-input {
    width: 70px;
    background: rgba(7, 9, 14, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 6px 8px;
    color: #FFF;
    font-size: 0.82rem;
    text-align: center;
    outline: none;
}
.workout-check-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 900;
    font-size: 0.9rem;
}
.workout-check-circle.completed {
    background: #22C55E;
    border-color: #22C55E;
    color: #FFF;
}
.accordion-item-pro {
    background: rgba(14, 18, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.accordion-header-pro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    user-select: none;
}
.accordion-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #FFF;
}
.accordion-step-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FF9000;
    color: #FFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
}
.accordion-body-pro {
    padding: 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.pro-option-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(7, 9, 14, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    color: #E2E8F0;
    font-size: 0.82rem;
}
.pro-option-box.selected {
    background: rgba(255, 144, 0, 0.12);
    border-color: #FF9000;
    color: #FFF;
}
.info-tooltip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 179, 0, 0.15);
    color: #FFB300;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
    border: 1px solid rgba(255, 179, 0, 0.3);
    margin-left: 4px;
}

/* PRO CHIPS & SELECTION BADGES */
.pro-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.78rem;
    color: #CBD5E1;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.pro-chip:hover {
    border-color: rgba(255, 144, 0, 0.4);
    color: #FFF;
}

.pro-chip.selected {
    background: rgba(255, 144, 0, 0.16);
    border-color: #FF9000;
    color: #FF9000;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(255, 144, 0, 0.2);
}

/* WORKOUT RESPONSIVE CARDS (MOBILE & DESKTOP) */
.workout-cards-container-pro {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.workout-item-card-pro {
    background: rgba(18, 24, 36, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.workout-item-card-pro:hover {
    border-color: rgba(255, 144, 0, 0.35);
    background: rgba(22, 29, 44, 0.75);
}

.workout-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
}

.workout-card-title-col {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.workout-card-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

.workout-card-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
}

.workout-detail-pill {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.workout-detail-pill .label {
    font-size: 0.68rem;
    color: #94A3B8;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.workout-detail-pill .val {
    font-size: 0.84rem;
    color: #FFFFFF;
    font-weight: 700;
}

.workout-play-btn {
    background: rgba(255, 144, 0, 0.12);
    border: 1px solid rgba(255, 144, 0, 0.3);
    color: #FF9000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    width: fit-content;
    transition: all 0.2s ease;
}

.workout-play-btn:hover {
    background: #FF9000;
    color: #000;
}


/* ─── CONTINUOUS SPEECH RECORDING & CHIP STYLES (360° INTELLIGENCE) ─── */
@keyframes recordingPulseAnim {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.recording-pulse {
    animation: recordingPulseAnim 1.2s infinite ease-in-out !important;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: #FFFFFF !important;
    border-color: #F87171 !important;
}

.pro-chip {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.pro-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 179, 0, 0.5) !important;
}

.pro-chip.active, .pro-chip.selected {
    background: rgba(255, 179, 0, 0.22) !important;
    border-color: #FFB300 !important;
    color: #FFB300 !important;
    box-shadow: 0 0 14px rgba(255, 179, 0, 0.3) !important;
}


/* ─── DÚVIDAS RÁPIDAS & LETREIRO DINÂMICO DESLIZANTE (MARQUEE) ─── */
@keyframes marqueeTicker {
    0% {
        transform: translateX(0%);
    }
    15% {
        transform: translateX(0%);
    }
    85% {
        transform: translateX(-42%);
    }
    100% {
        transform: translateX(0%);
    }
}

.quick-chat-marquee-wrap {
    transition: opacity 0.25s ease;
}

.quick-chat-marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeTicker 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.quick-chat-marquee-text:hover {
    animation-play-state: paused;
}

/* ─── BOTÕES DA ESCALA DE BORG (PSE 1-10) ─── */
.pse-btn {
    cursor: pointer;
    user-select: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pse-btn:hover {
    transform: scale(1.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}


/* ══════════════════════════════════════════════════════════
   SPLASH SCREEN CINEMÁTICA: METAMORFOSE BIOMECÂNICA (MOBILE & DESKTOP)
   ══════════════════════════════════════════════════════════ */
#atlas-splash-screen {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #07090E !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999999 !important;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s ease;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Feixe de Raio-X Holográfico Transmutador */
.splash-xray-beam {
    position: absolute !important;
    left: 0 !important;
    width: 100% !important;
    height: 8px !important;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.3) 15%, #00F0FF 40%, #FFFFFF 50%, #FFB300 60%, rgba(255, 144, 0, 0.3) 85%, transparent 100%) !important;
    box-shadow: 0 0 24px #00F0FF, 0 0 45px #FFB300, 0 0 10px #FFFFFF !important;
    z-index: 50 !important;
    pointer-events: none !important;
    top: -10% !important;
    opacity: 0 !important;
}

.splash-xray-beam.scanning {
    animation: xraySweep 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

@keyframes xraySweep {
    0% { top: -5%; opacity: 1; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 105%; opacity: 0; }
}

/* Halo / Brilho de Raio-X sobre a Imagem */
.splash-xray-glow {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 240, 255, 0.2) 48%, rgba(255, 180, 0, 0.25) 52%, transparent 100%) !important;
    pointer-events: none !important;
    z-index: 45 !important;
    opacity: 0 !important;
    transform: translateY(-100%) !important;
}

.splash-xray-glow.scanning {
    animation: xrayGlowSweep 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

@keyframes xrayGlowSweep {
    0% { transform: translateY(-100%); opacity: 0.9; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Slides das 4 Fases (100% Tela Cheia Sem Bordas Pretas) */
.splash-m1-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease-in-out !important;
    overflow: hidden !important;
}

.splash-m1-slide.active {
    display: block !important;
    opacity: 1 !important;
}

/* Barra de Progresso Segmentada em 4 Partes (Discreta no Rodapé) */
.splash-m1-segmented-bar {
    position: absolute !important;
    bottom: 22px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 75% !important;
    max-width: 280px !important;
    display: flex !important;
    gap: 6px !important;
    z-index: 50 !important;
}

.splash-m1-seg {
    flex: 1 !important;
    height: 3.5px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    position: relative !important;
}

.splash-m1-seg-fill {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 0% !important;
    background: linear-gradient(90deg, #00F0FF, #FFB300) !important;
    box-shadow: 0 0 10px #FFB300 !important;
    transition: width 0.35s ease !important;
}

/* ========================================================
   ESTILOS PREMIUM: WORKOUTS, BORG, MICROFONE & ANAMNESES
   ======================================================== */
@keyframes micPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { transform: scale(1.12); box-shadow: 0 0 16px rgba(239, 68, 68, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(239, 68, 68, 0.4); }
}

.mic-listening {
    background: rgba(239, 68, 68, 0.3) !important;
    border-color: #EF4444 !important;
    color: #FFF !important;
    animation: micPulse 1.2s infinite ease-in-out !important;
}

.exercise-card-row.is-completed {
    border-color: rgba(34, 197, 94, 0.4) !important;
    background: rgba(34, 197, 94, 0.04) !important;
}

.device-stage-wrapper:not(.mode-desktop) .atlas-zoom-window {
    background-image: 
        radial-gradient(circle at 50% 15%, rgba(18, 23, 34, 0.88) 0%, rgba(11, 14, 20, 0.98) 100%),
        url('../images/atlas_dark_nebula_gold.jpg') !important;
    background-size: cover, cover !important;
    background-position: center top, center top !important;
    background-repeat: no-repeat, no-repeat !important;
}

/* ========================================================
   REFINAMENTO DE DESIGN: TEXTOS JUSTIFICADOS & BORDAS ULTRA-ARREDONDADAS
   ======================================================== */
p, .atlas-zoom-desc-box p, .briefing-patient-info, .briefing-sync-notice, 
.cardapio-screen-container p, .anamnese-screen-container p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
}

.atlas-dark-module-card {
    border-radius: 20px !important;
}

.atlas-zoom-window {
    border-radius: 24px !important;
}

.exercise-card-row {
    border-radius: 14px !important;
}

.workout-summary-card, .atlas-executive-briefing-card {
    border-radius: 16px !important;
}

.atlas-pill-btn, .sex-pill {
    border-radius: 9999px !important;
}

.atlas-card-info-middle h4, .atlas-zoom-title-group h2 {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* ==========================================================================
   VISIBILIDADE: ADMIN SOMENTE NO DESKTOP, APLICATIVO EXCLUSIVO DO ALUNO NO MOBILE
   ========================================================================== */
.admin-only-desktop {
    display: none !important;
}

.device-stage-wrapper.mode-desktop .admin-only-desktop,
.device-stage-wrapper.mode-desktop section.admin-only-desktop,
.device-stage-wrapper.mode-desktop div.admin-only-desktop {
    display: flex !important;
}

/* ==========================================================================
   ILHA DINÂMICA DE SAÚDE (SMART WIDGET INTERATIVO 3D)
   Paleta de Cores Avançada:
   - Laranja Corporativo em Gradiente: #FF7A00 -> #FF5500
   - Verde Neon de Conclusão: #00FF66 com efeito glow
   - Azul Holográfico: #00D2FF -> #0072FF com reflexos 3D
   - Glassmorphism: rgba(18, 18, 20, 0.85) com blur(16px)
   ========================================================================== */
.atlas-smart-island-widget {
    position: relative;
    margin: 10px 0 16px 0;
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-top: 1.5px solid rgba(255, 122, 0, 0.70);
    border-radius: 20px;
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.65),
        0 0 25px rgba(255, 122, 0, 0.12),
        inset 1px 1px 2px rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transform: translateZ(0);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-smart-island-widget:hover {
    border-top-color: #FFA040;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.75),
        0 0 35px rgba(255, 122, 0, 0.22),
        inset 1px 1px 2px rgba(255, 255, 255, 0.18);
}

/* Barra Superior da Ilha */
.island-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 6px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 10px;
    flex-wrap: wrap;
}

.island-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* LED de Status Pulsante */
.island-pulse-led {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #FF7A00;
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.8);
    animation: islandLedPulse 2s infinite ease-in-out;
    display: inline-block;
    flex-shrink: 0;
}

.island-pulse-led.neon-active {
    background: #00FF66 !important;
    box-shadow: 0 0 14px rgba(0, 255, 102, 0.95), 0 0 28px rgba(0, 255, 102, 0.6) !important;
    animation: islandNeonLedPulse 1.4s infinite ease-in-out !important;
}

@keyframes islandLedPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.25); box-shadow: 0 0 16px rgba(255, 122, 0, 1); }
}

@keyframes islandNeonLedPulse {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 20px rgba(0, 255, 102, 1); }
}

.island-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #FFB300 0%, #FF7A00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navegação em Abas da Ilha */
.island-tabs-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    padding: 3px 4px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.island-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.island-tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.island-tab-btn.active {
    background: linear-gradient(135deg, #FF7A00 0%, #FF5500 100%);
    color: #FFFFFF;
    box-shadow: 0 3px 12px rgba(255, 122, 0, 0.5);
}

.island-tab-btn.holo-tab.active {
    background: linear-gradient(135deg, #00D2FF 0%, #0072FF 100%);
    box-shadow: 0 3px 14px rgba(0, 210, 255, 0.55);
}

/* Viewport do Carrossel de Abas */
.island-carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    user-select: none;
}

.island-slides-track {
    display: flex;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.island-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 14px 18px 12px 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Slide Body */
.island-slide-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.island-info-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.island-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.island-tag {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.island-tag.orange-tag {
    background: rgba(255, 122, 0, 0.18);
    color: #FF9E40;
    border: 1px solid rgba(255, 122, 0, 0.35);
}

.island-tag.cyan-tag {
    background: rgba(0, 210, 255, 0.16);
    color: #38BDF8;
    border: 1px solid rgba(0, 210, 255, 0.35);
}

.island-tag.holo-tag {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.25) 0%, rgba(138, 43, 226, 0.25) 100%);
    color: #7DD3FC;
    border: 1px solid rgba(0, 210, 255, 0.45);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.island-status-pill {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.island-status-pill.neon-completed {
    background: rgba(0, 255, 102, 0.18) !important;
    color: #00FF66 !important;
    border-color: #00FF66 !important;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.5) !important;
}

.island-status-pill.holo-pill {
    background: rgba(0, 210, 255, 0.15);
    color: #38BDF8;
    border-color: rgba(0, 210, 255, 0.35);
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.3);
}

.island-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.island-heading.holo-heading {
    background: linear-gradient(90deg, #FFFFFF 0%, #BAE6FD 60%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.island-subtext {
    font-size: 0.72rem;
    color: #94A3B8;
    margin: 0;
    line-height: 1.35;
}

/* Anel de Progresso SVG Circular */
.island-action-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.island-progress-ring {
    position: relative;
    width: 58px;
    height: 58px;
}

.island-progress-ring svg {
    transform: rotate(-90deg);
}

.island-progress-ring .ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 4.5;
}

.island-progress-ring .ring-bar {
    fill: none;
    stroke-width: 4.5;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.45s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.35s ease, filter 0.35s ease;
}

.island-progress-ring .ring-orange {
    stroke: #FF7A00;
    filter: drop-shadow(0 0 6px rgba(255, 122, 0, 0.6));
}

.island-progress-ring .ring-cyan {
    stroke: #00D2FF;
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.6));
}

.island-progress-ring .ring-holo {
    stroke: #38BDF8;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.7));
}

.island-progress-ring .ring-bar.neon-completed {
    stroke: #00FF66 !important;
    filter: drop-shadow(0 0 10px rgba(0, 255, 102, 0.9)) drop-shadow(0 0 18px rgba(0, 255, 102, 0.5)) !important;
}

.island-progress-ring .ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.3px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.island-progress-ring .ring-text.neon-completed {
    color: #00FF66 !important;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.8) !important;
}

.island-progress-ring .ring-text.holo-text {
    color: #E0F2FE;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

/* Rodapé do Slide */
.island-slide-footer {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.island-mini-progress-bar {
    width: 100%;
    height: 4.5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    overflow: hidden;
}

.island-mini-progress-bar .progress-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease, box-shadow 0.35s ease;
}

.island-mini-progress-bar .fill-orange {
    background: linear-gradient(90deg, #FF7A00 0%, #FF5500 100%);
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.6);
}

.island-mini-progress-bar .fill-cyan {
    background: linear-gradient(90deg, #00D2FF 0%, #0072FF 100%);
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

.island-mini-progress-bar .fill-holo {
    background: linear-gradient(90deg, #00D2FF 0%, #8A2BE2 100%);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
}

.island-mini-progress-bar .progress-fill.neon-completed {
    background: #00FF66 !important;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.9) !important;
}

.island-footer-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.island-action-btn {
    border: none;
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.island-action-btn.btn-orange {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.22) 0%, rgba(255, 85, 0, 0.28) 100%);
    color: #FFB366;
    border: 1px solid rgba(255, 122, 0, 0.45);
}

.island-action-btn.btn-orange:hover {
    background: linear-gradient(135deg, #FF7A00 0%, #FF5500 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.5);
}

.island-action-btn.btn-neon-toggle {
    background: rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.island-action-btn.btn-neon-toggle:hover {
    background: rgba(0, 255, 102, 0.15);
    color: #00FF66;
    border-color: #00FF66;
}

.island-action-btn.btn-neon-toggle.neon-active {
    background: #00FF66 !important;
    color: #052E16 !important;
    border-color: #00FF66 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 16px rgba(0, 255, 102, 0.8) !important;
}

.island-action-btn.btn-cyan {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.20) 0%, rgba(0, 114, 255, 0.25) 100%);
    color: #7DD3FC;
    border: 1px solid rgba(0, 210, 255, 0.45);
}

.island-action-btn.btn-cyan:hover {
    background: linear-gradient(135deg, #00D2FF 0%, #0072FF 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 210, 255, 0.5);
}

.island-action-btn.btn-water-add {
    background: rgba(0, 210, 255, 0.12);
    color: #38BDF8;
    border: 1px solid rgba(0, 210, 255, 0.35);
}

.island-action-btn.btn-water-add:hover {
    background: rgba(0, 210, 255, 0.25);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
    transform: scale(1.03);
}

.island-action-btn.btn-holo {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.18) 0%, rgba(138, 43, 226, 0.22) 100%);
    color: #BAE6FD;
    border: 1px solid rgba(0, 210, 255, 0.45);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
}

.island-action-btn.btn-holo:hover {
    background: linear-gradient(135deg, #00D2FF 0%, #8A2BE2 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(0, 210, 255, 0.6);
}

.island-status-indicator-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: #7DD3FC;
    background: rgba(0, 210, 255, 0.10);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 4px 10px;
    border-radius: 8px;
}

/* Indicadores de Página Sutis na base da Ilha */
.island-page-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 0 10px 0;
}

.island-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.20);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.island-indicator-dot.active {
    width: 22px;
    background: linear-gradient(90deg, #FF7A00 0%, #FF5500 100%);
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.6);
}

.island-indicator-dot.holo-dot.active {
    background: linear-gradient(90deg, #00D2FF 0%, #0072FF 100%);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
}

/* ==========================================================================
   REDESIGN DA REGIÃO SUPERIOR: ARQUITETURA MULTICROMÁTICA & MICRO-ILUSTRAÇÕES
   Paleta:
   - Amarelo Fluorescente Cyber: #FFE600 / #FACC15 (Banner de Vencimento 30d)
   - Verde Esmeralda: #00FF87 / #10B981 (Badge VIP, Nutrição & Hidratação)
   - Azul Elétrico Holográfico: #00D2FF / #3B82F6 (Sono & Prontidão Neural)
   - Vermelho Coral: #FF3B30 / #EF4444 (Notificações Críticas & Alertas)
   ========================================================================== */

/* 1. BARRA DE CABEÇALHO GLASS-CAPSULE COM BADGE VIP VERDE ESMERALDA */
.atlas-header-toggle-bar {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.16) 0%, rgba(18, 22, 30, 0.95) 50%, rgba(59, 130, 246, 0.14) 100%);
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 12px;
    margin: 4px 12px 10px 12px;
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 800;
    user-select: none;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.40);
}
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.atlas-badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 255, 135, 0.14);
    border: 1px solid rgba(0, 255, 135, 0.45);
    color: #00FF87;
    font-size: 0.60rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.25);
}

.vip-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00FF87;
    box-shadow: 0 0 8px #00FF87;
    animation: emeraldPulse 1.6s infinite ease-in-out;
}

@keyframes emeraldPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.35); box-shadow: 0 0 12px #00FF87; }
}

/* 2. BANNER DE VENCIMENTO DA PERIODIZAÇÃO (AMARELO FLUORESCENTE CYBER) */
.atlas-expiration-banner-cyber {
    margin: 8px 12px 2px 12px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.16) 0%, rgba(18, 20, 28, 0.85) 50%, rgba(255, 122, 0, 0.12) 100%);
    border: 1.5px solid rgba(250, 204, 21, 0.55);
    border-top: 2px solid #FFE600;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    box-shadow: 
        0 10px 28px rgba(0, 0, 0, 0.55),
        0 0 20px rgba(250, 204, 21, 0.18),
        inset 1px 1px 2px rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.atlas-expiration-banner-cyber::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 230, 0, 0.08), transparent);
    transform: skewX(-20deg);
    animation: cyberShine 6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes cyberShine {
    0% { left: -100%; }
    20%, 100% { left: 160%; }
}

.expiration-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 240px;
}

.expiration-icon-box {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(250, 204, 21, 0.12);
    border: 1.5px solid rgba(250, 204, 21, 0.45);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.25);
}

.expiration-days-pill {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #FFE600;
    color: #0B0E14;
    font-size: 0.58rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.expiration-text-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.expiration-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.expiration-main-title {
    color: #FFE600;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.expiration-tag-neuro {
    background: rgba(250, 204, 21, 0.18);
    border: 1px solid rgba(250, 204, 21, 0.4);
    color: #FDE047;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.expiration-subtext {
    font-size: 0.70rem;
    color: #CBD5E1;
    line-height: 1.35;
}

/* Micro-gráfico vetorial da Curva de 30 Dias */
.expiration-chart-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 4px 8px;
    flex-shrink: 0;
}

.curva-chart-legend {
    font-size: 0.58rem;
    font-weight: 800;
    color: #FACC15;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.expiration-action-btn {
    background: linear-gradient(135deg, #FFE600 0%, #F59E0B 100%);
    color: #0B0E14;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(250, 204, 21, 0.45);
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.expiration-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.65);
    background: linear-gradient(135deg, #FFF04D 0%, #D97706 100%);
}

/* 3. MICRO-ILUSTRAÇÕES VETORIAIS NOS CARDS DA ILHA DINÂMICA */
.island-micro-illu {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px 6px;
    flex-shrink: 0;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.island-micro-illu.illu-workout {
    border-color: rgba(255, 122, 0, 0.35);
    box-shadow: 0 0 12px rgba(255, 122, 0, 0.15);
}

.island-micro-illu.illu-hydration {
    border-color: rgba(0, 255, 135, 0.35);
    box-shadow: 0 0 12px rgba(0, 255, 135, 0.15);
}

.island-micro-illu.illu-recovery {
    border-color: rgba(0, 210, 255, 0.35);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

/* 4. ABAS DA ILHA COM CORES MULTICROMÁTICAS DISTINTAS */
.island-tab-btn.tab-workout {
    border: 1px solid rgba(255, 122, 0, 0.25);
}
.island-tab-btn.tab-workout:hover {
    border-color: #FF7A00;
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.3);
}

.island-tab-btn.emerald-tab {
    border: 1px solid rgba(0, 255, 135, 0.25);
}
.island-tab-btn.emerald-tab:hover {
    border-color: #00FF87;
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.3);
}
.island-tab-btn.emerald-tab.active {
    background: linear-gradient(135deg, #00FF87 0%, #10B981 100%) !important;
    color: #052E16 !important;
    font-weight: 800 !important;
    box-shadow: 0 3px 14px rgba(0, 255, 135, 0.6) !important;
}

.island-tab-btn.tab-recovery {
    border: 1px solid rgba(0, 210, 255, 0.25);
}
.island-tab-btn.tab-recovery:hover {
    border-color: #00D2FF;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.island-indicator-dot.emerald-dot.active {
    width: 22px;
    background: linear-gradient(90deg, #00FF87 0%, #10B981 100%);
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.8);
}

/* ==========================================================================
   ILHA DINÂMICA: ABA 0 (ATENÇÃO: ALERTA DE CICLO DE 30 DIAS / VENCIMENTO)
   ========================================================================== */
.island-tab-btn.yellow-tab {
    border: 1px solid rgba(255, 230, 0, 0.35);
    color: #FFE600;
}
.island-tab-btn.yellow-tab:hover {
    border-color: #FFE600;
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.35);
}
.island-tab-btn.yellow-tab.active {
    background: linear-gradient(135deg, #FFE600 0%, #FF9900 100%) !important;
    color: #0B0E14 !important;
    font-weight: 800 !important;
    box-shadow: 0 3px 14px rgba(255, 230, 0, 0.65) !important;
}

.island-indicator-dot.yellow-dot.active {
    width: 22px;
    background: linear-gradient(90deg, #FFE600 0%, #FF9900 100%);
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.85);
}

.island-tag.yellow-tag {
    background: rgba(255, 230, 0, 0.16);
    color: #FFE600;
    border: 1px solid rgba(255, 230, 0, 0.45);
    box-shadow: 0 0 8px rgba(255, 230, 0, 0.2);
}

.island-status-pill.yellow-pill {
    background: rgba(255, 230, 0, 0.14);
    color: #FFE600;
    border-color: rgba(255, 230, 0, 0.45);
    box-shadow: 0 0 8px rgba(255, 230, 0, 0.3);
}

.island-heading.yellow-heading {
    color: #FFF275;
}

.island-ampulheta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 230, 0, 0.08);
    border: 1.5px solid rgba(255, 230, 0, 0.4);
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255, 230, 0, 0.2);
    position: relative;
    animation: ampulhetaPulse 2.4s infinite ease-in-out;
}

.island-ampulheta-pill {
    font-size: 0.65rem;
    font-weight: 900;
    color: #FFE600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.progress-fill.fill-yellow {
    background: linear-gradient(90deg, #10B981 0%, #FFE600 65%, #EF4444 100%);
    box-shadow: 0 0 8px rgba(255, 230, 0, 0.5);
}

/* ==========================================================================
   ILHA DINÂMICA: SLIDE 0 DE ATENÇÃO (REDESIGN PROPORCIONAL & HARMONIA TEXTUAL)
   ========================================================================== */
.island-alert-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.island-ampulheta-compact {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 230, 0, 0.14);
    color: #FFE600;
    border: 1px solid rgba(255, 230, 0, 0.45);
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.25);
    white-space: nowrap;
    animation: ampulhetaPulse 2.4s infinite ease-in-out;
}

.island-alert-main-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.island-alert-text-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.island-alert-text-col .island-heading {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.island-alert-text-col .island-subtext {
    font-size: 0.72rem;
    color: #CBD5E1;
    line-height: 1.35;
    margin: 0;
}

.island-alert-graph-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 230, 0, 0.20);
    border-radius: 10px;
    padding: 4px 6px;
}

.island-alert-legend {
    color: #FFE600;
    font-size: 0.58rem;
    font-weight: 700;
    margin-top: 1px;
}

/* ==========================================================================
   ILHA DINÂMICA HORIZONTALIZADA E COMPACTA (MULTI-SLIDES COM TEXTO JUSTIFICADO)
   ========================================================================== */
.island-slide-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.island-effort-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 122, 0, 0.14);
    color: #FF9E40;
    border: 1px solid rgba(255, 122, 0, 0.40);
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.22);
}

.island-macro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 135, 0.12);
    color: #00FF87;
    border: 1px solid rgba(0, 255, 135, 0.35);
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.island-recovery-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 255, 0.14);
    color: #38BDF8;
    border: 1px solid rgba(0, 210, 255, 0.40);
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.island-slide-horizontal-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    width: 100%;
}

.island-text-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.island-heading-compact {
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}

.island-subtext-compact {
    font-size: 0.73rem;
    color: #CBD5E1;
    line-height: 1.38;
    margin: 0;
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto;
}

.island-ring-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.island-progress-ring.ring-compact {
    width: 48px;
    height: 48px;
}

.island-progress-ring.ring-compact svg {
    width: 48px;
    height: 48px;
}

.island-progress-ring.ring-compact .ring-text {
    font-size: 0.72rem;
}

.island-graph-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.island-micro-curve-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 230, 0, 0.25);
    border-radius: 10px;
    padding: 2px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.island-slide-footer-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

/* Modal de Instalação PWA com QR Code */
.atlas-pwa-modal-window {
    background: rgba(14, 18, 28, 0.95);
    border: 1.5px solid rgba(255, 179, 0, 0.45);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 122, 0, 0.25);
    border-radius: 20px;
    max-width: 460px;
    width: 90%;
    padding: 24px 22px;
    color: #FFFFFF;
    position: relative;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.pwa-qr-container {
    background: #FFFFFF;
    padding: 12px;
    border-radius: 14px;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    margin: 12px 0;
}

.pwa-qr-container img {
    max-width: 190px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Toast de Sincronização Offline */
.atlas-offline-sync-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 23, 42, 0.94);
    border: 1.5px solid rgba(0, 255, 135, 0.5);
    color: #E2E8F0;
    padding: 10px 18px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 255, 135, 0.3);
    z-index: 9999999;
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.atlas-offline-sync-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.atlas-offline-sync-toast.is-offline {
    border-color: rgba(255, 122, 0, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 122, 0, 0.35);
}





/* ========================================================
   CORREÇÃO OBRIGATÓRIA DA ÁREA DA CÂMERA DO CELULAR (NOTCH / DYNAMIC ISLAND)
   ======================================================== */
@media screen and (max-width: 768px) {
    .atlas-zoom-window {
        padding-top: max(env(safe-area-inset-top, 54px), 56px) !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-bottom: max(env(safe-area-inset-bottom, 30px), 36px) !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-y: contain !important;
        touch-action: pan-y !important;
    }
    
    .atlas-zoom-header {
        margin-top: 6px !important;
        padding-top: 4px !important;
    }

    #modalSubtabActiveContent {
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .telemed-container, .sports2d-screen-container, .postural-screen-container, .physical-eval-suite-container {
        padding-top: 8px !important;
    }
}

/* ========================================================
   CAIXAS DE MENSAGENS E ALERTAS 3D COM LUZES E SOMBRAS (3D LUXURY CHASSIS)
   ======================================================== */
.atlas-3d-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    background: rgba(0, 4, 10, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.atlas-3d-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.atlas-3d-modal-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(145deg, #181E2C 0%, #0C1017 100%);
    border: 1.5px solid rgba(255, 179, 0, 0.4);
    border-top: 2px solid #FFE082;
    border-radius: 22px;
    padding: 24px 20px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.95),
        0 0 35px rgba(255, 144, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transform: scale(0.92) translateY(15px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
    text-align: center;
}

.atlas-3d-modal-backdrop.active .atlas-3d-modal-box {
    transform: scale(1) translateY(0);
}

.atlas-3d-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px auto;
    border-radius: 18px;
    background: radial-gradient(circle at 35% 35%, #FFE27A 0%, #FF9000 70%, #8A4B00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(255, 144, 0, 0.4), inset 0 2px 2px rgba(255,255,255,0.7);
}

.atlas-3d-modal-title {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.atlas-3d-modal-body {
    color: #CBD5E1;
    font-size: 0.84rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    white-space: pre-line;
}

.atlas-3d-modal-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF9000 0%, #FFB300 100%);
    color: #070A0F;
    font-size: 0.92rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 144, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: transform 0.1s ease, filter 0.2s ease;
}

.atlas-3d-modal-btn:active {
    transform: translateY(2px);
    filter: brightness(0.95);
}

/* Botão Azul de Instrução (i) */
.btn-info-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0284C7;
    color: #FFFFFF;
    font-size: 0.70rem;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    margin-left: 5px;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.5);
    transition: transform 0.15s ease;
}

.btn-info-blue:active {
    transform: scale(0.9);
}

/* Touch Scrolling Suave e Fluido para Sub-Abas do Modal (iOS Safari & Android) */
.atlas-subtabs-dock {
    display: flex;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    touch-action: pan-x !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    overscroll-behavior-x: contain !important;
    scrollbar-width: none !important;
}
.atlas-subtabs-dock::-webkit-scrollbar {
    display: none !important;
}
.atlas-subtab-mini-card {
    flex-shrink: 0 !important;
    touch-action: manipulation !important;
}
