/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

:root {
  --bg: #030608;
  --surface: #091015;
  --surface-2: #0d171d;

  --border: rgba(255, 255, 255, 0.11);
  --border-active: rgba(11, 226, 187, 0.7);

  --text: #f4f7f8;
  --muted: #8c9ca5;

  --cyan: #21c9e8;
  --green: #0de4ae;
  --blue: #1138a8;

  --gradient:
    linear-gradient(
      110deg,
      #2bc9ee 0%,
      #0ee2b5 52%,
      #0cc7dc 100%
    );

  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family:
    "Inter",
    Arial,
    Helvetica,
    sans-serif;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(21, 155, 185, 0.11),
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(0, 206, 156, 0.08),
      transparent 30%
    ),
    var(--bg);

  color: var(--text);

  overflow-x: hidden;
}


/* =========================================================
   FUNDO
========================================================= */

.background-glow {
  position: fixed;

  width: 460px;
  height: 460px;

  border-radius: 50%;

  filter: blur(130px);

  opacity: 0.11;

  pointer-events: none;

  z-index: -1;
}

.glow-1 {
  top: -190px;
  left: -190px;

  background: var(--cyan);
}

.glow-2 {
  bottom: -200px;
  right: -200px;

  background: var(--green);
}


/* =========================================================
   HEADER
========================================================= */

.topbar {
  width: min(1180px, calc(100% - 40px));

  min-height: 82px;

  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.08);
}

.topbar__logo {
  width: 145px;
  max-height: 52px;

  object-fit: contain;
}

.topbar__service {
  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.2em;

  color: var(--muted);
}


/* =========================================================
   APP
========================================================= */

.app {
  width: min(1180px, calc(100% - 40px));

  margin: 0 auto;

  padding:
    52px 0
    80px;
}


/* =========================================================
   INTRO
========================================================= */

.intro-screen {
  min-height:
    calc(100vh - 210px);

  display: none;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(320px, 0.95fr);

  align-items: center;

  gap: 70px;
}

.screen--active {
  display: grid;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 23px;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.18em;

  color: var(--green);
}

.intro__content h1 {
  max-width: 700px;

  font-size:
    clamp(
      42px,
      5.2vw,
      76px
    );

  line-height: 0.98;

  letter-spacing: -0.06em;

  margin-bottom: 26px;
}

.intro__content h1 span {
  display: block;

  color: var(--green);
}

.intro__content p {
  max-width: 620px;

  font-size: 17px;

  line-height: 1.75;

  color: #b6c1c7;
}

.intro__small {
  margin-top: 10px;

  font-size: 14px !important;

  color: var(--muted) !important;
}

.intro__content .button {
  margin-top: 34px;
}


/* =========================================================
   MAY
========================================================= */

.intro__visual {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.may-image {
  position: relative;

  width: min(100%, 490px);

  max-height: 590px;

  object-fit: contain;

  z-index: 2;
}

.may-halo {
  position: absolute;

  width: 410px;
  height: 410px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(14, 226, 176, 0.2),
      rgba(17, 199, 228, 0.04) 55%,
      transparent 72%
    );

  filter: blur(8px);
}


/* =========================================================
   FORM
========================================================= */

.form-shell {
  width: min(920px, 100%);

  margin: 0 auto;
}


/* =========================================================
   PROGRESSO
========================================================= */

.progress-wrapper {
  margin-bottom: 45px;
}

.progress__top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 13px;

  font-size: 12px;

  font-weight: 700;

  color: var(--muted);
}

.progress {
  width: 100%;
  height: 4px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.09);

  overflow: hidden;
}

.progress__bar {
  width: 12.5%;
  height: 100%;

  border-radius: inherit;

  background: var(--gradient);

  transition:
    width 0.3s ease;
}


/* =========================================================
   STEPS
========================================================= */

.step {
  display: none;

  animation:
    stepIn 0.35s ease;
}

.step--active {
  display: block;
}

@keyframes stepIn {

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

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

}

.step-heading {
  display: flex;
  align-items: flex-start;

  gap: 22px;

  margin-bottom: 42px;
}

.step-number {
  min-width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  border:
    1px solid rgba(13, 228, 174, 0.4);

  background:
    rgba(13, 228, 174, 0.04);

  font-size: 13px;

  font-weight: 700;

  color: var(--green);
}

.step-label {
  margin-bottom: 8px;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.18em;

  color: var(--muted);
}

.step-heading h2 {
  font-size:
    clamp(
      28px,
      4vw,
      44px
    );

  line-height: 1.05;

  letter-spacing: -0.04em;
}

.step-heading h2 span {
  color: var(--green);
}


/* =========================================================
   CAMPOS
========================================================= */

.fields-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;

  gap: 10px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;

  font-weight: 600;

  color: #d5dcdf;
}

input,
textarea,
select {
  width: 100%;

  border:
    1px solid var(--border);

  border-radius: 13px;

  outline: none;

  background:
    rgba(9, 16, 21, 0.84);

  color: var(--text);

  font: inherit;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

input,
select {
  min-height: 56px;

  padding: 0 17px;
}

textarea {
  min-height: 130px;

  padding: 17px;

  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #60717a;
}

input:focus,
textarea:focus,
select:focus {
  border-color:
    rgba(13, 228, 174, 0.6);

  background:
    rgba(11, 24, 27, 0.92);

  box-shadow:
    0 0 0 3px
    rgba(13, 228, 174, 0.06);
}


/* =========================================================
   CARDS DE ESCOLHA
========================================================= */

.choice-grid {
  display: grid;

  gap: 12px;

  margin-top: 5px;
}

.choice-grid--2 {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}

.choice-grid--3 {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

.choice-grid--4 {
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}

.choice-card {
  position: relative;

  min-height: 64px;

  cursor: pointer;
}

.choice-card input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.choice-card > span {
  width: 100%;
  height: 100%;

  min-height: 64px;

  padding: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  border:
    1px solid var(--border);

  border-radius: 13px;

  background:
    rgba(9, 16, 21, 0.78);

  color: #a9b6bc;

  font-size: 13px;

  transition:
    0.2s ease;
}

.choice-card input:checked + span {
  border-color: var(--green);

  background:
    rgba(13, 228, 174, 0.07);

  color: #ffffff;

  box-shadow:
    inset 0 0 0 1px
    rgba(13, 228, 174, 0.1);
}

.choice-card--large > span {
  min-height: 110px;

  flex-direction: column;

  gap: 8px;
}

.choice-card--large strong {
  font-size: 16px;

  color: #fff;
}


/* =========================================================
   CARDS DE ESTILO VISUAL
========================================================= */

.style-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.style-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.style-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.style-card__surface {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(9, 16, 21, 0.88);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.style-card:hover .style-card__surface {
  transform: translateY(-3px);
  border-color: rgba(33, 201, 232, 0.45);
}

.style-card input:focus-visible + .style-card__surface {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.style-card input:checked + .style-card__surface {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(13, 228, 174, 0.18), 0 0 24px rgba(13, 228, 174, 0.1);
}

.style-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(33, 201, 232, 0.14), transparent 52%), linear-gradient(145deg, #101d25, #071016);
}

.style-card__media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.style-card--3d .style-card__media img {
  object-position: center top;
}

.style-card__media.is-missing img {
  display: none;
}

.style-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #6f838d;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.style-card__media--other span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 228, 174, 0.3);
  border-radius: 50%;
  color: var(--green);
  font-size: 28px;
}

.style-card__content {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 15px 17px;
}

.style-card__content strong {
  color: #fff;
  font-size: 15px;
}

.style-card__content small {
  color: var(--muted);
  font-size: 11px;
}


/* =========================================================
   UPLOAD
========================================================= */

.upload-box {
  min-height: 160px;

  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 7px;

  border:
    1px dashed
    rgba(255, 255, 255, 0.18);

  border-radius: 16px;

  background:
    rgba(255, 255, 255, 0.018);

  cursor: pointer;

  transition: 0.2s ease;
}

.upload-box:hover {
  border-color:
    rgba(13, 228, 174, 0.55);

  background:
    rgba(13, 228, 174, 0.035);
}

.upload-box input {
  display: none;
}

.upload-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    rgba(13, 228, 174, 0.08);

  color: var(--green);

  font-size: 22px;
}

.upload-box strong {
  margin-top: 5px;

  font-size: 14px;
}

.upload-box small {
  font-size: 11px;

  color: var(--muted);
}

.file-list {
  margin-top: 8px;

  display: flex;
  flex-wrap: wrap;

  gap: 6px;

  font-size: 12px;

  color: var(--muted);
}

.file-list__counter {
  flex-basis: 100%;
  margin-bottom: 4px;
  color: #aebbc1;
}

.file-preview {
  position: relative;
  width: 112px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(9, 16, 21, 0.9);
}

.file-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}

.file-preview__name {
  display: block;
  padding: 7px 8px;
  overflow: hidden;
  color: #cbd5d9;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-preview__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(3, 6, 8, 0.88);
  color: #fff;
  font: inherit;
  cursor: pointer;
}


/* =========================================================
   INFO BOX
========================================================= */

.info-box {
  margin: 24px 0;

  padding: 20px;

  border:
    1px solid rgba(33, 201, 232, 0.2);

  border-radius: 14px;

  background:
    rgba(33, 201, 232, 0.035);
}

.info-box strong {
  display: block;

  margin-bottom: 7px;

  color: var(--cyan);
}

.info-box p {
  font-size: 13px;

  line-height: 1.7;

  color: var(--muted);
}


/* =========================================================
   REVIEW
========================================================= */

.review-description {
  margin-bottom: 24px;

  color: var(--muted);

  line-height: 1.7;
}

.review {
  display: grid;

  gap: 13px;
}

.review-section {
  padding: 20px;

  border:
    1px solid var(--border);

  border-radius: 14px;

  background:
    rgba(9, 16, 21, 0.75);
}

.review-section h3 {
  margin-bottom: 14px;

  color: var(--green);

  font-size: 13px;

  text-transform: uppercase;

  letter-spacing: 0.1em;
}

.review-row {
  display: grid;

  grid-template-columns:
    200px 1fr;

  gap: 18px;

  padding: 8px 0;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.05);

  font-size: 13px;

  line-height: 1.6;
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row strong {
  color: #899aa3;
}

.review-row span {
  color: #e4eaed;

  word-break: break-word;
}


/* =========================================================
   TERMOS
========================================================= */

.terms {
  margin-top: 25px;

  display: flex;

  align-items: flex-start;

  gap: 12px;

  cursor: pointer;

  color: #a9b6bc;

  font-size: 13px;

  line-height: 1.6;
}

.terms input {
  width: 18px;
  min-height: 18px;
  height: 18px;

  accent-color: var(--green);

  margin-top: 2px;
}


/* =========================================================
   BOTÕES
========================================================= */

.button {
  min-height: 54px;

  padding: 0 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  border: 0;

  border-radius: 12px;

  font-family: inherit;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--gradient);

  color: #031311;
}

.button--secondary {
  border:
    1px solid var(--border);

  background:
    rgba(255, 255, 255, 0.02);

  color: #d9e1e5;
}

.navigation {
  margin-top: 48px;

  padding-top: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-top:
    1px solid rgba(255, 255, 255, 0.07);
}


/* =========================================================
   MENSAGENS
========================================================= */

.input-error {
  border-color:
    #ff5e78 !important;
}

.choice-grid.input-error,
.terms.input-error {
  padding: 8px;
  border: 1px solid #ff5e78;
  border-radius: 13px;
}

.form-message {
  margin-top: 28px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 94, 120, 0.4);
  border-radius: 12px;
  background: rgba(255, 94, 120, 0.07);
  color: #ff91a3;
  font-size: 13px;
  line-height: 1.5;
}

.submit-message {
  margin-top: 20px;

  font-size: 13px;

  line-height: 1.6;
}

.submit-message--success {
  color: var(--green);
}

.submit-message--error {
  color: #ff7188;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 900px) {

  .style-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-screen {
    grid-template-columns: 1fr;

    text-align: center;

    gap: 20px;
  }

  .intro__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .intro__visual {
    min-height: 370px;
  }

  .may-image {
    max-height: 420px;
  }

  .choice-grid--4,
  .choice-grid--3 {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 650px) {

  .style-options {
    grid-template-columns: 1fr;
  }

  .topbar {
    width:
      min(100% - 28px, 1180px);

    min-height: 68px;
  }

  .topbar__logo {
    width: 110px;
  }

  .topbar__service {
    font-size: 8px;
  }

  .app {
    width:
      min(100% - 28px, 1180px);

    padding-top: 35px;
  }

  .intro-screen {
    min-height: auto;
  }

  .intro__content h1 {
    font-size: 43px;
  }

  .intro__content p {
    font-size: 14px;
  }

  .intro__visual {
    min-height: 330px;
  }

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

  .field--full {
    grid-column: auto;
  }

  .choice-grid--2,
  .choice-grid--3,
  .choice-grid--4 {
    grid-template-columns: 1fr;
  }

  .step-heading {
    gap: 14px;

    margin-bottom: 31px;
  }

  .step-number {
    min-width: 45px;
    height: 45px;
  }

  .step-heading h2 {
    font-size: 30px;
  }

  .navigation {
    gap: 10px;
  }

  .navigation .button {
    flex: 1;

    padding: 0 12px;
  }

  .review-row {
    grid-template-columns: 1fr;

    gap: 2px;
  }

}
