/* ================================================
   Poker Club de l'Oise - Feuille de style principale
   Palette : anthracite + vert feutre + or
   ================================================ */

:root {
  --bg-deep: #0d0f0e;
  --bg-card: #161a18;
  --bg-elevated: #1f2522;
  --felt: #0e4d3a;
  --felt-light: #156b53;
  --felt-glow: rgba(21, 107, 83, 0.35);
  --gold: #d4af37;
  --gold-soft: #b8952c;
  --gold-muted: #8a6f23;
  --text: #ececec;
  --text-muted: #9aa39e;
  --text-dim: #6b716e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(212, 175, 55, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  /* subtle felt texture */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(14, 77, 58, 0.18), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(212, 175, 55, 0.07), transparent 50%);
  background-attachment: fixed;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-soft); }

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

/* ============= HEADER & NAV ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.5px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.brand strong { color: var(--gold); font-weight: 600; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 6px 2px;
  position: relative;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Mobile burger */
.burger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-logo {
  width: 180px;
  height: auto;
  margin: 0 auto 32px;
  display: block;
  filter: drop-shadow(0 8px 30px rgba(212, 175, 55, 0.25)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
  animation: logoFloat 4s ease-in-out infinite alternate;
}

@keyframes logoFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@media (max-width: 540px) {
  .hero-logo { width: 130px; margin-bottom: 24px; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(14, 77, 58, 0.45) 0%, transparent 60%);
  z-index: 0;
}

/* Hero avec photo en fond plein écran */
.hero--photo {
  padding: 120px 24px 100px;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero--photo::before {
  background:
    linear-gradient(180deg, rgba(13,15,14,0.55) 0%, rgba(13,15,14,0.55) 35%, rgba(13,15,14,0.95) 100%),
    radial-gradient(ellipse at center, rgba(14, 77, 58, 0.18) 0%, transparent 70%);
  z-index: 1;
}
.hero--photo .hero-inner { z-index: 2; }
@media (max-width: 540px) {
  .hero--photo { padding: 80px 20px 70px; min-height: 480px; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 .gold { color: var(--gold); font-style: italic; }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all .25s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1a1a;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
  color: #0a0a0a;
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
}

/* ============= PAGE HEADERS (autres pages) ============= */
.page-head {
  padding: 70px 24px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-head::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, rgba(14, 77, 58, 0.3), transparent 70%);
  z-index: 0;
}

.page-head > * { position: relative; z-index: 1; }

.page-head .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
}

.page-head p {
  margin-top: 14px;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============= SECTIONS ============= */
section {
  padding: 70px 24px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 40px;
}

.section-title.centered,
.section-subtitle.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============= CARDS GRID ============= */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(14, 77, 58, 0.25);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text);
}

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

/* ============= INFO BOX / HIGHLIGHT ============= */
.info-box {
  background: linear-gradient(135deg, rgba(14, 77, 58, 0.22), rgba(14, 77, 58, 0.05));
  border: 1px solid rgba(21, 107, 83, 0.4);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 30px 0;
}

.info-box h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.info-box ul { list-style: none; margin-top: 12px; }
.info-box ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text);
}
.info-box ul li::before {
  content: '♠';
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-size: 1.1rem;
}

/* ============= FEATURE / TWO-COL ============= */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse { grid-template-columns: 1fr 1.1fr; }

.two-col h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 18px;
}

.two-col p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.illus {
  background: linear-gradient(135deg, var(--felt), #062c20);
  border-radius: var(--radius);
  padding: 50px 40px;
  border: 1px solid var(--border-strong);
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.illus::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--felt-light), transparent 60%);
  opacity: 0.6;
}

.illus .deco {
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--gold);
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.illus-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

/* ===== Illustration photo (image plein cadre) ===== */
.illus--photo {
  padding: 0;
  background: #0a0a0a;
  min-height: 360px;
}
.illus--photo::after { display: none; }
.illus--photo .illus-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.illus--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
    radial-gradient(circle at 50% 40%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.25) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ============= STATS BAND ============= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
}

.stat .label {
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============= TIMELINE (déroulement soirée) ============= */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 40px auto 0;
  padding-left: 30px;
  border-left: 2px solid var(--border-strong);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg-deep), 0 0 0 5px var(--gold);
}

.timeline .time {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}

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

/* ============= DOCUMENTS LIST ============= */
.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all .25s;
  color: var(--text);
}

.doc-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  color: var(--text);
}

.doc-icon {
  flex-shrink: 0;
  width: 48px;
  height: 56px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.03));
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.doc-card h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

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

/* ============= CONTACT ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 20px;
}

.contact-block h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.contact-block p {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-block .label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 16px;
  margin-bottom: 4px;
}

.map-embed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) brightness(0.85);
}

/* ============= FOOTER ============= */
.site-footer {
  margin-top: 60px;
  background: #0a0c0b;
  border-top: 1px solid var(--border);
  padding: 50px 24px 28px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col p,
.footer-col li {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
  list-style: none;
}

.footer-col a {
  color: var(--text-muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ============= TEXT CONTENT BLOCKS ============= */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 36px 0 14px;
  color: var(--text);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 28px 0 10px;
  color: var(--gold);
}

.prose p { margin-bottom: 16px; color: var(--text-muted); }

.prose ul { margin: 0 0 18px 22px; }
.prose li { color: var(--text-muted); margin-bottom: 6px; }

/* ============= RESPONSIVE ============= */
@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13, 15, 14, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .burger { display: block; }

  .two-col, .two-col.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 540px) {
  section { padding: 50px 20px; }
  .hero { padding: 70px 20px 60px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
