/* Hero geométrico Souvenir Brasil — inspirado em formas, construído no stack atual. */
.shape-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, calc(82svh - 72px), 690px);
  margin: 18px 24px 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(32, 116, 87, .34), transparent 35%),
    radial-gradient(circle at 18% 82%, rgba(215, 174, 91, .13), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(57, 116, 152, .17), transparent 31%),
    #061b20;
  box-shadow: 0 22px 54px rgba(5, 28, 30, .16);
}

.shape-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 76%);
  mask-image: radial-gradient(circle at center, #000, transparent 76%);
}

.shape-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(6, 27, 32, .10) 0%, rgba(6, 27, 32, .32) 48%, rgba(6, 27, 32, .82) 100%);
}

.shape-hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.shape-hero-piece {
  --shape-rotate: 0deg;
  position: absolute;
  width: clamp(260px, 30vw, 460px);
  height: clamp(76px, 8.5vw, 126px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  opacity: .48;
  transform: rotate(var(--shape-rotate));
  background-image:
    linear-gradient(90deg, rgba(4, 24, 28, .62), rgba(4, 24, 28, .08), rgba(4, 24, 28, .50)),
    var(--shape-image);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 20px 54px rgba(0, 0, 0, .25);
  animation: shapeHeroEnter .72s cubic-bezier(.22, 1, .36, 1) both;
}

.shape-hero-piece--one { top: 10%; left: -8%; --shape-rotate: 15deg; }
.shape-hero-piece--two { top: 8%; right: -7%; --shape-rotate: -14deg; animation-delay: 70ms; }
.shape-hero-piece--three { bottom: 10%; left: -5%; --shape-rotate: -12deg; animation-delay: 140ms; }
.shape-hero-piece--four { right: -6%; bottom: 9%; --shape-rotate: 13deg; animation-delay: 210ms; }
.shape-hero-piece--five {
  width: clamp(230px, 25vw, 370px);
  height: clamp(64px, 7vw, 98px);
  left: 50%;
  bottom: -4%;
  --shape-rotate: -4deg;
  opacity: .30;
  animation-delay: 280ms;
}

@keyframes shapeHeroEnter {
  from { opacity: 0; transform: translateY(28px) rotate(var(--shape-rotate)) scale(.94); }
}

.shape-hero-content {
  width: min(920px, calc(100% - 48px));
  padding: 72px 0 66px;
  text-align: center;
}

.shape-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .90);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.shape-hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e4bf67;
  box-shadow: 0 0 0 5px rgba(228, 191, 103, .12);
}

.shape-hero h1 {
  margin: 24px auto 22px;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.1rem, 6.65vw, 6.25rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.shape-hero h1 span,
.shape-hero h1 strong { display: block; }

.shape-hero h1 strong {
  color: #dfeee7;
  font-weight: inherit;
  background: linear-gradient(90deg, #f1d68b 8%, #dff5ea 50%, #92c8cf 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shape-hero-description {
  max-width: 660px;
  margin: 0 auto;
  color: rgba(239, 247, 244, .78);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
  text-wrap: balance;
}

.shape-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.shape-hero-cta {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  touch-action: manipulation;
}

.shape-hero-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shape-hero-cta--primary {
  border-color: #e4c16f;
  background: #e4c16f;
  color: #123329;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.shape-hero-cta--secondary {
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.shape-hero-cta:hover { transform: translateY(-2px); }
.shape-hero-cta--primary:hover { background: #f0d487; box-shadow: 0 15px 34px rgba(0, 0, 0, .28); }
.shape-hero-cta--secondary:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .34); }
.shape-hero-cta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.shape-hero .hero-trust {
  justify-content: center;
  margin: 24px 0 0;
  text-shadow: none;
}

@media (max-width: 700px) {
  .shape-hero {
    min-height: 580px;
    margin: 10px 10px 0;
    border-radius: 24px;
  }

  .shape-hero-content {
    width: min(100% - 36px, 560px);
    padding: 68px 0 58px;
  }

  .shape-hero h1 {
    margin-top: 20px;
    font-size: clamp(2.55rem, 13vw, 4rem);
    line-height: .98;
  }

  .shape-hero-description { font-size: .96rem; line-height: 1.58; }
  .shape-hero-actions { margin-top: 24px; }
  .shape-hero-cta { width: 100%; }
  .shape-hero .hero-trust { flex-wrap: wrap; overflow: visible; justify-content: center; }
  .shape-hero-piece { width: 230px; height: 72px; opacity: .30; }
  .shape-hero-piece--one { top: 8%; left: -35%; }
  .shape-hero-piece--two { top: 12%; right: -38%; }
  .shape-hero-piece--three { bottom: 9%; left: -38%; }
  .shape-hero-piece--four { right: -36%; bottom: 12%; }
  .shape-hero-piece--five { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .shape-hero-piece { animation: none; }
  .shape-hero-cta { transition: none; }
}
