/* Styles communs aux pages annexes (Organiser un événement, Devenir sponsor).
   Mêmes couleurs, polices et composants que l'accueil (index.html). */

:root {
  --noir:    #15101F;
  --abyssal: #1C1529;
  --violet:  #2A1D44;
  --nacre:   #E0D8E8;
  --or:      #B8956A;
  --accent:  #A78BFA;
  --texte:   rgba(224,216,232,0.78);
  --trait:   rgba(212,204,216,0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--noir);
  color: var(--nacre);
  font-family: 'Sora', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
  width: calc(100% - 2rem); max-width: 56rem; z-index: 100;
  border-radius: 100px; padding: 1.1rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 1px solid transparent;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
#navbar.scrolled {
  background: rgba(28,21,41,0.72);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-color: rgba(212,204,216,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.nav-logo {
  font-family: 'Marcellus', serif; font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--nacre); text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: 0.8rem; color: rgba(224,216,232,0.82); text-decoration: none;
  letter-spacing: 0.05em; transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-cta {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--noir);
  background: var(--accent); padding: 0.5rem 1.25rem; border-radius: 100px;
  text-decoration: none; transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-cta:hover { transform: scale(1.03); opacity: 0.9; }
.nav-burger {
  display: none; background: none; border: none; color: var(--nacre);
  cursor: pointer; padding: 4px;
}
#mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(21,16,31,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu a {
  font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--nacre);
  text-decoration: none; letter-spacing: 0.04em;
}
#mobile-menu .mobile-cta-btn {
  margin-top: 1rem; font-family: 'Sora', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em;
  color: var(--noir); background: var(--accent); padding: 0.875rem 2.5rem; border-radius: 100px;
}

/* ─── TYPO & BOUTONS ─────────────────────────────────────────────────────── */
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(184,149,106,0.9); margin-bottom: 1.5rem;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.12; }
h1 { font-style: italic; font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-style: italic; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.75rem; }
.lead { font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--texte); max-width: 40rem; }
.or { color: var(--or); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 100px; padding: 1rem 2.25rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn:hover { transform: scale(1.03); }
.btn-primary { background: var(--accent); color: var(--noir); }
.btn-ghost { border: 1px solid rgba(224,216,232,0.35); color: var(--nacre); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* ─── MISE EN PAGE ───────────────────────────────────────────────────────── */
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; position: relative; }
.alt { background: var(--abyssal); }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* Hero avec photo */
.page-hero {
  min-height: 92vh; display: flex; align-items: flex-end; padding: 10rem 0 6rem;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 35%;
  filter: brightness(0.62) saturate(0.9);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--noir) 0%, rgba(21,16,31,0.7) 45%, rgba(42,29,68,0.25) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; width: 100%; }
.page-hero .lead { margin-top: 1.75rem; color: rgba(224,216,232,0.88); }

/* Grande phrase */
.statement {
  font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.3; max-width: 60rem;
}
.statement em { color: var(--or); }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; border-top: 1px solid var(--trait); padding-top: 3rem; }
.stat-num { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--nacre); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--texte); margin-top: 0.75rem; }

/* Grilles de cartes */
.grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: rgba(42,29,68,0.35); border: 1px solid var(--trait); border-radius: 1.5rem;
  padding: 2.25rem; transition: border-color 0.4s ease, transform 0.4s ease;
}
.card:hover { border-color: rgba(184,149,106,0.35); transform: translateY(-3px); }
.card p { color: var(--texte); font-size: 0.95rem; }
.card-num { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: rgba(184,149,106,0.85); letter-spacing: 0.15em; margin-bottom: 1.25rem; display: block; }
.card.feature { border-color: rgba(184,149,106,0.5); background: rgba(42,29,68,0.6); }
.badge {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--noir); background: var(--or); border-radius: 100px;
  padding: 0.3rem 0.8rem; margin-bottom: 1.25rem;
}

/* Listes à coches */
.checks { list-style: none; margin-top: 1.25rem; }
.checks li { padding: 0.55rem 0 0.55rem 1.75rem; position: relative; color: var(--texte); border-bottom: 1px solid var(--trait); font-size: 0.95rem; }
.checks li:last-child { border-bottom: none; }
.checks li::before { content: '◆'; position: absolute; left: 0; top: 0.6rem; font-size: 0.6rem; color: var(--or); }
.checks-2col { columns: 2; column-gap: 3rem; }
.checks-2col li { break-inside: avoid; }
@media (max-width: 700px) { .checks-2col { columns: 1; } }
.crosses li::before { content: '✕'; font-size: 0.8rem; top: 0.5rem; color: rgba(224,216,232,0.45); }

/* Blocs texte + photo (alternés) */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 34rem; }
.split + .split { border-top: 1px solid var(--trait); }
.split-text { background: var(--violet); padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.split-text .lead { margin-bottom: 1rem; }
.split-img { background-size: cover; background-position: center; min-height: 22rem; }
.split.reverse .split-text { order: 2; }

/* Format en deux temps */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.duo-photo { border-radius: 1.75rem; overflow: hidden; aspect-ratio: 4 / 5; background-size: cover; background-position: center; }
.step { padding: 1.75rem 0; border-bottom: 1px solid var(--trait); }
.step:last-of-type { border-bottom: none; }
.step p { color: var(--texte); }
.quote {
  font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.45; color: var(--nacre); border-left: 2px solid var(--or); padding-left: 1.5rem; margin-top: 2rem;
}

/* Étapes numérotées */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; }
.process-num { font-family: 'Playfair Display', serif; font-size: 3rem; color: rgba(184,149,106,0.75); line-height: 1; margin-bottom: 1rem; }
.process p { color: var(--texte); font-size: 0.95rem; }

/* Partenaires */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: 3rem; }
.logo-name {
  font-family: 'Marcellus', serif; font-size: 1.05rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(224,216,232,0.8); border: 1px solid var(--trait); border-radius: 100px; padding: 1rem 1.9rem;
}

.logo-tile { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 1rem; padding: 1rem 1.75rem; height: 4.75rem; transition: transform 0.3s ease; }
.logo-tile:hover { transform: translateY(-2px); }
.logo-tile img { max-height: 2.4rem; width: auto; max-width: 13rem; }
.card .logo-tile { margin-bottom: 1.5rem; }

/* Témoignages */
.testimonial { background: rgba(42,29,68,0.45); border: 1px solid var(--trait); border-radius: 1.5rem; padding: 2.5rem; }
.testimonial blockquote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.3rem; line-height: 1.5; }
.testimonial cite { display: block; margin-top: 1.5rem; font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--or); }

/* Bande photos */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 3.5rem; }
.strip div { aspect-ratio: 3 / 4; border-radius: 1rem; background-size: cover; background-position: center; }

/* Contact final */
.contact-box {
  background: linear-gradient(135deg, var(--violet), var(--abyssal)); border: 1px solid rgba(184,149,106,0.3);
  border-radius: 2rem; padding: 4.5rem 3rem; text-align: center;
}
.contact-lines { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; color: var(--texte); font-size: 0.95rem; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid rgba(184,149,106,0.5); }
.contact-lines a:hover { color: var(--accent); }
.price { font-family: 'Playfair Display', serif; font-style: italic; font-size: 2.2rem; color: var(--or); margin: 0.5rem 0; }


/* Membres : grille de portraits */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.member { position: relative; border-radius: 1.25rem; overflow: hidden; background: rgba(42,29,68,0.35); border: 1px solid var(--trait); text-decoration: none; color: inherit; }
.member-photo { aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--violet), #3a2a5c) center / cover; display: flex; align-items: center; justify-content: center; font-family: 'Marcellus', serif; font-size: 2.2rem; color: rgba(224,216,232,0.55); letter-spacing: 0.1em; }
.member-photo.has-photo { background-size: cover; background-position: center 25%; }
.member-info { padding: 1.1rem 1.25rem 1.4rem; }
.member-info h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.member-info p { font-size: 0.82rem; color: var(--texte); margin-bottom: 0.75rem; }
.member-tag { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--or); border: 1px solid rgba(184,149,106,0.4); border-radius: 100px; padding: 0.25rem 0.7rem; }
.member-hover { position: absolute; inset: 0; background: rgba(21,16,31,0.93); padding: 1.75rem; display: flex; align-items: flex-end; opacity: 0; transition: opacity 0.4s ease; }
.member:hover .member-hover, .member:focus-within .member-hover { opacity: 1; }
.member-hover p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.05rem; line-height: 1.5; }
.member-free { border-style: dashed; border-color: rgba(184,149,106,0.5); transition: border-color 0.3s ease, transform 0.3s ease; }
.member-free:hover { border-color: var(--or); transform: translateY(-3px); }
.member-free .member-photo { background: transparent; color: var(--or); font-size: 3rem; }
.member-free .member-tag { background: var(--or); color: var(--noir); }
@media (max-width: 900px) { .members { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .member-hover { position: static; opacity: 1; background: none; padding: 0 1.25rem 1.4rem; } .member-hover p { font-size: 0.95rem; } }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer { background: var(--abyssal); border-radius: 4rem 4rem 0 0; padding: 4rem 2rem 2.5rem; text-align: center; }
/* Bandeau chiffres en haut du footer */
.ft-band { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 48rem; margin: 0 auto 3rem; border: 1px solid rgba(184,149,106,0.3); border-radius: 1.5rem; background: rgba(42,29,68,0.45); }
.ft-kpi { padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.ft-kpi + .ft-kpi { border-left: 1px solid rgba(212,204,216,0.1); }
.ft-kpi strong { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 1.7rem; color: #E0D8E8; line-height: 1.1; }
.ft-kpi span { font-size: 0.75rem; color: rgba(212,204,216,0.68); letter-spacing: 0.04em; }
.ft-kpi .ft-stars { display: block; font-size: 0.8rem; letter-spacing: 0.2em; color: #B8956A; margin-bottom: 0.2rem; }
@media (max-width: 560px) { .ft-kpi { padding: 1.25rem 0.5rem; } .ft-kpi strong { font-size: 1.35rem; } .ft-kpi span { font-size: 0.68rem; } }
.ft-wordmark { font-family: 'Marcellus', serif; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(212,204,216,0.4); margin-bottom: 1.75rem; display: block; }
.ft-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; margin-bottom: 1.25rem; }
.ft-nav a { font-size: 0.8rem; letter-spacing: 0.08em; color: rgba(212,204,216,0.67); text-decoration: none; transition: color 0.3s ease; }
.ft-nav a:hover { color: var(--accent); }
.ft-nav.ft-pro a { color: rgba(184,149,106,0.8); }
.ft-copy { font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; color: rgba(212,204,216,0.3); letter-spacing: 0.1em; margin-top: 2rem; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-4, .stats, .process { grid-template-columns: repeat(2, 1fr); }
  .split, .duo { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .split-text { padding: 3.5rem 2rem; }
  .strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  section { padding: 5rem 0; }
  .wrap { padding: 0 1.25rem; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .stats, .process { grid-template-columns: 1fr; }
  .contact-box { padding: 3rem 1.5rem; }
  .btn { width: 100%; }
}
