/* ===== Reset & Global ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --color-primary: #191c22;
  --color-secondary: #ffc327;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #f8f9fa;
}

/* ===== Container ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

/* ===== HEADER ===== */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.brand {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Links */
.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: #60a5fa;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Scroll ativo */
.main-header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE ===== */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.menu-btn span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: all 0.4s ease;
}

/* Menu ativo (animação X) */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Menu Mobile */
.mobile-menu {
  position: fixed;
  top: 70px;
  right: -100%;
  width: 70%;
  height: calc(100vh - 70px);
  background: rgba(15, 23, 42, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: right 0.5s ease;
  backdrop-filter: blur(10px);
}

.mobile-menu a {
  color: #e5e7eb;
  font-size: 1.3rem;
  text-decoration: none;
  margin: 1.5rem 0;
  transition: 0.3s;
}

.mobile-menu a:hover {
  color: #60a5fa;
  transform: scale(1.1);
}

.mobile-menu.active {
  right: 0;
}

/* Responsividade */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(120deg, #0f172a, #1e3a8a, #2563eb);
  background-size: 200% 200%;
  animation: gradientMove 10s ease infinite;
  color: #fff;
  padding: 0 1rem;
}

/* Animação do gradiente de fundo */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Efeito de overlay suave */
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.8)
  );
  z-index: 1;
}

/* Conteúdo */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Título */
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-top: 2rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #fff, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* Subtítulo */
.hero-subtitle {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: #e5e7eb;
  line-height: 1.6;
}

/* Botão principal */
.btn-hero {
  display: inline-block;
  margin-top: 2rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
  transition: all 0.4s ease;
}

.btn-hero i {
  margin-right: 10px;
}

.btn-hero:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.5);
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.vv {
  margin-top: 40px;
  margin-bottom: -50px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}

.scroll-down {
  display: inline-block;
  color: #fff;
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: -5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: color 0.3s ease;
}

.scroll-down:hover {
  color: #60a5fa;
}

/* Animação bounce */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .btn-hero {
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }
}

/* ===== Sections ===== */
section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #1e40af;
}

section p {
  text-align: center;
  margin-bottom: 2rem;
  color: #4b5563;
}

.section-diferenciais {
  background-color: #0a132d;
  display: flex;
}

.diferenciais-h2 {
  color: #fbfdff;
  text-decoration: underline;
}

.diferenciais-p {
  color: #b7bfca;
}

.soli {
  display: block;
  margin: 20px auto;
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
  transform-style: preserve-3d;
  perspective: 1000px;
  opacity: 0;
  transform: translateY(30px);
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin-bottom: 1rem;
  color: #1e40af;
}

.card p {
  color: #6b7280;
}

/* ===== Buttons ===== */
.btn,
.soli {
  background: #1e40af;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.4s;
}

.btn:hover,
.soli:hover {
  background: #2563eb;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Pulse animation */
.btn:hover,
.soli:hover {
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.1);
  }
}

/* ===== Form ===== */
form input,
form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  transition: 0.3s;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 10px rgba(30, 64, 175, 0.2);
}

.como-funciona {
  background: radial-gradient(circle at top left, #101820, #0b0f14 80%);
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.como-funciona::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.3;
  pointer-events: none;
}

.titulo-secao {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00f5ff, #00b3ff, #00f5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.subtitulo {
  color: #a8b0b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

.etapas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.etapa {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 25px;
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.05);
}

.etapa:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.etapa .numero {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(145deg, #00f5ff, #0077ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  transition: all 0.4s ease;
}

.etapa:hover .numero {
  transform: scale(1.2);
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.etapa h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.etapa p {
  font-size: 1rem;
  color: #b9c0c9;
  line-height: 1.5;
}

/* Fade-in suave */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
  .titulo-secao {
    font-size: 2.2rem;
  }
  .subtitulo {
    font-size: 1rem;
  }
  .etapa {
    padding: 30px 20px;
  }
}

.section-contato {
  background: radial-gradient(circle at bottom right, #0b0f14, #070a0d 80%);
  color: #fff;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.section-contato::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(0, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.2;
}

.section-contato h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(90deg, #00f5ff, #00b3ff, #00f5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.contato-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 50px 40px;
  border-radius: 25px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.1);
  text-align: center;
  max-width: 500px;
  transition: all 0.4s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.3);
}

.info-card h3 {
  color: #00f5ff;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.info-card p {
  color: #b9c0c9;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 1rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.info-card li {
  margin-bottom: 12px;
  color: #d1d5db;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.info-card i {
  color: #00f5ff;
  font-size: 1.2rem;
}

/* ==== BOTÃO WHATSAPP ==== */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #00f260, #00c853);
  color: #fff;
  padding: 14px 25px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp i {
  font-size: 1.4rem;
}

.btn-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.4),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-whatsapp:hover::before {
  opacity: 1;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 255, 128, 0.6);
}

/* ==== ANIMAÇÃO FADE-IN ==== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .diferenciais-h2 {
    font-size: 30px;
    text-decoration: none;
  }
  .info-card {
    padding: 35px 25px;
  }
  .section-contato h2 {
    font-size: 2.2rem;
  }
}

/* Pulse animation */
@keyframes pulse {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.1);
  }
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  background: linear-gradient(180deg, #0a0f13, #05080b);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top center,
    rgba(0, 255, 255, 0.1),
    transparent 70%
  );
  opacity: 0.5;
}

.footer-container {
  position: relative;
  z-index: 1;
}

.footer-content {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 25px 30px;
  display: inline-block;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.footer-content:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
}

.footer p {
  color: #d1d5db;
  margin: 8px 0;
  font-size: 0.95rem;
}

.footer .brand {
  background: linear-gradient(90deg, #00f5ff, #00b3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.footer .credit a {
  color: #00f5ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer .credit a:hover {
  color: #00b3ff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
  header nav {
    float: none;
    text-align: center;
    margin-top: 1rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .etapas {
    flex-direction: column;
  }
  .etapas::before {
    display: none;
  }
  .contato-grid {
    grid-template-columns: 1fr;
  }
}
