/* ============================================
   LA ROCHELLE RP — Site multi-pages PHP
   Style sombre propre, sans neon / glow
   ============================================ */

:root {
  --blue: #1e4a8c;
  --blue-dark: #163a6e;
  --blue-light: #3b6cb0;
  --red: #c43c32;
  --red-dark: #a3322a;
  --white: #ffffff;
  --bg: #0d1117;
  --bg-elevated: #161b22;
  --bg-card: #1c2330;
  --bg-card-hover: #242d3d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.92);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.98);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-link img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.logo-text {
  color: var(--white);
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  margin-left: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--blue-light);
  background: rgba(30, 74, 140, 0.15);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn-disabled {
  width: 100%;
  opacity: 0.55;
  cursor: not-allowed;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 24px 70px;
}

.hero-content {
  max-width: 720px;
}

.hero-logo {
  width: 200px;
  max-width: 70%;
  margin: 0 auto 28px;
  border-radius: 14px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
  color: var(--white);
}

.hero h1 span {
  color: var(--blue-light);
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 40px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 40px;
  font-size: 0.9rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fb950;
}

.connect-fallback {
  display: none;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.connect-fallback code {
  display: inline-block;
  margin-top: 6px;
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 120px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.page-header h1 span {
  color: var(--blue-light);
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ========== SECTIONS ========== */
.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.section-header h2 span {
  color: var(--blue-light);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: background var(--transition), border-color var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 108, 176, 0.35);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
  background: rgba(30, 74, 140, 0.25);
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
  color: var(--white);
}

.card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.features {
  background: var(--bg-elevated);
}

/* ========== STAFF ========== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.staff-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 108, 176, 0.3);
}

.staff-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  border: 2px solid var(--border);
}

.staff-card h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
  color: var(--white);
}

.staff-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.staff-role {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 10px;
}

.role-fondateur {
  background: rgba(196, 60, 50, 0.2);
  color: #e87a72;
}

.role-admin {
  background: rgba(30, 74, 140, 0.3);
  color: #7ba3d4;
}

.role-modo {
  background: rgba(46, 160, 67, 0.18);
  color: #6bcf7e;
}

.role-dev {
  background: rgba(130, 80, 200, 0.2);
  color: #b794f4;
}

/* ========== REGLEMENT ========== */
.rules-list {
  max-width: 760px;
  margin: 0 auto;
}

.rule-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 12px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color var(--transition);
}

.rule-item:hover {
  border-color: rgba(59, 108, 176, 0.3);
}

.rule-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.rule-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--white);
}

.rule-item p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ========== BOUTIQUE ========== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.shop-card:hover {
  border-color: rgba(196, 60, 50, 0.3);
}

.shop-card-header {
  height: 100px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border-bottom: 1px solid var(--border);
}

.shop-card-body {
  padding: 22px;
}

.shop-card h3 {
  margin-bottom: 6px;
  color: var(--white);
}

.shop-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.shop-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.shop-price span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ========== GALERIE ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--text-muted);
  gap: 6px;
}

.gallery-placeholder span {
  font-size: 2.2rem;
}

/* ========== WHITELIST STEPS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 720px;
  margin: 0 auto;
}

.info-box h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--white);
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 700;
}

/* ========== CTA ========== */
.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  margin: 32px 0;
}

.cta-banner h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  color: var(--white);
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.mt-4 {
  margin-top: 28px;
}

/* ========== FOOTER ========== */
.footer {
  background: #080b10;
  border-top: 1px solid var(--border);
  padding: 52px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.92rem;
  max-width: 280px;
}

.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-links a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav-cta {
    margin: 10px 0 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
