/* services.css - Estilos para a página de serviços IJH Investimentos */

/* Variáveis de cores */
:root {
  --header-height: 72px;
  --accent: #4dd0ff;
  --cta: #1e90ff;
  --bg: #0a0f1a;
  --dark-bg: #0f1724;
  --card-bg: #12203b;
  --text-primary: #ffffff;
  --text-secondary: #d5dfe8;
}

/* Reset e estilos básicos */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Efeito de partículas flutuantes */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(77, 208, 255, 0.03);
  animation: float 15s infinite ease-in-out;
}

.circle-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.circle-2 {
  width: 200px;
  height: 200px;
  top: 70%;
  left: 10%;
  animation-delay: -2s;
}

.circle-3 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 15%;
  animation-delay: -4s;
}

.circle-4 {
  width: 180px;
  height: 180px;
  top: 60%;
  right: 5%;
  animation-delay: -6s;
}

.circle-5 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 30%;
  animation-delay: -8s;
}

.circle-6 {
  width: 160px;
  height: 160px;
  top: 30%;
  right: 25%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(15px);
  }
  50% {
    transform: translateY(10px) translateX(-15px);
  }
  75% {
    transform: translateY(-15px) translateX(-10px);
  }
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  height: var(--header-height);
  background: rgba(10, 15, 26, 0.9);
  backdrop-filter: saturate(120%) blur(6px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-image {
  height: 160px;
  width: auto;
  margin-top: 10px;
  transition: all 0.4s ease;
}

.nav {
  display: flex;
  align-items: center;
  margin-right: 47px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-link-item {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link-item:hover::after {
  width: 100%;
}

.nav-link-item:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-link-item.active {
  color: var(--accent);
}

.nav-link-item.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 76%;
  max-width: 320px;
  height: 100%;
  background: #0f1a2a;
  padding: 84px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1100;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.sidebar.show {
  right: 0;
}

.sidebar-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-close:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.sidebar-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 0;
  display: block;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sidebar-link:hover::before {
  width: 30px;
}

.sidebar-link:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.sidebar-link.active {
  color: var(--accent);
}

.sidebar-link.active::before {
  width: 30px;
}

section {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* Hero Section para Serviços - COM IMAGEM DE FUNDO */
.services-hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin-top: var(--header-height);
  overflow: hidden;
  background: linear-gradient(rgba(10, 15, 26, 0.8), rgba(10, 15, 26, 0.8)), 
              url('https://images.pexels.com/photos/3182812/pexels-photo-3182812.jpeg') center/cover no-repeat;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.services-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.services-hero p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Categorias de Serviços - LAYOUT ORGANIZADO */
.services-categories {
  padding: 80px 5%;
  background: var(--bg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.category-header {
  padding: 25px 25px 15px;
  text-align: center;
  background: rgba(77, 208, 255, 0.05);
  border-bottom: 1px solid rgba(77, 208, 255, 0.1);
}

.category-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(77, 208, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.8rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background: var(--accent);
  color: var(--bg);
  transform: scale(1.1);
}

.category-header h3 {
  margin-bottom: 0;
  font-size: 1.4rem;
  color: #fff;
}

.category-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-list {
  list-style: none;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-list li {
  margin-bottom: 12px;
  padding-left: 5px;
  color: #d5dfe8;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.service-list li:hover {
  transform: translateX(5px);
}

.service-list i {
  color: var(--accent);
  margin-right: 10px;
  font-size: 0.9rem;
}

.category-content .btn {
  align-self: center;
  margin-top: auto;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--cta);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 144, 255, 0.3);
  background: #3399ff;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: rgba(77, 208, 255, 0.15);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-icon {
  margin-right: 10px;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: scale(1.1);
}

/* Detalhes dos Serviços */
.service-detail {
  padding: 80px 5%;
}

.service-detail.alt-bg {
  background: var(--dark-bg);
}

.detail-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

.detail-container.reverse {
  flex-direction: row-reverse;
}

.detail-content {
  flex: 1;
}

.detail-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.detail-content > p {
  color: #d5dfe8;
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.feature {
  background: rgba(18, 32, 59, 0.5);
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}

.feature h4 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #fff;
}

.feature p {
  color: #d5dfe8;
  line-height: 1.5;
}

.detail-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.detail-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.detail-image:hover img {
  transform: scale(1.05);
}

/* Processo Section - MELHORADA */
.process-section {
  padding: 80px 5%;
  background: var(--bg);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
  flex: 1;
  min-width: 200px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(77, 208, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.process-step:hover .step-icon {
  background: var(--accent);
  color: var(--bg);
  transform: scale(1.1);
}

.step-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #fff;
}

.step-content p {
  color: #d5dfe8;
  line-height: 1.5;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 5%;
  background: var(--dark-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(77, 208, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  background: var(--accent);
  color: var(--bg);
  transform: scale(1.1);
}

.benefit-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.benefit-card p {
  color: #d5dfe8;
  line-height: 1.6;
}

/* CTA Section para Serviços - COM IMAGEM */
.services-cta {
  padding: 100px 5%;
  background: linear-gradient(135deg, var(--cta) 0%, #0066cc 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

.cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 100% 100%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FOOTER */
footer {
  background: var(--dark-bg);
  padding: 60px 5% 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-about p {
  color: #d5dfe8;
  margin: 15px 0 20px;
  line-height: 1.6;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-link:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #d5dfe8;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-contact p {
  color: #d5dfe8;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--accent);
  width: 20px;
}

.professional-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.professional-links a {
  color: #d5dfe8;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
}

.professional-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.professional-links i {
  margin-right: 10px;
  color: var(--accent);
  width: 20px;
  transition: transform 0.3s ease;
}

.professional-links a:hover i {
  transform: scale(1.1);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #d5dfe8;
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .services-hero h1 {
    font-size: 2.8rem;
  }
  
  .detail-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .detail-container.reverse {
    flex-direction: column;
  }
  
  .service-features {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .logo-image {
    height: 140px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .header {
    padding: 14px 20px;
  }
  
  .services-hero {
    height: 50vh;
  }
  
  .services-hero h1 {
    font-size: 2.2rem;
  }
  
  .services-hero p {
    font-size: 1.1rem;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .detail-content h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact p, .professional-links a {
    justify-content: center;
  }
  
  .logo-image {
    height: 120px;
  }
}

@media (max-width: 576px) {
  .services-hero {
    height: 45vh;
  }
  
  .services-hero h1 {
    font-size: 1.8rem;
  }
  
  .category-card {
    padding: 20px;
  }
  
  .feature {
    padding: 15px;
  }
  
  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .logo-image {
    height: 100px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}