/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

/* PAGE */
body {
  background: #ffffff;
  color: #1f2937;
}

.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  text-align: center;
}

/* HERO CARD TOPO */
.hero-card {
  width: 100%;
  max-width: 420px;
  height: 220px;

  margin: 40px auto 24px;
  border-radius: 18px;

  background-image: url("../assets/bg-card.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* BADGE */
.badge {
  font-size: 13px;
  font-weight: 600;
  color: #166534;
  margin-bottom: 8px;
}

/* TITULOS */
.card-header h1 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #14532d;
}

.title {
  font-size: 28px;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 24px;
}

.question {
  font-size: 17px;
  margin-bottom: 18px;
}

/* ===== OPÇÕES DE GÊNERO ===== */
.gender-options {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.gender-card {
  width: 160px;
  padding: 18px 12px;

  background: #ffffff;
  border-radius: 18px;
  border: 2px solid #e5e7eb;

  cursor: pointer;
  transition: all 0.25s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.gender-card img {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
}

.gender-card span {
  font-size: 16px;
  font-weight: 600;
}

/* HOVER */
.gender-card:hover {
  border-color: #22c55e;
  transform: scale(1.04);
}


/* PÁGINA 2 – NOME */
.question-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
}

.question-subtitle {
  font-size: 15px;
  color: #666;
  text-align: center;
  margin-bottom: 24px;
}

.input-wrapper {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 20px;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 12px;
  border: 2px solid #22c55e;
  outline: none;
}

 /* BOTÃO PADRÃO (aceita os dois nomes pra não quebrar nada) */
 .btn-primary,
 .primary-btn {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: block;

  background: #22c55e;
  color: #fff;
  font-size: 16px;
  font-weight: 600;

  padding: 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;

  transition: all 0.2s ease;
}

 .btn-primary:hover,
 .primary-btn:hover {
  background: #16a34a;
  transform: scale(1.02);
}


.value-display {
  font-size: 42px;
  font-weight: bold;
  color: #22c55e;
  margin: 20px 0;
}


/* SLIDER PADRÃO VERDE */
.slider {
  -webkit-appearance: none; /* Chrome / Safari */
  appearance: none;         /* padrão W3C */

  width: 100%;
  max-width: 420px;
  height: 10px;
  border-radius: 999px;
  background: #e5f4ea;
  outline: none;
  margin: 20px 0 30px;
}

/* bolinha */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  margin-top: -6px;
}

.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid #ffffff;
  cursor: pointer;
}

/* TOGGLE CM / POLEGADAS */
.unit-toggle {
  display: flex;
  gap: 8px;
  background: #eef7f0;
  padding: 6px;
  border-radius: 14px;
  margin: 20px auto;
  width: fit-content;
}

.unit-btn {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  color: #2f5d46;
}

.unit-btn.active {
  background: #22c55e;
  color: #fff;
  font-weight: 600;
}


.imc-card {
  max-width: 420px;
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  margin: 30px auto;
}

.imc-card.success {
  background: #e6f9ef;
  border: 2px solid #22c55e;
}

.imc-card.danger {
  background: #fdecec;
  border: 2px solid #ef4444;
}

.imc-status {
  font-weight: 700;
  margin-bottom: 10px;
}

.imc-value {
  font-size: 48px;
  font-weight: 800;
}

.imc-bar {
  max-width: 420px;
  margin: 20px auto;
}

.bar-track {
  height: 10px;
  background: linear-gradient(
    to right,
    #fbbf24 25%,
    #22c55e 25% 50%,
    #f97316 50% 75%,
    #ef4444 75%
  );
  border-radius: 999px;
  position: relative;
}

#barIndicator {
  position: absolute;
  top: -6px;
  width: 18px;
  height: 18px;
  background: #111;
  border-radius: 50%;
}

.btn-danger {
  background: #ef4444;
}

.btn-success {
  background: #22c55e;
}


/* ===============================
   ANIMAÇÕES DE ÊNFASE (IMC)
   =============================== */

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* 🔴 BOTÃO CTA */
.btn-danger,
.btn-primary {
  animation: pulse 1.6s ease-in-out infinite;
}

/* ⚠️ TEXTO DE ATENÇÃO */
.imc-text {
  animation: pulse 1.8s ease-in-out infinite;
}

/* ===============================
   ALERTA IMC (ÍCONE + TEXTO)
   =============================== */

.alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ff3b3b;
  margin-right: 8px;
  animation: pulse 1.6s ease-in-out infinite;
}

/* TEXTO PADRÃO (ALERTA) */
.imc-card.danger .imc-text {
  color: #ff3b3b;
  font-weight: 500;
  animation: pulse 1.8s ease-in-out infinite;
}

/* TEXTO POSITIVO (IMC OK) */
.imc-card.success .imc-text {
  color: #16a34a;   /* verde */
  font-weight: 600;
  animation: none;
}


/* REMOVE ANIMAÇÃO DE ALERTA QUANDO OK */
.imc-card.success .imc-text {
  animation: none;
}
/* ===== SHARE ICONS (LAYOUT FINAL) ===== */

.share-wrapper {
  margin-top: 24px;
  text-align: center;
}

.share-label {
  font-size: 14px;
  font-weight: 600;
  color: #166534;
  margin-bottom: 12px;
}

/* FORÇA OS ÍCONES EM LINHA */
.share-icons {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* BOTÃO DE CADA ÍCONE */
.share-icons a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* IMAGEM DO ÍCONE */
.share-icons img {
  width: 22px;
  height: 22px;
}

/* HOVER */
.share-icons a:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}


/* PROGRESSO */
.progress-wrapper {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 8px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  margin-bottom: 30px;
}

.progress-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 999px;
}

/* PERGUNTA */
.question-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* OPÇÕES */
.options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.option-btn {
  padding: 16px;
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.option-btn:hover {
  border-color: #22c55e;
  background: #ecfdf5;
}

body {
margin: 0;
font-family: Inter, Arial, sans-serif;
background: #f8fff9;
}


.urgency-bar {
background: #f44336;
color: #fff;
text-align: center;
padding: 12px;
font-weight: 600;
}


.container {
max-width: 900px;
margin: auto;
padding: 24px;
}


.hero { text-align: center; }

.circle {
  --percent: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(
    #22c55e calc(var(--percent) * 1%),
    #dcfce7 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  transition: background 0.3s linear;
}

.circle::before {
  content: "";
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
}


.btn {
display: block;
background: #22c55e;
color: #fff;
padding: 18px;
border-radius: 14px;
text-align: center;
text-decoration: none;
font-weight: 700;
margin: 24px auto;
}


.testimonials .card,
.faq details {
background: #fff;
padding: 16px;
border-radius: 14px;
margin-bottom: 12px;
}

.product h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product {
  text-align: center;
}
.before-after-single {
  background: #f8fff9;
  border-radius: 18px;
  padding: 14px;
  text-align: center;
}

.before-after-single img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.before-after-single .labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 14px;
  color: #374151;
}

.before-after-single .labels span {
  text-align: center;
}

.before-after-single .labels strong {
  color: #16a34a;
}

.before-after-single .arrow {
  font-size: 18px;
  font-weight: bold;
  color: #22c55e;
}

.before-after-single .time {
  font-size: 12px;
  color: #6b7280;
}


.transform-card {
  padding: 20px;
}

.transform-title {
  text-align: center;
  margin-bottom: 16px;
}

.transform-item {
  background: #f8fff9;
  border-radius: 18px;
  padding: 14px;
}

.transform-item img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.transform-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 14px;
  color: #374151;
}

.transform-info div {
  text-align: center;
}

.label {
  font-size: 12px;
  color: #6b7280;
  display: block;
}

.label.success {
  color: #16a34a;
}

.weight {
  font-size: 16px;
  font-weight: 700;
  display: block;
}

.weight.success {
  color: #16a34a;
}

.arrow {
  font-size: 18px;
  font-weight: 700;
  color: #22c55e;
}

.time {
  font-size: 12px;
  color: #6b7280;
}

/* =========================
   AJUSTE MOBILE GLOBAL
   ========================= */
@media (max-width: 768px) {

  body {
    zoom: 1;
  }

  .page,
  .container,
  .card,
  .quiz-card,
  .content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box;
  }

  h1, h2 {
    font-size: 1.4rem !important;
    line-height: 1.3;
    text-align: center;
  }

  p {
    font-size: 1rem !important;
    text-align: center;
  }

  .options,
  .buttons,
  .gender-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  button,
  .option,
  .btn {
    width: 100% !important;
    font-size: 1.1rem;
    padding: 14px;
  }
}


/* ===============================
   CORREÇÃO DEFINITIVA MOBILE
   PESO / ALTURA / IMC
   =============================== */
@media (max-width: 480px) {

  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    zoom: 1 !important;
    transform: none !important;
  }

  main,
  .page,
  .container,
  .content {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    scale: 1 !important;
  }

  /* IMC / PESO / ALTURA */
  .value-display,
  .imc-value {
    font-size: 38px !important;
    line-height: 1.2 !important;
  }

  .title {
    font-size: 22px !important;
  }

  .imc-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    margin: 16px auto !important;
  }

  input[type="range"] {
    width: 100% !important;
  }

  button,
  .btn,
  .btn-primary {
    width: 100% !important;
    padding: 16px !important;
    font-size: 16px !important;
  }
}


