:root {
  --background: #fdfcfd;
  --foreground: #1c1a24;
  --card: #ffffff;
  --muted: #f3f2f5;
  --muted-foreground: #6f6a7a;
  --primary: #e0407a;
  --primary-glow: #f0608f;
  --primary-foreground: #ffffff;
  --accent: #fdeef3;
  --accent-foreground: #b62a5c;
  --border: #ece7ec;
  --success: #16a34a;
  --radius: 1rem;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}
html {
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
}

/* ---------- Layout ---------- */
.shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.header {
  background: var(--background);
}
.header-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 2rem;
  align-items: center;
  max-width: 36rem;
  padding: 0.75rem 1rem;
}
.back-btn {
  height: 2rem;
  width: 2rem;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(28, 26, 36, 0.7);
  cursor: pointer;
}
.back-btn[disabled] {
  opacity: 0;
  cursor: default;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.logo-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.logo-tag {
  border-radius: 0.375rem;
  background: var(--muted);
  padding: 0.1rem 0.5rem;
  font-size: 11px;
  color: var(--muted-foreground);
}
.progress {
  height: 4px;
  width: 100%;
  background: var(--muted);
}
.progress > span {
  display: block;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: var(--primary);
  transition: width 0.5s ease;
}
main {
  width: 100%;
  flex: 1;
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* ---------- Títulos ---------- */
.step-title {
  text-align: center;
  margin-bottom: 1.25rem;
}
.step-title h1 {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}
.step-title p {
  margin-top: 0.75rem;
  font-size: 14px;
  color: var(--muted-foreground);
}
@media (min-width: 380px) {
  .step-title h1 {
    font-size: 23px;
  }
  .step-title p {
    font-size: 15px;
  }
}

/* ---------- Botão principal ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  border: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(224, 64, 122, 0.55);
  transition: transform 0.2s, filter 0.2s;
}
.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}

/* ---------- Lista de opções ---------- */
.choices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.choices.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.choice:hover {
  border-color: rgba(224, 64, 122, 0.6);
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.4);
}
.choice.active {
  border-color: var(--primary);
  background: var(--accent);
}
.choices.grid .choice {
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}
.choice.full {
  grid-column: span 2;
  flex-direction: row;
  justify-content: center;
  text-align: center;
}
.choice img {
  border-radius: 0.75rem;
  object-fit: cover;
  height: 3.5rem;
  width: 3.5rem;
  flex: none;
}
.choices.grid .choice img {
  height: 7rem;
  width: 100%;
}
.choice-body {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.choice-emoji {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  flex: none;
  border-radius: 0.75rem;
  background: var(--accent);
  font-size: 1.15rem;
}
.choice-label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.choice-desc {
  font-size: 12px;
  color: var(--muted-foreground);
}
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  width: 1.25rem;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  font-size: 11px;
  font-weight: 700;
  color: transparent;
}
.choice.active .check {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* ---------- Intro ---------- */
.intro-title {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}
.intro-title span {
  color: var(--primary);
}
.intro-sub {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 14px;
  color: var(--muted-foreground);
}
.intro-badge {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.intro-stage {
  position: relative;
  margin-top: 1.25rem;
  min-height: 300px;
}
.intro-img {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  height: 300px;
  width: auto;
  max-width: none;
  transform: translateX(-18%);
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
}
.intro-options {
  position: relative;
  z-index: 1;
  margin-left: auto;
  display: flex;
  width: 62%;
  flex-direction: column;
  gap: 0.625rem;
}
.intro-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 0;
  border-radius: 1rem;
  background: var(--card);
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.25);
}
@media (min-width: 380px) {
  .intro-title {
    font-size: 26px;
  }
  .intro-stage {
    min-height: 340px;
  }
  .intro-img {
    height: 340px;
    transform: translateX(-22%);
  }
  .intro-options {
    width: 64%;
  }
}

/* ---------- Portrait (etapa 3) ---------- */
.portrait-stage {
  position: relative;
  min-height: 480px;
}
.portrait-img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 470px;
  width: auto;
  max-width: none;
  transform: translateX(8%);
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}
.portrait-options {
  position: relative;
  z-index: 1;
  width: 58%;
}

/* ---------- Cards / genéricos ---------- */
.card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1rem;
}
.accent-card {
  border: 1px solid rgba(224, 64, 122, 0.25);
  border-radius: 1rem;
  background: var(--accent);
  padding: 1rem;
  color: var(--accent-foreground);
  font-size: 13px;
  line-height: 1.6;
}
.step-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1rem;
}
.text-center {
  text-align: center;
}
.muted {
  color: var(--muted-foreground);
}
.small {
  font-size: 13px;
}

/* ---------- Sliders ---------- */
.slider-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.5rem;
  text-align: center;
}
.slider-unit {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}
.slider-value {
  margin-top: 0.25rem;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
}
.slider-value small {
  font-size: 1.1rem;
  color: var(--muted-foreground);
}
input[type="range"] {
  margin-top: 1.25rem;
  width: 100%;
  accent-color: var(--primary);
}
.age-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  outline: none;
}

/* ---------- Loading ---------- */
.bar {
  height: 0.75rem;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: var(--muted);
}
.bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-glow));
  transition: width 0.1s linear;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.dots span {
  height: 6px;
  width: 24px;
  border-radius: 999px;
  background: var(--muted);
}
.dots span.on {
  background: var(--primary);
}

/* ---------- Perfil / resumo ---------- */
.comparison-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.comparison-images {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.comparison-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.comparison-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.comparison-col.is-goal .comparison-label {
  color: var(--primary);
}
.comparison-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.75rem;
  background: var(--muted);
}
.comparison-arrows {
  flex-shrink: 0;
  color: var(--border);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -2px;
  padding: 0 0.15rem;
}
.comparison-stats {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.25rem;
  text-align: left;
}
.stat-col {
  flex: 1;
  min-width: 0;
}
.stat-group {
  margin-bottom: 1rem;
}
.stat-group:last-child {
  margin-bottom: 0;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.stat-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--foreground);
}
.stat-value.large {
  font-size: 20px;
  color: var(--primary);
}
.rows {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 0 1rem;
}
.row {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}
.row:first-child {
  border-top: 0;
}
.row .label {
  font-size: 11px;
  color: var(--muted-foreground);
}
.row .value {
  font-size: 14px;
  font-weight: 700;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 0.75rem;
  margin-top: 1rem;
}
.grid2 .k {
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
}
.grid2 .v {
  font-size: 17px;
  font-weight: 900;
}
.levelbars {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.levelbars span {
  height: 6px;
  flex: 1;
  border-radius: 999px;
  background: var(--muted);
}
.levelbars span.on {
  background: var(--primary);
}

/* ---------- IMC ---------- */
.imc-track {
  position: relative;
  margin-top: 2.25rem;
  padding: 0 4px;
}
.imc-bar {
  height: 10px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #22c55e, #facc15, #f97316, #ef4444);
}
.imc-marker {
  position: absolute;
  top: -3px;
  height: 1rem;
  width: 1rem;
  transform: translateX(-50%);
  border: 3px solid var(--background);
  border-radius: 999px;
  background: var(--foreground);
  transition: left 1s ease-out;
}
.imc-bubble {
  position: absolute;
  top: -2rem;
  z-index: 2;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 0.5rem;
  background: var(--foreground);
  color: var(--background);
  padding: 0.25rem 0.5rem;
  font-size: 11px;
  font-weight: 700;
  transition: left 1s ease-out;
}
.scale-legend,
.scale-legend2 {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-foreground);
}
.scale-legend2 {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* ---------- Oferta ---------- */
.topbar {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}
.offer {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}
.offer h1 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary);
  text-align: center;
}
.vsl {
  margin: 1.25rem auto 0;
  width: 100%;
  max-width: 400px;
}
.price-card {
  border: 2px solid var(--primary);
  border-radius: 1.5rem;
  background: var(--card);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}
.price-now {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
}
.benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.benefits li {
  display: flex;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--muted-foreground);
}
.benefits b {
  color: var(--foreground);
}
.section {
  margin-top: 3rem;
}
.section h2 {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 900;
}
.testimonial {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  margin-top: 1.25rem;
}
.testimonial figcaption {
  padding: 1rem;
}
details.card {
  margin-top: 0.75rem;
}
details.card summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Rodapé ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 12px;
  color: var(--muted-foreground);
}
.footer a {
  color: var(--muted-foreground);
  margin: 0 0.4rem;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.legal {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.legal h1 {
  font-size: 1.5rem;
  font-weight: 900;
}
.legal p {
  margin-top: 0.75rem;
  font-size: 14px;
  color: var(--muted-foreground);
}
