/* ==========================================================================
   Passou Concursos — Página de confirmação de cadastro
   ========================================================================== */

:root {
  --cor-fundo: #f7f8f7;
  --cor-card: #ffffff;
  --cor-borda: #e8eae8;
  --cor-verde: #14532d;
  --cor-verde-claro: #e8f3ec;
  --cor-whatsapp: #1f9d55;
  --cor-whatsapp-hover: #187f44;
  --cor-titulo: #14532d;
  --cor-texto: #3f4a44;
  --cor-texto-suave: #7a857e;
  --raio: 16px;
  --sombra: 0 2px 18px rgba(20, 83, 45, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout -------------------------------------------------------------- */

.page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 20px;
}

.card {
  width: 100%;
  max-width: 560px;
  background-color: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  padding: 48px 40px 36px;
  text-align: center;
}

/* Ícone de confirmação ------------------------------------------------ */

.check {
  width: 68px;
  height: 68px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background-color: var(--cor-verde-claro);
  display: flex;
  align-items: center;
  justify-content: center;
}

.check__mark {
  display: block;
  width: 12px;
  height: 24px;
  margin-top: -5px;
  border-right: 3px solid var(--cor-verde);
  border-bottom: 3px solid var(--cor-verde);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Textos --------------------------------------------------------------- */

.title {
  margin: 0 0 18px;
  color: var(--cor-titulo);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text {
  margin: 0 0 16px;
  font-size: 16.5px;
  color: var(--cor-texto);
}

.text:last-of-type {
  margin-bottom: 32px;
}

/* Botão ---------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  background-color: var(--cor-whatsapp);
  color: #ffffff;
  font-size: 16.5px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.button:hover,
.button:focus {
  background-color: var(--cor-whatsapp-hover);
}

.button:focus-visible {
  outline: 3px solid rgba(31, 157, 85, 0.35);
  outline-offset: 2px;
}

.button:active {
  transform: translateY(1px);
}

.button__icon {
  display: inline-flex;
  align-items: center;
}

/* Rodapé --------------------------------------------------------------- */

.footer {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--cor-borda);
}

.footer__brand {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cor-texto-suave);
  letter-spacing: 0.01em;
}

.footer__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cor-texto-suave);
}

.footer__link {
  margin: 12px 0 0;
  font-size: 12px;
}

.footer__link a {
  color: var(--cor-texto-suave);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__link a:hover,
.footer__link a:focus {
  color: var(--cor-verde);
}

/* Página de política de privacidade ------------------------------------ */

.page--doc {
  align-items: flex-start;
  min-height: 100vh;
}

.card--doc {
  max-width: 760px;
  padding: 44px 40px 40px;
  text-align: left;
}

.doc-title {
  margin: 0 0 6px;
  color: var(--cor-titulo);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.doc-date {
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--cor-texto-suave);
}

.card--doc h2 {
  margin: 34px 0 12px;
  color: var(--cor-titulo);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.card--doc h3 {
  margin: 26px 0 10px;
  color: var(--cor-titulo);
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 700;
}

.card--doc h4 {
  margin: 20px 0 8px;
  color: var(--cor-texto);
  font-size: 15px;
  font-weight: 700;
}

.card--doc p {
  margin: 0 0 14px;
  font-size: 15.5px;
}

.card--doc ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.card--doc li {
  margin-bottom: 8px;
  font-size: 15.5px;
}

.card--doc a {
  color: var(--cor-whatsapp-hover);
  text-underline-offset: 2px;
}

.back-link {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cor-verde);
  text-decoration: none;
}

.back-link:hover,
.back-link:focus {
  text-decoration: underline;
}

/* Responsivo ----------------------------------------------------------- */

@media (max-width: 560px) {
  .page {
    padding: 24px 16px;
  }

  .card {
    padding: 40px 24px 30px;
    border-radius: 14px;
  }

  .card--doc {
    padding: 32px 22px 28px;
  }

  .title {
    font-size: 24px;
  }

  .text {
    font-size: 16px;
  }

  .check {
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
  }

  .doc-title {
    font-size: 22px;
  }

  .card--doc h2 {
    font-size: 18px;
  }
}

.doc-back {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--cor-borda);
  font-size: 14px;
  font-weight: 600;
}

.doc-back a {
  color: var(--cor-verde);
  text-decoration: none;
}

.doc-back a:hover,
.doc-back a:focus {
  text-decoration: underline;
}
