/* ==========================================================================
   Styles Sur-Mesure - Témoignage Client One-Page
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --bg-main: #0c0c0e;
  --bg-card: #141417;
  --bg-card-hover: #1a1a1f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-burgundy: rgba(159, 18, 57, 0.4);
  --accent-burgundy: #9f1239;
  --accent-rose: #be123c;
  --accent-glow: rgba(190, 18, 60, 0.15);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: #e4e4e7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Effets de Glow et Gradients */
.burgundy-glow {
  box-shadow: 0 0 50px -10px var(--accent-glow);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 50%, #fda4af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-burgundy-text {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #9f1239 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090b;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-burgundy);
}

/* Timeline vertical line custom styles */
.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(159, 18, 57, 0.5) 15%, 
    rgba(159, 18, 57, 0.8) 50%, 
    rgba(159, 18, 57, 0.5) 85%, 
    transparent 100%);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Glassmorphism Card Effects */
.glass-card {
  background: rgba(20, 20, 23, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: var(--border-burgundy);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(159, 18, 57, 0.25);
  background: rgba(26, 26, 31, 0.85);
}

/* Navigation link active indicator */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-rose);
  transition: width 0.3s ease;
}

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

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay helpers for reveal */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Backdrop blur modal */
.modal-backdrop {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(8px);
}
