/* ==========================================================================
   MATRICULA.CSS – Página de Matrícula EMPODERE-SE
   Complementa style.css com os componentes exclusivos da página de matrícula
   ========================================================================== */

/* ---------------------------------- */
/* HERO DA PÁGINA                     */
/* ---------------------------------- */
.matricula-hero {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--line-color);
}

.matricula-hero .section-num {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matricula-hero h1 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.matricula-hero h1 span {
  color: var(--accent-color);
}

.matricula-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 0;
}

/* ---------------------------------- */
/* TABELA DE VALORES DA INSCRIÇÃO     */
/* ---------------------------------- */
.matricula-precos-tabela-wrapper {
  margin-top: 2.5rem;
  background: var(--bg-paper);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  max-width: 900px;
}

.matricula-precos-tabela {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matricula-precos-tabela th, 
.matricula-precos-tabela td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.matricula-precos-tabela th {
  padding: 0.8rem 1.5rem;
  font-family: var(--font-title);
}

.matricula-precos-tabela .col-vazio {
  width: 30%;
  border-right: 1px solid var(--line-soft);
  background: transparent;
}

/* Header Individual (Terracota) */
.matricula-precos-tabela .col-individual-title {
  background-color: var(--accent-color);
  color: var(--white);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

/* Header Família (Navy) */
.matricula-precos-tabela .col-familia-title {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.header-title-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.header-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.discount-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.18);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  margin-left: 0.3rem;
  font-weight: 500;
}

/* Sub-header row */
.matricula-precos-tabela .header-subs th {
  background-color: var(--white);
  color: var(--text-color);
  font-size: 0.88rem;
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid var(--line-color);
}

.matricula-precos-tabela .header-subs th:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

/* Row Labels */
.matricula-precos-tabela .row-label {
  font-weight: 700;
  font-size: 0.95rem;
  border-right: 1px solid var(--line-soft);
}

.matricula-precos-tabela .row-label.text-blue {
  color: var(--secondary-color);
}

.matricula-precos-tabela .row-label.text-purple {
  color: #635baf;
}

/* Price Cells */
.matricula-precos-tabela .price-cell {
  text-align: center;
  font-size: 1.15rem;
  color: var(--primary-color);
}

.matricula-precos-tabela .price-cell:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.matricula-precos-tabela .price-value {
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--primary-color);
  font-size: 1.25rem;
}

.matricula-precos-tabela .price-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 0.3rem;
  font-weight: 400;
}

/* Table Footer Nota */
.tabela-nota {
  padding: 0.8rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-paper);
  border-top: 1px solid var(--line-soft);
}

/* Responsividade da Tabela */
@media (max-width: 768px) {
  .matricula-precos-tabela-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .matricula-precos-tabela {
    min-width: 600px;
  }
}


/* ---------------------------------- */
/* MAIN LAYOUT                        */
/* ---------------------------------- */
.matricula-main {
  padding: 3rem 0 6rem;
}

/* ---------------------------------- */
/* PROGRESS STEPS                     */
/* ---------------------------------- */
.progress-steps {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--line-color);
  background: var(--bg-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.step.active .step-num {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.step.active .step-label {
  color: var(--primary-color);
  font-weight: 700;
}

.step.completed .step-num {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

.step.completed .step-num::after {
  content: '✓';
}

.step.completed .step-num span {
  display: none;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--line-color);
  margin: 0 0.5rem;
  min-width: 20px;
}

/* ---------------------------------- */
/* FORM STEPS                         */
/* ---------------------------------- */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInStep 0.35s ease;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------- */
/* FORM SECTION CARD                  */
/* ---------------------------------- */
.form-section {
  background: var(--bg-paper);
  padding: 3rem;
  margin-bottom: 2rem;
}

.form-section-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.form-section-header .section-num {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--accent-color);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-section-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.form-section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------------------------------- */
/* FORM FIELDS                        */
/* ---------------------------------- */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.form-group label.label-group {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.label-hint {
  color: var(--text-muted);
  font-size: 0.83rem;
  margin-bottom: 1rem;
}

.req {
  color: var(--accent-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group select {
  border: 1px solid var(--line-color);
  background: var(--white);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-color);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(78, 117, 150, 0.12);
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: var(--accent-color);
}

.field-error {
  display: block;
  color: var(--accent-color);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  min-height: 1rem;
}

/* ---------------------------------- */
/* RADIO CARDS (ACI)                  */
/* ---------------------------------- */
.form-group-aci {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 2px solid var(--line-color);
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  flex: 1;
  min-width: 160px;
}

.radio-card:hover {
  border-color: var(--secondary-color);
}

.radio-card input[type="radio"] {
  display: none;
}

.radio-card input[type="radio"]:checked~.radio-check {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.radio-card input[type="radio"]:checked~.radio-check::after {
  opacity: 1;
}

.radio-card:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(27, 45, 66, 0.04);
}

.radio-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-color);
  background: var(--white);
  position: relative;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.radio-check::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.radio-label strong {
  display: block;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.radio-label small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------------------------------- */
/* PARTICIPANTES                      */
/* ---------------------------------- */
.participante-card {
  border: 1px solid var(--line-color);
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  position: relative;
}

.participante-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.participante-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-remove-participant {
  background: none;
  border: 1px solid var(--line-color);
  color: var(--text-muted);
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-remove-participant:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.participante-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.participante-grid .form-group {
  display: flex;
  flex-direction: column;
}

.idade-display {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  height: 46px;
  /* mesma altura dos inputs */
  border: 1px solid var(--line-soft);
  border-radius: var(--border-radius);
  background: var(--bg-color);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--secondary-color);
  font-weight: 600;
  box-sizing: border-box;
}

.btn-add-participant {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px dashed var(--line-color);
  background: transparent;
  color: var(--secondary-color);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.btn-add-participant:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(200, 90, 50, 0.04);
}

.add-icon {
  font-size: 1.3rem;
  line-height: 1;
}

/* ---------------------------------- */
/* TABELA DE PREÇOS                   */
/* ---------------------------------- */
.price-table-wrap {
  margin-bottom: 1.5rem;
}

.price-table-wrap .tech-label {
  display: block;
  margin-bottom: 0.8rem;
}

.price-table {
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  font-size: 0.9rem;
}

.price-table-header,
.price-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 0.8rem 1.2rem;
}

.price-table-header {
  background: var(--primary-color);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-table-row {
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}

.price-table-row:last-child {
  border-bottom: none;
}

.price-table-row:nth-child(even) {
  background: var(--bg-color);
}

.price-table-row small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.price-aci {
  color: var(--accent-color);
  font-weight: 700;
}

@media (max-width: 650px) {
  .price-table {
    border: none;
    background: transparent;
  }
  .price-table-header {
    display: none;
  }
  .price-table-row {
    display: block;
    border: 1px solid var(--line-color);
    background: var(--white) !important;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    padding: 1.5rem;
    position: relative;
  }
  .price-table-row > span:first-child {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 1px dashed var(--line-soft);
    padding-bottom: 0.5rem;
  }
  .price-table-row > span:first-child small {
    display: inline;
    font-size: 0.85rem;
    font-weight: normal;
  }
  .price-table-row > span:not(:first-child) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1.05rem;
  }
  .price-table-row > span:nth-child(2)::before {
    content: 'Não Associado:';
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: uppercase;
  }
  .price-table-row > span:nth-child(3)::before {
    content: 'Associado ACI:';
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: uppercase;
  }
}

/* ---------------------------------- */
/* PRICE PREVIEW                      */
/* ---------------------------------- */
.price-preview {
  background: var(--primary-color);
  border-radius: var(--border-radius);
  padding: 1.5rem 2rem;
}

.price-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.price-preview-row strong {
  color: var(--white);
  font-family: var(--font-mono);
}

.price-preview-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.price-preview-row.total strong {
  color: var(--accent-color);
  font-size: 1.4rem;
}

/* ---------------------------------- */
/* TURMAS GRID                        */
/* ---------------------------------- */
.turmas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.turma-card {
  border: 2px solid var(--line-color);
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.turma-card:hover:not(.lotada) {
  border-color: var(--secondary-color);
}

.turma-card.selected {
  border-color: var(--primary-color);
  background: rgba(27, 45, 66, 0.04);
}

.turma-card.lotada {
  opacity: 0.55;
  cursor: not-allowed;
}

.turma-card input[type="radio"] {
  display: none;
}

.turma-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.turma-nome {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.turma-periodo {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--secondary-color);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.turma-dias {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.turma-vagas-bar {
  height: 6px;
  background: var(--line-color);
  border-radius: 3px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.turma-vagas-fill {
  height: 100%;
  background: var(--secondary-color);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.turma-vagas-fill.critica {
  background: var(--accent-color);
}

.turma-vagas-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.turma-badge-lotada {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.loading-turmas {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--text-muted);
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-color);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------------------------------- */
/* RESUMO                             */
/* ---------------------------------- */
.resumo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.resumo-block {
  border: 1px solid var(--line-soft);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.resumo-block-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.resumo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}

.resumo-row:last-child {
  border-bottom: none;
}

.resumo-row span {
  color: var(--text-muted);
}

.resumo-row strong {
  color: var(--primary-color);
  text-align: right;
  margin-left: 1.5rem;
}

.resumo-participantes {
  border: 1px solid var(--line-soft);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.resumo-participantes h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.resumo-participante-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}

.resumo-participante-item:last-child {
  border-bottom: none;
}

.resumo-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.resumo-total-valor {
  color: var(--accent-color);
  font-size: 2rem;
  font-family: var(--font-mono);
}

.resumo-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: rgba(78, 117, 150, 0.1);
  border: 1px solid rgba(78, 117, 150, 0.2);
  border-radius: var(--border-radius);
  padding: 1rem 1.2rem;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.resumo-notice span:first-child {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------------------------------- */
/* PAGAMENTO                          */
/* ---------------------------------- */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.payment-card {
  border: 2px solid var(--line-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  background: var(--white);
}

.payment-card:hover {
  border-color: var(--secondary-color);
}

.payment-card:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(27, 45, 66, 0.04);
}

.payment-card input {
  display: none;
}

.payment-card-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
}

.payment-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pix-icon {
  background: rgba(0, 163, 136, 0.12);
  color: #00A388;
}

.card-icon {
  background: rgba(27, 45, 66, 0.1);
  color: var(--primary-color);
}

.boleto-icon {
  background: rgba(200, 90, 50, 0.1);
  color: var(--accent-color);
}

.payment-icon svg {
  width: 22px;
  height: 22px;
}

.payment-card-inner>div strong {
  display: block;
  color: var(--primary-color);
  font-size: 0.97rem;
  margin-bottom: 0.1rem;
}

.payment-card-inner>div small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.payment-badge {
  margin-left: auto;
  background: rgba(0, 163, 136, 0.15);
  color: #00A388;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.payment-total-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--bg-color);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.payment-total-valor {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--primary-color);
}

.mercadopago-notice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.mercadopago-notice svg {
  color: var(--secondary-color);
}

/* ---------------------------------- */
/* STEP NAVIGATION                    */
/* ---------------------------------- */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ---------------------------------- */
/* SUCCESS STATE                      */
/* ---------------------------------- */
.success-state {
  text-align: center;
  padding: 5rem 2rem;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 163, 136, 0.12);
  color: #00A388;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.success-state h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-state p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.success-ref {
  display: inline-flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.success-ref strong {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent-color);
}

/* ---------------------------------- */
/* RESPONSIVE                         */
/* ---------------------------------- */
@media (max-width: 992px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .resumo-grid {
    grid-template-columns: 1fr;
  }

  .turmas-grid {
    grid-template-columns: 1fr;
  }

  .progress-steps {
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .step-label {
    display: none;
  }
}

@media (max-width: 768px) {
  .participante-grid {
    grid-template-columns: 1fr;
  }

  .price-table-header,
  .price-table-row {
    grid-template-columns: 1.4fr 1fr 1fr;
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 576px) {
  .form-section {
    padding: 1.5rem;
  }

  .matricula-hero h1 {
    font-size: 2rem;
  }

  .price-table-header,
  .price-table-row {
    grid-template-columns: 1.2fr 1fr 1fr;
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }

  .resumo-total-box {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .step-nav {
    gap: 1rem;
  }

  .step-nav .btn {
    flex: 1;
    text-align: center;
  }
}