/* Geral */
body {
  font-family: 'Roboto', sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Geral - Títulos */
h1, h2 {
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 1.5px; /* Aumento no espaçamento das letras */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Sombra sutil */
  color: #333; /* Cor padrão para títulos */
}

#quem-somos h2 {
  font-size: 2.5rem; /* Tamanho do título de 'Quem Somos' */
}

h2 {
  font-size: 2.5rem; /* Defina o mesmo tamanho para os outros títulos */
}

p, li {
  letter-spacing: 0.5px; /* Espaçamento sutil nas letras */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Sombra leve */
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(244, 244, 244, 0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001; /* Z-index maior para o header */
  transition: background 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  box-sizing: border-box;
}


.logo {
  opacity: 0; /* Inicialmente oculta */
  transition: opacity 0.3s ease; /* Transição suave */
}


/* Exibe a logo quando o menu tiver a classe `scrolled` */
header.scrolled .logo {
  opacity: 1;
}


header.scrolled {
	display: flex;
  background: #4a90e2;
  color: white;
  padding: 0.5rem 2rem;
}

.logo img {
  height: 40px;
}

.menu {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu li {
  list-style: none;
}

.menu li a {
  font-weight: bold;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.menu li a:hover {
  color: #50c9c3;
}

/* Menu mobile */
.menu-mobile {
  display: none; /* Inicialmente escondido */
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  background-color: rgba(244, 244, 244, 0.95);
  position: fixed; /* Usar fixed para ficar fixado no topo */
  top: 60px; /* Ajuste a altura para o menu ficar abaixo do header */
  left: 0;
  right: 0;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10000; /* Z-index maior para garantir que o menu fique acima de tudo */
}

.menu-mobile.open {
  display: flex; /* Exibe o menu quando ativo */
}

.menu-mobile li a {
  color: #333;
  font-size: 1.2rem;
}

.menu-mobile li a:hover {
  color: #50c9c3;
}

/* Ícone de hambúrguer */
.menu-icon {
  display: none; /* Inicialmente escondido */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
  transition: color 0.3s ease; /* Transição suave para a cor do ícone */
}

.menu-icon div {
  height: 4px;
  background-color: #333; /* Cor padrão */
  border-radius: 2px;
  transition: background-color 0.3s ease; /* Transição suave */
}

header.scrolled .menu-icon div {
  background-color: white; /* Cor branca ao rolar */
}

.main-logo{
	width: 200px;
	height: 200px;
}


/* Banner */
.banner {
  height: 400px;
  background: linear-gradient(to right, #4a90e2, #50c9c3);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1; /* Garante que o banner fique abaixo do menu */
}

.banner-content {
  opacity: 0;
  transform: scale(0.9);
  transition: all 1.5s ease; /* Animação mais lenta */
}

.banner.visible .banner-content {
  opacity: 1;
  transform: scale(1);
}

.banner h1 {
  font-size: 3rem;
}

.banner p {
  font-size: 1.2rem;
  margin-top: 1rem;
}





/* Seções */
section {
  padding: 5rem 2rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.5s ease; /* Animação mais lenta */
  z-index: 0; /* Coloca as seções atrás */
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}


.resposta-automatizada {
	margin-top: 30px;
	margin-bottom: 10px;
	width: 800px;
}

.plataformas {
	margin-top: 30px;
	margin-bottom: 0px;
	width: 850px;
}

.img-ivy-em-acao{
	margin-top: 0px;
	margin-bottom: 40px;
	width: 700px;
}



#quem-somos {
  background: #f9f9f9;
}

#quem-somos h2 {
  font-size: 2.5rem;
  color: #4a90e2;
}

#publico-alvo {
  background: #4a90e2;
  color: white;
}

#publico-alvo ul {
  margin-top: 1rem;
  padding-left: 1rem;
}

#publico-alvo ul li {
  margin: 0.5rem 0;
}

#herobot{
	margin-top:50px;
}

.herobot{
	width: 450px;
}

#contato {
  background: linear-gradient(to right, #ffffff, #f4f4f4);
}

#contato h2 {
  font-size: 2.5rem;
  color: #4a90e2;
}

#contato form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#contato form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

#contato form input,
#contato form textarea,
#contato form button {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box; /* Inclui padding e border no cálculo do tamanho */
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
}

#contato form textarea {
  resize: none;
  height: 150px; /* Ajuste da altura do textarea */
}

#contato form input:focus,
#contato form textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
  outline: none;
}

#contato form button {
  background: #4a90e2;
  color: white;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#contato form button:hover {
  background: #357abd;
  transform: translateY(-2px);
}

#contato form button:active {
  transform: translateY(1px);
}


/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

footer a {
  color: #50c9c3;
}

footer a:hover {
  text-decoration: underline;
}

/* Animações */
#quem-somos.visible {
  transform: translateX(0);
  opacity: 1;
  animation: fadeIn 1.5s ease; /* Mais lento */
}

#typed-text {
  font-size: 28px;
  white-space: pre-wrap; /* Permite quebra de linha automática */
  overflow: hidden; /* Evita conteúdo extravasado */
  display: inline-block;
}

#cursor {
  display: inline-block;
  width: 2px;
  height: 1em; /* Altura igual ao tamanho da fonte */
  background-color: white;
  margin-left: 2px; /* Espaço do cursor em relação ao texto */
  animation: blink 0.7s step-end infinite;
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.gallery-item {
  color: #000;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 350px;
  transition: transform 0.3s ease;
  padding:20px;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.date-container {
  background-color: #f4f4f4;
  padding: 1rem;
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
}

.caption-container {
  padding: 1rem;
  background-color: #fafafa;
  font-size: 1rem;
  color: #333;
}

.caption-container p {
  margin-bottom: 1rem;
  text-align: justify !important;
}

.caption-container a {
  color: #4a90e2;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.caption-container a:hover {
  color: #357abd;
}


/* Efeito de piscar do cursor */
@keyframes blink {
  50% {
    opacity: 0;
  }
}


@keyframes fadeIn {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

#publico-alvo.visible {
  animation: slideIn 1.5s ease; /* Mais lento */
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}



.whatsAppButton {
	width:110px;
	height:110px; 
	opacity: 0.8;
}

.whatsAppButton:hover {
	opacity: 1.0;
}






/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
}

.lightbox.hidden {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

.lightbox__frame {
  width: 90%;
  height: 80%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 15px #000;
}



/* Responsividade */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
  }

  .menu {
    display: none; /* Esconde o menu na versão mobile */
  }

  /* Exibe o ícone de hambúrguer */
  .menu-icon {
    display: flex;
    position: absolute;
    top: 20px; /* Ajusta a posição */
    right: 20px; /* Coloca no canto direito */
    z-index: 10001; /* Garante que o ícone de hambúrguer fique acima do banner */
  }

  /* Exibe o menu mobile quando o ícone for clicado */
  .menu-mobile.open {
    display: flex;
  }
	
  .banner {
	height: auto;
	padding: 30px auto 30px auto;  
  }
	
  .main-logo{
	width: 180px;
	height: 180px;
  }
	
   #typed-text {
  	font-size: 25px;
   }
	
	.img-ivy-em-acao, .resposta-automatizada, .plataformas{
		width: 100%;
	}
	
	
	
	.herobot{
		width: 100%;
	}
	
	
.gallery-item {
    width: 100%;
    max-width: none;
  }

  .gallery {
    gap: 1rem;
  }

	
}



