/* Hero global (style commun) */
header.hero {
  background: center/cover no-repeat;
  color: white;
  padding: 100px 0;
  position: relative;
}
header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
header.hero .container {
  position: relative;
  z-index: 1;
}

/* Images spécifiques */
header.hero-accueil {
  background-image: url("images/hero\ bg.jpg");
}
header.hero-deratisation {
  background-image: url("images/rats.jpg");
}
header.hero-desinsectisation {
  background-image: url("images/ins.jpg");
}
header.hero-desinfection {
  background-image: url("images/desin.jpg");
}

/* Cartes services avec hover */
.service-card img {
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Icônes méthodes et pourquoi */
.icon-box {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.icon-box i {
  font-size: 2rem;
  color: #dc3545;
  margin-bottom: 10px;
}

/* Fixed phone button */
#fixed-phone {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #dc3545;
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1050;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}
#fixed-phone:hover {
  background: #b02a37;
  text-decoration: none;
  color: white;
}

/* Formulaire de contact */
form {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.05);
}
form .form-label {
  font-weight: 600;
}
form input,
form textarea {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
form input:focus,
form textarea:focus {
  border-color: #dc3545;
  outline: none;
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}
form button[type="submit"] {
  background-color: #dc3545;
  color: white;
  font-weight: 700;
  padding: 12px 0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
form button[type="submit"]:hover {
  background-color: #b02a37;
}

/* Bandeau urgence */
.bg-danger.text-white.text-center.py-3 p {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}
.bg-danger.text-white.text-center.py-3 a {
  font-weight: 700;
}

/* Footer */
footer {
  font-size: 0.9rem;
}
footer a:hover {
  text-decoration: underline;
}
footer ul.list-inline {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
footer ul.list-inline li {
  margin-right: 15px;
}
footer ul.list-inline li:last-child {
  margin-right: 0;
}
