/* --- Palette menus --- */
:root {
  --color-bg-dark: #1E1F3F;
  --color-accent: #6C63FF;
  --color-cta: #00C9A7;
  --color-text: #FFFFFF;
  --color-text-secondary: #A5A6B1;
}

/* --- Navbar --- */
.bg-dark-custom {
  background-color: var(--color-bg-dark) !important;
}
.nav-link {
  color: var(--color-text-secondary) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--color-accent) !important;
}
.btn-cta {
  background: var(--color-cta);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 18px;
  transition: all 0.3s ease;
}
.btn-cta:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
  background-color: var(--color-bg-dark);
}
.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}
.footer-link:hover {
  color: var(--color-accent);
}
.social-link {
  color: var(--color-text);
  margin-right: 10px;
  font-size: 1.1rem;
  transition: color 0.3s, transform 0.3s;
}
.social-link:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
}


/* --- Hero accueil --- */
.hero {
  background: linear-gradient(135deg, #1E1F3F, #6C63FF);
  min-height: 90vh;
  color: white;
}
.btn-outline-light:hover {
  background: white;
  color: #1E1F3F !important;
}

/* --- Services --- */
.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Portfolio --- */
.portfolio-item img {
  transition: transform 0.4s ease;
}
.portfolio-item:hover img {
  transform: scale(1.1);
}
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(30,31,63,0.8);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.portfolio-item:hover .overlay {
  opacity: 1;
}

/* --- CTA Section --- */
.cta-section {
  background: #1E1F3F;
}


/* --- Header page service --- */
.page-header {
  background: linear-gradient(135deg, #1E1F3F, #6C63FF);
  padding: 100px 0;
  color: white;
}

/* === Icônes Services : animation fluide au survol === */
.service-box {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-box .icon-service {
  display: inline-block;
  font-size: 48px;
  color: var(--color-accent);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* <-- Correction : cibler aussi le pseudo-élément Font Awesome --> */
.service-box .icon-service::before {
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-box:hover .icon-service,
.service-box:hover .icon-service::before {
  color: var(--color-cta);
  transform: scale(1.2);
}

.fa-desktop::before {
  content: "\f108"; /* L'icône */
}


@media (max-width: 768px) {
  .service-box .icon-service {
    color: var(--color-cta) !important;
  }
}






