/* ============================================
   LIMPEZA DENEUX — Custom Styles
   ============================================ */

/* --- Font defaults --- */
body {
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- Header scrolled state --- */
#header.header-scrolled {
  background: rgba(26, 86, 219, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --- Nav link underline animation --- */
.nav-link {
  position: relative;
  transition: opacity 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- CTA Nav Button --- */
.cta-nav-btn {
  background: linear-gradient(135deg, #ffffff 0%, #e8f0fe 100%);
  transition: all 0.3s ease;
}
.cta-nav-btn:hover {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.35);
  border-color: transparent;
}

/* --- Hero section --- */
#hero {
  position: relative;
}

/* --- Grain texture overlay --- */
.grain-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Hero diagonal divider --- */
.hero-divider {
  position: relative;
  height: 80px;
  margin-top: -1px;
}

.hero-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
}

@media (min-width: 768px) {
  .hero-divider { height: 100px; }
  .hero-divider::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%); }
}

@media (min-width: 1024px) {
  .hero-divider { height: 120px; }
  .hero-divider::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%); }
}

/* --- Glow orbs --- */
.glow-orb-tr {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(96,165,250,0.18) 0%, rgba(96,165,250,0.05) 40%, transparent 70%);
  top: -200px;
  right: -150px;
  pointer-events: none;
  animation: orb-float 8s ease-in-out infinite alternate;
}
.glow-orb-bl {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  bottom: -120px;
  left: -100px;
  pointer-events: none;
  animation: orb-float 10s ease-in-out infinite alternate-reverse;
}

@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.1); }
}

/* --- Shine particle --- */
.shine-particle {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  25%      { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0; transform: translate(-50%, -50%) scale(0); }
}

/* --- Hero badge --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

/* --- Hero primary button --- */
.hero-btn-primary {
  background: #ffffff;
  color: #1a56db;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 0.875rem;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  display: inline-block;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.35);
}

/* --- Hero secondary button --- */
.hero-btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: inline-block;
}
.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
}

/* --- Service card icon (gradient container) --- */
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
  flex-shrink: 0;
}
.service-icon svg {
  width: 26px;
  height: 26px;
  color: white;
}

/* --- Service card hover enhancements --- */
.service-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26, 86, 219, 0.15);
  border-color: #1a56db;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a56db, #60a5fa);
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover::before {
  opacity: 1;
}

/* --- Diferenciais wrapper card --- */
.diferencial-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}
.diferencial-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* --- Diferenciais icon circle gradient --- */
.diferencial-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.diferencial-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* --- CTA background --- */
.cta-pattern {
  background: linear-gradient(135deg, #0c1f52 0%, #1a3a8a 50%, #1a56db 100%);
  position: relative;
  overflow: hidden;
}
.cta-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- WhatsApp button --- */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: white;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  background: #1da952;
}

/* --- Depoimento card --- */
.depoimento-card {
  border-top: 3px solid #1a56db;
}

/* --- Depoimento avatar --- */
.depoimento-avatar {
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

/* --- Fade-up reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
}
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #1a56db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #1e3a8a; }
