/* ==========================================================
   BINHO CELULARES — CARDS DA LANDING PAGE
   Modelo B claro aprovado: editorial, limpo e consistente.
   Mantém somente as informações já existentes no site.
   ========================================================== */

:root {
  --bc-card-ink: #0b1730;
  --bc-card-muted: #5d6a7d;
  --bc-card-blue: #1f6feb;
  --bc-card-blue-soft: #edf5ff;
  --bc-card-border: #d8e4f2;
  --bc-card-border-hover: #9bbce6;
  --bc-card-bg: #ffffff;
  --bc-card-shadow: 0 14px 34px rgba(17, 52, 88, 0.07);
  --bc-card-shadow-hover: 0 20px 42px rgba(17, 52, 88, 0.11);
}

/* ---------- BASE COMPARTILHADA ---------- */
.bc-brand-grid,
.bc-service-grid,
.bc-location-grid {
  width: min(1160px, 100%);
  margin: 34px auto 0;
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 2;
  font-family: Inter, sans-serif;
  text-align: left;
}

.bc-brand-grid *,
.bc-service-grid *,
.bc-location-grid * {
  box-sizing: border-box;
}

.bc-brand-card,
.bc-service-card,
.bc-location-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: var(--bc-card-bg);
  border: 1px solid var(--bc-card-border);
  border-radius: 18px;
  color: var(--bc-card-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}

/* Linha editorial azul, igual em todas as famílias de cards. */
.bc-brand-card::before,
.bc-service-card::before,
.bc-location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 54px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--bc-card-blue);
}

@media (hover: hover) {
  .bc-brand-card:hover,
  .bc-service-card:hover,
  .bc-location-card:hover {
    border-color: var(--bc-card-border-hover);
    box-shadow: var(--bc-card-shadow-hover);
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .bc-brand-card,
  .bc-service-card,
  .bc-location-card {
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }
}

/* ---------- MARCAS ---------- */
.bc-brand-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bc-brand-card {
  min-height: 224px;
  padding: 34px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.bc-brand-logo {
  width: 100%;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-brand-logo img {
  display: block;
  max-width: 76%;
  max-height: 86px;
  object-fit: contain;
}

.bc-brand-logo img[alt="Apple"] {
  width: 72px;
  height: 72px;
}

.bc-brand-logo img[alt="Samsung"] {
  width: 150px;
  max-width: 86%;
}

.bc-brand-logo img[alt="Motorola"] {
  width: 84px;
  height: 84px;
}

.bc-brand-logo img[alt="Xiaomi"] {
  width: 82px;
  height: 82px;
}

.bc-brand-card > span {
  position: relative;
  padding-top: 17px;
  color: var(--bc-card-ink);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.bc-brand-card > span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--bc-card-blue);
  transform: translateX(-50%);
}

/* ---------- SERVIÇOS ---------- */
.bc-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bc-service-card {
  min-height: 220px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bc-service-card > i {
  width: 52px;
  height: 52px;
  margin: 4px 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 15px;
  background: var(--bc-card-blue-soft);
  border: 1px solid #d8e9ff;
  color: var(--bc-card-blue);
  font-size: 1.18rem;
}

.bc-service-card > h3 {
  margin: 0 0 9px;
  color: var(--bc-card-ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.bc-service-card > p {
  margin: 0;
  max-width: 31ch;
  color: var(--bc-card-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Pequeno detalhe inferior inspirado no modelo editorial aprovado. */
.bc-service-card::after {
  content: '';
  position: absolute;
  left: 26px;
  bottom: 20px;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--bc-card-blue);
  opacity: .9;
}

/* ---------- LOCALIZAÇÃO ---------- */
.bc-location-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.bc-location-card {
  min-height: 238px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bc-location-icon {
  width: 54px;
  height: 54px;
  margin: 4px 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--bc-card-blue-soft);
  border: 1px solid #d8e9ff;
  color: var(--bc-card-blue);
  font-size: 1.22rem;
}

.bc-location-icon-whatsapp {
  color: #149b55;
  background: #ebfbf2;
  border-color: #d4f4e1;
}

.bc-location-card > h4 {
  margin: 0 0 10px;
  color: var(--bc-card-ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bc-location-card > p {
  margin: 0;
  color: var(--bc-card-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.bc-location-card > p strong {
  color: var(--bc-card-ink);
  font-weight: 650;
}

.bc-location-map-card {
  padding: 12px;
}

.bc-location-map-card::before {
  left: 20px;
  z-index: 3;
}

.bc-location-map-preview {
  width: 100%;
  height: 142px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef3f8;
  border: 1px solid #e1e8f0;
}

.bc-location-map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.bc-location-map-link {
  width: 100%;
  min-height: 72px;
  padding: 14px 10px 4px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  color: var(--bc-card-ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
}

.bc-location-map-link > i:first-child {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bc-card-blue-soft);
  color: var(--bc-card-blue);
  font-size: 0.92rem;
}

.bc-location-map-link > i:last-child {
  color: var(--bc-card-blue);
  font-size: 0.8rem;
  justify-self: end;
}

@media (hover: hover) {
  .bc-location-map-link:hover span {
    color: var(--bc-card-blue);
  }
}

/* ---------- RESPONSIVIDADE ---------- */
@media (max-width: 1020px) {
  .bc-brand-grid,
  .bc-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bc-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .bc-brand-grid,
  .bc-service-grid,
  .bc-location-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 26px;
  }

  .bc-brand-card {
    min-height: 190px;
  }

  .bc-service-card {
    min-height: 202px;
    padding: 24px 22px 24px;
  }

  .bc-service-card::after {
    left: 22px;
  }

  .bc-location-card {
    min-height: 205px;
    padding: 24px 22px;
  }

  .bc-location-map-card {
    min-height: auto;
    padding: 10px;
  }

  .bc-location-map-preview {
    height: 190px;
  }
}
