/* KELTAZIA 凯塔夏 – www.keltazia.cn – v1
   Feuille de style unique. Polices hébergées sur le site (Noto CJK, SIL OFL 1.1,
   voir /assets/fonts/OFL.txt). Aucune ressource externe.
   Couleurs reprises du logo : noir, or (凯塔夏) et argent (KELTAZIA). */

@font-face {
  font-family: "KZ Sans";
  src: url("/assets/fonts/noto-sans-sc-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "KZ Serif";
  src: url("/assets/fonts/noto-serif-sc-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #17161b;        /* noir du logo, adouci */
  --ink-2: #2a2930;
  --text: #3a3940;
  --muted: #6c6a72;
  --gold: #d9b942;       /* or du logo */
  --gold-light: #e8cf6e;
  --gold-deep: #8a6a12;  /* or foncé, lisible sur fond clair */
  --line: #e7e5e0;
  --paper: #f7f6f3;
  --footer: #111015;
  --radius: 6px;
  --shadow: 0 18px 40px rgba(23, 22, 27, .10);
  --sans: "KZ Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "KZ Serif", "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: .02em;
}
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: block; }
.brand img { width: 108px; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 15px; letter-spacing: .06em; }
.main-nav a { color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.main-nav .nav-cta { padding: 8px 20px; border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); }
.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 30px;
  font-size: 16px;
  letter-spacing: .12em;
  border: 1px solid transparent;
  border-radius: var(--radius);
}
.btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: var(--gold-light); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }

/* ---------- Éléments communs ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3em;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

.section-title { font-size: 32px; margin-bottom: 28px; }
.section-title::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 18px; background: var(--gold); }

.photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }

/* ---------- Accueil : bandeau ---------- */
.hero { padding: 76px 0 84px; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.38; letter-spacing: .04em; }
.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 36px 0 40px;
  padding: 0;
}
.facts li {
  padding-top: 12px;
  border-top: 2px solid var(--gold);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: .06em;
  color: var(--ink);
}
.hero-media { position: relative; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}
.hero-media img { position: relative; aspect-ratio: 4 / 3; }

/* ---------- Accueil : sections ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--paper); }
.hero + .section { padding-top: 48px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media img { aspect-ratio: 5 / 4; }
.split-text p { text-align: justify; }

/* ---------- Appel à contacter ---------- */
.cta {
  position: relative;
  padding: 80px 0 170px;
  background: var(--ink) url("/assets/img/cta-skyline.svg") center bottom / auto 130px repeat-x;
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.cta h2 { font-size: 26px; line-height: 1.65; color: #fff; }
.cta h2 span { display: inline-block; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer); color: #a9a7ae; font-size: 15px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 56px;
}
.footer-brand img { width: 150px; }
.footer-brand p { margin-top: 20px; font-family: var(--serif); font-weight: 600; letter-spacing: .1em; color: #e4e2e8; }
.footer-col h3 { margin-bottom: 18px; font-size: 15px; letter-spacing: .2em; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: #c9c7ce; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #8f8d95; text-align: center; }
.footer-bottom p { line-height: 2; }
.footer-bottom a { color: #a9a7ae; white-space: nowrap; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom img { display: inline-block; width: 20px; height: 20px; margin: 0 4px 0 12px; vertical-align: -5px; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: 56px 0 52px; background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumb { margin-bottom: 14px; font-size: 14px; letter-spacing: .06em; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { margin: 0 8px; color: #b9b6bf; }
.page-hero h1 { font-size: 36px; }
.page-hero h1::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 16px; background: var(--gold); }
.section-tight { padding: 72px 0 96px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-photo { grid-column: span 2; }
.contact-photo img { height: 100%; aspect-ratio: 700 / 372; }
.card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card::before { content: ""; position: absolute; top: -1px; left: 28px; width: 40px; height: 2px; background: var(--gold); }
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ink);
}
.card-icon svg { width: 22px; height: 22px; fill: var(--gold); }
.card h2 { margin-bottom: 10px; font-size: 20px; }
.card .big { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .04em; color: var(--ink); }
.card .big a { color: var(--ink); }
.card .big a:hover { color: var(--gold-deep); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-deep); border-bottom: 1px solid var(--gold); }
.link-arrow::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.qr { width: 148px; height: 148px; margin: 6px 0 12px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }

/* ---------- WeChat ---------- */
.wechat-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.wechat-card img { width: 300px; height: 300px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; }
.wechat-card h2 { margin-bottom: 18px; font-size: 26px; }

/* ---------- Mentions ---------- */
.legal > * { max-width: 780px; }
.legal a { border-bottom: 1px solid var(--gold); }
.legal h2 { margin: 36px 0 12px; font-size: 20px; }
.legal .updated { margin-top: 44px; font-size: 14px; color: var(--muted); }

/* ---------- Pages d'erreur ---------- */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  background: var(--paper);
  text-align: center;
}
.error-box img { width: 150px; margin: 0 auto 32px; }
.error-code { margin: 0 0 18px; font-family: var(--serif); font-weight: 600; font-size: 96px; line-height: 1; letter-spacing: .08em; color: var(--ink); }
.error-desc { margin-bottom: 32px; color: var(--muted); }

/* ---------- Tablette ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 56px; }
  .split-reverse .split-media { order: 0; }
  .hero h1 { font-size: 34px; }
  .section { padding: 72px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-photo { grid-column: 1 / -1; }
  .wechat-card { grid-template-columns: 1fr; justify-items: center; gap: 36px; padding: 40px 28px; text-align: center; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-inner { height: 66px; }
  .brand img { width: 84px; }
  .main-nav { gap: 18px; font-size: 14px; letter-spacing: .02em; }
  .main-nav .nav-cta { padding: 6px 12px; }
  .hero { padding: 44px 0 64px; }
  .hero h1 { font-size: clamp(25px, 7.3vw, 34px); }
  .facts { gap: 12px 20px; margin: 28px 0 32px; }
  .facts li { font-size: 14px; letter-spacing: .02em; }
  .hero-media::before { inset: 14px -10px -14px 14px; }
  .section { padding: 56px 0; }
  .hero + .section { padding-top: 32px; }
  .split { gap: 36px; }
  .section-title { font-size: 26px; margin-bottom: 22px; }
  .split-text p { text-align: left; }
  .cta { padding: 56px 0 140px; background-size: auto 100px; }
  .cta h2 { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
  .page-hero { padding: 36px 0 34px; }
  .page-hero h1 { font-size: 28px; }
  .section-tight { padding: 40px 0 64px; }
  .contact-grid { grid-template-columns: 1fr; }
  .wechat-card { padding: 32px 20px; }
  .wechat-card img { width: 240px; height: 240px; }
  .wechat-card h2 { font-size: 22px; }
  .error-code { font-size: 72px; }
}

@media (max-width: 350px) {
  .main-nav .nav-home { display: none; }
}
