/* ========================================
   UNIVERSO LÚDICO - RESPONSIVO LG
   Desktop (992px - 1199px)
   
   Contexto: Ambiente profissional/residencial
   Distância leitura: 50-70cm
   Interação: Mouse principal
   ======================================== */

/* Aplicado em telas de 992px até 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    
    /* ========================================
       VARIÁVEIS RESPONSIVAS - DESKTOP
       ======================================== */
    
    :root {
        /* Tipografia Desktop Padrão - COMPACTO */
        --font-size-base: 0.875rem;     /* 14px */
        --font-size-sm: 0.8125rem;      /* 13px */
        --font-size-xs: 0.75rem;        /* 12px */
        --font-size-lg: 0.9375rem;      /* 15px */
        --font-size-h1: 1.5rem;         /* 24px */
        --font-size-h2: 0.9375rem;      /* 15px */
        --font-size-h3: 1rem;           /* 16px */
        --font-size-btn: 0.875rem;      /* 14px */
        
        /* Espaçamentos Desktop - COMPACTO */
        --spacing-xs: 8px;
        --spacing-sm: 10px;
        --spacing-md: 14px;
        --spacing-lg: 18px;
        --spacing-xl: 24px;
        --spacing-2xl: 36px;
        
        /* Componentes Desktop - COMPACTO */
        --header-height: 80px;
        --logo-height: 75px;
        --card-padding: 20px 28px;
        --card-padding-boas-vindas: 32px 30px;
        --card-padding-inicial: 18px 24px;
        --input-padding: 10px 14px;
        --button-padding: 10px 20px;
        --footer-padding: 24px 20px;
    }
    
    /* ========================================
       AJUSTES DESKTOP
       ======================================== */
    
    /* Header desktop */
    header {
        padding: var(--spacing-lg) 0;
    }
    
    header img {
        height: var(--logo-height);
    }
    
    /* Main com bom espaçamento vertical */
    main {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
    
    /* Cards desktop - mais espaçosos */
    .card-body {
        padding: var(--card-padding) !important;
    }
    
    /* Card boas-vindas independente */
    .card-boas-vindas .card-body {
        padding: var(--card-padding-boas-vindas) !important;
    }
    
    .card-inicial .card-body {
        padding: var(--card-padding-inicial) !important;
    }
    
    .card-title {
        font-size: var(--font-size-h2);
        font-weight: 700;
        margin-bottom: var(--spacing-lg);
        line-height: 1.5;
        letter-spacing: -0.02em;
    }
    
    /* Formulários desktop */
    .form-control {
        padding: var(--input-padding);
        font-size: var(--font-size-base);
    }
    
    /* Botões desktop - inline quando apropriado */
    .btn-azul {
        padding: var(--button-padding);
        font-size: var(--font-size-btn);
    }
    
    /* Botões fora de .d-grid têm largura auto em desktop */
    .d-md-flex .btn-azul {
        width: auto;
        min-width: 200px;
    }
    
    /* Botões em formulários específicos podem ser inline */
    .d-grid .btn-azul {
        width: 100%;
    }
    
    /* Hover effects mais visíveis em desktop */
    .btn-azul:hover {
        transform: translateY(-3px);
    }
    
    .form-control:hover {
        border-color: rgba(0, 71, 171, 0.5);
    }
    
    /* Footer desktop */
    footer {
        padding: var(--footer-padding);
        text-align: left;
    }
    
    footer p {
        font-size: var(--font-size-base);
        margin: var(--spacing-sm) 0;
    }
    
    footer p:last-child {
        font-size: var(--font-size-sm);
        margin-top: var(--spacing-md);
    }
    
    /* Alertas com boa visibilidade */
    .alert {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }
    
    /* Container padrão Bootstrap */
    .container {
        max-width: 960px;
    }
    
    /* ========================================
       ESTADOS INTERATIVOS DESKTOP
       ======================================== */
    
    /* Focus mais pronunciado para teclado */
    .form-control:focus {
        box-shadow: 0 0 0 5px rgba(0, 71, 171, 0.12);
    }
    
    /* Cards com hover sutil */
    .card {
        transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    }
    
    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 24px 68px rgba(0, 0, 0, 0.18);
    }
    
    /* Links e elementos interativos */
    a, button {
        cursor: pointer;
    }
}

/* ========================================
   DESKTOP MÉDIO-GRANDE (1100px+)
   Monitores Full HD início
   ======================================== */

@media (min-width: 1100px) and (max-width: 1199px) {
    :root {
        /* Tipografia ligeiramente maior para telas maiores - COMPACTO */
        --font-size-h1: 1.625rem;       /* 26px */
        --font-size-h2: 1rem;           /* 16px */
        
        /* Card principal compacto */
        --card-padding-inicial: 20px 28px;
    }
    
    .container {
        max-width: 1020px;
    }
    
    /* Boas-vindas - Desktop COMPACTO */
    .boas-vindas-simbolo {
        width: 50px;
    }
    
    .boas-vindas-titulo {
        font-size: 1.5rem;
    }
    
    /* Boas-vindas - Ajustes Desktop COMPACTO */
    .info-label {
        font-size: 0.7rem;
    }
    
    .info-valor {
        font-size: 0.85rem;
    }
    
    .info-valor-destaque {
        font-size: 0.95rem;
    }
    
    .cronograma-titulo {
        font-size: 1rem;
    }
    
    .atividade-horario {
        font-size: 0.7rem;
    }
    
    .atividade-descricao {
        font-size: 0.8rem;
    }
}

/* ========================================
   PÁGINA INICIAL - DESKTOP
   ======================================== */

@media (min-width: 992px) and (max-width: 1199px) {
    .pagina-inicial {
        padding: var(--spacing-2xl);
    }
    
    .logo-inicial {
        max-width: 420px;
    }
    
    .logo-wrapper {
        margin-bottom: var(--spacing-lg);
    }
    
    /* Loading desktop */
    .loading-overlay .spinner-border {
        width: 2.625rem; /* 42px */
        height: 2.625rem;
        border-width: 3px;
    }
    
    .loading-text {
        font-size: var(--font-size-lg);
    }
}
