/* Resetando estilos padrão */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #111;
  color: #fff;
  overflow: hidden;
  font-size: 14px;       /* Forçando tamanho base igual */
  line-height: 1.2;      /* Linha de base consistente */
}

/* Gradiente padrão para index*/
body.standard-page .hero {
  background: linear-gradient(135deg, #FF5800, #A50646, #CE056A);
  background-size: 300% 300%;
  animation: gradient-animation 10s ease infinite;
}

/* Gradiente para landingpage */
body.landingpage-page .hero {
  background: linear-gradient(135deg, #ce056a, #5a1455, #e6a61c);
  background-size: 300% 300%;
  animation: gradient-animation 10s ease infinite;
}

/* Camada escura adicional na landingpage */
body.landingpage-page .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}


body.default-page .hero img.hero-img {
  opacity: 0.8;
}

body.landingpage-page .hero img.hero-img {
  opacity: 0.8;
  animation: fadeToLowOpacity 3s ease-in-out forwards;
}

.hero img.hero-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 25vw;
  height: auto;
  z-index: 2;
  transition: opacity 2s ease-in-out;
}

/* Estilo padrão da .hero, apenas fallback */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-size: 300% 300%;
  animation: gradient-animation 10s ease infinite;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  z-index: 3;
  position: relative;
}

.hero h1 {
  font-size: 70px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 5px;
  opacity: 0;
  animation: fadeIn 1s forwards 0.5s;
}

/* Faz as frases menores dentro dos icones aparecerem com um delay */
.hero p {
  font-size: 24px;
  color: #ddd;
  margin-top: 20px;
  opacity: 0;
  animation: fadeIn 1s forwards 1s;
}


/* faz a imagem do robo espaecer */"
@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0.1; }
}
@keyframes fadeToLowOpacity {
  from { opacity: 0.8; }
  to { opacity: 0.2; }
}



header {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;  /* Alinha o logo à direita */;
  align-items: center;
  width: 100%;
}

header .logo img {
  height: 50px;
  width: auto;
}

header nav ul {
  list-style-type: none;
  display: flex;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #FF5800;
}

/* Faz o gradiente da tela ter animação */
@keyframes gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.icons-container {
  position: absolute;
  top: 100px;       
  left: 40px;
  display: flex;
  flex-direction: row; /* em linha */
  gap: 20px;
  z-index: 10;
}

/* Cada card é um link estilizado como botão */
.icon-button {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  width: 220px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 88, 0, 0.4);
  font-size: 0.95rem;
}

.icon-button:hover,
.icon-button:focus {
  background-color: rgba(255, 88, 0, 0.8);
  transform: translateY(-8px);
  color: #fff;
  outline: none;
  box-shadow: 0 8px 18px rgba(232, 119, 34, 0.7);
}


/* Ícone dentro do botão */
.icon-button i {
  font-size: 32px;
  color: #FF5800;
  margin-bottom: 16px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

/* Título */
.icon-button h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
  height: 2.5em; /* altura controlada para consistência */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Descrição */
.icon-button p {
  font-size: 0.85rem;
  color: #ccc;
  margin: 0;
  font-weight: normal;
  line-height: 1.3;
}


/* Footer padrão para todas as páginas (index e landingpage) */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;  /* menor que 14px */
  color: #aaa;
  padding: 10px 0;  /* menor que 20px */
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}


.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #FF5800, #E87722);
  color: #fff;
  padding: 20px 40px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 50px;
  margin-top: 30px;
  opacity: 0;
  animation: fadeIn 1s forwards 1.5s;
  transform: scale(1);
  box-shadow: 0 4px 15px rgba(255, 88, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #E87722, #FF7E35);
  box-shadow: 0 6px 20px rgba(232, 119, 34, 0.7);
}






.back-button {
  background-color: transparent; /* Sem fundo */
  color: #fff; /* Cor do texto e ícone */
  border: 1px solid #fff; /* Borda branca */
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute; /* Para ficar no canto superior */
  top: 10px;  /* Subindo 10px */
  left: 60px; /* Movendo 20px para a direita */
  transition: background-color 0.3s, border-color 0.3s;
}

/* Efeito de hover - mais suave */
.back-button:hover {
  background-color: #ffffff;
  color: #333;
  border-color: #333; /* Muda a borda quando passa o mouse */
}

/* Estilizando o ícone */
.back-button i {
  margin-right: 8px; /* Distância entre o ícone e o texto */
}

/* Responsividade: Botão no celular */
@media (max-width: 768px) {
  .back-button {
    font-size: 0.9rem; /* Reduz o tamanho da fonte em telas pequenas */
    padding: 8px 15px;
  }