
/* Typography proposal v1 (premium, low-risk) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&display=swap');

h1, h2, h3,
.font-luxe {
  font-family: "Cormorant Garamond", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  letter-spacing: 0.01em;
}

/* Keep body unchanged for readability */

:root {
  color-scheme: light dark;
}

/* Dark mode variables */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f2ed;
  --text-primary: #374151;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
}

.dark {
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --text-primary: #f3f4f6;
  --text-secondary: #d1d5db;
  --border-color: #374151;
}

:where([class^="ri-"])::before { 
  content: "\f3c2"; 
}

body { 
  font-family: 'Inter', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-video { 
  object-fit: cover; 
  object-position: center; 
}

.newsletter-popup { 
  backdrop-filter: blur(10px); 
}

.chat-bubble { 
  animation: bounce 2s infinite; 
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { 
    transform: translateY(0); 
  }
  40% { 
    transform: translateY(-10px); 
  }
  60% { 
    transform: translateY(-5px); 
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: #8B7355;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6d5a44;
}

/* Smooth transitions */
* {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Dark mode specific styles */
.dark {
  color-scheme: dark;
}

.dark img {
  filter: brightness(0.9);
}

.dark .hero-video {
  filter: brightness(0.8);
}

/* Dark mode scrollbar */
.dark::-webkit-scrollbar-track {
  background: #374151;
}

.dark::-webkit-scrollbar-thumb {
  background: #8B7355;
}

.dark::-webkit-scrollbar-thumb:hover {
  background: #a68864;
}

/* Focus styles */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #8B7355;
  outline-offset: 2px;
}

/* Loading animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Custom button styles */
.btn-primary {
  background-color: #8B7355;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: rgba(139, 115, 85, 0.9);
  transform: translateY(-1px);
}

/* Card hover effects */
.card-hover {
  position: relative;
  overflow: visible;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Halo + liseré dans UNE seule couche (évite le cadre foncé intermédiaire) */
.card-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease;
  box-shadow:
    0 0 0 1.3px rgba(255, 223, 150, 0.94),
    0 0 7px rgba(255, 223, 150, 0.72),
    0 0 16px rgba(255, 223, 150, 0.52),
    0 0 28px rgba(255, 223, 150, 0.36);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
}

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

/* Form styling improvements */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: #8B7355;
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

/* Success message styling */
.success-message {
  background-color: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Dark mode improvements */
.dark .form-input {
  background-color: #374151;
  border-color: #4b5563;
  color: white;
}

.dark .form-input:focus {
  border-color: #8B7355;
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.dark .form-input::placeholder {
  color: #9ca3af;
}

/* Dark mode card shadows */
.dark .card-hover:hover {
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.26);


}

/* Dark mode chat bubble */
.dark .chat-bubble {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive improvements */
@media (max-width: 768px) {
  .hero-text {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 3rem 1rem;
  }
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}
