* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; background-color: #F9FAFB; color: #111827; line-height: 1.5; }
.font-serif { font-family: Georgia, serif; }

header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid #E5E7EB; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: #111827; font-family: Georgia, serif; }
.logo span { color: #D97706; }
nav { display: flex; gap: 2rem; font-size: 0.875rem; font-weight: 500; color: #4B5563; }
nav a { text-decoration: none; color: inherit; transition: color 0.2s; }
nav a:hover { color: #D97706; }

.hero { max-width: 1150px; margin: 0 auto; padding: 4rem 1.5rem; display: flex; align-items: center; gap: 3rem; }
.hero-content { flex: 1; }
.badge { display: inline-block; background-color: #FEF3C7; color: #92400E; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; }
.hero h1 { font-family: Georgia, serif; font-size: 3rem; font-weight: 700; color: #111827; line-height: 1.2; margin-bottom: 1rem; }
.hero p { font-size: 1.125rem; color: #4B5563; font-weight: 300; margin-bottom: 2rem; }
.btn { display: inline-block; background-color: #111827; color: #FFFFFF; font-weight: 500; padding: 1rem 2rem; border-radius: 0.5rem; text-decoration: none; transition: background-color 0.2s; }
.btn:hover { background-color: #D97706; }

.hero-image { flex: 1; border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); background: linear-gradient(135deg, #B45309, #1C1917, #0F172A); padding: 2.5rem; color: white; aspect-ratio: 4/3; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-image span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #FCD34D; font-weight: 600; margin-bottom: 0.5rem; }
.hero-image h3 { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; }
.hero-image p { font-size: 0.875rem; color: #D1D5DB; margin-top: 0.25rem; }

.section-materiais { max-width: 1150px; margin: 0 auto; padding: 4rem 1.5rem; border-top: 1px solid #E5E7EB; }
.section-title { text-align: center; max-width: 42rem; margin: 0 auto 3rem auto; }
.section-title h2 { font-family: Georgia, serif; font-size: 2.25rem; font-weight: 700; color: #111827; margin-bottom: 0.75rem; }
.section-title p { color: #4B5563; font-size: 1rem; }

/* Carrossel Automático */
.carrossel-container { display: flex; gap: 1.5rem; overflow-x: auto; scroll-behavior: smooth; padding: 1rem 0; }
.carrossel-container::-webkit-scrollbar { display: none; }
.carrossel-container { -ms-overflow-style: none; scrollbar-width: none; }

.card { min-width: 340px; flex-shrink: 0; background: white; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid #F3F4F6; cursor: pointer; transition: all 0.3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.card-img-wrapper { height: 200px; background-color: #F3F4F6; overflow: hidden; position: relative; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img-wrapper img { transform: scale(1.05); }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; display: block; }
.card-title { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 0.5rem; }
.card-desc { font-size: 0.875rem; color: #6B7280; font-weight: 300; }
.card-footer { margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600; display: flex; align-items: center; gap: 0.25rem; transition: transform 0.2s; }
.card:hover .card-footer { transform: translateX(4px); }

.tag-amber { color: #D97706; }
.tag-indigo { color: #4F46E5; }
.tag-emerald { color: #059669; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 100; padding: 1rem; }
.modal-overlay.active { display: flex; }
.modal-box { background: white; border-radius: 1rem; max-width: 28rem; width: 100%; padding: 2rem; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; color: #9CA3AF; cursor: pointer; }
.modal-close:hover { color: #4B5563; }
.modal-box h3 { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0 1rem 0; color: #111827; }
.modal-box p { font-size: 0.875rem; color: #4B5563; margin-bottom: 1.5rem; }
.form-input { width: 100%; padding: 0.75rem 1rem; border: 1px solid #D1D5DB; border-radius: 0.5rem; font-size: 0.875rem; margin-bottom: 1rem; outline: none; }
.form-input:focus { border-color: #D97706; box-shadow: 0 0 0 2px rgba(217,119,6,0.2); }
.form-btn { width: 100%; background: #D97706; color: white; border: none; padding: 0.75rem; border-radius: 0.5rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.form-btn:hover { background: #B45309; }
.modal-footer-note { font-size: 0.75rem; color: #9CA3AF; text-align: center; margin-top: 1rem; }

footer { background: white; border-top: 1px solid #E5E7EB; padding: 2rem; text-align: center; font-size: 0.875rem; color: #6B7280; }

@media(max-width: 768px) {
    .hero { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 2.25rem; }
    nav { display: none; }
}