:root {
  --bg-color-primary: #252525;
  --bg-light: #212121;
  --title-light: #fefefe;
  --title-card: #e4e4e4;
  --text-light: #d4d4d4;
  --text-color: #ffffff;
  --text-footer: #dddddd;
  --destaque-color: #7bff00;
  --cor-primaria: #22c55e;
  --cor-fundo: #e0f7ec;
  --cor-texto: #ffffff;
  --cor-botao: #006621;
  --cor-botao-hover: #177200;
  --cor-botao-texto: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(241, 241, 241);
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scrollbar-color: #7bff00 #171717;
  scrollbar-width: thin;
  font-family: "Poppins", sans-serif;
}

/* Header */

.header {
  background-color: rgba(0, 0, 0, 0.281);
  position: fixed;
  z-index: 100;
  width: 100%;
  color: var(--cor-texto);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  display: flex;
}

.header div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.281);
  backdrop-filter: blur(20px);
  height: 100%;
  z-index: -1;
}

.logo {
  display: flex;
  font-size: 2rem;
  color: var(--cor-texto);
  text-decoration: none;
}
.logo img {
  width: 60px;
  height: auto;
}

.nav-item {
  text-decoration: none;
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--cor-texto);
}

.nav-item:hover {
  background-color: rgba(177, 177, 177, 0.171);
  border-bottom: 2px solid greenyellow;
}

@media (max-width: 1199px) {
}

.icon {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  display: none;
  right: 0;
}

@media (max-width: 768px) {
  .icon {
    display: inline-flex;
  }

  #menu-mob {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgb(0 0 0 / 58%);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    gap: 10px;
    height: 100px;
    align-items: center;
    display: none;
    flex-direction: row;
    justify-content: center;
    border-bottom: 1px solid var(--destaque-color);
  }

  #menu-mob.active {
    display: flex;
  }

  .nav-item {
    display: block;
    font-size: 1.2rem;
  }
}

/* Custom */

.alt {
    font-family: "Inter", sans-serif;
}

.container {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  /* border: 1px solid red; */
}

@media (max-width: 1199px) {
  .container {
    max-width: 90%;
  }
}

.glass {
  background-color: rgba(206, 206, 206, 0.192);
  backdrop-filter: blur(10px);
}

.glass-soft {
  background-color: rgba(44, 83, 12, 0.274);
  backdrop-filter: blur(4px);
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Hero */

.hero {
  min-height: 100vh;
  padding: 150px 0;
  display: flex;
  align-items: center;
  justify-content: center;
    background: linear-gradient(45deg, rgb(15, 15, 15), rgba(35, 61, 21, 0.507), rgb(15, 15, 15)), 
    repeating-linear-gradient(#2b5a0b, #000000 1px, transparent 1px, transparent 50px),
    repeating-linear-gradient(to right, #0b4e09, #000000 1px, transparent 1px, transparent 50px),
    #111010;
  cursor: default;
}

.hero-content {
  display: flex;
  width: 50%;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-content h1 {
  line-height: 1;
  font-size: 3rem;
  color: var(--cor-texto);
  letter-spacing: 5px;
  /* white-space: nowrap; */
  text-align: left;
}

.hero-content span {
  font-size: 15px;
  color: var(--destaque-color);
  letter-spacing: 3px;
  text-align: left;
}

.hero-content p {
  color: #fff;
  text-align: left;
  max-width: 500px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.5;
}

.hero-icons {
  display: flex;
  font-size: 1.5rem;
  color: var(--destaque-color);
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.hero-img {
  border-radius: 50%;
  overflow: hidden;
  width: 450px;
  height: auto;
  box-shadow: -6px 6px 15px rgba(12, 12, 12, 0.349);
  display: flex;
}
.hero-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content {
    width: 60%;
  }
}

@media (max-width: 1000px) {
  .hero-flex {
    flex-direction: column-reverse;
    align-items: center;
  }
  .hero-content {
    width: 100%;
    padding: 0 3rem;
  }
  .hero-content h1,
  .hero-content p,
  .hero-content span {
    text-align: center;
  }
  .hero-content p {
    max-width: 100%;
  }
  .hero-icons {
    justify-content: center;
  }
  .hero-img {
    margin-bottom: 2rem;
  }
}

@media (max-width: 764px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 500px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-img {
    width: 70%;
    height: auto;
  }
  .hero-content {
    width: 100%;
    padding: 0;
  }
}

/* Sobre */

.sobre {
  padding: 150px 0;
  background-color: rgb(15, 15, 15);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

}

@media (min-width: 950px) {
  .sobre {
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  }
}

.sobre-content {
  display: flex;
  justify-content: center;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 5px 5px 6px -3px rgba(0, 0, 0, 0.31);
  /* max-width: 900px; */
  margin: 0 auto;
}

.sobre-content div {
  flex: 1;
  cursor: default;
}

.sobre-text {
  padding: 5rem;
  color: var(--cor-texto);
}

.sobre-text h2 {
  color: var(--title-light);
}

.sobre-text p {
  margin-bottom: 10px;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-weight: 200;
  line-height: 1.5;
  letter-spacing: .06rem;
}

.servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.servico-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(123, 255, 0, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 150px;
  justify-content: center;
}

.servico-card:hover {
  transform: translateY(-5px);
  border-color: var(--destaque-color);
  background: rgba(123, 255, 0, 0.1);
  box-shadow: 0 8px 20px rgba(123, 255, 0, 0.2);
}

.servico-card i {
  font-size: 2.5rem;
  color: var(--destaque-color);
  margin-bottom: 0.5rem;
}

.servico-card h3 {
  font-size: 1rem;
  color: var(--title-light);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

@media (max-width: 1199px) {
  .sobre-content {
    flex-direction: column;
    gap: 2rem;
  }
}
@media (max-width: 764px) {
  .sobre-text {
    padding: 5rem 2rem;
  }
  .servicos {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .servico-card {
    min-height: 120px;
    padding: 1.2rem;
  }
  .servico-card i {
    font-size: 2rem;
  }
  .servico-card h3 {
    font-size: 0.9rem;
  }
}
@media (max-width: 500px) {
  .sobre-text {
    padding: 5rem 1rem;
  }
  .servicos {
    gap: 1rem;
  }
  .servico-card {
    padding: 1rem;
    min-height: 100px;
  }
}

/* Portfolio */
.portfolio {
  padding: 150px 0;
      background: linear-gradient(0deg, rgba(35, 61, 21, 0.507), rgb(15, 15, 15), rgba(35, 61, 21, 0.507)), 
    repeating-linear-gradient(#2b5a0b, #000000 1px, transparent 1px, transparent 50px),
    repeating-linear-gradient(to right, #0b4e09, #000000 1px, transparent 1px, transparent 50px),
    #111010;
  color: var(--title-light);
}

#grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.categoria-section {
  margin-bottom: 3rem;
}

.categoria-title {
  font-size: 2rem;
  color: var(--title-light);
  margin-bottom: 2rem;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--destaque-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  .categoria-title {
    font-size: 1.5rem;
    text-align: center;
  }
  
  #grid {
    gap: 3rem;
  }
}

.categoria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 600px) {
  .categoria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .categoria-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(to top, #171717, rgb(111 111 111));
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  text-align: left;
  break-inside: avoid;
}
.card:hover {
  transform: scale(1.02);
}
.card img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.6);
}
.card-content {
  padding: 12px;
}
.card-content h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--title-card);
}
.card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #999999;
  font-family: "Inter", sans-serif;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal.active {
  display: flex;
}
.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}
.modal .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Cta */

.cta-whatsapp {
  padding: 150px 0;
  text-align: center;
  background-color: #434343;
  background-image: url(assets/bg-tech.webp);
  /* background-attachment: fixed; */
  background-position: center;
  background-size: cover;
  min-height: 100vh;
  align-content: center;
  background-blend-mode: overlay;
}

.cta-content {
  padding: 5rem;
  border-radius: 1rem;
}

.cta-content:hover {
  background-color: rgba(189, 207, 172, 0.192);
}

.cta-whatsapp h2 {
  font-size: 2.5rem;
  color: var(--cor-texto);
  margin-bottom: 1rem;
  font-weight: 700;
  cursor: default;
}

.cta-whatsapp p {
  font-size: 1rem;
  color: var(--cor-texto);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  cursor: default;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.5;
}

.btn-whatsapp {
  background-color: var(--cor-botao);
  color: var(--cor-texto);
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transition: all 0.3s ease;
  border: 1px solid #00AD3D;
}

.btn-whatsapp:hover {
  background-color: var(--cor-botao-hover);
  box-shadow: 0 0 22px rgba(133, 231, 169, 0.438);
}

.btn-whatsapp i {
  font-size: 1.5rem;
}

.icon-whatsapp {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .cta-whatsapp h2 {
    font-size: 2rem;
  }

  .cta-whatsapp p {
    font-size: 1.1rem;
  }

  .btn-whatsapp {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 1rem;
  }
  .cta-content {
    padding: 3rem 2rem;
  }
}

/* Footer */

footer {
  background-color: rgb(15, 15, 15);
  color: var(--text-color);
  padding-top: 3rem;
  display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: left;
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .about {
    grid-column: 1 / span 2;
  }
}

@media (min-width: 968px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
  .about {
    grid-column: 1;
  }
}

@media (min-width: 1260px) {
}

footer h2,
h3 {
  margin-bottom: 1rem;
}

footer h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

footer h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-family: var(--fonte-secundaria);
}

footer a {
  color: var(--text-color);
  text-decoration: none;
}

footer a:hover {
  color: var(--destaque-color);
}

.card-footer p {
  font-size: 0.9rem;
}

.text-muted {
  color: var(--text-footer);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: #fff;
  font-family: var(--fonte-secundaria);
  background: black;
  padding: 1.2rem 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  border-top: .1rem solid var(--destaque-color)
}

.card-footer {
  padding: 2rem;
  border-radius: 1rem;
  background-color: #242424;
}

.card-footer:hover {
  background-image: linear-gradient(45deg, #242424 70%, #7bff0033 100%);
}

.about,
.atendimento,
.footer-bottom {
  cursor: default;
}

/* placeholder */
.lazy {
  background-color: #66d625;
}
