/* Blog Styles - Tailwind-inspired utility classes */
/* Reset and Base */
*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: currentColor;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: Lexend, sans-serif;
}

body {
    margin: 0;
    line-height: inherit;
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: inherit;
}

/* Scroll Smooth */
.scroll-smooth {
    scroll-behavior: smooth;
}

/* Background Colors */
.bg-background-light { background-color: #ffffff; }
.bg-background-dark { background-color: #1a1a1a; }
.bg-surface-dark { background-color: #242424; }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-600 { background-color: #475569; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.bg-green-500 { background-color: #22c55e; }
.bg-primary { background-color: #c29b61; }
.bg-primary\/20 { background-color: rgba(194, 155, 97, 0.2); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }

/* Text Colors */
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-800 { color: #1e293b; }
.text-white { color: #ffffff; }
.text-primary { color: #c29b61; }

/* Dark Mode */
.dark .dark\:bg-background-dark, .dark .dark-bg-background-dark { background-color: #1a1a1a; }
.dark .dark\:bg-black\/40, .dark .dark-bg-black-40 { background-color: rgba(0, 0, 0, 0.4); }
.dark .dark\:text-slate-200, .dark .dark-text-slate-200 { color: #e2e8f0; }
.dark .dark\:text-slate-400, .dark .dark-text-slate-400 { color: #94a3b8; }
.dark .dark\:prose-invert, .dark .dark-prose-invert { color: #e2e8f0; }

/* Dark mode com seletor de atributo */
.dark [class*="dark:bg-background-dark"] { background-color: #1a1a1a !important; }
.dark [class*="dark:bg-black"] { background-color: rgba(0, 0, 0, 0.4) !important; }
.dark [class*="dark:text-slate-200"] { color: #e2e8f0 !important; }
.dark [class*="dark:text-slate-400"] { color: #94a3b8 !important; }
.dark [class*="dark:prose-invert"] { color: #e2e8f0 !important; }

/* Layout */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }
.left-6 { left: 1.5rem; }
.top-1\/2 { top: 50%; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Grid Column Positioning */
.col-start-3 { grid-column-start: 3; }
.col-span-8 { grid-column: span 8 / span 8; }

/* Spacing */
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-24 { padding-top: 6rem; }
.pb-4 { padding-bottom: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }

/* Sizing */
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-full { width: 100%; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-full { height: 100%; }
.h-\[70vh\] { height: 70vh; }
.min-w-0 { min-width: 0; }
.max-w-none { max-width: none; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-screen-xl { max-width: 1280px; }

/* Typography */
.font-display { font-family: Lexend, sans-serif; }
.font-sans { font-family: Lexend, sans-serif; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-center { text-align: center; }
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Borders */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-primary { border-color: #c29b61; }
.border-primary\/30 { border-color: rgba(194, 155, 97, 0.3); }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }

/* Effects */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.opacity-10 { opacity: 0.1; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }
.opacity-0 { opacity: 0; }
.grayscale { filter: grayscale(100%); }

/* Transforms */
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-0 { transform: translateY(0); }
.translate-y-8 { transform: translateY(2rem); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

/* Transitions */
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* Hover States */
.hover\:text-primary:hover { color: #c29b61; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:bg-opacity-90:hover { --tw-bg-opacity: 0.9; }
.group:hover .group-hover\:text-primary { color: #c29b61; }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Aspect Ratio */
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Fill */
.fill-current { fill: currentColor; }

/* Prose (Typography Plugin) */
.prose { color: #374151; max-width: 65ch; }
.prose p { margin-top: 1.25em; margin-bottom: 1.25em; }
.prose h2 { color: #111827; font-weight: 700; font-size: 1.5em; margin-top: 2em; margin-bottom: 1em; line-height: 1.3333333; }
.prose h3 { color: #111827; font-weight: 600; font-size: 1.25em; margin-top: 1.6em; margin-bottom: 0.6em; line-height: 1.6; }
.prose ul { margin-top: 1.25em; margin-bottom: 1.25em; list-style-type: disc; padding-left: 1.625em; }
.prose li { margin-top: 0.5em; margin-bottom: 0.5em; }
.prose strong { color: #111827; font-weight: 600; }
.prose blockquote { font-weight: 500; font-style: italic; color: #c29b61; border-left-width: 0.25rem; border-left-color: #c29b61; quotes: "\201C""\201D""\2018""\2019"; margin-top: 1.6em; margin-bottom: 1.6em; padding-left: 1em; }
.prose a { color: #c29b61; text-decoration: underline; font-weight: 500; }
.prose-lg { font-size: 1.125rem; line-height: 1.7777778; }
.prose-lg p { margin-top: 1.3333333em; margin-bottom: 1.3333333em; }
.prose-lg h2 { font-size: 1.6666667em; margin-top: 1.8666667em; margin-bottom: 1.0666667em; line-height: 1.3333333; }
.prose-lg ul { margin-top: 1.3333333em; margin-bottom: 1.3333333em; padding-left: 1.5555556em; }
.prose-lg li { margin-top: 0.6666667em; margin-bottom: 0.6666667em; }
.prose-headings\:font-display h1, .prose-headings\:font-display h2, .prose-headings\:font-display h3 { font-family: Lexend, sans-serif; }
.prose-a\:text-primary a { color: #c29b61; }
.prose-strong\:text-primary\/90 strong { color: rgba(194, 155, 97, 0.9); }
.dark .dark\:prose-invert { color: #e2e8f0; }
.dark .dark\:prose-invert h2, .dark .dark\:prose-invert h3 { color: #f1f5f9; }
.dark .dark\:prose-invert strong { color: #f1f5f9; }
.dark .dark\:prose-invert a { color: #c29b61; }
.lead { font-size: 1.25rem; line-height: 1.6; }

/* Responsive - Medium screens (768px+) */
@media (min-width: 768px) {
    .md\:flex, .md-flex { display: flex; }
    .md\:grid-cols-3, .md-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:text-6xl, .md-text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* Responsive - Large screens (1024px+) */
@media (min-width: 1024px) {
    .lg\:flex, .lg-flex { display: flex; }
    .lg\:col-start-3, .lg-col-start-3 { grid-column-start: 3; }
    .lg\:col-span-8, .lg-col-span-8 { grid-column: span 8 / span 8; }
    .lg\:grid-cols-12, .lg-grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* Fallback para classes com dois pontos (caso o escape não funcione) */
@media (min-width: 1024px) {
    [class*="lg:col-start-3"] { grid-column-start: 3 !important; }
    [class*="lg:col-span-8"] { grid-column: span 8 / span 8 !important; }
    [class*="lg:grid-cols-12"] { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
    [class*="lg:flex"] { display: flex !important; }
}

@media (min-width: 768px) {
    [class*="md:grid-cols-3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    [class*="md:text-6xl"] { font-size: 3.75rem !important; line-height: 1 !important; }
}

/* Custom Styles */
.glass-nav {
    backdrop-filter: blur(10px);
    background-color: rgba(26, 26, 26, 0.8);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Inline Block */
.inline-block { display: inline-block; }

/* Container */
.mx-auto { margin-left: auto; margin-right: auto; }
