/* ====Navigation service === */
.service-nav {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 35px;
  margin: 60px auto;
  flex-wrap: wrap;
  text-align: center;
  max-width: 900px;
}
.service-nav img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  margin-bottom: 8px;
}

.service-nav img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 102, 0, 1);
}

.icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: black;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.icon-link:hover span {
  color: #ff6600;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px
}

/* === SECTIONS === */
.service-card {
  background: #111;
  color: #f8f8f8;
  border-radius: 15px;
  margin: 20px 0 80px 0;
  padding: 25px 30px;
  position: relative;
}

.service-card .icon {
  background: #ff6600;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -45px auto 15px;
}

.service-card .icon img {
  width: 65px;
  height: 65px;
}

.service-card h4 {
  color: #ff6600;
  text-align: center;
  margin-bottom: 15px;
}

.service-card p, .service-card ul {
  font-size: 0.95em;
  color: #ddd;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card li::before {
  content: "• ";
  color: #ff6600;
}

/* === LOGOS MARQUES === */
.brands {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  margin-top: 25px;
  margin-left: 40px;
  margin-right: 40px;
  background-color: white;
  border-radius: 20px;
  filter: opacity(0.85);
}

.brands img {
  height: 35px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .service-card {
    padding: 20px;
  }
  
  .brands {
	margin-left: 5px;
	margin-right: 5px;
	gap: 10px;
	margin-top: 20px;
	margin-left: 40px;
	margin-right: 40px;
  }
  
  .brands img {
  height: 20px;
}
}

@media (max-width: 900px) {
  .service-nav {
    gap: 35px;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
  }

  .icon-link {
    width: 45%; /* deux icônes par ligne format tablette*/
  }
}
