/* 🎨 AgroGrãos Premium Styles - Design Luxuoso */

/* Animações suaves e elegantes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3), 0 0 40px rgba(251, 191, 36, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.5), 0 0 60px rgba(251, 191, 36, 0.3);
    }
}

/* Fonte premium */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

/* Cards de produtos com efeito luxuoso */
[class*="bg-white rounded"] img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    object-fit: cover;
}

[class*="bg-white rounded"]:hover img {
    transform: scale(1.08) rotate(1deg);
}

[class*="bg-white rounded"] {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

[class*="bg-white rounded"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s;
}

[class*="bg-white rounded"]:hover::before {
    left: 100%;
}

[class*="bg-white rounded"]:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(251, 191, 36, 0.1),
        0 0 60px rgba(251, 191, 36, 0.15);
}

/* Botões premium */
button[class*="bg-green"], 
button[class*="bg-amber"],
button[class*="bg-yellow"] {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
    letter-spacing: 0.5px;
}

button[class*="bg-green"]::after,
button[class*="bg-amber"]::after,
button[class*="bg-yellow"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button[class*="bg-green"]:hover::after,
button[class*="bg-amber"]:hover::after,
button[class*="bg-yellow"]:hover::after {
    width: 300px;
    height: 300px;
}

button[class*="bg-green"]:hover,
button[class*="bg-amber"]:hover,
button[class*="bg-yellow"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 40px -12px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(251, 191, 36, 0.3);
}

/* Header premium com efeito glassmorphism */
header {
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, 
        rgba(22, 101, 52, 0.95) 0%, 
        rgba(21, 128, 61, 0.95) 50%, 
        rgba(22, 101, 52, 0.95) 100%) !important;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

/* Badge premium com brilho */
[class*="badge"], 
span[class*="bg-amber"],
span[class*="bg-yellow"],
span[class*="bg-green"] {
    position: relative;
    animation: glow 3s ease-in-out infinite;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Inputs elegantes */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: #fbbf24;
    box-shadow: 
        0 0 0 3px rgba(251, 191, 36, 0.1),
        0 10px 30px -10px rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
}

/* Gradientes premium */
[class*="gradient"] {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Efeito de brilho dourado */
.gold-shine {
    position: relative;
    background: linear-gradient(
        90deg,
        #fbbf24 0%,
        #f59e0b 25%,
        #fbbf24 50%,
        #f59e0b 75%,
        #fbbf24 100%
    );
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sombras luxuosas */
.luxury-shadow {
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(251, 191, 36, 0.1),
        0 10px 40px -10px rgba(251, 191, 36, 0.2);
}

/* Imagens com overlay elegante */
img {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Página de sucesso celebrativa */
[class*="animate-bounce"] {
    animation: float 3s ease-in-out infinite;
}

/* Formulário premium */
form {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f0fdf4 0%, #fef3c7 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #16a34a 0%, #fbbf24 100%);
    border-radius: 6px;
    border: 2px solid #f0fdf4;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #15803d 0%, #f59e0b 100%);
}

/* Efeito de partículas douradas (decorativo) */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Texto premium com gradiente */
.premium-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Hover suave em links */
a {
    transition: all 0.3s ease;
}

a:hover {
    transform: translateX(3px);
}

/* Badge com efeito 3D */
[class*="badge"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    border-radius: inherit;
    pointer-events: none;
}

/* Responsividade premium */
@media (max-width: 768px) {
    [class*="bg-white rounded"]:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* Animação de entrada para elementos */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Efeito de loading premium */
@keyframes pulse-gold {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
    }
}

.loading-premium {
    animation: pulse-gold 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

