/* Variables CSS personnalisées */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --accent-color: #fd7e14;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --success-color: #198754;
  --info-color: #0dcaf0;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --border-radius: 0.5rem;
  --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --transition: all 0.3s ease;
}

/* Styles généraux */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-color);
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Header et navigation */
.header {
  z-index: 1000;
}

.navbar {
  background-color: rgba(33, 37, 41, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.navbar-brand {
  font-size: 1.5rem;
  color: white !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* Section Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1551431007-a5e2f721d050?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.booking-form-container {
  max-width: 400px;
  margin: 0 auto;
}

/* Section Services */
.service-card {
  transition: var(--transition);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(13, 110, 253, 0.1);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: white !important;
}

/* Section Features */
.feature-icon {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

/* Section Témoignages */
.testimonial-card {
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Section Contact */
.contact-icon {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Footer */
footer a:hover {
  color: var(--accent-color) !important;
  text-decoration: underline;
}

/* Widget de réservation sticky */
.booking-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transform: translateY(120%);
  transition: var(--transition);
}

.booking-widget.active {
  transform: translateY(0);
}

.booking-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.booking-widget-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.booking-widget-body {
  padding: 1rem;
  max-height: 70vh;
  overflow-y: auto;
}

/* Boutons flottants */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: white;
}

.whatsapp-btn {
  background-color: #25D366;
}

.booking-btn {
  background-color: var(--primary-color);
}

.phone-btn {
  background-color: var(--success-color);
}

/* Accessibilité */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .booking-widget {
    width: 320px;
  }
}

@media (max-width: 768px) {
  .booking-widget {
    width: 90%;
    right: 5%;
    left: 5%;
  }
  
  .floating-buttons {
    bottom: 10px;
    right: 10px;
  }
  
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .booking-form-container {
    margin-top: 2rem;
  }
}