:root {
  --orange: #f28c28;
  --orange-dark: #dc6f0b;
  --cream: #f8e3c8;
  --navy: #1A1A2E;
  --corail: #D94F4F;
  --g900: #1e293b;
  --g700: #475569;
  --g600: #64748b;
  --g500: #94a3b8;
  --g300: #cbd5e1;
  --g200: #e2e8f0;
  --g100: #f1f5f9;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f6f8f9;
  color: var(--g900);
  font-family: Inter, sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
  outline: 0;
}
.page {
  height: auto;
  padding: 2rem;
  display: grid;
  place-items: center;
}
.shell {
  width: min(1180px, 100%);
  height: 750px;
  display: grid;
  grid-template-columns: 310px 1fr;
  overflow: hidden;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 25px 80px #0f172a1f;
}
.aside {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(150deg, var(--orange), var(--orange-dark));
}

.brand {
  position: relative;
  line-height: 0;
  max-width: 130px;
}

img {
  width: 100%;
  display: block;
}

.aside-main {
  margin: auto 0;
}
.aside-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 1.2rem;
  background: #ffffff22;
}
.aside-icon span {
  font-size: 32px;
}
.eyebrow,
.label,
.step-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow,
.label,
.step-label {
  color: var(--orange);
}
.eyebrow {
  color: #ffca87;
  margin-bottom: 0.7rem;
}
.aside h1 {
  margin: 0 0 1rem;
  font: 800 1.7rem/1.2 "Plus Jakarta Sans";
}
.aside p {
  margin: 0;
  color: #ffffffc7;
  font-size: 0.78rem;
  line-height: 1.7;
}
.aside-foot {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: #ffffffb8;
  font-size: 0.68rem;
}
.aside-foot-icon{
  width: 22px;
  height: 22px;
}
.content {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
}
.header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.header h2 {
  margin: 0.35rem 0;
  font: 800 1.55rem/1.2 "Plus Jakarta Sans";
}
.header p {
  margin: 0;
  color: var(--g600);
  font-size: 0.76rem;
}
.quit {
  display: flex;
  color: var(--g500);
  font-size: 0.7rem;
  text-decoration: none;
}
.progress {
  position: relative;
  margin: 2rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
}
.progress-line {
  position: absolute;
  top: 50%;
  left: 7px;
  right: 7px;
  height: 2px;
  transform: translateY(-50%);
  background: var(--g200);
}
.progress-step {
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid var(--g300);
  border-radius: 50%;
  background: #fff;
  color: var(--g500);
  font-size: 0.58rem;
  font-weight: 800;
}
.progress-step.active,
.progress-step.done {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.step {
  display: none;
  flex: 1;
  animation: in 0.3s ease;
}
.step.active {
  display: block;
}
@keyframes in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.step-label {
  margin-bottom: 0.55rem;
}
.step h3 {
  margin: 0 0 0.4rem;
  font: 800 1.3rem/1.2 "Plus Jakarta Sans";
}
.desc {
  margin: 0 0 1.5rem;
  color: var(--g600);
  font-size: 0.76rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.grid label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.grid label > span {
  color: var(--g700);
  font-size: 0.7rem;
  font-weight: 700;
}
.grid b {
  color: var(--corail);
}
.grid .full {
  grid-column: 1/-1;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--g200);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  color: var(--g900);
  background: #fff;
  font-size: 0.75rem;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #00808014;
}
.counter {
  align-self: flex-end;
  margin-top: -0.2rem;
  color: var(--g500);
  font-size: 0.62rem;
}
.choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.choice input {
  position: absolute;
  opacity: 0;
}
.choice > span {
  min-height: 125px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--g200);
  border-radius: 1rem;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
}
.choice svg {
  margin-bottom: 0.55rem;
  color: var(--orange);
  font-size: 26px;
}
.choice strong {
  font-size: 0.7rem;
}
.choice small {
  margin-top: 0.25rem;
  color: var(--g500);
  font-size: 0.58rem;
}
.choice input:checked + span {
  border-color: var(--orange);
  background: #0080800d;
  box-shadow: 0 0 0 2px #00808014;
}
.summary {
  max-height: 260px;
  overflow: auto;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--g100);
}
.summary-row {
  padding: 0.65rem 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--g200);
}
.summary-row:last-child {
  border: 0;
}
.summary-label {
  color: var(--g500);
  font-size: 0.65rem;
  font-weight: 700;
}
.summary-value {
  color: var(--g700);
  font-size: 0.7rem;
  line-height: 1.5;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--g600);
  font-size: 0.68rem;
  line-height: 1.5;
}
.consent input {
  width: auto;
  accent-color: var(--orange);
}
.actions {
  margin-top: 2rem;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-top: 1px solid var(--g100);
}
.btn {
  min-height: 42px;
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}
.btn span {
  font-size: 18px;
}
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 8px 20px #00808029;
}
.primary:hover {
  transform: translateY(-2px);
}
.secondary {
  color: var(--g700);
  background: var(--g100);
}
.hidden {
  display: none !important;
}
.success {
  margin: auto 0;
  text-align: center;
}
.success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--cream);
}
.success h3 {
  margin: 0.5rem 0;
  font: 800 1.4rem "Plus Jakarta Sans";
}
.success p {
  max-width: 430px;
  margin: 0 auto;
  color: var(--g600);
  font-size: 0.75rem;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .page {
    padding: 1rem;
  }
  .shell {
    grid-template-columns: 250px 1fr;
  }
  .aside {
    padding: 1.7rem;
  }
  .content {
    padding: 2rem;
  }
  .choices {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .shell {
    grid-template-columns: 1fr;
    height: auto;
  }
  .aside {
    min-height: 205px;
    padding: 1.5rem;
  }
  .aside-main {
    margin: 1.5rem 0 0;
  }
  .aside-icon,
  .aside-foot {
    display: none;
  }
  .aside h1 {
    font-size: 1.25rem;
  }
  .aside p {
    display: none;
  }
  .content {
    padding: 1.5rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .grid .full {
    grid-column: auto;
  }
}
@media (max-width: 430px) {
  .content {
    padding: 1.25rem;
  }
  .progress {
    margin: 1.5rem 0 2rem;
  }
  .progress-step {
    width: 25px;
    height: 25px;
    font-size: 0.52rem;
  }
  .step h3 {
    font-size: 1.1rem;
  }
  .choices {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .choice > span {
    min-height: 110px;
    padding: 0.7rem;
  }
  .choice strong {
    font-size: 0.64rem;
  }
  .actions {
    position: sticky;
    bottom: 0;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding: 0.9rem 1.25rem;
    background: #fffffff2;
    backdrop-filter: blur(10px);
  }
  .btn {
    flex: 1;
  }
  .summary-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
