﻿/* ============================================================
   SIFORMA — movement-studio.css
   Wizard-based specification tool
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.ms-hero {
  background: var(--grafite-esc);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 100px 0 80px;
}

.ms-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.ms-hero-glow {
  position: absolute;
  top: -160px;
  left: -160px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(104,160,74,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.ms-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ms-hero-text { max-width: 520px; }

.ms-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 20px;
}

.ms-hero-h1 {
  color: var(--branco);
  margin-bottom: 20px;
  font-size: clamp(32px, 3.2vw, 52px);
}

.ms-hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  max-width: 460px;
}

.ms-hero-start {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--verde);
  color: var(--branco);
  border: none;
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  margin-bottom: 16px;
}

.ms-hero-start:hover {
  background: var(--verde-forte);
  transform: translateY(-2px);
}

.ms-hero-start svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-hero-start:hover svg {
  transform: translateY(3px);
}

.ms-hero-caption {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}

/* Hero movement icons (decorative right column) */
.ms-hero-movements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ms-hero-mov-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 18px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.ms-hero-mov-card:hover {
  border-color: rgba(104,160,74,0.3);
  background: rgba(104,160,74,0.05);
  color: rgba(255,255,255,0.8);
}

.ms-hero-mov-card svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.ms-hero-mov-card span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Wizard ─────────────────────────────────────────────────── */
.ms-wizard {
  background: #FAFAF9;
  padding: 0 0 96px;
  min-height: 60vh;
  position: relative;
  z-index: 1;
}

.ms-wiz-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Progress track */
.ms-wiz-progress-track {
  height: 3px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 36px;
  position: sticky;
  top: 72px;
  z-index: 10;
}

.ms-wiz-progress-fill {
  height: 100%;
  background: var(--verde);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0%;
}

/* Trail */
.ms-wiz-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 16px;
  padding-top: 20px;
}

.ms-trail-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(104,160,74,0.1);
  color: var(--verde-forte);
  border: 1px solid rgba(104,160,74,0.25);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Steps */
.ms-wiz-step { display: none; }

.ms-wiz-step.active {
  display: block;
  animation: msStepIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ms-wiz-step.back {
  animation: msStepInBack 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes msStepIn {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes msStepInBack {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ms-wiz-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 12px;
}

.ms-wiz-q {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--grafite-esc);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.ms-wiz-hint {
  font-size: 15px;
  color: var(--grafite-cla);
  margin-bottom: 36px;
}

/* Options grid */
.ms-wiz-opts {
  display: grid;
  gap: 12px;
}

.ms-wiz-opts--flow { grid-template-columns: repeat(4, 1fr); }
.ms-wiz-opts--3col { grid-template-columns: repeat(3, 1fr); }
.ms-wiz-opts--big  { gap: 16px; }

/* Option card */
.ms-wiz-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--branco);
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.25s ease,
    background   0.25s ease,
    transform    0.25s ease,
    box-shadow   0.25s ease;
}

.ms-wiz-opt:hover {
  border-color: rgba(104,160,74,0.4);
  background: rgba(104,160,74,0.03);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.ms-wiz-opt.selected {
  border-color: var(--verde);
  background: rgba(104,160,74,0.07);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(104,160,74,0.18);
}

.ms-wiz-opt-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grafite-esc);
  margin-bottom: 4px;
  transition: border-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.ms-wiz-opt-ico svg { width: 24px; height: 24px; }

.ms-wiz-opt.selected .ms-wiz-opt-ico {
  border-color: rgba(104,160,74,0.4);
  color: var(--verde);
}

.ms-wiz-opt-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--grafite-esc);
  line-height: 1.2;
}

.ms-wiz-opt-desc {
  font-size: 12px;
  color: var(--grafite-cla);
  line-height: 1.45;
}

.ms-wiz-opt-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-wiz-opt-check svg { width: 10px; height: 10px; color: white; }

.ms-wiz-opt.selected .ms-wiz-opt-check {
  opacity: 1;
  transform: scale(1);
}

/* Bigger options (step 4) */
.ms-wiz-opts--big .ms-wiz-opt {
  padding: 18px 20px 16px;
  align-items: center;
  text-align: center;
}

.ms-wiz-opts--big .ms-wiz-opt-ico {
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
}

.ms-wiz-opts--big .ms-wiz-opt-ico svg { width: 28px; height: 28px; }
.ms-wiz-opts--big .ms-wiz-opt-name   { font-size: 15px; }
.ms-wiz-opts--big .ms-wiz-opt-desc   { font-size: 12px; }

/* ── Wizard nav (back button) ───────────────────────────────── */
.ms-wiz-nav {
  margin-top: 32px;
  display: flex;
  align-items: center;
}

.ms-wiz-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--grafite-cla);
  cursor: pointer;
  font-family: inherit;
  padding: 10px 0;
  transition: color 0.2s ease;
  visibility: hidden;
}

.ms-wiz-back-btn:hover  { color: var(--grafite-esc); }
.ms-wiz-back-btn.show   { visibility: visible; }

/* ── Step 5: CEP ────────────────────────────────────────────── */
.ms-cep-phase { padding-top: 4px; }

.ms-cep-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 12px;
}

.ms-cep-form input {
  flex: 0 1 220px;
  padding: 14px 18px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  font-size: 18px;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--grafite-esc);
  background: var(--branco);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ms-cep-form input:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(104,160,74,0.12);
}

.ms-cep-form input::placeholder {
  color: rgba(0,0,0,0.22);
  font-weight: 400;
  letter-spacing: 0;
}

.ms-cep-status {
  font-size: 13px;
  color: #c62828;
  min-height: 18px;
}

/* ── Result ─────────────────────────────────────────────────── */
.ms-wiz-result {
  animation: msStepIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  padding-top: 4px;
}

.ms-result-check {
  width: 64px;
  height: 64px;
  color: var(--verde);
  margin-bottom: 20px;
}

.ms-result-title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--grafite-esc);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.ms-result-sub {
  font-size: 16px;
  color: var(--grafite-cla);
  margin-bottom: 28px;
}

.ms-result-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.ms-result-tag {
  display: inline-block;
  background: rgba(104,160,74,0.1);
  color: var(--verde-forte);
  border: 1px solid rgba(104,160,74,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}

.ms-result-rep-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--branco);
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}

.ms-rep-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.ms-rep-info { flex: 1; min-width: 0; }

.ms-rep-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--grafite-esc);
  margin-bottom: 2px;
}

.ms-rep-role {
  font-size: 13px;
  color: var(--grafite-cla);
  margin-bottom: 12px;
}

.ms-rep-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grafite-esc);
  margin-bottom: 10px;
}

.ms-rep-location svg {
  width: 14px;
  height: 14px;
  color: var(--verde);
  flex-shrink: 0;
}

.ms-rep-contacts { display: flex; flex-direction: column; gap: 4px; }

.ms-rep-contacts a {
  font-size: 13px;
  color: var(--verde);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ms-rep-contacts a:hover { color: var(--verde-forte); }

.ms-result-wpp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--verde);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 18px 28px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ms-result-wpp:hover {
  background: var(--verde-forte);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.ms-result-restart {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--grafite-cla);
  cursor: pointer;
  font-family: inherit;
  padding: 10px;
  text-align: center;
  transition: color 0.2s ease;
}

.ms-result-restart:hover { color: var(--grafite-esc); }

/* ── Step 5: Product selection ──────────────────────────────── */
.ms-prod-all-btn {
  margin-bottom: 20px;
  width: 100%;
}

.ms-step-optional {
  display: inline-block;
  background: rgba(0,0,0,0.06);
  color: var(--grafite-cla);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
}

.ms-prod-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--branco);
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ms-prod-search-wrap:focus-within {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(104,160,74,0.12);
}

.ms-prod-search-ico {
  width: 18px;
  height: 18px;
  color: var(--grafite-cla);
  flex-shrink: 0;
  margin-left: 14px;
}

.ms-prod-search-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 13px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--grafite-esc);
  outline: none;
}

.ms-prod-search-wrap input::placeholder { color: rgba(0,0,0,0.3); }

.ms-prod-search-clear {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  color: var(--grafite-cla);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.ms-prod-search-clear:hover { color: var(--grafite-esc); }
.ms-prod-search-clear svg   { width: 14px; height: 14px; }

.ms-prod-count {
  font-size: 12px;
  color: var(--grafite-cla);
  margin-bottom: 14px;
  min-height: 18px;
}

/* Product grid */
.ms-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 24px;
  scroll-behavior: smooth;
}

/* Custom scrollbar */
.ms-prod-grid::-webkit-scrollbar { width: 4px; }
.ms-prod-grid::-webkit-scrollbar-track { background: transparent; }
.ms-prod-grid::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }

.ms-prod-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--branco);
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  position: relative;
  transition:
    border-color 0.22s ease,
    background   0.22s ease,
    box-shadow   0.22s ease;
}

.ms-prod-card:hover {
  border-color: rgba(104,160,74,0.4);
  background: rgba(104,160,74,0.02);
}

.ms-prod-card.selected {
  border-color: var(--verde);
  background: rgba(104,160,74,0.06);
  box-shadow: 0 2px 12px rgba(104,160,74,0.15);
}

.ms-prod-card-thumb {
  width: 56px;
  height: 56px;
  border-radius: calc(var(--radius) - 1px);
  object-fit: cover;
  background: var(--off-white);
  flex-shrink: 0;
}

.ms-prod-card-thumb-fallback {
  width: 56px;
  height: 56px;
  border-radius: calc(var(--radius) - 1px);
  background: var(--off-white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grafite-cla);
  opacity: 0.4;
}

.ms-prod-card-thumb-fallback svg { width: 22px; height: 22px; }

.ms-prod-card-info { flex: 1; min-width: 0; }

.ms-prod-card-brand {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde);
  margin-bottom: 3px;
}

.ms-prod-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--grafite-esc);
  line-height: 1.35;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ms-prod-card-cap {
  font-size: 11px;
  color: var(--grafite-cla);
}

.ms-prod-card-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-prod-card-check svg { width: 9px; height: 9px; color: white; }

.ms-prod-card.selected .ms-prod-card-check {
  opacity: 1;
  transform: scale(1);
}

.ms-prod-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--grafite-cla);
  font-size: 14px;
}

/* Step 5 advance button */
.ms-prod-footer { margin-top: 4px; }

.ms-prod-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grafite-esc);
  color: var(--branco);
  border: none;
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ms-prod-next-btn:hover {
  background: var(--verde);
  transform: translateY(-2px);
}

/* ── Brand step ─────────────────────────────────────────────── */
.ms-wiz-opts--brand { grid-template-columns: repeat(2, 1fr); }

.ms-wiz-brand-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}

.ms-wiz-brand-logo {
  height: 30px;
  max-width: 70%;
  object-fit: contain;
  object-position: left center;
}

.ms-wiz-brand-flag {
  height: 18px;
  width: auto;
  flex-shrink: 0;
  margin-right: 22px; /* clear of the check badge */
  border-radius: 2px;
  overflow: hidden;
}


/* ── Brands bar ─────────────────────────────────────────────── */
.ms-brands-bar {
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 20px 0;
  background: var(--branco);
  position: relative;
  z-index: 1;
}

.ms-brands-bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ms-brands-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grafite-cla);
  white-space: nowrap;
}

.ms-brands-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.ms-brands-items span {
  font-size: 12px;
  font-weight: 700;
  color: var(--grafite-esc);
  opacity: 0.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Skip option ("Não sei informar") */
.ms-wiz-opt--skip,
.ms-wiz-opts--big .ms-wiz-opt--skip {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 14px 20px;
  border-style: dashed;
  border-color: rgba(0,0,0,0.14);
  background: rgba(0,0,0,0.01);
  gap: 14px;
  opacity: 0.72;
}

.ms-wiz-opt--skip .ms-wiz-opt-ico,
.ms-wiz-opts--big .ms-wiz-opt--skip .ms-wiz-opt-ico {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.ms-wiz-opts--big .ms-wiz-opt--skip .ms-wiz-opt-ico svg { width: 20px; height: 20px; }
.ms-wiz-opts--big .ms-wiz-opt--skip .ms-wiz-opt-name   { font-size: 14px; }
.ms-wiz-opts--big .ms-wiz-opt--skip .ms-wiz-opt-desc   { font-size: 12px; }

.ms-wiz-opt--skip:hover,
.ms-wiz-opts--big .ms-wiz-opt--skip:hover {
  opacity: 1;
  border-color: rgba(0,0,0,0.22);
  background: rgba(0,0,0,0.02);
}

/* Brand logo text fallback (SI Line) */
.ms-wiz-brand-logo-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--grafite-esc);
  line-height: 1;
  height: 30px;
  display: flex;
  align-items: center;
}

/* Result recommendation block */
.ms-result-recs {
  background: var(--off-white, #F5F5F3);
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}

.ms-result-recs-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 18px;
}

.ms-result-recs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ms-result-rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ms-result-rec-item--full { grid-column: 1 / -1; }

.ms-result-rec-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grafite-cla);
}

.ms-result-rec-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--grafite-esc);
  line-height: 1.4;
}

.ms-result-rec-complexity--baixa { color: var(--verde); }
.ms-result-rec-complexity--media { color: #d08000; }
.ms-result-rec-complexity--alta  { color: #c62828; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ms-hero-inner     { grid-template-columns: 1fr; gap: 56px; }
  .ms-hero-movements { grid-template-columns: repeat(4, 1fr); }
  .ms-wiz-opts--flow { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .ms-hero           { padding: 100px 0 64px; min-height: auto; }
  .ms-hero-movements { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .ms-hero-mov-card  { padding: 12px 8px 10px; }
  .ms-hero-mov-card svg { width: 28px; height: 28px; }
  .ms-wiz-wrap       { padding: 0 20px; }
  .ms-wiz-opts--flow { grid-template-columns: repeat(2, 1fr); }
  .ms-wiz-opts--3col { grid-template-columns: repeat(2, 1fr); }
  .ms-wiz-opts--big  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .ms-hero-movements { grid-template-columns: repeat(3, 1fr); }
  .ms-wiz-opts--flow { grid-template-columns: 1fr 1fr; }
  .ms-wiz-opts--3col { grid-template-columns: 1fr 1fr; }
  .ms-wiz-opts--big  { grid-template-columns: 1fr; }
  .ms-wiz-q          { font-size: 22px; }
  .ms-result-rep-card { flex-direction: column; }
  .ms-cep-form input { flex: 1 1 100%; }
  .ms-result-recs-grid { grid-template-columns: 1fr; }
}

/* ── Step 0: Profile selection ──────────────────────────────── */
.ms-wiz-opts--profile {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.ms-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 32px 20px 28px;
  background: var(--branco);
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.25s ease,
    box-shadow   0.25s ease,
    transform    0.25s ease;
}

.ms-profile-card:hover {
  border-color: rgba(104,160,74,0.45);
  box-shadow: 0 8px 32px rgba(104,160,74,0.12);
  transform: translateY(-3px);
}

.ms-profile-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(104,160,74,0.09);
  border-radius: 50%;
  color: var(--verde);
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.ms-profile-card:hover .ms-profile-icon { background: rgba(104,160,74,0.15); }

.ms-profile-icon svg { width: 36px; height: 36px; }

.ms-profile-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--grafite-esc);
  letter-spacing: -0.01em;
}

.ms-profile-desc {
  font-size: 13px;
  color: var(--grafite-cla);
  line-height: 1.5;
}

.ms-profile-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(104,160,74,0.09);
  border-radius: 100px;
  padding: 4px 10px;
}

.ms-trail-pill--perfil {
  background: rgba(104,160,74,0.15);
  color: var(--verde-forte);
  font-weight: 800;
}

/* ── Client result ──────────────────────────────────────────── */
.ms-cliente-result {
  animation: msStepIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  padding-top: 4px;
}

.ms-cliente-prods-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--grafite-cla);
  margin-bottom: 16px;
  margin-top: 4px;
}

.ms-cliente-prods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.ms-cliente-prod-card {
  background: var(--branco);
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ms-cliente-prod-card:hover {
  border-color: rgba(104,160,74,0.35);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.ms-cliente-prod-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.ms-cliente-prod-thumb-fallback {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--off-white, #F5F5F3);
}

.ms-cliente-prod-info { padding: 12px; }

.ms-cliente-prod-brand {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde);
  margin-bottom: 4px;
}

.ms-cliente-prod-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--grafite-esc);
  line-height: 1.35;
}

.ms-cliente-prod-cat {
  font-size: 11px;
  color: var(--grafite-cla);
  margin-top: 3px;
}

.ms-cliente-prods-empty {
  font-size: 14px;
  color: var(--grafite-cla);
  margin-bottom: 32px;
}

/* ── Responsive additions ──────────────────────────────────── */
@media (max-width: 768px) {
  .ms-wiz-opts--profile { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ms-profile-card      { padding: 24px 12px 20px; }
  .ms-profile-icon      { width: 52px; height: 52px; }
  .ms-profile-icon svg  { width: 28px; height: 28px; }
  .ms-cliente-prods-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .ms-wiz-opts--profile { grid-template-columns: 1fr; }
  .ms-cliente-prods-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 360px) {
  .ms-cliente-prods-grid { grid-template-columns: 1fr; }
}

/* ── Step 7: Product review ─────────────────────────────────── */
.ms-review-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 28px;
}

.ms-review-card {
  display: flex;
  background: var(--branco);
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ms-review-card:hover {
  border-color: rgba(104,160,74,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ms-review-card-img {
  width: 220px;
  min-height: 200px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: var(--off-white, #F5F5F3);
}

.ms-review-card-img--empty {
  width: 220px;
  min-height: 200px;
  background: var(--off-white, #F5F5F3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ms-review-card-img--empty svg {
  width: 48px;
  height: 48px;
  color: rgba(0,0,0,0.15);
}

.ms-review-card-body {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ms-review-card-brand {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde);
}

.ms-review-card-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--grafite-esc);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.ms-review-card-cap {
  font-size: 12px;
  color: var(--grafite-cla);
  margin-bottom: 4px;
}

.ms-review-card-desc {
  font-size: 13px;
  color: var(--grafite-cla);
  line-height: 1.65;
  margin: 4px 0 8px;
}

.ms-review-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin: 4px 0 8px;
}

.ms-review-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ms-review-spec-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grafite-cla);
}

.ms-review-spec-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--grafite-esc);
}

.ms-review-card-chars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 8px;
  padding: 0;
}

.ms-review-card-chars li {
  font-size: 12px;
  color: var(--grafite-cla);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.ms-review-card-chars li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--verde);
  opacity: 0.6;
}

.ms-review-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--verde);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.2s ease;
  align-self: flex-start;
}

.ms-review-card-link:hover { color: var(--verde-forte); }

.ms-review-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--grafite-cla);
  font-size: 15px;
  line-height: 1.7;
  background: var(--branco);
  border: 1.5px dashed rgba(0,0,0,0.1);
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.ms-review-footer { margin-top: 4px; }

.ms-review-rep-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--verde);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 18px 28px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ms-review-rep-btn:hover {
  background: var(--verde-forte);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(104,160,74,0.3);
}

@media (max-width: 640px) {
  .ms-review-card { flex-direction: column; }
  .ms-review-card-img,
  .ms-review-card-img--empty {
    width: 100%;
    min-height: 200px;
  }
  .ms-review-card-body { padding: 18px; }
  .ms-review-card-name { font-size: 17px; }
  .ms-review-card-specs { grid-template-columns: 1fr; }
}
