* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

/* HEADER COM WALLPAPER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: url("Assets/header.png") no-repeat center;
  background-size: cover;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  z-index: 1000;
}

.header.scrolled {
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  background: rgba(0, 0, 0, 0.85);
  padding: 0.5rem 2rem;
  border-radius: 50px;
  box-shadow: 0 0 15px #000;
}

.logo img {
  height: 70px;
  width: auto;
}

.menu {
  display: flex;
  gap: 1.5rem;
}

.menu a {
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.menu a:hover {
  color: white;
  border-bottom: solid #ffffff 3px;
}

/* ===== BANNER SECTION ===== */
.banner {
  margin-top: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 500px; /* ocupa a tela toda */
  background-color: #0d0d0d; /* fundo preto no lado do texto */
  overflow: hidden;
}

/* ===== IMAGEM ===== */
.banner-image {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d0d0d; /* mantém o fundo uniforme */
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mostra a imagem inteira, sem cortar */
  object-position: right center; /* imagem alinhada à direita */
  display: block;
}

/* ===== CONTEÚDO ===== */
.banner-content {
  position: relative;
  max-width: 800px;
  flex: 1;
  padding: 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  z-index: 2;
}

.banner-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.5rem;
}

.banner-content .highlight {
  color: #eaeaea;
  font-weight: 700;
}

.banner-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #f0f0f0;
  text-align: justify;
}

.banner-content strong {
  color: #b801e6a1;
}






/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  .banner-content {
    padding: 3rem;
  }

  .banner-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .banner {
    flex-direction: column;
    height: auto;
  }

  .banner-content {
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .banner-image {
    width: 100%;
    height: 280px;
  }

  .banner-image img {
    object-fit: contain;
    object-position: center;
  }

  .banner-content h1 {
    font-size: 1.8rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 1.6rem;
  }

  .banner-image {
    height: 220px;
  }
}

/* ===== FEATURES SECTION ===== */
.cftv-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    padding: 4rem 6rem;
    background-color: #0d0d0d;
    flex-wrap: wrap;
}

.cftv-card {
    background-color: #1d1d1d;
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 4px 15px #cc01ffa1;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cftv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0,0,0,0.3);
}

.cftv-card h3 {
  font-size: 1.1rem;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.cftv-card p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {

  .header {
    flex-direction: column;
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .header.scrolled {
    flex-direction: column;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img {
    height: 50px;
    margin-bottom: 0.5rem;
  }

  .menu {
    flex-direction: row;
    gap: 1rem;
  }

  .menu a {
    font-size: 1rem;
  }

  .servicos-icones {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .icone {
    width: 100%;
    max-width: 280px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    text-align: left;
  }

  .icone img {
    width: 40px;
    height: 40px;
  }

  .icone p {
    font-size: 1rem;
    margin-left: 1rem;
  }
    .banner {
        justify-content: center;
        text-align: center;
        padding-top: 10px;
    }

    .banner::before {
        width: 100%;
        background: rgba(0,0,0,0.65);
        padding-top: 30px;
    }

    .hero-content {
        padding: 4rem 2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .features {
        padding: 2rem;
        gap: 1.5rem;
    }
}


.diferenciais {
  position: relative;
  width: 100%;
  background-color: #0d0d0d;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.diferenciais-wrapper {
  display: flex;
  width: 100%;
  max-width: 1400px;
  max-height: 1800px;
  min-height: 600px;
  position: relative;
  padding-bottom: 5px;
}

/* 🔥 Linha superior animada */
.diferenciais-wrapper::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 4px;
  background: linear-gradient(90deg, #9211ee, #1929f0, #9211ee);
  filter: blur(3px);
  animation: glowingLines 5s linear infinite;
}

/* Animação suave da linha */
@keyframes glowingLines {
  0% {
    transform: translateX(-75%);
  }
  100% {
    transform: translateX(0);
  }
}

.diferenciais-image {
  flex: 1;
  background-image: url('Assets/CFTV/E.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: sticky;
  top: 0;
  height: auto;
  min-height: 400px;
}

.diferenciais-content {
  flex: 1;
  background-color: #313131;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.diferenciais-content h2 {
  font-size: 2rem;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
}

.diferenciais-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.diferenciais-item .diferenciais-icon  {
  font-size: 2rem;
  color: #6a0dad;
  flex-shrink: 0;

}

.diferenciais-item .diferenciais-icon img {
  width: 80px;
}

.diferenciais-item h3 {
  font-size: 1.1rem;
  color: #cfcfcf;
  margin-bottom: 0.3rem;
}

.diferenciais-item p {
  font-size: 0.95rem;
  color: #bebebe;
  line-height: 1.5;
}

/* 🔹 Responsividade */
@media (max-width: 1024px) {
  .diferenciais-wrapper {
    flex-direction: column;
  }

  .diferenciais-imagem {
    position: relative;
    width: 100%;
    height: 300px;
    background-attachment: scroll;
  }

  .diferenciais-conteudo {
    padding: 2rem 1.5rem;
  }
}


/* ====== SEÇÃO SOLUÇÕES DE SEGURANÇA ====== */
.solucoes-seguranca {
  width: 100%;
  text-align: center;
  background-color: #1d1d1d;
}

.solucoes-seguranca h2 {
  font-size: 3.5rem;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  color: transparent;
  margin-top: -2rem;
  margin-bottom: 4rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ===== BANNER (IMAGEM) ===== */
.solucoes-banner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
}

/* Imagem central */
.solucoes-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

/* Caixa de texto flutuante */
.solucoes-texto {
  max-width: 650px;
  margin: -2.5rem auto 0 auto; /* sobreposição da caixa */
  background: #b8b8b8;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  padding: 1.2rem 2rem;
  position: relative;
  z-index: 2;
}

.solucoes-texto p {
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  color: transparent;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 800;
}

/* ======== RESPONSIVIDADE ======== */

/* 🖥️ Telas grandes */
@media (min-width: 1200px) {
  .solucoes-seguranca {
    padding: 6rem 1rem;
  }
  .solucoes-seguranca h2 {
    font-size: 4rem;
  }
}

/* 📱 Tablets e médio porte */
@media (max-width: 992px) {
  .solucoes-seguranca h2 {
    font-size: 2.6rem;
  }

  .solucoes-banner {
    max-width: 90%;
  }

  .solucoes-texto {
    max-width: 85%;
    margin-top: -2rem;
    padding: 1.5rem;
  }

  .solucoes-texto p {
    font-size: 1rem;
  }
}

/* 📱 Celulares */
@media (max-width: 768px) {
  .solucoes-seguranca {
    padding: 3rem 1rem;
  }

  .solucoes-seguranca h2 {
    font-size: 2rem;
  }

  .solucoes-banner {
    max-width: 100%;
  }

  .solucoes-banner img {
    object-fit: contain;
    max-height: 350px;
  }

  .solucoes-texto {
    margin-top: -1.5rem;
    max-width: 95%;
    padding: 1.2rem;
  }

  .solucoes-texto p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* 📱 Celulares muito pequenos */
@media (max-width: 480px) {
  .solucoes-seguranca h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .solucoes-banner img {
    max-height: 290px;
  }

  .solucoes-texto {
    max-width: 280px;
    margin-top: -1rem;
    padding: 1rem;
  }

  .solucoes-texto p {
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.2;
  }
}



/* ======= SEÇÃO SERVIÇOS ======= */
.servicos-section {
  padding: 3rem 2rem;
  text-align: center;
  background: #0d0d0d;
}

.servicos-titulo {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.servicos-subtitulo {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 3rem;
}

.servicos-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.servico-card {
  background-color: #011b2b;
  color: #fff;
  border-radius: 20px;
  overflow: hidden;
  width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.servico-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom-left-radius: 40px;
}

.servico-conteudo {
  padding: 1.5rem;
  flex: 1;
}

.servico-conteudo h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.servico-conteudo p {
  font-size: 0.95rem;
  color: #d9d9d9;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.servico-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid #00bfff;
  color: #00bfff;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.servico-btn:hover {
  background: #00bfff;
  color: #fff;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
  .servicos-container {
    flex-direction: column;
    align-items: center;
  }

  .servico-card {
    width: 90%;
  }
}

/* ======== outro site ======== */

/* Fundo de estrelas animado */
.estrela-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at bottom, #050505 0%, #000 100%);
  z-index: -1;
  overflow: hidden;
}

.estrela-bg::before, .estrela-bg::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(2px 2px at 20px 20px, #fff, transparent);
  animation: moveStars 60s linear infinite;
  opacity: 0.3;
}

.estrela-bg::after {
  animation-duration: 120s;
  opacity: 0.2;
}

@keyframes moveStars {
  from { transform: translateY(0); }
  to { transform: translateY(-1000px); }
}

/* ======== Container Principal ======== */
.servicos-detalhes {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}

.detalhes-container {
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ======== Título e Descrição ======== */
.titulo-principal {
  font-size: 3rem;
  background: linear-gradient(90deg, #00ffea, #a400ff);
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  margin-bottom: 1.5rem;
  animation: glowText 3s ease-in-out infinite alternate;
}

@keyframes glowText {
  from { text-shadow: 0 0 10px #00ffe1; }
  to { text-shadow: 0 0 30px #b300ff; }
}

.descricao-geral {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  text-shadow: 0 0 5px rgba(255,255,255,0.1);
}

/* ======== Blocos de Detalhes ======== */
.detalhe-bloco {
  position: relative;
  background: rgba(20, 20, 40, 0.8);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(100, 0, 255, 0.2);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.detalhe-bloco:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(162, 0, 255, 0.6);
}

.glow-borda {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(45deg, #00ffff, #8a2be2, #00ffff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: glowBorder 4s linear infinite;
}

@keyframes glowBorder {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.detalhe-bloco h2 {
  font-size: 1.6rem;
  background: linear-gradient(to right, #00fff0, #a400ff);
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(0,255,255,0.4);
}

.detalhe-bloco p {
  color: #bdbdbd;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ======== Lista Técnica ======== */
.detalhes-tecnicos {
  list-style: none;
  color: #9ef;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.detalhes-tecnicos li {
  position: relative;
  margin-bottom: 0.4rem;
}

.detalhes-tecnicos li::before {
  content: "⚙️";
  position: absolute;
  left: -1.2rem;
  color: #0ff;
}

/* ======== Botão Voltar ======== */
.voltar-btn {
  display: inline-block;
  background: linear-gradient(to right, #00ffea, #9d00ff);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 2rem;
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.5);
  transition: 0.3s ease;
}

.voltar-btn:hover {
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
  transform: scale(1.05);
}

/* ======== Responsividade ======== */
@media (max-width: 768px) {
  .titulo-principal {
    font-size: 2.2rem;
  }
  .detalhe-bloco {
    text-align: center;
  }
  .detalhes-tecnicos {
    text-align: left;
    padding-left: 2rem;
  }
}



/* ======== CONTATO SECTION ======== */
.contato-section {
  width: 100%;
  padding: 5rem 2rem;
  background: #1d1d1d;
}

.contato-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* ===== Texto ===== */
.contato-info {
  flex: 1;
  text-align: left;
}

.contato-info .subtitulo {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  color: transparent;
}

.contato-info .titulo {
  font-size: 2.3rem;
  font-weight: 800;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  color: transparent;
  margin: 0.5rem 0 1rem;
}

.contato-info p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ===== Dados de contato ===== */
.contato-detalhes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contato-item strong {
  color: #ccc;
  font-size: 1rem;
}

.contato-item p {
  color: #ccc;
  margin: 0.2rem 0 0;
}

/* ===== Formulário ===== */
.form-contato {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  gap: 1rem;
}

.form-group input,
.form-contato input,
.form-contato textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #c619e9;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.form-contato button {
  background: linear-gradient(to right, #9211ee, #1929f0);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.form-contato button:hover {
  opacity: 0.9;
}

/* ===== Imagem ===== */
.contato-imagem {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.contato-imagem img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

/* ===== Responsivo ===== */
@media (max-width: 992px) {
  .contato-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .contato-imagem {
    justify-content: center;
  }

  .form-group {
    flex-direction: column;
  }
}


/* ===== Wrapper para sobreposição ===== */
.form-wrapper {
  position: relative;
  margin-top: 2rem;
  width: 100%;
}

/* Esconde o "obrigado" por padrão e posiciona no mesmo espaço do form */
.mensagem-sucesso {
  position: absolute;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: rgba(20, 20, 20, 0.95);
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(146, 17, 238, 0.4);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.check-animation {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #3bdb49;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.checkmark {
  width: 40px;
  height: 20px;
  border-left: 3px solid #3bdb49;
  border-bottom: 3px solid #3bdb49;
  transform: rotate(-45deg);
}

/* ===== FOOTER ===== */
.footer {
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

/* 🔥 Linha superior animada */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 4px;
  background: linear-gradient(90deg, #9211ee, #1929f0, #9211ee);
  filter: blur(3px);
  animation: glowingLine 5s linear infinite;
}

/* Animação suave da linha */
@keyframes glowingLine {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-75%);
  }
}


/* Container geral */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.footer-logo img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(146, 17, 238, 0.8));
}

/* Ícones de redes sociais */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-social a:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px #9211ee);
}

/* Texto */
.footer-text p {
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.8rem;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 0.8rem;
  }

  .footer-social a {
    font-size: 1.4rem;
  }

  .footer-text p {
    font-size: 0.9rem;
  }
}
