/* =====================================================
 *  Supra IBR — Diagnóstico de Maturidade da Equipe
 *  Design: clean, premium, few colors, strong typography
 * ===================================================== */

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tokens */
:root {
  --c-brand: #0A2540;
  --c-accent: #0066FF;
  --c-accent-hover: #0052CC;
  --c-green: #10B981;
  --c-green-dark: #059669;
  --c-red: #EF4444;
  --c-amber: #F59E0B;
  --c-text: #1A1A1A;
  --c-text-secondary: #6B7280;
  --c-bg: #FFFFFF;
  --c-bg-subtle: #F8FAFC;
  --c-bg-muted: #F1F5F9;
  --c-border: #E2E8F0;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
}

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ── */
.header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-brand);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--c-accent); }

.header-meta {
  font-size: 0.8rem;
  color: var(--c-text-secondary);
  display: none;
  margin-right: auto;
}

@media (min-width: 768px) {
  .header-meta { display: block; }
}

.header-content .btn { margin-left: auto; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 700;
  color: var(--c-brand);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--c-text-secondary);
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.938rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-primary:hover:not(:disabled) {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text-secondary);
  border-color: var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-text-secondary); color: var(--c-text); }

.btn-secondary {
  background: var(--c-bg);
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-secondary:hover { border-color: var(--c-text-secondary); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1ebe5c; border-color: #1ebe5c; }

.btn-small { padding: 8px 14px; font-size: 0.8rem; }
.btn-large { padding: 14px 28px; font-size: 1rem; }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-dark { background: var(--c-bg-subtle); }

/* ── HERO ── */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}
.hero h1 {
  max-width: 800px;
  margin: 0 auto 20px;
  text-wrap: balance;
}
.subheadline {
  font-size: 1.15rem;
  color: var(--c-text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-bullets {
  list-style: none;
  max-width: 520px;
  margin: 0 auto 40px;
  text-align: left;
}
.hero-bullets li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--c-text);
  font-size: 1rem;
}
.hero-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 20px;
  height: 20px;
  background: var(--c-green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.microcredencial {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
  padding: 20px 24px;
  background: var(--c-bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}

/* ── CARDS GRID (Como funciona) ── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--c-bg);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow); }
.card-number {
  width: 44px;
  height: 44px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--c-text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* ── BENEFITS ── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 32px;
}
@media (min-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--c-bg);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}
.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-item span { font-size: 0.95rem; color: var(--c-text); font-weight: 500; }
.ponte {
  text-align: center;
  font-style: italic;
  color: var(--c-text-secondary);
  font-size: 1.05rem;
}

/* ── WIZARD CONTAINER ── */
#wizard-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--c-bg);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
}
@media (max-width: 600px) {
  #wizard-container { padding: 28px 20px; }
}

/* ── STEP INDICATOR ── */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
}
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-bg-muted);
  border: 2px solid var(--c-border);
  transition: all 0.2s;
  position: relative;
}
.step.active .step-dot {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.step.active .step-dot::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: #fff;
  border-radius: 50%;
}
.step.completed .step-dot {
  background: var(--c-green);
  border-color: var(--c-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.step-line {
  flex: 1;
  height: 2px;
  background: var(--c-border);
  margin: 0 4px;
  margin-bottom: 22px;
}
.step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.step.active .step-label { color: var(--c-accent); }
.step.completed .step-label { color: var(--c-green); }

/* ── PROGRESS BAR ── */
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--c-bg-muted);
  border-radius: 99px;
  margin-bottom: 36px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--c-accent);
  border-radius: 99px;
  transition: width 0.3s ease;
  width: 25%;
}

/* ── WIZARD STEPS ── */
.wizard-step { display: none; }
.wizard-step.active {
  display: block;
  animation: fadeUp 0.3s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step-header { margin-bottom: 8px; }
.wizard-step-header h2 { font-size: 1.5rem; }
.step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-accent);
  background: rgba(0,102,255,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.step-intro {
  color: var(--c-text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--c-text);
}
.required { color: var(--c-red); }
.optional { color: var(--c-text-secondary); font-weight: 400; font-size: 0.8rem; }

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font);
  border: 2px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}
.form-group input::placeholder { color: #B0B8C4; }

/* ── CURRENCY INPUT ── */
.input-currency {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.input-currency:focus-within {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}
.currency-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--c-bg-muted);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-text-secondary);
  border-right: 2px solid var(--c-border);
  white-space: nowrap;
  user-select: none;
}
.input-currency input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
}
.input-currency input:focus {
  box-shadow: none !important;
  outline: none;
}

/* ── CUSTOM SELECT DROPDOWN ── */
.custom-select {
  position: relative;
}
.custom-select-trigger {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font);
  border: 2px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg);
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: border-color 0.15s;
  text-align: left;
}
.custom-select-trigger:hover { border-color: var(--c-text-secondary); }
.custom-select-trigger:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}
.custom-select-value { color: #B0B8C4; }
.custom-select-value.has-value { color: var(--c-text); }
.custom-select-trigger svg {
  flex-shrink: 0;
  color: var(--c-text-secondary);
  transition: transform 0.2s;
}
.custom-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--c-bg);
  border: 2px solid var(--c-border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  max-height: 280px;
  overflow: hidden;
}
.custom-select-dropdown.open {
  display: flex;
  flex-direction: column;
}
.custom-select-search {
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: var(--font);
  border: none;
  border-bottom: 1px solid var(--c-border);
  outline: none;
  color: var(--c-text);
  background: var(--c-bg);
}
.custom-select-search::placeholder { color: #B0B8C4; }
.custom-select-options {
  overflow-y: auto;
  max-height: 220px;
  padding: 4px;
}
.custom-select-option {
  padding: 10px 14px;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.1s;
  color: var(--c-text);
}
.custom-select-option:hover {
  background: var(--c-bg-muted);
}
.custom-select-empty {
  padding: 16px;
  font-size: 0.85rem;
  color: var(--c-text-secondary);
  text-align: center;
}

.transparencia-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--c-bg-subtle);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--c-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  border: 1px solid var(--c-border);
}
.transparencia-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-green);
}

/* ── VALIDATION ERROR ── */
.validation-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: var(--c-red);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
}

/* ── STICKY HELPER ── */
.sticky-helper {
  position: sticky;
  top: 72px;
  z-index: 10;
  margin-bottom: 28px;
}
.helper-content {
  background: var(--c-brand);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
}
.helper-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.helper-text {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 10px;
}
.helper-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.scale-item {
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── QUESTIONS ── */
.question-category-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-accent);
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 16px;
}
.question-card {
  background: var(--c-bg-subtle);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.question-card.answered { border-color: var(--c-green); }

.question-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
  line-height: 1.5;
}
.question-example-toggle {
  background: none;
  border: none;
  font-family: var(--font);
  color: var(--c-accent);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.question-example {
  display: none;
  margin-top: 10px;
  padding: 12px 16px;
  background: var(--c-bg);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
  border-left: 3px solid var(--c-accent);
}
.question-example.visible { display: block; }

.likert-scale {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.likert-option { flex: 1; position: relative; }
.likert-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.likert-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 4px;
  background: var(--c-bg);
  border: 2px solid var(--c-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.likert-option label:hover { border-color: var(--c-accent); }
.likert-option input:checked + label {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}
.likert-number { font-size: 1.35rem; font-weight: 700; line-height: 1; }
.likert-label { font-size: 0.65rem; line-height: 1.2; font-weight: 500; }
@media (max-width: 600px) {
  .likert-label { display: none; }
  .likert-option label { padding: 10px 2px; }
}

/* ── WIZARD ACTIONS ── */
.wizard-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}

/* ── RESULT ── */
.result-card {
  text-align: center;
  padding: 32px 24px;
}
.result-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-text-secondary);
  margin-bottom: 24px;
}

/* Score ring */
.result-score-ring {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 6px solid var(--c-bg-muted);
  border-top-color: var(--ring-color, var(--c-accent));
  border-right-color: var(--ring-color, var(--c-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.result-score-inner { text-align: center; }
.result-score-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-brand);
}
.result-score-max {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-text-secondary);
}

.result-nivel {
  display: inline-block;
  color: #fff;
  padding: 10px 24px;
  border-radius: 99px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.result-devolutiva {
  text-align: left;
  background: var(--c-bg-subtle);
  padding: 24px 28px;
  border-radius: var(--radius);
  line-height: 1.7;
  font-size: 1.05rem;
  border: 1px solid var(--c-border);
  margin-bottom: 28px;
}
.result-checklist { text-align: left; margin-bottom: 24px; }
.result-checklist h3 { margin-bottom: 16px; }
.result-checklist ul { list-style: none; }
.result-checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  line-height: 1.6;
  font-size: 0.95rem;
}
.result-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--c-accent);
  border-radius: 4px;
}
.result-branding {
  font-size: 0.75rem;
  color: var(--c-text-secondary);
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  margin-top: 8px;
}

/* ── RESULT ACTIONS ── */
.result-actions { margin: 32px 0; }
.result-actions-primary {
  padding: 28px;
  background: var(--c-brand);
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 16px;
}
.result-actions-primary h3 { color: #fff; margin-bottom: 8px; }
.result-actions-primary p { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 0.95rem; }
/* Light CTA box (for shared result "Fazer meu diagnostico") */
.result-actions-cta-light {
  padding: 28px;
  background: var(--c-bg-muted);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 16px;
}
.result-actions-cta-light h3 {
  color: var(--c-text);
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.result-actions-cta-light p {
  color: var(--c-text-secondary);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.result-actions-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}
@media (min-width: 600px) {
  .result-actions-secondary { grid-template-columns: repeat(2, 1fr); }
}
.result-actions-secondary .btn { width: 100%; font-size: 0.85rem; }

/* WhatsApp share button with icon */
.btn-share-wpp-styled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-share-wpp-styled svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* Share link */
.result-share {
  text-align: center;
  padding: 24px;
  background: var(--c-bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}
.result-share h4 { margin-bottom: 4px; font-size: 0.95rem; }
.result-share-desc { font-size: 0.8rem; color: var(--c-text-secondary); margin-bottom: 12px; }
.share-link-container {
  display: flex;
  gap: 8px;
}
.share-link-container input {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid var(--c-border);
  border-radius: 10px;
  font-size: 0.8rem;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
}

/* ── PROVA SOCIAL ── */
.prova-grid {
  max-width: 680px;
  margin: 0 auto;
}
.prova-card {
  text-align: center;
  padding: 32px 20px;
}
.prova-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.prova-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text-secondary);
}

/* ── FAQ ── */
.faq {
  max-width: 640px;
  margin: 0 auto;
}
.faq-item {
  background: var(--c-bg);
  border-radius: var(--radius);
  margin-bottom: 10px;
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: var(--c-brand);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-text-secondary);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '-';
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 24px 18px;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* ── FOOTER ── */
.footer {
  background: var(--c-brand);
  color: rgba(255,255,255,0.6);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ── LOADING SPINNER ── */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PRINT ── */
@media print {
  body * { visibility: hidden; }
  #printable-result, #printable-result * { visibility: visible; }
  #printable-result {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 40px;
  }
  .result-actions,
  .result-share,
  .wizard-actions,
  .header,
  .footer,
  .step-indicator,
  .progress-bar { display: none !important; }
}
