/* Bleu Eau-Rison Landing Page Styles - Vraie Palette */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Bleus - Identité principale */
  --blue-dark: #1a4d6d;
  --blue-medium: #2d6a8f;
  
  /* Or - Premium & Luxe */
  --gold: #c8a961;
  --gold-light: #d4b876;
  
  /* Neutres - Fond & Texte */
  --beige: #f5efe6;
  --cream: #faf8f3;
  --white: #ffffff;
  --dark: #2c3e3f;
  --gray-light: #f8f9fa;
  
  /* Verts - Nature & Durabilité */
  --green-dark: #3d5a3c;
  --green-medium: #5a7a59;
  
  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(26, 77, 109, 0.1);
  --shadow-md: 0 4px 16px rgba(26, 77, 109, 0.15);
  --shadow-lg: 0 8px 24px rgba(26, 77, 109, 0.2);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
  background-color: var(--beige);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--blue-dark);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--blue-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-medium);
}

/* Gradient utilities */
.gradient-bg {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--teal) 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Hero background */
.hero-image {
  background: linear-gradient(rgba(37, 99, 235, 0.2), rgba(8, 145, 178, 0.3)),
              url('https://sspark.genspark.ai/cfimages?u1=3NFBkkJcwBsnnZRXunqq%2BaLVX%2BtOG35FieWZMu67eiPmwsfDbuSsrOpvBL8wx9oVWzlBp%2BOdUnCfBlpBXh01SzfiGKib1xYN0sH6XYeXxMRfQ5WhH6lYyy37cfxtYDU%3D&u2=knT6R%2BQP5QsBR3%2FX&width=1024');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Animations */
.floating {
  animation: float 3s ease-in-out infinite;
}

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

.pulse-animation {
  animation: pulse-subtle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-subtle {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.9; 
    transform: scale(1.02);
  }
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Section divider */
.section-divider {
  background: linear-gradient(90deg, transparent 0%, #1e3a8a 50%, transparent 100%);
  height: 1px;
  width: 100%;
}

/* Custom button styles */
.btn-primary {
  background: var(--blue-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--blue-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: white;
  color: var(--blue-primary);
  transform: translateY(-2px);
}

/* Form styles */
input[type="email"],
input[type="text"] {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

input[type="email"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: #1e3a8a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

/* Typography enhancements */
.text-shadow {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .hero-image {
    background-attachment: scroll;
  }
  
  .text-4xl {
    font-size: 2rem;
  }
  
  .text-5xl {
    font-size: 2.5rem;
  }
  
  .text-7xl {
    font-size: 3rem;
  }
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img:not([src]) {
  opacity: 0;
}

img[src] {
  opacity: 1;
}

/* Backdrop blur support */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Custom emoji sizing */
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

/* Smooth reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.6s ease forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interactive elements */
.interactive:hover {
  cursor: pointer;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}

/* Additional classes for background consistency */
.bg-beige {
  background-color: var(--beige);
}

.bg-cream {
  background-color: var(--cream);
}

.bg-white {
  background-color: var(--white);
}

.text-gold {
  color: var(--gold);
}

.border-gold {
  border-color: var(--gold);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-gold:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
  text-decoration: none;
}

.focus\:ring-gold:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: var(--gold);
  box-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--gold);
}

/* Print styles */
@media print {
  .hero-image {
    background-attachment: scroll;
  }
  
  .floating,
  .pulse-animation {
    animation: none;
  }
}