body.cmsfc-v3 .cmsfc-estrutura-section {
  padding: clamp(28px, 4vw, 40px) 0 clamp(48px, 6vw, 64px);
}

body.cmsfc-v3 .cmsfc-open-embed {
  margin-top: 20px;
  background: var(--color-surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--cmsfc-shadow-card);
}

body.cmsfc-v3 .cmsfc-open-embed__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--color-divider);
}

body.cmsfc-v3 .cmsfc-open-embed__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary-dark);
}

body.cmsfc-v3 .cmsfc-open-embed__open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1.5px solid var(--color-border-input);
  background: #fff;
  color: var(--color-primary);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

body.cmsfc-v3 .cmsfc-open-embed__open-btn:hover {
  border-color: var(--color-primary);
}

body.cmsfc-v3 .cmsfc-open-embed__open-btn .ms {
  font-size: 20px;
}

body.cmsfc-v3 .cmsfc-open-embed__frame-wrap {
  position: relative;
  background: #f5f7fb;
}

body.cmsfc-v3 .cmsfc-open-embed__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #e3e8f2;
  z-index: 2;
  overflow: hidden;
}

body.cmsfc-v3 .cmsfc-open-embed__progress span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--color-primary);
  animation: cmsfc-open-embed-progress 1.2s ease-in-out infinite;
}

@keyframes cmsfc-open-embed-progress {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

body.cmsfc-v3 .cmsfc-open-embed__frame-wrap.is-loaded .cmsfc-open-embed__progress {
  display: none;
}

body.cmsfc-v3 .cmsfc-open-embed__iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 1100px;
  background: #fff;
}

body.cmsfc-v3 .cmsfc-open-embed__error {
  display: none;
  padding: 32px 22px;
  text-align: center;
  color: var(--color-text-muted);
}

body.cmsfc-v3 .cmsfc-open-embed__frame-wrap.is-error .cmsfc-open-embed__iframe {
  display: none;
}

body.cmsfc-v3 .cmsfc-open-embed__frame-wrap.is-error .cmsfc-open-embed__progress {
  display: none;
}

body.cmsfc-v3 .cmsfc-open-embed__frame-wrap.is-error .cmsfc-open-embed__error {
  display: block;
}

body.cmsfc-v3 .cmsfc-open-embed__error-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

body.cmsfc-v3 .cmsfc-open-embed__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 22px;
  border-top: 1px solid var(--color-divider);
  font-size: 13.5px;
  color: var(--color-text-muted);
}

body.cmsfc-v3 .cmsfc-open-embed__foot a {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

body.cmsfc-v3 .cmsfc-open-embed__foot a:hover {
  text-decoration: underline;
}

body.cmsfc-v3 .cmsfc-estrutura-mobile-card {
  margin-top: 20px;
  background: var(--color-surface);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--cmsfc-shadow-card);
  text-align: center;
}

body.cmsfc-v3 .cmsfc-estrutura-mobile-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: #eef3ff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.cmsfc-v3 .cmsfc-estrutura-mobile-card__icon .ms {
  font-size: 30px;
}

body.cmsfc-v3 .cmsfc-estrutura-mobile-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary-dark);
}

body.cmsfc-v3 .cmsfc-estrutura-mobile-card p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #3a4566;
}

body.cmsfc-v3 .cmsfc-estrutura-mobile-card .cmsfc-btn {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  justify-content: center;
}

body.cmsfc-v3 .cmsfc-estrutura-mobile-card__credit {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

body.cmsfc-v3 .cmsfc-open-embed--desktop {
  display: none;
}

body.cmsfc-v3 .cmsfc-estrutura-mobile-card {
  display: block;
}

@media (min-width: 768px) {
  body.cmsfc-v3 .cmsfc-open-embed--desktop {
    display: block;
  }

  body.cmsfc-v3 .cmsfc-estrutura-mobile-card {
    display: none;
  }
}
