/* ==========================================================================
   Faseeh — Header flottant + Footer + gabarits
   ========================================================================== */

/* ------------------------------------------------------------------ MAIN */
.fsh-main { padding-top: 104px; }
.home .fsh-main,
.fsh-flush .fsh-main { padding-top: 0; } /* le hero gère son propre espace sous la nav */

/* -------------------------------------------------------------- HEADER */
.fsh-site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter-sm);
  pointer-events: none; /* laisse cliquer autour du pill */
}

.fsh-header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 25px;
  max-width: 100%;
  padding: 12px 12px 12px 23px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-nav);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* Logo */
.fsh-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.fsh-logo--stacked { flex-direction: column; align-items: flex-start; gap: 8px; }
.fsh-logo__word { font-family: var(--font-sans); font-size: 17.8px; font-weight: 400; line-height: 1; white-space: nowrap; }
.fsh-logo .fsh-logo-mark { flex: none; }
.fsh-logo img.custom-logo { height: 40px; width: auto; }

/* Nav */
.fsh-nav { display: flex; align-items: center; gap: 8px; }
.fsh-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0; padding: 0;
  list-style: none;
}
.fsh-nav__list a {
  display: inline-flex;
  padding: 7px 12px;
  color: var(--c-muted);
  font-size: var(--fs-sm);
  line-height: 1;
  transition: color .15s ease;
}
.fsh-nav__list a:hover,
.fsh-nav__list .current-menu-item a { color: var(--c-ink); }
.fsh-nav__cta { margin-left: 4px; }

/* Burger (mobile) */
.fsh-nav__toggle {
  display: none;
  margin-left: auto;
  padding: 6px;
  background: none;
  border: 0;
  color: var(--c-ink);
  cursor: pointer;
  border-radius: 8px;
}

/* -------------------------------------------------------------- FOOTER */
.fsh-site-footer {
  background: var(--c-dark);
  color: #fff;
  padding-top: 80px;
  padding-bottom: 40px;
  margin-top: 0;
}
.fsh-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 56px;
}
.fsh-footer-brand { display: flex; flex-direction: column; gap: 24px; }
.fsh-footer-brand .fsh-logo__word { color: #fff; font-size: 20px; }

.fsh-social { display: flex; gap: 10px; }
.fsh-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: #262626;
  border-radius: 8px;
  color: rgba(255,255,255,.85);
  transition: background .15s ease, color .15s ease;
}
.fsh-social__link:hover { background: var(--c-gold); color: #fff; }

.fsh-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 160px));
  gap: 40px;
}
.fsh-footer-col__title {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 500;
  color: #fff;
  margin-bottom: 14px;
}
.fsh-footer-col__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fsh-footer-col__list a {
  color: rgba(255,255,255,.60);
  font-size: var(--fs-sm);
  transition: color .15s ease;
}
.fsh-footer-col__list a:hover { color: #fff; }

.fsh-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.fsh-footer-copy, .fsh-footer-mail { color: rgba(255,255,255,.55); font-size: var(--fs-sm); }
.fsh-footer-mail:hover { color: #fff; }

/* -------------------------------------------------------------- PAGES */
.fsh-page__body { padding-top: 40px; padding-bottom: 80px; }
.fsh-page__title { font-family: var(--font-display); font-size: var(--fs-h2); margin-bottom: 24px; }
.fsh-entry { margin-bottom: 48px; }

/* -------------------------------------------------------------- RESPONSIVE */
@media (max-width: 860px) {
  .fsh-header-inner {
    width: 100%;
    padding: 12px 14px 12px 18px;
    gap: 12px;
  }
  .fsh-logo--stacked { flex-direction: row; gap: 8px; }
  .fsh-logo--stacked .fsh-logo__word { font-size: 16px; }
  .fsh-nav__toggle { display: inline-flex; }

  .fsh-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(255,255,255,.97);
    border: 1px solid var(--c-line-2);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-nav);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .fsh-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .fsh-nav__list { flex-direction: column; align-items: stretch; }
  .fsh-nav__list a { padding: 10px 12px; font-size: 15px; }
  .fsh-nav__cta { margin: 6px 0 0; justify-content: center; }

  .fsh-main { padding-top: 92px; }

  .fsh-footer-inner { flex-direction: column; gap: 40px; }
  .fsh-footer-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 520px) {
  .fsh-footer-cols { grid-template-columns: 1fr 1fr; }
  .fsh-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
