/* ===== KANJO AÏKIDO ISULANU — shared styles ===== */

/* Google Fonts loaded per page */

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

:root {
  --gold:        #c9a24d;
  --gold-50:     rgba(201,162,77,.5);
  --gold-30:     rgba(201,162,77,.3);
  --gold-18:     rgba(201,162,77,.18);
  --gold-12:     rgba(201,162,77,.12);
  --bg:          #131009;
  --bg-alt:      #1a1610;
  --bg-footer:   #0f0c07;
  --text-light:  #f1e8d2;
  --text-strong: #ece3cf;
  --text-body:   #cdc4b2;
  --text-muted:  #aaa18d;
  --text-dim:    #8a7d5c;
  --font-serif:  'Cormorant Garamond', serif;
  --font-title:  'Cinzel', serif;
  --font-sans:   'Space Grotesk', sans-serif;
  --max:         1180px;
  --px:          32px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-strong);
  font-family: var(--font-serif);
}

::selection { background: var(--gold-30); }

a { color: inherit; }

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

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(19,16,9,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-18);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img { height: 38px; width: auto; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--text-strong);
}
.nav__logo-sub {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 5px;
  color: var(--gold);
  margin-top: 4px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #b9b0a0;
  white-space: nowrap;
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--gold); }
.nav__cta {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  border: 1px solid rgba(201,162,77,.55);
  color: var(--gold) !important;
  padding: 9px 18px;
  transition: background .22s, color .22s;
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--gold);
  color: var(--bg) !important;
}
/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-strong);
  transition: transform .25s, opacity .25s;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(19,16,9,.97);
  border-top: 1px solid var(--gold-18);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  display: block;
  padding: 14px var(--px);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  color: #b9b0a0;
  border-bottom: 1px solid var(--gold-12);
  transition: color .2s;
}
.nav__mobile a:hover,
.nav__mobile a.active { color: var(--gold); }
.nav__mobile .nav__cta {
  margin: 16px var(--px);
  display: inline-block;
  width: auto;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer-partners {
  border-top: 1px solid var(--gold-12);
  background: var(--bg-footer);
}
.footer-partners__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--px);
  text-align: center;
}
.footer-partners__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-partners__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(24px,3vw,34px);
  margin: 0 0 14px;
  color: var(--text-light);
}
.footer-partners__body {
  max-width: 560px;
  margin: 0 auto 44px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-dim);
}
.footer-partners__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  font-family: var(--font-title);
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--text-dim);
}
.footer-partners__list a {
  color: var(--gold);
  text-decoration: none;
}
.footer-partners__sep { color: rgba(201,162,77,.4); }

.footer-bar {
  border-top: 1px solid var(--gold-18);
  background: var(--bg-footer);
}
.footer-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-bar__logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.footer-bar__logo img { height: 34px; width: auto; }
.footer-bar__logo-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--text-strong);
  line-height: 1;
}
.footer-bar__logo-sub {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--gold);
  margin-top: 4px;
  display: block;
}
.footer-bar__links {
  display: flex;
  gap: 26px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.5px;
}
.footer-bar__links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}
.footer-bar__links a:hover { color: var(--gold); }
.footer-bar__copy {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: #6f6757;
}

/* ===== SHARED UTILITIES ===== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 18px;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}
.placeholder-media {
  background: repeating-linear-gradient(135deg,#221c13 0 16px,#1d1810 16px 32px);
  border: 1px solid rgba(201,162,77,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  background: var(--gold);
  color: var(--bg);
  padding: 14px 32px;
  transition: box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn-gold:hover { box-shadow: 0 8px 24px rgba(201,162,77,.28); }
.btn-outline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  border: 1px solid rgba(201,162,77,.55);
  color: var(--gold);
  padding: 14px 32px;
  transition: background .22s, color .22s;
}
.btn-outline:hover { background: var(--gold); color: var(--bg); }

/* ===== SECTIONS ===== */
.section {
  position: relative;
  overflow: hidden;
}
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px var(--px);
}
.section--alt { background: var(--bg-alt); }
.section--tight .section__inner { padding-top: 60px; padding-bottom: 60px; }
.section--divider { border-top: 1px solid var(--gold-12); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(26px,4vw,44px);
  letter-spacing: 1px;
  margin: 0 0 18px;
  color: var(--text-light);
}
.section-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Kanji filigrane / watermark */
.kanji-watermark {
  position: absolute;
  font-family: var(--font-title), serif;
  color: rgba(201,162,77,.05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}

/* — Filet + texte —  ( — ISULANU — ) */
.rule-text {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-sans);
  letter-spacing: 5px;
  font-size: 13px;
  color: var(--gold);
}
.rule-text::before,
.rule-text::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  text-align: center;
  padding: 130px var(--px) 110px;
  overflow: hidden;
}
.hero__frame {
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(201,162,77,.14);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.hero__logo { height: 158px; width: auto; margin: 0 auto 30px; }
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(38px,6vw,72px);
  letter-spacing: 1px;
  line-height: 1.08;
  margin: 0 0 24px;
  color: var(--text-light);
}
.hero__lead {
  max-width: 600px;
  margin: 0 auto 38px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-body);
}
.hero__actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== KANJI PAIR (esprit) ===== */
.kanji-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.kanji-block {
  text-align: center;
  border: 1px solid var(--gold-18);
  background: var(--bg);
  padding: 48px 32px;
}
.kanji-block__char {
  font-family: var(--font-title), serif;
  font-size: 84px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
}
.kanji-block__romaji {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 12px;
}
.kanji-block__label {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--text-strong);
  margin-bottom: 10px;
}
.kanji-block__desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ===== QUOTE ===== */
.quote {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.quote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px,3.5vw,40px);
  line-height: 1.4;
  color: var(--text-light);
  margin: 0 0 22px;
}
.quote__cite {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
}

/* ===== CARDS (exploration) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--gold-18);
  padding: 40px 32px;
  background: transparent;
  transition: border-color .25s, background .25s;
}
.card:hover {
  border-color: var(--gold);
  background: rgba(201,162,77,.04);
}
.card__kanji {
  font-family: var(--font-title), serif;
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1;
}
.card__title {
  font-family: var(--font-title);
  font-size: 23px;
  color: var(--text-strong);
  margin: 0 0 12px;
}
.card__desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.card__more {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.two-col--media-first { direction: ltr; }
.prose p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 18px;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text-strong); font-weight: 600; }

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  border: 1px solid var(--gold-18);
  background: var(--bg);
  padding: 32px 20px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 34px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat__label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ===== TIMELINE / FRISE ===== */
.timeline {
  display: flex;
  flex-direction: column;
}
.timeline__row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 28px;
  padding: 28px 8px;
  border-top: 1px solid var(--gold-18);
  align-items: center;
}
.timeline__row:last-child { border-bottom: 1px solid var(--gold-30); }
.timeline__row:first-child { border-top: 1px solid var(--gold-30); }
.timeline__year {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 22px;
  color: var(--gold);
}
.timeline__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 21px;
  color: var(--text-strong);
}
.timeline__desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 4px;
}
.timeline__meta {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-dim);
}
.note-italic {
  font-size: 16px;
  color: var(--text-dim);
  margin-top: 26px;
  font-style: italic;
}

/* ===== INFO GRID (dojo: horaires/adresse) ===== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.info-box {
  border: 1px solid var(--gold-18);
  background: var(--bg);
  padding: 40px 36px;
}
.info-box h3 {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--text-light);
  margin: 0 0 22px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gold-12);
  font-size: 17px;
}
.info-row:last-child { border-bottom: none; }
.info-row__k { color: var(--text-muted); }
.info-row__v { color: var(--text-strong); font-weight: 600; }

/* ===== PRICING (adhésion) ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.price-card {
  border: 1px solid var(--gold-18);
  background: var(--bg);
  padding: 44px 32px;
  text-align: center;
}
.price-card--featured {
  border-color: var(--gold);
  background: rgba(201,162,77,.04);
}
.price-card__name {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.price-card__amount {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 42px;
  color: var(--text-light);
  line-height: 1;
}
.price-card__period {
  font-size: 16px;
  color: var(--text-dim);
  margin: 8px 0 24px;
}
.price-card__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}
.price-card__list li {
  font-size: 16px;
  color: var(--text-muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--gold-12);
}
.price-card__list li:last-child { border-bottom: none; }

/* ===== EQUIPMENT / FEATURE CARDS ===== */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  border: 1px solid var(--gold-18);
  background: var(--bg);
  overflow: hidden;
}
.feature-card__media {
  height: 220px;
}
.feature-card__body { padding: 32px 28px; }
.feature-card__kanji {
  font-family: var(--font-title), serif;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1;
}
.feature-card__title {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--text-strong);
  margin: 0 0 12px;
}
.feature-card__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.gallery__item { width: 100%; height: 100%; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin-bottom: 28px; }
.contact-list__label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-list__value {
  font-size: 19px;
  color: var(--text-strong);
}
.contact-list__value a { color: var(--text-strong); text-decoration: none; transition: color .2s; }
.contact-list__value a:hover { color: var(--gold); }
.map-embed {
  width: 100%;
  height: 360px;
  border: 1px solid var(--gold-18);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--gold-18);
  color: var(--text-strong);
  font-family: var(--font-serif);
  font-size: 17px;
  padding: 13px 15px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

/* ===== CTA BAND ===== */
.cta-band {
  text-align: center;
  background: var(--bg-alt);
  border-top: 1px solid var(--gold-12);
  border-bottom: 1px solid var(--gold-12);
}
.cta-band .section__inner { padding: 90px var(--px); }
.cta-band__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(28px,4vw,46px);
  color: var(--text-light);
  margin: 0 0 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  :root { --px: 20px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .footer-bar__inner { flex-direction: column; align-items: flex-start; }

  .section__inner { padding: 70px var(--px); }
  .cards,
  .pricing,
  .feature-cards,
  .stats,
  .kanji-pair,
  .info-grid,
  .two-col,
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .two-col { gap: 40px; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }

  .timeline__row {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: left;
  }
  .timeline__meta { margin-top: 6px; }

  .hero { padding: 90px var(--px) 80px; }
  .hero__frame { inset: 14px; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
}
