/* style.css - Design System Premium Roxo Escuro da Agência Legendary */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Paleta Premium Dark & Purple (como na imagem de referência) */
    --bg-main: #000000;       /* Fundo preto absoluto */
    --bg-card: #0d0722;       /* Fundo do card roxo escuro translúcido */
    --bg-dark: #000000;       /* Preto absoluto */
    
    --primary: #8b5cf6;       /* Roxo vibrante neon */
    --primary-hover: #7c3aed; /* Roxo profundo */
    --primary-light: rgba(139, 92, 246, 0.12); /* Roxo translúcido */
    --primary-glow: rgba(139, 92, 246, 0.25);  /* Brilho neon */
    
    --secondary: #d946ef;     /* Rosa/Magenta brilhante neon */
    --secondary-hover: #c084fc;
    
    --text-main: #f3f1f9;     /* Branco com tom lavanda suave */
    --text-muted: #9f9abf;    /* Lavanda pastel para textos secundários */
    --text-light: #ffffff;
    
    --border-color: rgba(139, 92, 246, 0.2);
    --border-light: rgba(139, 92, 246, 0.08);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(139, 92, 246, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Links & Botões */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(139, 92, 246, 0.2);
}
.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--text-light);
}
.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 16px;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text-light);
}

/* Glowing Badge Pill Capsule (inspirada na imagem do usuário) */
.glowing-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 40px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
    margin-bottom: 24px;
}

.glowing-badge span {
    background: rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
}

/* Custom Hero Styles from User Image */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 24px;
}
.dot-green {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.text-gradient {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-consultoria {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 8px 8px 8px 24px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    font-weight: 600;
    font-size: 15px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-consultoria:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    filter: brightness(1.1);
    color: white;
}
.arrow-circle {
    width: 32px;
    height: 32px;
    background-color: white;
    color: #7c3aed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.arrow-circle i {
    width: 16px;
    height: 16px;
    stroke-width: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-fullstack {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: white;
    color: #0b061c !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.badge-fullstack i {
    width: 16px;
    height: 16px;
    color: #7c3aed;
    vertical-align: middle;
}
.badge-fullstack span:not(.badge-premium) {
    color: #0b061c !important;
}
.badge-premium {
    background-color: #0b061c;
    color: white !important;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.desktop-only {
    display: inline;
}

/* Hero Section */
.hero {
    padding: 120px 8% 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    background-color: var(--bg-main);
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 24px;
}
.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 400px;
    background: rgba(15, 9, 39, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(60px);
    border-radius: 50%;
    animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.15); }
}

/* Sections Comuns */
.section {
    padding: 80px 8%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-light);
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
}

/* Cards e Grades */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Card Roxo Escuro Translúcido com borda brilhante */
.card {
    background-color: rgba(15, 9, 39, 0.45);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(217, 70, 239, 0.1));
    border: 1px solid var(--border-color);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
}

/* Loja / Catálogo */
.store-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 9, 39, 0.4);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.filter-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    background-color: rgba(6, 2, 19, 0.5);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.search-box {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 400px;
    min-width: 250px;
}

.search-box input {
    flex: 1;
    padding: 10px 16px;
    background-color: rgba(6, 2, 19, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    outline: none;
    font-size: 14px;
}
.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* Card de Produto Roxo Escuro */
.product-card {
    background: rgba(15, 9, 39, 0.45);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 2, 19, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 48px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-own {
    background-color: var(--primary);
    color: var(--text-light);
}
.badge-seller {
    background-color: var(--secondary);
    color: var(--text-light);
}

.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.product-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.product-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-light);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: rgba(15, 9, 39, 0.4);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 28px;
    font-weight: 600;
    font-size: 17px;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-answer {
    padding: 0 28px 24px;
    color: var(--text-muted);
    font-size: 15px;
    display: none;
}

/* Formulário de Contato e Geral */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    background-color: rgba(6, 2, 19, 0.6);
    border-radius: var(--radius-md);
    outline: none;
    font-size: 15px;
    transition: var(--transition);
    color: var(--text-main);
}
.form-control:focus {
    border-color: var(--primary);
    background-color: rgba(12, 7, 34, 0.8);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Dashboard Sidebar Layout */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

.sidebar {
    width: 280px;
    background: rgba(15, 9, 39, 0.5);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.sidebar-heading {
    font-size: 11px;
    font-weight: 700;
    color: rgba(139, 92, 246, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 12px 8px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
}
.sidebar-link:hover, .sidebar-link.active {
    background-color: var(--primary-light);
    color: var(--text-light);
}

.dashboard-content {
    flex: 1;
    padding: 40px 6%;
    background-color: var(--bg-main);
}

/* Dashboard Cards de Métricas */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.metric-card {
    background: rgba(15, 9, 39, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.metric-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    margin-top: 4px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.metric-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Tabelas */
.table-container {
    background: rgba(15, 9, 39, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow-x: auto;
    margin-bottom: 30px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table th {
    background-color: rgba(139, 92, 246, 0.06);
    padding: 16px 24px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1.5px solid var(--border-color);
}

.table td {
    padding: 16px 24px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
    vertical-align: middle;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background-color: rgba(139, 92, 246, 0.02);
}

/* Badges de Status */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success);
}
.badge-warning {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}
.badge-danger {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}
.badge-info {
    background-color: rgba(139, 92, 246, 0.15);
    color: var(--primary);
}

/* Suporte / Chat */
.chat-window {
    background: rgba(15, 9, 39, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.chat-header {
    background: rgba(139, 92, 246, 0.05);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    max-width: 70%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
}

.chat-bubble-client {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

.chat-bubble-sender {
    align-self: flex-start;
    background-color: rgba(15, 9, 39, 0.7);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-color);
}

.chat-input-area {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(7, 3, 20, 0.6);
}

.chat-input-form {
    display: flex;
    gap: 12px;
}

/* Progresso visual */
.progress-bar-container {
    width: 100%;
    background-color: var(--primary-light);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: var(--transition);
}

/* Rodapé */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 8% 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-heading {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

/* Modais / Checkout */
.checkout-container {
    max-width: 600px;
    margin: 40px auto;
    background: rgba(15, 9, 39, 0.45);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.grid-purchases {
    display: grid;
    grid-template-columns: 1fr 3fr 1.5fr;
    gap: 30px;
    align-items: center;
}
@media (max-width: 768px) {
    .grid-purchases {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}

/* --- CLASSES UTILITÁRIAS DE GRID RESPONSIVO --- */
.grid-1-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.grid-5-col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.horizontal-scroll-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.horizontal-scroll-grid .card {
    flex: 0 0 280px;
}
@media (min-width: 992px) {
    .horizontal-scroll-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        overflow-x: visible;
        padding-bottom: 0;
    }
    .horizontal-scroll-grid .card {
        flex: initial;
    }
}
.grid-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}
.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
.grid-12-1 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}
.grid-15-1 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}
.grid-1-15 {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

.service-details-col {
    border-left: 1px solid var(--border-light);
    padding-left: 40px;
}

@media (max-width: 992px) {
    .service-details-col {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-light);
        padding-top: 30px;
    }
}

/* Navbar toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.menu-toggle:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Sidebar toggle */
.sidebar-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    color: var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 24px;
    width: fit-content;
    transition: var(--transition);
}
.sidebar-toggle-btn:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

/* Overlay do Painel para fechar sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
}
.sidebar-overlay.active {
    display: block;
}

/* --- MEDIA QUERIES --- */

/* Breakpoint 992px: Tablets e Laptops Pequenos */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 5%;
    }
    
    .hero {
        padding: 80px 5% 60px;
        gap: 40px;
    }
    
    .section {
        padding: 60px 5%;
    }
    
    .footer {
        padding: 60px 5% 30px;
    }
    
    /* Grid overrides */
    .grid-5-col {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-1-2, .grid-2-1, .grid-12-1, .grid-15-1, .grid-1-15 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Layout Painel Administrativo / Cliente */
    .dashboard-layout {
        position: relative;
    }
    
    .sidebar-toggle-btn {
        display: inline-flex;
    }
    
    .sidebar {
        position: fixed;
        top: 73px; /* altura da navbar aproximada */
        left: 0;
        height: calc(100vh - 73px);
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
        background-color: #0b061c;
        width: 280px;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .dashboard-content {
        padding: 30px 5%;
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Breakpoint 768px: Tablets e Smartphones Landscape */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(0, 0, 0, 0.98);
        border-bottom: 1.5px solid var(--border-color);
        padding: 24px 5%;
        gap: 20px;
        align-items: stretch;
        text-align: center;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links .btn {
        width: 100%;
        padding: 12px;
    }
    
    /* Hero section vertical layout */
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .hero-actions {
        width: 100%;
        justify-content: center;
    }
    
    /* Grid overrides */
    .grid-5-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4-col {
        grid-template-columns: 1fr;
    }
    .grid-3-col {
        grid-template-columns: 1fr;
    }
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    /* Checkout e formulários */
    .checkout-container {
        padding: 24px;
        margin: 20px auto;
    }
    
    .store-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-categories {
        justify-content: center;
    }
    
    .search-box {
        max-width: 100%;
    }
}

/* Breakpoint 480px: Smartphones Portáteis */
@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-image-wrapper {
        height: 300px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .grid-5-col {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Métricas dos painéis */
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   DASHBOARD MODERNO E CLEAN (SEM NAV/FOOTER GLOBAIS)
   ========================================================================== */

/* Overrides para o Body do Painel */
body.dashboard-body {
    background-color: #000000;
    overflow-x: hidden;
}

/* Layout do Painel com altura de tela cheia */
body.dashboard-body .dashboard-layout {
    min-height: 100vh;
    display: flex;
}

/* Sidebar fixada (Desktop) - Estilo Arizepay */
body.dashboard-body .sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    background: #05020f; /* Preto arroxeado muito escuro */
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
    padding: 30px 18px;
}

/* Estilos de links da Sidebar */
body.dashboard-body .sidebar-link {
    transition: var(--transition);
    border: 1px solid transparent;
    padding: 12px 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    margin: 2px 0;
    position: relative;
    overflow: hidden;
}

body.dashboard-body .sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

body.dashboard-body .sidebar-link.active {
    background: rgba(139, 92, 246, 0.16);
    color: #ffffff;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
}

body.dashboard-body .sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background-color: var(--primary);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--primary);
}

/* Títulos das seções da Sidebar */
body.dashboard-body .sidebar-heading {
    font-size: 11px;
    font-weight: 700;
    color: rgba(159, 154, 191, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 24px 12px 8px;
}

/* Efeito de Borda Neon Giratória para os Cards (Estilo Arizepay) */
@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body.dashboard-body .card,
body.dashboard-body .metric-card {
    position: relative;
    background: transparent !important;
    border-radius: var(--radius-md);
    overflow: hidden; /* Corta o gradiente giratório nas bordas */
    z-index: 1;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

body.dashboard-body .card::before,
body.dashboard-body .metric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(139, 92, 246, 0.8), /* Roxo neon */
        transparent 30%,
        transparent,
        rgba(217, 70, 239, 0.8), /* Rosa/Magenta neon */
        transparent 80%
    );
    animation: rotateGlow 6s linear infinite;
    z-index: -2;
}

body.dashboard-body .card::after,
body.dashboard-body .metric-card::after {
    content: '';
    position: absolute;
    inset: 1.5px; /* Espessura da borda neon */
    background: #000000; /* Fundo preto absoluto do card */
    border-radius: calc(var(--radius-md) - 1.5px);
    z-index: -1;
    transition: var(--transition);
}

body.dashboard-body .card:hover::after,
body.dashboard-body .metric-card:hover::after {
    background: #070314; /* Fundo levemente arroxeado ao passar o mouse */
}

body.dashboard-body .card:hover,
body.dashboard-body .metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.25);
}

body.dashboard-body .metric-value {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 6px;
    letter-spacing: -0.5px;
}

body.dashboard-body .metric-label {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dashboard-body .metric-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(139, 92, 246, 0.08) !important;
    color: var(--primary) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(139, 92, 246, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dashboard-body .table-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.dashboard-body .table th {
    background-color: rgba(139, 92, 246, 0.04);
    border-bottom: 1.5px solid rgba(139, 92, 246, 0.15);
}

/* Responsividade Mobile para Dashboard */
@media (max-width: 992px) {
    body.dashboard-body .sidebar {
        position: fixed;
        top: 0 !important;
        left: 0;
        height: 100vh !important;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
        background-color: #0b061c;
        width: 280px;
    }
    
    body.dashboard-body .sidebar.open {
        transform: translateX(0);
    }
    
    body.dashboard-body .dashboard-content {
        padding: 24px 4%;
        width: 100%;
    }
    
    body.dashboard-body .sidebar-toggle-btn {
        margin-top: 10px;
    }
}

/* Hover interativo nos itens da lista de compras */
body.dashboard-body .recent-purchase-item {
    transition: var(--transition);
}
body.dashboard-body .recent-purchase-item:hover {
    background: rgba(139, 92, 246, 0.03) !important;
    border-color: rgba(139, 92, 246, 0.25) !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
}

/* ==========================================================================
   ESTILOS DO MODAL PREMIUM (POPUP NEON)
   ========================================================================== */

/* Overlay de fundo desfocado */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Modal Content animado com Borda Neon Giratória */
body.dashboard-body .modal-content {
    position: relative;
    background: transparent !important;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Crucial: sem barras de rolagem no container do neon */
    box-shadow: 0 10px 45px rgba(0, 0, 0, 0.9);
    transform: translateY(-30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border: none !important;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

body.dashboard-body .modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(139, 92, 246, 0.8), /* Roxo neon */
        transparent 30%,
        transparent,
        rgba(217, 70, 239, 0.8), /* Rosa/Magenta neon */
        transparent 80%
    );
    animation: rotateGlow 6s linear infinite;
    z-index: -2;
}

body.dashboard-body .modal-content::after {
    content: '';
    position: absolute;
    inset: 1.5px; /* Espessura da borda */
    background: #05020f; /* Fundo escuro do modal */
    border-radius: calc(var(--radius-md) - 1.5px);
    z-index: -1;
}

/* Cabeçalho do Modal */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 5;
}

.modal-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

/* Corpo do Modal */
.modal-body {
    padding: 24px;
    position: relative;
    z-index: 5;
    overflow-y: auto; /* Permite a rolagem interna do formulário */
    flex: 1;
}

/* Miniaturas de galeria no modal de edição */
.gallery-thumb-item {
    position: relative;
    width: 80px;
    height: 55px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.02);
}
.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumb-del-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(239, 68, 68, 0.85);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    padding: 0;
    transition: var(--transition);
    line-height: 1;
}
.gallery-thumb-del-btn:hover {
    background: rgb(239, 68, 68);
    transform: scale(1.1);
}

/* ==========================================================================
   ESTILOS PREMIUM PARA LOJA E PÁGINAS DE PRODUTO (COERÊNCIA COM DASHBOARD)
   ========================================================================== */

body.loja-page,
body.produto-page {
    background-color: #000000 !important;
}

/* Card de Produto na Loja */
body.loja-page .product-card {
    position: relative;
    background: transparent !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 1;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    height: 100%;
}

body.loja-page .product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(139, 92, 246, 0.3),
        transparent 30%,
        transparent,
        rgba(217, 70, 239, 0.3),
        transparent 80%
    );
    z-index: -2;
    transition: background 0.3s ease;
}

body.loja-page .product-card:hover::before {
    background: conic-gradient(
        transparent,
        rgba(139, 92, 246, 0.8),
        transparent 30%,
        transparent,
        rgba(217, 70, 239, 0.8),
        transparent 80%
    );
    animation: rotateGlow 6s linear infinite;
}

body.loja-page .product-card::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: #090518; /* Fundo sólido escuro */
    border-radius: calc(var(--radius-md) - 1.5px);
    z-index: -1;
    transition: var(--transition);
}

body.loja-page .product-card:hover::after {
    background: #0d0824; /* Levemente iluminado no hover */
}

body.loja-page .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.2);
}

/* Página Interna de Produto */
body.produto-page .card {
    position: relative;
    background: transparent !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 1;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
}

body.produto-page .card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(139, 92, 246, 0.7),
        transparent 30%,
        transparent,
        rgba(217, 70, 239, 0.7),
        transparent 80%
    );
    animation: rotateGlow 8s linear infinite;
    z-index: -2;
}

body.produto-page .card::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: #090518; /* Fundo sólido escuro */
    border-radius: calc(var(--radius-md) - 1.5px);
    z-index: -1;
    transition: var(--transition);
}

body.produto-page .card:hover::after {
    background: #0d0824;
}

body.produto-page .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(139, 92, 246, 0.15);
}

/* Filtros e Busca da Loja */
body.loja-page .filter-btn {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: var(--text-muted) !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

body.loja-page .filter-btn.active,
body.loja-page .filter-btn:hover {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

body.loja-page .search-box input {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: white !important;
}

body.loja-page .search-box input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2) !important;
}

/* ==========================================================================
   ESTILOS PREMIUM PARA A PÁGINA DE SERVIÇOS (/SERVICOS)
   ========================================================================== */

body.servicos-page {
    background-color: #000000 !important;
}

/* Cards de Serviço com Borda Neon Giratória Interativa (no Hover) */
body.servicos-page .card {
    position: relative;
    background: transparent !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 1;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

body.servicos-page .card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(139, 92, 246, 0.25),
        transparent 30%,
        transparent,
        rgba(217, 70, 239, 0.25),
        transparent 80%
    );
    z-index: -2;
    transition: background 0.3s ease;
}

body.servicos-page .card:hover::before {
    background: conic-gradient(
        transparent,
        rgba(139, 92, 246, 0.85),
        transparent 30%,
        transparent,
        rgba(217, 70, 239, 0.85),
        transparent 80%
    );
    animation: rotateGlow 7s linear infinite;
}

body.servicos-page .card::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: #090518; /* Fundo escuro premium */
    border-radius: calc(var(--radius-md) - 1.5px);
    z-index: -1;
    transition: var(--transition);
}

body.servicos-page .card:hover::after {
    background: #0c0721;
}

body.servicos-page .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.18);
}

/* Ícones de serviços redondos e pulsantes no hover */
body.servicos-page .card-icon {
    width: 60px !important;
    height: 60px !important;
    background-color: rgba(139, 92, 246, 0.08) !important;
    color: var(--primary) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(139, 92, 246, 0.18) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
    transition: var(--transition);
}

body.servicos-page .card:hover .card-icon {
    transform: scale(1.08);
    background-color: rgba(139, 92, 246, 0.15) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

/* Customização dos blocos internos (Fluxo Operacional) */
body.servicos-page .service-details-col div {
    background-color: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
}

/* Rodapé CTA do final */
body.servicos-page .cta-section {
    background: radial-gradient(circle at 50% 50%, #110928 0%, #000000 100%) !important;
    border-top: 1px solid rgba(139, 92, 246, 0.15) !important;
    padding: 80px 20px !important;
}



