/* Compliance Score — estilos específicos */

.cs-intro { padding: 5rem 0 4rem; }
.cs-intro-wrap { max-width: 780px; margin: 0 auto; text-align: center; }
.cs-intro-wrap .section-label { display: block; margin-bottom: 0.75rem; }
.cs-intro-wrap h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 1.5rem; }
.cs-lead { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1rem; color: var(--text); }
.cs-fine { font-size: 0.95rem; color: var(--muted); margin-bottom: 2rem; }
.cs-start-btn { padding: 1rem 2rem; font-size: 1rem; }

.cs-form-section { padding: 4rem 0; }
.cs-form-wrap { max-width: 760px; margin: 0 auto; }
.cs-form-wrap h2 { margin-bottom: 0.5rem; }
.cs-form-help { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }

.cs-fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: var(--surface);
}
.cs-fieldset legend {
  padding: 0 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.cs-lead-fieldset .cs-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cs-lead-fieldset label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.cs-lead-fieldset input {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fffdf7;
  color: var(--text);
  outline: none;
}
.cs-lead-fieldset input:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.18);
}
.cs-consent-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.cs-dimension {
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
}
.cs-dimension-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.cs-dim-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}
.cs-dim-weight {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.cs-question {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.cs-question:first-of-type { border-top: 0; padding-top: 0.5rem; }
.cs-question-text {
  font-size: 0.96rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.cs-question-text .cs-critical {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c84a3c;
  margin-left: 0.5rem;
  vertical-align: 2px;
}

.cs-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cs-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  background: #fffdf7;
}
.cs-options label:hover { background: rgba(201,162,75,0.1); }
.cs-options input[type="radio"] {
  accent-color: var(--gold-deep);
  margin: 0;
}
.cs-options input[type="radio"]:checked + span {
  font-weight: 600;
}
.cs-options label:has(input:checked) {
  background: var(--text);
  color: var(--button-text);
  border-color: var(--text);
}

.cs-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.cs-form-status {
  margin: 1rem 0 0;
  min-height: 1.2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.cs-form-status.is-error { color: #b14537; }
.cs-form-status.is-success { color: #3f6f3a; }

/* ============ RESULTS ============ */

.cs-results-section { padding: 4rem 0 5rem; }
.cs-results-wrap { max-width: 880px; margin: 0 auto; }
.cs-results-wrap .section-label { display: block; text-align: center; margin-bottom: 1.5rem; }

.cs-global-block {
  text-align: center;
  margin-bottom: 3rem;
}
.cs-global-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.cs-global-label {
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
}
.cs-global-band {
  max-width: 480px;
  margin: 0 auto;
}
.cs-global-bar {
  position: relative;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    #c84a3c 0%, #c84a3c 39%,
    #e3a23a 40%, #e3a23a 59%,
    #d8c93a 60%, #d8c93a 79%,
    #7fb04a 80%, #7fb04a 89%,
    #3f8a3f 90%, #3f8a3f 100%);
  overflow: hidden;
  border: 1px solid var(--line);
}
.cs-global-fill {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 4px;
  background: var(--text);
  border-radius: 2px;
  transition: left 0.6s ease;
  left: 0;
  transform: translateX(-50%);
}
.cs-global-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 0.4rem;
  padding: 0 4px;
}

.cs-radar-block {
  margin: 2rem auto 3rem;
  max-width: 560px;
}
#cs-radar { display: flex; justify-content: center; }
#cs-radar svg { max-width: 100%; height: auto; }
.cs-radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.cs-radar-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.cs-radar-legend i {
  width: 12px; height: 12px;
  border-radius: 3px;
  display: inline-block;
  opacity: 0.85;
}

.cs-dim-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}

.cs-dim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.cs-dim-card {
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.cs-dim-card-name {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.cs-dim-card-score {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.cs-dim-card-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.cs-dim-card-fill { height: 100%; transition: width 0.6s ease; }
.cs-dim-card-pct {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cs-findings {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: cs-finding;
}
.cs-findings li {
  counter-increment: cs-finding;
  padding: 1rem 1.2rem 1rem 3.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  background: var(--surface);
  position: relative;
}
.cs-findings li::before {
  content: counter(cs-finding);
  position: absolute;
  left: 1.2rem;
  top: 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.cs-disclaimer {
  margin-top: 3rem;
  padding: 1.2rem 1.4rem;
  background: rgba(201,162,75,0.1);
  border-left: 3px solid var(--gold);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.cs-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cs-lead-fieldset .cs-grid-2 { grid-template-columns: 1fr; }
  .cs-dimension { padding: 1rem; }
  .cs-radar-block { margin: 1.5rem -0.5rem; }
}
