/* ================= VARIÁVEIS ================= */
:root {
  --primary: #d4af37;
  --dark: #0f0f0f;
  --card-bg: #1a1a1a;
  --text: #ffffff;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  background-color: var(--dark);
  color: var(--text);
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* ================= LOGO ================= */
.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px 20px;
}

.logo {
  width: 100%;
  max-width: 100%; /* GRANDE e elegante no desktop */
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.6));
}

/* Notebook */
@media (max-width: 1200px) {
  .logo {
    max-width: 420px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .logo {
    max-width: 260px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .logo {
    max-width: 200px;
  }
}

/* ================= HERO ================= */
.hero {
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
    url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?w=1200') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 15px;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content p {
  margin: 15px 0;
}

/* ================= BOTÕES ================= */
.btn {
  background: var(--primary);
  color: #000;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: .3s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: #fff;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 15px;
}

.section-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 40px;
  font-size: 2.2rem;
}

/* ================= GRID INSTRUMENTOS ================= */
.grid-instrumentos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  transition: .3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-info {
  padding: 20px;
  text-align: center;
}

.card-info h3 {
  color: var(--primary);
}

/* ================= SLIDER ================= */
.slider-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.slider {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 10px 15px;
}

.slide-card {
  width: 240px;
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
  transition: .3s;
}

.slide-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.slide-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.slide-info {
  padding: 15px;
  text-align: center;
}

.slide-info h4 {
  color: var(--primary);
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 8px 0;
}

.buy-btn {
  display: block;
  background: var(--primary);
  color: #000;
  padding: 12px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
}

.buy-btn:hover {
  background: #fff;
}

/* ================= CONTATO ================= */
.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background: #151515;
  padding: 30px;
  border-radius: 20px;
}

.contact-info {
  flex: 1 1 300px;
}

/* ================= MAPA ================= */
.map-container {
  max-width: 1024px;
  margin: 60px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

.map-container iframe {
  width: 100%;
  height: 550px;
  border: 0;
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 320px;
  }
}

/* ================= CHATBOT ================= */
#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,.3);
  z-index: 1000;
}

#chat-header {
  background: var(--primary);
  color: #000;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

#chat-messages {
  flex: 1;
  padding: 10px;
  background: #000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 80%;
}

.user {
  background: var(--primary);
  color: #000;
  align-self: flex-end;
}

.bot {
  background: #333;
  color: #fff;
  align-self: flex-start;
}

#chat-input {
  display: flex;
  border-top: 1px solid #555;
}

#chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

#chat-input button {
  padding: 10px;
  background: var(--primary);
  border: none;
  cursor: pointer;
  font-weight: bold;
}
