/*
Theme Name: ISPFocus
Theme URI: http://ispfocus.com.br
Author: R&F Digital
Author URI: https://www.instagram.com/rfdigital_of/
Description: Tema criado pela R&F Digital para o site ISPFocus
Version: 1.0
*/

/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Space Grotesk", sans-serif;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* variaveis */

:root {
  --white-color: #fff;
  --color-1: #9d4edd;
  --color-2: #121212;
  --transition: 0.3s;
}

/* classes de fontes */

.text-72 {
  font-size: 4.5rem; /* 72px */
  line-height: 1.1;
  font-weight: 700;
}

.text-32 {
  font-size: 2rem; /* 32px */
  line-height: 1.1;
  font-weight: normal;
}

.text-24-light {
  font-size: 1.5rem; /* 24px */
  line-height: 1.5;
  font-weight: 300;
}

.text-24-medium {
  font-size: 1.5rem; /* 24px */
  line-height: 1.5;
  font-weight: 500;
}

.text-16-medium {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.text-18 {
  font-size: 1.125rem; /* 18px */
  line-height: 1.5;
  font-weight: 300;
}

.text-12-light {
  font-size: 0.75rem; /* 12px */
  line-height: 1.5;
  font-weight: 300;
}

.text-12 {
  font-size: 0.75rem; /* 12px */
  line-height: 1.5;
  font-weight: normal;
}

.text-12-medium {
  font-size: 0.75rem; /* 12px */
  line-height: 1.5;
  font-weight: 500;
}

/* estilos globais */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}


.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

body {
  background-color: var(--color-2);
  color: var(--white-color);
}

header a,
footer a,
.contato a {
  transition: var(--transition);
}

header a:hover,
footer a:hover,
.contato a:hover {
  color: var(--color-1);
}

.introducao {
  height: 75vh;
}

.introducao-home {
  height: 100vh;
}

.introducao-blog {
  height: 65vh;
}

.introducao .sombreamento {
  height: 100%;
  width: 100%;
  background-color: rgba(18, 18, 18, 0.9);
}

.introducao .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

.introducao h1,
.introducao p {
  text-align: center;
}

.introducao h1 {
  max-width: 22ch;
}

.introducao p {
  max-width: 65ch;
  margin-top: 1.2rem;
}

.button {
  background-color: var(--color-1);
  max-width: max-content;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  transition: var(--transition);
}

.button:hover,
.button:focus {
  background-color: #6f2bb4;
  outline: none;
}

.card {
  border: solid 0.01rem var(--color-1);
  border-radius: 0.625rem;
  box-shadow: 0rem 0rem 0.75rem rgba(157, 78, 221, 0.4);
}

.not-found {
  padding-top: 14rem;
  padding-bottom: 10rem;
}

.not-found h1 {
  font-size: 5rem;
  margin: 0 auto;
}

.introducao-contato {
  height: 50vh;
}

@media (max-width: 800px) {
  .introducao {
    height: 80vh;
  }
}

@media (max-height: 550px) {
  .introducao {
    height: 90vh;
  }
}

/* header */

header {
  position: fixed;
  z-index: 99;
  width: 100%;
}

header .logo {
  width: 21rem;
}

header.scrolled {
  background-color: #0d0d0d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 0.5rem;
}

header ul {
  display: flex;
  gap: 2.5rem;
}

.menu-button {
  display: none;
  position: relative;
  z-index: 9;
}

.menu-button .line {
  width: 3rem;
  height: 0.35rem;
  border-radius: 0.25rem;
  background-color: var(--color-1);
  transition: 0.3s;
}

.menu-button .line:nth-child(n + 2) {
  margin-top: 0.6rem;
}

.menu-button.active .line:nth-child(1) {
  display: none;
}

.menu-button.active .line:nth-child(2) {
  transform: rotate(-45deg);
}

.menu-button.active .line:nth-child(3) {
  position: relative;
  transform: rotate(45deg);
  bottom: 0.8rem;
}

@media (max-width: 850px) {
  .menu-button {
    display: block;
  }

  header nav ul {
    display: none;
    gap: 0.25rem;
  }

  header nav ul.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--color-2);
    z-index: 5;
    color: var(--white-color);
  }

  header nav ul a {
    display: block;
    padding: 1rem;
  }
}

/* HOME */

.servicos .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.left-button,
.right-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  background-color: transparent;
  cursor: pointer;
  height: max-content;
  transition: var(--transition);
}

.left-button:hover,
.right-button:hover {
  border-color: var(--color-1);
  box-shadow: 0 0 4px var(--color-1), 0 0 8px var(--color-1),
    0 0 16px var(--color-1);
  transition: all 0.3s ease;
}

.left-button img,
.right-button img {
  width: 1.5rem;
}

.left-button img {
  transform: rotate(180deg);
}

.header-servicos {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
}

.servicos .slide-buttons {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-40%);
  display: flex;
  gap: 1.5rem;
}

.header-servico {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.8rem;
}

.servico p {
  max-width: 40ch;
}

.servico {
  padding: 1.25rem;
}

.servico img {
  width: 2.5rem;
}

.servicos .button {
  display: block;
  margin: 0 auto;
  margin-top: 3rem;
}

.sobre .container {
  display: flex;
  justify-content: space-between;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.sobre .text-content p {
  margin-top: 1.2rem;
  margin-bottom: 1.6rem;
}

.sobre {
  background: linear-gradient(to top, #220d33 0%, #121212 100%);
}

@media (max-width: 980px) {
  .sobre .container {
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
  }
}

.diferenciais {
  background: linear-gradient(to top, #121212 0%, #220d33 100%);
}

.diferenciais .card {
  background: linear-gradient(to top, #121212 0%, #220d33 100%);
}

.diferenciais-sobre {
  background: linear-gradient(to top, #220d33 0%, #121212 53%);
}

.diferenciais-sobre .card {
  background: linear-gradient(to top, #220d33 0%, #121212 53%);
}

.swiper-diferenciais {
  position: relative;
}

.diferenciais .container {
  padding-top: 5rem;
  padding-bottom: 7rem;
  overflow-x: hidden;
}

.diferenciais h1 {
  text-align: center;
  margin-bottom: 3rem;
}

.diferenciais .diferencial {
  padding: 1.25rem;
}

.diferenciais .diferencial img {
  margin: 0 auto;
}

.diferenciais .diferencial h2 {
  text-align: center;
  margin-top: 1.25rem;
}

.swiper-pagination-bullet {
  background-color: transparent !important;
  border: solid 0.01rem var(--color-1);
  opacity: 1 !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-1) !important;
}

.swiper-pagination {
  bottom: -3.5rem !important;
  text-align: center;
}

.contato .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.contato ul {
  margin-top: 3rem;
}

.contato .first-part p {
  max-width: 35ch;
}

.contato ul li a {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.contato ul li a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.contato img {
  width: 2.4rem;
}

.contato form {
  width: 38rem;
  padding: 1.875rem;
}

.contato form label {
  display: block;
}

.contato .form-first-part {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 1.5rem;
}

.contato .form-group {
  width: 100%;
}

.contato .form-group:nth-child(3) {
  margin-top: 1.5rem;
}

.contato input {
  height: 2.5rem;
}

.contato textarea {
  height: 11rem;
}

.contato input,
.contato textarea {
  width: 100%;
  font-size: 1rem;
  padding: 0.375rem 0.75rem;
  background-color: transparent;
  margin-top: 0.5rem;
  color: var(--white-color);
  font-family: "Space Grotesk", sans-serif;
  transition: var(--transition);
}

.contato input:focus,
.contato textarea:focus,
.contato input:hover,
.contato textarea:hover {
  outline: none;
  border-color: var(--color-1);
  box-shadow: 0 0 4px var(--color-1), 0 0 8px var(--color-1),
    0 0 16px var(--color-1);
  transition: all 0.3s ease;
}

.contato .button {
  border: none;
  cursor: pointer;
  max-width: 100%;
  width: 100%;
  color: var(--white-color);
}

.contato input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-family: "Space Grotesk", sans-serif;
}

@media (max-width: 650px) {
  .contato .container {
    flex-direction: column;
    gap: 2rem;
  }
  .contato form {
    width: 100%;
  }
  .contato .form-first-part {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contato .first-part p {
    max-width: 80ch;
  }
}

.parceiros .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.parceiros h1 {
  text-align: center;
  margin-bottom: 3rem;
}

.parceiros .swiper-slide {
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SOBRE */

.equipe .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.equipe h1 {
  text-align: center;
  margin-bottom: 3rem;
}

.img-gondim {
  border: 0.125rem solid #9d4edd;
  border-radius: 0.75rem;
  box-shadow: 0 0 10px rgba(162, 89, 255, 0.5);
  min-width: 25.4rem;
  height: 34.8rem;
}

.text-equipe {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.container-equipe {
  display: flex;
  gap: 3rem;
}

.container-equipe ul li {
  margin-bottom: 0.6rem;
}

/* SERVIÇOS */

.certificacao .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.checklist {
  display: flex;
  flex-direction: column;
  justify-content: left;
  gap: 2rem;
}

.line {
  display: flex;
  gap: 1rem;
}

.line p {
  max-width: 65rem;
}

#linear-background-bottom {
  background: linear-gradient(to top, #220d33 0%, #121212 100%);
}

#linear-background-top {
  background: linear-gradient(to bottom, #220d33 0%, #121212 100%);
}

/* BLOG */

.artigos .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.artigos .slide-buttons {
  display: flex;
  gap: 1.5rem;
}

.header-artigos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 0.5rem;
}

.article-blog .data {
  margin-top: 0.625rem;
}

.article-blog .resumo {
  margin-bottom: 0.625rem;
}

.article-blog h2 {
  margin-top: 0.125rem;
  margin-bottom: 0.125rem;
}

.article-blog a {
  color: var(--color-1);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.article-blog a img {
  width: 0.875rem;
  transition: var(--transition);
}

.article-blog a:hover img {
  transform: translateX(0.2rem);
}

.div_imagem_post {
  position: relative;
  width: 100%;
  height: 12.75rem;
  overflow: hidden;
}

.article-blog.single-post .div_imagem_post {
  height: 24rem;
}

.article-blog.single-post h1 {
  margin-top: 1rem;
}

.article-blog .btn-voltar {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  margin-bottom: 1rem;
}

.article-blog .btn-voltar img {
  transform: scaleX(-1);
}

.article-blog .btn-voltar:hover img {
  transform: translateX(-0.2rem) scaleX(-1);
}

.post-content p {
  margin-top: 1rem;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 1rem;
}

.post-content ul {
  margin-left: 1.5rem;
  margin-top: 1rem;
  list-style: circle;
}

.post-content ol {
  margin-left: 1.5rem;
  margin-top: 1rem;
  list-style: decimal;
}

.post-content img {
  display: inline;
  border-radius: 0.25rem;
}

.div_imagem_post img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.paginacao {
  margin: 0 auto;
  margin-top: 3rem;
  width: max-content;
}

.page-numbers {
  transition: var(--transition);
  padding: 0.25rem;
}

.page-numbers.prev,
.page-numbers.next {
  display: none;
}

.page-numbers:hover {
  color: var(--color-1);
}

.page-numbers.current {
  color: var(--color-1);
}

.post-section {
  padding-top: 8rem;
}

/* termos e condições */

.termos-e-condicoes {
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.termos-conteudo p {
  font-size: 1.25rem;
  margin-top: 1rem;
}

.termos-conteudo h3,
.termos-conteudo h2 {
  font-size: 3rem;
  margin-top: 1rem;
}

/* footer */

footer {
  background-color: #0d0d0d;
}

footer .container {
  padding: 3.125rem 2rem;
}

footer .selos img {
  width: 4rem;
  height: 4rem;
}

footer .selos img:nth-child(n + 2) {
  height: 5rem;
}

footer .selos {
  display: flex;
  gap: 1.5rem;
}

footer h3 {
  margin-bottom: 1.25rem;
}

.footer-info .descricao {
  margin-top: 1.2rem;
  max-width: 24ch;
  margin-bottom: 5rem;
}

.footer-pages ul li:nth-child(n + 2),
.footer-contato ul li:nth-child(n + 2) {
  margin-top: 0.9rem;
}

.footer-pages ul li a {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.footer-contato ul li a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-contato img {
  width: 2.4rem;
}

footer .footer-first-part {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

footer .line {
  height: 0.125rem;
  width: 100%;
  background-color: var(--white-color);
  margin-top: 3.125rem;
}

footer .footer-second-part {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-top: 1.563rem;
}

@media (max-width: 610px) {
  .footer-info .descricao {
    max-width: 45ch;
  }
}
/* responsividade geral */

@media (max-width: 800px) {
  .text-72 {
    font-size: 3rem;
  }

  .text-32 {
    font-size: 1.75rem;
  }

  .text-24-light {
    font-size: 1.25rem;
  }

  .text-24-medium {
    font-size: 1.25rem;
  }

  .text-16-medium {
    font-size: 0.875rem;
  }

  .text-18 {
    font-size: 1rem;
  }

  .text-12-light {
    font-size: 0.625rem;
  }

  .text-12 {
    font-size: 0.625rem;
  }

  .text-12-medium {
    font-size: 0.625rem;
  }
}
@media (max-width: 500px) {
  .text-72 {
    font-size: 2.25rem;
  }

  .text-32 {
    font-size: 1.5rem;
  }

  .text-24-light {
    font-size: 1.125rem;
  }

  .text-24-medium {
    font-size: 1.125rem;
  }

  .text-16-medium {
    font-size: 0.75rem;
  }

  .text-18 {
    font-size: 0.875rem;
  }

  .text-12-light {
    font-size: 0.75rem;
  }

  .text-12 {
    font-size: 0.75rem;
  }

  .text-12-medium {
    font-size: 0.75rem;
  }
}

@media (max-width: 850px) {
  html {
    font-size: 90%;
  }

  header .text-24-medium {
    font-size: 2rem;
  }
}

@media (max-width: 425px) {
  .servicos .slide-buttons {
    gap: 20rem;
  }

  .artigos .slide-buttons {
    gap: 0.75rem;
  }
}

@media (max-width: 400px) {
  .servicos .slide-buttons {
    gap: 18rem;
  }
}

@media (max-width: 368px) {
  .servicos .slide-buttons {
    gap: 16rem;
  }
}

@media (max-width: 341px) {
  .servicos .slide-buttons {
    gap: 14rem;
  }
}

@media (max-width: 320px) {
  .servicos .slide-buttons {
    gap: 12rem;
  }
}

@media (max-width: 950px) {
  .container-equipe {
    flex-direction: column;
  }

  .container-equipe .img-gondim {
    width: 28rem;
    align-self: center;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 85%;
  }

  .container-equipe .img-gondim {
    width: 100%;
    min-width: 100%;
    align-self: center;
  }
}
