/* ============== MDB AMAPÁ — PORTAL OFICIAL ============== */

* { scroll-behavior: smooth; }
html { scroll-padding-top: 100px; }

body { 
  background-color: #FBF7F2;
  color: #1A1A1A;
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ═══════════ NAV ═══════════ */
.nav-link.active {
  color: #F47920;
  background: #FFF4EC;
  border-radius: 8px;
}

/* ═══════════ GOVERNANÇA CARDS ═══════════ */
.gov-card {
  background: #FFF4EC;
  padding: 1.25rem;
  border-radius: 12px;
  border-left: 3px solid #F47920;
  transition: all .25s;
}
.gov-card:hover { transform: translateX(4px); background: #fff; box-shadow: 0 8px 24px rgba(244,121,32,.12); }
.gov-card i { font-size: 1.5rem; margin-bottom: .5rem; display: block; }
.gov-card h4 { font-weight: 800; font-size: 1rem; margin-bottom: .25rem; }
.gov-card p { font-size: .85rem; color: #555; }

/* ═══════════ TABS ═══════════ */
.tab-btn {
  padding: .6rem 1.1rem;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
  color: #555;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
}
.tab-btn:hover { border-color: #F47920; color: #F47920; }
.tab-btn.active {
  background: linear-gradient(135deg, #F47920, #D65F10);
  border-color: #D65F10;
  color: #fff;
  box-shadow: 0 6px 18px rgba(244,121,32,.35);
}
.tab-btn i { font-size: .9rem; }

.tab-panel { display: none; animation: fadeUp .4s ease; }
.tab-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════ NÚCLEO HERO ═══════════ */
.nucleo-hero {
  background: linear-gradient(135deg, #FFF4EC 0%, #fff 100%);
  border-radius: 28px;
  padding: 2.5rem;
  border: 2px solid var(--accent-soft, #FFF4EC);
  position: relative;
  overflow: hidden;
}
.nucleo-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent, #F47920) 0%, transparent 70%);
  opacity: .08;
  border-radius: 50%;
}
.nucleo-badge {
  display: inline-block;
  padding: .4rem 1rem;
  background: #FFF4EC;
  color: #D65F10;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 1rem;
}

.pill-stat {
  background: #fff;
  padding: .5rem .9rem;
  border-radius: 10px;
  font-size: .8rem;
  color: #555;
  border: 1px solid #eee;
}
.pill-stat strong { display: block; color: #F47920; font-size: .85rem; margin-top: 2px; }

/* ═══════════ MOCKUP CARD ═══════════ */
.mockup-card {
  background: linear-gradient(145deg, var(--accent, #F47920) 0%, var(--accent-dark, #D65F10) 100%);
  aspect-ratio: 1/1;
  border-radius: 20px;
  padding: 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  position: relative;
  overflow: hidden;
}
.mockup-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
}
.mockup-header { font-size: .7rem; font-weight: 800; letter-spacing: 2px; opacity: .9; }
.mockup-body { position: relative; z-index: 1; }
.mockup-footer { font-size: .7rem; opacity: .8; }

/* feature cards */
.feature-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
  border-top: 3px solid #F47920;
  transition: all .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(244,121,32,.18); }
.feature-card i { font-size: 1.6rem; color: #F47920; margin-bottom: .6rem; display: block; }
.feature-card h4 { font-weight: 800; margin-bottom: .4rem; }
.feature-card p { font-size: .85rem; color: #555; }

/* ═══════════ COLOR SWATCHES ═══════════ */
.color-swatch {
  aspect-ratio: 1/1;
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  padding: .8rem;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  cursor: pointer;
  transition: all .25s;
}
.color-swatch:hover { transform: scale(1.05); box-shadow: 0 10px 24px rgba(0,0,0,.15); }

/* ═══════════ DOWNLOADS ═══════════ */
.filter-btn {
  padding: .55rem 1.2rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #ccc;
  font-weight: 600;
  font-size: .85rem;
  transition: all .25s;
  cursor: pointer;
}
.filter-btn:hover { background: rgba(244,121,32,.2); color: #fff; border-color: #F47920; }
.filter-btn.active { background: #F47920; color: #fff; border-color: #F47920; }

.download-card {
  background: linear-gradient(145deg, #2E2E2E 0%, #1F1F1F 100%);
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid rgba(255,255,255,.08);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.download-card:hover {
  transform: translateY(-6px);
  border-color: #F47920;
  box-shadow: 0 20px 40px rgba(244,121,32,.2);
}
.download-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  margin-bottom: 1rem;
}
.download-meta {
  font-size: .65rem;
  color: #F47920;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin-bottom: .4rem;
}
.download-card h3 { font-weight: 800; font-size: 1.05rem; margin-bottom: .5rem; color: #fff; }
.download-card p { font-size: .85rem; color: #aaa; margin-bottom: 1rem; flex: 1; }

.download-formats { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.format-tag {
  background: rgba(244,121,32,.15);
  color: #FFA552;
  padding: .2rem .6rem;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 700;
}

.download-btn {
  background: #F47920;
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
  border: none;
  width: 100%;
}
.download-btn:hover { background: #D65F10; transform: translateY(-1px); }

/* ═══════════ FOOTER SOCIAL ═══════════ */
.social-link {
  width: 40px; height: 40px;
  background: rgba(244,121,32,.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F47920;
  transition: all .2s;
}
.social-link:hover { background: #F47920; color: #fff; transform: translateY(-2px); }

/* ═══════════ TOAST ═══════════ */
#toast.show {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* ═══════════ RESPONSIVO ═══════════ */
@media (max-width: 768px) {
  .nucleo-hero { padding: 1.5rem; }
  .color-swatch { font-size: .65rem; }
}

/* ═══════════ ACESSIBILIDADE ═══════════ */
:focus-visible {
  outline: 3px solid #F47920;
  outline-offset: 2px;
}

button, a { cursor: pointer; }
