/* =========================================
   CHI SAO CONNOISSEUR — style.css
   ========================================= */

:root {
  --bg:        #080808;
  --surface:   #111111;
  --surface2:  #161616;
  --border:    #242424;
  --border2:   #2e2e2e;
  --text:      #e8e0d0;
  --text-dim:  #a09888;
  --text-muted:#6a6058;
  --white:     #ffffff;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --radius:    4px;
  --transition: 0.15s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 56px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.85;
}

.nav-cta {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--border2);
  padding: 7px 18px;
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}
.nav-cta:hover {
  background: var(--surface2);
  border-color: var(--text-dim);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  width: clamp(240px, 40vw, 340px);
  margin: 0 auto 36px;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.08));
  transition: filter var(--transition);
}
.hero-badge:hover {
  filter: drop-shadow(0 0 56px rgba(255,255,255,0.14));
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(18px, 3vw, 26px);
  font-style: italic;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 12px;
  line-height: 1.4;
}

.hero-sub {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--bg);
}

/* ---- SECTION BASE ---- */
section {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.section-body {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
}

/* ---- WHAT IS THIS (3 cards) ---- */
.what-section { border-top: 1px solid var(--border); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}

.card {
  background: var(--surface);
  padding: 32px 28px;
}

.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: normal;
  color: var(--text);
  margin-bottom: 10px;
}

.card-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---- SESSIONS ---- */
.sessions-section { border-top: 1px solid var(--border); }

.sessions-block {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.session-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.session-row:last-child { border-bottom: none; }

.session-key {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 90px;
  flex-shrink: 0;
}

.session-val {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text);
}

.session-val.placeholder {
  color: var(--text-muted);
  font-style: italic;
}

/* ---- ABOUT ---- */
.about-section { border-top: 1px solid var(--border); }

/* ---- JOIN ---- */
.join-section {
  border-top: 1px solid var(--border);
  text-align: center;
}

.join-section .section-label {
  justify-content: center;
}
.join-section .section-label::after { display: none; }

.join-section .section-title { margin: 0 auto 16px; }
.join-section .section-body { margin: 0 auto 36px; }

.join-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border2);
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition);
}
.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text-dim);
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 2;
}

footer a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
footer a:hover { color: var(--text); }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  nav { padding: 0 20px; }

  .hero { padding: 88px 20px 60px; }

  .cards {
    grid-template-columns: 1fr;
  }

  .session-row {
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
  }

  section { padding: 60px 20px; }
}
