  /* style.css - Palette bleu foncé et bleu clair */

  /* Variables CSS pour la palette bleu foncé et bleu clair */
  :root {
    /* Palette bleu foncé et bleu clair */
    --primary-black: #0f172a;
    --primary-dark: #172554;
    --primary-gray: #1e293b;
    --primary-light-gray: #334155;
    --primary-lighter-gray: #64748b;
    --primary-white: #ffffff;
    --primary-off-white: #f8f8f8;
    --primary-light: #e6e6e6;

    /* Accents bleus */
    --accent-blue: #6366f1;
    --accent-blue-light: #7c3aed;
    --accent-blue-dark: #312e81;
    --accent-silver: #c0c0c0;
    --accent-light-silver: #d4d4d4;
    --accent-dark-silver: #a0a0a0;

    /* Nouveaux bleus marine pour les cartes */
    --navy-blue-dark: #1e3a8a;
    --navy-blue-medium: #1e40af;
    --navy-blue-light: #3b82f6;
    --navy-blue-lighter: #60a5fa;
    
    /* Couleurs d'accent pour les icônes */
    --icon-gold: #fbbf24;
    --icon-gold-dark: #f59e0b;
    --icon-gold-darker: #d97706;

    /* Transparences */
    --transparent-10: rgba(99, 102, 241, 0.1);
    --transparent-20: rgba(99, 102, 241, 0.2);
    --transparent-30: rgba(99, 102, 241, 0.3);
    --transparent-400: rgba(99, 102, 241, 0.4);
    --transparent-50: rgba(99, 102, 241, 0.5);
    --transparent-60: rgba(99, 102, 241, 0.6);
    --transparent-70: rgba(99, 102, 241, 0.7);
    --transparent-80: rgba(99, 102, 241, 0.8);
    --transparent-90: rgba(99, 102, 241, 0.9);

    /* Ombres */
    --shadow-light: 0 2px 8px rgba(99, 102, 241, 0.1);
    --shadow-medium: 0 4px 16px rgba(99, 102, 241, 0.15);
    --shadow-heavy: 0 8px 32px rgba(99, 102, 241, 0.2);

    /* Bordures */
    --border-light: 1px solid var(--transparent-20);
    --border-medium: 1px solid var(--transparent-30);
    --border-heavy: 2px solid var(--transparent-40);

    /* Nouveaux ajouts */
    --primary-bg-darkest: #081a2b;
    --primary-blue-dark: #174076;
    --primary-blue-light: #60a5fa;
    --premium-gold: #ffd700;
  }

  /* Styles généraux */
  body {
    background: linear-gradient(135deg, #0a0f1a 0%, #0f172a 25%, #1e293b 50%, #0f172a 75%, #0a0f1a 100%);
    color: #60a5fa;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

  /* Header et navigation */
  header {
    background: linear-gradient(90deg, #0a0f1a 60%, #1e293b 100%);
    border-bottom: 1px solid var(--transparent-20);
    backdrop-filter: blur(10px);
  }

  /* Titres principaux */
  .text-center h1, .text-center h2 {
    color: #60a5fa;
    font-weight: 800;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
  }

  /* Cartes de produits/offres - Version plus sombre */
  .bg-white\/10 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    color: #ffffff !important;
    border: 2px solid #1e293b !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.4) !important;
    border-radius: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    font-weight: 500;
    font-size: 1.08rem;
    backdrop-filter: blur(10px);
  }

  .bg-white\/10:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%) !important;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.6) !important;
    border-color: #475569 !important;
  }

  .bg-white\/10::before {
    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%);
    border-radius: 1.2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }

  .bg-white\/10:hover::before {
    opacity: 1;
  }

  /* Carte premium : contour doré, fond bleu intense, texte blanc et gras */
  .premium-offer {
    border: 3px solid #ffd700 !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.13rem !important;
    box-shadow: 0 4px 32px rgba(255,215,0,0.15);
  }


    


  /* Boutons */
  .buy-btn {
    background: linear-gradient(135deg, #174076 0%, #60a5fa 100%);
    color: #ffffff;
    border: 1px solid #60a5fa;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(8,26,43,0.10);
    transition: all 0.3s ease;
  }

  .buy-btn:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #174076 100%);
    border-color: #174076;
    box-shadow: 0 4px 16px rgba(8,26,43,0.15);
    transform: translateY(-2px) scale(1.04);
  }

  /* Packs Avantageux */
  .packs-section {
    background: #081a2b;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(8,26,43,0.13);
    padding: 2rem 1rem;
    border: 2px solid #174076;
  }

  /* Animation pour les éléments du panier */
  @keyframes cartSlideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  #cartSidebar {
    animation: cartSlideIn 0.4s ease-out;
  }

  /* Animations d'apparition pour tous les éléments */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

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

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

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

  /* Classes d'animation */
  .animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
  }

  .animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
  }

  .animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
  }

  .animate-scale-in {
    animation: scaleIn 0.6s ease-out;
  }

  /* Délais d'animation pour créer un effet cascade */
  .animate-delay-1 {
    animation-delay: 0.1s;
  }

  .animate-delay-2 {
    animation-delay: 0.2s;
  }

  .animate-delay-3 {
    animation-delay: 0.3s;
  }

  .animate-delay-4 {
    animation-delay: 0.4s;
  }

  .animate-delay-5 {
    animation-delay: 0.5s;
  }

  /* Animation pour les éléments au scroll */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
  }

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

  /* Formulaire de checkout amélioré */
  #checkoutForm {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  #checkoutForm h3 {
    color: #c0c0c0;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  #checkoutForm input {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  #checkoutForm input:focus {
    outline: none;
    border-color: #c0c0c0;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  }

  #checkoutForm input::placeholder {
    color: #a0a0a0; /* Remplace var(--accent-dark-silver) */
  }

  #checkoutForm button {
    background: linear-gradient(135deg, #c0c0c0 0%, #d4d4d4 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  #checkoutForm button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
  }

  #checkoutForm button:hover::before {
    left: 100%;
  }

  #checkoutForm button:hover {
    background: linear-gradient(135deg, #d4d4d4 0%, #ffffff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }

  #checkoutForm button#cancelCheckout {
    background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
    color: #ffffff;
  }

  #checkoutForm button#cancelCheckout:hover {
    background: linear-gradient(135deg, #404040 0%, #666666 100%);
  }

  /* Animation de chargement */
  .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
  }

  .loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2); /* Remplace var(--transparent-20) */
    border-top: 4px solid #c0c0c0; /* Remplace var(--accent-silver) */
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  .loading-text {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
  }

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

  /* Styles pour le formulaire de contact */
  .contact-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
  }

  .contact-btn:active {
    transform: scale(0.95);
  }

  .contact-modal {
    animation: fadeInUp 0.4s ease-out;
  }

  .close-btn:hover {
    color: #ffffff !important;
    transform: scale(1.2);
  }

  .contact-input:focus {
    outline: none;
    border-color: #c0c0c0 !important; /* Remplace var(--accent-silver) */
    background: rgba(255, 255, 255, 0.2) !important; /* Remplace var(--transparent-20) */
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); /* Remplace var(--transparent-20) */
  }

  .contact-input::placeholder {
    color: #a0a0a0; /* Remplace var(--accent-dark-silver) */
  }

  .contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); /* Remplace var(--transparent-30) */
    transition: left 0.5s ease;
  }

  .contact-submit-btn:hover::before {
    left: 100%;
  }

  .contact-submit-btn:hover {
    background: linear-gradient(135deg, #d4d4d4 0%, #ffffff 100%) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
  }

  /* Animation de chargement */
  .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
  }

  .loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2); /* Remplace var(--transparent-20) */
    border-top: 4px solid #c0c0c0; /* Remplace var(--accent-silver) */
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  .loading-text {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
  }

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

  /* Styles pour le formulaire de contact */
  .contact-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
  }

  .contact-btn:active {
    transform: scale(0.95);
  }

  .contact-modal {
    animation: fadeInUp 0.4s ease-out;
  }

  .close-btn:hover {
    color: #ffffff !important;
    transform: scale(1.2);
  }

  .contact-input:focus {
    outline: none;
    border-color: #c0c0c0 !important; /* Remplace var(--accent-silver) */
    background: rgba(255, 255, 255, 0.2) !important; /* Remplace var(--transparent-20) */
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); /* Remplace var(--transparent-20) */
  }

  .contact-input::placeholder {
    color: #a0a0a0; /* Remplace var(--accent-dark-silver) */
  }

  .contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); /* Remplace var(--transparent-30) */
    transition: left 0.5s ease;
  }

  .contact-submit-btn:hover::before {
    left: 100%;
  }

  .contact-submit-btn:hover {
    background: linear-gradient(135deg, #d4d4d4 0%, #ffffff 100%) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
  }

  /* Animation pour les éléments au scroll sur mobile */
  @media (max-width: 768px) {
    .animate-fade-in,
    .animate-fade-in-left,
    .animate-fade-in-right,
    .animate-scale-in {
      animation: fadeInUp 0.6s ease-out !important;
    }
    
    .animate-delay-1,
    .animate-delay-2,
    .animate-delay-3,
    .animate-delay-4,
    .animate-delay-5 {
      animation-delay: 0.1s !important;
    }
  }

  /* Animation d'apparition pour les cartes de produits */
  .bg-white\/10 {
    animation: fadeInUp 0.6s ease-out;
  }

  .bg-white\/10:nth-child(1) { animation-delay: 0.1s; }
  .bg-white\/10:nth-child(2) { animation-delay: 0.2s; }
  .bg-white\/10:nth-child(3) { animation-delay: 0.3s; }
  .bg-white\/10:nth-child(4) { animation-delay: 0.4s; }
  .bg-white\/10:nth-child(5) { animation-delay: 0.5s; }
  .bg-white\/10:nth-child(6) { animation-delay: 0.6s; }

  /* Responsive */
  @media (max-width: 600px) {
    #cartSidebar {
      width: 98vw !important;
      border-radius: 0 0 18px 18px !important;
      min-width: unset;
    }
  }

  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    animation: fadeIn 0.6s ease-out;
  }

  /* Gradients de texte */
  .bg-gradient-to-r {
    background: linear-gradient(to right, #c0c0c0, #d4d4d4); /* Remplace var(--accent-silver) */
  }

  .bg-clip-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Icônes des matières - Version plus sombre */
  .matiere-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
    border: 3px solid #475569;
  }

  .matiere-icon:hover {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, #334155 0%, #475569 50%, #64748b 100%);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.6);
    border-color: #64748b;
  }

  .matiere-icon svg {
    width: 36px !important;
    height: 36px !important;
    color: #fbbf24 !important;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  }

  .matiere-icon:hover svg {
    color: #ffffff !important;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  }

  .matiere-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.8s ease;
    opacity: 0;
  }

  .matiere-icon:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
    opacity: 1;
  }

  /* Animation de brillance améliorée pour les icônes */
  @keyframes iconShine {
    0% {
      transform: translateX(-100%) rotate(45deg);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translateX(100%) rotate(45deg);
      opacity: 0;
    }
  }

  .matiere-icon:hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: rotate(45deg);
    animation: iconShine 1.2s ease-in-out;
  }

  /* Effet de pulsation pour les cartes au survol */
  @keyframes cardPulse {
    0% {
      box-shadow: 0 8px 32px rgba(15, 23, 42, 0.4);
    }
    50% {
      box-shadow: 0 12px 40px rgba(15, 23, 42, 0.6);
    }
    100% {
      box-shadow: 0 8px 32px rgba(15, 23, 42, 0.4);
    }
  }

  .bg-white\/10:hover {
    animation: cardPulse 2s ease-in-out infinite;
  }

  /* Animation de brillance pour le logo */
  @keyframes shine {
    0% {
      transform: translateX(-100%);
    }
    50% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(100%);
    }
  }

  /* Styles améliorés pour les menus déroulants */
  .dropdown {
    position: relative;
  }

  /* Zone de transition pour éviter que le menu disparaisse trop vite */
  .dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 20px;
    background: transparent;
  }

  .dropdown-menu {
    transform: translateY(-10px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition-delay: 0s;
  }

  .dropdown:hover .dropdown-menu {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s;
  }

  .dropdown-menu a {
    position: relative;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
  }

  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: #c0c0c0;
    transform: translateX(5px);
  }

  .dropdown-menu a:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }

  .dropdown-menu a:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }

  /* Animation pour les boutons de menu */
  .menu-btn {
    position: relative;
    overflow: hidden;
  }

  .menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
  }

  .menu-btn:hover::before {
    left: 100%;
  }

  /* Effet de focus amélioré */
  .menu-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
  }

  /* Animation pour les flèches des menus déroulants */
  .dropdown:hover .menu-btn svg:last-child {
    transform: rotate(180deg);
  }

  /* Animation pour les éléments du menu au survol */
  .dropdown-menu a {
    position: relative;
    overflow: hidden;
  }

  .dropdown-menu a::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;
  }

  .dropdown-menu a:hover::before {
    left: 100%;
  }

  /* Animation pour les icônes SVG dans les menus */
  .dropdown-menu a svg {
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .dropdown-menu a:hover svg {
    transform: scale(1.1);
    color: #ffffff !important;
  }

  /* Styles améliorés pour les offres et cartes de produits */
  .bg-white\/10 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
  }

  .bg-white\/10::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
  }

  .bg-white\/10:hover::before {
    left: 100%;
  }

  .bg-white\/10:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.45) 100%);
    border-color: #c0c0c0;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  /* Animation pour les badges "Économisez" */
  .badge-economisez {
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
  }

  .badge-economisez::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); /* Remplace var(--accent-silver) */
    animation: shine 2s ease-in-out infinite;
  }

  /* Animation pour les boutons d'achat */
  .buy-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-gray) 0%, var(--primary-light-gray) 100%);
    border: var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
  }

  .buy-btn:hover::before {
    left: 100%;
  }

  .buy-btn:hover {
    background: linear-gradient(135deg, #404040 0%, #666666 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #c0c0c0;
  }

  /* Animation pour les titres de sections */
  .text-center h2 {
    position: relative;
    display: inline-block;
  }

  .text-center h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #c0c0c0, #ffffff); /* Remplace var(--accent-silver), var(--primary-white) */
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .text-center:hover h2::after {
    width: 100%;
  }

  /* Animation pour les icônes de matières */
  .matiere-icon {
    position: relative;
    transition: all 0.3s ease;
  }

  .matiere-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  }

  /* Effet de brillance pour le background */
  .min-h-screen::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, var(--transparent-10) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, var(--transparent-10) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
  }

  /* Améliorations ergonomiques et design */
  /* Scrollbar personnalisée */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: var(--primary-dark);
  }

  ::-webkit-scrollbar-thumb {
    background: #c0c0c0; /* Remplace var(--accent-silver) */
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #d4d4d4; /* Remplace var(--accent-light-silver) */
  }

  /* Amélioration des focus pour l'accessibilité */
  *:focus {
    outline: 2px solid #c0c0c0; /* Remplace var(--accent-silver) */
    outline-offset: 2px;
  }

  /* Animation de chargement pour les boutons */
  @keyframes buttonPulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }

  .buy-btn:active {
    animation: buttonPulse 0.2s ease-in-out;
  }

  /* Effet de parallaxe subtil pour le header */
  header {
    position: relative;
    z-index: 100;
  }

  /* Amélioration des transitions globales */
  * {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  }

  /* Animation pour les cartes au survol */
  .bg-white\/10 {
    transform-style: preserve-3d;
    perspective: 1000px;
  }

  .bg-white\/10:hover {
    transform: translateY(-4px) scale(1.02) rotateX(2deg);
  }

  /* Effet de profondeur pour les icônes */
  .matiere-icon {
    transform-style: preserve-3d;
  }

  .matiere-icon:hover {
    transform: scale(1.1) rotate(5deg) translateZ(10px);
  }

  /* Amélioration de la lisibilité du texte */
  p, span, div {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Animation pour les badges au survol */
  .badge-economisez:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.3);
  }

  /* Effet de focus amélioré pour les liens */
  a:focus {
    outline: 2px solid #c0c0c0; /* Remplace var(--accent-silver) */
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Animation pour les titres de sections */
  .text-center h2 {
    position: relative;
    overflow: hidden;
  }

  .text-center h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); /* Remplace var(--transparent-20) */
    transition: left 0.6s ease;
  }

  .text-center:hover h2::before {
    left: 100%;
  }

  /* Styles spécifiques pour les cartes FAQ et autres éléments - Version plus sombre */
  .faq-item.bg-white\/10 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    border: 2px solid #1e293b !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.4) !important;
    transition: all 0.4s ease;
  }

  .faq-item.bg-white\/10:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.6) !important;
    border-color: #475569 !important;
  }

  /* Cartes avec style spécifique (packs, etc.) - Version plus sombre */
  .bg-white\/10[style*="background: var(--transparent-10)"] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    border: 2px solid #1e293b !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.4) !important;
  }

  .bg-white\/10[style*="background: var(--transparent-10)"]:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%) !important;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.6) !important;
    border-color: #475569 !important;
  }

  /* Amélioration des boutons dans les cartes - Version plus sombre */
  .bg-white\/10 .buy-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3) !important;
    transition: all 0.3s ease !important;
  }

  .bg-white\/10 .buy-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4) !important;
    color: #ffffff !important;
  }

  /* Amélioration des prix - Version plus sombre */
  .bg-white\/10 .text-2xl.font-bold {
    color: #fbbf24 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  /* Amélioration des titres dans les cartes - Version plus sombre */
  .bg-white\/10 h3 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  /* Amélioration des descriptions - Version plus sombre */
  .bg-white\/10 .text-gray-300 {
    color: #cbd5e1 !important;
  }

  /* Amélioration des icônes de check - Version plus sombre */
  .bg-white\/10 .text-green-400 {
    color: #fbbf24 !important;
  }

  .bg-white\/10 .w-3.h-3.text-green-400 {
    color: #fbbf24 !important;
  }

  /* Effet de pulsation pour les cartes au survol - Version plus sombre */
  @keyframes cardPulse {
    0% {
      box-shadow: 0 8px 32px rgba(15, 23, 42, 0.4);
    }
    50% {
      box-shadow: 0 12px 40px rgba(15, 23, 42, 0.6);
    }
    100% {
      box-shadow: 0 8px 32px rgba(15, 23, 42, 0.4);
    }
  }

  .bg-white\/10:hover {
    animation: cardPulse 2s ease-in-out infinite;
  }

  /* Variables CSS mises à jour pour les bleus plus foncés */
  :root {
    /* Nouveaux bleus très foncés */
    --navy-blue-darkest: #0a0f1a;
    --navy-blue-darker: #0f172a;
    --navy-blue-dark: #1e293b;
    --navy-blue-medium: #334155;
    --navy-blue-light: #475569;
    --navy-blue-lighter: #64748b;
  }

  /* Packs Avantageux - Même couleur que les packs classiques mais avec accents dorés */
  #packs .bg-white\/10 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    border: 2px solid #1e293b !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.4) !important;
    position: relative;
    overflow: hidden;
  }

  #packs .bg-white\/10::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    transition: left 0.5s ease;
  }

  #packs .bg-white\/10:hover::before {
    left: 100%;
  }

  #packs .bg-white\/10:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%) !important;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.6) !important;
    border-color: #475569 !important;
    animation: none !important;
  }

  /* Badge économisez - Garde l'aspect doré */
  #packs .badge-economisez {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.875rem !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3) !important;
    border: 2px solid #fbbf24 !important;
  }

  /* Bouton d'achat des packs avantageux - Garde l'aspect doré */
  #packs .buy-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3) !important;
    transition: all 0.3s ease !important;
  }

  #packs .buy-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  }

  #packs .buy-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3) !important;
  }

  /* Logo des packs avantageux - Noir et doré */
  #packs .matiere-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    border: 4px solid #fbbf24;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
    transition: all 0.2s ease !important;
    position: relative;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
  }

  #packs .matiere-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(251, 191, 36, 0.3) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  #packs .matiere-icon:hover::before {
    opacity: 1;
  }

  #packs .matiere-icon svg {
    width: 60px;
    height: 60px;
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
    stroke-width: 2;
  }

  #packs .matiere-icon:hover {
    transform: scale(1.1) !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 12px 32px rgba(251, 191, 36, 0.4) !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 50%, #4a4a4a 100%);
  }

  #packs .matiere-icon:hover svg {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    stroke-width: 2.5;
  }

  /* Suppression des animations complexes sur les icônes */
  #packs .matiere-icon::before,
  #packs .matiere-icon::after {
    display: none !important;
  }

  /* Background général plus sombre */
  .min-h-screen {
    background: linear-gradient(135deg, #0a0f1a 0%, #0f172a 25%, #1e293b 50%, #0f172a 75%, #0a0f1a 100%) !important;
  }

  /* Harmonisation des titres de sections */
  .text-center h2 {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
  }

  /* Titre principal avec gradient doré */
  .text-center h2 span {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 900 !important;
  }

  /* Styles de background pour toutes les sections avec nuances */
  section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 50%, rgba(51, 65, 85, 0.7) 100%);
    position: relative;
    overflow: hidden;
  }

  /* Effet de brillance subtil pour toutes les sections */
  section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.05), transparent);
    transition: left 0.8s ease;
  }

  section:hover::before {
    left: 100%;
  }

  /* Section Packs Avantageux - Légèrement plus dorée */
  #packs {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 50%, rgba(51, 65, 85, 0.75) 100%);
  }

  #packs::before {
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.08), transparent);
  }

  /* Section 2ème année - Légèrement plus bleue */
  #annee-2 {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.82) 50%, rgba(51, 65, 85, 0.72) 100%);
  }

  #annee-2::before {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.06), transparent);
  }

  /* Section 3ème année - Légèrement plus verte */
  #annee-3 {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.78) 50%, rgba(51, 65, 85, 0.68) 100%);
  }

  #annee-3::before {
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.06), transparent);
  }

  /* Section FAQ - Légèrement plus grise */
  #faq {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 50%, rgba(51, 65, 85, 0.65) 100%);
  }

  #faq::before {
    background: linear-gradient(90deg, transparent, rgba(156, 163, 175, 0.06), transparent);
  }

  /* Section "Pourquoi choisir" - Légèrement plus argentée */
  section:not(#packs):not(#annee-2):not(#annee-3):not(#faq) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.90) 0%, rgba(30, 41, 59, 0.80) 50%, rgba(51, 65, 85, 0.70) 100%);
  }

  section:not(#packs):not(#annee-2):not(#annee-3):not(#faq)::before {
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.06), transparent);
  }

  /* Suppression de l'ancien style bg-black/20 */
  .bg-black\/20 {
    background: none !important;
  }

  /* Animation d'apparition pour tous les éléments */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInScale {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Animation d'apparition pour tous les éléments */
  * {
    animation: fadeInUp 0.8s ease-out;
  }

  /* Délais d'animation pour créer un effet cascade */
  .bg-white\/10:nth-child(1) { animation-delay: 0.1s; }
  .bg-white\/10:nth-child(2) { animation-delay: 0.2s; }
  .bg-white\/10:nth-child(3) { animation-delay: 0.3s; }
  .bg-white\/10:nth-child(4) { animation-delay: 0.4s; }
  .bg-white\/10:nth-child(5) { animation-delay: 0.5s; }
  .bg-white\/10:nth-child(6) { animation-delay: 0.6s; }

  /* Titres avec effet souligné au lieu de surbrillance */
  .text-center h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
    transition: width 0.4s ease;
  }

  .text-center:hover h2::after {
    width: 80px;
  }

  /* Animation subtile pour les titres */
  .text-center h2 {
    transition: all 0.3s ease;
  }

  .text-center:hover h2 {
    transform: translateY(-2px);
  }

  /* Effet 3D amélioré pour les cartes de produits */
  .bg-white\/10 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    color: #ffffff !important;
    border: 2px solid #1e293b !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.4) !important;
    border-radius: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 1.08rem;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    perspective: 1000px;
  }

  .bg-white\/10:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%) !important;
    transform: translateY(-12px) translateZ(20px) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.6), 0 0 30px rgba(251, 191, 36, 0.1) !important;
    border-color: #475569 !important;
    z-index: 10;
  }

  /* Animation du logo au survol de la carte */
  .bg-white\/10:hover .matiere-icon {
    transform: scale(1.15) translateZ(30px) rotateY(10deg) !important;
    box-shadow: 0 15px 45px rgba(251, 191, 36, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .bg-white\/10:hover .matiere-icon svg {
    transform: scale(1.2) translateZ(10px) !important;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  /* Animation spéciale pour les icônes des packs */
  #packs .bg-white\/10:hover .matiere-icon {
    transform: scale(1.2) translateZ(40px) rotateY(15deg) !important;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.5) !important;
  }

  #packs .bg-white\/10:hover .matiere-icon svg {
    color: #ffffff !important;
    transform: scale(1.3) translateZ(15px) !important;
  }

  /* Animation d'apparition pour les sections */
  section {
    animation: fadeInUp 1s ease-out;
  }

  section:nth-child(1) { animation-delay: 0.1s; }
  section:nth-child(2) { animation-delay: 0.2s; }
  section:nth-child(3) { animation-delay: 0.3s; }
  section:nth-child(4) { animation-delay: 0.4s; }
  section:nth-child(5) { animation-delay: 0.5s; }

  /* Animation pour le header */
  header {
    animation: fadeInUp 0.6s ease-out;
  }

  /* Animation pour les boutons */
  .buy-btn {
    animation: fadeInScale 0.8s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
  }

  /* Animation pour les titres */
  .text-center {
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
  }

  /* Badge du panier en doré */
  #cart-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #1e3a8a !important;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.9rem;
    position: absolute;
    top: -10px;
    right: -10px;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    border: 2px solid #ffffff;
  }

  /* Animation d'apparition pour tous les éléments - Version simplifiée */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInScale {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Animation d'apparition simplifiée - Suppression de l'animation sur tous les éléments */
  /* * {
    animation: fadeInUp 0.8s ease-out;
  } */

  /* Animation d'apparition pour les sections uniquement */
  section {
    animation: fadeInUp 0.8s ease-out;
  }

  /* Animation pour le header */
  header {
    animation: fadeInUp 0.6s ease-out;
  }

  /* Animation pour les boutons - Supprimée pour simplifier */
  /* .buy-btn {
    animation: fadeInScale 0.8s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
  } */

  /* Animation pour les titres - Supprimée pour simplifier */
  /* .text-center {
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
  } */

  /* Délais d'animation réduits pour les cartes */
  .bg-white\/10:nth-child(1) { animation-delay: 0.1s; }
  .bg-white\/10:nth-child(2) { animation-delay: 0.2s; }
  .bg-white\/10:nth-child(3) { animation-delay: 0.3s; }
  .bg-white\/10:nth-child(4) { animation-delay: 0.4s; }

  /* Animation de chargement améliorée */
  .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
  }

  .loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(251, 191, 36, 0.2);
    border-top: 4px solid #fbbf24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
  }

  .loading-text {
    color: #fbbf24;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
  }

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

  @keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
  }

  /* Animation de saisie de texte simplifiée */
  #checkoutForm input {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #475569;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
  }

  #checkoutForm input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1), 0 4px 12px rgba(15, 23, 42, 0.4);
    outline: none;
    transform: translateY(-1px);
  }

  #checkoutForm input::placeholder {
    color: #64748b;
  }

  /* Titres harmonisés avec le thème */
  .text-center h1 {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
  }

  .text-center h1 span {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 900 !important;
  }

  /* Logo hamburger mobile dans le header, même design que le panier */
  #mobile-hamburger-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 12px;
    background: var(--transparent-10);
    border: var(--border-light);
    border-radius: 0.7em !important;
    padding: 10px 16px;
    color: #fff;
    box-shadow: 0 2px 8px 0 #0002;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
    backdrop-filter: blur(2px);
    cursor: pointer;
    z-index: 50;
  }

  #mobile-hamburger-btn:hover,
  #mobile-hamburger-btn:focus {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1.5px solid #fff;
    box-shadow: 0 4px 16px 0 #0003;
  }

  @media (max-width: 900px) {
    #mobile-hamburger-btn {
      display: flex !important;
      position: static;
    }
  }

  @media (min-width: 901px) {
    #mobile-hamburger-btn {
      display: none !important;
    }
  }

  /* Animation personnalisée pour le badge PLUS POPULAIRE */
  @keyframes popular-pulse {
    0%, 100% {
      transform: rotate(3deg) scale(1);
      box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
      transform: rotate(3deg) scale(1.05);
      box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
  }
  
  .badge-popular {
    animation: popular-pulse 2s infinite;
  }

  /* Styles pour le menu mobile simple */
  .mobile-menu-section {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  .mobile-menu-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.2rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px 12px 0 0;
    text-align: center;
    justify-content: center;
  }

  .mobile-menu-header:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24;
  }

  .mobile-menu-submenu {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    border-radius: 0 0 12px 12px;
  }

  .mobile-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e2e8f0;
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem 0.8rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
    margin: 0.3rem 0;
  }

  .mobile-menu-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #fbbf24;
    transform: translateX(8px);
  }

  /* Badge POPULAIRE mobile - Style différent de celui sur PC */
  .mobile-badge-popular {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    border: 1px solid #10b981;
    animation: mobile-popular-pulse 2s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    margin-left: 0.5rem;
    position: relative;
    overflow: hidden;
  }

  .mobile-badge-popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: mobile-shine 2s ease-in-out infinite;
  }

  @keyframes mobile-popular-pulse {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }
    50% {
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
    }
  }

  @keyframes mobile-shine {
    0% {
      left: -100%;
    }
    50% {
      left: 100%;
    }
    100% {
      left: 100%;
    }
  }

  /* Amélioration du bouton de fermeture mobile */
  #close-mobile-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
  }

  /* Responsive mobile amélioré */
  @media (max-width: 768px) {
    /* Ajustements pour les cartes sur mobile */
    .grid.md\\:grid-cols-3 {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 0 1rem;
    }

    /* Badge POPULAIRE principal sur mobile - CORRECTION */
    .mobile-badge-popular-main {
      position: absolute !important;
      top: 1rem !important;
      right: 1rem !important;
      transform: none !important;
      rotate: 0deg !important;
      background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
      color: #1e3a8a !important;
      border-color: #fbbf24 !important;
      box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4) !important;
      font-size: 0.8rem !important;
      padding: 0.6rem 1rem !important;
      z-index: 30 !important;
      animation: mobile-popular-pulse 2s ease-in-out infinite !important;
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }

    .mobile-badge-popular-main:hover {
      transform: scale(1.05) !important;
      rotate: 0deg !important;
    }

    /* Ajustements pour les titres sur mobile */
    .text-4xl.md\\:text-5xl {
      font-size: 2.5rem !important;
    }

    .text-5xl.md\\:text-7xl {
      font-size: 3rem !important;
    }

    /* Ajustements pour les icônes sur mobile */
    .matiere-icon {
      width: 70px !important;
      height: 70px !important;
    }

    .matiere-icon svg {
      width: 28px !important;
      height: 28px !important;
    }

    /* Ajustements pour les boutons sur mobile */
    .buy-btn {
      padding: 0.75rem 1rem !important;
      font-size: 0.9rem !important;
    }

    /* Ajustements pour les badges économisez sur mobile */
    .inline-flex.items-center.gap-2.bg-blue-900 {
      font-size: 0.8rem !important;
      padding: 0.5rem 0.8rem !important;
    }

    /* Amélioration de l'accessibilité mobile */
    .mobile-menu-header,
    .mobile-menu-item {
      min-height: 44px;
      min-width: 44px;
    }

    .buy-btn {
      min-height: 44px;
    }

    /* Amélioration de la lisibilité */
    .text-gray-300 {
      color: #d1d5db !important;
    }

    .text-gray-400 {
      color: #9ca3af !important;
    }

    /* Amélioration des contrastes */
    .bg-white\\/10 {
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 50%, rgba(51, 65, 85, 0.85) 100%) !important;
    }

    /* Réduction des animations complexes sur mobile */
    .bg-white\\/10:hover {
      transform: translateY(-4px) scale(1.01) !important;
      transition: all 0.2s ease !important;
    }

    .matiere-icon:hover {
      transform: scale(1.05) !important;
      transition: all 0.2s ease !important;
    }

    /* Optimisation des ombres sur mobile */
    .shadow-2xl {
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    }

    /* Réduction des effets de flou sur mobile */
    .backdrop-blur-sm {
      backdrop-filter: blur(5px) !important;
    }

    /* Amélioration du bouton hamburger */
    #mobile-hamburger-btn {
      min-width: 44px;
      min-height: 44px;
    }

    /* Amélioration du menu mobile */
    #mobile-side-menu {
      transition: transform 0.3s ease-in-out;
    }

    #mobile-side-menu[style*="display: block"] {
      transform: translateX(0);
    }

    #mobile-side-menu[style*="display: none"] {
      transform: translateX(-100%);
    }

    /* Amélioration des transitions du menu */
    .mobile-menu-section {
      transition: all 0.2s ease;
    }

    .mobile-menu-item {
      transition: all 0.2s ease;
    }

    /* Amélioration de l'accessibilité */
    .mobile-menu-header:focus,
    .mobile-menu-item:focus {
      outline: 2px solid #fbbf24;
      outline-offset: 2px;
    }

    /* Optimisations générales pour mobile */
    .backdrop-blur-sm {
      backdrop-filter: blur(5px) !important;
    }

    .backdrop-blur-md {
      backdrop-filter: blur(10px) !important;
    }

    .shadow-lg {
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }

    .shadow-xl {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    }

    .shadow-2xl {
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
    }

    .bg-gradient-to-r {
      background: linear-gradient(90deg, rgba(59, 130, 246, 0.8) 0%, rgba(6, 182, 212, 0.8) 100%) !important;
    }

    * {
      transition-duration: 0.2s !important;
    }
  }

  /* Responsive pour très petits écrans */
  @media (max-width: 480px) {
    #mobile-side-menu {
      width: 90vw !important;
      max-width: none !important;
    }

    .mobile-menu-header {
      font-size: 1rem !important;
      padding: 0.8rem 1rem !important;
    }

    .mobile-menu-item {
      font-size: 0.9rem !important;
      padding: 0.7rem 1rem 0.7rem 1.2rem !important;
    }

    .mobile-badge-popular {
      font-size: 0.65rem !important;
      padding: 0.25rem 0.5rem !important;
    }
  }

  /* Styles spécifiques pour iOS */
  .platform-ios {
    /* Amélioration du scroll sur iOS */
    -webkit-overflow-scrolling: touch;
  }

  .platform-ios #mobile-side-menu {
    /* Optimisation du scroll sur iOS */
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
  }

  .platform-ios .badge-popular,
  .platform-ios .mobile-badge-popular-main {
    /* Amélioration des animations sur iOS */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }

  .platform-ios .mobile-menu-item:hover {
    /* Amélioration des transitions sur iOS */
    -webkit-transform: translateX(8px);
  }

  /* Styles spécifiques pour Android */
  .platform-android {
    /* Amélioration du scroll sur Android */
    scroll-behavior: smooth;
  }

  .platform-android #mobile-side-menu {
    /* Optimisation du scroll sur Android */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  }

  .platform-android .badge-popular,
  .platform-android .mobile-badge-popular-main {
    /* Amélioration des animations sur Android */
    will-change: transform;
  }

  .platform-android .mobile-menu-item:hover {
    /* Amélioration des transitions sur Android */
    transform: translateX(8px);
  }

  /* Support des préférences de réduction de mouvement */
  @media (prefers-reduced-motion: reduce) {
    .badge-popular,
    .mobile-badge-popular-main,
    .mobile-badge-popular {
      animation: none !important;
    }

    .bg-white\\/10:hover,
    .mobile-menu-item:hover {
      transform: none !important;
      transition: none !important;
    }

    .mobile-menu-section:hover {
      transform: none !important;
    }
  }

/* Styles pour le menu mobile amélioré */
.mobile-menu-partie {
  margin-bottom: 1.5rem;
}

.mobile-partie-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(251, 191, 36, 0.3);
  text-align: center;
}

.mobile-menu-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.4), transparent);
  margin: 1.5rem 0;
  border-radius: 1px;
}

.mobile-item-text {
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
}

.mobile-menu-item:hover .mobile-item-text {
  color: #fbbf24;
}

/* Ajustement des sections existantes */
.mobile-menu-section {
  margin-bottom: 0.5rem;
}

.mobile-menu-submenu {
  padding-left: 0.5rem;
}

.mobile-menu-item {
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
}

.mobile-menu-item:hover {
  background: rgba(251, 191, 36, 0.1);
  border-left: 2px solid #fbbf24;
}

/* Badge populaire mobile amélioré */
.mobile-badge-popular {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  border: 1px solid #10b981;
  animation: mobile-popular-pulse 2s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
  margin-left: 0.5rem;
  position: relative;
  overflow: hidden;
}

.mobile-badge-popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: mobile-shine 2s ease-in-out infinite;
}

@keyframes mobile-popular-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
  }
}

@keyframes mobile-shine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}