/* ═══════════════════════════════════════════════════════════
   STAR-PIGEONS MANAGER THEME
   ═══════════════════════════════════════════════════════════ */
:root {
  --navy:   #08152a;
  --blue:   #0d2240;
  --mid:    #112f5c;
  --sky:    #1a5fa8;
  --gold:   #e8a020;
  --gold2:  #f0b830;
  --white:  #f0f4f8;
  --muted:  rgba(200,220,255,.72);
  --border: rgba(100,150,220,.15);
  --grid:   rgba(40,100,200,.06);
  --r:      10px;
  --r-sm:   6px;
  --dur:    .25s;
  --head:   'Space Grotesk', sans-serif;
  --body:   'Space Grotesk', sans-serif;
  --mono:   'JetBrains Mono', monospace;
  --w:      1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Exclusion du reset global pour le plugin FAAC Points Reservation */
.faac-points-front .faac-points-summary-label,
.faac-points-front .faac-points-summary-value,
.faac-points-front .faac-points-summary-date,
.faac-points-front .faac-points-cart-total,
.faac-points-front .faac-points-cart-footer {
    margin: revert;
    padding: revert;
}
html { scroll-behavior: smooth; background: #08152a !important; background-color: #08152a !important; }
body,
body.spmt-body,
body.home,
body.page,
body.single,
body.archive,
#page,
.site,
#content {
  background: #08152a !important;
  background-color: #08152a !important;
  color: #f0f4f8 !important;
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }

.mc-container { max-width: var(--w); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
#mc-main { min-height: 60vh; padding-top: var(--header-h); }
.mc-page-content { padding: 60px 0; }
.admin-bar { --header-h: 108px; }
.admin-bar .mc-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar { --header-h: 122px; }
  .admin-bar .mc-header { top: 46px; }
}

.mc-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  min-height: 76px;
  background: rgba(8,21,42,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur), box-shadow var(--dur);
}
.mc-header.scrolled { background: rgba(8,21,42,.98); box-shadow: 0 4px 32px rgba(0,0,0,.5); }
.mc-header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; padding: 12px 0; }
.mc-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,246,252,.95));
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 10px 24px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.72);
}
.mc-logo-link:hover { transform: translateY(-1px); }
.mc-logo-link img { height: 54px; width: auto; }
.mc-nav { flex: 1; }
.mc-nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.mc-nav-item a {
  display: block; padding: 6px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
  color: var(--muted); transition: color var(--dur), background var(--dur); white-space: nowrap;
}
.mc-nav-item a:hover, .mc-nav-item.current-menu-item a { color: var(--white); background: rgba(255,255,255,.07); }
.mc-header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.mc-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; width: 36px; }
.mc-burger span { display: block; height: 2px; background: var(--muted); border-radius: 2px; transition: all var(--dur); }
@media (max-width: 880px) { .mc-nav { display: none; } .mc-burger { display: flex; } .mc-logo-link { padding: 6px 10px; } .mc-logo-link img { height: 44px; } }

.mc-mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: rgba(8,21,42,.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  opacity: 0; visibility: hidden; transition: all var(--dur);
}
.mc-mobile-menu.open { opacity: 1; visibility: visible; }
.mc-mobile-close { position: absolute; top: 20px; right: 24px; font-size: 24px; color: var(--muted); padding: 8px; }
.mc-mobile-nav-list { width: 100%; max-width: 320px; }
.mc-mobile-nav-list li a { display: block; padding: 14px 24px; font-size: 18px; font-weight: 600; color: var(--white); border-bottom: 1px solid var(--border); }
.mc-mobile-nav-list li a:hover { color: var(--gold); }

.mc-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600;
  transition: all var(--dur); cursor: pointer; white-space: nowrap; border: 2px solid transparent;
}
.mc-btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.mc-btn-primary:hover { background: var(--gold2); border-color: var(--gold2); transform: translateY(-1px); }
.mc-btn-outline { background: transparent; color: var(--white); border-color: var(--border); }
.mc-btn-outline:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }
.mc-btn-sm { padding: 7px 16px; font-size: 13px; }
.mc-btn-lg { padding: 14px 36px; font-size: 16px; }

.spmt-hero {
  position: relative; min-height: calc(100vh - 76px); display: flex; align-items: center; overflow: hidden;
}
.spmt-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.spmt-hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .18; }
.spmt-glow-1 { width: 620px; height: 620px; background: var(--sky); top: -100px; right: -100px; animation: float 8s ease-in-out infinite; }
.spmt-glow-2 { width: 420px; height: 420px; background: var(--gold); bottom: -50px; left: -50px; animation: float 10s ease-in-out infinite reverse; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
.spmt-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: center; padding: 72px 0 88px; }
.spmt-badge, .spmt-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(26,95,168,.3);
  border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8dc2ff;
}
.spmt-title { font-size: clamp(36px, 5vw, 62px); line-height: 1.03; letter-spacing: -.03em; margin: 18px 0 18px; }
.spmt-sub { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 760px; }
.spmt-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.spmt-note {
  margin-top: 24px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 18px;
  background: rgba(13,34,64,.45); color: var(--muted); line-height: 1.7; max-width: 720px;
}
.spmt-visual-card {
  padding: 34px; border: 1px solid rgba(26,95,168,.28); border-radius: 32px; background: linear-gradient(180deg,rgba(14,22,42,.88),rgba(13,34,64,.72));
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
}
.spmt-visual-card img { width: 100%; max-width: 460px; margin: 0 auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.45)); }

.spmt-section { padding: 0 0 96px; }
.spmt-section-head { text-align: center; max-width: 860px; margin: 0 auto 34px; }
.spmt-section-head h2 { font-size: clamp(30px, 4vw, 48px); margin: 16px 0 12px; }
.spmt-section-head p { color: var(--muted); line-height: 1.8; }
.spmt-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.spmt-card {
  padding: 26px; border: 1px solid var(--border); border-radius: 24px; background: rgba(13,34,64,.52);
  box-shadow: 0 12px 32px rgba(0,0,0,.16); min-height: 100%;
}
.spmt-card-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(26,95,168,.16);
  color: #8dc2ff; border: 1px solid rgba(26,95,168,.22); font-size: 24px; margin-bottom: 16px;
}
.spmt-card h3 { font-size: 22px; margin-bottom: 10px; }
.spmt-card p { color: var(--muted); line-height: 1.75; }

.spmt-cta { padding: 0 0 100px; }
.spmt-cta-inner {
  text-align: center; padding: 40px 28px; border: 1px solid var(--border); border-radius: 28px; background: rgba(13,34,64,.52);
}
.spmt-cta-inner h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.spmt-cta-inner p { color: var(--muted); max-width: 760px; margin: 0 auto 24px; }

.spmt-empty, .spmt-article { padding: 60px 0; }
.spmt-empty-card {
  max-width: 760px; margin: 0 auto; text-align: center; padding: 34px; border-radius: 28px;
  border: 1px solid var(--border); background: rgba(13,34,64,.52);
}
.spmt-article h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 18px; }
.spmt-article > * + * { margin-top: 18px; }

.mc-footer {
  border-top: 1px solid var(--border); background: rgba(8,21,42,.92); backdrop-filter: blur(10px); position: relative; z-index: 1;
}
.mc-footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 28px 0; flex-wrap: wrap;
}
.mc-footer-brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,246,252,.95));
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 14px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.72);
}
.mc-footer-brand img { height: 72px; width: auto; }
.mc-footer-brand p { color: var(--muted); margin-top: 12px; }
.mc-footer-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); }
.mc-footer-links a:hover { color: var(--white); }
.mc-footer-bottom { border-top: 1px solid var(--border); padding: 14px 20px; text-align: center; color: var(--muted); }

.mc-back-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); box-shadow: 0 12px 28px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transition: all var(--dur); z-index: 30;
}
.mc-back-top.visible { opacity: 1; visibility: visible; }

@media (max-width: 980px) {
  .spmt-hero-grid, .spmt-card-grid { grid-template-columns: 1fr; }
  .spmt-visual { order: -1; }
}
@media (max-width: 640px) {
  .mc-container { padding: 0 18px; }
  .spmt-title { font-size: clamp(30px, 9vw, 42px); }
  .spmt-sub { font-size: 16px; }
  .mc-header-right .mc-btn:nth-child(2) { display: none; }
}
