OneConversorTemplate/OnlyOneAccessTemplate/wwwroot/css/site.css
Ricardo Carneiro c25bf9dc94 feat: novo menu
2025-06-09 23:16:00 -03:00

452 lines
8.8 KiB
CSS

/* Reset e Variáveis */
:root {
--primary-color: #2563eb;
--primary-dark: #1d4ed8;
--secondary-color: #059669;
--success-color: #10b981;
--warning-color: #f59e0b;
--danger-color: #ef4444;
--dark-color: #111827;
--light-color: #f8fafc;
--gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
line-height: 1.6;
color: #374151;
background-color: #f8fafc;
}
/* Header Moderno */
.navbar-brand {
font-weight: 800;
font-size: 1.5rem;
color: white !important;
}
.navbar {
box-shadow: var(--shadow-sm);
backdrop-filter: blur(10px);
}
/* Hero Section */
.hero-section {
background: var(--gradient-primary);
color: white;
padding: 4rem 0;
position: relative;
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="1"/></g></svg>') repeat;
animation: float 20s infinite linear;
}
@keyframes float {
0% {
transform: translateY(0px);
}
100% {
transform: translateY(-60px);
}
}
.hero-content {
position: relative;
z-index: 2;
}
.hero-title {
font-size: 3.5rem;
font-weight: 800;
margin-bottom: 1.5rem;
background: linear-gradient(45deg, #ffffff, #e0e7ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: 1.25rem;
margin-bottom: 2rem;
opacity: 0.9;
}
/* Badges */
.feature-badge {
display: inline-flex;
align-items: center;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.2);
border-radius: 50px;
margin: 0.25rem;
font-size: 0.875rem;
font-weight: 500;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
/* Layout Principal */
.main-layout {
margin-top: 2rem;
margin-bottom: 2rem;
}
/* Menu de Módulos */
.modules-sidebar {
background: white;
border-radius: 16px;
box-shadow: var(--shadow-lg);
padding: 1.5rem;
height: fit-content;
position: sticky;
top: 2rem;
}
.modules-list {
max-height: 600px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #cbd5e1 #f1f5f9;
}
.modules-list::-webkit-scrollbar {
width: 6px;
}
.modules-list::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 3px;
}
.modules-list::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 3px;
}
.modules-list::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.module-item {
display: block;
padding: 1rem;
margin-bottom: 0.5rem;
border-radius: 12px;
border: 2px solid transparent;
background: #f8fafc;
color: #374151;
text-decoration: none;
transition: all 0.2s ease;
}
.module-item:hover {
background: var(--gradient-primary);
color: white;
transform: translateY(-2px);
box-shadow: var(--shadow-md);
border-color: rgba(255, 255, 255, 0.2);
}
.module-item.active {
background: var(--gradient-success);
color: white;
box-shadow: var(--shadow-md);
}
.module-icon {
width: 40px;
height: 40px;
border-radius: 10px;
background: rgba(59, 130, 246, 0.1);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0.75rem;
font-size: 1.2rem;
color: var(--primary-color);
}
.module-item:hover .module-icon {
background: rgba(255, 255, 255, 0.2);
color: white;
}
.module-title {
font-weight: 600;
font-size: 0.95rem;
margin-bottom: 0.25rem;
}
.module-description {
font-size: 0.8rem;
opacity: 0.8;
line-height: 1.4;
}
.category-header {
font-weight: 700;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: #6b7280;
margin: 1.5rem 0 0.75rem 0;
padding-bottom: 0.5rem;
border-bottom: 1px solid #e5e7eb;
}
.category-header:first-child {
margin-top: 0;
}
/* Área do Conversor */
.converter-area {
background: white;
border-radius: 16px;
box-shadow: var(--shadow-lg);
padding: 2rem;
margin-bottom: 2rem;
}
.converter-card {
border: none;
border-radius: 16px;
box-shadow: var(--shadow-xl);
overflow: hidden;
}
.converter-header {
background: var(--gradient-primary);
color: white;
padding: 2rem;
text-align: center;
}
.step-indicators {
display: flex;
justify-content: center;
gap: 2rem;
margin: 2rem 0;
}
.step-indicator {
text-align: center;
flex: 1;
max-width: 200px;
}
.step-number {
width: 50px;
height: 50px;
border-radius: 50%;
background: var(--gradient-success);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.2rem;
margin: 0 auto 1rem;
box-shadow: var(--shadow-md);
}
.step-title {
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--dark-color);
}
.step-description {
font-size: 0.9rem;
color: #6b7280;
}
/* Anúncios Placeholder */
.ad-placeholder {
background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
border: 2px dashed #d1d5db;
border-radius: 12px;
padding: 2rem;
text-align: center;
color: #6b7280;
min-height: 250px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 1rem 0;
}
.ad-placeholder i {
font-size: 2rem;
margin-bottom: 1rem;
opacity: 0.5;
}
.ad-placeholder.banner {
min-height: 90px;
flex-direction: row;
gap: 1rem;
}
.ad-placeholder.sidebar {
min-height: 600px;
position: sticky;
top: 2rem;
}
.ad-placeholder.rectangle {
min-height: 250px;
max-width: 300px;
margin: 1rem auto;
}
/* Seção de Benefícios */
.benefits-section {
background: white;
border-radius: 16px;
box-shadow: var(--shadow-lg);
padding: 3rem 2rem;
margin: 2rem 0;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.feature-item {
text-align: center;
padding: 2rem 1rem;
border-radius: 16px;
background: #f8fafc;
transition: all 0.3s ease;
}
.feature-item:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
background: white;
}
.feature-icon {
width: 60px;
height: 60px;
border-radius: 16px;
background: var(--gradient-success);
color: white;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
font-size: 1.5rem;
}
/* Responsivo */
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.modules-sidebar {
margin-bottom: 2rem;
position: static;
}
.modules-list {
max-height: 300px;
}
.step-indicators {
flex-direction: column;
gap: 1rem;
}
.converter-area {
padding: 1rem;
}
.ad-placeholder.sidebar {
display: none;
}
}
@media (min-width: 1200px) {
.hero-title {
font-size: 4rem;
}
}
/* Animações */
.fade-in {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.loading-shimmer {
background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
/* Melhorias de Acessibilidade */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* Focus states */
.module-item:focus,
button:focus,
.btn:focus {
outline: 2px solid var(--primary-color);
outline-offset: 2px;
}