* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    /* Content */
    --content-primary: #FFFFFF;
    --content-secondary: #C7C9CC;
    --content-tertiary: #D9D9D9;
    --content-brand: #C58DE7;
    --color-inverse: #030203;
    /* Backdorund */
    --background-primary: #020202;
    --background-secondary: #111012;
    --background-tertiary: #24222E;
    --background-brand: #C58DE7;
    --background-gray:#3D3D3D;
    /* Accent */
    --accent-pink: #D586E0;
    --accent-blue: #91A1FA;
    --accent-green: #77C0AF;
    --accent-lime: #D1DC97;
    --accent-red: #E9A9B3;
    /* Gradient */
    --gradient-border: linear-gradient(#77C0AF 0%, #D1DC97 14.84%, #E9A9B3 32.15%, #D586E0 65.79%, #91A1FA 84.58%);
    --gradient-background: linear-gradient(#D586E0 0%, #91A1FA 98.93%);
    --gradient-content: linear-gradient(90deg,#C7C9CC 0%, #3D3D3D 150%);

    --font-sora: "Sora", sans-serif;
    --display-large: 800 72px/130% var(--font-sora);
    --display-medium: 700 40px/8.125rem var(--font-sora);
    --display-small: 700 32px/130% var(--font-sora);

    --font-roboto-mono: "Roboto Mono", monospace; 
    --overline: 100 16px/100% var(--font-roboto-mono);

    --font-roboto-flex: "Roboto Flex", sans-serif;
    --paragraph-large: 500 16px/9.375rem var(--font-roboto-flex);
    --paragraph-medium: 500 14px/80% var(--font-roboto-flex);
    --paragraph--small: 500 12px/150% var(--font-roboto-flex);
    --label-medium: 700 20px/200% var(--font-roboto-flex);
    --label-small: 500 16px/100% var(--font-roboto-flex);

}
body {
    background-color: var(--background-primary);
    color: white;
    line-height: 1.5;

    display: flex;               /* centraliza com flexbox */
    justify-content: center;     /* alinha horizontalmente */
    align-items: center;         /* alinha verticalmente */
    min-height: 100vh;           /* ocupa a tela toda */
    padding: 20px;               /* respiro em telas pequenas */
}
.wrapper {
    width: 100%;
    max-width: 1500px;           /* limite da largura */
}

header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 60px 250px;
}
header h2 {
    font: var(--display-small);
}
header img {
    width: 40px;
}
.gradiente {
    background: var(--gradient-content);
    -webkit-background-clip: text; /* recorta o gradiente no texto */
    -webkit-text-fill-color: transparent; /* deixa o texto transparente */
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    padding: 0px 250px;
}
#info span {
    font: var(--overline);
}
h1 {
    font: var(--display-large);
}
h3 {
  font: var(--label-medium);
}
#tituloResultado{
  font: var(--overline);
  color: var(--content-secondary);
  padding-bottom: 50px;
}
.paragrafo {
    display: flex;
    align-items: center;
    gap: 5px;
}
.paragrafo img {
    width: 30px;
}
.paragrafo p {
    font: var(--paragraph-medium);
    color: var(--content-brand);
}
.sub {
    font: var(--paragraph--small);
    padding-left: 35px;
    color: var(--content-secondary);
}

.form-box h3 {
    font: var(--label-medium);
    padding-top: 70px;
}
.form-box p {
    font: var(--label-small);
    color: var(--content-secondary);
}
.inputs {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}
.inputs div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.inputs label {
  font: var(--label-small);
  color: var(--content-secondary);
  padding-top: 30px;
  padding-bottom: 15px;
}
.inputs input {
  width: 100px;
  padding: 8px 1px 8px 18px;
  border-radius: 12px;
  border: none;
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  font: var(--display-small);
  }
  /* Toggle Switch */
    .checkbox {
      display: flex;
      align-items: center;
      justify-content: start;
      margin: 15px 0;
      font-size: 14px;
      gap: 10px;
    }

    .switch {
      position: relative;
      display: inline-block;
      width: 40px;
      height: 20px;
    }

    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #555;
      transition: .4s;
      border-radius: 20px;
    }

    .slider:before {
      position: absolute;
      content: "";
      height: 14px;
      width: 14px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }

    .switch input:checked + .slider {
      background-color: #7c3aed; /* purple glow */
    }

    .switch input:checked + .slider:before {
      transform: translateX(20px);
    }
    .repetir {
      font: var(--label-small);
      color: var(--content-primary);
    }

    button {
      width: 100%;
      padding: 12px;
      background: #222;
      border: none;
      border-radius: 8px;
      color: #fff;
      cursor: pointer;
      transition: background 0.3s;
      font: var(--label-small);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    button:hover {
      background: #333;
    }

    /* Versão mobile */
@media (max-width: 768px) {
  /* parar de centralizar a página inteira no mobile */
  body {
    display: block;
    min-height: auto;
    padding: 0;
  }

  .wrapper {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  /* topo */
  header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 24px 20px 8px;
  }
  header img { width: 28px; }
  header h2 {
    font-family: var(--font-sora);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: .02em;
  }

  /* corpo */
  .container {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0 20px 24px;
  }

  /* overline "ONLINE - GRATUITO" */
  #info span {
    display: block;
    font-family: var(--font-roboto-mono);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--content-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
  }

  /* título grande */
  h1 {
    font-family: var(--font-sora);
    font-weight: 800;
    font-size: 32px;   /* forte, mas cabendo na tela */
    line-height: 1.2;
    margin: 0 0 20px 0;
  }

  /* subtítulo/intro */
  .form-box h3 {
    padding-top: 0;
    margin: 0 0 8px 0;
    font-family: var(--font-roboto-flex);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .form-box p {
    font-family: var(--font-roboto-flex);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
    color: var(--content-secondary);
    margin: 0 0 24px 0;
  }

  /* 3 inputs lado a lado como cards */
  .inputs {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
  }
  .inputs div {
    width: calc(33.333% - 8px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .inputs label {
    padding: 0 0 8px;
    font-family: var(--font-roboto-flex);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--content-secondary);
    text-transform: uppercase;
  }
  .inputs input {
    width: 100%;
    height: 56px;
    padding: 0;
    border-radius: 12px;
    border: none;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    font-family: var(--font-sora);
    font-weight: 700;
    font-size: 28px;  /* número grande como no mock */
  }

  /* toggle "Não repetir número" */
  .checkbox {
    margin: 16px 0 20px;
    gap: 10px;
  }
  .repetir {
    font-family: var(--font-roboto-flex);
    font-size: 14px;
    color: var(--content-primary);
  }
  .switch { width: 46px; height: 24px; }
  .slider:before { width: 18px; height: 18px; left: 3px; bottom: 3px; }
  .switch input:checked + .slider { background-color: #7c3aed; }

  /* botão principal */
  button {
    height: 56px;
    border-radius: 12px;
    font-family: var(--font-roboto-flex);
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(180deg, #3a2f4d 0%, #2d2a36 100%);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 8px 32px rgba(124,58,237,.25);
    gap: 10px;
  }
  button:hover { background: #333; }

  /* FAQ/itens abaixo do botão */
  .paragrafo { margin-top: 28px; gap: 8px; }
  .paragrafo img { width: 18px; }
  .paragrafo p {
    font-family: var(--font-roboto-flex);
    font-weight: 700;
    font-size: 14px;
    color: var(--background-brand);
  }
  .sub {
    margin-top: 6px;
    padding-left: 26px;
    font-family: var(--font-roboto-flex);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
    color: var(--content-secondary);
  }
}
#telaResultado {
  display: flex;
  text-align: center;
  padding-top: 50px;

}
#resultado {
  font: var(--overline);
  font-size: 45px;
  color: var(--content-brand);
  padding-bottom: 30px;
}
#button {
  gap: 10px;
  padding: 10px 100px 10px 100px;
}
