/* VAULGARD — design system officiel (repo vaulgardcom)
   Warm Ivory · Obsidian Black · Deep Bronze (rare)
   "Le luxe vient du vide, pas de la décoration." */
:root {
  color-scheme: light;
  --bg: #f7f4ee;          /* Warm Ivory */
  --bg-tint: #fbf9f4;
  --bg-soft: #efebe1;
  --ink: #0b0b0a;         /* Obsidian Black */
  --ink-soft: #3a3935;
  --ink-mute: #6b665c;
  --ink-faint: #9a9488;
  --accent: #a0825a;      /* Deep Bronze — usage rare */
  --line: #d8d3c8;        /* Soft Stone */
  --line-strong: #c9c3b6;
  --ease-apple: cubic-bezier(0.42, 0, 0.58, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Manrope", "Inter", -apple-system, system-ui, sans-serif;
  --font-sans: "Inter", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* alias de compatibilité */
  --surface: var(--bg-tint);
  --tint: var(--bg-tint);
  --border: var(--line);
  --text: var(--ink);
  --muted: var(--ink-soft);
  --faint: var(--ink-mute);
  --emerald: var(--accent);
  --emerald-deep: #8a6d47;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "kern";
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease-out); }

.glow { display: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.tcenter { text-align: center; }

/* ---------- typographie ---------- */
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  padding-bottom: 0.05em;
  color: var(--ink);
  text-wrap: balance;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}
.g, .emerald { color: var(--accent); font-style: normal; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.82rem; color: var(--ink-mute); }
.serif { font-family: ui-serif, Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.022em; color: var(--ink-soft); }
.serif b { color: var(--ink); font-weight: 500; }

.eyebrow, .section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}

/* ---------- nav ---------- */
nav.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(247, 244, 238, 0.72);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
nav.top .inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 20px;
}
nav.top img { height: 28px; width: auto; display: block; opacity: 0.9; }
nav.top img:hover { opacity: 1; }

/* ---------- hero ---------- */
header.hero { padding: 92px 0 34px; text-align: center; background: var(--bg); }
.kicker { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }

/* badge du hero — doré (Deep Bronze) */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(160, 130, 90, 0.55);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700;
  color: #8a6d47;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(160, 130, 90, 0.08);
  margin-bottom: 14px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }

/* surlignage marqueur — « (monétisée en 90 jours) » */
h1 .hl {
  position: relative;
  white-space: nowrap;
  isolation: isolate;
  display: inline-block;
  padding: 0 0.12em;
}
h1 .hl::before {
  content: "";
  position: absolute;
  inset: 14% -0.1em 4% -0.1em;
  background: linear-gradient(100deg, rgba(212, 184, 119, 0.6), rgba(160, 130, 90, 0.42));
  border-radius: 0.16em;
  transform: rotate(-0.6deg);
  z-index: -1;
}

/* « Vaulgard Engine » — italique extra-gras, or métallique */
h1 .engine {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(100deg, #d4b877 0%, #b8932f 55%, #8a6d47 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.sub {
  max-width: 720px; margin: 12px auto 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: -0.022em;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- VSL ---------- */
.vsl {
  position: relative; max-width: 760px; margin: 24px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 44px 90px -40px rgba(0, 0, 0, 0.32);
  cursor: pointer; background: #0b0b0a;
}
.vsl video { width: 100%; height: 100%; object-fit: cover; }
.vsl .overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(11, 11, 10, 0.38);
  transition: opacity 0.4s var(--ease-out); color: #f7f4ee; text-align: center;
}
.vsl .play {
  width: 68px; height: 68px; border-radius: 50%;
  background: #f7f4ee;
  display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease-out);
}
.vsl:hover .play { transform: scale(1.06); }
.vsl .overlay p { font-weight: 500; font-size: 15px; letter-spacing: -0.012em; }

/* ---------- pont ---------- */
.bridge { text-align: center; padding: 64px 0 0; }
.bridge p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -0.022em;
  color: var(--ink); max-width: 30ch; margin: 0 auto; line-height: 1.25;
}
.arrow-down { font-size: 30px; color: var(--ink-mute); line-height: 1; margin-top: 22px; animation: bob 1.6s ease-in-out infinite; display: inline-block; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 8px; border: none;
  background: var(--ink); color: #ffffff;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.012em;
  cursor: pointer; text-decoration: none;
  transition: background-color 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 1px 2px rgba(11, 11, 10, 0.16), 0 16px 40px -16px rgba(11, 11, 10, 0.42);
}
.btn:hover { background: #000; transform: translateY(-1px); box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 18px 40px -16px rgba(11,11,10,0.30); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--line-strong); }
.btn.ghost:hover { background: rgba(11, 11, 10, 0.04); }
.cta-note { margin-top: 14px; font-size: 0.83rem; color: var(--ink-mute); }

/* ---------- cartes ---------- */
.card {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 20px -8px rgba(0, 0, 0, 0.1);
}
.card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- réservation ---------- */
.booking-shell { max-width: 960px; margin: 0 auto; padding: 20px 24px 56px; text-align: center; }

@keyframes pulse { 50% { opacity: 0.3; } }

#booking-embed { width: 100%; max-width: 900px; margin: 14px auto 0; }

/* ---------- témoignages vidéo (Wistia) ---------- */
.videos { padding: 52px 0 44px; border-top: 1px solid var(--line); }
.vwide-holder { max-width: 880px; margin: 44px 0 0; }
.vrow {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 36px 4px 16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.vrow::-webkit-scrollbar { height: 8px; }
.vrow::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
.vslot { flex: 0 0 240px; scroll-snap-align: start; }
.vcard {
  position: relative; width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px; overflow: hidden;
  background: radial-gradient(ellipse 60% 70% at 50% 60%, #28282a, #0f0f11);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -14px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.vcard:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 44px 90px -40px rgba(0,0,0,0.32); }
.vcard.wide { aspect-ratio: 16 / 9; border-radius: 28px; }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplay {
  position: absolute; inset: 0; margin: auto;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(247, 244, 238, 0.94);
  display: grid; place-items: center;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease-out);
}
.vcard:hover .vplay { transform: scale(1.07); }
.vcard-holder figcaption { margin-top: 14px; }
.vmeta { font-weight: 500; color: var(--ink-mute); font-size: 13px; }

/* carte n°14 — l'histoire du visiteur */
.vcard.cta-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center;
  background: var(--bg-tint);
  border: 1px dashed var(--line-strong);
  box-shadow: none;
}
.cta-card .n14 {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.cta-card .cta-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.025em; line-height: 1.15;
  color: var(--ink);
}
.cta-card .cta-sub { font-size: 13px; color: var(--ink-mute); max-width: 180px; }
.cta-card .btn { padding: 11px 18px; font-size: 13px; margin-top: 4px; }
.vtag {
  font-family: var(--font-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.vname {
  margin-top: 6px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 16px; letter-spacing: -0.025em; color: var(--ink);
}

/* ---------- page de confirmation ---------- */
.chapters {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-width: 820px; margin: 18px auto 0;
}
.chapter {
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-tint); color: var(--ink-soft);
  padding: 8px 14px; font-family: var(--font-sans); font-size: 12.5px;
  cursor: pointer; transition: border-color 0.25s, background 0.25s;
}
.chapter b { font-family: var(--font-mono); color: var(--accent); font-weight: 600; margin-right: 4px; }
.chapter:hover { border-color: var(--ink); background: #fff; }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 820px) { .steps-row { grid-template-columns: 1fr; } }
.step-card { text-align: left; }
.step-n {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(160, 130, 90, 0.12); border: 1px solid var(--line-strong);
  color: var(--accent); display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; margin-bottom: 14px;
}
.step-card h3 { font-size: 1rem; }
.step-card p { font-size: 0.9rem; }

.breakout-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 32px; max-width: 1080px; }
@media (max-width: 820px) { .breakout-grid { grid-template-columns: 1fr; } }
.vcard.breakout .soon {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(247, 244, 238, 0.55); font-size: 13.5px; font-family: var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- footer ---------- */
footer { padding: 40px 0 48px; text-align: center; border-top: 1px solid var(--line); display: block; }
footer img { height: 26px; width: auto; margin: 0 auto; display: block; opacity: 0.9; }
.foot-tag { font-family: ui-serif, Georgia, serif; font-style: italic; color: var(--ink-mute); margin-top: 18px; font-size: 16px; letter-spacing: -0.022em; }
.foot-legal { margin-top: 26px; font-size: 12px; color: var(--ink-mute); display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.foot-legal a:hover { color: var(--ink); }

/* reveal */
.reveal { transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- pages légales ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 110px 24px 70px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: clamp(18px, 2.4vw, 23px); margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal .conditions li { color: var(--ink); font-weight: 600; margin-bottom: 8px; }

@media (max-width: 560px) { .vslot { flex-basis: 200px; } }

/* ---------- version compacte : tout tient sans scroller ---------- */
.booking-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -0.02em; }
@media (max-width: 640px) {
  header.hero { padding: 76px 0 20px; }
  .hero-badge { margin-bottom: 10px; font-size: 10px; padding: 6px 13px; }
  h1 { font-size: 25px; }
  .sub br { display: none; }
  nav.top .btn { white-space: nowrap; padding: 8px 13px !important; font-size: 12px !important; }
  .booking-title { font-size: 19px; }
}
