.psc-wrapper, .psc-wrapper * { box-sizing: border-box; }

.psc-wrapper {
  font-family: 'Inter', sans-serif;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- FORM CARD ---------- */
.psc-card {
  background: linear-gradient(180deg, #0077FF 0%, #004799 98.97%);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 600px) {
  .psc-card { padding: 24px; border-radius: 12px; }
}

.psc-section { display: flex; flex-direction: column; gap: 16px; }

.psc-section-label {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}

.psc-row { display: flex; gap: 16px; flex-wrap: wrap; }
.psc-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.psc-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 4px; }
@media (max-width: 700px) {
  .psc-row-3, .psc-row-2 { grid-template-columns: 1fr; }
}

.psc-field { display: flex; flex-direction: column; gap: 8px; }
.psc-field-label { color: #FFFFFF; font-weight: 500; font-size: 15px; }

.psc-wrapper input[type=text],
.psc-wrapper input[type=email],
.psc-wrapper input[type=number],
.psc-wrapper select {
  width: 100%;
  background: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  height: 56px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1C1C1C;
}
.psc-wrapper input::placeholder { color: #5D5D5D; }

.psc-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  color: #5D5D5D;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235D5D5D' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.psc-input-prefix {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 0 16px;
  height: 56px;
}
.psc-input-prefix span { color: #5D5D5D; font-size: 15px; margin-right: 6px; }
.psc-input-prefix input { background: transparent !important; height: auto !important; padding: 0 !important; }

/* ---------- PILLS ---------- */
.psc-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.psc-pill { position: relative; flex: 1 1 200px; }
.psc-pill input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.psc-pill span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #FFFFFF; border-radius: 8px; padding: 12px 18px; min-height: 56px;
  font-size: 14px; color: #5D5D5D; border: 2px solid transparent;
  cursor: pointer; transition: all .15s ease;
}
.psc-pill input:checked + span {
  border-color: #43A047; color: #1C1C1C; font-weight: 600;
}
.psc-pill input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
}

/* ---------- CONSENT + SUBMIT ---------- */
.psc-consent {
  display: flex; align-items: flex-start; gap: 10px; color: #FFFFFF; font-size: 13px; line-height: 1.4;
}
.psc-consent input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }

.psc-submit-btn {
  background: #43A047;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  padding: 18px;
  cursor: pointer;
  transition: background .15s ease;
}
.psc-submit-btn:hover { background: #398C3D; }
.psc-submit-btn:disabled { opacity: .7; cursor: default; }

/* ---------- RESULT CARD ---------- */
.psc-result-card {
  display: none;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  margin-top: 24px;
  box-shadow: 0 10px 40px rgba(0, 50, 120, 0.12);
}
.psc-result-card.psc-show { display: block; }
@media (max-width: 600px) { .psc-result-card { padding: 24px; } }

.psc-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.psc-badge.psc-zone-verde    { background: rgba(111,169,124,0.15); color: #3F7A4E; }
.psc-badge.psc-zone-amber    { background: rgba(224,168,62,0.15); color: #8A6212; }
.psc-badge.psc-zone-vermelho { background: rgba(209,86,63,0.15); color: #A83B27; }

.psc-result-title { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: #1C1C1C; }
.psc-result-title.psc-zone-verde    { color: #3F7A4E; }
.psc-result-title.psc-zone-amber    { color: #8A6212; }
.psc-result-title.psc-zone-vermelho { color: #A83B27; }

.psc-result-text { color: #5D5D5D; font-size: 15px; margin: 0 0 28px; }

.psc-gauge { position: relative; height: 14px; margin-bottom: 32px; }
.psc-gauge-track { display: flex; width: 100%; height: 14px; border-radius: 999px; overflow: hidden; background: #EEE; }
.psc-gauge-seg { height: 100%; }
.psc-gauge-seg.psc-zone-verde    { background: #6FA97C; }
.psc-gauge-seg.psc-zone-amber    { background: #E0A83E; }
.psc-gauge-seg.psc-zone-vermelho { background: #D1563F; }
.psc-gauge-marker {
  position: absolute; top: -5px; left: 0; width: 24px; height: 24px;
  background: #FFFFFF; border: 4px solid #1C1C1C; border-radius: 50%;
  transform: translateX(-50%);
  transition: left .8s cubic-bezier(.2,.9,.25,1);
}

.psc-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
@media (max-width: 600px) { .psc-stats-grid { grid-template-columns: 1fr; } }
.psc-stat { border-top: 1px solid #E5E5E5; padding-top: 10px; }
.psc-stat-label { display: block; font-size: 12px; color: #8A8F94; text-transform: uppercase; letter-spacing: .04em; }
.psc-stat-value { display: block; font-size: 20px; font-weight: 700; color: #1C1C1C; margin-top: 4px; }

.psc-cta-whatsapp {
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #FFFFFF; text-decoration: none;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px;
  border-radius: 8px; padding: 16px; margin-bottom: 16px;
  transition: background .15s ease;
}
.psc-cta-whatsapp:hover { background: #1EBE5A; color: #FFFFFF; }

.psc-disclaimer { font-size: 12px; color: #9AA0A6; margin: 0; }
