@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&display=swap');

:root {
  --primary: #048239;
  --primary-hover: #036b2f;
  --danger: #d92d42;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --bg-white: #ffffff;
  --max-width: 500px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: var(--text-dark);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.global-header {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0 20px 0;
}

.logo {
  max-width: 140px;
  height: auto;
}

/* Quiz Navigation */
.step {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
  flex-direction: column;
  align-items: center;
}

.step.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cover Style */
.cover-content {
  text-align: center;
}

.banner {
  background-color: var(--danger);
  color: white;
  width: 100%;
  padding: 10px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  border-radius: 4px;
}

.headline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 20px;
}

.highlight {
  color: var(--primary);
  display: block;
}

.main-image-container {
  width: 100%;
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.main-image {
  width: 100%;
  display: block;
}

.warning-container {
  margin-bottom: 25px;
  padding: 0 10px;
}

.warning-text {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.instruction-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--danger);
  text-transform: uppercase;
  line-height: 1.4;
}

.cta-button {
  background-color: var(--primary);
  color: white;
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.cta-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-container {
  width: 100%;
  height: 12px;
  background-color: #f3f4f6;
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: var(--primary);
  width: 0%;
  border-radius: 10px;
  transition: width 0.5s ease-in-out;
}

/* Quiz Content */
.quiz-header {
  margin-bottom: 30px;
  text-align: center;
}

.quiz-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.quiz-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

.quiz-subtitle.underlined {
  text-decoration: underline;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.quiz-option {
  background-color: #f9fafb;
  border: 1.5px solid var(--primary);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.quiz-option:hover {
  background-color: #f0fdf4;
  transform: scale(1.02);
}

/* Option with Icon Left */
.option-icon-left {
  display: flex;
  justify-content: flex-start;
  text-align: left;
  gap: 15px;
  padding: 18px 25px;
}

.option-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.option-text {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Gender & Age Selection Card Component */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-bottom: 30px;
}

.selection-card {
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: white;
  transition: all 0.3s ease;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.selection-card:hover {
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

.card-image-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
  margin-bottom: 10px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-label {
  width: 100%;
  text-align: center;
  padding: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* Specific Gender Card variant with background label */
.gender-card .card-label {
  background-color: #10b981;
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 4px;
}

.info-box {
  background-color: #f9fafb;
  border: 1px solid #d1fae5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.info-title {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.info-description {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Body Map Question */
.body-map-container {
  position: relative;
  width: 250px;
  margin: 40px auto;
  height: 380px;
}

.body-image {
  width: 100%;
  height: auto;
  display: block;
}

.marker {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 30px;
  background-color: white;
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
}

.marker.active {
  background-color: var(--primary);
  color: white;
}

/* Marker Positions */
#marker-bracos {
  top: 15%;
  left: -65px;
}

#marker-costas {
  top: 30%;
  left: -75px;
}

#marker-flanco {
  top: 60%;
  left: -75px;
}

#marker-pernas {
  top: 85%;
  left: -65px;
}

#marker-barriga {
  top: 15%;
  right: -65px;
}

#marker-pochete {
  top: 30%;
  right: -75px;
}

#marker-culotes {
  top: 45%;
  right: -75px;
}

#marker-coxa {
  top: 60%;
  right: -65px;
}

/* Dots on body */
.marker-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #048239;
  border: 2px solid white;
  border-radius: 50%;
  z-index: 15;
  box-shadow: 0 0 0 2px rgba(4, 130, 57, 0.2);
}

/* SVG Overlay for connecting lines */
.body-map-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.connecting-line {
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
}

/* Success Story Styles */
.story-description {
  font-size: 0.9rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 25px;
  padding: 0 10px;
  font-weight: 500;
  line-height: 1.6;
}

.story-image-container {
  width: 100%;
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.story-image {
  width: 100%;
  display: block;
}

/* Name Input Styles */
.input-group {
  width: 100%;
  position: relative;
  margin: 20px 0;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.2rem;
  z-index: 5;
  pointer-events: none;
}

.name-input,
.custom-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 18px 15px 18px 50px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  font-weight: 500;
  outline: none;
}

.name-input::placeholder,
.custom-input::placeholder {
  color: #9ca3af;
}

/* Difficulty Question Styles */
.difficulty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-bottom: 25px;
}

.difficulty-card {
  position: relative;
  background-color: #ffffff;
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 140px;
  text-align: center;
}

.difficulty-card:hover {
  background-color: #f0fdf4;
}

.difficulty-card.active {
  background-color: #f0fdf4;
  box-shadow: inset 0 0 0 1px var(--primary);
}

.circular-marker {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.difficulty-card.active .circular-marker::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
}

.difficulty-emoji {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.difficulty-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
  margin: 20px 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-image {
  width: 100%;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  color: var(--text-dark);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.carousel-nav:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: 10px;
}

.carousel-nav.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Fruit Grid Styles (Step 26) */
.fruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
  margin-bottom: 30px;
}

.fruit-card {
  background: #ffffff;
  border: 1.5px solid #048239;
  border-radius: 12px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fruit-card:hover {
  background: #f0fdf4;
}

.fruit-radio {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 22px;
  height: 22px;
  border: 1.5px solid #048239;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fruit-card.active .fruit-radio::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #048239;
  border-radius: 50%;
}

.fruit-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.fruit-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
}

/* Analysis Screen Styles (Step 27) */
.analysis-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
}

.analysis-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.analysis-subtitle {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 40px;
  max-width: 300px;
}

.large-progress-container {
  width: 100%;
  height: 30px;
  background-color: #f3f4f6;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.large-progress-bar {
  height: 100%;
  background-color: #048239;
  width: 67%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Form Input Group (Unified) */
.input-group:focus-within {
  border-color: #048239;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(4, 130, 57, 0.1);
}

/* Delivery Grid (Step 33) */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
  margin: 20px 0;
}

.delivery-card {
  background: #f9fafb;
  border: 1.5px solid #048239;
  border-radius: 12px;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delivery-card:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.delivery-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.delivery-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
}

/* Feedback Styling (Step 32) */
.feedback-container {
  padding: 30px 20px;
  text-align: center;
}

.feedback-text {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.5;
  color: #111;
}

.highlight-red {
  color: #b91c1c;
  text-decoration: underline;
}

/* Binary Choice Styles (Step 29) */
.binary-choice-container {
  display: flex;
  gap: 15px;
  width: 100%;
  margin: 20px 0;
}

.binary-card {
  flex: 1;
  background: #fff;
  border: 1.5px solid #048239;
  border-radius: 12px;
  padding: 30px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.binary-card:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
}

.binary-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.binary-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
}

/* Body Type (Step 39) */
.body-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
}

.body-card {
  background: #fff;
  border: 1.5px solid #048239;
  border-radius: 12px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.body-card:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
}

.body-icon {
  width: 100px;
  height: auto;
}

/* Readiness Step (Step 40) */
.comparison-container {
  display: flex;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0;
  background: #fff;
}

.comparison-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comparison-header {
  background: #f9fafb;
  padding: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.comparison-image-wrapper {
  position: relative;
  padding: 15px;
}

.comparison-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.comparison-footer {
  padding: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  border-top: 1px solid #f3f4f6;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.status-card {
  margin: 10px;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.status-card.lento {
  background: #f3f4f6;
  color: #4b5563;
}

.status-card.otimizado {
  background: #d1fae5;
  color: #065f46;
}

.status-icon {
  font-size: 1rem;
}

/* Micro-progress commitment bar */
.micro-progress {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  margin: 10px 0;
  position: relative;
  overflow: hidden;
}

.micro-fill {
  height: 100%;
  background: #048239;
  border-radius: 4px;
}

.micro-knob {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid #048239;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Trust Screen (Step 36) */
.trust-container {
  padding: 20px;
  text-align: center;
}

.trust-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #111;
}

.trust-highlight {
  color: #048239;
  font-weight: 800;
}

/* VSL Step (Step 41) */
.vsl-container {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.video-wrapper {
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.final-cta-btn {
  background-color: #048239;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 20px 30px;
  border-radius: 12px;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 0 #036b2f;
  animation: pulse-green 1.5s infinite;
  transition: transform 0.2s;
}

.final-cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #036b2f;
}

@keyframes pulse-green {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(4, 130, 57, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(4, 130, 57, 0.6);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(4, 130, 57, 0.4);
  }
}

/* Audio Player Styles (Step 28) */
.audio-player-container {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.play-button {
  width: 35px;
  height: 35px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.waveform {
  flex-grow: 1;
  height: 40px;
  background: repeating-linear-gradient(90deg, #e5e7eb, #e5e7eb 2px, transparent 2px, transparent 4px);
  position: relative;
  border-radius: 4px;
}

.waveform-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background: repeating-linear-gradient(90deg, #048239, #048239 2px, transparent 2px, transparent 4px);
}

.audio-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

/* BMI Scale Styles (Step 28) */
.bmi-scale-container {
  background: linear-gradient(90deg, #048239, #facc15, #b91c1c);
  height: 12px;
  border-radius: 6px;
  width: 100%;
  position: relative;
  margin: 40px 0 20px;
}

.bmi-pointer {
  position: absolute;
  top: -25px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pointer-label {
  background: #fff;
  border: 1px solid #ddd;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 5px;
  white-space: nowrap;
}

.pointer-arrow {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #048239;
  border-radius: 50%;
}

.bmi-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  padding: 0 5px;
  margin-top: -12px;
  pointer-events: none;
}

/* Circular Gauge Styles (Step 28) */
.gauge-container {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-svg {
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: #f3f4f6;
  stroke-width: 10;
}

.gauge-fill {
  fill: none;
  stroke: #b91c1c;
  stroke-width: 10;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 32.6;
  /* 87% fill */
  stroke-linecap: round;
}

.gauge-text {
  position: absolute;
  font-size: 1.5rem;
  font-weight: 900;
}

/* Weekly Progress Styles (Step 28) */
.weekly-progress-container {
  display: flex;
  justify-content: space-around;
  background: #f9fafb;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin: 20px 0;
}

.week-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.week-title {
  font-size: 0.7rem;
  font-weight: 700;
}

.week-bar-outer {
  width: 30px;
  height: 80px;
  background: #e5e7eb;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.week-bar-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #048239;
  transition: height 0.3s ease;
}

.week-val {
  font-size: 0.7rem;
  font-weight: 800;
  color: #048239;
}

.week-label {
  font-size: 0.6rem;
  color: #9ca3af;
}

.video-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Detailed Card Styles */
.detailed-card {
  display: flex !important;
  align-items: center;
  text-align: left !important;
  padding: 15px 20px !important;
  gap: 15px;
  min-height: 80px;
}

.card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.card-text-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-main-text {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.card-sub-text {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 400;
  line-height: 1.2;
}

/* Explanation Step Styles */
.explanation-container {
  text-align: center;
  margin: 20px 0;
}

.explanation-title {
  color: #ef4444;
  /* Vermelho forte */
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.2;
  font-family: 'Outfit', sans-serif;
}

.explanation-image-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.explanation-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Claudia Testimony Styles */
.claudia-testimony-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eeeeee;
  margin-top: 20px;
  text-align: left;
}

.testimony-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.claudia-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.claudia-info {
  display: flex;
  flex-direction: column;
}

.claudia-name {
  font-weight: 700;
  font-size: 16px;
  color: #333333;
}

.claudia-location {
  font-size: 12px;
  color: #666666;
}

.claudia-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: #444444;
  margin-bottom: 12px;
}

.star-rating {
  color: #ffc107;
  font-size: 18px;
}

/* Weight Ruler Styles */
.unit-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.unit-toggle {
  display: flex;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 4px;
  width: 100px;
}

.toggle-btn {
  flex: 1;
  padding: 6px 0;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  color: #64748b;
  text-align: center;
}

.toggle-btn.active {
  background: var(--primary);
  color: #ffffff;
}

.weight-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.weight-unit {
  font-size: 20px;
  color: #94a3b8;
  font-weight: 600;
}

.ruler-outer {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
  overflow: hidden;
}

.ruler-container {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 0 50%;
  /* Center the initial value */
  cursor: grab;
  user-select: none;
  transition: transform 0.1s ease-out;
}

.ruler-mark {
  flex-shrink: 0;
  width: 2px;
  background: #cbd5e1;
  margin-right: 18px;
  /* Spacing between marks */
  border-radius: 1px;
}

.ruler-mark.major {
  height: 60px;
  background: #94a3b8;
}

.ruler-mark.minor {
  height: 40px;
}

.ruler-mark.major::after {
  content: attr(data-value);
  position: absolute;
  top: 70px;
  transform: translateX(-50%);
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}

.ruler-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 90px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
  z-index: 2;
}

.ruler-pointer::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--primary);
}

.ruler-instruction {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 35px;
}

.imc-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.imc-card .icon {
  color: var(--primary);
  font-weight: 700;
}

.imc-card .title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: #1e293b;
}

.imc-card .desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* Utility Classes */
.text-danger {
  color: var(--danger);
}

.underline {
  text-decoration: underline;
}

/* Ruler Button Controls */
.ruler-btn {
  background: #048239;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(4, 130, 57, 0.3);
  flex-shrink: 0;
}

.ruler-btn:hover {
  background: #036b2f;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(4, 130, 57, 0.4);
}

.ruler-btn:active {
  transform: scale(0.95);
}

.weight-value-group {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.weight-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

@media (max-width: 480px) {
  .headline {
    font-size: 1.2rem;
  }

  .quiz-title {
    font-size: 1.2rem;
  }

  .body-map-container {
    transform: scale(0.85);
    margin: 20px auto;
  }
}