/* =========================
   CONFIGURAÇÕES GLOBAIS
========================= */

html {
  scroll-behavior: smooth;
}

body {
  background: #050505;
  font-family: "Inter", sans-serif;
  color: white;
}

/* =========================
   HERO / FUNDO PRINCIPAL
========================= */

.hero-bg {
  background:
    radial-gradient(
      circle at top right,
      rgba(15, 93, 255, 0.25),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(15, 93, 255, 0.15),
      transparent 30%
    ),
    #050505;
}

/* =========================
   MENU HEADER
========================= */

header nav a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #0f5dff;
}

/* Linha animada */

header nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -6px;

  width: 0;
  height: 2px;

  background: #0f5dff;

  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

/* =========================
   MENU MOBILE HOVER
========================= */

#mobileMenu a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s ease;
}

#mobileMenu a:hover {
  color: #0f5dff;
  padding-left: 8px;
}

/* =========================
   COMPONENTES GERAIS
========================= */

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.text-gradient {
  background: linear-gradient(90deg, #0f5dff, #61a5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary {
  background: #0f5dff;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-3px);
}

.card-hover {
  transition: 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: #0f5dff;
}

/* =========================
   SOBRE COM FOTO
========================= */

.sobre-foto-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sobre-foto-card {
  width: 100%;
  max-width: 420px;
  padding: 14px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.sobre-foto-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    circle at top right,
    rgba(15, 93, 255, 0.35),
    transparent 45%
  );
  pointer-events: none;
}

.sobre-foto {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 22px;
  position: relative;
  z-index: 1;
}

.sobre-tags {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}

.sobre-tags span {
  font-size: 12px;
  color: #cbd5e1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(15, 93, 255, 0.2);
}

.sobre-tags span:hover {
  color: #ffffff;
  border-color: #0f5dff;
  box-shadow: 0 0 18px rgba(15, 93, 255, 0.2);
}

/* =========================
   SERVIÇOS
========================= */

#servicos {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#servicos .card-hover {
  transition: 0.3s ease;
}

#servicos .card-hover:hover {
  transform: translateY(-6px);
  border-color: #0f5dff;
  box-shadow: 0 0 30px rgba(15, 93, 255, 0.15);
}

/* =========================
   BENEFÍCIOS
========================= */

#beneficios .card-hover {
  transition: 0.3s ease;
}

#beneficios .card-hover:hover {
  transform: translateY(-6px);
  border-color: #0f5dff;
  box-shadow: 0 0 30px rgba(15, 93, 255, 0.15);
}

/* =========================
   PORTFÓLIO
========================= */

#portfolio {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#portfolio img {
  display: block;
}

#portfolio .group:hover img {
  transform: scale(1.05);
}

#portfolio a {
  text-decoration: none;
  color: inherit;
}

#portfolio .card-hover {
  transition: 0.3s ease;
}

#portfolio .card-hover:hover {
  transform: translateY(-6px);
  border-color: #0f5dff;
  box-shadow: 0 0 35px rgba(15, 93, 255, 0.18);
}

/* =========================
   PROCESSO
========================= */

#processo {
  position: relative;
}

#processo .card-hover {
  transition: 0.3s ease;
}

#processo .card-hover:hover {
  transform: translateY(-6px);
  border-color: #0f5dff;
  box-shadow: 0 0 35px rgba(15, 93, 255, 0.18);
}

#processo span {
  display: inline-block;
  line-height: 1;
}

/* =========================
   SLIDER DE DEPOIMENTOS
========================= */

.testimonial-slide {
  animation: fadeSlide 0.4s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#prevTestimonial,
#nextTestimonial {
  transition: 0.3s ease;
}

#prevTestimonial:hover,
#nextTestimonial:hover {
  background: #0f5dff;
  transform: translateY(-3px);
}

/* =========================
   FAQ
========================= */

#faq {
  position: relative;
}

#faq .faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s ease;
}

#faq .faq-item:hover {
  border-color: #0f5dff;
  box-shadow: 0 0 30px rgba(15, 93, 255, 0.12);
}

#faq .faq-question {
  cursor: pointer;
}

#faq .faq-answer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================
   FORMULÁRIO DE LEAD
========================= */

#formulario .glass {
  border: 1px solid rgba(15, 93, 255, 0.2);
  box-shadow: 0 0 50px rgba(15, 93, 255, 0.12);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 16px;
  border-radius: 14px;
  outline: none;
  transition: 0.3s ease;
}

.form-input::placeholder {
  color: #71717a;
}

.form-input:focus {
  border-color: #0f5dff;
  box-shadow: 0 0 0 3px rgba(15, 93, 255, 0.18);
}

/* =========================
   CTA FINAL / CONTATO
========================= */

#contato .glass {
  border: 1px solid rgba(15, 93, 255, 0.25);
  box-shadow: 0 0 60px rgba(15, 93, 255, 0.15);
}

#contato h2 {
  line-height: 1.1;
}

/* =========================
   FOOTER DESKTOP
========================= */

.footer-clean {
  background: #03060d;
  padding: 56px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 680px;
}

.footer-brand h3 {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
}

.footer-brand p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #0f5dff;
}

.footer-bottom {
  padding-top: 26px;
}

.footer-bottom p {
  color: #cbd5e1;
  font-size: 14px;
  margin: 0;
}

/* =========================
   FOOTER MOBILE
========================= */

@media (max-width: 768px) {
  .footer-clean {
    padding: 42px 0 82px;
  }

  .footer-container {
    max-width: 100%;
    padding: 0 20px;
  }

  .footer-top {
    display: block;
    text-align: center;
    padding-bottom: 24px;
  }

  .footer-brand {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .footer-brand h3 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .footer-brand p {
    font-size: 0.82rem;
    line-height: 1.55;
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 20px;
  }

  .footer-links a {
    font-size: 0.78rem;
  }

  .footer-bottom {
    padding-top: 18px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 0.68rem;
    line-height: 1.45;
    max-width: 260px;
    margin: 0 auto;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 18px;
    bottom: 18px;
    font-size: 26px;
  }
}

/* =========================
   WHATSAPP FLUTUANTE
========================= */

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;

  width: 65px;
  height: 65px;

  background: #25d366;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;
  color: white;

  z-index: 9999;

  box-shadow: 0 0 30px rgba(37, 211, 102, 0.45);

  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
}

/* =========================
   ANIMAÇÕES REVEAL
========================= */

/* Site aparece normalmente */

.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Só anima quando JS estiver ativo */

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   RESPONSIVO
========================= */

@media (max-width: 768px) {
  #sobre,
  #servicos,
  #beneficios,
  #portfolio,
  #processo,
  #depoimentos,
  #faq,
  #contato {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  #sobre .grid,
  #servicos .grid,
  #beneficios .grid,
  #portfolio .grid,
  #processo .grid,
  #depoimentos .grid {
    gap: 1.5rem;
  }

  #sobre h2,
  #servicos h2,
  #beneficios h2,
  #portfolio h2,
  #processo h2,
  #depoimentos h2,
  #faq h2,
  #contato h2 {
    font-size: 2rem;
    line-height: 1.15;
  }

  #processo span {
    font-size: 2.8rem;
  }

  #contato .glass {
    padding: 2rem;
  }

  a.fixed.bottom-6.right-6 {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    justify-content: center;
    text-align: center;
  }
}
