/* ==========================================================================
   JEJUM TURBO - ULTRA DYNAMIC QUIZ & SALES FUNNEL STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --primary: #059669;
  --primary-light: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.35);
  --turquoise: #06b6d4;
  --turquoise-glow: rgba(6, 182, 212, 0.35);
  --accent-orange: #f97316;
  --accent-red: #ef4444;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 25px -5px rgba(6, 182, 212, 0.15), 0 8px 10px -6px rgba(16, 185, 129, 0.15);
  --shadow-card-active: 0 0 0 2px #06b6d4, 0 12px 24px -6px rgba(6, 182, 212, 0.25);
  --radius-card: 18px;
  --radius-btn: 14px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  font-family: var(--font-body);
  background-color: #f1f5f9;
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Background gradient texture for desktop framing */
body {
  background: radial-gradient(circle at 50% 10%, #ecfeff 0%, #f1f5f9 60%, #e2e8f0 100%);
}

/* App Outer Shell: Centers mobile-first container with sleek desktop ambience */
.app-viewport {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

@media (min-width: 640px) {
  .app-viewport {
    padding: 24px 16px 40px;
  }
}

/* Funnel Container (Mobile dimensions) */
.funnel-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .funnel-container {
    min-height: 844px;
    border-radius: 36px;
    overflow: hidden;
  }
}

/* Sales page expands slightly on tablet/desktop for rich layouts */
.funnel-container.sales-mode {
  max-width: 580px;
}

/* ==========================================================================
   HEADER & PROGRESS BAR
   ========================================================================== */

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
  padding: 12px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.header-btn:hover {
  background-color: #f1f5f9;
  color: #0f172a;
  transform: scale(1.08);
}

.header-btn:active {
  transform: scale(0.92);
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.brand-flame {
  display: inline-block;
  animation: flamePulse 2s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes flamePulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(4deg); }
}

/* Progress bar container */
.progress-track {
  width: 100%;
  height: 6px;
  background-color: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #06b6d4 0%, #10b981 100%);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmerProgress 2s infinite;
}

@keyframes shimmerProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   SCREENS & SLIDE ANIMATIONS
   ========================================================================== */

.screens-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.screen {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  padding: 20px 20px 32px;
  flex-direction: column;
  flex: 1;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.screen.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  animation: screenSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes screenSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.screen.slide-back {
  animation: screenSlideBack 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes screenSlideBack {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   TYPOGRAPHY & HEADINGS
   ========================================================================== */

.quiz-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.25;
  color: #0f172a;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.quiz-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.45;
}

/* ==========================================================================
   CARDS & INTERACTIVE OPTIONS (CLICKS INCRÍVEIS)
   ========================================================================== */

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.options-grid-2cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.option-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.option-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Click micro-interaction spring */
.option-card:active {
  transform: scale(0.96) translateY(1px);
  transition: transform 0.08s ease;
}

/* Selected state with turquoise/emerald highlight */
.option-card.selected {
  border-color: #06b6d4;
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%);
  box-shadow: 0 0 0 2px #06b6d4, 0 10px 20px -5px rgba(6, 182, 212, 0.25);
  transform: scale(1.01);
}

.option-emoji {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.option-card:hover .option-emoji {
  transform: scale(1.18) rotate(6deg);
}

/* Age Option Card (Formato Limpo com Foto na Direita - Idêntico à Referência) */
.option-card.age-option-card {
  padding: 6px 6px 6px 22px;
  justify-content: space-between;
  border-radius: 22px;
  gap: 12px;
  min-height: 84px;
}

.age-option-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.12rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.age-option-thumb {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.option-text-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: #0f172a;
  line-height: 1.3;
}

.option-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Checkmark indicator for multi-select & selected cards */
.check-indicator {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: #ffffff;
}

.option-card.selected .check-indicator {
  background: #06b6d4;
  border-color: #06b6d4;
  transform: scale(1.08) rotate(2deg);
}

.check-indicator svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.25s ease 0.05s;
}

.option-card.selected .check-indicator svg {
  stroke-dashoffset: 0;
}

/* Visual Card Styles (Gênero, Faixa Etária, etc) */
.visual-card-large {
  background: #ffffff;
  border: 2px solid var(--border-light);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.visual-card-large:hover {
  transform: translateY(-4px);
  border-color: #06b6d4;
  box-shadow: 0 16px 30px -8px rgba(6, 182, 212, 0.2);
}

.visual-card-large:active {
  transform: scale(0.96);
}

.visual-card-large.selected {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px #06b6d4, 0 16px 32px -8px rgba(6, 182, 212, 0.3);
}

.visual-card-img-wrapper {
  width: 100%;
  height: 185px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.visual-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.visual-card-large:hover .visual-card-img-wrapper img {
  transform: scale(1.06);
}

.visual-card-label {
  padding: 14px 12px;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
  background: #ffffff;
}

/* ==========================================================================
   BUTTONS (INCRÍVEIS E COM EFEITO DE CLIQUE)
   ========================================================================== */

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 16px 24px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.45), 0 4px 6px -2px rgba(16, 185, 129, 0.2);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  margin-top: auto;
  user-select: none;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(16, 185, 129, 0.55);
}

.btn-primary:active {
  transform: scale(0.96) translateY(1px);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(30deg);
  animation: btnShimmer 3s infinite;
  pointer-events: none;
}

@keyframes btnShimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  50%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-pulse {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.45);
  }
  50% {
    box-shadow: 0 16px 36px -2px rgba(16, 185, 129, 0.7), 0 0 0 6px rgba(16, 185, 129, 0.2);
  }
}

/* ==========================================================================
   INTERACTIVE SLIDER / RULER (ALTURA & PESO)
   ========================================================================== */

.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 16px 0 28px;
}

.unit-switch-pill {
  display: flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 24px;
}

.unit-btn {
  background: none;
  border: none;
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.unit-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.slider-display-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.slider-value-big {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  color: #0f172a;
  letter-spacing: -0.04em;
}

.slider-unit-tag {
  font-size: 1.4rem;
  font-weight: 700;
  color: #06b6d4;
}

/* Quick adjustment buttons (- / +) */
.fine-tune-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.fine-tune-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fine-tune-btn:hover {
  background: #06b6d4;
  color: #ffffff;
  border-color: #06b6d4;
  transform: scale(1.1);
}

.fine-tune-btn:active {
  transform: scale(0.92);
}

/* Custom Interactive Range Input */
.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(to right, #06b6d4 0%, #10b981 100%);
  outline: none;
  margin: 10px 0 16px;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #06b6d4;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
  cursor: grab;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.custom-range-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.22);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

/* Visual Ruler marks */
.ruler-ticks {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
}

.ruler-hint {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

/* ==========================================================================
   INTERSTITIAL & CONTENT SCREENS
   ========================================================================== */

.interstitial-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-subtle);
  border: 1px solid #f1f5f9;
  margin-bottom: 24px;
}

.interstitial-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin: 16px 0;
}

.stat-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfeff;
  color: #0891b2;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid #cffafe;
}

/* Before / After Bar Chart (HOJE vs DEPOIS) */
.energy-chart-box {
  width: 100%;
  background: #f8fafc;
  border-radius: 18px;
  padding: 16px;
  margin: 18px 0;
  border: 1px solid #e2e8f0;
}

.chart-row {
  margin-bottom: 14px;
}

.chart-row:last-child {
  margin-bottom: 0;
}

.chart-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.chart-bar-bg {
  width: 100%;
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.chart-bar-val {
  height: 100%;
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   IMC DYNAMIC GAUGE & RESULTS
   ========================================================================== */

.gauge-wrapper {
  position: relative;
  width: 240px;
  height: 130px;
  margin: 10px auto 16px;
  overflow: hidden;
}

.gauge-svg {
  width: 100%;
  height: 100%;
}

.gauge-needle {
  transform-origin: 120px 120px;
  transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.imc-badge-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.alert-callout {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0;
  text-align: left;
}

.alert-callout.warning {
  background: #fffbeb;
  border-color: #fde68a;
}

.alert-callout-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Weight loss dynamic projection chart */
.projection-chart-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px 14px;
  margin: 16px 0 20px;
  box-shadow: var(--shadow-subtle);
}

/* ==========================================================================
   PROCESSING SCREEN (SPINNER, STEPS, PROGRESS)
   ========================================================================== */

.processing-circle-container {
  width: 170px;
  height: 170px;
  position: relative;
  margin: 20px auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #f1f5f9;
  stroke-width: 10;
}

.circle-progress {
  fill: none;
  stroke: url(#cyanEmeraldGradient);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 0.2s linear;
}

.circle-pct-text {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: #0f172a;
}

.process-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.process-step-item.active {
  background: #ecfeff;
  border-color: #a5f3fc;
  color: #0e7490;
  transform: scale(1.02);
}

.process-step-item.completed {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.step-status-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Rotating testimonial cards */
.testimonial-micro-slider {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px;
  margin-top: 18px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  min-height: 120px;
}

/* ==========================================================================
   SALES PAGE (HIGH CONVERTING DESIGN)
   ========================================================================== */

.sales-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 90px;
}

.transform-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.transform-col {
  border-radius: 18px;
  padding: 16px 14px;
  border: 1.5px solid;
}

.transform-col.today {
  background: #fff1f2;
  border-color: #fecdd3;
}

.transform-col.future {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.transform-header {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.today .transform-header { color: #e11d48; }
.future .transform-header { color: #059669; }

.transform-metric {
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.transform-metric:last-child {
  margin-bottom: 0;
}

.metric-name {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.metric-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 2px;
}

.today .metric-badge {
  background: #ffe4e6;
  color: #be123c;
}

.future .metric-badge {
  background: #d1fae5;
  color: #047857;
}

/* Module Cards (8 modules in Plan) */
.modules-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.module-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s ease;
}

.module-item:hover {
  border-color: #06b6d4;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.module-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.module-icon-wrap {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  background: #f8fafc;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.module-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
}

.module-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.45;
}

/* Pricing box */
.pricing-card {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border-radius: 26px;
  padding: 28px 22px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.4);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #06b6d4, #10b981, #f59e0b);
}

.pricing-anchor-strike {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.pricing-main {
  margin: 12px 0 16px;
}

.pricing-installments {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
  color: #34d399;
  letter-spacing: -0.03em;
}

.pricing-cash {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 6px;
}

/* Interactive Before / After Slider */
.ba-slider-container {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  box-shadow: var(--shadow-subtle);
  border: 2px solid #e2e8f0;
}

.ba-image-before, .ba-image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-image-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 3px solid #ffffff;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2);
}

.ba-image-before-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 3px solid #06b6d4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: ew-resize;
  pointer-events: none;
  font-size: 1.2rem;
  color: #06b6d4;
}

.ba-tag {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 5;
}

.ba-tag.before { left: 12px; }
.ba-tag.after { right: 12px; }

/* Sticky bottom offer CTA bar on sales page */
.sticky-sales-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid #e2e8f0;
  padding: 12px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.08);
  z-index: 100;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-sales-bar.show {
  transform: translateX(-50%) translateY(0);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.faq-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.faq-trigger {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 0.94rem;
  color: #0f172a;
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-trigger:hover {
  background-color: #f8fafc;
}

.faq-chevron {
  transition: transform 0.25s ease;
  font-size: 1.1rem;
  color: #64748b;
}

.faq-card.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 16px 14px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  border-top: 1px solid #f1f5f9;
}

.faq-card.open .faq-content {
  display: block;
}

/* Guarantee box */
.guarantee-box {
  background: #fdfcf7;
  border: 2px dashed #eab308;
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.guarantee-seal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef08a, #eab308);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 16px rgba(234, 179, 8, 0.3);
}

/* Toast Notification for click feedback */
.feedback-toast {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedback-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Confetti canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

/* ==========================================================================
   STAGGERED BEFORE / AFTER HERO COMPOSITION (DISTRIBUIÇÃO ESCALONADA EXATA)
   ========================================================================== */
.hero-staggered-composition {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 6px auto 16px;
  padding: 4px 4px 8px;
}

.staggered-card-man {
  width: 70%;
  margin-left: 0;
  margin-right: auto;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.staggered-card-woman {
  width: 65%;
  margin-left: auto;
  margin-right: 0;
  margin-top: -85px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 3.5px solid #ffffff;
  box-shadow: 0 18px 38px -6px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.85);
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.staggered-card-man:hover,
.staggered-card-woman:hover {
  transform: translateY(-2px);
}

.staggered-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   PHOTO OPTION CARDS (list layout: text left, photo thumbnail right)
   ========================================================================== */

.photo-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 0 10px 16px;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  overflow: hidden;
  width: 100%;
  margin-bottom: 10px;
  gap: 10px;
}

.photo-option-card:hover {
  border-color: var(--turquoise);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.12);
}

.photo-option-card.selected {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 2px var(--turquoise), 0 6px 18px rgba(6, 182, 212, 0.15);
  background: #f0fdfe;
}

.photo-option-label {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.photo-option-card.selected .photo-option-label {
  color: var(--text-dark);
}

.photo-option-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

/* Multi-select photo cards: image and check indicator aligned to right edge */
.photo-option-card--multi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 8px 18px;
  position: relative;
  gap: 12px;
}

.photo-option-card--multi .photo-option-label {
  flex: 1;
  order: 1;
}

.photo-option-card--multi .photo-option-thumb {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  flex-shrink: 0;
  order: 2;
  margin: 0;
}

.photo-option-card--multi .check-indicator {
  position: static;
  transform: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  flex-shrink: 0;
  order: 3;
  margin: 0;
}

.photo-option-card--multi.selected .check-indicator {
  background: var(--turquoise);
  border-color: var(--turquoise);
  transform: scale(1.08);
}

.photo-option-card--multi .check-indicator svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-width: 3;
  opacity: 0;
  transition: opacity 0.18s;
}

.photo-option-card--multi.selected .check-indicator svg {
  opacity: 1;
}

/* ==========================================================================
   MELHOR FORMA LAYOUT — image left, options right (side by side)
   ========================================================================== */

.melhor-forma-layout {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: 100%;
}

.melhor-forma-img-col {
  flex: 0 0 38%;
  max-width: 38%;
}

.melhor-forma-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  display: block;
}

.melhor-forma-options-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.melhor-forma-options-col .mf-option-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  line-height: 1.3;
}

.melhor-forma-options-col .mf-option-card:hover {
  border-color: var(--turquoise);
  box-shadow: 0 3px 10px rgba(6, 182, 212, 0.1);
}

.melhor-forma-options-col .mf-option-card.selected {
  border-color: var(--turquoise);
  background: #f0fdfe;
  box-shadow: 0 0 0 2px var(--turquoise), 0 4px 12px rgba(6, 182, 212, 0.15);
  color: #0891b2;
}
