/* ================================
   PEERLAB - PALETTE OFFICIELLE
   11 couleurs uniquement autorisées
   ================================ */

:root {
  /* COULEURS PRINCIPALES PEERLAB */
  --pl-primary: #98d29a;           /* Vert principal PeerLab */
  --pl-primary-hover: #8ecb80;     /* Vert hover */
  --pl-primary-light: #b8e0ba;     /* Vert clair */
  --pl-primary-dark: #6ba56d;      /* Vert foncé */
  
  /* COULEURS DE FOND */
  --pl-bg-main: #f3ede2;           /* Fond principal crème */
  --pl-white: #ffffff;             /* Blanc pur */
  
  /* COULEURS DE TEXTE */
  --pl-text-primary: #050316;      /* Texte principal foncé */
  --pl-text-secondary: #4b5563;    /* Texte secondaire gris */
  
  /* COULEURS DE BORDURE */
  --pl-border-gray: #e5e7eb;       /* Bordures claires */
  --pl-border-dark: #d1d5db;       /* Bordures foncées */
  
  /* ACCENT ROUGE (si nécessaire) */
  --pl-accent: #ef4444;            /* Rouge pour urgence/erreurs */
  
  /* TRANSPARENCES OFFICIELLES */
  --pl-primary-alpha-10: rgba(152, 210, 154, 0.1);
  --pl-primary-alpha-20: rgba(152, 210, 154, 0.2);
  --pl-white-alpha-10: rgba(255, 255, 255, 0.1);
  --pl-white-alpha-20: rgba(255, 255, 255, 0.2);
  --pl-white-alpha-30: rgba(255, 255, 255, 0.3);
  
  /* TIMING UNIFIÉ */
  --pl-transition-fast: 0.15s ease;
  --pl-transition-normal: 0.2s ease;
  --pl-transition-slow: 0.3s ease;
  
  /* COMPATIBILITÉ AVEC ANCIENNES VARIABLES */
  --primary: var(--pl-primary);
  --primary-light: var(--pl-primary-light);
  --primary-hover: var(--pl-primary-hover);
  --primary-dark: var(--pl-primary-dark);
  --background: var(--pl-bg-main);
  --surface: var(--pl-white);
  --text-primary: var(--pl-text-primary);
  --text-secondary: var(--pl-text-secondary);
  --text-muted: var(--pl-text-secondary);
  --text-light: var(--pl-border-gray);
  --secondary: var(--pl-text-secondary);
  --accent: var(--pl-accent);
  --primary-alpha-10: var(--pl-primary-alpha-10);
  --primary-alpha-20: var(--pl-primary-alpha-20);
}

/* ================================
   CLASSES UTILITAIRES PEERLAB
   ================================ */

/* Backgrounds */
.pl-bg-main { background-color: var(--pl-bg-main); }
.pl-bg-white { background-color: var(--pl-white); }
.pl-bg-primary { background-color: var(--pl-primary); }
.pl-bg-primary-light { background-color: var(--pl-primary-light); }
.pl-bg-primary-dark { background-color: var(--pl-primary-dark); }

/* Textes */
.pl-text-primary { color: var(--pl-text-primary); }
.pl-text-secondary { color: var(--pl-text-secondary); }
.pl-text-white { color: var(--pl-white); }

/* Bordures */
.pl-border { border-color: var(--pl-border-gray); }
.pl-border-dark { border-color: var(--pl-border-dark); }
.pl-border-primary { border-color: var(--pl-primary); }

/* ================================
   SCROLL PROGRESS BAR - STYLE PEERLAB
   ================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pl-primary-light) 0%, var(--pl-primary) 100%);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--pl-primary-alpha-20);
}

/* Animation pour apparition progressive */
.scroll-progress.visible {
    opacity: 1;
}

/* ================================
   LOGO GRADIENT - STRIPE STYLE
   ================================ */

/* Logo Gradient - Style PeerLab Officiel */
.logo, header .font-semibold {
    font-weight: 800 !important;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--pl-primary-dark) 0%, var(--pl-primary) 50%, var(--pl-primary-hover) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    transition: all var(--pl-transition-slow);
}

.logo:hover, header .font-semibold:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px var(--pl-primary-alpha-20));
}

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

/* ================================
   HOVER EFFECTS MODERNES - GITHUB STYLE
   ================================ */

/* Hover Effects Modernes - GitHub Style */
.btn, .btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px var(--primary-alpha-20);
}

.btn:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effet ripple au clic */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    pointer-events: none;
}

.btn:active::before {
    width: 200px;
    height: 200px;
}

/* Navigation links hover */
nav a:not(.pl-btn-primary) {
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 1.125rem;
    transition: all var(--pl-transition-normal);
}

nav a:not(.pl-btn-primary):hover {
    color: var(--pl-primary-dark);
    transform: translateY(-1px);
}

nav a:not(.pl-btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--pl-primary-dark);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

nav a:not(.pl-btn-primary):hover::after {
    width: 100%;
}

/* Animation simple pour le bouton "Accéder à l'application" dans le header */
nav .pl-btn-primary {
    transition: all var(--pl-transition-fast);
}

nav .pl-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--pl-primary-alpha-20);
}

/* ================================
   BOUTONS OFFICIELS PEERLAB
   ================================ */

.pl-btn-primary {
  background-color: var(--pl-primary);
  color: var(--pl-text-primary);
  border: 3px solid var(--pl-primary);
  padding: 1.125rem 2.25rem;
  border-radius: 0.75rem;
  font-size: 1.375rem;
  font-weight: 600;
  transition: all var(--pl-transition-normal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 56px;
}

.pl-btn-primary:hover {
  background-color: var(--pl-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--pl-primary-alpha-20);
}

.pl-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px var(--pl-primary-alpha-10);
}

.pl-btn-secondary {
  background-color: transparent;
  color: var(--pl-text-primary);
  border: 1px solid var(--pl-border-gray);
  padding: 1.125rem 2.25rem;
  border-radius: 0.75rem;
  font-size: 1.375rem;
  font-weight: 600;
  transition: all var(--pl-transition-normal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 56px;
}

.pl-btn-secondary:hover {
  background-color: var(--pl-primary-light);
  border-color: var(--pl-primary);
  transform: translateY(-1px);
}

.pl-btn-secondary:active {
  transform: translateY(0);
  background-color: var(--pl-primary);
}

.pl-btn-ghost {
  background-color: transparent;
  color: var(--pl-white);
  border: 1px solid var(--pl-white);
  padding: 1.125rem 2.25rem;
  border-radius: 0.75rem;
  font-size: 1.375rem;
  font-weight: 600;
  transition: all var(--pl-transition-normal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 56px;
}

.pl-btn-ghost:hover {
  background-color: var(--pl-white);
  color: var(--pl-text-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--pl-white-alpha-30);
}

.pl-btn-ghost:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px var(--pl-white-alpha-20);
}

.pl-btn-outline-dark {
  background-color: transparent;
  color: var(--pl-text-primary);
  border: 3px solid var(--pl-text-primary);
  padding: 1.125rem 2.25rem;
  border-radius: 12px;
  font-size: 1.375rem;
  font-weight: 700;
  transition: background-color var(--pl-transition-normal), color var(--pl-transition-normal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 56px;
}

.pl-btn-outline-dark:hover {
  background-color: var(--pl-text-primary);
  color: var(--pl-bg-main);
  transform: translateY(-1px);
}

.pl-btn-outline-dark:active {
  transform: translateY(0);
}

.pl-btn-outline-dark:focus,
.pl-btn-outline-dark:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--pl-primary-alpha-20);
}

.pl-btn-outline-dark:focus:not(:focus-visible) {
  box-shadow: none;
}

.pl-btn-outline-light {
  background-color: transparent;
  color: var(--pl-white);
  border: 3px solid var(--pl-white);
  padding: 1.125rem 2.25rem;
  border-radius: 12px;
  font-size: 1.375rem;
  font-weight: 700;
  transition: background-color var(--pl-transition-normal), color var(--pl-transition-normal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 56px;
}

.pl-btn-outline-light:hover {
  background-color: var(--pl-white);
  color: var(--pl-text-primary);
  transform: translateY(-1px);
}

.pl-btn-outline-light:active {
  transform: translateY(0);
}

.pl-btn-outline-light:focus,
.pl-btn-outline-light:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--pl-white-alpha-30);
}

.pl-btn-outline-light:focus:not(:focus-visible) {
  box-shadow: none;
}

/* Support effet magnétique pour le nouveau bouton */
.pl-btn-outline-dark.btn-magnetic {
  transition: all var(--pl-transition-normal), transform var(--pl-transition-fast);
}

.pl-btn-outline-dark.btn-magnetic:hover {
  background-color: var(--pl-text-primary);
  color: var(--pl-white);
  transform: translateY(-2px) scale(1.02);
}

/* Compatibilité avec les anciennes classes btn */
.btn, .btn-primary {
  background-color: var(--pl-primary);
  color: var(--pl-text-primary);
  border: 1px solid var(--pl-primary-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1.375rem;
  font-weight: 600;
  transition: all var(--pl-transition-normal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn:hover, .btn-primary:hover {
  background-color: var(--pl-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--pl-primary-alpha-20);
}

.btn-secondary {
  background-color: transparent;
  color: var(--pl-text-primary);
  border: 1px solid var(--pl-border-gray);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1.375rem;
  font-weight: 600;
  transition: all var(--pl-transition-normal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--pl-primary-light);
  border-color: var(--pl-primary);
  transform: translateY(-1px);
}

/* États disabled pour compatibilité */
.btn:disabled, .btn-disabled,
.pl-btn-outline-dark:disabled {
  background-color: var(--pl-border-gray) !important;
  color: var(--pl-text-secondary) !important;
  border-color: var(--pl-border-gray) !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  transform: none !important;
  box-shadow: none !important;
}

/* Variantes de taille */
.pl-btn-sm,
.pl-btn-outline-dark.pl-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 1.125rem;
  min-height: 36px;
}

.pl-btn-lg,
.pl-btn-primary.pl-btn-lg,
.pl-btn-outline-dark.pl-btn-lg,
.pl-btn-outline-light.pl-btn-lg {
  padding: 1.375rem 2.75rem;
  font-size: 1.375rem;
  min-height: 64px;
}

.pl-btn-full,
.pl-btn-outline-dark.pl-btn-full {
  width: 100%;
}

/* ================================
   BADGE LIVE STYLE PEERLAB
   ================================ */

/* Badge LIVE avec couleurs PeerLab */
.animate-bounce, [class*="bg-red"], .live-badge {
    background: linear-gradient(135deg, var(--pl-accent) 0%, var(--pl-accent) 100%) !important;
    color: var(--pl-white);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    animation: livePulse 2s infinite ease-in-out;
    position: relative;
    overflow: hidden;
}

@keyframes livePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
    }
}

/* Effet de brillance qui traverse */
.live-badge::before, .animate-bounce::before, [class*="bg-red"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ================================
   PARALLAX SUBTIL - APPLE STYLE
   ================================ */

/* Hero section avec parallax */
.hero-parallax {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Éléments avec effet parallax */
.parallax-slow {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.parallax-medium {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.parallax-fast {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* ================================
   MAGNETIC CURSOR EFFECTS - FRAMER STYLE
   ================================ */

/* Boutons avec effet magnétique */
.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.btn-magnetic:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Curseur normal sur les éléments magnétiques */
.btn-magnetic {
    cursor: pointer;
}


/* ================================
   GLASSMORPHISM CARDS - iOS STYLE
   ================================ */

/* Cards glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--primary-alpha-20);
}

/* Navigation header glassmorphism */
header.glass {
    background: rgba(243, 237, 226, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pricing cards glassmorphism */
.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-alpha-20);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 25px 50px var(--primary-alpha-10);
}

/* Testimonial cards avec glassmorphism */
.testimonial-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
}

/* ================================
   SMOOTH PAGE TRANSITIONS - VERCEL STYLE
   ================================ */

/* Page transition overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

.page-transition-loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: pageTransitionSpin 1s linear infinite;
}

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

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Prevent flash of unstyled content */
.page-loading {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.page-loaded {
    opacity: 1;
}

/* ================================
   CTA BUTTON VARIATIONS - HIGH CONVERSION
   ================================ */

/* Variation commune pour tous les CTA */
.cta-variation {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border: none;
    text-decoration: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    padding: 16px 24px;
    min-width: 320px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px var(--primary-alpha-20);
    animation: gentlePulse 3s infinite;
}

.cta-variation:hover {
    background: linear-gradient(135deg, var(--pl-primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 15px 35px var(--primary-alpha-20);
    transform: translateY(-3px) scale(1.03);
    animation: none;
}

/* Variation 1: Bénéfice (Stripe style) */
.cta-benefit {
    background: linear-gradient(135deg, var(--pl-text-primary) 0%, var(--pl-text-secondary) 100%);
    border: 2px solid var(--primary-light);
}

.cta-benefit:hover {
    background: linear-gradient(135deg, var(--pl-text-secondary) 0%, var(--pl-text-secondary) 100%);
    border-color: var(--primary-light);
    box-shadow: 0 15px 35px var(--primary-alpha-20);
}

.cta-benefit .cta-main-text {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 2px;
}

.cta-benefit .cta-sub-text {
    font-size: 26px;
    opacity: 0.8;
    font-weight: 400;
}

/* Variation 2: Curiosité (Intercom style) */
.cta-curiosity {
    background: linear-gradient(135deg, var(--primary) 0%, var(--pl-primary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-curiosity:hover {
    background: linear-gradient(135deg, var(--pl-primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 15px 35px var(--primary-alpha-20);
}

.cta-curiosity::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmerCTA 2s infinite;
}

@keyframes shimmerCTA {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Variation 3: Social Proof (Calendly style) */
.cta-social {
    background: linear-gradient(135deg, var(--pl-accent) 0%, var(--pl-accent) 100%);
    border: none;
}

.cta-social:hover {
    background: linear-gradient(135deg, var(--pl-accent) 0%, var(--pl-accent) 100%);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
}

/* Badge LIVE amélioré pour toutes variations */
.cta-live-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, var(--pl-accent) 0%, var(--pl-accent) 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    animation: liveBounce 2s infinite;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

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

/* Sous-texte explicatif */
.cta-explanation {
    margin-top: 8px;
    font-size: 24px;
    color: var(--pl-text-secondary);
    text-align: center;
    max-width: 300px;
}

/* Context bubble */
.cta-context-bubble {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 22px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cta-context-bubble::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.8);
}

.cta-variation:hover .cta-context-bubble {
    opacity: 1;
    visibility: visible;
    top: -45px;
}

/* Responsive */
@media (max-width: 640px) {
    .cta-variation {
        min-width: 280px;
        padding: 14px 20px;
        font-size: 23px;
    }
    
    .cta-context-bubble {
        position: static;
        transform: none;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, 0.1);
        color: var(--pl-text-secondary);
    }
    
    .cta-context-bubble::after {
        display: none;
    }
}

/* ================================
   NAVIGATION FIXE
   ================================ */

header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero {
    padding-top: 80px; /* Compensation pour le header fixe */
}

/* Menu mobile */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--pl-border-gray);
        padding: 1rem;
        display: none;
        flex-direction: column;
        gap: 1rem;
        z-index: 40;
    }
    
    .mobile-menu.active {
        display: flex;
    }
}

/* ================================
   STYLES POUR LA NOUVELLE CALCULETTE
   ================================ */

/* Slider personnalisé */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: var(--pl-border-gray);
    border-radius: 6px;
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

input[type="range"]:hover {
    opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

/* Animation d'entrée pour les cartes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slideInUp {
    animation: slideInUp 0.5s ease-out;
}

/* ================================
   ANIMATIONS PERSONNALISÉES
   ================================ */

/* Animation scroll infini logos */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 20s linear infinite;
}

/* Animation numéros compteurs */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animation apparition progressive */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation fade in simple */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation brillance boutons */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Animation rotation douce */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================================
   HERO SECTION STYLES
   ================================ */

.hero {
    position: relative;
    background: var(--background);
}

.badge-flottant {
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.hero h1 {
    animation: fadeIn 1s ease-out;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.hero p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Bouton hero spécial - style Apple épuré */
.btn-hero {
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero .sous-titre {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.cta-group {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.video-demo {
    animation: slideInUp 0.8s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.video-demo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

/* ================================
   BOUTONS STYLE APPLE
   ================================ */

.btn {
    position: relative;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 8px var(--primary-alpha-20);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--pl-primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-alpha-20);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--primary-alpha-20);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary:hover {
    background: var(--text);
    color: var(--background);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-accent {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: white;
    box-shadow: 0 2px 8px var(--primary-alpha-20);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-accent:hover {
    background: var(--pl-primary-hover);
    border-color: var(--pl-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--primary-alpha-20);
}

.btn-accent:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--primary-alpha-20);
}

/* ================================
   CARTES ET CONTENEURS
   ================================ */

.stat-card, .testimonial-card, .option-card {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover, .testimonial-card:hover, .option-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(45deg, transparent, var(--primary), transparent);
    -webkit-mask: linear-gradient(var(--pl-white) 0 0) content-box, linear-gradient(var(--pl-white) 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

/* ================================
   TIMELINE MÉMOIRE INTERACTIVE
   ================================ */

.timeline-point {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-point .point {
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.timeline-point .point::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.timeline-point:hover .point::after {
    opacity: 1;
    transform: scale(1);
}

.timeline-point .detail {
    animation: fadeIn 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-point .detail::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: black;
}

/* ================================
   CALCULATEUR ROI
   ================================ */

.calculator-container {
    position: relative;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(243, 237, 226, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
}

/* Styles améliorés pour les cartes de résultats */
.results-section .result-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0);
}

.results-section .result-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.5s;
    transform: scale(0);
}

.results-section .result-card:hover::before {
    transform: scale(4);
}

.results-section .result-card:hover {
    transform: translateY(-4px);
}

/* Style pour le highlight principal */
.result-highlight {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.result-highlight::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--pl-border-gray);
    outline: none;
    transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px var(--primary-alpha-20);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 20px var(--primary-alpha-20);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px var(--primary-alpha-20);
}

.roi-bar {
    position: relative;
    overflow: hidden;
}

.roi-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.1) 10px,
        transparent 10px,
        transparent 20px
    );
    animation: scroll 1s linear infinite;
}

/* ================================
   FAQ SYSTÈME
   ================================ */

.faq-question {
    position: relative;
    transition: all 0.3s;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s;
}

.faq-question:hover::before {
    height: 60%;
}

.faq-answer {
    animation: slideInUp 0.3s ease-out;
    position: relative;
}

.toggle-icon {
    transition: transform 0.3s;
    display: inline-block;
}

/* ================================
   TESTIMONIALS
   ================================ */

.testimonial-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.avatar {
    background: linear-gradient(135deg, var(--pl-primary) 0%, var(--pl-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.avatar::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

/* ================================
   SECTION TEST IA
   ================================ */

.gradient-background {
    position: relative;
    overflow: hidden;
}

.gradient-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, var(--primary) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, var(--secondary) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, var(--accent) 0%, transparent 50%);
    opacity: 0.3;
    animation: rotate 20s linear infinite reverse;
}

.test-card {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.phone-icon {
    filter: drop-shadow(0 0 20px var(--primary-alpha-20));
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    
    .container {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 767px) {
    /* Typographie mobile */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .timeline-horizontal .step-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    /* FAQ mobile */
    .tabs-header {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    
    .tab-button {
        flex-shrink: 0;
    }
    
    /* Hero stats mobile */
    .impact-stats {
        gap: 1rem;
    }
    
    .stat-hero {
        padding: 1.5rem;
    }
    
    .stat-hero .text-5xl {
        font-size: 2.5rem;
    }
    
    /* Visual proof mobile */
    .visual-proof {
        padding: 1.5rem;
    }
    
    .visual-proof h3 {
        font-size: 1.5rem;
    }
    
    .speech-bubble {
        padding: 1rem;
    }
    
    .feature-pill {
        padding: 0.75rem 1.5rem;
        font-size: 1.125rem;
    }
}

/* ================================
   OPTIMISATIONS PERFORMANCE
   ================================ */

/* Utiliser will-change avec parcimonie */
.btn:hover,
.stat-card:hover,
.timeline-point:hover {
    will-change: transform;
}

/* Optimiser les animations pour 60fps */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Préférence reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ================================
   DARK MODE (OPTIONNEL)
   ================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --background: var(--pl-text-primary);
        --text: var(--pl-white);
        /* Adapter les autres couleurs si nécessaire */
    }
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
    .sticky-test-bar,
    .video-demo,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* ================================
   ÉTATS FOCUS ACCESSIBILITÉ
   ================================ */

:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus,
input:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--text);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ================================
   FORMULAIRES
   ================================ */

input[type="text"],
input[type="email"],
input[type="number"] {
    border: 2px solid var(--secondary);
    transition: all 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-alpha-10);
}

/* Validation states */
input:valid {
    border-color: var(--primary);
}

input:invalid {
    border-color: var(--pl-accent);
}

/* ================================
   LOADING STATES
   ================================ */

.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary);
    border-right-color: transparent;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

/* ================================
   MODAL CALENDRIER
   ================================ */

#calendar-modal {
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

#calendar-modal .bg-white {
    animation: slideInUp 0.3s ease-out;
}

#calendar-modal button {
    transition: all 0.2s;
}

#calendar-modal button:hover {
    transform: scale(1.1);
}

/* Style pour l'embed Lemcal */
.lemcal-embed-booking-calendar {
    min-height: 600px;
}

/* Message d'impact calculateur */
.calculator .bg-yellow-50 {
    border: 2px solid var(--pl-primary);
    background: linear-gradient(135deg, var(--pl-primary-light) 0%, var(--pl-primary-light) 100%);
}

/* Responsive pour la calculatrice */
@media (max-width: 767px) {
    .results-section .grid-cols-2 {
        gap: 0.75rem;
    }
    
    .results-section .result-card {
        padding: 1rem;
    }
    
    .results-section .result-card p:first-child {
        font-size: 0.875rem;
    }
    
    .results-section .text-2xl {
        font-size: 1.5rem;
    }
    
    .result-highlight {
        padding: 1.5rem;
    }
    
    .result-highlight .text-4xl {
        font-size: 2.5rem;
    }
}

/* Responsive pour les forfaits */
@media (max-width: 1023px) {
    .forfait-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .forfait-card {
        margin-bottom: 1.5rem;
    }
    
    .forfait-card:last-child {
        margin-bottom: 0;
    }
    
    /* Ajustements texte mobile */
    .forfait-card h3 {
        font-size: 1.25rem;
    }
    
    .forfait-card .text-3xl {
        font-size: 1.875rem;
    }
    
    .forfait-card ul {
        font-size: 1.125rem;
    }
}

/* ================================
   HERO SECTION STATS
   ================================ */

.impact-stats {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.stat-hero {
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.stat-hero:nth-child(1) { animation-delay: 0.2s; }
.stat-hero:nth-child(2) { animation-delay: 0.3s; }
.stat-hero:nth-child(3) { animation-delay: 0.4s; }

.stat-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 70%);
    transform: rotate(45deg);
}

/* Visual proof section */
.visual-proof {
    animation: fadeIn 0.8s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.visual-proof::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%239C92AC" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: -1;
}

.speech-bubble {
    position: relative;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.avatar-client {
    animation: pulse 2s infinite;
}

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

.feature-pill {
    animation: slideInUp 0.5s ease-out;
    animation-fill-mode: both;
    transition: all 0.3s;
}

.feature-pill:nth-child(1) { animation-delay: 0.7s; }
.feature-pill:nth-child(2) { animation-delay: 0.8s; }
.feature-pill:nth-child(3) { animation-delay: 0.9s; }

.feature-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* ================================
   HERO SECTION ENHANCED STYLES
   ================================ */

.hero h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Amélioration des cartes avant/après */
.hero .bg-red-50 {
    position: relative;
    transition: all 0.3s ease;
}

.hero .bg-green-50 {
    position: relative;
    transition: all 0.3s ease;
}

.hero .bg-green-50::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.3;
}

/* Shadow améliorée pour le CTA principal */
.shadow-3xl {
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

/* Animation bounce personnalisée pour le badge gratuit */
@keyframes customBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: customBounce 2s ease-in-out infinite;
}

/* Style amélioré pour les badges de label AVANT/APRÈS */
.hero .absolute.-top-3 {
    z-index: 10;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* Hover effects pour les cartes avant/après */
.hero .bg-red-50:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.1);
}

.hero .bg-green-50:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.15);
}

/* Style pour le gradient text */
.text-transparent {
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

/* Amélioration responsive hero minimaliste */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .hero h1 br {
        display: block;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   FORFAITS / PRICING CARDS
   ================================ */

.forfait-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.forfait-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.forfait-card > div:first-child {
    flex-shrink: 0;
}

.forfait-card ul {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.forfait-card button {
    margin-top: auto;
}

/* Badge "Meilleure valeur" avec animation */
.forfait-card .absolute.-top-3 {
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px var(--primary-alpha-20);
}

/* Effet de brillance sur la carte Business */
.forfait-card.border-2.border-\\[var\\(--primary\\)\\]::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 1rem;
    opacity: 0.8;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

/* ================================
   FOOTER
   ================================ */

footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scroll 3s linear infinite;
}