/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
}

/* Cores do Café Maiolini */
:root {
    --coffee-red: #8B4513;
    --coffee-red-dark: #6B3410;
    --coffee-brown: #A0522D;
    --coffee-dark: #2D1B0E;
    --coffee-medium: #5D4037;
    --coffee-light: #F5E6D3;
    --coffee-cream: #FFF8DC;
    --coffee-gradient-start: #8B4513;
    --coffee-gradient-end: #6B3410;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }
.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* Grid System */
.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)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Padding e Margin */
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pb-3 { padding-bottom: 0.75rem; }
.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-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-2 { margin-left: 0.5rem; }

/* Typography */
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Colors */
.text-coffee-dark { color: var(--coffee-dark); }
.text-coffee-medium { color: var(--coffee-medium); }
.text-coffee-red { color: var(--coffee-red); }
.text-coffee-red-dark { color: var(--coffee-red-dark); }
.text-coffee-light { color: var(--coffee-light); }
.text-coffee-cream { color: var(--coffee-cream); }
.text-white { color: white; }
.bg-white { background-color: white; }
.bg-coffee-cream { background-color: var(--coffee-cream); }
.bg-coffee-light { background-color: var(--coffee-light); }

/* Navbar */
.navbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(160, 82, 45, 0.2);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--coffee-red), var(--coffee-red-dark));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.btn-outline {
    border: 2px solid var(--coffee-brown);
    color: var(--coffee-dark);
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn-outline:hover {
    background: var(--coffee-light);
}

.btn-outline-light {
    border: 2px solid var(--coffee-cream);
    color: var(--coffee-cream);
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--coffee-cream);
    color: var(--coffee-dark);
}

/* Gradients */
.coffee-gradient {
    background: linear-gradient(135deg, var(--coffee-light) 0%, #F0E6D2 100%);
}

.coffee-hero-gradient {
    background: linear-gradient(135deg, var(--coffee-red) 0%, var(--coffee-red-dark) 100%);
}

/* Cards */
.coffee-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(160, 82, 45, 0.1);
}

.coffee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
}

/* Level Badges */
.level-badge-inicial {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.level-badge-avancado {
    background: linear-gradient(135deg, #6B3410, #8B4513);
}

.level-badge-elite {
    background: linear-gradient(135deg, #2D1B0E, #6B3410);
}

/* Text Effects */
.hero-text-shadow {
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Patterns */
.coffee-bean-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 248, 220, 0.1) 2px, transparent 2px),
                      radial-gradient(circle at 75% 75%, rgba(255, 248, 220, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .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\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:text-2xl { font-size: 1.5rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:col-span-1 { grid-column: span 1 / span 1; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}

/* Flex Direction */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }

/* Border */
.border { border-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-coffee-brown\/20 { border-color: rgba(160, 82, 45, 0.2); }
.border-coffee-red-dark { border-color: var(--coffee-red-dark); }
.border-t { border-top-width: 1px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }

/* Backdrop */
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* Transitions */
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 0.15s; }

/* Hover effects */
.hover\:text-coffee-red-dark:hover { color: var(--coffee-red-dark); }
.hover\:bg-coffee-light:hover { background-color: var(--coffee-light); }
.hover\:bg-coffee-light\/30:hover { background-color: rgba(245, 230, 211, 0.3); }
.hover\:bg-white:hover { background-color: white; }

/* Mobile Menu */
#mobile-menu.hidden {
    display: none;
}

#mobile-menu.show {
    display: block;
}

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(160, 82, 45, 0.2);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--coffee-red);
}

.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(160, 82, 45, 0.2);
    border-radius: 0.5rem;
    font-size: 1rem;
    min-height: 120px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--coffee-red);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--coffee-dark);
}

/* Benefit Tags */
.benefit-tag {
    background: linear-gradient(135deg, var(--coffee-red), var(--coffee-red-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--coffee-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

.timeline-item:nth-child(1)::before { content: '2020'; font-size: 0.6rem; }
.timeline-item:nth-child(2)::before { content: '2021'; font-size: 0.6rem; }
.timeline-item:nth-child(3)::before { content: '2022'; font-size: 0.6rem; }
.timeline-item:nth-child(4)::before { content: '2023'; font-size: 0.6rem; }
.timeline-item:nth-child(5)::before { content: '2024'; font-size: 0.6rem; }
.timeline-item:nth-child(6)::before { content: '2025'; font-size: 0.6rem; }

/* Filter Buttons */
.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--coffee-brown);
    background: transparent;
    color: var(--coffee-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--coffee-red), var(--coffee-red-dark));
    color: white;
    border-color: var(--coffee-red);
}

.filter-btn:hover {
    background: var(--coffee-light);
}

.filter-btn.active:hover {
    background: linear-gradient(135deg, var(--coffee-red-dark), var(--coffee-red));
}

/* Contact Info Cards */
.contact-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(160, 82, 45, 0.1);
    text-align: center;
}

.contact-card i {
    font-size: 2rem;
    color: var(--coffee-red);
    margin-bottom: 1rem;
}

/* Values Cards */
.value-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(160, 82, 45, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
    color: var(--coffee-red);
    margin-bottom: 1rem;
}

/* FAQ Cards */
.faq-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(160, 82, 45, 0.1);
    margin-bottom: 1rem;
}

/* Supplier Cards */
.supplier-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(160, 82, 45, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.supplier-card .supplier-header {
    margin-bottom: 1rem;
}

.supplier-card .supplier-benefits {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.supplier-card .supplier-contacts {
    margin-top: auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--coffee-brown);
    border-radius: 0.5rem;
    background: transparent;
    color: var(--coffee-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.contact-btn:hover {
    background: var(--coffee-light);
}

.contact-btn i {
    margin-right: 0.5rem;
    width: 1rem;
    text-align: center;
}

/* Category Badge */
.category-badge {
    background: var(--coffee-light);
    color: var(--coffee-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(160, 82, 45, 0.1);
    text-align: center;
}

.stat-card i {
    font-size: 2rem;
    color: var(--coffee-red-dark);
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-5xl { font-size: 2.5rem; }
    .text-6xl { font-size: 3rem; }
    .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
    .container { padding: 0 1rem; }
}

@media (max-width: 640px) {
    .grid-cols-2 { grid-template-columns: 1fr; }
    .flex-col { flex-direction: column; }
    .gap-4 { gap: 1rem; }
    .text-4xl { font-size: 1.875rem; }
    .px-8 { padding-left: 1rem; padding-right: 1rem; }
}

/* Ajuste dos filtros no mobile */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-container .filter-btn {
    flex: 1 1 auto;
    text-align: center;
    min-width: 120px; /* garante largura mínima */
}