/* Checkout — paridade React Agendamento Serviços (PrimeiraVia / Renovacao) */

.gp-checkout-body {
  margin: 0;
  min-height: 100vh;
  /* primary #023658 ≈ 203 96% 18% */
  background: linear-gradient(180deg, hsl(203 40% 97%) 0%, hsl(0 0% 98%) 40%, hsl(0 0% 100%) 100%);
  color: hsl(222 84% 5%);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.gp-co {
  min-height: 100vh;
  overflow-x: clip;
  padding: 0 0 3rem;
}

.gp-co__loading {
  text-align: center;
  padding: 4rem 1rem;
  color: hsl(215, 16%, 47%);
}

.gp-co__shell {
  max-width: 56rem; /* max-w-4xl como React */
  margin: 0 auto;
  min-width: 0;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .gp-co__shell { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .gp-co__shell { padding: 0 2rem; }
}

/* Header mínimo estilo React */
.gp-co__react-header {
  background: #fff;
  border-bottom: 1px solid hsl(0 0% 88%);
}
.gp-co__react-header-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .gp-co__react-header-inner { padding: 1rem 1.5rem; }
}
@media (min-width: 1024px) {
  .gp-co__react-header-inner { padding: 1rem 2rem; }
}
.gp-co__react-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(203 96% 18%);
  text-align: center;
  flex: 1;
}
.gp-co__react-spacer { width: 5rem; flex-shrink: 0; }
@media (max-width: 639px) {
  .gp-co__react-spacer { width: 2.5rem; }
  .gp-co__react-title { font-size: 0.95rem; }
}

.gp-co__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(203 96% 18%);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 0.375rem;
}
.gp-co__back svg { width: 1rem; height: 1rem; }
.gp-co__back:hover { background: hsl(203 40% 96%); }

.gp-co__progress-wrap {
  background: #fff;
  border-bottom: 1px solid hsl(0 0% 88%);
  padding: 1rem 0 1.15rem;
}

.gp-co__back svg {
  width: 1rem;
  height: 1rem;
}

/* Page H1 */
.gp-co__title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(203 96% 18%);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .gp-co__title {
    font-size: 1.25rem;
  }
}

/* White card shell */
.gp-co__card {
  overflow-x: clip;
  background: #fff;
  border: 1px solid hsl(215, 20%, 88% / 0.9);
  border-radius: 4px; /* rounded-ref */
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  padding: 1.5rem 1.25rem;
}

@media (min-width: 768px) {
  .gp-co__card {
    padding: 2rem;
  }
}

/* Progress — React style */
.gp-co__progress { width: 100%; }
.gp-co__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: hsl(0 0% 45%);
  margin-bottom: 0.35rem;
}
.gp-co__progress-pct { font-variant-numeric: tabular-nums; }
.gp-co__progress-bar {
  height: 0.5rem;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: hsl(0 0% 90%);
  margin-bottom: 1rem;
}
.gp-co__progress-fill {
  height: 100%;
  border-radius: 999px;
  background: hsl(203 96% 18%);
  transition: width 0.3s ease-out;
}
.gp-co__steps {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}
@media (min-width: 640px) {
  .gp-co__steps { display: flex; }
}
.gp-co__step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 auto;
}
.gp-co__step-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
  font-size: 0.875rem;
  font-weight: 600;
  background: hsl(0 0% 92%);
  color: hsl(0 0% 45%);
  cursor: pointer;
  flex-shrink: 0;
}
.gp-co__step-dot.is-current {
  background: hsl(203 96% 18%);
  color: #fff;
}
.gp-co__step-dot.is-done {
  background: #22c55e;
  color: #fff;
}
.gp-co__step-dot:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.gp-co__step-label {
  font-size: 0.875rem;
  color: hsl(0 0% 45%);
  white-space: nowrap;
}
.gp-co__step-label.is-active { color: hsl(222 84% 5%); }
.gp-co__step-line {
  flex: 1;
  height: 2px;
  background: hsl(0 0% 90%);
  min-width: 0.75rem;
}
.gp-co__step-line.is-on { background: hsl(203 96% 18%); }

.gp-co__card {
  margin-top: 2rem;
  border-radius: 0.75rem !important;
  border: 1px solid hsl(0 0% 88%) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
}
.gp-co__card-head { margin-bottom: 1.25rem; }
.gp-co__card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.gp-co__card-title span {
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(0 0% 45%);
}
.gp-co__card-desc {
  margin: 0.5rem 0 0;
  color: hsl(0 0% 45%);
  font-size: 0.9375rem;
}
.gp-co__tip {
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #eff6ff;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #1d4ed8;
}
.gp-co__decl-note {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: hsl(0 0% 45%);
}
.gp-co__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 1rem;
  background: hsl(203 96% 18% / 0.06);
  border: 1px solid hsl(203 96% 18% / 0.2);
  border-radius: 0.5rem;
  font-size: 1.125rem;
}
.gp-co__total strong {
  font-size: 1.5rem;
  color: hsl(203 96% 18%);
}
.gp-co__btn-pay {
  background: #16a34a !important;
  color: #fff !important;
  border: none !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  padding: 0 1.15rem !important;
  border-radius: 0.5rem !important;
  height: 3rem !important;
  min-height: 3rem !important;
  max-height: 3rem !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}
.gp-co__btn-pay:hover { background: #15803d !important; }
.gp-co__btn-next {
  background: hsl(203 96% 18%) !important;
  color: #fff !important;
}

/* Step body spacing (space-y-10 between major blocks) */
.gp-co__body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.gp-co__section {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.gp-co__section.is-split {
  padding-top: 2.5rem;
  border-top: 1px solid hsl(215, 20%, 88%);
}

.gp-co__section-head {
  border-bottom: 1px solid hsl(215, 20%, 88%);
  padding-bottom: 1rem;
}

.gp-co__section-head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(203 96% 18%);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .gp-co__section-head h2 {
    font-size: 1.25rem;
  }
}

.gp-co__section-head p {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: hsl(215, 16%, 47%);
}

.gp-co__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gp-co__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .gp-co__grid--2 {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }
}

@media (min-width: 640px) {
  .gp-co__grid--2-sm {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* FormField */
.gp-co__field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.gp-co__label-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gp-co__field label,
.gp-co__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: hsl(215, 25%, 27%);
}

.gp-co__req {
  color: hsl(0, 72%, 51%);
  margin-left: 0.125rem;
}

.gp-co__help {
  position: relative;
  display: inline-flex;
  color: hsl(215, 16%, 65%);
  cursor: help;
}

.gp-co__help svg {
  width: 0.875rem;
  height: 0.875rem;
}

.gp-co__help:hover .gp-co__tooltip,
.gp-co__help:focus-within .gp-co__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gp-co__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translate(-50%, 4px);
  z-index: 20;
  width: max-content;
  max-width: 300px;
  padding: 0.5rem 0.65rem;
  border-radius: 4px;
  background: hsl(215, 28%, 17%);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.gp-co__field input:not([type='radio']):not([type='checkbox']),
.gp-co__field select {
  box-sizing: border-box;
  width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid hsl(214, 20%, 75%); /* slate-300 */
  border-radius: 4px;
  background: #fff;
  color: hsl(222, 47%, 11%);
  font: inherit;
  font-size: 1rem;
  line-height: normal;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  appearance: none;
  -webkit-appearance: none;
}

@media (min-width: 640px) {
  .gp-co__field input:not([type='radio']):not([type='checkbox']),
  .gp-co__field select {
    height: 2.5rem;
    min-height: 2.5rem;
    font-size: 0.875rem;
  }
}

.gp-co__field input:not([type='radio']):not([type='checkbox'])::placeholder {
  color: hsl(215, 16%, 65%);
}

.gp-co__field input:not([type='radio']):not([type='checkbox']):focus,
.gp-co__field select:focus {
  outline: none;
  border-color: hsl(203 96% 18%);
  box-shadow: 0 0 0 1px hsl(203 96% 18% / 0.3);
}

.gp-co__field input:not([type='radio']):not([type='checkbox']):disabled,
.gp-co__field select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: hsl(210, 22%, 96%);
}

.gp-co__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem 1rem;
  padding-right: 2.25rem;
  cursor: pointer;
  text-overflow: ellipsis;
}

/* select vazio (opção placeholder selecionada) = cor muted, como o SelectTrigger do React */
.gp-co__field select:has(option[value='']:checked) {
  color: hsl(215, 16%, 55%);
}
.gp-co__field select option {
  color: hsl(222, 47%, 11%);
}
.gp-co__field select option[value=''] {
  color: hsl(215, 16%, 55%);
}
.gp-co__field select:hover:not(:disabled) {
  border-color: hsl(214, 20%, 62%);
}

/* ---------- Combobox pesquisável (equivale ao Combobox do React) ---------- */
.gp-co__combo {
  position: relative;
  width: 100%;
}

.gp-co__combo-trigger {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid hsl(214, 20%, 75%);
  border-radius: 4px;
  background: #fff;
  color: hsl(222, 47%, 11%);
  font: inherit;
  font-size: 1rem;
  line-height: normal;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  appearance: none;
  -webkit-appearance: none;
}
@media (min-width: 640px) {
  .gp-co__combo-trigger {
    height: 2.5rem;
    min-height: 2.5rem;
    font-size: 0.875rem;
  }
}
.gp-co__combo-trigger:hover:not(:disabled) {
  border-color: hsl(214, 20%, 62%);
}
.gp-co__combo-trigger:focus-visible,
.gp-co__combo.is-open .gp-co__combo-trigger {
  outline: none;
  border-color: hsl(203 96% 18%);
  box-shadow: 0 0 0 1px hsl(203 96% 18% / 0.3);
}
.gp-co__combo-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: hsl(210, 22%, 96%);
}
.gp-co__field.is-error .gp-co__combo-trigger {
  border-color: hsl(0, 72%, 51%);
}
.gp-co__combo-value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gp-co__combo-value.is-placeholder {
  color: hsl(215, 16%, 55%);
}
.gp-co__combo-chevron {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  opacity: 0.5;
}

.gp-co__combo-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 60;
  box-sizing: border-box;
  width: 100%;
  min-width: 12rem;
  overflow: hidden;
  border: 1px solid hsl(214, 20%, 85%);
  border-radius: 6px;
  background: #fff;
  color: hsl(222, 47%, 11%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08);
}
.gp-co__combo-panel[hidden] {
  display: none;
}
.gp-co__combo.is-up .gp-co__combo-panel {
  top: auto;
  bottom: calc(100% + 4px);
}

.gp-co__combo-search {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid hsl(214, 20%, 90%);
  background: #fff;
}
.gp-co__combo-search-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  opacity: 0.5;
}
.gp-co__field .gp-co__combo-panel input.gp-co__combo-search-input:not([type='radio']):not([type='checkbox']),
.gp-co__field .gp-co__combo-panel input.gp-co__combo-search-input:not([type='radio']):not([type='checkbox']):focus {
  flex: 1 1 auto;
  width: 100%;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
  outline: none;
}
.gp-co__field .gp-co__combo-panel input.gp-co__combo-search-input:not([type='radio']):not([type='checkbox'])::placeholder {
  color: hsl(215, 16%, 55%);
}

.gp-co__combo-list {
  margin: 0;
  padding: 0.25rem;
  max-height: 15rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}
.gp-co__combo-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
}
.gp-co__combo-option[hidden] {
  display: none;
}
.gp-co__combo-option:hover,
.gp-co__combo-option.is-active {
  background: hsl(210, 40%, 96%);
}
.gp-co__combo-check {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  opacity: 0;
}
.gp-co__combo-option.is-selected {
  font-weight: 600;
}
.gp-co__combo-option.is-selected .gp-co__combo-check {
  opacity: 1;
}
.gp-co__combo-empty {
  padding: 1.25rem 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: hsl(215, 16%, 47%);
}
.gp-co__combo-empty[hidden] {
  display: none;
}

.gp-co__error {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(0, 72%, 51%);
}

.gp-co__privacy {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(214, 32%, 95%);
  font-size: 0.75rem;
  color: hsl(215, 16%, 47%);
}

/* Radios / checkboxes */
.gp-co__radio-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.35rem;
}

.gp-co__radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(215, 25%, 27%);
  cursor: pointer;
  line-height: 1.2;
}

.gp-co__radio input[type='radio'] {
  appearance: auto;
  -webkit-appearance: radio;
  box-sizing: border-box;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: hsl(203 96% 18%);
  border: none;
  box-shadow: none;
  background: transparent;
  vertical-align: middle;
}

.gp-co__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(215, 16%, 47%);
  cursor: pointer;
}

.gp-co__check input[type='checkbox'] {
  appearance: auto;
  -webkit-appearance: checkbox;
  box-sizing: border-box;
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  padding: 0;
  accent-color: hsl(203 96% 18%);
  flex-shrink: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* Filiation cards */
.gp-co__subcard {
  border: 1px solid hsl(215, 20%, 88%);
  border-radius: 4px;
  background: hsl(210, 40%, 98% / 0.7);
  padding: 1rem;
}

.gp-co__subcard h4 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: hsl(215, 25%, 27%);
}

.gp-co__name-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gp-co__name-change {
  border: 1px solid hsl(215, 20%, 88%);
  border-radius: 4px;
  background: hsl(210, 40%, 98% / 0.8);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gp-co__name-change {
    grid-template-columns: 1fr 1fr;
  }
}

/* Actions */
.gp-co__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(215, 20%, 88%);
}

@media (min-width: 640px) {
  .gp-co__actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .gp-co__actions .gp-co__btn-back {
    order: 1;
  }

  .gp-co__actions .gp-co__btn-next {
    order: 2;
    margin-left: auto;
  }
}

.gp-co__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}

@media (min-width: 640px) {
  .gp-co__btn {
    width: auto;
  }

  .gp-co__btn-next {
    min-width: 11.25rem;
  }

  .gp-co__btn-back {
    min-width: 8.75rem;
  }
}

.gp-co__btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.gp-co__btn-next,
.gp-co__btn-primary {
  background: hsl(203 96% 18%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.gp-co__btn-next:hover,
.gp-co__btn-primary:hover {
  background: hsl(203 96% 18% / 0.9);
}

.gp-co__btn-next:disabled,
.gp-co__btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.gp-co__btn-back,
.gp-co__btn-outline {
  background: #fff;
  border-color: hsl(214, 20%, 75%);
  color: hsl(203 96% 18%);
}

.gp-co__btn-back:hover,
.gp-co__btn-outline:hover {
  background: hsl(210, 40%, 98%);
}

.gp-co__btn-sm {
  height: 2rem;
  min-height: 2rem;
  min-width: 0 !important;
  width: auto;
  padding: 0 0.75rem;
  font-size: 0.75rem;
}

.gp-co__btn-full {
  width: 100%;
  height: 3rem;
  min-height: 3rem;
}

/* Review */
.gp-co__review-block {
  border: 1px solid hsl(215, 20%, 88%);
  border-radius: 4px;
  background: hsl(210, 40%, 98% / 0.4);
  padding: 1rem;
}

.gp-co__review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid hsl(215, 20%, 88% / 0.8);
}

.gp-co__review-head h4 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: hsl(215, 25%, 27%);
}

.gp-co__review-head h4 svg {
  width: 1rem;
  height: 1rem;
  color: hsl(203 96% 18%);
}

.gp-co__review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
}

@media (min-width: 640px) {
  .gp-co__review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.gp-co__review-item span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: hsl(215, 16%, 47%);
}

.gp-co__review-item p {
  margin: 0.1rem 0 0;
  font-size: 0.875rem;
  color: hsl(222, 47%, 11%);
}

.gp-co__declaration {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid hsl(215, 20%, 88%);
  border-radius: 8px;
  background: hsl(210, 40%, 98% / 0.7);
}

.gp-co__declaration-check {
  appearance: auto;
  -webkit-appearance: checkbox;
  box-sizing: border-box;
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  min-height: 1.05rem;
  padding: 0;
  flex-shrink: 0;
  accent-color: hsl(203 96% 18%);
  cursor: pointer;
  border: none;
  box-shadow: none;
  background: transparent;
}

.gp-co__declaration-body {
  flex: 1;
  min-width: 0;
}

.gp-co__declaration-label {
  display: block;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  color: hsl(222, 47%, 11%);
  cursor: pointer;
}

.gp-co__declaration-label a {
  display: inline;
  color: hsl(203 96% 18%);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: normal;
}

.gp-co__declaration .gp-co__decl-note {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: hsl(215, 16%, 47%);
}

.gp-co__declaration .gp-co__error {
  margin: 0.5rem 0 0;
}

.gp-co__pay-footer {
  margin-top: 0.75rem;
  padding: 1rem;
  border: 1px solid hsl(203 96% 18% / 0.2);
  border-radius: 8px;
  background: hsl(203 96% 18% / 0.05);
}

.gp-co__pay-footer .gp-co__total {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  background: transparent;
}

.gp-co__pay-footer .gp-co__btn-pay {
  width: 100%;
  justify-content: center;
  height: 3rem !important;
  min-height: 3rem !important;
  max-height: 3rem !important;
  font-size: 0.95rem !important;
  white-space: nowrap;
}

.gp-co__actions--review {
  justify-content: flex-start;
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Taxa page */
.gp-co__taxa-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.gp-co__taxa-head h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(210, 32%, 12%);
}

@media (min-width: 768px) {
  .gp-co__taxa-head h1 {
    font-size: 1.5rem;
  }
}

.gp-co__taxa-head p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: hsl(215, 16%, 47%);
}

@media (min-width: 768px) {
  .gp-co__taxa-head p {
    font-size: 1rem;
  }
}

.gp-co__summary {
  margin-bottom: 1.5rem;
  border-radius: 4px;
  border: 1px solid hsl(203 96% 18% / 0.2);
  background: linear-gradient(to bottom, hsl(203 96% 18% / 0.06), hsl(203 96% 18% / 0.02));
  padding: 1rem;
}

@media (min-width: 768px) {
  .gp-co__summary {
    padding: 1.25rem;
  }
}

.gp-co__summary h3 {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: hsl(203 96% 18%);
}

.gp-co__summary dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
}

@media (min-width: 640px) {
  .gp-co__summary dl {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
    row-gap: 0.625rem;
  }
}

.gp-co__summary dt {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: hsl(210, 14%, 42%);
}

.gp-co__summary dd {
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  color: hsl(210, 32%, 12% / 0.9);
  word-break: break-word;
}

.gp-co__summary dd.is-strong {
  font-weight: 600;
}

/* Processing cards */
.gp-co__proc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gp-co__proc-card {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 0.75rem;
  border: 2px solid hsl(215, 20%, 88%);
  background: #fff;
  padding: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font: inherit;
  color: inherit;
}

@media (min-width: 768px) {
  .gp-co__proc-card {
    gap: 1rem;
    padding: 1.25rem;
  }
}

.gp-co__proc-card:hover {
  border-color: hsl(214, 20%, 80%);
  background: hsl(210, 40%, 98% / 0.6);
}

.gp-co__proc-card.is-amber:hover {
  border-color: hsl(32, 95%, 80%);
  background: hsl(48, 100%, 96% / 0.4);
}

.gp-co__proc-card.is-red:hover {
  border-color: hsl(0, 90%, 85%);
  background: hsl(0, 86%, 97% / 0.35);
}

.gp-co__proc-card.is-selected {
  border-color: hsl(203 96% 18%);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1), 0 0 0 2px hsl(203 96% 18% / 0.25);
}

.gp-co__proc-card.is-amber.is-selected {
  border-color: hsl(32, 95%, 44%);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1), 0 0 0 2px hsl(38, 92%, 50% / 0.3);
}

.gp-co__proc-card.is-red.is-selected {
  border-color: hsl(0, 72%, 51%);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1), 0 0 0 2px hsl(0, 84%, 60% / 0.3);
}

.gp-co__proc-radio {
  margin-top: 0.125rem;
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid hsl(214, 20%, 75%);
  background: #fff;
}

.gp-co__proc-card.is-selected .gp-co__proc-radio {
  border-color: hsl(203 96% 18%);
  background: hsl(203 96% 18%);
}

.gp-co__proc-card.is-amber.is-selected .gp-co__proc-radio {
  border-color: hsl(32, 95%, 44%);
  background: hsl(32, 95%, 44%);
}

.gp-co__proc-card.is-red.is-selected .gp-co__proc-radio {
  border-color: hsl(0, 72%, 51%);
  background: hsl(0, 72%, 51%);
}

.gp-co__proc-radio span {
  display: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #fff;
}

.gp-co__proc-card.is-selected .gp-co__proc-radio span {
  display: block;
}

.gp-co__proc-main {
  min-width: 0;
  flex: 1;
}

.gp-co__proc-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .gp-co__proc-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }
}

.gp-co__proc-title-wrap {
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.gp-co__proc-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: hsl(203 96% 18%);
}

.gp-co__proc-card.is-amber .gp-co__proc-icon {
  color: hsl(32, 95%, 44%);
}

.gp-co__proc-card.is-red .gp-co__proc-icon {
  color: hsl(0, 72%, 51%);
}

.gp-co__proc-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(222, 47%, 11%);
}

.gp-co__proc-card.is-selected .gp-co__proc-title {
  color: hsl(203 96% 18%);
}

.gp-co__proc-card.is-amber.is-selected .gp-co__proc-title {
  color: hsl(26, 83%, 14%);
}

.gp-co__proc-card.is-red.is-selected .gp-co__proc-title {
  color: hsl(0, 63%, 15%);
}

.gp-co__proc-desc {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: hsl(215, 16%, 47%);
}

.gp-co__proc-price {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: hsl(203 96% 18%);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .gp-co__proc-price {
    text-align: right;
    padding-left: 0.5rem;
  }
}

.gp-co__proc-card.is-amber .gp-co__proc-price {
  color: hsl(26, 90%, 37%);
}

.gp-co__proc-card.is-red .gp-co__proc-price {
  color: hsl(0, 72%, 41%);
}

.gp-co__proc-reqs {
  margin-top: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
}

.gp-co__proc-reqs.is-amber {
  border-left-color: hsl(38, 92%, 50%);
  background: hsl(48, 100%, 96% / 0.95);
  color: hsl(26, 83%, 14%);
}

.gp-co__proc-reqs.is-red {
  border-left-color: hsl(0, 84%, 60%);
  background: hsl(0, 86%, 97% / 0.95);
  color: hsl(0, 63%, 15%);
}

.gp-co__proc-reqs p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.gp-co__proc-reqs.is-amber p {
  color: hsl(32, 80%, 30%);
}

.gp-co__proc-reqs.is-red p {
  color: hsl(0, 70%, 35%);
}

.gp-co__proc-reqs ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.375;
}

.gp-co__proc-reqs li {
  display: flex;
  gap: 0.5rem;
}

.gp-co__proc-reqs li::before {
  content: '•';
  color: hsl(215, 16%, 47%);
}

.gp-co__cpf-wrap {
  position: relative;
}

.gp-co__cpf-spinner {
  position: absolute;
  right: 0.75rem;
  top: 2.15rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid hsl(203 96% 18% / 0.2);
  border-top-color: hsl(203 96% 18%);
  border-radius: 999px;
  animation: gp-co-spin 0.7s linear infinite;
  pointer-events: none;
}

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

.gp-co__toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 50;
  max-width: min(92vw, 28rem);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  background: hsl(0, 72%, 42%);
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.gp-co__toast.is-success {
  background: hsl(203 96% 18%);
}

.gp-co__site-header {
  background: hsl(203 96% 18%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  margin: -2rem -1rem 0;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .gp-co__site-header {
    margin-top: -2.5rem;
  }
}

.gp-co__site-header-inner {
  max-width: 70rem;
  margin: 0 auto;
  height: 3.75rem;
  display: flex;
  align-items: center;
}

.gp-co__site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.gp-co__site-brand .gp-co__brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.gp-co__shell--taxa {
  padding-top: 2rem;
}

.gp-co--taxa {
  padding-top: 0;
}

/* ===== Agendamento Serviços — painéis condicionais (React PrimeiraVia) ===== */
.gp-co__hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: hsl(215, 16%, 47%);
}

.gp-co__grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .gp-co__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1rem;
  }
}

.gp-co__check-slot {
  display: flex;
  align-items: flex-end;
  padding-bottom: 0.5rem;
}

.gp-co__check-slot .gp-co__check {
  margin-top: 0;
}

.gp-co__panel {
  border: 1px solid hsl(215, 20%, 88%);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gp-co__panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.gp-co__panel-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.gp-co__panel-text code {
  padding: 0 0.25rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.6);
}

.gp-co__panel-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gp-co__panel-sub {
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(22, 163, 74, 0.25);
  font-size: 0.95rem;
  font-weight: 600;
}

.gp-co__panel-sub--sm {
  border-top: 0;
  padding-top: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Emancipado — azul */
.gp-co__panel--blue {
  background: hsl(214, 100%, 97%);
  border-color: hsl(213, 97%, 87%);
  color: hsl(224, 64%, 33%);
}

/* Adoção internacional / certidão — verde */
.gp-co__panel--green {
  background: hsl(138, 76%, 97%);
  border-color: hsl(141, 79%, 85%);
  color: hsl(142, 64%, 24%);
}

/* Atenção / alteração de nome — âmbar */
.gp-co__panel--amber {
  background: hsl(48, 100%, 96%);
  border-color: hsl(48, 96%, 76%);
  color: hsl(26, 83%, 24%);
}

.gp-co__panel--purple {
  background: hsl(270, 100%, 98%);
  border-color: hsl(269, 100%, 92%);
  color: hsl(274, 66%, 32%);
}

.gp-co__panel .gp-co__label,
.gp-co__panel .gp-co__check {
  color: hsl(215, 25%, 27%);
}

.gp-co__radio-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gp-co__radio-list .gp-co__radio {
  align-items: flex-start;
  line-height: 1.45;
}

.gp-co__radio-list .gp-co__radio input[type='radio'] {
  margin-top: 0.15rem;
}

.gp-co__radio-hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  opacity: 0.85;
}

.gp-co__name-change--stack {
  grid-template-columns: 1fr;
}

/* Links legais no aceite → abrem modal (não saem do checkout) */
.gp-co__legal-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: hsl(203 96% 18%);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.gp-co__legal-link:hover {
  color: hsl(203 96% 14%);
}

.gp-co__declaration-label label {
  cursor: pointer;
}

body.gp-co-legal-open {
  overflow: hidden;
}

.gp-co__legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.gp-co__legal-modal[hidden] {
  display: none !important;
}
.gp-co__legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.gp-co__legal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(40rem, 100%);
  max-height: min(88vh, 44rem);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}
.gp-co__legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid hsl(215, 20%, 90%);
}
.gp-co__legal-head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(203 96% 18%);
}
.gp-co__legal-x {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 6px;
  background: hsl(210, 40%, 96%);
  color: hsl(215, 25%, 27%);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.gp-co__legal-x:hover {
  background: hsl(210, 30%, 92%);
}
.gp-co__legal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}
.gp-co__legal-loading {
  margin: 2rem 0;
  text-align: center;
  color: hsl(215, 16%, 47%);
}
.gp-co__legal-foot {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid hsl(215, 20%, 90%);
  background: hsl(210, 40%, 98%);
}
.gp-co__legal-foot .gp-co__btn {
  width: 100%;
}

.gp-legal-doc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: hsl(222, 47%, 11%);
}
.gp-legal-doc__meta {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: hsl(215, 16%, 47%);
}
.gp-legal-doc section {
  margin: 0 0 1.15rem;
}
.gp-legal-doc h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: hsl(203 96% 18%);
}
.gp-legal-doc h4 {
  margin: 0.65rem 0 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.gp-legal-doc p,
.gp-legal-doc ul {
  margin: 0 0 0.5rem;
}
.gp-legal-doc ul {
  padding-left: 1.2rem;
}
.gp-legal-doc li {
  margin-bottom: 0.25rem;
}
.gp-legal-doc__callout {
  margin: 0.65rem 0 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(214 32% 88%);
  background: hsl(210 40% 98%);
}
.gp-legal-doc__callout p:last-child,
.gp-legal-doc__callout ul:last-child {
  margin-bottom: 0;
}
.gp-legal-doc__callout--warn {
  border-color: hsl(43 96% 70%);
  background: hsl(48 100% 96%);
}
.gp-legal-doc__callout--info {
  border-color: hsl(213 94% 78%);
  background: hsl(214 100% 97%);
}
.gp-legal-doc__callout--ok {
  border-color: hsl(142 71% 45%);
  background: hsl(142 76% 96%);
}
