body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #fff;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  /*height: 100vh; */
}
.container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  text-align: center;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}
.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffcc00, #ff9900);
  transition: width 0.4s ease;
}
.slide {
  display: none;
  animation: fade 0.4s ease-in-out;
}
  .testimonial-img,
  .results-grid img {
    max-width: 100%;
    height: 60vh;
    max-height: 55vh;
    object-fit: cover;
  }

.active {
  display: block;
}
@keyframes fade {
  from {opacity: 0;}
  to {opacity: 1;}
}
h2 {
  font-size: 20px;
  margin-bottom: 15px;
}
p {
  font-size: 16px;
  margin: 10px 0;
}
.options button {
  display: block;
  width: 100%;
  background: #ffcc00;
  border: none;
  padding: 15px;
  margin: 10px 0;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1.3;
  white-space: normal;
  word-wrap: break-word;
}
.options button:hover {
  background: #ff9900;
  color: #fff;
}

/* Estilos para o slide Antes e Depois */
.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.result-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.result-item img {
  width: 100%;
  height: 200px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.result-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 204, 0, 0.9);
  color: #000;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  padding: 4px;
}

.influencers-section {
  margin: 25px 0;
  text-align: center;
}

.influencers-section h3 {
  margin-bottom: 15px;
  font-size: 16px;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  max-width: 300px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  text-align: center;
}

.carousel-slide img {
  max-width: 200px;
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 8px;
}

/* Ajustes extras para telas muito pequenas (<350px) */
@media (max-width: 350px) {
  .result-item img {
    max-height: 160px;
  }

  .carousel-slide img {
    max-width: 140px;
  }
}

/* Responsividade */
@media (max-width: 480px) {
  .options-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 350px) {

  .options-grid {
    grid-template-columns: 1fr;
  }
  
}

.carousel-slide p {
  font-weight: bold;
  font-size: 14px;
  margin: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #ffcc00;
}

@media (max-width: 480px) {
  .results-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .result-item img {
    max-height: 230px;
  }
}

/* Ajustes para telas muito pequenas (menos de 350px) */
@media (max-width: 350px) {
  .result-item img {
    height: 130px;
  }
  
  .carousel-container {
    max-width: 220px;
  }
  
  .carousel-slide img {
    width: 70px;
    height: 70px;
  }
  
  .influencers-section h3 {
    font-size: 15px;
  }
}

/* Estilos para o slide "Quem está por trás do seu plano?" - VERSÃO MOBILE COMPACTA */
.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffcc00;
  margin: 0 auto 15px;
}

.achievements-compact {
  margin: 15px 0;
}

.achievement-line {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 8px 10px;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 13px;
}

.achievement-badge {
  font-size: 18px;
  margin-right: 10px;
  min-width: 30px;
  text-align: center;
}

.social-proof-compact {
  margin: 20px 0;
  padding: 12px;
  background: linear-gradient(135deg, #ffcc00, #ff9900);
  border-radius: 10px;
  color: white;
  text-align: center;
}

.social-proof-compact h3 {
  margin: 0 0 12px 0;
  color: white;
  font-size: 16px;
}

.social-image-compact {
  display: flex;
  justify-content: center;
  height: 60%;
}

.social-proof-img {
  max-width: 100%;
  height: 60%;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.highlight {
  color: #000000;
  font-weight: bold;
  font-size: 15px;
  margin: 15px 0;
}

/* Ajustes específicos para mobile */
@media (max-width: 480px) {
  .container {
    padding: 15px;
  }
  
  h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .achievement-line {
    font-size: 12px;
    padding: 7px 10px;
    margin: 8px 0;
  }
  
  .achievement-badge {
    font-size: 16px;
    min-width: 25px;
  }
  
  .social-proof-compact {
    padding: 10px;
    margin: 15px 0;
  }
  
  .social-proof-compact h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  .options button {
    padding: 12px;
    font-size: 14px;
    margin: 8px 0;
  }
  
  .btn-icon {
    font-size: 18px;
    margin-right: 8px;
  }
}

/* Ajustes para telas muito pequenas (menos de 350px) */
@media (max-width: 350px) {
  .profile-img {
    width: 100px;
    height: 100px;
  }
  
  .achievement-line {
    font-size: 11px;
  }
  
  .highlight {
    font-size: 14px;
  }
  
  .options button {
    font-size: 13px;
    padding: 10px;
  }
}

.cta-btn {
  background: #28a745 !important;
  padding: 15px;
  border-radius: 15px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  position: relative;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  transition: all 0.1s ease;
}
.cta-btn:hover {
  animation: none;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 12px rgba(40, 167, 69, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.media img,
.media video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: contain;
}

/* Overlay de aviso */
.mute-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
  text-align: center;
}
/* Grid com imagens */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.options-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}
.options-grid button:hover {
  border-color: #ff9900;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.options-grid button img {
  width: 100%;
  max-width: 160px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.options-grid img {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 5px;
}

.options-grid button span {
  font-size: 15px;
  font-weight: bold;
  color: #333;
}

/* Estilos melhorados para o medidor de peso */
.unit-toggle {
  display: flex;
  justify-content: center;
  margin: 15px 0;
  gap: 10px;
}
.unit-toggle button {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}
.unit-toggle button.active {
  background: #ffcc00;
  border-color: #ffcc00;
  color: #333;
  font-weight: bold;
}
.range-display {
  font-size: 28px;
  font-weight: bold;
  margin: 15px 0;
  color: #ff6600;
}
.slider-container {
  position: relative;
  margin: 25px 0;
  padding: 0 10px;
}
input[type="range"] {
  width: 100%;
  height: 12px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #ffcc00, #ff6600);
  border-radius: 10px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #ff6600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.slider-markers {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 5px;
}
.slider-markers span {
  font-size: 12px;
  color: #888;
}
.info {
  font-size: 14px;
  color: #666;
  margin: 8px 0;
}
.box-info {
  background: #f9f9f9;
  border-left: 4px solid #ffcc00;
  padding: 15px;
  margin: 20px 0;
  text-align: left;
  border-radius: 0 8px 8px 0;
}
.box-info strong {
  color: #ff6600;
}
.checkmark {
  font-size: 20px;
  margin-right: 10px;
  float: left;
}

/* Estilo para o resultado do IMC */
.imc-bar {
  display: flex;
  height: 30px;
  margin: 15px 0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.imc-bar span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  padding: 8px 2px;
  color: white;
  font-weight: bold;
}
.perfil {
  margin: 20px 0;
}
.perfil img {
  max-width: 180px;
  height: auto;
}

@media (max-width: 480px) {
  .media img,
  .media video {
    max-height: 60vh; /* ocupa no máximo 60% da altura da tela */
  }
}