/* === style-services.css — KIZUNA STUDIO (version corrigée) === */

/* === PALETTE ===
   Violet principal : #7209B7
   Bleu clair accent : #4CC9F0
   Bleu profond : #3A0CA3
   Fond sombre doux : #1E1B3A
   Blanc : #FFFFFF
*/

/* === GLOBAL === */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1E1B3A 0%, #3A0CA3 50%, #7209B7 100%);
  background-size: 300% 300%;
  animation: gradientMove 18s ease infinite;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.7;
  position: relative;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === HALOS === */
section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* 🔹 empêche de bloquer les clics */
  background: radial-gradient(circle at 20% 40%, rgba(76,201,240,0.12), transparent 70%),
              radial-gradient(circle at 80% 70%, rgba(162,89,255,0.12), transparent 70%);
  animation: lightFlow 10s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes lightFlow {
  0% { opacity: 0.5; transform: translateY(0px); }
  100% { opacity: 0.9; transform: translateY(-20px); }
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(30, 27, 58, 0.8);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  width: 85px; /* taille du cercle */
  height: 85px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoGlow 3.5s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo a {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* === LUEUR CONTINUE SUR LE CONTOUR === */
@keyframes logoGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.3),
                0 0 30px rgba(162, 89, 255, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(162, 89, 255, 0.5),
                0 0 45px rgba(76, 201, 240, 0.4);
    transform: scale(1.03);
  }
}

/* === SURVOL === */
.logo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 45px rgba(162, 89, 255, 0.6),
              0 0 70px rgba(76, 201, 240, 0.5);
}

.logo:hover img {
  transform: scale(1.12);
  filter: brightness(1.2);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4CC9F0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.burger {
  display: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* === HERO SERVICES === */
.hero-services {
  height: 60vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 20% 40%, rgba(76,201,240,0.25), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(162,89,255,0.25), transparent 60%),
              linear-gradient(135deg, #3A0CA3, #7209B7);
}

.hero-services::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(162,89,255,0.1) 0%, transparent 60%);
  animation: rotateGlow 20s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-text {
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
  position: relative;
}

.hero-services h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #4CC9F0, #A259FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-services p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}

/* === SERVICES GRID === */
.services {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.services h2 {
  font-size: 2rem;
  color: #A259FF;
  margin-bottom: 3rem;
  text-shadow: 0 0 15px rgba(162,89,255,0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 30px rgba(76,201,240,0.3);
}

.service-card i {
  font-size: 2.5rem;
  color: #4CC9F0;
  margin-bottom: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover i {
  color: #A259FF;
  transform: scale(1.1);
}

/* === WHY CHOOSE KIZUNA === */
.why {
  text-align: center;
  padding: 6rem 2rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.why::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(162,89,255,0.15) 0%, transparent 70%);
  animation: pulseLight 15s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes pulseLight {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.why h2 {
  font-size: 2rem;
  color: #4CC9F0;
  margin-bottom: 3rem;
  text-shadow: 0 0 15px rgba(76,201,240,0.3);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.why-item {
  background: rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.why-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 25px rgba(162,89,255,0.3);
}

.why-item i {
  font-size: 2rem;
  color: #4CC9F0;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.why-item:hover i {
  color: #A259FF;
  transform: scale(1.1);
}

/* === CTA === */
.cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #3A0CA3, #7209B7);
  position: relative;
  z-index: 1;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(76,201,240,0.15), transparent 70%);
  animation: lightPulse 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes lightPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.cta h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.btn-primary {
  text-decoration: none;
  background-color: #4CC9F0;
  color: #1E1B3A;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2; /* 🔹 garantit que le bouton est au-dessus */
}

.btn-primary:hover {
  background-color: #A259FF;
  color: #fff;
  transform: translateY(-2px);
}

/* === EFFET D’OMBRE SOUS LES BOUTONS === */
.btn-primary, .btn-secondary {
  box-shadow: 0 8px 20px rgba(97, 201, 233, 0.3); /* ombre douce bleutée */
  transition: all 0.3s ease;
}

.btn-primary:hover, .btn-secondary:hover {
  box-shadow: 0 10px 25px rgba(162, 89, 255, 0.4); /* ombre plus marquée au survol */
  transform: translateY(-3px);
}

.footer {
  background: rgba(30, 27, 58, 0.95);
  color: #fff;
  padding: 3rem 2rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 2rem;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-column.center {
  text-align: center;
}

.footer-column.right {
  text-align: right;
}

.footer-column h3 {
  color: #4CC9F0;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column a,
.footer-bottom a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #A259FF;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 0.4rem 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #4CC9F0;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column.right {
    text-align: center;
  }
}


/* === FADE === */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(30,27,58,0.95);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 2rem 0;
  }

  .nav-links.active { display: flex; }
  .burger { display: block; }
  .hero-services h1 { font-size: 2.4rem; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
}
