:root {
  --clr-main: #ff6f00;
  --clr-main-light: #ff9800;
  --clr-accent: #2196f3;
  --clr-bg: #ffffff;
  --clr-surface: #f8f9fa;
  --clr-text: #2c3e50;
  --clr-text-light: #fff;
  --clr-header: #1a202c;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 10px 25px rgba(0,0,0,0.10);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-hover: 0 20px 40px rgba(255, 111, 0, 0.2);
  --transition: 0.3s cubic-bezier(.5,.1,.2,1);
}

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

/* === PARTICULES DÉCORATIVES === */
.bg-particles { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  z-index: 1; 
  pointer-events: none; 
}

.bg-particle {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.bg-particle:nth-child(1) { 
  width: 20px; 
  height: 20px; 
  top: 20%; 
  left: 10%; 
  animation-delay: 0s; 
}

.bg-particle:nth-child(2) { 
  width: 15px; 
  height: 15px; 
  top: 60%; 
  left: 80%; 
  animation-delay: 2s; 
}

.bg-particle:nth-child(3) { 
  width: 25px; 
  height: 25px; 
  top: 80%; 
  left: 20%; 
  animation-delay: 4s; 
}

.bg-particle:nth-child(4) { 
  width: 12px; 
  height: 12px; 
  top: 30%; 
  left: 70%; 
  animation-delay: 1s; 
}

.bg-particle:nth-child(5) { 
  width: 18px; 
  height: 18px; 
  top: 70%; 
  left: 60%; 
  animation-delay: 3s; 
}

/* === CONTENU PRINCIPAL === */
.main-content {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 800px;
  width: 90vw;
  position: relative;
  z-index: 10;
  animation: slideInUp 0.8s;
}

/* === BADGE EN-TÊTE === */
.site-badge {
  background: linear-gradient(135deg, var(--clr-main), var(--clr-main-light));
  color: #fff;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
}

/* === ICÔNES AVEC SCINTILLEMENT ORANGE === */
.contact-bloc i {
  color: var(--clr-main);
  font-size: 1.2rem;
}

.site-badge i {
  animation: badgeGlow 2.5s ease-in-out infinite;
}

/* Icône fa-tools spécifique avec scintillement et taille augmentée */
.main-content h1 i.fa-tools {
  color: var(--clr-main);
  font-size: 2rem !important;
  animation: softGlow 3s ease-in-out infinite;
  margin-right: var(--space-sm);
}

/* === ICÔNES FLOTTANTES LATÉRALES === */
.side-icons {
  position: absolute;
  top: -16px;
  right: -16px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 2;
}

.side-icon {
  background: #fff;
  color: var(--clr-main);
  width: 40px; 
  height: 40px;
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  box-shadow: var(--shadow-md);
  font-size: 1.2rem;
  animation: float 1.5s ease-in-out infinite, iconGlow 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.side-icon:nth-child(1) { 
  animation-delay: 0s, 0s; 
}

.side-icon:nth-child(2) { 
  animation-delay: 1s, 1.3s; 
}

.side-icon:nth-child(3) { 
  animation-delay: 2s, 2.6s; 
}

.side-icon:hover {
  animation-play-state: paused;
  box-shadow: 
    var(--shadow-md),
    0 0 16px 4px rgba(255, 111, 0, 0.3);
  transform: scale(1.1);
}

/* === TYPOGRAPHIE === */
h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--space-lg);
}

.emoji { 
  display: inline-block; 
  margin-right: var(--space-sm); 
  animation: bounce 2s infinite; 
}

.accent-text {
  background: linear-gradient(135deg, var(--clr-main), var(--clr-accent));
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  background-clip: text; 
  font-weight: 700;
}

.welcome-msg, 
.intro-text, 
.expertise-section p, 
.coming-soon {
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.tech-note {
  margin-top: var(--space-md);
  opacity: 0.8;
}

/* === BARRE DE PROGRESSION === */
.progress-section {
  margin: var(--space-xl) 0 var(--space-lg) 0;
}

.progress-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--clr-text);
  text-align: left;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-main), var(--clr-main-light));
  border-radius: 4px;
  width: 0%;
  animation: progressFill 2.5s ease-out forwards 1s;
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  height: 100%; 
  width: 30px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 2s infinite;
}

/* === BLOC CONTACT === */
.contact-bloc {
  background: rgba(255, 111, 0, 0.06);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  margin-top: var(--space-xl);
  border: 1px solid rgba(255, 111, 0, 0.13);
}

.contact-bloc a {
  color: var(--clr-main);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}

.contact-bloc a:hover {
  color: var(--clr-main-light);
  border-bottom: 2px solid var(--clr-main-light);
}

.slogan { 
  color: #555; 
  font-size: 0.98rem; 
  margin-top: var(--space-xs);
}

.coming-soon { 
  font-size: 1.1rem; 
  color: var(--clr-main); 
  margin-top: var(--space-lg); 
}

/* === ANIMATIONS === */

/* Animation d'entrée */
@keyframes slideInUp {
  from { 
    opacity: 0; 
    transform: translateY(50px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Animation flottante */
@keyframes float {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(-15px);
  }
}

/* Animation rebond */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { 
    transform: translateY(0);
  }
  40% { 
    transform: translateY(-10px);
  }
  60% { 
    transform: translateY(-4px);
  }
}

/* Animation pulsation */
@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(255,111,0,0.2);
  }
  50% { 
    transform: scale(1.06); 
    box-shadow: 0 0 0 14px rgba(255,111,0,0);
  }
}

/* Animation progression */
@keyframes progressFill { 
  to { 
    width: 75%; 
  } 
}

/* Animation scintillante */
@keyframes shimmer {
  0% { 
    transform: translateX(-30px);
  }
  100% { 
    transform: translateX(200px);
  }
}

/* === ANIMATIONS SCINTILLEMENT ORANGE === */

/* Scintillement doux pour icônes principales */
@keyframes softGlow {
  0%, 100% {
    text-shadow: 
      0 0 2px rgba(255, 111, 0, 0.3),
      0 0 4px rgba(255, 152, 0, 0.2);
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    text-shadow: 
      0 0 4px rgba(255, 111, 0, 0.5),
      0 0 8px rgba(255, 152, 0, 0.3),
      0 0 12px rgba(255, 193, 7, 0.1);
    opacity: 0.95;
    filter: brightness(1.1);
  }
}

/* Scintillement pour icônes latérales avec halo */
@keyframes iconGlow {
  0%, 100% {
    box-shadow: 
      var(--shadow-md),
      0 0 0 0 rgba(255, 111, 0, 0);
    transform: scale(1);
  }
  25% {
    box-shadow: 
      var(--shadow-md),
      0 0 8px 2px rgba(255, 111, 0, 0.15);
    transform: scale(1.02);
  }
  50% {
    box-shadow: 
      var(--shadow-md),
      0 0 12px 3px rgba(255, 152, 0, 0.2);
    transform: scale(1.04);
  }
  75% {
    box-shadow: 
      var(--shadow-md),
      0 0 8px 2px rgba(255, 111, 0, 0.15);
    transform: scale(1.02);
  }
}

/* Scintillement pour badge */
@keyframes badgeGlow {
  0%, 100% {
    text-shadow: 
      0 0 2px rgba(255, 255, 255, 0.3);
    filter: brightness(1);
  }
  50% {
    text-shadow: 
      0 0 4px rgba(255, 255, 255, 0.6),
      0 0 8px rgba(255, 193, 7, 0.2);
    filter: brightness(1.15);
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-content { 
    padding: var(--space-xl); 
    margin: var(--space-md);
  }
  
  .side-icons, 
  .bg-particles { 
    display: none; 
  }
  
  h1 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  
  .welcome-msg, 
  .intro-text, 
  .expertise-section p {
    font-size: 1.05rem;
  }
}