/* ==========================================================
   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: var(--bc-ink, #142135);
  --bc-card-muted: var(--bc-muted, #5d6a7d);
  --bc-card-blue: var(--bc-blue, #194d88);
  --bc-card-blue-soft: #eaf1fa;
  --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);
  --bc-card-green: #149b55;
  --bc-card-green-soft: #ebfbf2;
}

/* ---------- 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;
}

/* Destaque do topo: some por padrão, aparece de forma animada no hover/foco
   (funciona também como sinal de que o card é clicável nos serviços e no WhatsApp). */
.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);
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: left center;
}

.bc-location-card--action::before {
  background: var(--bc-card-green);
}

@media (prefers-reduced-motion: no-preference) {
  .bc-brand-card::before,
  .bc-service-card::before,
  .bc-location-card::before {
    transition: opacity 220ms ease, transform 220ms ease;
  }
}

@media (hover: hover) {
  .bc-brand-card:hover::before,
  .bc-service-card:hover::before,
  .bc-location-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
  }
}

a.bc-service-card:focus-visible::before,
a.bc-location-card:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

@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;
}

/* O detalhe inferior foi substituído pelo CTA "Solicitar orçamento" (ver seção de links) */

/* ---------- 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);
  }
}

/* ---------- CARDS QUE VIRARAM LINKS (SERVIÇOS + WHATSAPP) ---------- */
a.bc-service-card,
a.bc-location-card {
  text-decoration: none;
  cursor: pointer;
}

a.bc-service-card:focus-visible,
a.bc-location-card:focus-visible {
  outline: 2px solid var(--bc-card-blue);
  outline-offset: 3px;
}

.bc-service-card {
  padding-bottom: 20px;
}

.bc-service-cta {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bc-card-blue);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateX(-4px);
}

.bc-service-cta i {
  font-size: 0.72rem;
  transition: transform 180ms ease;
}

.bc-service-cta-green {
  color: var(--bc-card-green);
}

@media (prefers-reduced-motion: no-preference) {
  .bc-service-cta {
    transition: opacity 180ms ease, transform 180ms ease;
  }
}

/* Em telas sem mouse (celular), o convite à ação fica sempre visível */
@media (hover: none) {
  .bc-service-cta {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) {
  a.bc-service-card:hover .bc-service-cta,
  a.bc-location-card:hover .bc-service-cta {
    opacity: 1;
    transform: none;
  }
  a.bc-service-card:hover .bc-service-cta i,
  a.bc-location-card:hover .bc-service-cta i {
    transform: translateX(3px);
  }
}

/* ---------- BADGE "ABERTO AGORA" NO CARD DE HORÁRIO ---------- */
.bc-status-badge {
  margin-top: 14px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bc-card-blue-soft);
  color: var(--bc-card-blue);
}

.bc-status-badge[data-state="open"] {
  background: var(--bc-card-green-soft);
  color: var(--bc-card-green);
}

.bc-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

@media (prefers-reduced-motion: no-preference) {
  .bc-status-badge[data-state="open"] .bc-status-dot {
    animation: bcStatusPulse 2s ease-in-out infinite;
  }
}

@keyframes bcStatusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- REVELAÇÃO SUAVE AO ROLAR ---------- */
@media (prefers-reduced-motion: no-preference) {
  .bc-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 520ms ease, transform 520ms ease;
  }
  .bc-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 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-location-card {
    min-height: 205px;
    padding: 24px 22px;
  }

  .bc-location-map-card {
    min-height: auto;
    padding: 10px;
  }

  .bc-location-map-preview {
    height: 190px;
  }
}