/*=========================================================
CMTECH BLOG
PARTE 1
Base + Navbar + Hero
=========================================================*/

/*=========================
RESET
=========================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #050505;
  color: #fff;
  line-height: 1.8;
  margin: 0;

}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

.navbar,
.navbar a,
.logo-text {
  font-family: "Segoe UI", sans-serif;
}
#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}
/*=========================
VARIÁVEIS
=========================*/
:root {
  --pink: #ff1493;
  --pink-light: #ff5bcf;

  --dark: #050505;
  --dark2: #0b0b0b;

  --card: #0d0d0d;

  --border: rgba(255, 255, 255, 0.08);

  --text: #cfcfcf;

  --title: #ffffff;

  --shadow:
    0 0 15px rgba(255, 20, 147, 0.25), 0 0 35px rgba(255, 20, 147, 0.18);
}
/*=========================
FUNDO
=========================*/

body::before {
  content: "";

  position: fixed;

  width: 700px;

  height: 700px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(255, 0, 122, 0.12), transparent 70%);

  top: -250px;

  right: -200px;

  z-index: -2;
}

body::after {
  content: "";

  position: fixed;

  width: 500px;

  height: 500px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(255, 0, 122, 0.06), transparent 70%);

  bottom: -180px;

  left: -150px;

  z-index: -2;
}

/*=========================
SELEÇÃO
=========================*/

::selection {
  background: var(--pink);

  color: #fff;
}

/*=========================
SCROLLBAR
=========================*/

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #080808;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff007a, #ff4ba5);
  border-radius: 20px;
  border: 2px solid #080808;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff4ba5, #ff007a);
}

/* ===================================
NAVBAR
=================================== */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 18px 8%;

  background: rgba(0, 0, 0, 0.55);

  backdrop-filter: blur(15px);

  border-bottom: 1px solid var(--border);

  z-index: 999;
}

.logo a {
  display: flex;

  align-items: center;

  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 45px;
}

.logo-text {
  font-size: 1.5rem;

  font-weight: 700;
  text-decoration: none;
}

.cm {
  color: var(--pink);
}

.tech {
  color: white;
}

.menu {
  display: flex;

  gap: 35px;
}

.menu a {
  position: relative;

  font-weight: 500;
  text-decoration: none;
  color: white;
}

.menu a::after {
  content: "";

  position: absolute;

  bottom: -7px;

  left: 0;

  height: 2px;

  width: 0;

  background: var(--pink);

  transition: 0.4s;
}

.menu a:hover::after {
  width: 100%;
}

/*==================================================
CONTAINER
==================================================*/

.container {
  width: min(1100px, 92%);

  margin: auto;
}

/*==================================================
ARTIGO
==================================================*/

.artigo {
  padding: 70px 0;
  }

/*==================================================
HERO
==================================================*/

.artigo-header {
  position: relative;

  text-align: center;

  margin-bottom: 40px;
}

.artigo-header::before {
  content: "";

  position: absolute;

  width: 500px;

  height: 500px;

  background: var(--pink);

  filter: blur(180px);

  opacity: 0.15;

  left: 50%;

  top: -120px;

  transform: translateX(-50%);

  z-index: -1;
}

/*=========================
BADGE
=========================*/

.categoria {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 10px 24px;

  border-radius: 60px;

  border: 1px solid rgba(255, 0, 122, 0.25);

  background: rgba(255, 0, 122, 0.08);

  color: var(--pink);

  font-size: 0.95rem;

  font-weight: 600;

  margin-bottom: 15px;
}

.categoria::before {
  content: "";

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: var(--pink);
}

/*=========================
TÍTULO
=========================*/

.artigo-header h1 {
  color: #fff;

  font-size: 4rem;

  line-height: 1.15;

  font-weight: 700;

  margin-bottom: 30px;
}

.artigo-header h1 span {
  color: var(--pink);
}

/*=========================
SUBTÍTULO
=========================*/

.subtitulo {
  width: min(750px, 100%);

  margin: auto;

  color: var(--text);

  font-size: 1.18rem;

  line-height: 2;
}

/*=========================
INFORMAÇÕES
=========================*/

.artigo-info {
  margin-top: 40px;

  display: flex;

  justify-content: center;

  gap: 35px;

  flex-wrap: wrap;
}

.artigo-info span {
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

/*==================================================
IMAGEM HERO
==================================================*/

.capa-artigo {
  width: 100%;
  max-width: 1000px;
  height: 450px;
  display: block;
  margin: 70px auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(255, 20, 147, 0.15);
}

/*=========================================================
CMTECH BLOG
PARTE 2
Conteúdo do Artigo
=========================================================*/

/*=========================
CONTEÚDO
=========================*/

.artigo-conteudo {
  max-width: 850px;

  margin: auto;
}

.artigo-conteudo section {
  margin-bottom: 90px;
}

/*=========================
PARÁGRAFOS
=========================*/

.artigo-conteudo p {
  color: var(--text);

  font-size: 1.08rem;

  line-height: 2.1;

  margin-bottom: 24px;
}

.artigo-conteudo strong {
  color: #ffffff;

  font-weight: 600;
}

.artigo-conteudo em {
  color: var(--pink);

  font-style: normal;
}

/*=========================
TÍTULOS
=========================*/

.artigo-conteudo h2 {
  color: #fff;

  font-size: 2.3rem;

  margin-bottom: 35px;

  position: relative;

  padding-left: 25px;

  line-height: 1.3;
}

.artigo-conteudo h2::before {
  content: "";

  position: absolute;

  left: 0;

  top: 5px;

  width: 6px;

  height: 45px;

  border-radius: 10px;

  background: linear-gradient(180deg, var(--pink), var(--pink-light));
}

.artigo-conteudo h3 {
  color: #f2f2f2;

  margin: 45px 0 18px;

  font-size: 1.5rem;
}

/*=========================
LINKS
=========================*/

.artigo-conteudo a {
  color: var(--pink);

  text-decoration: none;

  transition: 0.3s;
}

.artigo-conteudo a:hover {
  color: var(--pink-light);
}

/*=========================
LISTAS
=========================*/

.artigo-conteudo ul {
  margin: 30px 0;

  padding-left: 28px;
}

.artigo-conteudo li {
  color: var(--text);

  margin-bottom: 18px;

  line-height: 1.9;
}

.artigo-conteudo li::marker {
  color: var(--pink);
}

/*=========================
IMAGENS INTERNAS
=========================*/

.artigo-conteudo img {
  width: 100%;

  margin: 45px 0;

  border-radius: 18px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 6px;

  background: rgba(255, 255, 255, 0.03);
}

/*=========================
BLOCKQUOTE
=========================*/

.artigo-conteudo blockquote {
  margin: 50px 0;

  padding: 35px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--pink);
}

.artigo-conteudo blockquote p {
  margin: 0;

  color: #d6d6d6;

  font-size: 1.1rem;

  font-style: italic;
}

/*=========================
CAIXA DE DESTAQUE
=========================*/

.destaque {
  margin: 60px 0;

  padding: 35px;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 20, 147, 0.15);

  transition: 0.4s;
  position: relative;

  overflow: hidden;
}

.destaque::before {
  content: "";

  position: absolute;

  width: 250px;

  height: 250px;

  border-radius: 50%;

  background: rgba(255, 0, 122, 0.08);

  right: -100px;

  top: -100px;

  filter: blur(40px);
  transform: translateY(-8px);
  border-color: var(--pink);
  box-shadow: var(--shadow);
}

.destaque h3 {
  color: #fff;

  margin-bottom: 18px;
}

.destaque p {
  margin: 0;
}

/*=========================
TABELAS
=========================*/

.artigo-conteudo table {
  width: 100%;

  border-collapse: collapse;

  margin: 50px 0;

  background: #101010;

  border-radius: 15px;

  overflow: hidden;
}

.artigo-conteudo th {
  background: rgba(255, 0, 122, 0.12);

  color: #fff;

  padding: 18px;

  text-align: left;
}

.artigo-conteudo td {
  padding: 18px;

  color: #b6b6b6;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/*=========================
CÓDIGO
=========================*/

.artigo-conteudo pre {
  margin: 40px 0;

  padding: 25px;

  border-radius: 16px;

  background: #0d0d0d;

  border: 1px solid rgba(255, 255, 255, 0.08);

  overflow: auto;
}

.artigo-conteudo code {
  color: #ff8cc3;

  font-family: Consolas, monospace;
}

/*=========================
SEPARADOR
=========================*/

.divisor {
  width: 120px;

  height: 3px;

  background: linear-gradient(90deg, transparent, var(--pink), transparent);

  margin: 10px auto;
}

/*=========================
INFO BOX
=========================*/

.info-box {
  display: flex;

  gap: 20px;

  align-items: flex-start;

  margin: 45px 0;

  padding: 28px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 20, 147, 0.15);

  transition: 0.4s;
}

.info-box i {
  font-size: 2rem;

  color: var(--pink);
}

.info-box h4 {
  color: #fff;

  margin-bottom: 10px;
}

.info-box p {
  margin: 0;
}
.info-box:hover {
  transform: translateY(-8px);
  border-color: var(--pink);
  box-shadow: var(--shadow);
}
/*=========================
CHECKLIST
=========================*/

.check-list {
  list-style: none;

  padding: 0;

  margin: 40px 0;
}

.check-list li {
  display: flex;

  align-items: center;

  gap: 15px;

  padding: 18px 22px;

  margin-bottom: 15px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 20, 147, 0.15);
}

.check-list li::before {
  content: "✓";

  width: 30px;

  height: 30px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  background: rgba(255, 0, 122, 0.15);

  color: var(--pink);

  font-weight: bold;

  flex-shrink: 0;
}

/*=========================
ESTATÍSTICAS
=========================*/

.estatisticas {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;

  margin: 70px 0;
}

.estatisticas .item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 20, 147, 0.15);

  transition: 0.4s;

  border-radius: 18px;

  padding: 35px;

  text-align: center;
}

.estatisticas h3 {
  color: var(--pink);

  font-size: 2.2rem;

  margin-bottom: 10px;
}

.estatisticas p {
  margin: 0;

  color: #a7a7a7;
}
.estatisticas .item:hover {
  transform: translateY(-8px);
  border-color: var(--pink);
  box-shadow: var(--shadow);
}
/*=========================================================
CMTECH BLOG
PARTE 3
CTA • ARTIGOS RELACIONADOS • FOOTER • RESPONSIVO
=========================================================*/

/*==================================================
CTA FINAL
==================================================*/

.cta-blog {
  position: relative;

  margin: 120px auto 80px;

  padding: 70px 50px;

  max-width: 1000px;

  border-radius: 30px;

  text-align: center;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 20, 147, 0.15);

  box-shadow: var(--shadow);
}

.cta-blog::before {
  content: "";

  position: absolute;

  width: 350px;

  height: 350px;

  background: rgba(255, 0, 122, 0.18);

  border-radius: 50%;

  filter: blur(120px);

  top: -150px;

  right: -100px;
}

.cta-blog h2 {
  color: #fff;

  font-size: 2.5rem;

  margin-bottom: 20px;
}

.cta-blog p {
  max-width: 650px;

  margin: auto;

  color: #9e9e9e;

  line-height: 2;

  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;
}

/*==================================================
BOTÕES
==================================================*/

.btn-primary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 16px 40px;

  border-radius: 50px;

  background: var(--pink);

  color: #fff;

  text-decoration: none;

  font-weight: 600;

  transition: 0.35s;
}

.btn-primary:hover {
  transform: translateY(-5px);

  box-shadow: 0 15px 35px rgba(255, 0, 122, 0.35);
}

.btn-secondary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 16px 40px;

  border-radius: 50px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  background: #101010;

  color: #fff;

  text-decoration: none;

  transition: 0.35s;
}

.btn-secondary:hover {
  border-color: var(--pink);

  color: var(--pink);
}

/*==================================================
ARTIGOS RELACIONADOS
==================================================*/

.relacionados {
  margin: 70px auto;
}

.relacionados h2 {
  text-align: center;

  color: #fff;

  margin-bottom: 60px;

  font-size: 2.4rem;
}

.cards-blog {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 30px;
}

.card-blog {
  background: rgba(255, 255, 255, 0.03);

  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 20, 147, 0.15);

  transition: 0.4s;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 22px;

  overflow: hidden;

  transition: 0.35s;
}

.card-blog:hover {
  transform: translateY(-8px);

  border-color: var(--pink);

  box-shadow: var(--shadow);
}

.card-blog img {
  width: 100%;

  height: 220px;

  object-fit: cover;
}

.card-conteudo {
  padding: 30px;
}

.card-categoria {
  display: inline-block;
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.card-blog h3 {
  color: #fff;

  margin-bottom: 18px;

  line-height: 1.5;
}

.card-blog p {
  color: #9c9c9c;

  line-height: 1.8;

  margin-bottom: 25px;
}

.card-blog a {
  color: var(--pink);

  text-decoration: none;

  font-weight: 600;
}

.card-blog a:hover {
  color: #fff;
}

/*==================================================
FOOTER
==================================================*/

.footer {
  background: #080808;

  border-top: 1px solid rgba(255, 255, 255, 0.06);

  padding: 80px 8% 30px;
    display: block !important;
    position: relative;
    min-height: 200px;


}

.footer-container {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

  gap: 50px;
}

.footer h4 {
  color: #fff;

  margin-bottom: 20px;
}

.footer p {
  color: #8f8f8f;

  line-height: 1.9;
}

.footer-links {
  display: flex;

  flex-direction: column;

  gap: 14px;
  color: white;
}

.footer-links a {
  position: relative;
  width: fit-content;
  transition: 0.3s;
  text-decoration: none;
  color: white;
  text-decoration: none;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: var(--pink);
  transition: 0.4s;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-links a:hover::after {
  width: 100%;
}

.linha-footer {
  width: 100%;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  margin: 50px 0 30px;
}

.footer-copy p {
  color: #7f7f7f;
}
.footer-copy a {
  text-decoration: none;
  color: var(--pink);
}

.footer-copy {
  display: inline-block;
  padding: 12px 25px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
/*======================================
APRESENTAÇÃO DO BLOG
======================================*/

.apresentacao-blog {
  max-width: 900px;

  margin: 60px auto 90px;

  padding: 45px;

  background: rgba(255, 255, 255, 0.03);

  border: 1px solid rgba(255, 20, 147, 0.15);

  border-radius: 20px;

  text-align: center;

  backdrop-filter: blur(12px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.apresentacao-blog h2 {
  color: var(--white);

  font-size: 2rem;

  margin-bottom: 20px;
}

.apresentacao-blog p {
  color: var(--text);

  font-size: 1.08rem;

  line-height: 1.9;

  max-width: 700px;

  margin: 0 auto;
}

.apresentacao-blog strong {
  color: var(--pink);
}

/*==================================================
ANIMAÇÕES
==================================================*/

@keyframes subir {
  from {
    opacity: 0;

    transform: translateY(40px);
  }

  to {
    opacity: 1;

    transform: none;
  }
}

.artigo-header,
.artigo-conteudo section,
.card-blog,
.cta-blog {
  animation: subir 0.8s ease both;
}

/*==================================================
RESPONSIVO
==================================================*/

/* Tablets */
@media (max-width: 992px) {
  .artigo-header h1 {
    font-size: 3rem;
  }

  .estatisticas {
    grid-template-columns: 1fr;
  }
}

/* Celulares */
@media (max-width: 768px) {
  /* NAVBAR */

  /* NAVBAR */

.navbar {
  padding: 15px 5%;
  flex-direction: column;
  gap: 15px;
}

.logo-img {
  width: 38px;
}

.logo-text {
  font-size: 1.2rem;
}

.menu {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.menu a {
  font-size: .85rem;
  white-space: nowrap;
}

  /* ARTIGO */

  .artigo {
    padding-top: 50px;
  }

  .artigo-header h1 {
    font-size: 2.3rem;
   
  }

  .subtitulo {
    font-size: 1rem;
    line-height: 1.8;
  }

  .artigo-conteudo h2 {
    font-size: 1.8rem;
  }

  .artigo-conteudo h3 {
    font-size: 1.3rem;
  }

  .artigo-conteudo table {
    display: block;
    overflow-x: auto;
  }

  .info-box {
    flex-direction: column;
  }

  .cta-blog {
    padding: 45px 25px;
  }

  .cta-blog h2 {
    font-size: 2rem;
  }

  .cards-blog {
    grid-template-columns: 1fr;
  }
  .footer-contact h4,
  .footer-contact p {
    text-align: center;
  }
  .footer-links {
    align-items: center;
  }
  .categoria{
    margin-top:20px;
  }
}

/* Celulares pequenos */
@media (max-width: 480px) {
   .navbar {
    padding: 15px 5%;
    flex-direction: column;
    gap: 15px;
  }

  .logo-img {
    width: 38px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .menu {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu a {
    font-size: .85rem;
    white-space: nowrap;
  }

  .artigo {
    padding-top: 180px;
  }

  .artigo-header h1 {
    font-size: 1.9rem;
  }
  
  .categoria {
    font-size: 0.8rem;
  }

  .artigo-info {
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}
