@font-face{font-family:Canal;font-style:italic;font-weight:700;font-display:swap;unicode-range:U+20-7E,U+A0-AC,U+AE-FF,U+152-153,U+2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+2009,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193,U+2212;src:url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-Latin.4825ae.woff2)format("woff2"),url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-Latin.b56a5a.woff)format("woff")}@font-face{font-family:Canal;font-style:italic;font-weight:700;font-display:swap;unicode-range:U+100-137,U+139-148,U+14A-151,U+154-17E,U+18F,U+192,U+1FA-1FF,U+218-21B,U+237,U+259,U+2C7,U+2DD,U+1E80-1E85,U+1E9E,U+1EF2-1EF5,U+1EF8-1EF9,U+20A8,U+20B4,U+20B8-20BA,U+20BD,U+20BF,U+2113,U+2D8-2D9,U+2DB,U+300,U+302-303,U+306-307,U+30A-30C,U+312,U+323,U+326-328,U+1EA0-1EA1,U+1EAC-1EAD,U+1EB6-1EB9,U+1EBC-1EBD,U+1EC6-1EC7,U+1ECA-1ECD,U+1ED8-1ED9,U+1EE4-1EE5;src:url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-LatinExtended.dab0a2.woff2)format("woff2"),url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-LatinExtended.b65fba.woff)format("woff")}@font-face{font-family:Canal;font-style:italic;font-weight:700;font-display:swap;unicode-range:U+301,U+400-45F,U+490-491;src:url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-Cyrillic.d6cd81.woff2)format("woff2"),url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-Cyrillic.3b2c18.woff)format("woff")}@font-face{font-family:Canal;font-style:italic;font-weight:700;font-display:swap;unicode-range:U+374-375,U+37E,U+384-38A,U+38C,U+38E-3A1,U+3A3-3CF,U+3D7;src:url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-Greek.9f7723.woff2)format("woff2"),url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-Greek.626f0e.woff)format("woff")}@font-face{font-family:Canal;font-style:italic;font-weight:700;font-display:swap;unicode-range:U+E3F,U+2070,U+2074-2079,U+2080-2089,U+2116-2117,U+2120,U+212E,U+2190,U+2192,U+2202,U+2206,U+220F,U+2211,U+221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+2460-2469,U+24EA,U+24FF,U+25BA,U+25C4,U+25CA-25CB,U+25D8-25D9,U+263A-263C,U+2640,U+2642,U+2660,U+2663,U+2665-2666,U+266A-266B,U+2776-2793,U+E000-E002,U+FEFF,U+1F10B-1F10C;src:url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-SymbolsExtended.ad5fe9.woff2)format("woff2"),url(https://static.canalplus.com/dive/fonts/woff/Canal-VF-rc.1-wght700.ital1-SymbolsExtended.63b9c5.woff)format("woff")}@font-face{font-family:Hind;font-style:normal;font-weight:400;font-display:swap;unicode-range:U+20-7E,U+A0-AC,U+AE-FF,U+152-153,U+2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+2009,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193,U+2212;src:url(https://static.canalplus.com/dive/fonts/woff/Hind-Regular-400-Latin.38c582.woff2)format("woff2"),url(https://static.canalplus.com/dive/fonts/woff/Hind-Regular-400-Latin.bd434b.woff)format("woff")}@font-face{font-family:Hind;font-style:normal;font-weight:400;font-display:swap;unicode-range:U+100-137,U+139-148,U+14A-151,U+154-17E,U+18F,U+192,U+1FA-1FF,U+218-21B,U+237,U+259,U+2C7,U+2DD,U+1E80-1E85,U+1E9E,U+1EF2-1EF5,U+1EF8-1EF9,U+20A8,U+20B4,U+20B8-20BA,U+20BD,U+20BF,U+2113,U+2D8-2D9,U+2DB,U+300,U+302-303,U+306-307,U+30A-30C,U+312,U+323,U+326-328,U+1EA0-1EA1,U+1EAC-1EAD,U+1EB6-1EB9,U+1EBC-1EBD,U+1EC6-1EC7,U+1ECA-1ECD,U+1ED8-1ED9,U+1EE4-1EE5;src:url(https://static.canalplus.com/dive/fonts/woff/Hind-Regular-400-LatinExtended.438c04.woff2)format("woff2"),url(https://static.canalplus.com/dive/fonts/woff/Hind-Regular-400-LatinExtended.e78b50.woff)format("woff")}@font-face{font-family:Hind;font-style:normal;font-weight:600;font-display:swap;unicode-range:U+20-7E,U+A0-AC,U+AE-FF,U+152-153,U+2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+2009,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193,U+2212;src:url(https://static.canalplus.com/dive/fonts/woff/Hind-Semibold-600-Latin.d935cd.woff2)format("woff2"),url(https://static.canalplus.com/dive/fonts/woff/Hind-Semibold-600-Latin.712f79.woff)format("woff")}@font-face{font-family:Hind;font-style:normal;font-weight:600;font-display:swap;unicode-range:U+100-137,U+139-148,U+14A-151,U+154-17E,U+18F,U+192,U+1FA-1FF,U+218-21B,U+237,U+259,U+2C7,U+2DD,U+1E80-1E85,U+1E9E,U+1EF2-1EF5,U+1EF8-1EF9,U+20A8,U+20B4,U+20B8-20BA,U+20BD,U+20BF,U+2113,U+2D8-2D9,U+2DB,U+300,U+302-303,U+306-307,U+30A-30C,U+312,U+323,U+326-328,U+1EA0-1EA1,U+1EAC-1EAD,U+1EB6-1EB9,U+1EBC-1EBD,U+1EC6-1EC7,U+1ECA-1ECD,U+1ED8-1ED9,U+1EE4-1EE5;src:url(https://static.canalplus.com/dive/fonts/woff/Hind-Semibold-600-LatinExtended.c07d0b.woff2)format("woff2"),url(https://static.canalplus.com/dive/fonts/woff/Hind-Semibold-600-LatinExtended.6640d9.woff)format("woff")}:root{font-feature-settings:"ss01"}

:root {
  --vermelho: #dc2d4f;
  --vermelho-escuro: #b8203f;
  --vermelho-claro: #f1a3b0;
  --erro: #e5343f;
  --erro-fundo: #fdeced;
  --sucesso: #1f8a4c;
  --sucesso-fundo: #e9f6ee;
  --cinza-botao: #ebebeb;
  --borda: #bdbdbd;
  --texto: #111;
  --texto-suave: #6f6f6f;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  height: 100%;
  background: #fff;
  color: var(--texto);
  font-family: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* ---------- cabeçalho ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 32px;
  border-bottom: 1px solid #ececec;
}
.logo {
  background: #000;
  color: #fff;
  padding: 2px 8px;
  font-size: 24px;
  font-weight: 800;
  font-family: "Canal", sans-serif;
}
.logo i { font-style: italic; }
header p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--texto-suave);
}
header .iconify { font-size: 18px; }

/* ---------- área das telas ---------- */
#app {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 65px);
  padding: 56px 20px 80px;
}
.view {
  width: 100%;
  max-width: 480px;
  animation: entrar 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.view.sair { animation: sair 0.2s ease-in both; }

@keyframes entrar {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes sair {
  to { opacity: 0; transform: translateX(-24px); }
}

/* ---------- tipografia ---------- */
.titulo {
  margin-bottom: 14px;
  font-size: 34px;
  font-family: "Canal", sans-serif;
  text-transform: uppercase;
}
.texto {
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
}
.texto strong { font-weight: 700; }

.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--vermelho);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.link:hover { text-decoration: underline; }
.link-vermelho { display: inline-block; margin-top: 14px; }
.link-texto { color: var(--vermelho); font-weight: 600; text-decoration: underline; }
.seta { display: inline-block; margin-left: 2px; }
.rodape { margin-top: 32px; text-align: center; }

/* ---------- campos ---------- */
.campo {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--borda);
  border-radius: 0;
  background: #fff;
  font-size: 15px;
  color: var(--texto);
  outline: none;
  transition: border-color 0.15s;
}
.campo::placeholder { color: #8a8a8a; font-size: 14px; }
.campo:focus { border-color: #000; }
.campo.erro { border-color: var(--erro); }

.campo-senha { position: relative; margin-top: 12px; }
.campo-senha .campo { padding-right: 52px; }
.olho {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: #8a8a8a;
  cursor: pointer;
}
.olho .iconify { font-size: 22px; }

/* ---------- alertas ---------- */
.alerta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--erro-fundo);
  font-size: 14px;
  line-height: 1.4;
}
.alerta.info { background: var(--sucesso-fundo); }
.alerta .x {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--erro);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.alerta.info .x { background: var(--sucesso); }

/* ---------- requisitos de senha ---------- */
.regras {
  margin-top: 10px;
  list-style: none;
  font-size: 13px;
  line-height: 1.7;
  color: #333;
}
.regras li { position: relative; padding-left: 14px; }
.regras li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: #999;
}
.regras li.ok { color: var(--sucesso); }
.regras li.ok::before { background: var(--sucesso); }

/* ---------- checkbox ---------- */
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.caixa {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid #555;
  background: #fff;
}
.check input:focus-visible + .caixa { outline: 2px solid #000; outline-offset: 2px; }
.check input:checked + .caixa { background: #000; border-color: #000; }
.check input:checked + .caixa::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- botões ---------- */
.acoes { display: flex; gap: 12px; margin-top: 40px; }
.acoes.duas .btn { flex: 1; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-width: 160px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.1s;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.btn:disabled { cursor: not-allowed; }

.btn-cinza { background: var(--cinza-botao); color: #000; }
.btn-cinza:hover:not(:disabled) { background: #dedede; }

.btn-vermelho {
  margin-left: auto;
  font-family: "Canal", sans-serif;
  background: var(--vermelho);
  color: #fff;
  font-style: italic;
  text-transform: uppercase;
}
.btn-vermelho:hover:not(:disabled) { background: var(--vermelho-escuro); }
.btn-vermelho:disabled { background: var(--vermelho-claro); }

.btn-auto { margin-left: 0; margin-top: 36px; }

.btn.carregando { color: transparent; }
.btn.carregando::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: girar 0.7s linear infinite;
}
.btn-cinza.carregando::after {
  border-color: rgba(0, 0, 0, 0.2);
  border-top-color: #000;
}
@keyframes girar { to { transform: rotate(360deg); } }

.legal {
  margin-top: 36px;
  font-size: 10px;
  color: var(--texto-suave);
  text-align: justify;
}

/* ---------- responsivo ---------- */
@media (max-width: 640px) {
  header { padding: 12px 18px; }
  #app { padding: 36px 18px 60px; }
  .titulo { font-size: 28px; }
  .acoes { gap: 10px; }
  .btn { min-width: 0; flex: 1; }
  .btn-vermelho { margin-left: 0; }
}