/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand / logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text);
}
.brand-sub {
  font-family: var(--ff-ui);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-top: 2px;
}

/* Nav desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--ff-ui);
  font-size: .88rem;
  color: var(--text-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-ui);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  transition: border-color .2s, color .2s;
}
.header-tel:hover { border-color: var(--accent); color: var(--accent); }
.header-tel svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Dot ouvert/fermé header */
.open-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaa;
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  transition: background .3s;
}
.open-dot.is-open { background: #4CAF50; }
.open-dot.is-closed { background: #e53935; }

/* Footer */
.footer {
  background: var(--text);
  color: var(--on-accent);
  padding: clamp(40px, 6vw, 72px) 0 28px;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.footer-brand .brand-name { color: var(--on-accent); }
.footer-brand .brand-sub { color: rgba(255,255,255,.55); }
.footer-brand .brand-mark { color: var(--accent-2); }
.footer-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-top: 14px;
  max-width: 32ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--ff-ui);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a, .footer-col p, .footer-col li {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 8px;
  display: block;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p, .footer-bottom a {
  font-size: .8rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}
