/* Servitherm Custom CSS */

/* ===== TRANSITIONS GLOBALES ===== */
/* ===== TRANSITIONS GLOBALES ===== */
/* Suppression du selecteur universel qui cause des bugs */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
}

/* ===== BOUTONS — Effet "lift" au hover ===== */
.btn-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(15, 160, 249, 0.4);
}

/* ===== CARDS — Effet "float" au hover ===== */
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* ===== IMAGES GALERIE — Zoom au hover ===== */
.gallery-item img {
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== LIENS — Underline animé ===== */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0FA0F9;
  /* brand-300 */
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== HEADER STICKY — Glassmorphism ===== */
header {
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== ICÔNES — Pulse sur hover ===== */
.icon-wrapper:hover svg {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

/* ===== FOCUS STATES (accessibilité) ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #0FA0F9;
  outline-offset: 2px;
}