/* ==========================================================================
   Layout — en-tête, pied de page et barre d'action mobile.
   ========================================================================== */

/* --- En-tête --------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--color-border-soft);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  text-decoration: none;
}

.brand:hover {
  color: var(--color-text);
}

.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-weight: 800;
  font-size: var(--fs-sm);
}

.brand__name {
  font-weight: 600;
  font-size: var(--fs-brand);
  letter-spacing: -0.3px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 28px;
  font-size: var(--fs-xs);
  letter-spacing: 0.4px;
}

.site-nav__link {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--color-accent);
}

/* --- Pied de page ---------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--color-border-soft);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 32px 44px;
  font-size: var(--fs-2xs);
  line-height: 1.7;
  color: var(--color-text-dim);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer__copyright {
  font-size: var(--fs-sm);
  color: var(--color-text);
}

.site-footer__links a {
  color: var(--color-text-muted);
}

.site-footer__legal {
  margin: 0;
  max-width: 760px;
}

/* --- Barre d'action collée en bas (mobile uniquement) ----------------------
   Affichée par css/responsive.css sous 760px. */

.sticky-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(4, 21, 11, 0.96);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-sticky);
}

.sticky-bar__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sticky-bar__label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.sticky-bar__price {
  font-size: var(--fs-base);
  color: var(--color-text);
}

.sticky-bar .btn {
  font-size: var(--fs-sm);
  padding: 14px 22px;
  white-space: nowrap;
}
