/* ===== Complementos do clone estático (modal + carrossel) ===== */

/* Modal de downsell */
.ds-overlay{
  position:fixed; inset:0; z-index:100;
  background:rgba(0,0,0,.65);
  display:flex; align-items:center; justify-content:center;
  padding:16px;
  animation:ds-fade .2s ease-out;
}
.ds-overlay[hidden]{display:none;}
.ds-modal{
  position:relative;
  width:100%; max-width:28rem;
  background:#fff; color:#101C28;
  border:2px solid var(--accent, #22c55e);
  border-radius:16px;
  padding:28px 22px 22px;
  text-align:center;
  box-shadow:0 25px 60px -15px rgba(0,0,0,.45);
  animation:ds-pop .22s cubic-bezier(.16,1,.32,1);
  max-height:92vh; overflow-y:auto;
}
.ds-close{
  position:absolute; top:8px; right:12px;
  font-size:28px; line-height:1;
  color:#9ca3af; background:none; border:0; cursor:pointer;
}
.ds-close:hover{color:#374151;}
@keyframes ds-fade{from{opacity:0}to{opacity:1}}
@keyframes ds-pop{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
body.ds-open{overflow:hidden;}

/* Carrossel de depoimentos (autoplay contínuo) */
#tst-track{
  transition:transform .6s cubic-bezier(.25,.8,.5,1);
  will-change:transform;
}
#tst-track.no-anim{transition:none;}
#tst-viewport{cursor:grab;}
#tst-viewport.dragging{cursor:grabbing;}

/* Reveal: garante estado final quando o JS roda */
.reveal-in{opacity:1;}

/* Sem JS (ou JS com erro): nada pode ficar invisível */
html.no-js .reveal{opacity:1 !important; animation:none !important;}

/* ===== Blocos de habilidades (10 áreas do material) ===== */
.areas-intro{
  max-width:46rem; margin:-18px auto 22px; text-align:center;
  color:#4b5563; font-size:15px; line-height:1.6;
}
.areas-intro strong{color:#101C28;}
.areas-grid{
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:10px; max-width:56rem; margin:0 auto 40px; padding:0 4px;
}
.area-chip{
  display:inline-flex; align-items:center;
  background:#fff; color:#101C28;
  border:1px solid var(--border, #e5e7eb);
  border-radius:999px;
  padding:9px 16px;
  font-size:13.5px; font-weight:700; line-height:1.2;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.area-chip::before{
  content:"✓"; color:#1e9343; font-weight:900;
  margin-right:7px; font-size:12px;
}
@media (max-width:480px){
  .area-chip{font-size:12.5px; padding:8px 13px;}
  .areas-grid{gap:8px;}
}

/* =====================================================================
   Mockup do hero: sem moldura branca

   O fundo da arte e (254,254,252) e o da pagina e (253,252,248) — perto,
   mas o bastante para desenhar um retangulo palido em volta da imagem.

   Recortar nao resolve e transparencia tambem nao: o branco de fora e o
   miolo dos cartoes sao o MESMO tom, entao qualquer preenchimento por cor
   vaza para dentro da arte (testado — comeu quase metade dela).

   `multiply` resolve sem tocar no arquivo: branco sobre a pagina vira a
   cor da pagina, e o que tem cor continua igual. A moldura simplesmente
   deixa de existir, e a peca fica parecendo um PNG solto pulsando.
   ===================================================================== */
.mockup-pulse{ mix-blend-mode:multiply }

/* =====================================================================
   Carrossel Showcase de 1 Exercício com Zoom Pulsante (mockup-pulse)
   ===================================================================== */
.exercicio-carousel-container {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 12px;
  position: relative;
  user-select: none;
}

.exercicio-carousel-card {
  background: #ffffff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 20px;
  box-shadow: 0 16px 40px -10px rgba(16, 28, 40, 0.09), 0 4px 16px rgba(16, 28, 40, 0.04);
  padding: 20px 20px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.exercicio-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
}

.exercicio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.exercicio-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.exercicio-counter {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  background: #f3f4f6;
  padding: 3px 10px;
  border-radius: 999px;
}

.exercicio-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.25;
  max-height: 480px;
  background: #fafaf9;
  border: 1px solid #f0eee9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.exercicio-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.exercicio-active-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  will-change: transform;
  animation: 4.5s ease-in-out infinite lov-mockup-pulse;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.exercicio-active-img.fading {
  opacity: 0;
  transform: scale(0.95) !important;
}

.ex-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #101c28;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.ex-arrow-btn:hover {
  background: #ffffff;
  color: #16a34a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.ex-arrow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.ex-arrow-prev { left: 8px; }
.ex-arrow-next { right: 8px; }

.exercicio-info {
  margin-top: 14px;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exercicio-title {
  font-size: 15px;
  font-weight: 800;
  color: #101c28;
  line-height: 1.35;
  transition: opacity 0.25s ease;
}

.exercicio-hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 3px;
}

.exercicio-dots-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
}

.ex-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ex-dot:hover {
  background: #9ca3af;
}

.ex-dot.active {
  width: 22px;
  background: #22c55e;
}

@media (max-width: 640px) {
  .exercicio-carousel-card { padding: 16px 14px 20px; }
  .exercicio-stage { max-height: 400px; aspect-ratio: 1 / 1.3; padding: 10px; }
  .ex-arrow-btn { width: 34px; height: 34px; }
  .ex-arrow-prev { left: 5px; }
  .ex-arrow-next { right: 5px; }
  .exercicio-title { font-size: 14px; }
  .exercicio-badge { font-size: 12px; padding: 3px 10px; }
}

