/* utilities.css - Classes utilitárias do Tailwind convertidas */

/* ===== SPACING ===== */
/* Padding */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.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-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

/* Margin */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }

/* Gap */
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ===== BACKGROUND COLORS ===== */
.bg-background { background-color: var(--background); }
.bg-foreground { background-color: var(--foreground); }
.bg-primary { background-color: var(--primary); }
.bg-primary-foreground { background-color: var(--primary-foreground); }
.bg-secondary { background-color: var(--secondary); }
.bg-secondary-foreground { background-color: var(--secondary-foreground); }
.bg-accent { background-color: var(--accent); }
.bg-accent-foreground { background-color: var(--accent-foreground); }
.bg-card { background-color: var(--card); }
.bg-muted { background-color: var(--muted); }
.bg-popover { background-color: var(--popover); }

/* Background with opacity */
.bg-foreground\/0 { background-color: hsla(var(--foreground-hsl), 0); }
.bg-foreground\/20 { background-color: hsla(var(--foreground-hsl), 0.2); }
.bg-foreground\/50 { background-color: hsla(var(--foreground-hsl), 0.5); }
.bg-background\/95 { background-color: hsla(var(--background-hsl), 0.95); }
.bg-background\/98 { background-color: hsla(var(--background-hsl), 0.98); }

/* ===== TEXT COLORS ===== */
.text-foreground { color: var(--foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-secondary { color: var(--secondary); }
.text-secondary-foreground { color: var(--secondary-foreground); }
.text-accent { color: var(--accent); }
.text-accent-foreground { color: var(--accent-foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-card-foreground { color: var(--card-foreground); }

/* Text with opacity */
.text-foreground\/70 { color: hsla(var(--foreground-hsl), 0.7); }
.text-foreground\/80 { color: hsla(var(--foreground-hsl), 0.8); }
.text-primary-foreground\/70 { color: hsla(var(--primary-foreground-hsl), 0.7); }
.text-primary-foreground\/60 { color: hsla(var(--primary-foreground-hsl), 0.6); }
.text-primary-foreground\/50 { color: hsla(var(--primary-foreground-hsl), 0.5); }

/* ===== TYPOGRAPHY ===== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.tracking-\[0\.1em\] { letter-spacing: 0.1em; }
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }

.uppercase { text-transform: uppercase; }

/* ===== BORDERS ===== */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-border { border-color: var(--border); }
.border-primary-foreground\/20 { border-color: hsla(var(--primary-foreground-hsl), 0.2); }
.border-primary-foreground\/50 { border-color: hsla(var(--primary-foreground-hsl), 0.5); }

.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }

/* ===== DISPLAY & FLEXBOX ===== */
.flex { display: flex; }
.hidden { display: none; }
.inline-flex { display: inline-flex; }
.block { display: block; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.flex-shrink-0 { flex-shrink: 0; }

/* ===== GRID ===== */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Responsive Grid */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:inline-flex { display: inline-flex; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:p-10 { padding: 2.5rem; }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:text-xl { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:text-7xl { font-size: 4.5rem; }
}

/* ===== POSITION & LAYOUT ===== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.bottom-10 { bottom: 2.5rem; }
.left-0 { left: 0; }
.top-full { top: 100%; }
.left-1\/2 { left: 50%; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ===== SIZING ===== */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }

.w-1 { width: 0.25rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }

.h-1 { height: 0.25rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }

.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }

/* ===== EFFECTS ===== */
.backdrop-blur-md { backdrop-filter: blur(12px); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-medium { box-shadow: var(--shadow-medium); }

.transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }
.transition-transform { transition-property: transform; }
.transition-shadow { transition-property: box-shadow; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-x-1\/2 { --tw-translate-x: -50%; }
.translate-y-4 { --tw-translate-y: 1rem; }
.group:hover .group-hover\:translate-y-0 { --tw-translate-y: 0; }
.group:hover .group-hover\:scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.group:hover .group-hover\:scale-110 { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }

.opacity-0 { opacity: 0; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

.overflow-hidden { overflow: hidden; }

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* ===== COMPONENTS ESPECÍFICOS DO REACT ===== */
/* AsChild prop simulation */
.asChild {
    display: contents;
}

/* Button variants */
.btn-variant-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-variant-hero {
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-variant-heroOutline {
    background-color: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-variant-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

/* Button sizes */
.btn-size-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
}

.btn-size-lg {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
}

.btn-size-xl {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Space utilities */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* Resize utility */
.resize-none { resize: none; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Object fit */
.object-cover { object-fit: cover; }

/* Aspect ratio */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }


/* Opacidades específicas */
.bg-foreground\/0 { background-color: transparent; }
.text-foreground\/80 { color: hsla(var(--foreground-hsl), 0.8); }

/* Efeitos de grupo */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:bg-foreground\/20 {
    background-color: hsla(var(--foreground-hsl), 0.2);
}

.group:hover .group-hover\:text-accent {
    color: var(--accent);
}

.group:hover .group-hover\:bg-accent\/20 {
    background-color: hsla(var(--accent-hsl), 0.2);
}

/* Container */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Object position */
.object-cover {
    object-fit: cover;
}

/* Transform utilities */
.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.translate-y-4 {
    transform: translateY(1rem);
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* Aspect ratio */
.aspect-\[4\/5\] {
    aspect-ratio: 4/5;
}

/* Padding responsivo */
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

/* Container responsivo com padding */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem; /* ADICIONADO */
    padding-left: 1.5rem;  /* ADICIONADO */
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
        padding-right: 2rem; /* Ajuste para tablets */
        padding-left: 2rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
        padding-right: 3rem; /* Mais espaço em desktop */
        padding-left: 3rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
        padding-right: 3rem;
        padding-left: 3rem;
    }
}

/* Classes de padding específicas para conteúdo */
.content-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .content-padding {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .content-padding {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}
