/* =====================
   🔷 GERAL (todas as etapas)
   ===================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
  --verde: #00c853;
  --verde-escuro: #009624;
  --verde-claro: #e8f8ee;
  --texto: #1a2b22;
  --grad-verde: linear-gradient(135deg, #00e676 0%, #00b248 100%);
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--texto);
  margin: 0;
  background: linear-gradient(180deg, #f2fbf5 0%, #f7f9f8 100%);
  background-attachment: fixed;
  display: flex;
  justify-content: center;
}

.wrapper {
  max-width: 410px;
  width: 100%;
  padding: 20px;
  text-align: center;
}

.progress-container {
  background-color: #ddd; /* cinza claro */
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 20px;
}

.progress-container {
  height: 8px;
}

.progress-bar {
  background: var(--grad-verde);
  height: 100%;
  width: 0%;
  border-radius: 6px;
  transition: width 0.4s ease;
  animation: fillBar 0.7s ease-out;
}

@keyframes fillBar {
  from { width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar { animation: none; }
}

img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.headline {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--texto);
  margin-top: 14px;
}

.sub {
  background: var(--grad-verde);
  color: #fff;
  padding: 12px 18px;
  margin: 12px auto;
  font-weight: 700;
  border-radius: 30px;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(0, 200, 83, 0.3);
}

.alert {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #ffe0e0;
  border-left: 4px solid #e53935;
  padding: 14px 16px;
  border-radius: 12px;
  text-align: left;
  margin-top: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.alert b {
  color: #e53935;
}

.btn {
  background: var(--grad-verde);
  color: white;
  width: 100%;
  padding: 17px;
  border: none;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 0 8px 22px rgba(0, 200, 83, 0.4);
  animation: pulse 2s ease-in-out infinite;
  transition: filter 0.3s, transform 0.15s, box-shadow 0.3s;
}

.btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 26px rgba(0, 200, 83, 0.5);
}

.btn:active {
  transform: scale(0.98);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .btn { animation: none; }
}


/* =====================
   ✅ ETAPAS COM CHECKBOX (ex: objetivos - etapa 2)
   ===================== */

.option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.option {
  background: #fff;
  border: 2px solid #eaeaea;
  padding: 18px 48px 18px 18px;
  border-radius: 14px;
  font-size: 17px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.option:hover {
  border-color: var(--verde);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.12);
}

.option:has(input:checked) {
  border-color: var(--verde);
  background: var(--verde-claro);
  box-shadow: 0 6px 18px rgba(0, 200, 83, 0.18);
}

.option input[type="checkbox"],
.option input[type="radio"] {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  accent-color: var(--verde);
}


/* =====================
   ✅ ETAPA DE GÊNERO (etapa 3)
   ===================== */

.gender-options {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.gender-box {
  flex: 1;
  border: 3px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.gender-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 200, 83, 0.18);
}

.gender-box img {
  width: 100%;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.gender-box input[type="radio"] {
  display: none;
}

.gender-box:has(input:checked) {
  border-color: var(--verde);
  box-shadow: 0 8px 22px rgba(0, 200, 83, 0.3);
}


/* =====================
   📱 RESPONSIVIDADE EXTRA (até 400px)
   ===================== */

@media (max-width: 400px) {
  .btn {
    font-size: 17px;
    padding: 15px;
  }

  .headline {
    font-size: 23px;
  }

  .option {
    font-size: 16px;
    padding: 15px 42px 15px 15px;
  }

  .wrapper {
    padding: 15px;
  }
}
/* imgs option */
.option img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 0;
  box-shadow: none;
}


/* =====================
   📏 CAMPOS DE MEDIDA (peso / altura / meta)
   ===================== */

.medida-grupo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.medida-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s;
}

.medida-card:focus-within {
  border-color: #4CAF50;
}

.medida-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stepper button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.stepper button:hover {
  background: #c8e6c9;
}

.stepper button:active {
  transform: scale(0.92);
}

.stepper-valor {
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stepper-valor input {
  width: 90px;
  border: none;
  background: transparent;
  text-align: right;
  font-size: 38px;
  font-weight: 700;
  color: #222;
  font-family: 'Roboto', sans-serif;
}

.stepper-valor input:focus {
  outline: none;
}

.stepper-valor input::-webkit-outer-spin-button,
.stepper-valor input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper-valor input[type="number"] {
  -moz-appearance: textfield;
}

.stepper-unidade {
  font-size: 18px;
  font-weight: 600;
  color: #888;
}


/* =====================
   📈 CARD DE PROJEÇÃO (meta personalizada)
   ===================== */

.projecao-card {
  background: #fff;
  border: 2px solid var(--verde-claro);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.12);
  margin: 10px 0 4px;
}

.projecao-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #555;
  padding: 6px 4px;
}

.projecao-linha strong {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  color: #333;
}

.projecao-linha.destaque strong {
  color: var(--verde-escuro);
}

.projecao-seta {
  color: var(--verde);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  margin: 2px 0;
}

.projecao-eliminar {
  background: var(--grad-verde);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  margin-top: 14px;
}

.projecao-eliminar strong {
  font-size: 20px;
}

.projecao-prazo {
  font-size: 14px;
  color: #444;
  margin-top: 12px;
  line-height: 1.4;
}


/* =====================
   ⭐ CARD DE DEPOIMENTO (prova social)
   ===================== */

.depoimento {
  text-align: left;
  background: #fff;
  border: 1px solid #eee;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin: 15px 0;
}

.depo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.depo-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #4CAF50;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.depo-info {
  flex: 1;
}

.depo-nome {
  font-weight: 700;
  font-size: 15px;
  color: #222;
}

.depo-verif {
  font-size: 11px;
  font-weight: 600;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 6px;
  white-space: nowrap;
}

.depo-local {
  font-size: 12px;
  color: #888;
}

.depo-stars {
  color: #ffb300;
  font-size: 15px;
  letter-spacing: 1px;
}

.depo-texto {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

