/* === CORRECTION GLOBALE LARGEUR — KIZUNA STUDIO === */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Pour s'assurer que toutes les sections et les zones principales prennent bien toute la largeur */
header, section, main, footer {
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Évite que les fonds dégradés ou les zones colorées soient centrées dans une boîte */
.hero,
.hero-services,
.hero-portfolio,
.hero-ia,
.hero-partenariat,
.footer {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Empêche toute boîte interne d’ajouter un espacement horizontal involontaire */
* {
  box-sizing: border-box;
}

/* === EFFET D’OMBRE SOUS LES BOUTONS === */
.btn-primary, .btn-secondary {
  box-shadow: 0 8px 20px rgba(76, 201, 240, 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);
}










#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(30, 27, 58, 0.95);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 9999;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.3);
  transition: opacity 0.4s ease;
}

#cookie-banner.hidden {
  display: none !important;
}

.fade-out {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

#cookie-banner button {
  background-color: #4CC9F0;
  border: none;
  color: #1E1B3A;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 1rem;
  transition: background 0.3s ease;
}

#cookie-banner button:hover {
  background-color: #A259FF;
  color: white;
}

#cookie-banner[data-no-animation="true"] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  background: rgba(30, 27, 58, 0.95);
  color: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 9999;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
}

#cookie-banner button {
  background-color: #4CC9F0;
  border: none;
  color: #1E1B3A;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 1rem;
  transition: background 0.3s ease;
}

#cookie-banner button:hover {
  background-color: #A259FF;
  color: #fff;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: radial-gradient(circle at 30% 30%, #4CC9F0, #7209B7);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 0 25px rgba(76, 201, 240, 0.5);
  transition: all 0.3s ease;
}

/* === HALO LUMINEUX === */
.scroll-top::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162,89,255,0.35), rgba(76,201,240,0.05));
  animation: haloPulse 3s infinite ease-in-out;
  z-index: -1;
}

@keyframes haloPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.4;
  }
}

.scroll-top:hover {
  transform: scale(1.15);
  background: radial-gradient(circle at 70% 70%, #A259FF, #4CC9F0);
  box-shadow: 0 0 35px rgba(162, 89, 255, 0.7);
}

/* Petite animation de la flèche */
.scroll-top i {
  pointer-events: none;
  animation: pulseUp 2s infinite ease-in-out;
}

@keyframes pulseUp {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-4px); opacity: 0.85; }
}

.logo {
  width: 90px; /* adapte selon ta préférence */
  height: 90px;
  border-radius: 50%;
  overflow: hidden; /* masque tout dépassement */
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoGlow 3.5s infinite ease-in-out;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* le logo remplit entièrement la forme ronde */
  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.08);
  box-shadow: 0 0 40px rgba(162, 89, 255, 0.6),
              0 0 70px rgba(76, 201, 240, 0.5);
}

.logo:hover img {
  transform: scale(1.1);
  filter: brightness(1.15);
}
