html {
  scroll-behavior: smooth;
}
body {
  background-color: #edeeef;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  color: #475a66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-box-sizing: border-box;
}
a {
  transition: all 0.3s ease-in-out;
}
a:focus,
button:focus {
  box-shadow: none !important;
}
a:hover {
  text-decoration: none;
}
li {
  list-style: none;
}
ul {
  padding: 0px;
  margin: 0;
}

/* Titulos */
.titulo-secao {
  font-weight: 700;
  text-align: center;
  font-size: 30px;
  margin: 0 auto 30px;
  color: #003a71;
}
.subtitulo {
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  font-weight: 400;
  margin: 0;
  color: #ffffff;
}
@media (min-width: 768px) {
  .titulo-secao {
    font-size: 40px;
  }
  .subtitulo {
    line-height: 1.5;
    font-size: 22px;
  }
}

/* Botões */
.btn {
  border-radius: 10px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  height: 48px;
  line-height: 48px;
  padding: 0;
  transition: all 0.3s ease-in-out;
}
.btn img {
  margin-left: 10px;
}

/*------------- TOPO -------------*/
#header {
  background: #003a71;
  position: sticky;
  top: 0px;
  z-index: 20;
}
#header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 86px;
  max-width: 1140px;
}
#header nav .logo-editora {
  width: 150px;
}
#header nav .logo-editora img {
  max-width: 100%;
}
.nav-links li {
  list-style: none;
}
.nav-links li a {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}
.nav-links a:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
}
.nav-links .card-body {
  background-color: transparent;
  border: none;
  padding: 0;
}
.nav-links .card {
  min-height: 20px;
}
.nav-links .submenu {
  padding-left: 0;
}
.nav-links .submenu li {
  margin: 0px;
  padding: 4px 0;
}
.nav-links .submenu li a {
  margin: 0px;
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
  text-rendering: geometricPrecision;
}
.burguer {
  cursor: pointer;
}
.burguer div {
  width: 20px;
  height: 2px;
  margin: 5px 0;
  background-color: #ffffff;
  transition: all 0.3s ease;
}
@media (max-width: 767px) {
  .nav-links {
    position: absolute;
    left: 0;
    top: 86px;
    background: #003a71;
    height: 90vh;
    text-align: left;
    transform: translateX(-101%);
    transition: transform 0.3s ease-in-out;
    padding: 0;
    z-index: 100;
    margin-bottom: 0;
    padding-right: 20px;
    width: 90%;
  }
  .nav-links li {
    list-style: none;
    margin: 30px;
  }
  .nav-active {
    transform: translateX(0%);
  }
  .toggle .line1 {
    transform: rotate(-45deg) translate(-4px, 6px);
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    transform: rotate(45deg) translate(-4px, -6px);
  }
}
@media (min-width: 768px) {
  #header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 86px;
    margin: auto;
  }
  .nav-links {
    display: flex;
    gap: 56px;
  }
}
@media (min-width: 992px) {
  #header nav .logo-editora {
    width: 188px;
  }
}

/*------------ NEWSLETTER ------------*/
.iframe-newsletter {
  height: 355px;
}
#newsletter {
  background: #1c568c;
  padding: 80px 0;
}
#newsletter .titulo-secao {
  color: #ffffff;
  margin-bottom: 0;
}
#newsletter .subtitulo {
  margin-bottom: 14px;
}
#newsletter .form-control {
  border: none;
  border-radius: 10px;
  height: 48px;
  color: #77848c;
  font-size: 14px;
  margin-top: 18px;
  padding: 9px 16px 10px 16px;
}
#newsletter .form-control:focus {
  -webkit-box-shadow: 0px 0px 30px -10px rgba(23, 24, 26, 0.5);
  -moz-box-shadow: 0px 0px 30px -10px rgba(23, 24, 26, 0.5);
  box-shadow: 0px 0px 30px -10px rgba(23, 24, 26, 0.5);
}
#newsletter .new {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #e6e8eb;
}
#newsletter .new input[type='checkbox'] {
  margin-right: 8px;
}
.btn-enviar {
  width: 100%;
  max-width: 160px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  background-color: #ffd940;
  color: #003a71;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
}
.btn-enviar:hover {
  background-color: #ffe786;
}
@media (max-width: 992px) {
  .iframe-newsletter {
    height: 421px;
  }
}
@media (max-width: 767px) {
  .iframe-newsletter {
    height: 431px;
  }
  #newsletter {
    padding: 60px 0;
  }
  .btn-enviar {
    margin: 18px auto 0;
  }
  #newsletter .new {
    justify-content: center;
  }
}
@media (max-width: 425px) {
  .iframe-newsletter {
    height: 391px;
  }
  #newsletter {
    padding: 40px 0;
  }
}
@media (max-width: 415px) {
  .iframe-newsletter {
    height: 417px;
  }
}

/*------------ FOOTER ------------*/
footer {
  background: #003a71;
  color: #e6e8eb;
  padding: 80px 0 100px;
}
footer .container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
}
footer a {
  color: #e6e8eb;
  font-weight: 600;
}
footer a:hover {
  color: rgba(255, 255, 255, 0.5);
}
footer h3,
footer p {
  text-align: left;
}
footer h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}
footer p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
}
footer span {
  font-weight: 700;
}
footer .atendimento {
  width: 100%;
  max-width: 350px;
}
footer .pagamento {
  width: 100%;
  max-width: 322px;
}
footer .pagamento ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
footer .redes-sociais {
  width: 100%;
  max-width: 154px;
}
footer .redes-sociais ul li:not(:last-child) {
  margin-bottom: 14px;
}
footer .redes-sociais ul li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
footer .redes-sociais ul li a img {
  margin-right: 8px;
}
@media (max-width: 768px) {
  footer {
    padding: 40px 0 60px;
  }
  footer .container {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  footer .atendimento,
  footer .pagamento,
  footer .redes-sociais {
    max-width: 100%;
  }
}
@media (max-width: 425px) {
  footer {
    padding: 30px 0 50px;
  }
}

/*------------ COPYRIGTH ------------*/
.copyright {
  padding: 20px 0;
  background-color: #ffffff;
}
.copyright .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copyright .copy-salvat {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.copyright .copy-salvat p {
  font-weight: 400;
  font-size: 12px;
  margin-bottom: 0;
  color: #003a71;
}
.copy-contentstuff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}
.copyright .copy-contentstuff img {
  height: 32px;
}

@media (max-width: 600px) {
  .copyright .container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .copyright .copy-salvat {
    flex-direction: column;
  }
  .copyright .copy-contentstuff img {
    height: 28px;
  }
}
