/* custom.css — complementar ao bootstrap.min.css */

/* Navbar com sombra e transição */
.navbar { box-shadow: var(--bs-box-shadow-sm); transition: background .3s; }

/* Cards com hover lift */
.card { transition: transform .2s, box-shadow .2s; border: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--bs-box-shadow-lg); }
.card-img-top { height: 200px; object-fit: cover; }

/* Botões com border-radius personalizado */
.btn { border-radius: var(--bs-border-radius); font-weight: 500; letter-spacing: .02em; }
.btn-primary { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.btn-outline-primary { color: var(--bs-primary); border-color: var(--bs-primary); }
.btn-outline-primary:hover { background-color: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #1B4332 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(149,213,178,.1);
  border-radius: 50%;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(137,194,217,.08);
  border-radius: 50%;
}

/* Botão olhinho (show code) */
.btn-show-code {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  background: var(--bs-light);
  border: 1px solid rgba(0,0,0,.1);
  color: var(--bs-primary);
  cursor: pointer;
  transition: all .2s;
}
.btn-show-code:hover {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

/* Cabeçalho de seção com olhinho */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.section-header h2, .section-header h3 {
  margin-bottom: 0;
}

/* Code block nas modais */
.code-block {
  background: #1B4332;
  color: #E8F5E9;
  padding: 1.25rem;
  border-radius: var(--bs-border-radius);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
  max-height: 400px;
  overflow-y: auto;
}

/* Sidebar (se o template tiver) */
.sidebar { width: 260px; min-height: 100vh; background: var(--bs-dark); color: #fff; }

/* Scrollbar customizada (webkit) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--bs-secondary); border-radius: 3px; }

/* Utilitários extras */
.text-gradient {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Accordion personalizado */
.accordion-button:not(.collapsed) {
  background-color: rgba(45,106,79,.08);
  color: var(--bs-primary);
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(45,106,79,.15);
}

/* Toast */
.toast-container { z-index: 1060; }

/* Footer */
.footer-nature {
  background: var(--bs-dark);
  color: rgba(255,255,255,.8);
}
.footer-nature a { color: var(--bs-secondary); text-decoration: none; }
.footer-nature a:hover { color: #fff; text-decoration: underline; }
