/* ═══════════════════════════════════════════════════════════════════
   NK Events — Design System
   Charte: ivoire, taupe, bronze, brun
   Polices: Cormorant Garamond (titres) + Raleway (corps)
   ═══════════════════════════════════════════════════════════════════ */

/* ───── 1. RESET & VARIABLES ───── */
:root {
  --ivoire:       #F5F0E8;
  --ivoire-clair: #FBF8F2;
  --taupe:        #B5A99A;
  --bronze:       #8C6239;
  --bronze-fonce: #6B4A2C;
  --bronze-dore:  #D8B25B;
  --brun:         #2A2220;
  --sable:        #FFF3C2;
  --blanc:        #FFFFFF;

  --max-width:    1200px;
  --header-height: 80px;
  --transition:   all 0.4s ease;

  --shadow-sm: 0 4px 12px rgba(42,34,32,0.06);
  --shadow-md: 0 6px 24px rgba(42,34,32,0.08);
  --shadow-lg: 0 12px 36px rgba(42,34,32,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ivoire);
  color: var(--brun);
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
em { font-style: italic; color: var(--bronze); }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ───── 2. HEADER (commun à toutes les pages) ───── */
.nk-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(181,169,154,0.2);
  z-index: 1000;
  transition: var(--transition);
}
.nk-header-inner {
  max-width: var(--max-width); margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
}
.nk-logo {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; color: var(--brun);
  letter-spacing: 0.02em;
}
.nk-logo img { height: 44px; width: auto; }
.nk-logo-text { line-height: 1.1; }
.nk-logo-text small {
  display: block; font-family: 'Raleway', sans-serif;
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--taupe); font-weight: 400;
}

.nk-nav { display: flex; align-items: center; gap: 32px; }
.nk-nav a {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brun); font-weight: 400;
  position: relative; padding: 6px 0;
  transition: var(--transition);
}
.nk-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--bronze);
  transition: width 0.3s ease;
}
.nk-nav a:hover { color: var(--bronze); }
.nk-nav a:hover::after,
.nk-nav a.active::after { width: 100%; }
.nk-nav a.active { color: var(--bronze); }

.nk-cta-header {
  padding: 11px 24px;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  border: 1px solid var(--bronze); color: var(--bronze);
  transition: var(--transition);
}
.nk-cta-header:hover {
  background: var(--bronze); color: var(--ivoire);
}
.nk-cta-header::after { display: none !important; }

/* Burger mobile */
.nk-burger {
  display: none; flex-direction: column; gap: 6px;
  padding: 8px; cursor: pointer;
}
.nk-burger span {
  display: block; width: 24px; height: 1.5px; background: var(--brun);
  transition: var(--transition);
}
.nk-header.menu-open .nk-burger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nk-header.menu-open .nk-burger span:nth-child(2) { opacity: 0; }
.nk-header.menu-open .nk-burger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ───── 3. FOOTER ───── */
.nk-footer {
  background: var(--brun); color: var(--ivoire);
  padding: 70px 40px 30px;
  margin-top: 80px;
}
.nk-footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px;
}
.nk-footer-brand .nk-logo-text { color: var(--ivoire); font-size: 24px; }
.nk-footer-brand .nk-logo-text small { color: var(--taupe); }
.nk-footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-style: italic; color: var(--taupe);
  margin-top: 18px; line-height: 1.6;
}
.nk-footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: var(--bronze-dore);
  margin-bottom: 18px; font-weight: 500;
}
.nk-footer-col ul { list-style: none; }
.nk-footer-col ul li { padding: 5px 0; }
.nk-footer-col ul a {
  font-size: 13px; color: var(--taupe); transition: var(--transition);
}
.nk-footer-col ul a:hover { color: var(--bronze-dore); }
.nk-footer-bottom {
  max-width: var(--max-width); margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(181,169,154,0.18);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  font-size: 11px; color: var(--taupe); letter-spacing: 0.1em;
}

/* ───── 4. SECTIONS GÉNÉRIQUES ───── */
main { padding-top: var(--header-height); }

.nk-section {
  padding: 100px 40px;
  max-width: var(--max-width); margin: 0 auto;
}

.nk-section-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px; font-weight: 300;
  color: rgba(181,169,154,0.35); line-height: 1; margin-bottom: -25px;
}
.nk-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--bronze); margin-bottom: 12px;
}
.nk-section-intro {
  font-size: 12px; color: var(--taupe);
  letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 60px;
}

/* Section sur fond brun */
.nk-section-dark {
  background: var(--brun); color: var(--ivoire);
  padding: 100px 40px; max-width: 100%;
  position: relative; overflow: hidden;
}
.nk-section-dark .nk-section-inner {
  max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 1;
}
.nk-section-dark .nk-section-num { color: rgba(181,169,154,0.25); }
.nk-section-dark .nk-section-title { color: var(--bronze); }
.nk-section-dark .nk-section-intro { color: var(--taupe); }
.nk-section-dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(140,98,57,0.18) 0%, transparent 60%);
}

/* ───── 5. BOUTONS ───── */
.nk-btn {
  display: inline-block;
  padding: 16px 38px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  border: 1px solid var(--bronze);
  background: transparent; color: var(--bronze);
  transition: var(--transition);
  cursor: pointer;
}
.nk-btn:hover {
  background: var(--bronze); color: var(--ivoire);
  letter-spacing: 0.35em;
}
.nk-btn-primary {
  background: var(--bronze); color: var(--ivoire);
}
.nk-btn-primary:hover {
  background: var(--bronze-fonce); border-color: var(--bronze-fonce);
}
.nk-btn-light {
  background: var(--ivoire); color: var(--bronze);
  border-color: var(--ivoire);
}
.nk-btn-light:hover {
  background: transparent; color: var(--ivoire);
}
.nk-btn-large {
  padding: 20px 56px; font-size: 13px;
}

/* ───── 6. ANIMATIONS ───── */
@keyframes nkFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes nkExpandH {
  from { width: 0; }
  to   { width: 80px; }
}

.nk-fade {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.nk-fade.visible { opacity: 1; transform: translateY(0); }

.nk-divider {
  width: 80px; height: 1px;
  background: var(--bronze);
  margin: 36px auto;
}

/* ───── 7. CARTES ───── */
.nk-card {
  background: var(--blanc);
  padding: 32px 28px;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.nk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.nk-card-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; color: var(--bronze);
  margin-bottom: 14px; line-height: 1;
}
.nk-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--brun);
  margin-bottom: 10px; font-weight: 500;
}
.nk-card-desc {
  font-size: 14px; color: var(--brun); line-height: 1.6;
}

/* ───── 8. UTILITAIRES ───── */
.nk-text-center { text-align: center; }
.nk-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.nk-mention {
  font-size: 12px; color: var(--taupe); font-style: italic;
  text-align: center; margin-top: 40px;
}

/* ───── 9. RESPONSIVE ───── */
@media (max-width: 980px) {
  :root { --header-height: 72px; }
  .nk-header-inner { padding: 0 20px; }
  .nk-nav, .nk-cta-header {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 24px 20px;
    background: var(--ivoire); border-top: 1px solid rgba(181,169,154,0.2);
    box-shadow: var(--shadow-md);
  }
  .nk-header.menu-open .nk-nav,
  .nk-header.menu-open .nk-cta-header {
    display: flex;
  }
  .nk-header.menu-open .nk-nav { padding-bottom: 16px; }
  .nk-nav a { padding: 14px 0; border-bottom: 1px solid rgba(181,169,154,0.15); }
  .nk-nav a:last-child { border: none; }
  .nk-cta-header { width: max-content; align-self: center; margin: 12px auto 24px; }
  .nk-burger { display: flex; }

  .nk-section { padding: 60px 20px; }
  .nk-section-dark { padding: 60px 20px; }
  .nk-section-title { font-size: 34px; }
  .nk-section-num { font-size: 60px; }

  .nk-grid-3 { grid-template-columns: 1fr; }
  .nk-grid-2 { grid-template-columns: 1fr; gap: 30px; }

  .nk-footer { padding: 50px 20px 24px; }
  .nk-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .nk-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 600px) {
  .nk-section-title { font-size: 28px; }
  .nk-logo-text { font-size: 18px; }
}
