/* FrancGestion Demo Theme — main.css */

/* ── Variables ── */
:root {
  --bg:       #0d0a05;
  --bg2:      #151009;
  --or:       #c9a84c;
  --or-light: #e8c96a;
  --texte:    #f0e8d8;
  --texte2:   #b0a090;
  --bordure:  rgba(201,168,76,.2);
  --font-titre: 'Cinzel', Georgia, serif;
  --font-corps: 'Crimson Text', Georgia, serif;
  --rayon:    8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--texte);
  font-family: var(--font-corps);
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--or); text-decoration: none; }
a:hover { color: var(--or-light); }

/* ── Header ── */
.fgd-header {
  background: rgba(10,8,3,.97);
  border-bottom: 1px solid var(--bordure);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.fgd-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.fgd-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.fgd-logo-hex {
  font-size: 28px;
  color: var(--or);
  line-height: 1;
}
.fgd-logo-name {
  display: block;
  font-family: var(--font-titre);
  font-size: 15px;
  color: var(--texte);
  letter-spacing: .04em;
  line-height: 1.2;
}
.fgd-logo-sub {
  display: block;
  font-size: 11px;
  color: var(--texte2);
  letter-spacing: .05em;
}
.fgd-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.fgd-nav-link {
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-titre);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--texte2);
  transition: all .2s;
}
.fgd-nav-link:hover, .fgd-nav-link.fgd-active {
  color: var(--or);
  background: rgba(201,168,76,.08);
}
.fgd-cta {
  flex-shrink: 0;
  background: var(--or);
  color: #0d0a05;
  padding: 8px 18px;
  border-radius: 4px;
  font-family: var(--font-titre);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: background .2s;
}
.fgd-cta:hover {
  background: var(--or-light);
  color: #0d0a05;
}

/* ── Bandeau démo ── */
.fgd-demo-bar {
  background: #1a1005;
  border-top: 1px solid rgba(201,168,76,.15);
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--texte2);
  gap: 16px;
}
.fgd-demo-loge {
  color: var(--or);
  font-family: var(--font-titre);
  font-size: 11px;
  letter-spacing: .04em;
}

/* ── Main ── */
.fgd-main {
  flex: 1;
}
.fgd-page {
  max-width: 100%;
}
.fgd-page-content {
  /* Le contenu FrancGestion gère sa propre mise en page */
}

/* ── Footer ── */
.fgd-footer {
  background: #080604;
  border-top: 1px solid var(--bordure);
  padding: 24px;
  margin-top: auto;
}
.fgd-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.fgd-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-titre);
  font-size: 13px;
  color: var(--texte2);
}
.fgd-footer-links {
  display: flex;
  gap: 20px;
}
.fgd-footer-links a {
  font-size: 13px;
  color: var(--texte2);
  transition: color .2s;
}
.fgd-footer-links a:hover { color: var(--or); }
.fgd-footer-copy {
  font-size: 12px;
  color: #5a4a3a;
}
.fgd-footer-copy a { color: #5a4a3a; }
.fgd-footer-copy a:hover { color: var(--or); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .fgd-header-inner { height: auto; padding: 12px 16px; flex-wrap: wrap; gap: 12px; }
  .fgd-nav { display: none; }
  .fgd-footer-inner { flex-direction: column; text-align: center; }
  .fgd-demo-bar { flex-direction: column; gap: 4px; text-align: center; }
}
