/* Seção "Não é mágica. É ciência!" — stepper interativo (substitui o carrossel Webflow) */
.dobra-3.zc {
  --zc-blue: #00afea;
  --zc-pink: #e74477;
  --zc-teal: #004d64;
  --zc-ice: #e5f7fd;
  --zc-time: 8s;
  position: relative;
  min-height: 0;
  padding: 100px 30px 120px;
  overflow: hidden;
  isolation: isolate;
}

/* bolhas decorativas no fundo */
.zc-bubbles span {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  animation: zc-float 14s ease-in-out infinite;
}
.zc-bubbles span:nth-child(1) { width: 340px; height: 340px; top: -120px; left: -110px; }
.zc-bubbles span:nth-child(2) { width: 180px; height: 180px; top: 38%; right: -60px; animation-delay: -5s; }
.zc-bubbles span:nth-child(3) { width: 90px; height: 90px; bottom: 70px; left: 8%; animation-delay: -9s; }
.zc-bubbles span:nth-child(4) { width: 46px; height: 46px; top: 120px; right: 18%; animation-delay: -2s; background: rgba(231, 68, 119, .35); }
@keyframes zc-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -22px); }
}

.zc .cont-d3 { gap: 0; }
.zc .h2-d3 { margin-bottom: 14px; }
.zc .p-d2 { margin-bottom: 48px; }

.zc-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  width: 100%;
  align-items: stretch;
}

/* ---------- lista de passos ---------- */
.zc-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zc-steps::before { /* linha que conecta os números */
  content: "";
  position: absolute;
  left: 43px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: rgba(255, 255, 255, .35);
}
.zc-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 80px;
  padding: 16px 20px 16px 18px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-family: Gotham, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .35s, color .35s, transform .35s;
}
.zc-step:hover { background: rgba(255, 255, 255, .22); transform: translateX(4px); }
.zc-step:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.zc-num {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--zc-blue);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
  font-family: Roketto, Arial, sans-serif;
  font-size: 22px;
  transition: background-color .35s, box-shadow .35s, transform .35s;
}
.zc-step.is-active {
  background: #fff;
  color: var(--zc-teal);
  transform: none;
  box-shadow: 0 12px 30px rgba(0, 77, 100, .18);
}
.zc-step.is-active .zc-num {
  background: var(--zc-pink);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(231, 68, 119, .18);
  transform: scale(1.06);
}
.zc-step.is-done .zc-num { background: #fff; color: var(--zc-blue); box-shadow: none; }

/* barra de progresso do autoplay */
.zc-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: transparent;
}
.zc-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--zc-pink);
  transform: scaleX(0);
  transform-origin: left;
}
.zc-step:not(.is-active) .zc-bar i { transform: scaleX(0) !important; }

/* ---------- painel ---------- */
.zc-stage {
  position: relative;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 77, 100, .22);
  transition: height .5s cubic-bezier(.2, .8, .2, 1);
}
.zc-panel {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 52px;
}
.zc-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--zc-ice);
}
.zc-art::after { /* anel pulsante */
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 175, 234, .45);
  animation: zc-spin 30s linear infinite;
}
.zc-art img {
  width: 62%;
  max-height: 70%;
  object-fit: contain;
  animation: zc-bob 5s ease-in-out infinite;
}
@keyframes zc-spin { to { transform: rotate(360deg); } }
@keyframes zc-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.zc-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(231, 68, 119, .1);
  color: var(--zc-pink);
  font-family: Gotham, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.zc-title {
  margin: 0 0 16px;
  color: var(--zc-pink);
  font-family: Roketto, Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -.5px;
  line-height: 1.1;
}
.zc-text {
  margin: 0 0 12px;
  color: var(--zc-teal);
  font-family: Gotham, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
.zc-text:last-child { margin-bottom: 0; }
.zc-text strong { color: var(--zc-pink); font-weight: 500; }

.zc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.zc-list li {
  position: relative;
  padding-left: 30px;
  color: var(--zc-teal);
  font-family: Gotham, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.zc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--zc-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.zc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.zc-chips li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--zc-teal);
  color: #fff;
  font-family: Gotham, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

/* setas (mobile) */
.zc-nav { display: none; }

/* ---------- comportamento com JS: painéis empilhados com transição ---------- */
.zc-js .zc-stage { overflow: hidden; }
.zc-js .zc-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .55s;
}
.zc-js .zc-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: .08s, .08s, 0s;
}
.zc-js .zc-panel .zc-body > *,
.zc-js .zc-panel .zc-art { opacity: 0; transform: translateY(14px); }
.zc-js .zc-panel .zc-art { transform: scale(.85); }
.zc-js .zc-panel.is-active .zc-art,
.zc-js .zc-panel.is-active .zc-body > * {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.zc-js .zc-panel.is-active .zc-body > :nth-child(1) { transition-delay: .12s; }
.zc-js .zc-panel.is-active .zc-body > :nth-child(2) { transition-delay: .18s; }
.zc-js .zc-panel.is-active .zc-body > :nth-child(3) { transition-delay: .24s; }
.zc-js .zc-panel.is-active .zc-body > :nth-child(4) { transition-delay: .30s; }
.zc-js .zc-panel.is-active .zc-body > :nth-child(5) { transition-delay: .36s; }

/* entrada da seção ao rolar */
.zc-js .zc-wrap { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.zc-js .zc-wrap.is-in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media screen and (max-width: 991px) {
  .zc-wrap { grid-template-columns: 1fr; }
  .zc-bubbles span:nth-child(4) { top: auto; bottom: 40px; right: 12%; }
  .zc-steps { flex-direction: row; gap: 10px; }
  .zc-steps::before { left: 40px; right: 40px; top: 40px; bottom: auto; width: auto; height: 2px; }
  .zc-steps li { flex: 1; }
  .zc-step { flex-direction: column; justify-content: center; gap: 10px; min-height: 0; height: 100%; padding: 14px 10px 18px; font-size: 14px; text-align: center; }
  .zc-step:hover { transform: none; }
  .zc-panel { grid-template-columns: 200px 1fr; gap: 36px; padding: 40px; }
}

/* ---------- mobile ---------- */
@media screen and (max-width: 767px) {
  .dobra-3.zc { min-height: 0; padding: 64px 16px 110px; }
  .zc .p-d2 { margin-bottom: 28px; }
  .zc-wrap { gap: 18px; }
  .zc-step { padding: 10px 6px 14px; border-radius: 14px; background: transparent; }
  .zc-step-title { display: none; }
  .zc-steps::before { top: 33px; }
  .zc-step.is-active { background: transparent; box-shadow: none; }
  .zc-num { width: 46px; height: 46px; font-size: 19px; }
  .zc-stage { border-radius: 22px; }
  .zc-panel { grid-template-columns: 1fr; gap: 22px; padding: 30px 22px 28px; justify-items: center; }
  .zc-art { width: 150px; }
  .zc-body { width: 100%; }
  .zc-title { font-size: 27px; }
  .zc-text { font-size: 16px; }
  .zc-list { grid-template-columns: 1fr; }
  .zc-nav { display: flex; justify-content: center; gap: 14px; margin-top: 4px; }
  .zc-nav button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .zc-nav button:active { background: rgba(255, 255, 255, .2); }
}

@media (prefers-reduced-motion: reduce) {
  .zc *, .zc *::before, .zc *::after { animation: none !important; transition-duration: .01s !important; }
  .zc-js .zc-panel { transition: none !important; }
}
