/* Base */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* Titres */
h1, h2, h3, h4, h5 {
  font-weight: 600;
}

/* Navbar */
.navbar-brand img {
  margin-right: 10px;
}

.navbar .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #145c35;
}

.navbar .nav-link.active {
  color: #198754 !important;
  font-weight: 600;
}

/* Sections */
section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Hero Header ou bandeau */
.hero-header,
.header-gradient {
  background: linear-gradient(to right, #198754, #145c35);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

/* Boutons personnalisés */
.btn-k2f {
  background-color: #198754;
  color: white;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.btn-k2f:hover {
  background-color: #145c35;
  transform: translateY(-2px);
}

/* Images animées */
.img-fluid {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Images uniformes services */
.service-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

/* Footer */
footer {
  background-color: #1b2430;
  color: white;
  font-size: 0.9rem;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Boutons flottants mobile */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 15px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-buttons a {
  background-color: #198754;
  color: white;
  border-radius: 50px;
  padding: 10px 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.floating-buttons a:hover {
  background-color: #145c35;
}

@media (min-width: 768px) {
  .floating-buttons {
    display: none;
  }
}
