/* ============================================================
   FabriONE — Landing Page ERP para Premoldados
   Componentes específicos da landing (usa tokens de styles.css)
   ============================================================ */

/* ---------- Botão WhatsApp ---------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }
.section-dark .btn-secondary,
.section-accent .btn-secondary {
  /* mantém contraste dos botões secundários em seções escuras */
}

/* ---------- Botão flutuante WhatsApp (CTA contínuo) ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 0 0 16px rgba(37, 211, 102, 0); }
}
.wa-tooltip {
  position: fixed;
  right: 94px;
  bottom: 38px;
  z-index: 999;
  background: var(--color-ink);
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.wa-float-wrap:hover .wa-tooltip,
.wa-tooltip.show {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* ---------- Faixa de CTA entre seções ---------- */
.wa-band {
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-steel) 100%);
  color: #fff;
  padding: 44px 0;
}
.wa-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.wa-band-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: 6px;
  color: #fff;
}
.wa-band-text p { color: var(--color-cloud); font-size: 0.98rem; max-width: 560px; }

/* ---------- Etiqueta de rastreio (assinatura visual do hero) ---------- */
.label-visual { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.product-label {
  background: #fff;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  max-width: 420px;
  width: 100%;
}
.product-label-qr {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 3px;
}
.product-label-qr span {
  background: var(--color-ink);
  border-radius: 1px;
}
.product-label-qr span.off { background: transparent; }
.label-info { font-size: 0.8rem; line-height: 1.5; color: var(--color-concrete); }
.label-kind {
  font-size: 0.62rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--color-ash);
  text-transform: uppercase;
}
.label-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-ink);
  letter-spacing: 0.5px;
}
.label-scan {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent-light);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--color-accent-dark);
  font-weight: 600;
}
.label-scan svg { width: 18px; height: 18px; stroke: var(--color-accent-dark); }

/* ---------- Linha do tempo de rastreabilidade ---------- */
.trace-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 36px;
  counter-reset: step;
}
.trace-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  position: relative;
}
.trace-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -13px;
  left: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trace-step h3 { font-size: 0.95rem; color: #fff; margin-bottom: 6px; font-family: var(--font-display); }
.trace-step p { font-size: 0.82rem; color: var(--color-cloud); line-height: 1.5; }

/* ---------- "Um dia com o FabriONE" ---------- */
.day-flow { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.day-step {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-left: 3px solid var(--color-cloud);
  padding-left: 26px;
  position: relative;
}
.day-step::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 26px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}
.day-step:last-child { border-left-color: transparent; }
.day-step-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-accent);
  min-width: 64px;
  padding-top: 3px;
}
.day-step-body h3 { font-size: 1rem; margin-bottom: 4px; color: var(--color-ink); }
.day-step-body p { font-size: 0.9rem; color: var(--color-stone); line-height: 1.55; }

/* ---------- "Seu cliente vê" ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.client-card {
  background: #fff;
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.client-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.client-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.client-card-icon svg { width: 22px; height: 22px; stroke: var(--color-accent); }
.client-card h3 { font-size: 1rem; margin-bottom: 6px; font-family: var(--font-display); }
.client-card p { font-size: 0.88rem; color: var(--color-stone); line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 36px auto 0; }
.faq-item {
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 22px 18px; color: var(--color-concrete); font-size: 0.92rem; line-height: 1.65; }

/* ---------- Seção hero da landing ---------- */
.hero-landing { padding: 110px 0 80px; }
.hero-landing .hero-grid { align-items: center; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-steel);
  background: var(--color-fog);
  border: 1px solid var(--color-cloud);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-badge svg { width: 14px; height: 14px; stroke: var(--color-accent); }

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .hero-landing { padding: 80px 0 56px; }
  .wa-band-inner { flex-direction: column; text-align: center; }
  .wa-tooltip { display: none; }
  .product-label { transform: none; }
  .day-step-time { min-width: 52px; }
}
