/* style.css */
:root {
  /* Couleurs principales révisées - palette plus professionnelle */
  --primary: #2A4365; /* Bleu marine profond */
  --primary-light: #3182CE; /* Bleu clair */
  --primary-dark: #1A365D; /* Bleu foncé */
  --secondary: #00B5D8; /* Cyan moderne */
  --accent: #ECC94B; /* Or élégant */
  
  /* Couleurs neutres */
  --dark: #1A202C;
  --light: #F7FAFC;
  --gray-100: #EDF2F7;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E0;
  --gray-400: #A0AEC0;
  --gray-700: #4A5568;
  --gray-800: #2D3748;
  
  /* Couleurs de statut */
  --success: #38A169;
  --warning: #ED8936;
  --danger: #E53E3E;
  
  /* Gradients élégants */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, #63B3ED 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--gray-800) 100%);
  
  /* Ombres modernes */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  
  /* Bordures et rayons */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.dark-mode {
  background: var(--dark);
  color: var(--gray-200);
}

/* Typographie améliorée */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: var(--light);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-accent);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s;
}

/* Modern Navigation */
.modern-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: all var(--transition);
  padding: 0;
}

body.dark-mode .modern-nav {
  background: rgba(26, 32, 44, 0.95);
  border-bottom: 1px solid var(--gray-800);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-text {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  transition: transform var(--transition);
}

.logo-text:hover {
  transform: rotate(10deg);
}

.logo-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
}

body.dark-mode .logo-name {
  color: white;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Selector */
.language-selector {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  gap: 0.25rem;
}

body.dark-mode .language-selector {
  background: var(--gray-800);
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition);
  font-size: 0.875rem;
  min-width: 45px;
}

.lang-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

body.dark-mode .lang-btn.active {
  background: var(--primary);
  color: white;
}

.lang-btn:hover:not(.active) {
  background: rgba(0, 0, 0, 0.05);
}

body.dark-mode .lang-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
}

body.dark-mode .nav-link {
  color: var(--gray-300);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  background: var(--gray-100);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--gray-700);
}

body.dark-mode .dark-mode-toggle {
  background: var(--gray-800);
  color: var(--accent);
}

.dark-mode-toggle:hover {
  transform: rotate(15deg);
  background: var(--primary);
  color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

body.dark-mode .mobile-menu-btn {
  color: var(--light);
}

.mobile-menu-btn:hover {
  background: var(--gray-100);
}

body.dark-mode .mobile-menu-btn:hover {
  background: var(--gray-800);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem;
  background: var(--light);
  border-top: 1px solid var(--gray-200);
}

body.dark-mode .mobile-menu {
  background: var(--dark);
  border-top: 1px solid var(--gray-800);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-200);
  transition: color var(--transition);
}

body.dark-mode .mobile-nav-link {
  color: var(--light);
  border-bottom: 1px solid var(--gray-800);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity var(--transition-slow);
}

body.dark-mode #loader {
  background: var(--dark);
}

.loader-content {
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.loader-logo {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 2rem;
  animation: pulse 2s infinite;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(42, 67, 101, 0.1);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.loader-text {
  color: var(--gray-700);
  font-size: 1.125rem;
  opacity: 0.8;
}

body.dark-mode .loader-text {
  color: var(--gray-300);
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 6rem;
  background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(42, 67, 101, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 181, 216, 0.1) 0%, transparent 50%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: slideInLeft 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  line-height: 1.1;
}

body.dark-mode .hero-title {
  color: white;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

body.dark-mode .hero-subtitle {
  color: var(--gray-300);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 500px;
}

body.dark-mode .hero-description {
  color: var(--gray-400);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  animation: slideInRight 1s ease;
}

.image-container {
  position: relative;
  display: inline-block;
}

.profile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  transition: transform var(--transition);
}

.profile-image:hover {
  transform: scale(1.02);
}

.image-border {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--primary);
  border-radius: calc(var(--radius-xl) + 10px);
  z-index: 1;
  opacity: 0.3;
  animation: borderPulse 3s infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

body.dark-mode .scroll-indicator {
  background: rgba(42, 67, 101, 0.9);
}

.scroll-indicator:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.scroll-indicator i {
  font-size: 1.5rem;
  color: var(--primary);
}

body.dark-mode .scroll-indicator i {
  color: white;
}

/* Sections */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

body.dark-mode .section-title {
  color: white;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  margin: 1rem auto;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

body.dark-mode .section-subtitle {
  color: var(--gray-400);
}

/* About Section */
.about-content {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

body.dark-mode .about-content {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.about-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

body.dark-mode .about-text h3 {
  color: var(--light);
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

body.dark-mode .about-text p {
  color: var(--gray-300);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  transition: transform var(--transition);
}

body.dark-mode .highlight-item {
  background: var(--gray-900);
  border-left-color: var(--accent);
}

.highlight-item:hover {
  transform: translateX(5px);
}

.highlight-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

body.dark-mode .highlight-item i {
  color: var(--accent);
}

.highlight-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

body.dark-mode .highlight-item h4 {
  color: var(--light);
}

.highlight-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

body.dark-mode .highlight-item p {
  color: var(--gray-400);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

body.dark-mode .about-stats {
  border-top: 1px solid var(--gray-700);
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

body.dark-mode .stat {
  background: var(--gray-900);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

body.dark-mode .stat-number {
  color: var(--accent);
}

.stat-label {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
}

body.dark-mode .stat-label {
  color: var(--gray-400);
}

/* Skills Section */
.skills-section {
  background: linear-gradient(135deg, #F7FAFC 0%, #EBF8FF 100%);
}

body.dark-mode .skills-section {
  background: linear-gradient(135deg, #1A202C 0%, #2A4365 50%);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-align: center;
}

body.dark-mode .skill-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.skill-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.75rem;
  transition: transform var(--transition);
}

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

.skill-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

body.dark-mode .skill-card h3 {
  color: white;
}

.skill-list {
  list-style: none;
  text-align: left;
}

.skill-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

body.dark-mode .skill-list li {
  color: var(--gray-300);
}

.skill-list i {
  color: var(--success);
  margin-top: 0.25rem;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(0, 181, 216, 0.1) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

body.dark-mode .contact-item {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.contact-item:hover {
  transform: translateX(5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

body.dark-mode .contact-item h3 {
  color: var(--light);
}

.contact-item p {
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

body.dark-mode .contact-item p {
  color: var(--gray-400);
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

body.dark-mode .contact-form-wrapper {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.dark-mode .form-group label {
  color: var(--light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition);
  background: var(--light);
  color: var(--dark);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
  background: var(--gray-900);
  border-color: var(--gray-700);
  color: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 67, 101, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
  background: var(--gray-800);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: white;
}

.footer-info p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: white;
}

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

.social-link {
  width: 45px;
  height: 45px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
}

.footer-copyright p {
  margin-bottom: 0.5rem;
  color: var(--gray-400);
}

.copyright {
  font-size: 0.875rem;
}

/* Custom Alert */
.custom-alert {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

.alert-content {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: slideUp 0.3s ease;
}

body.dark-mode .alert-content {
  background: var(--gray-800);
}

.alert-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.alert-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

body.dark-mode .alert-content h3 {
  color: var(--light);
}

.alert-content p {
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
}

body.dark-mode .alert-content p {
  color: var(--gray-400);
}

.alert-actions {
  display: flex;
  justify-content: center;
}

.close-alert {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
  transition: color var(--transition);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.close-alert:hover {
  color: var(--danger);
  background: var(--gray-100);
}

body.dark-mode .close-alert:hover {
  background: var(--gray-700);
}

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

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

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

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

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

@keyframes borderPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.02);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding: 6rem 1rem 4rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-container {
    padding: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-large {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .about-content,
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 3rem 1rem 1.5rem;
  }
  
  .language-selector {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    z-index: 100;
  }
  
  .whatsapp-float {
    bottom: 5rem;
  }
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Styles pour les images avec erreur de chargement */
img[src*="placeholder"] {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--gray-400);
}

body.dark-mode img[src*="placeholder"] {
  background: var(--gray-800);
  color: var(--gray-500);
}

/* Animation pour les cartes au scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
