/* css/style-global.css */

/* Variáveis de cores */
:root {
  --bg-light: #ffffff;
  --text-light: #1a1a1a;
  --bg-dark: #121212;
  --text-dark: #f0f0f0;
  --primary-color: #6C63FF;
  --accent-color: #ff6f61;
  --metallic-silver: #C0C0C0; /* Cor metálica prata */
}

/* Corpo */
body {
  background-color: var(--bg-light);
  font-family: 'Outfit', sans-serif;
  color: var(--text-light);
  background-image: url('https://www.transparenttextures.com/patterns/stardust.png'), linear-gradient(to bottom, #1d1c33, #2a2946);
  background-repeat: repeat;
  background-size: 300px, cover;
  transition: background 0.3s ease, color 0.3s ease;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}


/* Hero Section */
.hero-section {
  background: transparent;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero-section .welcome-msg h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-section .welcome-msg p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn-cta {
  background-color: #a855f7;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-cta:hover {
  background-color: #6a1b9a;
}

.card {
  background: rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--metallic-silver);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  width: 100%;
  max-width: 240px;
  margin: 1rem auto;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.1); /* Cor do card ao passar o mouse */
}

.card i {
  display: block;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.card h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  color: var(--metallic-silver);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.testimonial-card p {
  font-size: 1.2rem;
  color: white;
}

.testimonial-card span {
  display: block;
  margin-top: 1rem;
  font-style: italic;
  color: var(--metallic-silver);
}

/* Cards "Sobre a Qodemy" */
.card-about {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-about h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.card-about p {
  font-size: 1rem;
  color: var(--metallic-silver);
}

/* Estrutura de Cards para seções específicas */
.section-cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: center;
  margin: 0 auto;
  padding: 2rem;
}

/* Card individual */
.card-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--metallic-silver);
}

.card-section i {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.card-section h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.card-section p {
  font-size: 1rem;
  color: var(--metallic-silver);
}

/* Ajustes no Layout */
@media (max-width: 768px) {
  .section-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Layout das Estáticas de "Projetos Recentes" e "Clientes em Destaque" */
.stats-container,
.clients-container {
  padding: 60px 20px;
  text-align: center;
}

.stats-container h2,
.clients-container h2 {
  color: white;
  margin-bottom: 2rem;
}

.stat-item {
  color: var(--metallic-silver);
  font-size: 2rem;
  margin: 1rem 0;
}

.stat-item strong {
  font-size: 2.5rem;
  color: white;
}

/* Cards de "Clientes em Destaque" */
.client-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card img {
  border-radius: 50%;
  max-width: 80px;
  margin-bottom: 1rem;
}

.client-card p {
  font-size: 1rem;
  color: var(--metallic-silver);
}

.client-card span {
  font-size: 1.2rem;
  color: white;
}

/* Configuração dos botões */
button,
a.button {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

button:hover,
a.button:hover {
  background-color: #6a1b9a;
}

.card-modern {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.card-modern:hover {
  transform: scale(1.05); /* Aumento sutil ao passar o mouse */
  background-color: rgba(255, 255, 255, 0.2);
}

.card-modern i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.card-modern h3 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

.card-modern p {
  font-size: 1rem;
  color: #ccc;
}
.section-about-modern,
.section-projects-modern {
  background: rgba(0, 0, 0, 0.1);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.6;
}


.testimonials-container,
.clients-container-modern {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.testimonial-card-modern,
.client-card-modern {
 background: rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  width: 30%;
}

.testimonial-card-modern:hover,
.client-card-modern:hover {
  transform: scale(1.05);
}

.testimonial-text {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
}

.testimonial-author {
  font-size: 1rem;
  color: #ccc;
  font-style: italic;
}

.client-image {
  border-radius: 50%;
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

.client-name {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.client-description {
  font-size: 1rem;
  color: #ccc;
}
/* WhatsApp Flutuante - Do lado direito */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Mover para o lado direito */
  background-color: #25d366; /* Cor do WhatsApp */
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.whatsapp-float i {
  font-size: 1.8rem; /* Ajuste do tamanho do ícone */
  color: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.1); /* Efeito de aumento ao passar o mouse */
}

/* Botão Flutuante e Ações - Do lado esquerdo */
.botao-flutuante {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Mover para o lado esquerdo */
  z-index: 1000;
  text-align: center;
}

.btn-flutuante {
  background-color: #4C1D95; /* Cor da Qodemy */
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px; /* Tamanho reduzido */
  height: 50px; /* Tamanho reduzido */
  font-size: 1.5rem; /* Reduzir tamanho da fonte */
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-flutuante:hover {
  background-color: #6b2a96; /* Cor mais escura ao passar o mouse */
  transform: scale(1.1); /* Aumenta um pouco o botão ao passar o mouse */
}

/* Ações de links */
.botoes-acoes {
  display: none;
  position: absolute;
  bottom: 70px;
  left: 0; /* Posicionar as opções à esquerda */
  background-color: rgba(0, 0, 0, 0.7); /* Fundo translúcido */
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.botoes-acoes a {
  color: #fff;
  font-size: 1.2rem; /* Tamanho dos ícones reduzido */
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.botoes-acoes a:hover {
  background-color: #6b2a96; /* Cor ao passar o mouse */
  transform: scale(1.1); /* Efeito de aumento */
}

/* Exibe as ações quando o botão é clicado */
.botao-flutuante.active .botoes-acoes {
  display: flex;
}

/* Responsividade */
@media (max-width: 768px) {
  .btn-flutuante {
    width: 45px;
    height: 45px;
    font-size: 1.2rem; /* Tamanho menor do botão em dispositivos móveis */
  }

  .whatsapp-float {
    padding: 10px;
    bottom: 15px;
    right: 15px;
  }

  .botoes-acoes a {
    font-size: 1rem; /* Reduzir o tamanho dos ícones */
    padding: 6px;
  }

  .botoes-acoes {
    bottom: 60px; /* Ajustar a posição das ações no mobile */
  }
}
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}
