/* ===== ILLICOWEB NEXT-GEN - TRANSFORMATION COMPLÈTE ===== */

/* ===== VARIABLES CSS NEXT-GEN - DESIGN CLAIR ===== */
:root {
  /* Palette du Moodboard Illico Web */
  --mauve-deep: #B8A7E8;
  --mauve-violet: #C4B5F0;
  --mauve-light: #E8C4E8;
  --rose-pale: #F4C2C2;
  --rose-soft: #F0D0FF;
  --cyan-neon: #87CEEB;
  --pink-electric: #F4C2C2;
  --light-bg: #FFFFFF;
  --light-surface: #F8F0FF;
  --text-primary: #2D1B3D;
  --text-secondary: #2D1B3D;
  --text-dark: #1A1A2E;
  --text-muted: #8b6fa8;
  --text-violet-soft: #a88bc8;
  --text-contrast: #000000;
  
  /* Gradients Next-Gen */
  --gradient-mauve: linear-gradient(135deg, var(--mauve-deep) 0%, var(--mauve-violet) 50%, var(--mauve-light) 100%);
  --gradient-neon: linear-gradient(45deg, var(--cyan-neon) 0%, var(--pink-electric) 100%);
  --gradient-mesh: radial-gradient(circle at 20% 80%, var(--mauve-deep) 0%, transparent 50%), 
                   radial-gradient(circle at 80% 20%, var(--mauve-violet) 0%, transparent 50%),
                   radial-gradient(circle at 40% 40%, var(--mauve-light) 0%, transparent 50%);
  
  /* Effets Doux du Moodboard */
  --glow-mauve: 0 0 20px rgba(184, 167, 232, 0.5);
  --glow-cyan: 0 0 20px rgba(135, 206, 235, 0.4);
  --glow-pink: 0 0 20px rgba(244, 194, 194, 0.4);
  --shadow-neon: 0 0 30px rgba(184, 167, 232, 0.3);
  
  /* Animations */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== RESET & BASE NEXT-GEN ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--light-bg);
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

body {
  background: var(--light-bg);
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ===== TYPOGRAPHIE NEXT-GEN ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Bai Jamjuree', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: var(--glow-mauve);
  letter-spacing: 0.05em;
}

/* ===== AMÉLIORATION ESPACEMENT TEXTE ===== */
.lead {
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  margin-top: 2rem !important;
  margin-bottom: 1.5rem !important;
  color: var(--text-primary) !important;
  line-height: 1.6 !important;
}

/* ===== LIGNE GÉOGRAPHIQUE HERO ===== */
.hero-location-line {
  text-align: center;
  margin: 1.5rem 0 2rem 0;
  animation: locationGlow 4s ease-in-out infinite alternate;
}

.location-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--mauve-deep) 0%, var(--mauve-violet) 50%, var(--cyan-neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  border: 1px solid rgba(138, 43, 226, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: inline-block;
  position: relative;
  letter-spacing: 0.1em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 255, 255, 0.05));
  border-radius: 25px;
  z-index: -1;
}

.hero-location-line:hover .location-text {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
  border-color: rgba(0, 255, 255, 0.4);
}

@keyframes locationGlow {
  0% { 
    filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.3));
  }
  100% { 
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.6)) drop-shadow(0 0 30px rgba(0, 255, 255, 0.2));
  }
}

/* Espacement amélioré pour les paragraphes dans les sections */
section p:not(.section-subtitle):not(.mb-0) {
  margin-top: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Espacement spécifique pour les contenus après les sous-titres */
.section-subtitle + div,
.section-subtitle + p {
  margin-top: 2.5rem !important;
}

/* ===== IMAGE ÉQUIPE QUI TAPE DES MAINS ===== */
.about-illustration {
  text-align: center;
  margin: 2.5rem auto;
  max-width: 520px;
  position: relative;
}

/* ===== FOOTER VISIBILITY FIX ===== */
footer.bg-dark {
  background: #1a1a2e !important;
  color: #ffffff !important;
  position: relative;
  z-index: 1;
}

footer .text-white {
  color: #ffffff !important;
}

footer .text-white-50 {
  color: rgba(255, 255, 255, 0.8) !important;
}

footer h6 {
  color: #ffffff !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

footer a:hover {
  color: #00FFFF !important;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6) !important;
}

footer .social-links a {
  font-size: 1.2rem;
  margin-right: 1rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(138, 43, 226, 0.2);
  transition: all 0.3s ease;
}

footer .social-links a:hover {
  background: rgba(0, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ===== LIENS FOOTER RESPONSIVE ===== */
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.footer-links a:hover {
  color: #7B68B8 !important;
  text-shadow: 0 0 8px rgba(123, 104, 184, 0.6) !important;
}

@media (max-width: 768px) {
  .footer-links {
    text-align: center !important;
    margin-top: 1rem;
  }
  
  .footer-links a {
    display: inline-block;
    margin: 0.25rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* ===== TÉMOIGNAGES - TAILLE UNIFORME ===== */
.testimonial-card {
  min-height: 420px !important;
  display: flex !important;
  flex-direction: column !important;
}

.testimonial-card .card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.testimonial-text {
  flex: 1 !important;
  display: flex !important;
  align-items: flex-start !important;
  margin-bottom: 1.5rem !important;
}

.testimonial-author {
  margin-top: auto !important;
}

/* ===== ALIGNEMENT DES BADGES AVEC LE TEXTE ===== */
.about-visual-section {
  margin-top: 0 !important;
}

.services-badges {
  margin-top: 0 !important; 
  margin-bottom: 1.5rem !important;
  padding-top: 0 !important;
}

/* Alignement précis avec le premier paragraphe sur desktop */
@media (min-width: 992px) {
  .about-visual-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .services-badges {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

.badge-service {
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 120px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.badge-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== SERVICES PERSONNALISÉS ===== */
.service-perso-card {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(138, 43, 226, 0.1) !important;
  border-radius: 15px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.1) !important;
  min-height: 300px !important;
  display: flex !important;
  flex-direction: column !important;
}

.service-perso-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 35px rgba(138, 43, 226, 0.2), 0 0 20px rgba(0, 255, 255, 0.1) !important;
  border-color: rgba(138, 43, 226, 0.3) !important;
}

.service-perso-card .card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  padding: 1.5rem !important;
}

.service-perso-icon {
  transition: transform 0.3s ease !important;
}

.service-perso-card:hover .service-perso-icon {
  transform: scale(1.1) !important;
}

.service-perso-card:hover .service-perso-icon i {
  text-shadow: 0 0 15px rgba(138, 43, 226, 0.5) !important;
}

.price-badge {
  background: linear-gradient(135deg, var(--mauve-deep), var(--mauve-violet)) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  margin: 1rem 0 !important;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.service-perso-card .card-title {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  min-height: 3rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.service-perso-card .card-text {
  color: #1A1A2E !important;
  flex: 1 !important;
  display: flex !important;
  align-items: flex-start !important;
  text-align: center !important;
  line-height: 1.5 !important;
}

/* ===== HERO SECTION MODERNE ===== */
.hero-section-modern {
  min-height: calc(100vh - 80px);
  position: relative;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, 
    #ffffff 0%, 
    #fafafa 25%, 
    #f8f9ff 50%, 
    #f5f7ff 75%, 
    #ffffff 100%);
}

/* S'assurer que les colonnes s'affichent côte à côte sur desktop */
@media (min-width: 992px) {
  .hero-section-modern .row {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row-reverse !important;
  }

  .hero-section-modern .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    display: block !important;
  }
}



.hero-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
  animation: gradientShift 20s ease-in-out infinite;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(59, 130, 246, 0.1));
  animation: float 20s ease-in-out infinite;
}

.hero-shapes .shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-shapes .shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -5%;
  animation-delay: -5s;
}

.hero-shapes .shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 20%;
  animation-delay: -10s;
}

.hero-shapes .shape-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 15%;
  animation-delay: -15s;
}

@keyframes gradientShift {
  0%, 100% { 
    filter: hue-rotate(0deg) brightness(1); 
  }
  50% { 
    filter: hue-rotate(10deg) brightness(1.05); 
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  25% { 
    transform: translateY(-20px) rotate(5deg); 
  }
  50% { 
    transform: translateY(-10px) rotate(-5deg); 
  }
  75% { 
    transform: translateY(-15px) rotate(3deg); 
  }
}

.hero-section-modern .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}

/* Badge de l'agence */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: badgeGlow 3s ease-in-out infinite alternate;
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mauve-deep);
  letter-spacing: 0.05em;
}

@keyframes badgeGlow {
  0% { 
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2); 
  }
  100% { 
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4), 0 0 30px rgba(59, 130, 246, 0.2); 
  }
}

/* Titre principal */
.hero-title-modern {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  animation: titleReveal 1.5s ease-out;
  text-align: left;
}

.highlight-gradient {
  background: linear-gradient(135deg, var(--mauve-deep) 0%, var(--cyan-neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.highlight-underline {
  position: relative;
  color: var(--text-primary);
}

.highlight-underline::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--mauve-deep), var(--cyan-neon));
  border-radius: 2px;
  animation: underlineExpand 2s ease-out 0.5s both;
}

@keyframes titleReveal {
  0% { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes underlineExpand {
  0% { 
    width: 0; 
  }
  100% { 
    width: 100%; 
  }
}

/* Localisation moderne */
.hero-location-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  border: 1px solid rgba(138, 43, 226, 0.1);
  backdrop-filter: blur(10px);
  animation: locationSlide 1.8s ease-out 0.3s both;
}

.location-pin {
  font-size: 1.5rem;
  animation: pinBounce 2s ease-in-out infinite;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.location-primary {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mauve-deep);
}

.location-secondary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes locationSlide {
  0% { 
    opacity: 0; 
    transform: translateX(-30px); 
  }
  100% { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

@keyframes pinBounce {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(-3px); 
  }
}

/* Sous-titre moderne */
.hero-subtitle-modern {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: subtitleFade 2s ease-out 0.6s both;
}

.hero-subtitle-modern strong {
  color: var(--mauve-deep);
  font-weight: 700;
}

.hero-subtitle-modern em {
  color: var(--text-secondary);
  font-style: normal;
  font-weight: 400;
}

@keyframes subtitleFade {
  0% { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Section CTA */
.hero-cta-section {
  margin-bottom: 2.5rem;
}

.hero-buttons-modern {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: buttonsSlide 2.2s ease-out 0.9s both;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary-modern {
  background: linear-gradient(135deg, #7B68B8, #9B8DC4);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(123, 104, 184, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 104, 184, 0.4);
  background: linear-gradient(135deg, #9B8DC4, #7B68B8);
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-secondary-modern {
  background: rgba(255, 255, 255, 0.9);
  color: #7B68B8;
  border: 2px solid #7B68B8;
  backdrop-filter: blur(10px);
}

.btn-secondary-modern:hover {
  background: #7B68B8;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 104, 184, 0.3);
  text-decoration: none;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-primary-modern:hover .btn-arrow {
  transform: translateX(5px);
}

/* S'assurer que tous les éléments du bouton sont bien visibles */
.btn-primary-modern .btn-icon,
.btn-primary-modern .btn-text,
.btn-primary-modern .btn-arrow {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary-modern:hover .btn-icon,
.btn-primary-modern:hover .btn-text,
.btn-primary-modern:hover .btn-arrow {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@keyframes buttonsSlide {
  0% { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Garantie */
.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1));
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  animation: guaranteeGlow 3s ease-in-out infinite alternate;
}

.guarantee-icon {
  font-size: 1.5rem;
}

.guarantee-text strong {
  color: #059669;
  font-size: 0.9rem;
}

.guarantee-text small {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

@keyframes guaranteeGlow {
  0% { 
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2); 
  }
  100% { 
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4); 
  }
}

/* Statistiques modernes */
.hero-stats-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  border: 1px solid rgba(138, 43, 226, 0.1);
  backdrop-filter: blur(10px);
  animation: statsReveal 2.5s ease-out 1.2s both;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mauve-deep), var(--cyan-neon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(135deg, transparent, rgba(138, 43, 226, 0.3), transparent);
  margin: 0 1rem;
}

@keyframes statsReveal {
  0% { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Section visuelle */
.hero-visual {
  position: relative;
  padding: 0 2rem;
  transform: translateY(-8rem);
}

.mockup-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.mockup-frame {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(138, 43, 226, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: mockupFloat 6s ease-in-out infinite;
}

.mockup-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mockup-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px 15px 0 0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mauve-deep);
  opacity: 0.6;
}

.mockup-dots span:nth-child(2) {
  background: #fbbf24;
}

.mockup-dots span:nth-child(3) {
  background: #34d399;
}

@keyframes mockupFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  50% { 
    transform: translateY(-10px) rotate(1deg); 
  }
}

/* Cartes flottantes */
.floating-elements-modern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(138, 43, 226, 0.1);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.15);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  animation: cardFloat 8s ease-in-out infinite;
}

.floating-card .card-icon {
  font-size: 1.2rem;
}

.floating-card.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 30%;
  left: -15%;
  animation-delay: -2s;
}

.floating-card.card-3 {
  top: 50%;
  right: -5%;
  animation-delay: -4s;
}

@keyframes cardFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1); 
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-15px) scale(1.05); 
    opacity: 1;
  }
}

/* Indicateurs technologiques */
.tech-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Masquer les indicateurs technologiques sur mobile */
@media (max-width: 991px) {
  .tech-indicators {
    display: none !important;
  }
  
  .hero-visual {
    display: none !important;
  }
  
  /* Styles pour la section mobile */
  .hero-mobile-section {
    margin: 2rem 0;
    text-align: center;
  }
  
  .hero-mobile-section .hero-image-mobile {
    margin-bottom: 2rem;
  }
  
  .hero-mobile-section .hero-buttons-modern {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-mobile-section .btn-modern {
    width: 100%;
    max-width: 280px;
  }
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(138, 43, 226, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: techReveal 0.8s ease-out both;
}

.tech-item:nth-child(1) { animation-delay: 1.5s; }
.tech-item:nth-child(2) { animation-delay: 1.7s; }
.tech-item:nth-child(3) { animation-delay: 1.9s; }
.tech-item:nth-child(4) { animation-delay: 2.1s; }

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(138, 43, 226, 0.2);
}

.tech-icon {
  font-size: 1.5rem;
}

.tech-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

@keyframes techReveal {
  0% { 
    opacity: 0; 
    transform: translateY(20px) scale(0.8); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}



/* ===== BOUTON WHATSAPP FLOTTANT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: whatsappFadeIn 1s ease-out 2s forwards;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  min-width: 60px;
  justify-content: center;
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-text {
  font-weight: 600;
  font-size: 14px;
  margin-left: 8px;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* États hover et actif */
.whatsapp-link:hover {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6), 0 0 25px rgba(37, 211, 102, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.whatsapp-link:hover .whatsapp-icon {
  transform: scale(1.1) rotate(5deg);
}

.whatsapp-link:hover .whatsapp-text {
  opacity: 1;
  max-width: 100px;
  margin-left: 12px;
}

/* Animation d'apparition */
@keyframes whatsappFadeIn {
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Animation de pulsation douce */
.whatsapp-float::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.3), rgba(18, 140, 126, 0.3));
  border-radius: 50px;
  animation: whatsappPulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-link {
    padding: 10px 14px;
    min-width: 50px;
  }
  
  .whatsapp-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-text {
    font-size: 13px;
  }
}

.about-illustration img {
  max-width: 100%;
  height: auto;
  transform: scale(1.15);
  border-radius: 20px !important;
  box-shadow: 0 12px 35px rgba(138, 43, 226, 0.3), 0 0 25px rgba(0, 255, 255, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.4));
  border: 2px solid rgba(138, 43, 226, 0.2);
}

.about-illustration:hover img {
  transform: scale(1.18);
  box-shadow: 0 15px 45px rgba(138, 43, 226, 0.4), 0 0 35px rgba(0, 255, 255, 0.3) !important;
  filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.6));
  border-color: rgba(0, 255, 255, 0.4);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-mauve);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  animation: titleGlow 4s ease-in-out infinite alternate;
  will-change: text-shadow;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  border: 1px solid rgba(138, 43, 226, 0.2);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.15);
  transition: all 0.3s ease;
  display: inline-block;
  z-index: 1;
}

/* ===== CENTRAGE PARFAIT POUR LE TITRE ABOUT - COULEUR MOODBOARD ===== */
#about .section-title {
  display: block !important;
  width: auto !important;
  text-align: center !important;
  margin: 0 auto 2.5rem auto !important;
  padding: 1rem 2.5rem !important;
  max-width: none !important;
  left: auto !important;
  transform: none !important;
  position: static !important;
  background: linear-gradient(135deg, #E8C4E8 0%, #B8A7E8 50%, #C4B5F0 100%) !important;
  border: 1px solid rgba(184, 167, 232, 0.4) !important;
  box-shadow: 0 8px 25px rgba(184, 167, 232, 0.3) !important;
  border-radius: 25px !important;
  backdrop-filter: blur(10px) !important;
  color: #2D1B3D !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

/* Effets hover pour le rectangle unique du titre About - couleurs moodboard */
#about .section-title:hover {
  border-color: rgba(184, 167, 232, 0.6) !important;
  box-shadow: 0 12px 35px rgba(184, 167, 232, 0.4) !important;
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #C4B5F0 0%, #E8C4E8 50%, #B8A7E8 100%) !important;
}

/* Centrage responsive pour mobile - avec rectangle */
@media (max-width: 768px) {
  #about .section-title {
    font-size: 2.2rem !important;
    padding: 0.8rem 1.5rem !important;
    margin-bottom: 2rem !important;
    width: auto !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 576px) {
  #about .section-title {
    font-size: 1.8rem !important;
    padding: 0.6rem 1rem !important;
    margin-bottom: 1.5rem !important;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Pseudo-élément supprimé pour éviter le double rectangle */

.section-title:hover {
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 12px 35px rgba(138, 43, 226, 0.25);
  transform: translateY(-2px);
}

/* Hover du pseudo-élément supprimé */

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-neon);
  border-radius: 2px;
  box-shadow: var(--glow-cyan);
  animation: energyWave 3s ease-in-out infinite;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  animation: subtitleFloat 6s ease-in-out infinite, quantumFlicker 4s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes titleGlow {
  0% { text-shadow: var(--glow-mauve); }
  100% { text-shadow: var(--glow-mauve), 0 0 40px rgba(138, 43, 226, 0.8); }
}

@keyframes subtitleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== ANIMATIONS MAGNIFIQUES ET COHÉRENTES ===== */

@keyframes neonPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
  }
  50% { 
    box-shadow: 0 0 40px rgba(138, 43, 226, 1), 0 0 60px rgba(0, 255, 255, 0.6);
    text-shadow: 0 0 20px rgba(138, 43, 226, 1), 0 0 30px rgba(0, 255, 255, 0.8);
  }
}

@keyframes elegantFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  25% { 
    transform: translateY(-8px) rotate(1deg);
    opacity: 0.9;
  }
  50% { 
    transform: translateY(-15px) rotate(0deg);
    opacity: 1;
  }
  75% { 
    transform: translateY(-8px) rotate(-1deg);
    opacity: 0.9;
  }
}

@keyframes sophisticatedGlow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    filter: brightness(1);
  }
  50% { 
    box-shadow: 0 0 35px rgba(138, 43, 226, 0.8), 0 0 50px rgba(0, 255, 255, 0.4);
    filter: brightness(1.1);
  }
}

@keyframes gracefulScale {
  0%, 100% { 
    transform: scale(1);
  }
  50% { 
    transform: scale(1.05);
  }
}

@keyframes elegantSlide {
  0% { 
    transform: translateX(-20px);
    opacity: 0;
  }
  100% { 
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes sophisticatedFade {
  0% { 
    opacity: 0;
    transform: translateY(20px);
  }
  100% { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes elegantRotate {
  0% { 
    transform: rotate(0deg);
  }
  100% { 
    transform: rotate(360deg);
  }
}

@keyframes sophisticatedPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes elegantWave {
  0%, 100% { 
    transform: translateX(0);
  }
  50% { 
    transform: translateX(10px);
  }
}

@keyframes sophisticatedShimmer {
  0% { 
    background-position: -200% center;
  }
  100% { 
    background-position: 200% center;
  }
}

@keyframes elegantBounce {
  0%, 20%, 50%, 80%, 100% { 
    transform: translateY(0);
  }
  40% { 
    transform: translateY(-10px);
  }
  60% { 
    transform: translateY(-5px);
  }
}

@keyframes rainbowGlow {
  0% { filter: hue-rotate(0deg) brightness(1); }
  25% { filter: hue-rotate(90deg) brightness(1.1); }
  50% { filter: hue-rotate(180deg) brightness(1.2); }
  75% { filter: hue-rotate(270deg) brightness(1.1); }
  100% { filter: hue-rotate(360deg) brightness(1); }
}

@keyframes morphingShape {
  0% { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
  25% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 80%; }
  75% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  100% { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
}

@keyframes floatingOrb {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  25% { 
    transform: translateY(-20px) rotate(90deg) scale(1.1);
    opacity: 1;
  }
  50% { 
    transform: translateY(-10px) rotate(180deg) scale(0.9);
    opacity: 0.8;
  }
  75% { 
    transform: translateY(-30px) rotate(270deg) scale(1.2);
    opacity: 0.9;
  }
}

@keyframes energyWave {
  0% { 
    transform: scaleX(0) scaleY(1);
    opacity: 0;
  }
  50% { 
    transform: scaleX(1) scaleY(1.2);
    opacity: 0.8;
  }
  100% { 
    transform: scaleX(0) scaleY(1);
    opacity: 0;
  }
}

@keyframes cyberGlitch {
  0%, 100% { 
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
  10% { 
    transform: translate(-2px, 2px);
    filter: hue-rotate(90deg);
  }
  20% { 
    transform: translate(2px, -2px);
    filter: hue-rotate(180deg);
  }
  30% { 
    transform: translate(-2px, -2px);
    filter: hue-rotate(270deg);
  }
  40% { 
    transform: translate(2px, 2px);
    filter: hue-rotate(360deg);
  }
}

@keyframes breathingGlow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.8), 0 0 60px rgba(0, 255, 255, 0.4);
    transform: scale(1.05);
  }
}

@keyframes matrixRain {
  0% { 
    transform: translateY(-100vh);
    opacity: 0;
  }
  10% { 
    opacity: 1;
  }
  90% { 
    opacity: 1;
  }
  100% { 
    transform: translateY(100vh);
    opacity: 0;
  }
}

@keyframes holographicShift {
  0%, 100% { 
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
  25% { 
    background-position: 100% 50%;
    filter: hue-rotate(90deg);
  }
  50% { 
    background-position: 100% 100%;
    filter: hue-rotate(180deg);
  }
  75% { 
    background-position: 0% 100%;
    filter: hue-rotate(270deg);
  }
}

@keyframes quantumFlicker {
  0%, 100% { opacity: 1; }
  10% { opacity: 0.8; }
  20% { opacity: 1; }
  30% { opacity: 0.9; }
  40% { opacity: 1; }
  50% { opacity: 0.7; }
  60% { opacity: 1; }
  70% { opacity: 0.8; }
  80% { opacity: 1; }
  90% { opacity: 0.9; }
}

/* ===== NAVIGATION NEXT-GEN - CLAIRE ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(138, 43, 226, 0.2);
  padding: 1rem 0;
  transition: var(--transition-smooth);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(138, 43, 226, 0.1);
  min-height: 90px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
}

.navbar-collapse {
  align-items: center !important;
}

.navbar-nav {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(138, 43, 226, 0.15);
}

/* Première définition fusionnée avec la seconde */

/* LOGO AU MÊME NIVEAU HORIZONTAL QUE LES LIENS */
.navbar-brand {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary) !important;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
  transition: var(--transition-fast);
  display: flex !important;
  align-items: center !important;
  height: 70px !important;
  margin: 0 !important;
  margin-right: 0.5rem !important;
  padding: 0.25rem 0.5rem !important;
}

.navbar-brand .navbar-logo {
  height: 65px !important;
  width: auto !important;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(138, 43, 226, 0.3));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  display: block !important;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand:hover .navbar-logo {
  filter: drop-shadow(0 4px 12px rgba(138, 43, 226, 0.5)) drop-shadow(0 0 15px rgba(0, 255, 255, 0.3));
  background: rgba(255, 255, 255, 0.2);
}

/* ===== NAVIGATION PARFAITEMENT ALIGNÉE ===== */
.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.5rem !important;
  text-align: center;
  display: flex;
  align-items: center;
  height: 70px;
  font-size: 0.9rem;
}

/* Trait de soulignement parfaitement centré */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-neon);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  border-radius: 1px;
}

/* Animation fluide du trait au hover */
.navbar-nav .nav-link:hover::after {
  width: 100%;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 25px rgba(138, 43, 226, 0.4);
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary) !important;
  text-shadow: 0 0 8px rgba(138, 43, 226, 0.6);
  transform: translateY(-1px);
}

/* État actif pour la section courante */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link[aria-current="page"]::after {
  width: 80% !important;
  background: var(--gradient-mauve) !important;
  box-shadow: 0 0 12px rgba(138, 43, 226, 0.7), 0 0 20px rgba(0, 255, 255, 0.3) !important;
  height: 3px !important;
  animation: activeNavPulse 2s ease-in-out infinite !important;
}

/* Animation pour le lien actif */
@keyframes activeNavPulse {
  0%, 100% { 
    box-shadow: 0 0 12px rgba(138, 43, 226, 0.7), 0 0 20px rgba(0, 255, 255, 0.3);
    transform: translateX(-50%) scaleX(1);
  }
  50% { 
    box-shadow: 0 0 18px rgba(138, 43, 226, 0.9), 0 0 30px rgba(0, 255, 255, 0.5);
    transform: translateX(-50%) scaleX(1.05);
  }
}

/* ===== BOUTONS NEXT-GEN ===== */
.btn {
  position: relative;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  will-change: transform, box-shadow;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-mauve);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon), 0 10px 30px rgba(138, 43, 226, 0.3);
  color: var(--text-primary);
}

.btn-primary {
  background: var(--gradient-mauve);
  border: 2px solid transparent;
  box-shadow: var(--shadow-neon);
  animation: neonPulse 2s ease-in-out infinite;
}

.btn-primary:hover {
  border-color: var(--cyan-neon);
  box-shadow: var(--shadow-neon), 0 0 30px rgba(0, 255, 255, 0.5);
}

.btn-outline-primary {
  border: 2px solid var(--cyan-neon);
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.btn-outline-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cyan-neon), var(--mauve-deep));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-outline-primary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline-primary:hover {
  color: var(--text-primary);
  border-color: var(--cyan-neon);
  box-shadow: var(--glow-cyan), 0 8px 25px rgba(0, 255, 255, 0.4);
  background: transparent;
}

/* ===== HERO SECTION NEXT-GEN - CLAIRE ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--rose-pale) 30%, var(--rose-soft) 70%, var(--light-bg) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%), 
              radial-gradient(circle at 80% 20%, rgba(186, 85, 211, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(218, 112, 214, 0.06) 0%, transparent 50%);
  animation: meshMove 20s ease-in-out infinite;
  transition: background 0.3s ease-out;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(138,43,226,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  animation: gridMove 15s linear infinite;
}

@keyframes meshMove {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(1deg); }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10px, 10px); }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-mauve);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
  text-align: center;
  animation: heroTitleReveal 2s ease-out;
  position: relative;
}

.hero-title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroTitleGlitch 3s ease-in-out infinite;
  opacity: 0;
}

@keyframes heroTitleReveal {
  0% { 
    opacity: 0; 
    transform: translateY(50px) scale(0.8); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

@keyframes heroTitleGlitch {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.3; }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: heroSubtitleFade 2.5s ease-out;
}

@keyframes heroSubtitleFade {
  0% { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroButtonsFloat 3s ease-out;
}

@keyframes heroButtonsFloat {
  0% { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.hero-buttons .btn {
  min-width: 200px;
  font-size: 1.1rem;
  padding: 15px 40px;
}

/* ===== PARTICULES NEXT-GEN ===== */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--gradient-mauve);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 20s infinite linear;
  box-shadow: var(--glow-mauve);
  will-change: transform;
}

.particle:nth-child(1) { width: 4px; height: 4px; top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; top: 20%; left: 80%; animation-delay: 2s; }
.particle:nth-child(3) { width: 3px; height: 3px; top: 60%; left: 20%; animation-delay: 4s; }
.particle:nth-child(4) { width: 5px; height: 5px; top: 80%; left: 70%; animation-delay: 6s; }
.particle:nth-child(5) { width: 4px; height: 4px; top: 30%; left: 60%; animation-delay: 8s; }
.particle:nth-child(6) { width: 7px; height: 7px; top: 70%; left: 30%; animation-delay: 10s; }
.particle:nth-child(7) { width: 3px; height: 3px; top: 40%; left: 90%; animation-delay: 12s; }
.particle:nth-child(8) { width: 5px; height: 5px; top: 90%; left: 40%; animation-delay: 14s; }

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* ===== SECTIONS NEXT-GEN ===== */
section {
  padding: 100px 0;
  position: relative;
  background: var(--dark-bg);
}

section:nth-child(even) {
  background: var(--dark-surface);
}

section:nth-child(odd) {
  background: var(--dark-bg);
}

.bg-light {
  background: var(--dark-surface) !important;
  position: relative;
  color: var(--text-primary);
}

.bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh);
  opacity: 0.1;
  animation: meshMove 25s ease-in-out infinite reverse;
}

.bg-light > .container {
  position: relative;
  z-index: 2;
}

/* Correction pour les sections avec fond clair */
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 {
  color: var(--text-dark);
  text-shadow: none;
}

.bg-light p {
  color: var(--text-violet-soft);
}

.bg-light .text-muted {
  color: var(--text-violet-soft) !important;
}

/* ===== ÉLÉMENTS ANIMÉS SUPPLÉMENTAIRES ===== */

/* Orbes flottantes décoratives */
.floating-orb {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--gradient-mauve);
  border-radius: 50%;
  opacity: 0.6;
  animation: floatingOrb 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.floating-orb:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.floating-orb:nth-child(2) { top: 20%; right: 10%; animation-delay: 1s; }
.floating-orb:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 2s; }
.floating-orb:nth-child(4) { bottom: 20%; right: 5%; animation-delay: 3s; }

/* Effet de morphing sur les cartes */
.morphing-card {
  animation: morphingShape 8s ease-in-out infinite;
}

/* Effet holographique sur les titres */
.holographic-title {
  background: linear-gradient(45deg, var(--mauve-deep), var(--cyan-neon), var(--pink-electric), var(--mauve-deep));
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holographicShift 4s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(138, 43, 226, 0.8), 0 0 60px rgba(0, 255, 255, 0.6);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Effet cyber-glitch sur les éléments */
.cyber-glitch {
  animation: cyberGlitch 0.3s ease-in-out infinite;
  animation-play-state: paused;
}

.cyber-glitch:hover {
  animation-play-state: running;
}

/* Effet rainbow sur les icônes */
.rainbow-icon {
  animation: rainbowGlow 3s ease-in-out infinite;
}

/* Effet de respiration sur les boutons */
.breathing-btn {
  animation: breathingGlow 3s ease-in-out infinite;
}

/* Effet de vague d'énergie */
.energy-wave {
  position: relative;
  overflow: hidden;
}

.energy-wave::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
  animation: energyWave 2s ease-in-out infinite;
}

/* Effet de particules matrix */
.matrix-particle {
  position: absolute;
  color: var(--cyan-neon);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  animation: matrixRain 3s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Effet de flicker quantique */
.quantum-flicker {
  animation: quantumFlicker 2s ease-in-out infinite;
}

/* Effet de néon pulsant */
.neon-pulse {
  animation: neonPulse 1.5s ease-in-out infinite;
}

/* Effet de morphing sur les formes */
.morphing-shape {
  animation: morphingShape 6s ease-in-out infinite;
}

/* Effet d'orbite flottante */
.orbital-float {
  animation: floatingOrb 5s ease-in-out infinite;
}

/* ===== ÉLÉMENTS MAGNIFIQUES ET COHÉRENTS ===== */

/* Titre élégant avec flottement */
.elegant-title {
  animation: elegantFloat 6s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
  transition: all 0.3s ease;
}

.elegant-title:hover {
  animation: gracefulScale 2s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(138, 43, 226, 0.8), 0 0 60px rgba(0, 255, 255, 0.4);
}

/* Bouton sophistiqué */
.sophisticated-button {
  animation: sophisticatedGlow 4s ease-in-out infinite;
  background: linear-gradient(135deg, var(--mauve-deep), var(--cyan-neon));
  border: 2px solid rgba(138, 43, 226, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sophisticated-button::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: left 0.5s ease;
}

.sophisticated-button:hover {
  animation: gracefulScale 1s ease-in-out infinite;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.sophisticated-button:hover::before {
  left: 100%;
}

/* Carte élégante */
.elegant-card {
  animation: elegantFloat 8s ease-in-out infinite;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(138, 43, 226, 0.08));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(138, 43, 226, 0.2);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.elegant-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.elegant-card:hover {
  animation: gracefulScale 3s ease-in-out infinite;
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 15px 35px rgba(138, 43, 226, 0.2);
}

.elegant-card:hover::before {
  transform: translateX(100%);
}

/* Section sophistiquée */
.sophisticated-section {
  position: relative;
  overflow: hidden;
}

.sophisticated-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(138, 43, 226, 0.03), transparent);
  animation: elegantWave 10s ease-in-out infinite;
  pointer-events: none;
}

/* Icône élégante */
.elegant-icon {
  animation: elegantRotate 20s linear infinite;
  transition: all 0.3s ease;
}

.elegant-icon:hover {
  animation: elegantRotate 5s linear infinite;
  transform: scale(1.2);
  filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.6));
}

/* Texte avec effet shimmer */
.shimmer-text {
  background: linear-gradient(90deg, var(--text-primary), var(--cyan-neon), var(--text-primary));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sophisticatedShimmer 3s ease-in-out infinite;
}

/* Élément avec rebond élégant */
.elegant-bounce {
  animation: elegantBounce 2s ease-in-out infinite;
}

/* Navigation sophistiquée */
.sophisticated-nav {
  transition: all 0.3s ease;
  position: relative;
}

.sophisticated-nav::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-mauve);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.sophisticated-nav:hover {
  animation: elegantSlide 0.3s ease-in-out;
  color: var(--cyan-neon);
}

.sophisticated-nav:hover::after {
  width: 100%;
}

/* Logo sophistiqué */
.sophisticated-logo {
  animation: elegantFloat 10s ease-in-out infinite;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.3));
}

.sophisticated-logo:hover {
  animation: gracefulScale 2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.6));
  transform: scale(1.05);
}

/* Statistiques élégantes */
.elegant-stats {
  animation: sophisticatedFade 1s ease-out;
  transition: all 0.3s ease;
}

.elegant-stats:hover {
  animation: elegantBounce 1s ease-in-out;
  transform: scale(1.1);
}

/* Particules élégantes */
.elegant-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gradient-mauve);
  border-radius: 50%;
  animation: sophisticatedPulse 4s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.6;
}

/* Effet de profondeur */
.depth-effect {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: all 0.4s ease;
}

.depth-effect:hover {
  transform: rotateX(5deg) rotateY(5deg) translateZ(20px);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

/* ===== PORTFOLIO ÉLÉGANT ===== */

/* Carte de portfolio élégante */
.elegant-portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(138, 43, 226, 0.1);
}

.elegant-portfolio-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(138, 43, 226, 0.15);
  border-color: rgba(0, 255, 255, 0.3);
}

/* Wrapper d'image */
.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.portfolio-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.elegant-portfolio-card:hover .portfolio-image {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1);
}

/* Overlay élégant */
.portfolio-overlay-elegant {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.9), rgba(0, 255, 255, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
}

.elegant-portfolio-card:hover .portfolio-overlay-elegant {
  opacity: 1;
}

/* Informations du portfolio */
.portfolio-info-elegant {
  text-align: center;
  color: white;
  padding: 2rem;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.elegant-portfolio-card:hover .portfolio-info-elegant {
  transform: translateY(0);
}

.portfolio-info-elegant h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-info-elegant p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Contenu du portfolio */
.portfolio-content-elegant {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
  border-radius: 0 0 20px 20px;
}

.portfolio-content-elegant h6 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--mauve-deep);
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.portfolio-content-elegant p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Bouton sophistiqué pour portfolio */
.elegant-portfolio-card .sophisticated-button {
  background: rgba(255, 255, 255, 0.95);
  color: var(--mauve-deep);
  border: 2px solid rgba(255, 255, 255, 0.8);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.elegant-portfolio-card .sophisticated-button:hover {
  background: var(--mauve-deep);
  color: white;
  border-color: var(--cyan-neon);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

/* Animation d'entrée pour les cartes */
.elegant-portfolio-card {
  animation: sophisticatedFade 0.8s ease-out;
}

/* Responsive pour le portfolio */
@media (max-width: 768px) {
  .portfolio-image {
    height: 220px;
  }
  
  .portfolio-info-elegant {
    padding: 1.5rem;
  }
  
  .portfolio-info-elegant h5 {
    font-size: 1.3rem;
  }
  
  .portfolio-content-elegant {
    padding: 1rem;
  }
}



/* Titres optimisés pour fond sombre */
.section-title-dark {
  background: linear-gradient(135deg, #FFFFFF 0%, #E0E0E0 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 80px rgba(0, 255, 255, 0.6);
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
  animation: titleGlow 4s ease-in-out infinite alternate;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
  z-index: 1;
}

.section-title-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(0, 255, 255, 0.1));
  border-radius: 25px;
  backdrop-filter: blur(10px);
  z-index: -1;
  transition: all 0.3s ease;
}

.section-title-dark:hover {
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 12px 35px rgba(138, 43, 226, 0.3);
  transform: translateY(-2px);
}

.section-title-dark:hover::before {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 255, 255, 0.15));
}

.section-title.section-title-neon {
  color: #FFFFFF !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(0, 255, 255, 0.6), 0 0 60px rgba(138, 43, 226, 0.4) !important;
  animation: neonPulse 3s ease-in-out infinite !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5)) !important;
  position: relative;
  padding: 1.5rem 3rem;
  border-radius: 30px;
  border: 2px solid rgba(138, 43, 226, 0.4);
  box-shadow: 0 10px 40px rgba(138, 43, 226, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  margin: 0 auto 3rem auto;
  z-index: 1;
}

.section-title.section-title-neon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(0, 255, 255, 0.1));
  border-radius: 30px;
  backdrop-filter: blur(15px);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.section-title-neon:hover {
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 15px 50px rgba(138, 43, 226, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.02);
}

.section-title.section-title-neon:hover::before {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 255, 255, 0.15));
}

/* Règle de secours pour s'assurer que le style est appliqué */
h2.section-title.section-title-neon {
  color: #FFFFFF !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(0, 255, 255, 0.6), 0 0 60px rgba(138, 43, 226, 0.4) !important;
  animation: neonPulse 3s ease-in-out infinite !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5)) !important;
  position: relative;
  padding: 1.5rem 3rem;
  border-radius: 30px;
  border: 2px solid rgba(138, 43, 226, 0.4);
  box-shadow: 0 10px 40px rgba(138, 43, 226, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  margin: 0 auto;
  z-index: 1;
}

h2.section-title.section-title-neon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(0, 255, 255, 0.1));
  border-radius: 30px;
  backdrop-filter: blur(15px);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

h2.section-title.section-title-neon:hover {
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 15px 50px rgba(138, 43, 226, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.02);
}

h2.section-title.section-title-neon:hover::before {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 255, 255, 0.15));
}

/* ===== CARTES NEXT-GEN ===== */
.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-smooth);
  color: var(--text-primary);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.1);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
  animation: breathingGlow 4s ease-in-out infinite;
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
}

.card .text-muted {
  color: var(--text-muted) !important;
}

.text-violet {
  color: var(--text-violet-soft) !important;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mauve);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--cyan-neon);
  box-shadow: var(--shadow-neon), 0 20px 40px rgba(138, 43, 226, 0.2);
}

.card:hover::before {
  opacity: 0.1;
}

/* ===== CARTES SERVICES NEXT-GEN ===== */
.service-card {
  text-align: center;
  height: 100%;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 167, 232, 0.4) !important;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  color: #2C4A6B !important;
  box-shadow: 0 8px 25px rgba(184, 167, 232, 0.15) !important;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mauve);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  border-color: var(--cyan-neon);
  box-shadow: var(--shadow-neon), 0 25px 50px rgba(138, 43, 226, 0.3);
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-card .service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-mauve);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  animation: floatingOrb 3s ease-in-out infinite;
  position: relative;
  box-shadow: var(--glow-mauve);
}

.service-card .service-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--gradient-neon);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
  animation: iconPulse 2s ease-in-out infinite;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: var(--glow-mauve), var(--glow-cyan);
}

.service-card:hover .service-icon::before {
  opacity: 0.3;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.service-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2C4A6B !important;
  text-shadow: none !important;
}

.service-card p {
  color: #4A6B8A !important;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: none !important;
  opacity: 1 !important;
  font-weight: 400;
}

/* ===== CARTES PACKS NEXT-GEN ===== */
.pack-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.1);
}

.pack-card.popular {
  border-color: var(--cyan-neon);
  box-shadow: var(--shadow-neon);
  transform: scale(1.05);
}

/* Désactiver l'animation morphing sur tous les packs pour garder leur forme normale */
.pack-card.morphing-card {
  animation: none !important;
  border-radius: 1rem !important;
}

/* Badge populaire géré par JavaScript maintenant */
.pack-card.popular::before {
  display: none;
}

.pack-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-mauve);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  box-shadow: var(--glow-mauve);
}

.pack-card:hover .pack-icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: var(--glow-mauve), var(--glow-cyan);
}

.pack-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: var(--glow-mauve);
}

.pack-price {
  margin-bottom: 2rem;
}

.pack-price .price-main {
  font-size: 3rem;
  font-weight: 900;
  color: var(--mauve-deep);
  text-shadow: var(--glow-mauve);
}

.pack-price .price-type {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.pack-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pack-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 2rem;
}

.pack-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan-neon);
  font-weight: bold;
  text-shadow: var(--glow-cyan);
}

/* ===== RESPONSIVE NEXT-GEN ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .pack-card.popular {
    transform: none;
  }
  
  /* ===== NAVIGATION POUR TABLETTES ===== */
  .navbar-nav .nav-link {
    margin: 0 0.5rem;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem !important;
  }
  
  /* Réduire légèrement l'espacement pour les tablettes */
  .navbar-nav .nav-item:not(:last-child) {
    margin-right: 0.25rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  /* Image mobile entre texte et boutons */
  .hero-image-mobile {
    margin: 2rem 0;
    text-align: center;
  }
  
  .mockup-container-mobile {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .mockup-image-mobile {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 100px 0 50px;
  }
  
  section {
    padding: 80px 0;
  }
  
  /* Section About plus aérée sur mobile */
  #about {
    padding: 80px 0 !important;
  }
  
  #about .container {
    padding: 0 1.5rem;
  }
  
  #about h2.section-title {
    margin-bottom: 2rem;
  }
  
  #about p {
    margin-bottom: 2rem;
    line-height: 1.7;
  }
  
  #about .alert-primary {
    margin: 2.5rem 0 !important;
    padding: 1.5rem !important;
  }
  
  #about h3, #about h4 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  #about .row.mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  #about .d-flex {
    margin-bottom: 1.5rem;
  }
  
  /* Plus d'espace avant le bouton sur mobile normal */
  #about .btn {
    margin-top: 2.5rem;
  }
  
  /* Espacement des colonnes sur mobile */
  #about .col-lg-6:last-child {
    margin-top: 3rem;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  /* ===== NAVIGATION RESPONSIVE FIXÉE ===== */
  .navbar-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    margin-top: 1rem;
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.15);
  }
  
  /* Navigation items responsive */
  .navbar-nav .nav-item {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    background: rgba(138, 43, 226, 0.1) !important;
    color: var(--mauve-deep) !important;
    transform: translateX(5px) !important;
  }
  
  /* Dropdown responsive */
  .navbar-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(138, 43, 226, 0.2) !important;
    border-radius: 10px !important;
    margin-top: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.1) !important;
  }
  
  .navbar-nav .dropdown-item {
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    margin: 0.25rem !important;
  }
  
  .navbar-nav .dropdown-item:hover {
    background: rgba(138, 43, 226, 0.1) !important;
    color: var(--mauve-deep) !important;
  }
  
  /* Bouton hamburger amélioré */
  .navbar-toggler {
    border: 2px solid rgba(138, 43, 226, 0.3) !important;
    border-radius: 8px !important;
    padding: 0.5rem !important;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(138, 43, 226, 0.25) !important;
  }
  
  .navbar-toggler-icon {
    filter: invert(0.2) sepia(1) saturate(5) hue-rotate(265deg) brightness(0.8) !important;
  }
  
  .service-card,
  .pack-card {
    margin-bottom: 2rem;
  }

  /* Hero moderne responsive */
  .hero-section-modern {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: calc(100vh - 60px);
  }
  
  .hero-title-modern {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
  }
  
  .hero-location-modern {
    margin-bottom: 2.5rem;
  }
  
  .hero-subtitle-modern {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  .hero-buttons-modern {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .btn-modern {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .hero-stats-modern {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    margin-top: 3rem;
  }
  
  .stat-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
  
  .hero-visual {
    padding: 1rem;
    margin-top: 2rem;
  }
  
  .floating-card {
    display: none;
  }
  
  .tech-indicators {
    gap: 0.5rem;
  }
  
  .tech-item {
    padding: 0.75rem;
    flex: 1;
    min-width: 80px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .pack-price .price-main {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-stats .stat-number {
    font-size: 2rem;
  }
  
  .service-card .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .team-avatar {
    width: 80px;
    height: 80px;
  }
  
  .team-photo-container {
    width: 80px;
    height: 80px;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .hero-logo-container {
    min-height: 300px;
    margin-top: 2rem;
  }
  
  .hero-logo-wrapper {
    max-width: 280px;
    padding: 1.5rem;
  }
  
  .hero-logo {
    max-width: 100%;
  }
  
  /* ===== NAVIGATION ULTRA-RESPONSIVE POUR TRÈS PETITS ÉCRANS ===== */
  .navbar-nav {
    max-height: 60vh !important;
    padding: 1rem 0.75rem !important;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.9rem !important;
    padding: 0.6rem 0.75rem !important;
  }
  
  .navbar-nav .nav-item {
    margin-bottom: 0.25rem !important;
  }
  
  /* Compacter le dropdown "À propos" */
  .navbar-nav .dropdown-menu {
    margin-top: 0.25rem !important;
    padding: 0.5rem !important;
  }
  
  .navbar-nav .dropdown-item {
    font-size: 0.85rem !important;
    padding: 0.4rem 0.75rem !important;
    margin: 0.1rem !important;
  }
  
  /* Navigation brand plus compacte */
  .navbar-brand .navbar-logo {
    height: 40px !important;
  }
  
  /* Bouton hamburger optimisé */
  .navbar-toggler {
    padding: 0.375rem !important;
    font-size: 1rem !important;
  }

  /* Hero moderne très petits écrans */
  .hero-section-modern {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: calc(100vh - 40px);
  }
  
  /* Section About encore plus aérée sur très petits écrans */
  #about {
    padding: 60px 0 !important;
  }
  
  #about .container {
    padding: 0 1rem;
  }
  
  #about .alert-primary {
    margin: 3rem 0 !important;
    padding: 2rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  #about h2.section-title {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
  }
  
  #about h3 {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
  
  #about h4 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }
  
  #about p {
    margin-bottom: 2.5rem;
    line-height: 1.8;
  }
  
  #about .d-flex {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
  }
  
  #about .btn {
    margin-top: 3rem;
    padding: 1rem 2rem;
  }
  
  /* Espace après les services badges sur mobile */
  #about .services-badges {
    margin-bottom: 4rem !important;
  }
  
  /* Espace après about-visual-section sur mobile */
  #about .about-visual-section {
    margin-bottom: 3rem;
  }
  
  .hero-title-modern {
    font-size: 2rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  .hero-badge {
    padding: 0.4rem 0.8rem;
    margin-bottom: 1.5rem;
  }
  
  .badge-text {
    font-size: 0.8rem;
  }
  
  .hero-location-modern {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
  }
  
  .location-list {
    align-items: center;
  }
  
  .hero-subtitle-modern {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
  }
  
  .hero-buttons-modern {
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .btn-modern {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .hero-guarantee {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .mockup-frame {
    padding: 1rem;
  }
  
  .tech-indicators {
    margin-top: 1rem;
  }
  
  .tech-item {
    padding: 0.5rem;
    min-width: 70px;
  }
  
  .tech-item span {
    font-size: 0.7rem;
  }
}

/* ===== ANIMATIONS SCROLL NEXT-GEN ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== CARTES ÉQUIPE AVEC VRAIES PHOTOS ===== */
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(184, 167, 232, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(184, 167, 232, 0.1);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(184, 167, 232, 0.2);
  border-color: rgba(184, 167, 232, 0.4);
}

.team-photo-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(184, 167, 232, 0.3);
  transition: all 0.3s ease;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.team-card:hover .team-photo-container {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(184, 167, 232, 0.4);
}

.team-card:hover .team-photo {
  transform: scale(1.1);
}

.team-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2C4A6B;
  margin-bottom: 0.5rem;
}

.team-role {
  font-size: 1rem;
  font-weight: 600;
  color: #7B68B8;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-description {
  font-size: 0.9rem;
  color: #4A6B8A;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(184, 167, 232, 0.1);
  border: 1px solid rgba(184, 167, 232, 0.3);
  border-radius: 50%;
  color: #7B68B8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #7B68B8;
  border-color: #7B68B8;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 104, 184, 0.3);
}

/* ===== EFFETS SPÉCIAUX NEXT-GEN ===== */
.liquid-effect {
  position: relative;
  overflow: hidden;
}

.liquid-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-mauve);
  transition: var(--transition-smooth);
  z-index: -1;
}

.liquid-effect:hover::before {
  left: 0;
}

.neon-border {
  position: relative;
}

.neon-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-neon);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: var(--transition-fast);
}

.neon-border:hover::before {
  opacity: 1;
}

/* ===== LOADING ANIMATION NEXT-GEN ===== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading::after {
  content: '';
  width: 50px;
  height: 50px;
  border: 3px solid rgba(138, 43, 226, 0.3);
  border-top: 3px solid var(--mauve-deep);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== HERO LOGO NEXT-GEN ===== */
.hero-logo-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero-logo-wrapper {
  position: relative;
  max-width: 500px;
  padding: 1.5rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(138, 43, 226, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.1);
  will-change: transform;
  margin: 0 auto;
}

.hero-logo-wrapper:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--cyan-neon);
  box-shadow: var(--shadow-neon), 0 15px 30px rgba(138, 43, 226, 0.3);
}

.hero-logo {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.5));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, filter;
}

/* Styles spécifiques pour l'image responsive mockup */
.hero-logo.responsive-mockup {
  max-width: 120%;
  height: auto;
  border-radius: 15px;
  filter: drop-shadow(0 0 25px rgba(138, 43, 226, 0.4));
  object-fit: contain;
  transform: scale(1.1);
}

.hero-logo-wrapper:hover .hero-logo {
  filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.6));
  transform: scale(1.05);
}

.hero-logo-wrapper:hover .hero-logo.responsive-mockup {
  filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.7));
  transform: scale(1.15);
}

.hero-logo-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: var(--gradient-mauve);
  border-radius: 35px;
  opacity: 0.2;
  z-index: -1;
  animation: heroLogoGlow 6s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

@keyframes heroLogoGlow {
  0% {
    opacity: 0.2;
    transform: scale(1);
  }
  100% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

/* ===== CORRECTIONS DE CONTRASTE ===== */

/* Alertes Bootstrap */
.alert {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(138, 43, 226, 0.3);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.1);
}

/* ===== ALERTES ÉLÉGANTES MOODBOARD ===== */

/* S'assurer que le contenu de l'alerte est bien visible */
.alert-primary .alert-heading,
.alert-primary h4 {
  color: #2C4A6B !important;
  text-shadow: none !important;
}

.alert-primary .fas,
.alert-primary i {
  color: #7B68B8 !important;
}

/* ===== ALERTES FLASH & VIBRANTES ===== */
.alert-primary {
  background: linear-gradient(135deg, rgba(123, 104, 184, 0.15), rgba(155, 141, 196, 0.1)) !important;
  border: 1px solid rgba(123, 104, 184, 0.3) !important;
  color: #2C4A6B !important;
  box-shadow: 0 4px 15px rgba(123, 104, 184, 0.1) !important;
  text-shadow: none !important;
  animation: none !important;
  border-radius: 15px !important;
  backdrop-filter: blur(10px) !important;
  transform: none !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.alert-info {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.8), rgba(0, 200, 255, 0.6)) !important;
  border: 2px solid var(--cyan-neon) !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), 0 5px 25px rgba(0, 255, 255, 0.3) !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
  animation: neonPulse 3s ease-in-out infinite 0.5s !important;
  border-radius: 15px !important;
  backdrop-filter: blur(10px) !important;
  transform: scale(1.02) !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.alert-warning {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(255, 215, 0, 0.7)) !important;
  border: 2px solid #FFD700 !important;
  color: #2D1B3D !important;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.7), 0 5px 25px rgba(255, 193, 7, 0.4) !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6) !important;
  animation: neonPulse 3s ease-in-out infinite 1s !important;
  border-radius: 15px !important;
  backdrop-filter: blur(10px) !important;
  transform: scale(1.02) !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

/* Badges */
.badge {
  background: var(--gradient-mauve);
  color: var(--text-primary);
  font-weight: 600;
}

.bg-success {
  background: rgba(40, 167, 69, 0.8) !important;
  color: var(--text-primary) !important;
}

.bg-primary {
  background: var(--gradient-mauve) !important;
  color: var(--text-primary) !important;
}

/* Liens */
a:not(.btn):not(.nav-link):not(.dropdown-item) {
  color: var(--cyan-neon);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
  color: var(--pink-electric);
  text-shadow: var(--glow-pink);
}

/* Textes avec contraste forcé */
.text-contrast {
  color: var(--text-contrast) !important;
}

.text-dark {
  color: var(--text-dark) !important;
}

/* Override Bootstrap text colors */
.text-white {
  color: var(--text-primary) !important;
}

/* Amélioration du contraste pour les textes muted */
.text-muted {
  color: #B0B0B0 !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Contraste amélioré pour les petits textes */
.small {
  color: #C0C0C0 !important;
  font-weight: 500;
}

/* Contraste pour les descriptions */
p.text-muted {
  color: #D0D0D0 !important;
  font-weight: 400;
}

/* Contraste pour les éléments dans les cartes */
.card .text-muted {
  color: #E0E0E0 !important;
}

/* Contraste pour les éléments dans les sections claires */
.bg-light .text-muted {
  color: #F0F0F0 !important;
}

/* ===== STYLES BOUTON EN SAVOIR PLUS PACK PREMIUM ===== */

/* État normal du bouton "En savoir plus" du pack premium SEULEMENT (avec btn-sm) */
.pack-card.popular .btn.btn-outline-primary.btn-sm {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  border: 2px solid #00FFFF !important;
  border-radius: 25px !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2) !important;
  transform: none !important;
  position: relative !important;
}

/* SUPPRIMER TOUS les pseudo-éléments du bouton "En savoir plus" pour éviter la superposition */
.pack-card.popular .btn.btn-outline-primary.btn-sm::before,
.pack-card.popular .btn.btn-outline-primary.btn-sm::after {
  display: none !important;
  content: none !important;
}

/* État hover du bouton "En savoir plus" du pack premium SEULEMENT - FORME OVALE PARFAITE */
.pack-card.popular .btn.btn-outline-primary.btn-sm:hover,
.pack-card.popular .btn.btn-outline-primary.btn-sm:focus {
  background: linear-gradient(90deg, #00FFFF 0%, #FF00FF 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  border-radius: 50% !important;
  width: 280px !important;
  height: 45px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.3) !important;
  transform: translateY(-2px) !important;
  backdrop-filter: none !important;
  font-weight: 600 !important;
  z-index: 999 !important;
  position: relative !important;
  overflow: visible !important;
  font-size: 0.875rem !important;
}

/* ===== CORRECTION VISIBILITÉ TEXTE MODAL PACKS ===== */

/* Forcer les couleurs dans le modal des packs */
#packModal .modal-body .pack-modal-content {
  color: #333333 !important;
}

#packModal .modal-body .pack-modal-content p,
#packModal .modal-body .pack-modal-content span,
#packModal .modal-body .pack-modal-content small,
#packModal .modal-body .pack-modal-content .lead {
  color: #333333 !important;
}

#packModal .modal-body .pack-modal-content .text-muted {
  color: #666666 !important;
}

#packModal .modal-body .pack-modal-content .text-success {
  color: #28a745 !important;
}

#packModal .modal-body .pack-modal-content .text-primary {
  color: #007bff !important;
}

/* Forcer la couleur des éléments de liste */
#packModal .modal-body .pack-features-section .d-flex span {
  color: #333333 !important;
  font-weight: 400 !important;
}

/* S'assurer que tous les boutons du modal sont visibles */
#packModal .modal-body .d-flex.justify-content-center {
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  justify-content: center !important;
}

#packModal .modal-body .d-flex.justify-content-center .btn {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0.25rem !important;
  min-width: 150px !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Forcer la visibilité du bouton "PRENDRE RDV" */
#packModal .modal-body .btn-outline-secondary {
  background: transparent !important;
  color: #6c757d !important;
  border: 1px solid #6c757d !important;
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===== CORRECTION URGENTE VISIBILITÉ TEXTE SERVICES ===== */

/* Règles très spécifiques pour les cartes de services */
.service-card.card p,
.card.service-card p,
div.card.service-card p,
.service-card p.mb-3,
.card.service-card p.mb-3 {
  color: #4A6B8A !important;
  background-color: transparent !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
  z-index: 10 !important;
  position: relative !important;
}

/* Fond blanc comme le moodboard */
.service-card.card,
.card.service-card,
div.card.service-card {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #2C4A6B !important;
  border: 1px solid rgba(184, 167, 232, 0.4) !important;
}

/* Titre des services */
.service-card h4,
.card.service-card h4 {
  color: #2C4A6B !important;
  text-shadow: none !important;
}

/* Assurer que tous les textes dans les cartes de services sont du bleu marine */
.service-card *,
.card.service-card * {
  color: #2C4A6B !important;
}

.service-card p *,
.card.service-card p * {
  color: #4A6B8A !important;
}

/* ===== FIN DES STYLES NEXT-GEN ===== */ 