/* Selo premium Lulean — 25 anos de mercado (variantes reutilizáveis) */

/* ── Hero full (desktop) ── */
.trust-seal--hero.trust-seal--desktop-only {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 800px;
}

.trust-seal__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: sealFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
}

.trust-seal__medal {
  position: relative;
  z-index: 2;
  width: clamp(140px, 13vw, 168px);
  height: clamp(140px, 13vw, 168px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  background: radial-gradient(circle at 32% 28%, #1a1a1a 0%, #050505 55%, #0a0a0a 100%);
  box-shadow:
    0 0 0 3px #1a1200,
    0 0 0 6px #ffd700,
    0 0 0 8px #3d2e00,
    0 0 0 10px #c9a800,
    0 8px 28px rgba(0, 0, 0, 0.65),
    0 0 48px rgba(255, 215, 0, 0.12);
  animation: sealGlow 4s ease-in-out infinite;
}

.trust-seal__medal::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 215, 0, 0.22) 46%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 215, 0, 0.22) 54%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: sealShimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}

.trust-seal__stars {
  color: var(--gold, #ffd700);
  font-size: clamp(0.46rem, 0.85vw, 0.56rem);
  letter-spacing: 0.12em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.trust-seal__stars--top { margin-bottom: 4px; }
.trust-seal__stars--bottom { margin-top: 4px; font-size: clamp(0.4rem, 0.75vw, 0.48rem); }

.trust-seal__line {
  display: block;
  font-size: clamp(0.55rem, 0.95vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text, #fff);
  line-height: 1.15;
}

.trust-seal__number {
  display: block;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 2px 0;
  background: linear-gradient(180deg, #ffe566 0%, #ffd700 35%, #c9a800 70%, #ffd700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.4));
}

.trust-seal__ribbon {
  position: relative;
  z-index: 1;
  width: clamp(140px, 13vw, 168px);
  margin-top: -34px;
  padding: 44px 10px 20px;
  background: linear-gradient(180deg, var(--red, #e60000) 0%, var(--red-dark, #b80000) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px));
  text-align: center;
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.25);
}

.trust-seal__ribbon p {
  font-size: clamp(0.5rem, 0.9vw, 0.6rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text, #fff);
  margin: 0;
}

/* ── Compact (mobile hero / áreas menores) ── */
.trust-seal--compact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 12px;
  max-width: 100%;
}

/* Compact no hero: só mobile (evita duplicar medalha no desktop) */
.trust-seal--compact.trust-seal--mobile-only {
  display: none;
}

.trust-seal-compact__medal {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 25%, #1a1a1a, #050505);
  box-shadow:
    0 0 0 2px #ffd700,
    0 0 0 4px #3d2e00,
    0 4px 12px rgba(0, 0, 0, 0.4);
  line-height: 1;
}

.trust-seal-compact__stars {
  font-size: 0.38rem;
  color: var(--gold, #ffd700);
  letter-spacing: 0.05em;
}

.trust-seal-compact__num {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--gold, #ffd700);
  line-height: 1;
}

.trust-seal-compact__label {
  font-size: 0.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft, #ccc);
}

.trust-seal-compact__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.trust-seal-compact__text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text, #fff);
  line-height: 1.25;
}

.trust-seal-compact__text span:last-child {
  font-size: 0.72rem;
  color: var(--text-muted, #a0a0a0);
  line-height: 1.3;
}

/* ── Inline (CTA banners) ── */
.trust-seal--inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 18px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 50px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}

.trust-seal-inline__badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--gold, #ffd700);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.45);
}

.trust-seal-inline__text strong {
  color: var(--gold, #ffd700);
  font-weight: 800;
}

.cta-banner .trust-seal--inline {
  background: rgba(0, 0, 0, 0.22);
}

/* ── Modal ── */
.trust-seal--modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--text-muted, #a0a0a0);
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 8px;
  text-align: center;
  line-height: 1.35;
}

.trust-seal--modal strong {
  color: var(--gold, #ffd700);
  font-weight: 700;
}

.trust-seal-modal__icon {
  color: var(--gold, #ffd700);
  font-size: 0.7rem;
}

/* ── Layout helpers ── */
.page-hero-inner,
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 56px);
  width: 100%;
}

.page-hero-content,
.hero-content {
  flex: 1 1 520px;
  min-width: 0;
  max-width: 720px;
}

.page-hero-inner .trust-seal--hero {
  flex-shrink: 0;
}

/* ── Animações ── */
@keyframes sealFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sealShimmer {
  0%, 100% { background-position: 200% center; }
  50% { background-position: -200% center; }
}

@keyframes sealGlow {
  0%, 100% {
    box-shadow:
      0 0 0 3px #1a1200,
      0 0 0 6px #ffd700,
      0 0 0 8px #3d2e00,
      0 0 0 10px #c9a800,
      0 8px 28px rgba(0, 0, 0, 0.65),
      0 0 48px rgba(255, 215, 0, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 3px #1a1200,
      0 0 0 6px #ffd700,
      0 0 0 8px #3d2e00,
      0 0 0 10px #c9a800,
      0 8px 28px rgba(0, 0, 0, 0.65),
      0 0 64px rgba(255, 215, 0, 0.28);
  }
}

/* ── Responsivo ── */
@media (max-width: 1024px) {
  .trust-seal--hero { transform: scale(0.9); transform-origin: center; }
}

@media (max-width: 900px) {
  .trust-seal--hero.trust-seal--desktop-only { display: none !important; }
  .trust-seal--compact.trust-seal--mobile-only { display: inline-flex !important; }

  .trust-seal--inline {
    font-size: 0.75rem;
    padding: 7px 12px;
    gap: 8px;
    border-radius: 10px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .trust-seal-inline__badge {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
  }

  .trust-seal--compact.trust-seal--mobile-only {
    padding: 8px 12px;
    gap: 10px;
    margin-bottom: 16px;
  }

  .trust-seal-compact__medal {
    width: 46px;
    height: 46px;
  }

  .trust-seal-compact__num { font-size: 0.85rem; }

  .trust-seal-compact__text strong { font-size: 0.78rem; }
  .trust-seal-compact__text span:last-child { font-size: 0.68rem; }

  .page-hero-inner,
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .trust-seal-inline__text {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-seal__wrap,
  .trust-seal__medal,
  .trust-seal__medal::after {
    animation: none !important;
  }
}
