/* ══════════════════════════════════════════════
   INSTAGRAM — Banner + QR separado
══════════════════════════════════════════════ */
.instagram-section {
  background: var(--bege-suave);
  padding: clamp(1rem, 6vh, 2rem) clamp(1.5rem, 5vw, 2rem);
}

.ig-wrap {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Card roxo: identidade + handle + CTA ─────── */
.ig-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  flex: 1;
  min-width: 0;
  background: linear-gradient(
    100deg,
    var(--terracota-escuro) 0%,
    var(--terracota-medio) 100%
  );
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(2rem, 4vw, 2.75rem);
  box-shadow:
    0 24px 64px rgba(var(--terracota-escuro-rgb), 0.24),
    0 4px 16px rgba(var(--surface-dark-rgb), 0.1);
}

/* Flor decorativa — canto inferior direito */
.ig-banner-flower {
  position: absolute;
  right: -4%;
  bottom: -22%;
  width: clamp(160px, 16vw, 220px);
  height: auto;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
  filter: brightness(1.6);
}

.ig-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.ig-item-main {
  flex: 1;
  min-width: 0;
}

.ig-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  background: var(--white);
  color: var(--terracota-medio);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ig-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.ig-item-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ig-item-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(var(--white-rgb), 0.66);
  line-height: 1.5;
}

.ig-item-sub strong {
  color: var(--white);
  font-weight: 600;
}

/* Handle */
.ig-handle-text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Separador vertical */
.ig-separator {
  position: relative;
  z-index: 1;
  width: 1px;
  align-self: stretch;
  margin-block: 0.35rem;
  background: rgba(var(--white-rgb), 0.2);
  flex-shrink: 0;
}

/* CTA */
.btn-ig {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  background: var(--white);
  color: var(--terracota-medio);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.btn-ig:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-ig .fa-instagram {
  font-size: 1rem;
}

/* ── Card branco: QR code, fora do banner */
.ig-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow:
    0 16px 40px rgba(var(--verde-profundo-rgb), 0.1),
    0 2px 8px rgba(var(--verde-profundo-rgb), 0.06);
}

.ig-qr-img {
  width: 200px;
  height: 200px;
  display: block;
}

.ig-qr-caption {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Gradient: instagram (bege-suave) → round (bege-claro) */
.fade-ig-round {
  height: clamp(48px, 6vw, 88px);
  background: linear-gradient(
    to bottom,
    var(--bege-suave) 0%,
    var(--bege-claro) 100%
  );
}

@media (max-width: 900px) {
  .ig-item-sub {
    display: none;
  }
}

@media (max-width: 768px) {
  .ig-wrap {
    flex-direction: column;
  }

  .ig-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
    width: 100%;
  }

  .ig-item {
    justify-content: center;
  }

  .ig-item-main {
    flex-direction: column;
    text-align: center;
  }

  .ig-item-sub {
    display: block;
  }

  .ig-separator {
    display: none;
  }

  .btn-ig {
    justify-content: center;
  }

  .ig-banner-flower {
    width: 150px;
    bottom: -12%;
    right: -8%;
    opacity: 0.28;
  }

  .ig-qr-card {
    align-self: center;
  }
}
