/* ═══════════════════════════════════════════════════════════
   BR Print Madeira — Homepage
   ═══════════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(48px, 7vw, 80px);
  text-align: center;
}
/* Banner full-width logo após o header, fundido no fundo preto */
.hero-banner { position: relative; z-index: 1; width: 100%; }
.hero-banner img { display: block; width: 100%; height: auto; }
.hero-banner::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 55%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, var(--black) 92%);
  pointer-events: none;
}
/* Altura fixa de propósito: se seguisse a altura do herói, qualquer
   reflow (troca de fonte) fazia os brilhos saltarem e isso contava
   para o CLS. São decorativos, a caixa não precisa de acompanhar. */
.hero-blobs {
  position: absolute; inset: 0 0 auto 0;
  height: clamp(520px, 92vh, 900px);
  z-index: 0; pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.hero-blob--cyan    { width: 380px; height: 380px; background: var(--cyan);    top: -80px; left: -100px; }
.hero-blob--magenta { width: 420px; height: 420px; background: var(--magenta); bottom: -120px; right: -120px; }
.hero-blob--yellow  { width: 300px; height: 300px; background: var(--yellow); top: 40%; left: 45%; opacity: 0.18; }

.hero-inner { position: relative; z-index: 2; margin-top: clamp(-64px, -4vw, -24px); }
.hero h1 {
  font-size: clamp(34px, 8vw, 76px);
  letter-spacing: clamp(-3px, -0.04em, -1px);
  line-height: 1.0;
  margin: 16px auto 0;
  max-width: 14ch;
}
.hero .lead { margin: 22px auto 0; max-width: 46ch; }
.hero-btns {
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; margin-top: 34px;
}
.hero-btns a { width: 100%; max-width: 320px; }

@media (min-width: 768px) {
  .hero-btns { flex-direction: row; justify-content: center; }
  .hero-btns a { width: auto; }
}

/* ─── Grid de Serviços (4×2) ────────────────────────────── */
.services { background: var(--black); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head .h2 { margin-top: 10px; }
.section-head .lead { margin-top: 16px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.service-card {
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 26px) clamp(14px, 2.5vw, 20px);
  text-align: center;
  transition: border-color var(--dur), transform var(--dur);
}
.service-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.service-card .svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(46px, 7vw, 56px);
  height: clamp(46px, 7vw, 56px);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--cyan);
  font-size: clamp(24px, 3.4vw, 28px);
  line-height: 1;
  transition: color var(--dur), background var(--dur), transform var(--dur);
}
.service-card .svc-icon i { line-height: 1; }
.service-card:hover .svc-icon {
  color: var(--white);
  background: var(--cyan);
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) { .service-card:hover .svc-icon { transform: none; } }
.service-card h3 {
  font-size: clamp(13px, 1.8vw, 16px);
  margin-top: 12px;
}
.service-card p {
  font-size: clamp(11px, 1.4vw, 13px);
  color: var(--text-mute);
  margin-top: 6px;
  display: none;
}
@media (min-width: 480px) { .service-card p { display: block; } }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .services-grid { gap: 20px; } }

/* ─── Feature block — Viaturas ──────────────────────────── */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.feature-visual {
  position: relative;
  min-height: clamp(200px, 38vw, 380px);
  display: flex; align-items: center; justify-content: center;
}
/* "Chão" de luz suave sob a viatura — assenta o recorte no fundo da página */
.feature-visual::after {
  content: ''; position: absolute; left: 50%; bottom: 12%;
  width: 70%; height: 24px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,180,216,0.22), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.feature-visual img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.6));
}
.feature-text .h2 { margin: 12px 0 18px; }
.feature-text .link-arrow { margin-top: 24px; }

@media (min-width: 768px) {
  .feature { grid-template-columns: 1.1fr 1fr; }
  .feature.reverse .feature-visual { order: 2; }
}

/* ─── CTA band ──────────────────────────────────────────── */
.cta-band {
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,180,216,0.12), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(232,0,109,0.14), transparent 50%),
    var(--ink);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.cta-band .lead { margin: 16px auto 30px; max-width: 40ch; }
.cta-band .hero-btns { margin-top: 0; }

/* ─── Hero stats (prova social leve) ────────────────────── */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(22px, 5vw, 44px);
  margin: 28px auto 0;
  padding: 0;
}
.hero-stats li { font-size: 13px; color: var(--text-mute); white-space: nowrap; }
.hero-stats strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.2vw, 21px);
  color: #fff;
  margin-right: 7px;
}

/* ─── Serviços: CTA "ver todos" ─────────────────────────── */
.services-cta { text-align: center; margin-top: clamp(28px, 4vw, 40px); }

/* ─── Como funciona (3 passos) ──────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: clamp(24px, 3.5vw, 36px);
  transition: border-color var(--dur), transform var(--dur);
}
.step:hover { border-color: var(--border-2); transform: translateY(-4px); }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-2);
}
.step:nth-child(1) .step-num { -webkit-text-stroke-color: var(--cyan); }
.step:nth-child(2) .step-num { -webkit-text-stroke-color: var(--magenta); }
.step:nth-child(3) .step-num { -webkit-text-stroke-color: var(--yellow); }
.step h3 { font-size: clamp(18px, 2.4vw, 22px); margin: 16px 0 10px; }
.step p { color: var(--text-mute); font-size: clamp(14px, 1.6vw, 15px); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
