/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
}

.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
   
}

.topo {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex; /* escondido inicialmente */
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  background-color: #fff;

  height: 70px;
  transition: 0.3s ease;

  box-shadow: 2px 2px 8px rgba(29, 28, 28, 0.2); /* sombra adicionada */
}
.topo a.active {
  border-bottom: 3px solid #0a9326;
  padding: 10px 5px;
  font-display: fallback;
  border-radius: 7px 7px ;
  background-color: #000;
  color: #ffffff;
}

.logo {
  height: 40px; /* reduz o tamanho da logo */
}

.menu a {
  margin: 0 10px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
}

.login {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}


.conteudo-principal {
  background-image: url('imagem/nossos_servicos_principal.png');
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px; 

  flex-wrap: wrap;
  gap: 20px;
  height: 500px;
}


.img-container-noticia {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  margin: 0; /* remove margem */
  padding: 0;
}

.img-container-noticia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}




.seta {
  margin-left: 8px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Efeito ao passar o mouse (opcional) */
.agrupador-links a:hover .seta {
  transform: rotate(180deg); /* vira a seta para cima */
}

.agrupador-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  border-radius: 30px;
  overflow: hidden;
  background-color: transparent;
  width: 50%;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 35px;
  margin-top: 35px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-30px); /* sobe um pouco fora da tela */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.agrupador-links.mostrar-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0); /* desce suavemente pra posição original */
}


.agrupador-links a {
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 500px;
  font-size: 15px;
  color: #182892;
 
  transition: background-color 0.3s ease;
}

/* Nossoa Seviços */
:root {
  --bg-card: #ffffff;
  --accent: #182892;
  --muted: #616161;
  --shadow: 0 6px 18px rgba(25, 57, 240, 0.08);
  --radius-lg: 15px;
  --radius-sm: 10px;
  --gap: 1.75rem;
  --max-width: 1100px;
}

/* Container principal */
.inscrever {
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  width: 100%;
  max-width: var(--max-width);
  margin: 3rem auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  box-sizing: border-box;
  overflow: hidden;
}

/* Imagem — responsiva e com proporção preservada */
.inscrever img {
  width: clamp(160px, 35%, 420px);
  /* cresce até um limite */
  height: auto;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  /* remove margem lateral grande e use gap do flexbox */
  margin: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

/* Efeito subtil ao passar o rato (respeita reduced motion) */
@media (hover: hover) and (pointer: fine) {
  .inscrever img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 36px rgba(25, 57, 240, 0.12);
  }
}

/* Texto ao lado da imagem */
.texto-inscrever {
  flex: 1 1 320px;
  /* cresce, encolhe, tem base mínima */
  min-width: 220px;
  max-width: calc(100% - 160px);
  padding: 0.25rem 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Título */
.texto-inscrever h2 {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Parágrafo principal */
.texto-inscrever p {
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1rem);
  line-height: 1.6;
  color: var(--muted);
}

/* Destaques em strong */
.texto-inscrever p strong {
  color: #111;
  font-weight: 600;
}

/* Botões/ações (opcional) */
.texto-inscrever .acoes {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.texto-inscrever .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms;
  box-shadow: 0 6px 16px rgba(24, 40, 146, 0.12);
}

.texto-inscrever .btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(24, 40, 146, 0.12);
  box-shadow: none;
}

/* Focus accessibility */
.texto-inscrever .btn:focus,
.inscrever img:focus {
  outline: 3px solid rgba(24, 40, 146, 0.12);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Mobile: empilha verticalmente e centraliza */
@media (max-width: 780px) {
  .inscrever {
    padding: 1.25rem;
    gap: 1rem;
  }

  .inscrever img {
    width: 100%;
    max-width: 520px;
    align-self: center;
    aspect-ratio: 16/9;
  }

  .texto-inscrever {
    width: 100%;
    text-align: left;
    padding-top: 0.5rem;
  }
}

/* Respeitar preferência por reduzir animações */
@media (prefers-reduced-motion: reduce) {

  .inscrever img,
  .texto-inscrever .btn {
    transition: none;
  }
}

/* Formulario de comentario */
.comentario {
  color: #FFF;
  display: flex;
  justify-content: space-between;
  background-color: #0cb312;
  padding: 40px;
  flex-wrap: wrap;
  border-radius: 12px;
  margin-bottom: 35px;
}

.comentario-esquerda {
  flex: 1;
  max-width: 500px;
}

.comentario-esquerda h1 {
  font-size: 48px;
  margin-bottom: 10px;
  text-align: left;
}



.comentario-esquerda input,
.comentario-esquerda textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

.comentario-esquerda textarea {
  height: 100px;
  resize: vertical;
}

.comentario-esquerda button {
  background-color: #fff;
  color: #000;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}


.comentario-direita {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  margin-top: 20px;
}

.comentario-direita img {
  width: 800px;
  max-width: 100%;
  max-width: 300px;
  border-radius: 8px;
}

.txt0 {
  font-size: 22px;
  margin-bottom: 10px;
  margin-top: -10px;
}

.txt1 {
  margin-bottom: 10px;
}

.juntos{
color: #ffffff;
} 


.logo1 {
  width: 150px;           /* Tamanho ajustável da logo */
  height: auto;
  margin-left: 150px;      /* Espaço à esquerda */
  margin-top: 80px;
  display: block;   

}

 .footer-conten {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      background-color: #f8f8f8;
      padding: 40px;
      font-family: Arial, sans-serif;
      color: #101327;
    }

    /* Lado esquerdo: texto + QR + contatos + ícones */
    .coluna-esquerda {
      flex: 1;
      border-radius: 15px;
      color: #080a14;
      font-size: 12px;
    }
  
    .coluna-esquerda p {
  
      text-align: center;
  
    }
  
  
    .QR {
      width: 120px;
      height: 120px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      margin-top: 0%;
      margin: 0 auto;
      /* <-- Centraliza horizontalmente */
    }
  
    .no-break {
      white-space: nowrap;
      /* Impede qualquer quebra de linha */
    }
  
  
    .QR img {
      width: 90%;
      height: 90%;
      text-align: center;
      margin-top: 0%;
    }

    @keyframes girar {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

        /* Ícones das redes sociais */
        .redes-sociais {
          display: flex;
          justify-content: flex-end;
          /* alinha os ícones à direita */
          align-items: center;
          /* centraliza verticalmente */
          gap: 15px;
          /* espaçamento entre ícones */
          margin: 5px 50px 20px 0;
        }
    
        .icone-social {
          text-decoration: none;
          background-color: #142bc6;
          color: #fff;
          font-size: 22px;
          transition: transform 0.3s ease, color 0.3s ease;
          padding: 5px;
          border-radius: 5px;
    
        }
    
        .redes-sociais a {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 45px;
          height: 45px;
          margin: 0 5px;
          border-radius: 50%;
          background: #1939f0;
          color: white;
          font-size: 2.0rem;
          transition: all 0.2s ease;
        }
    
        .icone-social i {
          font-size: 25px;
          /* aumenta o tamanho do ícone */
        }
    
        .redes-sociais a:hover {
          background: #0a9326;
          color: #0a0e25;
          transform: scale(1.2);
        }
    
        .redes-sociais a:nth-child(1):hover {
          border: #080a14 1px solid;
          color: #FFFFFF;
          background: #2004f3;
          -webkit-background-clip: text;
          /* recorta o background dentro do texto */
          -webkit-text-fill-color: transparent;
          /* torna o texto transparente para ver o gradiente */
          font-weight: bold;
          transform: scale(1.3);
        }
    
        .redes-sociais a:nth-child(2):hover {
          border: #080a14 1px solid;
          color: linear-gradient(red, blue);
          background: linear-gradient(red, yellow, rgb(247, 5, 210), blue);
          -webkit-background-clip: text;
          /* recorta o background dentro do texto */
          -webkit-text-fill-color: transparent;
          /* torna o texto transparente para ver o gradiente */
          font-weight: bold;
          transform: scale(1.3);
        }
    
        .redes-sociais a:nth-child(2) {
          font-size: 1.8rem;
          background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        }
    
        .redes-sociais a:nth-child(3):hover {
          border: #080a14 1px solid;
          color: #ffffff;
          background: #448c52;
          -webkit-background-clip: text;
          /* recorta o background dentro do texto */
          -webkit-text-fill-color: transparent;
          /* torna o texto transparente para ver o gradiente */
          font-weight: bold;
          transform: scale(1.3);
        }
    
        .redes-sociais a:nth-child(3) {
          color: #ffffff;
          background: #4fcb68;
        }
    
        @keyframes moverGradiente {
          0% {
            background-position: 0% 50%;
          }
    
          100% {
            background-position: 100% 50%;
          }
        }
    
        .texto-gradiente {
          background: linear-gradient(90deg, #00ff88, #0066ff, #ff00ff);
          background-size: 200% 200%;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          animation: moverGradiente 4s linear infinite;
        }

    /* Colunas do lado direito */
    .colunas-horizontais {
      flex: 2;
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 30px;
    }

    .coluna {
      min-width: 200px;
    }

    .coluna h3 {
      margin-bottom: 10px;
      color: #1c2772;
      font-size: 17px;

      display: inline-block;
      padding-bottom: 1px;
    }

    .coluna p {
      margin: 8px 0;
      color: #151c46;
      line-height: 1.6;
      font-size: 12px;
    }

/* RODAPÉ */
 footer {
      background-color: #ffffff;
      padding: 15px 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 2px solid #ccc;
      font-family: Arial, sans-serif;
      flex-wrap: wrap;
    }

    footer p {
      margin: 0;
      color: #313866;
      font-size: 14px;
      text-align: center;
        margin: 0 auto;
    }

    .icones-direita {
      display: flex;
      gap: 30px;
      align-items: center;
    }

    .item-icone {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #1b2355;
      font-size: 14px;
      text-decoration: none;
      transition: color 0.3s ease;
    }
  
 .item-icone1 {
  color: red;
  border-bottom: none; /* remove qualquer borda inferior */
   text-decoration: none;
  
}


    .item-icone i {
      font-size: 18px;
    }

    .item-icone:hover {
      color: #0a0e25;
    }


/* Responsividade */
@media (max-width: 768px) {
  .topo {
    flex-direction: column;
    padding: 15px;
  }

  .esquerda {
    margin-bottom: 15px;
  }

  .menu {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .menu a {
    margin: 5px;
    font-size: 14px;
  }

  .agrupador-links a.active {
  background-color: rgb(11, 12, 11); 
  color: white;
}

  .direita {
    margin-top: 10px;
  }
}

.conteudo-principal {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  background: linear-gradient(to bottom, #bbcbc3, #08c62e);
  flex-wrap: wrap;
  gap: 20px;
  overflow: hidden; /* importante para os triângulos */
}

.img-container-noticia {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.img-container-noticia::before,
.img-container-noticia::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 2;
}

/* Triângulo no canto superior esquerdo */
.img-container-noticia::before {
  top: 0;
  left: 0;
  border-width: 0 100px 100px 0;
  border-color: transparent white transparent transparent;
}

/* Triângulo no canto inferior direito */
.img-container-noticia::after {
  bottom: 12%;
  right: 0;
  border-width: 100px 0 0 100px;
  border-color: transparent transparent transparent white;
}

.img-container-noticia {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.servicos {
  position: absolute;
  bottom: 100px; /* distância do fundo */
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  z-index: 3;
  text-align: center;
}

/* PARTE DO RODAPÉ */

 footer p a {
   text-decoration: none;
   /* remove sublinhado */
   border: none;
   /* remove bordas */
   outline: none;
   /* remove contorno padrão */
   font-style: normal;
   font-weight: 500;
   cursor: pointer;
   display: inline-block;
   /* necessário para o transform funcionar bem */
   transition: all 0.4s ease;

   /* Gradiente visível desde o início */
   background: linear-gradient(90deg, #00ff88, #0066ff, #ff00ff);
   background-size: 200% 200%;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
 }

 footer p {
   text-decoration: none;
   /* remove sublinhado */
   border: none;
   /* remove bordas */
   outline: none;
   /* remove contorno padrão */
   font-style: normal;
   font-weight: 500;
   cursor: pointer;
   display: inline-block;
   /* necessário para o transform funcionar bem */
   transition: all 0.4s ease;

   /* Gradiente visível desde o início */
   background: linear-gradient(90deg, #00ff88, #0066ff, #ff00ff);
   background-size: 200% 200%;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
 }

 /* Efeito ao passar o mouse para o Link */
 footer p a:hover,
 footer p a:focus {
   transform: scale(1.3);
   background-position: 100% 0;
   /* faz o gradiente “mover” */
   filter: brightness(1.3);
   /* destaca as cores */
 }

 /* Efeito ao passar o mouse para o @ */
 footer p:hover,
 footer p:focus {
   transform: scale(1.3);
   background-position: 100% 0;
   /* faz o gradiente “mover” */
   filter: brightness(1.3);
   /* destaca as cores */
 }

 /* Melhora a acessibilidade: mostra um foco visível só quando for realmente necessário */
 footer p a:focus-visible {
   outline: 3px solid rgba(0, 120, 200, 0.85);
   outline-offset: 3px;
 }

 /* Melhora a acessibilidade: mostra um foco visível só quando for realmente necessário */
 footer p:focus-visible {
   outline: 3px solid rgba(0, 120, 200, 0.85);
   outline-offset: 3px;
 }

