/* ========================================
   catalogo.css — Filtro Angola Catálogo
   ======================================== */

/* ── ACTIVE NAV ── */
.active-nav-link { color: var(--accent) !important; font-weight: 700; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.cat-hero {
  position: relative;
  background: white;
  padding: 9rem 0 5rem;
  overflow: hidden;
  text-align: center;
    padding: 12rem 0 5rem;

}

.cat-hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.cat-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: #00B4D8;
}



.cat-hero__content {
  position: relative;
  z-index: 2;
  color: white;
}

.cat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,180,216,0.2);
  border: 1px solid rgba(0,180,216,0.35);
  color: #00D4FF;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.cat-hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #001A33;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.cat-accent {
  color: #00B4D8;
  background: linear-gradient(90deg, #00B4D8, #48CAE4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cat-hero__content p {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* ── Search ── */
.cat-search {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}

.cat-search input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 3.2rem;
  border-radius: 50px;
  border: none;
  font-size: 0.98rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  color: #1E293B;
  background: white;
  transition: box-shadow 0.3s;
}

.cat-search input:focus {
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 0 3px rgba(0,180,216,0.4);
}

.cat-search input::placeholder { color: #94a3b8; }

.cat-search__icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #00B4D8;
  font-size: 1rem;
}

.cat-search__clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, color 0.2s;
  padding: 0.25rem;
}
.cat-search__clear:hover { color: #001A33; }

/* ═══════════════════════════════════════
   MAIN SECTION
═══════════════════════════════════════ */
.cat-main {
  background: #f8fafc;
  padding: 3rem 0 5rem;
}

/* ── Filters ── */
.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cat-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  border: 2px solid #e2e8f0;
  background: white;
  color: #64748b;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cat-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,180,216,0.05);
}

.cat-filter--active {
  background: #001A33;
  border-color: #001A33;
  color: white;
  box-shadow: 0 4px 15px rgba(0,26,51,0.25);
}

/* ── Results bar ── */
.cat-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: #64748b;
}

.cat-results-bar #cat-count { font-weight: 600; color: #334155; }
.cat-results-bar__hint { display: flex; align-items: center; gap: 0.4rem; }
.cat-results-bar__hint i { color: #00B4D8; }

/* ── Grid ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* ── Card ── */
.cat-card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  opacity: 0;
  transform: translateY(24px);
  display: flex;
  flex-direction: column;
}

.cat-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: rgba(0,180,216,0.35);
}

.cat-card--highlight {
  box-shadow: 0 0 0 3px #00B4D8, 0 20px 50px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease-in-out;
}

/* Badge */
.cat-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #00B4D8, #0096C7);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,180,216,0.4);
}

/* Image area */
.cat-card__img-wrap {
  height: 180px;
  background: linear-gradient(135deg, #f0f8ff, #e0f0f8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.cat-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.cat-card:hover .cat-card__img-wrap img { transform: scale(1.05); }

/* Body */
.cat-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #00B4D8;
  background: rgba(0,180,216,0.1);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.65rem;
}

.cat-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #001A33;
  margin-bottom: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.35;
}

.cat-card__body p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

/* Specs */
.cat-card__specs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cat-card__specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.cat-card__specs i { color: #00B4D8; font-size: 0.7rem; }

/* Price */
.cat-card__price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Button */
.cat-card__actions {
  display: flex;
  align-items: center;
}

.cat-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-grow: 1;
  padding: 0.75rem;
  background: #001A33;
  color: white;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.25s ease;
}

.cat-card__btn:hover {
  background: #00B4D8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,180,216,0.35);
}

.cat-card__btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e2e8f0;
  color: #001A33;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-left: 0.5rem;
}

.cat-card__btn-add:hover {
  background: #00B4D8;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,180,216,0.35);
}


/* Empty state */
.cat-empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
  color: #94a3b8;
  gap: 1rem;
}

.cat-empty i { font-size: 3.5rem; color: #cbd5e1; }
.cat-empty h3 { color: #334155; font-family: 'Montserrat', sans-serif; }
.cat-empty p  { max-width: 340px; }

/* ═══════════════════════════════════════
   CTA
═══════════════════════════════════════ */
.cat-cta { padding: 4rem 0; background: white; }

.cat-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, #001A33 0%, #0A2463 100%);
  border-radius: 24px;
  padding: 3rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.cat-cta__left { max-width: 520px; }

.cat-cta__left h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: white;
  margin-bottom: 0.75rem;
}

.cat-cta__left p { color: rgba(255,255,255,0.7); font-size: 0.97rem; line-height: 1.7; }

.cat-cta__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.cat-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  padding: 0.9rem 2rem;
  background: #00B4D8;
  border-radius: 50px;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,180,216,0.35);
}

.cat-cta__btn:hover {
  background: #0096C7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,180,216,0.45);
}

.cat-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.25s;
}
.cat-cta__phone i { color: #00B4D8; }
.cat-cta__phone:hover { color: #00B4D8; }

/* ── Botão Flutuante do Carrinho ── */
.floating-cart {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.floating-cart__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00B4D8, #0096C7);
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.floating-cart__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 180, 216, 0.5);
}

.floating-cart__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #001A33;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

@keyframes badgePop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.badge-pulse { animation: badgePop 0.4s ease; }


@media (max-width: 768px) {
  .floating-cart {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-cart__btn {
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
  }
}

/* ── Painel do Carrinho (estilo chat) ── */
.cart-panel {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  max-width: calc(100vw - 60px);
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.cart-panel.cart-panel--open {
  display: flex;
}

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

.cart-panel__header {
  background: linear-gradient(135deg, #001A33, #0A2463);
  color: white;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-panel__header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-panel__header-info i {
  font-size: 1.25rem;
  color: #00B4D8;
}

.cart-panel__header-info span:first-of-type {
  font-weight: 700;
  font-size: 1rem;
}

.cart-panel__count {
  background: rgba(0, 180, 216, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #00B4D8;
}

.cart-panel__close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-panel__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cart-panel__body {
  flex: 1;
  min-height: 200px;
  max-height: 350px;
  overflow-y: auto;
  padding: 1rem;
}

.cart-panel__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #64748b;
  text-align: center;
  padding: 2rem 1rem;
}

.cart-panel__empty i {
  font-size: 3rem;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.cart-panel__empty p {
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.25rem;
}

.cart-panel__empty span {
  font-size: 0.85rem;
}

.cart-panel__item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  align-items: center;
}

.cart-panel__item:last-child {
  margin-bottom: 0;
}

.cart-panel__clear {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cart-panel__clear:hover {
  background: rgba(255, 59, 48, 0.8);
  transform: scale(1.05);
}

.cart-panel__item-img {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.cart-panel__item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-panel__item-info {
  flex: 1;
  min-width: 0;
}

.cart-panel__item-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #001A33;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-panel__item-info span {
  font-size: 0.8rem;
  color: #64748b;
}

.cart-panel__item-remove {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}

.cart-panel__item-remove:hover {
  color: #ef4444;
}

.cart-panel__footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.cart-panel__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.cart-panel__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.cart-panel__input:focus {
  border-color: #00B4D8;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.cart-panel__actions {
  display: flex;
  gap: 0.5rem;
}

.cart-panel__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.cart-panel__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.cart-panel__btn--wa {
  background: #25D366;
}

.cart-panel__btn--wa:hover {
  background: #20BD5A;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.cart-panel__btn--email {
  background: #ea4335;
}

.cart-panel__btn--email:hover {
  background: #D93025;
  box-shadow: 0 6px 15px rgba(234, 67, 53, 0.3);
}

@media (max-width: 768px) {
  .cart-panel {
    bottom: 90px;
    right: 20px;
    left: 20px;
    width: auto;
    max-width: none;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .cat-cta__inner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
  }
  .cat-cta__left { max-width: 100%; }
}

@media (max-width: 680px) {
  .cat-filters { gap: 0.4rem; }
  .cat-filter  { font-size: 0.8rem; padding: 0.5rem 1rem; }
  .cat-grid    { grid-template-columns: 1fr 1fr; }
  .cat-results-bar { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-hero { padding: 12rem 0 4rem; }
}
