@import url(./base.css);

body {
  background-color: #f5f5f5;
}

.cabecalho {
  display: flex;
  flex-wrap: nowrap;
}

header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("/src/img_carrosel_site.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  height: 90vh;
}

.inicio {
  color: #fff;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
  padding: 1rem;
}

.inicio h1 {
  font-family: var(--fonte01);
  font-size: 32px;
  font-weight: bolder;
  line-height: 40px;
  margin: 1rem 0;
}

.inicio p {
  font-family: var(--fonte03);
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
}

/* Apresentação da GHub */

.apresentacao_empresa h2 {
  margin-top: 6rem;
  padding: 10px;
  font-size: 32px;
  font-weight: 600;
  font-family: var(--fonte02);
  color: var(--azul-escuro);
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
  text-align: center;

  line-height: 121%;
}

.destaque {
  color: var(--verde);
}

.apresentacao_empresa img {
  margin-top: 2rem;
  width: 375px;
  height: 300px;
}

.apresentacao_empresa p {
  font-family: var(--fonte03);
  color: #000;
  font-size: 28px;
  line-height: 121%;
  text-align: center;
  font-weight: 450;

  margin: 2rem 0;
  padding: 20px;
}

.background_tech {
  background-image: url("/src/Fundo.png");
  background-size: contain;
  background-position: center;
}

.apresentacao_servicos_empresa {
  margin: 4rem 1rem;
  padding: 30px 15px;
  background-color: var(--azul-escuro);

  border-radius: 20px;
  text-align: center;
}

.apresentacao_servicos_empresa p {
  color: #fff;
  font-size: 24px;
  line-height: 31px;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.apresentacao_servicos_empresa img {
  width: 290px;
  height: 290px;
}

.img_transicao_1 {
  background-image: url("/src/Fundo_Transicao.png");
  height: 52px;
  width: 375px;
  position: relative;
  top: -57px;
  margin-bottom: 0 !important;
}

.caracteristicas_empresa {
  background-color: var(--azul-escuro);
  padding: 2rem 0;
  width: 375px;
  min-height: 100vh;
  text-align: center;

  margin-top: -0.1rem;
}

.background_caracteristicas {
  background-image: url("/src/fundo\ mapa\ mundi.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: auto;
  height: 181px;
  margin-top: 2rem;
  margin-bottom: -8rem !important;
}

#top-3rem {
  margin-top: -3rem;
}

.caracteristicas_empresa div {
  margin-bottom: 7rem;
}

.caracteristicas_empresa img {
  width: 125px;
  height: 125px;
}

.caracteristicas_empresa p {
  font-size: 28px;
  font-weight: bold;
  font-family: var(--fonte01);
  color: #fff;
  margin-top: 2rem;

  padding: 0 3rem;

  line-height: 35px;
}

.img_transicao_2 {
  background-image: url("/src/tentativa\ de\ deixar\ bonito.png");
  height: 130px;
  width: 375px;
  margin-top: -0.02rem;
}

/* Nossos Clientes */

.nossos_clientes {
  text-align: center;
  padding-top: 1rem;
}

.nossos_clientes h2 {
  font-size: 32px;
  font-family: var(--fonte02);
  font-weight: 600;
  line-height: 121%;
}

/* Carrossel Gemini */

/* --- ESTILOS GERAIS DA SEÇÃO --- */
.clients-carousel-section {
  padding: 50px 0;
  text-align: center;
}

.clients-carousel-section h2 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

.clients-carousel-section .highlight {
  padding-bottom: 5px;
}

/* --- CARROSSEL --- */
.carousel-container {
  overflow: hidden; /* Esconde as imagens que estão fora da vista */
  width: 100%;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  width: fit-content;
}

.carousel-slide {
  /* Esta regra é crítica: Define que cada slide ocupa 1/3 da largura do contêiner, permitindo ver os vizinhos */
  min-width: 33.333%;

  /* Zera o padding horizontal. Se você quiser um espaçamento ENTRE as imagens, use 'gap' no .carousel-track ou padding-right. */
  padding: 0;

  /* Garante que os slides se adaptem de forma consistente */
  flex-shrink: 0;
}

.carousel-slide img {
  max-height: 80px;
  width: auto;
  transition: all 0.3s ease-in-out;
}

/* --- ESTILO DO ITEM ATIVO (CENTRAL) --- */
.carousel-slide.active img {
  max-height: 120px;
  opacity: 1;
  /* Usar scale(1.5) aumentaria o tamanho, mas o max-height já faz o trabalho de forma mais previsível */
  transform: scale(1.1);
}

/* --- NAVEGAÇÃO DOTS --- */
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 2rem 5px;
  border: solid 1px var(--azul-escuro);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--azul-escuro); /* Cor do círculo ativo */
}

@media (min-width: 425px) {
  header {
    height: 100vh;
  }

  .apresentacao_empresa {
    text-align: center;
  }
  .caracteristicas_empresa {
    width: auto;
  }
  .img_transicao_1,
  .img_transicao_2 {
    width: auto;
  }

  .clients-carousel-section h2 {
    padding: 0 30px;
  }
}

@media (min-width: 768px) {
  .inicio {
    margin-top: 3rem;
    padding-left: 3rem;
  }

  .inicio h1 {
    font-size: 40px;
    line-height: 50px;
  }

  .inicio p {
    font-size: 24px;
    line-height: 35px;
  }

  .div_btn_saiba_mais {
    text-align: left;
  }

  .div_btn_saiba_mais a {
    font-size: 20px;
  }

  .apresentacao_empresa h2 {
    font-size: 40px;
    text-align: left;
    padding-left: 2rem;

    margin-bottom: 4rem;
    margin-top: 4rem;
  }

  .apresentacao_empresa p {
    margin: 1rem 0;
    padding: 0 20px;
    text-align: left;
    font-size: 24px;
  }

  .apresentacao_display {
    display: flex;
  }

  .background_tech {
    background-size: cover;
  }

  .apresentacao_servicos_empresa {
    display: flex;
  }

  .background_caracteristicas {
    height: 500px;
  }

  .caracteristicas_empresa_display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -30rem;
    margin-bottom: 0rem !important;
  }
  .numero {
    display: inline-block;
    transition: color 0.3s;
  }

  .caracteristicas_empresa_display div {
    width: 50%;
  }

  #top-3rem {
    margin: 0;
  }
}

@media (min-width: 1024px) {
  header {
    height: 90vh;
  }

  header img {
    width: 250px;
    height: auto;
  }

  .cabecalho2 {
    margin-top: 4rem;
  }

  .cabecalho2 li {
    margin-left: 5rem;
  }

  .cabecalho2 a {
    font-size: 24px;
  }

  .inicio {
    margin-top: 5rem;
  }

  .inicio h1 {
    font-size: 48px;
  }

  .inicio p {
    font-size: 30px;
  }

  .apresentacao_empresa h2 {
    font-size: 48px;
    padding-left: 3rem;
  }

  .apresentacao_empresa p {
    font-size: 30px;
  }

  .background_tech h2 {
    padding: 4rem 0;
    text-align: center;
  }

  .img_transicao_1 {
    height: 180px;
  }

  .caracteristicas_empresa_display {
    flex-wrap: nowrap;
  }

  .caracteristicas_empresa_display div {
    width: 25%;
  }

  .caracteristicas_empresa_display img {
    width: 100px;
    height: 100px;
  }

  .caracteristicas_empresa {
    min-height: auto;
  }

  .caracteristicas_empresa p {
    font-size: 24px;
  }

  .img_transicao_2 {
    margin-top: -0.1rem;
  }

  .clients-carousel-section h2 {
    font-size: 48px;
  }
}

@media (min-width: 1280px) {
  header {
    height: 100vh;
  }

  header img {
    width: 180px;
    height: auto;
  }

  .cabecalho2 {
    margin-right: 5rem;
    margin-top: 2rem;
  }

  .inicio {
    margin-top: 2rem;
    margin-right: 5rem;
  }

  .apresentacao_empresa h2 {
    padding: 0rem 14rem;
    text-align: center;
  }

  .apresentacao_empresa img {
    margin-top: 0rem;
    margin-left: 2rem;
    width: 500px;
    height: auto;
  }

  .apresentacao_empresa p {
    margin: 1rem 4rem;
  }

  .apresentacao_servicos_empresa div {
    margin-top: 2rem;
  }

  .apresentacao_servicos_empresa img {
    width: 350px;
  }

  .apresentacao_servicos_empresa p {
    font-size: 28px;
  }

  .background_tech {
    background-image: url("/src/Fundo_Tech.png");
    background-size: auto;
  }

  .background_caracteristicas {
    height: 650px;
  }

  .background_caracteristicas {
    background-size: cover;
    margin: 0 !important;
  }

  .caracteristicas_empresa_display {
    margin-top: -35rem;
  }
}
