/* ============================================
   CLASS-MARKET - BASE CSS
   Variables, Reset, Typography, Utilities
============================================ */

:root {
  /* Advanced Color System */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
  
  --accent-50: #fefce8;
  --accent-100: #fef9c3;
  --accent-200: #fef08a;
  --accent-300: #fde047;
  --accent-400: #facc15;
  --accent-500: #eab308;
  --accent-600: #ca8a04;
  --accent-700: #a16207;
  --accent-800: #854d0e;
  --accent-900: #713f12;
  
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
  
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-700: #be185d;
  --pink-800: #9d174d;
  --pink-900: #831843;
  
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  /* Improved text black for high contrast on light sections */
  --text-black: #0b1220; /* deep, slightly warm black */
  
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
/* Spacing */
  --space-1: 0.2rem;
  --space-2: 0.4rem;
  --space-3: 0.6rem;
  --space-4: 0.875rem;
  --space-5: 1.125rem;
  --space-6: 1.25rem;
  --space-8: 1.75rem;
  --space-10: 2.25rem;
  --space-12: 2.75rem;
  --space-16: 3.5rem;
  --space-20: 4.25rem;
  --space-24: 5rem;
  --space-32: 6.5rem;  
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;
  
  /* Advanced Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
  --shadow-glow-lg: 0 0 40px rgba(59, 130, 246, 0.4);
  
  /* Stunning Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 50%, var(--purple-600) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-500) 0%, var(--pink-500) 50%, var(--purple-500) 100%);
  --gradient-hero: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
  --gradient-rainbow: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff);
  
  /* Animations */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-elastic: 800ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================
   RESET & BASE STYLES
============================================ */

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

html {
  scroll-behavior: smooth;
  /* Slightly smaller base font to make UI more compact */
  font-size: 15px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  background: var(--gradient-hero);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

main {
  padding-top: 100px;
  position: relative;
  z-index: 10;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  z-index: -1;
  animation: float 15s ease-in-out infinite;
}

/* ============================================
   TYPOGRAPHY
============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); } 

 a { text-decoration: none; }


/* ============================================
   ANIMATIONS
============================================ */

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

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

@keyframes textGlow {
  0% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }
  100% { text-shadow: 0 0 50px rgba(59, 130, 246, 0.6), 0 0 80px rgba(59, 130, 246, 0.3); }
}

@keyframes scaleIn {
  0% { transform: scale(0) rotate(180deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Classes utilitaires pour animations */
.floating { animation: float 3s ease-in-out infinite; }
.pulse { animation: pulse 2s ease-in-out infinite; }
.bounce { animation: bounce 2s infinite; }
.fade-in { animation: fadeInUp 0.6s ease-out; }

/* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
  }

/* Les heros et particules */
.hero-content span{
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 20%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
      radial-gradient(circle at 40% 60%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: meshMove 20s ease-in-out infinite;
  }

  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%),
      linear-gradient(-45deg, transparent 30%, rgba(59,130,246,0.1) 50%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
  }

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

  .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
  }

  .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
  .particle:nth-child(2) { top: 40%; left: 20%; animation-delay: 1s; }
  .particle:nth-child(3) { top: 60%; left: 15%; animation-delay: 2s; }
  .particle:nth-child(4) { top: 80%; left: 25%; animation-delay: 3s; }
  .particle:nth-child(5) { top: 30%; left: 80%; animation-delay: 4s; }
  .particle:nth-child(6) { top: 70%; left: 85%; animation-delay: 5s; }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
  }

  .hero h1 {
    margin-bottom: var(--space-8);
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out, textGlow 3s ease-in-out infinite alternate;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  }

  .hero h1 span {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
  }

  .hero p {
    font-size: 1.5rem;
    margin-bottom: var(--space-10);
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .hero-cta {
    animation: fadeInUp 1s ease-out 0.4s both;
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
  }
/* ============================================
   ACCESSIBILITY
============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   UTILITY CLASSES
============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.my-4 { margin-top: var(--space-4); margin-bottom: var(--space-4); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }


/*============  Contacter  ===========*/
/* ============ Contact - Version mobile =========== */

/* Section principale de contact - Mobile */
.contact {
  padding: 40px 15px;
  background: linear-gradient(135deg, #f9d7d7, #ffe9e9);
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Animation de fond sur mobile */
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 135, 94, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  z-index: -1;
  animation: bgShift 15s ease-in-out infinite;
}

@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Contenu du contact */
.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  z-index: 2;
  padding-bottom: 30px;
}

/* Titre de la section */
.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 1rem;
  color: #777;
  font-weight: 500;
  text-align: center;
  margin-bottom: 25px;
}

/* Informations de contact */
.contact-info {
  text-align: center;
  max-width: 600px;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  text-transform: uppercase;
}

.contact-info p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: 400;
}

/* Cartes des méthodes de contact */
.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.contact-method {
  background-color: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 300px;
  text-align: center;
  position: relative;
  max-width: 500px;
  width: 100%;
}

.contact-method:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2);
}

.method-icon {
  font-size: 2.5rem;
  color: #ff6b6b;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.contact-method:hover .method-icon {
  transform: rotate(10deg);
}

.method-info h4 {
  font-size: 1.5rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 15px;
}

.method-info a {
  font-size: 1.1rem;
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 600;
}

.method-info p {
  color: #777;
  font-size: 1rem;
  margin-top: 10px;
}

/* Formulaire de contact - Mobile */
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  padding: 30px;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.15);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ff6b6b;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #777;
  font-style: italic;
}

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

.form-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}

/* Boutons */
.btn-primary {
  background-color: #ff6b6b;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #ff3e3e;
}

.btn-secondary {
  background-color: #ff8c42;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #ff6b00;
}

/* Liens sociaux */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.social-link {
  background: #ff6b6b;
  color: white;
  padding: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ */
.faq-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.faq-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.faq-item p {
  color: #555;
  font-size: 1rem;
}

/* Responsive Design pour mobile */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .contact-info h2 {
    font-size: 1.8rem;
  }

  .contact-info p {
    font-size: 1rem;
  }

  .contact-method {
    padding: 20px;
    max-width: 100%;
  }

  .form-label {
    font-size: 1rem;
  }

  .form-input,
  .form-textarea {
    font-size: 1rem;
    padding: 10px;
  }

  .faq-item h4 {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 0;
  }

  .social-links {
    gap: 15px;
  }
}



    /*======Paiement*/
    /* Payment Modal */
/* Modal général */
.payment-modal {
  position: fixed; top:0; left:0; width:100%; height:100%;
  z-index:10000; display:flex; align-items:center; justify-content:center;
  font-family:'Poppins', sans-serif;
}

.payment-overlay {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.payment-content {
  position: relative;
  background: linear-gradient(145deg,#ffffff,#f0f8ff);
  border-radius: 2rem; max-width:480px; width:90%;
  max-height:90vh; overflow-y:auto; padding-bottom:1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: scaleIn 0.4s cubic-bezier(.6,.04,.98,.335);
}


  /* Fond dégradé animé et dynamique (identique à la version desktop) */
/* Global settings */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f7fb;
  color: #333;
}

/* Section générale */
.about {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}
li{
  transform: translateX(-10vh);
  text-align: left;
}

.container {
  width: 90%;
  margin: 0 auto;
  
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #888;
}

/* Texte et contenu principal */
.about-text h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-top: 20px;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  margin-top: 15px;
  margin-bottom: 30px;
}

/* Nos valeurs */
.about-values h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
}

.about-values ul {
  list-style: none;
  padding: 0;
}

.about-values li {
  font-size: 1.1rem;
  margin: 10px 0;
  color: #555;
}

/* Statistiques */
.about-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b6b;
}

.stat-label {
  font-size: 1rem;
  color: #777;
}

/* Boutons */
.cta-section {
  margin-top: 50px;
}

.btn {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #ff6b6b;
  color: white;
}

.btn-primary:hover {
  background-color: #ff3e3e;
}

.btn-secondary {
  background-color: #ff8c42;
  color: white;
}

.btn-secondary:hover {
  background-color: #ff6b00;
}

/* Image de présentation avec effet de flottement */
.about-image {
  margin-top: 50px;
  position: relative;
}
.ncontainer{
  display: flex;
  align-items: center;
  gap: 50px;
  width: 100%;
  padding: 40px;
}
.contenu{
  display: grid;
  gap: 40px;

}
.contenu p{
  width: 100%;
  line-height: 2;
  text-align: justify;
  transform: translateY(-5vh);
}
.linear{
  transform: translateY(-100px);
}
@media (max-width:768px) {
  .contenu{
    flex-direction: column;

  }
  .contenu p {
    width: 100%;
  }  
}
.floating{
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  animation: floatImage 3s ease-in-out infinite;
}
.floating1 {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

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

/* Cartes de caractéristiques */
.about-features-cards {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}

.feature-mini-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.icon {
  font-size: 40px;
  color: #ff6b6b;
  margin-bottom: 10px;
}

.feature-mini-card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.feature-mini-card p {
  font-size: 1rem;
  color: #777;
}

/* Témoignages */
.testimonials-section {
  margin-top: 60px;
  background-color: #f9f9f9;
  padding: 50px 0;
}

.testimonials-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
}

.testimonials-grid {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.testimonial-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stars {
  font-size: 1.5rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.customer {
  font-size: 1rem;
  color: #555;
}

/* Responsive design */
@media (max-width: 768px) {
  main {
    padding-top: 80px;
  }

  .about-features-cards {
    flex-direction: column;
    gap: 20px;
  }

  .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }
}




/* Responsive design pour écrans de petite taille (Mobile-First) */
/* Section générale des avantages */
.features {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
  animation: fadeInUp 1s ease-out forwards;
}

/* Animation d'apparition des éléments */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cartes des avantages */
.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: scale(0.9);
  opacity: 0;
  animation: scaleIn 1s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animation d'apparition avec effet de zoom */
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Effet au survol des cartes */
.feature-card:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 50px;
  margin-bottom: 20px;
  color: #ff6b6b;
  transition: transform 0.3s ease;
}

/* Effet au survol de l'icône */
.feature-card:hover .feature-icon {
  transform: rotate(20deg) scale(1.2);
}

/* Titres des cartes */
.feature-card h3 {
  font-size: 1.2rem;  /* Texte plus petit */
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

/* Changement de couleur au survol */
.feature-card:hover h3 {
  color: #ff6b6b;
}

/* Description des cartes */
.feature-card p {
  font-size: 0.9rem;  /* Description plus petite */
  color: #777;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* Animation du texte au survol */
.feature-card:hover p {
  color: #555;
}

/* Effet de particules en arrière-plan */
.feature-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 3s linear infinite;
  opacity: 0.5;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Responsive - Pour des écrans plus petits, cartes côte à côte */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);  /* 2 colonnes sur des écrans moyens */
  }
}

/* Pour les très petits écrans mobiles */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);  /* 2 cartes côte à côte sur mobile */
  }

  .feature-card {
    padding: 15px;
    width: 100%;
    height: 300px; /* Fixe la hauteur des cartes pour avoir des cartes carrées */
  }

  .feature-icon {
    font-size: 40px;
  }

  .feature-card h3 {
    font-size: 1.1rem;  /* Réduit la taille du titre pour mobile */
  }

  .feature-card p {
    font-size: 0.9rem;  /* Description plus petite pour mobile */
  }
}

/* Pour les petits écrans très petits (téléphones anciens ou petites résolutions) */
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);  /* Toujours 2 cartes côte à côte */
    gap: 15px;
  }

  .feature-card {
    padding: 15px;
    height: 250px; /* Ajuste la hauteur pour les très petits écrans */
  }

  .feature-icon {
    font-size: 35px;  /* Icônes plus petites */
  }

  .feature-card h3 {
    font-size: 1rem;  /* Taille des titres encore plus petite */
  }

  .feature-card p {
    font-size: 0.85rem;  /* Taille des descriptions plus petite */
  }
}

/* Mobile 600px */
@media (max-width: 600px) {
  main {
    padding-top: 70px;
  }
}

/* Mobile 420px */
@media (max-width: 420px) {
  main {
    padding-top: 65px;
  }
}

.tab-button{
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  padding: 7px;
  border-radius: 8px;
  cursor: pointer;
}



