/* ==========================================
   AU FIL DE L'EAU - Custom CSS
   ========================================== */

/* Variables CSS */
:root {
  --primary: #0369a1;
  --primary-dark: #075985;
  --primary-light: #e0f2fe;
  --secondary: #059669;
  --accent: #f59e0b;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
}

/* Animation bounce pour scroll indicator */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

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

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

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

/* Animation slide-in pour le menu mobile */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slide-down {
  animation: slideDown 0.3s ease-out forwards;
}

/* Stagger animation pour les cards */
[data-reveal]:nth-child(1) { transition-delay: 0ms; }
[data-reveal]:nth-child(2) { transition-delay: 100ms; }
[data-reveal]:nth-child(3) { transition-delay: 200ms; }
[data-reveal]:nth-child(4) { transition-delay: 300ms; }

/* Focus visible pour accessibilité */
:focus-visible {
  outline: 2px solid #0369a1;
  outline-offset: 2px;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Carousel transitions */
.carousel-slide {
  transition: opacity 0.7s ease-in-out;
}

/* Gradient overlay pour hero */
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* Card hover effect */
.card-service {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Logo gradient text */
.logo-gradient {
  background: linear-gradient(135deg, #0369a1 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button pulse animation */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(3, 105, 161, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(3, 105, 161, 0); }
}

.btn-pulse {
  animation: pulse 2s infinite;
}

/* Table styling */
.table-pricing {
  border-collapse: separate;
  border-spacing: 0;
}

.table-pricing th,
.table-pricing td {
  border-bottom: 1px solid #e2e8f0;
}

.table-pricing tr:last-child td {
  border-bottom: none;
}

/* Form input focus animation */
.form-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: #0369a1;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

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

/* Image placeholder gradient */
.img-placeholder {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
}

/* Selection color */
::selection {
  background-color: #0369a1;
  color: white;
}

/* Print styles */
@media print {
  header, footer, .no-print {
    display: none !important;
  }

  body {
    font-size: 12pt;
  }
}
