﻿:root {
  --color-text: #667085;
  --color-title: #292d35;
  --color-green: #0b7748;
  --color-red: #d20f14;
  --color-yellow: #f2c538;
}
html {
  font-size: 16px;
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  color: var(--color-text);
  background-color: #f8fafb;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-title);
}

html {
  font-size: 16px;
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-title);
}

a,
a:active,
a:visited {
  color: var(--color-green);
}
a:hover,
a:focus {
  color: #07643b;
}
/* 
======== FORM CSS ============
*/

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-title);
  margin-bottom: 3px;
}
label ~ a {
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 3px;
}
input::placeholder {
  font-size: 14px;
  font-weight: 400;
}
.input-icon {
  position: relative;
}
.input-icon input {
  padding-left: 34px;
}
.input-icon i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d; /* cor “muted” */
  font-size: 1rem;
}
.input-icon i.input-icon-left {
  left: 11px;
}
.input-icon i.input-icon-right {
  right: 1rem;
  cursor: pointer;
}
.input-icon i:nth-child(2) ~ input {
  padding-right: 40px;
}

/* 
======== MODAL CSS ============
*/
.modal-header {
  align-items: flex-start;
}

.modal-header h2 {
  font-weight: 700;
  font-size: 21px;
  margin-top: 0;
  margin-bottom: 2px;
}
.modal-header p {
  color: #6d6d6d;
  font-size: 14px;
  margin: 0;
}

.modal-header span {
  height: 2px;
  width: 65px;
  margin-top: 9px;
  display: block;
  background: linear-gradient(
    to right,
    #0b7748 0%,
    #0b7748 33%,
    #d20f14 33%,
    #d20f14 66%,
    #f2c538 66%,
    #f2c538 100%
  );
}

/* 
======== BUTTONS CSS ============
*/

.btn-superatche {
  display: inline-block;
  padding: 13px 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-superatche-verde {
  background-color: var(--color-green);
  color: white;
}

.btn-superatche-verde:hover {
  background-color: #07643b;
  color: white;
}
.btn-superatche-transparente,
.btn-superatche-transparente:hover {
  background-color: transparent;
  color: var(--color-title);
}

.btn-superatche-outline-verde {
  background-color: white;
  color: var(--color-green);
  border-color: var(--color-green);
}

.btn-superatche-outline-verde:hover {
  background-color: white;
  color: #07643b;
  border-color: #07643b;
}

/* 
======== CADASTRO/LOGIN CSS ============
*/

.left-panel {
  display: flex;
  justify-content: center;
  padding: 25px 0;
  background-color: white;
}

.left-content {
  max-width: 375px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.left-content > a > img {
  max-width: 150px;
  margin: 0 auto;
}

.left-content > form {
  margin: 30px 0;
}

.left-content > form h1 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 4px;
  text-align: center;
}

.left-content > form p {
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 14px;
  text-align: center;
}

.left-content > form #termos ~ label {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text);
}

.left-content > form #termos ~ label a {
  font-weight: 500;
  color: var(--color-text);
}

.left-content > p {
  font-size: 11px;
  margin: 0;
  text-align: center;
}

.right-panel {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.right-content {
  position: relative;
  z-index: 1;
  padding: 35px 40px 50px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.right-content h1 {
  color: white;
  margin: 0 0 40px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 54px;
}

@media screen and (min-width: 1200px) {
  .right-content h1 {
    font-size: 62px;
  }
}

@media screen and (min-width: 1400px) {
  .right-content h1 {
    font-size: 84px;
  }
}

.right-content h2 {
  color: white;
  margin: 0;
  font-weight: 400;
  font-size: 37px;
  max-width: 370px;
  line-height: 1.4;
}
.right-content span {
  height: 10px;
  width: 160px;
  background: linear-gradient(
    to right,
    #0b7748 0%,
    #0b7748 33%,
    #d20f14 33%,
    #d20f14 66%,
    #f2c538 66%,
    #f2c538 100%
  );
}

/* 
======== VERIFICAR/ESQUECI SENHA/TROCAR SENHA CSS ============
*/

.center-panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.center-panel .container {
  max-width: 490px;
}

.center-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 0;
}

.center-content > img {
  max-width: 150px;
  margin: 0 auto;
}

.center-content > p {
  font-size: 11px;
  margin: 0;
  text-align: center;
  color: white;
}
.center-content .card {
  padding: 24px;
  margin: 20px 0;
}

@media screen and (min-width: 768px) {
  .center-content .card {
    padding: 32px;
  }
}
.center-content .card h1 {
  margin-top: 0;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 25px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .center-content .card h1 {
    font-size: 28px;
  }
}
.center-content .card > p {
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
}

.center-content .card form .otp-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.center-content .card form .otp-input {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 28px;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .center-content .card form .otp-input {
    width: 85px;
    height: 85px;
    font-size: 38px;
  }
}
.center-content .card form ~ p {
  margin-bottom: 0;
}

/* 
======== QUESTIONÁRIOS CSS ============
*/

.questionario__header {
  position: relative;
  background-color: white;
  overflow: hidden;
}

.questionario__header > img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 285px;
  z-index: 0;
  opacity: 0.4;
}
@media screen and (min-width: 768px) {
  .questionario__header > img {
    opacity: 1;
  }
}

.questionario__header::before {
  content: "";
  height: 4px;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
}
.questionario__header.etapa-1::before {
  background: linear-gradient(
    to right,
    #0b7748 0%,
    #0b7748 33%,
    #e0e2e7 33%,
    #e0e2e7 66%,
    #e0e2e7 66%,
    #e0e2e7 100%
  );
}
.questionario__header.etapa-2::before {
  background: linear-gradient(
    to right,
    #0b7748 0%,
    #0b7748 33%,
    #d20f14 33%,
    #d20f14 66%,
    #e0e2e7 66%,
    #e0e2e7 100%
  );
}
.questionario__header.etapa-3::before {
  background: linear-gradient(
    to right,
    #0b7748 0%,
    #0b7748 33%,
    #d20f14 33%,
    #d20f14 66%,
    #f2c538 66%,
    #f2c538 100%
  );
}

.questionario__nav {
  padding: 10px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  position: relative;
}
.questionario__nav img {
  max-width: 140px;
  margin: 0 auto 10px;
}
@media screen and (min-width: 768px) {
  .questionario__nav {
    padding: 15px 25px 25px;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 0 15px;
  }
  .questionario__nav img {
    margin-left: 0;
  }
}

.questionario__infos {
  max-width: 585px;
  margin: 0 auto;
}

.questionario__infos ul,
.questionario__infos ul li {
  padding: 0;
  margin: 0;
}
.questionario__infos ul {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-bottom: 5px;
}

@media screen and (min-width: 768px) {
  .questionario__infos ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style-position: inside;
    margin-bottom: 15px;
  }
}

.questionario__infos ul li {
  font-size: 13px;
  color: #667085;
}
.questionario__infos ul li.ativo {
  color: var(--color-green);
}
.questionario__infos ul li.ativo ~ li {
  color: #d9d9d9;
}
.questionario__infos ul li span {
  display: none;
}

@media screen and (min-width: 768px) {
  .questionario__infos ul li span {
    display: initial;
  }
}
.questionario__infos h1 {
  font-size: 29px;
  margin-bottom: 4px;
  margin-top: 0;
  text-align: center;
  font-weight: 700;
}

.questionario__infos p {
  font-size: 14px;
  margin: 0;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .questionario__infos h1 {
    text-align: left;
  }

  .questionario__infos p {
    text-align: left;
  }
}

.questionario__formulario .container {
  max-width: 585px;
  margin: 0 auto;
}

.questionario__formulario form {
  background-color: white;
  padding: 28px 18px 23px;
  border: 1px solid #e0e2e7;
  border-top: none;
  border-radius: 0 0 8px 8px;
}
.questionario__obrigado {
  margin: 20px 0;
}

.questionario__obrigado h1 {
  text-align: center;
  color: white;
  margin-top: 0;
  font-size: 34px;
  font-weight: 700;
}

.questionario__obrigado p {
  text-align: center;
  color: #bcbcbc;
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .questionario__obrigado h1 {
    font-size: 42px;
  }

  .questionario__obrigado p {
    font-size: 18px;
  }
}

/* 
======== APP NAV CSS ============
*/

nav {
  background-color: white;
  border-bottom: 1px solid #e3e3e3;
  padding: 10px;
}

nav img {
  margin: 0 auto;
  display: block;
  max-width: 110px;
}

/* 
======== APP MAIN CSS ============
*/
main {
  padding: 30px 0;
}

main .container {
  max-width: 650px;
}

main h1 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
}

main h1 ~ span {
  height: 2px;
  width: 65px;
  display: inline-block;
  background: linear-gradient(
    to right,
    #0b7748 0%,
    #0b7748 33%,
    #d20f14 33%,
    #d20f14 66%,
    #f2c538 66%,
    #f2c538 100%
  );
}

main .grupos {
  margin: 15px 0 15px;
  padding: 0;
  list-style: none;
}

main .grupos .card {
  padding: 0;
}
main .grupos li {
  margin-bottom: 8px;
}
main .grupos .card .card__data {
  padding: 15px 20px;
}
main .grupos .card .card__data .card__data__nome {
  margin-bottom: 25px;
}
main .grupos .card .card__data .card__data__nome h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.card__data__atendimentos .atendimentos__grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0.5rem;
}
@media (max-width: 1024px) {
  .card__data__atendimentos .atendimentos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .card__data__atendimentos .atendimentos__grid {
    grid-template-columns: 1fr;
  }
  .card__data__atendimentos .atendimentos__grid > div {
    padding: 5px 8px;
    font-size: 12px;
  }
}

.card__data__atendimentos .atendimentos__grid > div {
  display: inline-block;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #c2c6ce;
  border-radius: 7px;
  text-align: center;
  white-space: nowrap;
  color: var(--color-title);
  font-family: "Montserrat", sans-serif;
  line-height: 1;
  text-transform: uppercase;
}

main .grupos .card .card__data .card__data__participantes {
  text-align: right;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}
main .grupos .card .card__data .card__data__participantes h3 {
  font-size: 27px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
}
main .grupos .card .card__data .card__data__participantes a {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--color-green);
  background-color: transparent;
  color: var(--color-green);
}

main .grupos .card .card__footer {
  padding: 5px 20px 7px;
  border-top: 1px solid #0000002d;
  display: flex;
  gap: 12px;
  align-items: center;
}

@media screen and (max-width: 768px) {
  main .grupos .card .card__footer {
    flex-direction: column;
    align-items: initial;
    gap: 4px;
  }
}

main .grupos .card .card__footer > div:first-of-type {
  flex-grow: 1;
}
main .grupos .card .card__footer a {
  font-size: 13px;
  font-weight: 400;
  color: #d20f14;
  line-height: 1.4;
  display: inline-block;
  white-space: nowrap;
}
main .grupos .card label,
#entrarGrupoModal .modal-body label {
  color: #898989;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 4px;
}
main .grupos .card .card__footer label {
  margin: 0;
  margin-right: 10px;
}

main .grupos .card .card__footer h3 {
  display: inline-block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

main .grupos ~ button {
  background-color: rgba(224, 226, 231, 0.3);
  border: 1px dashed #c2c6d0;
  width: 100%;
  border-radius: 8px;
  padding: 17px 10px;
  color: #a1a1a3;
  font-size: 16px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
}

#entrarGrupoModal .modal-body {
  background-color: #f8fafb;
  border-radius: 0 0 calc(0.5rem - 1px) calc(0.5rem - 1px);
}
#entrarGrupoModal .modal-body .card {
  padding: 12px 18px;
  margin-bottom: 15px;
}

#entrarGrupoModal .modal-body .card h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

#entrarGrupoModal .modal-body .card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}
#entrarGrupoModal .modal-body .card button {
  padding: 10px 17px;
}

#entrarGrupoModal .modal-body label {
  line-height: 1;
  display: block;
}
