html, body {
  height: 100%;
  margin: 0;
}

:root{
  --accent:#45828C;
  --muted:#1a454c;
  --shadow: 0 6px 20px rgba(20,30,40,0.08);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

.wrap{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  height:64px;
  padding:0 28px;
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:space-between;
}

header{
  background:linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.4));
  backdrop-filter: blur(6px);
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(20,30,40,0.04);
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}

.logo img{
  height:50px;
  width:auto;
  flex-shrink:0;
  display:block;
}

nav{flex:1; display:flex; justify-content:center}
.nav-list{display:flex;gap:16px;align-items:center;justify-content:center}
.nav-list a{
  text-decoration:none;
  color:var(--muted);
  padding:8px 10px;
  border-radius:8px;
  font-weight:600;
  font-size:14px;
}
.nav-list a.cta{
  background:var(--accent);
  color:#fff;
  box-shadow:var(--shadow);
}

.font-heading {
  font-family: inherit;
}

.font-body {
  font-family: inherit;
}

.hero-pattern {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(90,177,182,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(90,177,182,0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(26,69,76,0.06) 0%, transparent 40%);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26,69,76,0.12);
}

#tarifs-climatisation .clim-sim input[type="range"].clim-sim-range {
  accent-color: #5ab1b6;
}

.img-placeholder {
  background: linear-gradient(135deg, #b8e6e9 0%, #8dd0d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-fade { animation: fadeUp 0.7s ease forwards; opacity: 0; }
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.25s; }
.anim-d3 { animation-delay: 0.4s; }
.anim-d4 { animation-delay: 0.55s; }

.nav-link {
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #5ab1b6;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}
.category-badge:hover { transform: scale(1.05); }

.scroll-smooth { scroll-behavior: smooth; }

.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }

.service-logo {
  width: 100%;
  height: 100%;
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

/* Kept from the original inline CSS */
body {
  box-sizing: border-box;
}

/* Panneau latéral Inter-fast (z-index au-dessus du header sticky z-index:50) */
.interfast-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
}

.interfast-panel.is-open {
  pointer-events: auto;
  visibility: visible;
}

.interfast-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 69, 76, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.interfast-panel.is-open .interfast-panel__backdrop {
  opacity: 1;
}

.interfast-panel__sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 32px rgba(26, 69, 76, 0.15);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

@media (min-width: 768px) {
  .interfast-panel__sheet {
    width: 50%;
    max-width: 640px;
  }
}

.interfast-panel.is-open .interfast-panel__sheet {
  transform: translateX(0);
}

.interfast-panel__toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(26, 69, 76, 0.12);
  background: #f8fcfc;
}

.interfast-panel__fallback {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.interfast-panel__fallback:hover {
  color: #1a454c;
}

.interfast-panel__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -6px -4px -6px 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.interfast-panel__close:hover {
  background: rgba(26, 69, 76, 0.08);
  color: #1a454c;
}

.interfast-panel__iframe {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
}

