/* Lembrete: class(.) id(#) */
/* Código padrão */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background-color: #0f0f0f; /* Alterado de 'black' para #0f0f0f para consistência */
  color: #f2f2f2;
  font-family: 'Inter', 'Segoe UI', sans-serif; /* Garante a fonte Inter para todo o corpo */
}

.header * {
    font-size: 1rem;
    line-height: normal;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif; /* Garante a fonte Inter para todos os elementos do header */
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1e1e1e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    z-index: 100;
    border-bottom: 1px solid #333;
}

.logo img {
    width: 120px;
    height: auto;
}

.menu-e-botao {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-tab {
    text-decoration: none;
    color: #cccccc;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 4px 4px 0 0;
    background-color: #2d2d30;
    border: 1px solid #3e3e42;
    border-bottom: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tab.active-tab {
    background-color: #fbca48; /* Fundo amarelo */
    color: #0f0f0f; /* Texto escuro */
    /* ... outras propriedades ... */
}

.nav-tab.active-tab:hover {
    background-color: #fbca48 !important; 
    color: #0f0f0f !important; 
}

.nav-tab:hover {
    background-color: #37373d;
    color: #ffffff;
    text-decoration: none;
}

/* Correção: Hover da aba Contate-nos para cinza igual às outras */
.nav-tab.contato-tab:hover {
    background-color: #37373d; /* Tom de cinza igual às outras abas */
    color: #ffffff; /* Texto branco */
    border-color: #3e3e42; /* Borda cinza */
}

.active-tab {
    background-color: #fbca48;
    color: #000000;
    border-color: #fbca48;
}

.active-tab:hover {
    background-color: #e6b642;
    color: #000000;
}

.download-button {
    background-color: #fbca48;
    border: none;
    color: #000000;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.download-button:hover {
    background-color: #e6b642;
    color: #000000;
    text-decoration: none;
    transform: translateY(-1px);
}

main {
    padding-top: 60px; /* Ajuste para compensar o header fixo */
    text-align: center;
    background-color: #1a1a1a;
}


/* Estilo da seção hero */
.hero-section {
  background-color: #1a1a1a;
  padding: 180px 40px 60px;
}

.highlight {
    color: #fbc531;
    position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.hero-left {
  flex: 1;
  text-align: left;
  font-size: 1.3rem;
}

.hero-left h1 {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: white;
  margin-bottom: 30px;
}

.hero-right {
  flex: 1;
  text-align: center;
}

.hero-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  opacity: 0.9;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-white);
}

.highlight {
    color: #fbca48;
    position: relative;
}

/*Estilo do botão*/
.botao{
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 20px 24px;
  font-size: 1.3rem;
  font-weight: bold;
  color: black;
  background-color: #fbc531;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
}

.botao:hover{
  background-color: #d4a821;
  transform: scale(1.05);
  text-decoration: none;
  color: white;
}

/*Estilo cards*/
.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 40px;
  background-color: #0f0f0f;
  color: #000000;
  text-align: center;
}


.card{
  background-color: #1a1a1a;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(251, 197, 49, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.card:hover{
  transform: translateY(-8px);
  border-color: #fbca48;
  box-shadow: 0 0 20px rgba(251, 196, 72, 0.4);
  background-color: #1f1f1f;
}

.card img{
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.1);
}

.card h3{
  margin-bottom: 10px;
  color: #fbc531;
  font-size: 1.2rem;
}

.card p{
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
}

/*Estilo carousel*/
.carousel{
  max-width: 950px;      /* Reduz a largura total */
  height: 550px;         /* Define a altura máxima */
  margin: 40px auto;     /* Centraliza e dá margem vertical */
  border-radius: 12px;   /* Opcional: bordas arredondadas */
  overflow: hidden;      /* Garante que a imagem não ultrapasse */
}

.carousel img{
  height: 100%;          /* Ajusta a imagem à altura definida */
  object-fit: cover;     /* Corta de forma proporcional */
}

.carrossel-com-texto{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 80px;
  background-color: #0f0f0f;
  flex-wrap: wrap; /* Torna responsivo */
}

.texto-lateral{
  flex: 1;
  max-width: 500px;
  color: #f2f2f2;
  text-align: left;
}

.texto-lateral h2{
  font-size: 2rem;
  color: #fbc531;
  margin-bottom: 20px;
}

.texto-lateral p{
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

.terminal-wrapper {
  flex: 1;
  max-width: 600px;
  height: 400px;
}

.terminal-window {
  background-color: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 10px rgba(251, 197, 49, 0.3),
    0 0 20px rgba(251, 197, 49, 0.1);
  border: 1px solid rgba(251, 197, 49, 0.6);
  transition: all 0.3s ease;
}

.terminal-header {
  background-color: #2d2d30;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.btn-close {
  background-color: #ff5f57;
}

.btn-minimize {
  background-color: #ffbd2e;
}

.btn-maximize {
  background-color: #28ca42;
}

.terminal-title {
  color: #cccccc;
  font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.terminal-line {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt {
  color: #fbca48;
  font-weight: bold;
}

.command {
  color: #4ec9b0;
}

.success {
  color: #4ec9b0;
}

.text {
  color: #cccccc;
}

.cursor {
  color: #fbca48;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/*Estilo footer*/
.footer{
  background-color: #1a1a1a;
  color: #f2f2f2;
  padding: 20px 15px 12px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-logo img{
  width: 150px;
  height: auto;
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.footer-links a{
  color: #f2f2f2;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover{
  color: #fbca48;
  text-decoration: none;
}

.footer-social a{
  margin: 0 8px;
}

.footer-social img{
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-social img:hover{
  transform: scale(1.2);
  filter: brightness(0) saturate(100%) invert(79%) sepia(33%) saturate(1780%) hue-rotate(359deg) brightness(105%) contrast(101%);
}

.footer-bottom{
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 12px;
  font-size: 0.8rem;
  color: #aaa;
}

/*Estilo funcionalidades*/
.funcionalidade{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #0f0f0f;
  padding: 60px 80px;
  gap: 40px;
}

.func-texto{
  flex: 1;
  text-align: left;
}

.func-texto h2{
  font-size: 2rem;
  color: #fbc531;
  margin-bottom: 20px;
}

.func-texto p{
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
}

.func-img{
  flex: 1;
  text-align: center;
}

.func-img img{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(251, 197, 49, 0.2);
}

/* Nova seção de animação minimalista */
.animated-background-section {
    position: relative;
    width: 100%;
    height: 400px; /* Altura da seção */
    background-color: #0f0f0f; /* Fundo escuro */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
}

.animation-content {
    position: relative;
    z-index: 2; /* Garante que o texto fique acima das linhas */
    color: #f2f2f2;
    max-width: 800px;
}

.animation-content h2 {
    font-size: 2.2rem;
    color: #fbc531;
    margin-bottom: 15px;
}

.animation-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
}

.lines-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.animated-line {
    position: absolute;
    background-color: #fbc531; /* Linhas amarelas */
    opacity: 0.3; /* Transparência para efeito minimalista */
    animation: moveLine 10s linear infinite; /* Animação de movimento */
}

.terminal-window:hover {
  box-shadow:
    0 0 15px rgba(251, 197, 49, 0.5),
    0 0 30px rgba(251, 197, 49, 0.2);
}

.terminal-header {
  background-color: #2d2d30;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(251, 197, 49, 0.3); /* mantém o tom da borda */
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.close {
  background-color: #ff5f57;
}

.control.minimize {
  background-color: #ffbd2e;
}

.control.maximize {
  background-color: #28ca42;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.terminal-content {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.8;
  border-radius: 0 0 12px 12px;
}

.terminal-content:hover {
  box-shadow:
    0 0 15px rgba(251, 197, 49, 0.5),
    0 0 30px rgba(251, 197, 49, 0.2);
}


.terminal-line {
  margin-bottom: 8px;
}

.prompt {
  color: var(--accent-primary);
  margin-right: 8px;
}

.command {
  color: var(--text-primary);
}

.output {
  color: #4ec9b0;
}

.typing {
  animation: typing 2s steps(20) infinite;
}

.cursor {
  color: var(--accent-primary);
  animation: blink 1s infinite;
}
/*final do terminal*/

@keyframes moveLine {
    0% {
        transform: translate(0, 0) scaleX(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(100vw, 50vh) scaleX(0.5); 
        opacity: 0.1;
    }
    100% {
        transform: translate(200vw, 100vh) scaleX(1);
        opacity: 0.3;
    }
}

/* Responsividade para a seção de animação */
@media (max-width: 768px) {
    .animated-background-section {
        height: 300px;
        padding: 40px 20px;
    }

    .animation-content h2 {
        font-size: 1.8rem;
    }

    .animation-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .animated-background-section {
        height: 250px;
        padding: 30px 15px;
    }

    .animation-content h2 {
        font-size: 1.5rem;
    }

    .animation-content p {
        font-size: 0.85rem;
    }
}
