@charset "UTF-8";

/*
  nav-unified.css — Reiki Perche
  Styles du menu unifié (header + overlay), extraits d'articles.css.
  À inclure sur TOUTES les pages (index.php, ressources.php, medit.php,
  ressourcesII.php, ressourcesIV.php...) en plus de main.css existant.
  Ne contient volontairement PAS le reset global (*,*::before,*::after)
  ni les styles de corps d'article, pour ne rien casser du reste du site.
*/

:root {
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Jost', system-ui, sans-serif;

  --gold:        #b8965a;
  --gold-light:  #d4b483;
  --gold-border: rgba(145, 105, 0, .75);

  --violet-deep: #0e0626;
  --stone-mid:   #c8bfb0;
  --lilac-accent:#b39dff;

  --bg-image: url('../../images/bg1.jpg');
}

/* ════════════════════════════════════════
   BOUTON MENU FLOTTANT (pas de bandeau plein)
═══════════════════════════════════════ */
.menu-fab {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 6, 38, .75) !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0 !important;
  margin: 0;
  color: var(--stone-mid) !important;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
  line-height: 1;
}
.menu-fab:hover {
  border-color: var(--gold) !important;
  color: var(--gold-light) !important;
  background-color: rgba(14, 6, 38, .9) !important;
}

/* ════════════════════════════════════════
   OVERLAY NAV
═══════════════════════════════════════ */
.art-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
}
.art-overlay::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(14, 6, 38, .84);
  z-index: 0;
}
.art-overlay.open { display: block; }

.art-overlay-inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 100vh;
  padding: 1.6rem 1.5rem 3rem;
  text-align: center;
}

.art-overlay-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
}
.art-overlay-close button {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1 !important;
  padding: .2rem .4rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: rgba(255,255,255,.5) !important;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color .2s;
}
.art-overlay-close button:hover { color: var(--gold-light) !important; }

.art-overlay-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  border-bottom: none !important;
  margin-bottom: 1rem;
}
.art-overlay-logo img  { width: 2.2rem; opacity: .9; }
.art-overlay-logo span {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: .06em;
}

.art-nav-tree { width: 100%; }

.art-nav-toggle {
  font-family: var(--sans) !important;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold) !important;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  height: auto !important;
  padding: .5rem 0 !important;
  margin: 0;
  display: block;
  text-align: center;
  cursor: pointer;
  line-height: 1.2 !important;
  transition: color .25s;
}
.art-nav-toggle:hover,
.art-nav-toggle.open { color: var(--gold-light) !important; }

.art-nav-sub {
  display: none;
  width: 100%;
}
.art-nav-sub.open { display: block; }

.art-nav-button {
  display: inline-block;
  margin: .3rem 0 .2rem;
  padding: .55rem 1.8rem;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--violet-deep);
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.art-nav-button:hover,
.art-nav-button.current {
  background: var(--gold);
  color: var(--violet-deep);
  border-color: var(--gold);
}

.art-nav-articles {
  list-style: none;
  width: 100%;
  margin: .5rem 0 0;
  padding-left: 0;
  text-align: center;
}
.art-nav-articles li { margin-bottom: .1rem; padding-left: 0; text-align: center; width: 100%; }
.art-nav-articles a {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  letter-spacing: .02em;
  display: block;
  width: 100%;
  text-align: center;
  padding: .03rem 0;
  line-height: 1.2;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.art-nav-articles a:hover,
.art-nav-articles a.current {
  color: var(--gold-light);
  border-bottom-color: var(--gold-border);
}

.art-nav-sep {
  width: 100%;
  text-align: center;
  color: var(--lilac-accent);
  font-size: 1.05rem;
  letter-spacing: .3em;
  opacity: .85;
  margin: .2rem 0 .7rem;
}
.art-nav-sep::before { content: '◆'; }
.art-nav-sep--final { margin-top: 1.5rem; }

.art-nav-home {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  border-bottom: none !important;
  transition: color .2s;
}
.art-nav-home:hover { color: var(--gold-light); }

.art-cta {
  display: inline-block;
  margin: .3rem 0 .9rem;
  padding: .55rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--violet-deep);
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.art-cta:hover {
  background: var(--gold);
  color: var(--violet-deep);
  border-color: var(--gold);
}

/* ════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .menu-fab { width: 2.3rem; height: 2.3rem; font-size: 1rem; }
}
