﻿/* DESKTOP CSS - ASSESSORIA-X 2026 */
/* Estilos específicos para desktop */

/* ===== BASE DESKTOP ===== */
@media (min-width: 769px) {
    /* Layout geral */
    .desktop-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
    }

    /* Grid avançado */
    .desktop-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 30px;
    }

    .desktop-col-1 { grid-column: span 1; }
    .desktop-col-2 { grid-column: span 2; }
    .desktop-col-3 { grid-column: span 3; }
    .desktop-col-4 { grid-column: span 4; }
    .desktop-col-5 { grid-column: span 5; }
    .desktop-col-6 { grid-column: span 6; }
    .desktop-col-7 { grid-column: span 7; }
    .desktop-col-8 { grid-column: span 8; }
    .desktop-col-9 { grid-column: span 9; }
    .desktop-col-10 { grid-column: span 10; }
    .desktop-col-11 { grid-column: span 11; }
    .desktop-col-12 { grid-column: span 12; }

    /* Flexbox utilities */
    .desktop-flex {
        display: flex;
    }

    .desktop-flex-center {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .desktop-flex-between {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .desktop-flex-around {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
}

/* ===== DESKTOP NAVIGATION ===== */
@media (min-width: 769px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .desktop-nav-main {
        display: flex;
        gap: 30px;
    }

    .desktop-nav-item {
        position: relative;
        padding: 10px 0;
    }

    .desktop-nav-link {
        color: var(--text-dark);
        font-weight: 500;
        text-decoration: none;
        padding: 8px 0;
        position: relative;
        transition: var(--transition-base);
    }

    .desktop-nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-green);
        transition: var(--transition-base);
    }

    .desktop-nav-link:hover::after {
        width: 100%;
    }

    /* Dropdown menus */
    .desktop-dropdown {
        position: relative;
    }

    .desktop-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 200px;
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
        padding: 15px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .desktop-dropdown:hover .desktop-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .desktop-dropdown-item {
        display: block;
        padding: 10px 20px;
        color: var(--text-dark);
        text-decoration: none;
        transition: var(--transition-base);
    }

    .desktop-dropdown-item:hover {
        background: var(--light-blue);
        color: var(--primary-blue);
    }

    /* Mega menu */
    .desktop-mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 0 0 20px 20px;
        box-shadow: var(--shadow-xl);
        padding: 40px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .desktop-mega-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .desktop-mega-column {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .desktop-mega-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--primary-blue);
        margin-bottom: 15px;
    }

    .desktop-mega-link {
        color: var(--gray-medium);
        text-decoration: none;
        padding: 8px 0;
        transition: var(--transition-base);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .desktop-mega-link:hover {
        color: var(--primary-blue);
        transform: translateX(5px);
    }
}

/* ===== DESKTOP HERO ===== */
@media (min-width: 769px) {
    .desktop-hero {
        min-height: 80vh;
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
        color: white;
        position: relative;
        overflow: hidden;
    }

    .desktop-hero-content {
        max-width: 600px;
        position: relative;
        z-index: 2;
    }

    .desktop-hero-title {
        font-size: 56px;
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 24px;
        animation: fadeInUp 0.8s ease;
    }

    .desktop-hero-subtitle {
        font-size: 20px;
        opacity: 0.9;
        margin-bottom: 40px;
        animation: fadeInUp 0.8s ease 0.2s both;
    }

    .desktop-hero-badges {
        display: flex;
        gap: 15px;
        margin-bottom: 40px;
        animation: fadeInUp 0.8s ease 0.4s both;
    }

    .desktop-hero-badge {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        padding: 12px 24px;
        border-radius: 25px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 500;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .desktop-hero-cta {
        animation: fadeInUp 0.8s ease 0.6s both;
    }

    .desktop-hero-image {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 50%;
        height: 80%;
        z-index: 1;
    }

    .desktop-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* ===== DESKTOP CARDS ===== */
@media (min-width: 769px) {
    .desktop-card-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .desktop-card-featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .desktop-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow-md);
        transition: all 0.4s ease;
        position: relative;
    }

    .desktop-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: var(--shadow-xl);
    }

    .desktop-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
        opacity: 0;
        transition: var(--transition-base);
    }

    .desktop-card:hover::before {
        opacity: 1;
    }

    .desktop-card-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: var(--transition-base);
    }

    .desktop-card:hover .desktop-card-image {
        transform: scale(1.05);
    }

    .desktop-card-content {
        padding: 30px;
        position: relative;
        z-index: 1;
    }

    .desktop-card-icon {
        width: 60px;
        height: 60px;
        background: var(--light-blue);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: var(--primary-blue);
        margin-bottom: 20px;
    }

    .desktop-card-title {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--text-dark);
    }

    .desktop-card-description {
        color: var(--gray-medium);
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .desktop-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 20px;
        border-top: 1px solid #e0e0e0;
    }
}

/* ===== DESKTOP FORMS ===== */
@media (min-width: 769px) {
    .desktop-form-container {
        max-width: 800px;
        margin: 0 auto;
        background: white;
        border-radius: 25px;
        padding: 50px;
        box-shadow: var(--shadow-lg);
        position: relative;
        overflow: hidden;
    }

    .desktop-form-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    }

    .desktop-form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .desktop-form-full {
        grid-column: span 2;
    }

    .desktop-form-group {
        margin-bottom: 25px;
    }

    .desktop-form-label {
        display: block;
        margin-bottom: 10px;
        font-weight: 600;
        color: var(--primary-blue);
        font-size: 15px;
    }

    .desktop-form-input {
        width: 100%;
        padding: 18px 20px;
        border: 2px solid #e0e0e0;
        border-radius: 15px;
        font-size: 16px;
        transition: all 0.3s ease;
        background: white;
    }

    .desktop-form-input:focus {
        border-color: var(--accent-green);
        box-shadow: 0 0 0 4px rgba(0, 168, 79, 0.1);
        outline: none;
    }

    .desktop-form-select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23003b82' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 20px center;
        background-size: 24px;
        padding-right: 60px;
    }

    .desktop-form-textarea {
        min-height: 150px;
        resize: vertical;
        line-height: 1.6;
    }

    .desktop-form-actions {
        grid-column: span 2;
        display: flex;
        gap: 20px;
        margin-top: 30px;
    }
}

/* ===== DESKTOP MODALS ===== */
@media (min-width: 769px) {
    .desktop-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .desktop-modal.active {
        opacity: 1;
        visibility: visible;
    }

    .desktop-modal-content {
        background: white;
        border-radius: 25px;
        max-width: 700px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        transform: translateY(30px) scale(0.95);
        opacity: 0;
        transition: all 0.4s ease;
        box-shadow: var(--shadow-xl);
    }

    .desktop-modal.active .desktop-modal-content {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    .desktop-modal-header {
        padding: 30px 40px 20px;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        background: white;
        z-index: 1;
        border-radius: 25px 25px 0 0;
    }

    .desktop-modal-title {
        font-size: 28px;
        font-weight: 700;
        color: var(--primary-blue);
        margin: 0;
    }

    .desktop-modal-close {
        background: var(--gray-light);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--gray-medium);
        cursor: pointer;
        transition: var(--transition-base);
    }

    .desktop-modal-close:hover {
        background: var(--danger);
        color: white;
    }

    .desktop-modal-body {
        padding: 30px 40px;
    }

    .desktop-modal-footer {
        padding: 20px 40px 30px;
        border-top: 1px solid #e0e0e0;
        display: flex;
        justify-content: flex-end;
        gap: 15px;
    }
}

/* ===== DESKTOP TABLES ===== */
@media (min-width: 769px) {
    .desktop-table-container {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow-md);
    }

    .desktop-table {
        width: 100%;
        border-collapse: collapse;
    }

    .desktop-table thead {
        background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    }

    .desktop-table th {
        padding: 20px;
        text-align: left;
        color: white;
        font-weight: 600;
        font-size: 15px;
    }

    .desktop-table tbody tr {
        transition: var(--transition-base);
        border-bottom: 1px solid #e0e0e0;
    }

    .desktop-table tbody tr:hover {
        background: var(--light-blue);
    }

    .desktop-table td {
        padding: 18px 20px;
        color: var(--text-dark);
    }

    .desktop-table-actions {
        display: flex;
        gap: 10px;
        opacity: 0;
        transition: var(--transition-base);
    }

    .desktop-table tbody tr:hover .desktop-table-actions {
        opacity: 1;
    }
}

/* ===== DESKTOP SIDEBAR ===== */
@media (min-width: 769px) {
    .desktop-sidebar-layout {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 40px;
        min-height: 100vh;
    }

    .desktop-sidebar {
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: var(--shadow-md);
        position: sticky;
        top: 30px;
        height: fit-content;
    }

    .desktop-sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .desktop-sidebar-link {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        color: var(--gray-medium);
        text-decoration: none;
        border-radius: 12px;
        transition: var(--transition-base);
    }

    .desktop-sidebar-link:hover,
    .desktop-sidebar-link.active {
        background: var(--light-blue);
        color: var(--primary-blue);
    }

    .desktop-sidebar-icon {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }

    .desktop-content {
        background: white;
        border-radius: 20px;
        padding: 40px;
        box-shadow: var(--shadow-md);
    }
}

/* ===== DESKTOP ANIMATIONS ===== */
@media (min-width: 769px) {
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-20px); }
    }

    @keyframes glow {
        0%, 100% { box-shadow: 0 0 20px rgba(0, 59, 130, 0.3); }
        50% { box-shadow: 0 0 40px rgba(0, 59, 130, 0.6); }
    }

    .animate-float {
        animation: float 3s ease-in-out infinite;
    }

    .animate-glow {
        animation: glow 2s ease-in-out infinite;
    }

    /* Parallax effect */
    .desktop-parallax {
        position: relative;
        overflow: hidden;
    }

    .desktop-parallax-layer {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        will-change: transform;
    }

    /* Hover effects */
    .desktop-hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .desktop-hover-lift:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
    }

    .desktop-hover-glow {
        transition: box-shadow 0.3s ease;
    }

    .desktop-hover-glow:hover {
        box-shadow: 0 0 30px rgba(0, 59, 130, 0.4);
    }
}

/* ===== DESKTOP UTILITIES ===== */
@media (min-width: 769px) {
    /* Text utilities */
    .desktop-text-gradient {
        background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Border utilities */
    .desktop-border-gradient {
        border: 3px solid;
        border-image: linear-gradient(135deg, var(--primary-blue), var(--accent-green)) 1;
    }

    /* Shadow utilities */
    .desktop-shadow-3d {
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.1),
            0 1px 8px rgba(0, 0, 0, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    /* Glass morphism */
    .desktop-glass {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Grid utilities */
    .desktop-grid-auto-fit {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .desktop-grid-auto-fill {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
    }
}

/* ===== DESKTOP PRINT STYLES ===== */
@media print and (min-width: 769px) {
    .desktop-print-hidden {
        display: none !important;
    }

    .desktop-print-container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .desktop-print-columns {
        column-count: 2;
        column-gap: 40px;
    }
}